dorkos 0.125.2 → 0.125.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (310) hide show
  1. package/dist/bin/cli.js +359 -223
  2. package/dist/browser/native/package-manifest.json +1 -1
  3. package/dist/browser/source-manifest.json +1 -1
  4. package/dist/client/assets/{AboutPage-BqGlH1pd.js → AboutPage-CTG5VvGg.js} +1 -1
  5. package/dist/client/assets/{ActivityErrorState-C4hqCedX.js → ActivityErrorState-BSuvlEdx.js} +1 -1
  6. package/dist/client/assets/{ActivityPage-frpyizcK.js → ActivityPage-BoiN89nn.js} +1 -1
  7. package/dist/client/assets/{ActivityRow-DB9c3g1G.js → ActivityRow-Bj0V45d7.js} +1 -1
  8. package/dist/client/assets/{AdapterIcon-CEHkdca8.js → AdapterIcon-LFpWySMg.js} +1 -1
  9. package/dist/client/assets/{AdapterSetupWizard-DLJMkb-u.js → AdapterSetupWizard-D9V6g6ha.js} +1 -1
  10. package/dist/client/assets/{AgentOptionRow-D-QjHi5k.js → AgentOptionRow-nGR6PdC6.js} +1 -1
  11. package/dist/client/assets/{AgentPicker-DoGucmqI.js → AgentPicker-BhsmtQgu.js} +1 -1
  12. package/dist/client/assets/{AgentRequestCard--9GA9ymH.js → AgentRequestCard-DBVuClMO.js} +4 -4
  13. package/dist/client/assets/{AppearancePage-NHNiZrtY.js → AppearancePage-DoDVD6OA.js} +1 -1
  14. package/dist/client/assets/{ApplyToOverridesDialog-Clo55n6V.js → ApplyToOverridesDialog-56HrIRuZ.js} +1 -1
  15. package/dist/client/assets/{AttentionSignalRow-BOpClaCD.js → AttentionSignalRow-x8vRACw-.js} +1 -1
  16. package/dist/client/assets/{BaseTanStackRouterDevtoolsPanel-B-iktbLX-D9Tm8ual.js → BaseTanStackRouterDevtoolsPanel-B-iktbLX-Bxeb6ihh.js} +1 -1
  17. package/dist/client/assets/{BindingDialog-DZcTXLE8.js → BindingDialog-D6HqDfnK.js} +1 -1
  18. package/dist/client/assets/{BlintzCanvas-DzjdPTlx.js → BlintzCanvas-DFsdE-hF.js} +3 -3
  19. package/dist/client/assets/{CanvasCsvContent-xYUrbFeA.js → CanvasCsvContent-BsRV_kUK.js} +1 -1
  20. package/dist/client/assets/{CanvasFileContent-D6fTvMea.js → CanvasFileContent-BzGYGFSi.js} +2 -2
  21. package/dist/client/assets/{CanvasModel3dContent-DEassnBV.js → CanvasModel3dContent-dA90prow.js} +2 -2
  22. package/dist/client/assets/ChannelComposer-MROo35vI.js +44 -0
  23. package/dist/client/assets/{ChatAppsOff-C00Nl_w6.js → ChatAppsOff-4xIVwDUJ.js} +1 -1
  24. package/dist/client/assets/{CodeMirrorDiff-JYxkSqFi.js → CodeMirrorDiff-Cexj7RYA.js} +1 -1
  25. package/dist/client/assets/{CodeMirrorEditor-CVXZ9B5S.js → CodeMirrorEditor-D1-q0hSM.js} +1 -1
  26. package/dist/client/assets/{CommitmentList-CcCSwcZ8.js → CommitmentList-Bn7E15MO.js} +1 -1
  27. package/dist/client/assets/{CommitmentsPage-BrDbzpyR.js → CommitmentsPage-Ch-y0wr0.js} +1 -1
  28. package/dist/client/assets/{ComputerResourceView-BlLvMt1I.js → ComputerResourceView-Bbqh7e8R.js} +1 -1
  29. package/dist/client/assets/{ComputerViewer-B8SWICbj.js → ComputerViewer-XqZtg4O4.js} +1 -1
  30. package/dist/client/assets/{ConnectionAccessLists-Bsb-t24W.js → ConnectionAccessLists-D324Hahi.js} +1 -1
  31. package/dist/client/assets/{ConnectionsPage-RAhWxuWU.js → ConnectionsPage-5nIQrmtW.js} +1 -1
  32. package/dist/client/assets/{ConventionPage-CNij_BXA.js → ConventionPage-PFy9ASYy.js} +1 -1
  33. package/dist/client/assets/{ExtensionPageRoute-BsGqTcyI.js → ExtensionPageRoute-ClLEO5sJ.js} +1 -1
  34. package/dist/client/assets/{FloatingTanStackRouterDevtools-CqogiFob-eQVA1bL6.js → FloatingTanStackRouterDevtools-CqogiFob-D007PSSL.js} +1 -1
  35. package/dist/client/assets/HandlePage-DW4b2avU.js +1 -0
  36. package/dist/client/assets/{HeartbeatPage-D0tKoR6G.js → HeartbeatPage-IqTdsHR6.js} +1 -1
  37. package/dist/client/assets/{KeyEntry-CSmznLcG.js → KeyEntry-ZYnZcVmM.js} +1 -1
  38. package/dist/client/assets/{LexicalField-gYKPjFfN.js → LexicalField-PdcZjVov.js} +1 -1
  39. package/dist/client/assets/{ManagesPage-BF6MFrsv.js → ManagesPage-doVOC8Dk.js} +1 -1
  40. package/dist/client/assets/{Marketplace-BWDlXgwH.js → Marketplace-B9X8IIWI.js} +2 -2
  41. package/dist/client/assets/{MarketplaceSourcesView-BhKzgkiO.js → MarketplaceSourcesView-BZCnUvqP.js} +1 -1
  42. package/dist/client/assets/{McpAppFrame-BotrzoHd.js → McpAppFrame-BXdeDoQB.js} +1 -1
  43. package/dist/client/assets/{McpSigninBody-CdeX_lYs.js → McpSigninBody-CI-gwQuU.js} +1 -1
  44. package/dist/client/assets/{Model3dViewer-KHktOpbD.js → Model3dViewer-ws_p2e-Q.js} +1 -1
  45. package/dist/client/assets/NamePage-Cv95tb4E.js +1 -0
  46. package/dist/client/assets/{NewDirectMessageMenu-CuvKJEDY.js → NewDirectMessageMenu-PuW-lVGF.js} +1 -1
  47. package/dist/client/assets/{NotificationsPage-DWcgfZJD.js → NotificationsPage-D_qHMJYR.js} +1 -1
  48. package/dist/client/assets/{OpenMeshSwitch-DdJ7g4yD.js → OpenMeshSwitch-DiuAcyMj.js} +1 -1
  49. package/dist/client/assets/{OperatorIdentityForm-7FUOEWw_.js → OperatorIdentityForm-DBbsUGPX.js} +1 -1
  50. package/dist/client/assets/{PermissionHistory-CgQhZrvg.js → PermissionHistory-DNBswqms.js} +1 -1
  51. package/dist/client/assets/{PermissionsPage-CK34y1VF.js → PermissionsPage-D6cAIUTe.js} +1 -1
  52. package/dist/client/assets/{PersonalityPopover-3BA36sB0.js → PersonalityPopover-d_PR1nuF.js} +1 -1
  53. package/dist/client/assets/PhotoPage-D8f25EFY.js +1 -0
  54. package/dist/client/assets/{PreviewRefusedNotice-CnqAE9sr.js → PreviewRefusedNotice-p-KIYJVf.js} +1 -1
  55. package/dist/client/assets/{ProfileFields-CIbISW83.js → ProfileFields-D_e9XQav.js} +1 -1
  56. package/dist/client/assets/{ProfilePanelContainer-DPDHtTbI.js → ProfilePanelContainer-DxSkglaS.js} +1 -1
  57. package/dist/client/assets/{ProfileRolePicker-83GFtm2P.js → ProfileRolePicker-kNJMfzUF.js} +1 -1
  58. package/dist/client/assets/{PromptSuggestionChips-B9chKG4w.js → PromptSuggestionChips-Dpie7Ut6.js} +1 -1
  59. package/dist/client/assets/{ReportsToPopover-DUv03JZP.js → ReportsToPopover-kZWnpINs.js} +1 -1
  60. package/dist/client/assets/{RoomSurface-Bq6Slne3.js → RoomSurface-DyubmENi.js} +1 -1
  61. package/dist/client/assets/{RoomsPage-BKxzz-nN.js → RoomsPage-B88d-F2r.js} +1 -1
  62. package/dist/client/assets/{RunsOnPopover-BIdmMhs9.js → RunsOnPopover-C51USCpv.js} +1 -1
  63. package/dist/client/assets/RuntimeConnectFlow-DJMtgkZF.js +1 -0
  64. package/dist/client/assets/{RuntimeSetupDialog-Er-lzjmK.js → RuntimeSetupDialog-DQss2qqJ.js} +1 -1
  65. package/dist/client/assets/SeenDevices-DQnrqn19.js +19 -0
  66. package/dist/client/assets/{SessionsPage-CGic5VaN.js → SessionsPage-BxT6HETG.js} +1 -1
  67. package/dist/client/assets/SettingsDialog-BriAKBHz.js +12 -0
  68. package/dist/client/assets/{SkillsPage-VRYwez5T.js → SkillsPage-QfxMaHeF.js} +1 -1
  69. package/dist/client/assets/{TaskDialogWrapper-C9LMV8oe.js → TaskDialogWrapper-D54Nqlkr.js} +1 -1
  70. package/dist/client/assets/{TasksEmptyState-CagC0LAa.js → TasksEmptyState-rCcan38Y.js} +1 -1
  71. package/dist/client/assets/{TasksPage-3gkHB1Pv.js → TasksPage-rIqxyB15.js} +1 -1
  72. package/dist/client/assets/{TeamComputerEntry-BD89Y5e6.js → TeamComputerEntry-BtSsE94x.js} +1 -1
  73. package/dist/client/assets/{ToolsPage-Ds6LwY79.js → ToolsPage-CfM2Cdtm.js} +1 -1
  74. package/dist/client/assets/{TopologyGraph-CiZ2ACcQ.js → TopologyGraph-BMvLKLwd.js} +2 -2
  75. package/dist/client/assets/{TourHost-BISNaEzZ.js → TourHost-XxcgkZcj.js} +1 -1
  76. package/dist/client/assets/{UnlinkDialog-DTuXHNsi.js → UnlinkDialog-D1tIChdU.js} +1 -1
  77. package/dist/client/assets/{UnreadDivider-l_VZ7ECn.js → UnreadDivider-mAlJ1Ci7.js} +1 -1
  78. package/dist/client/assets/{WidgetErrorCard-I8WiJv2g.js → WidgetErrorCard-DQWpqcbG.js} +2 -2
  79. package/dist/client/assets/{WorkView-_wehEEl-.js → WorkView-D1V2vzFd.js} +3 -3
  80. package/dist/client/assets/{_shell-BLcPeb8K.js → _shell-C5LhHVEU.js} +22 -22
  81. package/dist/client/assets/{_shell._home-CcRH-M-A.js → _shell._home-BhaXi3EI.js} +1 -1
  82. package/dist/client/assets/{_shell._home.activity-cR24Vr9Q.js → _shell._home.activity-Bd8jIlgC.js} +1 -1
  83. package/dist/client/assets/{_shell._home.index-agU2ItcI.js → _shell._home.index-zoh1Ij4R.js} +2 -2
  84. package/dist/client/assets/{_shell._home.tasks-BDR9JTj3.js → _shell._home.tasks-CnfbD4z-.js} +1 -1
  85. package/dist/client/assets/{_shell._home.workspaces-B4nlcACK.js → _shell._home.workspaces-Cew8PET2.js} +1 -1
  86. package/dist/client/assets/_shell.channels-efUOy5uH.js +10 -0
  87. package/dist/client/assets/{_shell.connections-CWQYcH58.js → _shell.connections-DS8BI_M6.js} +1 -1
  88. package/dist/client/assets/{_shell.feedback-requests-BkgHtyZr.js → _shell.feedback-requests-C9nwY8FH.js} +1 -1
  89. package/dist/client/assets/_shell.marketplace-BxOR_qkR.js +1 -0
  90. package/dist/client/assets/_shell.marketplace_.sources-BdVMq5Gt.js +1 -0
  91. package/dist/client/assets/_shell.session-DxIjWGPk.js +1 -0
  92. package/dist/client/assets/{_shell.team-CTIVEpZQ.js → _shell.team-DejtvgcD.js} +3 -3
  93. package/dist/client/assets/{_shell.threads-ClWYrnld.js → _shell.threads-BiIjml5t.js} +1 -1
  94. package/dist/client/assets/_shell.x._extensionId-VrXvDnpj.js +1 -0
  95. package/dist/client/assets/_shell.x._extensionId_._-VrXvDnpj.js +1 -0
  96. package/dist/client/assets/{abnfDiagram-WEYOIA3C-0-Mx5lSG.js → abnfDiagram-WEYOIA3C-CAQusbaN.js} +1 -1
  97. package/dist/client/assets/{access-copy-Cj31J6PU.js → access-copy-DzgVmhna.js} +1 -1
  98. package/dist/client/assets/{arc-DVmpcNHP.js → arc-Dx6GrexJ.js} +1 -1
  99. package/dist/client/assets/{architectureDiagram-ZHVYKT53-BZhMXbuC.js → architectureDiagram-ZHVYKT53-wFr3hleP.js} +1 -1
  100. package/dist/client/assets/{banner-Ctq7kvQ0.js → banner-C0yzCrO7.js} +1 -1
  101. package/dist/client/assets/{blockDiagram-RJAE7QA3-Ctmof3-7.js → blockDiagram-RJAE7QA3-CnuvSqM0.js} +1 -1
  102. package/dist/client/assets/{c4Diagram-XDPPPE54-BPglmQhG.js → c4Diagram-XDPPPE54-DzLijAHt.js} +1 -1
  103. package/dist/client/assets/{card-DI7YtQh3.js → card-ZF4yWM1Y.js} +1 -1
  104. package/dist/client/assets/channel-BhigWC_Q.js +1 -0
  105. package/dist/client/assets/{chunk-2E7WHVMD-DIK6CHka.js → chunk-2E7WHVMD-SN1xBBT1.js} +1 -1
  106. package/dist/client/assets/{chunk-2Q5K7J3B-C3uATYd9.js → chunk-2Q5K7J3B-DbW-InNL.js} +1 -1
  107. package/dist/client/assets/{chunk-4EMNKR2T-Dl3iYXVl.js → chunk-4EMNKR2T-DxMZsEVE.js} +1 -1
  108. package/dist/client/assets/{chunk-55XCU76K-BJF-Hcs9.js → chunk-55XCU76K-9dknyxgR.js} +1 -1
  109. package/dist/client/assets/{chunk-5VM5RSS4-Cju3BnqQ.js → chunk-5VM5RSS4-CeL_dp1K.js} +1 -1
  110. package/dist/client/assets/{chunk-JWPE2WC7-v1omZzgE.js → chunk-JWPE2WC7-H-uQEL4m.js} +1 -1
  111. package/dist/client/assets/{chunk-VQ5W62QI-2HqA3jPL.js → chunk-VQ5W62QI-YZCtp46Q.js} +1 -1
  112. package/dist/client/assets/{chunk-XXDRQBXY-RDXwFs9Z.js → chunk-XXDRQBXY-CTsuviQ9.js} +1 -1
  113. package/dist/client/assets/{chunk-ZCHMQSOR-DhQsY-OT.js → chunk-ZCHMQSOR-Dymmj4ca.js} +2 -2
  114. package/dist/client/assets/{classDiagram-v2-4MYWR3UA-DC5N-GDk.js → classDiagram-v2-4MYWR3UA-AZrXuO6n.js} +1 -1
  115. package/dist/client/assets/{command-DpK0GpDM.js → command-D2uvj-5S.js} +1 -1
  116. package/dist/client/assets/{cose-bilkent-JH36ORCC-BriFsb6c.js → cose-bilkent-JH36ORCC-DH6uyH8n.js} +1 -1
  117. package/dist/client/assets/{cpu-DzCUBK-1.js → cpu-CxkuIIZ9.js} +1 -1
  118. package/dist/client/assets/{cynefin-EF2NZ3EQ-cj34OpiI.js → cynefin-EF2NZ3EQ-CPF1WTGP.js} +1 -1
  119. package/dist/client/assets/{cynefinDiagram-WF24UDRP-DvAggKpl.js → cynefinDiagram-WF24UDRP-BvgLB9D2.js} +1 -1
  120. package/dist/client/assets/{dagre-NK4GIZVX-BskSpt7C.js → dagre-NK4GIZVX-Dbgki4TG.js} +1 -1
  121. package/dist/client/assets/{diagram-CBK3MWTC-C6BZljcO.js → diagram-CBK3MWTC-C84DYVUU.js} +1 -1
  122. package/dist/client/assets/{diagram-I5XIIV2D--4FPRmBZ.js → diagram-I5XIIV2D-DKFohwHa.js} +1 -1
  123. package/dist/client/assets/{diagram-ODIL2UCW-kZxp81Fr.js → diagram-ODIL2UCW-C80JpCDz.js} +1 -1
  124. package/dist/client/assets/{diagram-PFBEJUXE-BSXBAffS.js → diagram-PFBEJUXE-I7bZPRJw.js} +1 -1
  125. package/dist/client/assets/{diagram-RJA3I4VV-DLDPF6FG.js → diagram-RJA3I4VV-Gqdnf6A3.js} +1 -1
  126. package/dist/client/assets/{diagram-TYUNFSNR-CoU2knZy.js → diagram-TYUNFSNR-CCzmXB0d.js} +1 -1
  127. package/dist/client/assets/{ebnfDiagram-V4P3TTPT-C77T1UPB.js → ebnfDiagram-V4P3TTPT-DWKMGbp5.js} +1 -1
  128. package/dist/client/assets/{elk-QONTBCTQ-UFXrlbAn.js → elk-QONTBCTQ-BH9-VsJv.js} +1 -1
  129. package/dist/client/assets/{empty-state-aNwJA6H8.js → empty-state-CQVHyP7G.js} +1 -1
  130. package/dist/client/assets/{erDiagram-KYQIGQAA-CyLB8fKu.js → erDiagram-KYQIGQAA-Dw7o0PKQ.js} +1 -1
  131. package/dist/client/assets/{execution-config-D7JzMYC2.js → execution-config-B0Ip8o1B.js} +1 -1
  132. package/dist/client/assets/{file-bSD5jgk_.js → file-aWVIKIhu.js} +1 -1
  133. package/dist/client/assets/{file-exclamation-point-BcCIL-rE.js → file-exclamation-point-VqrEIkK2.js} +1 -1
  134. package/dist/client/assets/{file-text-DTvj1wzM.js → file-text-BcDT6eqO.js} +1 -1
  135. package/dist/client/assets/{find-latest-widget-fence-D01ENK2h.js → find-latest-widget-fence-BBx2mbzG.js} +1 -1
  136. package/dist/client/assets/{flowDiagram-IUGLLWBU-qmnUF-Ak.js → flowDiagram-IUGLLWBU-DUap_2VM.js} +1 -1
  137. package/dist/client/assets/{form-C_yPntkz.js → form-Bq-P02ub.js} +1 -1
  138. package/dist/client/assets/{format-cron-DUPWkOrW.js → format-cron-CoTCXmQp.js} +1 -1
  139. package/dist/client/assets/{ganttDiagram-R7GPNTJY-CBzoqGuU.js → ganttDiagram-R7GPNTJY-GAxFxszj.js} +1 -1
  140. package/dist/client/assets/{git-branch-ClXAt1_G.js → git-branch-Cvc-Sr6q.js} +1 -1
  141. package/dist/client/assets/{gitGraphDiagram-PDYL7XHY-DMh_n1S2.js → gitGraphDiagram-PDYL7XHY-CNXDdCW9.js} +1 -1
  142. package/dist/client/assets/{graph-BgkuepqW.js → graph-CtCYTWZj.js} +1 -1
  143. package/dist/client/assets/{heart-BrjEmIsl.js → heart-yvX6jsem.js} +1 -1
  144. package/dist/client/assets/{highlighted-body-KPVGNVTW-DlHNVEaV.js → highlighted-body-KPVGNVTW-B6iFwydl.js} +1 -1
  145. package/dist/client/assets/{image-lightbox-BtzkRztd.js → image-lightbox-COo7DKXH.js} +1 -1
  146. package/dist/client/assets/{image-off-4yaoLh32.js → image-off-BPRcQBvJ.js} +1 -1
  147. package/dist/client/assets/{index-f1W4Bd4W.js → index-7EayMDlv.js} +1 -1
  148. package/dist/client/assets/{index-WkQdt6Zo.js → index-B1UgkD5d.js} +1 -1
  149. package/dist/client/assets/{index-DB2t3GUm.js → index-B36G1Wt7.js} +3 -3
  150. package/dist/client/assets/{index-WxG6nG96.js → index-B7M2ny5y.js} +1 -1
  151. package/dist/client/assets/{index-DQ9ppIWv.js → index-B8YnzTmr.js} +1 -1
  152. package/dist/client/assets/{index-B-X82FND.js → index-BI7mYC3q.js} +1 -1
  153. package/dist/client/assets/{index-C_xSr5lb.js → index-BIoO-kFF.js} +1 -1
  154. package/dist/client/assets/{index-BUkUamu4.js → index-BJKRrppi.js} +1 -1
  155. package/dist/client/assets/{index-CNV11SW6.js → index-BSGg8ud2.js} +1 -1
  156. package/dist/client/assets/index-BSNB2iOV.js +1053 -0
  157. package/dist/client/assets/{index-A_qzw4D8.js → index-Bcv5Znqx.js} +1 -1
  158. package/dist/client/assets/{index-DgxXSEmR.js → index-BsmQ2VMC.js} +1 -1
  159. package/dist/client/assets/{index-CJhmUsIv.js → index-BzlepYwD.js} +1 -1
  160. package/dist/client/assets/{index-qdygDruh.js → index-CCo77KAN.js} +1 -1
  161. package/dist/client/assets/{index-DXalAOXT.js → index-CIIAns2d.js} +1 -1
  162. package/dist/client/assets/{index-Dj4I8KcL.js → index-CNlIRtiQ.js} +3 -3
  163. package/dist/client/assets/{index-Cefoks17.js → index-COenrxg6.js} +1 -1
  164. package/dist/client/assets/{index-CrQWuUpr.js → index-CXCoNv1T.js} +1 -1
  165. package/dist/client/assets/{index-CSyZb1X9.js → index-CYPbNdgY.js} +1 -1
  166. package/dist/client/assets/{index-CyfSPJ1D.js → index-CYl4FhO7.js} +1 -1
  167. package/dist/client/assets/{index-DGdKO24t.js → index-CZA2uFZQ.js} +1 -1
  168. package/dist/client/assets/index-CaOL5rt9.js +17 -0
  169. package/dist/client/assets/{index-CThGpHO2.js → index-Cbu89CsC.js} +1 -1
  170. package/dist/client/assets/{index-C_H6ZIel.js → index-Cdzlu1-P.js} +1 -1
  171. package/dist/client/assets/{index-DX546SK5.js → index-D1e3aPAe.js} +2 -2
  172. package/dist/client/assets/{index-C0LPB1iH.js → index-D9pvn-mm.js} +1 -1
  173. package/dist/client/assets/{index-CNiC7KUz.js → index-DRao3lV4.js} +1 -1
  174. package/dist/client/assets/{index-BqHUbNdh.js → index-DefXQdQA.js} +1 -1
  175. package/dist/client/assets/{index-DrnHzrt4.js → index-Dqq2lV9x.js} +1 -1
  176. package/dist/client/assets/{index-CMLDdOez.js → index-Drg391kA.js} +1 -1
  177. package/dist/client/assets/index-DtlBeLQB.css +1 -0
  178. package/dist/client/assets/{index-Bgg4cW4L.js → index-DuEmhl4K.js} +1 -1
  179. package/dist/client/assets/{index-BXtagrMY.js → index-FCztjyrm.js} +1 -1
  180. package/dist/client/assets/{index-Ckut3u-d.js → index-GEDh_fwN.js} +1 -1
  181. package/dist/client/assets/{index-BtG4vr8c.js → index-KLtoKDvx.js} +1 -1
  182. package/dist/client/assets/{index-FhmSwVD0.js → index-N3JAoXse.js} +1 -1
  183. package/dist/client/assets/{index-t-NyR7HD.js → index-NbnKjhyZ.js} +1 -1
  184. package/dist/client/assets/index-ZRwRzKll.js +1 -0
  185. package/dist/client/assets/index-bgXdb4vP.js +1 -0
  186. package/dist/client/assets/{index-Adjbt_HC.js → index-io81RE8o.js} +1 -1
  187. package/dist/client/assets/{index-D0yajRDv.js → index-p7yYM6Iz.js} +1 -1
  188. package/dist/client/assets/{index-6yT0Qr0s.js → index-sTYFlBEJ.js} +1 -1
  189. package/dist/client/assets/{index-DZ1BC5JW.js → index-thNMHUmT.js} +1 -1
  190. package/dist/client/assets/{index-BeVLPg9t.js → index-vWi6pOlY.js} +1 -1
  191. package/dist/client/assets/{index-DFWrO42z.js → index-xKvoBO92.js} +1 -1
  192. package/dist/client/assets/{index.esm-Bb3LMu5X.js → index.esm-BYS3OpKb.js} +1 -1
  193. package/dist/client/assets/{infoDiagram-MVDRKAX5-DbU4eDjZ.js → infoDiagram-MVDRKAX5-BB5v9AOj.js} +1 -1
  194. package/dist/client/assets/{inline-code-DwFNff3_.js → inline-code-Df1J1tQV.js} +1 -1
  195. package/dist/client/assets/{ishikawaDiagram-HPEHV2GE-DmHmF-HT.js → ishikawaDiagram-HPEHV2GE-D8Zw0Wka.js} +1 -1
  196. package/dist/client/assets/{journeyDiagram-BOSHW7O7-DsjOeP3J.js → journeyDiagram-BOSHW7O7-CIaVEmcq.js} +1 -1
  197. package/dist/client/assets/{kanban-definition-FNSA4HC5-ByQ1WGy2.js → kanban-definition-FNSA4HC5-D0jxBQB1.js} +1 -1
  198. package/dist/client/assets/{layers-DFZUUHM5.js → layers-Byywl2sz.js} +1 -1
  199. package/dist/client/assets/{lightbulb-Bbgsejp1.js → lightbulb-Cu6PlV7n.js} +1 -1
  200. package/dist/client/assets/{link-2-xieOmwOK.js → link-2-D2LX2bAn.js} +1 -1
  201. package/dist/client/assets/{list-runtime-types-B0CSonAi.js → list-runtime-types-C4Ik3n5A.js} +1 -1
  202. package/dist/client/assets/{markdown-content-ysBIqFAg.js → markdown-content-BbH7L0YO.js} +1 -1
  203. package/dist/client/assets/{mention-pill-Daeu1X92.js → mention-pill-DxRP9Bkp.js} +1 -1
  204. package/dist/client/assets/{mermaid.core-B1mQMOXd.js → mermaid.core-D9Vc69mt.js} +4 -4
  205. package/dist/client/assets/{message-square-off-D9hm8WNH.js → message-square-off-BP01X_ck.js} +1 -1
  206. package/dist/client/assets/{mindmap-definition-6OY57UG3-CoP-DGm1.js → mindmap-definition-6OY57UG3-DNd2V0AH.js} +1 -1
  207. package/dist/client/assets/{more-details-DHCpYDi7.js → more-details-7psgoF8x.js} +1 -1
  208. package/dist/client/assets/{owner-notice-Crxco7HN.js → owner-notice-83ejBJ3g.js} +1 -1
  209. package/dist/client/assets/{package-CD8xq7hk.js → package-DSJyi_sq.js} +1 -1
  210. package/dist/client/assets/{page-container-B9sDc2wq.js → page-container-D7q7ISl1.js} +1 -1
  211. package/dist/client/assets/{pane-resize-handle-DOchpdJ6.js → pane-resize-handle-BnQ8IKj6.js} +1 -1
  212. package/dist/client/assets/{paperclip-CzhXW5qi.js → paperclip-CeOJ8Nwp.js} +1 -1
  213. package/dist/client/assets/{path-input-Z2p922fj.js → path-input-BToXn1c2.js} +1 -1
  214. package/dist/client/assets/{pegDiagram-ECIUJNBX-TEsMAO1a.js → pegDiagram-ECIUJNBX-sCkH1RIT.js} +1 -1
  215. package/dist/client/assets/{pieDiagram-GNMPY74T-CMIDIiMP.js → pieDiagram-GNMPY74T-B4V9xf2z.js} +1 -1
  216. package/dist/client/assets/{plug-BEp9Ly3k.js → plug-CMcqk2p3.js} +1 -1
  217. package/dist/client/assets/{primer-trigger-4qUY83SX.js → primer-trigger-DtyY4fpx.js} +1 -1
  218. package/dist/client/assets/{profile-errors-CezsKqhA.js → profile-errors-DSKechEz.js} +1 -1
  219. package/dist/client/assets/{progress-eQl1UvNz.js → progress-8CDPI0xL.js} +1 -1
  220. package/dist/client/assets/{quadrantDiagram-D57K4MC3-DXjohzOz.js → quadrantDiagram-D57K4MC3-DkcmqAD-.js} +1 -1
  221. package/dist/client/assets/{query-error-state-COuKRlU0.js → query-error-state-jrioxcrf.js} +1 -1
  222. package/dist/client/assets/{radio-Cdnkcg1w.js → radio-D3k0l1vj.js} +1 -1
  223. package/dist/client/assets/{railroadDiagram-Y72NRBL7-BojgH6Hw.js → railroadDiagram-Y72NRBL7-T9Qbdks1.js} +1 -1
  224. package/dist/client/assets/registry-B0s0gwF4.js +1 -0
  225. package/dist/client/assets/{relay-trace-schemas-XcVQg5Fa.js → relay-trace-schemas-epyobQGg.js} +1 -1
  226. package/dist/client/assets/{repeat-wB31CP7I.js → repeat-Cbe4MVvF.js} +1 -1
  227. package/dist/client/assets/{requirementDiagram-EQYSW5RA-Gojbrcvg.js → requirementDiagram-EQYSW5RA-BKrsOvZR.js} +1 -1
  228. package/dist/client/assets/{room-files-source-DXKpm43a.js → room-files-source-wUgOb12j.js} +1 -1
  229. package/dist/client/assets/{rotate-ccw-clock-LSKKAcnR.js → rotate-ccw-clock-CI-xhvb_.js} +1 -1
  230. package/dist/client/assets/{rotate-cw-scTEKxeZ.js → rotate-cw-BGDIfrKN.js} +1 -1
  231. package/dist/client/assets/{sankeyDiagram-SY24JHO5-QS71aycL.js → sankeyDiagram-SY24JHO5-SVj2Csf7.js} +1 -1
  232. package/dist/client/assets/{scroll-area-BNFXgTKM.js → scroll-area-D3x48cAw.js} +1 -1
  233. package/dist/client/assets/{search-x-Cjf0n9z7.js → search-x-Dz-ryi0D.js} +1 -1
  234. package/dist/client/assets/{sequenceDiagram-BLEHNHQU-Beg7mj69.js → sequenceDiagram-BLEHNHQU-CSliXD3t.js} +1 -1
  235. package/dist/client/assets/{shield-x-Dr4BZfo_.js → shield-x-FVhBth4G.js} +1 -1
  236. package/dist/client/assets/{signed-in-L9MLqTuc.js → signed-in-BQcV7AMx.js} +1 -1
  237. package/dist/client/assets/{sizeCapture-INFHLROL-3Oo1KjRp.js → sizeCapture-INFHLROL-4lP-N234.js} +1 -1
  238. package/dist/client/assets/{soul-file-CxpOawh5.js → soul-file-CS-EETV8.js} +1 -1
  239. package/dist/client/assets/{stateDiagram-v2-A6IESKWZ-DFYIDQ6C.js → stateDiagram-v2-A6IESKWZ-Cij5yf9S.js} +1 -1
  240. package/dist/client/assets/{swimlanes-B3ENRKFQ-BUgKOOrv.js → swimlanes-B3ENRKFQ-iSf_hOim.js} +1 -1
  241. package/dist/client/assets/swimlanesDiagram-AYQRV4AK-C8oY0fep.js +8 -0
  242. package/dist/client/assets/{table-B0LsKsEv.js → table-Cg_1lfh0.js} +1 -1
  243. package/dist/client/assets/{timeline-definition-JXYKGLGB-BsPZ0P_8.js → timeline-definition-JXYKGLGB-DVZj2yY_.js} +1 -1
  244. package/dist/client/assets/{trust-posture-Cm7OhCEx.js → trust-posture-CkEXRlxW.js} +1 -1
  245. package/dist/client/assets/{unplug-DLA7Ib_s.js → unplug-CASvw-Yn.js} +1 -1
  246. package/dist/client/assets/{unverified-catalog-notice-CxBO_pta.js → unverified-catalog-notice-CMDo7sp5.js} +1 -1
  247. package/dist/client/assets/{use-adapter-catalog-C333Z2Q6.js → use-adapter-catalog-BVeUe0tR.js} +1 -1
  248. package/dist/client/assets/{use-bindings-Bu4yLLR5.js → use-bindings-Clux6PJ0.js} +1 -1
  249. package/dist/client/assets/{use-composer-prefs-BnjCX9pM.js → use-composer-prefs-D0poHQqk.js} +1 -1
  250. package/dist/client/assets/{use-connector-management-Bo6wOJQS.js → use-connector-management-CQQGCFaL.js} +1 -1
  251. package/dist/client/assets/{use-deep-link-scroll-D867V6rs.js → use-deep-link-scroll-BdGMaupf.js} +1 -1
  252. package/dist/client/assets/{use-delete-binding-DKObM-zT.js → use-delete-binding-CSpocSwM.js} +1 -1
  253. package/dist/client/assets/{use-dev-links-C0Zc30aj.js → use-dev-links-c6K0en5G.js} +1 -1
  254. package/dist/client/assets/{use-direct-message-panel-DNWtQq4B.js → use-direct-message-panel-sq9_ehHu.js} +1 -1
  255. package/dist/client/assets/{use-external-adapter-catalog-Bv5rDkX4.js → use-external-adapter-catalog-C3T1MGxz.js} +1 -1
  256. package/dist/client/assets/{use-full-activity-feed-CFUj0qCS.js → use-full-activity-feed-Bmmagy2q.js} +1 -1
  257. package/dist/client/assets/use-is-below-desktop-CGj5vT8N.js +1 -0
  258. package/dist/client/assets/{use-local-browser-BeZjn0gA.js → use-local-browser-Di54G1yg.js} +1 -1
  259. package/dist/client/assets/{use-mesh-topology-DurMpvjU.js → use-mesh-topology-C_bdAJfy.js} +1 -1
  260. package/dist/client/assets/{use-mounted-ref-CBSuPNPv.js → use-mounted-ref-C_ChQ0xs.js} +1 -1
  261. package/dist/client/assets/{use-notification-prefs-b8iKvzB4.js → use-notification-prefs-BjGauolP.js} +1 -1
  262. package/dist/client/assets/{use-panel-tab-placements-BcKEux1G.js → use-panel-tab-placements-Bn-CIS6M.js} +1 -1
  263. package/dist/client/assets/use-pending-read-CIp204qI.js +1 -0
  264. package/dist/client/assets/{use-personality-commit-u3kQ6h3H.js → use-personality-commit-WeCQulwl.js} +1 -1
  265. package/dist/client/assets/{use-promo-activation-C8_cGmEW.js → use-promo-activation-C9I5YwBo.js} +1 -1
  266. package/dist/client/assets/{use-promo-dismissals-B3VuaQCf.js → use-promo-dismissals-BhTNS7LX.js} +1 -1
  267. package/dist/client/assets/{use-pulse-freshness-CSWQ0TZS.js → use-pulse-freshness-DDo5a3nh.js} +1 -1
  268. package/dist/client/assets/{use-relay-config-BA6c0FMB.js → use-relay-config-Bfjxr2lE.js} +1 -1
  269. package/dist/client/assets/{use-room-follow-claim-BV-MtDQ5.js → use-room-follow-claim-D_HTjK2r.js} +1 -1
  270. package/dist/client/assets/{use-room-sessions-W62Zl72O.js → use-room-sessions-UwyzNxeo.js} +1 -1
  271. package/dist/client/assets/{use-roving-tab-list-CMITzUHu.js → use-roving-tab-list-CXAJxnx0.js} +1 -1
  272. package/dist/client/assets/{use-session-canvas-u63m2mYH.js → use-session-canvas-CTDXU27z.js} +3 -3
  273. package/dist/client/assets/{use-status-budget-CbmPFvpQ.js → use-status-budget-CFS9gmSZ.js} +4 -4
  274. package/dist/client/assets/{use-unclaimed-chats-D7SEUfiO.js → use-unclaimed-chats-BlUFVbnm.js} +1 -1
  275. package/dist/client/assets/use-update-config-BwjEWlgj.js +1 -0
  276. package/dist/client/assets/{useMutationState-rOg4bnKv.js → useMutationState-CUuSnqrc.js} +1 -1
  277. package/dist/client/assets/{usecaseDiagram-WPOLBNNX-C-w0e-nv.js → usecaseDiagram-WPOLBNNX-BTdq_YOC.js} +1 -1
  278. package/dist/client/assets/{vennDiagram-Q3Y3IDCW-BNm2WXT5.js → vennDiagram-Q3Y3IDCW-BLQwiECh.js} +1 -1
  279. package/dist/client/assets/{wardleyDiagram-IVAIDKWA-BFyFLiir.js → wardleyDiagram-IVAIDKWA-Cp8QrBQm.js} +1 -1
  280. package/dist/client/assets/{xychartDiagram-4URNHDU4-BKxZlnEx.js → xychartDiagram-4URNHDU4-CrrAKTa0.js} +1 -1
  281. package/dist/client/index.html +2 -2
  282. package/dist/server/extension-child.cjs +1701 -435
  283. package/dist/server/index.js +22346 -20856
  284. package/dist/server/index.js.map +2 -2
  285. package/package.json +5 -5
  286. package/dist/client/assets/ChannelComposer-CutghXOq.js +0 -44
  287. package/dist/client/assets/HandlePage-XG5mP_e9.js +0 -1
  288. package/dist/client/assets/NamePage-Cdd9-mZg.js +0 -1
  289. package/dist/client/assets/PhotoPage-DFic-gDH.js +0 -1
  290. package/dist/client/assets/RuntimeConnectFlow-IaRVgmqH.js +0 -1
  291. package/dist/client/assets/SeenDevices-9quCcdUW.js +0 -19
  292. package/dist/client/assets/SettingsDialog-BZ58IaK1.js +0 -12
  293. package/dist/client/assets/_shell.channels-B7lTxkqM.js +0 -10
  294. package/dist/client/assets/_shell.marketplace-BMqwT9qX.js +0 -1
  295. package/dist/client/assets/_shell.marketplace_.sources-pXGa7Cqb.js +0 -1
  296. package/dist/client/assets/_shell.session-CmoE1W38.js +0 -1
  297. package/dist/client/assets/_shell.x._extensionId-BiXilrSW.js +0 -1
  298. package/dist/client/assets/_shell.x._extensionId_._-BiXilrSW.js +0 -1
  299. package/dist/client/assets/channel-A2WD4smw.js +0 -1
  300. package/dist/client/assets/index-BMCDckcY.js +0 -17
  301. package/dist/client/assets/index-BOuCpkRb.js +0 -1
  302. package/dist/client/assets/index-BVq1p60h.js +0 -1
  303. package/dist/client/assets/index-CjUfPyOM.js +0 -1053
  304. package/dist/client/assets/index-D2ZFfqZZ.css +0 -1
  305. package/dist/client/assets/registry-BSucT23N.js +0 -1
  306. package/dist/client/assets/swimlanesDiagram-AYQRV4AK-Bqjv1MSj.js +0 -8
  307. package/dist/client/assets/use-is-below-desktop-BUS7OPGv.js +0 -1
  308. package/dist/client/assets/use-is-hub-CFhvDMHt.js +0 -1
  309. package/dist/client/assets/use-pending-read-BBBAnUYu.js +0 -1
  310. package/dist/client/assets/use-update-config-Dfd7KMde.js +0 -1
@@ -1687,9 +1687,9 @@ var require_safer = __commonJS({
1687
1687
  }
1688
1688
  });
1689
1689
 
1690
- // ../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/lib/bom-handling.js
1690
+ // ../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/lib/bom-handling.js
1691
1691
  var require_bom_handling = __commonJS({
1692
- "../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/lib/bom-handling.js"(exports2) {
1692
+ "../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/lib/bom-handling.js"(exports2) {
1693
1693
  "use strict";
1694
1694
  var BOMChar = "\uFEFF";
1695
1695
  exports2.PrependBOM = PrependBOMWrapper;
@@ -1733,9 +1733,9 @@ var require_bom_handling = __commonJS({
1733
1733
  }
1734
1734
  });
1735
1735
 
1736
- // ../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/lib/helpers/merge-exports.js
1736
+ // ../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/lib/helpers/merge-exports.js
1737
1737
  var require_merge_exports = __commonJS({
1738
- "../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/lib/helpers/merge-exports.js"(exports2, module2) {
1738
+ "../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/lib/helpers/merge-exports.js"(exports2, module2) {
1739
1739
  "use strict";
1740
1740
  var hasOwn = typeof Object.hasOwn === "undefined" ? Function.call.bind(Object.prototype.hasOwnProperty) : Object.hasOwn;
1741
1741
  function mergeModules(target, module3) {
@@ -1749,9 +1749,9 @@ var require_merge_exports = __commonJS({
1749
1749
  }
1750
1750
  });
1751
1751
 
1752
- // ../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/internal.js
1752
+ // ../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/internal.js
1753
1753
  var require_internal = __commonJS({
1754
- "../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/internal.js"(exports2, module2) {
1754
+ "../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/internal.js"(exports2, module2) {
1755
1755
  "use strict";
1756
1756
  var Buffer2 = require_safer().Buffer;
1757
1757
  module2.exports = {
@@ -1930,9 +1930,9 @@ var require_internal = __commonJS({
1930
1930
  }
1931
1931
  });
1932
1932
 
1933
- // ../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/utf32.js
1933
+ // ../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/utf32.js
1934
1934
  var require_utf32 = __commonJS({
1935
- "../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/utf32.js"(exports2) {
1935
+ "../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/utf32.js"(exports2) {
1936
1936
  "use strict";
1937
1937
  var Buffer2 = require_safer().Buffer;
1938
1938
  exports2._utf32 = Utf32Codec;
@@ -1953,7 +1953,7 @@ var require_utf32 = __commonJS({
1953
1953
  }
1954
1954
  Utf32Encoder.prototype.write = function(str) {
1955
1955
  var src = Buffer2.from(str, "ucs2");
1956
- var dst = Buffer2.alloc(src.length * 2);
1956
+ var dst = Buffer2.alloc(src.length * 2 + 4);
1957
1957
  var write32 = this.isLE ? dst.writeUInt32LE : dst.writeUInt32BE;
1958
1958
  var offset = 0;
1959
1959
  for (var i = 0; i < src.length; i += 2) {
@@ -2020,9 +2020,9 @@ var require_utf32 = __commonJS({
2020
2020
  }
2021
2021
  if (overflow.length === 4) {
2022
2022
  if (isLE) {
2023
- codepoint = overflow[i] | overflow[i + 1] << 8 | overflow[i + 2] << 16 | overflow[i + 3] << 24;
2023
+ codepoint = overflow[0] | overflow[1] << 8 | overflow[2] << 16 | overflow[3] << 24;
2024
2024
  } else {
2025
- codepoint = overflow[i + 3] | overflow[i + 2] << 8 | overflow[i + 1] << 16 | overflow[i] << 24;
2025
+ codepoint = overflow[3] | overflow[2] << 8 | overflow[1] << 16 | overflow[0] << 24;
2026
2026
  }
2027
2027
  overflow.length = 0;
2028
2028
  offset = _writeCodepoint(dst, offset, codepoint, badChar);
@@ -2057,7 +2057,11 @@ var require_utf32 = __commonJS({
2057
2057
  return offset;
2058
2058
  }
2059
2059
  Utf32Decoder.prototype.end = function() {
2060
+ if (this.overflow.length === 0) {
2061
+ return;
2062
+ }
2060
2063
  this.overflow.length = 0;
2064
+ return String.fromCharCode(this.badChar);
2061
2065
  };
2062
2066
  exports2.utf32 = Utf32AutoCodec;
2063
2067
  exports2.ucs4 = "utf32";
@@ -2161,9 +2165,9 @@ var require_utf32 = __commonJS({
2161
2165
  }
2162
2166
  });
2163
2167
 
2164
- // ../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/utf16.js
2168
+ // ../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/utf16.js
2165
2169
  var require_utf16 = __commonJS({
2166
- "../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/utf16.js"(exports2) {
2170
+ "../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/utf16.js"(exports2) {
2167
2171
  "use strict";
2168
2172
  var Buffer2 = require_safer().Buffer;
2169
2173
  exports2.utf16be = Utf16BECodec;
@@ -2304,9 +2308,9 @@ var require_utf16 = __commonJS({
2304
2308
  }
2305
2309
  });
2306
2310
 
2307
- // ../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/utf7.js
2311
+ // ../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/utf7.js
2308
2312
  var require_utf7 = __commonJS({
2309
- "../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/utf7.js"(exports2) {
2313
+ "../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/utf7.js"(exports2) {
2310
2314
  "use strict";
2311
2315
  var Buffer2 = require_safer().Buffer;
2312
2316
  exports2.utf7 = Utf7Codec;
@@ -2522,9 +2526,9 @@ var require_utf7 = __commonJS({
2522
2526
  }
2523
2527
  });
2524
2528
 
2525
- // ../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/sbcs-codec.js
2529
+ // ../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/sbcs-codec.js
2526
2530
  var require_sbcs_codec = __commonJS({
2527
- "../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/sbcs-codec.js"(exports2) {
2531
+ "../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/sbcs-codec.js"(exports2) {
2528
2532
  "use strict";
2529
2533
  var Buffer2 = require_safer().Buffer;
2530
2534
  exports2._sbcs = SBCSCodec;
@@ -2584,9 +2588,9 @@ var require_sbcs_codec = __commonJS({
2584
2588
  }
2585
2589
  });
2586
2590
 
2587
- // ../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/sbcs-data.js
2591
+ // ../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/sbcs-data.js
2588
2592
  var require_sbcs_data = __commonJS({
2589
- "../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/sbcs-data.js"(exports2, module2) {
2593
+ "../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/sbcs-data.js"(exports2, module2) {
2590
2594
  "use strict";
2591
2595
  module2.exports = {
2592
2596
  // Not supported by iconv, not sure why.
@@ -2682,6 +2686,8 @@ var require_sbcs_data = __commonJS({
2682
2686
  elot928: "iso88597",
2683
2687
  hebrew: "iso88598",
2684
2688
  hebrew8: "iso88598",
2689
+ iso88598i: "iso88598",
2690
+ iso88598e: "iso88598",
2685
2691
  turkish: "iso88599",
2686
2692
  turkish8: "iso88599",
2687
2693
  thai: "iso885911",
@@ -2737,9 +2743,9 @@ var require_sbcs_data = __commonJS({
2737
2743
  }
2738
2744
  });
2739
2745
 
2740
- // ../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/sbcs-data-generated.js
2746
+ // ../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/sbcs-data-generated.js
2741
2747
  var require_sbcs_data_generated = __commonJS({
2742
- "../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/sbcs-data-generated.js"(exports2, module2) {
2748
+ "../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/sbcs-data-generated.js"(exports2, module2) {
2743
2749
  "use strict";
2744
2750
  module2.exports = {
2745
2751
  "437": "cp437",
@@ -3192,9 +3198,9 @@ var require_sbcs_data_generated = __commonJS({
3192
3198
  }
3193
3199
  });
3194
3200
 
3195
- // ../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/dbcs-codec.js
3201
+ // ../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/dbcs-codec.js
3196
3202
  var require_dbcs_codec = __commonJS({
3197
- "../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/dbcs-codec.js"(exports2) {
3203
+ "../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/dbcs-codec.js"(exports2) {
3198
3204
  "use strict";
3199
3205
  var Buffer2 = require_safer().Buffer;
3200
3206
  exports2._dbcs = DBCSCodec;
@@ -3652,9 +3658,9 @@ var require_dbcs_codec = __commonJS({
3652
3658
  }
3653
3659
  });
3654
3660
 
3655
- // ../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/shiftjis.json
3661
+ // ../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/tables/shiftjis.json
3656
3662
  var require_shiftjis = __commonJS({
3657
- "../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/shiftjis.json"(exports2, module2) {
3663
+ "../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/tables/shiftjis.json"(exports2, module2) {
3658
3664
  module2.exports = [
3659
3665
  ["0", "\0", 128],
3660
3666
  ["a1", "\uFF61", 62],
@@ -3783,9 +3789,9 @@ var require_shiftjis = __commonJS({
3783
3789
  }
3784
3790
  });
3785
3791
 
3786
- // ../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/eucjp.json
3792
+ // ../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/tables/eucjp.json
3787
3793
  var require_eucjp = __commonJS({
3788
- "../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/eucjp.json"(exports2, module2) {
3794
+ "../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/tables/eucjp.json"(exports2, module2) {
3789
3795
  module2.exports = [
3790
3796
  ["0", "\0", 127],
3791
3797
  ["8ea1", "\uFF61", 62],
@@ -3971,9 +3977,9 @@ var require_eucjp = __commonJS({
3971
3977
  }
3972
3978
  });
3973
3979
 
3974
- // ../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/cp936.json
3980
+ // ../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/tables/cp936.json
3975
3981
  var require_cp936 = __commonJS({
3976
- "../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/cp936.json"(exports2, module2) {
3982
+ "../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/tables/cp936.json"(exports2, module2) {
3977
3983
  module2.exports = [
3978
3984
  ["0", "\0", 127, "\u20AC"],
3979
3985
  ["8140", "\u4E02\u4E04\u4E05\u4E06\u4E0F\u4E12\u4E17\u4E1F\u4E20\u4E21\u4E23\u4E26\u4E29\u4E2E\u4E2F\u4E31\u4E33\u4E35\u4E37\u4E3C\u4E40\u4E41\u4E42\u4E44\u4E46\u4E4A\u4E51\u4E55\u4E57\u4E5A\u4E5B\u4E62\u4E63\u4E64\u4E65\u4E67\u4E68\u4E6A", 5, "\u4E72\u4E74", 9, "\u4E7F", 6, "\u4E87\u4E8A"],
@@ -4241,9 +4247,9 @@ var require_cp936 = __commonJS({
4241
4247
  }
4242
4248
  });
4243
4249
 
4244
- // ../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/gbk-added.json
4250
+ // ../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/tables/gbk-added.json
4245
4251
  var require_gbk_added = __commonJS({
4246
- "../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/gbk-added.json"(exports2, module2) {
4252
+ "../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/tables/gbk-added.json"(exports2, module2) {
4247
4253
  module2.exports = [
4248
4254
  ["a140", "\uE4C6", 62],
4249
4255
  ["a180", "\uE505", 32],
@@ -4303,16 +4309,16 @@ var require_gbk_added = __commonJS({
4303
4309
  }
4304
4310
  });
4305
4311
 
4306
- // ../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json
4312
+ // ../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json
4307
4313
  var require_gb18030_ranges = __commonJS({
4308
- "../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json"(exports2, module2) {
4314
+ "../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/tables/gb18030-ranges.json"(exports2, module2) {
4309
4315
  module2.exports = { uChars: [128, 165, 169, 178, 184, 216, 226, 235, 238, 244, 248, 251, 253, 258, 276, 284, 300, 325, 329, 334, 364, 463, 465, 467, 469, 471, 473, 475, 477, 506, 594, 610, 712, 716, 730, 930, 938, 962, 970, 1026, 1104, 1106, 8209, 8215, 8218, 8222, 8231, 8241, 8244, 8246, 8252, 8365, 8452, 8454, 8458, 8471, 8482, 8556, 8570, 8596, 8602, 8713, 8720, 8722, 8726, 8731, 8737, 8740, 8742, 8748, 8751, 8760, 8766, 8777, 8781, 8787, 8802, 8808, 8816, 8854, 8858, 8870, 8896, 8979, 9322, 9372, 9548, 9588, 9616, 9622, 9634, 9652, 9662, 9672, 9676, 9680, 9702, 9735, 9738, 9793, 9795, 11906, 11909, 11913, 11917, 11928, 11944, 11947, 11951, 11956, 11960, 11964, 11979, 12284, 12292, 12312, 12319, 12330, 12351, 12436, 12447, 12535, 12543, 12586, 12842, 12850, 12964, 13200, 13215, 13218, 13253, 13263, 13267, 13270, 13384, 13428, 13727, 13839, 13851, 14617, 14703, 14801, 14816, 14964, 15183, 15471, 15585, 16471, 16736, 17208, 17325, 17330, 17374, 17623, 17997, 18018, 18212, 18218, 18301, 18318, 18760, 18811, 18814, 18820, 18823, 18844, 18848, 18872, 19576, 19620, 19738, 19887, 40870, 59244, 59336, 59367, 59413, 59417, 59423, 59431, 59437, 59443, 59452, 59460, 59478, 59493, 63789, 63866, 63894, 63976, 63986, 64016, 64018, 64021, 64025, 64034, 64037, 64042, 65074, 65093, 65107, 65112, 65127, 65132, 65375, 65510, 65536], gbChars: [0, 36, 38, 45, 50, 81, 89, 95, 96, 100, 103, 104, 105, 109, 126, 133, 148, 172, 175, 179, 208, 306, 307, 308, 309, 310, 311, 312, 313, 341, 428, 443, 544, 545, 558, 741, 742, 749, 750, 805, 819, 820, 7922, 7924, 7925, 7927, 7934, 7943, 7944, 7945, 7950, 8062, 8148, 8149, 8152, 8164, 8174, 8236, 8240, 8262, 8264, 8374, 8380, 8381, 8384, 8388, 8390, 8392, 8393, 8394, 8396, 8401, 8406, 8416, 8419, 8424, 8437, 8439, 8445, 8482, 8485, 8496, 8521, 8603, 8936, 8946, 9046, 9050, 9063, 9066, 9076, 9092, 9100, 9108, 9111, 9113, 9131, 9162, 9164, 9218, 9219, 11329, 11331, 11334, 11336, 11346, 11361, 11363, 11366, 11370, 11372, 11375, 11389, 11682, 11686, 11687, 11692, 11694, 11714, 11716, 11723, 11725, 11730, 11736, 11982, 11989, 12102, 12336, 12348, 12350, 12384, 12393, 12395, 12397, 12510, 12553, 12851, 12962, 12973, 13738, 13823, 13919, 13933, 14080, 14298, 14585, 14698, 15583, 15847, 16318, 16434, 16438, 16481, 16729, 17102, 17122, 17315, 17320, 17402, 17418, 17859, 17909, 17911, 17915, 17916, 17936, 17939, 17961, 18664, 18703, 18814, 18962, 19043, 33469, 33470, 33471, 33484, 33485, 33490, 33497, 33501, 33505, 33513, 33520, 33536, 33550, 37845, 37921, 37948, 38029, 38038, 38064, 38065, 38066, 38069, 38075, 38076, 38078, 39108, 39109, 39113, 39114, 39115, 39116, 39265, 39394, 189e3] };
4310
4316
  }
4311
4317
  });
4312
4318
 
4313
- // ../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/cp949.json
4319
+ // ../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/tables/cp949.json
4314
4320
  var require_cp949 = __commonJS({
4315
- "../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/cp949.json"(exports2, module2) {
4321
+ "../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/tables/cp949.json"(exports2, module2) {
4316
4322
  module2.exports = [
4317
4323
  ["0", "\0", 127],
4318
4324
  ["8141", "\uAC02\uAC03\uAC05\uAC06\uAC0B", 4, "\uAC18\uAC1E\uAC1F\uAC21\uAC22\uAC23\uAC25", 6, "\uAC2E\uAC32\uAC33\uAC34"],
@@ -4589,9 +4595,9 @@ var require_cp949 = __commonJS({
4589
4595
  }
4590
4596
  });
4591
4597
 
4592
- // ../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/cp950.json
4598
+ // ../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/tables/cp950.json
4593
4599
  var require_cp950 = __commonJS({
4594
- "../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/cp950.json"(exports2, module2) {
4600
+ "../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/tables/cp950.json"(exports2, module2) {
4595
4601
  module2.exports = [
4596
4602
  ["0", "\0", 127],
4597
4603
  ["a140", "\u3000\uFF0C\u3001\u3002\uFF0E\u2027\uFF1B\uFF1A\uFF1F\uFF01\uFE30\u2026\u2025\uFE50\uFE51\uFE52\xB7\uFE54\uFE55\uFE56\uFE57\uFF5C\u2013\uFE31\u2014\uFE33\u2574\uFE34\uFE4F\uFF08\uFF09\uFE35\uFE36\uFF5B\uFF5D\uFE37\uFE38\u3014\u3015\uFE39\uFE3A\u3010\u3011\uFE3B\uFE3C\u300A\u300B\uFE3D\uFE3E\u3008\u3009\uFE3F\uFE40\u300C\u300D\uFE41\uFE42\u300E\u300F\uFE43\uFE44\uFE59\uFE5A"],
@@ -4772,9 +4778,9 @@ var require_cp950 = __commonJS({
4772
4778
  }
4773
4779
  });
4774
4780
 
4775
- // ../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/big5-added.json
4781
+ // ../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/tables/big5-added.json
4776
4782
  var require_big5_added = __commonJS({
4777
- "../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/tables/big5-added.json"(exports2, module2) {
4783
+ "../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/tables/big5-added.json"(exports2, module2) {
4778
4784
  module2.exports = [
4779
4785
  ["8740", "\u43F0\u4C32\u4603\u45A6\u4578\u{27267}\u4D77\u45B3\u{27CB1}\u4CE2\u{27CC5}\u3B95\u4736\u4744\u4C47\u4C40\u{242BF}\u{23617}\u{27352}\u{26E8B}\u{270D2}\u4C57\u{2A351}\u474F\u45DA\u4C85\u{27C6C}\u4D07\u4AA4\u46A1\u{26B23}\u7225\u{25A54}\u{21A63}\u{23E06}\u{23F61}\u664D\u56FB"],
4780
4786
  ["8767", "\u7D95\u591D\u{28BB9}\u3DF4\u9734\u{27BEF}\u5BDB\u{21D5E}\u5AA4\u3625\u{29EB0}\u5AD1\u5BB7\u5CFC\u676E\u8593\u{29945}\u7461\u749D\u3875\u{21D53}\u{2369E}\u{26021}\u3EEC"],
@@ -4900,9 +4906,9 @@ var require_big5_added = __commonJS({
4900
4906
  }
4901
4907
  });
4902
4908
 
4903
- // ../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/dbcs-data.js
4909
+ // ../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/dbcs-data.js
4904
4910
  var require_dbcs_data = __commonJS({
4905
- "../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/dbcs-data.js"(exports2, module2) {
4911
+ "../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/dbcs-data.js"(exports2, module2) {
4906
4912
  "use strict";
4907
4913
  module2.exports = {
4908
4914
  // == Japanese/ShiftJIS ====================================================
@@ -5147,9 +5153,9 @@ var require_dbcs_data = __commonJS({
5147
5153
  }
5148
5154
  });
5149
5155
 
5150
- // ../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/index.js
5156
+ // ../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/index.js
5151
5157
  var require_encodings = __commonJS({
5152
- "../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/encodings/index.js"(exports2, module2) {
5158
+ "../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/encodings/index.js"(exports2, module2) {
5153
5159
  "use strict";
5154
5160
  var mergeModules = require_merge_exports();
5155
5161
  var modules = [
@@ -5172,9 +5178,9 @@ var require_encodings = __commonJS({
5172
5178
  }
5173
5179
  });
5174
5180
 
5175
- // ../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/lib/streams.js
5181
+ // ../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/lib/streams.js
5176
5182
  var require_streams = __commonJS({
5177
- "../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/lib/streams.js"(exports2, module2) {
5183
+ "../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/lib/streams.js"(exports2, module2) {
5178
5184
  "use strict";
5179
5185
  var Buffer2 = require_safer().Buffer;
5180
5186
  module2.exports = function(streamModule) {
@@ -5269,9 +5275,9 @@ var require_streams = __commonJS({
5269
5275
  }
5270
5276
  });
5271
5277
 
5272
- // ../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/lib/index.js
5278
+ // ../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/lib/index.js
5273
5279
  var require_lib = __commonJS({
5274
- "../../node_modules/.pnpm/iconv-lite@0.7.2/node_modules/iconv-lite/lib/index.js"(exports2, module2) {
5280
+ "../../node_modules/.pnpm/iconv-lite@0.7.3/node_modules/iconv-lite/lib/index.js"(exports2, module2) {
5275
5281
  "use strict";
5276
5282
  var Buffer2 = require_safer().Buffer;
5277
5283
  var bomHandling = require_bom_handling();
@@ -5684,9 +5690,9 @@ var require_ee_first = __commonJS({
5684
5690
  }
5685
5691
  });
5686
5692
 
5687
- // ../../node_modules/.pnpm/on-finished@2.4.1/node_modules/on-finished/index.js
5693
+ // ../../node_modules/.pnpm/on-finished@2.4.2/node_modules/on-finished/index.js
5688
5694
  var require_on_finished = __commonJS({
5689
- "../../node_modules/.pnpm/on-finished@2.4.1/node_modules/on-finished/index.js"(exports2, module2) {
5695
+ "../../node_modules/.pnpm/on-finished@2.4.2/node_modules/on-finished/index.js"(exports2, module2) {
5690
5696
  "use strict";
5691
5697
  module2.exports = onFinished;
5692
5698
  module2.exports.isFinished = isFinished;
@@ -5705,8 +5711,9 @@ var require_on_finished = __commonJS({
5705
5711
  }
5706
5712
  function isFinished(msg) {
5707
5713
  var socket = msg.socket;
5708
- if (typeof msg.finished === "boolean") {
5709
- return Boolean(msg.finished || socket && !socket.writable);
5714
+ var finished = writableEnded(msg);
5715
+ if (typeof finished === "boolean") {
5716
+ return Boolean(finished || socket && !socket.writable);
5710
5717
  }
5711
5718
  if (typeof msg.complete === "boolean") {
5712
5719
  return Boolean(msg.upgrade || !socket || !socket.readable || msg.complete && !msg.readable);
@@ -5785,6 +5792,9 @@ var require_on_finished = __commonJS({
5785
5792
  }
5786
5793
  return res.runInAsyncScope.bind(res, fn, null);
5787
5794
  }
5795
+ function writableEnded(res) {
5796
+ return typeof res.writableEnded === "boolean" ? res.writableEnded : res.finished;
5797
+ }
5788
5798
  }
5789
5799
  });
5790
5800
 
@@ -15587,61 +15597,9 @@ var require_type_is = __commonJS({
15587
15597
  }
15588
15598
  });
15589
15599
 
15590
- // ../../node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/utils.js
15591
- var require_utils = __commonJS({
15592
- "../../node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/utils.js"(exports2, module2) {
15593
- "use strict";
15594
- var bytes = require_bytes();
15595
- var contentType = require_dist();
15596
- var typeis = require_type_is();
15597
- module2.exports = {
15598
- getCharset,
15599
- normalizeOptions,
15600
- passthrough
15601
- };
15602
- function getCharset(req) {
15603
- const header = req.headers["content-type"];
15604
- if (!header) return void 0;
15605
- return contentType.parse(header).parameters.charset?.toLowerCase();
15606
- }
15607
- function typeChecker(type) {
15608
- return function checkType(req) {
15609
- return Boolean(typeis(req, type));
15610
- };
15611
- }
15612
- function normalizeOptions(options, defaultType) {
15613
- if (!defaultType) {
15614
- throw new TypeError("defaultType must be provided");
15615
- }
15616
- const inflate = options?.inflate !== false;
15617
- const limit = typeof options?.limit === "undefined" || options?.limit === null ? 102400 : bytes.parse(options.limit);
15618
- const type = options?.type || defaultType;
15619
- const verify = options?.verify || false;
15620
- const defaultCharset = options?.defaultCharset || "utf-8";
15621
- if (limit === null) {
15622
- throw new TypeError(`option limit "${String(options.limit)}" is invalid`);
15623
- }
15624
- if (verify !== false && typeof verify !== "function") {
15625
- throw new TypeError("option verify must be function");
15626
- }
15627
- const shouldParse = typeof type !== "function" ? typeChecker(type) : type;
15628
- return {
15629
- inflate,
15630
- limit,
15631
- verify,
15632
- defaultCharset,
15633
- shouldParse
15634
- };
15635
- }
15636
- function passthrough(value) {
15637
- return value;
15638
- }
15639
- }
15640
- });
15641
-
15642
- // ../../node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/read.js
15600
+ // ../../node_modules/.pnpm/body-parser@2.4.0/node_modules/body-parser/lib/read.js
15643
15601
  var require_read = __commonJS({
15644
- "../../node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/read.js"(exports2, module2) {
15602
+ "../../node_modules/.pnpm/body-parser@2.4.0/node_modules/body-parser/lib/read.js"(exports2, module2) {
15645
15603
  "use strict";
15646
15604
  var createError = require_http_errors();
15647
15605
  var getBody = require_raw_body();
@@ -15649,8 +15607,9 @@ var require_read = __commonJS({
15649
15607
  var onFinished = require_on_finished();
15650
15608
  var zlib = require("node:zlib");
15651
15609
  var hasBody = require_type_is().hasBody;
15652
- var { getCharset } = require_utils();
15610
+ var contentType = require_dist();
15653
15611
  module2.exports = read;
15612
+ var hasZstandardSupport = "createZstdDecompress" in zlib;
15654
15613
  function read(req, res, next, parse3, debug, options) {
15655
15614
  if (onFinished.isFinished(req)) {
15656
15615
  debug("body already parsed");
@@ -15684,26 +15643,40 @@ var require_read = __commonJS({
15684
15643
  }
15685
15644
  }
15686
15645
  let length;
15687
- const opts = options;
15688
15646
  let stream;
15689
- const verify = opts.verify;
15690
- try {
15691
- stream = contentstream(req, debug, opts.inflate);
15692
- length = stream.length;
15693
- stream.length = void 0;
15694
- } catch (err) {
15695
- return next(err);
15696
- }
15697
- opts.length = length;
15698
- opts.encoding = verify ? null : encoding;
15699
- if (opts.encoding === null && encoding !== null && !iconv.encodingExists(encoding)) {
15647
+ const verify = options.verify;
15648
+ if (verify && encoding !== null && !iconv.encodingExists(encoding)) {
15700
15649
  return next(createError(415, 'unsupported charset "' + encoding.toUpperCase() + '"', {
15701
15650
  charset: encoding.toLowerCase(),
15702
15651
  type: "charset.unsupported"
15703
15652
  }));
15704
15653
  }
15654
+ try {
15655
+ const contentEncoding = (req.headers["content-encoding"] || "identity").toLowerCase();
15656
+ debug('content-encoding "%s"', contentEncoding);
15657
+ if (options.inflate === false && contentEncoding !== "identity") {
15658
+ throw createError(415, "content encoding unsupported", {
15659
+ encoding: contentEncoding,
15660
+ type: "encoding.unsupported"
15661
+ });
15662
+ }
15663
+ if (contentEncoding === "identity") {
15664
+ length = req.headers["content-length"];
15665
+ stream = req;
15666
+ } else {
15667
+ stream = createDecompressionStream(contentEncoding, debug);
15668
+ req.pipe(stream);
15669
+ }
15670
+ } catch (err) {
15671
+ return next(err);
15672
+ }
15673
+ const rawBodyOptions = {
15674
+ length,
15675
+ encoding: verify ? null : encoding,
15676
+ limit: options.limit
15677
+ };
15705
15678
  debug("read body");
15706
- getBody(stream, opts, function(error62, body) {
15679
+ getBody(stream, rawBodyOptions, function(error62, body) {
15707
15680
  if (error62) {
15708
15681
  let _error;
15709
15682
  if (error62.type === "encoding.unsupported") {
@@ -15723,6 +15696,13 @@ var require_read = __commonJS({
15723
15696
  });
15724
15697
  return;
15725
15698
  }
15699
+ if (stream !== req) {
15700
+ req.unpipe(stream);
15701
+ stream.on("error", () => {
15702
+ });
15703
+ stream.destroy();
15704
+ req.resume();
15705
+ }
15726
15706
  if (verify) {
15727
15707
  try {
15728
15708
  debug("verify body");
@@ -15750,24 +15730,6 @@ var require_read = __commonJS({
15750
15730
  next();
15751
15731
  });
15752
15732
  }
15753
- function contentstream(req, debug, inflate) {
15754
- const encoding = (req.headers["content-encoding"] || "identity").toLowerCase();
15755
- const length = req.headers["content-length"];
15756
- debug('content-encoding "%s"', encoding);
15757
- if (inflate === false && encoding !== "identity") {
15758
- throw createError(415, "content encoding unsupported", {
15759
- encoding,
15760
- type: "encoding.unsupported"
15761
- });
15762
- }
15763
- if (encoding === "identity") {
15764
- req.length = length;
15765
- return req;
15766
- }
15767
- const stream = createDecompressionStream(encoding, debug);
15768
- req.pipe(stream);
15769
- return stream;
15770
- }
15771
15733
  function createDecompressionStream(encoding, debug) {
15772
15734
  switch (encoding) {
15773
15735
  case "deflate":
@@ -15779,12 +15741,16 @@ var require_read = __commonJS({
15779
15741
  case "br":
15780
15742
  debug("brotli decompress body");
15781
15743
  return zlib.createBrotliDecompress();
15782
- default:
15783
- throw createError(415, 'unsupported content encoding "' + encoding + '"', {
15784
- encoding,
15785
- type: "encoding.unsupported"
15786
- });
15744
+ case "zstd":
15745
+ if (hasZstandardSupport) {
15746
+ debug("zstd decompress body");
15747
+ return zlib.createZstdDecompress();
15748
+ }
15787
15749
  }
15750
+ throw createError(415, 'unsupported content encoding "' + encoding + '"', {
15751
+ encoding,
15752
+ type: "encoding.unsupported"
15753
+ });
15788
15754
  }
15789
15755
  function dump(req, callback) {
15790
15756
  if (onFinished.isFinished(req)) {
@@ -15794,18 +15760,68 @@ var require_read = __commonJS({
15794
15760
  req.resume();
15795
15761
  }
15796
15762
  }
15763
+ function getCharset(req) {
15764
+ const header = req.headers["content-type"];
15765
+ if (!header) return void 0;
15766
+ return contentType.parse(header).parameters.charset?.toLowerCase();
15767
+ }
15768
+ }
15769
+ });
15770
+
15771
+ // ../../node_modules/.pnpm/body-parser@2.4.0/node_modules/body-parser/lib/utils.js
15772
+ var require_utils = __commonJS({
15773
+ "../../node_modules/.pnpm/body-parser@2.4.0/node_modules/body-parser/lib/utils.js"(exports2, module2) {
15774
+ "use strict";
15775
+ var bytes = require_bytes();
15776
+ var typeis = require_type_is();
15777
+ module2.exports = {
15778
+ normalizeOptions,
15779
+ passthrough
15780
+ };
15781
+ function typeChecker(type) {
15782
+ return function checkType(req) {
15783
+ return Boolean(typeis(req, type));
15784
+ };
15785
+ }
15786
+ function normalizeOptions(options, defaultType) {
15787
+ if (!defaultType) {
15788
+ throw new TypeError("defaultType must be provided");
15789
+ }
15790
+ const inflate = options?.inflate !== false;
15791
+ const limit = typeof options?.limit === "undefined" || options?.limit === null ? 102400 : bytes.parse(options.limit);
15792
+ const type = options?.type || defaultType;
15793
+ const verify = options?.verify || false;
15794
+ const defaultCharset = options?.defaultCharset || "utf-8";
15795
+ if (limit === null) {
15796
+ throw new TypeError(`option limit "${String(options.limit)}" is invalid`);
15797
+ }
15798
+ if (verify !== false && typeof verify !== "function") {
15799
+ throw new TypeError("option verify must be function");
15800
+ }
15801
+ const shouldParse = typeof type !== "function" ? typeChecker(type) : type;
15802
+ return {
15803
+ inflate,
15804
+ limit,
15805
+ verify,
15806
+ defaultCharset,
15807
+ shouldParse
15808
+ };
15809
+ }
15810
+ function passthrough(value) {
15811
+ return value;
15812
+ }
15797
15813
  }
15798
15814
  });
15799
15815
 
15800
- // ../../node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/types/json.js
15816
+ // ../../node_modules/.pnpm/body-parser@2.4.0/node_modules/body-parser/lib/types/json.js
15801
15817
  var require_json = __commonJS({
15802
- "../../node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/types/json.js"(exports2, module2) {
15818
+ "../../node_modules/.pnpm/body-parser@2.4.0/node_modules/body-parser/lib/types/json.js"(exports2, module2) {
15803
15819
  "use strict";
15804
15820
  var debug = require_src()("body-parser:json");
15805
15821
  var read = require_read();
15806
15822
  var { normalizeOptions } = require_utils();
15807
15823
  module2.exports = json2;
15808
- var FIRST_CHAR_REGEXP = /^[\x20\x09\x0a\x0d]*([^\x20\x09\x0a\x0d])/;
15824
+ var FIRST_NON_WHITESPACE_REGEXP = /^[\x20\x09\x0a\x0d]*([^\x20\x09\x0a\x0d]|$)/;
15809
15825
  var JSON_SYNTAX_CHAR = "#";
15810
15826
  var JSON_SYNTAX_REGEXP = /#+/g;
15811
15827
  function json2(options) {
@@ -15828,10 +15844,12 @@ var require_json = __commonJS({
15828
15844
  if (body.length === 0) {
15829
15845
  return {};
15830
15846
  }
15831
- const first = firstchar(body);
15832
- if (first !== "{" && first !== "[") {
15833
- debug("strict violation");
15834
- throw createStrictSyntaxError(body, first);
15847
+ if (body[0] !== "{" && body[0] !== "[") {
15848
+ const first = firstNonWhitespaceChar(body);
15849
+ if (first !== "{" && first !== "[") {
15850
+ debug("strict violation");
15851
+ throw createStrictSyntaxError(body, first);
15852
+ }
15835
15853
  }
15836
15854
  try {
15837
15855
  debug("parse json");
@@ -15877,9 +15895,9 @@ var require_json = __commonJS({
15877
15895
  });
15878
15896
  }
15879
15897
  }
15880
- function firstchar(str) {
15881
- const match = FIRST_CHAR_REGEXP.exec(str);
15882
- return match ? match[1] : void 0;
15898
+ function firstNonWhitespaceChar(str) {
15899
+ const match = FIRST_NON_WHITESPACE_REGEXP.exec(str);
15900
+ return match && match[1] ? match[1] : void 0;
15883
15901
  }
15884
15902
  function normalizeJsonSyntaxError(error62, obj) {
15885
15903
  const keys = Object.getOwnPropertyNames(error62);
@@ -15896,9 +15914,9 @@ var require_json = __commonJS({
15896
15914
  }
15897
15915
  });
15898
15916
 
15899
- // ../../node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/types/raw.js
15917
+ // ../../node_modules/.pnpm/body-parser@2.4.0/node_modules/body-parser/lib/types/raw.js
15900
15918
  var require_raw = __commonJS({
15901
- "../../node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/types/raw.js"(exports2, module2) {
15919
+ "../../node_modules/.pnpm/body-parser@2.4.0/node_modules/body-parser/lib/types/raw.js"(exports2, module2) {
15902
15920
  "use strict";
15903
15921
  var debug = require_src()("body-parser:raw");
15904
15922
  var read = require_read();
@@ -15918,9 +15936,9 @@ var require_raw = __commonJS({
15918
15936
  }
15919
15937
  });
15920
15938
 
15921
- // ../../node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/types/text.js
15939
+ // ../../node_modules/.pnpm/body-parser@2.4.0/node_modules/body-parser/lib/types/text.js
15922
15940
  var require_text = __commonJS({
15923
- "../../node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/types/text.js"(exports2, module2) {
15941
+ "../../node_modules/.pnpm/body-parser@2.4.0/node_modules/body-parser/lib/types/text.js"(exports2, module2) {
15924
15942
  "use strict";
15925
15943
  var debug = require_src()("body-parser:text");
15926
15944
  var read = require_read();
@@ -17561,9 +17579,9 @@ var require_side_channel = __commonJS({
17561
17579
  }
17562
17580
  });
17563
17581
 
17564
- // ../../node_modules/.pnpm/qs@6.16.0/node_modules/qs/lib/formats.js
17582
+ // ../../node_modules/.pnpm/qs@6.16.1/node_modules/qs/lib/formats.js
17565
17583
  var require_formats = __commonJS({
17566
- "../../node_modules/.pnpm/qs@6.16.0/node_modules/qs/lib/formats.js"(exports2, module2) {
17584
+ "../../node_modules/.pnpm/qs@6.16.1/node_modules/qs/lib/formats.js"(exports2, module2) {
17567
17585
  "use strict";
17568
17586
  var replace = String.prototype.replace;
17569
17587
  var percentTwenties = /%20/g;
@@ -17587,9 +17605,9 @@ var require_formats = __commonJS({
17587
17605
  }
17588
17606
  });
17589
17607
 
17590
- // ../../node_modules/.pnpm/qs@6.16.0/node_modules/qs/lib/utils.js
17608
+ // ../../node_modules/.pnpm/qs@6.16.1/node_modules/qs/lib/utils.js
17591
17609
  var require_utils2 = __commonJS({
17592
- "../../node_modules/.pnpm/qs@6.16.0/node_modules/qs/lib/utils.js"(exports2, module2) {
17610
+ "../../node_modules/.pnpm/qs@6.16.1/node_modules/qs/lib/utils.js"(exports2, module2) {
17593
17611
  "use strict";
17594
17612
  var formats = require_formats();
17595
17613
  var getSideChannel = require_side_channel();
@@ -17610,6 +17628,17 @@ var require_utils2 = __commonJS({
17610
17628
  var setMaxIndex = function setMaxIndex2(obj, maxIndex) {
17611
17629
  overflowChannel.set(obj, maxIndex);
17612
17630
  };
17631
+ var conflictChannel = getSideChannel();
17632
+ var markConflict = function markConflict2(obj, maxIndex) {
17633
+ conflictChannel.set(obj, maxIndex);
17634
+ return obj;
17635
+ };
17636
+ var isConflict = function isConflict2(obj) {
17637
+ return conflictChannel.has(obj);
17638
+ };
17639
+ var getConflictIndex = function getConflictIndex2(obj) {
17640
+ return conflictChannel.get(obj);
17641
+ };
17613
17642
  var hexTable = (function() {
17614
17643
  var array2 = [];
17615
17644
  for (var i = 0; i < 256; ++i) {
@@ -17653,6 +17682,27 @@ var require_utils2 = __commonJS({
17653
17682
  obj[key] = value;
17654
17683
  }
17655
17684
  };
17685
+ var maxNumericIndex = function maxNumericIndex2(obj, min) {
17686
+ var max = min;
17687
+ var keys = Object.keys(obj);
17688
+ for (var i = 0; i < keys.length; ++i) {
17689
+ var num = parseInt(keys[i], 10);
17690
+ if (String(num) === keys[i] && num > max) {
17691
+ max = num;
17692
+ }
17693
+ }
17694
+ return max;
17695
+ };
17696
+ var limitedPair = function limitedPair2(first, second, options) {
17697
+ var pair = [first, second];
17698
+ if (options && typeof options.arrayLimit === "number" && pair.length > options.arrayLimit) {
17699
+ if (options.throwOnLimitExceeded) {
17700
+ throw new RangeError("Array limit exceeded. Only " + options.arrayLimit + " element" + (options.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
17701
+ }
17702
+ return markOverflow(arrayToObject(pair, options), 1);
17703
+ }
17704
+ return pair;
17705
+ };
17656
17706
  var merge2 = function merge3(target, source, options) {
17657
17707
  if (!source) {
17658
17708
  return target;
@@ -17672,13 +17722,21 @@ var require_utils2 = __commonJS({
17672
17722
  var newIndex = getMaxIndex(target) + 1;
17673
17723
  target[newIndex] = source;
17674
17724
  setMaxIndex(target, newIndex);
17725
+ } else if (options && options.strictMerge && isConflict(target)) {
17726
+ var nextConflict = getConflictIndex(target) + 1;
17727
+ if (options.throwOnLimitExceeded && typeof options.arrayLimit === "number" && nextConflict >= options.arrayLimit) {
17728
+ throw new RangeError("Array limit exceeded. Only " + options.arrayLimit + " element" + (options.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
17729
+ }
17730
+ target[nextConflict] = source;
17731
+ markConflict(target, nextConflict);
17675
17732
  } else if (options && options.strictMerge) {
17676
- return [target, source];
17733
+ var conflict = limitedPair(target, source, options);
17734
+ return isArray2(conflict) ? markConflict(conflict, 1) : conflict;
17677
17735
  } else if (options && (options.plainObjects || options.allowPrototypes) || !has.call(Object.prototype, source)) {
17678
17736
  target[source] = true;
17679
17737
  }
17680
17738
  } else {
17681
- return [target, source];
17739
+ return limitedPair(target, source, options);
17682
17740
  }
17683
17741
  return target;
17684
17742
  }
@@ -17704,6 +17762,9 @@ var require_utils2 = __commonJS({
17704
17762
  var mergeTarget = target;
17705
17763
  if (isArray2(target) && !isArray2(source)) {
17706
17764
  mergeTarget = arrayToObject(target, options);
17765
+ if (isConflict(target)) {
17766
+ markConflict(mergeTarget, target.length - 1);
17767
+ }
17707
17768
  }
17708
17769
  if (isArray2(target) && isArray2(source)) {
17709
17770
  source.forEach(function(item, i) {
@@ -17734,7 +17795,7 @@ var require_utils2 = __commonJS({
17734
17795
  setProperty(acc, key, value);
17735
17796
  }
17736
17797
  if (isOverflow(source) && !isOverflow(acc)) {
17737
- markOverflow(acc, getMaxIndex(source));
17798
+ markOverflow(acc, maxNumericIndex(acc, getMaxIndex(source)));
17738
17799
  }
17739
17800
  if (isOverflow(acc)) {
17740
17801
  var keyNum = parseInt(key, 10);
@@ -17742,6 +17803,12 @@ var require_utils2 = __commonJS({
17742
17803
  setMaxIndex(acc, keyNum);
17743
17804
  }
17744
17805
  }
17806
+ if (isConflict(acc)) {
17807
+ var conflictKey = parseInt(key, 10);
17808
+ if (String(conflictKey) === key && conflictKey > getConflictIndex(acc)) {
17809
+ markConflict(acc, conflictKey);
17810
+ }
17811
+ }
17745
17812
  return acc;
17746
17813
  }, mergeTarget);
17747
17814
  };
@@ -17752,6 +17819,9 @@ var require_utils2 = __commonJS({
17752
17819
  }, target);
17753
17820
  };
17754
17821
  var decode3 = function(str, defaultDecoder, charset) {
17822
+ if (typeof str === "string" && str.indexOf("%") === -1) {
17823
+ return str.indexOf("+") === -1 ? str : str.replace(/\+/g, " ");
17824
+ }
17755
17825
  var strWithoutPlus = str.replace(/\+/g, " ");
17756
17826
  if (charset === "iso-8859-1") {
17757
17827
  return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);
@@ -17762,6 +17832,52 @@ var require_utils2 = __commonJS({
17762
17832
  return strWithoutPlus;
17763
17833
  }
17764
17834
  };
17835
+ var hasToPrimitive = typeof Symbol === "function" && typeof Symbol.toPrimitive === "symbol";
17836
+ var arrayJoin = Array.prototype.join;
17837
+ var arrayToString = Array.prototype.toString;
17838
+ var objectToString = Object.prototype.toString;
17839
+ var toCoercible = function toCoercible2(value, joining) {
17840
+ if (!value || typeof value !== "object" && typeof value !== "function") {
17841
+ return value;
17842
+ }
17843
+ if (hasToPrimitive && value[Symbol.toPrimitive] != null) {
17844
+ return value;
17845
+ }
17846
+ if (isArray2(value) && value.toString === arrayToString && value.join === arrayJoin) {
17847
+ var ancestors = joining || getSideChannel();
17848
+ if (ancestors.has(value)) {
17849
+ return "";
17850
+ }
17851
+ ancestors.set(value, true);
17852
+ var copy;
17853
+ for (var i = 0; i < value.length; i += 1) {
17854
+ var item = value[i];
17855
+ var coerced = toCoercible2(item, ancestors);
17856
+ if (!copy && coerced !== item) {
17857
+ copy = [];
17858
+ for (var j = 0; j < i; j += 1) {
17859
+ copy[j] = value[j];
17860
+ }
17861
+ }
17862
+ if (copy) {
17863
+ copy[i] = coerced;
17864
+ }
17865
+ }
17866
+ ancestors["delete"](value);
17867
+ return copy || value;
17868
+ }
17869
+ if (typeof value.toString === "function") {
17870
+ return value;
17871
+ }
17872
+ var valueOf = value.valueOf;
17873
+ if (typeof valueOf === "function") {
17874
+ var primitive = valueOf.call(value);
17875
+ if (!primitive || typeof primitive !== "object" && typeof primitive !== "function") {
17876
+ return String(primitive);
17877
+ }
17878
+ }
17879
+ return objectToString.call(value);
17880
+ };
17765
17881
  var limit = 1024;
17766
17882
  var encode3 = function encode4(str, defaultEncoder, charset, kind, format) {
17767
17883
  if (str.length === 0) {
@@ -17771,12 +17887,12 @@ var require_utils2 = __commonJS({
17771
17887
  if (typeof str === "symbol") {
17772
17888
  string4 = Symbol.prototype.toString.call(str);
17773
17889
  } else if (typeof str !== "string") {
17774
- string4 = String(str);
17890
+ string4 = String(toCoercible(str));
17775
17891
  }
17776
17892
  if (charset === "iso-8859-1") {
17777
17893
  return escape(string4).replace(/%u[0-9a-f]{4}/gi, function($0) {
17778
17894
  return "%26%23" + parseInt($0.slice(2), 16) + "%3B";
17779
- });
17895
+ }).replace(/\+/g, "%2B");
17780
17896
  }
17781
17897
  var out = "";
17782
17898
  for (var j = 0; j < string4.length; j += limit) {
@@ -17888,14 +18004,15 @@ var require_utils2 = __commonJS({
17888
18004
  isRegExp,
17889
18005
  markOverflow,
17890
18006
  maybeMap,
17891
- merge: merge2
18007
+ merge: merge2,
18008
+ toCoercible
17892
18009
  };
17893
18010
  }
17894
18011
  });
17895
18012
 
17896
- // ../../node_modules/.pnpm/qs@6.16.0/node_modules/qs/lib/stringify.js
18013
+ // ../../node_modules/.pnpm/qs@6.16.1/node_modules/qs/lib/stringify.js
17897
18014
  var require_stringify = __commonJS({
17898
- "../../node_modules/.pnpm/qs@6.16.0/node_modules/qs/lib/stringify.js"(exports2, module2) {
18015
+ "../../node_modules/.pnpm/qs@6.16.1/node_modules/qs/lib/stringify.js"(exports2, module2) {
17899
18016
  "use strict";
17900
18017
  var getSideChannel = require_side_channel();
17901
18018
  var utils = require_utils2();
@@ -18003,17 +18120,17 @@ var require_stringify = __commonJS({
18003
18120
  if (generateArrayPrefix === "comma" && isArray2(obj)) {
18004
18121
  if (encodeValuesOnly && encoder) {
18005
18122
  obj = utils.maybeMap(obj, function(v) {
18006
- return v == null ? v : encoder(v);
18123
+ return v == null ? v : encoder(v, defaults.encoder, charset, "value", format);
18007
18124
  });
18008
18125
  }
18009
- objKeys = [{ value: obj.length > 0 ? obj.join(",") || null : void 0 }];
18126
+ objKeys = [{ value: obj.length > 0 ? utils.toCoercible(obj).join(",") || null : void 0 }];
18010
18127
  } else if (isArray2(filter)) {
18011
18128
  objKeys = filter;
18012
18129
  } else {
18013
18130
  var keys = Object.keys(obj);
18014
18131
  objKeys = sort ? keys.sort(sort) : keys;
18015
18132
  }
18016
- var encodedPrefix = encodeDotInKeys ? String(prefix).replace(/\./g, "%2E") : String(prefix);
18133
+ var encodedPrefix = String(prefix);
18017
18134
  var adjustedPrefix = commaRoundTrip && isArray2(obj) && obj.length === 1 ? encodedPrefix + "[]" : encodedPrefix;
18018
18135
  if (allowEmptyArrays && isArray2(obj) && obj.length === 0 && Object.keys(obj).length === 0) {
18019
18136
  return adjustedPrefix + "[]";
@@ -18084,7 +18201,7 @@ var require_stringify = __commonJS({
18084
18201
  filter = opts.filter;
18085
18202
  }
18086
18203
  var arrayFormat;
18087
- if (opts.arrayFormat in arrayPrefixGenerators) {
18204
+ if (has.call(arrayPrefixGenerators, opts.arrayFormat)) {
18088
18205
  arrayFormat = opts.arrayFormat;
18089
18206
  } else if ("indices" in opts) {
18090
18207
  arrayFormat = opts.indices ? "indices" : "repeat";
@@ -18190,13 +18307,57 @@ var require_stringify = __commonJS({
18190
18307
  }
18191
18308
  });
18192
18309
 
18193
- // ../../node_modules/.pnpm/qs@6.16.0/node_modules/qs/lib/parse.js
18310
+ // ../../node_modules/.pnpm/qs@6.16.1/node_modules/qs/lib/parse.js
18194
18311
  var require_parse = __commonJS({
18195
- "../../node_modules/.pnpm/qs@6.16.0/node_modules/qs/lib/parse.js"(exports2, module2) {
18312
+ "../../node_modules/.pnpm/qs@6.16.1/node_modules/qs/lib/parse.js"(exports2, module2) {
18196
18313
  "use strict";
18314
+ var getSideChannel = require_side_channel();
18197
18315
  var utils = require_utils2();
18198
18316
  var has = Object.prototype.hasOwnProperty;
18199
18317
  var isArray2 = Array.isArray;
18318
+ var getPrototypeOf2 = Object.getPrototypeOf;
18319
+ var isPlainContainer = function isPlainContainer2(value) {
18320
+ if (!value || typeof value !== "object") {
18321
+ return false;
18322
+ }
18323
+ if (isArray2(value)) {
18324
+ return true;
18325
+ }
18326
+ var proto = getPrototypeOf2(value);
18327
+ return proto === Object.prototype || proto === null;
18328
+ };
18329
+ var emptyCopyOf = function emptyCopyOf2(value) {
18330
+ if (isArray2(value)) {
18331
+ var arr = [];
18332
+ arr.length = value.length;
18333
+ return arr;
18334
+ }
18335
+ return getPrototypeOf2(value) === null ? { __proto__: null } : {};
18336
+ };
18337
+ var copyInput = function copyInput2(input2) {
18338
+ var copies = getSideChannel();
18339
+ var result = {};
18340
+ var queue = [{ source: input2, target: result }];
18341
+ for (var i = 0; i < queue.length; ++i) {
18342
+ var source = queue[i].source;
18343
+ var target = queue[i].target;
18344
+ var keys = Object.keys(source);
18345
+ for (var j = 0; j < keys.length; ++j) {
18346
+ var value = source[keys[j]];
18347
+ if (isPlainContainer(value)) {
18348
+ if (!copies.has(value)) {
18349
+ var copy = emptyCopyOf(value);
18350
+ copies.set(value, copy);
18351
+ queue[queue.length] = { source: value, target: copy };
18352
+ }
18353
+ target[keys[j]] = copies.get(value);
18354
+ } else {
18355
+ target[keys[j]] = value;
18356
+ }
18357
+ }
18358
+ }
18359
+ return result;
18360
+ };
18200
18361
  var defaults = {
18201
18362
  allowDots: false,
18202
18363
  allowEmptyArrays: false,
@@ -18283,6 +18444,7 @@ var require_parse = __commonJS({
18283
18444
  var part = parts[i];
18284
18445
  var bracketEqualsPos = part.indexOf("]=");
18285
18446
  var pos = bracketEqualsPos === -1 ? part.indexOf("=") : bracketEqualsPos + 1;
18447
+ var isEmptyBracketKey = pos > 1 && part.slice(pos - 2, pos) === "[]";
18286
18448
  var key;
18287
18449
  var val;
18288
18450
  if (pos === -1) {
@@ -18306,7 +18468,7 @@ var require_parse = __commonJS({
18306
18468
  if (val && options.interpretNumericEntities && charset === "iso-8859-1") {
18307
18469
  val = interpretNumericEntities(String(val));
18308
18470
  }
18309
- if (part.indexOf("[]=") > -1) {
18471
+ if (isEmptyBracketKey) {
18310
18472
  val = isArray2(val) ? [val] : val;
18311
18473
  }
18312
18474
  if (options.comma && isArray2(val) && val.length > options.arrayLimit) {
@@ -18314,7 +18476,7 @@ var require_parse = __commonJS({
18314
18476
  }
18315
18477
  if (key !== null) {
18316
18478
  var existing = has.call(obj, key);
18317
- if (existing && (options.duplicates === "combine" || part.indexOf("[]=") > -1)) {
18479
+ if (existing && (options.duplicates === "combine" || isEmptyBracketKey)) {
18318
18480
  obj[key] = utils.combine(
18319
18481
  obj[key],
18320
18482
  val,
@@ -18375,8 +18537,35 @@ var require_parse = __commonJS({
18375
18537
  }
18376
18538
  return leaf;
18377
18539
  };
18540
+ var topLevelDotsToBrackets = function topLevelDotsToBrackets2(key) {
18541
+ var result = "";
18542
+ var depth = 0;
18543
+ for (var i = 0; i < key.length; i += 1) {
18544
+ var cu = key.charCodeAt(i);
18545
+ if (cu === 91) {
18546
+ depth += 1;
18547
+ result += "[";
18548
+ } else if (cu === 93) {
18549
+ if (depth > 0) {
18550
+ depth -= 1;
18551
+ }
18552
+ result += "]";
18553
+ } else if (cu === 46 && depth === 0 && i + 1 < key.length && key.charCodeAt(i + 1) !== 46 && key.charCodeAt(i + 1) !== 91) {
18554
+ var start = i + 1;
18555
+ var j = start;
18556
+ while (j < key.length && key.charCodeAt(j) !== 46 && key.charCodeAt(j) !== 91) {
18557
+ j += 1;
18558
+ }
18559
+ result += "[" + key.slice(start, j) + "]";
18560
+ i = j - 1;
18561
+ } else {
18562
+ result += key.charAt(i);
18563
+ }
18564
+ }
18565
+ return result;
18566
+ };
18378
18567
  var splitKeyIntoSegments = function splitKeyIntoSegments2(originalKey, options) {
18379
- var key = options.allowDots ? originalKey.replace(/\.([^.[]+)/g, "[$1]") : originalKey;
18568
+ var key = options.allowDots ? topLevelDotsToBrackets(originalKey) : originalKey;
18380
18569
  if (options.depth <= 0) {
18381
18570
  if (!options.plainObjects && has.call(Object.prototype, key)) {
18382
18571
  if (!options.allowPrototypes) {
@@ -18502,7 +18691,7 @@ var require_parse = __commonJS({
18502
18691
  if (str === "" || str === null || typeof str === "undefined") {
18503
18692
  return options.plainObjects ? { __proto__: null } : {};
18504
18693
  }
18505
- var tempObj = typeof str === "string" ? parseValues(str, options) : str;
18694
+ var tempObj = typeof str === "string" ? parseValues(str, options) : copyInput(str);
18506
18695
  var obj = options.plainObjects ? { __proto__: null } : {};
18507
18696
  var keys = Object.keys(tempObj);
18508
18697
  for (var i = 0; i < keys.length; ++i) {
@@ -18518,9 +18707,9 @@ var require_parse = __commonJS({
18518
18707
  }
18519
18708
  });
18520
18709
 
18521
- // ../../node_modules/.pnpm/qs@6.16.0/node_modules/qs/lib/index.js
18710
+ // ../../node_modules/.pnpm/qs@6.16.1/node_modules/qs/lib/index.js
18522
18711
  var require_lib2 = __commonJS({
18523
- "../../node_modules/.pnpm/qs@6.16.0/node_modules/qs/lib/index.js"(exports2, module2) {
18712
+ "../../node_modules/.pnpm/qs@6.16.1/node_modules/qs/lib/index.js"(exports2, module2) {
18524
18713
  "use strict";
18525
18714
  var stringify = require_stringify();
18526
18715
  var parse3 = require_parse();
@@ -18533,9 +18722,9 @@ var require_lib2 = __commonJS({
18533
18722
  }
18534
18723
  });
18535
18724
 
18536
- // ../../node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/types/urlencoded.js
18725
+ // ../../node_modules/.pnpm/body-parser@2.4.0/node_modules/body-parser/lib/types/urlencoded.js
18537
18726
  var require_urlencoded = __commonJS({
18538
- "../../node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/lib/types/urlencoded.js"(exports2, module2) {
18727
+ "../../node_modules/.pnpm/body-parser@2.4.0/node_modules/body-parser/lib/types/urlencoded.js"(exports2, module2) {
18539
18728
  "use strict";
18540
18729
  var createError = require_http_errors();
18541
18730
  var debug = require_src()("body-parser:urlencoded");
@@ -18619,9 +18808,9 @@ var require_urlencoded = __commonJS({
18619
18808
  }
18620
18809
  });
18621
18810
 
18622
- // ../../node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/index.js
18811
+ // ../../node_modules/.pnpm/body-parser@2.4.0/node_modules/body-parser/index.js
18623
18812
  var require_body_parser = __commonJS({
18624
- "../../node_modules/.pnpm/body-parser@2.3.0/node_modules/body-parser/index.js"(exports2, module2) {
18813
+ "../../node_modules/.pnpm/body-parser@2.4.0/node_modules/body-parser/index.js"(exports2, module2) {
18625
18814
  "use strict";
18626
18815
  exports2 = module2.exports = bodyParser;
18627
18816
  exports2.json = require_json();
@@ -19749,273 +19938,1245 @@ var require_ipaddr = __commonJS({
19749
19938
  octets.push(parseInt(ipInterfaceOctets[i], 10) | parseInt(subnetMaskOctets[i], 10) ^ 255);
19750
19939
  i++;
19751
19940
  }
19752
- return new this(octets);
19753
- } catch (error1) {
19754
- error62 = error1;
19755
- throw new Error("ipaddr: the address does not have IPv4 CIDR format");
19756
- }
19757
- };
19758
- ipaddr.IPv4.networkAddressFromCIDR = function(string4) {
19759
- var cidr, error62, i, ipInterfaceOctets, octets, subnetMaskOctets;
19760
- try {
19761
- cidr = this.parseCIDR(string4);
19762
- ipInterfaceOctets = cidr[0].toByteArray();
19763
- subnetMaskOctets = this.subnetMaskFromPrefixLength(cidr[1]).toByteArray();
19764
- octets = [];
19765
- i = 0;
19766
- while (i < 4) {
19767
- octets.push(parseInt(ipInterfaceOctets[i], 10) & parseInt(subnetMaskOctets[i], 10));
19768
- i++;
19941
+ return new this(octets);
19942
+ } catch (error1) {
19943
+ error62 = error1;
19944
+ throw new Error("ipaddr: the address does not have IPv4 CIDR format");
19945
+ }
19946
+ };
19947
+ ipaddr.IPv4.networkAddressFromCIDR = function(string4) {
19948
+ var cidr, error62, i, ipInterfaceOctets, octets, subnetMaskOctets;
19949
+ try {
19950
+ cidr = this.parseCIDR(string4);
19951
+ ipInterfaceOctets = cidr[0].toByteArray();
19952
+ subnetMaskOctets = this.subnetMaskFromPrefixLength(cidr[1]).toByteArray();
19953
+ octets = [];
19954
+ i = 0;
19955
+ while (i < 4) {
19956
+ octets.push(parseInt(ipInterfaceOctets[i], 10) & parseInt(subnetMaskOctets[i], 10));
19957
+ i++;
19958
+ }
19959
+ return new this(octets);
19960
+ } catch (error1) {
19961
+ error62 = error1;
19962
+ throw new Error("ipaddr: the address does not have IPv4 CIDR format");
19963
+ }
19964
+ };
19965
+ ipaddr.IPv6.parseCIDR = function(string4) {
19966
+ var maskLength, match, parsed;
19967
+ if (match = string4.match(/^(.+)\/(\d+)$/)) {
19968
+ maskLength = parseInt(match[2]);
19969
+ if (maskLength >= 0 && maskLength <= 128) {
19970
+ parsed = [this.parse(match[1]), maskLength];
19971
+ Object.defineProperty(parsed, "toString", {
19972
+ value: function() {
19973
+ return this.join("/");
19974
+ }
19975
+ });
19976
+ return parsed;
19977
+ }
19978
+ }
19979
+ throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range");
19980
+ };
19981
+ ipaddr.isValid = function(string4) {
19982
+ return ipaddr.IPv6.isValid(string4) || ipaddr.IPv4.isValid(string4);
19983
+ };
19984
+ ipaddr.parse = function(string4) {
19985
+ if (ipaddr.IPv6.isValid(string4)) {
19986
+ return ipaddr.IPv6.parse(string4);
19987
+ } else if (ipaddr.IPv4.isValid(string4)) {
19988
+ return ipaddr.IPv4.parse(string4);
19989
+ } else {
19990
+ throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format");
19991
+ }
19992
+ };
19993
+ ipaddr.parseCIDR = function(string4) {
19994
+ var e;
19995
+ try {
19996
+ return ipaddr.IPv6.parseCIDR(string4);
19997
+ } catch (error1) {
19998
+ e = error1;
19999
+ try {
20000
+ return ipaddr.IPv4.parseCIDR(string4);
20001
+ } catch (error110) {
20002
+ e = error110;
20003
+ throw new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format");
20004
+ }
20005
+ }
20006
+ };
20007
+ ipaddr.fromByteArray = function(bytes) {
20008
+ var length;
20009
+ length = bytes.length;
20010
+ if (length === 4) {
20011
+ return new ipaddr.IPv4(bytes);
20012
+ } else if (length === 16) {
20013
+ return new ipaddr.IPv6(bytes);
20014
+ } else {
20015
+ throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address");
20016
+ }
20017
+ };
20018
+ ipaddr.process = function(string4) {
20019
+ var addr;
20020
+ addr = this.parse(string4);
20021
+ if (addr.kind() === "ipv6" && addr.isIPv4MappedAddress()) {
20022
+ return addr.toIPv4Address();
20023
+ } else {
20024
+ return addr;
20025
+ }
20026
+ };
20027
+ }).call(exports2);
20028
+ }
20029
+ });
20030
+
20031
+ // ../../node_modules/.pnpm/proxy-addr@2.0.8/node_modules/proxy-addr/index.js
20032
+ var require_proxy_addr = __commonJS({
20033
+ "../../node_modules/.pnpm/proxy-addr@2.0.8/node_modules/proxy-addr/index.js"(exports2, module2) {
20034
+ "use strict";
20035
+ module2.exports = proxyaddr;
20036
+ module2.exports.all = alladdrs;
20037
+ module2.exports.compile = compile2;
20038
+ var forwarded = require_forwarded();
20039
+ var ipaddr = require_ipaddr();
20040
+ var DIGIT_REGEXP = /^[0-9]+$/;
20041
+ var isip = ipaddr.isValid;
20042
+ var parseip = ipaddr.parse;
20043
+ var IP_RANGES = {
20044
+ linklocal: ["169.254.0.0/16", "fe80::/10"],
20045
+ loopback: ["127.0.0.1/8", "::1/128"],
20046
+ uniquelocal: ["10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "fc00::/7"]
20047
+ };
20048
+ function alladdrs(req, trust) {
20049
+ var addrs = forwarded(req);
20050
+ if (!trust) {
20051
+ return addrs;
20052
+ }
20053
+ if (typeof trust !== "function") {
20054
+ trust = compile2(trust);
20055
+ }
20056
+ for (var i = 0; i < addrs.length - 1; i++) {
20057
+ if (trust(addrs[i], i)) continue;
20058
+ addrs.length = i + 1;
20059
+ }
20060
+ return addrs;
20061
+ }
20062
+ function compile2(val) {
20063
+ if (!val) {
20064
+ throw new TypeError("argument is required");
20065
+ }
20066
+ var trust;
20067
+ if (typeof val === "string") {
20068
+ trust = [val];
20069
+ } else if (Array.isArray(val)) {
20070
+ trust = val.slice();
20071
+ } else {
20072
+ throw new TypeError("unsupported trust argument");
20073
+ }
20074
+ for (var i = 0; i < trust.length; i++) {
20075
+ val = trust[i];
20076
+ if (!Object.prototype.hasOwnProperty.call(IP_RANGES, val)) {
20077
+ continue;
20078
+ }
20079
+ val = IP_RANGES[val];
20080
+ trust.splice.apply(trust, [i, 1].concat(val));
20081
+ i += val.length - 1;
20082
+ }
20083
+ return compileTrust(compileRangeSubnets(trust));
20084
+ }
20085
+ function compileRangeSubnets(arr) {
20086
+ var rangeSubnets = new Array(arr.length);
20087
+ for (var i = 0; i < arr.length; i++) {
20088
+ rangeSubnets[i] = parseipNotation(arr[i]);
20089
+ }
20090
+ return rangeSubnets;
20091
+ }
20092
+ function compileTrust(rangeSubnets) {
20093
+ var len = rangeSubnets.length;
20094
+ return len === 0 ? trustNone : len === 1 ? trustSingle(rangeSubnets[0]) : trustMulti(rangeSubnets);
20095
+ }
20096
+ function parseipNotation(note) {
20097
+ var pos = note.lastIndexOf("/");
20098
+ var str = pos !== -1 ? note.substring(0, pos) : note;
20099
+ if (!isip(str)) {
20100
+ throw new TypeError("invalid IP address: " + str);
20101
+ }
20102
+ var ip = parseip(str);
20103
+ if (pos === -1 && ip.kind() === "ipv6" && ip.isIPv4MappedAddress()) {
20104
+ ip = ip.toIPv4Address();
20105
+ }
20106
+ var max = ip.kind() === "ipv6" ? 128 : 32;
20107
+ var range = pos !== -1 ? note.substring(pos + 1, note.length) : null;
20108
+ if (range === null) {
20109
+ range = max;
20110
+ } else if (DIGIT_REGEXP.test(range)) {
20111
+ range = parseInt(range, 10);
20112
+ } else if (ip.kind() === "ipv4" && isip(range)) {
20113
+ range = parseNetmask(range);
20114
+ } else {
20115
+ range = null;
20116
+ }
20117
+ if (range <= 0 || range > max) {
20118
+ throw new TypeError("invalid range on address: " + note);
20119
+ }
20120
+ return [ip, range];
20121
+ }
20122
+ function parseNetmask(netmask) {
20123
+ var ip = parseip(netmask);
20124
+ var kind = ip.kind();
20125
+ return kind === "ipv4" ? ip.prefixLengthFromSubnetMask() : null;
20126
+ }
20127
+ function proxyaddr(req, trust) {
20128
+ if (!req) {
20129
+ throw new TypeError("req argument is required");
20130
+ }
20131
+ if (!trust) {
20132
+ throw new TypeError("trust argument is required");
20133
+ }
20134
+ var addrs = alladdrs(req, trust);
20135
+ var addr = addrs[addrs.length - 1];
20136
+ return addr;
20137
+ }
20138
+ function trustNone() {
20139
+ return false;
20140
+ }
20141
+ function trustMulti(subnets) {
20142
+ return function trust(addr) {
20143
+ if (!isip(addr)) return false;
20144
+ var ip = parseip(addr);
20145
+ if (ip.kind() === "ipv6" && ip.isIPv4MappedAddress()) {
20146
+ ip = ip.toIPv4Address();
20147
+ }
20148
+ var ipconv;
20149
+ var kind = ip.kind();
20150
+ for (var i = 0; i < subnets.length; i++) {
20151
+ var subnet = subnets[i];
20152
+ var subnetip = subnet[0];
20153
+ var subnetkind = subnetip.kind();
20154
+ var subnetrange = subnet[1];
20155
+ var trusted = ip;
20156
+ if (kind !== subnetkind) {
20157
+ if (subnetkind === "ipv4" && !ip.isIPv4MappedAddress()) {
20158
+ continue;
20159
+ }
20160
+ if (subnetkind !== "ipv4" && !(subnetrange >= 96 && subnetip.isIPv4MappedAddress())) {
20161
+ continue;
20162
+ }
20163
+ if (!ipconv) {
20164
+ ipconv = subnetkind === "ipv4" ? ip.toIPv4Address() : ip.toIPv4MappedAddress();
20165
+ }
20166
+ trusted = ipconv;
20167
+ } else if (kind === "ipv6" && subnetip.isIPv4MappedAddress()) {
20168
+ continue;
20169
+ }
20170
+ if (trusted.match(subnetip, subnetrange)) {
20171
+ return true;
20172
+ }
20173
+ }
20174
+ return false;
20175
+ };
20176
+ }
20177
+ function trustSingle(subnet) {
20178
+ var subnetip = subnet[0];
20179
+ var subnetkind = subnetip.kind();
20180
+ var subnetisipv4 = subnetkind === "ipv4";
20181
+ var subnetrange = subnet[1];
20182
+ return function trust(addr) {
20183
+ if (!isip(addr)) return false;
20184
+ var ip = parseip(addr);
20185
+ if (ip.kind() === "ipv6" && ip.isIPv4MappedAddress()) {
20186
+ ip = ip.toIPv4Address();
20187
+ }
20188
+ var kind = ip.kind();
20189
+ if (kind !== subnetkind) {
20190
+ if (subnetisipv4 && !ip.isIPv4MappedAddress()) {
20191
+ return false;
20192
+ }
20193
+ if (!subnetisipv4 && !(subnetrange >= 96 && subnetip.isIPv4MappedAddress())) {
20194
+ return false;
20195
+ }
20196
+ ip = subnetisipv4 ? ip.toIPv4Address() : ip.toIPv4MappedAddress();
20197
+ } else if (kind === "ipv6" && subnetip.isIPv4MappedAddress()) {
20198
+ return false;
20199
+ }
20200
+ return ip.match(subnetip, subnetrange);
20201
+ };
20202
+ }
20203
+ }
20204
+ });
20205
+
20206
+ // ../../node_modules/.pnpm/qs@6.16.0/node_modules/qs/lib/formats.js
20207
+ var require_formats2 = __commonJS({
20208
+ "../../node_modules/.pnpm/qs@6.16.0/node_modules/qs/lib/formats.js"(exports2, module2) {
20209
+ "use strict";
20210
+ var replace = String.prototype.replace;
20211
+ var percentTwenties = /%20/g;
20212
+ var Format = {
20213
+ RFC1738: "RFC1738",
20214
+ RFC3986: "RFC3986"
20215
+ };
20216
+ module2.exports = {
20217
+ "default": Format.RFC3986,
20218
+ formatters: {
20219
+ RFC1738: function(value) {
20220
+ return replace.call(value, percentTwenties, "+");
20221
+ },
20222
+ RFC3986: function(value) {
20223
+ return String(value);
20224
+ }
20225
+ },
20226
+ RFC1738: Format.RFC1738,
20227
+ RFC3986: Format.RFC3986
20228
+ };
20229
+ }
20230
+ });
20231
+
20232
+ // ../../node_modules/.pnpm/qs@6.16.0/node_modules/qs/lib/utils.js
20233
+ var require_utils3 = __commonJS({
20234
+ "../../node_modules/.pnpm/qs@6.16.0/node_modules/qs/lib/utils.js"(exports2, module2) {
20235
+ "use strict";
20236
+ var formats = require_formats2();
20237
+ var getSideChannel = require_side_channel();
20238
+ var defineProperty2 = require_es_define_property();
20239
+ var has = Object.prototype.hasOwnProperty;
20240
+ var isArray2 = Array.isArray;
20241
+ var overflowChannel = getSideChannel();
20242
+ var markOverflow = function markOverflow2(obj, maxIndex) {
20243
+ overflowChannel.set(obj, maxIndex);
20244
+ return obj;
20245
+ };
20246
+ var isOverflow = function isOverflow2(obj) {
20247
+ return overflowChannel.has(obj);
20248
+ };
20249
+ var getMaxIndex = function getMaxIndex2(obj) {
20250
+ return overflowChannel.get(obj);
20251
+ };
20252
+ var setMaxIndex = function setMaxIndex2(obj, maxIndex) {
20253
+ overflowChannel.set(obj, maxIndex);
20254
+ };
20255
+ var hexTable = (function() {
20256
+ var array2 = [];
20257
+ for (var i = 0; i < 256; ++i) {
20258
+ array2[array2.length] = "%" + ((i < 16 ? "0" : "") + i.toString(16)).toUpperCase();
20259
+ }
20260
+ return array2;
20261
+ })();
20262
+ var compactQueue = function compactQueue2(queue) {
20263
+ while (queue.length > 1) {
20264
+ var item = queue.pop();
20265
+ var obj = item.obj[item.prop];
20266
+ if (isArray2(obj)) {
20267
+ var compacted = [];
20268
+ for (var j = 0; j < obj.length; ++j) {
20269
+ if (typeof obj[j] !== "undefined") {
20270
+ compacted[compacted.length] = obj[j];
20271
+ }
20272
+ }
20273
+ item.obj[item.prop] = compacted;
20274
+ }
20275
+ }
20276
+ };
20277
+ var arrayToObject = function arrayToObject2(source, options) {
20278
+ var obj = options && options.plainObjects ? { __proto__: null } : {};
20279
+ for (var i = 0; i < source.length; ++i) {
20280
+ if (typeof source[i] !== "undefined") {
20281
+ obj[i] = source[i];
20282
+ }
20283
+ }
20284
+ return obj;
20285
+ };
20286
+ var setProperty = function setProperty2(obj, key, value) {
20287
+ if (key === "__proto__" && defineProperty2) {
20288
+ defineProperty2(obj, key, {
20289
+ configurable: true,
20290
+ enumerable: true,
20291
+ value,
20292
+ writable: true
20293
+ });
20294
+ } else {
20295
+ obj[key] = value;
20296
+ }
20297
+ };
20298
+ var merge2 = function merge3(target, source, options) {
20299
+ if (!source) {
20300
+ return target;
20301
+ }
20302
+ if (typeof source !== "object" && typeof source !== "function") {
20303
+ if (isArray2(target)) {
20304
+ var nextIndex = target.length;
20305
+ if (options && typeof options.arrayLimit === "number" && nextIndex >= options.arrayLimit) {
20306
+ if (options.throwOnLimitExceeded) {
20307
+ throw new RangeError("Array limit exceeded. Only " + options.arrayLimit + " element" + (options.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
20308
+ }
20309
+ return markOverflow(arrayToObject(target.concat(source), options), nextIndex);
20310
+ }
20311
+ target[nextIndex] = source;
20312
+ } else if (target && typeof target === "object") {
20313
+ if (isOverflow(target)) {
20314
+ var newIndex = getMaxIndex(target) + 1;
20315
+ target[newIndex] = source;
20316
+ setMaxIndex(target, newIndex);
20317
+ } else if (options && options.strictMerge) {
20318
+ return [target, source];
20319
+ } else if (options && (options.plainObjects || options.allowPrototypes) || !has.call(Object.prototype, source)) {
20320
+ target[source] = true;
20321
+ }
20322
+ } else {
20323
+ return [target, source];
20324
+ }
20325
+ return target;
20326
+ }
20327
+ if (!target || typeof target !== "object") {
20328
+ if (isOverflow(source)) {
20329
+ var sourceKeys = Object.keys(source);
20330
+ var result = options && options.plainObjects ? { __proto__: null, 0: target } : { 0: target };
20331
+ for (var m = 0; m < sourceKeys.length; m++) {
20332
+ var oldKey = parseInt(sourceKeys[m], 10);
20333
+ result[oldKey + 1] = source[sourceKeys[m]];
20334
+ }
20335
+ return markOverflow(result, getMaxIndex(source) + 1);
20336
+ }
20337
+ var combined = [target].concat(source);
20338
+ if (options && typeof options.arrayLimit === "number" && combined.length > options.arrayLimit) {
20339
+ if (options.throwOnLimitExceeded) {
20340
+ throw new RangeError("Array limit exceeded. Only " + options.arrayLimit + " element" + (options.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
20341
+ }
20342
+ return markOverflow(arrayToObject(combined, options), combined.length - 1);
20343
+ }
20344
+ return combined;
20345
+ }
20346
+ var mergeTarget = target;
20347
+ if (isArray2(target) && !isArray2(source)) {
20348
+ mergeTarget = arrayToObject(target, options);
20349
+ }
20350
+ if (isArray2(target) && isArray2(source)) {
20351
+ source.forEach(function(item, i) {
20352
+ if (has.call(target, i)) {
20353
+ var targetItem = target[i];
20354
+ if (targetItem && typeof targetItem === "object" && item && typeof item === "object") {
20355
+ target[i] = merge3(targetItem, item, options);
20356
+ } else {
20357
+ target[target.length] = item;
20358
+ }
20359
+ } else {
20360
+ target[i] = item;
20361
+ }
20362
+ });
20363
+ if (options && typeof options.arrayLimit === "number" && target.length > options.arrayLimit) {
20364
+ if (options.throwOnLimitExceeded) {
20365
+ throw new RangeError("Array limit exceeded. Only " + options.arrayLimit + " element" + (options.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
20366
+ }
20367
+ return markOverflow(arrayToObject(target, options), target.length - 1);
20368
+ }
20369
+ return target;
20370
+ }
20371
+ return Object.keys(source).reduce(function(acc, key) {
20372
+ var value = source[key];
20373
+ if (has.call(acc, key)) {
20374
+ setProperty(acc, key, merge3(acc[key], value, options));
20375
+ } else {
20376
+ setProperty(acc, key, value);
20377
+ }
20378
+ if (isOverflow(source) && !isOverflow(acc)) {
20379
+ markOverflow(acc, getMaxIndex(source));
20380
+ }
20381
+ if (isOverflow(acc)) {
20382
+ var keyNum = parseInt(key, 10);
20383
+ if (String(keyNum) === key && keyNum >= 0 && keyNum > getMaxIndex(acc)) {
20384
+ setMaxIndex(acc, keyNum);
20385
+ }
20386
+ }
20387
+ return acc;
20388
+ }, mergeTarget);
20389
+ };
20390
+ var assign = function assignSingleSource(target, source) {
20391
+ return Object.keys(source).reduce(function(acc, key) {
20392
+ setProperty(acc, key, source[key]);
20393
+ return acc;
20394
+ }, target);
20395
+ };
20396
+ var decode3 = function(str, defaultDecoder, charset) {
20397
+ var strWithoutPlus = str.replace(/\+/g, " ");
20398
+ if (charset === "iso-8859-1") {
20399
+ return strWithoutPlus.replace(/%[0-9a-f]{2}/gi, unescape);
20400
+ }
20401
+ try {
20402
+ return decodeURIComponent(strWithoutPlus);
20403
+ } catch (e) {
20404
+ return strWithoutPlus;
20405
+ }
20406
+ };
20407
+ var limit = 1024;
20408
+ var encode3 = function encode4(str, defaultEncoder, charset, kind, format) {
20409
+ if (str.length === 0) {
20410
+ return str;
20411
+ }
20412
+ var string4 = str;
20413
+ if (typeof str === "symbol") {
20414
+ string4 = Symbol.prototype.toString.call(str);
20415
+ } else if (typeof str !== "string") {
20416
+ string4 = String(str);
20417
+ }
20418
+ if (charset === "iso-8859-1") {
20419
+ return escape(string4).replace(/%u[0-9a-f]{4}/gi, function($0) {
20420
+ return "%26%23" + parseInt($0.slice(2), 16) + "%3B";
20421
+ });
20422
+ }
20423
+ var out = "";
20424
+ for (var j = 0; j < string4.length; j += limit) {
20425
+ var segment = string4.length >= limit ? string4.slice(j, j + limit) : string4;
20426
+ if (j + limit < string4.length) {
20427
+ var last = segment.charCodeAt(segment.length - 1);
20428
+ if (last >= 55296 && last <= 56319) {
20429
+ segment = segment.slice(0, -1);
20430
+ j -= 1;
20431
+ }
20432
+ }
20433
+ var arr = [];
20434
+ for (var i = 0; i < segment.length; ++i) {
20435
+ var c = segment.charCodeAt(i);
20436
+ if (c === 45 || c === 46 || c === 95 || c === 126 || c >= 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 || format === formats.RFC1738 && (c === 40 || c === 41)) {
20437
+ arr[arr.length] = segment.charAt(i);
20438
+ continue;
20439
+ }
20440
+ if (c < 128) {
20441
+ arr[arr.length] = hexTable[c];
20442
+ continue;
20443
+ }
20444
+ if (c < 2048) {
20445
+ arr[arr.length] = hexTable[192 | c >> 6] + hexTable[128 | c & 63];
20446
+ continue;
20447
+ }
20448
+ if (c < 55296 || c >= 57344) {
20449
+ arr[arr.length] = hexTable[224 | c >> 12] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
20450
+ continue;
20451
+ }
20452
+ i += 1;
20453
+ c = 65536 + ((c & 1023) << 10 | segment.charCodeAt(i) & 1023);
20454
+ arr[arr.length] = hexTable[240 | c >> 18] + hexTable[128 | c >> 12 & 63] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
20455
+ }
20456
+ out += arr.join("");
20457
+ }
20458
+ return out;
20459
+ };
20460
+ var compact = function compact2(value) {
20461
+ var queue = [{ obj: { o: value }, prop: "o" }];
20462
+ var refs = getSideChannel();
20463
+ for (var i = 0; i < queue.length; ++i) {
20464
+ var item = queue[i];
20465
+ var obj = item.obj[item.prop];
20466
+ var keys = Object.keys(obj);
20467
+ for (var j = 0; j < keys.length; ++j) {
20468
+ var key = keys[j];
20469
+ var val = obj[key];
20470
+ if (typeof val === "object" && val !== null && !refs.has(val)) {
20471
+ queue[queue.length] = { obj, prop: key };
20472
+ refs.set(val, true);
20473
+ }
20474
+ }
20475
+ }
20476
+ compactQueue(queue);
20477
+ return value;
20478
+ };
20479
+ var isRegExp = function isRegExp2(obj) {
20480
+ return Object.prototype.toString.call(obj) === "[object RegExp]";
20481
+ };
20482
+ var isBuffer = function isBuffer2(obj) {
20483
+ if (!obj || typeof obj !== "object") {
20484
+ return false;
20485
+ }
20486
+ return !!(obj.constructor && typeof obj.constructor.isBuffer === "function" && obj.constructor.isBuffer(obj));
20487
+ };
20488
+ var combine = function combine2(a, b, arrayLimit, plainObjects, throwOnLimitExceeded) {
20489
+ if (isOverflow(a)) {
20490
+ if (throwOnLimitExceeded) {
20491
+ throw new RangeError("Array limit exceeded. Only " + arrayLimit + " element" + (arrayLimit === 1 ? "" : "s") + " allowed in an array.");
20492
+ }
20493
+ var bValues = isArray2(b) ? b : [b];
20494
+ var newIndex = getMaxIndex(a);
20495
+ for (var i = 0; i < bValues.length; ++i) {
20496
+ newIndex += 1;
20497
+ a[newIndex] = bValues[i];
20498
+ }
20499
+ setMaxIndex(a, newIndex);
20500
+ return a;
20501
+ }
20502
+ var result = [].concat(a, b);
20503
+ if (result.length > arrayLimit) {
20504
+ if (throwOnLimitExceeded) {
20505
+ throw new RangeError("Array limit exceeded. Only " + arrayLimit + " element" + (arrayLimit === 1 ? "" : "s") + " allowed in an array.");
20506
+ }
20507
+ return markOverflow(arrayToObject(result, { plainObjects }), result.length - 1);
20508
+ }
20509
+ return result;
20510
+ };
20511
+ var maybeMap = function maybeMap2(val, fn) {
20512
+ if (isArray2(val)) {
20513
+ var mapped = [];
20514
+ for (var i = 0; i < val.length; i += 1) {
20515
+ mapped[mapped.length] = fn(val[i]);
20516
+ }
20517
+ return mapped;
20518
+ }
20519
+ return fn(val);
20520
+ };
20521
+ module2.exports = {
20522
+ arrayToObject,
20523
+ assign,
20524
+ combine,
20525
+ compact,
20526
+ decode: decode3,
20527
+ encode: encode3,
20528
+ isBuffer,
20529
+ isOverflow,
20530
+ isRegExp,
20531
+ markOverflow,
20532
+ maybeMap,
20533
+ merge: merge2
20534
+ };
20535
+ }
20536
+ });
20537
+
20538
+ // ../../node_modules/.pnpm/qs@6.16.0/node_modules/qs/lib/stringify.js
20539
+ var require_stringify2 = __commonJS({
20540
+ "../../node_modules/.pnpm/qs@6.16.0/node_modules/qs/lib/stringify.js"(exports2, module2) {
20541
+ "use strict";
20542
+ var getSideChannel = require_side_channel();
20543
+ var utils = require_utils3();
20544
+ var formats = require_formats2();
20545
+ var has = Object.prototype.hasOwnProperty;
20546
+ var arrayPrefixGenerators = {
20547
+ brackets: function brackets(prefix) {
20548
+ return prefix + "[]";
20549
+ },
20550
+ comma: "comma",
20551
+ indices: function indices(prefix, key) {
20552
+ return prefix + "[" + key + "]";
20553
+ },
20554
+ repeat: function repeat(prefix) {
20555
+ return prefix;
20556
+ }
20557
+ };
20558
+ var isArray2 = Array.isArray;
20559
+ var push = Array.prototype.push;
20560
+ var pushToArray = function(arr, valueOrArray) {
20561
+ push.apply(arr, isArray2(valueOrArray) ? valueOrArray : [valueOrArray]);
20562
+ };
20563
+ var toISO = Date.prototype.toISOString;
20564
+ var defaultFormat = formats["default"];
20565
+ var defaults = {
20566
+ addQueryPrefix: false,
20567
+ allowDots: false,
20568
+ allowEmptyArrays: false,
20569
+ arrayFormat: "indices",
20570
+ charset: "utf-8",
20571
+ charsetSentinel: false,
20572
+ commaRoundTrip: false,
20573
+ delimiter: "&",
20574
+ depth: Infinity,
20575
+ encode: true,
20576
+ encodeDotInKeys: false,
20577
+ encoder: utils.encode,
20578
+ encodeValuesOnly: false,
20579
+ filter: void 0,
20580
+ format: defaultFormat,
20581
+ formatter: formats.formatters[defaultFormat],
20582
+ // deprecated
20583
+ indices: false,
20584
+ serializeDate: function serializeDate(date5) {
20585
+ return toISO.call(date5);
20586
+ },
20587
+ skipNulls: false,
20588
+ strictNullHandling: false
20589
+ };
20590
+ var isNonNullishPrimitive = function isNonNullishPrimitive2(v) {
20591
+ return typeof v === "string" || typeof v === "number" || typeof v === "boolean" || typeof v === "symbol" || typeof v === "bigint";
20592
+ };
20593
+ var sentinel = {};
20594
+ var stringify = function stringify2(object2, prefix, generateArrayPrefix, commaRoundTrip, allowEmptyArrays, strictNullHandling, skipNulls, encodeDotInKeys, encoder, filter, sort, allowDots, serializeDate, format, formatter, encodeValuesOnly, charset, sideChannel, depth, currentDepth) {
20595
+ var obj = object2;
20596
+ if (currentDepth > depth) {
20597
+ throw new RangeError("Input depth exceeded depth option of " + depth);
20598
+ }
20599
+ var tmpSc = sideChannel;
20600
+ var step = 0;
20601
+ var findFlag = false;
20602
+ while ((tmpSc = tmpSc.get(sentinel)) !== void 0 && !findFlag) {
20603
+ var pos = tmpSc.get(object2);
20604
+ step += 1;
20605
+ if (typeof pos !== "undefined") {
20606
+ if (pos === step) {
20607
+ throw new RangeError("Cyclic object value");
20608
+ } else {
20609
+ findFlag = true;
20610
+ }
20611
+ }
20612
+ if (typeof tmpSc.get(sentinel) === "undefined") {
20613
+ step = 0;
20614
+ }
20615
+ }
20616
+ obj = typeof filter === "function" ? filter(prefix, obj) : obj;
20617
+ if (obj instanceof Date) {
20618
+ obj = serializeDate(obj);
20619
+ } else if (generateArrayPrefix === "comma" && isArray2(obj)) {
20620
+ obj = utils.maybeMap(obj, function(value2) {
20621
+ if (value2 instanceof Date) {
20622
+ return serializeDate(value2);
20623
+ }
20624
+ return value2;
20625
+ });
20626
+ }
20627
+ if (obj === null) {
20628
+ if (strictNullHandling) {
20629
+ return formatter(encoder && !encodeValuesOnly ? encoder(prefix, defaults.encoder, charset, "key", format) : prefix);
20630
+ }
20631
+ obj = "";
20632
+ }
20633
+ if (isNonNullishPrimitive(obj) || utils.isBuffer(obj)) {
20634
+ if (encoder) {
20635
+ var keyValue = encodeValuesOnly ? prefix : encoder(prefix, defaults.encoder, charset, "key", format);
20636
+ return [formatter(keyValue) + "=" + formatter(encoder(obj, defaults.encoder, charset, "value", format))];
20637
+ }
20638
+ return [formatter(prefix) + "=" + formatter(String(obj))];
20639
+ }
20640
+ var values = [];
20641
+ if (typeof obj === "undefined") {
20642
+ return values;
20643
+ }
20644
+ var objKeys;
20645
+ if (generateArrayPrefix === "comma" && isArray2(obj)) {
20646
+ if (encodeValuesOnly && encoder) {
20647
+ obj = utils.maybeMap(obj, function(v) {
20648
+ return v == null ? v : encoder(v);
20649
+ });
20650
+ }
20651
+ objKeys = [{ value: obj.length > 0 ? obj.join(",") || null : void 0 }];
20652
+ } else if (isArray2(filter)) {
20653
+ objKeys = filter;
20654
+ } else {
20655
+ var keys = Object.keys(obj);
20656
+ objKeys = sort ? keys.sort(sort) : keys;
20657
+ }
20658
+ var encodedPrefix = encodeDotInKeys ? String(prefix).replace(/\./g, "%2E") : String(prefix);
20659
+ var adjustedPrefix = commaRoundTrip && isArray2(obj) && obj.length === 1 ? encodedPrefix + "[]" : encodedPrefix;
20660
+ if (allowEmptyArrays && isArray2(obj) && obj.length === 0 && Object.keys(obj).length === 0) {
20661
+ return adjustedPrefix + "[]";
20662
+ }
20663
+ for (var j = 0; j < objKeys.length; ++j) {
20664
+ var key = objKeys[j];
20665
+ var value = typeof key === "object" && key && typeof key.value !== "undefined" ? key.value : obj[key];
20666
+ if (skipNulls && value === null) {
20667
+ continue;
20668
+ }
20669
+ var encodedKey = allowDots && encodeDotInKeys ? String(key).replace(/\./g, "%2E") : String(key);
20670
+ var keyPrefix = isArray2(obj) ? typeof generateArrayPrefix === "function" ? generateArrayPrefix(adjustedPrefix, encodedKey) : adjustedPrefix : adjustedPrefix + (allowDots ? "." + encodedKey : "[" + encodedKey + "]");
20671
+ sideChannel.set(object2, step);
20672
+ var valueSideChannel = getSideChannel();
20673
+ valueSideChannel.set(sentinel, sideChannel);
20674
+ pushToArray(values, stringify2(
20675
+ value,
20676
+ keyPrefix,
20677
+ generateArrayPrefix,
20678
+ commaRoundTrip,
20679
+ allowEmptyArrays,
20680
+ strictNullHandling,
20681
+ skipNulls,
20682
+ encodeDotInKeys,
20683
+ generateArrayPrefix === "comma" && encodeValuesOnly && isArray2(obj) ? null : encoder,
20684
+ filter,
20685
+ sort,
20686
+ allowDots,
20687
+ serializeDate,
20688
+ format,
20689
+ formatter,
20690
+ encodeValuesOnly,
20691
+ charset,
20692
+ valueSideChannel,
20693
+ depth,
20694
+ currentDepth + 1
20695
+ ));
20696
+ }
20697
+ return values;
20698
+ };
20699
+ var normalizeStringifyOptions = function normalizeStringifyOptions2(opts) {
20700
+ if (!opts) {
20701
+ return defaults;
20702
+ }
20703
+ if (typeof opts.allowEmptyArrays !== "undefined" && typeof opts.allowEmptyArrays !== "boolean") {
20704
+ throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
20705
+ }
20706
+ if (typeof opts.encodeDotInKeys !== "undefined" && typeof opts.encodeDotInKeys !== "boolean") {
20707
+ throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");
20708
+ }
20709
+ if (opts.encoder !== null && typeof opts.encoder !== "undefined" && typeof opts.encoder !== "function") {
20710
+ throw new TypeError("Encoder has to be a function.");
20711
+ }
20712
+ var charset = opts.charset || defaults.charset;
20713
+ if (typeof opts.charset !== "undefined" && opts.charset !== "utf-8" && opts.charset !== "iso-8859-1") {
20714
+ throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
20715
+ }
20716
+ var format = formats["default"];
20717
+ if (typeof opts.format !== "undefined") {
20718
+ if (!has.call(formats.formatters, opts.format)) {
20719
+ throw new TypeError("Unknown format option provided.");
20720
+ }
20721
+ format = opts.format;
20722
+ }
20723
+ var formatter = formats.formatters[format];
20724
+ var filter = defaults.filter;
20725
+ if (typeof opts.filter === "function" || isArray2(opts.filter)) {
20726
+ filter = opts.filter;
20727
+ }
20728
+ var arrayFormat;
20729
+ if (opts.arrayFormat in arrayPrefixGenerators) {
20730
+ arrayFormat = opts.arrayFormat;
20731
+ } else if ("indices" in opts) {
20732
+ arrayFormat = opts.indices ? "indices" : "repeat";
20733
+ } else {
20734
+ arrayFormat = defaults.arrayFormat;
20735
+ }
20736
+ if ("commaRoundTrip" in opts && typeof opts.commaRoundTrip !== "boolean") {
20737
+ throw new TypeError("`commaRoundTrip` must be a boolean, or absent");
20738
+ }
20739
+ var allowDots = typeof opts.allowDots === "undefined" ? opts.encodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;
20740
+ return {
20741
+ addQueryPrefix: typeof opts.addQueryPrefix === "boolean" ? opts.addQueryPrefix : defaults.addQueryPrefix,
20742
+ allowDots,
20743
+ allowEmptyArrays: typeof opts.allowEmptyArrays === "boolean" ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,
20744
+ arrayFormat,
20745
+ charset,
20746
+ charsetSentinel: typeof opts.charsetSentinel === "boolean" ? opts.charsetSentinel : defaults.charsetSentinel,
20747
+ commaRoundTrip: !!opts.commaRoundTrip,
20748
+ delimiter: typeof opts.delimiter === "undefined" ? defaults.delimiter : opts.delimiter,
20749
+ depth: typeof opts.depth === "number" ? opts.depth : defaults.depth,
20750
+ encode: typeof opts.encode === "boolean" ? opts.encode : defaults.encode,
20751
+ encodeDotInKeys: typeof opts.encodeDotInKeys === "boolean" ? opts.encodeDotInKeys : defaults.encodeDotInKeys,
20752
+ encoder: typeof opts.encoder === "function" ? opts.encoder : defaults.encoder,
20753
+ encodeValuesOnly: typeof opts.encodeValuesOnly === "boolean" ? opts.encodeValuesOnly : defaults.encodeValuesOnly,
20754
+ filter,
20755
+ format,
20756
+ formatter,
20757
+ serializeDate: typeof opts.serializeDate === "function" ? opts.serializeDate : defaults.serializeDate,
20758
+ skipNulls: typeof opts.skipNulls === "boolean" ? opts.skipNulls : defaults.skipNulls,
20759
+ sort: typeof opts.sort === "function" ? opts.sort : null,
20760
+ strictNullHandling: typeof opts.strictNullHandling === "boolean" ? opts.strictNullHandling : defaults.strictNullHandling
20761
+ };
20762
+ };
20763
+ module2.exports = function(object2, opts) {
20764
+ var obj = object2;
20765
+ var options = normalizeStringifyOptions(opts);
20766
+ var objKeys;
20767
+ var filter;
20768
+ if (typeof options.filter === "function") {
20769
+ filter = options.filter;
20770
+ obj = filter("", obj);
20771
+ } else if (isArray2(options.filter)) {
20772
+ filter = options.filter;
20773
+ objKeys = filter;
20774
+ }
20775
+ var keys = [];
20776
+ if (typeof obj !== "object" || obj === null) {
20777
+ return "";
20778
+ }
20779
+ var generateArrayPrefix = arrayPrefixGenerators[options.arrayFormat];
20780
+ var commaRoundTrip = generateArrayPrefix === "comma" && options.commaRoundTrip;
20781
+ if (!objKeys) {
20782
+ objKeys = Object.keys(obj);
20783
+ }
20784
+ if (options.sort) {
20785
+ objKeys.sort(options.sort);
20786
+ }
20787
+ var sideChannel = getSideChannel();
20788
+ for (var i = 0; i < objKeys.length; ++i) {
20789
+ var key = objKeys[i];
20790
+ if (typeof key === "undefined" || key === null) {
20791
+ continue;
20792
+ }
20793
+ var value = obj[key];
20794
+ if (options.skipNulls && value === null) {
20795
+ continue;
20796
+ }
20797
+ var encodedKey = options.encodeDotInKeys ? String(key).replace(/\./g, "%2E") : String(key);
20798
+ pushToArray(keys, stringify(
20799
+ value,
20800
+ encodedKey,
20801
+ generateArrayPrefix,
20802
+ commaRoundTrip,
20803
+ options.allowEmptyArrays,
20804
+ options.strictNullHandling,
20805
+ options.skipNulls,
20806
+ options.encodeDotInKeys,
20807
+ options.encode ? options.encoder : null,
20808
+ options.filter,
20809
+ options.sort,
20810
+ options.allowDots,
20811
+ options.serializeDate,
20812
+ options.format,
20813
+ options.formatter,
20814
+ options.encodeValuesOnly,
20815
+ options.charset,
20816
+ sideChannel,
20817
+ options.depth,
20818
+ 0
20819
+ ));
20820
+ }
20821
+ var joined = keys.join(options.delimiter);
20822
+ var prefix = options.addQueryPrefix === true ? "?" : "";
20823
+ if (options.charsetSentinel) {
20824
+ if (options.charset === "iso-8859-1") {
20825
+ prefix += "utf8=%26%2310003%3B" + options.delimiter;
20826
+ } else {
20827
+ prefix += "utf8=%E2%9C%93" + options.delimiter;
20828
+ }
20829
+ }
20830
+ return joined.length > 0 ? prefix + joined : "";
20831
+ };
20832
+ }
20833
+ });
20834
+
20835
+ // ../../node_modules/.pnpm/qs@6.16.0/node_modules/qs/lib/parse.js
20836
+ var require_parse2 = __commonJS({
20837
+ "../../node_modules/.pnpm/qs@6.16.0/node_modules/qs/lib/parse.js"(exports2, module2) {
20838
+ "use strict";
20839
+ var utils = require_utils3();
20840
+ var has = Object.prototype.hasOwnProperty;
20841
+ var isArray2 = Array.isArray;
20842
+ var defaults = {
20843
+ allowDots: false,
20844
+ allowEmptyArrays: false,
20845
+ allowPrototypes: false,
20846
+ allowSparse: false,
20847
+ arrayLimit: 20,
20848
+ charset: "utf-8",
20849
+ charsetSentinel: false,
20850
+ comma: false,
20851
+ decodeDotInKeys: false,
20852
+ decoder: utils.decode,
20853
+ delimiter: "&",
20854
+ depth: 5,
20855
+ duplicates: "combine",
20856
+ ignoreQueryPrefix: false,
20857
+ interpretNumericEntities: false,
20858
+ parameterLimit: 1e3,
20859
+ parseArrays: true,
20860
+ plainObjects: false,
20861
+ strictDepth: false,
20862
+ strictMerge: true,
20863
+ strictNullHandling: false,
20864
+ throwOnLimitExceeded: false
20865
+ };
20866
+ var interpretNumericEntities = function(str) {
20867
+ return str.replace(/&#(\d+);/g, function($0, numberStr) {
20868
+ return String.fromCharCode(parseInt(numberStr, 10));
20869
+ });
20870
+ };
20871
+ var parseArrayValue = function(val, options, currentArrayLength) {
20872
+ if (val && typeof val === "string" && options.comma && val.indexOf(",") > -1) {
20873
+ if (options.throwOnLimitExceeded) {
20874
+ var commaCount = 0;
20875
+ var commaIndex = val.indexOf(",");
20876
+ while (commaIndex > -1) {
20877
+ commaCount += 1;
20878
+ if (commaCount >= options.arrayLimit) {
20879
+ throw new RangeError("Array limit exceeded. Only " + options.arrayLimit + " element" + (options.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
20880
+ }
20881
+ commaIndex = val.indexOf(",", commaIndex + 1);
20882
+ }
20883
+ }
20884
+ return val.split(",");
20885
+ }
20886
+ if (options.throwOnLimitExceeded && currentArrayLength >= options.arrayLimit) {
20887
+ throw new RangeError("Array limit exceeded. Only " + options.arrayLimit + " element" + (options.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
20888
+ }
20889
+ return val;
20890
+ };
20891
+ var isoSentinel = "utf8=%26%2310003%3B";
20892
+ var charsetSentinel = "utf8=%E2%9C%93";
20893
+ var parseValues = function parseQueryStringValues(str, options) {
20894
+ var obj = { __proto__: null };
20895
+ var cleanStr = options.ignoreQueryPrefix ? str.replace(/^\?/, "") : str;
20896
+ cleanStr = cleanStr.replace(/%5B/gi, "[").replace(/%5D/gi, "]");
20897
+ var limit = options.parameterLimit === Infinity ? void 0 : options.parameterLimit;
20898
+ var parts = cleanStr.split(
20899
+ options.delimiter,
20900
+ options.throwOnLimitExceeded && typeof limit !== "undefined" ? limit + 1 : limit
20901
+ );
20902
+ if (options.throwOnLimitExceeded && typeof limit !== "undefined" && parts.length > limit) {
20903
+ throw new RangeError("Parameter limit exceeded. Only " + limit + " parameter" + (limit === 1 ? "" : "s") + " allowed.");
20904
+ }
20905
+ var skipIndex = -1;
20906
+ var i;
20907
+ var charset = options.charset;
20908
+ if (options.charsetSentinel) {
20909
+ for (i = 0; i < parts.length; ++i) {
20910
+ if (parts[i].indexOf("utf8=") === 0) {
20911
+ if (parts[i] === charsetSentinel) {
20912
+ charset = "utf-8";
20913
+ } else if (parts[i] === isoSentinel) {
20914
+ charset = "iso-8859-1";
20915
+ }
20916
+ skipIndex = i;
20917
+ i = parts.length;
20918
+ }
20919
+ }
20920
+ }
20921
+ for (i = 0; i < parts.length; ++i) {
20922
+ if (i === skipIndex) {
20923
+ continue;
20924
+ }
20925
+ var part = parts[i];
20926
+ var bracketEqualsPos = part.indexOf("]=");
20927
+ var pos = bracketEqualsPos === -1 ? part.indexOf("=") : bracketEqualsPos + 1;
20928
+ var key;
20929
+ var val;
20930
+ if (pos === -1) {
20931
+ key = options.decoder(part, defaults.decoder, charset, "key");
20932
+ val = options.strictNullHandling ? null : "";
20933
+ } else {
20934
+ key = options.decoder(part.slice(0, pos), defaults.decoder, charset, "key");
20935
+ if (key !== null) {
20936
+ val = utils.maybeMap(
20937
+ parseArrayValue(
20938
+ part.slice(pos + 1),
20939
+ options,
20940
+ isArray2(obj[key]) ? obj[key].length : 0
20941
+ ),
20942
+ function(encodedVal) {
20943
+ return options.decoder(encodedVal, defaults.decoder, charset, "value");
20944
+ }
20945
+ );
20946
+ }
20947
+ }
20948
+ if (val && options.interpretNumericEntities && charset === "iso-8859-1") {
20949
+ val = interpretNumericEntities(String(val));
20950
+ }
20951
+ if (part.indexOf("[]=") > -1) {
20952
+ val = isArray2(val) ? [val] : val;
20953
+ }
20954
+ if (options.comma && isArray2(val) && val.length > options.arrayLimit) {
20955
+ val = utils.combine([], val, options.arrayLimit, options.plainObjects, options.throwOnLimitExceeded);
20956
+ }
20957
+ if (key !== null) {
20958
+ var existing = has.call(obj, key);
20959
+ if (existing && (options.duplicates === "combine" || part.indexOf("[]=") > -1)) {
20960
+ obj[key] = utils.combine(
20961
+ obj[key],
20962
+ val,
20963
+ options.arrayLimit,
20964
+ options.plainObjects,
20965
+ options.throwOnLimitExceeded
20966
+ );
20967
+ } else if (!existing || options.duplicates === "last") {
20968
+ obj[key] = val;
20969
+ }
20970
+ }
20971
+ }
20972
+ return obj;
20973
+ };
20974
+ var parseObject = function(chain, val, options, valuesParsed) {
20975
+ var currentArrayLength = 0;
20976
+ if (chain.length > 0 && chain[chain.length - 1] === "[]") {
20977
+ var parentKey = chain.slice(0, -1).join("");
20978
+ currentArrayLength = Array.isArray(val) && val[parentKey] ? val[parentKey].length : 0;
20979
+ }
20980
+ var leaf = valuesParsed ? val : parseArrayValue(val, options, currentArrayLength);
20981
+ for (var i = chain.length - 1; i >= 0; --i) {
20982
+ var obj;
20983
+ var root = chain[i];
20984
+ if (root === "[]" && options.parseArrays) {
20985
+ if (utils.isOverflow(leaf)) {
20986
+ obj = leaf;
20987
+ } else {
20988
+ obj = options.allowEmptyArrays && (leaf === "" || options.strictNullHandling && leaf === null) ? [] : utils.combine(
20989
+ [],
20990
+ leaf,
20991
+ options.arrayLimit,
20992
+ options.plainObjects,
20993
+ options.throwOnLimitExceeded
20994
+ );
20995
+ }
20996
+ } else {
20997
+ obj = options.plainObjects ? { __proto__: null } : {};
20998
+ var cleanRoot = root.charAt(0) === "[" && root.charAt(root.length - 1) === "]" ? root.slice(1, -1) : root;
20999
+ var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/g, ".") : cleanRoot;
21000
+ var index = parseInt(decodedRoot, 10);
21001
+ var isValidArrayIndex = !isNaN(index) && root !== decodedRoot && String(index) === decodedRoot && index >= 0 && options.parseArrays;
21002
+ if (!options.parseArrays && decodedRoot === "") {
21003
+ obj = { 0: leaf };
21004
+ } else if (isValidArrayIndex && index < options.arrayLimit) {
21005
+ obj = [];
21006
+ obj[index] = leaf;
21007
+ } else if (isValidArrayIndex && options.throwOnLimitExceeded) {
21008
+ throw new RangeError("Array limit exceeded. Only " + options.arrayLimit + " element" + (options.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
21009
+ } else if (isValidArrayIndex) {
21010
+ obj[index] = leaf;
21011
+ utils.markOverflow(obj, index);
21012
+ } else if (decodedRoot !== "__proto__") {
21013
+ obj[decodedRoot] = leaf;
19769
21014
  }
19770
- return new this(octets);
19771
- } catch (error1) {
19772
- error62 = error1;
19773
- throw new Error("ipaddr: the address does not have IPv4 CIDR format");
19774
21015
  }
19775
- };
19776
- ipaddr.IPv6.parseCIDR = function(string4) {
19777
- var maskLength, match, parsed;
19778
- if (match = string4.match(/^(.+)\/(\d+)$/)) {
19779
- maskLength = parseInt(match[2]);
19780
- if (maskLength >= 0 && maskLength <= 128) {
19781
- parsed = [this.parse(match[1]), maskLength];
19782
- Object.defineProperty(parsed, "toString", {
19783
- value: function() {
19784
- return this.join("/");
19785
- }
19786
- });
19787
- return parsed;
21016
+ leaf = obj;
21017
+ }
21018
+ return leaf;
21019
+ };
21020
+ var splitKeyIntoSegments = function splitKeyIntoSegments2(originalKey, options) {
21021
+ var key = options.allowDots ? originalKey.replace(/\.([^.[]+)/g, "[$1]") : originalKey;
21022
+ if (options.depth <= 0) {
21023
+ if (!options.plainObjects && has.call(Object.prototype, key)) {
21024
+ if (!options.allowPrototypes) {
21025
+ return;
19788
21026
  }
19789
21027
  }
19790
- throw new Error("ipaddr: string is not formatted like an IPv6 CIDR range");
19791
- };
19792
- ipaddr.isValid = function(string4) {
19793
- return ipaddr.IPv6.isValid(string4) || ipaddr.IPv4.isValid(string4);
19794
- };
19795
- ipaddr.parse = function(string4) {
19796
- if (ipaddr.IPv6.isValid(string4)) {
19797
- return ipaddr.IPv6.parse(string4);
19798
- } else if (ipaddr.IPv4.isValid(string4)) {
19799
- return ipaddr.IPv4.parse(string4);
19800
- } else {
19801
- throw new Error("ipaddr: the address has neither IPv6 nor IPv4 format");
21028
+ return [key];
21029
+ }
21030
+ var segments = [];
21031
+ var first = key.indexOf("[");
21032
+ var parent = first >= 0 ? key.slice(0, first) : key;
21033
+ if (parent) {
21034
+ if (!options.plainObjects && has.call(Object.prototype, parent)) {
21035
+ if (!options.allowPrototypes) {
21036
+ return;
21037
+ }
19802
21038
  }
19803
- };
19804
- ipaddr.parseCIDR = function(string4) {
19805
- var e;
19806
- try {
19807
- return ipaddr.IPv6.parseCIDR(string4);
19808
- } catch (error1) {
19809
- e = error1;
19810
- try {
19811
- return ipaddr.IPv4.parseCIDR(string4);
19812
- } catch (error110) {
19813
- e = error110;
19814
- throw new Error("ipaddr: the address has neither IPv6 nor IPv4 CIDR format");
21039
+ segments[segments.length] = parent;
21040
+ }
21041
+ var n = key.length;
21042
+ var open2 = first;
21043
+ var collected = 0;
21044
+ while (open2 >= 0 && collected < options.depth) {
21045
+ var level = 1;
21046
+ var i = open2 + 1;
21047
+ var close = -1;
21048
+ while (i < n && close < 0) {
21049
+ var cu = key.charCodeAt(i);
21050
+ if (cu === 91) {
21051
+ level += 1;
21052
+ } else if (cu === 93) {
21053
+ level -= 1;
21054
+ if (level === 0) {
21055
+ close = i;
21056
+ }
19815
21057
  }
21058
+ i += 1;
19816
21059
  }
19817
- };
19818
- ipaddr.fromByteArray = function(bytes) {
19819
- var length;
19820
- length = bytes.length;
19821
- if (length === 4) {
19822
- return new ipaddr.IPv4(bytes);
19823
- } else if (length === 16) {
19824
- return new ipaddr.IPv6(bytes);
19825
- } else {
19826
- throw new Error("ipaddr: the binary input is neither an IPv6 nor IPv4 address");
21060
+ if (close < 0) {
21061
+ segments[segments.length] = "[" + key.slice(open2) + "]";
21062
+ return segments;
19827
21063
  }
19828
- };
19829
- ipaddr.process = function(string4) {
19830
- var addr;
19831
- addr = this.parse(string4);
19832
- if (addr.kind() === "ipv6" && addr.isIPv4MappedAddress()) {
19833
- return addr.toIPv4Address();
19834
- } else {
19835
- return addr;
21064
+ var seg = key.slice(open2, close + 1);
21065
+ var content = seg.slice(1, -1);
21066
+ if (!options.plainObjects && has.call(Object.prototype, content) && !options.allowPrototypes) {
21067
+ return;
19836
21068
  }
19837
- };
19838
- }).call(exports2);
19839
- }
19840
- });
19841
-
19842
- // ../../node_modules/.pnpm/proxy-addr@2.0.8/node_modules/proxy-addr/index.js
19843
- var require_proxy_addr = __commonJS({
19844
- "../../node_modules/.pnpm/proxy-addr@2.0.8/node_modules/proxy-addr/index.js"(exports2, module2) {
19845
- "use strict";
19846
- module2.exports = proxyaddr;
19847
- module2.exports.all = alladdrs;
19848
- module2.exports.compile = compile2;
19849
- var forwarded = require_forwarded();
19850
- var ipaddr = require_ipaddr();
19851
- var DIGIT_REGEXP = /^[0-9]+$/;
19852
- var isip = ipaddr.isValid;
19853
- var parseip = ipaddr.parse;
19854
- var IP_RANGES = {
19855
- linklocal: ["169.254.0.0/16", "fe80::/10"],
19856
- loopback: ["127.0.0.1/8", "::1/128"],
19857
- uniquelocal: ["10.0.0.0/8", "172.16.0.0/12", "192.168.0.0/16", "fc00::/7"]
19858
- };
19859
- function alladdrs(req, trust) {
19860
- var addrs = forwarded(req);
19861
- if (!trust) {
19862
- return addrs;
21069
+ segments[segments.length] = seg;
21070
+ collected += 1;
21071
+ open2 = key.indexOf("[", close + 1);
19863
21072
  }
19864
- if (typeof trust !== "function") {
19865
- trust = compile2(trust);
21073
+ if (open2 >= 0) {
21074
+ if (options.strictDepth === true) {
21075
+ throw new RangeError("Input depth exceeded depth option of " + options.depth + " and strictDepth is true");
21076
+ }
21077
+ segments[segments.length] = "[" + key.slice(open2) + "]";
19866
21078
  }
19867
- for (var i = 0; i < addrs.length - 1; i++) {
19868
- if (trust(addrs[i], i)) continue;
19869
- addrs.length = i + 1;
21079
+ return segments;
21080
+ };
21081
+ var parseKeys = function parseQueryStringKeys(givenKey, val, options, valuesParsed) {
21082
+ if (!givenKey) {
21083
+ return;
19870
21084
  }
19871
- return addrs;
19872
- }
19873
- function compile2(val) {
19874
- if (!val) {
19875
- throw new TypeError("argument is required");
21085
+ var keys = splitKeyIntoSegments(givenKey, options);
21086
+ if (!keys) {
21087
+ return;
19876
21088
  }
19877
- var trust;
19878
- if (typeof val === "string") {
19879
- trust = [val];
19880
- } else if (Array.isArray(val)) {
19881
- trust = val.slice();
19882
- } else {
19883
- throw new TypeError("unsupported trust argument");
21089
+ return parseObject(keys, val, options, valuesParsed);
21090
+ };
21091
+ var normalizeParseOptions = function normalizeParseOptions2(opts) {
21092
+ if (!opts) {
21093
+ return defaults;
19884
21094
  }
19885
- for (var i = 0; i < trust.length; i++) {
19886
- val = trust[i];
19887
- if (!Object.prototype.hasOwnProperty.call(IP_RANGES, val)) {
19888
- continue;
19889
- }
19890
- val = IP_RANGES[val];
19891
- trust.splice.apply(trust, [i, 1].concat(val));
19892
- i += val.length - 1;
21095
+ if (typeof opts.allowEmptyArrays !== "undefined" && typeof opts.allowEmptyArrays !== "boolean") {
21096
+ throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");
19893
21097
  }
19894
- return compileTrust(compileRangeSubnets(trust));
19895
- }
19896
- function compileRangeSubnets(arr) {
19897
- var rangeSubnets = new Array(arr.length);
19898
- for (var i = 0; i < arr.length; i++) {
19899
- rangeSubnets[i] = parseipNotation(arr[i]);
21098
+ if (typeof opts.decodeDotInKeys !== "undefined" && typeof opts.decodeDotInKeys !== "boolean") {
21099
+ throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");
19900
21100
  }
19901
- return rangeSubnets;
19902
- }
19903
- function compileTrust(rangeSubnets) {
19904
- var len = rangeSubnets.length;
19905
- return len === 0 ? trustNone : len === 1 ? trustSingle(rangeSubnets[0]) : trustMulti(rangeSubnets);
19906
- }
19907
- function parseipNotation(note) {
19908
- var pos = note.lastIndexOf("/");
19909
- var str = pos !== -1 ? note.substring(0, pos) : note;
19910
- if (!isip(str)) {
19911
- throw new TypeError("invalid IP address: " + str);
21101
+ if (opts.decoder !== null && typeof opts.decoder !== "undefined" && typeof opts.decoder !== "function") {
21102
+ throw new TypeError("Decoder has to be a function.");
19912
21103
  }
19913
- var ip = parseip(str);
19914
- if (pos === -1 && ip.kind() === "ipv6" && ip.isIPv4MappedAddress()) {
19915
- ip = ip.toIPv4Address();
21104
+ if (typeof opts.charset !== "undefined" && opts.charset !== "utf-8" && opts.charset !== "iso-8859-1") {
21105
+ throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
19916
21106
  }
19917
- var max = ip.kind() === "ipv6" ? 128 : 32;
19918
- var range = pos !== -1 ? note.substring(pos + 1, note.length) : null;
19919
- if (range === null) {
19920
- range = max;
19921
- } else if (DIGIT_REGEXP.test(range)) {
19922
- range = parseInt(range, 10);
19923
- } else if (ip.kind() === "ipv4" && isip(range)) {
19924
- range = parseNetmask(range);
19925
- } else {
19926
- range = null;
21107
+ if (typeof opts.throwOnLimitExceeded !== "undefined" && typeof opts.throwOnLimitExceeded !== "boolean") {
21108
+ throw new TypeError("`throwOnLimitExceeded` option must be a boolean");
19927
21109
  }
19928
- if (range <= 0 || range > max) {
19929
- throw new TypeError("invalid range on address: " + note);
21110
+ var charset = typeof opts.charset === "undefined" ? defaults.charset : opts.charset;
21111
+ var duplicates = typeof opts.duplicates === "undefined" ? defaults.duplicates : opts.duplicates;
21112
+ if (duplicates !== "combine" && duplicates !== "first" && duplicates !== "last") {
21113
+ throw new TypeError("The duplicates option must be either combine, first, or last");
19930
21114
  }
19931
- return [ip, range];
19932
- }
19933
- function parseNetmask(netmask) {
19934
- var ip = parseip(netmask);
19935
- var kind = ip.kind();
19936
- return kind === "ipv4" ? ip.prefixLengthFromSubnetMask() : null;
19937
- }
19938
- function proxyaddr(req, trust) {
19939
- if (!req) {
19940
- throw new TypeError("req argument is required");
21115
+ var allowDots = typeof opts.allowDots === "undefined" ? opts.decodeDotInKeys === true ? true : defaults.allowDots : !!opts.allowDots;
21116
+ return {
21117
+ allowDots,
21118
+ allowEmptyArrays: typeof opts.allowEmptyArrays === "boolean" ? !!opts.allowEmptyArrays : defaults.allowEmptyArrays,
21119
+ allowPrototypes: typeof opts.allowPrototypes === "boolean" ? opts.allowPrototypes : defaults.allowPrototypes,
21120
+ allowSparse: typeof opts.allowSparse === "boolean" ? opts.allowSparse : defaults.allowSparse,
21121
+ arrayLimit: typeof opts.arrayLimit === "number" ? opts.arrayLimit : defaults.arrayLimit,
21122
+ charset,
21123
+ charsetSentinel: typeof opts.charsetSentinel === "boolean" ? opts.charsetSentinel : defaults.charsetSentinel,
21124
+ comma: typeof opts.comma === "boolean" ? opts.comma : defaults.comma,
21125
+ decodeDotInKeys: typeof opts.decodeDotInKeys === "boolean" ? opts.decodeDotInKeys : defaults.decodeDotInKeys,
21126
+ decoder: typeof opts.decoder === "function" ? opts.decoder : defaults.decoder,
21127
+ delimiter: typeof opts.delimiter === "string" || utils.isRegExp(opts.delimiter) ? opts.delimiter : defaults.delimiter,
21128
+ // eslint-disable-next-line no-implicit-coercion, no-extra-parens
21129
+ depth: typeof opts.depth === "number" || opts.depth === false ? +opts.depth : defaults.depth,
21130
+ duplicates,
21131
+ ignoreQueryPrefix: opts.ignoreQueryPrefix === true,
21132
+ interpretNumericEntities: typeof opts.interpretNumericEntities === "boolean" ? opts.interpretNumericEntities : defaults.interpretNumericEntities,
21133
+ parameterLimit: typeof opts.parameterLimit === "number" ? opts.parameterLimit : defaults.parameterLimit,
21134
+ parseArrays: opts.parseArrays !== false,
21135
+ plainObjects: typeof opts.plainObjects === "boolean" ? opts.plainObjects : defaults.plainObjects,
21136
+ strictDepth: typeof opts.strictDepth === "boolean" ? !!opts.strictDepth : defaults.strictDepth,
21137
+ strictMerge: typeof opts.strictMerge === "boolean" ? !!opts.strictMerge : defaults.strictMerge,
21138
+ strictNullHandling: typeof opts.strictNullHandling === "boolean" ? opts.strictNullHandling : defaults.strictNullHandling,
21139
+ throwOnLimitExceeded: typeof opts.throwOnLimitExceeded === "boolean" ? opts.throwOnLimitExceeded : false
21140
+ };
21141
+ };
21142
+ module2.exports = function(str, opts) {
21143
+ var options = normalizeParseOptions(opts);
21144
+ if (str === "" || str === null || typeof str === "undefined") {
21145
+ return options.plainObjects ? { __proto__: null } : {};
19941
21146
  }
19942
- if (!trust) {
19943
- throw new TypeError("trust argument is required");
21147
+ var tempObj = typeof str === "string" ? parseValues(str, options) : str;
21148
+ var obj = options.plainObjects ? { __proto__: null } : {};
21149
+ var keys = Object.keys(tempObj);
21150
+ for (var i = 0; i < keys.length; ++i) {
21151
+ var key = keys[i];
21152
+ var newObj = parseKeys(key, tempObj[key], options, typeof str === "string");
21153
+ obj = utils.merge(obj, newObj, options);
19944
21154
  }
19945
- var addrs = alladdrs(req, trust);
19946
- var addr = addrs[addrs.length - 1];
19947
- return addr;
19948
- }
19949
- function trustNone() {
19950
- return false;
19951
- }
19952
- function trustMulti(subnets) {
19953
- return function trust(addr) {
19954
- if (!isip(addr)) return false;
19955
- var ip = parseip(addr);
19956
- if (ip.kind() === "ipv6" && ip.isIPv4MappedAddress()) {
19957
- ip = ip.toIPv4Address();
19958
- }
19959
- var ipconv;
19960
- var kind = ip.kind();
19961
- for (var i = 0; i < subnets.length; i++) {
19962
- var subnet = subnets[i];
19963
- var subnetip = subnet[0];
19964
- var subnetkind = subnetip.kind();
19965
- var subnetrange = subnet[1];
19966
- var trusted = ip;
19967
- if (kind !== subnetkind) {
19968
- if (subnetkind === "ipv4" && !ip.isIPv4MappedAddress()) {
19969
- continue;
19970
- }
19971
- if (subnetkind !== "ipv4" && !(subnetrange >= 96 && subnetip.isIPv4MappedAddress())) {
19972
- continue;
19973
- }
19974
- if (!ipconv) {
19975
- ipconv = subnetkind === "ipv4" ? ip.toIPv4Address() : ip.toIPv4MappedAddress();
19976
- }
19977
- trusted = ipconv;
19978
- } else if (kind === "ipv6" && subnetip.isIPv4MappedAddress()) {
19979
- continue;
19980
- }
19981
- if (trusted.match(subnetip, subnetrange)) {
19982
- return true;
19983
- }
19984
- }
19985
- return false;
19986
- };
19987
- }
19988
- function trustSingle(subnet) {
19989
- var subnetip = subnet[0];
19990
- var subnetkind = subnetip.kind();
19991
- var subnetisipv4 = subnetkind === "ipv4";
19992
- var subnetrange = subnet[1];
19993
- return function trust(addr) {
19994
- if (!isip(addr)) return false;
19995
- var ip = parseip(addr);
19996
- if (ip.kind() === "ipv6" && ip.isIPv4MappedAddress()) {
19997
- ip = ip.toIPv4Address();
19998
- }
19999
- var kind = ip.kind();
20000
- if (kind !== subnetkind) {
20001
- if (subnetisipv4 && !ip.isIPv4MappedAddress()) {
20002
- return false;
20003
- }
20004
- if (!subnetisipv4 && !(subnetrange >= 96 && subnetip.isIPv4MappedAddress())) {
20005
- return false;
20006
- }
20007
- ip = subnetisipv4 ? ip.toIPv4Address() : ip.toIPv4MappedAddress();
20008
- } else if (kind === "ipv6" && subnetip.isIPv4MappedAddress()) {
20009
- return false;
20010
- }
20011
- return ip.match(subnetip, subnetrange);
20012
- };
20013
- }
21155
+ if (options.allowSparse === true) {
21156
+ return obj;
21157
+ }
21158
+ return utils.compact(obj);
21159
+ };
21160
+ }
21161
+ });
21162
+
21163
+ // ../../node_modules/.pnpm/qs@6.16.0/node_modules/qs/lib/index.js
21164
+ var require_lib3 = __commonJS({
21165
+ "../../node_modules/.pnpm/qs@6.16.0/node_modules/qs/lib/index.js"(exports2, module2) {
21166
+ "use strict";
21167
+ var stringify = require_stringify2();
21168
+ var parse3 = require_parse2();
21169
+ var formats = require_formats2();
21170
+ module2.exports = {
21171
+ formats,
21172
+ parse: parse3,
21173
+ stringify
21174
+ };
20014
21175
  }
20015
21176
  });
20016
21177
 
20017
21178
  // ../../node_modules/.pnpm/express@5.2.1/node_modules/express/lib/utils.js
20018
- var require_utils3 = __commonJS({
21179
+ var require_utils4 = __commonJS({
20019
21180
  "../../node_modules/.pnpm/express@5.2.1/node_modules/express/lib/utils.js"(exports2) {
20020
21181
  "use strict";
20021
21182
  var { METHODS } = require("node:http");
@@ -20023,7 +21184,7 @@ var require_utils3 = __commonJS({
20023
21184
  var etag = require_etag();
20024
21185
  var mime = require_mime_types();
20025
21186
  var proxyaddr = require_proxy_addr();
20026
- var qs = require_lib2();
21187
+ var qs = require_lib3();
20027
21188
  var querystring = require("node:querystring");
20028
21189
  var { Buffer: Buffer2 } = require("node:buffer");
20029
21190
  exports2.methods = METHODS.map((method) => method.toLowerCase());
@@ -21271,10 +22432,10 @@ var require_application = __commonJS({
21271
22432
  var debug = require_src()("express:application");
21272
22433
  var View = require_view();
21273
22434
  var http2 = require("node:http");
21274
- var methods = require_utils3().methods;
21275
- var compileETag = require_utils3().compileETag;
21276
- var compileQueryParser = require_utils3().compileQueryParser;
21277
- var compileTrust = require_utils3().compileTrust;
22435
+ var methods = require_utils4().methods;
22436
+ var compileETag = require_utils4().compileETag;
22437
+ var compileQueryParser = require_utils4().compileQueryParser;
22438
+ var compileTrust = require_utils4().compileTrust;
21278
22439
  var resolve = require("node:path").resolve;
21279
22440
  var once = require_once();
21280
22441
  var Router = require_router();
@@ -22582,6 +23743,110 @@ var require_content_disposition = __commonJS({
22582
23743
  }
22583
23744
  });
22584
23745
 
23746
+ // ../../node_modules/.pnpm/on-finished@2.4.1/node_modules/on-finished/index.js
23747
+ var require_on_finished2 = __commonJS({
23748
+ "../../node_modules/.pnpm/on-finished@2.4.1/node_modules/on-finished/index.js"(exports2, module2) {
23749
+ "use strict";
23750
+ module2.exports = onFinished;
23751
+ module2.exports.isFinished = isFinished;
23752
+ var asyncHooks = tryRequireAsyncHooks();
23753
+ var first = require_ee_first();
23754
+ var defer = typeof setImmediate === "function" ? setImmediate : function(fn) {
23755
+ process.nextTick(fn.bind.apply(fn, arguments));
23756
+ };
23757
+ function onFinished(msg, listener) {
23758
+ if (isFinished(msg) !== false) {
23759
+ defer(listener, null, msg);
23760
+ return msg;
23761
+ }
23762
+ attachListener(msg, wrap(listener));
23763
+ return msg;
23764
+ }
23765
+ function isFinished(msg) {
23766
+ var socket = msg.socket;
23767
+ if (typeof msg.finished === "boolean") {
23768
+ return Boolean(msg.finished || socket && !socket.writable);
23769
+ }
23770
+ if (typeof msg.complete === "boolean") {
23771
+ return Boolean(msg.upgrade || !socket || !socket.readable || msg.complete && !msg.readable);
23772
+ }
23773
+ return void 0;
23774
+ }
23775
+ function attachFinishedListener(msg, callback) {
23776
+ var eeMsg;
23777
+ var eeSocket;
23778
+ var finished = false;
23779
+ function onFinish(error62) {
23780
+ eeMsg.cancel();
23781
+ eeSocket.cancel();
23782
+ finished = true;
23783
+ callback(error62);
23784
+ }
23785
+ eeMsg = eeSocket = first([[msg, "end", "finish"]], onFinish);
23786
+ function onSocket(socket) {
23787
+ msg.removeListener("socket", onSocket);
23788
+ if (finished) return;
23789
+ if (eeMsg !== eeSocket) return;
23790
+ eeSocket = first([[socket, "error", "close"]], onFinish);
23791
+ }
23792
+ if (msg.socket) {
23793
+ onSocket(msg.socket);
23794
+ return;
23795
+ }
23796
+ msg.on("socket", onSocket);
23797
+ if (msg.socket === void 0) {
23798
+ patchAssignSocket(msg, onSocket);
23799
+ }
23800
+ }
23801
+ function attachListener(msg, listener) {
23802
+ var attached = msg.__onFinished;
23803
+ if (!attached || !attached.queue) {
23804
+ attached = msg.__onFinished = createListener(msg);
23805
+ attachFinishedListener(msg, attached);
23806
+ }
23807
+ attached.queue.push(listener);
23808
+ }
23809
+ function createListener(msg) {
23810
+ function listener(err) {
23811
+ if (msg.__onFinished === listener) msg.__onFinished = null;
23812
+ if (!listener.queue) return;
23813
+ var queue = listener.queue;
23814
+ listener.queue = null;
23815
+ for (var i = 0; i < queue.length; i++) {
23816
+ queue[i](err, msg);
23817
+ }
23818
+ }
23819
+ listener.queue = [];
23820
+ return listener;
23821
+ }
23822
+ function patchAssignSocket(res, callback) {
23823
+ var assignSocket = res.assignSocket;
23824
+ if (typeof assignSocket !== "function") return;
23825
+ res.assignSocket = function _assignSocket(socket) {
23826
+ assignSocket.call(this, socket);
23827
+ callback(socket);
23828
+ };
23829
+ }
23830
+ function tryRequireAsyncHooks() {
23831
+ try {
23832
+ return require("async_hooks");
23833
+ } catch (e) {
23834
+ return {};
23835
+ }
23836
+ }
23837
+ function wrap(fn) {
23838
+ var res;
23839
+ if (asyncHooks.AsyncResource) {
23840
+ res = new asyncHooks.AsyncResource(fn.name || "bound-anonymous-fn");
23841
+ }
23842
+ if (!res || !res.runInAsyncScope) {
23843
+ return fn;
23844
+ }
23845
+ return res.runInAsyncScope.bind(res, fn, null);
23846
+ }
23847
+ }
23848
+ });
23849
+
22585
23850
  // ../../node_modules/.pnpm/cookie-signature@1.2.2/node_modules/cookie-signature/index.js
22586
23851
  var require_cookie_signature = __commonJS({
22587
23852
  "../../node_modules/.pnpm/cookie-signature@1.2.2/node_modules/cookie-signature/index.js"(exports2) {
@@ -22779,7 +24044,7 @@ var require_send = __commonJS({
22779
24044
  var fs2 = require("fs");
22780
24045
  var mime = require_mime_types();
22781
24046
  var ms = require_ms();
22782
- var onFinished = require_on_finished();
24047
+ var onFinished = require_on_finished2();
22783
24048
  var parseRange = require_range_parser();
22784
24049
  var path2 = require("path");
22785
24050
  var statuses = require_statuses();
@@ -23332,15 +24597,15 @@ var require_response = __commonJS({
23332
24597
  var encodeUrl = require_encodeurl();
23333
24598
  var escapeHtml = require_escape_html();
23334
24599
  var http2 = require("node:http");
23335
- var onFinished = require_on_finished();
24600
+ var onFinished = require_on_finished2();
23336
24601
  var mime = require_mime_types();
23337
24602
  var path2 = require("node:path");
23338
24603
  var pathIsAbsolute = require("node:path").isAbsolute;
23339
24604
  var statuses = require_statuses();
23340
24605
  var sign = require_cookie_signature().sign;
23341
- var normalizeType = require_utils3().normalizeType;
23342
- var normalizeTypes = require_utils3().normalizeTypes;
23343
- var setCharset = require_utils3().setCharset;
24606
+ var normalizeType = require_utils4().normalizeType;
24607
+ var normalizeTypes = require_utils4().normalizeTypes;
24608
+ var setCharset = require_utils4().setCharset;
23344
24609
  var cookie = require_cookie();
23345
24610
  var send2 = require_send();
23346
24611
  var extname = path2.extname;
@@ -47332,6 +48597,7 @@ ee-first/index.js:
47332
48597
  * MIT Licensed
47333
48598
  *)
47334
48599
 
48600
+ on-finished/index.js:
47335
48601
  on-finished/index.js:
47336
48602
  (*!
47337
48603
  * on-finished