@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.
Files changed (343) hide show
  1. package/dist/components/organisms/Heading/{Heading.cjs.js → index.cjs.js} +1 -1
  2. package/dist/components/organisms/Heading/index.cjs.js.map +1 -0
  3. package/dist/components/organisms/Heading/{Heading.js → index.js} +1 -1
  4. package/dist/components/organisms/Heading/index.js.map +1 -0
  5. package/dist/localization/de.json.cjs.js +1 -1
  6. package/dist/localization/de.json.js +1 -1
  7. package/dist/localization/en-US.json.cjs.js +1 -1
  8. package/dist/localization/en-US.json.js +1 -1
  9. package/dist/localization/en.json.cjs.js +1 -1
  10. package/dist/localization/en.json.d.ts +31 -1
  11. package/dist/localization/en.json.js +1 -1
  12. package/dist/localization/es-MX.json.cjs.js +1 -1
  13. package/dist/localization/es-MX.json.js +1 -1
  14. package/dist/localization/es.json.cjs.js +1 -1
  15. package/dist/localization/es.json.js +1 -1
  16. package/dist/localization/fr.json.cjs.js +1 -1
  17. package/dist/localization/fr.json.js +1 -1
  18. package/dist/localization/it.json.cjs.js +1 -1
  19. package/dist/localization/it.json.js +1 -1
  20. package/dist/localization/nl.json.cjs.js +1 -1
  21. package/dist/localization/nl.json.js +1 -1
  22. package/dist/localization/pt.json.cjs.js +1 -1
  23. package/dist/localization/pt.json.js +1 -1
  24. package/dist/mocks/msw/handlers.cjs.js +1 -1
  25. package/dist/mocks/msw/handlers.d.ts +1 -1
  26. package/dist/mocks/msw/handlers.js +1 -1
  27. package/dist/mocks/msw/server.cjs.js +1 -1
  28. package/dist/mocks/msw/server.d.ts +1 -1
  29. package/dist/mocks/msw/server.js +1 -1
  30. 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
  31. 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
  32. 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
  33. 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
  34. 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
  35. 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
  36. package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.cjs.js +2 -0
  37. package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.cjs.js.map +1 -0
  38. package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.js +2 -0
  39. package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.js.map +1 -0
  40. package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/browser/resolveWebSocketUrl-C83-x9iE.cjs.js +2 -0
  41. package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/browser/resolveWebSocketUrl-C83-x9iE.cjs.js.map +1 -0
  42. package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/browser/resolveWebSocketUrl-C83-x9iE.js +2 -0
  43. package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/browser/resolveWebSocketUrl-C83-x9iE.js.map +1 -0
  44. 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
  45. 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
  46. 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
  47. 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
  48. 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
  49. 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
  50. 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
  51. 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
  52. 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
  53. 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
  54. 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
  55. 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
  56. 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
  57. 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
  58. 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
  59. 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
  60. 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
  61. 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
  62. 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
  63. 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
  64. package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/node/index.cjs.js.map +1 -0
  65. package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.2/node_modules/@mswjs/interceptors/lib/node/index.js.map +1 -0
  66. 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
  67. 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
  68. 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
  69. 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
  70. 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
  71. 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
  72. 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
  73. 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
  74. 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
  75. 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
  76. 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
  77. 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
  78. 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
  79. 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
  80. 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
  81. 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
  82. 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
  83. 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
  84. 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
  85. 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
  86. 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
  87. 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
  88. 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
  89. 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
  90. 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
  91. 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
  92. 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
  93. 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
  94. 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
  95. 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
  96. 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
  97. 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
  98. 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
  99. 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
  100. 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
  101. 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
  102. 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
  103. 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
  104. 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
  105. 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
  106. 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
  107. 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
  108. 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
  109. 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
  110. 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
  111. 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
  112. 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
  113. 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
  114. 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
  115. 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
  116. 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
  117. 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
  118. 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
  119. 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
  120. 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
  121. 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
  122. 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
  123. 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
  124. 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
  125. 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
  126. 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
  127. 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
  128. 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
  129. 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
  130. 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
  131. 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
  132. 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
  133. 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
  134. 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
  135. 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
  136. 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
  137. 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
  138. 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
  139. 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
  140. 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
  141. 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
  142. 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
  143. 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
  144. 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
  145. 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
  146. 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
  147. 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
  148. 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
  149. 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
  150. 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
  151. 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
  152. 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
  153. 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
  154. 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
  155. 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
  156. 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
  157. 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
  158. 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
  159. 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
  160. 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
  161. 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
  162. 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
  163. 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
  164. 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
  165. 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
  166. 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
  167. 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
  168. 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
  169. 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
  170. 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
  171. 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
  172. 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
  173. 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
  174. 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
  175. package/dist/node_modules/.pnpm/{tldts@7.0.22 → tldts@7.0.23}/node_modules/tldts/dist/es6/index.cjs.js +1 -1
  176. package/dist/node_modules/.pnpm/{tldts@7.0.22 → tldts@7.0.23}/node_modules/tldts/dist/es6/index.cjs.js.map +1 -1
  177. package/dist/node_modules/.pnpm/{tldts@7.0.22 → tldts@7.0.23}/node_modules/tldts/dist/es6/index.js +1 -1
  178. package/dist/node_modules/.pnpm/{tldts@7.0.22 → tldts@7.0.23}/node_modules/tldts/dist/es6/index.js.map +1 -1
  179. package/dist/node_modules/.pnpm/tldts@7.0.23/node_modules/tldts/dist/es6/src/data/trie.cjs.js +2 -0
  180. package/dist/node_modules/.pnpm/tldts@7.0.23/node_modules/tldts/dist/es6/src/data/trie.cjs.js.map +1 -0
  181. package/dist/node_modules/.pnpm/tldts@7.0.23/node_modules/tldts/dist/es6/src/data/trie.js +2 -0
  182. package/dist/node_modules/.pnpm/tldts@7.0.23/node_modules/tldts/dist/es6/src/data/trie.js.map +1 -0
  183. 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
  184. 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
  185. package/dist/node_modules/.pnpm/{tldts@7.0.22 → tldts@7.0.23}/node_modules/tldts/dist/es6/src/suffix-trie.js +1 -1
  186. 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
  187. package/dist/node_modules/.pnpm/tough-cookie@6.0.0/node_modules/tough-cookie/dist/index.cjs.js +1 -1
  188. package/dist/node_modules/.pnpm/tough-cookie@6.0.0/node_modules/tough-cookie/dist/index.js +1 -1
  189. package/package.json +1 -1
  190. package/dist/components/organisms/Heading/Heading.cjs.js.map +0 -1
  191. package/dist/components/organisms/Heading/Heading.js.map +0 -1
  192. package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.0/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.cjs.js +0 -2
  193. package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.0/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.cjs.js.map +0 -1
  194. package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.0/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.js +0 -2
  195. package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.0/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.js.map +0 -1
  196. package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.0/node_modules/@mswjs/interceptors/lib/node/index.cjs.js.map +0 -1
  197. package/dist/node_modules/.pnpm/@mswjs_interceptors@0.41.0/node_modules/@mswjs/interceptors/lib/node/index.js.map +0 -1
  198. package/dist/node_modules/.pnpm/tldts@7.0.22/node_modules/tldts/dist/es6/src/data/trie.cjs.js +0 -2
  199. package/dist/node_modules/.pnpm/tldts@7.0.22/node_modules/tldts/dist/es6/src/data/trie.cjs.js.map +0 -1
  200. package/dist/node_modules/.pnpm/tldts@7.0.22/node_modules/tldts/dist/es6/src/data/trie.js +0 -2
  201. package/dist/node_modules/.pnpm/tldts@7.0.22/node_modules/tldts/dist/es6/src/data/trie.js.map +0 -1
  202. /package/dist/components/organisms/Heading/{Heading.d.ts → index.d.ts} +0 -0
  203. /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
  204. /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
  205. /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
  206. /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
  207. /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
  208. /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
  209. /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
  210. /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
  211. /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
  212. /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
  213. /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
  214. /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
  215. /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
  216. /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
  217. /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
  218. /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
  219. /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
  220. /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
  221. /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
  222. /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
  223. /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
  224. /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
  225. /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
  226. /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
  227. /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
  228. /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
  229. /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
  230. /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
  231. /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
  232. /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
  233. /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
  234. /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
  235. /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
  236. /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
  237. /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
  238. /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
  239. /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
  240. /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
  241. /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
  242. /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
  243. /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
  244. /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
  245. /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
  246. /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
  247. /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
  248. /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
  249. /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
  250. /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
  251. /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
  252. /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
  253. /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
  254. /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
  255. /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
  256. /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
  257. /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
  258. /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
  259. /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
  260. /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
  261. /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
  262. /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
  263. /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
  264. /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
  265. /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
  266. /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
  267. /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
  268. /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
  269. /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
  270. /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
  271. /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
  272. /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
  273. /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
  274. /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
  275. /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
  276. /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
  277. /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
  278. /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
  279. /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
  280. /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
  281. /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
  282. /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
  283. /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
  284. /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
  285. /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
  286. /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
  287. /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
  288. /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
  289. /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
  290. /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
  291. /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
  292. /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
  293. /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
  294. /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
  295. /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
  296. /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
  297. /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
  298. /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
  299. /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
  300. /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
  301. /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
  302. /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
  303. /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
  304. /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
  305. /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
  306. /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
  307. /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
  308. /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
  309. /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
  310. /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
  311. /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
  312. /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
  313. /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
  314. /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
  315. /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
  316. /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
  317. /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
  318. /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
  319. /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
  320. /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
  321. /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
  322. /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
  323. /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
  324. /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
  325. /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
  326. /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
  327. /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
  328. /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
  329. /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
  330. /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
  331. /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
  332. /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
  333. /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
  334. /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
  335. /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
  336. /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
  337. /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
  338. /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
  339. /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
  340. /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
  341. /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
  342. /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
  343. /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,2 +1,2 @@
1
- "use strict";require("../../../../../../tldts-core@7.0.22/node_modules/tldts-core/dist/es6/src/options.cjs.js");var i=require("../../../../../../tldts-core@7.0.22/node_modules/tldts-core/dist/es6/src/lookup/fast-path.cjs.js"),e=require("./data/trie.cjs.js");function s(i,e,s,n){let t=null,r=e;for(;void 0!==r&&(0!==(r[0]&n)&&(t={index:s+1,isIcann:!!(1&r[0]),isPrivate:!!(2&r[0])}),-1!==s);){const e=r[1];r=Object.prototype.hasOwnProperty.call(e,i[s])?e[i[s]]:e["*"],s-=1}return t}module.exports=function(n,t,r){var l;if(i(n,t,r))return;const o=n.split("."),c=(t.allowPrivateDomains?2:0)|(t.allowIcannDomains?1:0),a=s(o,e.exceptions,o.length-1,c);if(null!==a)return r.isIcann=a.isIcann,r.isPrivate=a.isPrivate,void(r.publicSuffix=o.slice(a.index+1).join("."));const u=s(o,e.rules,o.length-1,c);if(null!==u)return r.isIcann=u.isIcann,r.isPrivate=u.isPrivate,void(r.publicSuffix=o.slice(u.index).join("."));r.isIcann=!1,r.isPrivate=!1,r.publicSuffix=null!==(l=o[o.length-1])&&void 0!==l?l:null};
1
+ "use strict";require("../../../../../../tldts-core@7.0.23/node_modules/tldts-core/dist/es6/src/options.cjs.js");var i=require("../../../../../../tldts-core@7.0.23/node_modules/tldts-core/dist/es6/src/lookup/fast-path.cjs.js"),e=require("./data/trie.cjs.js");function s(i,e,s,n){let t=null,r=e;for(;void 0!==r&&(0!==(r[0]&n)&&(t={index:s+1,isIcann:!!(1&r[0]),isPrivate:!!(2&r[0])}),-1!==s);){const e=r[1];r=Object.prototype.hasOwnProperty.call(e,i[s])?e[i[s]]:e["*"],s-=1}return t}module.exports=function(n,t,r){var l;if(i(n,t,r))return;const o=n.split("."),c=(t.allowPrivateDomains?2:0)|(t.allowIcannDomains?1:0),a=s(o,e.exceptions,o.length-1,c);if(null!==a)return r.isIcann=a.isIcann,r.isPrivate=a.isPrivate,void(r.publicSuffix=o.slice(a.index+1).join("."));const u=s(o,e.rules,o.length-1,c);if(null!==u)return r.isIcann=u.isIcann,r.isPrivate=u.isPrivate,void(r.publicSuffix=o.slice(u.index).join("."));r.isIcann=!1,r.isPrivate=!1,r.publicSuffix=null!==(l=o[o.length-1])&&void 0!==l?l:null};
2
2
  //# sourceMappingURL=suffix-trie.cjs.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"suffix-trie.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/tldts@7.0.22/node_modules/tldts/dist/es6/src/suffix-trie.js"],"sourcesContent":["import { fastPathLookup, } from 'tldts-core';\nimport { exceptions, rules } from './data/trie';\n/**\n * Lookup parts of domain in Trie\n */\nfunction lookupInTrie(parts, trie, index, allowedMask) {\n let result = null;\n let node = trie;\n while (node !== undefined) {\n // We have a match!\n if ((node[0] & allowedMask) !== 0) {\n result = {\n index: index + 1,\n isIcann: (node[0] & 1 /* RULE_TYPE.ICANN */) !== 0,\n isPrivate: (node[0] & 2 /* RULE_TYPE.PRIVATE */) !== 0,\n };\n }\n // No more `parts` to look for\n if (index === -1) {\n break;\n }\n const succ = node[1];\n node = Object.prototype.hasOwnProperty.call(succ, parts[index])\n ? succ[parts[index]]\n : succ['*'];\n index -= 1;\n }\n return result;\n}\n/**\n * Check if `hostname` has a valid public suffix in `trie`.\n */\nexport default function suffixLookup(hostname, options, out) {\n var _a;\n if (fastPathLookup(hostname, options, out)) {\n return;\n }\n const hostnameParts = hostname.split('.');\n const allowedMask = (options.allowPrivateDomains ? 2 /* RULE_TYPE.PRIVATE */ : 0) |\n (options.allowIcannDomains ? 1 /* RULE_TYPE.ICANN */ : 0);\n // Look for exceptions\n const exceptionMatch = lookupInTrie(hostnameParts, exceptions, hostnameParts.length - 1, allowedMask);\n if (exceptionMatch !== null) {\n out.isIcann = exceptionMatch.isIcann;\n out.isPrivate = exceptionMatch.isPrivate;\n out.publicSuffix = hostnameParts.slice(exceptionMatch.index + 1).join('.');\n return;\n }\n // Look for a match in rules\n const rulesMatch = lookupInTrie(hostnameParts, rules, hostnameParts.length - 1, allowedMask);\n if (rulesMatch !== null) {\n out.isIcann = rulesMatch.isIcann;\n out.isPrivate = rulesMatch.isPrivate;\n out.publicSuffix = hostnameParts.slice(rulesMatch.index).join('.');\n return;\n }\n // No match found...\n // Prevailing rule is '*' so we consider the top-level domain to be the\n // public suffix of `hostname` (e.g.: 'example.org' => 'org').\n out.isIcann = false;\n out.isPrivate = false;\n out.publicSuffix = (_a = hostnameParts[hostnameParts.length - 1]) !== null && _a !== void 0 ? _a : null;\n}\n//# sourceMappingURL=suffix-trie.js.map"],"names":["lookupInTrie","parts","trie","index","allowedMask","result","node","undefined","isIcann","isPrivate","succ","Object","prototype","hasOwnProperty","call","hostname","options","out","_a","fastPathLookup","hostnameParts","split","allowPrivateDomains","allowIcannDomains","exceptionMatch","exceptions","length","publicSuffix","slice","join","rulesMatch","rules"],"mappings":"kQAKA,SAASA,EAAaC,EAAOC,EAAMC,EAAOC,GACtC,IAAIC,EAAS,KACTC,EAAOJ,EACX,UAAgBK,IAATD,IAE6B,KAA3BA,EAAK,GAAKF,KACXC,EAAS,CACLF,MAAOA,EAAQ,EACfK,WAAoB,EAAVF,EAAK,IACfG,aAAsB,EAAVH,EAAK,OAIX,IAAVH,IAVmB,CAavB,MAAMO,EAAOJ,EAAK,GAClBA,EAAOK,OAAOC,UAAUC,eAAeC,KAAKJ,EAAMT,EAAME,IAClDO,EAAKT,EAAME,IACXO,EAAK,KACXP,GAAS,CACb,CACA,OAAOE,CACX,gBAIe,SAAsBU,EAAUC,EAASC,GACpD,IAAIC,EACJ,GAAIC,EAAeJ,EAAUC,EAASC,GAClC,OAEJ,MAAMG,EAAgBL,EAASM,MAAM,KAC/BjB,GAAeY,EAAQM,oBAAsB,EAA4B,IAC1EN,EAAQO,kBAAoB,EAA0B,GAErDC,EAAiBxB,EAAaoB,EAAeK,EAAAA,WAAYL,EAAcM,OAAS,EAAGtB,GACzF,GAAuB,OAAnBoB,EAIA,OAHAP,EAAIT,QAAUgB,EAAehB,QAC7BS,EAAIR,UAAYe,EAAef,eAC/BQ,EAAIU,aAAeP,EAAcQ,MAAMJ,EAAerB,MAAQ,GAAG0B,KAAK,MAI1E,MAAMC,EAAa9B,EAAaoB,EAAeW,EAAAA,MAAOX,EAAcM,OAAS,EAAGtB,GAChF,GAAmB,OAAf0B,EAIA,OAHAb,EAAIT,QAAUsB,EAAWtB,QACzBS,EAAIR,UAAYqB,EAAWrB,eAC3BQ,EAAIU,aAAeP,EAAcQ,MAAME,EAAW3B,OAAO0B,KAAK,MAMlEZ,EAAIT,SAAU,EACdS,EAAIR,WAAY,EAChBQ,EAAIU,aAAkE,QAAlDT,EAAKE,EAAcA,EAAcM,OAAS,UAAuB,IAAPR,EAAgBA,EAAK,IACvG","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"suffix-trie.cjs.js","sources":["../../../../../../../../../../../node_modules/.pnpm/tldts@7.0.23/node_modules/tldts/dist/es6/src/suffix-trie.js"],"sourcesContent":["import { fastPathLookup, } from 'tldts-core';\nimport { exceptions, rules } from './data/trie';\n/**\n * Lookup parts of domain in Trie\n */\nfunction lookupInTrie(parts, trie, index, allowedMask) {\n let result = null;\n let node = trie;\n while (node !== undefined) {\n // We have a match!\n if ((node[0] & allowedMask) !== 0) {\n result = {\n index: index + 1,\n isIcann: (node[0] & 1 /* RULE_TYPE.ICANN */) !== 0,\n isPrivate: (node[0] & 2 /* RULE_TYPE.PRIVATE */) !== 0,\n };\n }\n // No more `parts` to look for\n if (index === -1) {\n break;\n }\n const succ = node[1];\n node = Object.prototype.hasOwnProperty.call(succ, parts[index])\n ? succ[parts[index]]\n : succ['*'];\n index -= 1;\n }\n return result;\n}\n/**\n * Check if `hostname` has a valid public suffix in `trie`.\n */\nexport default function suffixLookup(hostname, options, out) {\n var _a;\n if (fastPathLookup(hostname, options, out)) {\n return;\n }\n const hostnameParts = hostname.split('.');\n const allowedMask = (options.allowPrivateDomains ? 2 /* RULE_TYPE.PRIVATE */ : 0) |\n (options.allowIcannDomains ? 1 /* RULE_TYPE.ICANN */ : 0);\n // Look for exceptions\n const exceptionMatch = lookupInTrie(hostnameParts, exceptions, hostnameParts.length - 1, allowedMask);\n if (exceptionMatch !== null) {\n out.isIcann = exceptionMatch.isIcann;\n out.isPrivate = exceptionMatch.isPrivate;\n out.publicSuffix = hostnameParts.slice(exceptionMatch.index + 1).join('.');\n return;\n }\n // Look for a match in rules\n const rulesMatch = lookupInTrie(hostnameParts, rules, hostnameParts.length - 1, allowedMask);\n if (rulesMatch !== null) {\n out.isIcann = rulesMatch.isIcann;\n out.isPrivate = rulesMatch.isPrivate;\n out.publicSuffix = hostnameParts.slice(rulesMatch.index).join('.');\n return;\n }\n // No match found...\n // Prevailing rule is '*' so we consider the top-level domain to be the\n // public suffix of `hostname` (e.g.: 'example.org' => 'org').\n out.isIcann = false;\n out.isPrivate = false;\n out.publicSuffix = (_a = hostnameParts[hostnameParts.length - 1]) !== null && _a !== void 0 ? _a : null;\n}\n//# sourceMappingURL=suffix-trie.js.map"],"names":["lookupInTrie","parts","trie","index","allowedMask","result","node","undefined","isIcann","isPrivate","succ","Object","prototype","hasOwnProperty","call","hostname","options","out","_a","fastPathLookup","hostnameParts","split","allowPrivateDomains","allowIcannDomains","exceptionMatch","exceptions","length","publicSuffix","slice","join","rulesMatch","rules"],"mappings":"kQAKA,SAASA,EAAaC,EAAOC,EAAMC,EAAOC,GACtC,IAAIC,EAAS,KACTC,EAAOJ,EACX,UAAgBK,IAATD,IAE6B,KAA3BA,EAAK,GAAKF,KACXC,EAAS,CACLF,MAAOA,EAAQ,EACfK,WAAoB,EAAVF,EAAK,IACfG,aAAsB,EAAVH,EAAK,OAIX,IAAVH,IAVmB,CAavB,MAAMO,EAAOJ,EAAK,GAClBA,EAAOK,OAAOC,UAAUC,eAAeC,KAAKJ,EAAMT,EAAME,IAClDO,EAAKT,EAAME,IACXO,EAAK,KACXP,GAAS,CACb,CACA,OAAOE,CACX,gBAIe,SAAsBU,EAAUC,EAASC,GACpD,IAAIC,EACJ,GAAIC,EAAeJ,EAAUC,EAASC,GAClC,OAEJ,MAAMG,EAAgBL,EAASM,MAAM,KAC/BjB,GAAeY,EAAQM,oBAAsB,EAA4B,IAC1EN,EAAQO,kBAAoB,EAA0B,GAErDC,EAAiBxB,EAAaoB,EAAeK,EAAAA,WAAYL,EAAcM,OAAS,EAAGtB,GACzF,GAAuB,OAAnBoB,EAIA,OAHAP,EAAIT,QAAUgB,EAAehB,QAC7BS,EAAIR,UAAYe,EAAef,eAC/BQ,EAAIU,aAAeP,EAAcQ,MAAMJ,EAAerB,MAAQ,GAAG0B,KAAK,MAI1E,MAAMC,EAAa9B,EAAaoB,EAAeW,EAAAA,MAAOX,EAAcM,OAAS,EAAGtB,GAChF,GAAmB,OAAf0B,EAIA,OAHAb,EAAIT,QAAUsB,EAAWtB,QACzBS,EAAIR,UAAYqB,EAAWrB,eAC3BQ,EAAIU,aAAeP,EAAcQ,MAAME,EAAW3B,OAAO0B,KAAK,MAMlEZ,EAAIT,SAAU,EACdS,EAAIR,WAAY,EAChBQ,EAAIU,aAAkE,QAAlDT,EAAKE,EAAcA,EAAcM,OAAS,UAAuB,IAAPR,EAAgBA,EAAK,IACvG","x_google_ignoreList":[0]}
@@ -1,2 +1,2 @@
1
- import"../../../../../../tldts-core@7.0.22/node_modules/tldts-core/dist/es6/src/options.js";import i from"../../../../../../tldts-core@7.0.22/node_modules/tldts-core/dist/es6/src/lookup/fast-path.js";import{exceptions as t,rules as n}from"./data/trie.js";function s(i,t,n,s){let o=null,e=t;for(;void 0!==e&&(0!==(e[0]&s)&&(o={index:n+1,isIcann:!!(1&e[0]),isPrivate:!!(2&e[0])}),-1!==n);){const t=e[1];e=Object.prototype.hasOwnProperty.call(t,i[n])?t[i[n]]:t["*"],n-=1}return o}function o(o,e,l){var r;if(i(o,e,l))return;const a=o.split("."),c=(e.allowPrivateDomains?2:0)|(e.allowIcannDomains?1:0),u=s(a,t,a.length-1,c);if(null!==u)return l.isIcann=u.isIcann,l.isPrivate=u.isPrivate,void(l.publicSuffix=a.slice(u.index+1).join("."));const d=s(a,n,a.length-1,c);if(null!==d)return l.isIcann=d.isIcann,l.isPrivate=d.isPrivate,void(l.publicSuffix=a.slice(d.index).join("."));l.isIcann=!1,l.isPrivate=!1,l.publicSuffix=null!==(r=a[a.length-1])&&void 0!==r?r:null}export{o as default};
1
+ import"../../../../../../tldts-core@7.0.23/node_modules/tldts-core/dist/es6/src/options.js";import i from"../../../../../../tldts-core@7.0.23/node_modules/tldts-core/dist/es6/src/lookup/fast-path.js";import{exceptions as t,rules as n}from"./data/trie.js";function s(i,t,n,s){let o=null,e=t;for(;void 0!==e&&(0!==(e[0]&s)&&(o={index:n+1,isIcann:!!(1&e[0]),isPrivate:!!(2&e[0])}),-1!==n);){const t=e[1];e=Object.prototype.hasOwnProperty.call(t,i[n])?t[i[n]]:t["*"],n-=1}return o}function o(o,e,l){var r;if(i(o,e,l))return;const a=o.split("."),c=(e.allowPrivateDomains?2:0)|(e.allowIcannDomains?1:0),u=s(a,t,a.length-1,c);if(null!==u)return l.isIcann=u.isIcann,l.isPrivate=u.isPrivate,void(l.publicSuffix=a.slice(u.index+1).join("."));const d=s(a,n,a.length-1,c);if(null!==d)return l.isIcann=d.isIcann,l.isPrivate=d.isPrivate,void(l.publicSuffix=a.slice(d.index).join("."));l.isIcann=!1,l.isPrivate=!1,l.publicSuffix=null!==(r=a[a.length-1])&&void 0!==r?r:null}export{o as default};
2
2
  //# sourceMappingURL=suffix-trie.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"suffix-trie.js","sources":["../../../../../../../../../../../node_modules/.pnpm/tldts@7.0.22/node_modules/tldts/dist/es6/src/suffix-trie.js"],"sourcesContent":["import { fastPathLookup, } from 'tldts-core';\nimport { exceptions, rules } from './data/trie';\n/**\n * Lookup parts of domain in Trie\n */\nfunction lookupInTrie(parts, trie, index, allowedMask) {\n let result = null;\n let node = trie;\n while (node !== undefined) {\n // We have a match!\n if ((node[0] & allowedMask) !== 0) {\n result = {\n index: index + 1,\n isIcann: (node[0] & 1 /* RULE_TYPE.ICANN */) !== 0,\n isPrivate: (node[0] & 2 /* RULE_TYPE.PRIVATE */) !== 0,\n };\n }\n // No more `parts` to look for\n if (index === -1) {\n break;\n }\n const succ = node[1];\n node = Object.prototype.hasOwnProperty.call(succ, parts[index])\n ? succ[parts[index]]\n : succ['*'];\n index -= 1;\n }\n return result;\n}\n/**\n * Check if `hostname` has a valid public suffix in `trie`.\n */\nexport default function suffixLookup(hostname, options, out) {\n var _a;\n if (fastPathLookup(hostname, options, out)) {\n return;\n }\n const hostnameParts = hostname.split('.');\n const allowedMask = (options.allowPrivateDomains ? 2 /* RULE_TYPE.PRIVATE */ : 0) |\n (options.allowIcannDomains ? 1 /* RULE_TYPE.ICANN */ : 0);\n // Look for exceptions\n const exceptionMatch = lookupInTrie(hostnameParts, exceptions, hostnameParts.length - 1, allowedMask);\n if (exceptionMatch !== null) {\n out.isIcann = exceptionMatch.isIcann;\n out.isPrivate = exceptionMatch.isPrivate;\n out.publicSuffix = hostnameParts.slice(exceptionMatch.index + 1).join('.');\n return;\n }\n // Look for a match in rules\n const rulesMatch = lookupInTrie(hostnameParts, rules, hostnameParts.length - 1, allowedMask);\n if (rulesMatch !== null) {\n out.isIcann = rulesMatch.isIcann;\n out.isPrivate = rulesMatch.isPrivate;\n out.publicSuffix = hostnameParts.slice(rulesMatch.index).join('.');\n return;\n }\n // No match found...\n // Prevailing rule is '*' so we consider the top-level domain to be the\n // public suffix of `hostname` (e.g.: 'example.org' => 'org').\n out.isIcann = false;\n out.isPrivate = false;\n out.publicSuffix = (_a = hostnameParts[hostnameParts.length - 1]) !== null && _a !== void 0 ? _a : null;\n}\n//# sourceMappingURL=suffix-trie.js.map"],"names":["lookupInTrie","parts","trie","index","allowedMask","result","node","undefined","isIcann","isPrivate","succ","Object","prototype","hasOwnProperty","call","suffixLookup","hostname","options","out","_a","fastPathLookup","hostnameParts","split","allowPrivateDomains","allowIcannDomains","exceptionMatch","exceptions","length","publicSuffix","slice","join","rulesMatch","rules"],"mappings":"+PAKA,SAASA,EAAaC,EAAOC,EAAMC,EAAOC,GACtC,IAAIC,EAAS,KACTC,EAAOJ,EACX,UAAgBK,IAATD,IAE6B,KAA3BA,EAAK,GAAKF,KACXC,EAAS,CACLF,MAAOA,EAAQ,EACfK,WAAoB,EAAVF,EAAK,IACfG,aAAsB,EAAVH,EAAK,OAIX,IAAVH,IAVmB,CAavB,MAAMO,EAAOJ,EAAK,GAClBA,EAAOK,OAAOC,UAAUC,eAAeC,KAAKJ,EAAMT,EAAME,IAClDO,EAAKT,EAAME,IACXO,EAAK,KACXP,GAAS,CACb,CACA,OAAOE,CACX,CAIe,SAASU,EAAaC,EAAUC,EAASC,GACpD,IAAIC,EACJ,GAAIC,EAAeJ,EAAUC,EAASC,GAClC,OAEJ,MAAMG,EAAgBL,EAASM,MAAM,KAC/BlB,GAAea,EAAQM,oBAAsB,EAA4B,IAC1EN,EAAQO,kBAAoB,EAA0B,GAErDC,EAAiBzB,EAAaqB,EAAeK,EAAYL,EAAcM,OAAS,EAAGvB,GACzF,GAAuB,OAAnBqB,EAIA,OAHAP,EAAIV,QAAUiB,EAAejB,QAC7BU,EAAIT,UAAYgB,EAAehB,eAC/BS,EAAIU,aAAeP,EAAcQ,MAAMJ,EAAetB,MAAQ,GAAG2B,KAAK,MAI1E,MAAMC,EAAa/B,EAAaqB,EAAeW,EAAOX,EAAcM,OAAS,EAAGvB,GAChF,GAAmB,OAAf2B,EAIA,OAHAb,EAAIV,QAAUuB,EAAWvB,QACzBU,EAAIT,UAAYsB,EAAWtB,eAC3BS,EAAIU,aAAeP,EAAcQ,MAAME,EAAW5B,OAAO2B,KAAK,MAMlEZ,EAAIV,SAAU,EACdU,EAAIT,WAAY,EAChBS,EAAIU,aAAkE,QAAlDT,EAAKE,EAAcA,EAAcM,OAAS,UAAuB,IAAPR,EAAgBA,EAAK,IACvG","x_google_ignoreList":[0]}
1
+ {"version":3,"file":"suffix-trie.js","sources":["../../../../../../../../../../../node_modules/.pnpm/tldts@7.0.23/node_modules/tldts/dist/es6/src/suffix-trie.js"],"sourcesContent":["import { fastPathLookup, } from 'tldts-core';\nimport { exceptions, rules } from './data/trie';\n/**\n * Lookup parts of domain in Trie\n */\nfunction lookupInTrie(parts, trie, index, allowedMask) {\n let result = null;\n let node = trie;\n while (node !== undefined) {\n // We have a match!\n if ((node[0] & allowedMask) !== 0) {\n result = {\n index: index + 1,\n isIcann: (node[0] & 1 /* RULE_TYPE.ICANN */) !== 0,\n isPrivate: (node[0] & 2 /* RULE_TYPE.PRIVATE */) !== 0,\n };\n }\n // No more `parts` to look for\n if (index === -1) {\n break;\n }\n const succ = node[1];\n node = Object.prototype.hasOwnProperty.call(succ, parts[index])\n ? succ[parts[index]]\n : succ['*'];\n index -= 1;\n }\n return result;\n}\n/**\n * Check if `hostname` has a valid public suffix in `trie`.\n */\nexport default function suffixLookup(hostname, options, out) {\n var _a;\n if (fastPathLookup(hostname, options, out)) {\n return;\n }\n const hostnameParts = hostname.split('.');\n const allowedMask = (options.allowPrivateDomains ? 2 /* RULE_TYPE.PRIVATE */ : 0) |\n (options.allowIcannDomains ? 1 /* RULE_TYPE.ICANN */ : 0);\n // Look for exceptions\n const exceptionMatch = lookupInTrie(hostnameParts, exceptions, hostnameParts.length - 1, allowedMask);\n if (exceptionMatch !== null) {\n out.isIcann = exceptionMatch.isIcann;\n out.isPrivate = exceptionMatch.isPrivate;\n out.publicSuffix = hostnameParts.slice(exceptionMatch.index + 1).join('.');\n return;\n }\n // Look for a match in rules\n const rulesMatch = lookupInTrie(hostnameParts, rules, hostnameParts.length - 1, allowedMask);\n if (rulesMatch !== null) {\n out.isIcann = rulesMatch.isIcann;\n out.isPrivate = rulesMatch.isPrivate;\n out.publicSuffix = hostnameParts.slice(rulesMatch.index).join('.');\n return;\n }\n // No match found...\n // Prevailing rule is '*' so we consider the top-level domain to be the\n // public suffix of `hostname` (e.g.: 'example.org' => 'org').\n out.isIcann = false;\n out.isPrivate = false;\n out.publicSuffix = (_a = hostnameParts[hostnameParts.length - 1]) !== null && _a !== void 0 ? _a : null;\n}\n//# sourceMappingURL=suffix-trie.js.map"],"names":["lookupInTrie","parts","trie","index","allowedMask","result","node","undefined","isIcann","isPrivate","succ","Object","prototype","hasOwnProperty","call","suffixLookup","hostname","options","out","_a","fastPathLookup","hostnameParts","split","allowPrivateDomains","allowIcannDomains","exceptionMatch","exceptions","length","publicSuffix","slice","join","rulesMatch","rules"],"mappings":"+PAKA,SAASA,EAAaC,EAAOC,EAAMC,EAAOC,GACtC,IAAIC,EAAS,KACTC,EAAOJ,EACX,UAAgBK,IAATD,IAE6B,KAA3BA,EAAK,GAAKF,KACXC,EAAS,CACLF,MAAOA,EAAQ,EACfK,WAAoB,EAAVF,EAAK,IACfG,aAAsB,EAAVH,EAAK,OAIX,IAAVH,IAVmB,CAavB,MAAMO,EAAOJ,EAAK,GAClBA,EAAOK,OAAOC,UAAUC,eAAeC,KAAKJ,EAAMT,EAAME,IAClDO,EAAKT,EAAME,IACXO,EAAK,KACXP,GAAS,CACb,CACA,OAAOE,CACX,CAIe,SAASU,EAAaC,EAAUC,EAASC,GACpD,IAAIC,EACJ,GAAIC,EAAeJ,EAAUC,EAASC,GAClC,OAEJ,MAAMG,EAAgBL,EAASM,MAAM,KAC/BlB,GAAea,EAAQM,oBAAsB,EAA4B,IAC1EN,EAAQO,kBAAoB,EAA0B,GAErDC,EAAiBzB,EAAaqB,EAAeK,EAAYL,EAAcM,OAAS,EAAGvB,GACzF,GAAuB,OAAnBqB,EAIA,OAHAP,EAAIV,QAAUiB,EAAejB,QAC7BU,EAAIT,UAAYgB,EAAehB,eAC/BS,EAAIU,aAAeP,EAAcQ,MAAMJ,EAAetB,MAAQ,GAAG2B,KAAK,MAI1E,MAAMC,EAAa/B,EAAaqB,EAAeW,EAAOX,EAAcM,OAAS,EAAGvB,GAChF,GAAmB,OAAf2B,EAIA,OAHAb,EAAIV,QAAUuB,EAAWvB,QACzBU,EAAIT,UAAYsB,EAAWtB,eAC3BS,EAAIU,aAAeP,EAAcQ,MAAME,EAAW5B,OAAO2B,KAAK,MAMlEZ,EAAIV,SAAU,EACdU,EAAIT,WAAY,EAChBS,EAAIU,aAAkE,QAAlDT,EAAKE,EAAcA,EAAcM,OAAS,UAAuB,IAAPR,EAAgBA,EAAK,IACvG","x_google_ignoreList":[0]}
@@ -1,4 +1,4 @@
1
- "use strict";var e=require("../../../../tldts@7.0.22/node_modules/tldts/dist/es6/index.cjs.js");function t(e,t){if(t===e)return!0;if(0===e.indexOf(t)){if("/"===t[t.length-1])return!0;if(e.startsWith(t)&&"/"===e[t.length])return!0}return!1}var i=["local","example","invalid","localhost","test"],n=["localhost","invalid"],o={allowSpecialUseDomain:!1,ignoreError:!1};function r(t,r={}){r={...o,...r};const s=t.split("."),a=s[s.length-1],c=!!r.allowSpecialUseDomain,l=!!r.ignoreError;if(c&&void 0!==a&&i.includes(a)){if(s.length>1){return`${s[s.length-2]}.${a}`}if(n.includes(a))return a}if(!l&&void 0!==a&&i.includes(a))throw new Error(`Cookie has domain set to the public suffix "${a}" which is a special use domain. To allow this, configure your CookieJar with {allowSpecialUseDomain: true, rejectPublicSuffixes: false}.`);const u=e.getDomain(t,{allowIcannDomains:!0,allowPrivateDomains:!0});if(u)return u}function s(e,t){const i=r(e,{allowSpecialUseDomain:t});if(!i)return;if(i==e)return[e];"."==e.slice(-1)&&(e=e.slice(0,-1));const n=e.slice(0,-(i.length+1)).split(".").reverse();let o=i;const s=[o];for(;n.length;){o=`${n.shift()}.${o}`,s.push(o)}return s}var a=class{constructor(){this.synchronous=!1}findCookie(e,t,i,n){throw new Error("findCookie is not implemented")}findCookies(e,t,i=!1,n){throw new Error("findCookies is not implemented")}putCookie(e,t){throw new Error("putCookie is not implemented")}updateCookie(e,t,i){throw new Error("updateCookie is not implemented")}removeCookie(e,t,i,n){throw new Error("removeCookie is not implemented")}removeCookies(e,t,i){throw new Error("removeCookies is not implemented")}removeAllCookies(e){throw new Error("removeAllCookies is not implemented")}getAllCookies(e){throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)")}},c=e=>Object.prototype.toString.call(e),l=(e,t=new WeakSet)=>"object"!=typeof e||null===e?String(e):"function"==typeof e.toString?Array.isArray(e)?((e,t)=>"function"!=typeof e.join?c(e):(t.add(e),e.map((e=>null==e||t.has(e)?"":l(e,t))).join()))(e,t):String(e):c(e),u=e=>l(e);function d(e){let t,i,n;const o=new Promise(((e,t)=>{i=e,n=t}));return t="function"==typeof e?(t,i)=>{try{t?e(t):e(null,i)}catch(e){n(e instanceof Error?e:new Error)}}:(e,t)=>{try{e?n(e):i(t)}catch(e){n(e instanceof Error?e:new Error)}},{promise:o,callback:t,resolve:e=>(t(null,e),o),reject:e=>(t(e),o)}}function f(e,t){return e in t}var h=class extends a{constructor(){super(),this.synchronous=!0,this.idx=Object.create(null)}findCookie(e,t,i,n){const o=d(n);if(null==e||null==t||null==i)return o.resolve(void 0);const r=this.idx[e]?.[t]?.[i];return o.resolve(r)}findCookies(e,i,n=!1,o){"function"==typeof n&&(o=n,n=!0);const r=[],a=d(o);if(!e)return a.resolve([]);let c;c=i?function(e){for(const n in e)if(t(i,n)){const t=e[n];for(const e in t){const i=t[e];i&&r.push(i)}}}:function(e){for(const t in e){const i=e[t];for(const e in i){const t=i[e];t&&r.push(t)}}};const l=s(e,n)||[e],u=this.idx;return l.forEach((e=>{const t=u[e];t&&c(t)})),a.resolve(r)}putCookie(e,t){const i=d(t),{domain:n,path:o,key:r}=e;if(null==n||null==o||null==r)return i.resolve(void 0);const s=this.idx[n]??Object.create(null);this.idx[n]=s;const a=s[o]??Object.create(null);return s[o]=a,a[r]=e,i.resolve(void 0)}updateCookie(e,t,i){if(!i)return this.putCookie(t);this.putCookie(t,i)}removeCookie(e,t,i,n){const o=d(n);return delete this.idx[e]?.[t]?.[i],o.resolve(void 0)}removeCookies(e,t,i){const n=d(i),o=this.idx[e];return o&&(t?delete o[t]:delete this.idx[e]),n.resolve(void 0)}removeAllCookies(e){const t=d(e);return this.idx=Object.create(null),t.resolve(void 0)}getAllCookies(e){const t=d(e),i=[],n=this.idx;return Object.keys(n).forEach((e=>{const t=n[e]??{};Object.keys(t).forEach((e=>{const n=t[e]??{};Object.keys(n).forEach((e=>{const t=n[e];null!=t&&i.push(t)}))}))})),i.sort(((e,t)=>(e.creationIndex||0)-(t.creationIndex||0))),t.resolve(i)}};function p(e){return y(e)&&""!==e}function m(e){return""===e||e instanceof String&&""===e.toString()}function y(e){return"string"==typeof e||e instanceof String}function x(e){return"[object Object]"===c(e)}function S(e,t,i){if(e)return;const n="function"==typeof t?t:void 0;let o="function"==typeof t?i:t;x(o)||(o="[object Object]");const r=new g(u(o));if(!n)throw r;n(r)}var g=class extends Error{},k="6.0.0",v={SILENT:"silent",STRICT:"strict",DISABLED:"unsafe-disabled"};Object.freeze(v);var C="\n\\[?(?:\n(?:[a-fA-F\\d]{1,4}:){7}(?:[a-fA-F\\d]{1,4}|:)|\n(?:[a-fA-F\\d]{1,4}:){6}(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|:[a-fA-F\\d]{1,4}|:)|\n(?:[a-fA-F\\d]{1,4}:){5}(?::(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,2}|:)|\n(?:[a-fA-F\\d]{1,4}:){4}(?:(?::[a-fA-F\\d]{1,4}){0,1}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,3}|:)|\n(?:[a-fA-F\\d]{1,4}:){3}(?:(?::[a-fA-F\\d]{1,4}){0,2}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,4}|:)|\n(?:[a-fA-F\\d]{1,4}:){2}(?:(?::[a-fA-F\\d]{1,4}){0,3}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,5}|:)|\n(?:[a-fA-F\\d]{1,4}:){1}(?:(?::[a-fA-F\\d]{1,4}){0,4}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,6}|:)|\n(?::(?:(?::[a-fA-F\\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,7}|:))\n)(?:%[0-9a-zA-Z]{1,})?\\]?\n".replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),b=new RegExp(`^${C}$`),w=new RegExp("^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$");function A(e){return new URL(`http://${e}`).hostname}function E(e){if(null==e)return;let t=e.trim().replace(/^\./,"");return b.test(t)?(t.startsWith("[")||(t="["+t),t.endsWith("]")||(t+="]"),A(t).slice(1,-1)):/[^\u0001-\u007f]/.test(t)?A(t):t.toLowerCase()}function O(e){return e.toUTCString()}var D=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/,I=0,j=1,L=2,$=3,P=4,T=5,U=6,F=7,z=8,_=9,J=10,M=11;function N(e,t,i,n){let o=0;for(;o<e.length;){const t=e.charCodeAt(o);if(t<=47||t>=58)break;o++}if(!(o<t||o>i)&&(n||o==e.length))return parseInt(e.slice(0,o),10)}function R(e){const t=e.split(":"),i=[0,0,0];if(3===t.length){for(let e=0;e<3;e++){const n=2==e,o=t[e];if(void 0===o)return;const r=N(o,1,2,n);if(void 0===r)return;i[e]=r}return i}}function B(e){switch(e=String(e).slice(0,3).toLowerCase()){case"jan":return I;case"feb":return j;case"mar":return L;case"apr":return $;case"may":return P;case"jun":return T;case"jul":return U;case"aug":return F;case"sep":return z;case"oct":return _;case"nov":return J;case"dec":return M;default:return}}function W(e){if(!e)return;const t=e.split(D);let i,n,o,r,s,a;for(let e=0;e<t.length;e++){const c=(t[e]??"").trim();if(c.length){if(void 0===o){const e=R(c);if(e){i=e[0],n=e[1],o=e[2];continue}}if(void 0===r){const e=N(c,1,2,!0);if(void 0!==e){r=e;continue}}if(void 0===s){const e=B(c);if(void 0!==e){s=e;continue}}if(void 0===a){const e=N(c,2,4,!0);void 0!==e&&(a=e,a>=70&&a<=99?a+=1900:a>=0&&a<=69&&(a+=2e3))}}}return void 0===r||void 0===s||void 0===a||void 0===i||void 0===n||void 0===o||r<1||r>31||a<1601||i>23||n>59||o>59?void 0:new Date(Date.UTC(a,s,r,i,n,o))}var H=/^[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]+$/,q=/[\x20-\x3A\x3C-\x7E]+/,Z=/[\x00-\x1F]/,G=["\n","\r","\0"];function K(e,t){let i,n,o=(e=function(e){if(m(e))return e;for(let t=0;t<G.length;t++){const i=G[t],n=i?e.indexOf(i):-1;-1!==n&&(e=e.slice(0,n))}return e}(e)).indexOf("=");if(t)0===o&&(o=(e=e.substring(1)).indexOf("="));else if(o<=0)return;if(o<=0?(i="",n=e.trim()):(i=e.slice(0,o).trim(),n=e.slice(o+1).trim()),Z.test(i)||Z.test(n))return;const r=new Y;return r.key=i,r.value=n,r}function Q(e){if(!e||m(e))return;let t;if("string"==typeof e)try{t=JSON.parse(e)}catch{return}else t=e;const i=new Y;return Y.serializableProperties.forEach((e=>{if(t&&"object"==typeof t&&f(e,t)){const n=t[e];if(void 0===n)return;if(f(e,V)&&n===V[e])return;switch(e){case"key":case"value":case"sameSite":"string"==typeof n&&(i[e]=n);break;case"expires":case"creation":case"lastAccessed":"number"==typeof n||"string"==typeof n||n instanceof Date?i[e]="Infinity"==t[e]?"Infinity":new Date(n):null===n&&(i[e]=null);break;case"maxAge":"number"!=typeof n&&"Infinity"!==n&&"-Infinity"!==n||(i[e]=n);break;case"domain":case"path":"string"!=typeof n&&null!==n||(i[e]=n);break;case"secure":case"httpOnly":"boolean"==typeof n&&(i[e]=n);break;case"extensions":Array.isArray(n)&&n.every((e=>"string"==typeof e))&&(i[e]=n);break;case"hostOnly":case"pathIsDefault":"boolean"!=typeof n&&null!==n||(i[e]=n)}}})),i}var V={key:"",value:"",expires:"Infinity",maxAge:null,domain:null,path:null,secure:!1,httpOnly:!1,extensions:null,hostOnly:null,pathIsDefault:null,creation:null,lastAccessed:null,sameSite:void 0},X=class e{constructor(t={}){this.key=t.key??V.key,this.value=t.value??V.value,this.expires=t.expires??V.expires,this.maxAge=t.maxAge??V.maxAge,this.domain=t.domain??V.domain,this.path=t.path??V.path,this.secure=t.secure??V.secure,this.httpOnly=t.httpOnly??V.httpOnly,this.extensions=t.extensions??V.extensions,this.creation=t.creation??V.creation,this.hostOnly=t.hostOnly??V.hostOnly,this.pathIsDefault=t.pathIsDefault??V.pathIsDefault,this.lastAccessed=t.lastAccessed??V.lastAccessed,this.sameSite=t.sameSite??V.sameSite,this.creation=t.creation??new Date,Object.defineProperty(this,"creationIndex",{configurable:!1,enumerable:!1,writable:!0,value:++e.cookiesCreated}),this.creationIndex=e.cookiesCreated}[Symbol.for("nodejs.util.inspect.custom")](){const e=Date.now(),t=null!=this.hostOnly?this.hostOnly.toString():"?",i=this.creation&&"Infinity"!==this.creation?`${String(e-this.creation.getTime())}ms`:"?",n=this.lastAccessed&&"Infinity"!==this.lastAccessed?`${String(e-this.lastAccessed.getTime())}ms`:"?";return`Cookie="${this.toString()}; hostOnly=${t}; aAge=${n}; cAge=${i}"`}toJSON(){const t={};for(const i of e.serializableProperties){const e=this[i];if(e!==V[i])switch(i){case"key":case"value":case"sameSite":"string"==typeof e&&(t[i]=e);break;case"expires":case"creation":case"lastAccessed":"number"==typeof e||"string"==typeof e||e instanceof Date?t[i]="Infinity"==e?"Infinity":new Date(e).toISOString():null===e&&(t[i]=null);break;case"maxAge":"number"!=typeof e&&"Infinity"!==e&&"-Infinity"!==e||(t[i]=e);break;case"domain":case"path":"string"!=typeof e&&null!==e||(t[i]=e);break;case"secure":case"httpOnly":"boolean"==typeof e&&(t[i]=e);break;case"extensions":Array.isArray(e)&&(t[i]=e);break;case"hostOnly":case"pathIsDefault":"boolean"!=typeof e&&null!==e||(t[i]=e)}}return t}clone(){return Q(this.toJSON())}validate(){if(!this.value||!H.test(this.value))return!1;if(!("Infinity"==this.expires||this.expires instanceof Date||W(this.expires)))return!1;if(null!=this.maxAge&&"Infinity"!==this.maxAge&&("-Infinity"===this.maxAge||this.maxAge<=0))return!1;if(null!=this.path&&!q.test(this.path))return!1;const e=this.cdomain();if(e){if(e.match(/\.$/))return!1;if(null==r(e))return!1}return!0}setExpires(e){e instanceof Date?this.expires=e:this.expires=W(e)||"Infinity"}setMaxAge(e){this.maxAge=e===1/0?"Infinity":e===-1/0?"-Infinity":e}cookieString(){const e=this.value||"";return this.key?`${this.key}=${e}`:e}toString(){let t=this.cookieString();return"Infinity"!=this.expires&&this.expires instanceof Date&&(t+=`; Expires=${O(this.expires)}`),null!=this.maxAge&&this.maxAge!=1/0&&(t+=`; Max-Age=${String(this.maxAge)}`),this.domain&&!this.hostOnly&&(t+=`; Domain=${this.domain}`),this.path&&(t+=`; Path=${this.path}`),this.secure&&(t+="; Secure"),this.httpOnly&&(t+="; HttpOnly"),this.sameSite&&"none"!==this.sameSite&&(this.sameSite.toLowerCase()===e.sameSiteCanonical.lax.toLowerCase()?t+=`; SameSite=${e.sameSiteCanonical.lax}`:this.sameSite.toLowerCase()===e.sameSiteCanonical.strict.toLowerCase()?t+=`; SameSite=${e.sameSiteCanonical.strict}`:t+=`; SameSite=${this.sameSite}`),this.extensions&&this.extensions.forEach((e=>{t+=`; ${e}`})),t}TTL(e=Date.now()){if(null!=this.maxAge&&"number"==typeof this.maxAge)return this.maxAge<=0?0:1e3*this.maxAge;const t=this.expires;return"Infinity"===t?1/0:(t?.getTime()??e)-(e||Date.now())}expiryTime(e){if(null!=this.maxAge){const t=e||this.lastAccessed||new Date,i="number"==typeof this.maxAge?this.maxAge:-1/0,n=i<=0?-1/0:1e3*i;return"Infinity"===t?1/0:t.getTime()+n}return"Infinity"==this.expires?1/0:this.expires?this.expires.getTime():void 0}expiryDate(e){const t=this.expiryTime(e);return t==1/0?new Date(2147483647e3):t==-1/0?new Date(0):null==t?void 0:new Date(t)}isPersistent(){return null!=this.maxAge||"Infinity"!=this.expires}canonicalizedDomain(){return E(this.domain)}cdomain(){return E(this.domain)}static parse(e,t){return function(e,t){if(m(e)||!y(e))return;const i=(e=e.trim()).indexOf(";"),n=K(-1===i?e:e.slice(0,i),t?.loose??!1);if(!n)return;if(-1===i)return n;const o=e.slice(i+1).trim();if(0===o.length)return n;const r=o.split(";");for(;r.length;){const e=(r.shift()??"").trim();if(0===e.length)continue;const t=e.indexOf("=");let i,o;switch(-1===t?(i=e,o=null):(i=e.slice(0,t),o=e.slice(t+1)),i=i.trim().toLowerCase(),o&&(o=o.trim()),i){case"expires":if(o){const e=W(o);e&&(n.expires=e)}break;case"max-age":if(o&&/^-?[0-9]+$/.test(o)){const e=parseInt(o,10);n.setMaxAge(e)}break;case"domain":if(o){const e=o.trim().replace(/^\./,"");e&&(n.domain=e.toLowerCase())}break;case"path":n.path=o&&"/"===o[0]?o:null;break;case"secure":n.secure=!0;break;case"httponly":n.httpOnly=!0;break;case"samesite":switch(o?o.toLowerCase():""){case"strict":n.sameSite="strict";break;case"lax":n.sameSite="lax";break;case"none":n.sameSite="none";break;default:n.sameSite=void 0}break;default:n.extensions=n.extensions||[],n.extensions.push(e)}}return n}(e,t)}static fromJSON(e){return Q(e)}};X.cookiesCreated=0,X.sameSiteLevel={strict:3,lax:2,none:1},X.sameSiteCanonical={strict:"Strict",lax:"Lax"},X.serializableProperties=["key","value","expires","maxAge","domain","path","secure","httpOnly","extensions","hostOnly","pathIsDefault","creation","lastAccessed","sameSite"];var Y=X,ee=2147483647e3;function te(e,t){let i;const n=e.path?e.path.length:0;if(i=(t.path?t.path.length:0)-n,0!==i)return i;return i=(e.creation&&e.creation instanceof Date?e.creation.getTime():ee)-(t.creation&&t.creation instanceof Date?t.creation.getTime():ee),0!==i||(i=(e.creationIndex||0)-(t.creationIndex||0)),i}function ie(e){if(!e||"/"!==e.slice(0,1))return"/";if("/"===e)return e;const t=e.lastIndexOf("/");return 0===t?"/":e.slice(0,t)}var ne=/(?:^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$)|(?:^(?:(?:[a-f\d]{1,4}:){7}(?:[a-f\d]{1,4}|:)|(?:[a-f\d]{1,4}:){6}(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|:[a-f\d]{1,4}|:)|(?:[a-f\d]{1,4}:){5}(?::(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,2}|:)|(?:[a-f\d]{1,4}:){4}(?:(?::[a-f\d]{1,4}){0,1}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,3}|:)|(?:[a-f\d]{1,4}:){3}(?:(?::[a-f\d]{1,4}){0,2}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,4}|:)|(?:[a-f\d]{1,4}:){2}(?:(?::[a-f\d]{1,4}){0,3}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,5}|:)|(?:[a-f\d]{1,4}:){1}(?:(?::[a-f\d]{1,4}){0,4}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,6}|:)|(?::(?:(?::[a-f\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,7}|:)))$)/;function oe(e,t,i){if(null==e||null==t)return;let n,o;if(n=e,o=t,null==n||null==o)return;if(n==o)return!0;const r=n.lastIndexOf(o);return!(r<=0)&&(n.length===o.length+r&&("."===n.substring(r-1,r)&&!ne.test(n)))}function re(e,t=!0){let i;if("string"==typeof e)try{i=new URL(e)}catch{return!1}else i=e;const n=i.protocol.replace(":","").toLowerCase(),o=(r=i.hostname,r.length>=2&&r.startsWith("[")&&r.endsWith("]")?r.substring(1,r.length-1):r).replace(/\.+$/,"");var r;return"https"===n||"wss"===n||!!t&&(w.test(o)?function(e){const t=e.split(".");return 4===t.length&&void 0!==t[0]&&127===parseInt(t[0],10)}(o):b.test(o)?"::1"===o:function(e){const t=e.toLowerCase();return"localhost"===t||function(e){return e.endsWith(".localhost")}(t)}(o))}var se={loose:!1,sameSiteContext:void 0,ignoreError:!1,http:!0},ae={http:!0,expire:!0,allPaths:!1,sameSiteContext:void 0,sort:void 0},ce='Invalid sameSiteContext option for getCookies(); expected one of "strict", "lax", or "none"';function le(e){if(e&&"object"==typeof e&&"hostname"in e&&"string"==typeof e.hostname&&"pathname"in e&&"string"==typeof e.pathname&&"protocol"in e&&"string"==typeof e.protocol)return{hostname:e.hostname,pathname:e.pathname,protocol:e.protocol};if("string"!=typeof e)throw new g("`url` argument is not a string or URL.");try{return new URL(decodeURI(e))}catch{return new URL(e)}}function ue(e){const t=String(e).toLowerCase();return"none"===t||"lax"===t||"strict"===t?t:void 0}function de(e){const t=e.toLowerCase();switch(t){case v.STRICT:case v.SILENT:case v.DISABLED:return t;default:return v.SILENT}}
1
+ "use strict";var e=require("../../../../tldts@7.0.23/node_modules/tldts/dist/es6/index.cjs.js");function t(e,t){if(t===e)return!0;if(0===e.indexOf(t)){if("/"===t[t.length-1])return!0;if(e.startsWith(t)&&"/"===e[t.length])return!0}return!1}var i=["local","example","invalid","localhost","test"],n=["localhost","invalid"],o={allowSpecialUseDomain:!1,ignoreError:!1};function r(t,r={}){r={...o,...r};const s=t.split("."),a=s[s.length-1],c=!!r.allowSpecialUseDomain,l=!!r.ignoreError;if(c&&void 0!==a&&i.includes(a)){if(s.length>1){return`${s[s.length-2]}.${a}`}if(n.includes(a))return a}if(!l&&void 0!==a&&i.includes(a))throw new Error(`Cookie has domain set to the public suffix "${a}" which is a special use domain. To allow this, configure your CookieJar with {allowSpecialUseDomain: true, rejectPublicSuffixes: false}.`);const u=e.getDomain(t,{allowIcannDomains:!0,allowPrivateDomains:!0});if(u)return u}function s(e,t){const i=r(e,{allowSpecialUseDomain:t});if(!i)return;if(i==e)return[e];"."==e.slice(-1)&&(e=e.slice(0,-1));const n=e.slice(0,-(i.length+1)).split(".").reverse();let o=i;const s=[o];for(;n.length;){o=`${n.shift()}.${o}`,s.push(o)}return s}var a=class{constructor(){this.synchronous=!1}findCookie(e,t,i,n){throw new Error("findCookie is not implemented")}findCookies(e,t,i=!1,n){throw new Error("findCookies is not implemented")}putCookie(e,t){throw new Error("putCookie is not implemented")}updateCookie(e,t,i){throw new Error("updateCookie is not implemented")}removeCookie(e,t,i,n){throw new Error("removeCookie is not implemented")}removeCookies(e,t,i){throw new Error("removeCookies is not implemented")}removeAllCookies(e){throw new Error("removeAllCookies is not implemented")}getAllCookies(e){throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)")}},c=e=>Object.prototype.toString.call(e),l=(e,t=new WeakSet)=>"object"!=typeof e||null===e?String(e):"function"==typeof e.toString?Array.isArray(e)?((e,t)=>"function"!=typeof e.join?c(e):(t.add(e),e.map((e=>null==e||t.has(e)?"":l(e,t))).join()))(e,t):String(e):c(e),u=e=>l(e);function d(e){let t,i,n;const o=new Promise(((e,t)=>{i=e,n=t}));return t="function"==typeof e?(t,i)=>{try{t?e(t):e(null,i)}catch(e){n(e instanceof Error?e:new Error)}}:(e,t)=>{try{e?n(e):i(t)}catch(e){n(e instanceof Error?e:new Error)}},{promise:o,callback:t,resolve:e=>(t(null,e),o),reject:e=>(t(e),o)}}function f(e,t){return e in t}var h=class extends a{constructor(){super(),this.synchronous=!0,this.idx=Object.create(null)}findCookie(e,t,i,n){const o=d(n);if(null==e||null==t||null==i)return o.resolve(void 0);const r=this.idx[e]?.[t]?.[i];return o.resolve(r)}findCookies(e,i,n=!1,o){"function"==typeof n&&(o=n,n=!0);const r=[],a=d(o);if(!e)return a.resolve([]);let c;c=i?function(e){for(const n in e)if(t(i,n)){const t=e[n];for(const e in t){const i=t[e];i&&r.push(i)}}}:function(e){for(const t in e){const i=e[t];for(const e in i){const t=i[e];t&&r.push(t)}}};const l=s(e,n)||[e],u=this.idx;return l.forEach((e=>{const t=u[e];t&&c(t)})),a.resolve(r)}putCookie(e,t){const i=d(t),{domain:n,path:o,key:r}=e;if(null==n||null==o||null==r)return i.resolve(void 0);const s=this.idx[n]??Object.create(null);this.idx[n]=s;const a=s[o]??Object.create(null);return s[o]=a,a[r]=e,i.resolve(void 0)}updateCookie(e,t,i){if(!i)return this.putCookie(t);this.putCookie(t,i)}removeCookie(e,t,i,n){const o=d(n);return delete this.idx[e]?.[t]?.[i],o.resolve(void 0)}removeCookies(e,t,i){const n=d(i),o=this.idx[e];return o&&(t?delete o[t]:delete this.idx[e]),n.resolve(void 0)}removeAllCookies(e){const t=d(e);return this.idx=Object.create(null),t.resolve(void 0)}getAllCookies(e){const t=d(e),i=[],n=this.idx;return Object.keys(n).forEach((e=>{const t=n[e]??{};Object.keys(t).forEach((e=>{const n=t[e]??{};Object.keys(n).forEach((e=>{const t=n[e];null!=t&&i.push(t)}))}))})),i.sort(((e,t)=>(e.creationIndex||0)-(t.creationIndex||0))),t.resolve(i)}};function p(e){return y(e)&&""!==e}function m(e){return""===e||e instanceof String&&""===e.toString()}function y(e){return"string"==typeof e||e instanceof String}function x(e){return"[object Object]"===c(e)}function S(e,t,i){if(e)return;const n="function"==typeof t?t:void 0;let o="function"==typeof t?i:t;x(o)||(o="[object Object]");const r=new g(u(o));if(!n)throw r;n(r)}var g=class extends Error{},k="6.0.0",v={SILENT:"silent",STRICT:"strict",DISABLED:"unsafe-disabled"};Object.freeze(v);var C="\n\\[?(?:\n(?:[a-fA-F\\d]{1,4}:){7}(?:[a-fA-F\\d]{1,4}|:)|\n(?:[a-fA-F\\d]{1,4}:){6}(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|:[a-fA-F\\d]{1,4}|:)|\n(?:[a-fA-F\\d]{1,4}:){5}(?::(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,2}|:)|\n(?:[a-fA-F\\d]{1,4}:){4}(?:(?::[a-fA-F\\d]{1,4}){0,1}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,3}|:)|\n(?:[a-fA-F\\d]{1,4}:){3}(?:(?::[a-fA-F\\d]{1,4}){0,2}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,4}|:)|\n(?:[a-fA-F\\d]{1,4}:){2}(?:(?::[a-fA-F\\d]{1,4}){0,3}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,5}|:)|\n(?:[a-fA-F\\d]{1,4}:){1}(?:(?::[a-fA-F\\d]{1,4}){0,4}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,6}|:)|\n(?::(?:(?::[a-fA-F\\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,7}|:))\n)(?:%[0-9a-zA-Z]{1,})?\\]?\n".replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),b=new RegExp(`^${C}$`),w=new RegExp("^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$");function A(e){return new URL(`http://${e}`).hostname}function E(e){if(null==e)return;let t=e.trim().replace(/^\./,"");return b.test(t)?(t.startsWith("[")||(t="["+t),t.endsWith("]")||(t+="]"),A(t).slice(1,-1)):/[^\u0001-\u007f]/.test(t)?A(t):t.toLowerCase()}function O(e){return e.toUTCString()}var D=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/,I=0,j=1,L=2,$=3,P=4,T=5,U=6,F=7,z=8,_=9,J=10,M=11;function N(e,t,i,n){let o=0;for(;o<e.length;){const t=e.charCodeAt(o);if(t<=47||t>=58)break;o++}if(!(o<t||o>i)&&(n||o==e.length))return parseInt(e.slice(0,o),10)}function R(e){const t=e.split(":"),i=[0,0,0];if(3===t.length){for(let e=0;e<3;e++){const n=2==e,o=t[e];if(void 0===o)return;const r=N(o,1,2,n);if(void 0===r)return;i[e]=r}return i}}function B(e){switch(e=String(e).slice(0,3).toLowerCase()){case"jan":return I;case"feb":return j;case"mar":return L;case"apr":return $;case"may":return P;case"jun":return T;case"jul":return U;case"aug":return F;case"sep":return z;case"oct":return _;case"nov":return J;case"dec":return M;default:return}}function W(e){if(!e)return;const t=e.split(D);let i,n,o,r,s,a;for(let e=0;e<t.length;e++){const c=(t[e]??"").trim();if(c.length){if(void 0===o){const e=R(c);if(e){i=e[0],n=e[1],o=e[2];continue}}if(void 0===r){const e=N(c,1,2,!0);if(void 0!==e){r=e;continue}}if(void 0===s){const e=B(c);if(void 0!==e){s=e;continue}}if(void 0===a){const e=N(c,2,4,!0);void 0!==e&&(a=e,a>=70&&a<=99?a+=1900:a>=0&&a<=69&&(a+=2e3))}}}return void 0===r||void 0===s||void 0===a||void 0===i||void 0===n||void 0===o||r<1||r>31||a<1601||i>23||n>59||o>59?void 0:new Date(Date.UTC(a,s,r,i,n,o))}var H=/^[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]+$/,q=/[\x20-\x3A\x3C-\x7E]+/,Z=/[\x00-\x1F]/,G=["\n","\r","\0"];function K(e,t){let i,n,o=(e=function(e){if(m(e))return e;for(let t=0;t<G.length;t++){const i=G[t],n=i?e.indexOf(i):-1;-1!==n&&(e=e.slice(0,n))}return e}(e)).indexOf("=");if(t)0===o&&(o=(e=e.substring(1)).indexOf("="));else if(o<=0)return;if(o<=0?(i="",n=e.trim()):(i=e.slice(0,o).trim(),n=e.slice(o+1).trim()),Z.test(i)||Z.test(n))return;const r=new Y;return r.key=i,r.value=n,r}function Q(e){if(!e||m(e))return;let t;if("string"==typeof e)try{t=JSON.parse(e)}catch{return}else t=e;const i=new Y;return Y.serializableProperties.forEach((e=>{if(t&&"object"==typeof t&&f(e,t)){const n=t[e];if(void 0===n)return;if(f(e,V)&&n===V[e])return;switch(e){case"key":case"value":case"sameSite":"string"==typeof n&&(i[e]=n);break;case"expires":case"creation":case"lastAccessed":"number"==typeof n||"string"==typeof n||n instanceof Date?i[e]="Infinity"==t[e]?"Infinity":new Date(n):null===n&&(i[e]=null);break;case"maxAge":"number"!=typeof n&&"Infinity"!==n&&"-Infinity"!==n||(i[e]=n);break;case"domain":case"path":"string"!=typeof n&&null!==n||(i[e]=n);break;case"secure":case"httpOnly":"boolean"==typeof n&&(i[e]=n);break;case"extensions":Array.isArray(n)&&n.every((e=>"string"==typeof e))&&(i[e]=n);break;case"hostOnly":case"pathIsDefault":"boolean"!=typeof n&&null!==n||(i[e]=n)}}})),i}var V={key:"",value:"",expires:"Infinity",maxAge:null,domain:null,path:null,secure:!1,httpOnly:!1,extensions:null,hostOnly:null,pathIsDefault:null,creation:null,lastAccessed:null,sameSite:void 0},X=class e{constructor(t={}){this.key=t.key??V.key,this.value=t.value??V.value,this.expires=t.expires??V.expires,this.maxAge=t.maxAge??V.maxAge,this.domain=t.domain??V.domain,this.path=t.path??V.path,this.secure=t.secure??V.secure,this.httpOnly=t.httpOnly??V.httpOnly,this.extensions=t.extensions??V.extensions,this.creation=t.creation??V.creation,this.hostOnly=t.hostOnly??V.hostOnly,this.pathIsDefault=t.pathIsDefault??V.pathIsDefault,this.lastAccessed=t.lastAccessed??V.lastAccessed,this.sameSite=t.sameSite??V.sameSite,this.creation=t.creation??new Date,Object.defineProperty(this,"creationIndex",{configurable:!1,enumerable:!1,writable:!0,value:++e.cookiesCreated}),this.creationIndex=e.cookiesCreated}[Symbol.for("nodejs.util.inspect.custom")](){const e=Date.now(),t=null!=this.hostOnly?this.hostOnly.toString():"?",i=this.creation&&"Infinity"!==this.creation?`${String(e-this.creation.getTime())}ms`:"?",n=this.lastAccessed&&"Infinity"!==this.lastAccessed?`${String(e-this.lastAccessed.getTime())}ms`:"?";return`Cookie="${this.toString()}; hostOnly=${t}; aAge=${n}; cAge=${i}"`}toJSON(){const t={};for(const i of e.serializableProperties){const e=this[i];if(e!==V[i])switch(i){case"key":case"value":case"sameSite":"string"==typeof e&&(t[i]=e);break;case"expires":case"creation":case"lastAccessed":"number"==typeof e||"string"==typeof e||e instanceof Date?t[i]="Infinity"==e?"Infinity":new Date(e).toISOString():null===e&&(t[i]=null);break;case"maxAge":"number"!=typeof e&&"Infinity"!==e&&"-Infinity"!==e||(t[i]=e);break;case"domain":case"path":"string"!=typeof e&&null!==e||(t[i]=e);break;case"secure":case"httpOnly":"boolean"==typeof e&&(t[i]=e);break;case"extensions":Array.isArray(e)&&(t[i]=e);break;case"hostOnly":case"pathIsDefault":"boolean"!=typeof e&&null!==e||(t[i]=e)}}return t}clone(){return Q(this.toJSON())}validate(){if(!this.value||!H.test(this.value))return!1;if(!("Infinity"==this.expires||this.expires instanceof Date||W(this.expires)))return!1;if(null!=this.maxAge&&"Infinity"!==this.maxAge&&("-Infinity"===this.maxAge||this.maxAge<=0))return!1;if(null!=this.path&&!q.test(this.path))return!1;const e=this.cdomain();if(e){if(e.match(/\.$/))return!1;if(null==r(e))return!1}return!0}setExpires(e){e instanceof Date?this.expires=e:this.expires=W(e)||"Infinity"}setMaxAge(e){this.maxAge=e===1/0?"Infinity":e===-1/0?"-Infinity":e}cookieString(){const e=this.value||"";return this.key?`${this.key}=${e}`:e}toString(){let t=this.cookieString();return"Infinity"!=this.expires&&this.expires instanceof Date&&(t+=`; Expires=${O(this.expires)}`),null!=this.maxAge&&this.maxAge!=1/0&&(t+=`; Max-Age=${String(this.maxAge)}`),this.domain&&!this.hostOnly&&(t+=`; Domain=${this.domain}`),this.path&&(t+=`; Path=${this.path}`),this.secure&&(t+="; Secure"),this.httpOnly&&(t+="; HttpOnly"),this.sameSite&&"none"!==this.sameSite&&(this.sameSite.toLowerCase()===e.sameSiteCanonical.lax.toLowerCase()?t+=`; SameSite=${e.sameSiteCanonical.lax}`:this.sameSite.toLowerCase()===e.sameSiteCanonical.strict.toLowerCase()?t+=`; SameSite=${e.sameSiteCanonical.strict}`:t+=`; SameSite=${this.sameSite}`),this.extensions&&this.extensions.forEach((e=>{t+=`; ${e}`})),t}TTL(e=Date.now()){if(null!=this.maxAge&&"number"==typeof this.maxAge)return this.maxAge<=0?0:1e3*this.maxAge;const t=this.expires;return"Infinity"===t?1/0:(t?.getTime()??e)-(e||Date.now())}expiryTime(e){if(null!=this.maxAge){const t=e||this.lastAccessed||new Date,i="number"==typeof this.maxAge?this.maxAge:-1/0,n=i<=0?-1/0:1e3*i;return"Infinity"===t?1/0:t.getTime()+n}return"Infinity"==this.expires?1/0:this.expires?this.expires.getTime():void 0}expiryDate(e){const t=this.expiryTime(e);return t==1/0?new Date(2147483647e3):t==-1/0?new Date(0):null==t?void 0:new Date(t)}isPersistent(){return null!=this.maxAge||"Infinity"!=this.expires}canonicalizedDomain(){return E(this.domain)}cdomain(){return E(this.domain)}static parse(e,t){return function(e,t){if(m(e)||!y(e))return;const i=(e=e.trim()).indexOf(";"),n=K(-1===i?e:e.slice(0,i),t?.loose??!1);if(!n)return;if(-1===i)return n;const o=e.slice(i+1).trim();if(0===o.length)return n;const r=o.split(";");for(;r.length;){const e=(r.shift()??"").trim();if(0===e.length)continue;const t=e.indexOf("=");let i,o;switch(-1===t?(i=e,o=null):(i=e.slice(0,t),o=e.slice(t+1)),i=i.trim().toLowerCase(),o&&(o=o.trim()),i){case"expires":if(o){const e=W(o);e&&(n.expires=e)}break;case"max-age":if(o&&/^-?[0-9]+$/.test(o)){const e=parseInt(o,10);n.setMaxAge(e)}break;case"domain":if(o){const e=o.trim().replace(/^\./,"");e&&(n.domain=e.toLowerCase())}break;case"path":n.path=o&&"/"===o[0]?o:null;break;case"secure":n.secure=!0;break;case"httponly":n.httpOnly=!0;break;case"samesite":switch(o?o.toLowerCase():""){case"strict":n.sameSite="strict";break;case"lax":n.sameSite="lax";break;case"none":n.sameSite="none";break;default:n.sameSite=void 0}break;default:n.extensions=n.extensions||[],n.extensions.push(e)}}return n}(e,t)}static fromJSON(e){return Q(e)}};X.cookiesCreated=0,X.sameSiteLevel={strict:3,lax:2,none:1},X.sameSiteCanonical={strict:"Strict",lax:"Lax"},X.serializableProperties=["key","value","expires","maxAge","domain","path","secure","httpOnly","extensions","hostOnly","pathIsDefault","creation","lastAccessed","sameSite"];var Y=X,ee=2147483647e3;function te(e,t){let i;const n=e.path?e.path.length:0;if(i=(t.path?t.path.length:0)-n,0!==i)return i;return i=(e.creation&&e.creation instanceof Date?e.creation.getTime():ee)-(t.creation&&t.creation instanceof Date?t.creation.getTime():ee),0!==i||(i=(e.creationIndex||0)-(t.creationIndex||0)),i}function ie(e){if(!e||"/"!==e.slice(0,1))return"/";if("/"===e)return e;const t=e.lastIndexOf("/");return 0===t?"/":e.slice(0,t)}var ne=/(?:^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$)|(?:^(?:(?:[a-f\d]{1,4}:){7}(?:[a-f\d]{1,4}|:)|(?:[a-f\d]{1,4}:){6}(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|:[a-f\d]{1,4}|:)|(?:[a-f\d]{1,4}:){5}(?::(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,2}|:)|(?:[a-f\d]{1,4}:){4}(?:(?::[a-f\d]{1,4}){0,1}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,3}|:)|(?:[a-f\d]{1,4}:){3}(?:(?::[a-f\d]{1,4}){0,2}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,4}|:)|(?:[a-f\d]{1,4}:){2}(?:(?::[a-f\d]{1,4}){0,3}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,5}|:)|(?:[a-f\d]{1,4}:){1}(?:(?::[a-f\d]{1,4}){0,4}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,6}|:)|(?::(?:(?::[a-f\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,7}|:)))$)/;function oe(e,t,i){if(null==e||null==t)return;let n,o;if(n=e,o=t,null==n||null==o)return;if(n==o)return!0;const r=n.lastIndexOf(o);return!(r<=0)&&(n.length===o.length+r&&("."===n.substring(r-1,r)&&!ne.test(n)))}function re(e,t=!0){let i;if("string"==typeof e)try{i=new URL(e)}catch{return!1}else i=e;const n=i.protocol.replace(":","").toLowerCase(),o=(r=i.hostname,r.length>=2&&r.startsWith("[")&&r.endsWith("]")?r.substring(1,r.length-1):r).replace(/\.+$/,"");var r;return"https"===n||"wss"===n||!!t&&(w.test(o)?function(e){const t=e.split(".");return 4===t.length&&void 0!==t[0]&&127===parseInt(t[0],10)}(o):b.test(o)?"::1"===o:function(e){const t=e.toLowerCase();return"localhost"===t||function(e){return e.endsWith(".localhost")}(t)}(o))}var se={loose:!1,sameSiteContext:void 0,ignoreError:!1,http:!0},ae={http:!0,expire:!0,allPaths:!1,sameSiteContext:void 0,sort:void 0},ce='Invalid sameSiteContext option for getCookies(); expected one of "strict", "lax", or "none"';function le(e){if(e&&"object"==typeof e&&"hostname"in e&&"string"==typeof e.hostname&&"pathname"in e&&"string"==typeof e.pathname&&"protocol"in e&&"string"==typeof e.protocol)return{hostname:e.hostname,pathname:e.pathname,protocol:e.protocol};if("string"!=typeof e)throw new g("`url` argument is not a string or URL.");try{return new URL(decodeURI(e))}catch{return new URL(e)}}function ue(e){const t=String(e).toLowerCase();return"none"===t||"lax"===t||"strict"===t?t:void 0}function de(e){const t=e.toLowerCase();switch(t){case v.STRICT:case v.SILENT:case v.DISABLED:return t;default:return v.SILENT}}
2
2
  /*!
3
3
  * Copyright (c) 2015-2020, Salesforce.com, Inc.
4
4
  * All rights reserved.
@@ -1,4 +1,4 @@
1
- import{getDomain as e}from"../../../../tldts@7.0.22/node_modules/tldts/dist/es6/index.js";function t(e,t){if(t===e)return!0;if(0===e.indexOf(t)){if("/"===t[t.length-1])return!0;if(e.startsWith(t)&&"/"===e[t.length])return!0}return!1}var i=["local","example","invalid","localhost","test"],n=["localhost","invalid"],o={allowSpecialUseDomain:!1,ignoreError:!1};function r(t,r={}){r={...o,...r};const s=t.split("."),a=s[s.length-1],c=!!r.allowSpecialUseDomain,l=!!r.ignoreError;if(c&&void 0!==a&&i.includes(a)){if(s.length>1){return`${s[s.length-2]}.${a}`}if(n.includes(a))return a}if(!l&&void 0!==a&&i.includes(a))throw new Error(`Cookie has domain set to the public suffix "${a}" which is a special use domain. To allow this, configure your CookieJar with {allowSpecialUseDomain: true, rejectPublicSuffixes: false}.`);const u=e(t,{allowIcannDomains:!0,allowPrivateDomains:!0});if(u)return u}function s(e,t){const i=r(e,{allowSpecialUseDomain:t});if(!i)return;if(i==e)return[e];"."==e.slice(-1)&&(e=e.slice(0,-1));const n=e.slice(0,-(i.length+1)).split(".").reverse();let o=i;const s=[o];for(;n.length;){o=`${n.shift()}.${o}`,s.push(o)}return s}var a=class{constructor(){this.synchronous=!1}findCookie(e,t,i,n){throw new Error("findCookie is not implemented")}findCookies(e,t,i=!1,n){throw new Error("findCookies is not implemented")}putCookie(e,t){throw new Error("putCookie is not implemented")}updateCookie(e,t,i){throw new Error("updateCookie is not implemented")}removeCookie(e,t,i,n){throw new Error("removeCookie is not implemented")}removeCookies(e,t,i){throw new Error("removeCookies is not implemented")}removeAllCookies(e){throw new Error("removeAllCookies is not implemented")}getAllCookies(e){throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)")}},c=e=>Object.prototype.toString.call(e),l=(e,t=new WeakSet)=>"object"!=typeof e||null===e?String(e):"function"==typeof e.toString?Array.isArray(e)?((e,t)=>"function"!=typeof e.join?c(e):(t.add(e),e.map((e=>null==e||t.has(e)?"":l(e,t))).join()))(e,t):String(e):c(e),u=e=>l(e);function d(e){let t,i,n;const o=new Promise(((e,t)=>{i=e,n=t}));return t="function"==typeof e?(t,i)=>{try{t?e(t):e(null,i)}catch(e){n(e instanceof Error?e:new Error)}}:(e,t)=>{try{e?n(e):i(t)}catch(e){n(e instanceof Error?e:new Error)}},{promise:o,callback:t,resolve:e=>(t(null,e),o),reject:e=>(t(e),o)}}function f(e,t){return e in t}var h=class extends a{constructor(){super(),this.synchronous=!0,this.idx=Object.create(null)}findCookie(e,t,i,n){const o=d(n);if(null==e||null==t||null==i)return o.resolve(void 0);const r=this.idx[e]?.[t]?.[i];return o.resolve(r)}findCookies(e,i,n=!1,o){"function"==typeof n&&(o=n,n=!0);const r=[],a=d(o);if(!e)return a.resolve([]);let c;c=i?function(e){for(const n in e)if(t(i,n)){const t=e[n];for(const e in t){const i=t[e];i&&r.push(i)}}}:function(e){for(const t in e){const i=e[t];for(const e in i){const t=i[e];t&&r.push(t)}}};const l=s(e,n)||[e],u=this.idx;return l.forEach((e=>{const t=u[e];t&&c(t)})),a.resolve(r)}putCookie(e,t){const i=d(t),{domain:n,path:o,key:r}=e;if(null==n||null==o||null==r)return i.resolve(void 0);const s=this.idx[n]??Object.create(null);this.idx[n]=s;const a=s[o]??Object.create(null);return s[o]=a,a[r]=e,i.resolve(void 0)}updateCookie(e,t,i){if(!i)return this.putCookie(t);this.putCookie(t,i)}removeCookie(e,t,i,n){const o=d(n);return delete this.idx[e]?.[t]?.[i],o.resolve(void 0)}removeCookies(e,t,i){const n=d(i),o=this.idx[e];return o&&(t?delete o[t]:delete this.idx[e]),n.resolve(void 0)}removeAllCookies(e){const t=d(e);return this.idx=Object.create(null),t.resolve(void 0)}getAllCookies(e){const t=d(e),i=[],n=this.idx;return Object.keys(n).forEach((e=>{const t=n[e]??{};Object.keys(t).forEach((e=>{const n=t[e]??{};Object.keys(n).forEach((e=>{const t=n[e];null!=t&&i.push(t)}))}))})),i.sort(((e,t)=>(e.creationIndex||0)-(t.creationIndex||0))),t.resolve(i)}};function p(e){return y(e)&&""!==e}function m(e){return""===e||e instanceof String&&""===e.toString()}function y(e){return"string"==typeof e||e instanceof String}function x(e){return"[object Object]"===c(e)}function g(e,t,i){if(e)return;const n="function"==typeof t?t:void 0;let o="function"==typeof t?i:t;x(o)||(o="[object Object]");const r=new S(u(o));if(!n)throw r;n(r)}var S=class extends Error{},k="6.0.0",v={SILENT:"silent",STRICT:"strict",DISABLED:"unsafe-disabled"};Object.freeze(v);var C="\n\\[?(?:\n(?:[a-fA-F\\d]{1,4}:){7}(?:[a-fA-F\\d]{1,4}|:)|\n(?:[a-fA-F\\d]{1,4}:){6}(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|:[a-fA-F\\d]{1,4}|:)|\n(?:[a-fA-F\\d]{1,4}:){5}(?::(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,2}|:)|\n(?:[a-fA-F\\d]{1,4}:){4}(?:(?::[a-fA-F\\d]{1,4}){0,1}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,3}|:)|\n(?:[a-fA-F\\d]{1,4}:){3}(?:(?::[a-fA-F\\d]{1,4}){0,2}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,4}|:)|\n(?:[a-fA-F\\d]{1,4}:){2}(?:(?::[a-fA-F\\d]{1,4}){0,3}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,5}|:)|\n(?:[a-fA-F\\d]{1,4}:){1}(?:(?::[a-fA-F\\d]{1,4}){0,4}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,6}|:)|\n(?::(?:(?::[a-fA-F\\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,7}|:))\n)(?:%[0-9a-zA-Z]{1,})?\\]?\n".replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),w=new RegExp(`^${C}$`),b=new RegExp("^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$");function A(e){return new URL(`http://${e}`).hostname}function E(e){if(null==e)return;let t=e.trim().replace(/^\./,"");return w.test(t)?(t.startsWith("[")||(t="["+t),t.endsWith("]")||(t+="]"),A(t).slice(1,-1)):/[^\u0001-\u007f]/.test(t)?A(t):t.toLowerCase()}function O(e){return e.toUTCString()}var I=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/,j=0,D=1,L=2,$=3,P=4,T=5,U=6,F=7,z=8,_=9,N=10,J=11;function M(e,t,i,n){let o=0;for(;o<e.length;){const t=e.charCodeAt(o);if(t<=47||t>=58)break;o++}if(!(o<t||o>i)&&(n||o==e.length))return parseInt(e.slice(0,o),10)}function R(e){const t=e.split(":"),i=[0,0,0];if(3===t.length){for(let e=0;e<3;e++){const n=2==e,o=t[e];if(void 0===o)return;const r=M(o,1,2,n);if(void 0===r)return;i[e]=r}return i}}function B(e){switch(e=String(e).slice(0,3).toLowerCase()){case"jan":return j;case"feb":return D;case"mar":return L;case"apr":return $;case"may":return P;case"jun":return T;case"jul":return U;case"aug":return F;case"sep":return z;case"oct":return _;case"nov":return N;case"dec":return J;default:return}}function W(e){if(!e)return;const t=e.split(I);let i,n,o,r,s,a;for(let e=0;e<t.length;e++){const c=(t[e]??"").trim();if(c.length){if(void 0===o){const e=R(c);if(e){i=e[0],n=e[1],o=e[2];continue}}if(void 0===r){const e=M(c,1,2,!0);if(void 0!==e){r=e;continue}}if(void 0===s){const e=B(c);if(void 0!==e){s=e;continue}}if(void 0===a){const e=M(c,2,4,!0);void 0!==e&&(a=e,a>=70&&a<=99?a+=1900:a>=0&&a<=69&&(a+=2e3))}}}return void 0===r||void 0===s||void 0===a||void 0===i||void 0===n||void 0===o||r<1||r>31||a<1601||i>23||n>59||o>59?void 0:new Date(Date.UTC(a,s,r,i,n,o))}var H=/^[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]+$/,q=/[\x20-\x3A\x3C-\x7E]+/,Z=/[\x00-\x1F]/,G=["\n","\r","\0"];function K(e,t){let i,n,o=(e=function(e){if(m(e))return e;for(let t=0;t<G.length;t++){const i=G[t],n=i?e.indexOf(i):-1;-1!==n&&(e=e.slice(0,n))}return e}(e)).indexOf("=");if(t)0===o&&(o=(e=e.substring(1)).indexOf("="));else if(o<=0)return;if(o<=0?(i="",n=e.trim()):(i=e.slice(0,o).trim(),n=e.slice(o+1).trim()),Z.test(i)||Z.test(n))return;const r=new Y;return r.key=i,r.value=n,r}function Q(e){if(!e||m(e))return;let t;if("string"==typeof e)try{t=JSON.parse(e)}catch{return}else t=e;const i=new Y;return Y.serializableProperties.forEach((e=>{if(t&&"object"==typeof t&&f(e,t)){const n=t[e];if(void 0===n)return;if(f(e,V)&&n===V[e])return;switch(e){case"key":case"value":case"sameSite":"string"==typeof n&&(i[e]=n);break;case"expires":case"creation":case"lastAccessed":"number"==typeof n||"string"==typeof n||n instanceof Date?i[e]="Infinity"==t[e]?"Infinity":new Date(n):null===n&&(i[e]=null);break;case"maxAge":"number"!=typeof n&&"Infinity"!==n&&"-Infinity"!==n||(i[e]=n);break;case"domain":case"path":"string"!=typeof n&&null!==n||(i[e]=n);break;case"secure":case"httpOnly":"boolean"==typeof n&&(i[e]=n);break;case"extensions":Array.isArray(n)&&n.every((e=>"string"==typeof e))&&(i[e]=n);break;case"hostOnly":case"pathIsDefault":"boolean"!=typeof n&&null!==n||(i[e]=n)}}})),i}var V={key:"",value:"",expires:"Infinity",maxAge:null,domain:null,path:null,secure:!1,httpOnly:!1,extensions:null,hostOnly:null,pathIsDefault:null,creation:null,lastAccessed:null,sameSite:void 0},X=class e{constructor(t={}){this.key=t.key??V.key,this.value=t.value??V.value,this.expires=t.expires??V.expires,this.maxAge=t.maxAge??V.maxAge,this.domain=t.domain??V.domain,this.path=t.path??V.path,this.secure=t.secure??V.secure,this.httpOnly=t.httpOnly??V.httpOnly,this.extensions=t.extensions??V.extensions,this.creation=t.creation??V.creation,this.hostOnly=t.hostOnly??V.hostOnly,this.pathIsDefault=t.pathIsDefault??V.pathIsDefault,this.lastAccessed=t.lastAccessed??V.lastAccessed,this.sameSite=t.sameSite??V.sameSite,this.creation=t.creation??new Date,Object.defineProperty(this,"creationIndex",{configurable:!1,enumerable:!1,writable:!0,value:++e.cookiesCreated}),this.creationIndex=e.cookiesCreated}[Symbol.for("nodejs.util.inspect.custom")](){const e=Date.now(),t=null!=this.hostOnly?this.hostOnly.toString():"?",i=this.creation&&"Infinity"!==this.creation?`${String(e-this.creation.getTime())}ms`:"?",n=this.lastAccessed&&"Infinity"!==this.lastAccessed?`${String(e-this.lastAccessed.getTime())}ms`:"?";return`Cookie="${this.toString()}; hostOnly=${t}; aAge=${n}; cAge=${i}"`}toJSON(){const t={};for(const i of e.serializableProperties){const e=this[i];if(e!==V[i])switch(i){case"key":case"value":case"sameSite":"string"==typeof e&&(t[i]=e);break;case"expires":case"creation":case"lastAccessed":"number"==typeof e||"string"==typeof e||e instanceof Date?t[i]="Infinity"==e?"Infinity":new Date(e).toISOString():null===e&&(t[i]=null);break;case"maxAge":"number"!=typeof e&&"Infinity"!==e&&"-Infinity"!==e||(t[i]=e);break;case"domain":case"path":"string"!=typeof e&&null!==e||(t[i]=e);break;case"secure":case"httpOnly":"boolean"==typeof e&&(t[i]=e);break;case"extensions":Array.isArray(e)&&(t[i]=e);break;case"hostOnly":case"pathIsDefault":"boolean"!=typeof e&&null!==e||(t[i]=e)}}return t}clone(){return Q(this.toJSON())}validate(){if(!this.value||!H.test(this.value))return!1;if(!("Infinity"==this.expires||this.expires instanceof Date||W(this.expires)))return!1;if(null!=this.maxAge&&"Infinity"!==this.maxAge&&("-Infinity"===this.maxAge||this.maxAge<=0))return!1;if(null!=this.path&&!q.test(this.path))return!1;const e=this.cdomain();if(e){if(e.match(/\.$/))return!1;if(null==r(e))return!1}return!0}setExpires(e){e instanceof Date?this.expires=e:this.expires=W(e)||"Infinity"}setMaxAge(e){this.maxAge=e===1/0?"Infinity":e===-1/0?"-Infinity":e}cookieString(){const e=this.value||"";return this.key?`${this.key}=${e}`:e}toString(){let t=this.cookieString();return"Infinity"!=this.expires&&this.expires instanceof Date&&(t+=`; Expires=${O(this.expires)}`),null!=this.maxAge&&this.maxAge!=1/0&&(t+=`; Max-Age=${String(this.maxAge)}`),this.domain&&!this.hostOnly&&(t+=`; Domain=${this.domain}`),this.path&&(t+=`; Path=${this.path}`),this.secure&&(t+="; Secure"),this.httpOnly&&(t+="; HttpOnly"),this.sameSite&&"none"!==this.sameSite&&(this.sameSite.toLowerCase()===e.sameSiteCanonical.lax.toLowerCase()?t+=`; SameSite=${e.sameSiteCanonical.lax}`:this.sameSite.toLowerCase()===e.sameSiteCanonical.strict.toLowerCase()?t+=`; SameSite=${e.sameSiteCanonical.strict}`:t+=`; SameSite=${this.sameSite}`),this.extensions&&this.extensions.forEach((e=>{t+=`; ${e}`})),t}TTL(e=Date.now()){if(null!=this.maxAge&&"number"==typeof this.maxAge)return this.maxAge<=0?0:1e3*this.maxAge;const t=this.expires;return"Infinity"===t?1/0:(t?.getTime()??e)-(e||Date.now())}expiryTime(e){if(null!=this.maxAge){const t=e||this.lastAccessed||new Date,i="number"==typeof this.maxAge?this.maxAge:-1/0,n=i<=0?-1/0:1e3*i;return"Infinity"===t?1/0:t.getTime()+n}return"Infinity"==this.expires?1/0:this.expires?this.expires.getTime():void 0}expiryDate(e){const t=this.expiryTime(e);return t==1/0?new Date(2147483647e3):t==-1/0?new Date(0):null==t?void 0:new Date(t)}isPersistent(){return null!=this.maxAge||"Infinity"!=this.expires}canonicalizedDomain(){return E(this.domain)}cdomain(){return E(this.domain)}static parse(e,t){return function(e,t){if(m(e)||!y(e))return;const i=(e=e.trim()).indexOf(";"),n=K(-1===i?e:e.slice(0,i),t?.loose??!1);if(!n)return;if(-1===i)return n;const o=e.slice(i+1).trim();if(0===o.length)return n;const r=o.split(";");for(;r.length;){const e=(r.shift()??"").trim();if(0===e.length)continue;const t=e.indexOf("=");let i,o;switch(-1===t?(i=e,o=null):(i=e.slice(0,t),o=e.slice(t+1)),i=i.trim().toLowerCase(),o&&(o=o.trim()),i){case"expires":if(o){const e=W(o);e&&(n.expires=e)}break;case"max-age":if(o&&/^-?[0-9]+$/.test(o)){const e=parseInt(o,10);n.setMaxAge(e)}break;case"domain":if(o){const e=o.trim().replace(/^\./,"");e&&(n.domain=e.toLowerCase())}break;case"path":n.path=o&&"/"===o[0]?o:null;break;case"secure":n.secure=!0;break;case"httponly":n.httpOnly=!0;break;case"samesite":switch(o?o.toLowerCase():""){case"strict":n.sameSite="strict";break;case"lax":n.sameSite="lax";break;case"none":n.sameSite="none";break;default:n.sameSite=void 0}break;default:n.extensions=n.extensions||[],n.extensions.push(e)}}return n}(e,t)}static fromJSON(e){return Q(e)}};X.cookiesCreated=0,X.sameSiteLevel={strict:3,lax:2,none:1},X.sameSiteCanonical={strict:"Strict",lax:"Lax"},X.serializableProperties=["key","value","expires","maxAge","domain","path","secure","httpOnly","extensions","hostOnly","pathIsDefault","creation","lastAccessed","sameSite"];var Y=X,ee=2147483647e3;function te(e,t){let i;const n=e.path?e.path.length:0;if(i=(t.path?t.path.length:0)-n,0!==i)return i;return i=(e.creation&&e.creation instanceof Date?e.creation.getTime():ee)-(t.creation&&t.creation instanceof Date?t.creation.getTime():ee),0!==i||(i=(e.creationIndex||0)-(t.creationIndex||0)),i}function ie(e){if(!e||"/"!==e.slice(0,1))return"/";if("/"===e)return e;const t=e.lastIndexOf("/");return 0===t?"/":e.slice(0,t)}var ne=/(?:^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$)|(?:^(?:(?:[a-f\d]{1,4}:){7}(?:[a-f\d]{1,4}|:)|(?:[a-f\d]{1,4}:){6}(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|:[a-f\d]{1,4}|:)|(?:[a-f\d]{1,4}:){5}(?::(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,2}|:)|(?:[a-f\d]{1,4}:){4}(?:(?::[a-f\d]{1,4}){0,1}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,3}|:)|(?:[a-f\d]{1,4}:){3}(?:(?::[a-f\d]{1,4}){0,2}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,4}|:)|(?:[a-f\d]{1,4}:){2}(?:(?::[a-f\d]{1,4}){0,3}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,5}|:)|(?:[a-f\d]{1,4}:){1}(?:(?::[a-f\d]{1,4}){0,4}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,6}|:)|(?::(?:(?::[a-f\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,7}|:)))$)/;function oe(e,t,i){if(null==e||null==t)return;let n,o;if(n=e,o=t,null==n||null==o)return;if(n==o)return!0;const r=n.lastIndexOf(o);return!(r<=0)&&(n.length===o.length+r&&("."===n.substring(r-1,r)&&!ne.test(n)))}function re(e,t=!0){let i;if("string"==typeof e)try{i=new URL(e)}catch{return!1}else i=e;const n=i.protocol.replace(":","").toLowerCase(),o=(r=i.hostname,r.length>=2&&r.startsWith("[")&&r.endsWith("]")?r.substring(1,r.length-1):r).replace(/\.+$/,"");var r;return"https"===n||"wss"===n||!!t&&(b.test(o)?function(e){const t=e.split(".");return 4===t.length&&void 0!==t[0]&&127===parseInt(t[0],10)}(o):w.test(o)?"::1"===o:function(e){const t=e.toLowerCase();return"localhost"===t||function(e){return e.endsWith(".localhost")}(t)}(o))}var se={loose:!1,sameSiteContext:void 0,ignoreError:!1,http:!0},ae={http:!0,expire:!0,allPaths:!1,sameSiteContext:void 0,sort:void 0},ce='Invalid sameSiteContext option for getCookies(); expected one of "strict", "lax", or "none"';function le(e){if(e&&"object"==typeof e&&"hostname"in e&&"string"==typeof e.hostname&&"pathname"in e&&"string"==typeof e.pathname&&"protocol"in e&&"string"==typeof e.protocol)return{hostname:e.hostname,pathname:e.pathname,protocol:e.protocol};if("string"!=typeof e)throw new S("`url` argument is not a string or URL.");try{return new URL(decodeURI(e))}catch{return new URL(e)}}function ue(e){const t=String(e).toLowerCase();return"none"===t||"lax"===t||"strict"===t?t:void 0}function de(e){const t=e.toLowerCase();switch(t){case v.STRICT:case v.SILENT:case v.DISABLED:return t;default:return v.SILENT}}var fe=class e{constructor(e,t){"boolean"==typeof t&&(t={rejectPublicSuffixes:t}),this.rejectPublicSuffixes=t?.rejectPublicSuffixes??!0,this.enableLooseMode=t?.looseMode??!1,this.allowSpecialUseDomain=t?.allowSpecialUseDomain??!0,this.allowSecureOnLocal=t?.allowSecureOnLocal??!0,this.prefixSecurity=de(t?.prefixSecurity??"silent"),this.store=e??new h}callSync(e){if(!this.store.synchronous)throw new Error("CookieJar store is not synchronous; use async API instead.");let t,i=null;try{e.call(this,((e,n)=>{i=e,t=n}))}catch(e){i=e}if(i)throw i;return t}setCookie(e,t,i,n){"function"==typeof i&&(n=i,i=void 0);const o=d(n),s=o.callback;let a;try{if("string"==typeof t&&g(p(t),n,u(i)),a=le(t),"function"==typeof t)return o.reject(new Error("No URL was specified"));if("function"==typeof i&&(i=se),g("function"==typeof s,s),!p(e)&&!x(e)&&e instanceof String&&0==e.length)return o.resolve(void 0)}catch(e){return o.reject(e)}const c=E(a.hostname)??null,l=i?.loose||this.enableLooseMode;let f=null;if(i?.sameSiteContext&&(f=ue(i.sameSiteContext),!f))return o.reject(new Error(ce));if("string"==typeof e||e instanceof String){const t=Y.parse(e.toString(),{loose:l});if(!t){const e=new Error("Cookie failed to parse");return i?.ignoreError?o.resolve(void 0):o.reject(e)}e=t}else if(!(e instanceof Y)){const e=new Error("First argument to setCookie must be a Cookie object or string");return i?.ignoreError?o.resolve(void 0):o.reject(e)}const h=i?.now||new Date;if(this.rejectPublicSuffixes&&e.domain)try{const t=e.cdomain();if(null==("string"==typeof t?r(t,{allowSpecialUseDomain:this.allowSpecialUseDomain,ignoreError:i?.ignoreError}):null)&&!w.test(e.domain)){const e=new Error("Cookie has domain set to a public suffix");return i?.ignoreError?o.resolve(void 0):o.reject(e)}}catch(e){return i?.ignoreError?o.resolve(void 0):o.reject(e)}if(e.domain){if(!oe(c??void 0,e.cdomain()??void 0)){const t=new Error(`Cookie not in this host's domain. Cookie:${e.cdomain()??"null"} Request:${c??"null"}`);return i?.ignoreError?o.resolve(void 0):o.reject(t)}null==e.hostOnly&&(e.hostOnly=!1)}else e.hostOnly=!0,e.domain=c;if(e.path&&"/"===e.path[0]||(e.path=ie(a.pathname),e.pathIsDefault=!0),!1===i?.http&&e.httpOnly){const e=new Error("Cookie is HttpOnly and this isn't an HTTP API");return i.ignoreError?o.resolve(void 0):o.reject(e)}if("none"!==e.sameSite&&void 0!==e.sameSite&&f&&"none"===f){const e=new Error("Cookie is SameSite but this is a cross-origin request");return i?.ignoreError?o.resolve(void 0):o.reject(e)}const m=this.prefixSecurity===v.SILENT;if(!(this.prefixSecurity===v.DISABLED)){let t,n=!1;if(!function(e){return!("string"==typeof e.key&&e.key.startsWith("__Secure-"))||e.secure}(e)?(n=!0,t="Cookie has __Secure prefix but Secure attribute is not set"):function(e){return!("string"==typeof e.key&&e.key.startsWith("__Host-"))||Boolean(e.secure&&e.hostOnly&&null!=e.path&&"/"===e.path)}(e)||(n=!0,t="Cookie has __Host prefix but either Secure or HostOnly attribute is not set or Path is not '/'"),n)return i?.ignoreError||m?o.resolve(void 0):o.reject(new Error(t))}const y=this.store;y.updateCookie||(y.updateCookie=async function(e,t,i){return this.putCookie(t).then((()=>i?.(null)),(e=>i?.(e)))});return y.findCookie(e.domain,e.path,e.key,(function(t,n){if(t)return void s(t);const o=function(t){t?s(t):s(null,"string"==typeof e?void 0:e)};if(n){if(i&&"http"in i&&!1===i.http&&n.httpOnly)return t=new Error("old Cookie is HttpOnly and this isn't an HTTP API"),void(i.ignoreError?s(null,void 0):s(t));e instanceof Y&&(e.creation=n.creation,e.creationIndex=n.creationIndex,e.lastAccessed=h,y.updateCookie(n,e,o))}else e instanceof Y&&(e.creation=e.lastAccessed=h,y.putCookie(e,o))})),o.promise}setCookieSync(e,t,i){const n=i?this.setCookie.bind(this,e,t,i):this.setCookie.bind(this,e,t);return this.callSync(n)}getCookies(e,i,n){"function"==typeof i?(n=i,i=ae):void 0===i&&(i=ae);const o=d(n),r=o.callback;let s;try{"string"==typeof e&&g(p(e),r,e),s=le(e),g(x(i),r,u(i)),g("function"==typeof r,r)}catch(e){return o.reject(e)}const a=E(s.hostname),c=s.pathname||"/",l=re(e,this.allowSecureOnLocal);let f=0;if(i.sameSiteContext){const e=ue(i.sameSiteContext);if(null==e)return o.reject(new Error(ce));if(f=Y.sameSiteLevel[e],!f)return o.reject(new Error(ce))}const h=i.http??!0,m=Date.now(),y=i.expire??!0,S=i.allPaths??!1,k=this.store;function v(e){if(e.hostOnly){if(e.domain!=a)return!1}else if(!oe(a??void 0,e.domain??void 0))return!1;if(!S&&"string"==typeof e.path&&!t(c,e.path))return!1;if(e.secure&&!l)return!1;if(e.httpOnly&&!h)return!1;if(f){let t;if(t="lax"===e.sameSite?Y.sameSiteLevel.lax:"strict"===e.sameSite?Y.sameSiteLevel.strict:Y.sameSiteLevel.none,t>f)return!1}const i=e.expiryTime();return!(y&&null!=i&&i<=m)||(k.removeCookie(e.domain,e.path,e.key,(()=>{})),!1)}return k.findCookies(a,S?null:c,this.allowSpecialUseDomain,((e,t)=>{if(e)return void r(e);if(null==t)return void r(null,[]);t=t.filter(v),"sort"in i&&!1!==i.sort&&(t=t.sort(te));const n=new Date;for(const e of t)e.lastAccessed=n;r(null,t)})),o.promise}getCookiesSync(e,t){return this.callSync(this.getCookies.bind(this,e,t))??[]}getCookieString(e,t,i){"function"==typeof t&&(i=t,t=void 0);const n=d(i);return this.getCookies(e,t,(function(e,t){e?n.callback(e):n.callback(null,t?.sort(te).map((e=>e.cookieString())).join("; "))})),n.promise}getCookieStringSync(e,t){return this.callSync(t?this.getCookieString.bind(this,e,t):this.getCookieString.bind(this,e))??""}getSetCookieStrings(e,t,i){"function"==typeof t&&(i=t,t=void 0);const n=d(i);return this.getCookies(e,t,(function(e,t){e?n.callback(e):n.callback(null,t?.map((e=>e.toString())))})),n.promise}getSetCookieStringsSync(e,t={}){return this.callSync(this.getSetCookieStrings.bind(this,e,t))??[]}serialize(e){const t=d(e);let i=this.store.constructor.name;x(i)&&(i=null);const n={version:`tough-cookie@${k}`,storeType:i,rejectPublicSuffixes:this.rejectPublicSuffixes,enableLooseMode:this.enableLooseMode,allowSpecialUseDomain:this.allowSpecialUseDomain,prefixSecurity:de(this.prefixSecurity),cookies:[]};return"function"!=typeof this.store.getAllCookies?t.reject(new Error("store does not support getAllCookies and cannot be serialized")):(this.store.getAllCookies(((e,i)=>{e?t.callback(e):null!=i?(n.cookies=i.map((e=>{const t=e.toJSON();return delete t.creationIndex,t})),t.callback(null,n)):t.callback(null,n)})),t.promise)}serializeSync(){return this.callSync((e=>{this.serialize(e)}))}toJSON(){return this.serializeSync()}_importCookies(e,t){let i;if(e&&"object"==typeof e&&f("cookies",e)&&Array.isArray(e.cookies)&&(i=e.cookies),!i)return void t(new Error("serialized jar has no cookies array"),void 0);i=i.slice();const n=e=>{if(e)t(e,void 0);else if(Array.isArray(i)){if(!i.length)return void t(e,this);let o;try{o=Y.fromJSON(i.shift())}catch(e){return void t(e instanceof Error?e:new Error,void 0)}if(void 0===o)return void n(null);this.store.putCookie(o,n)}};n(null)}_importCookiesSync(e){this.callSync(this._importCookies.bind(this,e))}clone(t,i){"function"==typeof t&&(i=t,t=void 0);const n=d(i),o=n.callback;return this.serialize(((i,r)=>i?n.reject(i):e.deserialize(r??"",t,o))),n.promise}_cloneSync(e){const t=e&&"function"!=typeof e?this.clone.bind(this,e):this.clone.bind(this);return this.callSync((e=>{t(e)}))}cloneSync(e){if(!e)return this._cloneSync();if(!e.synchronous)throw new Error("CookieJar clone destination store is not synchronous; use async API instead.");return this._cloneSync(e)}removeAllCookies(e){const t=d(e),i=t.callback,n=this.store;return"function"==typeof n.removeAllCookies&&n.removeAllCookies!==a.prototype.removeAllCookies?(n.removeAllCookies(i),t.promise):(n.getAllCookies(((e,t)=>{if(e)return void i(e);if(t||(t=[]),0===t.length)return void i(null,void 0);let o=0;const r=[],s=function(e){e&&r.push(e),o++,o!==t.length||(r[0]?i(r[0]):i(null,void 0))};t.forEach((e=>{n.removeCookie(e.domain,e.path,e.key,s)}))})),t.promise)}removeAllCookiesSync(){this.callSync((e=>{this.removeAllCookies(e)}))}static deserialize(t,i,n){"function"==typeof i&&(n=i,i=void 0);const o=d(n);let r;if("string"==typeof t)try{r=JSON.parse(t)}catch(e){return o.reject(e instanceof Error?e:new Error)}else r=t;const s=e=>r&&"object"==typeof r&&f(e,r)?r[e]:void 0,a=e=>{const t=s(e);return"boolean"==typeof t?t:void 0},c=new e(i,{rejectPublicSuffixes:a("rejectPublicSuffixes"),looseMode:a("enableLooseMode"),allowSpecialUseDomain:a("allowSpecialUseDomain"),prefixSecurity:de((e=>{const t=s(e);return"string"==typeof t?t:void 0})("prefixSecurity")??"silent")});return c._importCookies(r,(e=>{e?o.callback(e):o.callback(null,c)})),o.promise}static deserializeSync(t,i){const n="string"==typeof t?JSON.parse(t):t,o=e=>n&&"object"==typeof n&&f(e,n)?n[e]:void 0,r=e=>{const t=o(e);return"boolean"==typeof t?t:void 0},s=new e(i,{rejectPublicSuffixes:r("rejectPublicSuffixes"),looseMode:r("enableLooseMode"),allowSpecialUseDomain:r("allowSpecialUseDomain"),prefixSecurity:de((e=>{const t=o(e);return"string"==typeof t?t:void 0})("prefixSecurity")??"silent")});if(!s.store.synchronous)throw new Error("CookieJar store is not synchronous; use async API instead.");return s._importCookiesSync(n),s}static fromJSON(t,i){return e.deserializeSync(t,i)}};
1
+ import{getDomain as e}from"../../../../tldts@7.0.23/node_modules/tldts/dist/es6/index.js";function t(e,t){if(t===e)return!0;if(0===e.indexOf(t)){if("/"===t[t.length-1])return!0;if(e.startsWith(t)&&"/"===e[t.length])return!0}return!1}var i=["local","example","invalid","localhost","test"],n=["localhost","invalid"],o={allowSpecialUseDomain:!1,ignoreError:!1};function r(t,r={}){r={...o,...r};const s=t.split("."),a=s[s.length-1],c=!!r.allowSpecialUseDomain,l=!!r.ignoreError;if(c&&void 0!==a&&i.includes(a)){if(s.length>1){return`${s[s.length-2]}.${a}`}if(n.includes(a))return a}if(!l&&void 0!==a&&i.includes(a))throw new Error(`Cookie has domain set to the public suffix "${a}" which is a special use domain. To allow this, configure your CookieJar with {allowSpecialUseDomain: true, rejectPublicSuffixes: false}.`);const u=e(t,{allowIcannDomains:!0,allowPrivateDomains:!0});if(u)return u}function s(e,t){const i=r(e,{allowSpecialUseDomain:t});if(!i)return;if(i==e)return[e];"."==e.slice(-1)&&(e=e.slice(0,-1));const n=e.slice(0,-(i.length+1)).split(".").reverse();let o=i;const s=[o];for(;n.length;){o=`${n.shift()}.${o}`,s.push(o)}return s}var a=class{constructor(){this.synchronous=!1}findCookie(e,t,i,n){throw new Error("findCookie is not implemented")}findCookies(e,t,i=!1,n){throw new Error("findCookies is not implemented")}putCookie(e,t){throw new Error("putCookie is not implemented")}updateCookie(e,t,i){throw new Error("updateCookie is not implemented")}removeCookie(e,t,i,n){throw new Error("removeCookie is not implemented")}removeCookies(e,t,i){throw new Error("removeCookies is not implemented")}removeAllCookies(e){throw new Error("removeAllCookies is not implemented")}getAllCookies(e){throw new Error("getAllCookies is not implemented (therefore jar cannot be serialized)")}},c=e=>Object.prototype.toString.call(e),l=(e,t=new WeakSet)=>"object"!=typeof e||null===e?String(e):"function"==typeof e.toString?Array.isArray(e)?((e,t)=>"function"!=typeof e.join?c(e):(t.add(e),e.map((e=>null==e||t.has(e)?"":l(e,t))).join()))(e,t):String(e):c(e),u=e=>l(e);function d(e){let t,i,n;const o=new Promise(((e,t)=>{i=e,n=t}));return t="function"==typeof e?(t,i)=>{try{t?e(t):e(null,i)}catch(e){n(e instanceof Error?e:new Error)}}:(e,t)=>{try{e?n(e):i(t)}catch(e){n(e instanceof Error?e:new Error)}},{promise:o,callback:t,resolve:e=>(t(null,e),o),reject:e=>(t(e),o)}}function f(e,t){return e in t}var h=class extends a{constructor(){super(),this.synchronous=!0,this.idx=Object.create(null)}findCookie(e,t,i,n){const o=d(n);if(null==e||null==t||null==i)return o.resolve(void 0);const r=this.idx[e]?.[t]?.[i];return o.resolve(r)}findCookies(e,i,n=!1,o){"function"==typeof n&&(o=n,n=!0);const r=[],a=d(o);if(!e)return a.resolve([]);let c;c=i?function(e){for(const n in e)if(t(i,n)){const t=e[n];for(const e in t){const i=t[e];i&&r.push(i)}}}:function(e){for(const t in e){const i=e[t];for(const e in i){const t=i[e];t&&r.push(t)}}};const l=s(e,n)||[e],u=this.idx;return l.forEach((e=>{const t=u[e];t&&c(t)})),a.resolve(r)}putCookie(e,t){const i=d(t),{domain:n,path:o,key:r}=e;if(null==n||null==o||null==r)return i.resolve(void 0);const s=this.idx[n]??Object.create(null);this.idx[n]=s;const a=s[o]??Object.create(null);return s[o]=a,a[r]=e,i.resolve(void 0)}updateCookie(e,t,i){if(!i)return this.putCookie(t);this.putCookie(t,i)}removeCookie(e,t,i,n){const o=d(n);return delete this.idx[e]?.[t]?.[i],o.resolve(void 0)}removeCookies(e,t,i){const n=d(i),o=this.idx[e];return o&&(t?delete o[t]:delete this.idx[e]),n.resolve(void 0)}removeAllCookies(e){const t=d(e);return this.idx=Object.create(null),t.resolve(void 0)}getAllCookies(e){const t=d(e),i=[],n=this.idx;return Object.keys(n).forEach((e=>{const t=n[e]??{};Object.keys(t).forEach((e=>{const n=t[e]??{};Object.keys(n).forEach((e=>{const t=n[e];null!=t&&i.push(t)}))}))})),i.sort(((e,t)=>(e.creationIndex||0)-(t.creationIndex||0))),t.resolve(i)}};function p(e){return y(e)&&""!==e}function m(e){return""===e||e instanceof String&&""===e.toString()}function y(e){return"string"==typeof e||e instanceof String}function x(e){return"[object Object]"===c(e)}function g(e,t,i){if(e)return;const n="function"==typeof t?t:void 0;let o="function"==typeof t?i:t;x(o)||(o="[object Object]");const r=new S(u(o));if(!n)throw r;n(r)}var S=class extends Error{},k="6.0.0",v={SILENT:"silent",STRICT:"strict",DISABLED:"unsafe-disabled"};Object.freeze(v);var C="\n\\[?(?:\n(?:[a-fA-F\\d]{1,4}:){7}(?:[a-fA-F\\d]{1,4}|:)|\n(?:[a-fA-F\\d]{1,4}:){6}(?:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|:[a-fA-F\\d]{1,4}|:)|\n(?:[a-fA-F\\d]{1,4}:){5}(?::(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,2}|:)|\n(?:[a-fA-F\\d]{1,4}:){4}(?:(?::[a-fA-F\\d]{1,4}){0,1}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,3}|:)|\n(?:[a-fA-F\\d]{1,4}:){3}(?:(?::[a-fA-F\\d]{1,4}){0,2}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,4}|:)|\n(?:[a-fA-F\\d]{1,4}:){2}(?:(?::[a-fA-F\\d]{1,4}){0,3}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,5}|:)|\n(?:[a-fA-F\\d]{1,4}:){1}(?:(?::[a-fA-F\\d]{1,4}){0,4}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,6}|:)|\n(?::(?:(?::[a-fA-F\\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)(?:\\.(?:25[0-5]|2[0-4]\\d|1\\d\\d|[1-9]\\d|\\d)){3}|(?::[a-fA-F\\d]{1,4}){1,7}|:))\n)(?:%[0-9a-zA-Z]{1,})?\\]?\n".replace(/\s*\/\/.*$/gm,"").replace(/\n/g,"").trim(),w=new RegExp(`^${C}$`),b=new RegExp("^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$");function A(e){return new URL(`http://${e}`).hostname}function E(e){if(null==e)return;let t=e.trim().replace(/^\./,"");return w.test(t)?(t.startsWith("[")||(t="["+t),t.endsWith("]")||(t+="]"),A(t).slice(1,-1)):/[^\u0001-\u007f]/.test(t)?A(t):t.toLowerCase()}function O(e){return e.toUTCString()}var I=/[\x09\x20-\x2F\x3B-\x40\x5B-\x60\x7B-\x7E]/,j=0,D=1,L=2,$=3,P=4,T=5,U=6,F=7,z=8,_=9,N=10,J=11;function M(e,t,i,n){let o=0;for(;o<e.length;){const t=e.charCodeAt(o);if(t<=47||t>=58)break;o++}if(!(o<t||o>i)&&(n||o==e.length))return parseInt(e.slice(0,o),10)}function R(e){const t=e.split(":"),i=[0,0,0];if(3===t.length){for(let e=0;e<3;e++){const n=2==e,o=t[e];if(void 0===o)return;const r=M(o,1,2,n);if(void 0===r)return;i[e]=r}return i}}function B(e){switch(e=String(e).slice(0,3).toLowerCase()){case"jan":return j;case"feb":return D;case"mar":return L;case"apr":return $;case"may":return P;case"jun":return T;case"jul":return U;case"aug":return F;case"sep":return z;case"oct":return _;case"nov":return N;case"dec":return J;default:return}}function W(e){if(!e)return;const t=e.split(I);let i,n,o,r,s,a;for(let e=0;e<t.length;e++){const c=(t[e]??"").trim();if(c.length){if(void 0===o){const e=R(c);if(e){i=e[0],n=e[1],o=e[2];continue}}if(void 0===r){const e=M(c,1,2,!0);if(void 0!==e){r=e;continue}}if(void 0===s){const e=B(c);if(void 0!==e){s=e;continue}}if(void 0===a){const e=M(c,2,4,!0);void 0!==e&&(a=e,a>=70&&a<=99?a+=1900:a>=0&&a<=69&&(a+=2e3))}}}return void 0===r||void 0===s||void 0===a||void 0===i||void 0===n||void 0===o||r<1||r>31||a<1601||i>23||n>59||o>59?void 0:new Date(Date.UTC(a,s,r,i,n,o))}var H=/^[\x21\x23-\x2B\x2D-\x3A\x3C-\x5B\x5D-\x7E]+$/,q=/[\x20-\x3A\x3C-\x7E]+/,Z=/[\x00-\x1F]/,G=["\n","\r","\0"];function K(e,t){let i,n,o=(e=function(e){if(m(e))return e;for(let t=0;t<G.length;t++){const i=G[t],n=i?e.indexOf(i):-1;-1!==n&&(e=e.slice(0,n))}return e}(e)).indexOf("=");if(t)0===o&&(o=(e=e.substring(1)).indexOf("="));else if(o<=0)return;if(o<=0?(i="",n=e.trim()):(i=e.slice(0,o).trim(),n=e.slice(o+1).trim()),Z.test(i)||Z.test(n))return;const r=new Y;return r.key=i,r.value=n,r}function Q(e){if(!e||m(e))return;let t;if("string"==typeof e)try{t=JSON.parse(e)}catch{return}else t=e;const i=new Y;return Y.serializableProperties.forEach((e=>{if(t&&"object"==typeof t&&f(e,t)){const n=t[e];if(void 0===n)return;if(f(e,V)&&n===V[e])return;switch(e){case"key":case"value":case"sameSite":"string"==typeof n&&(i[e]=n);break;case"expires":case"creation":case"lastAccessed":"number"==typeof n||"string"==typeof n||n instanceof Date?i[e]="Infinity"==t[e]?"Infinity":new Date(n):null===n&&(i[e]=null);break;case"maxAge":"number"!=typeof n&&"Infinity"!==n&&"-Infinity"!==n||(i[e]=n);break;case"domain":case"path":"string"!=typeof n&&null!==n||(i[e]=n);break;case"secure":case"httpOnly":"boolean"==typeof n&&(i[e]=n);break;case"extensions":Array.isArray(n)&&n.every((e=>"string"==typeof e))&&(i[e]=n);break;case"hostOnly":case"pathIsDefault":"boolean"!=typeof n&&null!==n||(i[e]=n)}}})),i}var V={key:"",value:"",expires:"Infinity",maxAge:null,domain:null,path:null,secure:!1,httpOnly:!1,extensions:null,hostOnly:null,pathIsDefault:null,creation:null,lastAccessed:null,sameSite:void 0},X=class e{constructor(t={}){this.key=t.key??V.key,this.value=t.value??V.value,this.expires=t.expires??V.expires,this.maxAge=t.maxAge??V.maxAge,this.domain=t.domain??V.domain,this.path=t.path??V.path,this.secure=t.secure??V.secure,this.httpOnly=t.httpOnly??V.httpOnly,this.extensions=t.extensions??V.extensions,this.creation=t.creation??V.creation,this.hostOnly=t.hostOnly??V.hostOnly,this.pathIsDefault=t.pathIsDefault??V.pathIsDefault,this.lastAccessed=t.lastAccessed??V.lastAccessed,this.sameSite=t.sameSite??V.sameSite,this.creation=t.creation??new Date,Object.defineProperty(this,"creationIndex",{configurable:!1,enumerable:!1,writable:!0,value:++e.cookiesCreated}),this.creationIndex=e.cookiesCreated}[Symbol.for("nodejs.util.inspect.custom")](){const e=Date.now(),t=null!=this.hostOnly?this.hostOnly.toString():"?",i=this.creation&&"Infinity"!==this.creation?`${String(e-this.creation.getTime())}ms`:"?",n=this.lastAccessed&&"Infinity"!==this.lastAccessed?`${String(e-this.lastAccessed.getTime())}ms`:"?";return`Cookie="${this.toString()}; hostOnly=${t}; aAge=${n}; cAge=${i}"`}toJSON(){const t={};for(const i of e.serializableProperties){const e=this[i];if(e!==V[i])switch(i){case"key":case"value":case"sameSite":"string"==typeof e&&(t[i]=e);break;case"expires":case"creation":case"lastAccessed":"number"==typeof e||"string"==typeof e||e instanceof Date?t[i]="Infinity"==e?"Infinity":new Date(e).toISOString():null===e&&(t[i]=null);break;case"maxAge":"number"!=typeof e&&"Infinity"!==e&&"-Infinity"!==e||(t[i]=e);break;case"domain":case"path":"string"!=typeof e&&null!==e||(t[i]=e);break;case"secure":case"httpOnly":"boolean"==typeof e&&(t[i]=e);break;case"extensions":Array.isArray(e)&&(t[i]=e);break;case"hostOnly":case"pathIsDefault":"boolean"!=typeof e&&null!==e||(t[i]=e)}}return t}clone(){return Q(this.toJSON())}validate(){if(!this.value||!H.test(this.value))return!1;if(!("Infinity"==this.expires||this.expires instanceof Date||W(this.expires)))return!1;if(null!=this.maxAge&&"Infinity"!==this.maxAge&&("-Infinity"===this.maxAge||this.maxAge<=0))return!1;if(null!=this.path&&!q.test(this.path))return!1;const e=this.cdomain();if(e){if(e.match(/\.$/))return!1;if(null==r(e))return!1}return!0}setExpires(e){e instanceof Date?this.expires=e:this.expires=W(e)||"Infinity"}setMaxAge(e){this.maxAge=e===1/0?"Infinity":e===-1/0?"-Infinity":e}cookieString(){const e=this.value||"";return this.key?`${this.key}=${e}`:e}toString(){let t=this.cookieString();return"Infinity"!=this.expires&&this.expires instanceof Date&&(t+=`; Expires=${O(this.expires)}`),null!=this.maxAge&&this.maxAge!=1/0&&(t+=`; Max-Age=${String(this.maxAge)}`),this.domain&&!this.hostOnly&&(t+=`; Domain=${this.domain}`),this.path&&(t+=`; Path=${this.path}`),this.secure&&(t+="; Secure"),this.httpOnly&&(t+="; HttpOnly"),this.sameSite&&"none"!==this.sameSite&&(this.sameSite.toLowerCase()===e.sameSiteCanonical.lax.toLowerCase()?t+=`; SameSite=${e.sameSiteCanonical.lax}`:this.sameSite.toLowerCase()===e.sameSiteCanonical.strict.toLowerCase()?t+=`; SameSite=${e.sameSiteCanonical.strict}`:t+=`; SameSite=${this.sameSite}`),this.extensions&&this.extensions.forEach((e=>{t+=`; ${e}`})),t}TTL(e=Date.now()){if(null!=this.maxAge&&"number"==typeof this.maxAge)return this.maxAge<=0?0:1e3*this.maxAge;const t=this.expires;return"Infinity"===t?1/0:(t?.getTime()??e)-(e||Date.now())}expiryTime(e){if(null!=this.maxAge){const t=e||this.lastAccessed||new Date,i="number"==typeof this.maxAge?this.maxAge:-1/0,n=i<=0?-1/0:1e3*i;return"Infinity"===t?1/0:t.getTime()+n}return"Infinity"==this.expires?1/0:this.expires?this.expires.getTime():void 0}expiryDate(e){const t=this.expiryTime(e);return t==1/0?new Date(2147483647e3):t==-1/0?new Date(0):null==t?void 0:new Date(t)}isPersistent(){return null!=this.maxAge||"Infinity"!=this.expires}canonicalizedDomain(){return E(this.domain)}cdomain(){return E(this.domain)}static parse(e,t){return function(e,t){if(m(e)||!y(e))return;const i=(e=e.trim()).indexOf(";"),n=K(-1===i?e:e.slice(0,i),t?.loose??!1);if(!n)return;if(-1===i)return n;const o=e.slice(i+1).trim();if(0===o.length)return n;const r=o.split(";");for(;r.length;){const e=(r.shift()??"").trim();if(0===e.length)continue;const t=e.indexOf("=");let i,o;switch(-1===t?(i=e,o=null):(i=e.slice(0,t),o=e.slice(t+1)),i=i.trim().toLowerCase(),o&&(o=o.trim()),i){case"expires":if(o){const e=W(o);e&&(n.expires=e)}break;case"max-age":if(o&&/^-?[0-9]+$/.test(o)){const e=parseInt(o,10);n.setMaxAge(e)}break;case"domain":if(o){const e=o.trim().replace(/^\./,"");e&&(n.domain=e.toLowerCase())}break;case"path":n.path=o&&"/"===o[0]?o:null;break;case"secure":n.secure=!0;break;case"httponly":n.httpOnly=!0;break;case"samesite":switch(o?o.toLowerCase():""){case"strict":n.sameSite="strict";break;case"lax":n.sameSite="lax";break;case"none":n.sameSite="none";break;default:n.sameSite=void 0}break;default:n.extensions=n.extensions||[],n.extensions.push(e)}}return n}(e,t)}static fromJSON(e){return Q(e)}};X.cookiesCreated=0,X.sameSiteLevel={strict:3,lax:2,none:1},X.sameSiteCanonical={strict:"Strict",lax:"Lax"},X.serializableProperties=["key","value","expires","maxAge","domain","path","secure","httpOnly","extensions","hostOnly","pathIsDefault","creation","lastAccessed","sameSite"];var Y=X,ee=2147483647e3;function te(e,t){let i;const n=e.path?e.path.length:0;if(i=(t.path?t.path.length:0)-n,0!==i)return i;return i=(e.creation&&e.creation instanceof Date?e.creation.getTime():ee)-(t.creation&&t.creation instanceof Date?t.creation.getTime():ee),0!==i||(i=(e.creationIndex||0)-(t.creationIndex||0)),i}function ie(e){if(!e||"/"!==e.slice(0,1))return"/";if("/"===e)return e;const t=e.lastIndexOf("/");return 0===t?"/":e.slice(0,t)}var ne=/(?:^(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}$)|(?:^(?:(?:[a-f\d]{1,4}:){7}(?:[a-f\d]{1,4}|:)|(?:[a-f\d]{1,4}:){6}(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|:[a-f\d]{1,4}|:)|(?:[a-f\d]{1,4}:){5}(?::(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,2}|:)|(?:[a-f\d]{1,4}:){4}(?:(?::[a-f\d]{1,4}){0,1}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,3}|:)|(?:[a-f\d]{1,4}:){3}(?:(?::[a-f\d]{1,4}){0,2}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,4}|:)|(?:[a-f\d]{1,4}:){2}(?:(?::[a-f\d]{1,4}){0,3}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,5}|:)|(?:[a-f\d]{1,4}:){1}(?:(?::[a-f\d]{1,4}){0,4}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,6}|:)|(?::(?:(?::[a-f\d]{1,4}){0,5}:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)(?:\.(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)){3}|(?::[a-f\d]{1,4}){1,7}|:)))$)/;function oe(e,t,i){if(null==e||null==t)return;let n,o;if(n=e,o=t,null==n||null==o)return;if(n==o)return!0;const r=n.lastIndexOf(o);return!(r<=0)&&(n.length===o.length+r&&("."===n.substring(r-1,r)&&!ne.test(n)))}function re(e,t=!0){let i;if("string"==typeof e)try{i=new URL(e)}catch{return!1}else i=e;const n=i.protocol.replace(":","").toLowerCase(),o=(r=i.hostname,r.length>=2&&r.startsWith("[")&&r.endsWith("]")?r.substring(1,r.length-1):r).replace(/\.+$/,"");var r;return"https"===n||"wss"===n||!!t&&(b.test(o)?function(e){const t=e.split(".");return 4===t.length&&void 0!==t[0]&&127===parseInt(t[0],10)}(o):w.test(o)?"::1"===o:function(e){const t=e.toLowerCase();return"localhost"===t||function(e){return e.endsWith(".localhost")}(t)}(o))}var se={loose:!1,sameSiteContext:void 0,ignoreError:!1,http:!0},ae={http:!0,expire:!0,allPaths:!1,sameSiteContext:void 0,sort:void 0},ce='Invalid sameSiteContext option for getCookies(); expected one of "strict", "lax", or "none"';function le(e){if(e&&"object"==typeof e&&"hostname"in e&&"string"==typeof e.hostname&&"pathname"in e&&"string"==typeof e.pathname&&"protocol"in e&&"string"==typeof e.protocol)return{hostname:e.hostname,pathname:e.pathname,protocol:e.protocol};if("string"!=typeof e)throw new S("`url` argument is not a string or URL.");try{return new URL(decodeURI(e))}catch{return new URL(e)}}function ue(e){const t=String(e).toLowerCase();return"none"===t||"lax"===t||"strict"===t?t:void 0}function de(e){const t=e.toLowerCase();switch(t){case v.STRICT:case v.SILENT:case v.DISABLED:return t;default:return v.SILENT}}var fe=class e{constructor(e,t){"boolean"==typeof t&&(t={rejectPublicSuffixes:t}),this.rejectPublicSuffixes=t?.rejectPublicSuffixes??!0,this.enableLooseMode=t?.looseMode??!1,this.allowSpecialUseDomain=t?.allowSpecialUseDomain??!0,this.allowSecureOnLocal=t?.allowSecureOnLocal??!0,this.prefixSecurity=de(t?.prefixSecurity??"silent"),this.store=e??new h}callSync(e){if(!this.store.synchronous)throw new Error("CookieJar store is not synchronous; use async API instead.");let t,i=null;try{e.call(this,((e,n)=>{i=e,t=n}))}catch(e){i=e}if(i)throw i;return t}setCookie(e,t,i,n){"function"==typeof i&&(n=i,i=void 0);const o=d(n),s=o.callback;let a;try{if("string"==typeof t&&g(p(t),n,u(i)),a=le(t),"function"==typeof t)return o.reject(new Error("No URL was specified"));if("function"==typeof i&&(i=se),g("function"==typeof s,s),!p(e)&&!x(e)&&e instanceof String&&0==e.length)return o.resolve(void 0)}catch(e){return o.reject(e)}const c=E(a.hostname)??null,l=i?.loose||this.enableLooseMode;let f=null;if(i?.sameSiteContext&&(f=ue(i.sameSiteContext),!f))return o.reject(new Error(ce));if("string"==typeof e||e instanceof String){const t=Y.parse(e.toString(),{loose:l});if(!t){const e=new Error("Cookie failed to parse");return i?.ignoreError?o.resolve(void 0):o.reject(e)}e=t}else if(!(e instanceof Y)){const e=new Error("First argument to setCookie must be a Cookie object or string");return i?.ignoreError?o.resolve(void 0):o.reject(e)}const h=i?.now||new Date;if(this.rejectPublicSuffixes&&e.domain)try{const t=e.cdomain();if(null==("string"==typeof t?r(t,{allowSpecialUseDomain:this.allowSpecialUseDomain,ignoreError:i?.ignoreError}):null)&&!w.test(e.domain)){const e=new Error("Cookie has domain set to a public suffix");return i?.ignoreError?o.resolve(void 0):o.reject(e)}}catch(e){return i?.ignoreError?o.resolve(void 0):o.reject(e)}if(e.domain){if(!oe(c??void 0,e.cdomain()??void 0)){const t=new Error(`Cookie not in this host's domain. Cookie:${e.cdomain()??"null"} Request:${c??"null"}`);return i?.ignoreError?o.resolve(void 0):o.reject(t)}null==e.hostOnly&&(e.hostOnly=!1)}else e.hostOnly=!0,e.domain=c;if(e.path&&"/"===e.path[0]||(e.path=ie(a.pathname),e.pathIsDefault=!0),!1===i?.http&&e.httpOnly){const e=new Error("Cookie is HttpOnly and this isn't an HTTP API");return i.ignoreError?o.resolve(void 0):o.reject(e)}if("none"!==e.sameSite&&void 0!==e.sameSite&&f&&"none"===f){const e=new Error("Cookie is SameSite but this is a cross-origin request");return i?.ignoreError?o.resolve(void 0):o.reject(e)}const m=this.prefixSecurity===v.SILENT;if(!(this.prefixSecurity===v.DISABLED)){let t,n=!1;if(!function(e){return!("string"==typeof e.key&&e.key.startsWith("__Secure-"))||e.secure}(e)?(n=!0,t="Cookie has __Secure prefix but Secure attribute is not set"):function(e){return!("string"==typeof e.key&&e.key.startsWith("__Host-"))||Boolean(e.secure&&e.hostOnly&&null!=e.path&&"/"===e.path)}(e)||(n=!0,t="Cookie has __Host prefix but either Secure or HostOnly attribute is not set or Path is not '/'"),n)return i?.ignoreError||m?o.resolve(void 0):o.reject(new Error(t))}const y=this.store;y.updateCookie||(y.updateCookie=async function(e,t,i){return this.putCookie(t).then((()=>i?.(null)),(e=>i?.(e)))});return y.findCookie(e.domain,e.path,e.key,(function(t,n){if(t)return void s(t);const o=function(t){t?s(t):s(null,"string"==typeof e?void 0:e)};if(n){if(i&&"http"in i&&!1===i.http&&n.httpOnly)return t=new Error("old Cookie is HttpOnly and this isn't an HTTP API"),void(i.ignoreError?s(null,void 0):s(t));e instanceof Y&&(e.creation=n.creation,e.creationIndex=n.creationIndex,e.lastAccessed=h,y.updateCookie(n,e,o))}else e instanceof Y&&(e.creation=e.lastAccessed=h,y.putCookie(e,o))})),o.promise}setCookieSync(e,t,i){const n=i?this.setCookie.bind(this,e,t,i):this.setCookie.bind(this,e,t);return this.callSync(n)}getCookies(e,i,n){"function"==typeof i?(n=i,i=ae):void 0===i&&(i=ae);const o=d(n),r=o.callback;let s;try{"string"==typeof e&&g(p(e),r,e),s=le(e),g(x(i),r,u(i)),g("function"==typeof r,r)}catch(e){return o.reject(e)}const a=E(s.hostname),c=s.pathname||"/",l=re(e,this.allowSecureOnLocal);let f=0;if(i.sameSiteContext){const e=ue(i.sameSiteContext);if(null==e)return o.reject(new Error(ce));if(f=Y.sameSiteLevel[e],!f)return o.reject(new Error(ce))}const h=i.http??!0,m=Date.now(),y=i.expire??!0,S=i.allPaths??!1,k=this.store;function v(e){if(e.hostOnly){if(e.domain!=a)return!1}else if(!oe(a??void 0,e.domain??void 0))return!1;if(!S&&"string"==typeof e.path&&!t(c,e.path))return!1;if(e.secure&&!l)return!1;if(e.httpOnly&&!h)return!1;if(f){let t;if(t="lax"===e.sameSite?Y.sameSiteLevel.lax:"strict"===e.sameSite?Y.sameSiteLevel.strict:Y.sameSiteLevel.none,t>f)return!1}const i=e.expiryTime();return!(y&&null!=i&&i<=m)||(k.removeCookie(e.domain,e.path,e.key,(()=>{})),!1)}return k.findCookies(a,S?null:c,this.allowSpecialUseDomain,((e,t)=>{if(e)return void r(e);if(null==t)return void r(null,[]);t=t.filter(v),"sort"in i&&!1!==i.sort&&(t=t.sort(te));const n=new Date;for(const e of t)e.lastAccessed=n;r(null,t)})),o.promise}getCookiesSync(e,t){return this.callSync(this.getCookies.bind(this,e,t))??[]}getCookieString(e,t,i){"function"==typeof t&&(i=t,t=void 0);const n=d(i);return this.getCookies(e,t,(function(e,t){e?n.callback(e):n.callback(null,t?.sort(te).map((e=>e.cookieString())).join("; "))})),n.promise}getCookieStringSync(e,t){return this.callSync(t?this.getCookieString.bind(this,e,t):this.getCookieString.bind(this,e))??""}getSetCookieStrings(e,t,i){"function"==typeof t&&(i=t,t=void 0);const n=d(i);return this.getCookies(e,t,(function(e,t){e?n.callback(e):n.callback(null,t?.map((e=>e.toString())))})),n.promise}getSetCookieStringsSync(e,t={}){return this.callSync(this.getSetCookieStrings.bind(this,e,t))??[]}serialize(e){const t=d(e);let i=this.store.constructor.name;x(i)&&(i=null);const n={version:`tough-cookie@${k}`,storeType:i,rejectPublicSuffixes:this.rejectPublicSuffixes,enableLooseMode:this.enableLooseMode,allowSpecialUseDomain:this.allowSpecialUseDomain,prefixSecurity:de(this.prefixSecurity),cookies:[]};return"function"!=typeof this.store.getAllCookies?t.reject(new Error("store does not support getAllCookies and cannot be serialized")):(this.store.getAllCookies(((e,i)=>{e?t.callback(e):null!=i?(n.cookies=i.map((e=>{const t=e.toJSON();return delete t.creationIndex,t})),t.callback(null,n)):t.callback(null,n)})),t.promise)}serializeSync(){return this.callSync((e=>{this.serialize(e)}))}toJSON(){return this.serializeSync()}_importCookies(e,t){let i;if(e&&"object"==typeof e&&f("cookies",e)&&Array.isArray(e.cookies)&&(i=e.cookies),!i)return void t(new Error("serialized jar has no cookies array"),void 0);i=i.slice();const n=e=>{if(e)t(e,void 0);else if(Array.isArray(i)){if(!i.length)return void t(e,this);let o;try{o=Y.fromJSON(i.shift())}catch(e){return void t(e instanceof Error?e:new Error,void 0)}if(void 0===o)return void n(null);this.store.putCookie(o,n)}};n(null)}_importCookiesSync(e){this.callSync(this._importCookies.bind(this,e))}clone(t,i){"function"==typeof t&&(i=t,t=void 0);const n=d(i),o=n.callback;return this.serialize(((i,r)=>i?n.reject(i):e.deserialize(r??"",t,o))),n.promise}_cloneSync(e){const t=e&&"function"!=typeof e?this.clone.bind(this,e):this.clone.bind(this);return this.callSync((e=>{t(e)}))}cloneSync(e){if(!e)return this._cloneSync();if(!e.synchronous)throw new Error("CookieJar clone destination store is not synchronous; use async API instead.");return this._cloneSync(e)}removeAllCookies(e){const t=d(e),i=t.callback,n=this.store;return"function"==typeof n.removeAllCookies&&n.removeAllCookies!==a.prototype.removeAllCookies?(n.removeAllCookies(i),t.promise):(n.getAllCookies(((e,t)=>{if(e)return void i(e);if(t||(t=[]),0===t.length)return void i(null,void 0);let o=0;const r=[],s=function(e){e&&r.push(e),o++,o!==t.length||(r[0]?i(r[0]):i(null,void 0))};t.forEach((e=>{n.removeCookie(e.domain,e.path,e.key,s)}))})),t.promise)}removeAllCookiesSync(){this.callSync((e=>{this.removeAllCookies(e)}))}static deserialize(t,i,n){"function"==typeof i&&(n=i,i=void 0);const o=d(n);let r;if("string"==typeof t)try{r=JSON.parse(t)}catch(e){return o.reject(e instanceof Error?e:new Error)}else r=t;const s=e=>r&&"object"==typeof r&&f(e,r)?r[e]:void 0,a=e=>{const t=s(e);return"boolean"==typeof t?t:void 0},c=new e(i,{rejectPublicSuffixes:a("rejectPublicSuffixes"),looseMode:a("enableLooseMode"),allowSpecialUseDomain:a("allowSpecialUseDomain"),prefixSecurity:de((e=>{const t=s(e);return"string"==typeof t?t:void 0})("prefixSecurity")??"silent")});return c._importCookies(r,(e=>{e?o.callback(e):o.callback(null,c)})),o.promise}static deserializeSync(t,i){const n="string"==typeof t?JSON.parse(t):t,o=e=>n&&"object"==typeof n&&f(e,n)?n[e]:void 0,r=e=>{const t=o(e);return"boolean"==typeof t?t:void 0},s=new e(i,{rejectPublicSuffixes:r("rejectPublicSuffixes"),looseMode:r("enableLooseMode"),allowSpecialUseDomain:r("allowSpecialUseDomain"),prefixSecurity:de((e=>{const t=o(e);return"string"==typeof t?t:void 0})("prefixSecurity")??"silent")});if(!s.store.synchronous)throw new Error("CookieJar store is not synchronous; use async API instead.");return s._importCookiesSync(n),s}static fromJSON(t,i){return e.deserializeSync(t,i)}};
2
2
  /*!
3
3
  * Copyright (c) 2015-2020, Salesforce.com, Inc.
4
4
  * All rights reserved.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flipdish/portal-library",
3
- "version": "8.4.2",
3
+ "version": "8.4.3",
4
4
  "files": [
5
5
  "dist"
6
6
  ],
@@ -1 +0,0 @@
1
- {"version":3,"file":"Heading.cjs.js","sources":["../../../../src/components/organisms/Heading/Heading.tsx"],"sourcesContent":["import React from 'react';\n\nimport Toolbar from '@mui/material/Toolbar';\n\nimport styled from '@fd/utilities/styledUtilities';\n\nimport Box from '../../atoms/Box';\nimport BreadCrumbs, { type BreadcrumbItem } from '../../atoms/BreadCrumbs';\nimport Button from '../../atoms/Button';\nimport { type ButtonType } from '../../atoms/Button/getButtonStyles';\nimport Typography from '../../atoms/Typography';\nimport ButtonGroup from '../../molecules/ButtonGroup';\nimport { Combobox, type ComboboxOption, type ComboboxProps } from '../../molecules/Combobox';\n\nexport interface ButtonConfig {\n variant: ButtonType;\n onClick: () => void;\n label: string;\n fdKey: string;\n disabled?: boolean;\n}\n\nexport interface SelectConfig {\n options: ComboboxOption[];\n label: string;\n placeholder?: string;\n fdKey: string;\n onChange?: ComboboxProps['onChange'];\n value?: ComboboxProps['value'];\n}\n\nexport interface HeadingProps {\n title?: string;\n buttons?: ButtonConfig[];\n description?: string;\n breadcrumbItems?: BreadcrumbItem[];\n selectBoxes?: SelectConfig[];\n}\n\nconst StyledToolbar = styled(Toolbar)(({ theme }) => ({\n flexDirection: 'column',\n alignItems: 'stretch',\n [theme.breakpoints.up('tablet')]: {\n flexDirection: 'row',\n alignItems: 'flex-start',\n justifyContent: 'space-between',\n paddingTop: theme.spacing(2),\n paddingBottom: theme.spacing(2),\n },\n [theme.breakpoints.down('tablet')]: {\n paddingTop: theme.spacing(2),\n paddingBottom: theme.spacing(2),\n },\n}));\n\nconst StyledLeftSection = styled(Box)(({ theme }) => ({\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'flex-start',\n flex: '1 1 auto',\n gap: theme.spacing(0.5),\n minWidth: 0,\n maxWidth: '100%',\n [theme.breakpoints.up('tablet')]: {\n marginRight: theme.spacing(2),\n },\n}));\n\nconst StyledRightSection = styled(Box)(({ theme }) => ({\n display: 'flex',\n justifyContent: 'flex-end',\n alignItems: 'center',\n gap: theme.spacing(1),\n flexShrink: 0,\n alignSelf: 'flex-start',\n paddingTop: theme.spacing(0.5),\n [theme.breakpoints.down('tablet')]: {\n justifyContent: 'flex-end',\n marginTop: theme.spacing(1),\n paddingTop: 0,\n alignSelf: 'stretch',\n width: '100%',\n },\n}));\n\nconst StyledSelectedSection = styled(Box)(({ theme }) => ({\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'flex-start',\n gap: theme.spacing(2),\n width: '100%',\n maxWidth: '100%',\n [theme.breakpoints.up('tablet')]: {\n flexDirection: 'row',\n alignItems: 'center',\n paddingTop: theme.spacing(2),\n flexWrap: 'wrap',\n },\n [theme.breakpoints.down('tablet')]: {\n flexDirection: 'column',\n alignItems: 'flex-start',\n paddingTop: theme.spacing(2),\n paddingBottom: theme.spacing(2),\n width: '100%',\n },\n}));\n\nexport const Heading: React.FC<HeadingProps> = ({\n title,\n buttons,\n description,\n breadcrumbItems,\n selectBoxes,\n}: HeadingProps) => {\n const renderSelectedSection = () => {\n if (!selectBoxes?.length) {\n return null;\n }\n\n return (\n <StyledSelectedSection>\n {selectBoxes.map((selectConfig) => (\n <Combobox\n key={selectConfig.fdKey}\n fdKey={selectConfig.fdKey}\n label={selectConfig.label}\n onChange={selectConfig.onChange}\n options={selectConfig.options}\n placeholder={selectConfig.placeholder}\n value={selectConfig.value ?? null}\n />\n ))}\n </StyledSelectedSection>\n );\n };\n\n const renderLeftSection = () => (\n <StyledLeftSection>\n {breadcrumbItems && <BreadCrumbs items={breadcrumbItems} />}\n {title && <Typography variant=\"h1Strong\">{title}</Typography>}\n {description && (\n <Typography color=\"semantic.text.text-weak\" variant=\"captionWeak\">\n {description}\n </Typography>\n )}\n {renderSelectedSection()}\n </StyledLeftSection>\n );\n\n const renderRightSection = () => {\n if (!buttons?.length) {\n return null;\n }\n\n return (\n <StyledRightSection>\n <ButtonGroup align=\"right\" fdKey=\"heading-button-group\" layout=\"horizontal\" size=\"medium\">\n {buttons.map((buttonConfig: ButtonConfig) => {\n const variant: ButtonType = buttonConfig.variant;\n return (\n <Button\n key={buttonConfig.fdKey}\n disabled={buttonConfig.disabled ?? false}\n fdKey={buttonConfig.fdKey}\n onClick={buttonConfig.onClick}\n variant={variant}\n >\n {buttonConfig.label}\n </Button>\n );\n })}\n </ButtonGroup>\n </StyledRightSection>\n );\n };\n\n return (\n <StyledToolbar>\n {renderLeftSection()}\n {renderRightSection()}\n </StyledToolbar>\n );\n};\n\nexport default Heading;\n"],"names":["StyledToolbar","styled","Toolbar","theme","flexDirection","alignItems","breakpoints","up","justifyContent","paddingTop","spacing","paddingBottom","down","StyledLeftSection","Box","display","flex","gap","minWidth","maxWidth","marginRight","StyledRightSection","flexShrink","alignSelf","marginTop","width","StyledSelectedSection","flexWrap","Heading","title","buttons","description","breadcrumbItems","selectBoxes","_jsxs","children","_jsx","BreadCrumbs","items","Typography","variant","color","length","map","selectConfig","Combobox","fdKey","label","onChange","options","placeholder","value","ButtonGroup","align","layout","size","buttonConfig","Button","disabled","onClick"],"mappings":"8cAuCA,MAAMA,EAAgBC,EAAAA,OAAOC,EAAPD,EAAgB,EAAGE,YAAO,CAC9CC,cAAe,SACfC,WAAY,UACZ,CAACF,EAAMG,YAAYC,GAAG,WAAY,CAChCH,cAAe,MACfC,WAAY,aACZG,eAAgB,gBAChBC,WAAYN,EAAMO,QAAQ,GAC1BC,cAAeR,EAAMO,QAAQ,IAE/B,CAACP,EAAMG,YAAYM,KAAK,WAAY,CAClCH,WAAYN,EAAMO,QAAQ,GAC1BC,cAAeR,EAAMO,QAAQ,QAI3BG,EAAoBZ,EAAAA,OAAOa,EAAPb,EAAY,EAAGE,YAAO,CAC9CY,QAAS,OACTX,cAAe,SACfC,WAAY,aACZW,KAAM,WACNC,IAAKd,EAAMO,QAAQ,IACnBQ,SAAU,EACVC,SAAU,OACV,CAAChB,EAAMG,YAAYC,GAAG,WAAY,CAChCa,YAAajB,EAAMO,QAAQ,QAIzBW,EAAqBpB,EAAAA,OAAOa,EAAPb,EAAY,EAAGE,YAAO,CAC/CY,QAAS,OACTP,eAAgB,WAChBH,WAAY,SACZY,IAAKd,EAAMO,QAAQ,GACnBY,WAAY,EACZC,UAAW,aACXd,WAAYN,EAAMO,QAAQ,IAC1B,CAACP,EAAMG,YAAYM,KAAK,WAAY,CAClCJ,eAAgB,WAChBgB,UAAWrB,EAAMO,QAAQ,GACzBD,WAAY,EACZc,UAAW,UACXE,MAAO,YAILC,EAAwBzB,EAAAA,OAAOa,EAAPb,EAAY,EAAGE,YAAO,CAClDY,QAAS,OACTX,cAAe,SACfC,WAAY,aACZY,IAAKd,EAAMO,QAAQ,GACnBe,MAAO,OACPN,SAAU,OACV,CAAChB,EAAMG,YAAYC,GAAG,WAAY,CAChCH,cAAe,MACfC,WAAY,SACZI,WAAYN,EAAMO,QAAQ,GAC1BiB,SAAU,QAEZ,CAACxB,EAAMG,YAAYM,KAAK,WAAY,CAClCR,cAAe,SACfC,WAAY,aACZI,WAAYN,EAAMO,QAAQ,GAC1BC,cAAeR,EAAMO,QAAQ,GAC7Be,MAAO,YAIEG,EAAkC,EAC7CC,QACAC,UACAC,cACAC,kBACAC,iBAiEEC,EAAAA,KAAClC,EAAa,CAAAmC,SAAA,CAxCdD,OAACrB,EAAiB,CAAAsB,SAAA,CACfH,GAAmBI,EAAAA,IAACC,EAAW,CAACC,MAAON,IACvCH,GAASO,EAAAA,IAACG,EAAU,CAACC,QAAQ,WAAUL,SAAEN,IACzCE,GACCK,EAAAA,IAACG,EAAU,CAACE,MAAM,0BAA0BD,QAAQ,cAAaL,SAC9DJ,IA3BFE,GAAaS,OAKhBN,EAAAA,IAACV,EAAqB,CAAAS,SACnBF,EAAYU,KAAKC,GAChBR,EAAAA,IAACS,EAAAA,SAAQ,CAEPC,MAAOF,EAAaE,MACpBC,MAAOH,EAAaG,MACpBC,SAAUJ,EAAaI,SACvBC,QAASL,EAAaK,QACtBC,YAAaN,EAAaM,YAC1BC,MAAOP,EAAaO,OAAS,MANxBP,EAAaE,WAPjB,QAkCJhB,GAASY,OAKZN,EAAAA,IAACf,EAAkB,CAAAc,SACjBC,EAAAA,IAACgB,EAAW,CAACC,MAAM,QAAQP,MAAM,uBAAuBQ,OAAO,aAAaC,KAAK,SAAQpB,SACtFL,EAAQa,KAAKa,IACZ,MAAMhB,EAAsBgB,EAAahB,QACzC,OACEJ,EAAAA,IAACqB,SAAM,CAELC,SAAUF,EAAaE,WAAY,EACnCZ,MAAOU,EAAaV,MACpBa,QAASH,EAAaG,QACtBnB,QAASA,EAAOL,SAEfqB,EAAaT,OANTS,EAAaV,cAVrB"}
@@ -1 +0,0 @@
1
- {"version":3,"file":"Heading.js","sources":["../../../../src/components/organisms/Heading/Heading.tsx"],"sourcesContent":["import React from 'react';\n\nimport Toolbar from '@mui/material/Toolbar';\n\nimport styled from '@fd/utilities/styledUtilities';\n\nimport Box from '../../atoms/Box';\nimport BreadCrumbs, { type BreadcrumbItem } from '../../atoms/BreadCrumbs';\nimport Button from '../../atoms/Button';\nimport { type ButtonType } from '../../atoms/Button/getButtonStyles';\nimport Typography from '../../atoms/Typography';\nimport ButtonGroup from '../../molecules/ButtonGroup';\nimport { Combobox, type ComboboxOption, type ComboboxProps } from '../../molecules/Combobox';\n\nexport interface ButtonConfig {\n variant: ButtonType;\n onClick: () => void;\n label: string;\n fdKey: string;\n disabled?: boolean;\n}\n\nexport interface SelectConfig {\n options: ComboboxOption[];\n label: string;\n placeholder?: string;\n fdKey: string;\n onChange?: ComboboxProps['onChange'];\n value?: ComboboxProps['value'];\n}\n\nexport interface HeadingProps {\n title?: string;\n buttons?: ButtonConfig[];\n description?: string;\n breadcrumbItems?: BreadcrumbItem[];\n selectBoxes?: SelectConfig[];\n}\n\nconst StyledToolbar = styled(Toolbar)(({ theme }) => ({\n flexDirection: 'column',\n alignItems: 'stretch',\n [theme.breakpoints.up('tablet')]: {\n flexDirection: 'row',\n alignItems: 'flex-start',\n justifyContent: 'space-between',\n paddingTop: theme.spacing(2),\n paddingBottom: theme.spacing(2),\n },\n [theme.breakpoints.down('tablet')]: {\n paddingTop: theme.spacing(2),\n paddingBottom: theme.spacing(2),\n },\n}));\n\nconst StyledLeftSection = styled(Box)(({ theme }) => ({\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'flex-start',\n flex: '1 1 auto',\n gap: theme.spacing(0.5),\n minWidth: 0,\n maxWidth: '100%',\n [theme.breakpoints.up('tablet')]: {\n marginRight: theme.spacing(2),\n },\n}));\n\nconst StyledRightSection = styled(Box)(({ theme }) => ({\n display: 'flex',\n justifyContent: 'flex-end',\n alignItems: 'center',\n gap: theme.spacing(1),\n flexShrink: 0,\n alignSelf: 'flex-start',\n paddingTop: theme.spacing(0.5),\n [theme.breakpoints.down('tablet')]: {\n justifyContent: 'flex-end',\n marginTop: theme.spacing(1),\n paddingTop: 0,\n alignSelf: 'stretch',\n width: '100%',\n },\n}));\n\nconst StyledSelectedSection = styled(Box)(({ theme }) => ({\n display: 'flex',\n flexDirection: 'column',\n alignItems: 'flex-start',\n gap: theme.spacing(2),\n width: '100%',\n maxWidth: '100%',\n [theme.breakpoints.up('tablet')]: {\n flexDirection: 'row',\n alignItems: 'center',\n paddingTop: theme.spacing(2),\n flexWrap: 'wrap',\n },\n [theme.breakpoints.down('tablet')]: {\n flexDirection: 'column',\n alignItems: 'flex-start',\n paddingTop: theme.spacing(2),\n paddingBottom: theme.spacing(2),\n width: '100%',\n },\n}));\n\nexport const Heading: React.FC<HeadingProps> = ({\n title,\n buttons,\n description,\n breadcrumbItems,\n selectBoxes,\n}: HeadingProps) => {\n const renderSelectedSection = () => {\n if (!selectBoxes?.length) {\n return null;\n }\n\n return (\n <StyledSelectedSection>\n {selectBoxes.map((selectConfig) => (\n <Combobox\n key={selectConfig.fdKey}\n fdKey={selectConfig.fdKey}\n label={selectConfig.label}\n onChange={selectConfig.onChange}\n options={selectConfig.options}\n placeholder={selectConfig.placeholder}\n value={selectConfig.value ?? null}\n />\n ))}\n </StyledSelectedSection>\n );\n };\n\n const renderLeftSection = () => (\n <StyledLeftSection>\n {breadcrumbItems && <BreadCrumbs items={breadcrumbItems} />}\n {title && <Typography variant=\"h1Strong\">{title}</Typography>}\n {description && (\n <Typography color=\"semantic.text.text-weak\" variant=\"captionWeak\">\n {description}\n </Typography>\n )}\n {renderSelectedSection()}\n </StyledLeftSection>\n );\n\n const renderRightSection = () => {\n if (!buttons?.length) {\n return null;\n }\n\n return (\n <StyledRightSection>\n <ButtonGroup align=\"right\" fdKey=\"heading-button-group\" layout=\"horizontal\" size=\"medium\">\n {buttons.map((buttonConfig: ButtonConfig) => {\n const variant: ButtonType = buttonConfig.variant;\n return (\n <Button\n key={buttonConfig.fdKey}\n disabled={buttonConfig.disabled ?? false}\n fdKey={buttonConfig.fdKey}\n onClick={buttonConfig.onClick}\n variant={variant}\n >\n {buttonConfig.label}\n </Button>\n );\n })}\n </ButtonGroup>\n </StyledRightSection>\n );\n };\n\n return (\n <StyledToolbar>\n {renderLeftSection()}\n {renderRightSection()}\n </StyledToolbar>\n );\n};\n\nexport default Heading;\n"],"names":["StyledToolbar","styled","Toolbar","theme","flexDirection","alignItems","breakpoints","up","justifyContent","paddingTop","spacing","paddingBottom","down","StyledLeftSection","Box","display","flex","gap","minWidth","maxWidth","marginRight","StyledRightSection","flexShrink","alignSelf","marginTop","width","StyledSelectedSection","flexWrap","Heading","title","buttons","description","breadcrumbItems","selectBoxes","_jsxs","children","_jsx","BreadCrumbs","items","Typography","variant","color","length","map","selectConfig","Combobox","fdKey","label","onChange","options","placeholder","value","ButtonGroup","align","layout","size","buttonConfig","Button","disabled","onClick"],"mappings":"kbAuCA,MAAMA,EAAgBC,EAAOC,EAAPD,EAAgB,EAAGE,YAAO,CAC9CC,cAAe,SACfC,WAAY,UACZ,CAACF,EAAMG,YAAYC,GAAG,WAAY,CAChCH,cAAe,MACfC,WAAY,aACZG,eAAgB,gBAChBC,WAAYN,EAAMO,QAAQ,GAC1BC,cAAeR,EAAMO,QAAQ,IAE/B,CAACP,EAAMG,YAAYM,KAAK,WAAY,CAClCH,WAAYN,EAAMO,QAAQ,GAC1BC,cAAeR,EAAMO,QAAQ,QAI3BG,EAAoBZ,EAAOa,EAAPb,EAAY,EAAGE,YAAO,CAC9CY,QAAS,OACTX,cAAe,SACfC,WAAY,aACZW,KAAM,WACNC,IAAKd,EAAMO,QAAQ,IACnBQ,SAAU,EACVC,SAAU,OACV,CAAChB,EAAMG,YAAYC,GAAG,WAAY,CAChCa,YAAajB,EAAMO,QAAQ,QAIzBW,EAAqBpB,EAAOa,EAAPb,EAAY,EAAGE,YAAO,CAC/CY,QAAS,OACTP,eAAgB,WAChBH,WAAY,SACZY,IAAKd,EAAMO,QAAQ,GACnBY,WAAY,EACZC,UAAW,aACXd,WAAYN,EAAMO,QAAQ,IAC1B,CAACP,EAAMG,YAAYM,KAAK,WAAY,CAClCJ,eAAgB,WAChBgB,UAAWrB,EAAMO,QAAQ,GACzBD,WAAY,EACZc,UAAW,UACXE,MAAO,YAILC,EAAwBzB,EAAOa,EAAPb,EAAY,EAAGE,YAAO,CAClDY,QAAS,OACTX,cAAe,SACfC,WAAY,aACZY,IAAKd,EAAMO,QAAQ,GACnBe,MAAO,OACPN,SAAU,OACV,CAAChB,EAAMG,YAAYC,GAAG,WAAY,CAChCH,cAAe,MACfC,WAAY,SACZI,WAAYN,EAAMO,QAAQ,GAC1BiB,SAAU,QAEZ,CAACxB,EAAMG,YAAYM,KAAK,WAAY,CAClCR,cAAe,SACfC,WAAY,aACZI,WAAYN,EAAMO,QAAQ,GAC1BC,cAAeR,EAAMO,QAAQ,GAC7Be,MAAO,YAIEG,EAAkC,EAC7CC,QACAC,UACAC,cACAC,kBACAC,iBAiEEC,EAAClC,EAAa,CAAAmC,SAAA,CAxCdD,EAACrB,EAAiB,CAAAsB,SAAA,CACfH,GAAmBI,EAACC,EAAW,CAACC,MAAON,IACvCH,GAASO,EAACG,EAAU,CAACC,QAAQ,WAAUL,SAAEN,IACzCE,GACCK,EAACG,EAAU,CAACE,MAAM,0BAA0BD,QAAQ,cAAaL,SAC9DJ,IA3BFE,GAAaS,OAKhBN,EAACV,EAAqB,CAAAS,SACnBF,EAAYU,KAAKC,GAChBR,EAACS,EAAQ,CAEPC,MAAOF,EAAaE,MACpBC,MAAOH,EAAaG,MACpBC,SAAUJ,EAAaI,SACvBC,QAASL,EAAaK,QACtBC,YAAaN,EAAaM,YAC1BC,MAAOP,EAAaO,OAAS,MANxBP,EAAaE,WAPjB,QAkCJhB,GAASY,OAKZN,EAACf,EAAkB,CAAAc,SACjBC,EAACgB,EAAW,CAACC,MAAM,QAAQP,MAAM,uBAAuBQ,OAAO,aAAaC,KAAK,SAAQpB,SACtFL,EAAQa,KAAKa,IACZ,MAAMhB,EAAsBgB,EAAahB,QACzC,OACEJ,EAACqB,EAAM,CAELC,SAAUF,EAAaE,WAAY,EACnCZ,MAAOU,EAAaV,MACpBa,QAASH,EAAaG,QACtBnB,QAASA,EAAOL,SAEfqB,EAAaT,OANTS,EAAaV,cAVrB"}
@@ -1,2 +0,0 @@
1
- "use strict";var e=require("../../createRequestId-DQcIlohW.cjs.js"),t=require("../../hasConfigurableGlobal-C8kXFDic.cjs.js"),s=require("../../../../../../../../@open-draft_deferred-promise@2.2.0/node_modules/@open-draft/deferred-promise/build/index.cjs.js"),n=require("../../../../../../../../outvariant@1.4.3/node_modules/outvariant/lib/index.cjs.js");function o(e,t){return Object.defineProperties(t,{target:{value:e,enumerable:!0,writable:!0},currentTarget:{value:e,enumerable:!0,writable:!0}}),t}const r=Symbol("kCancelable"),i=Symbol("kDefaultPrevented");var a=class extends MessageEvent{constructor(e,t){super(e,t),this[r]=!!t.cancelable,this[i]=!1}get cancelable(){return this[r]}set cancelable(e){this[r]=e}get defaultPrevented(){return this[i]}set defaultPrevented(e){this[i]=e}preventDefault(){this.cancelable&&!this[i]&&(this[i]=!0)}},c=class extends Event{constructor(e,t={}){super(e,t),this.code=void 0===t.code?0:t.code,this.reason=void 0===t.reason?"":t.reason,this.wasClean=void 0!==t.wasClean&&t.wasClean}},l=class extends c{constructor(e,t={}){super(e,t),this[r]=!!t.cancelable,this[i]=!1}get cancelable(){return this[r]}set cancelable(e){this[r]=e}get defaultPrevented(){return this[i]}set defaultPrevented(e){this[i]=e}preventDefault(){this.cancelable&&!this[i]&&(this[i]=!0)}};const h=Symbol("kEmitter"),d=Symbol("kBoundListener");var u=class{constructor(t,s){this.socket=t,this.transport=s,this.id=e.t(),this.url=new URL(t.url),this[h]=new EventTarget,this.transport.addEventListener("outgoing",(e=>{const t=o(this.socket,new a("message",{data:e.data,origin:e.origin,cancelable:!0}));this[h].dispatchEvent(t),t.defaultPrevented&&e.preventDefault()})),this.transport.addEventListener("close",(e=>{this[h].dispatchEvent(o(this.socket,new c("close",e)))}))}addEventListener(e,t,s){if(!Reflect.has(t,d)){const e=t.bind(this.socket);Object.defineProperty(t,d,{value:e,enumerable:!1,configurable:!1})}this[h].addEventListener(e,Reflect.get(t,d),s)}removeEventListener(e,t,s){this[h].removeEventListener(e,Reflect.get(t,d),s)}send(e){this.transport.send(e)}close(e,t){this.transport.close(e,t)}};const v="InvalidAccessError: close code out of user configurable range",b=Symbol("kPassthroughPromise"),E=Symbol("kOnSend"),p=Symbol("kClose");var S=class extends EventTarget{static{this.CONNECTING=0}static{this.OPEN=1}static{this.CLOSING=2}static{this.CLOSED=3}constructor(e,t){super(),this.CONNECTING=0,this.OPEN=1,this.CLOSING=2,this.CLOSED=3,this._onopen=null,this._onmessage=null,this._onerror=null,this._onclose=null,this.url=e.toString(),this.protocol="",this.extensions="",this.binaryType="blob",this.readyState=this.CONNECTING,this.bufferedAmount=0,this[b]=new s.DeferredPromise,queueMicrotask((async()=>{await this[b]||(this.protocol="string"==typeof t?t:Array.isArray(t)&&t.length>0?t[0]:"",this.readyState===this.CONNECTING&&(this.readyState=this.OPEN,this.dispatchEvent(o(this,new Event("open")))))}))}set onopen(e){this.removeEventListener("open",this._onopen),this._onopen=e,null!==e&&this.addEventListener("open",e)}get onopen(){return this._onopen}set onmessage(e){this.removeEventListener("message",this._onmessage),this._onmessage=e,null!==e&&this.addEventListener("message",e)}get onmessage(){return this._onmessage}set onerror(e){this.removeEventListener("error",this._onerror),this._onerror=e,null!==e&&this.addEventListener("error",e)}get onerror(){return this._onerror}set onclose(e){this.removeEventListener("close",this._onclose),this._onclose=e,null!==e&&this.addEventListener("close",e)}get onclose(){return this._onclose}send(e){if(this.readyState===this.CONNECTING)throw this.close(),new DOMException("InvalidStateError");this.readyState!==this.CLOSING&&this.readyState!==this.CLOSED&&(this.bufferedAmount+=function(e){return"string"==typeof e?e.length:e instanceof Blob?e.size:e.byteLength}(e),queueMicrotask((()=>{this.bufferedAmount=0,this[E]?.(e)})))}close(e=1e3,t){n.invariant(e,v),n.invariant(1e3===e||e>=3e3&&e<=4999,v),this[p](e,t)}[p](e=1e3,t,s=!0){this.readyState!==this.CLOSING&&this.readyState!==this.CLOSED&&(this.readyState=this.CLOSING,queueMicrotask((()=>{this.readyState=this.CLOSED,this.dispatchEvent(o(this,new c("close",{code:e,reason:t,wasClean:s}))),this._onopen=null,this._onmessage=null,this._onerror=null,this._onclose=null})))}addEventListener(e,t,s){return super.addEventListener(e,t,s)}removeEventListener(e,t,s){return super.removeEventListener(e,t,s)}};const g=Symbol("kEmitter"),k=Symbol("kBoundListener"),C=Symbol("kSend");var m=class{constructor(e,t,s){this.client=e,this.transport=t,this.createConnection=s,this[g]=new EventTarget,this.mockCloseController=new AbortController,this.realCloseController=new AbortController,this.transport.addEventListener("outgoing",(e=>{void 0!==this.realWebSocket&&queueMicrotask((()=>{e.defaultPrevented||this[C](e.data)}))})),this.transport.addEventListener("incoming",this.handleIncomingMessage.bind(this))}get socket(){return n.invariant(this.realWebSocket,'Cannot access "socket" on the original WebSocket server object: the connection is not open. Did you forget to call `server.connect()`?'),this.realWebSocket}connect(){n.invariant(!this.realWebSocket||this.realWebSocket.readyState!==WebSocket.OPEN,'Failed to call "connect()" on the original WebSocket instance: the connection already open');const e=this.createConnection();e.binaryType=this.client.binaryType,e.addEventListener("open",(e=>{this[g].dispatchEvent(o(this.realWebSocket,new Event("open",e)))}),{once:!0}),e.addEventListener("message",(e=>{this.transport.dispatchEvent(o(this.realWebSocket,new MessageEvent("incoming",{data:e.data,origin:e.origin})))})),this.client.addEventListener("close",(e=>{this.handleMockClose(e)}),{signal:this.mockCloseController.signal}),e.addEventListener("close",(e=>{this.handleRealClose(e)}),{signal:this.realCloseController.signal}),e.addEventListener("error",(()=>{const t=o(e,new Event("error",{cancelable:!0}));this[g].dispatchEvent(t),t.defaultPrevented||this.client.dispatchEvent(o(this.client,new Event("error")))})),this.realWebSocket=e}addEventListener(e,t,s){if(!Reflect.has(t,k)){const e=t.bind(this.client);Object.defineProperty(t,k,{value:e,enumerable:!1})}this[g].addEventListener(e,Reflect.get(t,k),s)}removeEventListener(e,t,s){this[g].removeEventListener(e,Reflect.get(t,k),s)}send(e){this[C](e)}[C](e){const{realWebSocket:t}=this;n.invariant(t,'Failed to call "server.send()" for "%s": the connection is not open. Did you forget to call "server.connect()"?',this.client.url),t.readyState!==WebSocket.CLOSING&&t.readyState!==WebSocket.CLOSED&&(t.readyState!==WebSocket.CONNECTING?t.send(e):t.addEventListener("open",(()=>{t.send(e)}),{once:!0}))}close(){const{realWebSocket:e}=this;n.invariant(e,'Failed to close server connection for "%s": the connection is not open. Did you forget to call "server.connect()"?',this.client.url),this.realCloseController.abort(),e.readyState!==WebSocket.CLOSING&&e.readyState!==WebSocket.CLOSED&&(e.close(),queueMicrotask((()=>{this[g].dispatchEvent(o(this.realWebSocket,new l("close",{code:1e3,cancelable:!0})))})))}handleIncomingMessage(e){const t=o(e.target,new a("message",{data:e.data,origin:e.origin,cancelable:!0}));this[g].dispatchEvent(t),t.defaultPrevented||this.client.dispatchEvent(o(this.client,new MessageEvent("message",{data:e.data,origin:e.origin})))}handleMockClose(e){this.realWebSocket&&this.realWebSocket.close()}handleRealClose(e){this.mockCloseController.abort();const t=o(this.realWebSocket,new l("close",{code:e.code,reason:e.reason,wasClean:e.wasClean,cancelable:!0}));this[g].dispatchEvent(t),t.defaultPrevented||this.client[p](e.code,e.reason)}},y=class extends EventTarget{constructor(e){super(),this.socket=e,this.socket.addEventListener("close",(e=>{this.dispatchEvent(o(this.socket,new c("close",e)))})),this.socket[E]=e=>{this.dispatchEvent(o(this.socket,new a("outgoing",{data:e,origin:this.socket.url,cancelable:!0})))}}addEventListener(e,t,s){return super.addEventListener(e,t,s)}dispatchEvent(e){return super.dispatchEvent(e)}send(e){queueMicrotask((()=>{if(this.socket.readyState===this.socket.CLOSING||this.socket.readyState===this.socket.CLOSED)return;const t=()=>{this.socket.dispatchEvent(o(this.socket,new MessageEvent("message",{data:e,origin:this.socket.url})))};this.socket.readyState===this.socket.CONNECTING?this.socket.addEventListener("open",(()=>{t()}),{once:!0}):t()}))}close(e,t){this.socket[p](e,t)}},f=class s extends e.r{static{this.symbol=Symbol("websocket")}constructor(){super(s.symbol)}checkEnvironment(){return t.t("WebSocket")}setup(){const e=Object.getOwnPropertyDescriptor(globalThis,"WebSocket"),s=new Proxy(globalThis.WebSocket,{construct:(e,s,n)=>{const[r,i]=s,a=()=>Reflect.construct(e,s,n),c=new S(r,i),l=new y(c);return queueMicrotask((async()=>{try{const e=new m(c,l,a),s=this.emitter.listenerCount("connection")>0;await t.n(this.emitter,"connection",{client:new u(c,l),server:e,info:{protocols:i}}),s?c[b].resolve(!1):(c[b].resolve(!0),e.connect(),e.addEventListener("open",(()=>{c.dispatchEvent(o(c,new Event("open"))),e.realWebSocket&&(c.protocol=e.realWebSocket.protocol)})))}catch(e){e instanceof Error&&(c.dispatchEvent(new Event("error")),c.readyState!==WebSocket.CLOSING&&c.readyState!==WebSocket.CLOSED&&c[p](1011,e.message,!1),console.error(e))}})),c}});Object.defineProperty(globalThis,"WebSocket",{value:s,configurable:!0}),this.subscriptions.push((()=>{Object.defineProperty(globalThis,"WebSocket",e)}))}};exports.CancelableCloseEvent=l,exports.CancelableMessageEvent=a,exports.CloseEvent=c,exports.WebSocketClientConnection=u,exports.WebSocketInterceptor=f,exports.WebSocketServerConnection=m;
2
- //# sourceMappingURL=index.cjs.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.cjs.js","sources":["../../../../../../../../../../../../../node_modules/.pnpm/@mswjs+interceptors@0.41.0/node_modules/@mswjs/interceptors/lib/browser/interceptors/WebSocket/index.mjs"],"sourcesContent":["import { r as Interceptor, t as createRequestId } from \"../../createRequestId-DQcIlohW.mjs\";\nimport { n as emitAsync, t as hasConfigurableGlobal } from \"../../hasConfigurableGlobal-C8kXFDic.mjs\";\nimport { DeferredPromise } from \"@open-draft/deferred-promise\";\nimport { invariant } from \"outvariant\";\n\n//#region src/interceptors/WebSocket/utils/bindEvent.ts\nfunction bindEvent(target, event) {\n\tObject.defineProperties(event, {\n\t\ttarget: {\n\t\t\tvalue: target,\n\t\t\tenumerable: true,\n\t\t\twritable: true\n\t\t},\n\t\tcurrentTarget: {\n\t\t\tvalue: target,\n\t\t\tenumerable: true,\n\t\t\twritable: true\n\t\t}\n\t});\n\treturn event;\n}\n\n//#endregion\n//#region src/interceptors/WebSocket/utils/events.ts\nconst kCancelable = Symbol(\"kCancelable\");\nconst kDefaultPrevented = Symbol(\"kDefaultPrevented\");\n/**\n* A `MessageEvent` superset that supports event cancellation\n* in Node.js. It's rather non-intrusive so it can be safely\n* used in the browser as well.\n*\n* @see https://github.com/nodejs/node/issues/51767\n*/\nvar CancelableMessageEvent = class extends MessageEvent {\n\tconstructor(type, init) {\n\t\tsuper(type, init);\n\t\tthis[kCancelable] = !!init.cancelable;\n\t\tthis[kDefaultPrevented] = false;\n\t}\n\tget cancelable() {\n\t\treturn this[kCancelable];\n\t}\n\tset cancelable(nextCancelable) {\n\t\tthis[kCancelable] = nextCancelable;\n\t}\n\tget defaultPrevented() {\n\t\treturn this[kDefaultPrevented];\n\t}\n\tset defaultPrevented(nextDefaultPrevented) {\n\t\tthis[kDefaultPrevented] = nextDefaultPrevented;\n\t}\n\tpreventDefault() {\n\t\tif (this.cancelable && !this[kDefaultPrevented]) this[kDefaultPrevented] = true;\n\t}\n};\nvar CloseEvent = class extends Event {\n\tconstructor(type, init = {}) {\n\t\tsuper(type, init);\n\t\tthis.code = init.code === void 0 ? 0 : init.code;\n\t\tthis.reason = init.reason === void 0 ? \"\" : init.reason;\n\t\tthis.wasClean = init.wasClean === void 0 ? false : init.wasClean;\n\t}\n};\nvar CancelableCloseEvent = class extends CloseEvent {\n\tconstructor(type, init = {}) {\n\t\tsuper(type, init);\n\t\tthis[kCancelable] = !!init.cancelable;\n\t\tthis[kDefaultPrevented] = false;\n\t}\n\tget cancelable() {\n\t\treturn this[kCancelable];\n\t}\n\tset cancelable(nextCancelable) {\n\t\tthis[kCancelable] = nextCancelable;\n\t}\n\tget defaultPrevented() {\n\t\treturn this[kDefaultPrevented];\n\t}\n\tset defaultPrevented(nextDefaultPrevented) {\n\t\tthis[kDefaultPrevented] = nextDefaultPrevented;\n\t}\n\tpreventDefault() {\n\t\tif (this.cancelable && !this[kDefaultPrevented]) this[kDefaultPrevented] = true;\n\t}\n};\n\n//#endregion\n//#region src/interceptors/WebSocket/WebSocketClientConnection.ts\nconst kEmitter$1 = Symbol(\"kEmitter\");\nconst kBoundListener$1 = Symbol(\"kBoundListener\");\nvar WebSocketClientConnectionProtocol = class {};\n/**\n* The WebSocket client instance represents an incoming\n* client connection. The user can control the connection,\n* send and receive events.\n*/\nvar WebSocketClientConnection = class {\n\tconstructor(socket, transport) {\n\t\tthis.socket = socket;\n\t\tthis.transport = transport;\n\t\tthis.id = createRequestId();\n\t\tthis.url = new URL(socket.url);\n\t\tthis[kEmitter$1] = new EventTarget();\n\t\tthis.transport.addEventListener(\"outgoing\", (event) => {\n\t\t\tconst message = bindEvent(this.socket, new CancelableMessageEvent(\"message\", {\n\t\t\t\tdata: event.data,\n\t\t\t\torigin: event.origin,\n\t\t\t\tcancelable: true\n\t\t\t}));\n\t\t\tthis[kEmitter$1].dispatchEvent(message);\n\t\t\tif (message.defaultPrevented) event.preventDefault();\n\t\t});\n\t\t/**\n\t\t* Emit the \"close\" event on the \"client\" connection\n\t\t* whenever the underlying transport is closed.\n\t\t* @note \"client.close()\" does NOT dispatch the \"close\"\n\t\t* event on the WebSocket because it uses non-configurable\n\t\t* close status code. Thus, we listen to the transport\n\t\t* instead of the WebSocket's \"close\" event.\n\t\t*/\n\t\tthis.transport.addEventListener(\"close\", (event) => {\n\t\t\tthis[kEmitter$1].dispatchEvent(bindEvent(this.socket, new CloseEvent(\"close\", event)));\n\t\t});\n\t}\n\t/**\n\t* Listen for the outgoing events from the connected WebSocket client.\n\t*/\n\taddEventListener(type, listener, options) {\n\t\tif (!Reflect.has(listener, kBoundListener$1)) {\n\t\t\tconst boundListener = listener.bind(this.socket);\n\t\t\tObject.defineProperty(listener, kBoundListener$1, {\n\t\t\t\tvalue: boundListener,\n\t\t\t\tenumerable: false,\n\t\t\t\tconfigurable: false\n\t\t\t});\n\t\t}\n\t\tthis[kEmitter$1].addEventListener(type, Reflect.get(listener, kBoundListener$1), options);\n\t}\n\t/**\n\t* Removes the listener for the given event.\n\t*/\n\tremoveEventListener(event, listener, options) {\n\t\tthis[kEmitter$1].removeEventListener(event, Reflect.get(listener, kBoundListener$1), options);\n\t}\n\t/**\n\t* Send data to the connected client.\n\t*/\n\tsend(data) {\n\t\tthis.transport.send(data);\n\t}\n\t/**\n\t* Close the WebSocket connection.\n\t* @param {number} code A status code (see https://www.rfc-editor.org/rfc/rfc6455#section-7.4.1).\n\t* @param {string} reason A custom connection close reason.\n\t*/\n\tclose(code, reason) {\n\t\tthis.transport.close(code, reason);\n\t}\n};\n\n//#endregion\n//#region src/interceptors/WebSocket/WebSocketOverride.ts\nconst WEBSOCKET_CLOSE_CODE_RANGE_ERROR = \"InvalidAccessError: close code out of user configurable range\";\nconst kPassthroughPromise = Symbol(\"kPassthroughPromise\");\nconst kOnSend = Symbol(\"kOnSend\");\nconst kClose = Symbol(\"kClose\");\nvar WebSocketOverride = class extends EventTarget {\n\tstatic {\n\t\tthis.CONNECTING = 0;\n\t}\n\tstatic {\n\t\tthis.OPEN = 1;\n\t}\n\tstatic {\n\t\tthis.CLOSING = 2;\n\t}\n\tstatic {\n\t\tthis.CLOSED = 3;\n\t}\n\tconstructor(url, protocols) {\n\t\tsuper();\n\t\tthis.CONNECTING = 0;\n\t\tthis.OPEN = 1;\n\t\tthis.CLOSING = 2;\n\t\tthis.CLOSED = 3;\n\t\tthis._onopen = null;\n\t\tthis._onmessage = null;\n\t\tthis._onerror = null;\n\t\tthis._onclose = null;\n\t\tthis.url = url.toString();\n\t\tthis.protocol = \"\";\n\t\tthis.extensions = \"\";\n\t\tthis.binaryType = \"blob\";\n\t\tthis.readyState = this.CONNECTING;\n\t\tthis.bufferedAmount = 0;\n\t\tthis[kPassthroughPromise] = new DeferredPromise();\n\t\tqueueMicrotask(async () => {\n\t\t\tif (await this[kPassthroughPromise]) return;\n\t\t\tthis.protocol = typeof protocols === \"string\" ? protocols : Array.isArray(protocols) && protocols.length > 0 ? protocols[0] : \"\";\n\t\t\t/**\n\t\t\t* @note Check that nothing has prevented this connection\n\t\t\t* (e.g. called `client.close()` in the connection listener).\n\t\t\t* If the connection has been prevented, never dispatch the open event,.\n\t\t\t*/\n\t\t\tif (this.readyState === this.CONNECTING) {\n\t\t\t\tthis.readyState = this.OPEN;\n\t\t\t\tthis.dispatchEvent(bindEvent(this, new Event(\"open\")));\n\t\t\t}\n\t\t});\n\t}\n\tset onopen(listener) {\n\t\tthis.removeEventListener(\"open\", this._onopen);\n\t\tthis._onopen = listener;\n\t\tif (listener !== null) this.addEventListener(\"open\", listener);\n\t}\n\tget onopen() {\n\t\treturn this._onopen;\n\t}\n\tset onmessage(listener) {\n\t\tthis.removeEventListener(\"message\", this._onmessage);\n\t\tthis._onmessage = listener;\n\t\tif (listener !== null) this.addEventListener(\"message\", listener);\n\t}\n\tget onmessage() {\n\t\treturn this._onmessage;\n\t}\n\tset onerror(listener) {\n\t\tthis.removeEventListener(\"error\", this._onerror);\n\t\tthis._onerror = listener;\n\t\tif (listener !== null) this.addEventListener(\"error\", listener);\n\t}\n\tget onerror() {\n\t\treturn this._onerror;\n\t}\n\tset onclose(listener) {\n\t\tthis.removeEventListener(\"close\", this._onclose);\n\t\tthis._onclose = listener;\n\t\tif (listener !== null) this.addEventListener(\"close\", listener);\n\t}\n\tget onclose() {\n\t\treturn this._onclose;\n\t}\n\t/**\n\t* @see https://websockets.spec.whatwg.org/#ref-for-dom-websocket-send%E2%91%A0\n\t*/\n\tsend(data) {\n\t\tif (this.readyState === this.CONNECTING) {\n\t\t\tthis.close();\n\t\t\tthrow new DOMException(\"InvalidStateError\");\n\t\t}\n\t\tif (this.readyState === this.CLOSING || this.readyState === this.CLOSED) return;\n\t\tthis.bufferedAmount += getDataSize(data);\n\t\tqueueMicrotask(() => {\n\t\t\tthis.bufferedAmount = 0;\n\t\t\t/**\n\t\t\t* @note Notify the parent about outgoing data.\n\t\t\t* This notifies the transport and the connection\n\t\t\t* listens to the outgoing data to emit the \"message\" event.\n\t\t\t*/\n\t\t\tthis[kOnSend]?.(data);\n\t\t});\n\t}\n\tclose(code = 1e3, reason) {\n\t\tinvariant(code, WEBSOCKET_CLOSE_CODE_RANGE_ERROR);\n\t\tinvariant(code === 1e3 || code >= 3e3 && code <= 4999, WEBSOCKET_CLOSE_CODE_RANGE_ERROR);\n\t\tthis[kClose](code, reason);\n\t}\n\t[kClose](code = 1e3, reason, wasClean = true) {\n\t\t/**\n\t\t* @note Move this check here so that even internal closures,\n\t\t* like those triggered by the `server` connection, are not\n\t\t* performed twice.\n\t\t*/\n\t\tif (this.readyState === this.CLOSING || this.readyState === this.CLOSED) return;\n\t\tthis.readyState = this.CLOSING;\n\t\tqueueMicrotask(() => {\n\t\t\tthis.readyState = this.CLOSED;\n\t\t\tthis.dispatchEvent(bindEvent(this, new CloseEvent(\"close\", {\n\t\t\t\tcode,\n\t\t\t\treason,\n\t\t\t\twasClean\n\t\t\t})));\n\t\t\tthis._onopen = null;\n\t\t\tthis._onmessage = null;\n\t\t\tthis._onerror = null;\n\t\t\tthis._onclose = null;\n\t\t});\n\t}\n\taddEventListener(type, listener, options) {\n\t\treturn super.addEventListener(type, listener, options);\n\t}\n\tremoveEventListener(type, callback, options) {\n\t\treturn super.removeEventListener(type, callback, options);\n\t}\n};\nfunction getDataSize(data) {\n\tif (typeof data === \"string\") return data.length;\n\tif (data instanceof Blob) return data.size;\n\treturn data.byteLength;\n}\n\n//#endregion\n//#region src/interceptors/WebSocket/WebSocketServerConnection.ts\nconst kEmitter = Symbol(\"kEmitter\");\nconst kBoundListener = Symbol(\"kBoundListener\");\nconst kSend = Symbol(\"kSend\");\nvar WebSocketServerConnectionProtocol = class {};\n/**\n* The WebSocket server instance represents the actual production\n* WebSocket server connection. It's idle by default but you can\n* establish it by calling `server.connect()`.\n*/\nvar WebSocketServerConnection = class {\n\tconstructor(client, transport, createConnection) {\n\t\tthis.client = client;\n\t\tthis.transport = transport;\n\t\tthis.createConnection = createConnection;\n\t\tthis[kEmitter] = new EventTarget();\n\t\tthis.mockCloseController = new AbortController();\n\t\tthis.realCloseController = new AbortController();\n\t\tthis.transport.addEventListener(\"outgoing\", (event) => {\n\t\t\tif (typeof this.realWebSocket === \"undefined\") return;\n\t\t\tqueueMicrotask(() => {\n\t\t\t\tif (!event.defaultPrevented)\n /**\n\t\t\t\t* @note Use the internal send mechanism so consumers can tell\n\t\t\t\t* apart direct user calls to `server.send()` and internal calls.\n\t\t\t\t* E.g. MSW has to ignore this internal call to log out messages correctly.\n\t\t\t\t*/\n\t\t\t\tthis[kSend](event.data);\n\t\t\t});\n\t\t});\n\t\tthis.transport.addEventListener(\"incoming\", this.handleIncomingMessage.bind(this));\n\t}\n\t/**\n\t* The `WebSocket` instance connected to the original server.\n\t* Accessing this before calling `server.connect()` will throw.\n\t*/\n\tget socket() {\n\t\tinvariant(this.realWebSocket, \"Cannot access \\\"socket\\\" on the original WebSocket server object: the connection is not open. Did you forget to call `server.connect()`?\");\n\t\treturn this.realWebSocket;\n\t}\n\t/**\n\t* Open connection to the original WebSocket server.\n\t*/\n\tconnect() {\n\t\tinvariant(!this.realWebSocket || this.realWebSocket.readyState !== WebSocket.OPEN, \"Failed to call \\\"connect()\\\" on the original WebSocket instance: the connection already open\");\n\t\tconst realWebSocket = this.createConnection();\n\t\trealWebSocket.binaryType = this.client.binaryType;\n\t\trealWebSocket.addEventListener(\"open\", (event) => {\n\t\t\tthis[kEmitter].dispatchEvent(bindEvent(this.realWebSocket, new Event(\"open\", event)));\n\t\t}, { once: true });\n\t\trealWebSocket.addEventListener(\"message\", (event) => {\n\t\t\tthis.transport.dispatchEvent(bindEvent(this.realWebSocket, new MessageEvent(\"incoming\", {\n\t\t\t\tdata: event.data,\n\t\t\t\torigin: event.origin\n\t\t\t})));\n\t\t});\n\t\tthis.client.addEventListener(\"close\", (event) => {\n\t\t\tthis.handleMockClose(event);\n\t\t}, { signal: this.mockCloseController.signal });\n\t\trealWebSocket.addEventListener(\"close\", (event) => {\n\t\t\tthis.handleRealClose(event);\n\t\t}, { signal: this.realCloseController.signal });\n\t\trealWebSocket.addEventListener(\"error\", () => {\n\t\t\tconst errorEvent = bindEvent(realWebSocket, new Event(\"error\", { cancelable: true }));\n\t\t\tthis[kEmitter].dispatchEvent(errorEvent);\n\t\t\tif (!errorEvent.defaultPrevented) this.client.dispatchEvent(bindEvent(this.client, new Event(\"error\")));\n\t\t});\n\t\tthis.realWebSocket = realWebSocket;\n\t}\n\t/**\n\t* Listen for the incoming events from the original WebSocket server.\n\t*/\n\taddEventListener(event, listener, options) {\n\t\tif (!Reflect.has(listener, kBoundListener)) {\n\t\t\tconst boundListener = listener.bind(this.client);\n\t\t\tObject.defineProperty(listener, kBoundListener, {\n\t\t\t\tvalue: boundListener,\n\t\t\t\tenumerable: false\n\t\t\t});\n\t\t}\n\t\tthis[kEmitter].addEventListener(event, Reflect.get(listener, kBoundListener), options);\n\t}\n\t/**\n\t* Remove the listener for the given event.\n\t*/\n\tremoveEventListener(event, listener, options) {\n\t\tthis[kEmitter].removeEventListener(event, Reflect.get(listener, kBoundListener), options);\n\t}\n\t/**\n\t* Send data to the original WebSocket server.\n\t* @example\n\t* server.send('hello')\n\t* server.send(new Blob(['hello']))\n\t* server.send(new TextEncoder().encode('hello'))\n\t*/\n\tsend(data) {\n\t\tthis[kSend](data);\n\t}\n\t[kSend](data) {\n\t\tconst { realWebSocket } = this;\n\t\tinvariant(realWebSocket, \"Failed to call \\\"server.send()\\\" for \\\"%s\\\": the connection is not open. Did you forget to call \\\"server.connect()\\\"?\", this.client.url);\n\t\tif (realWebSocket.readyState === WebSocket.CLOSING || realWebSocket.readyState === WebSocket.CLOSED) return;\n\t\tif (realWebSocket.readyState === WebSocket.CONNECTING) {\n\t\t\trealWebSocket.addEventListener(\"open\", () => {\n\t\t\t\trealWebSocket.send(data);\n\t\t\t}, { once: true });\n\t\t\treturn;\n\t\t}\n\t\trealWebSocket.send(data);\n\t}\n\t/**\n\t* Close the actual server connection.\n\t*/\n\tclose() {\n\t\tconst { realWebSocket } = this;\n\t\tinvariant(realWebSocket, \"Failed to close server connection for \\\"%s\\\": the connection is not open. Did you forget to call \\\"server.connect()\\\"?\", this.client.url);\n\t\tthis.realCloseController.abort();\n\t\tif (realWebSocket.readyState === WebSocket.CLOSING || realWebSocket.readyState === WebSocket.CLOSED) return;\n\t\trealWebSocket.close();\n\t\tqueueMicrotask(() => {\n\t\t\tthis[kEmitter].dispatchEvent(bindEvent(this.realWebSocket, new CancelableCloseEvent(\"close\", {\n\t\t\t\tcode: 1e3,\n\t\t\t\tcancelable: true\n\t\t\t})));\n\t\t});\n\t}\n\thandleIncomingMessage(event) {\n\t\tconst messageEvent = bindEvent(event.target, new CancelableMessageEvent(\"message\", {\n\t\t\tdata: event.data,\n\t\t\torigin: event.origin,\n\t\t\tcancelable: true\n\t\t}));\n\t\t/**\n\t\t* @note Emit \"message\" event on the server connection\n\t\t* instance to let the interceptor know about these\n\t\t* incoming events from the original server. In that listener,\n\t\t* the interceptor can modify or skip the event forwarding\n\t\t* to the mock WebSocket instance.\n\t\t*/\n\t\tthis[kEmitter].dispatchEvent(messageEvent);\n\t\t/**\n\t\t* @note Forward the incoming server events to the client.\n\t\t* Preventing the default on the message event stops this.\n\t\t*/\n\t\tif (!messageEvent.defaultPrevented) this.client.dispatchEvent(bindEvent(\n\t\t\t/**\n\t\t\t* @note Bind the forwarded original server events\n\t\t\t* to the mock WebSocket instance so it would\n\t\t\t* dispatch them straight away.\n\t\t\t*/\n\t\t\tthis.client,\n\t\t\tnew MessageEvent(\"message\", {\n\t\t\t\tdata: event.data,\n\t\t\t\torigin: event.origin\n\t\t\t})\n\t\t));\n\t}\n\thandleMockClose(_event) {\n\t\tif (this.realWebSocket) this.realWebSocket.close();\n\t}\n\thandleRealClose(event) {\n\t\tthis.mockCloseController.abort();\n\t\tconst closeEvent = bindEvent(this.realWebSocket, new CancelableCloseEvent(\"close\", {\n\t\t\tcode: event.code,\n\t\t\treason: event.reason,\n\t\t\twasClean: event.wasClean,\n\t\t\tcancelable: true\n\t\t}));\n\t\tthis[kEmitter].dispatchEvent(closeEvent);\n\t\tif (!closeEvent.defaultPrevented) this.client[kClose](event.code, event.reason);\n\t}\n};\n\n//#endregion\n//#region src/interceptors/WebSocket/WebSocketClassTransport.ts\n/**\n* Abstraction over the given mock `WebSocket` instance that allows\n* for controlling that instance (e.g. sending and receiving messages).\n*/\nvar WebSocketClassTransport = class extends EventTarget {\n\tconstructor(socket) {\n\t\tsuper();\n\t\tthis.socket = socket;\n\t\tthis.socket.addEventListener(\"close\", (event) => {\n\t\t\tthis.dispatchEvent(bindEvent(this.socket, new CloseEvent(\"close\", event)));\n\t\t});\n\t\t/**\n\t\t* Emit the \"outgoing\" event on the transport\n\t\t* whenever the WebSocket client sends data (\"ws.send()\").\n\t\t*/\n\t\tthis.socket[kOnSend] = (data) => {\n\t\t\tthis.dispatchEvent(bindEvent(this.socket, new CancelableMessageEvent(\"outgoing\", {\n\t\t\t\tdata,\n\t\t\t\torigin: this.socket.url,\n\t\t\t\tcancelable: true\n\t\t\t})));\n\t\t};\n\t}\n\taddEventListener(type, callback, options) {\n\t\treturn super.addEventListener(type, callback, options);\n\t}\n\tdispatchEvent(event) {\n\t\treturn super.dispatchEvent(event);\n\t}\n\tsend(data) {\n\t\tqueueMicrotask(() => {\n\t\t\tif (this.socket.readyState === this.socket.CLOSING || this.socket.readyState === this.socket.CLOSED) return;\n\t\t\tconst dispatchEvent = () => {\n\t\t\t\tthis.socket.dispatchEvent(bindEvent(\n\t\t\t\t\t/**\n\t\t\t\t\t* @note Setting this event's \"target\" to the\n\t\t\t\t\t* WebSocket override instance is important.\n\t\t\t\t\t* This way it can tell apart original incoming events\n\t\t\t\t\t* (must be forwarded to the transport) from the\n\t\t\t\t\t* mocked message events like the one below\n\t\t\t\t\t* (must be dispatched on the client instance).\n\t\t\t\t\t*/\n\t\t\t\t\tthis.socket,\n\t\t\t\t\tnew MessageEvent(\"message\", {\n\t\t\t\t\t\tdata,\n\t\t\t\t\t\torigin: this.socket.url\n\t\t\t\t\t})\n\t\t\t\t));\n\t\t\t};\n\t\t\tif (this.socket.readyState === this.socket.CONNECTING) this.socket.addEventListener(\"open\", () => {\n\t\t\t\tdispatchEvent();\n\t\t\t}, { once: true });\n\t\t\telse dispatchEvent();\n\t\t});\n\t}\n\tclose(code, reason) {\n\t\t/**\n\t\t* @note Call the internal close method directly\n\t\t* to allow closing the connection with the status codes\n\t\t* that are non-configurable by the user (> 1000 <= 1015).\n\t\t*/\n\t\tthis.socket[kClose](code, reason);\n\t}\n};\n\n//#endregion\n//#region src/interceptors/WebSocket/index.ts\n/**\n* Intercept the outgoing WebSocket connections created using\n* the global `WebSocket` class.\n*/\nvar WebSocketInterceptor = class WebSocketInterceptor extends Interceptor {\n\tstatic {\n\t\tthis.symbol = Symbol(\"websocket\");\n\t}\n\tconstructor() {\n\t\tsuper(WebSocketInterceptor.symbol);\n\t}\n\tcheckEnvironment() {\n\t\treturn hasConfigurableGlobal(\"WebSocket\");\n\t}\n\tsetup() {\n\t\tconst originalWebSocketDescriptor = Object.getOwnPropertyDescriptor(globalThis, \"WebSocket\");\n\t\tconst WebSocketProxy = new Proxy(globalThis.WebSocket, { construct: (target, args, newTarget) => {\n\t\t\tconst [url, protocols] = args;\n\t\t\tconst createConnection = () => {\n\t\t\t\treturn Reflect.construct(target, args, newTarget);\n\t\t\t};\n\t\t\tconst socket = new WebSocketOverride(url, protocols);\n\t\t\tconst transport = new WebSocketClassTransport(socket);\n\t\t\tqueueMicrotask(async () => {\n\t\t\t\ttry {\n\t\t\t\t\tconst server = new WebSocketServerConnection(socket, transport, createConnection);\n\t\t\t\t\tconst hasConnectionListeners = this.emitter.listenerCount(\"connection\") > 0;\n\t\t\t\t\tawait emitAsync(this.emitter, \"connection\", {\n\t\t\t\t\t\tclient: new WebSocketClientConnection(socket, transport),\n\t\t\t\t\t\tserver,\n\t\t\t\t\t\tinfo: { protocols }\n\t\t\t\t\t});\n\t\t\t\t\tif (hasConnectionListeners) socket[kPassthroughPromise].resolve(false);\n\t\t\t\t\telse {\n\t\t\t\t\t\tsocket[kPassthroughPromise].resolve(true);\n\t\t\t\t\t\tserver.connect();\n\t\t\t\t\t\tserver.addEventListener(\"open\", () => {\n\t\t\t\t\t\t\tsocket.dispatchEvent(bindEvent(socket, new Event(\"open\")));\n\t\t\t\t\t\t\tif (server[\"realWebSocket\"]) socket.protocol = server[\"realWebSocket\"].protocol;\n\t\t\t\t\t\t});\n\t\t\t\t\t}\n\t\t\t\t} catch (error) {\n\t\t\t\t\t/**\n\t\t\t\t\t* @note Translate unhandled exceptions during the connection\n\t\t\t\t\t* handling (i.e. interceptor exceptions) as WebSocket connection\n\t\t\t\t\t* closures with error. This prevents from the exceptions occurring\n\t\t\t\t\t* in `queueMicrotask` from being process-wide and uncatchable.\n\t\t\t\t\t*/\n\t\t\t\t\tif (error instanceof Error) {\n\t\t\t\t\t\tsocket.dispatchEvent(new Event(\"error\"));\n\t\t\t\t\t\tif (socket.readyState !== WebSocket.CLOSING && socket.readyState !== WebSocket.CLOSED) socket[kClose](1011, error.message, false);\n\t\t\t\t\t\tconsole.error(error);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t});\n\t\t\treturn socket;\n\t\t} });\n\t\tObject.defineProperty(globalThis, \"WebSocket\", {\n\t\t\tvalue: WebSocketProxy,\n\t\t\tconfigurable: true\n\t\t});\n\t\tthis.subscriptions.push(() => {\n\t\t\tObject.defineProperty(globalThis, \"WebSocket\", originalWebSocketDescriptor);\n\t\t});\n\t}\n};\n\n//#endregion\nexport { CancelableCloseEvent, CancelableMessageEvent, CloseEvent, WebSocketClientConnection, WebSocketClientConnectionProtocol, WebSocketInterceptor, WebSocketServerConnection, WebSocketServerConnectionProtocol };\n//# sourceMappingURL=index.mjs.map"],"names":["bindEvent","target","event","Object","defineProperties","value","enumerable","writable","currentTarget","kCancelable","Symbol","kDefaultPrevented","CancelableMessageEvent","MessageEvent","constructor","type","init","super","this","cancelable","nextCancelable","defaultPrevented","nextDefaultPrevented","preventDefault","CloseEvent","Event","code","reason","wasClean","CancelableCloseEvent","kEmitter$1","kBoundListener$1","WebSocketClientConnection","socket","transport","id","createRequestId","url","URL","EventTarget","addEventListener","message","data","origin","dispatchEvent","listener","options","Reflect","has","boundListener","bind","defineProperty","configurable","get","removeEventListener","send","close","WEBSOCKET_CLOSE_CODE_RANGE_ERROR","kPassthroughPromise","kOnSend","kClose","WebSocketOverride","CONNECTING","OPEN","CLOSING","CLOSED","protocols","_onopen","_onmessage","_onerror","_onclose","toString","protocol","extensions","binaryType","readyState","bufferedAmount","DeferredPromise","queueMicrotask","async","Array","isArray","length","onopen","onmessage","onerror","onclose","DOMException","Blob","size","byteLength","getDataSize","invariant","callback","kEmitter","kBoundListener","kSend","WebSocketServerConnection","client","createConnection","mockCloseController","AbortController","realCloseController","realWebSocket","handleIncomingMessage","connect","WebSocket","once","handleMockClose","signal","handleRealClose","errorEvent","abort","messageEvent","_event","closeEvent","WebSocketClassTransport","WebSocketInterceptor","Interceptor","symbol","checkEnvironment","hasConfigurableGlobal","setup","originalWebSocketDescriptor","getOwnPropertyDescriptor","globalThis","WebSocketProxy","Proxy","construct","args","newTarget","server","hasConnectionListeners","emitter","listenerCount","emitAsync","info","resolve","error","Error","console","subscriptions","push"],"mappings":"iWAMA,SAASA,EAAUC,EAAQC,GAa1B,OAZAC,OAAOC,iBAAiBF,EAAO,CAC9BD,OAAQ,CACPI,MAAOJ,EACPK,YAAY,EACZC,UAAU,GAEXC,cAAe,CACdH,MAAOJ,EACPK,YAAY,EACZC,UAAU,KAGLL,CACR,CAIA,MAAMO,EAAcC,OAAO,eACrBC,EAAoBD,OAAO,qBAQ9B,IAACE,EAAyB,cAAcC,aAC1C,WAAAC,CAAYC,EAAMC,GACjBC,MAAMF,EAAMC,GACZE,KAAKT,KAAiBO,EAAKG,WAC3BD,KAAKP,IAAqB,CAC3B,CACA,cAAIQ,GACH,OAAOD,KAAKT,EACb,CACA,cAAIU,CAAWC,GACdF,KAAKT,GAAeW,CACrB,CACA,oBAAIC,GACH,OAAOH,KAAKP,EACb,CACA,oBAAIU,CAAiBC,GACpBJ,KAAKP,GAAqBW,CAC3B,CACA,cAAAC,GACKL,KAAKC,aAAeD,KAAKP,KAAoBO,KAAKP,IAAqB,EAC5E,GAEGa,EAAa,cAAcC,MAC9B,WAAAX,CAAYC,EAAMC,EAAO,IACxBC,MAAMF,EAAMC,GACZE,KAAKQ,UAAqB,IAAdV,EAAKU,KAAkB,EAAIV,EAAKU,KAC5CR,KAAKS,YAAyB,IAAhBX,EAAKW,OAAoB,GAAKX,EAAKW,OACjDT,KAAKU,cAA6B,IAAlBZ,EAAKY,UAA8BZ,EAAKY,QACzD,GAEGC,EAAuB,cAAcL,EACxC,WAAAV,CAAYC,EAAMC,EAAO,IACxBC,MAAMF,EAAMC,GACZE,KAAKT,KAAiBO,EAAKG,WAC3BD,KAAKP,IAAqB,CAC3B,CACA,cAAIQ,GACH,OAAOD,KAAKT,EACb,CACA,cAAIU,CAAWC,GACdF,KAAKT,GAAeW,CACrB,CACA,oBAAIC,GACH,OAAOH,KAAKP,EACb,CACA,oBAAIU,CAAiBC,GACpBJ,KAAKP,GAAqBW,CAC3B,CACA,cAAAC,GACKL,KAAKC,aAAeD,KAAKP,KAAoBO,KAAKP,IAAqB,EAC5E,GAKD,MAAMmB,EAAapB,OAAO,YACpBqB,EAAmBrB,OAAO,kBAO7B,IAACsB,EAA4B,MAC/B,WAAAlB,CAAYmB,EAAQC,GACnBhB,KAAKe,OAASA,EACdf,KAAKgB,UAAYA,EACjBhB,KAAKiB,GAAKC,MACVlB,KAAKmB,IAAM,IAAIC,IAAIL,EAAOI,KAC1BnB,KAAKY,GAAc,IAAIS,YACvBrB,KAAKgB,UAAUM,iBAAiB,YAAatC,IAC5C,MAAMuC,EAAUzC,EAAUkB,KAAKe,OAAQ,IAAIrB,EAAuB,UAAW,CAC5E8B,KAAMxC,EAAMwC,KACZC,OAAQzC,EAAMyC,OACdxB,YAAY,KAEbD,KAAKY,GAAYc,cAAcH,GAC3BA,EAAQpB,kBAAkBnB,EAAMqB,oBAUrCL,KAAKgB,UAAUM,iBAAiB,SAAUtC,IACzCgB,KAAKY,GAAYc,cAAc5C,EAAUkB,KAAKe,OAAQ,IAAIT,EAAW,QAAStB,OAEhF,CAIA,gBAAAsC,CAAiBzB,EAAM8B,EAAUC,GAChC,IAAKC,QAAQC,IAAIH,EAAUd,GAAmB,CAC7C,MAAMkB,EAAgBJ,EAASK,KAAKhC,KAAKe,QACzC9B,OAAOgD,eAAeN,EAAUd,EAAkB,CACjD1B,MAAO4C,EACP3C,YAAY,EACZ8C,cAAc,GAEhB,CACAlC,KAAKY,GAAYU,iBAAiBzB,EAAMgC,QAAQM,IAAIR,EAAUd,GAAmBe,EAClF,CAIA,mBAAAQ,CAAoBpD,EAAO2C,EAAUC,GACpC5B,KAAKY,GAAYwB,oBAAoBpD,EAAO6C,QAAQM,IAAIR,EAAUd,GAAmBe,EACtF,CAIA,IAAAS,CAAKb,GACJxB,KAAKgB,UAAUqB,KAAKb,EACrB,CAMA,KAAAc,CAAM9B,EAAMC,GACXT,KAAKgB,UAAUsB,MAAM9B,EAAMC,EAC5B,GAKD,MAAM8B,EAAmC,gEACnCC,EAAsBhD,OAAO,uBAC7BiD,EAAUjD,OAAO,WACjBkD,EAASlD,OAAO,UACtB,IAAImD,EAAoB,cAActB,mBAEpCrB,KAAK4C,WAAa,CACpB,QAEE5C,KAAK6C,KAAO,CACd,QAEE7C,KAAK8C,QAAU,CACjB,QAEE9C,KAAK+C,OAAS,CAChB,CACC,WAAAnD,CAAYuB,EAAK6B,GAChBjD,QACAC,KAAK4C,WAAa,EAClB5C,KAAK6C,KAAO,EACZ7C,KAAK8C,QAAU,EACf9C,KAAK+C,OAAS,EACd/C,KAAKiD,QAAU,KACfjD,KAAKkD,WAAa,KAClBlD,KAAKmD,SAAW,KAChBnD,KAAKoD,SAAW,KAChBpD,KAAKmB,IAAMA,EAAIkC,WACfrD,KAAKsD,SAAW,GAChBtD,KAAKuD,WAAa,GAClBvD,KAAKwD,WAAa,OAClBxD,KAAKyD,WAAazD,KAAK4C,WACvB5C,KAAK0D,eAAiB,EACtB1D,KAAKwC,GAAuB,IAAImB,kBAChCC,gBAAeC,gBACJ7D,KAAKwC,KACfxC,KAAKsD,SAAgC,iBAAdN,EAAyBA,EAAYc,MAAMC,QAAQf,IAAcA,EAAUgB,OAAS,EAAIhB,EAAU,GAAK,GAM1HhD,KAAKyD,aAAezD,KAAK4C,aAC5B5C,KAAKyD,WAAazD,KAAK6C,KACvB7C,KAAK0B,cAAc5C,EAAUkB,KAAM,IAAIO,MAAM,cAGhD,CACA,UAAI0D,CAAOtC,GACV3B,KAAKoC,oBAAoB,OAAQpC,KAAKiD,SACtCjD,KAAKiD,QAAUtB,EACE,OAAbA,GAAmB3B,KAAKsB,iBAAiB,OAAQK,EACtD,CACA,UAAIsC,GACH,OAAOjE,KAAKiD,OACb,CACA,aAAIiB,CAAUvC,GACb3B,KAAKoC,oBAAoB,UAAWpC,KAAKkD,YACzClD,KAAKkD,WAAavB,EACD,OAAbA,GAAmB3B,KAAKsB,iBAAiB,UAAWK,EACzD,CACA,aAAIuC,GACH,OAAOlE,KAAKkD,UACb,CACA,WAAIiB,CAAQxC,GACX3B,KAAKoC,oBAAoB,QAASpC,KAAKmD,UACvCnD,KAAKmD,SAAWxB,EACC,OAAbA,GAAmB3B,KAAKsB,iBAAiB,QAASK,EACvD,CACA,WAAIwC,GACH,OAAOnE,KAAKmD,QACb,CACA,WAAIiB,CAAQzC,GACX3B,KAAKoC,oBAAoB,QAASpC,KAAKoD,UACvCpD,KAAKoD,SAAWzB,EACC,OAAbA,GAAmB3B,KAAKsB,iBAAiB,QAASK,EACvD,CACA,WAAIyC,GACH,OAAOpE,KAAKoD,QACb,CAIA,IAAAf,CAAKb,GACJ,GAAIxB,KAAKyD,aAAezD,KAAK4C,WAE5B,MADA5C,KAAKsC,QACC,IAAI+B,aAAa,qBAEpBrE,KAAKyD,aAAezD,KAAK8C,SAAW9C,KAAKyD,aAAezD,KAAK+C,SACjE/C,KAAK0D,gBA4CP,SAAqBlC,GACpB,MAAoB,iBAATA,EAA0BA,EAAKwC,OACtCxC,aAAgB8C,KAAa9C,EAAK+C,KAC/B/C,EAAKgD,UACb,CAhDyBC,CAAYjD,GACnCoC,gBAAe,KACd5D,KAAK0D,eAAiB,EAMtB1D,KAAKyC,KAAWjB,MAElB,CACA,KAAAc,CAAM9B,EAAO,IAAKC,GACjBiE,EAAAA,UAAUlE,EAAM+B,GAChBmC,EAAAA,UAAmB,MAATlE,GAAgBA,GAAQ,KAAOA,GAAQ,KAAM+B,GACvDvC,KAAK0C,GAAQlC,EAAMC,EACpB,CACA,CAACiC,GAAQlC,EAAO,IAAKC,EAAQC,GAAW,GAMnCV,KAAKyD,aAAezD,KAAK8C,SAAW9C,KAAKyD,aAAezD,KAAK+C,SACjE/C,KAAKyD,WAAazD,KAAK8C,QACvBc,gBAAe,KACd5D,KAAKyD,WAAazD,KAAK+C,OACvB/C,KAAK0B,cAAc5C,EAAUkB,KAAM,IAAIM,EAAW,QAAS,CAC1DE,OACAC,SACAC,eAEDV,KAAKiD,QAAU,KACfjD,KAAKkD,WAAa,KAClBlD,KAAKmD,SAAW,KAChBnD,KAAKoD,SAAW,QAElB,CACA,gBAAA9B,CAAiBzB,EAAM8B,EAAUC,GAChC,OAAO7B,MAAMuB,iBAAiBzB,EAAM8B,EAAUC,EAC/C,CACA,mBAAAQ,CAAoBvC,EAAM8E,EAAU/C,GACnC,OAAO7B,MAAMqC,oBAAoBvC,EAAM8E,EAAU/C,EAClD,GAUD,MAAMgD,EAAWpF,OAAO,YAClBqF,EAAiBrF,OAAO,kBACxBsF,EAAQtF,OAAO,SAOlB,IAACuF,EAA4B,MAC/B,WAAAnF,CAAYoF,EAAQhE,EAAWiE,GAC9BjF,KAAKgF,OAASA,EACdhF,KAAKgB,UAAYA,EACjBhB,KAAKiF,iBAAmBA,EACxBjF,KAAK4E,GAAY,IAAIvD,YACrBrB,KAAKkF,oBAAsB,IAAIC,gBAC/BnF,KAAKoF,oBAAsB,IAAID,gBAC/BnF,KAAKgB,UAAUM,iBAAiB,YAAatC,SACV,IAAvBgB,KAAKqF,eAChBzB,gBAAe,KACT5E,EAAMmB,kBAMXH,KAAK8E,GAAO9F,EAAMwC,YAGpBxB,KAAKgB,UAAUM,iBAAiB,WAAYtB,KAAKsF,sBAAsBtD,KAAKhC,MAC7E,CAKA,UAAIe,GAEH,OADA2D,YAAU1E,KAAKqF,cAAe,0IACvBrF,KAAKqF,aACb,CAIA,OAAAE,GACCb,aAAW1E,KAAKqF,eAAiBrF,KAAKqF,cAAc5B,aAAe+B,UAAU3C,KAAM,8FACnF,MAAMwC,EAAgBrF,KAAKiF,mBAC3BI,EAAc7B,WAAaxD,KAAKgF,OAAOxB,WACvC6B,EAAc/D,iBAAiB,QAAStC,IACvCgB,KAAK4E,GAAUlD,cAAc5C,EAAUkB,KAAKqF,cAAe,IAAI9E,MAAM,OAAQvB,OAC3E,CAAEyG,MAAM,IACXJ,EAAc/D,iBAAiB,WAAYtC,IAC1CgB,KAAKgB,UAAUU,cAAc5C,EAAUkB,KAAKqF,cAAe,IAAI1F,aAAa,WAAY,CACvF6B,KAAMxC,EAAMwC,KACZC,OAAQzC,EAAMyC,cAGhBzB,KAAKgF,OAAO1D,iBAAiB,SAAUtC,IACtCgB,KAAK0F,gBAAgB1G,KACnB,CAAE2G,OAAQ3F,KAAKkF,oBAAoBS,SACtCN,EAAc/D,iBAAiB,SAAUtC,IACxCgB,KAAK4F,gBAAgB5G,KACnB,CAAE2G,OAAQ3F,KAAKoF,oBAAoBO,SACtCN,EAAc/D,iBAAiB,SAAS,KACvC,MAAMuE,EAAa/G,EAAUuG,EAAe,IAAI9E,MAAM,QAAS,CAAEN,YAAY,KAC7ED,KAAK4E,GAAUlD,cAAcmE,GACxBA,EAAW1F,kBAAkBH,KAAKgF,OAAOtD,cAAc5C,EAAUkB,KAAKgF,OAAQ,IAAIzE,MAAM,cAE9FP,KAAKqF,cAAgBA,CACtB,CAIA,gBAAA/D,CAAiBtC,EAAO2C,EAAUC,GACjC,IAAKC,QAAQC,IAAIH,EAAUkD,GAAiB,CAC3C,MAAM9C,EAAgBJ,EAASK,KAAKhC,KAAKgF,QACzC/F,OAAOgD,eAAeN,EAAUkD,EAAgB,CAC/C1F,MAAO4C,EACP3C,YAAY,GAEd,CACAY,KAAK4E,GAAUtD,iBAAiBtC,EAAO6C,QAAQM,IAAIR,EAAUkD,GAAiBjD,EAC/E,CAIA,mBAAAQ,CAAoBpD,EAAO2C,EAAUC,GACpC5B,KAAK4E,GAAUxC,oBAAoBpD,EAAO6C,QAAQM,IAAIR,EAAUkD,GAAiBjD,EAClF,CAQA,IAAAS,CAAKb,GACJxB,KAAK8E,GAAOtD,EACb,CACA,CAACsD,GAAOtD,GACP,MAAM6D,cAAEA,GAAkBrF,KAC1B0E,EAAAA,UAAUW,EAAe,kHAAyHrF,KAAKgF,OAAO7D,KAC1JkE,EAAc5B,aAAe+B,UAAU1C,SAAWuC,EAAc5B,aAAe+B,UAAUzC,SACzFsC,EAAc5B,aAAe+B,UAAU5C,WAM3CyC,EAAchD,KAAKb,GALlB6D,EAAc/D,iBAAiB,QAAQ,KACtC+D,EAAchD,KAAKb,KACjB,CAAEiE,MAAM,IAIb,CAIA,KAAAnD,GACC,MAAM+C,cAAEA,GAAkBrF,KAC1B0E,EAAAA,UAAUW,EAAe,qHAA0HrF,KAAKgF,OAAO7D,KAC/JnB,KAAKoF,oBAAoBU,QACrBT,EAAc5B,aAAe+B,UAAU1C,SAAWuC,EAAc5B,aAAe+B,UAAUzC,SAC7FsC,EAAc/C,QACdsB,gBAAe,KACd5D,KAAK4E,GAAUlD,cAAc5C,EAAUkB,KAAKqF,cAAe,IAAI1E,EAAqB,QAAS,CAC5FH,KAAM,IACNP,YAAY,SAGf,CACA,qBAAAqF,CAAsBtG,GACrB,MAAM+G,EAAejH,EAAUE,EAAMD,OAAQ,IAAIW,EAAuB,UAAW,CAClF8B,KAAMxC,EAAMwC,KACZC,OAAQzC,EAAMyC,OACdxB,YAAY,KASbD,KAAK4E,GAAUlD,cAAcqE,GAKxBA,EAAa5F,kBAAkBH,KAAKgF,OAAOtD,cAAc5C,EAM7DkB,KAAKgF,OACL,IAAIrF,aAAa,UAAW,CAC3B6B,KAAMxC,EAAMwC,KACZC,OAAQzC,EAAMyC,UAGjB,CACA,eAAAiE,CAAgBM,GACXhG,KAAKqF,eAAerF,KAAKqF,cAAc/C,OAC5C,CACA,eAAAsD,CAAgB5G,GACfgB,KAAKkF,oBAAoBY,QACzB,MAAMG,EAAanH,EAAUkB,KAAKqF,cAAe,IAAI1E,EAAqB,QAAS,CAClFH,KAAMxB,EAAMwB,KACZC,OAAQzB,EAAMyB,OACdC,SAAU1B,EAAM0B,SAChBT,YAAY,KAEbD,KAAK4E,GAAUlD,cAAcuE,GACxBA,EAAW9F,kBAAkBH,KAAKgF,OAAOtC,GAAQ1D,EAAMwB,KAAMxB,EAAMyB,OACzE,GASGyF,EAA0B,cAAc7E,YAC3C,WAAAzB,CAAYmB,GACXhB,QACAC,KAAKe,OAASA,EACdf,KAAKe,OAAOO,iBAAiB,SAAUtC,IACtCgB,KAAK0B,cAAc5C,EAAUkB,KAAKe,OAAQ,IAAIT,EAAW,QAAStB,QAMnEgB,KAAKe,OAAO0B,GAAYjB,IACvBxB,KAAK0B,cAAc5C,EAAUkB,KAAKe,OAAQ,IAAIrB,EAAuB,WAAY,CAChF8B,OACAC,OAAQzB,KAAKe,OAAOI,IACpBlB,YAAY,MAGf,CACA,gBAAAqB,CAAiBzB,EAAM8E,EAAU/C,GAChC,OAAO7B,MAAMuB,iBAAiBzB,EAAM8E,EAAU/C,EAC/C,CACA,aAAAF,CAAc1C,GACb,OAAOe,MAAM2B,cAAc1C,EAC5B,CACA,IAAAqD,CAAKb,GACJoC,gBAAe,KACd,GAAI5D,KAAKe,OAAO0C,aAAezD,KAAKe,OAAO+B,SAAW9C,KAAKe,OAAO0C,aAAezD,KAAKe,OAAOgC,OAAQ,OACrG,MAAMrB,EAAgB,KACrB1B,KAAKe,OAAOW,cAAc5C,EASzBkB,KAAKe,OACL,IAAIpB,aAAa,UAAW,CAC3B6B,OACAC,OAAQzB,KAAKe,OAAOI,SAInBnB,KAAKe,OAAO0C,aAAezD,KAAKe,OAAO6B,WAAY5C,KAAKe,OAAOO,iBAAiB,QAAQ,KAC3FI,MACE,CAAE+D,MAAM,IACN/D,MAEP,CACA,KAAAY,CAAM9B,EAAMC,GAMXT,KAAKe,OAAO2B,GAAQlC,EAAMC,EAC3B,GASG0F,EAAuB,MAAMA,UAA6BC,WAE5DpG,KAAKqG,OAAS7G,OAAO,YACvB,CACC,WAAAI,GACCG,MAAMoG,EAAqBE,OAC5B,CACA,gBAAAC,GACC,OAAOC,EAAAA,EAAsB,YAC9B,CACA,KAAAC,GACC,MAAMC,EAA8BxH,OAAOyH,yBAAyBC,WAAY,aAC1EC,EAAiB,IAAIC,MAAMF,WAAWnB,UAAW,CAAEsB,UAAW,CAAC/H,EAAQgI,EAAMC,KAClF,MAAO7F,EAAK6B,GAAa+D,EACnB9B,EAAmB,IACjBpD,QAAQiF,UAAU/H,EAAQgI,EAAMC,GAElCjG,EAAS,IAAI4B,EAAkBxB,EAAK6B,GACpChC,EAAY,IAAIkF,EAAwBnF,GAiC9C,OAhCA6C,gBAAeC,UACd,IACC,MAAMoD,EAAS,IAAIlC,EAA0BhE,EAAQC,EAAWiE,GAC1DiC,EAAyBlH,KAAKmH,QAAQC,cAAc,cAAgB,QACpEC,IAAUrH,KAAKmH,QAAS,aAAc,CAC3CnC,OAAQ,IAAIlE,EAA0BC,EAAQC,GAC9CiG,SACAK,KAAM,CAAEtE,eAELkE,EAAwBnG,EAAOyB,GAAqB+E,SAAQ,IAE/DxG,EAAOyB,GAAqB+E,SAAQ,GACpCN,EAAO1B,UACP0B,EAAO3F,iBAAiB,QAAQ,KAC/BP,EAAOW,cAAc5C,EAAUiC,EAAQ,IAAIR,MAAM,UAC7C0G,EAAsB,gBAAGlG,EAAOuC,SAAW2D,EAAsB,cAAE3D,aAG1E,CAAE,MAAOkE,GAOJA,aAAiBC,QACpB1G,EAAOW,cAAc,IAAInB,MAAM,UAC3BQ,EAAO0C,aAAe+B,UAAU1C,SAAW/B,EAAO0C,aAAe+B,UAAUzC,QAAQhC,EAAO2B,GAAQ,KAAM8E,EAAMjG,SAAS,GAC3HmG,QAAQF,MAAMA,GAEhB,KAEMzG,KAER9B,OAAOgD,eAAe0E,WAAY,YAAa,CAC9CxH,MAAOyH,EACP1E,cAAc,IAEflC,KAAK2H,cAAcC,MAAK,KACvB3I,OAAOgD,eAAe0E,WAAY,YAAaF,KAEjD","x_google_ignoreList":[0]}
@@ -1,2 +0,0 @@
1
- import{r as e,t}from"../../createRequestId-DQcIlohW.js";import{t as s,n}from"../../hasConfigurableGlobal-C8kXFDic.js";import{DeferredPromise as o}from"../../../../../../../../@open-draft_deferred-promise@2.2.0/node_modules/@open-draft/deferred-promise/build/index.js";import{invariant as r}from"../../../../../../../../outvariant@1.4.3/node_modules/outvariant/lib/index.js";function i(e,t){return Object.defineProperties(t,{target:{value:e,enumerable:!0,writable:!0},currentTarget:{value:e,enumerable:!0,writable:!0}}),t}const a=Symbol("kCancelable"),c=Symbol("kDefaultPrevented");var l=class extends MessageEvent{constructor(e,t){super(e,t),this[a]=!!t.cancelable,this[c]=!1}get cancelable(){return this[a]}set cancelable(e){this[a]=e}get defaultPrevented(){return this[c]}set defaultPrevented(e){this[c]=e}preventDefault(){this.cancelable&&!this[c]&&(this[c]=!0)}},h=class extends Event{constructor(e,t={}){super(e,t),this.code=void 0===t.code?0:t.code,this.reason=void 0===t.reason?"":t.reason,this.wasClean=void 0!==t.wasClean&&t.wasClean}},d=class extends h{constructor(e,t={}){super(e,t),this[a]=!!t.cancelable,this[c]=!1}get cancelable(){return this[a]}set cancelable(e){this[a]=e}get defaultPrevented(){return this[c]}set defaultPrevented(e){this[c]=e}preventDefault(){this.cancelable&&!this[c]&&(this[c]=!0)}};const u=Symbol("kEmitter"),v=Symbol("kBoundListener");var b=class{constructor(e,s){this.socket=e,this.transport=s,this.id=t(),this.url=new URL(e.url),this[u]=new EventTarget,this.transport.addEventListener("outgoing",(e=>{const t=i(this.socket,new l("message",{data:e.data,origin:e.origin,cancelable:!0}));this[u].dispatchEvent(t),t.defaultPrevented&&e.preventDefault()})),this.transport.addEventListener("close",(e=>{this[u].dispatchEvent(i(this.socket,new h("close",e)))}))}addEventListener(e,t,s){if(!Reflect.has(t,v)){const e=t.bind(this.socket);Object.defineProperty(t,v,{value:e,enumerable:!1,configurable:!1})}this[u].addEventListener(e,Reflect.get(t,v),s)}removeEventListener(e,t,s){this[u].removeEventListener(e,Reflect.get(t,v),s)}send(e){this.transport.send(e)}close(e,t){this.transport.close(e,t)}};const E="InvalidAccessError: close code out of user configurable range",p=Symbol("kPassthroughPromise"),g=Symbol("kOnSend"),S=Symbol("kClose");var k=class extends EventTarget{static{this.CONNECTING=0}static{this.OPEN=1}static{this.CLOSING=2}static{this.CLOSED=3}constructor(e,t){super(),this.CONNECTING=0,this.OPEN=1,this.CLOSING=2,this.CLOSED=3,this._onopen=null,this._onmessage=null,this._onerror=null,this._onclose=null,this.url=e.toString(),this.protocol="",this.extensions="",this.binaryType="blob",this.readyState=this.CONNECTING,this.bufferedAmount=0,this[p]=new o,queueMicrotask((async()=>{await this[p]||(this.protocol="string"==typeof t?t:Array.isArray(t)&&t.length>0?t[0]:"",this.readyState===this.CONNECTING&&(this.readyState=this.OPEN,this.dispatchEvent(i(this,new Event("open")))))}))}set onopen(e){this.removeEventListener("open",this._onopen),this._onopen=e,null!==e&&this.addEventListener("open",e)}get onopen(){return this._onopen}set onmessage(e){this.removeEventListener("message",this._onmessage),this._onmessage=e,null!==e&&this.addEventListener("message",e)}get onmessage(){return this._onmessage}set onerror(e){this.removeEventListener("error",this._onerror),this._onerror=e,null!==e&&this.addEventListener("error",e)}get onerror(){return this._onerror}set onclose(e){this.removeEventListener("close",this._onclose),this._onclose=e,null!==e&&this.addEventListener("close",e)}get onclose(){return this._onclose}send(e){if(this.readyState===this.CONNECTING)throw this.close(),new DOMException("InvalidStateError");this.readyState!==this.CLOSING&&this.readyState!==this.CLOSED&&(this.bufferedAmount+=function(e){return"string"==typeof e?e.length:e instanceof Blob?e.size:e.byteLength}(e),queueMicrotask((()=>{this.bufferedAmount=0,this[g]?.(e)})))}close(e=1e3,t){r(e,E),r(1e3===e||e>=3e3&&e<=4999,E),this[S](e,t)}[S](e=1e3,t,s=!0){this.readyState!==this.CLOSING&&this.readyState!==this.CLOSED&&(this.readyState=this.CLOSING,queueMicrotask((()=>{this.readyState=this.CLOSED,this.dispatchEvent(i(this,new h("close",{code:e,reason:t,wasClean:s}))),this._onopen=null,this._onmessage=null,this._onerror=null,this._onclose=null})))}addEventListener(e,t,s){return super.addEventListener(e,t,s)}removeEventListener(e,t,s){return super.removeEventListener(e,t,s)}};const m=Symbol("kEmitter"),C=Symbol("kBoundListener"),f=Symbol("kSend");var y=class{constructor(e,t,s){this.client=e,this.transport=t,this.createConnection=s,this[m]=new EventTarget,this.mockCloseController=new AbortController,this.realCloseController=new AbortController,this.transport.addEventListener("outgoing",(e=>{void 0!==this.realWebSocket&&queueMicrotask((()=>{e.defaultPrevented||this[f](e.data)}))})),this.transport.addEventListener("incoming",this.handleIncomingMessage.bind(this))}get socket(){return r(this.realWebSocket,'Cannot access "socket" on the original WebSocket server object: the connection is not open. Did you forget to call `server.connect()`?'),this.realWebSocket}connect(){r(!this.realWebSocket||this.realWebSocket.readyState!==WebSocket.OPEN,'Failed to call "connect()" on the original WebSocket instance: the connection already open');const e=this.createConnection();e.binaryType=this.client.binaryType,e.addEventListener("open",(e=>{this[m].dispatchEvent(i(this.realWebSocket,new Event("open",e)))}),{once:!0}),e.addEventListener("message",(e=>{this.transport.dispatchEvent(i(this.realWebSocket,new MessageEvent("incoming",{data:e.data,origin:e.origin})))})),this.client.addEventListener("close",(e=>{this.handleMockClose(e)}),{signal:this.mockCloseController.signal}),e.addEventListener("close",(e=>{this.handleRealClose(e)}),{signal:this.realCloseController.signal}),e.addEventListener("error",(()=>{const t=i(e,new Event("error",{cancelable:!0}));this[m].dispatchEvent(t),t.defaultPrevented||this.client.dispatchEvent(i(this.client,new Event("error")))})),this.realWebSocket=e}addEventListener(e,t,s){if(!Reflect.has(t,C)){const e=t.bind(this.client);Object.defineProperty(t,C,{value:e,enumerable:!1})}this[m].addEventListener(e,Reflect.get(t,C),s)}removeEventListener(e,t,s){this[m].removeEventListener(e,Reflect.get(t,C),s)}send(e){this[f](e)}[f](e){const{realWebSocket:t}=this;r(t,'Failed to call "server.send()" for "%s": the connection is not open. Did you forget to call "server.connect()"?',this.client.url),t.readyState!==WebSocket.CLOSING&&t.readyState!==WebSocket.CLOSED&&(t.readyState!==WebSocket.CONNECTING?t.send(e):t.addEventListener("open",(()=>{t.send(e)}),{once:!0}))}close(){const{realWebSocket:e}=this;r(e,'Failed to close server connection for "%s": the connection is not open. Did you forget to call "server.connect()"?',this.client.url),this.realCloseController.abort(),e.readyState!==WebSocket.CLOSING&&e.readyState!==WebSocket.CLOSED&&(e.close(),queueMicrotask((()=>{this[m].dispatchEvent(i(this.realWebSocket,new d("close",{code:1e3,cancelable:!0})))})))}handleIncomingMessage(e){const t=i(e.target,new l("message",{data:e.data,origin:e.origin,cancelable:!0}));this[m].dispatchEvent(t),t.defaultPrevented||this.client.dispatchEvent(i(this.client,new MessageEvent("message",{data:e.data,origin:e.origin})))}handleMockClose(e){this.realWebSocket&&this.realWebSocket.close()}handleRealClose(e){this.mockCloseController.abort();const t=i(this.realWebSocket,new d("close",{code:e.code,reason:e.reason,wasClean:e.wasClean,cancelable:!0}));this[m].dispatchEvent(t),t.defaultPrevented||this.client[S](e.code,e.reason)}},L=class extends EventTarget{constructor(e){super(),this.socket=e,this.socket.addEventListener("close",(e=>{this.dispatchEvent(i(this.socket,new h("close",e)))})),this.socket[g]=e=>{this.dispatchEvent(i(this.socket,new l("outgoing",{data:e,origin:this.socket.url,cancelable:!0})))}}addEventListener(e,t,s){return super.addEventListener(e,t,s)}dispatchEvent(e){return super.dispatchEvent(e)}send(e){queueMicrotask((()=>{if(this.socket.readyState===this.socket.CLOSING||this.socket.readyState===this.socket.CLOSED)return;const t=()=>{this.socket.dispatchEvent(i(this.socket,new MessageEvent("message",{data:e,origin:this.socket.url})))};this.socket.readyState===this.socket.CONNECTING?this.socket.addEventListener("open",(()=>{t()}),{once:!0}):t()}))}close(e,t){this.socket[S](e,t)}},w=class t extends e{static{this.symbol=Symbol("websocket")}constructor(){super(t.symbol)}checkEnvironment(){return s("WebSocket")}setup(){const e=Object.getOwnPropertyDescriptor(globalThis,"WebSocket"),t=new Proxy(globalThis.WebSocket,{construct:(e,t,s)=>{const[o,r]=t,a=()=>Reflect.construct(e,t,s),c=new k(o,r),l=new L(c);return queueMicrotask((async()=>{try{const e=new y(c,l,a),t=this.emitter.listenerCount("connection")>0;await n(this.emitter,"connection",{client:new b(c,l),server:e,info:{protocols:r}}),t?c[p].resolve(!1):(c[p].resolve(!0),e.connect(),e.addEventListener("open",(()=>{c.dispatchEvent(i(c,new Event("open"))),e.realWebSocket&&(c.protocol=e.realWebSocket.protocol)})))}catch(e){e instanceof Error&&(c.dispatchEvent(new Event("error")),c.readyState!==WebSocket.CLOSING&&c.readyState!==WebSocket.CLOSED&&c[S](1011,e.message,!1),console.error(e))}})),c}});Object.defineProperty(globalThis,"WebSocket",{value:t,configurable:!0}),this.subscriptions.push((()=>{Object.defineProperty(globalThis,"WebSocket",e)}))}};export{d as CancelableCloseEvent,l as CancelableMessageEvent,h as CloseEvent,b as WebSocketClientConnection,w as WebSocketInterceptor,y as WebSocketServerConnection};
2
- //# sourceMappingURL=index.js.map