@flipdish/portal-library 8.4.2 → 8.4.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/organisms/Heading/{Heading.cjs.js → index.cjs.js} +1 -1
- package/dist/components/organisms/Heading/index.cjs.js.map +1 -0
- package/dist/components/organisms/Heading/{Heading.js → index.js} +1 -1
- package/dist/components/organisms/Heading/index.js.map +1 -0
- package/dist/localization/de.json.cjs.js +1 -1
- package/dist/localization/de.json.js +1 -1
- package/dist/localization/en-US.json.cjs.js +1 -1
- package/dist/localization/en-US.json.js +1 -1
- package/dist/localization/en.json.cjs.js +1 -1
- package/dist/localization/en.json.d.ts +31 -1
- package/dist/localization/en.json.js +1 -1
- package/dist/localization/es-MX.json.cjs.js +1 -1
- package/dist/localization/es-MX.json.js +1 -1
- package/dist/localization/es.json.cjs.js +1 -1
- package/dist/localization/es.json.js +1 -1
- package/dist/localization/fr.json.cjs.js +1 -1
- package/dist/localization/fr.json.js +1 -1
- package/dist/localization/it.json.cjs.js +1 -1
- package/dist/localization/it.json.js +1 -1
- package/dist/localization/nl.json.cjs.js +1 -1
- package/dist/localization/nl.json.js +1 -1
- package/dist/localization/pt.json.cjs.js +1 -1
- package/dist/localization/pt.json.js +1 -1
- package/dist/mocks/msw/handlers.cjs.js +1 -1
- package/dist/mocks/msw/handlers.d.ts +1 -1
- package/dist/mocks/msw/handlers.js +1 -1
- package/dist/mocks/msw/server.cjs.js +1 -1
- package/dist/mocks/msw/server.d.ts +1 -1
- package/dist/mocks/msw/server.js +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/browser/createRequestId-DQcIlohW.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/browser/createRequestId-DQcIlohW.js.map +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0/node_modules/@mswjs/interceptors/lib/browser/hasConfigurableGlobal-C8kXFDic.cjs.js → @mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/browser/hasConfigurableGlobal-npXitu1-.cjs.js} +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0/node_modules/@mswjs/interceptors/lib/browser/hasConfigurableGlobal-C8kXFDic.cjs.js.map → @mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/browser/hasConfigurableGlobal-npXitu1-.cjs.js.map} +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0/node_modules/@mswjs/interceptors/lib/browser/hasConfigurableGlobal-C8kXFDic.js → @mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/browser/hasConfigurableGlobal-npXitu1-.js} +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0/node_modules/@mswjs/interceptors/lib/browser/hasConfigurableGlobal-C8kXFDic.js.map → @mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/browser/hasConfigurableGlobal-npXitu1-.js.map} +1 -1
- package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.cjs.js +2 -0
- package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.cjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.js +2 -0
- package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.js.map +1 -0
- package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/browser/resolveWebSocketUrl-C83-x9iE.cjs.js +2 -0
- package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/browser/resolveWebSocketUrl-C83-x9iE.cjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/browser/resolveWebSocketUrl-C83-x9iE.js +2 -0
- package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/browser/resolveWebSocketUrl-C83-x9iE.js.map +1 -0
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/BatchInterceptor-DFaBPilf.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/BatchInterceptor-DFaBPilf.js.map +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/ClientRequest-Ca8Qykuv.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/ClientRequest-Ca8Qykuv.js.map +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/XMLHttpRequest-C8dIZpds.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/XMLHttpRequest-C8dIZpds.js.map +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/bufferUtils-_8XfKIfX.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/bufferUtils-_8XfKIfX.js.map +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/fetch-G1DVwDKG.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/fetch-G1DVwDKG.js.map +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/fetchUtils-CoU35g3M.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/fetchUtils-CoU35g3M.js.map +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/getRawRequest-DnwmXyOW.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/getRawRequest-DnwmXyOW.js.map +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/glossary-glQBRnVD.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/glossary-glQBRnVD.js.map +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/handleRequest-Y97UwBbF.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/handleRequest-Y97UwBbF.js.map +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/hasConfigurableGlobal-DBJA0vjm.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/hasConfigurableGlobal-DBJA0vjm.js.map +1 -1
- package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/node/index.cjs.js.map +1 -0
- package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/node/index.js.map +1 -0
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/node-DwCc6iuP.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/node-DwCc6iuP.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/HttpResponse-CVs3ngx3.d.d.ts +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/HttpResponse.cjs.js +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/HttpResponse.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/HttpResponse.js +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/HttpResponse.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/SetupApi.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/SetupApi.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/handlers/HttpHandler.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/handlers/HttpHandler.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/handlers/RequestHandler.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/handlers/RequestHandler.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/handlers/WebSocketHandler.d.d.ts +4 -3
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/http.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/http.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/index.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/index.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/isCommonAssetRequest.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/isCommonAssetRequest.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/HttpResponse/decorators.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/HttpResponse/decorators.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/cookieStore.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/cookieStore.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/executeHandlers.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/executeHandlers.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/handleRequest.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/handleRequest.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/Disposable.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/Disposable.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/checkGlobals.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/checkGlobals.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/devUtils.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/devUtils.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/getCallFrame.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/getCallFrame.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isHandlerKind.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isHandlerKind.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isIterable.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isIterable.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isObject.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isObject.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isStringEqual.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isStringEqual.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/jsonParse.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/jsonParse.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/mergeRight.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/mergeRight.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/pipeEvents.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/pipeEvents.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/toReadonlyArray.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/toReadonlyArray.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getTimestamp.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getTimestamp.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeRequest.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeRequest.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeResponse.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeResponse.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/matchRequestUrl.cjs.js +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/matchRequestUrl.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/matchRequestUrl.js +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/matchRequestUrl.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/normalizePath.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/normalizePath.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/getRequestCookies.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/getRequestCookies.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/onUnhandledRequest.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/onUnhandledRequest.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/storeResponseCookies.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/storeResponseCookies.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/toPublicUrl.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/toPublicUrl.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/cleanUrl.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/cleanUrl.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/getAbsoluteUrl.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/getAbsoluteUrl.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/isAbsoluteUrl.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/isAbsoluteUrl.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/ws/handleWebSocketEvent.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/ws/handleWebSocketEvent.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/ws/webSocketInterceptor.cjs.js +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/ws/webSocketInterceptor.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/ws/webSocketInterceptor.js +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/ws/webSocketInterceptor.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/node/index.cjs.js +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/node/index.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/node/index.d.d.ts +3 -3
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/node/index.js +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/node/index.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/shims/cookie.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/shims/cookie.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/shims/statuses.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/shims/statuses.js.map +1 -1
- package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/domain.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/domain.js.map +1 -1
- package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/extract-hostname.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/extract-hostname.js.map +1 -1
- package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/factory.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/factory.js.map +1 -1
- package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/is-ip.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/is-ip.js.map +1 -1
- package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/is-valid.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/is-valid.js.map +1 -1
- package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/lookup/fast-path.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/lookup/fast-path.js.map +1 -1
- package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/options.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/options.js.map +1 -1
- package/dist/node_modules/.pnpm/{tldts@7.0.22 → tldts@7.0.23}/node_modules/tldts/dist/es6/index.cjs.js +1 -1
- package/dist/node_modules/.pnpm/{tldts@7.0.22 → tldts@7.0.23}/node_modules/tldts/dist/es6/index.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{tldts@7.0.22 → tldts@7.0.23}/node_modules/tldts/dist/es6/index.js +1 -1
- package/dist/node_modules/.pnpm/{tldts@7.0.22 → tldts@7.0.23}/node_modules/tldts/dist/es6/index.js.map +1 -1
- package/dist/node_modules/.pnpm/tldts@7.0.23/node_modules/tldts/dist/es6/src/data/trie.cjs.js +2 -0
- package/dist/node_modules/.pnpm/tldts@7.0.23/node_modules/tldts/dist/es6/src/data/trie.cjs.js.map +1 -0
- package/dist/node_modules/.pnpm/tldts@7.0.23/node_modules/tldts/dist/es6/src/data/trie.js +2 -0
- package/dist/node_modules/.pnpm/tldts@7.0.23/node_modules/tldts/dist/es6/src/data/trie.js.map +1 -0
- package/dist/node_modules/.pnpm/{tldts@7.0.22 → tldts@7.0.23}/node_modules/tldts/dist/es6/src/suffix-trie.cjs.js +1 -1
- package/dist/node_modules/.pnpm/{tldts@7.0.22 → tldts@7.0.23}/node_modules/tldts/dist/es6/src/suffix-trie.cjs.js.map +1 -1
- package/dist/node_modules/.pnpm/{tldts@7.0.22 → tldts@7.0.23}/node_modules/tldts/dist/es6/src/suffix-trie.js +1 -1
- package/dist/node_modules/.pnpm/{tldts@7.0.22 → tldts@7.0.23}/node_modules/tldts/dist/es6/src/suffix-trie.js.map +1 -1
- package/dist/node_modules/.pnpm/tough-cookie@6.0.0/node_modules/tough-cookie/dist/index.cjs.js +1 -1
- package/dist/node_modules/.pnpm/tough-cookie@6.0.0/node_modules/tough-cookie/dist/index.js +1 -1
- package/package.json +1 -1
- package/dist/components/organisms/Heading/Heading.cjs.js.map +0 -1
- package/dist/components/organisms/Heading/Heading.js.map +0 -1
- package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.0/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.cjs.js +0 -2
- package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.0/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.0/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.js +0 -2
- package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.0/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.js.map +0 -1
- package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.0/node_modules/@mswjs/interceptors/lib/node/index.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.0/node_modules/@mswjs/interceptors/lib/node/index.js.map +0 -1
- package/dist/node_modules/.pnpm/tldts@7.0.22/node_modules/tldts/dist/es6/src/data/trie.cjs.js +0 -2
- package/dist/node_modules/.pnpm/tldts@7.0.22/node_modules/tldts/dist/es6/src/data/trie.cjs.js.map +0 -1
- package/dist/node_modules/.pnpm/tldts@7.0.22/node_modules/tldts/dist/es6/src/data/trie.js +0 -2
- package/dist/node_modules/.pnpm/tldts@7.0.22/node_modules/tldts/dist/es6/src/data/trie.js.map +0 -1
- /package/dist/components/organisms/Heading/{Heading.d.ts → index.d.ts} +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/browser/createRequestId-DQcIlohW.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/browser/createRequestId-DQcIlohW.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/BatchInterceptor-DFaBPilf.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/BatchInterceptor-DFaBPilf.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/BatchInterceptor-D_YqR8qU.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/ClientRequest-Ca8Qykuv.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/ClientRequest-Ca8Qykuv.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/Interceptor-DJ2akVWI.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/XMLHttpRequest-C8dIZpds.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/XMLHttpRequest-C8dIZpds.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/bufferUtils-_8XfKIfX.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/bufferUtils-_8XfKIfX.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/fetch-G1DVwDKG.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/fetch-G1DVwDKG.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/fetchUtils-CoU35g3M.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/fetchUtils-CoU35g3M.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/getRawRequest-DnwmXyOW.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/getRawRequest-DnwmXyOW.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/glossary-glQBRnVD.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/glossary-glQBRnVD.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/handleRequest-Y97UwBbF.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/handleRequest-Y97UwBbF.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/hasConfigurableGlobal-DBJA0vjm.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/hasConfigurableGlobal-DBJA0vjm.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/index.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/index.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/index.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/node-DwCc6iuP.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{@mswjs_interceptors@0.41.0 → @mswjs_interceptors@0.41.2}/node_modules/@mswjs/interceptors/lib/node/node-DwCc6iuP.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/SetupApi.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/SetupApi.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/SetupApi.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/handlers/HttpHandler.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/handlers/HttpHandler.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/handlers/HttpHandler.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/handlers/RequestHandler.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/handlers/RequestHandler.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/http.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/http.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/index.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/index.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/isCommonAssetRequest.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/isCommonAssetRequest.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/sharedOptions.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/typeUtils.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/HttpResponse/decorators.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/HttpResponse/decorators.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/cookieStore.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/cookieStore.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/executeHandlers.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/executeHandlers.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/handleRequest.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/handleRequest.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/Disposable.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/Disposable.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/Disposable.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/checkGlobals.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/checkGlobals.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/devUtils.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/devUtils.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/getCallFrame.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/getCallFrame.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isHandlerKind.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isHandlerKind.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isIterable.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isIterable.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isIterable.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isObject.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isObject.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isStringEqual.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/isStringEqual.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/jsonParse.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/jsonParse.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/mergeRight.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/mergeRight.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/pipeEvents.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/pipeEvents.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/toReadonlyArray.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/internal/toReadonlyArray.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getStatusCodeColor.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getTimestamp.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/getTimestamp.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeRequest.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeRequest.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeResponse.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/logging/serializeResponse.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/matchRequestUrl.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/normalizePath.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/matching/normalizePath.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/getRequestCookies.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/getRequestCookies.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/onUnhandledRequest.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/onUnhandledRequest.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/onUnhandledRequest.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/storeResponseCookies.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/storeResponseCookies.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/toPublicUrl.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/request/toPublicUrl.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/cleanUrl.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/cleanUrl.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/getAbsoluteUrl.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/getAbsoluteUrl.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/isAbsoluteUrl.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/utils/url/isAbsoluteUrl.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/ws/handleWebSocketEvent.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/core/ws/handleWebSocketEvent.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/shims/cookie.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/shims/cookie.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/shims/statuses.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{msw@2.12.8_@types_node@20.19.32_typescript@5.4.5 → msw@2.12.9_@types_node@20.19.33_typescript@5.4.5}/node_modules/msw/lib/shims/statuses.js +0 -0
- /package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/domain.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/domain.js +0 -0
- /package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/extract-hostname.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/extract-hostname.js +0 -0
- /package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/factory.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/factory.js +0 -0
- /package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/is-ip.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/is-ip.js +0 -0
- /package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/is-valid.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/is-valid.js +0 -0
- /package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/lookup/fast-path.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/lookup/fast-path.js +0 -0
- /package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/options.cjs.js +0 -0
- /package/dist/node_modules/.pnpm/{tldts-core@7.0.22 → tldts-core@7.0.23}/node_modules/tldts-core/dist/es6/src/options.js +0 -0
- /package/dist/node_modules/.pnpm/{type-fest@5.4.3 → type-fest@5.4.4}/node_modules/type-fest/source/if.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{type-fest@5.4.3 → type-fest@5.4.4}/node_modules/type-fest/source/internal/object.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{type-fest@5.4.3 → type-fest@5.4.4}/node_modules/type-fest/source/internal/type.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{type-fest@5.4.3 → type-fest@5.4.4}/node_modules/type-fest/source/is-any.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{type-fest@5.4.3 → type-fest@5.4.4}/node_modules/type-fest/source/is-equal.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{type-fest@5.4.3 → type-fest@5.4.4}/node_modules/type-fest/source/is-never.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{type-fest@5.4.3 → type-fest@5.4.4}/node_modules/type-fest/source/is-optional-key-of.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{type-fest@5.4.3 → type-fest@5.4.4}/node_modules/type-fest/source/merge.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{type-fest@5.4.3 → type-fest@5.4.4}/node_modules/type-fest/source/omit-index-signature.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{type-fest@5.4.3 → type-fest@5.4.4}/node_modules/type-fest/source/optional-keys-of.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{type-fest@5.4.3 → type-fest@5.4.4}/node_modules/type-fest/source/partial-deep.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{type-fest@5.4.3 → type-fest@5.4.4}/node_modules/type-fest/source/pick-index-signature.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{type-fest@5.4.3 → type-fest@5.4.4}/node_modules/type-fest/source/primitive.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{type-fest@5.4.3 → type-fest@5.4.4}/node_modules/type-fest/source/required-keys-of.d.d.ts +0 -0
- /package/dist/node_modules/.pnpm/{type-fest@5.4.3 → type-fest@5.4.4}/node_modules/type-fest/source/simplify.d.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fetchUtils-CoU35g3M.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.0/node_modules/@mswjs/interceptors/lib/node/fetchUtils-CoU35g3M.mjs"],"sourcesContent":["import { Logger } from \"@open-draft/logger\";\nimport { Emitter } from \"strict-event-emitter\";\nimport { DeferredPromise } from \"@open-draft/deferred-promise\";\nimport { invariant } from \"outvariant\";\n\n//#region src/Interceptor.ts\n/**\n* Request header name to detect when a single request\n* is being handled by nested interceptors (XHR -> ClientRequest).\n* Obscure by design to prevent collisions with user-defined headers.\n* Ideally, come up with the Interceptor-level mechanism for this.\n* @see https://github.com/mswjs/interceptors/issues/378\n*/\nconst INTERNAL_REQUEST_ID_HEADER_NAME = \"x-interceptors-internal-request-id\";\nfunction getGlobalSymbol(symbol) {\n\treturn globalThis[symbol] || void 0;\n}\nfunction setGlobalSymbol(symbol, value) {\n\tglobalThis[symbol] = value;\n}\nfunction deleteGlobalSymbol(symbol) {\n\tdelete globalThis[symbol];\n}\nlet InterceptorReadyState = /* @__PURE__ */ function(InterceptorReadyState$1) {\n\tInterceptorReadyState$1[\"INACTIVE\"] = \"INACTIVE\";\n\tInterceptorReadyState$1[\"APPLYING\"] = \"APPLYING\";\n\tInterceptorReadyState$1[\"APPLIED\"] = \"APPLIED\";\n\tInterceptorReadyState$1[\"DISPOSING\"] = \"DISPOSING\";\n\tInterceptorReadyState$1[\"DISPOSED\"] = \"DISPOSED\";\n\treturn InterceptorReadyState$1;\n}({});\nvar Interceptor = class {\n\tconstructor(symbol) {\n\t\tthis.symbol = symbol;\n\t\tthis.readyState = InterceptorReadyState.INACTIVE;\n\t\tthis.emitter = new Emitter();\n\t\tthis.subscriptions = [];\n\t\tthis.logger = new Logger(symbol.description);\n\t\tthis.emitter.setMaxListeners(0);\n\t\tthis.logger.info(\"constructing the interceptor...\");\n\t}\n\t/**\n\t* Determine if this interceptor can be applied\n\t* in the current environment.\n\t*/\n\tcheckEnvironment() {\n\t\treturn true;\n\t}\n\t/**\n\t* Apply this interceptor to the current process.\n\t* Returns an already running interceptor instance if it's present.\n\t*/\n\tapply() {\n\t\tconst logger = this.logger.extend(\"apply\");\n\t\tlogger.info(\"applying the interceptor...\");\n\t\tif (this.readyState === InterceptorReadyState.APPLIED) {\n\t\t\tlogger.info(\"intercepted already applied!\");\n\t\t\treturn;\n\t\t}\n\t\tif (!this.checkEnvironment()) {\n\t\t\tlogger.info(\"the interceptor cannot be applied in this environment!\");\n\t\t\treturn;\n\t\t}\n\t\tthis.readyState = InterceptorReadyState.APPLYING;\n\t\tconst runningInstance = this.getInstance();\n\t\tif (runningInstance) {\n\t\t\tlogger.info(\"found a running instance, reusing...\");\n\t\t\tthis.on = (event, listener) => {\n\t\t\t\tlogger.info(\"proxying the \\\"%s\\\" listener\", event);\n\t\t\t\trunningInstance.emitter.addListener(event, listener);\n\t\t\t\tthis.subscriptions.push(() => {\n\t\t\t\t\trunningInstance.emitter.removeListener(event, listener);\n\t\t\t\t\tlogger.info(\"removed proxied \\\"%s\\\" listener!\", event);\n\t\t\t\t});\n\t\t\t\treturn this;\n\t\t\t};\n\t\t\tthis.readyState = InterceptorReadyState.APPLIED;\n\t\t\treturn;\n\t\t}\n\t\tlogger.info(\"no running instance found, setting up a new instance...\");\n\t\tthis.setup();\n\t\tthis.setInstance();\n\t\tthis.readyState = InterceptorReadyState.APPLIED;\n\t}\n\t/**\n\t* Setup the module augments and stubs necessary for this interceptor.\n\t* This method is not run if there's a running interceptor instance\n\t* to prevent instantiating an interceptor multiple times.\n\t*/\n\tsetup() {}\n\t/**\n\t* Listen to the interceptor's public events.\n\t*/\n\ton(event, listener) {\n\t\tconst logger = this.logger.extend(\"on\");\n\t\tif (this.readyState === InterceptorReadyState.DISPOSING || this.readyState === InterceptorReadyState.DISPOSED) {\n\t\t\tlogger.info(\"cannot listen to events, already disposed!\");\n\t\t\treturn this;\n\t\t}\n\t\tlogger.info(\"adding \\\"%s\\\" event listener:\", event, listener);\n\t\tthis.emitter.on(event, listener);\n\t\treturn this;\n\t}\n\tonce(event, listener) {\n\t\tthis.emitter.once(event, listener);\n\t\treturn this;\n\t}\n\toff(event, listener) {\n\t\tthis.emitter.off(event, listener);\n\t\treturn this;\n\t}\n\tremoveAllListeners(event) {\n\t\tthis.emitter.removeAllListeners(event);\n\t\treturn this;\n\t}\n\t/**\n\t* Disposes of any side-effects this interceptor has introduced.\n\t*/\n\tdispose() {\n\t\tconst logger = this.logger.extend(\"dispose\");\n\t\tif (this.readyState === InterceptorReadyState.DISPOSED) {\n\t\t\tlogger.info(\"cannot dispose, already disposed!\");\n\t\t\treturn;\n\t\t}\n\t\tlogger.info(\"disposing the interceptor...\");\n\t\tthis.readyState = InterceptorReadyState.DISPOSING;\n\t\tif (!this.getInstance()) {\n\t\t\tlogger.info(\"no interceptors running, skipping dispose...\");\n\t\t\treturn;\n\t\t}\n\t\tthis.clearInstance();\n\t\tlogger.info(\"global symbol deleted:\", getGlobalSymbol(this.symbol));\n\t\tif (this.subscriptions.length > 0) {\n\t\t\tlogger.info(\"disposing of %d subscriptions...\", this.subscriptions.length);\n\t\t\tfor (const dispose of this.subscriptions) dispose();\n\t\t\tthis.subscriptions = [];\n\t\t\tlogger.info(\"disposed of all subscriptions!\", this.subscriptions.length);\n\t\t}\n\t\tthis.emitter.removeAllListeners();\n\t\tlogger.info(\"destroyed the listener!\");\n\t\tthis.readyState = InterceptorReadyState.DISPOSED;\n\t}\n\tgetInstance() {\n\t\tconst instance = getGlobalSymbol(this.symbol);\n\t\tthis.logger.info(\"retrieved global instance:\", instance?.constructor?.name);\n\t\treturn instance;\n\t}\n\tsetInstance() {\n\t\tsetGlobalSymbol(this.symbol, this);\n\t\tthis.logger.info(\"set global instance!\", this.symbol.description);\n\t}\n\tclearInstance() {\n\t\tdeleteGlobalSymbol(this.symbol);\n\t\tthis.logger.info(\"cleared global instance!\", this.symbol.description);\n\t}\n};\n\n//#endregion\n//#region src/InterceptorError.ts\nvar InterceptorError = class InterceptorError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tthis.name = \"InterceptorError\";\n\t\tObject.setPrototypeOf(this, InterceptorError.prototype);\n\t}\n};\n\n//#endregion\n//#region src/RequestController.ts\nvar RequestController = class RequestController {\n\tstatic {\n\t\tthis.PENDING = 0;\n\t}\n\tstatic {\n\t\tthis.PASSTHROUGH = 1;\n\t}\n\tstatic {\n\t\tthis.RESPONSE = 2;\n\t}\n\tstatic {\n\t\tthis.ERROR = 3;\n\t}\n\tconstructor(request, source) {\n\t\tthis.request = request;\n\t\tthis.source = source;\n\t\tthis.readyState = RequestController.PENDING;\n\t\tthis.handled = new DeferredPromise();\n\t}\n\tget #handled() {\n\t\treturn this.handled;\n\t}\n\t/**\n\t* Perform this request as-is.\n\t*/\n\tasync passthrough() {\n\t\tinvariant.as(InterceptorError, this.readyState === RequestController.PENDING, \"Failed to passthrough the \\\"%s %s\\\" request: the request has already been handled\", this.request.method, this.request.url);\n\t\tthis.readyState = RequestController.PASSTHROUGH;\n\t\tawait this.source.passthrough();\n\t\tthis.#handled.resolve();\n\t}\n\t/**\n\t* Respond to this request with the given `Response` instance.\n\t*\n\t* @example\n\t* controller.respondWith(new Response())\n\t* controller.respondWith(Response.json({ id }))\n\t* controller.respondWith(Response.error())\n\t*/\n\trespondWith(response) {\n\t\tinvariant.as(InterceptorError, this.readyState === RequestController.PENDING, \"Failed to respond to the \\\"%s %s\\\" request with \\\"%d %s\\\": the request has already been handled (%d)\", this.request.method, this.request.url, response.status, response.statusText || \"OK\", this.readyState);\n\t\tthis.readyState = RequestController.RESPONSE;\n\t\tthis.#handled.resolve();\n\t\t/**\n\t\t* @note Although `source.respondWith()` is potentially asynchronous,\n\t\t* do NOT await it for backward-compatibility. Awaiting it will short-circuit\n\t\t* the request listener invocation as soon as a listener responds to a request.\n\t\t* Ideally, that's what we want, but that's not what we promise the user.\n\t\t*/\n\t\tthis.source.respondWith(response);\n\t}\n\t/**\n\t* Error this request with the given reason.\n\t*\n\t* @example\n\t* controller.errorWith()\n\t* controller.errorWith(new Error('Oops!'))\n\t* controller.errorWith({ message: 'Oops!'})\n\t*/\n\terrorWith(reason) {\n\t\tinvariant.as(InterceptorError, this.readyState === RequestController.PENDING, \"Failed to error the \\\"%s %s\\\" request with \\\"%s\\\": the request has already been handled (%d)\", this.request.method, this.request.url, reason?.toString(), this.readyState);\n\t\tthis.readyState = RequestController.ERROR;\n\t\tthis.source.errorWith(reason);\n\t\tthis.#handled.resolve();\n\t}\n};\n\n//#endregion\n//#region src/createRequestId.ts\n/**\n* Generate a random ID string to represent a request.\n* @example\n* createRequestId()\n* // \"f774b6c9c600f\"\n*/\nfunction createRequestId() {\n\treturn Math.random().toString(16).slice(2);\n}\n\n//#endregion\n//#region src/utils/canParseUrl.ts\n/**\n* Returns a boolean indicating whether the given URL string\n* can be parsed into a `URL` instance.\n* A substitute for `URL.canParse()` for Node.js 18.\n*/\nfunction canParseUrl(url) {\n\ttry {\n\t\tnew URL(url);\n\t\treturn true;\n\t} catch (_error) {\n\t\treturn false;\n\t}\n}\n\n//#endregion\n//#region src/utils/getValueBySymbol.ts\n/**\n* Returns the value behind the symbol with the given name.\n*/\nfunction getValueBySymbol(symbolName, source) {\n\tconst symbol = Object.getOwnPropertySymbols(source).find((symbol$1) => {\n\t\treturn symbol$1.description === symbolName;\n\t});\n\tif (symbol) return Reflect.get(source, symbol);\n}\n\n//#endregion\n//#region src/utils/fetchUtils.ts\nvar FetchResponse = class FetchResponse extends Response {\n\tstatic {\n\t\tthis.STATUS_CODES_WITHOUT_BODY = [\n\t\t\t101,\n\t\t\t103,\n\t\t\t204,\n\t\t\t205,\n\t\t\t304\n\t\t];\n\t}\n\tstatic {\n\t\tthis.STATUS_CODES_WITH_REDIRECT = [\n\t\t\t301,\n\t\t\t302,\n\t\t\t303,\n\t\t\t307,\n\t\t\t308\n\t\t];\n\t}\n\tstatic isConfigurableStatusCode(status) {\n\t\treturn status >= 200 && status <= 599;\n\t}\n\tstatic isRedirectResponse(status) {\n\t\treturn FetchResponse.STATUS_CODES_WITH_REDIRECT.includes(status);\n\t}\n\t/**\n\t* Returns a boolean indicating whether the given response status\n\t* code represents a response that can have a body.\n\t*/\n\tstatic isResponseWithBody(status) {\n\t\treturn !FetchResponse.STATUS_CODES_WITHOUT_BODY.includes(status);\n\t}\n\tstatic setUrl(url, response) {\n\t\tif (!url || url === \"about:\" || !canParseUrl(url)) return;\n\t\tconst state = getValueBySymbol(\"state\", response);\n\t\tif (state) state.urlList.push(new URL(url));\n\t\telse Object.defineProperty(response, \"url\", {\n\t\t\tvalue: url,\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true,\n\t\t\twritable: false\n\t\t});\n\t}\n\t/**\n\t* Parses the given raw HTTP headers into a Fetch API `Headers` instance.\n\t*/\n\tstatic parseRawHeaders(rawHeaders) {\n\t\tconst headers = new Headers();\n\t\tfor (let line = 0; line < rawHeaders.length; line += 2) headers.append(rawHeaders[line], rawHeaders[line + 1]);\n\t\treturn headers;\n\t}\n\tconstructor(body, init = {}) {\n\t\tconst status = init.status ?? 200;\n\t\tconst safeStatus = FetchResponse.isConfigurableStatusCode(status) ? status : 200;\n\t\tconst finalBody = FetchResponse.isResponseWithBody(status) ? body : null;\n\t\tsuper(finalBody, {\n\t\t\tstatus: safeStatus,\n\t\t\tstatusText: init.statusText,\n\t\t\theaders: init.headers\n\t\t});\n\t\tif (status !== safeStatus) {\n\t\t\t/**\n\t\t\t* @note Undici keeps an internal \"Symbol(state)\" that holds\n\t\t\t* the actual value of response status. Update that in Node.js.\n\t\t\t*/\n\t\t\tconst state = getValueBySymbol(\"state\", this);\n\t\t\tif (state) state.status = status;\n\t\t\telse Object.defineProperty(this, \"status\", {\n\t\t\t\tvalue: status,\n\t\t\t\tenumerable: true,\n\t\t\t\tconfigurable: true,\n\t\t\t\twritable: false\n\t\t\t});\n\t\t}\n\t\tFetchResponse.setUrl(init.url, this);\n\t}\n};\n\n//#endregion\nexport { InterceptorError as a, InterceptorReadyState as c, RequestController as i, deleteGlobalSymbol as l, canParseUrl as n, INTERNAL_REQUEST_ID_HEADER_NAME as o, createRequestId as r, Interceptor as s, FetchResponse as t, getGlobalSymbol as u };\n//# sourceMappingURL=fetchUtils-CoU35g3M.mjs.map"],"names":["INTERNAL_REQUEST_ID_HEADER_NAME","getGlobalSymbol","symbol","globalThis","deleteGlobalSymbol","InterceptorReadyState","InterceptorReadyState$1","Interceptor","constructor","this","readyState","INACTIVE","emitter","Emitter","subscriptions","logger","Logger","description","setMaxListeners","info","checkEnvironment","apply","extend","APPLIED","APPLYING","runningInstance","getInstance","on","event","listener","addListener","push","removeListener","setup","setInstance","DISPOSING","DISPOSED","once","off","removeAllListeners","dispose","clearInstance","length","instance","name","value","InterceptorError","Error","message","super","Object","setPrototypeOf","prototype","RequestController","PENDING","PASSTHROUGH","RESPONSE","ERROR","request","source","handled","DeferredPromise","passthrough","invariant","as","method","url","resolve","respondWith","response","status","statusText","errorWith","reason","toString","createRequestId","Math","random","slice","canParseUrl","URL","_error","getValueBySymbol","symbolName","getOwnPropertySymbols","find","symbol$1","Reflect","get","FetchResponse","Response","STATUS_CODES_WITHOUT_BODY","STATUS_CODES_WITH_REDIRECT","isConfigurableStatusCode","isRedirectResponse","includes","isResponseWithBody","setUrl","state","urlList","defineProperty","enumerable","configurable","writable","parseRawHeaders","rawHeaders","headers","Headers","line","append","body","init","safeStatus"],"mappings":"2dAaK,MAACA,EAAkC,qCACxC,SAASC,EAAgBC,GACxB,OAAOC,WAAWD,SAAW,CAC9B,CAIA,SAASE,EAAmBF,UACpBC,WAAWD,EACnB,CACG,IAACG,EAAwC,SAASC,GAMpD,OALAA,EAAkC,SAAI,WACtCA,EAAkC,SAAI,WACtCA,EAAiC,QAAI,UACrCA,EAAmC,UAAI,YACvCA,EAAkC,SAAI,WAC/BA,CACR,CAP4C,CAO1C,CAAA,GACC,IAACC,EAAc,MACjB,WAAAC,CAAYN,GACXO,KAAKP,OAASA,EACdO,KAAKC,WAAaL,EAAsBM,SACxCF,KAAKG,QAAU,IAAIC,EACnBJ,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F,KAAM,SAAU,CAC1CoC,MAAOyB,EACP+B,YAAY,EACZC,cAAc,EACdC,UAAU,GAEZ,CACAd,EAAcQ,OAAOc,EAAK7C,IAAKzD,KAChC","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"fetchUtils-CoU35g3M.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/node/fetchUtils-CoU35g3M.mjs"],"sourcesContent":["import { Logger } from \"@open-draft/logger\";\nimport { Emitter } from \"strict-event-emitter\";\nimport { DeferredPromise } from \"@open-draft/deferred-promise\";\nimport { invariant } from \"outvariant\";\n\n//#region src/Interceptor.ts\n/**\n* Request header name to detect when a single request\n* is being handled by nested interceptors (XHR -> ClientRequest).\n* Obscure by design to prevent collisions with user-defined headers.\n* Ideally, come up with the Interceptor-level mechanism for this.\n* @see https://github.com/mswjs/interceptors/issues/378\n*/\nconst INTERNAL_REQUEST_ID_HEADER_NAME = \"x-interceptors-internal-request-id\";\nfunction getGlobalSymbol(symbol) {\n\treturn globalThis[symbol] || void 0;\n}\nfunction setGlobalSymbol(symbol, value) {\n\tglobalThis[symbol] = value;\n}\nfunction deleteGlobalSymbol(symbol) {\n\tdelete globalThis[symbol];\n}\nlet InterceptorReadyState = /* @__PURE__ */ function(InterceptorReadyState$1) {\n\tInterceptorReadyState$1[\"INACTIVE\"] = \"INACTIVE\";\n\tInterceptorReadyState$1[\"APPLYING\"] = \"APPLYING\";\n\tInterceptorReadyState$1[\"APPLIED\"] = \"APPLIED\";\n\tInterceptorReadyState$1[\"DISPOSING\"] = \"DISPOSING\";\n\tInterceptorReadyState$1[\"DISPOSED\"] = \"DISPOSED\";\n\treturn InterceptorReadyState$1;\n}({});\nvar Interceptor = class {\n\tconstructor(symbol) {\n\t\tthis.symbol = symbol;\n\t\tthis.readyState = InterceptorReadyState.INACTIVE;\n\t\tthis.emitter = new Emitter();\n\t\tthis.subscriptions = [];\n\t\tthis.logger = new Logger(symbol.description);\n\t\tthis.emitter.setMaxListeners(0);\n\t\tthis.logger.info(\"constructing the interceptor...\");\n\t}\n\t/**\n\t* Determine if this interceptor can be applied\n\t* in the current environment.\n\t*/\n\tcheckEnvironment() {\n\t\treturn true;\n\t}\n\t/**\n\t* Apply this interceptor to the current process.\n\t* Returns an already running interceptor instance if it's present.\n\t*/\n\tapply() {\n\t\tconst logger = this.logger.extend(\"apply\");\n\t\tlogger.info(\"applying the interceptor...\");\n\t\tif (this.readyState === InterceptorReadyState.APPLIED) {\n\t\t\tlogger.info(\"intercepted already applied!\");\n\t\t\treturn;\n\t\t}\n\t\tif (!this.checkEnvironment()) {\n\t\t\tlogger.info(\"the interceptor cannot be applied in this environment!\");\n\t\t\treturn;\n\t\t}\n\t\tthis.readyState = InterceptorReadyState.APPLYING;\n\t\tconst runningInstance = this.getInstance();\n\t\tif (runningInstance) {\n\t\t\tlogger.info(\"found a running instance, reusing...\");\n\t\t\tthis.on = (event, listener) => {\n\t\t\t\tlogger.info(\"proxying the \\\"%s\\\" listener\", event);\n\t\t\t\trunningInstance.emitter.addListener(event, listener);\n\t\t\t\tthis.subscriptions.push(() => {\n\t\t\t\t\trunningInstance.emitter.removeListener(event, listener);\n\t\t\t\t\tlogger.info(\"removed proxied \\\"%s\\\" listener!\", event);\n\t\t\t\t});\n\t\t\t\treturn this;\n\t\t\t};\n\t\t\tthis.readyState = InterceptorReadyState.APPLIED;\n\t\t\treturn;\n\t\t}\n\t\tlogger.info(\"no running instance found, setting up a new instance...\");\n\t\tthis.setup();\n\t\tthis.setInstance();\n\t\tthis.readyState = InterceptorReadyState.APPLIED;\n\t}\n\t/**\n\t* Setup the module augments and stubs necessary for this interceptor.\n\t* This method is not run if there's a running interceptor instance\n\t* to prevent instantiating an interceptor multiple times.\n\t*/\n\tsetup() {}\n\t/**\n\t* Listen to the interceptor's public events.\n\t*/\n\ton(event, listener) {\n\t\tconst logger = this.logger.extend(\"on\");\n\t\tif (this.readyState === InterceptorReadyState.DISPOSING || this.readyState === InterceptorReadyState.DISPOSED) {\n\t\t\tlogger.info(\"cannot listen to events, already disposed!\");\n\t\t\treturn this;\n\t\t}\n\t\tlogger.info(\"adding \\\"%s\\\" event listener:\", event, listener);\n\t\tthis.emitter.on(event, listener);\n\t\treturn this;\n\t}\n\tonce(event, listener) {\n\t\tthis.emitter.once(event, listener);\n\t\treturn this;\n\t}\n\toff(event, listener) {\n\t\tthis.emitter.off(event, listener);\n\t\treturn this;\n\t}\n\tremoveAllListeners(event) {\n\t\tthis.emitter.removeAllListeners(event);\n\t\treturn this;\n\t}\n\t/**\n\t* Disposes of any side-effects this interceptor has introduced.\n\t*/\n\tdispose() {\n\t\tconst logger = this.logger.extend(\"dispose\");\n\t\tif (this.readyState === InterceptorReadyState.DISPOSED) {\n\t\t\tlogger.info(\"cannot dispose, already disposed!\");\n\t\t\treturn;\n\t\t}\n\t\tlogger.info(\"disposing the interceptor...\");\n\t\tthis.readyState = InterceptorReadyState.DISPOSING;\n\t\tif (!this.getInstance()) {\n\t\t\tlogger.info(\"no interceptors running, skipping dispose...\");\n\t\t\treturn;\n\t\t}\n\t\tthis.clearInstance();\n\t\tlogger.info(\"global symbol deleted:\", getGlobalSymbol(this.symbol));\n\t\tif (this.subscriptions.length > 0) {\n\t\t\tlogger.info(\"disposing of %d subscriptions...\", this.subscriptions.length);\n\t\t\tfor (const dispose of this.subscriptions) dispose();\n\t\t\tthis.subscriptions = [];\n\t\t\tlogger.info(\"disposed of all subscriptions!\", this.subscriptions.length);\n\t\t}\n\t\tthis.emitter.removeAllListeners();\n\t\tlogger.info(\"destroyed the listener!\");\n\t\tthis.readyState = InterceptorReadyState.DISPOSED;\n\t}\n\tgetInstance() {\n\t\tconst instance = getGlobalSymbol(this.symbol);\n\t\tthis.logger.info(\"retrieved global instance:\", instance?.constructor?.name);\n\t\treturn instance;\n\t}\n\tsetInstance() {\n\t\tsetGlobalSymbol(this.symbol, this);\n\t\tthis.logger.info(\"set global instance!\", this.symbol.description);\n\t}\n\tclearInstance() {\n\t\tdeleteGlobalSymbol(this.symbol);\n\t\tthis.logger.info(\"cleared global instance!\", this.symbol.description);\n\t}\n};\n\n//#endregion\n//#region src/InterceptorError.ts\nvar InterceptorError = class InterceptorError extends Error {\n\tconstructor(message) {\n\t\tsuper(message);\n\t\tthis.name = \"InterceptorError\";\n\t\tObject.setPrototypeOf(this, InterceptorError.prototype);\n\t}\n};\n\n//#endregion\n//#region src/RequestController.ts\nvar RequestController = class RequestController {\n\tstatic {\n\t\tthis.PENDING = 0;\n\t}\n\tstatic {\n\t\tthis.PASSTHROUGH = 1;\n\t}\n\tstatic {\n\t\tthis.RESPONSE = 2;\n\t}\n\tstatic {\n\t\tthis.ERROR = 3;\n\t}\n\tconstructor(request, source) {\n\t\tthis.request = request;\n\t\tthis.source = source;\n\t\tthis.readyState = RequestController.PENDING;\n\t\tthis.handled = new DeferredPromise();\n\t}\n\tget #handled() {\n\t\treturn this.handled;\n\t}\n\t/**\n\t* Perform this request as-is.\n\t*/\n\tasync passthrough() {\n\t\tinvariant.as(InterceptorError, this.readyState === RequestController.PENDING, \"Failed to passthrough the \\\"%s %s\\\" request: the request has already been handled\", this.request.method, this.request.url);\n\t\tthis.readyState = RequestController.PASSTHROUGH;\n\t\tawait this.source.passthrough();\n\t\tthis.#handled.resolve();\n\t}\n\t/**\n\t* Respond to this request with the given `Response` instance.\n\t*\n\t* @example\n\t* controller.respondWith(new Response())\n\t* controller.respondWith(Response.json({ id }))\n\t* controller.respondWith(Response.error())\n\t*/\n\trespondWith(response) {\n\t\tinvariant.as(InterceptorError, this.readyState === RequestController.PENDING, \"Failed to respond to the \\\"%s %s\\\" request with \\\"%d %s\\\": the request has already been handled (%d)\", this.request.method, this.request.url, response.status, response.statusText || \"OK\", this.readyState);\n\t\tthis.readyState = RequestController.RESPONSE;\n\t\tthis.#handled.resolve();\n\t\t/**\n\t\t* @note Although `source.respondWith()` is potentially asynchronous,\n\t\t* do NOT await it for backward-compatibility. Awaiting it will short-circuit\n\t\t* the request listener invocation as soon as a listener responds to a request.\n\t\t* Ideally, that's what we want, but that's not what we promise the user.\n\t\t*/\n\t\tthis.source.respondWith(response);\n\t}\n\t/**\n\t* Error this request with the given reason.\n\t*\n\t* @example\n\t* controller.errorWith()\n\t* controller.errorWith(new Error('Oops!'))\n\t* controller.errorWith({ message: 'Oops!'})\n\t*/\n\terrorWith(reason) {\n\t\tinvariant.as(InterceptorError, this.readyState === RequestController.PENDING, \"Failed to error the \\\"%s %s\\\" request with \\\"%s\\\": the request has already been handled (%d)\", this.request.method, this.request.url, reason?.toString(), this.readyState);\n\t\tthis.readyState = RequestController.ERROR;\n\t\tthis.source.errorWith(reason);\n\t\tthis.#handled.resolve();\n\t}\n};\n\n//#endregion\n//#region src/createRequestId.ts\n/**\n* Generate a random ID string to represent a request.\n* @example\n* createRequestId()\n* // \"f774b6c9c600f\"\n*/\nfunction createRequestId() {\n\treturn Math.random().toString(16).slice(2);\n}\n\n//#endregion\n//#region src/utils/canParseUrl.ts\n/**\n* Returns a boolean indicating whether the given URL string\n* can be parsed into a `URL` instance.\n* A substitute for `URL.canParse()` for Node.js 18.\n*/\nfunction canParseUrl(url) {\n\ttry {\n\t\tnew URL(url);\n\t\treturn true;\n\t} catch (_error) {\n\t\treturn false;\n\t}\n}\n\n//#endregion\n//#region src/utils/getValueBySymbol.ts\n/**\n* Returns the value behind the symbol with the given name.\n*/\nfunction getValueBySymbol(symbolName, source) {\n\tconst symbol = Object.getOwnPropertySymbols(source).find((symbol$1) => {\n\t\treturn symbol$1.description === symbolName;\n\t});\n\tif (symbol) return Reflect.get(source, symbol);\n}\n\n//#endregion\n//#region src/utils/fetchUtils.ts\nvar FetchResponse = class FetchResponse extends Response {\n\tstatic {\n\t\tthis.STATUS_CODES_WITHOUT_BODY = [\n\t\t\t101,\n\t\t\t103,\n\t\t\t204,\n\t\t\t205,\n\t\t\t304\n\t\t];\n\t}\n\tstatic {\n\t\tthis.STATUS_CODES_WITH_REDIRECT = [\n\t\t\t301,\n\t\t\t302,\n\t\t\t303,\n\t\t\t307,\n\t\t\t308\n\t\t];\n\t}\n\tstatic isConfigurableStatusCode(status) {\n\t\treturn status >= 200 && status <= 599;\n\t}\n\tstatic isRedirectResponse(status) {\n\t\treturn FetchResponse.STATUS_CODES_WITH_REDIRECT.includes(status);\n\t}\n\t/**\n\t* Returns a boolean indicating whether the given response status\n\t* code represents a response that can have a body.\n\t*/\n\tstatic isResponseWithBody(status) {\n\t\treturn !FetchResponse.STATUS_CODES_WITHOUT_BODY.includes(status);\n\t}\n\tstatic setUrl(url, response) {\n\t\tif (!url || url === \"about:\" || !canParseUrl(url)) return;\n\t\tconst state = getValueBySymbol(\"state\", response);\n\t\tif (state) state.urlList.push(new URL(url));\n\t\telse Object.defineProperty(response, \"url\", {\n\t\t\tvalue: url,\n\t\t\tenumerable: true,\n\t\t\tconfigurable: true,\n\t\t\twritable: false\n\t\t});\n\t}\n\t/**\n\t* Parses the given raw HTTP headers into a Fetch API `Headers` instance.\n\t*/\n\tstatic parseRawHeaders(rawHeaders) {\n\t\tconst headers = new Headers();\n\t\tfor (let line = 0; line < rawHeaders.length; line += 2) headers.append(rawHeaders[line], rawHeaders[line + 1]);\n\t\treturn headers;\n\t}\n\tconstructor(body, init = {}) {\n\t\tconst status = init.status ?? 200;\n\t\tconst safeStatus = FetchResponse.isConfigurableStatusCode(status) ? status : 200;\n\t\tconst finalBody = FetchResponse.isResponseWithBody(status) ? body : null;\n\t\tsuper(finalBody, {\n\t\t\tstatus: safeStatus,\n\t\t\tstatusText: init.statusText,\n\t\t\theaders: init.headers\n\t\t});\n\t\tif (status !== safeStatus) {\n\t\t\t/**\n\t\t\t* @note Undici keeps an internal \"Symbol(state)\" that holds\n\t\t\t* the actual value of response status. Update that in Node.js.\n\t\t\t*/\n\t\t\tconst state = getValueBySymbol(\"state\", this);\n\t\t\tif (state) state.status = status;\n\t\t\telse Object.defineProperty(this, \"status\", {\n\t\t\t\tvalue: status,\n\t\t\t\tenumerable: true,\n\t\t\t\tconfigurable: true,\n\t\t\t\twritable: false\n\t\t\t});\n\t\t}\n\t\tFetchResponse.setUrl(init.url, this);\n\t}\n};\n\n//#endregion\nexport { InterceptorError as a, InterceptorReadyState as c, RequestController as i, deleteGlobalSymbol as l, canParseUrl as n, INTERNAL_REQUEST_ID_HEADER_NAME as o, createRequestId as r, Interceptor as s, FetchResponse as t, getGlobalSymbol as u };\n//# sourceMappingURL=fetchUtils-CoU35g3M.mjs.map"],"names":["INTERNAL_REQUEST_ID_HEADER_NAME","getGlobalSymbol","symbol","globalThis","deleteGlobalSymbol","InterceptorReadyState","InterceptorReadyState$1","Interceptor","constructor","this","readyState","INACTIVE","emitter","Emitter","subscriptions","logger","Logger","description","setMaxListeners","info","checkEnvironment","apply","extend","APPLIED","APPLYING","runningInstance","getInstance","on","event","listener","addListener","push","removeListener","setup","setInstance","DISPOSING","DISPOSED","once","off","removeAllListeners","dispose","clearInstance","length","instance","name","value","InterceptorError","Error","message","super","Object","setPrototypeOf","prototype","RequestController","PENDING","PASSTHROUGH","RESPONSE","ERROR","request","source","handled","DeferredPromise","passthrough","invariant","as","method","url","resolve","respondWith","response","status","statusText","errorWith","reason","toString","createRequestId","Math","random","slice","canParseUrl","URL","_error","getValueBySymbol","symbolName","getOwnPropertySymbols","find","symbol$1","Reflect","get","FetchResponse","Response","STATUS_CODES_WITHOUT_BODY","STATUS_CODES_WITH_REDIRECT","isConfigurableStatusCode","isRedirectResponse","includes","isResponseWithBody","setUrl","state","urlList","defineProperty","enumerable","configurable","writable","parseRawHeaders","rawHeaders","headers","Headers","line","append","body","init","safeStatus"],"mappings":"2dAaK,MAACA,EAAkC,qCACxC,SAASC,EAAgBC,GACxB,OAAOC,WAAWD,SAAW,CAC9B,CAIA,SAASE,EAAmBF,UACpBC,WAAWD,EACnB,CACG,IAACG,EAAwC,SAASC,GAMpD,OALAA,EAAkC,SAAI,WACtCA,EAAkC,SAAI,WACtCA,EAAiC,QAAI,UACrCA,EA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AO,KACnD,CAChBxC,OAAQ0C,EACRzC,WAAYwC,EAAKxC,WACjBmC,QAASK,EAAKL,UAEXpC,IAAW0C,EAAY,CAK1B,MAAMd,EAAQhB,EAAiB,QAASzE,MACpCyF,EAAOA,EAAM5B,OAASA,EACrBpB,OAAOkD,eAAe3F,KAAM,SAAU,CAC1CoC,MAAOyB,EACP+B,YAAY,EACZC,cAAc,EACdC,UAAU,GAEZ,CACAd,EAAcQ,OAAOc,EAAK7C,IAAKzD,KAChC","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRawRequest-DnwmXyOW.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.
|
|
1
|
+
{"version":3,"file":"getRawRequest-DnwmXyOW.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/node/getRawRequest-DnwmXyOW.mjs"],"sourcesContent":["//#region src/getRawRequest.ts\nconst kRawRequest = Symbol(\"kRawRequest\");\n/**\n* Returns a raw request instance associated with this request.\n*\n* @example\n* interceptor.on('request', ({ request }) => {\n* const rawRequest = getRawRequest(request)\n*\n* if (rawRequest instanceof http.ClientRequest) {\n* console.log(rawRequest.rawHeaders)\n* }\n* })\n*/\nfunction getRawRequest(request) {\n\treturn Reflect.get(request, kRawRequest);\n}\nfunction setRawRequest(request, rawRequest) {\n\tReflect.set(request, kRawRequest, rawRequest);\n}\n\n//#endregion\nexport { setRawRequest as n, getRawRequest as t };\n//# sourceMappingURL=getRawRequest-DnwmXyOW.mjs.map"],"names":["kRawRequest","Symbol","request","rawRequest","Reflect","set"],"mappings":"aACA,MAAMA,EAAcC,OAAO,yBAgB3B,SAAuBC,EAASC,GAC/BC,QAAQC,IAAIH,EAASF,EAAaG,EACnC","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRawRequest-DnwmXyOW.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.
|
|
1
|
+
{"version":3,"file":"getRawRequest-DnwmXyOW.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/node/getRawRequest-DnwmXyOW.mjs"],"sourcesContent":["//#region src/getRawRequest.ts\nconst kRawRequest = Symbol(\"kRawRequest\");\n/**\n* Returns a raw request instance associated with this request.\n*\n* @example\n* interceptor.on('request', ({ request }) => {\n* const rawRequest = getRawRequest(request)\n*\n* if (rawRequest instanceof http.ClientRequest) {\n* console.log(rawRequest.rawHeaders)\n* }\n* })\n*/\nfunction getRawRequest(request) {\n\treturn Reflect.get(request, kRawRequest);\n}\nfunction setRawRequest(request, rawRequest) {\n\tReflect.set(request, kRawRequest, rawRequest);\n}\n\n//#endregion\nexport { setRawRequest as n, getRawRequest as t };\n//# sourceMappingURL=getRawRequest-DnwmXyOW.mjs.map"],"names":["kRawRequest","Symbol","setRawRequest","request","rawRequest","Reflect","set"],"mappings":"AACA,MAAMA,EAAcC,OAAO,eAgB3B,SAASC,EAAcC,EAASC,GAC/BC,QAAQC,IAAIH,EAASH,EAAaI,EACnC","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"glossary-glQBRnVD.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.
|
|
1
|
+
{"version":3,"file":"glossary-glQBRnVD.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/node/glossary-glQBRnVD.mjs"],"sourcesContent":["//#region src/glossary.ts\nconst IS_PATCHED_MODULE = Symbol(\"isPatchedModule\");\n\n//#endregion\nexport { IS_PATCHED_MODULE as t };\n//# sourceMappingURL=glossary-glQBRnVD.mjs.map"],"names":["IS_PATCHED_MODULE","Symbol"],"mappings":"aACK,MAACA,EAAoBC,OAAO","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"glossary-glQBRnVD.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.
|
|
1
|
+
{"version":3,"file":"glossary-glQBRnVD.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/node/glossary-glQBRnVD.mjs"],"sourcesContent":["//#region src/glossary.ts\nconst IS_PATCHED_MODULE = Symbol(\"isPatchedModule\");\n\n//#endregion\nexport { IS_PATCHED_MODULE as t };\n//# sourceMappingURL=glossary-glQBRnVD.mjs.map"],"names":["IS_PATCHED_MODULE","Symbol"],"mappings":"AACK,MAACA,EAAoBC,OAAO","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handleRequest-Y97UwBbF.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.0/node_modules/@mswjs/interceptors/lib/node/handleRequest-Y97UwBbF.mjs"],"sourcesContent":["import { a as InterceptorError, i as RequestController } from \"./fetchUtils-CoU35g3M.mjs\";\nimport { DeferredPromise } from \"@open-draft/deferred-promise\";\nimport { until } from \"@open-draft/until\";\n\n//#region src/utils/isPropertyAccessible.ts\n/**\n* A function that validates if property access is possible on an object\n* without throwing. It returns `true` if the property access is possible\n* and `false` otherwise.\n*\n* Environments like miniflare will throw on property access on certain objects\n* like Request and Response, for unimplemented properties.\n*/\nfunction isPropertyAccessible(obj, key) {\n\ttry {\n\t\tobj[key];\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n\n//#endregion\n//#region src/utils/emitAsync.ts\n/**\n* Emits an event on the given emitter but executes\n* the listeners sequentially. This accounts for asynchronous\n* listeners (e.g. those having \"sleep\" and handling the request).\n*/\nasync function emitAsync(emitter, eventName, ...data) {\n\tconst listeners = emitter.listeners(eventName);\n\tif (listeners.length === 0) return;\n\tfor (const listener of listeners) await listener.apply(emitter, data);\n}\n\n//#endregion\n//#region src/utils/isObject.ts\n/**\n* Determines if a given value is an instance of object.\n*/\nfunction isObject(value, loose = false) {\n\treturn loose ? Object.prototype.toString.call(value).startsWith(\"[object \") : Object.prototype.toString.call(value) === \"[object Object]\";\n}\n\n//#endregion\n//#region src/utils/responseUtils.ts\n/**\n* Creates a generic 500 Unhandled Exception response.\n*/\nfunction createServerErrorResponse(body) {\n\treturn new Response(JSON.stringify(body instanceof Error ? {\n\t\tname: body.name,\n\t\tmessage: body.message,\n\t\tstack: body.stack\n\t} : body), {\n\t\tstatus: 500,\n\t\tstatusText: \"Unhandled Exception\",\n\t\theaders: { \"Content-Type\": \"application/json\" }\n\t});\n}\n/**\n* Check if the given response is a `Response.error()`.\n*\n* @note Some environments, like Miniflare (Cloudflare) do not\n* implement the \"Response.type\" property and throw on its access.\n* Safely check if we can access \"type\" on \"Response\" before continuing.\n* @see https://github.com/mswjs/msw/issues/1834\n*/\nfunction isResponseError(response) {\n\treturn response != null && response instanceof Response && isPropertyAccessible(response, \"type\") && response.type === \"error\";\n}\n/**\n* Check if the given value is a `Response` or a Response-like object.\n* This is different from `value instanceof Response` because it supports\n* custom `Response` constructors, like the one when using Undici directly.\n*/\nfunction isResponseLike(value) {\n\treturn isObject(value, true) && isPropertyAccessible(value, \"status\") && isPropertyAccessible(value, \"statusText\") && isPropertyAccessible(value, \"bodyUsed\");\n}\n\n//#endregion\n//#region src/utils/isNodeLikeError.ts\nfunction isNodeLikeError(error) {\n\tif (error == null) return false;\n\tif (!(error instanceof Error)) return false;\n\treturn \"code\" in error && \"errno\" in error;\n}\n\n//#endregion\n//#region src/utils/handleRequest.ts\nasync function handleRequest(options) {\n\tconst handleResponse = async (response) => {\n\t\tif (response instanceof Error) {\n\t\t\tawait options.controller.errorWith(response);\n\t\t\treturn true;\n\t\t}\n\t\tif (isResponseError(response)) {\n\t\t\tawait options.controller.respondWith(response);\n\t\t\treturn true;\n\t\t}\n\t\t/**\n\t\t* Handle normal responses or response-like objects.\n\t\t* @note This must come before the arbitrary object check\n\t\t* since Response instances are, in fact, objects.\n\t\t*/\n\t\tif (isResponseLike(response)) {\n\t\t\tawait options.controller.respondWith(response);\n\t\t\treturn true;\n\t\t}\n\t\tif (isObject(response)) {\n\t\t\tawait options.controller.errorWith(response);\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t};\n\tconst handleResponseError = async (error) => {\n\t\tif (error instanceof InterceptorError) throw result.error;\n\t\tif (isNodeLikeError(error)) {\n\t\t\tawait options.controller.errorWith(error);\n\t\t\treturn true;\n\t\t}\n\t\tif (error instanceof Response) return await handleResponse(error);\n\t\treturn false;\n\t};\n\tconst requestAbortPromise = new DeferredPromise();\n\t/**\n\t* @note `signal` is not always defined in React Native.\n\t*/\n\tif (options.request.signal) {\n\t\tif (options.request.signal.aborted) {\n\t\t\tawait options.controller.errorWith(options.request.signal.reason);\n\t\t\treturn;\n\t\t}\n\t\toptions.request.signal.addEventListener(\"abort\", () => {\n\t\t\trequestAbortPromise.reject(options.request.signal.reason);\n\t\t}, { once: true });\n\t}\n\tconst result = await until(async () => {\n\t\tconst requestListenersPromise = emitAsync(options.emitter, \"request\", {\n\t\t\trequestId: options.requestId,\n\t\t\trequest: options.request,\n\t\t\tcontroller: options.controller\n\t\t});\n\t\tawait Promise.race([\n\t\t\trequestAbortPromise,\n\t\t\trequestListenersPromise,\n\t\t\toptions.controller.handled\n\t\t]);\n\t});\n\tif (requestAbortPromise.state === \"rejected\") {\n\t\tawait options.controller.errorWith(requestAbortPromise.rejectionReason);\n\t\treturn;\n\t}\n\tif (result.error) {\n\t\tif (await handleResponseError(result.error)) return;\n\t\tif (options.emitter.listenerCount(\"unhandledException\") > 0) {\n\t\t\tconst unhandledExceptionController = new RequestController(options.request, {\n\t\t\t\tpassthrough() {},\n\t\t\t\tasync respondWith(response) {\n\t\t\t\t\tawait handleResponse(response);\n\t\t\t\t},\n\t\t\t\tasync errorWith(reason) {\n\t\t\t\t\t/**\n\t\t\t\t\t* @note Handle the result of the unhandled controller\n\t\t\t\t\t* in the same way as the original request controller.\n\t\t\t\t\t* The exception here is that thrown errors within the\n\t\t\t\t\t* \"unhandledException\" event do NOT result in another\n\t\t\t\t\t* emit of the same event. They are forwarded as-is.\n\t\t\t\t\t*/\n\t\t\t\t\tawait options.controller.errorWith(reason);\n\t\t\t\t}\n\t\t\t});\n\t\t\tawait emitAsync(options.emitter, \"unhandledException\", {\n\t\t\t\terror: result.error,\n\t\t\t\trequest: options.request,\n\t\t\t\trequestId: options.requestId,\n\t\t\t\tcontroller: unhandledExceptionController\n\t\t\t});\n\t\t\tif (unhandledExceptionController.readyState !== RequestController.PENDING) return;\n\t\t}\n\t\tawait options.controller.respondWith(createServerErrorResponse(result.error));\n\t\treturn;\n\t}\n\tif (options.controller.readyState === RequestController.PENDING) return await options.controller.passthrough();\n\treturn options.controller.handled;\n}\n\n//#endregion\nexport { isPropertyAccessible as a, emitAsync as i, isResponseError as n, isObject as r, handleRequest as t };\n//# sourceMappingURL=handleRequest-Y97UwBbF.mjs.map"],"names":["isPropertyAccessible","obj","key","async","emitAsync","emitter","eventName","data","listeners","length","listener","apply","isObject","value","loose","Object","prototype","toString","call","startsWith","isResponseError","response","Response","type","options","handleResponse","Error","controller","errorWith","respondWith","handleResponseError","error","InterceptorError","result","isNodeLikeError","requestAbortPromise","DeferredPromise","request","signal","aborted","reason","addEventListener","reject","once","until","requestListenersPromise","requestId","Promise","race","handled","state","body","readyState","RequestController","PENDING","passthrough","listenerCount","unhandledExceptionController","JSON","stringify","name","message","stack","status","statusText","headers","rejectionReason"],"mappings":"iSAaA,SAASA,EAAqBC,EAAKC,GAClC,IAEC,OADAD,EAAIC,IACG,CACR,CAAE,MACD,OAAO,CACR,CACD,CASAC,eAAeC,EAAUC,EAASC,KAAcC,GAC/C,MAAMC,EAAYH,EAAQG,UAAUF,GACpC,GAAyB,IAArBE,EAAUC,OACd,IAAK,MAAMC,KAAYF,QAAiBE,EAASC,MAAMN,E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AS,UAAW,CACrEyC,UAAWtB,EAAQsB,UACnBT,QAASb,EAAQa,QACjBV,WAAYH,EAAQG,mBAEfoB,QAAQC,KAAK,CAClBb,EACAU,EACArB,EAAQG,WAAWsB,aAGrB,GAAkC,aAA9Bd,EAAoBe,MAAxB,CApGD,IAAmCC,EAwGlC,IAAIlB,EAAOF,MA8BX,OAAIP,EAAQG,WAAWyB,aAAeC,EAAAA,EAAkBC,cAAsB9B,EAAQG,WAAW4B,cAC1F/B,EAAQG,WAAWsB,QA9BzB,SAAUnB,EAAoBG,EAAOF,OAAQ,OAC7C,GAAIP,EAAQnB,QAAQmD,cAAc,sBAAwB,EAAG,CAC5D,MAAMC,EAA+B,IAAIJ,IAAkB7B,EAAQa,QAAS,CAC3E,WAAAkB,GAAe,EACf,iBAAM1B,CAAYR,SACXI,EAAeJ,EACtB,EACA,eAAMO,CAAUY,SAQThB,EAAQG,WAAWC,UAAUY,EACpC,IAQD,SANMpC,EAAUoB,EAAQnB,QAAS,qBAAsB,CACtD0B,MAAOE,EAAOF,MACdM,QAASb,EAAQa,QACjBS,UAAWtB,EAAQsB,UACnBnB,WAAY8B,IAETA,EAA6BL,aAAeC,EAAAA,EAAkBC,QAAS,MAC5E,OACM9B,EAAQG,WAAWE,aAnIQsB,EAmI8BlB,EAAOF,MAlIhE,IAAIT,SAASoC,KAAKC,UAAUR,aAAgBzB,MAAQ,CAC1DkC,KAAMT,EAAKS,KACXC,QAASV,EAAKU,QACdC,MAAOX,EAAKW,OACTX,GAAO,CACVY,OAAQ,IACRC,WAAY,sBACZC,QAAS,CAAE,eAAgB,uBA+F5B,YAFOzC,EAAQG,WAAWC,UAAUO,EAAoB+B,gBAmCzD","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"handleRequest-Y97UwBbF.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/node/handleRequest-Y97UwBbF.mjs"],"sourcesContent":["import { a as InterceptorError, i as RequestController } from \"./fetchUtils-CoU35g3M.mjs\";\nimport { DeferredPromise } from \"@open-draft/deferred-promise\";\nimport { until } from \"@open-draft/until\";\n\n//#region src/utils/isPropertyAccessible.ts\n/**\n* A function that validates if property access is possible on an object\n* without throwing. It returns `true` if the property access is possible\n* and `false` otherwise.\n*\n* Environments like miniflare will throw on property access on certain objects\n* like Request and Response, for unimplemented properties.\n*/\nfunction isPropertyAccessible(obj, key) {\n\ttry {\n\t\tobj[key];\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n\n//#endregion\n//#region src/utils/emitAsync.ts\n/**\n* Emits an event on the given emitter but executes\n* the listeners sequentially. This accounts for asynchronous\n* listeners (e.g. those having \"sleep\" and handling the request).\n*/\nasync function emitAsync(emitter, eventName, ...data) {\n\tconst listeners = emitter.listeners(eventName);\n\tif (listeners.length === 0) return;\n\tfor (const listener of listeners) await listener.apply(emitter, data);\n}\n\n//#endregion\n//#region src/utils/isObject.ts\n/**\n* Determines if a given value is an instance of object.\n*/\nfunction isObject(value, loose = false) {\n\treturn loose ? Object.prototype.toString.call(value).startsWith(\"[object \") : Object.prototype.toString.call(value) === \"[object Object]\";\n}\n\n//#endregion\n//#region src/utils/responseUtils.ts\n/**\n* Creates a generic 500 Unhandled Exception response.\n*/\nfunction createServerErrorResponse(body) {\n\treturn new Response(JSON.stringify(body instanceof Error ? {\n\t\tname: body.name,\n\t\tmessage: body.message,\n\t\tstack: body.stack\n\t} : body), {\n\t\tstatus: 500,\n\t\tstatusText: \"Unhandled Exception\",\n\t\theaders: { \"Content-Type\": \"application/json\" }\n\t});\n}\n/**\n* Check if the given response is a `Response.error()`.\n*\n* @note Some environments, like Miniflare (Cloudflare) do not\n* implement the \"Response.type\" property and throw on its access.\n* Safely check if we can access \"type\" on \"Response\" before continuing.\n* @see https://github.com/mswjs/msw/issues/1834\n*/\nfunction isResponseError(response) {\n\treturn response != null && response instanceof Response && isPropertyAccessible(response, \"type\") && response.type === \"error\";\n}\n/**\n* Check if the given value is a `Response` or a Response-like object.\n* This is different from `value instanceof Response` because it supports\n* custom `Response` constructors, like the one when using Undici directly.\n*/\nfunction isResponseLike(value) {\n\treturn isObject(value, true) && isPropertyAccessible(value, \"status\") && isPropertyAccessible(value, \"statusText\") && isPropertyAccessible(value, \"bodyUsed\");\n}\n\n//#endregion\n//#region src/utils/isNodeLikeError.ts\nfunction isNodeLikeError(error) {\n\tif (error == null) return false;\n\tif (!(error instanceof Error)) return false;\n\treturn \"code\" in error && \"errno\" in error;\n}\n\n//#endregion\n//#region src/utils/handleRequest.ts\nasync function handleRequest(options) {\n\tconst handleResponse = async (response) => {\n\t\tif (response instanceof Error) {\n\t\t\tawait options.controller.errorWith(response);\n\t\t\treturn true;\n\t\t}\n\t\tif (isResponseError(response)) {\n\t\t\tawait options.controller.respondWith(response);\n\t\t\treturn true;\n\t\t}\n\t\t/**\n\t\t* Handle normal responses or response-like objects.\n\t\t* @note This must come before the arbitrary object check\n\t\t* since Response instances are, in fact, objects.\n\t\t*/\n\t\tif (isResponseLike(response)) {\n\t\t\tawait options.controller.respondWith(response);\n\t\t\treturn true;\n\t\t}\n\t\tif (isObject(response)) {\n\t\t\tawait options.controller.errorWith(response);\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t};\n\tconst handleResponseError = async (error) => {\n\t\tif (error instanceof InterceptorError) throw result.error;\n\t\tif (isNodeLikeError(error)) {\n\t\t\tawait options.controller.errorWith(error);\n\t\t\treturn true;\n\t\t}\n\t\tif (error instanceof Response) return await handleResponse(error);\n\t\treturn false;\n\t};\n\tconst requestAbortPromise = new DeferredPromise();\n\t/**\n\t* @note `signal` is not always defined in React Native.\n\t*/\n\tif (options.request.signal) {\n\t\tif (options.request.signal.aborted) {\n\t\t\tawait options.controller.errorWith(options.request.signal.reason);\n\t\t\treturn;\n\t\t}\n\t\toptions.request.signal.addEventListener(\"abort\", () => {\n\t\t\trequestAbortPromise.reject(options.request.signal.reason);\n\t\t}, { once: true });\n\t}\n\tconst result = await until(async () => {\n\t\tconst requestListenersPromise = emitAsync(options.emitter, \"request\", {\n\t\t\trequestId: options.requestId,\n\t\t\trequest: options.request,\n\t\t\tcontroller: options.controller\n\t\t});\n\t\tawait Promise.race([\n\t\t\trequestAbortPromise,\n\t\t\trequestListenersPromise,\n\t\t\toptions.controller.handled\n\t\t]);\n\t});\n\tif (requestAbortPromise.state === \"rejected\") {\n\t\tawait options.controller.errorWith(requestAbortPromise.rejectionReason);\n\t\treturn;\n\t}\n\tif (result.error) {\n\t\tif (await handleResponseError(result.error)) return;\n\t\tif (options.emitter.listenerCount(\"unhandledException\") > 0) {\n\t\t\tconst unhandledExceptionController = new RequestController(options.request, {\n\t\t\t\tpassthrough() {},\n\t\t\t\tasync respondWith(response) {\n\t\t\t\t\tawait handleResponse(response);\n\t\t\t\t},\n\t\t\t\tasync errorWith(reason) {\n\t\t\t\t\t/**\n\t\t\t\t\t* @note Handle the result of the unhandled controller\n\t\t\t\t\t* in the same way as the original request controller.\n\t\t\t\t\t* The exception here is that thrown errors within the\n\t\t\t\t\t* \"unhandledException\" event do NOT result in another\n\t\t\t\t\t* emit of the same event. They are forwarded as-is.\n\t\t\t\t\t*/\n\t\t\t\t\tawait options.controller.errorWith(reason);\n\t\t\t\t}\n\t\t\t});\n\t\t\tawait emitAsync(options.emitter, \"unhandledException\", {\n\t\t\t\terror: result.error,\n\t\t\t\trequest: options.request,\n\t\t\t\trequestId: options.requestId,\n\t\t\t\tcontroller: unhandledExceptionController\n\t\t\t});\n\t\t\tif (unhandledExceptionController.readyState !== RequestController.PENDING) return;\n\t\t}\n\t\tawait options.controller.respondWith(createServerErrorResponse(result.error));\n\t\treturn;\n\t}\n\tif (options.controller.readyState === RequestController.PENDING) return await options.controller.passthrough();\n\treturn options.controller.handled;\n}\n\n//#endregion\nexport { isPropertyAccessible as a, emitAsync as i, isResponseError as n, isObject as r, handleRequest as t };\n//# sourceMappingURL=handleRequest-Y97UwBbF.mjs.map"],"names":["isPropertyAccessible","obj","key","async","emitAsync","emitter","eventName","data","listeners","length","listener","apply","isObject","value","loose","Object","prototype","toString","call","startsWith","isResponseError","response","Response","type","options","handleResponse","Error","controller","errorWith","respondWith","handleResponseError","error","InterceptorError","result","isNodeLikeError","requestAbortPromise","DeferredPromise","request","signal","aborted","reason","addEventListener","reject","once","until","requestListenersPromise","requestId","Promise","race","handled","state","body","readyState","RequestController","PENDING","passthrough","listenerCount","unhandledExceptionController","JSON","stringify","name","message","stack","status","statusText","headers","rejectionReason"],"mappings":"iSAaA,SAASA,EAAqBC,EAAKC,GAClC,IAEC,OADAD,EAAIC,IACG,CACR,CAAE,MACD,OAAO,CACR,CACD,CASAC,eAAeC,EAAUC,EAASC,KAAcC,GAC/C,MAAMC,EAAYH,EAAQG,UAAUF,GACpC,GAAyB,IAArBE,EAAUC,OACd,IAAK,MAAMC,KAAYF,QAAiBE,EAASC,MAAMN,EAASE,EACjE,CAOA,SAASK,EAASC,EAAOC,GAAQ,GAChC,OAAOA,EAAQC,OAAOC,UAAUC,SAASC,KAAKL,GAAOM,WAAW,YAAwD,oBAA1CJ,OAAOC,UAAUC,SAASC,KAAKL,EAC9G,CA0BA,SAASO,EAAgBC,GACxB,OAAmB,MAAZA,GAAoBA,aAAoBC,UAAYtB,EAAqBqB,EAAU,SAA6B,UAAlBA,EAASE,IAC/G,2DAoBApB,eAA6BqB,GAC5B,MAAMC,EAAiBtB,MAAOkB,IAC7B,OAAIA,aAAoBK,aACjBF,EAAQG,WAAWC,UAAUP,IAC5B,GAEJD,EAAgBC,UACbG,EAAQG,WAAWE,YAAYR,IAC9B,GArBFT,EADgBC,EA6BHQ,GA5BG,IAASrB,EAAqBa,EAAO,WAAab,EAAqBa,EAAO,eAAiBb,EAAqBa,EAAO,mBA6B1IW,EAAQG,WAAWE,YAAYR,IAC9B,KAEJT,EAASS,WACNG,EAAQG,WAAWC,UAAUP,IAC5B,GAnCV,IAAwBR,GAuCjBiB,EAAsB3B,MAAO4B,IAClC,GAA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BS,UAAWtB,EAAQsB,UACnBnB,WAAY8B,IAETA,EAA6BL,aAAeC,EAAAA,EAAkBC,QAAS,MAC5E,OACM9B,EAAQG,WAAWE,aAnIQsB,EAmI8BlB,EAAOF,MAlIhE,IAAIT,SAASoC,KAAKC,UAAUR,aAAgBzB,MAAQ,CAC1DkC,KAAMT,EAAKS,KACXC,QAASV,EAAKU,QACdC,MAAOX,EAAKW,OACTX,GAAO,CACVY,OAAQ,IACRC,WAAY,sBACZC,QAAS,CAAE,eAAgB,uBA+F5B,YAFOzC,EAAQG,WAAWC,UAAUO,EAAoB+B,gBAmCzD","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"handleRequest-Y97UwBbF.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.0/node_modules/@mswjs/interceptors/lib/node/handleRequest-Y97UwBbF.mjs"],"sourcesContent":["import { a as InterceptorError, i as RequestController } from \"./fetchUtils-CoU35g3M.mjs\";\nimport { DeferredPromise } from \"@open-draft/deferred-promise\";\nimport { until } from \"@open-draft/until\";\n\n//#region src/utils/isPropertyAccessible.ts\n/**\n* A function that validates if property access is possible on an object\n* without throwing. It returns `true` if the property access is possible\n* and `false` otherwise.\n*\n* Environments like miniflare will throw on property access on certain objects\n* like Request and Response, for unimplemented properties.\n*/\nfunction isPropertyAccessible(obj, key) {\n\ttry {\n\t\tobj[key];\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n\n//#endregion\n//#region src/utils/emitAsync.ts\n/**\n* Emits an event on the given emitter but executes\n* the listeners sequentially. This accounts for asynchronous\n* listeners (e.g. those having \"sleep\" and handling the request).\n*/\nasync function emitAsync(emitter, eventName, ...data) {\n\tconst listeners = emitter.listeners(eventName);\n\tif (listeners.length === 0) return;\n\tfor (const listener of listeners) await listener.apply(emitter, data);\n}\n\n//#endregion\n//#region src/utils/isObject.ts\n/**\n* Determines if a given value is an instance of object.\n*/\nfunction isObject(value, loose = false) {\n\treturn loose ? Object.prototype.toString.call(value).startsWith(\"[object \") : Object.prototype.toString.call(value) === \"[object Object]\";\n}\n\n//#endregion\n//#region src/utils/responseUtils.ts\n/**\n* Creates a generic 500 Unhandled Exception response.\n*/\nfunction createServerErrorResponse(body) {\n\treturn new Response(JSON.stringify(body instanceof Error ? {\n\t\tname: body.name,\n\t\tmessage: body.message,\n\t\tstack: body.stack\n\t} : body), {\n\t\tstatus: 500,\n\t\tstatusText: \"Unhandled Exception\",\n\t\theaders: { \"Content-Type\": \"application/json\" }\n\t});\n}\n/**\n* Check if the given response is a `Response.error()`.\n*\n* @note Some environments, like Miniflare (Cloudflare) do not\n* implement the \"Response.type\" property and throw on its access.\n* Safely check if we can access \"type\" on \"Response\" before continuing.\n* @see https://github.com/mswjs/msw/issues/1834\n*/\nfunction isResponseError(response) {\n\treturn response != null && response instanceof Response && isPropertyAccessible(response, \"type\") && response.type === \"error\";\n}\n/**\n* Check if the given value is a `Response` or a Response-like object.\n* This is different from `value instanceof Response` because it supports\n* custom `Response` constructors, like the one when using Undici directly.\n*/\nfunction isResponseLike(value) {\n\treturn isObject(value, true) && isPropertyAccessible(value, \"status\") && isPropertyAccessible(value, \"statusText\") && isPropertyAccessible(value, \"bodyUsed\");\n}\n\n//#endregion\n//#region src/utils/isNodeLikeError.ts\nfunction isNodeLikeError(error) {\n\tif (error == null) return false;\n\tif (!(error instanceof Error)) return false;\n\treturn \"code\" in error && \"errno\" in error;\n}\n\n//#endregion\n//#region src/utils/handleRequest.ts\nasync function handleRequest(options) {\n\tconst handleResponse = async (response) => {\n\t\tif (response instanceof Error) {\n\t\t\tawait options.controller.errorWith(response);\n\t\t\treturn true;\n\t\t}\n\t\tif (isResponseError(response)) {\n\t\t\tawait options.controller.respondWith(response);\n\t\t\treturn true;\n\t\t}\n\t\t/**\n\t\t* Handle normal responses or response-like objects.\n\t\t* @note This must come before the arbitrary object check\n\t\t* since Response instances are, in fact, objects.\n\t\t*/\n\t\tif (isResponseLike(response)) {\n\t\t\tawait options.controller.respondWith(response);\n\t\t\treturn true;\n\t\t}\n\t\tif (isObject(response)) {\n\t\t\tawait options.controller.errorWith(response);\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t};\n\tconst handleResponseError = async (error) => {\n\t\tif (error instanceof InterceptorError) throw result.error;\n\t\tif (isNodeLikeError(error)) {\n\t\t\tawait options.controller.errorWith(error);\n\t\t\treturn true;\n\t\t}\n\t\tif (error instanceof Response) return await handleResponse(error);\n\t\treturn false;\n\t};\n\tconst requestAbortPromise = new DeferredPromise();\n\t/**\n\t* @note `signal` is not always defined in React Native.\n\t*/\n\tif (options.request.signal) {\n\t\tif (options.request.signal.aborted) {\n\t\t\tawait options.controller.errorWith(options.request.signal.reason);\n\t\t\treturn;\n\t\t}\n\t\toptions.request.signal.addEventListener(\"abort\", () => {\n\t\t\trequestAbortPromise.reject(options.request.signal.reason);\n\t\t}, { once: true });\n\t}\n\tconst result = await until(async () => {\n\t\tconst requestListenersPromise = emitAsync(options.emitter, \"request\", {\n\t\t\trequestId: options.requestId,\n\t\t\trequest: options.request,\n\t\t\tcontroller: options.controller\n\t\t});\n\t\tawait Promise.race([\n\t\t\trequestAbortPromise,\n\t\t\trequestListenersPromise,\n\t\t\toptions.controller.handled\n\t\t]);\n\t});\n\tif (requestAbortPromise.state === \"rejected\") {\n\t\tawait options.controller.errorWith(requestAbortPromise.rejectionReason);\n\t\treturn;\n\t}\n\tif (result.error) {\n\t\tif (await handleResponseError(result.error)) return;\n\t\tif (options.emitter.listenerCount(\"unhandledException\") > 0) {\n\t\t\tconst unhandledExceptionController = new RequestController(options.request, {\n\t\t\t\tpassthrough() {},\n\t\t\t\tasync respondWith(response) {\n\t\t\t\t\tawait handleResponse(response);\n\t\t\t\t},\n\t\t\t\tasync errorWith(reason) {\n\t\t\t\t\t/**\n\t\t\t\t\t* @note Handle the result of the unhandled controller\n\t\t\t\t\t* in the same way as the original request controller.\n\t\t\t\t\t* The exception here is that thrown errors within the\n\t\t\t\t\t* \"unhandledException\" event do NOT result in another\n\t\t\t\t\t* emit of the same event. They are forwarded as-is.\n\t\t\t\t\t*/\n\t\t\t\t\tawait options.controller.errorWith(reason);\n\t\t\t\t}\n\t\t\t});\n\t\t\tawait emitAsync(options.emitter, \"unhandledException\", {\n\t\t\t\terror: result.error,\n\t\t\t\trequest: options.request,\n\t\t\t\trequestId: options.requestId,\n\t\t\t\tcontroller: unhandledExceptionController\n\t\t\t});\n\t\t\tif (unhandledExceptionController.readyState !== RequestController.PENDING) return;\n\t\t}\n\t\tawait options.controller.respondWith(createServerErrorResponse(result.error));\n\t\treturn;\n\t}\n\tif (options.controller.readyState === RequestController.PENDING) return await options.controller.passthrough();\n\treturn options.controller.handled;\n}\n\n//#endregion\nexport { isPropertyAccessible as a, emitAsync as i, isResponseError as n, isObject as r, handleRequest as t };\n//# sourceMappingURL=handleRequest-Y97UwBbF.mjs.map"],"names":["isPropertyAccessible","obj","key","async","emitAsync","emitter","eventName","data","listeners","length","listener","apply","isObject","value","loose","Object","prototype","toString","call","startsWith","isResponseError","response","Response","type","handleRequest","options","handleResponse","Error","controller","errorWith","respondWith","handleResponseError","error","InterceptorError","result","isNodeLikeError","requestAbortPromise","DeferredPromise","request","signal","aborted","reason","addEventListener","reject","once","until","requestListenersPromise","requestId","Promise","race","handled","state","body","readyState","RequestController","PENDING","passthrough","listenerCount","unhandledExceptionController","JSON","stringify","name","message","stack","status","statusText","headers","rejectionReason"],"mappings":"kTAaA,SAASA,EAAqBC,EAAKC,GAClC,IAEC,OADAD,EAAIC,IACG,CACR,CAAE,MACD,OAAO,CACR,CACD,CASAC,eAAeC,EAAUC,EAASC,KAAcC,GAC/C,MAAMC,EAAYH,EAAQG,UAAUF,GACpC,GAAyB,IAArBE,EAAUC,OACd,IAAK,MAAMC,KAAYF,QAAiBE,EAASC,MAAMN,EAASE,EACjE,CAOA,SAASK,EAASC,EAAOC,GAAQ,GAChC,OAAOA,EAAQC,OAAOC,UAAUC,SAAS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,KAAK,CAClBb,EACAU,EACArB,EAAQG,WAAWsB,aAGrB,GAAkC,aAA9Bd,EAAoBe,MAAxB,CApGD,IAAmCC,EAwGlC,IAAIlB,EAAOF,MA8BX,OAAIP,EAAQG,WAAWyB,aAAeC,EAAkBC,cAAsB9B,EAAQG,WAAW4B,cAC1F/B,EAAQG,WAAWsB,QA9BzB,SAAUnB,EAAoBG,EAAOF,OAAQ,OAC7C,GAAIP,EAAQpB,QAAQoD,cAAc,sBAAwB,EAAG,CAC5D,MAAMC,EAA+B,IAAIJ,EAAkB7B,EAAQa,QAAS,CAC3E,WAAAkB,GAAe,EACf,iBAAM1B,CAAYT,SACXK,EAAeL,EACtB,EACA,eAAMQ,CAAUY,SAQThB,EAAQG,WAAWC,UAAUY,EACpC,IAQD,SANMrC,EAAUqB,EAAQpB,QAAS,qBAAsB,CACtD2B,MAAOE,EAAOF,MACdM,QAASb,EAAQa,QACjBS,UAAWtB,EAAQsB,UACnBnB,WAAY8B,IAETA,EAA6BL,aAAeC,EAAkBC,QAAS,MAC5E,OACM9B,EAAQG,WAAWE,aAnIQsB,EAmI8BlB,EAAOF,MAlIhE,IAAIV,SAASqC,KAAKC,UAAUR,aAAgBzB,MAAQ,CAC1DkC,KAAMT,EAAKS,KACXC,QAASV,EAAKU,QACdC,MAAOX,EAAKW,OACTX,GAAO,CACVY,OAAQ,IACRC,WAAY,sBACZC,QAAS,CAAE,eAAgB,uBA+F5B,YAFOzC,EAAQG,WAAWC,UAAUO,EAAoB+B,gBAmCzD","x_google_ignoreList":[0]}
|
|
1
|
+
{"version":3,"file":"handleRequest-Y97UwBbF.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/node/handleRequest-Y97UwBbF.mjs"],"sourcesContent":["import { a as InterceptorError, i as RequestController } from \"./fetchUtils-CoU35g3M.mjs\";\nimport { DeferredPromise } from \"@open-draft/deferred-promise\";\nimport { until } from \"@open-draft/until\";\n\n//#region src/utils/isPropertyAccessible.ts\n/**\n* A function that validates if property access is possible on an object\n* without throwing. It returns `true` if the property access is possible\n* and `false` otherwise.\n*\n* Environments like miniflare will throw on property access on certain objects\n* like Request and Response, for unimplemented properties.\n*/\nfunction isPropertyAccessible(obj, key) {\n\ttry {\n\t\tobj[key];\n\t\treturn true;\n\t} catch {\n\t\treturn false;\n\t}\n}\n\n//#endregion\n//#region src/utils/emitAsync.ts\n/**\n* Emits an event on the given emitter but executes\n* the listeners sequentially. This accounts for asynchronous\n* listeners (e.g. those having \"sleep\" and handling the request).\n*/\nasync function emitAsync(emitter, eventName, ...data) {\n\tconst listeners = emitter.listeners(eventName);\n\tif (listeners.length === 0) return;\n\tfor (const listener of listeners) await listener.apply(emitter, data);\n}\n\n//#endregion\n//#region src/utils/isObject.ts\n/**\n* Determines if a given value is an instance of object.\n*/\nfunction isObject(value, loose = false) {\n\treturn loose ? Object.prototype.toString.call(value).startsWith(\"[object \") : Object.prototype.toString.call(value) === \"[object Object]\";\n}\n\n//#endregion\n//#region src/utils/responseUtils.ts\n/**\n* Creates a generic 500 Unhandled Exception response.\n*/\nfunction createServerErrorResponse(body) {\n\treturn new Response(JSON.stringify(body instanceof Error ? {\n\t\tname: body.name,\n\t\tmessage: body.message,\n\t\tstack: body.stack\n\t} : body), {\n\t\tstatus: 500,\n\t\tstatusText: \"Unhandled Exception\",\n\t\theaders: { \"Content-Type\": \"application/json\" }\n\t});\n}\n/**\n* Check if the given response is a `Response.error()`.\n*\n* @note Some environments, like Miniflare (Cloudflare) do not\n* implement the \"Response.type\" property and throw on its access.\n* Safely check if we can access \"type\" on \"Response\" before continuing.\n* @see https://github.com/mswjs/msw/issues/1834\n*/\nfunction isResponseError(response) {\n\treturn response != null && response instanceof Response && isPropertyAccessible(response, \"type\") && response.type === \"error\";\n}\n/**\n* Check if the given value is a `Response` or a Response-like object.\n* This is different from `value instanceof Response` because it supports\n* custom `Response` constructors, like the one when using Undici directly.\n*/\nfunction isResponseLike(value) {\n\treturn isObject(value, true) && isPropertyAccessible(value, \"status\") && isPropertyAccessible(value, \"statusText\") && isPropertyAccessible(value, \"bodyUsed\");\n}\n\n//#endregion\n//#region src/utils/isNodeLikeError.ts\nfunction isNodeLikeError(error) {\n\tif (error == null) return false;\n\tif (!(error instanceof Error)) return false;\n\treturn \"code\" in error && \"errno\" in error;\n}\n\n//#endregion\n//#region src/utils/handleRequest.ts\nasync function handleRequest(options) {\n\tconst handleResponse = async (response) => {\n\t\tif (response instanceof Error) {\n\t\t\tawait options.controller.errorWith(response);\n\t\t\treturn true;\n\t\t}\n\t\tif (isResponseError(response)) {\n\t\t\tawait options.controller.respondWith(response);\n\t\t\treturn true;\n\t\t}\n\t\t/**\n\t\t* Handle normal responses or response-like objects.\n\t\t* @note This must come before the arbitrary object check\n\t\t* since Response instances are, in fact, objects.\n\t\t*/\n\t\tif (isResponseLike(response)) {\n\t\t\tawait options.controller.respondWith(response);\n\t\t\treturn true;\n\t\t}\n\t\tif (isObject(response)) {\n\t\t\tawait options.controller.errorWith(response);\n\t\t\treturn true;\n\t\t}\n\t\treturn false;\n\t};\n\tconst handleResponseError = async (error) => {\n\t\tif (error instanceof InterceptorError) throw result.error;\n\t\tif (isNodeLikeError(error)) {\n\t\t\tawait options.controller.errorWith(error);\n\t\t\treturn true;\n\t\t}\n\t\tif (error instanceof Response) return await handleResponse(error);\n\t\treturn false;\n\t};\n\tconst requestAbortPromise = new DeferredPromise();\n\t/**\n\t* @note `signal` is not always defined in React Native.\n\t*/\n\tif (options.request.signal) {\n\t\tif (options.request.signal.aborted) {\n\t\t\tawait options.controller.errorWith(options.request.signal.reason);\n\t\t\treturn;\n\t\t}\n\t\toptions.request.signal.addEventListener(\"abort\", () => {\n\t\t\trequestAbortPromise.reject(options.request.signal.reason);\n\t\t}, { once: true });\n\t}\n\tconst result = await until(async () => {\n\t\tconst requestListenersPromise = emitAsync(options.emitter, \"request\", {\n\t\t\trequestId: options.requestId,\n\t\t\trequest: options.request,\n\t\t\tcontroller: options.controller\n\t\t});\n\t\tawait Promise.race([\n\t\t\trequestAbortPromise,\n\t\t\trequestListenersPromise,\n\t\t\toptions.controller.handled\n\t\t]);\n\t});\n\tif (requestAbortPromise.state === \"rejected\") {\n\t\tawait options.controller.errorWith(requestAbortPromise.rejectionReason);\n\t\treturn;\n\t}\n\tif (result.error) {\n\t\tif (await handleResponseError(result.error)) return;\n\t\tif (options.emitter.listenerCount(\"unhandledException\") > 0) {\n\t\t\tconst unhandledExceptionController = new RequestController(options.request, {\n\t\t\t\tpassthrough() {},\n\t\t\t\tasync respondWith(response) {\n\t\t\t\t\tawait handleResponse(response);\n\t\t\t\t},\n\t\t\t\tasync errorWith(reason) {\n\t\t\t\t\t/**\n\t\t\t\t\t* @note Handle the result of the unhandled controller\n\t\t\t\t\t* in the same way as the original request controller.\n\t\t\t\t\t* The exception here is that thrown errors within the\n\t\t\t\t\t* \"unhandledException\" event do NOT result in another\n\t\t\t\t\t* emit of the same event. They are forwarded as-is.\n\t\t\t\t\t*/\n\t\t\t\t\tawait options.controller.errorWith(reason);\n\t\t\t\t}\n\t\t\t});\n\t\t\tawait emitAsync(options.emitter, \"unhandledException\", {\n\t\t\t\terror: result.error,\n\t\t\t\trequest: options.request,\n\t\t\t\trequestId: options.requestId,\n\t\t\t\tcontroller: unhandledExceptionController\n\t\t\t});\n\t\t\tif (unhandledExceptionController.readyState !== RequestController.PENDING) return;\n\t\t}\n\t\tawait options.controller.respondWith(createServerErrorResponse(result.error));\n\t\treturn;\n\t}\n\tif (options.controller.readyState === RequestController.PENDING) return await options.controller.passthrough();\n\treturn options.controller.handled;\n}\n\n//#endregion\nexport { isPropertyAccessible as a, emitAsync as i, isResponseError as n, isObject as r, handleRequest as t };\n//# sourceMappingURL=handleRequest-Y97UwBbF.mjs.map"],"names":["isPropertyAccessible","obj","key","async","emitAsync","emitter","eventName","data","listeners","length","listener","apply","isObject","value","loose","Object","prototype","toString","call","startsWith","isResponseError","response","Response","type","handleRequest","options","handleResponse","Error","controller","errorWith","respondWith","handleResponseError","error","InterceptorError","result","isNodeLikeError","requestAbortPromise","DeferredPromise","request","signal","aborted","reason","addEventListener","reject","once","until","requestListenersPromise","requestId","Promise","race","handled","state","body","readyState","RequestController","PENDING","passthrough","listenerCount","unhandledExceptionController","JSON","stringify","name","message","stack","status","statusText","headers","rejectionReason"],"mappings":"kTAaA,SAASA,EAAqBC,EAAKC,GAClC,IAEC,OADAD,EAAIC,IACG,CACR,CAAE,MACD,OAAO,CACR,CACD,CASAC,eAAeC,EAAUC,EAASC,KAAcC,GAC/C,MAAMC,EAAYH,EAAQG,UAAUF,GACpC,GAAyB,IAArBE,EAAUC,OACd,IAAK,MAAMC,KAAYF,QAAiBE,EAASC,MAAMN,EAASE,EACjE,CAOA,SAASK,EAASC,EAAOC,GAAQ,GAChC,OAAOA,EAAQC,OAAOC,UAAUC,SAASC,KAAKL,GAAOM,WAAW,YAAwD,oBAA1CJ,OAAOC,UAAUC,SAASC,KAAKL,EAC9G,CA0BA,SAASO,EAAgBC,GACxB,OAAmB,MAAZA,GAAoBA,aAAoBC,UAAYtB,EAAqBqB,EAAU,SAA6B,UAAlBA,EAASE,IAC/G,CAoBApB,eAAeqB,EAAcC,GAC5B,MAAMC,EAAiBvB,MAAOkB,IAC7B,OAAIA,aAAoBM,aACjBF,EAAQG,WAAWC,UAAUR,IAC5B,GAEJD,EAAgBC,UACbI,EAAQG,WAAWE,YAAYT,IAC9B,GArBFT,EADgBC,EA6BHQ,GA5BG,IAASrB,EAAqBa,EAAO,WAAab,EAAqBa,EAAO,eAAiBb,EAAqBa,EAAO,mBA6B1IY,EAAQG,WAAWE,YAAYT,IAC9B,KAEJT,EAASS,WACNI,EAAQG,WAAWC,UAAUR,IAC5B,GAnCV,IAAwBR,GAuCjBkB,EAAsB5B,MAAO6B,IAClC,GAAIA,aAAiBC,EAAkB,MAAMC,EAAOF,MACpD,OAnCF,SAAyBA,GACxB,OAAa,MAATA,GACEA,aAAiBL,OAChB,SAAUK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EAAOF,MAlIhE,IAAIV,SAASqC,KAAKC,UAAUR,aAAgBzB,MAAQ,CAC1DkC,KAAMT,EAAKS,KACXC,QAASV,EAAKU,QACdC,MAAOX,EAAKW,OACTX,GAAO,CACVY,OAAQ,IACRC,WAAY,sBACZC,QAAS,CAAE,eAAgB,uBA+F5B,YAFOzC,EAAQG,WAAWC,UAAUO,EAAoB+B,gBAmCzD","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hasConfigurableGlobal-DBJA0vjm.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.
|
|
1
|
+
{"version":3,"file":"hasConfigurableGlobal-DBJA0vjm.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/node/hasConfigurableGlobal-DBJA0vjm.mjs"],"sourcesContent":["//#region src/utils/hasConfigurableGlobal.ts\n/**\n* Returns a boolean indicating whether the given global property\n* is defined and is configurable.\n*/\nfunction hasConfigurableGlobal(propertyName) {\n\tconst descriptor = Object.getOwnPropertyDescriptor(globalThis, propertyName);\n\tif (typeof descriptor === \"undefined\") return false;\n\tif (typeof descriptor.get === \"function\" && typeof descriptor.get() === \"undefined\") return false;\n\tif (typeof descriptor.get === \"undefined\" && descriptor.value == null) return false;\n\tif (typeof descriptor.set === \"undefined\" && !descriptor.configurable) {\n\t\tconsole.error(`[MSW] Failed to apply interceptor: the global \\`${propertyName}\\` property is non-configurable. This is likely an issue with your environment. If you are using a framework, please open an issue about this in their repository.`);\n\t\treturn false;\n\t}\n\treturn true;\n}\n\n//#endregion\nexport { hasConfigurableGlobal as t };\n//# sourceMappingURL=hasConfigurableGlobal-DBJA0vjm.mjs.map"],"names":["propertyName","descriptor","Object","getOwnPropertyDescriptor","globalThis","get","value","set","configurable","console","error"],"mappings":"uBAKA,SAA+BA,GAC9B,MAAMC,EAAaC,OAAOC,yBAAyBC,WAAYJ,GAC/D,YAA0B,IAAfC,KACmB,mBAAnBA,EAAWI,UAAkD,IAArBJ,EAAWI,eAChC,IAAnBJ,EAAWI,KAA2C,MAApBJ,EAAWK,gBAC1B,IAAnBL,EAAWM,MAAwBN,EAAWO,gBACxDC,QAAQC,MAAM,mDAAmDV,wKAC1D,KAGT","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hasConfigurableGlobal-DBJA0vjm.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.
|
|
1
|
+
{"version":3,"file":"hasConfigurableGlobal-DBJA0vjm.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/node/hasConfigurableGlobal-DBJA0vjm.mjs"],"sourcesContent":["//#region src/utils/hasConfigurableGlobal.ts\n/**\n* Returns a boolean indicating whether the given global property\n* is defined and is configurable.\n*/\nfunction hasConfigurableGlobal(propertyName) {\n\tconst descriptor = Object.getOwnPropertyDescriptor(globalThis, propertyName);\n\tif (typeof descriptor === \"undefined\") return false;\n\tif (typeof descriptor.get === \"function\" && typeof descriptor.get() === \"undefined\") return false;\n\tif (typeof descriptor.get === \"undefined\" && descriptor.value == null) return false;\n\tif (typeof descriptor.set === \"undefined\" && !descriptor.configurable) {\n\t\tconsole.error(`[MSW] Failed to apply interceptor: the global \\`${propertyName}\\` property is non-configurable. This is likely an issue with your environment. If you are using a framework, please open an issue about this in their repository.`);\n\t\treturn false;\n\t}\n\treturn true;\n}\n\n//#endregion\nexport { hasConfigurableGlobal as t };\n//# sourceMappingURL=hasConfigurableGlobal-DBJA0vjm.mjs.map"],"names":["hasConfigurableGlobal","propertyName","descriptor","Object","getOwnPropertyDescriptor","globalThis","get","value","set","configurable","console","error"],"mappings":"AAKA,SAASA,EAAsBC,GAC9B,MAAMC,EAAaC,OAAOC,yBAAyBC,WAAYJ,GAC/D,YAA0B,IAAfC,KACmB,mBAAnBA,EAAWI,UAAkD,IAArBJ,EAAWI,eAChC,IAAnBJ,EAAWI,KAA2C,MAApBJ,EAAWK,gBAC1B,IAAnBL,EAAWM,MAAwBN,EAAWO,gBACxDC,QAAQC,MAAM,mDAAmDV,wKAC1D,KAGT","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/node/index.mjs"],"sourcesContent":["import { t as IS_PATCHED_MODULE } from \"./glossary-glQBRnVD.mjs\";\nimport { c as InterceptorReadyState, i as RequestController, l as deleteGlobalSymbol, o as INTERNAL_REQUEST_ID_HEADER_NAME, r as createRequestId, s as Interceptor, t as FetchResponse, u as getGlobalSymbol } from \"./fetchUtils-CoU35g3M.mjs\";\nimport { t as BatchInterceptor } from \"./BatchInterceptor-DFaBPilf.mjs\";\nimport { n as encodeBuffer, t as decodeBuffer } from \"./bufferUtils-_8XfKIfX.mjs\";\nimport { t as getRawRequest } from \"./getRawRequest-DnwmXyOW.mjs\";\n\n//#region src/utils/getCleanUrl.ts\n/**\n* Removes query parameters and hashes from a given URL.\n*/\nfunction getCleanUrl(url, isAbsolute = true) {\n\treturn [isAbsolute && url.origin, url.pathname].filter(Boolean).join(\"\");\n}\n\n//#endregion\n//#region src/utils/resolveWebSocketUrl.ts\n/**\n* Resolve potentially relative WebSocket URLs the same way\n* the browser does (replace the protocol, use the origin, etc).\n*\n* @see https://websockets.spec.whatwg.org//#dom-websocket-websocket\n*/\nfunction resolveWebSocketUrl(url) {\n\tif (typeof url === \"string\") return resolveWebSocketUrl(new URL(url, typeof location !== \"undefined\" ? location.href : void 0));\n\tif (url.protocol === \"http:\") url.protocol = \"ws:\";\n\telse if (url.protocol === \"https:\") url.protocol = \"wss:\";\n\tif (url.protocol !== \"ws:\" && url.protocol !== \"wss:\")\n /**\n\t* @note These errors are modeled after the browser errors.\n\t* The exact error messages aren't provided in the specification.\n\t* Node.js uses more obscure error messages that I don't wish to replicate.\n\t*/\n\tthrow new SyntaxError(`Failed to construct 'WebSocket': The URL's scheme must be either 'http', 'https', 'ws', or 'wss'. '${url.protocol}' is not allowed.`);\n\tif (url.hash !== \"\") throw new SyntaxError(`Failed to construct 'WebSocket': The URL contains a fragment identifier ('${url.hash}'). Fragment identifiers are not allowed in WebSocket URLs.`);\n\treturn url.href;\n}\n\n//#endregion\nexport { BatchInterceptor, FetchResponse, INTERNAL_REQUEST_ID_HEADER_NAME, IS_PATCHED_MODULE, Interceptor, InterceptorReadyState, RequestController, createRequestId, decodeBuffer, deleteGlobalSymbol, encodeBuffer, getCleanUrl, getGlobalSymbol, getRawRequest, resolveWebSocketUrl };\n//# sourceMappingURL=index.mjs.map"],"names":["url","isAbsolute","origin","pathname","filter","Boolean","join"],"mappings":"iaAUA,SAAqBA,EAAKC,GAAa,GACtC,MAAO,CAACA,GAAcD,EAAIE,OAAQF,EAAIG,UAAUC,OAAOC,SAASC,KAAK,GACtE","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/node/index.mjs"],"sourcesContent":["import { t as IS_PATCHED_MODULE } from \"./glossary-glQBRnVD.mjs\";\nimport { c as InterceptorReadyState, i as RequestController, l as deleteGlobalSymbol, o as INTERNAL_REQUEST_ID_HEADER_NAME, r as createRequestId, s as Interceptor, t as FetchResponse, u as getGlobalSymbol } from \"./fetchUtils-CoU35g3M.mjs\";\nimport { t as BatchInterceptor } from \"./BatchInterceptor-DFaBPilf.mjs\";\nimport { n as encodeBuffer, t as decodeBuffer } from \"./bufferUtils-_8XfKIfX.mjs\";\nimport { t as getRawRequest } from \"./getRawRequest-DnwmXyOW.mjs\";\n\n//#region src/utils/getCleanUrl.ts\n/**\n* Removes query parameters and hashes from a given URL.\n*/\nfunction getCleanUrl(url, isAbsolute = true) {\n\treturn [isAbsolute && url.origin, url.pathname].filter(Boolean).join(\"\");\n}\n\n//#endregion\n//#region src/utils/resolveWebSocketUrl.ts\n/**\n* Resolve potentially relative WebSocket URLs the same way\n* the browser does (replace the protocol, use the origin, etc).\n*\n* @see https://websockets.spec.whatwg.org//#dom-websocket-websocket\n*/\nfunction resolveWebSocketUrl(url) {\n\tif (typeof url === \"string\") return resolveWebSocketUrl(new URL(url, typeof location !== \"undefined\" ? location.href : void 0));\n\tif (url.protocol === \"http:\") url.protocol = \"ws:\";\n\telse if (url.protocol === \"https:\") url.protocol = \"wss:\";\n\tif (url.protocol !== \"ws:\" && url.protocol !== \"wss:\")\n /**\n\t* @note These errors are modeled after the browser errors.\n\t* The exact error messages aren't provided in the specification.\n\t* Node.js uses more obscure error messages that I don't wish to replicate.\n\t*/\n\tthrow new SyntaxError(`Failed to construct 'WebSocket': The URL's scheme must be either 'http', 'https', 'ws', or 'wss'. '${url.protocol}' is not allowed.`);\n\tif (url.hash !== \"\") throw new SyntaxError(`Failed to construct 'WebSocket': The URL contains a fragment identifier ('${url.hash}'). Fragment identifiers are not allowed in WebSocket URLs.`);\n\treturn url.href;\n}\n\n//#endregion\nexport { BatchInterceptor, FetchResponse, INTERNAL_REQUEST_ID_HEADER_NAME, IS_PATCHED_MODULE, Interceptor, InterceptorReadyState, RequestController, createRequestId, decodeBuffer, deleteGlobalSymbol, encodeBuffer, getCleanUrl, getGlobalSymbol, getRawRequest, resolveWebSocketUrl };\n//# sourceMappingURL=index.mjs.map"],"names":["getCleanUrl","url","isAbsolute","origin","pathname","filter","Boolean","join"],"mappings":"8SAUA,SAASA,EAAYC,EAAKC,GAAa,GACtC,MAAO,CAACA,GAAcD,EAAIE,OAAQF,EAAIG,UAAUC,OAAOC,SAASC,KAAK,GACtE","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-DwCc6iuP.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.
|
|
1
|
+
{"version":3,"file":"node-DwCc6iuP.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/node/node-DwCc6iuP.mjs"],"sourcesContent":["import { t as getRawRequest } from \"./getRawRequest-DnwmXyOW.mjs\";\nimport { invariant } from \"outvariant\";\nimport { ClientRequest } from \"node:http\";\nimport { Readable } from \"node:stream\";\n\n//#region src/utils/node/index.ts\nconst kRawRequestBodyStream = Symbol(\"kRawRequestBodyStream\");\n/**\n* Returns the request body stream of the given request.\n* @note This is only relevant in the context of `http.ClientRequest`.\n* This function will throw if the given `request` wasn't created based on\n* the `http.ClientRequest` instance.\n* You must rely on the web stream consumers for other request clients.\n*/\nfunction getClientRequestBodyStream(request) {\n\tinvariant(getRawRequest(request) instanceof ClientRequest, `Failed to retrieve raw request body stream: request is not an instance of \"http.ClientRequest\". Note that you can only use the \"getClientRequestBodyStream\" function with the requests issued by \"http.clientRequest\".`);\n\tconst requestBodyStream = Reflect.get(request, kRawRequestBodyStream);\n\tinvariant(requestBodyStream instanceof Readable, \"Failed to retrieve raw request body stream: corrupted stream (%s)\", typeof requestBodyStream);\n\treturn requestBodyStream;\n}\nfunction setRawRequestBodyStream(request, stream) {\n\tReflect.set(request, kRawRequestBodyStream, stream);\n}\n\n//#endregion\nexport { setRawRequestBodyStream as n, getClientRequestBodyStream as t };\n//# sourceMappingURL=node-DwCc6iuP.mjs.map"],"names":["kRawRequestBodyStream","Symbol","request","stream","Reflect","set"],"mappings":"gJAMA,MAAMA,EAAwBC,OAAO,mCAcrC,SAAiCC,EAASC,GACzCC,QAAQC,IAAIH,EAASF,EAAuBG,EAC7C","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"node-DwCc6iuP.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.
|
|
1
|
+
{"version":3,"file":"node-DwCc6iuP.js","sources":["../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/node/node-DwCc6iuP.mjs"],"sourcesContent":["import { t as getRawRequest } from \"./getRawRequest-DnwmXyOW.mjs\";\nimport { invariant } from \"outvariant\";\nimport { ClientRequest } from \"node:http\";\nimport { Readable } from \"node:stream\";\n\n//#region src/utils/node/index.ts\nconst kRawRequestBodyStream = Symbol(\"kRawRequestBodyStream\");\n/**\n* Returns the request body stream of the given request.\n* @note This is only relevant in the context of `http.ClientRequest`.\n* This function will throw if the given `request` wasn't created based on\n* the `http.ClientRequest` instance.\n* You must rely on the web stream consumers for other request clients.\n*/\nfunction getClientRequestBodyStream(request) {\n\tinvariant(getRawRequest(request) instanceof ClientRequest, `Failed to retrieve raw request body stream: request is not an instance of \"http.ClientRequest\". Note that you can only use the \"getClientRequestBodyStream\" function with the requests issued by \"http.clientRequest\".`);\n\tconst requestBodyStream = Reflect.get(request, kRawRequestBodyStream);\n\tinvariant(requestBodyStream instanceof Readable, \"Failed to retrieve raw request body stream: corrupted stream (%s)\", typeof requestBodyStream);\n\treturn requestBodyStream;\n}\nfunction setRawRequestBodyStream(request, stream) {\n\tReflect.set(request, kRawRequestBodyStream, stream);\n}\n\n//#endregion\nexport { setRawRequestBodyStream as n, getClientRequestBodyStream as t };\n//# sourceMappingURL=node-DwCc6iuP.mjs.map"],"names":["kRawRequestBodyStream","Symbol","setRawRequestBodyStream","request","stream","Reflect","set"],"mappings":"sHAMA,MAAMA,EAAwBC,OAAO,yBAcrC,SAASC,EAAwBC,EAASC,GACzCC,QAAQC,IAAIH,EAASH,EAAuBI,EAC7C","x_google_ignoreList":[0]}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { FetchResponse } from '../../../../../@mswjs_interceptors@0.41.
|
|
1
|
+
import { FetchResponse } from '../../../../../@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/node/index.d.js';
|
|
2
2
|
import { Iterable, AsyncIterable } from './utils/internal/isIterable.d.js';
|
|
3
3
|
import { MaybePromise, NoInfer } from './typeUtils.d.js';
|
|
4
4
|
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use strict";var e=require("../../../../../@mswjs_interceptors@0.41.
|
|
1
|
+
"use strict";var e=require("../../../../../@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/node/fetchUtils-CoU35g3M.cjs.js");require("../../../../../@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/node/bufferUtils-_8XfKIfX.cjs.js");var t=require("./utils/HttpResponse/decorators.cjs.js");const s=Symbol("bodyType");class n extends e.t{[s]=null;constructor(e,s){const n=t.normalizeResponseInit(s);super(e,n),t.decorateResponse(this,n)}static error(){return super.error()}static text(e,s){const r=t.normalizeResponseInit(s);return r.headers.has("Content-Type")||r.headers.set("Content-Type","text/plain"),r.headers.has("Content-Length")||r.headers.set("Content-Length",e?new Blob([e]).size.toString():"0"),new n(e,r)}static json(e,s){const r=t.normalizeResponseInit(s);r.headers.has("Content-Type")||r.headers.set("Content-Type","application/json");const o=JSON.stringify(e);return r.headers.has("Content-Length")||r.headers.set("Content-Length",o?new Blob([o]).size.toString():"0"),new n(o,r)}static xml(e,s){const r=t.normalizeResponseInit(s);return r.headers.has("Content-Type")||r.headers.set("Content-Type","text/xml"),new n(e,r)}static html(e,s){const r=t.normalizeResponseInit(s);return r.headers.has("Content-Type")||r.headers.set("Content-Type","text/html"),new n(e,r)}static arrayBuffer(e,s){const r=t.normalizeResponseInit(s);return r.headers.has("Content-Type")||r.headers.set("Content-Type","application/octet-stream"),e&&!r.headers.has("Content-Length")&&r.headers.set("Content-Length",e.byteLength.toString()),new n(e,r)}static formData(e,s){return new n(e,t.normalizeResponseInit(s))}}exports.HttpResponse=n,exports.bodyType=s;
|
|
2
2
|
//# sourceMappingURL=HttpResponse.cjs.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpResponse.cjs.js","sources":["../../../../../../../../../../node_modules/.pnpm/msw@2.12.
|
|
1
|
+
{"version":3,"file":"HttpResponse.cjs.js","sources":["../../../../../../../../../../node_modules/.pnpm/msw@2.12.9_@types+node@20.19.33_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\");\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 if (!responseInit.headers.has(\"Content-Type\")) {\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 return new HttpResponse(body, responseInit);\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 if (!responseInit.headers.has(\"Content-Type\")) {\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 return new HttpResponse(responseText, responseInit);\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 if (!responseInit.headers.has(\"Content-Type\")) {\n responseInit.headers.set(\"Content-Type\", \"text/xml\");\n }\n return new HttpResponse(body, responseInit);\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 if (!responseInit.headers.has(\"Content-Type\")) {\n responseInit.headers.set(\"Content-Type\", \"text/html\");\n }\n return new HttpResponse(body, responseInit);\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 if (!responseInit.headers.has(\"Content-Type\")) {\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 return new HttpResponse(body, responseInit);\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};\n//# sourceMappingURL=HttpResponse.mjs.map"],"names":["bodyType","Symbol","HttpResponse","FetchResponse","constructor","body","init","responseInit","normalizeResponseInit","super","decorateResponse","this","error","text","headers","has","set","Blob","size","toString","json","responseText","JSON","stringify","xml","html","arrayBuffer","byteLength","formData"],"mappings":"gUAKK,MAACA,EAAWC,OAAO,YACxB,MAAMC,UAAqBC,EAAAA,EACzBH,CAACA,GAAY,KACb,WAAAI,CAAYC,EAAMC,GAChB,MAAMC,E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AQC,IAAI,mBACpCR,EAAaO,QAAQE,IAAI,iBAAkBX,EAAKsB,WAAWR,YAEtD,IAAIjB,EAAaG,EAAME,EAChC,CASA,eAAOqB,CAASvB,EAAMC,GACpB,OAAO,IAAIJ,EAAaG,EAAMG,EAAAA,sBAAsBF,GACtD","x_google_ignoreList":[0]}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as e}from"../../../../../@mswjs_interceptors@0.41.
|
|
1
|
+
import{t as e}from"../../../../../@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/node/fetchUtils-CoU35g3M.js";import"../../../../../@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/node/bufferUtils-_8XfKIfX.js";import{normalizeResponseInit as t,decorateResponse as s}from"./utils/HttpResponse/decorators.js";const n=Symbol("bodyType");class r extends e{[n]=null;constructor(e,n){const r=t(n);super(e,r),s(this,r)}static error(){return super.error()}static text(e,s){const n=t(s);return n.headers.has("Content-Type")||n.headers.set("Content-Type","text/plain"),n.headers.has("Content-Length")||n.headers.set("Content-Length",e?new Blob([e]).size.toString():"0"),new r(e,n)}static json(e,s){const n=t(s);n.headers.has("Content-Type")||n.headers.set("Content-Type","application/json");const o=JSON.stringify(e);return n.headers.has("Content-Length")||n.headers.set("Content-Length",o?new Blob([o]).size.toString():"0"),new r(o,n)}static xml(e,s){const n=t(s);return n.headers.has("Content-Type")||n.headers.set("Content-Type","text/xml"),new r(e,n)}static html(e,s){const n=t(s);return n.headers.has("Content-Type")||n.headers.set("Content-Type","text/html"),new r(e,n)}static arrayBuffer(e,s){const n=t(s);return n.headers.has("Content-Type")||n.headers.set("Content-Type","application/octet-stream"),e&&!n.headers.has("Content-Length")&&n.headers.set("Content-Length",e.byteLength.toString()),new r(e,n)}static formData(e,s){return new r(e,t(s))}}export{r as HttpResponse,n as bodyType};
|
|
2
2
|
//# sourceMappingURL=HttpResponse.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpResponse.js","sources":["../../../../../../../../../../node_modules/.pnpm/msw@2.12.
|
|
1
|
+
{"version":3,"file":"HttpResponse.js","sources":["../../../../../../../../../../node_modules/.pnpm/msw@2.12.9_@types+node@20.19.33_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\");\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 if (!responseInit.headers.has(\"Content-Type\")) {\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 return new HttpResponse(body, responseInit);\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 if (!responseInit.headers.has(\"Content-Type\")) {\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 return new HttpResponse(responseText, responseInit);\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 if (!responseInit.headers.has(\"Content-Type\")) {\n responseInit.headers.set(\"Content-Type\", \"text/xml\");\n }\n return new HttpResponse(body, responseInit);\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 if (!responseInit.headers.has(\"Content-Type\")) {\n responseInit.headers.set(\"Content-Type\", \"text/html\");\n }\n return new HttpResponse(body, responseInit);\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 if (!responseInit.headers.has(\"Content-Type\")) {\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 return new HttpResponse(body, responseInit);\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};\n//# sourceMappingURL=HttpResponse.mjs.map"],"names":["bodyType","Symbol","HttpResponse","FetchResponse","constructor","body","init","responseInit","normalizeResponseInit","super","decorateResponse","this","error","text","headers","has","set","Blob","size","toString","json","responseText","JSON","stringify","xml","html","arrayBuffer","byteLength","formData"],"mappings":"oVAKK,MAACA,EAAWC,OAAO,YACxB,MAAMC,UAAqBC,EACzBH,CAACA,GAAY,KACb,WAAAI,CAAYC,EAAMC,GAChB,MAAMC,EAAeC,E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AEtD,IAAIjB,EAAaG,EAAME,EAChC,CASA,eAAOqB,CAASvB,EAAMC,GACpB,OAAO,IAAIJ,EAAaG,EAAMG,EAAsBF,GACtD","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SetupApi.cjs.js","sources":["../../../../../../../../../../node_modules/.pnpm/msw@2.12.
|
|
1
|
+
{"version":3,"file":"SetupApi.cjs.js","sources":["../../../../../../../../../../node_modules/.pnpm/msw@2.12.9_@types+node@20.19.33_typescript@5.4.5/node_modules/msw/lib/core/SetupApi.mjs"],"sourcesContent":["import { invariant } from \"outvariant\";\nimport { Emitter } from \"strict-event-emitter\";\nimport { devUtils } from './utils/internal/devUtils.mjs';\nimport { pipeEvents } from './utils/internal/pipeEvents.mjs';\nimport { toReadonlyArray } from './utils/internal/toReadonlyArray.mjs';\nimport { Disposable } from './utils/internal/Disposable.mjs';\nclass HandlersController {\n}\nclass InMemoryHandlersController {\n constructor(initialHandlers) {\n this.initialHandlers = initialHandlers;\n this.handlers = [...initialHandlers];\n }\n handlers;\n prepend(runtimeHandles) {\n this.handlers.unshift(...runtimeHandles);\n }\n reset(nextHandlers) {\n this.handlers = nextHandlers.length > 0 ? [...nextHandlers] : [...this.initialHandlers];\n }\n currentHandlers() {\n return this.handlers;\n }\n}\nclass SetupApi extends Disposable {\n handlersController;\n emitter;\n publicEmitter;\n events;\n constructor(...initialHandlers) {\n super();\n invariant(\n this.validateHandlers(initialHandlers),\n devUtils.formatMessage(\n `Failed to apply given request handlers: invalid input. Did you forget to spread the request handlers Array?`\n )\n );\n this.handlersController = new InMemoryHandlersController(initialHandlers);\n this.emitter = new Emitter();\n this.publicEmitter = new Emitter();\n pipeEvents(this.emitter, this.publicEmitter);\n this.events = this.createLifeCycleEvents();\n this.subscriptions.push(() => {\n this.emitter.removeAllListeners();\n this.publicEmitter.removeAllListeners();\n });\n }\n validateHandlers(handlers) {\n return handlers.every((handler) => !Array.isArray(handler));\n }\n use(...runtimeHandlers) {\n invariant(\n this.validateHandlers(runtimeHandlers),\n devUtils.formatMessage(\n `Failed to call \"use()\" with the given request handlers: invalid input. Did you forget to spread the array of request handlers?`\n )\n );\n this.handlersController.prepend(runtimeHandlers);\n }\n restoreHandlers() {\n this.handlersController.currentHandlers().forEach((handler) => {\n if (\"isUsed\" in handler) {\n handler.isUsed = false;\n }\n });\n }\n resetHandlers(...nextHandlers) {\n this.handlersController.reset(nextHandlers);\n }\n listHandlers() {\n return toReadonlyArray(this.handlersController.currentHandlers());\n }\n createLifeCycleEvents() {\n return {\n on: (...args) => {\n return this.publicEmitter.on(...args);\n },\n removeListener: (...args) => {\n return this.publicEmitter.removeListener(...args);\n },\n removeAllListeners: (...args) => {\n return this.publicEmitter.removeAllListeners(...args);\n }\n };\n }\n}\nexport {\n HandlersController,\n InMemoryHandlersController,\n SetupApi\n};\n//# sourceMappingURL=SetupApi.mjs.map"],"names":["InMemoryHandlersController","constructor","initialHandlers","this","handlers","prepend","runtimeHandles","unshift","reset","nextHandlers","length","currentHandlers","SetupApi","Disposable","handlersController","emitter","publicEmitter","events","super","invariant","validateHandlers","devUtils","formatMessage","Emitter","pipeEvents","createLifeCycleEvents","subscriptions","push","removeAllListeners","every","handler","Array","isArray","use","runtimeHandlers","restoreHandlers","forEach","isUsed","resetHandlers","listHandlers","toReadonlyArray","on","args","removeListener"],"mappings":"oZAQA,MAAMA,EACJ,WAAAC,CAAYC,GACVC,KAAKD,gBAAkBA,EACvBC,KAAKC,SAAW,IAAIF,EACtB,CACAE,SACA,OAAAC,CAAQC,GACNH,KAAKC,SAASG,WAAWD,EAC3B,CACA,KAAAE,CAAMC,GACJN,KAAKC,SAAWK,EAAaC,OAAS,EAAI,IAAID,GAAgB,IAAIN,KAAKD,gBACzE,CACA,eAAAS,GACE,OAAOR,KAAKC,QACd,EAEF,MAAMQ,UAAiBC,EAAAA,WACrBC,mBACAC,QACAC,cACAC,OACA,WAAAhB,IAAeC,GACbgB,QACAC,EAAAA,UACEhB,KAAKiB,iBAAiBlB,GACtBmB,EAAAA,SAASC,cACP,gHAGJnB,KAAKW,mBAAqB,IAAId,EAA2BE,GACzDC,KAAKY,QAAU,IAAIQ,UACnBpB,KAAKa,cAAgB,IAAIO,UACzBC,EAAAA,WAAWrB,KAAKY,QAASZ,KAAKa,eAC9Bb,KAAKc,OAASd,KAAKsB,wBACnBtB,KAAKuB,cAAcC,MAAK,KACtBxB,KAAKY,QAAQa,qBACbzB,KAAKa,cAAcY,uBAEvB,CACA,gBAAAR,CAAiBhB,GACf,OAAOA,EAASyB,OAAOC,IAAaC,MAAMC,QAAQF,IACpD,CACA,GAAAG,IAAOC,GACLf,EAAAA,UACEhB,KAAKiB,iBAAiBc,GACtBb,EAAAA,SAASC,cACP,mIAGJnB,KAAKW,mBAAmBT,QAAQ6B,EAClC,CACA,eAAAC,GACEhC,KAAKW,mBAAmBH,kBAAkByB,SAASN,IAC7C,WAAYA,IACdA,EAAQO,QAAS,KAGvB,CACA,aAAAC,IAAiB7B,GACfN,KAAKW,mBAAmBN,MAAMC,EAChC,CACA,YAAA8B,GACE,OAAOC,kBAAgBrC,KAAKW,mBAAmBH,kBACjD,CACA,qBAAAc,GACE,MAAO,CACLgB,GAAI,IAAIC,IACCvC,KAAKa,cAAcyB,MAAMC,GAElCC,eAAgB,IAAID,IACXvC,KAAKa,cAAc2B,kBAAkBD,GAE9Cd,mBAAoB,IAAIc,IACfvC,KAAKa,cAAcY,sBAAsBc,GAGtD","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SetupApi.js","sources":["../../../../../../../../../../node_modules/.pnpm/msw@2.12.
|
|
1
|
+
{"version":3,"file":"SetupApi.js","sources":["../../../../../../../../../../node_modules/.pnpm/msw@2.12.9_@types+node@20.19.33_typescript@5.4.5/node_modules/msw/lib/core/SetupApi.mjs"],"sourcesContent":["import { invariant } from \"outvariant\";\nimport { Emitter } from \"strict-event-emitter\";\nimport { devUtils } from './utils/internal/devUtils.mjs';\nimport { pipeEvents } from './utils/internal/pipeEvents.mjs';\nimport { toReadonlyArray } from './utils/internal/toReadonlyArray.mjs';\nimport { Disposable } from './utils/internal/Disposable.mjs';\nclass HandlersController {\n}\nclass InMemoryHandlersController {\n constructor(initialHandlers) {\n this.initialHandlers = initialHandlers;\n this.handlers = [...initialHandlers];\n }\n handlers;\n prepend(runtimeHandles) {\n this.handlers.unshift(...runtimeHandles);\n }\n reset(nextHandlers) {\n this.handlers = nextHandlers.length > 0 ? [...nextHandlers] : [...this.initialHandlers];\n }\n currentHandlers() {\n return this.handlers;\n }\n}\nclass SetupApi extends Disposable {\n handlersController;\n emitter;\n publicEmitter;\n events;\n constructor(...initialHandlers) {\n super();\n invariant(\n this.validateHandlers(initialHandlers),\n devUtils.formatMessage(\n `Failed to apply given request handlers: invalid input. Did you forget to spread the request handlers Array?`\n )\n );\n this.handlersController = new InMemoryHandlersController(initialHandlers);\n this.emitter = new Emitter();\n this.publicEmitter = new Emitter();\n pipeEvents(this.emitter, this.publicEmitter);\n this.events = this.createLifeCycleEvents();\n this.subscriptions.push(() => {\n this.emitter.removeAllListeners();\n this.publicEmitter.removeAllListeners();\n });\n }\n validateHandlers(handlers) {\n return handlers.every((handler) => !Array.isArray(handler));\n }\n use(...runtimeHandlers) {\n invariant(\n this.validateHandlers(runtimeHandlers),\n devUtils.formatMessage(\n `Failed to call \"use()\" with the given request handlers: invalid input. Did you forget to spread the array of request handlers?`\n )\n );\n this.handlersController.prepend(runtimeHandlers);\n }\n restoreHandlers() {\n this.handlersController.currentHandlers().forEach((handler) => {\n if (\"isUsed\" in handler) {\n handler.isUsed = false;\n }\n });\n }\n resetHandlers(...nextHandlers) {\n this.handlersController.reset(nextHandlers);\n }\n listHandlers() {\n return toReadonlyArray(this.handlersController.currentHandlers());\n }\n createLifeCycleEvents() {\n return {\n on: (...args) => {\n return this.publicEmitter.on(...args);\n },\n removeListener: (...args) => {\n return this.publicEmitter.removeListener(...args);\n },\n removeAllListeners: (...args) => {\n return this.publicEmitter.removeAllListeners(...args);\n }\n };\n }\n}\nexport {\n HandlersController,\n InMemoryHandlersController,\n SetupApi\n};\n//# sourceMappingURL=SetupApi.mjs.map"],"names":["InMemoryHandlersController","constructor","initialHandlers","this","handlers","prepend","runtimeHandles","unshift","reset","nextHandlers","length","currentHandlers","SetupApi","Disposable","handlersController","emitter","publicEmitter","events","super","invariant","validateHandlers","devUtils","formatMessage","Emitter","pipeEvents","createLifeCycleEvents","subscriptions","push","removeAllListeners","every","handler","Array","isArray","use","runtimeHandlers","restoreHandlers","forEach","isUsed","resetHandlers","listHandlers","toReadonlyArray","on","args","removeListener"],"mappings":"0cAQA,MAAMA,EACJ,WAAAC,CAAYC,GACVC,KAAKD,gBAAkBA,EACvBC,KAAKC,SAAW,IAAIF,EACtB,CACAE,SACA,OAAAC,CAAQC,GACNH,KAAKC,SAASG,WAAWD,EAC3B,CACA,KAAAE,CAAMC,GACJN,KAAKC,SAAWK,EAAaC,OAAS,EAAI,IAAID,GAAgB,IAAIN,KAAKD,gBACzE,CACA,eAAAS,GACE,OAAOR,KAAKC,QACd,EAEF,MAAMQ,UAAiBC,EACrBC,mBACAC,QACAC,cACAC,OACA,WAAAhB,IAAeC,GACbgB,QACAC,EACEhB,KAAKiB,iBAAiBlB,GACtBmB,EAASC,cACP,gHAGJnB,KAAKW,mBAAqB,IAAId,EAA2BE,GACzDC,KAAKY,QAAU,IAAIQ,EACnBpB,KAAKa,cAAgB,IAAIO,EACzBC,EAAWrB,KAAKY,QAASZ,KAAKa,eAC9Bb,KAAKc,OAASd,KAAKsB,wBACnBtB,KAAKuB,cAAcC,MAAK,KACtBxB,KAAKY,QAAQa,qBACbzB,KAAKa,cAAcY,uBAEvB,CACA,gBAAAR,CAAiBhB,GACf,OAAOA,EAASyB,OAAOC,IAAaC,MAAMC,QAAQF,IACpD,CACA,GAAAG,IAAOC,GACLf,EACEhB,KAAKiB,iBAAiBc,GACtBb,EAASC,cACP,mIAGJnB,KAAKW,mBAAmBT,QAAQ6B,EAClC,CACA,eAAAC,GACEhC,KAAKW,mBAAmBH,kBAAkByB,SAASN,IAC7C,WAAYA,IACdA,EAAQO,QAAS,KAGvB,CACA,aAAAC,IAAiB7B,GACfN,KAAKW,mBAAmBN,MAAMC,EAChC,CACA,YAAA8B,GACE,OAAOC,EAAgBrC,KAAKW,mBAAmBH,kBACjD,CACA,qBAAAc,GACE,MAAO,CACLgB,GAAI,IAAIC,IACCvC,KAAKa,cAAcyB,MAAMC,GAElCC,eAAgB,IAAID,IACXvC,KAAKa,cAAc2B,kBAAkBD,GAE9Cd,mBAAoB,IAAIc,IACfvC,KAAKa,cAAcY,sBAAsBc,GAGtD","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpHandler.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.12.
|
|
1
|
+
{"version":3,"file":"HttpHandler.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.12.9_@types+node@20.19.33_typescript@5.4.5/node_modules/msw/lib/core/handlers/HttpHandler.mjs"],"sourcesContent":["import { devUtils } from '../utils/internal/devUtils.mjs';\nimport { isStringEqual } from '../utils/internal/isStringEqual.mjs';\nimport { getStatusCodeColor } from '../utils/logging/getStatusCodeColor.mjs';\nimport { getTimestamp } from '../utils/logging/getTimestamp.mjs';\nimport { serializeRequest } from '../utils/logging/serializeRequest.mjs';\nimport { serializeResponse } from '../utils/logging/serializeResponse.mjs';\nimport {\n matchRequestUrl\n} from '../utils/matching/matchRequestUrl.mjs';\nimport { toPublicUrl } from '../utils/request/toPublicUrl.mjs';\nimport { getAllRequestCookies } from '../utils/request/getRequestCookies.mjs';\nimport { cleanUrl } from '../utils/url/cleanUrl.mjs';\nimport {\n RequestHandler\n} from './RequestHandler.mjs';\nvar HttpMethods = /* @__PURE__ */ ((HttpMethods2) => {\n HttpMethods2[\"HEAD\"] = \"HEAD\";\n HttpMethods2[\"GET\"] = \"GET\";\n HttpMethods2[\"POST\"] = \"POST\";\n HttpMethods2[\"PUT\"] = \"PUT\";\n HttpMethods2[\"PATCH\"] = \"PATCH\";\n HttpMethods2[\"OPTIONS\"] = \"OPTIONS\";\n HttpMethods2[\"DELETE\"] = \"DELETE\";\n return HttpMethods2;\n})(HttpMethods || {});\nclass HttpHandler extends RequestHandler {\n constructor(method, predicate, resolver, options) {\n const displayPath = typeof predicate === \"function\" ? \"[custom predicate]\" : predicate;\n super({\n info: {\n header: `${method}${displayPath ? ` ${displayPath}` : \"\"}`,\n path: predicate,\n method\n },\n resolver,\n options\n });\n this.checkRedundantQueryParameters();\n }\n checkRedundantQueryParameters() {\n const { method, path } = this.info;\n if (!path || path instanceof RegExp || typeof path === \"function\") {\n return;\n }\n const url = cleanUrl(path);\n if (url === path) {\n return;\n }\n devUtils.warn(\n `Found a redundant usage of query parameters in the request handler URL for \"${method} ${path}\". Please match against a path instead and access query parameters using \"new URL(request.url).searchParams\" instead. Learn more: https://mswjs.io/docs/http/intercepting-requests#querysearch-parameters`\n );\n }\n async parse(args) {\n const url = new URL(args.request.url);\n const cookies = getAllRequestCookies(args.request);\n if (typeof this.info.path === \"function\") {\n const customPredicateResult = await this.info.path({\n request: args.request,\n cookies\n });\n const match2 = typeof customPredicateResult === \"boolean\" ? {\n matches: customPredicateResult,\n params: {}\n } : customPredicateResult;\n return {\n match: match2,\n cookies\n };\n }\n const match = this.info.path ? matchRequestUrl(url, this.info.path, args.resolutionContext?.baseUrl) : { matches: false, params: {} };\n return {\n match,\n cookies\n };\n }\n async predicate(args) {\n const hasMatchingMethod = this.matchMethod(args.request.method);\n const hasMatchingUrl = args.parsedResult.match.matches;\n return hasMatchingMethod && hasMatchingUrl;\n }\n matchMethod(actualMethod) {\n return this.info.method instanceof RegExp ? this.info.method.test(actualMethod) : isStringEqual(this.info.method, actualMethod);\n }\n extendResolverArgs(args) {\n return {\n params: args.parsedResult.match?.params || {},\n cookies: args.parsedResult.cookies\n };\n }\n async log(args) {\n const publicUrl = toPublicUrl(args.request.url);\n const loggedRequest = await serializeRequest(args.request);\n const loggedResponse = await serializeResponse(args.response);\n const statusColor = getStatusCodeColor(loggedResponse.status);\n console.groupCollapsed(\n devUtils.formatMessage(\n `${getTimestamp()} ${args.request.method} ${publicUrl} (%c${loggedResponse.status} ${loggedResponse.statusText}%c)`\n ),\n `color:${statusColor}`,\n \"color:inherit\"\n );\n console.log(\"Request\", loggedRequest);\n console.log(\"Handler:\", this);\n console.log(\"Response\", loggedResponse);\n console.groupEnd();\n }\n}\nexport {\n HttpHandler,\n HttpMethods\n};\n//# sourceMappingURL=HttpHandler.mjs.map"],"names":["HttpMethods","HttpMethods2","HttpHandler","RequestHandler","constructor","method","predicate","resolver","options","displayPath","super","info","header","path","this","checkRedundantQueryParameters","RegExp","cleanUrl","devUtils","warn","parse","args","url","URL","request","cookies","getAllRequestCookies","customPredicateResult","match","matches","params","matchRequestUrl","resolutionContext","baseUrl","hasMatchingMethod","matchMethod","hasMatchingUrl","parsedResult","actualMethod","test","isStringEqual","extendResolverArgs","log","publicUrl","toPublicUrl","loggedRequest","serializeRequest","loggedResponse","serializeResponse","response","statusColor","getStatusCodeColor","status","console","groupCollapsed","formatMessage","getTimestamp","statusText","groupEnd"],"mappings":"wjBAeIA,EAA8B,CAAEC,IAClCA,EAAmB,KAAI,OACvBA,EAAkB,IAAI,MACtBA,EAAmB,KAAI,OACvBA,EAAkB,IAAI,MACtBA,EAAoB,MAAI,QACxBA,EAAsB,QAAI,UAC1BA,EAAqB,OAAI,SAClBA,GARyB,CAS/BD,GAAe,CAAA,GAClB,MAAME,UAAoBC,EAAAA,eACxB,WAAAC,CAAYC,EAAQC,EAAWC,EAAUC,GACvC,MAAMC,EAAmC,mBAAdH,EAA2B,qBAAuBA,EAC7EI,MAAM,CACJC,KAAM,CACJC,OAAQ,GAAGP,IAASI,EAAc,IAAIA,IAAgB,KACtDI,KAAMP,EACND,UAEFE,WACAC,YAEFM,KAAKC,+BACP,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AAcC,EAAAA,mBAAmBJ,EAAeK,QACtDC,QAAQC,eACNpC,EAAAA,SAASqC,cACP,GAAGC,EAAAA,kBAAkBnC,EAAKG,QAAQnB,UAAUsC,QAAgBI,EAAeK,UAAUL,EAAeU,iBAEtG,SAASP,IACT,iBAEFG,QAAQX,IAAI,UAAWG,GACvBQ,QAAQX,IAAI,WAAY5B,MACxBuC,QAAQX,IAAI,WAAYK,GACxBM,QAAQK,UACV","x_google_ignoreList":[0]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HttpHandler.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.12.
|
|
1
|
+
{"version":3,"file":"HttpHandler.js","sources":["../../../../../../../../../../../node_modules/.pnpm/msw@2.12.9_@types+node@20.19.33_typescript@5.4.5/node_modules/msw/lib/core/handlers/HttpHandler.mjs"],"sourcesContent":["import { devUtils } from '../utils/internal/devUtils.mjs';\nimport { isStringEqual } from '../utils/internal/isStringEqual.mjs';\nimport { getStatusCodeColor } from '../utils/logging/getStatusCodeColor.mjs';\nimport { getTimestamp } from '../utils/logging/getTimestamp.mjs';\nimport { serializeRequest } from '../utils/logging/serializeRequest.mjs';\nimport { serializeResponse } from '../utils/logging/serializeResponse.mjs';\nimport {\n matchRequestUrl\n} from '../utils/matching/matchRequestUrl.mjs';\nimport { toPublicUrl } from '../utils/request/toPublicUrl.mjs';\nimport { getAllRequestCookies } from '../utils/request/getRequestCookies.mjs';\nimport { cleanUrl } from '../utils/url/cleanUrl.mjs';\nimport {\n RequestHandler\n} from './RequestHandler.mjs';\nvar HttpMethods = /* @__PURE__ */ ((HttpMethods2) => {\n HttpMethods2[\"HEAD\"] = \"HEAD\";\n HttpMethods2[\"GET\"] = \"GET\";\n HttpMethods2[\"POST\"] = \"POST\";\n HttpMethods2[\"PUT\"] = \"PUT\";\n HttpMethods2[\"PATCH\"] = \"PATCH\";\n HttpMethods2[\"OPTIONS\"] = \"OPTIONS\";\n HttpMethods2[\"DELETE\"] = \"DELETE\";\n return HttpMethods2;\n})(HttpMethods || {});\nclass HttpHandler extends RequestHandler {\n constructor(method, predicate, resolver, options) {\n const displayPath = typeof predicate === \"function\" ? \"[custom predicate]\" : predicate;\n super({\n info: {\n header: `${method}${displayPath ? ` ${displayPath}` : \"\"}`,\n path: predicate,\n method\n },\n resolver,\n options\n });\n this.checkRedundantQueryParameters();\n }\n checkRedundantQueryParameters() {\n const { method, path } = this.info;\n if (!path || path instanceof RegExp || typeof path === \"function\") {\n return;\n }\n const url = cleanUrl(path);\n if (url === path) {\n return;\n }\n devUtils.warn(\n `Found a redundant usage of query parameters in the request handler URL for \"${method} ${path}\". Please match against a path instead and access query parameters using \"new URL(request.url).searchParams\" instead. Learn more: https://mswjs.io/docs/http/intercepting-requests#querysearch-parameters`\n );\n }\n async parse(args) {\n const url = new URL(args.request.url);\n const cookies = getAllRequestCookies(args.request);\n if (typeof this.info.path === \"function\") {\n const customPredicateResult = await this.info.path({\n request: args.request,\n cookies\n });\n const match2 = typeof customPredicateResult === \"boolean\" ? {\n matches: customPredicateResult,\n params: {}\n } : customPredicateResult;\n return {\n match: match2,\n cookies\n };\n }\n const match = this.info.path ? matchRequestUrl(url, this.info.path, args.resolutionContext?.baseUrl) : { matches: false, params: {} };\n return {\n match,\n cookies\n };\n }\n async predicate(args) {\n const hasMatchingMethod = this.matchMethod(args.request.method);\n const hasMatchingUrl = args.parsedResult.match.matches;\n return hasMatchingMethod && hasMatchingUrl;\n }\n matchMethod(actualMethod) {\n return this.info.method instanceof RegExp ? this.info.method.test(actualMethod) : isStringEqual(this.info.method, actualMethod);\n }\n extendResolverArgs(args) {\n return {\n params: args.parsedResult.match?.params || {},\n cookies: args.parsedResult.cookies\n };\n }\n async log(args) {\n const publicUrl = toPublicUrl(args.request.url);\n const loggedRequest = await serializeRequest(args.request);\n const loggedResponse = await serializeResponse(args.response);\n const statusColor = getStatusCodeColor(loggedResponse.status);\n console.groupCollapsed(\n devUtils.formatMessage(\n `${getTimestamp()} ${args.request.method} ${publicUrl} (%c${loggedResponse.status} ${loggedResponse.statusText}%c)`\n ),\n `color:${statusColor}`,\n \"color:inherit\"\n );\n console.log(\"Request\", loggedRequest);\n console.log(\"Handler:\", this);\n console.log(\"Response\", loggedResponse);\n console.groupEnd();\n }\n}\nexport {\n HttpHandler,\n HttpMethods\n};\n//# sourceMappingURL=HttpHandler.mjs.map"],"names":["HttpMethods","HttpMethods2","HttpHandler","RequestHandler","constructor","method","predicate","resolver","options","displayPath","super","info","header","path","this","checkRedundantQueryParameters","RegExp","cleanUrl","devUtils","warn","parse","args","url","URL","request","cookies","getAllRequestCookies","customPredicateResult","match","matches","params","matchRequestUrl","resolutionContext","baseUrl","hasMatchingMethod","matchMethod","hasMatchingUrl","parsedResult","actualMethod","test","isStringEqual","extendResolverArgs","log","publicUrl","toPublicUrl","loggedRequest","serializeRequest","loggedResponse","serializeResponse","response","statusColor","getStatusCodeColor","status","console","groupCollapsed","formatMessage","getTimestamp","statusText","groupEnd"],"mappings":"qtBAeG,IAACA,EAA8B,CAAEC,IAClCA,EAAmB,KAAI,OACvBA,EAAkB,IAAI,MACtBA,EAAmB,KAAI,OACvBA,EAAkB,IAAI,MACtBA,EAAoB,MAAI,QACxBA,EAAsB,QAAI,UAC1BA,EAAqB,OAAI,SAClBA,GARyB,CAS/BD,GAAe,CAAA,GAClB,MAAME,UAAoBC,EACxB,WAAAC,CAAYC,EAAQC,EAAWC,EAAUC,GACvC,MAAMC,EAAmC,mBAAdH,EAA2B,qBAAuBA,EAC7EI,MAAM,CACJC,KAAM,CACJC,OAAQ,GAAGP,IAASI,EAAc,IAAIA,IAAgB,KACtDI,KAAMP,EACND,UAEFE,WACAC,YAEFM,KAAKC,+BACP,CACA,6BAAAA,GACE,MAAMV,OAAEA,EAAMQ,KAAEA,GAASC,KAAKH,KAC9B,IAAKE,GAAQA,aAAgBG,QAA0B,mBAATH,EAC5C,OAEUI,EAASJ,KACTA,GAGZK,EAASC,KACP,+EAA+Ed,KAA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