@fudanda/admin-antd 0.0.0-stage → 2.20261024.1-beta.1

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 (482) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +58 -3
  3. package/THIRD_PARTY_NOTICES.md +55 -0
  4. package/dist/assets/libarchive-DxGirPmi.wasm +0 -0
  5. package/dist/assets/pdfium-BJ2Yip8Q.wasm +0 -0
  6. package/dist/assets/ppt-font-cjk-DxgKpThH.otf +0 -0
  7. package/dist/assets/ppt-native-Cz5DBbag.wasm +0 -0
  8. package/dist/assets/pptx.worker-CtaL8LO_.js +30 -0
  9. package/dist/assets/worker-C5LZNsKY.mjs +1650 -0
  10. package/dist/assets/worker-CDeo9jS-.js +40 -0
  11. package/dist/assets/worker-bundle-Dx5mKZOL.js +6 -0
  12. package/dist/automation.d.ts +3 -0
  13. package/dist/automation.js +15 -0
  14. package/dist/chunks/App-DNjXLysb.js +79 -0
  15. package/dist/chunks/AppModal-DJzQA6FR.js +1 -0
  16. package/dist/chunks/ArcBaseAdmin-BZrHGq2f.js +1 -0
  17. package/dist/chunks/ConfigurableTable-DzmZDd8F.js +55 -0
  18. package/dist/chunks/DashboardPage-BohGodSl.js +22 -0
  19. package/dist/chunks/DataScopePanel-B2-x8Jcz.js +1 -0
  20. package/dist/chunks/DateTimeText-CIt0Qy45.js +1 -0
  21. package/dist/chunks/DepartmentsPage-DMWY__Y_.js +1 -0
  22. package/dist/chunks/DictTag-2-adKbYg.js +1 -0
  23. package/dist/chunks/DictsPage-DILDyHi-.js +15 -0
  24. package/dist/chunks/EditFormModal-DNHOZHxM.js +1 -0
  25. package/dist/chunks/EmptyIllustration-DUC3RZmF.js +1 -0
  26. package/dist/chunks/EntityContextRuntime-DMklAv-k.js +1 -0
  27. package/dist/chunks/EntityContextRuntime-sslBZqYD.js +1 -0
  28. package/dist/chunks/EntityRelationButton-DWn1rC2J.js +8 -0
  29. package/dist/chunks/ExportButton-AzH4D0oW.js +1 -0
  30. package/dist/chunks/FileNameCell-DPyi64Rv.js +1 -0
  31. package/dist/chunks/FileStorageConfigsPage-CzuOgeK0.js +15 -0
  32. package/dist/chunks/FileTypeIcon-DIih3XQG.js +1 -0
  33. package/dist/chunks/FileViewerPreviewPanel-CMqVtGCr.js +41 -0
  34. package/dist/chunks/FilesPage-BaEBCOCs.js +43 -0
  35. package/dist/chunks/IdentitySecurityPage-BO7nY8id.js +1 -0
  36. package/dist/chunks/JsonPreviewPanel-Dhbza-Uu.js +1 -0
  37. package/dist/chunks/LogStatsScaffold-CLycj3da.js +1 -0
  38. package/dist/chunks/LoginLogsPage-DTmHi8u0.js +1 -0
  39. package/dist/chunks/LoginLogsTable-DVmHnC6V.js +1 -0
  40. package/dist/chunks/MarkdownPreviewPanel-DoiaAeRv.js +51 -0
  41. package/dist/chunks/MasterDetailLayout-sjPWw8BI.js +8 -0
  42. package/dist/chunks/MemberAssignmentSheet-Czbt6_zv.js +1 -0
  43. package/dist/chunks/MenuCommandPalette-BCOzf-Kq.js +8 -0
  44. package/dist/chunks/MenusPage-DN8DTGB1.js +1 -0
  45. package/dist/chunks/ModalFooter-RMlvqrO9.js +1 -0
  46. package/dist/chunks/MonacoPreviewPanel-Dnz7xpWP.js +1 -0
  47. package/dist/chunks/NavListPanel-vjIOIqK0.js +1 -0
  48. package/dist/chunks/OnlineSessionsPage-FoHYZKlR.js +1 -0
  49. package/dist/chunks/OperationLogsPage-BeRnGcBJ.js +1 -0
  50. package/dist/chunks/OperationLogsTable-COI-Lp-y.js +1 -0
  51. package/dist/chunks/PDFPreviewPanel-BIQuBnZZ.js +37 -0
  52. package/dist/chunks/PasswordInput-DGEJO9yx.js +1 -0
  53. package/dist/chunks/PositionsPage-DohI0luX.js +1 -0
  54. package/dist/chunks/PreferencesSheetBody-B9niQABW.js +43 -0
  55. package/dist/chunks/ProfilePage-CVTRv7xb.js +15 -0
  56. package/dist/chunks/RelationPanel-B1X6AVaM.js +36 -0
  57. package/dist/chunks/ResponsiveTableActions-y54aSdhs.js +1 -0
  58. package/dist/chunks/RolesPage-CtUw93L8.js +1 -0
  59. package/dist/chunks/ScrollArea-DqjJmHDN.js +11 -0
  60. package/dist/chunks/SearchToolbar-CvgYKUjr.js +1 -0
  61. package/dist/chunks/SessionClientTag-DIwnYodW.js +22 -0
  62. package/dist/chunks/SessionConflictModal-BLNuDsN_.js +1 -0
  63. package/dist/chunks/SettingRow-DVNmTJWC.js +1 -0
  64. package/dist/chunks/SettingsPage-BRnCxYQm.js +26 -0
  65. package/dist/chunks/StatCard-Czjfs0fa.js +4 -0
  66. package/dist/chunks/UTIF-QUtClmQd.js +1 -0
  67. package/dist/chunks/UserAvatar-B8CFnTCn.js +1 -0
  68. package/dist/chunks/UserDisplay-J0Re8z-7.js +1 -0
  69. package/dist/chunks/UserGroupsPage-CNwbejx-.js +1 -0
  70. package/dist/chunks/UserLogsPanels-BHeSxWrk.js +36 -0
  71. package/dist/chunks/UserTransferSelect-CAeyxdor.js +22 -0
  72. package/dist/chunks/UsersPage-BXt9fOru.js +36 -0
  73. package/dist/chunks/abnfDiagram-VCTEODGH-Z6OhNjoW.js +1 -0
  74. package/dist/chunks/activity-DBu4axwF.js +8 -0
  75. package/dist/chunks/arc-B3K1fDeF.js +1 -0
  76. package/dist/chunks/architecture-7GRP2DOG-CMtoOwin.js +1 -0
  77. package/dist/chunks/architectureDiagram-5GKGNRK7-V5A7S5fY.js +36 -0
  78. package/dist/chunks/archive-B_IKvysI.js +72 -0
  79. package/dist/chunks/array-BrHhzP_A.js +1 -0
  80. package/dist/chunks/arrow-left-CsxBMzKY.js +8 -0
  81. package/dist/chunks/avsc-C0VoJRmm.js +160 -0
  82. package/dist/chunks/blockDiagram-I7D4REHJ-CFKGJkc_.js +129 -0
  83. package/dist/chunks/browser-BKLM0ThC-mnGPrtB_.js +1 -0
  84. package/dist/chunks/browser-index-JqxD-45S.js +1 -0
  85. package/dist/chunks/builtin_esm-external-require-react-BsBndGeN.js +1 -0
  86. package/dist/chunks/bundle-DbfUnEV1.js +29 -0
  87. package/dist/chunks/c4Diagram-7LVT6UL2-BqYYoXPe.js +38 -0
  88. package/dist/chunks/channel-C9Dr7Z-W.js +1 -0
  89. package/dist/chunks/chart-data-DImT_Mzn.js +5 -0
  90. package/dist/chunks/chart-renderer-k-Rd8vdL.js +7 -0
  91. package/dist/chunks/chevron-down-mn2tSKQd.js +8 -0
  92. package/dist/chunks/chevron-right-EBApfX6q.js +15 -0
  93. package/dist/chunks/chevrons-up-down-2M6hY6wt.js +15 -0
  94. package/dist/chunks/chunk-2E4U76K2-DNbbdpCx.js +1 -0
  95. package/dist/chunks/chunk-2Q5K7J3B-CmAE3Vs0.js +1 -0
  96. package/dist/chunks/chunk-2ZTRR5NV-BjsSRgBv.js +2 -0
  97. package/dist/chunks/chunk-3Z5EZCMW-uYiqz-6y.js +1 -0
  98. package/dist/chunks/chunk-4HAMMTFA-Aw59LwS3.js +62 -0
  99. package/dist/chunks/chunk-5V3GS4D5-B_CVcJic.js +1 -0
  100. package/dist/chunks/chunk-5VM5RSS4-DMlsEAcl.js +15 -0
  101. package/dist/chunks/chunk-6AZGARVD-CgAiC5mV.js +1 -0
  102. package/dist/chunks/chunk-6EIED4P4-CXz5D9B0.js +1 -0
  103. package/dist/chunks/chunk-6K3QC6MW-DtaQ52mY.js +1 -0
  104. package/dist/chunks/chunk-6TQVIW2G-D0YDxefI.js +1 -0
  105. package/dist/chunks/chunk-747NJXEK-DGoElbDa.js +2 -0
  106. package/dist/chunks/chunk-75Z2AOVW-IO9R6faP.js +2 -0
  107. package/dist/chunks/chunk-CLGD4ZFX-tRS89bnq.js +1 -0
  108. package/dist/chunks/chunk-DU6HZSFF-Bx48E1rg.js +125 -0
  109. package/dist/chunks/chunk-F27PBJKO-DtLva7y0.js +1 -0
  110. package/dist/chunks/chunk-FOHPRMQF-B8MMrnxV.js +255 -0
  111. package/dist/chunks/chunk-GMAD6QVW-D41KnniX.js +72 -0
  112. package/dist/chunks/chunk-GVQU2GXP-CVzgM_ui.js +1 -0
  113. package/dist/chunks/chunk-I5DQTOEV-CoecQT42.js +1 -0
  114. package/dist/chunks/chunk-ICYGCRZG-lH3opfCY.js +1 -0
  115. package/dist/chunks/chunk-IH6LHLGP-tD-j3Rsy.js +1 -0
  116. package/dist/chunks/chunk-IMKFNOWR-CL9pLQhV.js +231 -0
  117. package/dist/chunks/chunk-JWPE2WC7-Wk0BVLn5.js +1 -0
  118. package/dist/chunks/chunk-KI3K4JFJ-C-3Y_9er.js +1 -0
  119. package/dist/chunks/chunk-L3NEJ4N5-CmvrS7Dt.js +1 -0
  120. package/dist/chunks/chunk-LNGE3PJU-BP1fsJRz.js +34 -0
  121. package/dist/chunks/chunk-OSK3NFVY-C9uWOXTC.js +10 -0
  122. package/dist/chunks/chunk-OUJLGHUK-Cm55l9bx.js +2 -0
  123. package/dist/chunks/chunk-P2QGCYS3-C9bc1yiM.js +1 -0
  124. package/dist/chunks/chunk-POPQ4Y6H-P1s5xaxM.js +1 -0
  125. package/dist/chunks/chunk-PWAF6VOD-IORmPx9D.js +1 -0
  126. package/dist/chunks/chunk-SHT3W25Y-Bip4melZ.js +168 -0
  127. package/dist/chunks/chunk-SVP7TREG-BKCgUOuy.js +88 -0
  128. package/dist/chunks/chunk-TICWLB2K-12W2EmSx.js +206 -0
  129. package/dist/chunks/chunk-TLUHSLCS-DsqF476v.js +1 -0
  130. package/dist/chunks/chunk-UY3FDG6J-71d_M6t3.js +1 -0
  131. package/dist/chunks/chunk-XHIXRSVI-C2X1-xC6.js +1 -0
  132. package/dist/chunks/chunk-XXDRQBXY-Bl6AoSZF.js +1 -0
  133. package/dist/chunks/chunk-Y2CYZVJY-DjEHBC-3.js +1 -0
  134. package/dist/chunks/circle-check-RKAno__V.js +8 -0
  135. package/dist/chunks/circle-x-BB5x-D-8.js +8 -0
  136. package/dist/chunks/classDiagram-ZZMXUADV-CZrpYcfK.js +1 -0
  137. package/dist/chunks/classDiagram-v2-VYDZK3BY-CZrpYcfK.js +1 -0
  138. package/dist/chunks/clipboard-ERcMSMRH.js +1 -0
  139. package/dist/chunks/clock-CniP1gZS.js +8 -0
  140. package/dist/chunks/confirm-BtBBEqk8.js +1 -0
  141. package/dist/chunks/controls-C5dPckUT.js +1 -0
  142. package/dist/chunks/copy-ofLPH1I0.js +8 -0
  143. package/dist/chunks/cose-bilkent-JH36ORCC-D9OUqkk5.js +1 -0
  144. package/dist/chunks/createLucideIcon-BtwfYE6A.js +83 -0
  145. package/dist/chunks/cynefin-OW5HDTMX-B8_kUynj.js +1 -0
  146. package/dist/chunks/cynefinDiagram-5FMLGOSQ-DhQChnCg.js +62 -0
  147. package/dist/chunks/cytoscape.esm-wDUnleWx.js +339 -0
  148. package/dist/chunks/dagre-GXQ25YYZ-CfbwC_a5.js +4 -0
  149. package/dist/chunks/dagre-ZVAWSfFw.js +1 -0
  150. package/dist/chunks/data-B05HzECj.js +28 -0
  151. package/dist/chunks/date-picker-CPUxgHVv.js +1 -0
  152. package/dist/chunks/defaultLocale-BvxIcb9Y.js +1 -0
  153. package/dist/chunks/deleteAction-CCocr5uV.js +1 -0
  154. package/dist/chunks/diagram-D9cwc7QH.js +5 -0
  155. package/dist/chunks/diagram-S7CK7UJ4-DVPbdtMm.js +30 -0
  156. package/dist/chunks/diagram-UQ7AKVKN-D_ZBhGLL.js +41 -0
  157. package/dist/chunks/diagram-VSXAHHWV-Dqypp-OX.js +3 -0
  158. package/dist/chunks/diagram-VX7I27RA-CbWJVJ_L.js +24 -0
  159. package/dist/chunks/diagram-Z3DM3KII-CUyP4-RY.js +24 -0
  160. package/dist/chunks/direct-engine-thps0u7R.js +5 -0
  161. package/dist/chunks/dist-Bauqz5on.js +1 -0
  162. package/dist/chunks/dist-CWj_XYki.js +1 -0
  163. package/dist/chunks/dist-D_KGQS7-.js +11 -0
  164. package/dist/chunks/dist-DdW4yNBK.js +1 -0
  165. package/dist/chunks/docx-preview-CPN81HCr.js +11 -0
  166. package/dist/chunks/download--5IybXxz.js +8 -0
  167. package/dist/chunks/drawing-D2Qrun-P.js +48 -0
  168. package/dist/chunks/ebnfDiagram-PWID7BFC-C5NMigjm.js +1 -0
  169. package/dist/chunks/ellipsis-Dux1Nxa5.js +8 -0
  170. package/dist/chunks/email-ByshRsFv.js +61 -0
  171. package/dist/chunks/emailHtml-BAKcRhSm.js +1 -0
  172. package/dist/chunks/erDiagram-RLTQ6QDP-B5rUHJPJ.js +99 -0
  173. package/dist/chunks/eventmodeling-NTZA5JFV-C74no5BH.js +1 -0
  174. package/dist/chunks/export-BkwewH6Q.js +1 -0
  175. package/dist/chunks/export-DlTz5dc2.js +341 -0
  176. package/dist/chunks/eye-off-BtJoIT5n.js +8 -0
  177. package/dist/chunks/feedback-BnjMKZpz.js +1 -0
  178. package/dist/chunks/file-utils-DyvnVEoH.js +1 -0
  179. package/dist/chunks/fit-CsnhEncA.js +1 -0
  180. package/dist/chunks/flowDiagram-HODETNUW-BuMvaSeo.js +1 -0
  181. package/dist/chunks/form-CQutQFiD.js +1 -0
  182. package/dist/chunks/funnel-BwQjQI4Y.js +8 -0
  183. package/dist/chunks/ganttDiagram-EL5Y4UJY-DIAlbvVg.js +292 -0
  184. package/dist/chunks/geo-DR0fL7r2.js +38 -0
  185. package/dist/chunks/gitGraph-4MIJSDKK-Ce5mOfp1.js +1 -0
  186. package/dist/chunks/gitGraphDiagram-WWUBYQGX-DN3G9xiQ.js +106 -0
  187. package/dist/chunks/graphlib-CYBMTUbW.js +1 -0
  188. package/dist/chunks/icons-CbRx5Om7.js +1 -0
  189. package/dist/chunks/illustrations-DT1eq6jI.js +1 -0
  190. package/dist/chunks/image-ez9hvzKT.js +17 -0
  191. package/dist/chunks/index.es-OAWlVkoK.js +16 -0
  192. package/dist/chunks/info-A6RAGUB7-BP6lMBIR.js +1 -0
  193. package/dist/chunks/info-BQa8C31Y.js +8 -0
  194. package/dist/chunks/infoDiagram-27XIBGKW-BhQtr_Ti.js +2 -0
  195. package/dist/chunks/init-Ca_Ibf4y.js +1 -0
  196. package/dist/chunks/ishikawaDiagram-5VMMS53U-CLR6CAi4.js +70 -0
  197. package/dist/chunks/journeyDiagram-3NMN7TZE-_-Q7sjsP.js +139 -0
  198. package/dist/chunks/json-viewer-DHYRjY8I.js +1 -0
  199. package/dist/chunks/jszip.min-hNOoGCeG.js +14 -0
  200. package/dist/chunks/kanban-definition-UXKFOSKX-D97mHeUZ.js +89 -0
  201. package/dist/chunks/katex-D5qu7EYh.js +257 -0
  202. package/dist/chunks/layout-grid-Bp9bwiQZ.js +8 -0
  203. package/dist/chunks/lib-BlRm3nk1.js +15 -0
  204. package/dist/chunks/lib-C1nFUu19.js +4 -0
  205. package/dist/chunks/lib-CqYXBtHb.js +1 -0
  206. package/dist/chunks/libarchive-DRzzJvQl.js +7 -0
  207. package/dist/chunks/line-BV7qVRkM.js +1 -0
  208. package/dist/chunks/line-qVHaOdPp.js +1 -0
  209. package/dist/chunks/linear-DXABSWHW.js +1 -0
  210. package/dist/chunks/list-0CbyOlT9.js +1 -0
  211. package/dist/chunks/list-DCcWnjUg.js +8 -0
  212. package/dist/chunks/listTableProps-DDynsnLF.js +1 -0
  213. package/dist/chunks/log-in-OzbNes8i.js +8 -0
  214. package/dist/chunks/lucide-react-VfAPsQQ5.js +8 -0
  215. package/dist/chunks/maplibre-gl-Bxi83GUP.js +819 -0
  216. package/dist/chunks/maplibre-shared-Oo0L8Lll.js +6 -0
  217. package/dist/chunks/maximize-CnmQ11E7.js +8 -0
  218. package/dist/chunks/media-DoGe_p4O.js +1 -0
  219. package/dist/chunks/menu-mQgsexFx.js +15 -0
  220. package/dist/chunks/mermaid-parser.core-DvCAQkzY.js +3 -0
  221. package/dist/chunks/mermaid.core-CxOC6yPr.js +15 -0
  222. package/dist/chunks/messages-CFyOVxEM.js +1 -0
  223. package/dist/chunks/mindmap-definition-YA3MSWOX-A2UgnMwx.js +96 -0
  224. package/dist/chunks/minimize-Bpau_zCe.js +8 -0
  225. package/dist/chunks/msg-BzZbudMm.js +7 -0
  226. package/dist/chunks/ofd-C7DKqJ6Z.js +33 -0
  227. package/dist/chunks/ofd-DrJyXIpS.js +14 -0
  228. package/dist/chunks/openDocument-DGzqlyJg.js +12 -0
  229. package/dist/chunks/options-B65xkxOY.js +1 -0
  230. package/dist/chunks/ordinal-NuFkISw7.js +1 -0
  231. package/dist/chunks/packet-AYTQ26CC-DS6h3a5l.js +1 -0
  232. package/dist/chunks/panzoom.es-DnuzxUQi.js +1 -0
  233. package/dist/chunks/parse-6ZQGx714.js +1 -0
  234. package/dist/chunks/parser-DC3PvpL4.js +72 -0
  235. package/dist/chunks/path-VUNELGFR.js +1 -0
  236. package/dist/chunks/pegDiagram-XKGWAZYB-DxQqpKfh.js +1 -0
  237. package/dist/chunks/pie-WAS4IAKB-BsaegmNA.js +1 -0
  238. package/dist/chunks/pieDiagram-E7YTZNPT-BUsnkTkJ.js +39 -0
  239. package/dist/chunks/postal-mime-DMcA5b7k.js +28 -0
  240. package/dist/chunks/ppt-B0WY5Gks.js +30 -0
  241. package/dist/chunks/ppt-BIiNnCyj.js +1 -0
  242. package/dist/chunks/pptx-DX5KDFZ7.js +109 -0
  243. package/dist/chunks/preload-helper-C-73SErw.js +1 -0
  244. package/dist/chunks/print-mask-Dguzv0rv.js +17 -0
  245. package/dist/chunks/printLayout-oeudvFkr.js +34 -0
  246. package/dist/chunks/printMask-LefOTJqk.js +8 -0
  247. package/dist/chunks/psd-hjeNFQZ-.js +36 -0
  248. package/dist/chunks/purify.es-BsWMI_aG.js +5 -0
  249. package/dist/chunks/quadrantDiagram-AXDQQJYC-BmQNSzhY.js +7 -0
  250. package/dist/chunks/radar-RG4KPBEZ-BoHdw2h7.js +1 -0
  251. package/dist/chunks/railroad-74A4TZTK-BifJffb4.js +1 -0
  252. package/dist/chunks/railroad-abnf-HS5TGJTU-CMEPumRO.js +1 -0
  253. package/dist/chunks/railroad-ebnf-LZEXJU2U-B06BgAeN.js +1 -0
  254. package/dist/chunks/railroad-peg-WCYAUIDC-CMjriUEs.js +1 -0
  255. package/dist/chunks/railroadDiagram-O6MQD6OU-B2t5KY26.js +1 -0
  256. package/dist/chunks/react-runtime-x2lFbSKq.js +11 -0
  257. package/dist/chunks/refresh-cw-Dz8O9-Hp.js +8 -0
  258. package/dist/chunks/rendered-slot-YhfmcMJr.js +1 -0
  259. package/dist/chunks/requirementDiagram-BXWQKSXE-CBBfNOAp.js +84 -0
  260. package/dist/chunks/rolldown-runtime-BKuNeK48.js +1 -0
  261. package/dist/chunks/rotate-ccw-D2__Zisi.js +8 -0
  262. package/dist/chunks/rotate-cw-BSTVLlWY.js +8 -0
  263. package/dist/chunks/rough.esm-CVrpq1dW.js +1 -0
  264. package/dist/chunks/sankeyDiagram-P5KCCOFB-Cp8SrFyb.js +40 -0
  265. package/dist/chunks/save-w-NwiMMY.js +8 -0
  266. package/dist/chunks/search-DYZU68h1.js +8 -0
  267. package/dist/chunks/search-filters-CRIhZ0gL.js +1 -0
  268. package/dist/chunks/sequenceDiagram-WJ2MYXX4-PDtVfEoj.js +162 -0
  269. package/dist/chunks/shield-alert-De_Hx56I.js +8 -0
  270. package/dist/chunks/sizeCapture-INFHLROL-DA-kAaXB.js +1 -0
  271. package/dist/chunks/skeleton-CrjMjJNr.js +1 -0
  272. package/dist/chunks/spreadsheet-BzbBEhmY.js +1 -0
  273. package/dist/chunks/spreadsheet-LR3SOG-x.js +58 -0
  274. package/dist/chunks/sql-wasm-browser-CFddXd9f.js +2 -0
  275. package/dist/chunks/src-C1iDJpBK.js +1 -0
  276. package/dist/chunks/src-vLpLkuQx.js +1 -0
  277. package/dist/chunks/stateDiagram-D77RDMKH-C1Sx8KUD.js +1 -0
  278. package/dist/chunks/stateDiagram-v2-MP3YSRHH-7wYLSzBX.js +1 -0
  279. package/dist/chunks/swimlanes-42K2YHIH-BmybX9eL.js +1 -0
  280. package/dist/chunks/swimlanesDiagram-VR7AAH4N-DxhXklfm.js +8 -0
  281. package/dist/chunks/tabs-BobA_IcO.js +1 -0
  282. package/dist/chunks/theme-controller-D-ATwFal.js +1 -0
  283. package/dist/chunks/timeline-definition-24CTP7MA-QS9QNm2i.js +120 -0
  284. package/dist/chunks/tinycolor-CG1wnM-U.js +1 -0
  285. package/dist/chunks/togeojson.es-BE8iM7U6.js +1 -0
  286. package/dist/chunks/toolbar-controls-CThS0xuP.js +15 -0
  287. package/dist/chunks/trash-tHBT8Mpw.js +8 -0
  288. package/dist/chunks/treeView-Q6P3EWNA-CN0l7whJ.js +1 -0
  289. package/dist/chunks/treemap-WGGIJYW6-C4P1fQxS.js +1 -0
  290. package/dist/chunks/typography-DKK_iHcj.js +1 -0
  291. package/dist/chunks/ui-BFsHoY7a.js +1 -0
  292. package/dist/chunks/ui-utils-ClxYogUQ.js +1 -0
  293. package/dist/chunks/upload-M-n6woFv.js +8 -0
  294. package/dist/chunks/useCrudOperationColumn-D935tixd.js +1 -0
  295. package/dist/chunks/useListPage-CbcOQG4m.js +1 -0
  296. package/dist/chunks/useModalViewport-HF7te75S.js +1 -0
  297. package/dist/chunks/useRowSelection-4GOMFmjG.js +1 -0
  298. package/dist/chunks/useStatusToggle-B2qZaoc-.js +1 -0
  299. package/dist/chunks/user-round-kYfBkPNu.js +15 -0
  300. package/dist/chunks/users-BXZLb4TY.js +8 -0
  301. package/dist/chunks/vennDiagram-4TSXK5OY-CVd73ycc.js +34 -0
  302. package/dist/chunks/view-B8ZvC8z3.js +1 -0
  303. package/dist/chunks/viewer-Ct88ypIL.js +24 -0
  304. package/dist/chunks/wardley-WFR3VGLG-cG9pRFwD.js +1 -0
  305. package/dist/chunks/wardleyDiagram-VM6X3IG4-B42d0Gqz.js +78 -0
  306. package/dist/chunks/wordDoc-BZY3ZnxN.js +152 -0
  307. package/dist/chunks/wordDocx-Bt2mlB3C.js +77 -0
  308. package/dist/chunks/wordMl-Y_ghyTZ8.js +1 -0
  309. package/dist/chunks/worker-engine-B4e92GsN.js +17369 -0
  310. package/dist/chunks/x-Ak9hw1R9.js +8 -0
  311. package/dist/chunks/xmind-CF9YwkOD.js +58 -0
  312. package/dist/chunks/xychartDiagram-S5SC5T6Z-B_Owv9Ho.js +7 -0
  313. package/dist/file-viewer/flyfish-viewer-assets.json +46 -0
  314. package/dist/file-viewer/vendor/docx/docx.worker.js +5 -0
  315. package/dist/file-viewer/vendor/docx/jszip.min.js +13 -0
  316. package/dist/file-viewer/vendor/xlsx/sheet.worker.js +107 -0
  317. package/dist/file-viewer/wasm/data/sql-wasm.wasm +0 -0
  318. package/dist/index.d.ts +5 -0
  319. package/dist/index.js +1 -0
  320. package/dist/public/avatars/avatar-01.svg +1 -0
  321. package/dist/public/avatars/avatar-02.svg +1 -0
  322. package/dist/public/avatars/avatar-03.svg +1 -0
  323. package/dist/public/avatars/avatar-04.svg +1 -0
  324. package/dist/public/avatars/avatar-05.svg +1 -0
  325. package/dist/public/avatars/avatar-06.svg +1 -0
  326. package/dist/public/avatars/avatar-07.svg +1 -0
  327. package/dist/public/avatars/avatar-08.svg +1 -0
  328. package/dist/public/avatars/avatar-09.svg +1 -0
  329. package/dist/public/avatars/avatar-10.svg +1 -0
  330. package/dist/public/avatars/avatar-11.svg +1 -0
  331. package/dist/public/avatars/avatar-12.svg +1 -0
  332. package/dist/public/monaco/vs/abap-D-t0cyap.js +1 -0
  333. package/dist/public/monaco/vs/apex-CcIm7xu6.js +1 -0
  334. package/dist/public/monaco/vs/assets/css.worker-URu8fCFR.js +97 -0
  335. package/dist/public/monaco/vs/assets/editor.worker-lj3bdIIn.js +30 -0
  336. package/dist/public/monaco/vs/assets/editorWebWorkerMain-CA_vMoUU.js +30 -0
  337. package/dist/public/monaco/vs/assets/html.worker-D1SL3iM8.js +474 -0
  338. package/dist/public/monaco/vs/assets/json.worker-CoJx_OPf.js +62 -0
  339. package/dist/public/monaco/vs/assets/ts.worker-BWKtMYOk.js +67722 -0
  340. package/dist/public/monaco/vs/azcli-BA0tQDCg.js +1 -0
  341. package/dist/public/monaco/vs/basic-languages/monaco.contribution.js +1 -0
  342. package/dist/public/monaco/vs/bat-C397hTD6.js +1 -0
  343. package/dist/public/monaco/vs/bicep-DF5aW17k.js +2 -0
  344. package/dist/public/monaco/vs/cameligo-plsz8qhj.js +1 -0
  345. package/dist/public/monaco/vs/clojure-Y2auQMzK.js +1 -0
  346. package/dist/public/monaco/vs/coffee-Bu45yuWE.js +1 -0
  347. package/dist/public/monaco/vs/cpp-CkKPQIni.js +1 -0
  348. package/dist/public/monaco/vs/csharp-CX28MZyh.js +1 -0
  349. package/dist/public/monaco/vs/csp-D8uWnyxW.js +1 -0
  350. package/dist/public/monaco/vs/css-CaeNmE3S.js +3 -0
  351. package/dist/public/monaco/vs/css.worker-CyhWkhHo.js +1 -0
  352. package/dist/public/monaco/vs/cssMode-CV6Ay48H.js +1 -0
  353. package/dist/public/monaco/vs/cypher-DVThT8BS.js +1 -0
  354. package/dist/public/monaco/vs/dart-CmGfCvrO.js +1 -0
  355. package/dist/public/monaco/vs/dockerfile-CZqqYdch.js +1 -0
  356. package/dist/public/monaco/vs/ecl-30fUercY.js +1 -0
  357. package/dist/public/monaco/vs/editor/editor.main.css +1 -0
  358. package/dist/public/monaco/vs/editor/editor.main.js +1 -0
  359. package/dist/public/monaco/vs/editor-KLE6jdfb.js +831 -0
  360. package/dist/public/monaco/vs/editor.js +1 -0
  361. package/dist/public/monaco/vs/editorWorkerHost-fVE1cjcC.js +35 -0
  362. package/dist/public/monaco/vs/elixir-xjPaIfzF.js +1 -0
  363. package/dist/public/monaco/vs/flow9-DqtmStfK.js +1 -0
  364. package/dist/public/monaco/vs/freemarker2-FWreY7v7.js +3 -0
  365. package/dist/public/monaco/vs/fsharp-BOMdg4U1.js +1 -0
  366. package/dist/public/monaco/vs/go-D_hbi-Jt.js +1 -0
  367. package/dist/public/monaco/vs/graphql-CKUU4kLG.js +1 -0
  368. package/dist/public/monaco/vs/handlebars-CZi4pHCH.js +1 -0
  369. package/dist/public/monaco/vs/hcl-DTaboeZW.js +1 -0
  370. package/dist/public/monaco/vs/html-j_7ZTNRU.js +1 -0
  371. package/dist/public/monaco/vs/html.worker-CA3iAimZ.js +1 -0
  372. package/dist/public/monaco/vs/htmlMode-27by_KM4.js +1 -0
  373. package/dist/public/monaco/vs/index-049xrXrp.js +1 -0
  374. package/dist/public/monaco/vs/index-CBVt3dzv.js +5 -0
  375. package/dist/public/monaco/vs/index.js +1 -0
  376. package/dist/public/monaco/vs/ini-CsNwO04R.js +1 -0
  377. package/dist/public/monaco/vs/initialize-DL0l1TGY.js +1 -0
  378. package/dist/public/monaco/vs/java-CI4ZMsH9.js +1 -0
  379. package/dist/public/monaco/vs/javascript-DTJl4Jn1.js +1 -0
  380. package/dist/public/monaco/vs/json.worker-BizpAl9O.js +1 -0
  381. package/dist/public/monaco/vs/jsonMode-DLUiMUrI.js +1 -0
  382. package/dist/public/monaco/vs/julia-BwzEvaQw.js +1 -0
  383. package/dist/public/monaco/vs/kotlin-IUYPiTV8.js +1 -0
  384. package/dist/public/monaco/vs/language/css/monaco.contribution.js +1 -0
  385. package/dist/public/monaco/vs/language/html/monaco.contribution.js +1 -0
  386. package/dist/public/monaco/vs/language/json/monaco.contribution.js +1 -0
  387. package/dist/public/monaco/vs/language/typescript/monaco.contribution.js +1 -0
  388. package/dist/public/monaco/vs/less-C0eDYdqa.js +2 -0
  389. package/dist/public/monaco/vs/lexon-iON-Kj97.js +1 -0
  390. package/dist/public/monaco/vs/liquid-CLJYelW6.js +1 -0
  391. package/dist/public/monaco/vs/loader.js +1368 -0
  392. package/dist/public/monaco/vs/lspLanguageFeatures-BIkJOWLw.js +2 -0
  393. package/dist/public/monaco/vs/lua-DtygF91M.js +1 -0
  394. package/dist/public/monaco/vs/m3-CsR4AuFi.js +1 -0
  395. package/dist/public/monaco/vs/main-BEx-Fmlo.js +15 -0
  396. package/dist/public/monaco/vs/main-DsK8pnKg.js +3 -0
  397. package/dist/public/monaco/vs/markdown-C_rD0bIw.js +1 -0
  398. package/dist/public/monaco/vs/mdx-CpzZIPHF.js +1 -0
  399. package/dist/public/monaco/vs/mips-CiYP61RB.js +1 -0
  400. package/dist/public/monaco/vs/monaco.contribution-9cKT3C7t.js +1 -0
  401. package/dist/public/monaco/vs/monaco.contribution-BE88ZNGY.js +1 -0
  402. package/dist/public/monaco/vs/monaco.contribution-BPhsneLd.js +1 -0
  403. package/dist/public/monaco/vs/monaco.contribution-BgRy6xDf.js +1 -0
  404. package/dist/public/monaco/vs/msdax-C38-sJlp.js +1 -0
  405. package/dist/public/monaco/vs/mysql-CdtbpvbG.js +1 -0
  406. package/dist/public/monaco/vs/nls/lang/cs.d.ts +1 -0
  407. package/dist/public/monaco/vs/nls/lang/cs.js +9 -0
  408. package/dist/public/monaco/vs/nls/lang/de.d.ts +1 -0
  409. package/dist/public/monaco/vs/nls/lang/de.js +9 -0
  410. package/dist/public/monaco/vs/nls/lang/es.d.ts +1 -0
  411. package/dist/public/monaco/vs/nls/lang/es.js +9 -0
  412. package/dist/public/monaco/vs/nls/lang/fr.d.ts +1 -0
  413. package/dist/public/monaco/vs/nls/lang/fr.js +9 -0
  414. package/dist/public/monaco/vs/nls/lang/it.d.ts +1 -0
  415. package/dist/public/monaco/vs/nls/lang/it.js +9 -0
  416. package/dist/public/monaco/vs/nls/lang/ja.d.ts +1 -0
  417. package/dist/public/monaco/vs/nls/lang/ja.js +9 -0
  418. package/dist/public/monaco/vs/nls/lang/ko.d.ts +1 -0
  419. package/dist/public/monaco/vs/nls/lang/ko.js +9 -0
  420. package/dist/public/monaco/vs/nls/lang/pl.d.ts +1 -0
  421. package/dist/public/monaco/vs/nls/lang/pl.js +9 -0
  422. package/dist/public/monaco/vs/nls/lang/pt-br.d.ts +1 -0
  423. package/dist/public/monaco/vs/nls/lang/pt-br.js +9 -0
  424. package/dist/public/monaco/vs/nls/lang/ru.d.ts +1 -0
  425. package/dist/public/monaco/vs/nls/lang/ru.js +9 -0
  426. package/dist/public/monaco/vs/nls/lang/tr.d.ts +1 -0
  427. package/dist/public/monaco/vs/nls/lang/tr.js +9 -0
  428. package/dist/public/monaco/vs/nls/lang/zh-cn.d.ts +1 -0
  429. package/dist/public/monaco/vs/nls/lang/zh-cn.js +9 -0
  430. package/dist/public/monaco/vs/nls/lang/zh-tw.d.ts +1 -0
  431. package/dist/public/monaco/vs/nls/lang/zh-tw.js +9 -0
  432. package/dist/public/monaco/vs/nls.messages-loader.js +1 -0
  433. package/dist/public/monaco/vs/objective-c-CntZFaHX.js +1 -0
  434. package/dist/public/monaco/vs/pascal-r6kuqfl_.js +1 -0
  435. package/dist/public/monaco/vs/pascaligo-BiXoTmXh.js +1 -0
  436. package/dist/public/monaco/vs/perl-DABw_TcH.js +1 -0
  437. package/dist/public/monaco/vs/pgsql-me_jFXeX.js +1 -0
  438. package/dist/public/monaco/vs/php-D_kh-9LK.js +1 -0
  439. package/dist/public/monaco/vs/pla-VfZjczW0.js +1 -0
  440. package/dist/public/monaco/vs/postiats-BBSzz8Pk.js +1 -0
  441. package/dist/public/monaco/vs/powerquery-Dt-g_2cc.js +1 -0
  442. package/dist/public/monaco/vs/powershell-B-7ap1zc.js +1 -0
  443. package/dist/public/monaco/vs/protobuf-BmtuEB1A.js +2 -0
  444. package/dist/public/monaco/vs/pug-BRpRNeEb.js +1 -0
  445. package/dist/public/monaco/vs/python-CqWUUgfu.js +1 -0
  446. package/dist/public/monaco/vs/qsharp-BzsFaUU9.js +1 -0
  447. package/dist/public/monaco/vs/r-f8dDdrp4.js +1 -0
  448. package/dist/public/monaco/vs/razor-hok5y9Km.js +1 -0
  449. package/dist/public/monaco/vs/redis-fvZQY4PI.js +1 -0
  450. package/dist/public/monaco/vs/redshift-45Et0LQi.js +1 -0
  451. package/dist/public/monaco/vs/restructuredtext-C7UUFKFD.js +1 -0
  452. package/dist/public/monaco/vs/ruby-CZO8zYTz.js +1 -0
  453. package/dist/public/monaco/vs/rust-Bfetafyc.js +1 -0
  454. package/dist/public/monaco/vs/sb-3GYllVck.js +1 -0
  455. package/dist/public/monaco/vs/scala-foMgrKo1.js +1 -0
  456. package/dist/public/monaco/vs/scheme-CHdMtr7p.js +1 -0
  457. package/dist/public/monaco/vs/scss-C1cmLt9V.js +3 -0
  458. package/dist/public/monaco/vs/shell-ClXCKCEW.js +1 -0
  459. package/dist/public/monaco/vs/solidity-MZ6ExpPy.js +1 -0
  460. package/dist/public/monaco/vs/sophia-DWkuSsPQ.js +1 -0
  461. package/dist/public/monaco/vs/sparql-AUGFYSyk.js +1 -0
  462. package/dist/public/monaco/vs/sql-32GpJSV2.js +1 -0
  463. package/dist/public/monaco/vs/st-CuDFIVZ_.js +1 -0
  464. package/dist/public/monaco/vs/swift-t-PfMj7W.js +1 -0
  465. package/dist/public/monaco/vs/systemverilog-Ch4vA8Yt.js +1 -0
  466. package/dist/public/monaco/vs/tcl-D74tq1nH.js +1 -0
  467. package/dist/public/monaco/vs/toggleHighContrast-qGX7E9o7.js +61 -0
  468. package/dist/public/monaco/vs/ts.worker-2QLmBukE.js +1 -0
  469. package/dist/public/monaco/vs/tsMode-B0S_kp2q.js +11 -0
  470. package/dist/public/monaco/vs/twig-C6taOxMV.js +1 -0
  471. package/dist/public/monaco/vs/typescript-_2t_511t.js +1 -0
  472. package/dist/public/monaco/vs/typespec-8OfoLt6R.js +1 -0
  473. package/dist/public/monaco/vs/vb-Dyb2648j.js +1 -0
  474. package/dist/public/monaco/vs/wgsl-BhLXMOR0.js +298 -0
  475. package/dist/public/monaco/vs/workers-BBttULjf.js +1 -0
  476. package/dist/public/monaco/vs/xml-cZjNDqDT.js +1 -0
  477. package/dist/public/monaco/vs/yaml-A1fOIdH6.js +1 -0
  478. package/dist/src-LbWcrSWe.js +3 -0
  479. package/dist/styles.css +2 -0
  480. package/dist/styles.d.ts +1 -0
  481. package/dist/types.d.ts +1 -0
  482. package/package.json +113 -4
@@ -0,0 +1,160 @@
1
+ import{t as e}from"./rolldown-runtime-BKuNeK48.js";var t=/* @__PURE__ */ e(((e,t)=>{var n=Object.create,r=Object.defineProperty,i=Object.getOwnPropertyDescriptor,a=Object.getOwnPropertyNames,o=Object.getPrototypeOf,s=Object.prototype.hasOwnProperty,c=(e,t,n)=>function(){if(n)throw n[0];try{return e&&(t=(0,e[a(e)[0]])(e=0)),t}catch(e){throw n=[e],e}},l=(e,t)=>function(){try{return t||(0,e[a(e)[0]])((t={exports:{}}).exports,t),t.exports}catch(e){throw t=0,e}},u=(e,t,n,o)=>{if(t&&typeof t==`object`||typeof t==`function`)for(let c of a(t))!s.call(e,c)&&c!==n&&r(e,c,{get:()=>t[c],enumerable:!(o=i(t,c))||o.enumerable});return e},d=(e,t,i)=>(i=e==null?{}:n(o(e)),u(t||!e||!e.__esModule?r(i,`default`,{value:e,enumerable:!0}):i,e)),f=l({"../../../node_modules/.pnpm/base64-js@1.5.1/node_modules/base64-js/index.js"(e){v(),e.byteLength=c,e.toByteArray=u,e.fromByteArray=p;var t=[],n=[],r=typeof Uint8Array<`u`?Uint8Array:Array,i=`ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/`;for(a=0,o=i.length;a<o;++a)t[a]=i[a],n[i.charCodeAt(a)]=a;var a,o;n[45]=62,n[95]=63;function s(e){var t=e.length;if(t%4>0)throw Error(`Invalid string. Length must be a multiple of 4`);var n=e.indexOf(`=`);n===-1&&(n=t);var r=n===t?0:4-n%4;return[n,r]}function c(e){var t=s(e),n=t[0],r=t[1];return(n+r)*3/4-r}function l(e,t,n){return(t+n)*3/4-n}function u(e){for(var t,i=s(e),a=i[0],o=i[1],c=new r(l(e,a,o)),u=0,d=o>0?a-4:a,f=0;f<d;f+=4)t=n[e.charCodeAt(f)]<<18|n[e.charCodeAt(f+1)]<<12|n[e.charCodeAt(f+2)]<<6|n[e.charCodeAt(f+3)],c[u++]=t>>16&255,c[u++]=t>>8&255,c[u++]=t&255;return o===2&&(t=n[e.charCodeAt(f)]<<2|n[e.charCodeAt(f+1)]>>4,c[u++]=t&255),o===1&&(t=n[e.charCodeAt(f)]<<10|n[e.charCodeAt(f+1)]<<4|n[e.charCodeAt(f+2)]>>2,c[u++]=t>>8&255,c[u++]=t&255),c}function d(e){return t[e>>18&63]+t[e>>12&63]+t[e>>6&63]+t[e&63]}function f(e,t,n){for(var r,i=[],a=t;a<n;a+=3)r=(e[a]<<16&16711680)+(e[a+1]<<8&65280)+(e[a+2]&255),i.push(d(r));return i.join(``)}function p(e){for(var n,r=e.length,i=r%3,a=[],o=16383,s=0,c=r-i;s<c;s+=o)a.push(f(e,s,s+o>c?c:s+o));return i===1?(n=e[r-1],a.push(t[n>>2]+t[n<<4&63]+`==`)):i===2&&(n=(e[r-2]<<8)+e[r-1],a.push(t[n>>10]+t[n>>4&63]+t[n<<2&63]+`=`)),a.join(``)}}}),p=l({"../../../node_modules/.pnpm/ieee754@1.2.1/node_modules/ieee754/index.js"(e){v(),e.read=function(e,t,n,r,i){var a,o,s=i*8-r-1,c=(1<<s)-1,l=c>>1,u=-7,d=n?i-1:0,f=n?-1:1,p=e[t+d];for(d+=f,a=p&(1<<-u)-1,p>>=-u,u+=s;u>0;a=a*256+e[t+d],d+=f,u-=8);for(o=a&(1<<-u)-1,a>>=-u,u+=r;u>0;o=o*256+e[t+d],d+=f,u-=8);if(a===0)a=1-l;else if(a===c)return o?NaN:(p?-1:1)*(1/0);else o+=2**r,a-=l;return(p?-1:1)*o*2**(a-r)},e.write=function(e,t,n,r,i,a){var o,s,c,l=a*8-i-1,u=(1<<l)-1,d=u>>1,f=i===23?2**-24-2**-77:0,p=r?0:a-1,m=r?1:-1,h=+(t<0||t===0&&1/t<0);for(t=Math.abs(t),isNaN(t)||t===1/0?(s=+!!isNaN(t),o=u):(o=Math.floor(Math.log(t)/Math.LN2),t*(c=2**-o)<1&&(o--,c*=2),o+d>=1?t+=f/c:t+=f*2**(1-d),t*c>=2&&(o++,c/=2),o+d>=u?(s=0,o=u):o+d>=1?(s=(t*c-1)*2**i,o+=d):(s=t*2**(d-1)*2**i,o=0));i>=8;e[n+p]=s&255,p+=m,s/=256,i-=8);for(o=o<<i|s,l+=i;l>0;e[n+p]=o&255,p+=m,o/=256,l-=8);e[n+p-m]|=h*128}}}),m=l({"../../../node_modules/.pnpm/buffer@6.0.3/node_modules/buffer/index.js"(e){v();var t=f(),n=p(),r=typeof Symbol==`function`&&typeof Symbol.for==`function`?Symbol.for(`nodejs.util.inspect.custom`):null;e.Buffer=s,e.SlowBuffer=x,e.INSPECT_MAX_BYTES=50;var i=2147483647;e.kMaxLength=i,s.TYPED_ARRAY_SUPPORT=a(),!s.TYPED_ARRAY_SUPPORT&&typeof console<`u`&&typeof console.error==`function`&&console.error("This browser lacks typed array (Uint8Array) support which is required by `buffer` v5.x. Use `buffer` v4.x if you require old browser support.");function a(){try{let e=/* @__PURE__ */ new Uint8Array(1),t={foo:function(){return 42}};return Object.setPrototypeOf(t,Uint8Array.prototype),Object.setPrototypeOf(e,t),e.foo()===42}catch{return!1}}Object.defineProperty(s.prototype,"parent",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.buffer}}),Object.defineProperty(s.prototype,"offset",{enumerable:!0,get:function(){if(s.isBuffer(this))return this.byteOffset}});function o(e){if(e>i)throw RangeError(`The value "`+e+`" is invalid for option "size"`);let t=new Uint8Array(e);return Object.setPrototypeOf(t,s.prototype),t}function s(e,t,n){if(typeof e==`number`){if(typeof t==`string`)throw TypeError(`The "string" argument must be of type string. Received type number`);return d(e)}return c(e,t,n)}s.poolSize=8192;function c(e,t,n){if(typeof e==`string`)return m(e,t);if(ArrayBuffer.isView(e))return g(e);if(e==null)throw TypeError(`The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type `+typeof e);if(X(e,ArrayBuffer)||e&&X(e.buffer,ArrayBuffer)||typeof SharedArrayBuffer<`u`&&(X(e,SharedArrayBuffer)||e&&X(e.buffer,SharedArrayBuffer)))return _(e,t,n);if(typeof e==`number`)throw TypeError(`The "value" argument must not be of type number. Received type number`);let r=e.valueOf&&e.valueOf();if(r!=null&&r!==e)return s.from(r,t,n);let i=y(e);if(i)return i;if(typeof Symbol<`u`&&Symbol.toPrimitive!=null&&typeof e[Symbol.toPrimitive]==`function`)return s.from(e[Symbol.toPrimitive](`string`),t,n);throw TypeError(`The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type `+typeof e)}s.from=function(e,t,n){return c(e,t,n)},Object.setPrototypeOf(s.prototype,Uint8Array.prototype),Object.setPrototypeOf(s,Uint8Array);function l(e){if(typeof e!=`number`)throw TypeError(`"size" argument must be of type number`);if(e<0)throw RangeError(`The value "`+e+`" is invalid for option "size"`)}function u(e,t,n){return l(e),e<=0||t===void 0?o(e):typeof n==`string`?o(e).fill(t,n):o(e).fill(t)}s.alloc=function(e,t,n){return u(e,t,n)};function d(e){return l(e),o(e<0?0:b(e)|0)}s.allocUnsafe=function(e){return d(e)},s.allocUnsafeSlow=function(e){return d(e)};function m(e,t){if((typeof t!=`string`||t===``)&&(t=`utf8`),!s.isEncoding(t))throw TypeError(`Unknown encoding: `+t);let n=S(e,t)|0,r=o(n),i=r.write(e,t);return i!==n&&(r=r.slice(0,i)),r}function h(e){let t=e.length<0?0:b(e.length)|0,n=o(t);for(let r=0;r<t;r+=1)n[r]=e[r]&255;return n}function g(e){if(X(e,Uint8Array)){let t=new Uint8Array(e);return _(t.buffer,t.byteOffset,t.byteLength)}return h(e)}function _(e,t,n){if(t<0||e.byteLength<t)throw RangeError(`"offset" is outside of buffer bounds`);if(e.byteLength<t+(n||0))throw RangeError(`"length" is outside of buffer bounds`);let r;return r=t===void 0&&n===void 0?new Uint8Array(e):n===void 0?new Uint8Array(e,t):new Uint8Array(e,t,n),Object.setPrototypeOf(r,s.prototype),r}function y(e){if(s.isBuffer(e)){let t=b(e.length)|0,n=o(t);return n.length===0||e.copy(n,0,0,t),n}if(e.length!==void 0)return typeof e.length!=`number`||Z(e.length)?o(0):h(e);if(e.type===`Buffer`&&Array.isArray(e.data))return h(e.data)}function b(e){if(e>=i)throw RangeError(`Attempt to allocate Buffer larger than maximum size: 0x`+i.toString(16)+` bytes`);return e|0}function x(e){return+e!=e&&(e=0),s.alloc(+e)}s.isBuffer=function(e){return e!=null&&e._isBuffer===!0&&e!==s.prototype},s.compare=function(e,t){if(X(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),X(t,Uint8Array)&&(t=s.from(t,t.offset,t.byteLength)),!s.isBuffer(e)||!s.isBuffer(t))throw TypeError(`The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array`);if(e===t)return 0;let n=e.length,r=t.length;for(let i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:+(r<n)},s.isEncoding=function(e){switch(String(e).toLowerCase()){case`hex`:case`utf8`:case`utf-8`:case`ascii`:case`latin1`:case`binary`:case`base64`:case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return!0;default:return!1}},s.concat=function(e,t){if(!Array.isArray(e))throw TypeError(`"list" argument must be an Array of Buffers`);if(e.length===0)return s.alloc(0);let n;if(t===void 0)for(t=0,n=0;n<e.length;++n)t+=e[n].length;let r=s.allocUnsafe(t),i=0;for(n=0;n<e.length;++n){let t=e[n];if(X(t,Uint8Array))i+t.length>r.length?(s.isBuffer(t)||(t=s.from(t)),t.copy(r,i)):Uint8Array.prototype.set.call(r,t,i);else if(s.isBuffer(t))t.copy(r,i);else throw TypeError(`"list" argument must be an Array of Buffers`);i+=t.length}return r};function S(e,t){if(s.isBuffer(e))return e.length;if(ArrayBuffer.isView(e)||X(e,ArrayBuffer))return e.byteLength;if(typeof e!=`string`)throw TypeError(`The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type `+typeof e);let n=e.length,r=arguments.length>2&&arguments[2]===!0;if(!r&&n===0)return 0;let i=!1;for(;;)switch(t){case`ascii`:case`latin1`:case`binary`:return n;case`utf8`:case`utf-8`:return ce(e).length;case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return n*2;case`hex`:return n>>>1;case`base64`:return Y(e).length;default:if(i)return r?-1:ce(e).length;t=(``+t).toLowerCase(),i=!0}}s.byteLength=S;function C(e,t,n){let r=!1;if((t===void 0||t<0)&&(t=0),t>this.length||((n===void 0||n>this.length)&&(n=this.length),n<=0)||(n>>>=0,t>>>=0,n<=t))return``;for(e||=`utf8`;;)switch(e){case`hex`:return te(this,t,n);case`utf8`:case`utf-8`:return N(this,t,n);case`ascii`:return ee(this,t,n);case`latin1`:case`binary`:return I(this,t,n);case`base64`:return M(this,t,n);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return L(this,t,n);default:if(r)throw TypeError(`Unknown encoding: `+e);e=(e+``).toLowerCase(),r=!0}}s.prototype._isBuffer=!0;function w(e,t,n){let r=e[t];e[t]=e[n],e[n]=r}s.prototype.swap16=function(){let e=this.length;if(e%2!=0)throw RangeError(`Buffer size must be a multiple of 16-bits`);for(let t=0;t<e;t+=2)w(this,t,t+1);return this},s.prototype.swap32=function(){let e=this.length;if(e%4!=0)throw RangeError(`Buffer size must be a multiple of 32-bits`);for(let t=0;t<e;t+=4)w(this,t,t+3),w(this,t+1,t+2);return this},s.prototype.swap64=function(){let e=this.length;if(e%8!=0)throw RangeError(`Buffer size must be a multiple of 64-bits`);for(let t=0;t<e;t+=8)w(this,t,t+7),w(this,t+1,t+6),w(this,t+2,t+5),w(this,t+3,t+4);return this},s.prototype.toString=function(){let e=this.length;return e===0?``:arguments.length===0?N(this,0,e):C.apply(this,arguments)},s.prototype.toLocaleString=s.prototype.toString,s.prototype.equals=function(e){if(!s.isBuffer(e))throw TypeError(`Argument must be a Buffer`);return this===e||s.compare(this,e)===0},s.prototype.inspect=function(){let t=``,n=e.INSPECT_MAX_BYTES;return t=this.toString(`hex`,0,n).replace(/(.{2})/g,`$1 `).trim(),this.length>n&&(t+=` ... `),`<Buffer `+t+`>`},r&&(s.prototype[r]=s.prototype.inspect),s.prototype.compare=function(e,t,n,r,i){if(X(e,Uint8Array)&&(e=s.from(e,e.offset,e.byteLength)),!s.isBuffer(e))throw TypeError(`The "target" argument must be one of type Buffer or Uint8Array. Received type `+typeof e);if(t===void 0&&(t=0),n===void 0&&(n=e?e.length:0),r===void 0&&(r=0),i===void 0&&(i=this.length),t<0||n>e.length||r<0||i>this.length)throw RangeError(`out of range index`);if(r>=i&&t>=n)return 0;if(r>=i)return-1;if(t>=n)return 1;if(t>>>=0,n>>>=0,r>>>=0,i>>>=0,this===e)return 0;let a=i-r,o=n-t,c=Math.min(a,o),l=this.slice(r,i),u=e.slice(t,n);for(let e=0;e<c;++e)if(l[e]!==u[e]){a=l[e],o=u[e];break}return a<o?-1:+(o<a)};function T(e,t,n,r,i){if(e.length===0)return-1;if(typeof n==`string`?(r=n,n=0):n>2147483647?n=2147483647:n<-2147483648&&(n=-2147483648),n=+n,Z(n)&&(n=i?0:e.length-1),n<0&&(n=e.length+n),n>=e.length){if(i)return-1;n=e.length-1}else if(n<0){if(i)n=0;else return-1}if(typeof t==`string`&&(t=s.from(t,r)),s.isBuffer(t))return t.length===0?-1:E(e,t,n,r,i);if(typeof t==`number`)return t&=255,typeof Uint8Array.prototype.indexOf==`function`?i?Uint8Array.prototype.indexOf.call(e,t,n):Uint8Array.prototype.lastIndexOf.call(e,t,n):E(e,[t],n,r,i);throw TypeError(`val must be string, number or Buffer`)}function E(e,t,n,r,i){let a=1,o=e.length,s=t.length;if(r!==void 0&&(r=String(r).toLowerCase(),r===`ucs2`||r===`ucs-2`||r===`utf16le`||r===`utf-16le`)){if(e.length<2||t.length<2)return-1;a=2,o/=2,s/=2,n/=2}function c(e,t){return a===1?e[t]:e.readUInt16BE(t*a)}let l;if(i){let r=-1;for(l=n;l<o;l++)if(c(e,l)===c(t,r===-1?0:l-r)){if(r===-1&&(r=l),l-r+1===s)return r*a}else r!==-1&&(l-=l-r),r=-1}else for(n+s>o&&(n=o-s),l=n;l>=0;l--){let n=!0;for(let r=0;r<s;r++)if(c(e,l+r)!==c(t,r)){n=!1;break}if(n)return l}return-1}s.prototype.includes=function(e,t,n){return this.indexOf(e,t,n)!==-1},s.prototype.indexOf=function(e,t,n){return T(this,e,t,n,!0)},s.prototype.lastIndexOf=function(e,t,n){return T(this,e,t,n,!1)};function D(e,t,n,r){n=Number(n)||0;let i=e.length-n;r?(r=Number(r),r>i&&(r=i)):r=i;let a=t.length;r>a/2&&(r=a/2);let o=0;for(;o<r;++o){let r=parseInt(t.substr(o*2,2),16);if(Z(r))return o;e[n+o]=r}return o}function O(e,t,n,r){return ue(ce(t,e.length-n),e,n,r)}function k(e,t,n,r){return ue(J(t),e,n,r)}function A(e,t,n,r){return ue(Y(t),e,n,r)}function j(e,t,n,r){return ue(le(t,e.length-n),e,n,r)}s.prototype.write=function(e,t,n,r){if(t===void 0)r=`utf8`,n=this.length,t=0;else if(n===void 0&&typeof t==`string`)r=t,n=this.length,t=0;else if(isFinite(t))t>>>=0,isFinite(n)?(n>>>=0,r===void 0&&(r=`utf8`)):(r=n,n=void 0);else throw Error(`Buffer.write(string, encoding, offset[, length]) is no longer supported`);let i=this.length-t;if((n===void 0||n>i)&&(n=i),e.length>0&&(n<0||t<0)||t>this.length)throw RangeError(`Attempt to write outside buffer bounds`);r||=`utf8`;let a=!1;for(;;)switch(r){case`hex`:return D(this,e,t,n);case`utf8`:case`utf-8`:return O(this,e,t,n);case`ascii`:case`latin1`:case`binary`:return k(this,e,t,n);case`base64`:return A(this,e,t,n);case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return j(this,e,t,n);default:if(a)throw TypeError(`Unknown encoding: `+r);r=(``+r).toLowerCase(),a=!0}},s.prototype.toJSON=function(){return{type:`Buffer`,data:Array.prototype.slice.call(this._arr||this,0)}};function M(e,n,r){return n===0&&r===e.length?t.fromByteArray(e):t.fromByteArray(e.slice(n,r))}function N(e,t,n){n=Math.min(e.length,n);let r=[],i=t;for(;i<n;){let t=e[i],a=null,o=t>239?4:t>223?3:t>191?2:1;if(i+o<=n){let n,r,s,c;switch(o){case 1:t<128&&(a=t);break;case 2:n=e[i+1],(n&192)==128&&(c=(t&31)<<6|n&63,c>127&&(a=c));break;case 3:n=e[i+1],r=e[i+2],(n&192)==128&&(r&192)==128&&(c=(t&15)<<12|(n&63)<<6|r&63,c>2047&&(c<55296||c>57343)&&(a=c));break;case 4:n=e[i+1],r=e[i+2],s=e[i+3],(n&192)==128&&(r&192)==128&&(s&192)==128&&(c=(t&15)<<18|(n&63)<<12|(r&63)<<6|s&63,c>65535&&c<1114112&&(a=c))}}a===null?(a=65533,o=1):a>65535&&(a-=65536,r.push(a>>>10&1023|55296),a=56320|a&1023),r.push(a),i+=o}return F(r)}var P=4096;function F(e){let t=e.length;if(t<=P)return String.fromCharCode.apply(String,e);let n=``,r=0;for(;r<t;)n+=String.fromCharCode.apply(String,e.slice(r,r+=P));return n}function ee(e,t,n){let r=``;n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]&127);return r}function I(e,t,n){let r=``;n=Math.min(e.length,n);for(let i=t;i<n;++i)r+=String.fromCharCode(e[i]);return r}function te(e,t,n){let r=e.length;(!t||t<0)&&(t=0),(!n||n<0||n>r)&&(n=r);let i=``;for(let r=t;r<n;++r)i+=de[e[r]];return i}function L(e,t,n){let r=e.slice(t,n),i=``;for(let e=0;e<r.length-1;e+=2)i+=String.fromCharCode(r[e]+r[e+1]*256);return i}s.prototype.slice=function(e,t){let n=this.length;e=~~e,t=t===void 0?n:~~t,e<0?(e+=n,e<0&&(e=0)):e>n&&(e=n),t<0?(t+=n,t<0&&(t=0)):t>n&&(t=n),t<e&&(t=e);let r=this.subarray(e,t);return Object.setPrototypeOf(r,s.prototype),r};function R(e,t,n){if(e%1!=0||e<0)throw RangeError(`offset is not uint`);if(e+t>n)throw RangeError(`Trying to access beyond buffer length`)}s.prototype.readUintLE=s.prototype.readUIntLE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);let r=this[e],i=1,a=0;for(;++a<t&&(i*=256);)r+=this[e+a]*i;return r},s.prototype.readUintBE=s.prototype.readUIntBE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);let r=this[e+--t],i=1;for(;t>0&&(i*=256);)r+=this[e+--t]*i;return r},s.prototype.readUint8=s.prototype.readUInt8=function(e,t){return e>>>=0,t||R(e,1,this.length),this[e]},s.prototype.readUint16LE=s.prototype.readUInt16LE=function(e,t){return e>>>=0,t||R(e,2,this.length),this[e]|this[e+1]<<8},s.prototype.readUint16BE=s.prototype.readUInt16BE=function(e,t){return e>>>=0,t||R(e,2,this.length),this[e]<<8|this[e+1]},s.prototype.readUint32LE=s.prototype.readUInt32LE=function(e,t){return e>>>=0,t||R(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+this[e+3]*16777216},s.prototype.readUint32BE=s.prototype.readUInt32BE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]*16777216+(this[e+1]<<16|this[e+2]<<8|this[e+3])},s.prototype.readBigUInt64LE=Q(function(e){e>>>=0,oe(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&K(e,this.length-8);let r=t+this[++e]*256+this[++e]*2**16+this[++e]*2**24,i=this[++e]+this[++e]*256+this[++e]*2**16+n*2**24;return BigInt(r)+(BigInt(i)<<BigInt(32))}),s.prototype.readBigUInt64BE=Q(function(e){e>>>=0,oe(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&K(e,this.length-8);let r=t*2**24+this[++e]*2**16+this[++e]*256+this[++e],i=this[++e]*2**24+this[++e]*2**16+this[++e]*256+n;return(BigInt(r)<<BigInt(32))+BigInt(i)}),s.prototype.readIntLE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);let r=this[e],i=1,a=0;for(;++a<t&&(i*=256);)r+=this[e+a]*i;return i*=128,r>=i&&(r-=2**(8*t)),r},s.prototype.readIntBE=function(e,t,n){e>>>=0,t>>>=0,n||R(e,t,this.length);let r=t,i=1,a=this[e+--r];for(;r>0&&(i*=256);)a+=this[e+--r]*i;return i*=128,a>=i&&(a-=2**(8*t)),a},s.prototype.readInt8=function(e,t){return e>>>=0,t||R(e,1,this.length),this[e]&128?(255-this[e]+1)*-1:this[e]},s.prototype.readInt16LE=function(e,t){e>>>=0,t||R(e,2,this.length);let n=this[e]|this[e+1]<<8;return n&32768?n|4294901760:n},s.prototype.readInt16BE=function(e,t){e>>>=0,t||R(e,2,this.length);let n=this[e+1]|this[e]<<8;return n&32768?n|4294901760:n},s.prototype.readInt32LE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},s.prototype.readInt32BE=function(e,t){return e>>>=0,t||R(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},s.prototype.readBigInt64LE=Q(function(e){e>>>=0,oe(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&K(e,this.length-8);let r=this[e+4]+this[e+5]*256+this[e+6]*2**16+(n<<24);return(BigInt(r)<<BigInt(32))+BigInt(t+this[++e]*256+this[++e]*2**16+this[++e]*2**24)}),s.prototype.readBigInt64BE=Q(function(e){e>>>=0,oe(e,`offset`);let t=this[e],n=this[e+7];(t===void 0||n===void 0)&&K(e,this.length-8);let r=(t<<24)+this[++e]*2**16+this[++e]*256+this[++e];return(BigInt(r)<<BigInt(32))+BigInt(this[++e]*2**24+this[++e]*2**16+this[++e]*256+n)}),s.prototype.readFloatLE=function(e,t){return e>>>=0,t||R(e,4,this.length),n.read(this,e,!0,23,4)},s.prototype.readFloatBE=function(e,t){return e>>>=0,t||R(e,4,this.length),n.read(this,e,!1,23,4)},s.prototype.readDoubleLE=function(e,t){return e>>>=0,t||R(e,8,this.length),n.read(this,e,!0,52,8)},s.prototype.readDoubleBE=function(e,t){return e>>>=0,t||R(e,8,this.length),n.read(this,e,!1,52,8)};function z(e,t,n,r,i,a){if(!s.isBuffer(e))throw TypeError(`"buffer" argument must be a Buffer instance`);if(t>i||t<a)throw RangeError(`"value" argument is out of bounds`);if(n+r>e.length)throw RangeError(`Index out of range`)}s.prototype.writeUintLE=s.prototype.writeUIntLE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){let r=2**(8*n)-1;z(this,e,t,n,r,0)}let i=1,a=0;for(this[t]=e&255;++a<n&&(i*=256);)this[t+a]=e/i&255;return t+n},s.prototype.writeUintBE=s.prototype.writeUIntBE=function(e,t,n,r){if(e=+e,t>>>=0,n>>>=0,!r){let r=2**(8*n)-1;z(this,e,t,n,r,0)}let i=n-1,a=1;for(this[t+i]=e&255;--i>=0&&(a*=256);)this[t+i]=e/a&255;return t+n},s.prototype.writeUint8=s.prototype.writeUInt8=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,1,255,0),this[t]=e&255,t+1},s.prototype.writeUint16LE=s.prototype.writeUInt16LE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,2,65535,0),this[t]=e&255,this[t+1]=e>>>8,t+2},s.prototype.writeUint16BE=s.prototype.writeUInt16BE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,2,65535,0),this[t]=e>>>8,this[t+1]=e&255,t+2},s.prototype.writeUint32LE=s.prototype.writeUInt32LE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,4,4294967295,0),this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=e&255,t+4},s.prototype.writeUint32BE=s.prototype.writeUInt32BE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,4,4294967295,0),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4};function B(e,t,n,r,i){ae(t,r,i,e,n,7);let a=Number(t&BigInt(4294967295));e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a,a>>=8,e[n++]=a;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,o>>=8,e[n++]=o,n}function V(e,t,n,r,i){ae(t,r,i,e,n,7);let a=Number(t&BigInt(4294967295));e[n+7]=a,a>>=8,e[n+6]=a,a>>=8,e[n+5]=a,a>>=8,e[n+4]=a;let o=Number(t>>BigInt(32)&BigInt(4294967295));return e[n+3]=o,o>>=8,e[n+2]=o,o>>=8,e[n+1]=o,o>>=8,e[n]=o,n+8}s.prototype.writeBigUInt64LE=Q(function(e,t=0){return B(this,e,t,BigInt(0),BigInt(`0xffffffffffffffff`))}),s.prototype.writeBigUInt64BE=Q(function(e,t=0){return V(this,e,t,BigInt(0),BigInt(`0xffffffffffffffff`))}),s.prototype.writeIntLE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=2**(8*n-1);z(this,e,t,n,r-1,-r)}let i=0,a=1,o=0;for(this[t]=e&255;++i<n&&(a*=256);)e<0&&o===0&&this[t+i-1]!==0&&(o=1),this[t+i]=(e/a|0)-o&255;return t+n},s.prototype.writeIntBE=function(e,t,n,r){if(e=+e,t>>>=0,!r){let r=2**(8*n-1);z(this,e,t,n,r-1,-r)}let i=n-1,a=1,o=0;for(this[t+i]=e&255;--i>=0&&(a*=256);)e<0&&o===0&&this[t+i+1]!==0&&(o=1),this[t+i]=(e/a|0)-o&255;return t+n},s.prototype.writeInt8=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,1,127,-128),e<0&&(e=255+e+1),this[t]=e&255,t+1},s.prototype.writeInt16LE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,2,32767,-32768),this[t]=e&255,this[t+1]=e>>>8,t+2},s.prototype.writeInt16BE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,2,32767,-32768),this[t]=e>>>8,this[t+1]=e&255,t+2},s.prototype.writeInt32LE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,4,2147483647,-2147483648),this[t]=e&255,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24,t+4},s.prototype.writeInt32BE=function(e,t,n){return e=+e,t>>>=0,n||z(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=e&255,t+4},s.prototype.writeBigInt64LE=Q(function(e,t=0){return B(this,e,t,-BigInt(`0x8000000000000000`),BigInt(`0x7fffffffffffffff`))}),s.prototype.writeBigInt64BE=Q(function(e,t=0){return V(this,e,t,-BigInt(`0x8000000000000000`),BigInt(`0x7fffffffffffffff`))});function H(e,t,n,r,i,a){if(n+r>e.length||n<0)throw RangeError(`Index out of range`)}function ne(e,t,r,i,a){return t=+t,r>>>=0,a||H(e,t,r,4,34028234663852886e22,-34028234663852886e22),n.write(e,t,r,i,23,4),r+4}s.prototype.writeFloatLE=function(e,t,n){return ne(this,e,t,!0,n)},s.prototype.writeFloatBE=function(e,t,n){return ne(this,e,t,!1,n)};function re(e,t,r,i,a){return t=+t,r>>>=0,a||H(e,t,r,8,17976931348623157e292,-17976931348623157e292),n.write(e,t,r,i,52,8),r+8}s.prototype.writeDoubleLE=function(e,t,n){return re(this,e,t,!0,n)},s.prototype.writeDoubleBE=function(e,t,n){return re(this,e,t,!1,n)},s.prototype.copy=function(e,t,n,r){if(!s.isBuffer(e))throw TypeError(`argument should be a Buffer`);if(n||=0,!r&&r!==0&&(r=this.length),t>=e.length&&(t=e.length),t||=0,r>0&&r<n&&(r=n),r===n||e.length===0||this.length===0)return 0;if(t<0)throw RangeError(`targetStart out of bounds`);if(n<0||n>=this.length)throw RangeError(`Index out of range`);if(r<0)throw RangeError(`sourceEnd out of bounds`);r>this.length&&(r=this.length),e.length-t<r-n&&(r=e.length-t+n);let i=r-n;return this===e&&typeof Uint8Array.prototype.copyWithin==`function`?this.copyWithin(t,n,r):Uint8Array.prototype.set.call(e,this.subarray(n,r),t),i},s.prototype.fill=function(e,t,n,r){if(typeof e==`string`){if(typeof t==`string`?(r=t,t=0,n=this.length):typeof n==`string`&&(r=n,n=this.length),r!==void 0&&typeof r!=`string`)throw TypeError(`encoding must be a string`);if(typeof r==`string`&&!s.isEncoding(r))throw TypeError(`Unknown encoding: `+r);if(e.length===1){let t=e.charCodeAt(0);(r===`utf8`&&t<128||r===`latin1`)&&(e=t)}}else typeof e==`number`?e&=255:typeof e==`boolean`&&(e=Number(e));if(t<0||this.length<t||this.length<n)throw RangeError(`Out of range index`);if(n<=t)return this;t>>>=0,n=n===void 0?this.length:n>>>0,e||=0;let i;if(typeof e==`number`)for(i=t;i<n;++i)this[i]=e;else{let a=s.isBuffer(e)?e:s.from(e,r),o=a.length;if(o===0)throw TypeError(`The value "`+e+`" is invalid for argument "value"`);for(i=0;i<n-t;++i)this[i+t]=a[i%o]}return this};var U={};function ie(e,t,n){U[e]=class extends n{constructor(){super(),Object.defineProperty(this,"message",{value:t.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${e}]`,this.stack,delete this.name}get code(){return e}set code(e){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:e,writable:!0})}toString(){return`${this.name} [${e}]: ${this.message}`}}}ie(`ERR_BUFFER_OUT_OF_BOUNDS`,function(e){return e?`${e} is outside of buffer bounds`:`Attempt to access memory outside buffer bounds`},RangeError),ie(`ERR_INVALID_ARG_TYPE`,function(e,t){return`The "${e}" argument must be of type number. Received type ${typeof t}`},TypeError),ie(`ERR_OUT_OF_RANGE`,function(e,t,n){let r=`The value of "${e}" is out of range.`,i=n;return Number.isInteger(n)&&Math.abs(n)>2**32?i=W(String(n)):typeof n==`bigint`&&(i=String(n),(n>BigInt(2)**BigInt(32)||n<-(BigInt(2)**BigInt(32)))&&(i=W(i)),i+=`n`),r+=` It must be ${t}. Received ${i}`,r},RangeError);function W(e){let t=``,n=e.length,r=+(e[0]===`-`);for(;n>=r+4;n-=3)t=`_${e.slice(n-3,n)}${t}`;return`${e.slice(0,n)}${t}`}function G(e,t,n){oe(t,`offset`),(e[t]===void 0||e[t+n]===void 0)&&K(t,e.length-(n+1))}function ae(e,t,n,r,i,a){if(e>n||e<t){let r=typeof t==`bigint`?`n`:``,i;throw i=a>3?t===0||t===BigInt(0)?`>= 0${r} and < 2${r} ** ${(a+1)*8}${r}`:`>= -(2${r} ** ${(a+1)*8-1}${r}) and < 2 ** ${(a+1)*8-1}${r}`:`>= ${t}${r} and <= ${n}${r}`,new U.ERR_OUT_OF_RANGE(`value`,i,e)}G(r,i,a)}function oe(e,t){if(typeof e!=`number`)throw new U.ERR_INVALID_ARG_TYPE(t,`number`,e)}function K(e,t,n){throw Math.floor(e)===e?t<0?new U.ERR_BUFFER_OUT_OF_BOUNDS:new U.ERR_OUT_OF_RANGE(n||`offset`,`>= ${+!!n} and <= ${t}`,e):(oe(e,n),new U.ERR_OUT_OF_RANGE(n||`offset`,`an integer`,e))}var q=/[^+/0-9A-Za-z-_]/g;function se(e){if(e=e.split(`=`)[0],e=e.trim().replace(q,``),e.length<2)return``;for(;e.length%4!=0;)e+=`=`;return e}function ce(e,t){t||=1/0;let n,r=e.length,i=null,a=[];for(let o=0;o<r;++o){if(n=e.charCodeAt(o),n>55295&&n<57344){if(!i){if(n>56319||o+1===r){(t-=3)>-1&&a.push(239,191,189);continue}i=n;continue}if(n<56320){(t-=3)>-1&&a.push(239,191,189),i=n;continue}n=(i-55296<<10|n-56320)+65536}else i&&(t-=3)>-1&&a.push(239,191,189);if(i=null,n<128){if(--t<0)break;a.push(n)}else if(n<2048){if((t-=2)<0)break;a.push(n>>6|192,n&63|128)}else if(n<65536){if((t-=3)<0)break;a.push(n>>12|224,n>>6&63|128,n&63|128)}else if(n<1114112){if((t-=4)<0)break;a.push(n>>18|240,n>>12&63|128,n>>6&63|128,n&63|128)}else throw Error(`Invalid code point`)}return a}function J(e){let t=[];for(let n=0;n<e.length;++n)t.push(e.charCodeAt(n)&255);return t}function le(e,t){let n,r,i,a=[];for(let o=0;o<e.length&&!((t-=2)<0);++o)n=e.charCodeAt(o),r=n>>8,i=n%256,a.push(i),a.push(r);return a}function Y(e){return t.toByteArray(se(e))}function ue(e,t,n,r){let i=0;for(;i<r&&!(i+n>=t.length||i>=e.length);++i)t[i+n]=e[i];return i}function X(e,t){return e instanceof t||e!=null&&e.constructor!=null&&e.constructor.name!=null&&e.constructor.name===t.name}function Z(e){return e!==e}var de=(function(){let e=`0123456789abcdef`,t=Array(256);for(let n=0;n<16;++n){let r=n*16;for(let i=0;i<16;++i)t[r+i]=e[n]+e[i]}return t})();function Q(e){return typeof BigInt>`u`?$:e}function $(){throw Error(`BigInt not supported`)}}}),h=l({"../../../node_modules/.pnpm/process@0.11.10/node_modules/process/browser.js"(e,t){v();var n=t.exports={},r,i;function a(){throw Error(`setTimeout has not been defined`)}function o(){throw Error(`clearTimeout has not been defined`)}(function(){try{r=typeof setTimeout==`function`?setTimeout:a}catch{r=a}try{i=typeof clearTimeout==`function`?clearTimeout:o}catch{i=o}})();function s(e){if(r===setTimeout)return setTimeout(e,0);if((r===a||!r)&&setTimeout)return r=setTimeout,setTimeout(e,0);try{return r(e,0)}catch{try{return r.call(null,e,0)}catch{return r.call(this,e,0)}}}function c(e){if(i===clearTimeout)return clearTimeout(e);if((i===o||!i)&&clearTimeout)return i=clearTimeout,clearTimeout(e);try{return i(e)}catch{try{return i.call(null,e)}catch{return i.call(this,e)}}}var l=[],u=!1,d,f=-1;function p(){u&&d&&(u=!1,d.length?l=d.concat(l):f=-1,l.length&&m())}function m(){if(!u){var e=s(p);u=!0;for(var t=l.length;t;){for(d=l,l=[];++f<t;)d&&d[f].run();f=-1,t=l.length}d=null,u=!1,c(e)}}n.nextTick=function(e){var t=Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];l.push(new h(e,t)),l.length===1&&!u&&s(m)};function h(e,t){this.fun=e,this.array=t}h.prototype.run=function(){this.fun.apply(null,this.array)},n.title=`browser`,n.browser=!0,n.env={},n.argv=[],n.version=``,n.versions={};function g(){}n.on=g,n.addListener=g,n.once=g,n.off=g,n.removeListener=g,n.removeAllListeners=g,n.emit=g,n.prependListener=g,n.prependOnceListener=g,n.listeners=function(e){return[]},n.binding=function(e){throw Error(`process.binding is not supported`)},n.cwd=function(){return`/`},n.chdir=function(e){throw Error(`process.chdir is not supported`)},n.umask=function(){return 0}}}),g,_,v=c({"scripts/browser-globals.js"(){g=d(m(),1),_=d(h(),1)}}),y=l({"../../../node_modules/.pnpm/avsc@5.7.9/node_modules/avsc/etc/browser/lib/crypto.js"(e,t){v();var n=m().Buffer;function r(e){if(e!==`md5`)throw Error(`only md5 is supported in the browser`);return new i}function i(){this.data=void 0}i.prototype.end=function(e){this.data=e},i.prototype.read=function(){return p(this.data)};function a(e,t){var n=e[0],r=e[1],i=e[2],a=e[3];n=s(n,r,i,a,t[0],7,-680876936),a=s(a,n,r,i,t[1],12,-389564586),i=s(i,a,n,r,t[2],17,606105819),r=s(r,i,a,n,t[3],22,-1044525330),n=s(n,r,i,a,t[4],7,-176418897),a=s(a,n,r,i,t[5],12,1200080426),i=s(i,a,n,r,t[6],17,-1473231341),r=s(r,i,a,n,t[7],22,-45705983),n=s(n,r,i,a,t[8],7,1770035416),a=s(a,n,r,i,t[9],12,-1958414417),i=s(i,a,n,r,t[10],17,-42063),r=s(r,i,a,n,t[11],22,-1990404162),n=s(n,r,i,a,t[12],7,1804603682),a=s(a,n,r,i,t[13],12,-40341101),i=s(i,a,n,r,t[14],17,-1502002290),r=s(r,i,a,n,t[15],22,1236535329),n=c(n,r,i,a,t[1],5,-165796510),a=c(a,n,r,i,t[6],9,-1069501632),i=c(i,a,n,r,t[11],14,643717713),r=c(r,i,a,n,t[0],20,-373897302),n=c(n,r,i,a,t[5],5,-701558691),a=c(a,n,r,i,t[10],9,38016083),i=c(i,a,n,r,t[15],14,-660478335),r=c(r,i,a,n,t[4],20,-405537848),n=c(n,r,i,a,t[9],5,568446438),a=c(a,n,r,i,t[14],9,-1019803690),i=c(i,a,n,r,t[3],14,-187363961),r=c(r,i,a,n,t[8],20,1163531501),n=c(n,r,i,a,t[13],5,-1444681467),a=c(a,n,r,i,t[2],9,-51403784),i=c(i,a,n,r,t[7],14,1735328473),r=c(r,i,a,n,t[12],20,-1926607734),n=l(n,r,i,a,t[5],4,-378558),a=l(a,n,r,i,t[8],11,-2022574463),i=l(i,a,n,r,t[11],16,1839030562),r=l(r,i,a,n,t[14],23,-35309556),n=l(n,r,i,a,t[1],4,-1530992060),a=l(a,n,r,i,t[4],11,1272893353),i=l(i,a,n,r,t[7],16,-155497632),r=l(r,i,a,n,t[10],23,-1094730640),n=l(n,r,i,a,t[13],4,681279174),a=l(a,n,r,i,t[0],11,-358537222),i=l(i,a,n,r,t[3],16,-722521979),r=l(r,i,a,n,t[6],23,76029189),n=l(n,r,i,a,t[9],4,-640364487),a=l(a,n,r,i,t[12],11,-421815835),i=l(i,a,n,r,t[15],16,530742520),r=l(r,i,a,n,t[2],23,-995338651),n=u(n,r,i,a,t[0],6,-198630844),a=u(a,n,r,i,t[7],10,1126891415),i=u(i,a,n,r,t[14],15,-1416354905),r=u(r,i,a,n,t[5],21,-57434055),n=u(n,r,i,a,t[12],6,1700485571),a=u(a,n,r,i,t[3],10,-1894986606),i=u(i,a,n,r,t[10],15,-1051523),r=u(r,i,a,n,t[1],21,-2054922799),n=u(n,r,i,a,t[8],6,1873313359),a=u(a,n,r,i,t[15],10,-30611744),i=u(i,a,n,r,t[6],15,-1560198380),r=u(r,i,a,n,t[13],21,1309151649),n=u(n,r,i,a,t[4],6,-145523070),a=u(a,n,r,i,t[11],10,-1120210379),i=u(i,a,n,r,t[2],15,718787259),r=u(r,i,a,n,t[9],21,-343485551),e[0]=h(n,e[0]),e[1]=h(r,e[1]),e[2]=h(i,e[2]),e[3]=h(a,e[3])}function o(e,t,n,r,i,a){return t=h(h(t,e),h(r,a)),h(t<<i|t>>>32-i,n)}function s(e,t,n,r,i,a,s){return o(t&n|~t&r,e,t,i,a,s)}function c(e,t,n,r,i,a,s){return o(t&r|n&~r,e,t,i,a,s)}function l(e,t,n,r,i,a,s){return o(t^n^r,e,t,i,a,s)}function u(e,t,n,r,i,a,s){return o(n^(t|~r),e,t,i,a,s)}function d(e){for(var t=e.length,n=[1732584193,-271733879,-1732584194,271733878],r=64;r<=e.length;r+=64)a(n,f(e.substring(r-64,r)));e=e.substring(r-64);var i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(r=0;r<e.length;r++)i[r>>2]|=e.charCodeAt(r)<<(r%4<<3);if(i[r>>2]|=128<<(r%4<<3),r>55)for(a(n,i),r=0;r<16;r++)i[r]=0;return i[14]=t*8,a(n,i),n}function f(e){for(var t=[],n=0;n<64;n+=4)t[n>>2]=e.charCodeAt(n)+(e.charCodeAt(n+1)<<8)+(e.charCodeAt(n+2)<<16)+(e.charCodeAt(n+3)<<24);return t}function p(e){for(var t=d(e),r=n.alloc?n.alloc(16):new n(16),i=0;i<4;i++)r.writeIntLE(t[i],i*4,4);return r}function h(e,t){return e+t|0}t.exports={createHash:r}}}),b=l({"../../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e,t){v(),t.exports=function(){if(typeof Symbol!=`function`||typeof Object.getOwnPropertySymbols!=`function`)return!1;if(typeof Symbol.iterator==`symbol`)return!0;var e={},t=/* @__PURE__ */ Symbol(`test`),n=Object(t);if(typeof t==`string`||Object.prototype.toString.call(t)!==`[object Symbol]`||Object.prototype.toString.call(n)!==`[object Symbol]`)return!1;var r=42;for(var i in e[t]=r,e)return!1;if(typeof Object.keys==`function`&&Object.keys(e).length!==0||typeof Object.getOwnPropertyNames==`function`&&Object.getOwnPropertyNames(e).length!==0)return!1;var a=Object.getOwnPropertySymbols(e);if(a.length!==1||a[0]!==t||!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if(typeof Object.getOwnPropertyDescriptor==`function`){var o=Object.getOwnPropertyDescriptor(e,t);if(o.value!==r||o.enumerable!==!0)return!1}return!0}}}),x=l({"../../../node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){v();var n=b();t.exports=function(){return n()&&!!Symbol.toStringTag}}}),S=l({"../../../node_modules/.pnpm/es-object-atoms@1.1.2/node_modules/es-object-atoms/index.js"(e,t){v(),t.exports=Object}}),C=l({"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){v(),t.exports=Error}}),w=l({"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){v(),t.exports=EvalError}}),T=l({"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){v(),t.exports=RangeError}}),E=l({"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){v(),t.exports=ReferenceError}}),D=l({"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){v(),t.exports=SyntaxError}}),O=l({"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){v(),t.exports=TypeError}}),k=l({"../../../node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){v(),t.exports=URIError}}),A=l({"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){v(),t.exports=Math.abs}}),j=l({"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){v(),t.exports=Math.floor}}),M=l({"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){v(),t.exports=Math.max}}),N=l({"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){v(),t.exports=Math.min}}),P=l({"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){v(),t.exports=Math.pow}}),F=l({"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){v(),t.exports=Math.round}}),ee=l({"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e,t){v(),t.exports=Number.isNaN||function(e){return e!==e}}}),I=l({"../../../node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){v();var n=ee();t.exports=function(e){return n(e)||e===0?e:e<0?-1:1}}}),te=l({"../../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){v(),t.exports=Object.getOwnPropertyDescriptor}}),L=l({"../../../node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){v();var n=te();if(n)try{n([],`length`)}catch{n=null}t.exports=n}}),R=l({"../../../node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(e,t){v();var n=Object.defineProperty||!1;if(n)try{n({},`a`,{value:1})}catch{n=!1}t.exports=n}}),z=l({"../../../node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){v();var n=typeof Symbol<`u`&&Symbol,r=b();t.exports=function(){return typeof n!=`function`||typeof Symbol!=`function`||typeof n(`foo`)!=`symbol`||typeof/* @__PURE__ */ Symbol(`bar`)!=`symbol`?!1:r()}}}),B=l({"../../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(e,t){v(),t.exports=typeof Reflect<`u`&&Reflect.getPrototypeOf||null}}),V=l({"../../../node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){v(),t.exports=Object}}),H=l({"../../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){v(),t.exports=V().getPrototypeOf||null}}),ne=l({"../../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(e,t){v();var n=`Function.prototype.bind called on incompatible `,r=Object.prototype.toString,i=Math.max,a=`[object Function]`,o=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var i=0;i<t.length;i+=1)n[i+e.length]=t[i];return n},s=function(e,t){for(var n=[],r=t||0,i=0;r<e.length;r+=1,i+=1)n[i]=e[r];return n},c=function(e,t){for(var n=``,r=0;r<e.length;r+=1)n+=e[r],r+1<e.length&&(n+=t);return n};t.exports=function(e){var t=this;if(typeof t!=`function`||r.apply(t)!==a)throw TypeError(n+t);for(var l=s(arguments,1),u,d=function(){if(this instanceof u){var n=t.apply(this,o(l,arguments));return Object(n)===n?n:this}return t.apply(e,o(l,arguments))},f=i(0,t.length-l.length),p=[],m=0;m<f;m++)p[m]=`$`+m;if(u=Function(`binder`,`return function (`+c(p,`,`)+`){ return binder.apply(this,arguments); }`)(d),t.prototype){var h=function(){};h.prototype=t.prototype,u.prototype=new h,h.prototype=null}return u}}}),re=l({"../../../node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){v();var n=ne();t.exports=Function.prototype.bind||n}}),U=l({"../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(e,t){v(),t.exports=Function.prototype.call}}),ie=l({"../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(e,t){v(),t.exports=Function.prototype.apply}}),W=l({"../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(e,t){v(),t.exports=typeof Reflect<`u`&&Reflect&&Reflect.apply}}),G=l({"../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){v();var n=re(),r=ie(),i=U();t.exports=W()||n.call(i,r)}}),ae=l({"../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){v();var n=re(),r=O(),i=U(),a=G();t.exports=function(e){if(e.length<1||typeof e[0]!=`function`)throw new r(`a function is required`);return a(n,i,e)}}}),oe=l({"../../../node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){v();var n=ae(),r=L(),i;try{i=[].__proto__===Array.prototype}catch(e){if(!e||typeof e!=`object`||!(`code`in e)||e.code!==`ERR_PROTO_ACCESS`)throw e}var a=!!i&&r&&r(Object.prototype,`__proto__`),o=Object,s=o.getPrototypeOf;t.exports=a&&typeof a.get==`function`?n([a.get]):typeof s==`function`&&(function(e){return s(e==null?e:o(e))})}}),K=l({"../../../node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){v();var n=B(),r=H(),i=oe();t.exports=n?function(e){return n(e)}:r?function(e){if(!e||typeof e!=`object`&&typeof e!=`function`)throw TypeError(`getProto: not an object`);return r(e)}:i?function(e){return i(e)}:null}}),q=l({"../../../node_modules/.pnpm/hasown@2.0.4/node_modules/hasown/index.js"(e,t){v();var n=Function.prototype.call,r=Object.prototype.hasOwnProperty;t.exports=re().call(n,r)}}),se=l({"../../../node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){v();var n,r=S(),i=C(),a=w(),o=T(),s=E(),c=D(),l=O(),u=k(),d=A(),f=j(),p=M(),m=N(),h=P(),g=F(),_=I(),y=Function,b=function(e){try{return y(`"use strict"; return (`+e+`).constructor;`)()}catch{}},x=L(),ee=R(),te=function(){throw new l},V=x?(function(){try{return arguments.callee,te}catch{try{return x(arguments,`callee`).get}catch{return te}}})():te,ne=z()(),W=K(),G=H(),ae=B(),oe=ie(),se=U(),ce={},J=typeof Uint8Array>`u`||!W?n:W(Uint8Array),le={__proto__:null,"%AggregateError%":typeof AggregateError>`u`?n:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>`u`?n:ArrayBuffer,"%ArrayIteratorPrototype%":ne&&W?W([][Symbol.iterator]()):n,"%AsyncFromSyncIteratorPrototype%":n,"%AsyncFunction%":ce,"%AsyncGenerator%":ce,"%AsyncGeneratorFunction%":ce,"%AsyncIteratorPrototype%":ce,"%Atomics%":typeof Atomics>`u`?n:Atomics,"%BigInt%":typeof BigInt>`u`?n:BigInt,"%BigInt64Array%":typeof BigInt64Array>`u`?n:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>`u`?n:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>`u`?n:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":a,"%Float16Array%":typeof Float16Array>`u`?n:Float16Array,"%Float32Array%":typeof Float32Array>`u`?n:Float32Array,"%Float64Array%":typeof Float64Array>`u`?n:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>`u`?n:FinalizationRegistry,"%Function%":y,"%GeneratorFunction%":ce,"%Int8Array%":typeof Int8Array>`u`?n:Int8Array,"%Int16Array%":typeof Int16Array>`u`?n:Int16Array,"%Int32Array%":typeof Int32Array>`u`?n:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":ne&&W?W(W([][Symbol.iterator]())):n,"%JSON%":typeof JSON==`object`?JSON:n,"%Map%":typeof Map>`u`?n:Map,"%MapIteratorPrototype%":typeof Map>`u`||!ne||!W?n:W((/* @__PURE__ */ new Map())[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":r,"%Object.getOwnPropertyDescriptor%":x,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>`u`?n:Promise,"%Proxy%":typeof Proxy>`u`?n:Proxy,"%RangeError%":o,"%ReferenceError%":s,"%Reflect%":typeof Reflect>`u`?n:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>`u`?n:Set,"%SetIteratorPrototype%":typeof Set>`u`||!ne||!W?n:W((/* @__PURE__ */ new Set())[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>`u`?n:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":ne&&W?W(``[Symbol.iterator]()):n,"%Symbol%":ne?Symbol:n,"%SyntaxError%":c,"%ThrowTypeError%":V,"%TypedArray%":J,"%TypeError%":l,"%Uint8Array%":typeof Uint8Array>`u`?n:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>`u`?n:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>`u`?n:Uint16Array,"%Uint32Array%":typeof Uint32Array>`u`?n:Uint32Array,"%URIError%":u,"%WeakMap%":typeof WeakMap>`u`?n:WeakMap,"%WeakRef%":typeof WeakRef>`u`?n:WeakRef,"%WeakSet%":typeof WeakSet>`u`?n:WeakSet,"%Function.prototype.call%":se,"%Function.prototype.apply%":oe,"%Object.defineProperty%":ee,"%Object.getPrototypeOf%":G,"%Math.abs%":d,"%Math.floor%":f,"%Math.max%":p,"%Math.min%":m,"%Math.pow%":h,"%Math.round%":g,"%Math.sign%":_,"%Reflect.getPrototypeOf%":ae};if(W)try{null.error}catch(e){Y=W(W(e)),le[`%Error.prototype%`]=Y}var Y,ue=function e(t){var n;if(t===`%AsyncFunction%`)n=b(`async function () {}`);else if(t===`%GeneratorFunction%`)n=b(`function* () {}`);else if(t===`%AsyncGeneratorFunction%`)n=b(`async function* () {}`);else if(t===`%AsyncGenerator%`){var r=e(`%AsyncGeneratorFunction%`);r&&(n=r.prototype)}else if(t===`%AsyncIteratorPrototype%`){var i=e(`%AsyncGenerator%`);i&&W&&(n=W(i.prototype))}return le[t]=n,n},X={__proto__:null,"%ArrayBufferPrototype%":[`ArrayBuffer`,`prototype`],"%ArrayPrototype%":[`Array`,`prototype`],"%ArrayProto_entries%":[`Array`,`prototype`,`entries`],"%ArrayProto_forEach%":[`Array`,`prototype`,`forEach`],"%ArrayProto_keys%":[`Array`,`prototype`,`keys`],"%ArrayProto_values%":[`Array`,`prototype`,`values`],"%AsyncFunctionPrototype%":[`AsyncFunction`,`prototype`],"%AsyncGenerator%":[`AsyncGeneratorFunction`,`prototype`],"%AsyncGeneratorPrototype%":[`AsyncGeneratorFunction`,`prototype`,`prototype`],"%BooleanPrototype%":[`Boolean`,`prototype`],"%DataViewPrototype%":[`DataView`,`prototype`],"%DatePrototype%":[`Date`,`prototype`],"%ErrorPrototype%":[`Error`,`prototype`],"%EvalErrorPrototype%":[`EvalError`,`prototype`],"%Float32ArrayPrototype%":[`Float32Array`,`prototype`],"%Float64ArrayPrototype%":[`Float64Array`,`prototype`],"%FunctionPrototype%":[`Function`,`prototype`],"%Generator%":[`GeneratorFunction`,`prototype`],"%GeneratorPrototype%":[`GeneratorFunction`,`prototype`,`prototype`],"%Int8ArrayPrototype%":[`Int8Array`,`prototype`],"%Int16ArrayPrototype%":[`Int16Array`,`prototype`],"%Int32ArrayPrototype%":[`Int32Array`,`prototype`],"%JSONParse%":[`JSON`,`parse`],"%JSONStringify%":[`JSON`,`stringify`],"%MapPrototype%":[`Map`,`prototype`],"%NumberPrototype%":[`Number`,`prototype`],"%ObjectPrototype%":[`Object`,`prototype`],"%ObjProto_toString%":[`Object`,`prototype`,`toString`],"%ObjProto_valueOf%":[`Object`,`prototype`,`valueOf`],"%PromisePrototype%":[`Promise`,`prototype`],"%PromiseProto_then%":[`Promise`,`prototype`,`then`],"%Promise_all%":[`Promise`,`all`],"%Promise_reject%":[`Promise`,`reject`],"%Promise_resolve%":[`Promise`,`resolve`],"%RangeErrorPrototype%":[`RangeError`,`prototype`],"%ReferenceErrorPrototype%":[`ReferenceError`,`prototype`],"%RegExpPrototype%":[`RegExp`,`prototype`],"%SetPrototype%":[`Set`,`prototype`],"%SharedArrayBufferPrototype%":[`SharedArrayBuffer`,`prototype`],"%StringPrototype%":[`String`,`prototype`],"%SymbolPrototype%":[`Symbol`,`prototype`],"%SyntaxErrorPrototype%":[`SyntaxError`,`prototype`],"%TypedArrayPrototype%":[`TypedArray`,`prototype`],"%TypeErrorPrototype%":[`TypeError`,`prototype`],"%Uint8ArrayPrototype%":[`Uint8Array`,`prototype`],"%Uint8ClampedArrayPrototype%":[`Uint8ClampedArray`,`prototype`],"%Uint16ArrayPrototype%":[`Uint16Array`,`prototype`],"%Uint32ArrayPrototype%":[`Uint32Array`,`prototype`],"%URIErrorPrototype%":[`URIError`,`prototype`],"%WeakMapPrototype%":[`WeakMap`,`prototype`],"%WeakSetPrototype%":[`WeakSet`,`prototype`]},Z=re(),de=q(),Q=Z.call(se,Array.prototype.concat),$=Z.call(oe,Array.prototype.splice),fe=Z.call(se,String.prototype.replace),pe=Z.call(se,String.prototype.slice),me=Z.call(se,RegExp.prototype.exec),he=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,ge=/\\(\\)?/g,_e=function(e){var t=pe(e,0,1),n=pe(e,-1);if(t===`%`&&n!==`%`)throw new c("invalid intrinsic syntax, expected closing `%`");if(n===`%`&&t!==`%`)throw new c("invalid intrinsic syntax, expected opening `%`");var r=[];return fe(e,he,function(e,t,n,i){r[r.length]=n?fe(i,ge,`$1`):t||e}),r},ve=function(e,t){var n=e,r;if(de(X,n)&&(r=X[n],n=`%`+r[0]+`%`),de(le,n)){var i=le[n];if(i===ce&&(i=ue(n)),i===void 0&&!t)throw new l(`intrinsic `+e+` exists, but is not available. Please file an issue!`);return{alias:r,name:n,value:i}}throw new c(`intrinsic `+e+` does not exist!`)};t.exports=function(e,t){if(typeof e!=`string`||e.length===0)throw new l(`intrinsic name must be a non-empty string`);if(arguments.length>1&&typeof t!=`boolean`)throw new l(`"allowMissing" argument must be a boolean`);if(me(/^%?[^%]*%?$/,e)===null)throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=_e(e),r=n.length>0?n[0]:``,i=ve(`%`+r+`%`,t),a=i.name,o=i.value,s=!1,u=i.alias;u&&(r=u[0],$(n,Q([0,1],u)));for(var d=1,f=!0;d<n.length;d+=1){var p=n[d],m=pe(p,0,1),h=pe(p,-1);if((m===`"`||m===`'`||m==="`"||h===`"`||h===`'`||h==="`")&&m!==h)throw new c(`property names with quotes must have matching quotes`);if((p===`constructor`||!f)&&(s=!0),r+=`.`+p,a=`%`+r+`%`,de(le,a))o=le[a];else if(o!=null){if(!(p in o)){if(!t)throw new l(`base intrinsic for `+e+` exists, but the property is not available.`);return}if(x&&d+1>=n.length){var g=x(o,p);f=!!g,o=f&&`get`in g&&!(`originalValue`in g.get)?g.get:o[p]}else f=de(o,p),o=o[p];f&&!s&&(le[a]=o)}}return o}}}),ce=l({"../../../node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){v();var n=se(),r=ae(),i=r([n(`%String.prototype.indexOf%`)]);t.exports=function(e,t){var a=n(e,!!t);return typeof a==`function`&&i(e,`.prototype.`)>-1?r([a]):a}}}),J=l({"../../../node_modules/.pnpm/is-arguments@1.2.0/node_modules/is-arguments/index.js"(e,t){v();var n=x()(),r=ce()(`Object.prototype.toString`),i=function(e){return n&&e&&typeof e==`object`&&Symbol.toStringTag in e?!1:r(e)===`[object Arguments]`},a=function(e){return i(e)?!0:typeof e==`object`&&!!e&&`length`in e&&typeof e.length==`number`&&e.length>=0&&r(e)!==`[object Array]`&&`callee`in e&&r(e.callee)===`[object Function]`},o=(function(){return i(arguments)})();i.isLegacyArguments=a,t.exports=o?i:a}}),le=l({"../../../node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){v();var n=ce(),r=x()(),i=q(),a=L(),o;r?(s=n(`RegExp.prototype.exec`),c={},l=function(){throw c},u={toString:l,valueOf:l},typeof Symbol.toPrimitive==`symbol`&&(u[Symbol.toPrimitive]=l),o=function(e){if(!e||typeof e!=`object`)return!1;var t=a(e,`lastIndex`);if(!(t&&i(t,`value`)))return!1;try{s(e,u)}catch(e){return e===c}}):(d=n(`Object.prototype.toString`),f=`[object RegExp]`,o=function(e){return!e||typeof e!=`object`&&typeof e!=`function`?!1:d(e)===f});var s,c,l,u,d,f;t.exports=o}}),Y=l({"../../../node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){v();var n=ce(),r=le(),i=n(`RegExp.prototype.exec`),a=O();t.exports=function(e){if(!r(e))throw new a("`regex` must be a RegExp");return function(t){return i(e,t)!==null}}}}),ue=l({"../../../node_modules/.pnpm/generator-function@2.0.1/node_modules/generator-function/index.js"(e,t){v();var n=function*(){}.constructor;t.exports=()=>n}}),X=l({"../../../node_modules/.pnpm/is-generator-function@1.1.2/node_modules/is-generator-function/index.js"(e,t){v();var n=ce(),r=Y()(/^\s*(?:function)?\*/),i=x()(),a=K(),o=n(`Object.prototype.toString`),s=n(`Function.prototype.toString`),c=ue();t.exports=function(e){if(typeof e!=`function`)return!1;if(r(s(e)))return!0;if(!i)return o(e)===`[object GeneratorFunction]`;if(!a)return!1;var t=c();return t&&a(e)===t.prototype}}}),Z=l({"../../../node_modules/.pnpm/is-callable@1.2.7/node_modules/is-callable/index.js"(e,t){v();var n=Function.prototype.toString,r=typeof Reflect==`object`&&Reflect!==null&&Reflect.apply,i,a;if(typeof r==`function`&&typeof Object.defineProperty==`function`)try{i=Object.defineProperty({},"length",{get:function(){throw a}}),a={},r(function(){throw 42},null,i)}catch(e){e!==a&&(r=null)}else r=null;var o=/^\s*class\b/,s=function(e){try{var t=n.call(e);return o.test(t)}catch{return!1}},c=function(e){try{return!s(e)&&(n.call(e),!0)}catch{return!1}},l=Object.prototype.toString,u=`[object Object]`,d=`[object Function]`,f=`[object GeneratorFunction]`,p=`[object HTMLAllCollection]`,m=`[object HTML document.all class]`,h=`[object HTMLCollection]`,g=typeof Symbol==`function`&&!!Symbol.toStringTag,_=!(0 in[,]),y=function(){return!1};typeof document==`object`&&(b=document.all,l.call(b)===l.call(document.all)&&(y=function(e){if((_||!e)&&(e===void 0||typeof e==`object`))try{var t=l.call(e);return(t===p||t===m||t===h||t===u)&&e(``)==null}catch{}return!1}));var b;t.exports=r?function(e){if(y(e))return!0;if(!e||typeof e!=`function`&&typeof e!=`object`)return!1;try{r(e,null,i)}catch(e){if(e!==a)return!1}return!s(e)&&c(e)}:function(e){if(y(e))return!0;if(!e||typeof e!=`function`&&typeof e!=`object`)return!1;if(g)return c(e);if(s(e))return!1;var t=l.call(e);return t!==d&&t!==f&&!/^\[object HTML/.test(t)?!1:c(e)}}}),de=l({"../../../node_modules/.pnpm/for-each@0.3.5/node_modules/for-each/index.js"(e,t){v();var n=Z(),r=Object.prototype.toString,i=Object.prototype.hasOwnProperty,a=function(e,t,n){for(var r=0,a=e.length;r<a;r++)i.call(e,r)&&(n==null?t(e[r],r,e):t.call(n,e[r],r,e))},o=function(e,t,n){for(var r=0,i=e.length;r<i;r++)n==null?t(e.charAt(r),r,e):t.call(n,e.charAt(r),r,e)},s=function(e,t,n){for(var r in e)i.call(e,r)&&(n==null?t(e[r],r,e):t.call(n,e[r],r,e))};function c(e){return r.call(e)===`[object Array]`}t.exports=function(e,t,r){if(!n(t))throw TypeError(`iterator must be a function`);var i;arguments.length>=3&&(i=r),c(e)?a(e,t,i):typeof e==`string`?o(e,t,i):s(e,t,i)}}}),Q=l({"../../../node_modules/.pnpm/possible-typed-array-names@1.1.0/node_modules/possible-typed-array-names/index.js"(e,t){v(),t.exports=[`Float16Array`,`Float32Array`,`Float64Array`,`Int8Array`,`Int16Array`,`Int32Array`,`Uint8Array`,`Uint8ClampedArray`,`Uint16Array`,`Uint32Array`,`BigInt64Array`,`BigUint64Array`]}}),$=l({"../../../node_modules/.pnpm/available-typed-arrays@1.0.7/node_modules/available-typed-arrays/index.js"(e,t){v();var n=Q(),r=globalThis;t.exports=function(){for(var e=[],t=0;t<n.length;t++)typeof r[n[t]]==`function`&&(e[e.length]=n[t]);return e}}}),fe=l({"../../../node_modules/.pnpm/define-data-property@1.1.4/node_modules/define-data-property/index.js"(e,t){v();var n=R(),r=D(),i=O(),a=L();t.exports=function(e,t,o){if(!e||typeof e!=`object`&&typeof e!=`function`)throw new i("`obj` must be an object or a function`");if(typeof t!=`string`&&typeof t!=`symbol`)throw new i("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!=`boolean`&&arguments[3]!==null)throw new i("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!=`boolean`&&arguments[4]!==null)throw new i("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!=`boolean`&&arguments[5]!==null)throw new i("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!=`boolean`)throw new i("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,l=arguments.length>5?arguments[5]:null,u=arguments.length>6&&arguments[6],d=!!a&&a(e,t);if(n)n(e,t,{configurable:l===null&&d?d.configurable:!l,enumerable:s===null&&d?d.enumerable:!s,value:o,writable:c===null&&d?d.writable:!c});else if(u||!s&&!c&&!l)e[t]=o;else throw new r(`This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.`)}}}),pe=l({"../../../node_modules/.pnpm/has-property-descriptors@1.0.2/node_modules/has-property-descriptors/index.js"(e,t){v();var n=R(),r=function(){return!!n};r.hasArrayLengthDefineBug=function(){if(!n)return null;try{return n([],`length`,{value:1}).length!==1}catch{return!0}},t.exports=r}}),me=l({"../../../node_modules/.pnpm/set-function-length@1.2.2/node_modules/set-function-length/index.js"(e,t){v();var n=se(),r=fe(),i=pe()(),a=L(),o=O(),s=n(`%Math.floor%`);t.exports=function(e,t){if(typeof e!=`function`)throw new o("`fn` is not a function");if(typeof t!=`number`||t<0||t>4294967295||s(t)!==t)throw new o("`length` must be a positive 32-bit integer");var n=arguments.length>2&&!!arguments[2],c=!0,l=!0;if(`length`in e&&a){var u=a(e,`length`);u&&!u.configurable&&(c=!1),u&&!u.writable&&(l=!1)}return(c||l||!n)&&(i?r(e,`length`,t,!0,!0):r(e,`length`,t)),e}}}),he=l({"../../../node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/applyBind.js"(e,t){v();var n=re(),r=ie(),i=G();t.exports=function(){return i(n,r,arguments)}}}),ge=l({"../../../node_modules/.pnpm/call-bind@1.0.9/node_modules/call-bind/index.js"(e,t){v();var n=me(),r=R(),i=ae(),a=he();t.exports=function(e){var t=i(arguments),r=1+e.length-(arguments.length-1);return n(t,r>0?r:0,!0)},r?r(t.exports,`apply`,{value:a}):t.exports.apply=a}}),_e=l({"../../../node_modules/.pnpm/which-typed-array@1.1.22/node_modules/which-typed-array/index.js"(e,t){v();var n=de(),r=$(),i=ge(),a=ce(),o=L(),s=K(),c=a(`Object.prototype.toString`),l=x()(),u=globalThis,d=r(),f=a(`String.prototype.slice`),p=a(`Array.prototype.indexOf`,!0)||function(e,t){for(var n=0;n<e.length;n+=1)if(e[n]===t)return n;return-1},m={__proto__:null};l&&o&&s?n(d,function(e){var t=new u[e];if(Symbol.toStringTag in t&&s){var n=s(t),r=o(n,Symbol.toStringTag);if(!r&&n&&(r=o(s(n),Symbol.toStringTag)),r&&r.get){var a=i(r.get);m[`$`+e]=a}}}):n(d,function(e){var t=new u[e],n=t.slice||t.set;if(n){var r=i(n);m[`$`+e]=r}});function h(e){var t=!1;return n(m,function(n,r){if(!t)try{`$`+n(e)===r&&(t=f(r,1))}catch{}}),t}function g(e){var t=!1;return n(m,function(n,r){if(!t)try{n(e),t=f(r,1)}catch{}}),t}function _(e){return p(d,e)>-1}t.exports=function(e){if(!e||typeof e!=`object`)return!1;if(!l){var t=f(c(e),8,-1);return _(t)?t:t===`Object`&&g(e)}return o?h(e):null}}}),ve=l({"../../../node_modules/.pnpm/is-typed-array@1.1.15/node_modules/is-typed-array/index.js"(e,t){v();var n=_e();t.exports=function(e){return!!n(e)}}}),ye=l({"../../../node_modules/.pnpm/util@0.12.5/node_modules/util/support/types.js"(e){v();var t=J(),n=X(),r=_e(),i=ve();function a(e){return e.call.bind(e)}var o=typeof BigInt<`u`,s=typeof Symbol<`u`,c=a(Object.prototype.toString),l=a(Number.prototype.valueOf),u=a(String.prototype.valueOf),d=a(Boolean.prototype.valueOf);o&&(f=a(BigInt.prototype.valueOf));var f;s&&(p=a(Symbol.prototype.valueOf));var p;function m(e,t){if(typeof e!=`object`)return!1;try{return t(e),!0}catch{return!1}}e.isArgumentsObject=t,e.isGeneratorFunction=n,e.isTypedArray=i;function h(e){return typeof Promise<`u`&&e instanceof Promise||typeof e==`object`&&!!e&&typeof e.then==`function`&&typeof e.catch==`function`}e.isPromise=h;function g(e){return typeof ArrayBuffer<`u`&&ArrayBuffer.isView?ArrayBuffer.isView(e):i(e)||R(e)}e.isArrayBufferView=g;function _(e){return r(e)===`Uint8Array`}e.isUint8Array=_;function y(e){return r(e)===`Uint8ClampedArray`}e.isUint8ClampedArray=y;function b(e){return r(e)===`Uint16Array`}e.isUint16Array=b;function x(e){return r(e)===`Uint32Array`}e.isUint32Array=x;function S(e){return r(e)===`Int8Array`}e.isInt8Array=S;function C(e){return r(e)===`Int16Array`}e.isInt16Array=C;function w(e){return r(e)===`Int32Array`}e.isInt32Array=w;function T(e){return r(e)===`Float32Array`}e.isFloat32Array=T;function E(e){return r(e)===`Float64Array`}e.isFloat64Array=E;function D(e){return r(e)===`BigInt64Array`}e.isBigInt64Array=D;function O(e){return r(e)===`BigUint64Array`}e.isBigUint64Array=O;function k(e){return c(e)===`[object Map]`}k.working=typeof Map<`u`&&k(/* @__PURE__ */ new Map);function A(e){return typeof Map>`u`?!1:k.working?k(e):e instanceof Map}e.isMap=A;function j(e){return c(e)===`[object Set]`}j.working=typeof Set<`u`&&j(/* @__PURE__ */ new Set);function M(e){return typeof Set>`u`?!1:j.working?j(e):e instanceof Set}e.isSet=M;function N(e){return c(e)===`[object WeakMap]`}N.working=typeof WeakMap<`u`&&N(/* @__PURE__ */ new WeakMap);function P(e){return typeof WeakMap>`u`?!1:N.working?N(e):e instanceof WeakMap}e.isWeakMap=P;function F(e){return c(e)===`[object WeakSet]`}F.working=typeof WeakSet<`u`&&F(/* @__PURE__ */ new WeakSet);function ee(e){return F(e)}e.isWeakSet=ee;function I(e){return c(e)===`[object ArrayBuffer]`}I.working=typeof ArrayBuffer<`u`&&I(/* @__PURE__ */ new ArrayBuffer);function te(e){return typeof ArrayBuffer>`u`?!1:I.working?I(e):e instanceof ArrayBuffer}e.isArrayBuffer=te;function L(e){return c(e)===`[object DataView]`}L.working=typeof ArrayBuffer<`u`&&typeof DataView<`u`&&L(new DataView(/* @__PURE__ */ new ArrayBuffer(1),0,1));function R(e){return typeof DataView>`u`?!1:L.working?L(e):e instanceof DataView}e.isDataView=R;var z=typeof SharedArrayBuffer<`u`?SharedArrayBuffer:void 0;function B(e){return c(e)===`[object SharedArrayBuffer]`}function V(e){return z!==void 0&&(B.working===void 0&&(B.working=B(new z)),B.working?B(e):e instanceof z)}e.isSharedArrayBuffer=V;function H(e){return c(e)===`[object AsyncFunction]`}e.isAsyncFunction=H;function ne(e){return c(e)===`[object Map Iterator]`}e.isMapIterator=ne;function re(e){return c(e)===`[object Set Iterator]`}e.isSetIterator=re;function U(e){return c(e)===`[object Generator]`}e.isGeneratorObject=U;function ie(e){return c(e)===`[object WebAssembly.Module]`}e.isWebAssemblyCompiledModule=ie;function W(e){return m(e,l)}e.isNumberObject=W;function G(e){return m(e,u)}e.isStringObject=G;function ae(e){return m(e,d)}e.isBooleanObject=ae;function oe(e){return o&&m(e,f)}e.isBigIntObject=oe;function K(e){return s&&m(e,p)}e.isSymbolObject=K;function q(e){return W(e)||G(e)||ae(e)||oe(e)||K(e)}e.isBoxedPrimitive=q;function se(e){return typeof Uint8Array<`u`&&(te(e)||V(e))}e.isAnyArrayBuffer=se,[`isProxy`,`isExternal`,`isModuleNamespaceObject`].forEach(function(t){Object.defineProperty(e,t,{enumerable:!1,value:function(){throw Error(t+` is not supported in userland`)}})})}}),be=l({"../../../node_modules/.pnpm/util@0.12.5/node_modules/util/support/isBufferBrowser.js"(e,t){v(),t.exports=function(e){return e&&typeof e==`object`&&typeof e.copy==`function`&&typeof e.fill==`function`&&typeof e.readUInt8==`function`}}}),xe=l({"../../../node_modules/.pnpm/inherits@2.0.4/node_modules/inherits/inherits_browser.js"(e,t){v(),t.exports=typeof Object.create==`function`?function(e,t){t&&(e.super_=t,e.prototype=Object.create(t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}))}:function(e,t){if(t){e.super_=t;var n=function(){};n.prototype=t.prototype,e.prototype=new n,e.prototype.constructor=e}}}}),Se=l({"../../../node_modules/.pnpm/util@0.12.5/node_modules/util/util.js"(e){v();var t=Object.getOwnPropertyDescriptors||function(e){for(var t=Object.keys(e),n={},r=0;r<t.length;r++)n[t[r]]=Object.getOwnPropertyDescriptor(e,t[r]);return n},n=/%[sdj%]/g;e.format=function(e){if(!C(e)){for(var t=[],r=0;r<arguments.length;r++)t.push(o(arguments[r]));return t.join(` `)}for(var r=1,i=arguments,a=i.length,s=String(e).replace(n,function(e){if(e===`%%`)return`%`;if(r>=a)return e;switch(e){case`%s`:return String(i[r++]);case`%d`:return Number(i[r++]);case`%j`:try{return JSON.stringify(i[r++])}catch{return`[Circular]`}default:return e}}),c=i[r];r<a;c=i[++r])b(c)||!D(c)?s+=` `+c:s+=` `+o(c);return s},e.deprecate=function(t,n){if(_.default!==void 0&&_.default.noDeprecation===!0)return t;if(_.default===void 0)return function(){return e.deprecate(t,n).apply(this,arguments)};var r=!1;function i(){if(!r){if(_.default.throwDeprecation)throw Error(n);_.default.traceDeprecation?console.trace(n):console.error(n),r=!0}return t.apply(this,arguments)}return i};var r={},i=/^$/;_.default.env.NODE_DEBUG&&(a=_.default.env.NODE_DEBUG,a=a.replace(/[|\\{}()[\]^$+?.]/g,`\\$&`).replace(/\*/g,`.*`).replace(/,/g,`$|^`).toUpperCase(),i=RegExp(`^`+a+`$`,`i`));var a;e.debuglog=function(t){if(t=t.toUpperCase(),!r[t]){if(i.test(t)){var n=_.default.pid;r[t]=function(){var r=e.format.apply(e,arguments);console.error(`%s %d: %s`,t,n,r)}}else r[t]=function(){}}return r[t]};function o(t,n){var r={seen:[],stylize:c};return arguments.length>=3&&(r.depth=arguments[2]),arguments.length>=4&&(r.colors=arguments[3]),y(n)?r.showHidden=n:n&&e._extend(r,n),T(r.showHidden)&&(r.showHidden=!1),T(r.depth)&&(r.depth=2),T(r.colors)&&(r.colors=!1),T(r.customInspect)&&(r.customInspect=!0),r.colors&&(r.stylize=s),u(r,t,r.depth)}e.inspect=o,o.colors={bold:[1,22],italic:[3,23],underline:[4,24],inverse:[7,27],white:[37,39],grey:[90,39],black:[30,39],blue:[34,39],cyan:[36,39],green:[32,39],magenta:[35,39],red:[31,39],yellow:[33,39]},o.styles={special:`cyan`,number:`yellow`,boolean:`yellow`,undefined:`grey`,null:`bold`,string:`green`,date:`magenta`,regexp:`red`};function s(e,t){var n=o.styles[t];return n?`\x1B[`+o.colors[n][0]+`m`+e+`\x1B[`+o.colors[n][1]+`m`:e}function c(e,t){return e}function l(e){var t={};return e.forEach(function(e,n){t[e]=!0}),t}function u(t,n,r){if(t.customInspect&&n&&A(n.inspect)&&n.inspect!==e.inspect&&!(n.constructor&&n.constructor.prototype===n)){var i=n.inspect(r,t);return C(i)||(i=u(t,i,r)),i}var a=d(t,n);if(a)return a;var o=Object.keys(n),s=l(o);if(t.showHidden&&(o=Object.getOwnPropertyNames(n)),k(n)&&(o.indexOf(`message`)>=0||o.indexOf(`description`)>=0))return f(n);if(o.length===0){if(A(n)){var c=n.name?`: `+n.name:``;return t.stylize(`[Function`+c+`]`,`special`)}if(E(n))return t.stylize(RegExp.prototype.toString.call(n),`regexp`);if(O(n))return t.stylize(Date.prototype.toString.call(n),`date`);if(k(n))return f(n)}var _=``,v=!1,y=[`{`,`}`];if(g(n)&&(v=!0,y=[`[`,`]`]),A(n)&&(_=` [Function`+(n.name?`: `+n.name:``)+`]`),E(n)&&(_=` `+RegExp.prototype.toString.call(n)),O(n)&&(_=` `+Date.prototype.toUTCString.call(n)),k(n)&&(_=` `+f(n)),o.length===0&&(!v||n.length==0))return y[0]+_+y[1];if(r<0)return E(n)?t.stylize(RegExp.prototype.toString.call(n),`regexp`):t.stylize(`[Object]`,`special`);t.seen.push(n);var b=v?p(t,n,r,s,o):o.map(function(e){return m(t,n,r,s,e,v)});return t.seen.pop(),h(b,_,y)}function d(e,t){if(T(t))return e.stylize(`undefined`,`undefined`);if(C(t)){var n=`'`+JSON.stringify(t).replace(/^"|"$/g,``).replace(/'/g,`\\'`).replace(/\\"/g,`"`)+`'`;return e.stylize(n,`string`)}if(S(t))return e.stylize(``+t,`number`);if(y(t))return e.stylize(``+t,`boolean`);if(b(t))return e.stylize(`null`,`null`)}function f(e){return`[`+Error.prototype.toString.call(e)+`]`}function p(e,t,n,r,i){for(var a=[],o=0,s=t.length;o<s;++o)ee(t,String(o))?a.push(m(e,t,n,r,String(o),!0)):a.push(``);return i.forEach(function(i){i.match(/^\d+$/)||a.push(m(e,t,n,r,i,!0))}),a}function m(e,t,n,r,i,a){var o,s,c=Object.getOwnPropertyDescriptor(t,i)||{value:t[i]};if(c.get?s=c.set?e.stylize(`[Getter/Setter]`,`special`):e.stylize(`[Getter]`,`special`):c.set&&(s=e.stylize(`[Setter]`,`special`)),ee(r,i)||(o=`[`+i+`]`),s||(e.seen.indexOf(c.value)<0?(s=b(n)?u(e,c.value,null):u(e,c.value,n-1),s.indexOf(`
2
+ `)>-1&&(s=a?s.split(`
3
+ `).map(function(e){return` `+e}).join(`
4
+ `).slice(2):`
5
+ `+s.split(`
6
+ `).map(function(e){return` `+e}).join(`
7
+ `))):s=e.stylize(`[Circular]`,`special`)),T(o)){if(a&&i.match(/^\d+$/))return s;o=JSON.stringify(``+i),o.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(o=o.slice(1,-1),o=e.stylize(o,`name`)):(o=o.replace(/'/g,`\\'`).replace(/\\"/g,`"`).replace(/(^"|"$)/g,`'`),o=e.stylize(o,`string`))}return o+`: `+s}function h(e,t,n){var r=0;return e.reduce(function(e,t){return r++,t.indexOf(`
8
+ `)>=0&&r++,e+t.replace(/\u001b\[\d\d?m/g,``).length+1},0)>60?n[0]+(t===``?``:t+`
9
+ `)+` `+e.join(`,
10
+ `)+` `+n[1]:n[0]+t+` `+e.join(`, `)+` `+n[1]}e.types=ye();function g(e){return Array.isArray(e)}e.isArray=g;function y(e){return typeof e==`boolean`}e.isBoolean=y;function b(e){return e===null}e.isNull=b;function x(e){return e==null}e.isNullOrUndefined=x;function S(e){return typeof e==`number`}e.isNumber=S;function C(e){return typeof e==`string`}e.isString=C;function w(e){return typeof e==`symbol`}e.isSymbol=w;function T(e){return e===void 0}e.isUndefined=T;function E(e){return D(e)&&M(e)===`[object RegExp]`}e.isRegExp=E,e.types.isRegExp=E;function D(e){return typeof e==`object`&&!!e}e.isObject=D;function O(e){return D(e)&&M(e)===`[object Date]`}e.isDate=O,e.types.isDate=O;function k(e){return D(e)&&(M(e)===`[object Error]`||e instanceof Error)}e.isError=k,e.types.isNativeError=k;function A(e){return typeof e==`function`}e.isFunction=A;function j(e){return e===null||typeof e==`boolean`||typeof e==`number`||typeof e==`string`||typeof e==`symbol`||e===void 0}e.isPrimitive=j,e.isBuffer=be();function M(e){return Object.prototype.toString.call(e)}function N(e){return e<10?`0`+e.toString(10):e.toString(10)}var P=[`Jan`,`Feb`,`Mar`,`Apr`,`May`,`Jun`,`Jul`,`Aug`,`Sep`,`Oct`,`Nov`,`Dec`];function F(){var e=/* @__PURE__ */ new Date,t=[N(e.getHours()),N(e.getMinutes()),N(e.getSeconds())].join(`:`);return[e.getDate(),P[e.getMonth()],t].join(` `)}e.log=function(){console.log(`%s - %s`,F(),e.format.apply(e,arguments))},e.inherits=xe(),e._extend=function(e,t){if(!t||!D(t))return e;for(var n=Object.keys(t),r=n.length;r--;)e[n[r]]=t[n[r]];return e};function ee(e,t){return Object.prototype.hasOwnProperty.call(e,t)}var I=typeof Symbol<`u`?/* @__PURE__ */ Symbol(`util.promisify.custom`):void 0;e.promisify=function(e){if(typeof e!=`function`)throw TypeError(`The "original" argument must be of type Function`);if(I&&e[I]){var n=e[I];if(typeof n!=`function`)throw TypeError(`The "util.promisify.custom" argument must be of type Function`);return Object.defineProperty(n,I,{value:n,enumerable:!1,writable:!1,configurable:!0}),n}function n(){for(var t,n,r=new Promise(function(e,r){t=e,n=r}),i=[],a=0;a<arguments.length;a++)i.push(arguments[a]);i.push(function(e,r){e?n(e):t(r)});try{e.apply(this,i)}catch(e){n(e)}return r}return Object.setPrototypeOf(n,Object.getPrototypeOf(e)),I&&Object.defineProperty(n,I,{value:n,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(n,t(e))},e.promisify.custom=I;function te(e,t){if(!e){var n=/* @__PURE__ */ Error(`Promise was rejected with a falsy value`);n.reason=e,e=n}return t(e)}function L(e){if(typeof e!=`function`)throw TypeError(`The "original" argument must be of type Function`);function n(){for(var t=[],n=0;n<arguments.length;n++)t.push(arguments[n]);var r=t.pop();if(typeof r!=`function`)throw TypeError(`The last argument must be of type Function`);var i=this,a=function(){return r.apply(i,arguments)};e.apply(this,t).then(function(e){_.default.nextTick(a.bind(null,null,e))},function(e){_.default.nextTick(te.bind(null,e,a))})}return Object.setPrototypeOf(n,Object.getPrototypeOf(e)),Object.defineProperties(n,t(e)),n}e.callbackify=L}}),Ce=l({"../../../node_modules/.pnpm/avsc@5.7.9/node_modules/avsc/lib/utils.js"(e,t){v();var n=m(),r=y(),i=Se(),a=n.Buffer,o=new j(4096),s=/^[A-Za-z_][A-Za-z0-9_]*$/,c=i.format;function l(e){return typeof a.alloc==`function`?a.alloc(e):new a(e)}function u(e){return typeof a.allocUnsafeSlow==`function`?a.allocUnsafeSlow(e):new n.SlowBuffer(e)}function d(e,t){return typeof a.from==`function`?a.from(e,t):new a(e,t)}function f(e){return e.charAt(0).toUpperCase()+e.slice(1)}function p(e,t){return e===t?0:e<t?-1:1}function h(e,t,n){var r=e[t];return r===void 0?n:r}function g(e,t){t||=`md5`;var n=r.createHash(t);return n.end(e),n.read()}function _(e,t){var n=-1,r,i;if(!e)return-1;for(r=0,i=e.length;r<i;r++)if(e[r]===t){if(n>=0)return-2;n=r}return n}function b(e,t){for(var n={},r=0,i;r<e.length;r++)i=e[r],n[t(i)]=i;return n}function x(e){return Object.keys(e).map(function(t){return e[t]})}function S(e,t){for(var n=/* @__PURE__ */ Object.create(null),r=0,i=e.length,a;r<i;r++){if(a=e[r],t&&(a=t(a)),n[a])return!0;n[a]=!0}return!1}function C(e,t,n){for(var r=Object.getOwnPropertyNames(e),i=0,a=r.length,o;i<a;i++)if(o=r[i],!t.hasOwnProperty(o)||n){var s=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(t,o,s)}return t}function w(e){return s.test(e)}function T(e,t){return~e.indexOf(`.`)?e=e.replace(/^\./,``):t&&(e=t+`.`+e),e.split(`.`).forEach(function(t){if(!w(t))throw Error(c(`invalid name: %j`,e))}),e}function E(e){var t=e.split(`.`);return t[t.length-1]}function D(e){var t=/^(.*)\.[^.]+$/.exec(e);return t?t[1]:void 0}function O(e,t){t|=0;var n=e.charAt(t++);if(/[\d-]/.test(n)){for(;/[eE\d.+-]/.test(e.charAt(t));)t++;return t}if(/true|null/.test(e.slice(t-1,t+3)))return t+3;if(/false/.test(e.slice(t-1,t+4)))return t+4;var r=0,i=!1;do switch(n){case`{`:case`[`:i||r++;break;case`}`:case`]`:if(!i&&!--r)return t;break;case`"`:if(i=!i,!r&&!i)return t;break;case`\\`:t++}while(n=e.charAt(t++));return-1}function k(){throw Error(`abstract`)}function A(e,t){for(var n=e.prototype,r=0,a=t.length,o,s;r<a;r++)o=t[r],s=`get`+f(o),n[s]=i.deprecate(c(o),"use `."+o+"` instead of `."+s+"()`");function c(e){return function(){var t=this[e];return typeof t==`function`?t.apply(this,arguments):t}}}function j(e){this._len=e|0,this._pos=0,this._slab=l(this._len)}j.prototype.alloc=function(e){if(e<0)throw Error(`negative length`);var t=this._len;return e>t?l(e):(this._pos+e>t&&(this._slab=l(t),this._pos=0),this._slab.slice(this._pos,this._pos+=e))};function M(e){var t=2**31,n=Math.floor(e||Math.random()*(t-1));this._max=t,this._nextInt=function(){return n=(1103515245*n+12345)%t}}M.prototype.nextBoolean=function(){return!!(this._nextInt()%2)},M.prototype.nextInt=function(e,t){return t===void 0&&(t=e,e=0),t=t===void 0?this._max:t,e+Math.floor(this.nextFloat()*(t-e))},M.prototype.nextFloat=function(e,t){return t===void 0&&(t=e,e=0),t=t===void 0?1:t,e+(t-e)*this._nextInt()/this._max},M.prototype.nextString=function(e,t){e|=0,t||=`aA`;var n=``;t.indexOf(`a`)>-1&&(n+=`abcdefghijklmnopqrstuvwxyz`),t.indexOf(`A`)>-1&&(n+=`ABCDEFGHIJKLMNOPQRSTUVWXYZ`),t.indexOf(`#`)>-1&&(n+=`0123456789`),t.indexOf(`!`)>-1&&(n+=`~\`!@#$%^&*()_+-={}[]:";'<>?,./|\\`);for(var r=[],i=0;i<e;i++)r.push(this.choice(n));return r.join(``)},M.prototype.nextBuffer=function(e){for(var t=[],n=0;n<e;n++)t.push(this.nextInt(256));return d(t)},M.prototype.choice=function(e){var t=e.length;if(!t)throw Error(`choosing from empty array`);return e[this.nextInt(t)]};function N(){this._index=0,this._items=[]}N.prototype.push=function(e){var t=this._items,n=t.length|0,r;for(t.push(e);n>0&&t[n].index<t[r=n-1>>1].index;)e=t[n],t[n]=t[r],t[r]=e,n=r},N.prototype.pop=function(){var e=this._items,t=e.length-1|0,n=e[0];if(!n||n.index>this._index)return null;if(this._index++,!t)return e.pop(),n;e[0]=e.pop();for(var r=t>>1,i=0,a,o,s,c,l,u,d;i<r&&(c=e[i],a=(i<<1)+1,o=i+1<<1,u=e[a],d=e[o],!d||u.index<=d.index?(l=u,s=a):(l=d,s=o),!(l.index>=c.index));)e[s]=c,e[i]=l,i=s;return n};function P(e,t){if(this.buf=e,this.pos=t|0,this.pos<0)throw Error(`negative offset`)}P.prototype.isValid=function(){return this.pos<=this.buf.length},P.prototype._invalidate=function(){this.pos=this.buf.length+1},P.prototype.readBoolean=function(){return!!this.buf[this.pos++]},P.prototype.skipBoolean=function(){this.pos++},P.prototype.writeBoolean=function(e){this.buf[this.pos++]=!!e},P.prototype.readInt=P.prototype.readLong=function(){var e=0,t=0,n=this.buf,r,i,a,o;do r=n[this.pos++],i=r&128,e|=(r&127)<<t,t+=7;while(i&&t<28);if(i){a=e,o=268435456;do r=n[this.pos++],a+=(r&127)*o,o*=128;while(r&128);return(a%2?-(a+1):a)/2}return e>>1^-(e&1)},P.prototype.skipInt=P.prototype.skipLong=function(){for(var e=this.buf;e[this.pos++]&128;);},P.prototype.writeInt=P.prototype.writeLong=function(e){var t=this.buf,n,r;if(e>=-1073741824&&e<1073741824){r=e>=0?e<<1:~e<<1|1;do t[this.pos]=r&127,r>>=7;while(r&&(t[this.pos++]|=128))}else{n=e>=0?e*2:-e*2-1;do t[this.pos]=n&127,n/=128;while(n>=1&&(t[this.pos++]|=128))}this.pos++},P.prototype.readFloat=function(){var e=this.buf,t=this.pos;return this.pos+=4,this.pos>e.length?0:this.buf.readFloatLE(t)},P.prototype.skipFloat=function(){this.pos+=4},P.prototype.writeFloat=function(e){var t=this.buf,n=this.pos;if(this.pos+=4,!(this.pos>t.length))return this.buf.writeFloatLE(e,n)},P.prototype.readDouble=function(){var e=this.buf,t=this.pos;return this.pos+=8,this.pos>e.length?0:this.buf.readDoubleLE(t)},P.prototype.skipDouble=function(){this.pos+=8},P.prototype.writeDouble=function(e){var t=this.buf,n=this.pos;if(this.pos+=8,!(this.pos>t.length))return this.buf.writeDoubleLE(e,n)},P.prototype.readFixed=function(e){var t=this.pos;if(this.pos+=e,!(this.pos>this.buf.length)){var n=o.alloc(e);return this.buf.copy(n,0,t,t+e),n}},P.prototype.skipFixed=function(e){this.pos+=e},P.prototype.writeFixed=function(e,t){t||=e.length;var n=this.pos;this.pos+=t,!(this.pos>this.buf.length)&&e.copy(this.buf,n,0,t)},P.prototype.readBytes=function(){var e=this.readLong();if(e<0)this._invalidate();else return this.readFixed(e)},P.prototype.skipBytes=function(){var e=this.readLong();e<0?this._invalidate():this.pos+=e},P.prototype.writeBytes=function(e){var t=e.length;this.writeLong(t),this.writeFixed(e,t)},typeof a.prototype.utf8Slice==`function`?P.prototype.readString=function(){var e=this.readLong();if(e<0)return this._invalidate(),``;var t=this.pos,n=this.buf;if(this.pos+=e,!(this.pos>n.length))return this.buf.utf8Slice(t,t+e)}:P.prototype.readString=function(){var e=this.readLong();if(e<0)return this._invalidate(),``;var t=this.pos,n=this.buf;if(this.pos+=e,!(this.pos>n.length))return this.buf.slice(t,t+e).toString()},P.prototype.skipString=function(){var e=this.readLong();e<0?this._invalidate():this.pos+=e},P.prototype.writeString=function(e){var t=a.byteLength(e),n=this.buf;this.writeLong(t);var r=this.pos;if(this.pos+=t,!(this.pos>n.length)){if(t>64&&typeof a.prototype.utf8Write==`function`)n.utf8Write(e,r,t);else for(var i=0,o=t,s,c;i<o;i++)s=e.charCodeAt(i),s<128?n[r++]=s:s<2048?(n[r++]=s>>6|192,n[r++]=s&63|128):(s&64512)==55296&&((c=e.charCodeAt(i+1))&64512)==56320?(s=65536+((s&1023)<<10)+(c&1023),i++,n[r++]=s>>18|240,n[r++]=s>>12&63|128,n[r++]=s>>6&63|128,n[r++]=s&63|128):(n[r++]=s>>12|224,n[r++]=s>>6&63|128,n[r++]=s&63|128)}},typeof a.prototype.latin1Write==`function`?P.prototype.writeBinary=function(e,t){var n=this.pos;this.pos+=t,!(this.pos>this.buf.length)&&this.buf.latin1Write(e,n,t)}:typeof a.prototype.binaryWrite==`function`?P.prototype.writeBinary=function(e,t){var n=this.pos;this.pos+=t,!(this.pos>this.buf.length)&&this.buf.binaryWrite(e,n,t)}:P.prototype.writeBinary=function(e,t){var n=this.pos;this.pos+=t,!(this.pos>this.buf.length)&&this.buf.write(e,n,t,`binary`)},P.prototype.matchBoolean=function(e){return this.buf[this.pos++]-e.buf[e.pos++]},P.prototype.matchInt=P.prototype.matchLong=function(e){var t=this.readLong(),n=e.readLong();return t===n?0:t<n?-1:1},P.prototype.matchFloat=function(e){var t=this.readFloat(),n=e.readFloat();return t===n?0:t<n?-1:1},P.prototype.matchDouble=function(e){var t=this.readDouble(),n=e.readDouble();return t===n?0:t<n?-1:1},P.prototype.matchFixed=function(e,t){return this.readFixed(t).compare(e.readFixed(t))},P.prototype.matchBytes=P.prototype.matchString=function(e){var t=this.readLong(),n=this.pos;this.pos+=t;var r=e.readLong(),i=e.pos;e.pos+=r;var a=this.buf.slice(n,this.pos),o=e.buf.slice(i,e.pos);return a.compare(o)},P.prototype.unpackLongBytes=function(){var e=l(8),t=0,n=0,r=6,i=this.buf,a=i[this.pos++],o=a&1;for(e.fill(0),t|=(a&127)>>1;a&128;)a=i[this.pos++],t|=(a&127)<<r,r+=7,r>=8&&(r-=8,e[n++]=t,t>>=8);return e[n]=t,o&&F(e,8),e},P.prototype.packLongBytes=function(e){var t=(e[7]&128)>>7,n=this.buf,r=1,i=0,a=3,o;t?(F(e,8),o=1):o=0;for(var s=[e.readUIntLE(0,3),e.readUIntLE(3,3),e.readUIntLE(6,2)];a&&!s[--a];);for(;i<a;)for(o|=s[i++]<<r,r+=24;r>7;)n[this.pos++]=o&127|128,o>>=7,r-=7;o|=s[a]<<r;do n[this.pos]=o&127,o>>=7;while(o&&(n[this.pos++]|=128));this.pos++,t&&F(e,8)};function F(e,t){for(;t--;)e[t]=~e[t]}t.exports={abstractFunction:k,addDeprecatedGetters:A,bufferFrom:d,capitalize:f,copyOwnProperties:C,getHash:g,compare:p,getOption:h,impliedNamespace:D,isValidName:w,jsonEnd:O,newBuffer:l,newSlowBuffer:u,objectValues:x,qualify:T,toMap:b,singleIndexOf:_,hasDuplicates:S,unqualify:E,BufferPool:j,Lcg:M,OrderedQueue:N,Tap:P}}}),we=l({"../../../node_modules/.pnpm/avsc@5.7.9/node_modules/avsc/lib/types.js"(e,t){v();var n=Ce(),r=m(),i=Se(),a=r.Buffer,o=n.Tap,s=i.debuglog(`avsc:types`),c=i.format,l={array:M,boolean:y,bytes:T,double:C,enum:k,error:N,fixed:A,float:S,int:b,long:x,map:j,null:_,record:N,string:w},u=new n.Lcg,d=new o(n.newSlowBuffer(1024)),f=null,p=[];function h(e,t){var n;if(f?(n=f,p.push([f,this]),f=null):n=this,this._hash=new te,this.name=void 0,this.aliases=void 0,this.doc=e&&e.doc?``+e.doc:void 0,e){var r=e.name,i=e.namespace===void 0?t&&t.namespace:e.namespace;if(r!==void 0){if(r=ie(r,i),B(r))throw Error(c(`cannot rename primitive type: %j`,r));var a=t&&t.registry;if(a){if(a[r]!==void 0)throw Error(c(`duplicate type name: %s`,r));a[r]=n}}else if(t&&t.noAnonymousTypes)throw Error(c(`missing name property in schema: %j`,e));this.name=r,this.aliases=e.aliases?e.aliases.map(function(e){return ie(e,i)}):[]}}h.forSchema=function(e,t){t||={},t.registry=t.registry||{};var n=(function(e){switch(e===!0?e=`always`:e===!1?e=`never`:e===void 0?e=`auto`:typeof e==`string`&&(e=e.toLowerCase()),e){case`always`:return O;case`never`:return D;case`auto`:return;default:throw Error(c(`invalid wrap unions option: %j`,e))}})(t.wrapUnions);if(e===null)throw Error(`invalid type: null (did you mean "null"?)`);if(h.isType(e))return e;var r;if(t.typeHook&&(r=t.typeHook(e,t))){if(!h.isType(r))throw Error(c(`invalid typehook return value: %j`,r));return r}if(typeof e==`string`){if(e=ie(e,t.namespace),r=t.registry[e],r)return r;if(B(e))return t.registry[e]=h.forSchema({type:e},t);throw Error(c(`undefined type name: %s`,e))}if(e.logicalType&&t.logicalTypes&&!f){var i=t.logicalTypes[e.logicalType];if(i){var a=t.namespace,o={};Object.keys(t.registry).forEach(function(e){o[e]=t.registry[e]});try{return s(`instantiating logical type for %s`,e.logicalType),new i(e,t)}catch(n){if(s(`failed to instantiate logical type for %s`,e.logicalType),t.assertLogicalTypes)throw n;f=null,t.namespace=a,t.registry=o}}}if(Array.isArray(e)){var u=f;f=null;var d=e.map(function(e){return h.forSchema(e,t)});n||=ae(d)?O:D,f=u,r=new n(d,t)}else r=(function(n){var r=l[n];if(r===void 0)throw Error(c(`unknown type: %j`,n));return new r(e,t)})(e.type);return r},h.forValue=function(e,t){if(t||={},t.emptyArrayType=t.emptyArrayType||h.forSchema({type:`array`,items:`null`}),t.valueHook){var r=t.valueHook(e,t);if(r!==void 0){if(!h.isType(r))throw Error(c(`invalid value hook return value: %j`,r));return r}}switch(typeof e){case`string`:return h.forSchema(`string`,t);case`boolean`:return h.forSchema(`boolean`,t);case`number`:return(e|0)===e?h.forSchema(`int`,t):Math.abs(e)<9007199254740991?h.forSchema(`float`,t):h.forSchema(`double`,t);case`object`:if(e===null)return h.forSchema(`null`,t);if(Array.isArray(e))return e.length?h.forSchema({type:`array`,items:h.forTypes(e.map(function(e){return h.forValue(e,t)}),t)},t):t.emptyArrayType;if(a.isBuffer(e))return h.forSchema(`bytes`,t);var i=Object.keys(e);return i.some(function(e){return!n.isValidName(e)})?h.forSchema({type:`map`,values:h.forTypes(i.map(function(n){return h.forValue(e[n],t)}),t)},t):h.forSchema({type:`record`,fields:i.map(function(n){return{name:n,type:h.forValue(e[n],t)}})},t);default:throw Error(c(`cannot infer type from: %j`,e))}},h.forTypes=function(e,t){if(!e.length)throw Error(`no types to combine`);if(e.length===1)return e[0];t||={};var n=[],r=0,i=!0;if(e.forEach(function(e){switch(e.typeName){case`union:unwrapped`:i=!1,n=n.concat(e.types);break;case`union:wrapped`:r++,n=n.concat(e.types);break;case`null`:n.push(e);break;default:i=!1,n.push(e)}}),r){if(!i)throw Error(`cannot combine wrapped union`);var a={};n.forEach(function(e){var t=e.branchName,n=a[t];if(!n)a[t]=e;else if(!e.equals(n))throw Error(`inconsistent branch type`)});var o=t.wrapUnions,s;t.wrapUnions=!0;try{s=h.forSchema(Object.keys(a).map(function(e){return a[e]}),t)}catch(e){throw t.wrapUnions=o,e}return t.wrapUnions=o,s}var c={};n.forEach(function(e){var t=W(e),n=c[t];n||(c[t]=n=[]),n.push(e)});var l=Object.keys(c).map(function(e){var n=c[e];if(n.length===1)return n[0];switch(e){case`null`:case`boolean`:return n[0];case`number`:return oe(n);case`string`:return K(n,t);case`buffer`:return q(n,t);case`array`:return n=n.filter(function(e){return e!==t.emptyArrayType}),n.length?h.forSchema({type:`array`,items:h.forTypes(n.map(function(e){return e.itemsType}),t)},t):t.emptyArrayType;default:return se(n,t)}});return l.length===1?l[0]:h.forSchema(l,t)},h.isType=function(){var e=arguments.length;if(!e)return!1;var t=arguments[0];if(!t||typeof t._update!=`function`||typeof t.fingerprint!=`function`)return!1;if(e===1)return!0;for(var n=t.typeName,r=1;r<e;r++)if(n.indexOf(arguments[r])===0)return!0;return!1},h.__reset=function(e){s(`resetting type buffer to %d`,e),d.buf=n.newSlowBuffer(e)},Object.defineProperty(h.prototype,"branchName",{enumerable:!0,get:function(){var e=h.isType(this,`logical`)?this.underlyingType:this;return e.name?e.name:h.isType(e,`abstract`)?e._concreteTypeName:h.isType(e,`union`)?void 0:e.typeName}}),h.prototype.clone=function(e,t){return t?(t={coerce:!!t.coerceBuffers|0,fieldHook:t.fieldHook,qualifyNames:!!t.qualifyNames,skip:!!t.skipMissingFields,wrap:!!t.wrapUnions|0},this._copy(e,t)):this.fromBuffer(this.toBuffer(e))},h.prototype.compare=n.abstractFunction,h.prototype.compareBuffers=function(e,t){return this._match(new o(e),new o(t))},h.prototype.createResolver=function(e,t){if(!h.isType(e))throw Error(c(`not a type: %j`,e));if(!h.isType(this,`union`,`logical`)&&h.isType(e,`logical`))return this.createResolver(e.underlyingType,t);t||={},t.registry=t.registry||{};var n,r;if(h.isType(this,`record`,`error`)&&h.isType(e,`record`,`error`)&&(r=this.name+`:`+e.name,n=t.registry[r],n))return n;if(n=new I(this),r&&(t.registry[r]=n),h.isType(e,`union`)){var i=e.types.map(function(e){return this.createResolver(e,t)},this);n._read=function(e){var t=e.readLong();if(i[t]===void 0)throw Error(c(`invalid union index: %s`,t));return i[t]._read(e)}}else this._update(n,e,t);if(!n._read)throw Error(c(`cannot read %s as %s`,e,this));return Object.freeze(n)},h.prototype.decode=function(e,t,n){var r=new o(e,t),i=L(this,r,n);return r.isValid()?{value:i,offset:r.pos}:{value:void 0,offset:-1}},h.prototype.encode=function(e,t,n){var r=new o(t,n);return this._write(r,e),r.isValid()?r.pos:t.length-r.pos},h.prototype.equals=function(e,t){var n=h.isType(e)&&this.fingerprint().equals(e.fingerprint());return!n||!(t&&t.strict)?n:JSON.stringify(this.schema({exportAttrs:!0}))===JSON.stringify(e.schema({exportAttrs:!0}))},h.prototype.fingerprint=function(e){if(e)return n.getHash(JSON.stringify(this.schema()),e);if(!this._hash.str){var t=JSON.stringify(this.schema());this._hash.str=n.getHash(t).toString(`binary`)}return n.bufferFrom(this._hash.str,`binary`)},h.prototype.fromBuffer=function(e,t,n){var r=new o(e),i=L(this,r,t,n);if(!r.isValid())throw Error(`truncated buffer`);if(!n&&r.pos<e.length)throw Error(`trailing data`);return i},h.prototype.fromString=function(e){return this._copy(JSON.parse(e),{coerce:2})},h.prototype.inspect=function(){var e=this.typeName,t=V(e);if(B(e))return c(`<%s>`,t);var n=this.schema({exportAttrs:!0,noDeref:!0});return typeof n==`object`&&!h.isType(this,`logical`)&&(n.type=void 0),c(`<%s %j>`,t,n)},h.prototype.isValid=function(e,t){var n=(t&&t.noUndeclaredFields)|0,r=t&&t.errorHook,i,a;return r&&(a=[],i=function(t,n){r.call(this,a.slice(),t,n,e)}),this._check(e,n,i,a)},h.prototype.random=n.abstractFunction,h.prototype.schema=function(e){return this._attrs({exportAttrs:!!(e&&e.exportAttrs),noDeref:!!(e&&e.noDeref)})},h.prototype.toBuffer=function(e){d.pos=0,this._write(d,e);var t=n.newBuffer(d.pos);return d.isValid()?d.buf.copy(t,0,0,d.pos):this._write(new o(t),e),t},h.prototype.toJSON=function(){return this.schema({exportAttrs:!0})},h.prototype.toString=function(e){return JSON.stringify(e===void 0?this.schema({noDeref:!0}):this._copy(e,{coerce:3}))},h.prototype.wrap=function(e){var t=this._branchConstructor;return t===null?null:new t(e)},h.prototype._attrs=function(e){e.derefed=e.derefed||{};var t=this.name;if(t!==void 0){if(e.noDeref||e.derefed[t])return t;e.derefed[t]=!0}var n={};this.name!==void 0&&(n.name=t),n.type=this.typeName;var r=this._deref(n,e);return r!==void 0&&(n=r),e.exportAttrs&&(this.aliases&&this.aliases.length&&(n.aliases=this.aliases),this.doc!==void 0&&(n.doc=this.doc)),n},h.prototype._createBranchConstructor=function(){var e=this.branchName;if(e===`null`)return null;var t=~e.indexOf(`.`)?`this['`+e+`']`:`this.`+e,n=`return function Branch$(val) { `+t+` = val; };`,r=Function(n)();return r.type=this,r.prototype.unwrap=Function(`return `+t+`;`),r.prototype.unwrapped=r.prototype.unwrap,r},h.prototype._peek=function(e){var t=e.pos,n=this._read(e);return e.pos=t,n},h.prototype._check=n.abstractFunction,h.prototype._copy=n.abstractFunction,h.prototype._deref=n.abstractFunction,h.prototype._match=n.abstractFunction,h.prototype._read=n.abstractFunction,h.prototype._skip=n.abstractFunction,h.prototype._update=n.abstractFunction,h.prototype._write=n.abstractFunction,h.prototype.getAliases=function(){return this.aliases},h.prototype.getFingerprint=h.prototype.fingerprint,h.prototype.getName=function(e){return this.name||!e?this.name:this.branchName},h.prototype.getSchema=h.prototype.schema,h.prototype.getTypeName=function(){return this.typeName};function g(e){h.call(this),this._branchConstructor=this._createBranchConstructor(),e||Object.freeze(this)}i.inherits(g,h),g.prototype._update=function(e,t){t.typeName===this.typeName&&(e._read=this._read)},g.prototype._copy=function(e){return this._check(e,void 0,U),e},g.prototype._deref=function(){return this.typeName},g.prototype.compare=n.compare;function _(){g.call(this)}i.inherits(_,g),_.prototype._check=function(e,t,n){var r=e===null;return!r&&n&&n(e,this),r},_.prototype._read=function(){return null},_.prototype._skip=function(){},_.prototype._write=function(e,t){t!==null&&U(t,this)},_.prototype._match=function(){return 0},_.prototype.compare=_.prototype._match,_.prototype.typeName=`null`,_.prototype.random=_.prototype._read;function y(){g.call(this)}i.inherits(y,g),y.prototype._check=function(e,t,n){var r=typeof e==`boolean`;return!r&&n&&n(e,this),r},y.prototype._read=function(e){return e.readBoolean()},y.prototype._skip=function(e){e.skipBoolean()},y.prototype._write=function(e,t){typeof t!=`boolean`&&U(t,this),e.writeBoolean(t)},y.prototype._match=function(e,t){return e.matchBoolean(t)},y.prototype.typeName=`boolean`,y.prototype.random=function(){return u.nextBoolean()};function b(){g.call(this)}i.inherits(b,g),b.prototype._check=function(e,t,n){var r=e===(e|0);return!r&&n&&n(e,this),r},b.prototype._read=function(e){return e.readInt()},b.prototype._skip=function(e){e.skipInt()},b.prototype._write=function(e,t){t!==(t|0)&&U(t,this),e.writeInt(t)},b.prototype._match=function(e,t){return e.matchInt(t)},b.prototype.typeName=`int`,b.prototype.random=function(){return u.nextInt(1e3)|0};function x(){g.call(this)}i.inherits(x,g),x.prototype._check=function(e,t,n){var r=typeof e==`number`&&e%1==0&&ne(e);return!r&&n&&n(e,this),r},x.prototype._read=function(e){var t=e.readLong();if(!ne(t))throw Error(`potential precision loss`);return t},x.prototype._skip=function(e){e.skipLong()},x.prototype._write=function(e,t){(typeof t!=`number`||t%1||!ne(t))&&U(t,this),e.writeLong(t)},x.prototype._match=function(e,t){return e.matchLong(t)},x.prototype._update=function(e,t){switch(t.typeName){case`int`:e._read=t._read;break;case`abstract:long`:case`long`:e._read=this._read}},x.prototype.typeName=`long`,x.prototype.random=function(){return u.nextInt()},x.__with=function(e,t){e||={};var n={toBuffer:`_toBuffer`,fromBuffer:`_fromBuffer`,fromJSON:`_fromJSON`,toJSON:`_toJSON`,isValid:`_isValid`,compare:`compare`},r=new F(t);return Object.keys(n).forEach(function(t){if(e[t]===void 0)throw Error(c(`missing method implementation: %s`,t));r[n[t]]=e[t]}),Object.freeze(r)};function S(){g.call(this)}i.inherits(S,g),S.prototype._check=function(e,t,n){var r=typeof e==`number`;return!r&&n&&n(e,this),r},S.prototype._read=function(e){return e.readFloat()},S.prototype._skip=function(e){e.skipFloat()},S.prototype._write=function(e,t){typeof t!=`number`&&U(t,this),e.writeFloat(t)},S.prototype._match=function(e,t){return e.matchFloat(t)},S.prototype._update=function(e,t){switch(t.typeName){case`float`:case`int`:e._read=t._read;break;case`abstract:long`:case`long`:e._read=function(e){return e.readLong()}}},S.prototype.typeName=`float`,S.prototype.random=function(){return u.nextFloat(1e3)};function C(){g.call(this)}i.inherits(C,g),C.prototype._check=function(e,t,n){var r=typeof e==`number`;return!r&&n&&n(e,this),r},C.prototype._read=function(e){return e.readDouble()},C.prototype._skip=function(e){e.skipDouble()},C.prototype._write=function(e,t){typeof t!=`number`&&U(t,this),e.writeDouble(t)},C.prototype._match=function(e,t){return e.matchDouble(t)},C.prototype._update=function(e,t){switch(t.typeName){case`double`:case`float`:case`int`:e._read=t._read;break;case`abstract:long`:case`long`:e._read=function(e){return e.readLong()}}},C.prototype.typeName=`double`,C.prototype.random=function(){return u.nextFloat()};function w(){g.call(this)}i.inherits(w,g),w.prototype._check=function(e,t,n){var r=typeof e==`string`;return!r&&n&&n(e,this),r},w.prototype._read=function(e){return e.readString()},w.prototype._skip=function(e){e.skipString()},w.prototype._write=function(e,t){typeof t!=`string`&&U(t,this),e.writeString(t)},w.prototype._match=function(e,t){return e.matchString(t)},w.prototype._update=function(e,t){switch(t.typeName){case`bytes`:case`string`:e._read=this._read}},w.prototype.typeName=`string`,w.prototype.random=function(){return u.nextString(u.nextInt(32))};function T(){g.call(this)}i.inherits(T,g),T.prototype._check=function(e,t,n){var r=a.isBuffer(e);return!r&&n&&n(e,this),r},T.prototype._read=function(e){return e.readBytes()},T.prototype._skip=function(e){e.skipBytes()},T.prototype._write=function(e,t){a.isBuffer(t)||U(t,this),e.writeBytes(t)},T.prototype._match=function(e,t){return e.matchBytes(t)},T.prototype._update=w.prototype._update,T.prototype._copy=function(e,t){var r;switch((t&&t.coerce)|0){case 3:return this._check(e,void 0,U),e.toString(`binary`);case 2:if(typeof e!=`string`)throw Error(c(`cannot coerce to buffer: %j`,e));return r=n.bufferFrom(e,`binary`),this._check(r,void 0,U),r;case 1:if(!re(e))throw Error(c(`cannot coerce to buffer: %j`,e));return r=n.bufferFrom(e.data),this._check(r,void 0,U),r;default:return this._check(e,void 0,U),n.bufferFrom(e)}},T.prototype.compare=a.compare,T.prototype.typeName=`bytes`,T.prototype.random=function(){return u.nextBuffer(u.nextInt(32))};function E(e,t){if(h.call(this),!Array.isArray(e))throw Error(c(`non-array union schema: %j`,e));if(!e.length)throw Error(`empty union`);this.types=Object.freeze(e.map(function(e){return h.forSchema(e,t)})),this._branchIndices={},this.types.forEach(function(e,t){if(h.isType(e,`union`))throw Error(`unions cannot be directly nested`);var n=e.branchName;if(this._branchIndices[n]!==void 0)throw Error(c(`duplicate union branch name: %j`,n));this._branchIndices[n]=t},this)}i.inherits(E,h),E.prototype._branchConstructor=function(){throw Error(`unions cannot be directly wrapped`)},E.prototype._skip=function(e){this.types[e.readLong()]._skip(e)},E.prototype._match=function(e,t){var n=e.readLong(),r=t.readLong();return n===r?this.types[n]._match(e,t):n<r?-1:1},E.prototype._deref=function(e,t){return this.types.map(function(e){return e._attrs(t)})},E.prototype.getTypes=function(){return this.types};function D(e,t){E.call(this,e,t),this._dynamicBranches=null,this._bucketIndices={},this.types.forEach(function(e,t){if(h.isType(e,`abstract`,`logical`))this._dynamicBranches||=[],this._dynamicBranches.push({index:t,type:e});else{var n=W(e);if(this._bucketIndices[n]!==void 0)throw Error(c(`ambiguous unwrapped union: %j`,this));this._bucketIndices[n]=t}},this),Object.freeze(this)}i.inherits(D,E),D.prototype._getIndex=function(e){var t=this._bucketIndices[G(e)];return this._dynamicBranches&&(t=this._getBranchIndex(e,t)),t},D.prototype._getBranchIndex=function(e,t){for(var n=this._dynamicBranches,r=0,i=n.length,a;r<i;r++)if(a=n[r],a.type._check(e)){if(t===void 0)t=a.index;else throw Error(`ambiguous conversion`)}return t},D.prototype._check=function(e,t,n,r){var i=this._getIndex(e),a=i!==void 0;return a?this.types[i]._check(e,t,n,r):(n&&n(e,this),a)},D.prototype._read=function(e){var t=e.readLong(),n=this.types[t];if(n)return n._read(e);throw Error(c(`invalid union index: %s`,t))},D.prototype._write=function(e,t){var n=this._getIndex(t);n===void 0&&U(t,this),e.writeLong(n),t!==null&&this.types[n]._write(e,t)},D.prototype._update=function(e,t,n){for(var r=0,i=this.types.length,a;r<i;r++){try{a=this.types[r].createResolver(t,n)}catch{continue}e._read=function(e){return a._read(e)};return}},D.prototype._copy=function(e,t){var n=t&&t.coerce|0,r=t&&t.wrap|0,i;if(r===2)i=0;else{switch(n){case 1:i=re(e)&&this._bucketIndices.buffer!==void 0?this._bucketIndices.buffer:this._getIndex(e);break;case 2:if(e===null)i=this._bucketIndices.null;else if(typeof e==`object`){var a=Object.keys(e);a.length===1&&(i=this._branchIndices[a[0]],e=e[a[0]])}break;default:i=this._getIndex(e)}i===void 0&&U(e,this)}var o=this.types[i];if(e===null||r===3)return o._copy(e,t);switch(n){case 3:var s={};return s[o.branchName]=o._copy(e,t),s;default:return o._copy(e,t)}},D.prototype.compare=function(e,t){var r=this._getIndex(e),i=this._getIndex(t);if(r===void 0)U(e,this);else if(i===void 0)U(t,this);else if(r===i)return this.types[r].compare(e,t);else return n.compare(r,i)},D.prototype.typeName=`union:unwrapped`,D.prototype.random=function(){var e=u.nextInt(this.types.length);return this.types[e].random()};function O(e,t){E.call(this,e,t),Object.freeze(this)}i.inherits(O,E),O.prototype._check=function(e,t,n,r){var i=!1;if(e===null)i=this._branchIndices.null!==void 0;else if(typeof e==`object`){var a=Object.keys(e);if(a.length===1){var o=a[0],s=this._branchIndices[o];if(s!==void 0)return n?(r.push(o),i=this.types[s]._check(e[o],t,n,r),r.pop(),i):this.types[s]._check(e[o],t)}}return!i&&n&&n(e,this),i},O.prototype._read=function(e){var t=this.types[e.readLong()];if(!t)throw Error(c(`invalid union index`));var n=t._branchConstructor;return n===null?null:new n(t._read(e))},O.prototype._write=function(e,t){var n,r,i;t===null?(n=this._branchIndices.null,n===void 0&&U(t,this),e.writeLong(n)):(r=Object.keys(t),r.length===1&&(i=r[0],n=this._branchIndices[i]),n===void 0&&U(t,this),e.writeLong(n),this.types[n]._write(e,t[i]))},O.prototype._update=function(e,t,n){for(var r=0,i=this.types.length,a,o;r<i;r++){try{a=this.types[r].createResolver(t,n)}catch{continue}o=this.types[r]._branchConstructor,e._read=o?function(e){return new o(a._read(e))}:function(){return null};return}},O.prototype._copy=function(e,t){var r=t&&t.wrap|0;if(r===2){var i=this.types[0];return e===null&&i.typeName===`null`?null:new i._branchConstructor(i._copy(e,t))}if(e===null&&this._branchIndices.null!==void 0)return null;var a,o,s;if(typeof e==`object`){var c=Object.keys(e);if(c.length===1){var l=c[0];if(a=this._branchIndices[l],a===void 0&&t.qualifyNames){var u=0,d;for(o=this.types.length;u<o;u++)if(d=this.types[u],d.name&&l===n.unqualify(d.name)){a=u;break}}a!==void 0&&(s=this.types[a]._copy(e[l],t))}}if(r===1&&s===void 0)for(a=0,o=this.types.length;a<o&&s===void 0;)try{s=this.types[a]._copy(e,t)}catch{a++}if(s!==void 0)return r===3?s:new this.types[a]._branchConstructor(s);U(e,this)},O.prototype.compare=function(e,t){var r=e===null?`null`:Object.keys(e)[0],i=t===null?`null`:Object.keys(t)[0],a=this._branchIndices[r];return r===i?r===`null`?0:this.types[a].compare(e[r],t[r]):n.compare(a,this._branchIndices[i])},O.prototype.typeName=`union:wrapped`,O.prototype.random=function(){var e=u.nextInt(this.types.length),t=this.types[e],n=t._branchConstructor;return n?new n(t.random()):null};function k(e,t){if(h.call(this,e,t),!Array.isArray(e.symbols)||!e.symbols.length)throw Error(c(`invalid enum symbols: %j`,e.symbols));if(this.symbols=Object.freeze(e.symbols.slice()),this._indices={},this.symbols.forEach(function(e,t){if(!n.isValidName(e))throw Error(c(`invalid %s symbol: %j`,this,e));if(this._indices[e]!==void 0)throw Error(c(`duplicate %s symbol: %j`,this,e));this._indices[e]=t},this),this.default=e.default,this.default!==void 0&&this._indices[this.default]===void 0)throw Error(c(`invalid %s default: %j`,this,this.default));this._branchConstructor=this._createBranchConstructor(),Object.freeze(this)}i.inherits(k,h),k.prototype._check=function(e,t,n){var r=this._indices[e]!==void 0;return!r&&n&&n(e,this),r},k.prototype._read=function(e){var t=e.readLong(),n=this.symbols[t];if(n===void 0)throw Error(c(`invalid %s enum index: %s`,this.name,t));return n},k.prototype._skip=function(e){e.skipLong()},k.prototype._write=function(e,t){var n=this._indices[t];n===void 0&&U(t,this),e.writeLong(n)},k.prototype._match=function(e,t){return e.matchLong(t)},k.prototype.compare=function(e,t){return n.compare(this._indices[e],this._indices[t])},k.prototype._update=function(e,t,n){var r=this.symbols;t.typeName===`enum`&&z(this,t,!n.ignoreNamespaces)&&(t.symbols.every(function(e){return~r.indexOf(e)})||this.default!==void 0)&&(e.symbols=t.symbols.map(function(e){return this._indices[e]===void 0?this.default:e},this),e._read=t._read)},k.prototype._copy=function(e){return this._check(e,void 0,U),e},k.prototype._deref=function(e){e.symbols=this.symbols},k.prototype.getSymbols=function(){return this.symbols},k.prototype.typeName=`enum`,k.prototype.random=function(){return u.choice(this.symbols)};function A(e,t){if(h.call(this,e,t),e.size!==(e.size|0)||e.size<0)throw Error(c(`invalid %s size`,this.branchName));this.size=e.size|0,this._branchConstructor=this._createBranchConstructor(),Object.freeze(this)}i.inherits(A,h),A.prototype._check=function(e,t,n){var r=a.isBuffer(e)&&e.length===this.size;return!r&&n&&n(e,this),r},A.prototype._read=function(e){return e.readFixed(this.size)},A.prototype._skip=function(e){e.skipFixed(this.size)},A.prototype._write=function(e,t){(!a.isBuffer(t)||t.length!==this.size)&&U(t,this),e.writeFixed(t,this.size)},A.prototype._match=function(e,t){return e.matchFixed(t,this.size)},A.prototype.compare=a.compare,A.prototype._update=function(e,t,n){t.typeName===`fixed`&&this.size===t.size&&z(this,t,!n.ignoreNamespaces)&&(e.size=this.size,e._read=this._read)},A.prototype._copy=T.prototype._copy,A.prototype._deref=function(e){e.size=this.size},A.prototype.getSize=function(){return this.size},A.prototype.typeName=`fixed`,A.prototype.random=function(){return u.nextBuffer(this.size)};function j(e,t){if(h.call(this),!e.values)throw Error(c(`missing map values: %j`,e));this.valuesType=h.forSchema(e.values,t),this._branchConstructor=this._createBranchConstructor(),Object.freeze(this)}i.inherits(j,h),j.prototype._check=function(e,t,n,r){if(!e||typeof e!=`object`||Array.isArray(e))return n&&n(e,this),!1;var i=Object.keys(e),a=!0,o,s,c,l;if(n){for(c=r.length,r.push(``),o=0,s=i.length;o<s;o++)l=r[c]=i[o],this.valuesType._check(e[l],t,n,r)||(a=!1);r.pop()}else for(o=0,s=i.length;o<s;o++)if(!this.valuesType._check(e[i[o]],t))return!1;return a},j.prototype._read=function(e){for(var t=this.valuesType,n={},r;r=H(e);)for(;r--;){var i=e.readString();n[i]=t._read(e)}return n},j.prototype._skip=function(e){for(var t=this.valuesType,n,r;r=e.readLong();)if(r<0)n=e.readLong(),e.pos+=n;else for(;r--;)e.skipString(),t._skip(e)},j.prototype._write=function(e,t){(!t||typeof t!=`object`||Array.isArray(t))&&U(t,this);var n=this.valuesType,r=Object.keys(t),i=r.length,a,o;if(i)for(e.writeLong(i),a=0;a<i;a++)o=r[a],e.writeString(o),n._write(e,t[o]);e.writeLong(0)},j.prototype._match=function(){throw Error(`maps cannot be compared`)},j.prototype._update=function(e,t,n){t.typeName===`map`&&(e.valuesType=this.valuesType.createResolver(t.valuesType,n),e._read=this._read)},j.prototype._copy=function(e,t){if(e&&typeof e==`object`&&!Array.isArray(e)){var n=this.valuesType,r=Object.keys(e),i,a,o,s={};for(i=0,a=r.length;i<a;i++)o=r[i],s[o]=n._copy(e[o],t);return s}U(e,this)},j.prototype.compare=j.prototype._match,j.prototype.typeName=`map`,j.prototype.getValuesType=function(){return this.valuesType},j.prototype.random=function(){for(var e={},t=0,n=u.nextInt(10);t<n;t++)e[u.nextString(u.nextInt(20))]=this.valuesType.random();return e},j.prototype._deref=function(e,t){e.values=this.valuesType._attrs(t)};function M(e,t){if(h.call(this),!e.items)throw Error(c(`missing array items: %j`,e));this.itemsType=h.forSchema(e.items,t),this._branchConstructor=this._createBranchConstructor(),Object.freeze(this)}i.inherits(M,h),M.prototype._check=function(e,t,n,r){if(!Array.isArray(e))return n&&n(e,this),!1;var i=this.itemsType,a=!0,o,s,c;if(n){for(c=r.length,r.push(``),o=0,s=e.length;o<s;o++)r[c]=``+o,i._check(e[o],t,n,r)||(a=!1);r.pop()}else for(o=0,s=e.length;o<s;o++)if(!i._check(e[o],t))return!1;return a},M.prototype._read=function(e){for(var t=this.itemsType,n=0,r,i;i=e.readLong();)for(i<0&&(i=-i,e.skipLong()),r||=Array(i);i--;)r[n++]=t._read(e);return r||[]},M.prototype._skip=function(e){for(var t=this.itemsType,n,r;r=e.readLong();)if(r<0)n=e.readLong(),e.pos+=n;else for(;r--;)t._skip(e)},M.prototype._write=function(e,t){Array.isArray(t)||U(t,this);var n=this.itemsType,r=t.length,i;if(r)for(e.writeLong(r),i=0;i<r;i++)n._write(e,t[i]);e.writeLong(0)},M.prototype._match=function(e,t){for(var r=e.readLong(),i=t.readLong(),a;r&&i;){if(a=this.itemsType._match(e,t),a)return a;--r||(r=H(e)),--i||(i=H(t))}return n.compare(r,i)},M.prototype._update=function(e,t,n){t.typeName===`array`&&(e.itemsType=this.itemsType.createResolver(t.itemsType,n),e._read=this._read)},M.prototype._copy=function(e,t){Array.isArray(e)||U(e,this);for(var n=Array(e.length),r=0,i=e.length;r<i;r++)n[r]=this.itemsType._copy(e[r],t);return n},M.prototype._deref=function(e,t){e.items=this.itemsType._attrs(t)},M.prototype.compare=function(e,t){for(var r=e.length,i=t.length,a=0,o=Math.min(r,i),s;a<o;a++)if(s=this.itemsType.compare(e[a],t[a]))return s;return n.compare(r,i)},M.prototype.getItemsType=function(){return this.itemsType},M.prototype.typeName=`array`,M.prototype.random=function(){for(var e=[],t=0,n=u.nextInt(10);t<n;t++)e.push(this.itemsType.random());return e};function N(e,t){t||={};var r=t.namespace;if(e.namespace!==void 0)t.namespace=e.namespace;else if(e.name){var i=n.impliedNamespace(e.name);i!==void 0&&(t.namespace=i)}if(h.call(this,e,t),!Array.isArray(e.fields))throw Error(c(`non-array record fields: %j`,e.fields));if(n.hasDuplicates(e.fields,function(e){return e.name}))throw Error(c(`duplicate field name: %j`,e.fields));this._fieldsByName={},this.fields=Object.freeze(e.fields.map(function(e){var n=new ee(e,t);return this._fieldsByName[n.name]=n,n},this)),this._branchConstructor=this._createBranchConstructor(),this._isError=e.type===`error`,this.recordConstructor=this._createConstructor(t.errorStackTraces,t.omitRecordMethods),this._read=this._createReader(),this._skip=this._createSkipper(),this._write=this._createWriter(),this._check=this._createChecker(),t.namespace=r,Object.freeze(this)}i.inherits(N,h),N.prototype._getConstructorName=function(){return this.name?n.capitalize(n.unqualify(this.name)):this._isError?`Error$`:`Record$`},N.prototype._createConstructor=function(e,t){for(var n=[],r=[],a=[],o=``,s=0,c=this.fields.length,l,u,d,f,p;s<c;s++)l=this.fields[s],d=l.defaultValue,f=d()!==void 0,u=l.name,e&&this._isError&&u===`stack`&&h.isType(l.type,`string`)&&!f&&(p=l),r.push(`v`+s),o+=` `,f?(o+=`if (v`+s+` === undefined) { `,o+=`this.`+u+` = d`+a.length+`(); `,o+=`} else { this.`+u+` = v`+s+`; }
11
+ `,n.push(`d`+a.length),a.push(d)):o+=`this.`+u+` = v`+s+`;
12
+ `;p&&(o+=` if (this.stack === undefined) { `,typeof Error.captureStackTrace==`function`?o+=`Error.captureStackTrace(this, this.constructor);`:o+=`this.stack = Error().stack;`,o+=` }
13
+ `);var m=`return function `+this._getConstructorName()+`(`;m+=r.join()+`) {
14
+ `+o+`};`;var g=Function(n.join(),m).apply(void 0,a);if(t)return g;var _=this;return g.getType=function(){return _},g.type=_,this._isError&&(i.inherits(g,Error),g.prototype.name=this._getConstructorName()),g.prototype.clone=function(e){return _.clone(this,e)},g.prototype.compare=function(e){return _.compare(this,e)},g.prototype.isValid=function(e){return _.isValid(this,e)},g.prototype.toBuffer=function(){return _.toBuffer(this)},g.prototype.toString=function(){return _.toString(this)},g.prototype.wrap=function(){return _.wrap(this)},g.prototype.wrapped=g.prototype.wrap,g},N.prototype._createChecker=function(){var e=[],t=[],n=`return function check`+this._getConstructorName()+`(v, f, h, p) {
15
+ `;if(n+=` if (
16
+ `,n+=` v === null ||
17
+ `,n+=` typeof v != 'object' ||
18
+ `,n+=` (f && !this._checkFields(v))
19
+ `,n+=` ) {
20
+ `,n+=` if (h) { h(v, this); }
21
+ `,n+=` return false;
22
+ `,n+=` }
23
+ `,!this.fields.length)n+=` return true;
24
+ `;else{for(r=0,i=this.fields.length;r<i;r++)a=this.fields[r],e.push(`t`+r),t.push(a.type),a.defaultValue()!==void 0&&(n+=` var v`+r+` = v.`+a.name+`;
25
+ `);n+=` if (h) {
26
+ `,n+=` var b = 1;
27
+ `,n+=` var j = p.length;
28
+ `,n+=` p.push('');
29
+ `;for(var r=0,i=this.fields.length,a;r<i;r++)a=this.fields[r],n+=` p[j] = '`+a.name+`';
30
+ `,n+=` b &= `,a.defaultValue()===void 0?n+=`t`+r+`._check(v.`+a.name+`, f, h, p);
31
+ `:(n+=`v`+r+` === undefined || `,n+=`t`+r+`._check(v`+r+`, f, h, p);
32
+ `);n+=` p.pop();
33
+ `,n+=` return !!b;
34
+ `,n+=` } else {
35
+ return (
36
+ `,n+=this.fields.map(function(e,t){return e.defaultValue()===void 0?`t`+t+`._check(v.`+e.name+`, f)`:`(v`+t+` === undefined || t`+t+`._check(v`+t+`, f))`}).join(` &&
37
+ `),n+=`
38
+ );
39
+ }
40
+ `}return n+=`};`,Function(e.join(),n).apply(void 0,t)},N.prototype._createReader=function(){for(var e=[],t=[this.recordConstructor],n=0,r=this.fields.length;n<r;n++)e.push(`t`+n),t.push(this.fields[n].type);var i=this._getConstructorName(),a=`return function read`+i+`(t) {
41
+ `;return a+=` return new `+i+`(
42
+ `,a+=e.map(function(e){return e+`._read(t)`}).join(`,
43
+ `),a+=`
44
+ );
45
+ };`,e.unshift(i),Function(e.join(),a).apply(void 0,t)},N.prototype._createSkipper=function(){for(var e=[],t=`return function skip`+this._getConstructorName()+`(t) {
46
+ `,n=[],r=0,i=this.fields.length;r<i;r++)e.push(`t`+r),n.push(this.fields[r].type),t+=` t`+r+`._skip(t);
47
+ `;return t+=`}`,Function(e.join(),t).apply(void 0,n)},N.prototype._createWriter=function(){for(var e=[],t=`return function write`+this._getConstructorName()+`(t, v) {
48
+ `,n=[],r=0,i=this.fields.length,a,o;r<i;r++)a=this.fields[r],e.push(`t`+r),n.push(a.type),t+=` `,a.defaultValue()===void 0?t+=`t`+r+`._write(t, v.`+a.name+`);
49
+ `:(o=a.type.toBuffer(a.defaultValue()).toString(`binary`),e.push(`d`+r),n.push(o),t+=`var v`+r+` = v.`+a.name+`;
50
+ `,t+=`if (v`+r+` === undefined) {
51
+ `,t+=` t.writeBinary(d`+r+`, `+o.length+`);
52
+ `,t+=` } else {
53
+ t`+r+`._write(t, v`+r+`);
54
+ }
55
+ `);return t+=`}`,Function(e.join(),t).apply(void 0,n)},N.prototype._update=function(e,t,r){if(!z(this,t,!r.ignoreNamespaces))throw Error(c(`no alias found for %s`,t.name));for(var i=this.fields,a=t.fields,o=n.toMap(a,function(e){return e.name}),s=[],l={},u=0,d,f,p,m,h,g;u<i.length;u++){for(f=i[u],m=R(f),h=[],d=0;d<m.length;d++)p=m[d],o[p]&&h.push(p);if(h.length>1)throw Error(c(`ambiguous aliasing for %s.%s (%s)`,t.name,f.name,h));if(h.length)p=h[0],g={resolver:f.type.createResolver(o[p].type,r),name:`_`+f.name},l[p]?l[p].push(g):l[p]=[g],s.push(g.name);else{if(f.defaultValue()===void 0)throw Error(c(`no matching field for default-less %s.%s`,t.name,f.name));s.push(`undefined`)}}var _=-1;for(u=a.length;u&&l[a[--u].name]===void 0;)_=u;var v=this._getConstructorName(),y=[v],b=[this.recordConstructor],x=` return function read`+v+`(t, b) {
56
+ `;for(u=0;u<a.length;u++)if(u===_&&(x+=` if (!b) {
57
+ `),f=t.fields[u],p=f.name,l[p]===void 0)x+=~_&&u>=_?` `:` `,y.push(`r`+u),b.push(f.type),x+=`r`+u+`._skip(t);
58
+ `;else for(d=l[p].length;d--;)x+=~_&&u>=_?` `:` `,y.push(`r`+u+`f`+d),g=l[p][d],b.push(g.resolver),x+=`var `+g.name+` = `,x+=`r`+u+`f`+d+`._`+(d?`peek`:`read`)+`(t);
59
+ `;~_&&(x+=` }
60
+ `),x+=` return new `+v+`(`+s.join()+`);
61
+ };`,e._read=Function(y.join(),x).apply(void 0,b)},N.prototype._match=function(e,t){for(var n=this.fields,r=0,i=n.length,a,o,s;r<i;r++)if(a=n[r],o=a._order,s=a.type,o){if(o*=s._match(e,t),o)return o}else s._skip(e),s._skip(t);return 0},N.prototype._checkFields=function(e){for(var t=Object.keys(e),n=0,r=t.length;n<r;n++)if(!this._fieldsByName[t[n]])return!1;return!0},N.prototype._copy=function(e,t){for(var n=t&&t.fieldHook,r=[void 0],i=0,a=this.fields.length,o,s;i<a;i++)o=this.fields[i],s=e[o.name],s===void 0&&o.hasOwnProperty(`defaultValue`)&&(s=o.defaultValue()),(t&&!t.skip||s!==void 0)&&(s=o.type._copy(s,t)),n&&(s=n(o,s,this)),r.push(s);var c=this.recordConstructor;return new(c.bind.apply(c,r))},N.prototype._deref=function(e,t){e.fields=this.fields.map(function(e){var n=e.type,r={name:e.name,type:n._attrs(t)};if(t.exportAttrs){var i=e.defaultValue();i!==void 0&&(r.default=n._copy(i,{coerce:3,wrap:3}));var a=e.order;a!==`ascending`&&(r.order=a);var o=e.aliases;o.length&&(r.aliases=o);var s=e.doc;s!==void 0&&(r.doc=s)}return r})},N.prototype.compare=function(e,t){for(var n=this.fields,r=0,i=n.length,a,o,s,c;r<i;r++)if(a=n[r],o=a.name,s=a._order,c=a.type,s&&(s*=c.compare(e[o],t[o]),s))return s;return 0},N.prototype.random=function(){var e=this.fields.map(function(e){return e.type.random()});e.unshift(void 0);var t=this.recordConstructor;return new(t.bind.apply(t,e))},N.prototype.field=function(e){return this._fieldsByName[e]},N.prototype.getField=N.prototype.field,N.prototype.getFields=function(){return this.fields},N.prototype.getRecordConstructor=function(){return this.recordConstructor},Object.defineProperty(N.prototype,"typeName",{enumerable:!0,get:function(){return this._isError?`error`:`record`}});function P(e,t){this._logicalTypeName=e.logicalType,h.call(this),f=this;try{this._underlyingType=h.forSchema(e,t)}finally{f=null;var n=p.length;n&&p[n-1][0]===this&&p.pop()}this._branchConstructor=h.isType(this.underlyingType,`union`)?this.underlyingType._branchConstructor:this.underlyingType._createBranchConstructor()}i.inherits(P,h),Object.defineProperty(P.prototype,"typeName",{enumerable:!0,get:function(){return`logical:`+this._logicalTypeName}}),Object.defineProperty(P.prototype,"underlyingType",{enumerable:!0,get:function(){if(this._underlyingType)return this._underlyingType;for(var e=0,t=p.length,n;e<t;e++)if(n=p[e],n[0]===this)return n[1]}}),P.prototype.getUnderlyingType=function(){return this.underlyingType},P.prototype._read=function(e){return this._fromValue(this.underlyingType._read(e))},P.prototype._write=function(e,t){this.underlyingType._write(e,this._toValue(t))},P.prototype._check=function(e,t,n,r){try{var i=this._toValue(e)}catch{}return i===void 0?(n&&n(e,this),!1):this.underlyingType._check(i,t,n,r)},P.prototype._copy=function(e,t){var n=this.underlyingType;switch(t&&t.coerce){case 3:return n._copy(this._toValue(e),t);case 2:return this._fromValue(n._copy(e,t));default:return this._fromValue(n._copy(this._toValue(e),t))}},P.prototype._update=function(e,t,n){var r=this._resolve(t,n);r&&(e._read=function(e){return r(t._read(e))})},P.prototype.compare=function(e,t){var n=this._toValue(e),r=this._toValue(t);return this.underlyingType.compare(n,r)},P.prototype.random=function(){return this._fromValue(this.underlyingType.random())},P.prototype._deref=function(e,t){var n=this.underlyingType,r=n.name!==void 0&&t.derefed[n.name];return e=n._attrs(t),!r&&t.exportAttrs&&(typeof e==`string`&&(e={type:e}),e.logicalType=this._logicalTypeName,this._export(e)),e},P.prototype._skip=function(e){this.underlyingType._skip(e)},P.prototype._export=function(){},P.prototype._fromValue=n.abstractFunction,P.prototype._toValue=n.abstractFunction,P.prototype._resolve=n.abstractFunction;function F(e){this._concreteTypeName=`long`,g.call(this,!0),this._noUnpack=!!e}i.inherits(F,x),F.prototype.typeName=`abstract:long`,F.prototype._check=function(e,t,n){var r=this._isValid(e);return!r&&n&&n(e,this),r},F.prototype._read=function(e){var t,n;if(this._noUnpack?(n=e.pos,e.skipLong(),t=e.buf.slice(n,e.pos)):t=e.unpackLongBytes(e),e.isValid())return this._fromBuffer(t)},F.prototype._write=function(e,t){this._isValid(t)||U(t,this);var n=this._toBuffer(t);this._noUnpack?e.writeFixed(n):e.packLongBytes(n)},F.prototype._copy=function(e,t){switch(t&&t.coerce){case 3:return this._toJSON(e);case 2:return this._fromJSON(e);default:return this._fromJSON(this._toJSON(e))}},F.prototype._deref=function(){return`long`},F.prototype._update=function(e,t){var n=this;switch(t.typeName){case`int`:e._read=function(e){return n._fromJSON(t._read(e))};break;case`abstract:long`:case`long`:e._read=function(e){return n._read(e)}}},F.prototype.random=function(){return this._fromJSON(x.prototype.random())},F.prototype._fromBuffer=n.abstractFunction,F.prototype._toBuffer=n.abstractFunction,F.prototype._fromJSON=n.abstractFunction,F.prototype._toJSON=n.abstractFunction,F.prototype._isValid=n.abstractFunction,F.prototype.compare=n.abstractFunction;function ee(e,t){var r=e.name;if(typeof r!=`string`||!n.isValidName(r))throw Error(c(`invalid field name: %s`,r));this.name=r,this.type=h.forSchema(e.type,t),this.aliases=e.aliases||[],this.doc=e.doc===void 0?void 0:``+e.doc,this._order=(function(e){switch(e){case`ascending`:return 1;case`descending`:return-1;case`ignore`:return 0;default:throw Error(c(`invalid order: %j`,e))}})(e.order===void 0?`ascending`:e.order);var i=e.default;if(i!==void 0){var a=this.type,o;try{o=a._copy(i,{coerce:2,wrap:2})}catch(e){var s=c(`incompatible field default %j (%s)`,i,e.message);throw h.isType(a,`union`)&&(s+=c(`, union defaults must match the first branch's type (%j)`,a.types[0])),Error(s)}this.defaultValue=B(a.typeName)&&a.typeName!==`bytes`?function(){return o}:function(){return a._copy(o)}}Object.freeze(this)}ee.prototype.defaultValue=function(){},Object.defineProperty(ee.prototype,"order",{enumerable:!0,get:function(){return[`descending`,`ignore`,`ascending`][this._order+1]}}),ee.prototype.getAliases=function(){return this.aliases},ee.prototype.getDefault=ee.prototype.defaultValue,ee.prototype.getName=function(){return this.name},ee.prototype.getOrder=function(){return this.order},ee.prototype.getType=function(){return this.type};function I(e){this._readerType=e,this._read=null,this.itemsType=null,this.size=0,this.symbols=null,this.valuesType=null}I.prototype._peek=h.prototype._peek,I.prototype.inspect=function(){return`<Resolver>`};function te(){this.str=void 0}function L(e,t,n,r){if(n){if(n._readerType!==e)throw Error(`invalid resolver`);return n._read(t,r)}return e._read(t)}function R(e){var t={};e.name&&(t[e.name]=!0);for(var n=e.aliases,r=0,i=n.length;r<i;r++)t[n[r]]=!0;return Object.keys(t)}function z(e,t,r){if(!t.name)return!0;for(var i=r?t.name:n.unqualify(t.name),a=R(e),o=0,s=a.length,c;o<s;o++)if(c=a[o],r||(c=n.unqualify(c)),c===i)return!0;return!1}function B(e){var t=l[e];return t&&t.prototype instanceof g}function V(e){if(e===`error`)e=`record`;else{var t=/^([^:]+):(.*)$/.exec(e);t&&(e=t[1]===`union`?t[2]+`Union`:t[1])}return n.capitalize(e)+`Type`}function H(e){var t=e.readLong();return t<0&&(t=-t,e.skipLong()),t}function ne(e){return e>=-9007199254740990&&e<=9007199254740990}function re(e){return e&&e.type===`Buffer`&&Array.isArray(e.data)}function U(e,t){throw Error(c(`invalid %j: %j`,t.schema(),e))}function ie(e,t){var r=n.unqualify(e);return B(r)?r:n.qualify(e,t)}function W(e){var t=e.typeName;switch(t){case`double`:case`float`:case`int`:case`long`:return`number`;case`bytes`:case`fixed`:return`buffer`;case`enum`:return`string`;case`map`:case`error`:case`record`:return`object`;default:return t}}function G(e){if(e===null)return`null`;var t=typeof e;if(t===`object`){if(Array.isArray(e))return`array`;if(a.isBuffer(e))return`buffer`}return t}function ae(e){for(var t={},n=0,r=e.length,i,a;n<r;n++)if(a=e[n],!h.isType(a,`logical`)){if(i=W(a),t[i])return!0;t[i]=!0}return!1}function oe(e){for(var t=[`int`,`long`,`float`,`double`],n=-1,r=null,i=0,a=e.length,o,s;i<a;i++)o=e[i],s=t.indexOf(o.typeName),s>n&&(n=s,r=o);return r}function K(e,t){for(var n={},r=0,i=e.length,a,o;r<i;r++){if(a=e[r],a.typeName===`string`)return a;o=a.symbols;for(var s=0,c=o.length;s<c;s++)n[o[s]]=!0}return h.forSchema({type:`enum`,symbols:Object.keys(n)},t)}function q(e,t){for(var n=-1,r=0,i=e.length,a;r<i;r++){if(a=e[r],a.typeName===`bytes`)return a;n===-1?n=a.size:a.size!==n&&(n=-2)}return n<0?h.forSchema(`bytes`,t):e[0]}function se(e,t){for(var n=[],r={},i={},a=!0,o=0,s=e.length,c,l;o<s;o++)if(c=e[o],c.typeName===`map`)a=!1,n.push(c.valuesType);else{l=c.fields;for(var u=0,d=l.length,f,p,m,g;u<d;u++)f=l[u],m=f.name,g=f.type,n.push(g),a&&(r[m]||(r[m]=[]),r[m].push(g),p=f.defaultValue(),p!==void 0&&(i[m]=p))}if(a){var _=Object.keys(r);for(o=0,s=_.length;o<s;o++)m=_[o],r[m].length<e.length&&i[m]===void 0&&(t&&t.strictDefaults?a=!1:(r[m].unshift(h.forSchema(`null`,t)),i[m]=null))}var v=a?{type:`record`,fields:_.map(function(e){var n=h.forTypes(r[e],t),a=i[e];if(a!==void 0&&~n.typeName.indexOf(`union`)){for(var o=n.types.slice(),s=0,c=o.length;s<c&&!o[s].isValid(a);s++);if(s>0){var l=o[0];o[0]=o[s],o[s]=l,n=h.forSchema(o,t)}}return{name:e,type:n,default:i[e]}})}:{type:`map`,values:h.forTypes(n,t)};return h.forSchema(v,t)}t.exports={Type:h,getTypeBucket:W,getValueBucket:G,isPrimitive:B,builtins:(function(){for(var e={LogicalType:P,UnwrappedUnionType:D,WrappedUnionType:O},t=Object.keys(l),n=0,r=t.length,i;n<r;n++)i=t[n],e[V(i)]=l[i];return e})()}}}),Te=l({"../../../node_modules/.pnpm/avsc@5.7.9/node_modules/avsc/etc/browser/avsc-types.js"(e,t){v();var n=we();function r(e,t){var r;if(typeof e==`string`)try{r=JSON.parse(e)}catch{r=e}else r=e;return n.Type.forSchema(r,t)}t.exports={Type:n.Type,parse:r,types:n.builtins,combine:n.Type.forTypes,infer:n.Type.forValue}}}),Ee=l({"../../../node_modules/.pnpm/events@3.3.0/node_modules/events/events.js"(e,t){v();var n=typeof Reflect==`object`?Reflect:null,r=n&&typeof n.apply==`function`?n.apply:function(e,t,n){return Function.prototype.apply.call(e,t,n)},i=n&&typeof n.ownKeys==`function`?n.ownKeys:Object.getOwnPropertySymbols?function(e){return Object.getOwnPropertyNames(e).concat(Object.getOwnPropertySymbols(e))}:function(e){return Object.getOwnPropertyNames(e)};function a(e){console&&console.warn&&console.warn(e)}var o=Number.isNaN||function(e){return e!==e};function s(){s.init.call(this)}t.exports=s,t.exports.once=b,s.EventEmitter=s,s.prototype._events=void 0,s.prototype._eventsCount=0,s.prototype._maxListeners=void 0;var c=10;function l(e){if(typeof e!=`function`)throw TypeError(`The "listener" argument must be of type Function. Received type `+typeof e)}Object.defineProperty(s,"defaultMaxListeners",{enumerable:!0,get:function(){return c},set:function(e){if(typeof e!=`number`||e<0||o(e))throw RangeError(`The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received `+e+`.`);c=e}}),s.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=/* @__PURE__ */ Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},s.prototype.setMaxListeners=function(e){if(typeof e!=`number`||e<0||o(e))throw RangeError(`The value of "n" is out of range. It must be a non-negative number. Received `+e+`.`);return this._maxListeners=e,this};function u(e){return e._maxListeners===void 0?s.defaultMaxListeners:e._maxListeners}s.prototype.getMaxListeners=function(){return u(this)},s.prototype.emit=function(e){for(var t=[],n=1;n<arguments.length;n++)t.push(arguments[n]);var i=e===`error`,a=this._events;if(a!==void 0)i&&=a.error===void 0;else if(!i)return!1;if(i){var o;if(t.length>0&&(o=t[0]),o instanceof Error)throw o;var s=/* @__PURE__ */ Error(`Unhandled error.`+(o?` (`+o.message+`)`:``));throw s.context=o,s}var c=a[e];if(c===void 0)return!1;if(typeof c==`function`)r(c,this,t);else for(var l=c.length,u=g(c,l),n=0;n<l;++n)r(u[n],this,t);return!0};function d(e,t,n,r){var i,o,s;if(l(n),o=e._events,o===void 0?(o=e._events=/* @__PURE__ */ Object.create(null),e._eventsCount=0):(o.newListener!==void 0&&(e.emit(`newListener`,t,n.listener?n.listener:n),o=e._events),s=o[t]),s===void 0)s=o[t]=n,++e._eventsCount;else if(typeof s==`function`?s=o[t]=r?[n,s]:[s,n]:r?s.unshift(n):s.push(n),i=u(e),i>0&&s.length>i&&!s.warned){s.warned=!0;var c=/* @__PURE__ */ Error(`Possible EventEmitter memory leak detected. `+s.length+` `+String(t)+` listeners added. Use emitter.setMaxListeners() to increase limit`);c.name=`MaxListenersExceededWarning`,c.emitter=e,c.type=t,c.count=s.length,a(c)}return e}s.prototype.addListener=function(e,t){return d(this,e,t,!1)},s.prototype.on=s.prototype.addListener,s.prototype.prependListener=function(e,t){return d(this,e,t,!0)};function f(){if(!this.fired)return this.target.removeListener(this.type,this.wrapFn),this.fired=!0,arguments.length===0?this.listener.call(this.target):this.listener.apply(this.target,arguments)}function p(e,t,n){var r={fired:!1,wrapFn:void 0,target:e,type:t,listener:n},i=f.bind(r);return i.listener=n,r.wrapFn=i,i}s.prototype.once=function(e,t){return l(t),this.on(e,p(this,e,t)),this},s.prototype.prependOnceListener=function(e,t){return l(t),this.prependListener(e,p(this,e,t)),this},s.prototype.removeListener=function(e,t){var n,r,i,a,o;if(l(t),r=this._events,r===void 0||(n=r[e],n===void 0))return this;if(n===t||n.listener===t)--this._eventsCount===0?this._events=/* @__PURE__ */ Object.create(null):(delete r[e],r.removeListener&&this.emit(`removeListener`,e,n.listener||t));else if(typeof n!=`function`){for(i=-1,a=n.length-1;a>=0;a--)if(n[a]===t||n[a].listener===t){o=n[a].listener,i=a;break}if(i<0)return this;i===0?n.shift():_(n,i),n.length===1&&(r[e]=n[0]),r.removeListener!==void 0&&this.emit(`removeListener`,e,o||t)}return this},s.prototype.off=s.prototype.removeListener,s.prototype.removeAllListeners=function(e){var t,n=this._events,r;if(n===void 0)return this;if(n.removeListener===void 0)return arguments.length===0?(this._events=/* @__PURE__ */ Object.create(null),this._eventsCount=0):n[e]!==void 0&&(--this._eventsCount===0?this._events=/* @__PURE__ */ Object.create(null):delete n[e]),this;if(arguments.length===0){var i=Object.keys(n),a;for(r=0;r<i.length;++r)a=i[r],a!==`removeListener`&&this.removeAllListeners(a);return this.removeAllListeners(`removeListener`),this._events=/* @__PURE__ */ Object.create(null),this._eventsCount=0,this}if(t=n[e],typeof t==`function`)this.removeListener(e,t);else if(t!==void 0)for(r=t.length-1;r>=0;r--)this.removeListener(e,t[r]);return this};function m(e,t,n){var r=e._events;if(r===void 0)return[];var i=r[t];return i===void 0?[]:typeof i==`function`?n?[i.listener||i]:[i]:n?y(i):g(i,i.length)}s.prototype.listeners=function(e){return m(this,e,!0)},s.prototype.rawListeners=function(e){return m(this,e,!1)},s.listenerCount=function(e,t){return typeof e.listenerCount==`function`?e.listenerCount(t):h.call(e,t)},s.prototype.listenerCount=h;function h(e){var t=this._events;if(t!==void 0){var n=t[e];if(typeof n==`function`)return 1;if(n!==void 0)return n.length}return 0}s.prototype.eventNames=function(){return this._eventsCount>0?i(this._events):[]};function g(e,t){for(var n=Array(t),r=0;r<t;++r)n[r]=e[r];return n}function _(e,t){for(;t+1<e.length;t++)e[t]=e[t+1];e.pop()}function y(e){for(var t=Array(e.length),n=0;n<t.length;++n)t[n]=e[n].listener||e[n];return t}function b(e,t){return new Promise(function(n,r){function i(n){e.removeListener(t,a),r(n)}function a(){typeof e.removeListener==`function`&&e.removeListener(`error`,i),n([].slice.call(arguments))}S(e,t,a,{once:!0}),t!==`error`&&x(e,i,{once:!0})})}function x(e,t,n){typeof e.on==`function`&&S(e,`error`,t,n)}function S(e,t,n,r){if(typeof e.on==`function`)r.once?e.once(t,n):e.on(t,n);else if(typeof e.addEventListener==`function`)e.addEventListener(t,function i(a){r.once&&e.removeEventListener(t,i),n(a)});else throw TypeError(`The "emitter" argument must be of type EventEmitter. Received type `+typeof e)}}}),De=l({"../../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/stream-browser.js"(e,t){v(),t.exports=Ee().EventEmitter}}),Oe=l({"../../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/buffer_list.js"(e,t){v();function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function r(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]==null?{}:arguments[t];t%2?n(Object(r),!0).forEach(function(t){i(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function i(e,t,n){return t=c(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,c(r.key),r)}}function s(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e){var t=l(e,`string`);return typeof t==`symbol`?t:String(t)}function l(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var u=m().Buffer,d=Se().inspect,f=d&&d.custom||`inspect`;function p(e,t,n){u.prototype.copy.call(e,t,n)}t.exports=/* @__PURE__ */ (function(){function e(){a(this,e),this.head=null,this.tail=null,this.length=0}return s(e,[{key:`push`,value:function(e){var t={data:e,next:null};this.length>0?this.tail.next=t:this.head=t,this.tail=t,++this.length}},{key:`unshift`,value:function(e){var t={data:e,next:this.head};this.length===0&&(this.tail=t),this.head=t,++this.length}},{key:`shift`,value:function(){if(this.length!==0){var e=this.head.data;return this.head=this.length===1?this.tail=null:this.head.next,--this.length,e}}},{key:`clear`,value:function(){this.head=this.tail=null,this.length=0}},{key:`join`,value:function(e){if(this.length===0)return``;for(var t=this.head,n=``+t.data;t=t.next;)n+=e+t.data;return n}},{key:`concat`,value:function(e){if(this.length===0)return u.alloc(0);for(var t=u.allocUnsafe(e>>>0),n=this.head,r=0;n;)p(n.data,t,r),r+=n.data.length,n=n.next;return t}},{key:`consume`,value:function(e,t){var n;return e<this.head.data.length?(n=this.head.data.slice(0,e),this.head.data=this.head.data.slice(e)):n=e===this.head.data.length?this.shift():t?this._getString(e):this._getBuffer(e),n}},{key:`first`,value:function(){return this.head.data}},{key:`_getString`,value:function(e){var t=this.head,n=1,r=t.data;for(e-=r.length;t=t.next;){var i=t.data,a=e>i.length?i.length:e;if(a===i.length?r+=i:r+=i.slice(0,e),e-=a,e===0){a===i.length?(++n,this.head=t.next?t.next:this.tail=null):(this.head=t,t.data=i.slice(a));break}++n}return this.length-=n,r}},{key:`_getBuffer`,value:function(e){var t=u.allocUnsafe(e),n=this.head,r=1;for(n.data.copy(t),e-=n.data.length;n=n.next;){var i=n.data,a=e>i.length?i.length:e;if(i.copy(t,t.length-e,0,a),e-=a,e===0){a===i.length?(++r,this.head=n.next?n.next:this.tail=null):(this.head=n,n.data=i.slice(a));break}++r}return this.length-=r,t}},{key:f,value:function(e,t){return d(this,r(r({},t),{},{depth:0,customInspect:!1}))}}]),e})()}}),ke=l({"../../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/destroy.js"(e,t){v();function n(e,t){var n=this,a=this._readableState&&this._readableState.destroyed,s=this._writableState&&this._writableState.destroyed;return a||s?(t?t(e):e&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,_.default.nextTick(o,this,e)):_.default.nextTick(o,this,e)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(e||null,function(e){!t&&e?n._writableState?n._writableState.errorEmitted?_.default.nextTick(i,n):(n._writableState.errorEmitted=!0,_.default.nextTick(r,n,e)):_.default.nextTick(r,n,e):t?(_.default.nextTick(i,n),t(e)):_.default.nextTick(i,n)}),this)}function r(e,t){o(e,t),i(e)}function i(e){(!e._writableState||e._writableState.emitClose)&&(!e._readableState||e._readableState.emitClose)&&e.emit(`close`)}function a(){this._readableState&&(this._readableState.destroyed=!1,this._readableState.reading=!1,this._readableState.ended=!1,this._readableState.endEmitted=!1),this._writableState&&(this._writableState.destroyed=!1,this._writableState.ended=!1,this._writableState.ending=!1,this._writableState.finalCalled=!1,this._writableState.prefinished=!1,this._writableState.finished=!1,this._writableState.errorEmitted=!1)}function o(e,t){e.emit(`error`,t)}function s(e,t){var n=e._readableState,r=e._writableState;n&&n.autoDestroy||r&&r.autoDestroy?e.destroy(t):e.emit(`error`,t)}t.exports={destroy:n,undestroy:a,errorOrDestroy:s}}}),Ae=l({"../../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/errors-browser.js"(e,t){v();function n(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}var r={};function i(e,t,i){i||=Error;function a(e,n,r){return typeof t==`string`?t:t(e,n,r)}var o=/* @__PURE__ */ (function(e){n(t,e);function t(t,n,r){return e.call(this,a(t,n,r))||this}return t})(i);o.prototype.name=i.name,o.prototype.code=e,r[e]=o}function a(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map(function(e){return String(e)}),n>2?`one of ${t} ${e.slice(0,n-1).join(`, `)}, or `+e[n-1]:n===2?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}return`of ${t} ${String(e)}`}function o(e,t,n){return e.substr(!n||n<0?0:+n,t.length)===t}function s(e,t,n){return(n===void 0||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}function c(e,t,n){return typeof n!=`number`&&(n=0),n+t.length>e.length?!1:e.indexOf(t,n)!==-1}i(`ERR_INVALID_OPT_VALUE`,function(e,t){return`The value "`+t+`" is invalid for option "`+e+`"`},TypeError),i(`ERR_INVALID_ARG_TYPE`,function(e,t,n){var r;typeof t==`string`&&o(t,`not `)?(r=`must not be`,t=t.replace(/^not /,``)):r=`must be`;var i=s(e,` argument`)?`The ${e} ${r} ${a(t,`type`)}`:`The "${e}" ${c(e,`.`)?`property`:`argument`} ${r} ${a(t,`type`)}`;return i+=`. Received type ${typeof n}`,i},TypeError),i(`ERR_STREAM_PUSH_AFTER_EOF`,`stream.push() after EOF`),i(`ERR_METHOD_NOT_IMPLEMENTED`,function(e){return`The `+e+` method is not implemented`}),i(`ERR_STREAM_PREMATURE_CLOSE`,`Premature close`),i(`ERR_STREAM_DESTROYED`,function(e){return`Cannot call `+e+` after a stream was destroyed`}),i(`ERR_MULTIPLE_CALLBACK`,`Callback called multiple times`),i(`ERR_STREAM_CANNOT_PIPE`,`Cannot pipe, not readable`),i(`ERR_STREAM_WRITE_AFTER_END`,`write after end`),i(`ERR_STREAM_NULL_VALUES`,`May not write null values to stream`,TypeError),i(`ERR_UNKNOWN_ENCODING`,function(e){return`Unknown encoding: `+e},TypeError),i(`ERR_STREAM_UNSHIFT_AFTER_END_EVENT`,`stream.unshift() after end event`),t.exports.codes=r}}),je=l({"../../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/state.js"(e,t){v();var n=Ae().codes.ERR_INVALID_OPT_VALUE;function r(e,t,n){return e.highWaterMark==null?t?e[n]:null:e.highWaterMark}function i(e,t,i,a){var o=r(t,a,i);if(o!=null){if(!(isFinite(o)&&Math.floor(o)===o)||o<0)throw new n(a?i:`highWaterMark`,o);return Math.floor(o)}return e.objectMode?16:16384}t.exports={getHighWaterMark:i}}}),Me=l({"../../../node_modules/.pnpm/util-deprecate@1.0.2/node_modules/util-deprecate/browser.js"(e,t){v(),t.exports=n;function n(e,t){if(r(`noDeprecation`))return e;var n=!1;function i(){if(!n){if(r(`throwDeprecation`))throw Error(t);r(`traceDeprecation`)?console.trace(t):console.warn(t),n=!0}return e.apply(this,arguments)}return i}function r(e){try{if(!globalThis.localStorage)return!1}catch{return!1}var t=globalThis.localStorage[e];return t!=null&&String(t).toLowerCase()===`true`}}}),Ne=l({"../../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_writable.js"(e,t){v(),t.exports=O;function n(e){var t=this;this.next=null,this.entry=null,this.finish=function(){ne(t,e)}}var r;O.WritableState=E;var i={deprecate:Me()},a=De(),o=m().Buffer,s=(typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof self<`u`?self:{}).Uint8Array||function(){};function c(e){return o.from(e)}function l(e){return o.isBuffer(e)||e instanceof s}var u=ke(),d=je().getHighWaterMark,f=Ae().codes,p=f.ERR_INVALID_ARG_TYPE,h=f.ERR_METHOD_NOT_IMPLEMENTED,g=f.ERR_MULTIPLE_CALLBACK,y=f.ERR_STREAM_CANNOT_PIPE,b=f.ERR_STREAM_DESTROYED,x=f.ERR_STREAM_NULL_VALUES,S=f.ERR_STREAM_WRITE_AFTER_END,C=f.ERR_UNKNOWN_ENCODING,w=u.errorOrDestroy;xe()(O,a);function T(){}function E(e,t,i){r||=Pe(),e||={},typeof i!=`boolean`&&(i=t instanceof r),this.objectMode=!!e.objectMode,i&&(this.objectMode=this.objectMode||!!e.writableObjectMode),this.highWaterMark=d(this,e,`writableHighWaterMark`,i),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var a=e.decodeStrings===!1;this.decodeStrings=!a,this.defaultEncoding=e.defaultEncoding||`utf8`,this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(e){ee(t,e)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new n(this)}E.prototype.getBuffer=function(){for(var e=this.bufferedRequest,t=[];e;)t.push(e),e=e.next;return t},(function(){try{Object.defineProperty(E.prototype,"buffer",{get:i.deprecate(function(){return this.getBuffer()},`_writableState.buffer is deprecated. Use _writableState.getBuffer instead.`,`DEP0003`)})}catch{}})();var D;typeof Symbol==`function`&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]==`function`?(D=Function.prototype[Symbol.hasInstance],Object.defineProperty(O,Symbol.hasInstance,{value:function(e){return D.call(this,e)?!0:this===O&&e&&e._writableState instanceof E}})):D=function(e){return e instanceof this};function O(e){r||=Pe();var t=this instanceof r;if(!t&&!D.call(O,this))return new O(e);this._writableState=new E(e,this,t),this.writable=!0,e&&(typeof e.write==`function`&&(this._write=e.write),typeof e.writev==`function`&&(this._writev=e.writev),typeof e.destroy==`function`&&(this._destroy=e.destroy),typeof e.final==`function`&&(this._final=e.final)),a.call(this)}O.prototype.pipe=function(){w(this,new y)};function k(e,t){var n=new S;w(e,n),_.default.nextTick(t,n)}function A(e,t,n,r){var i;return n===null?i=new x:typeof n!=`string`&&!t.objectMode&&(i=new p(`chunk`,[`string`,`Buffer`],n)),!i||(w(e,i),_.default.nextTick(r,i),!1)}O.prototype.write=function(e,t,n){var r=this._writableState,i=!1,a=!r.objectMode&&l(e);return a&&!o.isBuffer(e)&&(e=c(e)),typeof t==`function`&&(n=t,t=null),a?t=`buffer`:t||=r.defaultEncoding,typeof n!=`function`&&(n=T),r.ending?k(this,n):(a||A(this,r,e,n))&&(r.pendingcb++,i=M(this,r,a,e,t,n)),i},O.prototype.cork=function(){this._writableState.corked++},O.prototype.uncork=function(){var e=this._writableState;e.corked&&(e.corked--,!e.writing&&!e.corked&&!e.bufferProcessing&&e.bufferedRequest&&L(this,e))},O.prototype.setDefaultEncoding=function(e){if(typeof e==`string`&&(e=e.toLowerCase()),!([`hex`,`utf8`,`utf-8`,`ascii`,`binary`,`base64`,`ucs2`,`ucs-2`,`utf16le`,`utf-16le`,`raw`].indexOf((e+``).toLowerCase())>-1))throw new C(e);return this._writableState.defaultEncoding=e,this},Object.defineProperty(O.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function j(e,t,n){return!e.objectMode&&e.decodeStrings!==!1&&typeof t==`string`&&(t=o.from(t,n)),t}Object.defineProperty(O.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function M(e,t,n,r,i,a){if(!n){var o=j(t,r,i);r!==o&&(n=!0,i=`buffer`,r=o)}var s=t.objectMode?1:r.length;t.length+=s;var c=t.length<t.highWaterMark;if(c||(t.needDrain=!0),t.writing||t.corked){var l=t.lastBufferedRequest;t.lastBufferedRequest={chunk:r,encoding:i,isBuf:n,callback:a,next:null},l?l.next=t.lastBufferedRequest:t.bufferedRequest=t.lastBufferedRequest,t.bufferedRequestCount+=1}else N(e,t,!1,s,r,i,a);return c}function N(e,t,n,r,i,a,o){t.writelen=r,t.writecb=o,t.writing=!0,t.sync=!0,t.destroyed?t.onwrite(new b(`write`)):n?e._writev(i,t.onwrite):e._write(i,a,t.onwrite),t.sync=!1}function P(e,t,n,r,i){--t.pendingcb,n?(_.default.nextTick(i,r),_.default.nextTick(V,e,t),e._writableState.errorEmitted=!0,w(e,r)):(i(r),e._writableState.errorEmitted=!0,w(e,r),V(e,t))}function F(e){e.writing=!1,e.writecb=null,e.length-=e.writelen,e.writelen=0}function ee(e,t){var n=e._writableState,r=n.sync,i=n.writecb;if(typeof i!=`function`)throw new g;if(F(n),t)P(e,n,r,t,i);else{var a=R(n)||e.destroyed;!a&&!n.corked&&!n.bufferProcessing&&n.bufferedRequest&&L(e,n),r?_.default.nextTick(I,e,n,a,i):I(e,n,a,i)}}function I(e,t,n,r){n||te(e,t),t.pendingcb--,r(),V(e,t)}function te(e,t){t.length===0&&t.needDrain&&(t.needDrain=!1,e.emit(`drain`))}function L(e,t){t.bufferProcessing=!0;var r=t.bufferedRequest;if(e._writev&&r&&r.next){var i=t.bufferedRequestCount,a=Array(i),o=t.corkedRequestsFree;o.entry=r;for(var s=0,c=!0;r;)a[s]=r,r.isBuf||(c=!1),r=r.next,s+=1;a.allBuffers=c,N(e,t,!0,t.length,a,``,o.finish),t.pendingcb++,t.lastBufferedRequest=null,o.next?(t.corkedRequestsFree=o.next,o.next=null):t.corkedRequestsFree=new n(t),t.bufferedRequestCount=0}else{for(;r;){var l=r.chunk,u=r.encoding,d=r.callback;if(N(e,t,!1,t.objectMode?1:l.length,l,u,d),r=r.next,t.bufferedRequestCount--,t.writing)break}r===null&&(t.lastBufferedRequest=null)}t.bufferedRequest=r,t.bufferProcessing=!1}O.prototype._write=function(e,t,n){n(new h(`_write()`))},O.prototype._writev=null,O.prototype.end=function(e,t,n){var r=this._writableState;return typeof e==`function`?(n=e,e=null,t=null):typeof t==`function`&&(n=t,t=null),e!=null&&this.write(e,t),r.corked&&(r.corked=1,this.uncork()),r.ending||H(this,r,n),this},Object.defineProperty(O.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function R(e){return e.ending&&e.length===0&&e.bufferedRequest===null&&!e.finished&&!e.writing}function z(e,t){e._final(function(n){t.pendingcb--,n&&w(e,n),t.prefinished=!0,e.emit(`prefinish`),V(e,t)})}function B(e,t){!t.prefinished&&!t.finalCalled&&(typeof e._final==`function`&&!t.destroyed?(t.pendingcb++,t.finalCalled=!0,_.default.nextTick(z,e,t)):(t.prefinished=!0,e.emit(`prefinish`)))}function V(e,t){var n=R(t);if(n&&(B(e,t),t.pendingcb===0&&(t.finished=!0,e.emit(`finish`),t.autoDestroy))){var r=e._readableState;(!r||r.autoDestroy&&r.endEmitted)&&e.destroy()}return n}function H(e,t,n){t.ending=!0,V(e,t),n&&(t.finished?_.default.nextTick(n):e.once(`finish`,n)),t.ended=!0,e.writable=!1}function ne(e,t,n){var r=e.entry;for(e.entry=null;r;){var i=r.callback;t.pendingcb--,i(n),r=r.next}t.corkedRequestsFree.next=e}Object.defineProperty(O.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState!==void 0&&this._writableState.destroyed},set:function(e){this._writableState&&(this._writableState.destroyed=e)}}),O.prototype.destroy=u.destroy,O.prototype._undestroy=u.undestroy,O.prototype._destroy=function(e,t){t(e)}}}),Pe=l({"../../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_duplex.js"(e,t){v();var n=Object.keys||function(e){var t=[];for(var n in e)t.push(n);return t};t.exports=c;var r=Be(),i=Ne();for(xe()(c,r),a=n(i.prototype),s=0;s<a.length;s++)o=a[s],c.prototype[o]||(c.prototype[o]=i.prototype[o]);var a,o,s;function c(e){if(!(this instanceof c))return new c(e);r.call(this,e),i.call(this,e),this.allowHalfOpen=!0,e&&(e.readable===!1&&(this.readable=!1),e.writable===!1&&(this.writable=!1),e.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once(`end`,l)))}Object.defineProperty(c.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(c.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(c.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function l(){this._writableState.ended||_.default.nextTick(u,this)}function u(e){e.end()}Object.defineProperty(c.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(e){this._readableState!==void 0&&this._writableState!==void 0&&(this._readableState.destroyed=e,this._writableState.destroyed=e)}})}}),Fe=l({"../../../node_modules/.pnpm/safe-buffer@5.2.1/node_modules/safe-buffer/index.js"(e,t){v();var n=m(),r=n.Buffer;function i(e,t){for(var n in e)t[n]=e[n]}r.from&&r.alloc&&r.allocUnsafe&&r.allocUnsafeSlow?t.exports=n:(i(n,e),e.Buffer=a);function a(e,t,n){return r(e,t,n)}a.prototype=Object.create(r.prototype),i(r,a),a.from=function(e,t,n){if(typeof e==`number`)throw TypeError(`Argument must not be a number`);return r(e,t,n)},a.alloc=function(e,t,n){if(typeof e!=`number`)throw TypeError(`Argument must be a number`);var i=r(e);return t===void 0?i.fill(0):typeof n==`string`?i.fill(t,n):i.fill(t),i},a.allocUnsafe=function(e){if(typeof e!=`number`)throw TypeError(`Argument must be a number`);return r(e)},a.allocUnsafeSlow=function(e){if(typeof e!=`number`)throw TypeError(`Argument must be a number`);return n.SlowBuffer(e)}}}),Ie=l({"../../../node_modules/.pnpm/string_decoder@1.3.0/node_modules/string_decoder/lib/string_decoder.js"(e){v();var t=Fe().Buffer,n=t.isEncoding||function(e){switch(e=``+e,e&&e.toLowerCase()){case`hex`:case`utf8`:case`utf-8`:case`ascii`:case`binary`:case`base64`:case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:case`raw`:return!0;default:return!1}};function r(e){if(!e)return`utf8`;for(var t;;)switch(e){case`utf8`:case`utf-8`:return`utf8`;case`ucs2`:case`ucs-2`:case`utf16le`:case`utf-16le`:return`utf16le`;case`latin1`:case`binary`:return`latin1`;case`base64`:case`ascii`:case`hex`:return e;default:if(t)return;e=(``+e).toLowerCase(),t=!0}}function i(e){var i=r(e);if(typeof i!=`string`&&(t.isEncoding===n||!n(e)))throw Error(`Unknown encoding: `+e);return i||e}e.StringDecoder=a;function a(e){this.encoding=i(e);var n;switch(this.encoding){case`utf16le`:this.text=f,this.end=p,n=4;break;case`utf8`:this.fillLast=l,n=4;break;case`base64`:this.text=m,this.end=h,n=3;break;default:this.write=g,this.end=_;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=t.allocUnsafe(n)}a.prototype.write=function(e){if(e.length===0)return``;var t,n;if(this.lastNeed){if(t=this.fillLast(e),t===void 0)return``;n=this.lastNeed,this.lastNeed=0}else n=0;return n<e.length?t?t+this.text(e,n):this.text(e,n):t||``},a.prototype.end=d,a.prototype.text=u,a.prototype.fillLast=function(e){if(this.lastNeed<=e.length)return e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,this.lastTotal-this.lastNeed,0,e.length),this.lastNeed-=e.length};function o(e){return e<=127?0:e>>5==6?2:e>>4==14?3:e>>3==30?4:e>>6==2?-1:-2}function s(e,t,n){var r=t.length-1;if(r<n)return 0;var i=o(t[r]);return i>=0?(i>0&&(e.lastNeed=i-1),i):--r<n||i===-2?0:(i=o(t[r]),i>=0?(i>0&&(e.lastNeed=i-2),i):--r<n||i===-2?0:(i=o(t[r]),i>=0?(i>0&&(i===2?i=0:e.lastNeed=i-3),i):0))}function c(e,t,n){if((t[0]&192)!=128)return e.lastNeed=0,`�`;if(e.lastNeed>1&&t.length>1){if((t[1]&192)!=128)return e.lastNeed=1,`�`;if(e.lastNeed>2&&t.length>2&&(t[2]&192)!=128)return e.lastNeed=2,`�`}}function l(e){var t=this.lastTotal-this.lastNeed,n=c(this,e,t);if(n!==void 0)return n;if(this.lastNeed<=e.length)return e.copy(this.lastChar,t,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);e.copy(this.lastChar,t,0,e.length),this.lastNeed-=e.length}function u(e,t){var n=s(this,e,t);if(!this.lastNeed)return e.toString(`utf8`,t);this.lastTotal=n;var r=e.length-(n-this.lastNeed);return e.copy(this.lastChar,0,r),e.toString(`utf8`,t,r)}function d(e){var t=e&&e.length?this.write(e):``;return this.lastNeed?t+`�`:t}function f(e,t){if((e.length-t)%2==0){var n=e.toString(`utf16le`,t);if(n){var r=n.charCodeAt(n.length-1);if(r>=55296&&r<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1],n.slice(0,-1)}return n}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=e[e.length-1],e.toString(`utf16le`,t,e.length-1)}function p(e){var t=e&&e.length?this.write(e):``;if(this.lastNeed){var n=this.lastTotal-this.lastNeed;return t+this.lastChar.toString(`utf16le`,0,n)}return t}function m(e,t){var n=(e.length-t)%3;return n===0?e.toString(`base64`,t):(this.lastNeed=3-n,this.lastTotal=3,n===1?this.lastChar[0]=e[e.length-1]:(this.lastChar[0]=e[e.length-2],this.lastChar[1]=e[e.length-1]),e.toString(`base64`,t,e.length-n))}function h(e){var t=e&&e.length?this.write(e):``;return this.lastNeed?t+this.lastChar.toString(`base64`,0,3-this.lastNeed):t}function g(e){return e.toString(this.encoding)}function _(e){return e&&e.length?this.write(e):``}}}),Le=l({"../../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/end-of-stream.js"(e,t){v();var n=Ae().codes.ERR_STREAM_PREMATURE_CLOSE;function r(e){var t=!1;return function(){if(!t){t=!0;var n=[...arguments];e.apply(this,n)}}}function i(){}function a(e){return e.setHeader&&typeof e.abort==`function`}function o(e,t,s){if(typeof t==`function`)return o(e,null,t);t||={},s=r(s||i);var c=t.readable||t.readable!==!1&&e.readable,l=t.writable||t.writable!==!1&&e.writable,u=function(){e.writable||f()},d=e._writableState&&e._writableState.finished,f=function(){l=!1,d=!0,c||s.call(e)},p=e._readableState&&e._readableState.endEmitted,m=function(){c=!1,p=!0,l||s.call(e)},h=function(t){s.call(e,t)},g=function(){var t;if(c&&!p)return(!e._readableState||!e._readableState.ended)&&(t=new n),s.call(e,t);if(l&&!d)return(!e._writableState||!e._writableState.ended)&&(t=new n),s.call(e,t)},_=function(){e.req.on(`finish`,f)};return a(e)?(e.on(`complete`,f),e.on(`abort`,g),e.req?_():e.on(`request`,_)):l&&!e._writableState&&(e.on(`end`,u),e.on(`close`,u)),e.on(`end`,m),e.on(`finish`,f),t.error!==!1&&e.on(`error`,h),e.on(`close`,g),function(){e.removeListener(`complete`,f),e.removeListener(`abort`,g),e.removeListener(`request`,_),e.req&&e.req.removeListener(`finish`,f),e.removeListener(`end`,u),e.removeListener(`close`,u),e.removeListener(`finish`,f),e.removeListener(`end`,m),e.removeListener(`error`,h),e.removeListener(`close`,g)}}t.exports=o}}),Re=l({"../../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/async_iterator.js"(e,t){v();var n;function r(e,t,n){return t=i(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i(e){var t=a(e,`string`);return typeof t==`symbol`?t:String(t)}function a(e,t){if(typeof e!=`object`||!e)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(typeof r!=`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}var o=Le(),s=/* @__PURE__ */ Symbol(`lastResolve`),c=/* @__PURE__ */ Symbol(`lastReject`),l=/* @__PURE__ */ Symbol(`error`),u=/* @__PURE__ */ Symbol(`ended`),d=/* @__PURE__ */ Symbol(`lastPromise`),f=/* @__PURE__ */ Symbol(`handlePromise`),p=/* @__PURE__ */ Symbol(`stream`);function m(e,t){return{value:e,done:t}}function h(e){var t=e[s];if(t!==null){var n=e[p].read();n!==null&&(e[d]=null,e[s]=null,e[c]=null,t(m(n,!1)))}}function g(e){_.default.nextTick(h,e)}function y(e,t){return function(n,r){e.then(function(){t[u]?n(m(void 0,!0)):t[f](n,r)},r)}}var b=Object.getPrototypeOf(function(){}),x=Object.setPrototypeOf((n={get stream(){return this[p]},next:function(){var e=this,t=this[l];if(t!==null)return Promise.reject(t);if(this[u])return Promise.resolve(m(void 0,!0));if(this[p].destroyed)return new Promise(function(t,n){_.default.nextTick(function(){e[l]?n(e[l]):t(m(void 0,!0))})});var n=this[d],r;if(n)r=new Promise(y(n,this));else{var i=this[p].read();if(i!==null)return Promise.resolve(m(i,!1));r=new Promise(this[f])}return this[d]=r,r}},r(n,Symbol.asyncIterator,function(){return this}),r(n,`return`,function(){var e=this;return new Promise(function(t,n){e[p].destroy(null,function(e){e?n(e):t(m(void 0,!0))})})}),n),b);t.exports=function(e){var t,n=Object.create(x,(t={},r(t,p,{value:e,writable:!0}),r(t,s,{value:null,writable:!0}),r(t,c,{value:null,writable:!0}),r(t,l,{value:null,writable:!0}),r(t,u,{value:e._readableState.endEmitted,writable:!0}),r(t,f,{value:function(e,t){var r=n[p].read();r?(n[d]=null,n[s]=null,n[c]=null,e(m(r,!1))):(n[s]=e,n[c]=t)},writable:!0}),t));return n[d]=null,o(e,function(e){if(e&&e.code!==`ERR_STREAM_PREMATURE_CLOSE`){var t=n[c];t!==null&&(n[d]=null,n[s]=null,n[c]=null,t(e)),n[l]=e}else{var r=n[s];r!==null&&(n[d]=null,n[s]=null,n[c]=null,r(m(void 0,!0))),n[u]=!0}}),e.on(`readable`,g.bind(null,n)),n}}}),ze=l({"../../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/from-browser.js"(e,t){v(),t.exports=function(){throw Error(`Readable.from is not available in the browser`)}}}),Be=l({"../../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_readable.js"(e,t){v(),t.exports=k;var n;k.ReadableState=O,Ee().EventEmitter;var r=function(e,t){return e.listeners(t).length},i=De(),a=m().Buffer,o=(typeof globalThis<`u`?globalThis:typeof window<`u`?window:typeof self<`u`?self:{}).Uint8Array||function(){};function s(e){return a.from(e)}function c(e){return a.isBuffer(e)||e instanceof o}var l=Se(),u=l&&l.debuglog?l.debuglog(`stream`):function(){},d=Oe(),f=ke(),p=je().getHighWaterMark,h=Ae().codes,g=h.ERR_INVALID_ARG_TYPE,y=h.ERR_STREAM_PUSH_AFTER_EOF,b=h.ERR_METHOD_NOT_IMPLEMENTED,x=h.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,S,C,w;xe()(k,i);var T=f.errorOrDestroy,E=[`error`,`close`,`destroy`,`pause`,`resume`];function D(e,t,n){if(typeof e.prependListener==`function`)return e.prependListener(t,n);!e._events||!e._events[t]?e.on(t,n):Array.isArray(e._events[t])?e._events[t].unshift(n):e._events[t]=[n,e._events[t]]}function O(e,t,r){n||=Pe(),e||={},typeof r!=`boolean`&&(r=t instanceof n),this.objectMode=!!e.objectMode,r&&(this.objectMode=this.objectMode||!!e.readableObjectMode),this.highWaterMark=p(this,e,`readableHighWaterMark`,r),this.buffer=new d,this.length=0,this.pipes=null,this.pipesCount=0,this.flowing=null,this.ended=!1,this.endEmitted=!1,this.reading=!1,this.sync=!0,this.needReadable=!1,this.emittedReadable=!1,this.readableListening=!1,this.resumeScheduled=!1,this.paused=!0,this.emitClose=e.emitClose!==!1,this.autoDestroy=!!e.autoDestroy,this.destroyed=!1,this.defaultEncoding=e.defaultEncoding||`utf8`,this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,e.encoding&&(S||=Ie().StringDecoder,this.decoder=new S(e.encoding),this.encoding=e.encoding)}function k(e){if(n||=Pe(),!(this instanceof k))return new k(e);var t=this instanceof n;this._readableState=new O(e,this,t),this.readable=!0,e&&(typeof e.read==`function`&&(this._read=e.read),typeof e.destroy==`function`&&(this._destroy=e.destroy)),i.call(this)}Object.defineProperty(k.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState!==void 0&&this._readableState.destroyed},set:function(e){this._readableState&&(this._readableState.destroyed=e)}}),k.prototype.destroy=f.destroy,k.prototype._undestroy=f.undestroy,k.prototype._destroy=function(e,t){t(e)},k.prototype.push=function(e,t){var n=this._readableState,r;return n.objectMode?r=!0:typeof e==`string`&&(t||=n.defaultEncoding,t!==n.encoding&&(e=a.from(e,t),t=``),r=!0),A(this,e,t,!1,r)},k.prototype.unshift=function(e){return A(this,e,null,!0,!1)};function A(e,t,n,r,i){u(`readableAddChunk`,t);var o=e._readableState;if(t===null)o.reading=!1,ee(e,o);else{var c;if(i||(c=M(o,t)),c)T(e,c);else if(o.objectMode||t&&t.length>0){if(typeof t!=`string`&&!o.objectMode&&Object.getPrototypeOf(t)!==a.prototype&&(t=s(t)),r)o.endEmitted?T(e,new x):j(e,o,t,!0);else if(o.ended)T(e,new y);else if(o.destroyed)return!1;else o.reading=!1,o.decoder&&!n?(t=o.decoder.write(t),o.objectMode||t.length!==0?j(e,o,t,!1):L(e,o)):j(e,o,t,!1)}else r||(o.reading=!1,L(e,o))}return!o.ended&&(o.length<o.highWaterMark||o.length===0)}function j(e,t,n,r){t.flowing&&t.length===0&&!t.sync?(t.awaitDrain=0,e.emit(`data`,n)):(t.length+=t.objectMode?1:n.length,r?t.buffer.unshift(n):t.buffer.push(n),t.needReadable&&I(e)),L(e,t)}function M(e,t){var n;return!c(t)&&typeof t!=`string`&&t!==void 0&&!e.objectMode&&(n=new g(`chunk`,[`string`,`Buffer`,`Uint8Array`],t)),n}k.prototype.isPaused=function(){return this._readableState.flowing===!1},k.prototype.setEncoding=function(e){S||=Ie().StringDecoder;var t=new S(e);this._readableState.decoder=t,this._readableState.encoding=this._readableState.decoder.encoding;for(var n=this._readableState.buffer.head,r=``;n!==null;)r+=t.write(n.data),n=n.next;return this._readableState.buffer.clear(),r!==``&&this._readableState.buffer.push(r),this._readableState.length=r.length,this};var N=1073741824;function P(e){return e>=N?e=N:(e--,e|=e>>>1,e|=e>>>2,e|=e>>>4,e|=e>>>8,e|=e>>>16,e++),e}function F(e,t){return e<=0||t.length===0&&t.ended?0:t.objectMode?1:e===e?(e>t.highWaterMark&&(t.highWaterMark=P(e)),e<=t.length?e:t.ended?t.length:(t.needReadable=!0,0)):t.flowing&&t.length?t.buffer.head.data.length:t.length}k.prototype.read=function(e){u(`read`,e),e=parseInt(e,10);var t=this._readableState,n=e;if(e!==0&&(t.emittedReadable=!1),e===0&&t.needReadable&&((t.highWaterMark===0?t.length>0:t.length>=t.highWaterMark)||t.ended))return u(`read: emitReadable`,t.length,t.ended),t.length===0&&t.ended?ie(this):I(this),null;if(e=F(e,t),e===0&&t.ended)return t.length===0&&ie(this),null;var r=t.needReadable;u(`need readable`,r),(t.length===0||t.length-e<t.highWaterMark)&&(r=!0,u(`length less than watermark`,r)),t.ended||t.reading?(r=!1,u(`reading or ended`,r)):r&&(u(`do read`),t.reading=!0,t.sync=!0,t.length===0&&(t.needReadable=!0),this._read(t.highWaterMark),t.sync=!1,t.reading||(e=F(n,t)));var i=e>0?U(e,t):null;return i===null?(t.needReadable=t.length<=t.highWaterMark,e=0):(t.length-=e,t.awaitDrain=0),t.length===0&&(t.ended||(t.needReadable=!0),n!==e&&t.ended&&ie(this)),i!==null&&this.emit(`data`,i),i};function ee(e,t){if(u(`onEofChunk`),!t.ended){if(t.decoder){var n=t.decoder.end();n&&n.length&&(t.buffer.push(n),t.length+=t.objectMode?1:n.length)}t.ended=!0,t.sync?I(e):(t.needReadable=!1,t.emittedReadable||(t.emittedReadable=!0,te(e)))}}function I(e){var t=e._readableState;u(`emitReadable`,t.needReadable,t.emittedReadable),t.needReadable=!1,t.emittedReadable||(u(`emitReadable`,t.flowing),t.emittedReadable=!0,_.default.nextTick(te,e))}function te(e){var t=e._readableState;u(`emitReadable_`,t.destroyed,t.length,t.ended),!t.destroyed&&(t.length||t.ended)&&(e.emit(`readable`),t.emittedReadable=!1),t.needReadable=!t.flowing&&!t.ended&&t.length<=t.highWaterMark,re(e)}function L(e,t){t.readingMore||(t.readingMore=!0,_.default.nextTick(R,e,t))}function R(e,t){for(;!t.reading&&!t.ended&&(t.length<t.highWaterMark||t.flowing&&t.length===0);){var n=t.length;if(u(`maybeReadMore read 0`),e.read(0),n===t.length)break}t.readingMore=!1}k.prototype._read=function(e){T(this,new b(`_read()`))},k.prototype.pipe=function(e,t){var n=this,i=this._readableState;switch(i.pipesCount){case 0:i.pipes=e;break;case 1:i.pipes=[i.pipes,e];break;default:i.pipes.push(e)}i.pipesCount+=1,u(`pipe count=%d opts=%j`,i.pipesCount,t);var a=(!t||t.end!==!1)&&e!==_.default.stdout&&e!==_.default.stderr?s:g;i.endEmitted?_.default.nextTick(a):n.once(`end`,a),e.on(`unpipe`,o);function o(e,t){u(`onunpipe`),e===n&&t&&t.hasUnpiped===!1&&(t.hasUnpiped=!0,d())}function s(){u(`onend`),e.end()}var c=z(n);e.on(`drain`,c);var l=!1;function d(){u(`cleanup`),e.removeListener(`close`,m),e.removeListener(`finish`,h),e.removeListener(`drain`,c),e.removeListener(`error`,p),e.removeListener(`unpipe`,o),n.removeListener(`end`,s),n.removeListener(`end`,g),n.removeListener(`data`,f),l=!0,i.awaitDrain&&(!e._writableState||e._writableState.needDrain)&&c()}n.on(`data`,f);function f(t){u(`ondata`);var r=e.write(t);u(`dest.write`,r),r===!1&&((i.pipesCount===1&&i.pipes===e||i.pipesCount>1&&G(i.pipes,e)!==-1)&&!l&&(u(`false write response, pause`,i.awaitDrain),i.awaitDrain++),n.pause())}function p(t){u(`onerror`,t),g(),e.removeListener(`error`,p),r(e,`error`)===0&&T(e,t)}D(e,`error`,p);function m(){e.removeListener(`finish`,h),g()}e.once(`close`,m);function h(){u(`onfinish`),e.removeListener(`close`,m),g()}e.once(`finish`,h);function g(){u(`unpipe`),n.unpipe(e)}return e.emit(`pipe`,n),i.flowing||(u(`pipe resume`),n.resume()),e};function z(e){return function(){var t=e._readableState;u(`pipeOnDrain`,t.awaitDrain),t.awaitDrain&&t.awaitDrain--,t.awaitDrain===0&&r(e,`data`)&&(t.flowing=!0,re(e))}}k.prototype.unpipe=function(e){var t=this._readableState,n={hasUnpiped:!1};if(t.pipesCount===0)return this;if(t.pipesCount===1)return e&&e!==t.pipes||(e||=t.pipes,t.pipes=null,t.pipesCount=0,t.flowing=!1,e&&e.emit(`unpipe`,this,n)),this;if(!e){var r=t.pipes,i=t.pipesCount;t.pipes=null,t.pipesCount=0,t.flowing=!1;for(var a=0;a<i;a++)r[a].emit(`unpipe`,this,{hasUnpiped:!1});return this}var o=G(t.pipes,e);return o===-1||(t.pipes.splice(o,1),--t.pipesCount,t.pipesCount===1&&(t.pipes=t.pipes[0]),e.emit(`unpipe`,this,n)),this},k.prototype.on=function(e,t){var n=i.prototype.on.call(this,e,t),r=this._readableState;return e===`data`?(r.readableListening=this.listenerCount(`readable`)>0,r.flowing!==!1&&this.resume()):e===`readable`&&!r.endEmitted&&!r.readableListening&&(r.readableListening=r.needReadable=!0,r.flowing=!1,r.emittedReadable=!1,u(`on readable`,r.length,r.reading),r.length?I(this):r.reading||_.default.nextTick(V,this)),n},k.prototype.addListener=k.prototype.on,k.prototype.removeListener=function(e,t){var n=i.prototype.removeListener.call(this,e,t);return e===`readable`&&_.default.nextTick(B,this),n},k.prototype.removeAllListeners=function(e){var t=i.prototype.removeAllListeners.apply(this,arguments);return(e===`readable`||e===void 0)&&_.default.nextTick(B,this),t};function B(e){var t=e._readableState;t.readableListening=e.listenerCount(`readable`)>0,t.resumeScheduled&&!t.paused?t.flowing=!0:e.listenerCount(`data`)>0&&e.resume()}function V(e){u(`readable nexttick read 0`),e.read(0)}k.prototype.resume=function(){var e=this._readableState;return e.flowing||(u(`resume`),e.flowing=!e.readableListening,H(this,e)),e.paused=!1,this};function H(e,t){t.resumeScheduled||(t.resumeScheduled=!0,_.default.nextTick(ne,e,t))}function ne(e,t){u(`resume`,t.reading),t.reading||e.read(0),t.resumeScheduled=!1,e.emit(`resume`),re(e),t.flowing&&!t.reading&&e.read(0)}k.prototype.pause=function(){return u(`call pause flowing=%j`,this._readableState.flowing),this._readableState.flowing!==!1&&(u(`pause`),this._readableState.flowing=!1,this.emit(`pause`)),this._readableState.paused=!0,this};function re(e){var t=e._readableState;for(u(`flow`,t.flowing);t.flowing&&e.read()!==null;);}k.prototype.wrap=function(e){var t=this,n=this._readableState,r=!1;for(var i in e.on(`end`,function(){if(u(`wrapped end`),n.decoder&&!n.ended){var e=n.decoder.end();e&&e.length&&t.push(e)}t.push(null)}),e.on(`data`,function(i){u(`wrapped data`),n.decoder&&(i=n.decoder.write(i)),!(n.objectMode&&i==null)&&(n.objectMode||i&&i.length)&&(t.push(i)||(r=!0,e.pause()))}),e)this[i]===void 0&&typeof e[i]==`function`&&(this[i]=/* @__PURE__ */ (function(t){return function(){return e[t].apply(e,arguments)}})(i));for(var a=0;a<E.length;a++)e.on(E[a],this.emit.bind(this,E[a]));return this._read=function(t){u(`wrapped _read`,t),r&&(r=!1,e.resume())},this},typeof Symbol==`function`&&(k.prototype[Symbol.asyncIterator]=function(){return C===void 0&&(C=Re()),C(this)}),Object.defineProperty(k.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(k.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(k.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(e){this._readableState&&(this._readableState.flowing=e)}}),k._fromList=U,Object.defineProperty(k.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function U(e,t){if(t.length===0)return null;var n;return t.objectMode?n=t.buffer.shift():!e||e>=t.length?(n=t.decoder?t.buffer.join(``):t.buffer.length===1?t.buffer.first():t.buffer.concat(t.length),t.buffer.clear()):n=t.buffer.consume(e,t.decoder),n}function ie(e){var t=e._readableState;u(`endReadable`,t.endEmitted),t.endEmitted||(t.ended=!0,_.default.nextTick(W,t,e))}function W(e,t){if(u(`endReadableNT`,e.endEmitted,e.length),!e.endEmitted&&e.length===0&&(e.endEmitted=!0,t.readable=!1,t.emit(`end`),e.autoDestroy)){var n=t._writableState;(!n||n.autoDestroy&&n.finished)&&t.destroy()}}typeof Symbol==`function`&&(k.from=function(e,t){return w===void 0&&(w=ze()),w(k,e,t)});function G(e,t){for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}}}),Ve=l({"../../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_transform.js"(e,t){v(),t.exports=l;var n=Ae().codes,r=n.ERR_METHOD_NOT_IMPLEMENTED,i=n.ERR_MULTIPLE_CALLBACK,a=n.ERR_TRANSFORM_ALREADY_TRANSFORMING,o=n.ERR_TRANSFORM_WITH_LENGTH_0,s=Pe();xe()(l,s);function c(e,t){var n=this._transformState;n.transforming=!1;var r=n.writecb;if(r===null)return this.emit(`error`,new i);n.writechunk=null,n.writecb=null,t!=null&&this.push(t),r(e);var a=this._readableState;a.reading=!1,(a.needReadable||a.length<a.highWaterMark)&&this._read(a.highWaterMark)}function l(e){if(!(this instanceof l))return new l(e);s.call(this,e),this._transformState={afterTransform:c.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,e&&(typeof e.transform==`function`&&(this._transform=e.transform),typeof e.flush==`function`&&(this._flush=e.flush)),this.on(`prefinish`,u)}function u(){var e=this;typeof this._flush==`function`&&!this._readableState.destroyed?this._flush(function(t,n){d(e,t,n)}):d(this,null,null)}l.prototype.push=function(e,t){return this._transformState.needTransform=!1,s.prototype.push.call(this,e,t)},l.prototype._transform=function(e,t,n){n(new r(`_transform()`))},l.prototype._write=function(e,t,n){var r=this._transformState;if(r.writecb=n,r.writechunk=e,r.writeencoding=t,!r.transforming){var i=this._readableState;(r.needTransform||i.needReadable||i.length<i.highWaterMark)&&this._read(i.highWaterMark)}},l.prototype._read=function(e){var t=this._transformState;t.writechunk!==null&&!t.transforming?(t.transforming=!0,this._transform(t.writechunk,t.writeencoding,t.afterTransform)):t.needTransform=!0},l.prototype._destroy=function(e,t){s.prototype._destroy.call(this,e,function(e){t(e)})};function d(e,t,n){if(t)return e.emit(`error`,t);if(n!=null&&e.push(n),e._writableState.length)throw new o;if(e._transformState.transforming)throw new a;return e.push(null)}}}),He=l({"../../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/_stream_passthrough.js"(e,t){v(),t.exports=r;var n=Ve();xe()(r,n);function r(e){if(!(this instanceof r))return new r(e);n.call(this,e)}r.prototype._transform=function(e,t,n){n(null,e)}}}),Ue=l({"../../../node_modules/.pnpm/readable-stream@3.6.2/node_modules/readable-stream/lib/internal/streams/pipeline.js"(e,t){v();var n;function r(e){var t=!1;return function(){t||(t=!0,e.apply(void 0,arguments))}}var i=Ae().codes,a=i.ERR_MISSING_ARGS,o=i.ERR_STREAM_DESTROYED;function s(e){if(e)throw e}function c(e){return e.setHeader&&typeof e.abort==`function`}function l(e,t,i,a){a=r(a);var s=!1;e.on(`close`,function(){s=!0}),n===void 0&&(n=Le()),n(e,{readable:t,writable:i},function(e){if(e)return a(e);s=!0,a()});var l=!1;return function(t){if(!s&&!l){if(l=!0,c(e))return e.abort();if(typeof e.destroy==`function`)return e.destroy();a(t||new o(`pipe`))}}}function u(e){e()}function d(e,t){return e.pipe(t)}function f(e){return!e.length||typeof e[e.length-1]!=`function`?s:e.pop()}function p(){var e=[...arguments],t=f(e);if(Array.isArray(e[0])&&(e=e[0]),e.length<2)throw new a(`streams`);var n,r=e.map(function(i,a){var o=a<e.length-1;return l(i,o,a>0,function(e){n||=e,e&&r.forEach(u),!o&&(r.forEach(u),t(n))})});return e.reduce(d)}t.exports=p}}),We=l({"../../../node_modules/.pnpm/stream-browserify@3.0.0/node_modules/stream-browserify/index.js"(e,t){v(),t.exports=r;var n=Ee().EventEmitter;xe()(r,n),r.Readable=Be(),r.Writable=Ne(),r.Duplex=Pe(),r.Transform=Ve(),r.PassThrough=He(),r.finished=Le(),r.pipeline=Ue(),r.Stream=r;function r(){n.call(this)}r.prototype.pipe=function(e,t){var r=this;function i(t){e.writable&&!1===e.write(t)&&r.pause&&r.pause()}r.on(`data`,i);function a(){r.readable&&r.resume&&r.resume()}e.on(`drain`,a),!e._isStdio&&(!t||t.end!==!1)&&(r.on(`end`,s),r.on(`close`,c));var o=!1;function s(){o||(o=!0,e.end())}function c(){o||(o=!0,typeof e.destroy==`function`&&e.destroy())}function l(e){if(u(),n.listenerCount(this,`error`)===0)throw e}r.on(`error`,l),e.on(`error`,l);function u(){r.removeListener(`data`,i),e.removeListener(`drain`,a),r.removeListener(`end`,s),r.removeListener(`close`,c),r.removeListener(`error`,l),e.removeListener(`error`,l),r.removeListener(`end`,u),r.removeListener(`close`,u),e.removeListener(`close`,u)}return r.on(`end`,u),r.on(`close`,u),e.on(`close`,u),e.emit(`pipe`,r),e}}}),Ge=l({"../../../node_modules/.pnpm/avsc@5.7.9/node_modules/avsc/lib/services.js"(e,t){v();var n=we(),r=Ce(),i=m(),a=Ee(),o=We(),s=Se(),c=i.Buffer,l=r.Tap,u=n.Type,d=s.debuglog(`avsc:services`),f=s.format,p={namespace:`org.apache.avro.ipc`},h=u.forSchema(`boolean`,p),g=u.forSchema({type:`map`,values:`bytes`},p),y=u.forSchema(`string`,p),b=u.forSchema({name:`HandshakeRequest`,type:`record`,fields:[{name:`clientHash`,type:{name:`MD5`,type:`fixed`,size:16}},{name:`clientProtocol`,type:[`null`,`string`],default:null},{name:`serverHash`,type:`MD5`},{name:`meta`,type:[`null`,g],default:null}]},p),x=u.forSchema({name:`HandshakeResponse`,type:`record`,fields:[{name:`match`,type:{name:`HandshakeMatch`,type:`enum`,symbols:[`BOTH`,`CLIENT`,`NONE`]}},{name:`serverProtocol`,type:[`null`,`string`],default:null},{name:`serverHash`,type:[`null`,`MD5`],default:null},{name:`meta`,type:[`null`,g],default:null}]},p),S=16,C=new w(``,u.forSchema({name:`PingRequest`,type:`record`,fields:[]},p),u.forSchema([`string`],p),u.forSchema(`null`,p));function w(e,t,n,r,i,a){if(this.name=e,!u.isType(t,`record`))throw Error(`invalid request type`);if(this.requestType=t,!u.isType(n,`union`)||!u.isType(n.getTypes()[0],`string`))throw Error(`invalid error type`);if(this.errorType=n,i&&(!u.isType(r,`null`)||n.getTypes().length>1))throw Error(`inapplicable one-way parameter`);this.responseType=r,this.oneWay=!!i,this.doc=a===void 0?void 0:``+a,Object.freeze(this)}w.forSchema=function(e,t,n){if(n||={},!r.isValidName(e))throw Error(f(`invalid message name: %s`,e));if(!Array.isArray(t.request))throw Error(f(`invalid message request: %s`,e));var i=f(`%s.%sRequest`,p.namespace,r.capitalize(e)),a=u.forSchema({name:i,type:`record`,namespace:n.namespace||``,fields:t.request},n);if(delete n.registry[i],!t.response)throw Error(f(`invalid message response: %s`,e));var o=u.forSchema(t.response,n);if(t.errors!==void 0&&!Array.isArray(t.errors))throw Error(f(`invalid message errors: %s`,e));return new w(e,a,u.forSchema([`string`].concat(t.errors||[]),n),o,!!t[`one-way`],t.doc)},w.prototype.schema=u.prototype.getSchema,w.prototype._attrs=function(e){var t={request:this.requestType._attrs(e).fields,response:this.responseType._attrs(e)},n=this.doc;n!==void 0&&(t.doc=n);var r=this.errorType._attrs(e);return r.length>1&&(t.errors=r.slice(1)),this.oneWay&&(t[`one-way`]=!0),t},r.addDeprecatedGetters(w,[`name`,`errorType`,`requestType`,`responseType`]),w.prototype.isOneWay=s.deprecate(function(){return this.oneWay},"use `.oneWay` directly instead of `.isOneWay()`");function T(e,t,n,i,a){if(typeof e!=`string`)return T.forProtocol(e,t);this.name=e,this._messagesByName=t||{},this.messages=Object.freeze(r.objectValues(this._messagesByName)),this._typesByName=n||{},this.types=Object.freeze(r.objectValues(this._typesByName)),this.protocol=i,this._hashStr=r.getHash(JSON.stringify(i)).toString(`binary`),this.doc=i.doc?``+i.doc:void 0,this._server=a||this.createServer({silent:!0}),Object.freeze(this)}T.Client=D,T.Server=O,T.compatible=function(e,t){try{U(e,t)}catch{return!1}return!0},T.forProtocol=function(e,t){t||={};var n=e.protocol;if(!n)throw Error(`missing protocol name`);if(e.namespace!==void 0)t.namespace=e.namespace;else{var i=/^(.*)\.[^.]+$/.exec(n);i&&(t.namespace=i[1])}n=r.qualify(n,t.namespace),e.types&&e.types.forEach(function(e){u.forSchema(e,t)});var a;return e.messages&&(a={},Object.keys(e.messages).forEach(function(n){a[n]=w.forSchema(n,e.messages[n],t)})),new T(n,a,t.registry,e)},T.isService=function(e){return!!e&&e.hasOwnProperty(`_hashStr`)},T.prototype.createClient=function(e){var t=new D(this,e);return _.default.nextTick(function(){if(e&&e.server){var n={objectMode:!0},r=[new o.PassThrough(n),new o.PassThrough(n)];e.server.createChannel({readable:r[0],writable:r[1]},n),t.createChannel({readable:r[1],writable:r[0]},n)}else e&&e.transport&&t.createChannel(e.transport)}),t},T.prototype.createServer=function(e){return new O(this,e)},Object.defineProperty(T.prototype,"hash",{enumerable:!0,get:function(){return r.bufferFrom(this._hashStr,`binary`)}}),T.prototype.message=function(e){return this._messagesByName[e]},T.prototype.type=function(e){return this._typesByName[e]},T.prototype.inspect=function(){return f(`<Service %j>`,this.name)},r.addDeprecatedGetters(T,[`message`,`messages`,`name`,`type`,`types`]),T.prototype.createEmitter=s.deprecate(function(e,t){t||={};var n=this.createClient({cache:t.cache,buffering:!1,strictTypes:t.strictErrors,timeout:t.timeout}),r=n.createChannel(e,t);return ae(n,r),r},"use `.createClient()` instead of `.createEmitter()`"),T.prototype.createListener=s.deprecate(function(e,t){if(t&&t.strictErrors)throw Error("use `.createServer()` to support strict errors");return this._server.createChannel(e,t)},"use `.createServer().createChannel()` instead of `.createListener()`"),T.prototype.emit=s.deprecate(function(e,t,n,r){if(!n||!this.equals(n.client._svc$))throw Error(`invalid emitter`);var i=n.client;return D.prototype.emitMessage.call(i,e,t,r&&r.bind(this)),n.getPending()},"create a client via `.createClient()` to emit messages instead of `.emit()`"),T.prototype.equals=s.deprecate(function(e){return T.isService(e)&&this.getFingerprint().equals(e.getFingerprint())},"equality testing is deprecated, compare the `.protocol`s instead"),T.prototype.getFingerprint=s.deprecate(function(e){return r.getHash(JSON.stringify(this.protocol),e)},"use `.hash` instead of `.getFingerprint()`"),T.prototype.getSchema=s.deprecate(u.prototype.getSchema,"use `.protocol` instead of `.getSchema()`"),T.prototype.on=s.deprecate(function(e,t){var n=this;return this._server.onMessage(e,function(e,r){return t.call(n,e,this.channel,r)}),this},"use `.createServer().onMessage()` instead of `.on()`"),T.prototype.subprotocol=s.deprecate(function(){var e=this._server,t={strictTypes:e._strict,cache:e._cache},n=new O(e.service,t);return n._handlers=Object.create(e._handlers),new T(this.name,this._messagesByName,this._typesByName,this.protocol,n)},"`.subprotocol()` will be removed in 5.1"),T.prototype._attrs=function(e){var t={protocol:this.name},n=[];this.types.forEach(function(t){if(t.getName()!==void 0){var r=t._attrs(e);typeof r!=`string`&&n.push(r)}}),n.length&&(t.types=n);var r=Object.keys(this._messagesByName);return r.length&&(t.messages={},r.forEach(function(n){t.messages[n]=this._messagesByName[n]._attrs(e)},this)),e&&e.exportAttrs&&this.doc!==void 0&&(t.doc=this.doc),t};function E(e,t,n){n===void 0&&typeof t==`function`&&(n=t,t=void 0);var r=new T({protocol:`Empty`},p),i;r.createClient({timeout:t&&t.timeout}).createChannel(e,{scope:t&&t.scope,endWritable:typeof e==`function`}).once(`handshake`,function(e,t){i=t.serverProtocol,this.destroy(!0)}).once(`eot`,function(e,t){t&&!/interrupted/.test(t)?n(t):n(null,JSON.parse(i))})}function D(e,t){t||={},a.EventEmitter.call(this),this._svc$=e,this._channels$=[],this._fns$=[],this._buffering$=!!t.buffering,this._cache$=t.cache||{},this._policy$=t.channelPolicy,this._strict$=!!t.strictTypes,this._timeout$=r.getOption(t,`timeout`,1e4),t.remoteProtocols&&ie(this._cache$,t.remoteProtocols,e,!0),this._svc$.messages.forEach(function(e){this[e.name]=this._createMessageHandler$(e)},this)}s.inherits(D,a.EventEmitter),D.prototype.activeChannels=function(){return this._channels$.slice()},D.prototype.createChannel=function(e,t){var n=t&&t.objectMode,r;if(typeof e==`function`){var i=n?e:function(t){var n=new z,i=e(function(e,n){if(e)t(e);else{var i=new R().once(`error`,function(e){r.destroy(e)});t(null,n.pipe(i))}});if(i)return n.pipe(i),n};r=new A(this,i,t)}else{var a,o;if(J(e)?a=o=e:(a=e.readable,o=e.writable),!n){var s=new B;a=a.pipe(s);var c=new V;c.pipe(o),o=c}r=new j(this,a,o,t),n||(r.once(`eot`,function(){a.unpipe(s),c.unpipe(o)}),s.once(`error`,function(e){r.destroy(e)}))}var l=this._channels$;return l.push(r),r.once(`_drain`,function(){l.splice(l.indexOf(this),1)}),this._buffering$=!1,this.emit(`channel`,r),r},D.prototype.destroyChannels=function(e){this._channels$.forEach(function(t){t.destroy(e&&e.noWait)})},D.prototype.emitMessage=function(e,t,n,r){var i=new F(le(this._svc$,e),{},t);this._emitMessage$(i,n,r)},D.prototype.remoteProtocols=function(){return W(this._cache$,!0)},Object.defineProperty(D.prototype,"service",{enumerable:!0,get:function(){return this._svc$}}),D.prototype.use=function(){for(var e=0,t=arguments.length,n;e<t;e++)n=arguments[e],this._fns$.push(n.length<3?n(this):n);return this},D.prototype._emitMessage$=function(e,t,n){!n&&typeof t==`function`&&(n=t,t=void 0);var r=this,i=this._channels$,a=i.length;if(a){t||={},t.timeout===void 0&&(t.timeout=this._timeout$);var o;if(a===1)o=i[0];else if(this._policy$){if(o=this._policy$(this._channels$.slice()),!o){d(`policy returned no channel, skipping call`);return}}else o=i[Math.floor(Math.random()*a)];o._emit(e,t,function(e,t){var i=this,a=i.message.errorType;if(e){r._strict$&&(e=a.clone(e.message,{wrapUnions:!0})),o(e);return}if(!t){o();return}e=t.error,r._strict$||(e===void 0?e=null:u.isType(a,`union:unwrapped`)?typeof e==`string`&&(e=Error(e)):e&&e.string&&typeof e.string==`string`&&(e=Error(e.string))),o(e,t.response);function o(e,t){n?n.call(i,e,t):e&&r.emit(`error`,e)}})}else if(this._buffering$)d(`no active client channels, buffering call`),this.once(`channel`,function(){this._emitMessage$(e,t,n)});else{var s=/* @__PURE__ */ Error(`no active channels`);_.default.nextTick(function(){n?n.call(new I(e._msg),s):r.emit(`error`,s)})}},D.prototype._createMessageHandler$=function(e){var t=e.requestType.getFields().map(function(e){return e.getName()}),n=`return function `+e.name+`(`;return t.length&&(n+=t.join(`, `)+`, `),n+=`opts, cb) {
62
+ `,n+=` var req = {`,n+=t.map(function(e){return e+`: `+e}).join(`, `),n+=`};
63
+ `,n+=` return this.emitMessage('`+e.name+`', req, opts, cb);
64
+ `,n+=`};`,Function(n)()};function O(e,t){t||={},a.EventEmitter.call(this),this.service=e,this._handlers={},this._fns=[],this._channels={},this._nextChannelId=1,this._cache=t.cache||{},this._defaultHandler=t.defaultHandler,this._sysErrFormatter=t.systemErrorFormatter,this._silent=!!t.silent,this._strict=!!t.strictTypes,t.remoteProtocols&&ie(this._cache,t.remoteProtocols,e,!1),e.messages.forEach(function(e){var n=e.name;t.noCapitalize||(n=r.capitalize(n)),this[`on`+n]=this._createMessageHandler(e)},this)}s.inherits(O,a.EventEmitter),O.prototype.activeChannels=function(){return r.objectValues(this._channels)},O.prototype.createChannel=function(e,t){var n=t&&t.objectMode,r;if(typeof e==`function`){var i=n?e:function(t){var n=new R().once(`error`,function(e){r.destroy(e)});return e(function(e,n){if(e)t(e);else{var r=new z;r.pipe(n),t(null,r)}}).pipe(n)};r=new N(this,i,t)}else{var a,o;if(J(e)?a=o=e:(a=e.readable,o=e.writable),!n){var s=new B;a=a.pipe(s);var c=new V;c.pipe(o),o=c}r=new P(this,a,o,t),n||(r.once(`eot`,function(){a.unpipe(s),c.unpipe(o)}),s.once(`error`,function(e){r.destroy(e)}))}this.listeners(`error`).length||this.on(`error`,this._onError);var l=this._nextChannelId++,u=this._channels;return u[l]=r.once(`eot`,function(){delete u[l]}),this.emit(`channel`,r),r},O.prototype.onMessage=function(e,t){return le(this.service,e),this._handlers[e]=t,this},O.prototype.remoteProtocols=function(){return W(this._cache,!1)},O.prototype.use=function(){for(var e=0,t=arguments.length,n;e<t;e++)n=arguments[e],this._fns.push(n.length<3?n(this):n);return this},O.prototype._createMessageHandler=function(e){var t=e.name,n=e.requestType.fields,r=n.length,i=n.length?`, `+n.map(function(e){return`req.`+e.name}).join(`, `):``,a=`return function (handler) {
65
+ `;return a+=` if (handler.length > `+r+`) {
66
+ `,a+=` return this.onMessage('`+t+`', function (req, cb) {
67
+ `,a+=` return handler.call(this`+i+`, cb);
68
+ `,a+=` });
69
+ `,a+=` } else {
70
+ `,a+=` return this.onMessage('`+t+`', function (req) {
71
+ `,a+=` return handler.call(this`+i+`);
72
+ `,a+=` });
73
+ `,a+=` }
74
+ `,a+=`};
75
+ `,Function(a)()},O.prototype._onError=function(e){!this._silent&&e.rpcCode!==`UNKNOWN_PROTOCOL`&&(console.error(),e.rpcCode?(console.error(e.rpcCode),console.error(e.cause)):(console.error(`INTERNAL_SERVER_ERROR`),console.error(e)))};function k(e,t){t||={},a.EventEmitter.call(this),this.client=e,this.timeout=r.getOption(t,`timeout`,e._timeout$),this._endWritable=!!r.getOption(t,`endWritable`,!0),this._prefix=se(t.scope);var n=e._cache$,i=e._svc$,o=t.serverHash;o||=i.hash;var s=n[o];s||=(o=i.hash,n[o]=new L(i,i,o)),this._adapter=s,this._registry=new te(this,S),this.pending=0,this.destroyed=!1,this.draining=!1,this.once(`_eot`,function(e,t){d(`client channel EOT`),this.destroyed=!0,this.emit(`eot`,e,t)})}s.inherits(k,a.EventEmitter),k.prototype.destroy=function(e){d(`destroying client channel`),this.draining||(this.draining=!0,this.emit(`_drain`));var t=this._registry,n=this.pending;e&&t.clear(),e||!n?G(e)?(d(`fatal client channel error: %s`,e),this.emit(`_eot`,n,e)):this.emit(`_eot`,n):d(`client channel entering drain mode (%s pending)`,n)},k.prototype.ping=function(e,t){!t&&typeof e==`function`&&(t=e,e=void 0);var n=this,r=new F(C);this._emit(r,{timeout:e},function(e){t?t.call(n,e):e&&n.destroy(e)})},k.prototype._createHandshakeRequest=function(e,t){var n=this.client._svc$;return{clientHash:n.hash,clientProtocol:t?null:JSON.stringify(n.protocol),serverHash:e._hash}},k.prototype._emit=function(e,t,n){var r=e._msg,i=r.oneWay?void 0:new ee(r,{}),a=new I(r,this),o=this;this.pending++,_.default.nextTick(function(){if(!r.name)s(e,i,c);else{o.emit(`outgoingCall`,a,t);var n=o.client._fns$;d(`starting client middleware chain (%s middleware)`,n.length),Y({fns:n,ctx:a,wreq:e,wres:i,onTransition:s,onCompletion:c,onError:l})}});function s(e,n,i){var a,s;if(o.destroyed)a=/* @__PURE__ */ Error(`channel destroyed`);else try{s=e.toBuffer()}catch{a=q(f(`invalid %j request`,r.name),e,[{name:`headers`,type:g},{name:`request`,type:r.requestType}])}if(a)i(a);else{var c=t&&t.timeout!==void 0?t.timeout:o.timeout,l=o._registry.add(c,function(e,t,a){if(!e&&!r.oneWay)try{a._decodeResponse(t,n,r)}catch(t){e=t}i(e)});l|=o._prefix,d(`sending message %s`,l),o._send(l,s,!!r&&r.oneWay)}}function c(e){o.pending--,n.call(a,e,i),o.draining&&!o.destroyed&&!o.pending&&o.destroy()}function l(e){o.client.emit(`error`,e,o)}},k.prototype._getAdapter=function(e){var t=e.serverHash,n=this.client._cache$,r=n[t];if(r)return r;var i=JSON.parse(e.serverProtocol),a=T.forProtocol(i);return r=new L(this.client._svc$,a,t,!0),n[t]=r},k.prototype._matchesPrefix=function(e){return ce(e,this._prefix)},k.prototype._send=r.abstractFunction,r.addDeprecatedGetters(k,[`pending`,`timeout`]),k.prototype.getCache=s.deprecate(function(){return this.client._cache$},"use `.remoteProtocols()` instead of `.getCache()`"),k.prototype.getProtocol=s.deprecate(function(){return this.client._svc$},"use `.service` instead or `.getProtocol()`"),k.prototype.isDestroyed=s.deprecate(function(){return this.destroyed},"use `.destroyed` instead of `.isDestroyed`");function A(e,t,n){k.call(this,e,n),this._writableFactory=t,(!n||!n.noPing)&&(d(`emitting ping request`),this.ping())}s.inherits(A,k),A.prototype._send=function(e,t){var n=this._registry.get(e),r=this._adapter,i=this;return _.default.nextTick(a),!0;function a(o){if(!i.destroyed){var s=i._createHandshakeRequest(r,!o),l=i._writableFactory.call(i,function(e,t){e?n(e):t.on(`data`,function(e){d(`received response %s`,e.id);var t=c.concat(e.payload);try{var o=ne(x,t),l=o.head;l.serverHash&&(r=i._getAdapter(l))}catch(e){n(e);return}var u=l.match;d(`handshake match: %s`,u),i.emit(`handshake`,s,l),u===`NONE`?_.default.nextTick(function(){a(!0)}):(i._adapter=r,n(null,o.tail,r))})});l?(l.write({id:e,payload:[b.toBuffer(s),t]}),i._endWritable&&l.end()):n(/* @__PURE__ */ Error(`invalid writable stream`))}}};function j(e,t,n,i){k.call(this,e,i),this._readable=t,this._writable=n,this._connected=!!(i&&i.noPing),this._readable.on(`end`,p),this._writable.on(`finish`,m);var a=this,o=null;this.once(`eot`,function(){o&&=(clearTimeout(o),null),a._connected||a.emit(`_ready`),this._writable.removeListener(`finish`,m),this._endWritable&&(d(`ending transport`),this._writable.end()),this._readable.removeListener(`data`,u).removeListener(`data`,f).removeListener(`end`,p)});var s;this._connected?this._readable.on(`data`,f):(this._readable.on(`data`,u),_.default.nextTick(l),a.timeout&&(o=setTimeout(function(){a.destroy(/* @__PURE__ */ Error(`timeout`))},a.timeout)));function l(e){if(!a.destroyed){s=a._createHandshakeRequest(a._adapter,!e);var t=[b.toBuffer(s),r.bufferFrom([0,0])];a._writable.write({id:a._prefix,payload:t})}}function u(e){if(!a._matchesPrefix(e.id))d(`discarding unscoped response %s (still connecting)`,e.id);else{var t=c.concat(e.payload);try{var n=ne(x,t).head;n.serverHash&&(a._adapter=a._getAdapter(n))}catch(e){a.destroy(e);return}var r=n.match;d(`handshake match: %s`,r),a.emit(`handshake`,s,n),r===`NONE`?_.default.nextTick(function(){l(!0)}):(d(`successfully connected`),o&&=(clearTimeout(o),null),a._readable.removeListener(`data`,u).on(`data`,f),a._connected=!0,a.emit(`_ready`),s=null)}}function f(e){var t=e.id;if(!a._matchesPrefix(t))d(`discarding unscoped message %s`,t);else{var n=a._registry.get(t);n&&_.default.nextTick(function(){d(`received message %s`,t),n(null,c.concat(e.payload),a._adapter)})}}function p(){a.destroy(!0)}function m(){a.destroy()}}s.inherits(j,k),j.prototype._emit=function(){if(this._connected||this.draining)k.prototype._emit.apply(this,arguments);else{d(`queuing request`);for(var e=[],t=0,n=arguments.length;t<n;t++)e.push(arguments[t]);this.once(`_ready`,function(){this._emit.apply(this,e)})}},j.prototype._send=function(e,t,n){if(n){var i=this;_.default.nextTick(function(){i._registry.get(e)(null,r.bufferFrom([0,0,0]),i._adapter)})}return this._writable.write({id:e,payload:[t]})};function M(e,t){t||={},a.EventEmitter.call(this),this.server=e,this._endWritable=!!r.getOption(t,`endWritable`,!0),this._prefix=se(t.scope);var n=e._cache,i=e.service,o=i.hash;n[o]||(n[o]=new L(i,i,o)),this._adapter=null,this.destroyed=!1,this.draining=!1,this.pending=0,this.once(`_eot`,function(e,t){d(`server channel EOT`),this.emit(`eot`,e,t)})}s.inherits(M,a.EventEmitter),M.prototype.destroy=function(e){this.draining||(this.draining=!0,this.emit(`_drain`)),(e||!this.pending)&&(this.destroyed=!0,G(e)?(d(`fatal server channel error: %s`,e),this.emit(`_eot`,this.pending,e)):this.emit(`_eot`,this.pending))},M.prototype._createHandshakeResponse=function(e,t){var n=this.server.service,r=n.hash,i=t&&t.serverHash.equals(r);return{match:e?`NONE`:i?`BOTH`:`CLIENT`,serverProtocol:i?null:JSON.stringify(n.protocol),serverHash:i?null:r}},M.prototype._getAdapter=function(e){var t=e.clientHash,n=this.server._cache[t];if(n)return n;if(!e.clientProtocol)throw K(`UNKNOWN_PROTOCOL`);var r=JSON.parse(e.clientProtocol);return n=new L(T.forProtocol(r),this.server.service,t,!0),this.server._cache[t]=n},M.prototype._matchesPrefix=function(e){return ce(e,this._prefix)},M.prototype._receive=function(e,t,n){var r=this,i;try{i=t._decodeRequest(e)}catch(e){n(r._encodeSystemError(K(`INVALID_REQUEST`,e)));return}var a=i._msg,o=new ee(a,{});if(!a.name){o.response=null,n(o.toBuffer(),!1);return}var s=new I(a,this);r.emit(`incomingCall`,s);var c=this.server._fns;d(`starting server middleware chain (%s middleware)`,c.length),r.pending++,Y({fns:c,ctx:s,wreq:i,wres:o,onTransition:l,onCompletion:u,onError:p});function l(e,t,n){var i=r.server._handlers[a.name];if(i){var o=!a.oneWay;try{o?i.call(s,e.request,function(e,r){o=!1,t.error=e,t.response=r,n()}):(i.call(s,e.request),n())}catch(e){o?(o=!1,n(e)):p(e)}}else{var c=r.server._defaultHandler;c?c.call(s,e,t,n):n(K(`NOT_IMPLEMENTED`,Error(f(`no handler for %s`,a.name))))}}function u(e){r.pending--;var t=r.server,i;if(!e){var s=o.error;t._strict||(G(s)?o.error=a.errorType.clone(s.message,{wrapUnions:!0}):s===null&&(s=o.error=void 0),s===void 0&&o.response===void 0&&a.responseType.isValid(null)&&(o.response=null));try{i=o.toBuffer()}catch{e=o.error===void 0?q(f(`invalid %j response`,a.name),o,[{name:`headers`,type:g},{name:`response`,type:a.responseType}]):q(f(`invalid %j error`,a.name),o,[{name:`headers`,type:g},{name:`error`,type:a.errorType}])}}i?s!==void 0&&t.emit(`error`,K(`APPLICATION_ERROR`,s)):i=r._encodeSystemError(e,o.headers),n(i,a.oneWay),r.draining&&!r.pending&&r.destroy()}function p(e){r.server.emit(`error`,e,r)}},r.addDeprecatedGetters(M,[`pending`]),M.prototype.getCache=s.deprecate(function(){return this.server._cache},"use `.remoteProtocols()` instead of `.getCache()`"),M.prototype.getProtocol=s.deprecate(function(){return this.server.service},"use `.service` instead of `.getProtocol()`"),M.prototype.isDestroyed=s.deprecate(function(){return this.destroyed},"use `.destroyed` instead of `.isDestroyed`"),M.prototype._encodeSystemError=function(e,t){var n=this.server;n.emit(`error`,e,this);var i;n._sysErrFormatter?i=n._sysErrFormatter.call(this,e):e.rpcCode&&(i=e.message);var a;if(t)try{a=g.toBuffer(t)}catch(e){n.emit(`error`,e,this)}return c.concat([a||r.bufferFrom([0]),r.bufferFrom([1,0]),y.toBuffer(i||`internal server error`)])};function N(e,t,n){M.call(this,e,n),this._writable=void 0;var r=this,i;_.default.nextTick(function(){i=t.call(r,function(e,t){_.default.nextTick(function(){e?s(e):(r._writable=t.on(`finish`,s),r.emit(`_writable`))})}).on(`data`,a).on(`end`,o)});function a(e){var t=e.id,n=c.concat(e.payload),i;try{var a=ne(b,n),o=a.head,s=r._getAdapter(o)}catch(e){i=K(`INVALID_HANDSHAKE_REQUEST`,e)}var l=r._createHandshakeResponse(i,o);r.emit(`handshake`,o,l),i?u(r._encodeSystemError(i)):r._receive(a.tail,s,u);function u(e){if(!r.destroyed){if(!r._writable){r.once(`_writable`,function(){u(e)});return}r._writable.write({id:t,payload:[x.toBuffer(l),e]})}r._writable&&r._endWritable&&r._writable.end()}}function o(){r.destroy()}function s(e){i.removeListener(`data`,a).removeListener(`end`,o),r.destroy(e||!0)}}s.inherits(N,M);function P(e,t,n,r){M.call(this,e,r),this._adapter=void 0,this._writable=n.on(`finish`,l),this._readable=t.on(`data`,a).on(`end`,s),this.once(`_drain`,function(){this._readable.removeListener(`data`,a).removeListener(`data`,o).removeListener(`end`,s)}).once(`eot`,function(){this._writable.removeListener(`finish`,l),this._endWritable&&this._writable.end()});var i=this;function a(e){var t=e.id;if(!i._matchesPrefix(t))return;var n=c.concat(e.payload),r;try{var s=ne(b,n),l=s.head;i._adapter=i._getAdapter(l)}catch(e){r=K(`INVALID_HANDSHAKE_REQUEST`,e)}var u=i._createHandshakeResponse(r,l);i.emit(`handshake`,l,u),r?d(i._encodeSystemError(r)):(i._readable.removeListener(`data`,a).on(`data`,o),i._receive(s.tail,i._adapter,d));function d(e){i.destroyed||i._writable.write({id:t,payload:[x.toBuffer(u),e]})}}function o(e){var t=e.id;if(i._matchesPrefix(t)){var n=c.concat(e.payload);i._receive(n,i._adapter,function(e,n){i.destroyed||n||i._writable.write({id:t,payload:[e]})})}}function s(){i.destroy()}function l(){i.destroy(!0)}}s.inherits(P,M);function F(e,t,n){this._msg=e,this.headers=t||{},this.request=n||{}}F.prototype.toBuffer=function(){var e=this._msg;return c.concat([g.toBuffer(this.headers),y.toBuffer(e.name),e.requestType.toBuffer(this.request)])};function ee(e,t,n,r){this._msg=e,this.headers=t,this.error=n,this.response=r}ee.prototype.toBuffer=function(){var e=g.toBuffer(this.headers),t=this.error!==void 0;return c.concat([e,h.toBuffer(t),t?this._msg.errorType.toBuffer(this.error):this._msg.responseType.toBuffer(this.response)])};function I(e,t){this.channel=t,this.locals={},this.message=e,Object.freeze(this)}function te(e,t){this._ctx=e,this._mask=-1>>>(t|0),this._id=0,this._n=0,this._cbs={}}te.prototype.get=function(e){return this._cbs[e&this._mask]},te.prototype.add=function(e,t){this._id=this._id+1&this._mask;var n=this,r=this._id,i;return e>0&&(i=setTimeout(function(){a(/* @__PURE__ */ Error(`timeout`))},e)),this._cbs[r]=a,this._n++,r;function a(){n._cbs[r]&&(delete n._cbs[r],n._n--,i&&clearTimeout(i),t.apply(n._ctx,arguments))}},te.prototype.clear=function(){Object.keys(this._cbs).forEach(function(e){this._cbs[e](/* @__PURE__ */ Error(`interrupted`))},this)};function L(e,t,n,r){this._clientSvc=e,this._serverSvc=t,this._hash=n,this._isRemote=!!r,this._readers=U(e,t)}L.prototype._decodeRequest=function(e){var t=new l(e),n=g._read(t),r=y._read(t),i,a;if(r?(i=this._serverSvc.message(r),a=this._readers[r+`?`]._read(t)):i=C,!t.isValid())throw Error(f(`truncated %s request`,r||`ping$`));return new F(i,n,a)},L.prototype._decodeResponse=function(e,t,n){var i=new l(e);r.copyOwnProperties(g._read(i),t.headers,!0);var a=h._read(i),o=n.name;if(o){var s=this._readers[o+(a?`*`:`!`)];if(n=this._clientSvc.message(o),a?t.error=s._read(i):t.response=s._read(i),!i.isValid())throw Error(f(`truncated %s response`,o))}else n=C};function R(){o.Transform.call(this,{readableObjectMode:!0}),this._id=void 0,this._buf=r.newBuffer(0),this._bufs=[],this.on(`finish`,function(){this.push(null)})}s.inherits(R,o.Transform),R.prototype._transform=function(e,t,n){e=c.concat([this._buf,e]);for(var r;e.length>=4&&e.length>=(r=e.readInt32BE(0))+4;){if(r)this._bufs.push(e.slice(4,r+4));else{var i=this._bufs;this._bufs=[],this.push({id:null,payload:i})}e=e.slice(r+4)}this._buf=e,n()},R.prototype._flush=function(e){if(this._buf.length||this._bufs.length){var t=this._bufs.slice();t.unshift(this._buf);var n=K(`TRAILING_DATA`);n.trailingData=c.concat(t).toString(),this.emit(`error`,n)}e()};function z(){o.Transform.call(this,{writableObjectMode:!0}),this.on(`finish`,function(){this.push(null)})}s.inherits(z,o.Transform),z.prototype._transform=function(e,t,n){for(var r=e.payload,i=0,a=r.length,o;i<a;i++)o=r[i],this.push(H(o.length)),this.push(o);this.push(H(0)),n()};function B(){o.Transform.call(this,{readableObjectMode:!0}),this._id=void 0,this._frameCount=0,this._buf=r.newBuffer(0),this._bufs=[],this.on(`finish`,function(){this.push(null)})}s.inherits(B,o.Transform),B.prototype._transform=function(e,t,n){for(e=c.concat([this._buf,e]);;){if(this._id===void 0){if(e.length<8){this._buf=e,n();return}this._id=e.readInt32BE(0),this._frameCount=e.readInt32BE(4),e=e.slice(8)}for(var r;this._frameCount&&e.length>=4&&e.length>=(r=e.readInt32BE(0))+4;)this._frameCount--,this._bufs.push(e.slice(4,r+4)),e=e.slice(r+4);if(this._frameCount){this._buf=e,n();return}var i={id:this._id,payload:this._bufs};this._bufs=[],this._id=void 0,this.push(i)}},B.prototype._flush=R.prototype._flush;function V(){o.Transform.call(this,{writableObjectMode:!0}),this.on(`finish`,function(){this.push(null)})}s.inherits(V,o.Transform),V.prototype._transform=function(e,t,n){var i=e.payload,a=i.length,o=r.newBuffer(8);o.writeInt32BE(e.id,0),o.writeInt32BE(a,4),this.push(o);for(var s=0;s<a;s++)o=i[s],this.push(H(o.length)),this.push(o);n()};function H(e){var t=r.newBuffer(4);return t.writeInt32BE(e),t}function ne(e,t){var n=new l(t),r=e._read(n);if(!n.isValid())throw Error(f(`truncated %j`,e.schema()));return{head:r,tail:n.buf.slice(n.pos)}}function re(e,t){return e.equals(t)?e:e.createResolver(t)}function U(e,t){var n={};return e.messages.forEach(function(e){var r=e.name,i=t.message(r);try{if(!i)throw Error(f(`missing server message: %s`,r));if(i.oneWay!==e.oneWay)throw Error(f(`inconsistent one-way message: %s`,r));n[r+`?`]=re(i.requestType,e.requestType),n[r+`*`]=re(e.errorType,i.errorType),n[r+`!`]=re(e.responseType,i.responseType)}catch(e){throw K(`INCOMPATIBLE_PROTOCOL`,e)}}),n}function ie(e,t,n,r){Object.keys(t).forEach(function(i){var a=t[i],o,s;r?(o=n,s=T.forProtocol(a)):(o=T.forProtocol(a),s=n),e[i]=new L(o,s,i,!0)})}function W(e,t){var n={};return Object.keys(e).forEach(function(r){var i=e[r];i._isRemote&&(n[r]=(t?i._serverSvc:i._clientSvc).protocol)}),n}function G(e){return!!e&&Object.prototype.toString.call(e)===`[object Error]`}function ae(e,t){return e.on(`error`,function(n){t.emit(`error`,n,e)})}function oe(e,t){var n=Error(e);return n.cause=t,n}function K(e,t){var n=oe(e.toLowerCase().replace(/_/g,` `),t);return n.rpcCode=t&&t.rpcCode?t.rpcCode:e,n}function q(e,t,n){for(var r=[],i=0,a=n.length,o;i<a;i++)o=n[i],o.type.isValid(t[o.name],{errorHook:l});var s=r.map(function(e){return f(`%s = %j but expected %s`,e.path,e.value,e.type)}).join(`, `),c=Error(f(`%s (%s)`,e,s));return c.details=r,c;function l(e,t,n){for(var i=[],a=0,s=e.length,c;a<s;a++)c=e[a],isNaN(c)?i.push(`.`+c):i.push(`[`+c+`]`);r.push({path:o.name+i.join(``),value:t,type:n})}}function se(e){return e?r.getHash(e).readInt16BE(0)<<32-S:0}function ce(e,t){return!((e^t)>>32-S)}function J(e){return!!(e&&e.pipe)}function le(e,t){var n=e.message(t);if(!n)throw Error(f(`unknown message: %s`,t));return n}function Y(e){var t=[e.wreq,e.wres],n=[],r;i(0);function i(o){var s=!1;o<e.fns.length?e.fns[o].apply(e.ctx,t.concat(function(t,c){s?e.onError(oe(`duplicate forward middleware call`,t)):(s=!0,t||e.wres&&(e.wres.error!==void 0||e.wres.response!==void 0)?(r=t,a()):(c&&n.push(c),i(++o)))})):e.onTransition.apply(e.ctx,t.concat(function(t){s?e.onError(oe(`duplicate handler call`,t)):(s=!0,r=t,_.default.nextTick(a))}))}function a(){var t=n.pop();if(t){var i=!1;t.call(e.ctx,r,function(t){i?e.onError(oe(`duplicate backward middleware call`,t)):(r=t,i=!0,a())})}else e.onCompletion.call(e.ctx,r)}}t.exports={Adapter:L,HANDSHAKE_REQUEST_TYPE:b,HANDSHAKE_RESPONSE_TYPE:x,Message:w,Registry:te,Service:T,discoverProtocol:E,streams:{FrameDecoder:R,FrameEncoder:z,NettyDecoder:B,NettyEncoder:V}}}}),Ke=l({"../../../node_modules/.pnpm/avsc@5.7.9/node_modules/avsc/etc/browser/lib/files.js"(e,t){v();function n(){return/* @__PURE__ */ Error(`unsupported in the browser`)}function r(){return function(e,t,r){r(n())}}function i(){return function(){throw n()}}t.exports={createImportHook:r,createSyncImportHook:i,existsSync:function(){return!1},readFileSync:function(){throw n()}}}}),qe=l({"../../../node_modules/.pnpm/path-browserify@1.0.1/node_modules/path-browserify/index.js"(e,t){v();function n(e){if(typeof e!=`string`)throw TypeError(`Path must be a string. Received `+JSON.stringify(e))}function r(e,t){for(var n=``,r=0,i=-1,a=0,o,s=0;s<=e.length;++s){if(s<e.length)o=e.charCodeAt(s);else if(o===47)break;else o=47;if(o===47){if(i!==s-1&&a!==1){if(i!==s-1&&a===2){if(n.length<2||r!==2||n.charCodeAt(n.length-1)!==46||n.charCodeAt(n.length-2)!==46){if(n.length>2){var c=n.lastIndexOf(`/`);if(c!==n.length-1){c===-1?(n=``,r=0):(n=n.slice(0,c),r=n.length-1-n.lastIndexOf(`/`)),i=s,a=0;continue}}else if(n.length===2||n.length===1){n=``,r=0,i=s,a=0;continue}}t&&(n.length>0?n+=`/..`:n=`..`,r=2)}else n.length>0?n+=`/`+e.slice(i+1,s):n=e.slice(i+1,s),r=s-i-1}i=s,a=0}else o===46&&a!==-1?++a:a=-1}return n}function i(e,t){var n=t.dir||t.root,r=t.base||(t.name||``)+(t.ext||``);return n?n===t.root?n+r:n+e+r:r}var a={resolve:function(){for(var e=``,t=!1,i,a=arguments.length-1;a>=-1&&!t;a--){var o;a>=0?o=arguments[a]:(i===void 0&&(i=_.default.cwd()),o=i),n(o),o.length!==0&&(e=o+`/`+e,t=o.charCodeAt(0)===47)}return e=r(e,!t),t?e.length>0?`/`+e:`/`:e.length>0?e:`.`},normalize:function(e){if(n(e),e.length===0)return`.`;var t=e.charCodeAt(0)===47,i=e.charCodeAt(e.length-1)===47;return e=r(e,!t),e.length===0&&!t&&(e=`.`),e.length>0&&i&&(e+=`/`),t?`/`+e:e},isAbsolute:function(e){return n(e),e.length>0&&e.charCodeAt(0)===47},join:function(){if(arguments.length===0)return`.`;for(var e,t=0;t<arguments.length;++t){var r=arguments[t];n(r),r.length>0&&(e===void 0?e=r:e+=`/`+r)}return e===void 0?`.`:a.normalize(e)},relative:function(e,t){if(n(e),n(t),e===t||(e=a.resolve(e),t=a.resolve(t),e===t))return``;for(var r=1;r<e.length&&e.charCodeAt(r)===47;++r);for(var i=e.length,o=i-r,s=1;s<t.length&&t.charCodeAt(s)===47;++s);for(var c=t.length-s,l=o<c?o:c,u=-1,d=0;d<=l;++d){if(d===l){if(c>l){if(t.charCodeAt(s+d)===47)return t.slice(s+d+1);if(d===0)return t.slice(s+d)}else o>l&&(e.charCodeAt(r+d)===47?u=d:d===0&&(u=0));break}var f=e.charCodeAt(r+d);if(f!==t.charCodeAt(s+d))break;f===47&&(u=d)}var p=``;for(d=r+u+1;d<=i;++d)(d===i||e.charCodeAt(d)===47)&&(p.length===0?p+=`..`:p+=`/..`);return p.length>0?p+t.slice(s+u):(s+=u,t.charCodeAt(s)===47&&++s,t.slice(s))},_makeLong:function(e){return e},dirname:function(e){if(n(e),e.length===0)return`.`;for(var t=e.charCodeAt(0),r=t===47,i=-1,a=!0,o=e.length-1;o>=1;--o)if(t=e.charCodeAt(o),t===47){if(!a){i=o;break}}else a=!1;return i===-1?r?`/`:`.`:r&&i===1?`//`:e.slice(0,i)},basename:function(e,t){if(t!==void 0&&typeof t!=`string`)throw TypeError(`"ext" argument must be a string`);n(e);var r=0,i=-1,a=!0,o;if(t!==void 0&&t.length>0&&t.length<=e.length){if(t.length===e.length&&t===e)return``;var s=t.length-1,c=-1;for(o=e.length-1;o>=0;--o){var l=e.charCodeAt(o);if(l===47){if(!a){r=o+1;break}}else c===-1&&(a=!1,c=o+1),s>=0&&(l===t.charCodeAt(s)?--s===-1&&(i=o):(s=-1,i=c))}return r===i?i=c:i===-1&&(i=e.length),e.slice(r,i)}for(o=e.length-1;o>=0;--o)if(e.charCodeAt(o)===47){if(!a){r=o+1;break}}else i===-1&&(a=!1,i=o+1);return i===-1?``:e.slice(r,i)},extname:function(e){n(e);for(var t=-1,r=0,i=-1,a=!0,o=0,s=e.length-1;s>=0;--s){var c=e.charCodeAt(s);if(c===47){if(!a){r=s+1;break}}else i===-1&&(a=!1,i=s+1),c===46?t===-1?t=s:o!==1&&(o=1):t!==-1&&(o=-1)}return t===-1||i===-1||o===0||o===1&&t===i-1&&t===r+1?``:e.slice(t,i)},format:function(e){if(typeof e!=`object`||!e)throw TypeError(`The "pathObject" argument must be of type Object. Received type `+typeof e);return i(`/`,e)},parse:function(e){n(e);var t={root:``,dir:``,base:``,ext:``,name:``};if(e.length===0)return t;var r=e.charCodeAt(0),i=r===47,a;i?(t.root=`/`,a=1):a=0;for(var o=-1,s=0,c=-1,l=!0,u=e.length-1,d=0;u>=a;--u)if(r=e.charCodeAt(u),r===47){if(!l){s=u+1;break}}else c===-1&&(l=!1,c=u+1),r===46?o===-1?o=u:d!==1&&(d=1):o!==-1&&(d=-1);return o===-1||c===-1||d===0||d===1&&o===c-1&&o===s+1?c!==-1&&(t.base=t.name=s===0&&i?e.slice(1,c):e.slice(s,c)):(s===0&&i?(t.name=e.slice(1,o),t.base=e.slice(1,c)):(t.name=e.slice(s,o),t.base=e.slice(s,c)),t.ext=e.slice(o,c)),s>0?t.dir=e.slice(0,s-1):i&&(t.dir=`/`),t},sep:`/`,delimiter:`:`,win32:null,posix:null};a.posix=a,t.exports=a}}),Je=l({"../../../node_modules/.pnpm/avsc@5.7.9/node_modules/avsc/lib/specs.js"(e,t){v();var n=Ke(),r=Ce(),i=qe(),a=Se().format,o={date:{type:`int`,logicalType:`date`},decimal:{type:`bytes`,logicalType:`decimal`},time_ms:{type:`long`,logicalType:`time-millis`},timestamp_ms:{type:`long`,logicalType:`timestamp-millis`}};function s(e,t,r){!r&&typeof t==`function`&&(r=t,t=void 0),t||={},t.importHook||(t.importHook=n.createImportHook()),o(e,function(e,t){if(e)r(e);else if(!t)r(/* @__PURE__ */ Error(`empty root import`));else{var n=t.types;if(n){var i=f(t)||``;n.forEach(function(e){e.namespace===i&&delete e.namespace})}r(null,t)}});function o(e,n){t.importHook(e,`idl`,function(r,a){if(r)n(r);else if(a===void 0)n();else{try{var o=new l(a,t)._readProtocol(a,t)}catch(t){t.path=e,n(t);return}s(o.protocol,o.imports,i.dirname(e),n)}})}function s(e,n,r,s){var l=[];u();function u(){var d=n.shift();if(d){var f=i.join(r,d.name);d.kind===`idl`?o(f,function(e,t){e?s(e):(t&&l.push(t),u())}):t.importHook(f,d.kind,function(e,t){if(e)s(e);else switch(d.kind){case`protocol`:case`schema`:if(t===void 0){u();return}try{var n=JSON.parse(t)}catch(e){e.path=f,s(e);return}var r=d.kind===`schema`?{types:[n]}:n;l.push(r),u();return;default:s(Error(a(`invalid import kind: %s`,d.kind)))}})}else{l.reverse();try{l.forEach(function(t){c(e,t)})}catch(e){s(e);return}s(null,e)}}}function c(e,t){var n=t.types||[];n.reverse(),n.forEach(function(n){e.types||=[],n.namespace===void 0&&(n.namespace=f(t)||``),e.types.unshift(n)}),Object.keys(t.messages||{}).forEach(function(n){if(e.messages||={},e.messages[n])throw Error(a(`duplicate message: %s`,n));e.messages[n]=t.messages[n]})}}function c(e){var t;if(typeof e==`string`&&~e.indexOf(i.sep)&&n.existsSync(e)){var r=n.readFileSync(e,{encoding:`utf8`});try{return JSON.parse(r)}catch{s(e,{importHook:n.createSyncImportHook()},function(e,n){t=e?r:n})}}else t=e;if(typeof t!=`string`||t===`null`)return t;try{return JSON.parse(t)}catch{try{return l.readProtocol(t)}catch{try{return l.readSchema(t)}catch{return t}}}}function l(e,t){t||={},this._tk=new u(e),this._ackVoidMessages=!!t.ackVoidMessages,this._implicitTags=!t.delimitedCollections,this._typeRefs=t.typeRefs||o}l.readProtocol=function(e,t){var n=new l(e,t)._readProtocol();if(n.imports.length)throw Error(`unresolvable import`);return n.protocol},l.readSchema=function(e,t){var n=new l(e,t),r=n._readJavadoc(),i=n._readType(r===void 0?{}:{doc:r},!0);return n._tk.next({id:`(eof)`}),i},l.prototype._readProtocol=function(){var e=this._tk,t=[],n=[],r={},i;this._readImports(t);var o={},s=this._readJavadoc();for(s!==void 0&&(o.doc=s),this._readAnnotations(o),e.next({val:`protocol`}),e.next({val:`{`,silent:!0})||(o.protocol=e.next({id:`name`}).val,e.next({val:`{`}));!e.next({val:`}`,silent:!0});)if(!this._readImports(t)){var c=this._readJavadoc(),l=this._readType({},!0),u=this._readImports(t,!0),d=void 0;if(i=e.pos,!u&&(d=this._readMessage(l))){c!==void 0&&d.schema.doc===void 0&&(d.schema.doc=c);var f=!1;if((d.schema.response===`void`||d.schema.response.type===`void`)&&(f=!this._ackVoidMessages&&!d.schema.errors,d.schema.response===`void`?d.schema.response=`null`:d.schema.response.type=`null`),f&&(d.schema[`one-way`]=!0),r[d.name])throw Error(a(`duplicate message: %s`,d.name));r[d.name]=d.schema}else c&&(typeof l==`string`?l={doc:c,type:l}:l.doc===void 0&&(l.doc=c)),n.push(l),e.pos=i,e.next({val:`;`,silent:!0});c=void 0}return e.next({id:`(eof)`}),n.length&&(o.types=n),Object.keys(r).length&&(o.messages=r),{protocol:o,imports:t}},l.prototype._readAnnotations=function(e){for(var t=this._tk;t.next({val:`@`,silent:!0});){for(var n=[];!t.next({val:`(`,silent:!0});)n.push(t.next().val);e[n.join(``)]=t.next({id:`json`}).val,t.next({val:`)`})}},l.prototype._readMessage=function(e){var t=this._tk,n={request:[],response:e};this._readAnnotations(n);var r=t.next().val;if(t.next().val===`(`){if(!t.next({val:`)`,silent:!0}))do n.request.push(this._readField());while(!t.next({val:`)`,silent:!0})&&t.next({val:`,`}));var i=t.next();switch(i.val){case`throws`:n.errors=[];do n.errors.push(this._readType());while(!t.next({val:`;`,silent:!0})&&t.next({val:`,`}));break;case`oneway`:n[`one-way`]=!0,t.next({val:`;`});break;case`;`:break;default:throw t.error(`invalid message suffix`,i)}return{name:r,schema:n}}},l.prototype._readJavadoc=function(){var e=this._tk.next({id:`javadoc`,emitJavadoc:!0,silent:!0});if(e)return e.val},l.prototype._readField=function(){var e=this._tk,t=this._readJavadoc(),n={type:this._readType()};return t!==void 0&&n.doc===void 0&&(n.doc=t),this._readAnnotations(n),n.name=e.next({id:`name`}).val,e.next({val:`=`,silent:!0})&&(n.default=e.next({id:`json`}).val),n},l.prototype._readType=function(e,t){switch(e||={},this._readAnnotations(e),e.type=this._tk.next({id:`name`}).val,e.type){case`record`:case`error`:return this._readRecord(e);case`fixed`:return this._readFixed(e);case`enum`:return this._readEnum(e,t);case`map`:return this._readMap(e);case`array`:return this._readArray(e);case`union`:if(Object.keys(e).length>1)throw Error(`union annotations are not supported`);return this._readUnion();default:var n=this._typeRefs[e.type];return n&&(delete e.type,r.copyOwnProperties(n,e)),Object.keys(e).length>1?e:e.type}},l.prototype._readFixed=function(e){var t=this._tk;return t.next({val:`(`,silent:!0})||(e.name=t.next({id:`name`}).val,t.next({val:`(`})),e.size=parseInt(t.next({id:`number`}).val),t.next({val:`)`}),e},l.prototype._readMap=function(e){var t=this._tk,n=this._implicitTags,r=t.next({val:`<`,silent:n})===void 0;return e.values=this._readType(),t.next({val:`>`,silent:r}),e},l.prototype._readArray=function(e){var t=this._tk,n=this._implicitTags,r=t.next({val:`<`,silent:n})===void 0;return e.items=this._readType(),t.next({val:`>`,silent:r}),e},l.prototype._readEnum=function(e,t){var n=this._tk;n.next({val:`{`,silent:!0})||(e.name=n.next({id:`name`}).val,n.next({val:`{`})),e.symbols=[];do e.symbols.push(n.next().val);while(!n.next({val:`}`,silent:!0})&&n.next({val:`,`}));return t&&n.next({val:`=`,silent:!0})&&(e.default=n.next().val,n.next({val:`;`})),e},l.prototype._readUnion=function(){var e=this._tk,t=[];e.next({val:`{`});do t.push(this._readType());while(!e.next({val:`}`,silent:!0})&&e.next({val:`,`}));return t},l.prototype._readRecord=function(e){var t=this._tk;for(t.next({val:`{`,silent:!0})||(e.name=t.next({id:`name`}).val,t.next({val:`{`})),e.fields=[];!t.next({val:`}`,silent:!0});)e.fields.push(this._readField()),t.next({val:`;`});return e},l.prototype._readImports=function(e,t){for(var n=this._tk,r=0,i=n.pos;n.next({val:`import`,silent:!0});){if(!r&&t&&n.next({val:`(`,silent:!0})){n.pos=i;return}var a=n.next({id:`name`}).val,o=JSON.parse(n.next({id:`string`}).val);n.next({val:`;`}),e.push({kind:a,name:o}),r++}return r};function u(e){this._str=e,this.pos=0}u.prototype.next=function(e){var t={pos:this.pos,id:void 0,val:void 0},n=this._skip(e&&e.emitJavadoc);if(typeof n==`string`)t.id=`javadoc`,t.val=n;else{var r=this.pos,i=this._str,o=i.charAt(r);if(!o)t.id=`(eof)`;else if(e&&e.id===`json`?(t.id=`json`,this.pos=this._endOfJson()):o===`"`?(t.id=`string`,this.pos=this._endOfString()):/[0-9]/.test(o)?(t.id=`number`,this.pos=this._endOf(/[0-9]/)):/[`A-Za-z_.]/.test(o)?(t.id=`name`,this.pos=this._endOf(/[`A-Za-z0-9_.]/)):(t.id=`operator`,this.pos=r+1),t.val=i.slice(r,this.pos),t.id===`json`)try{t.val=JSON.parse(t.val)}catch{throw this.error(`invalid JSON`,t)}else t.id===`name`&&(t.val=t.val.replace(/`/g,``))}var s;if(e&&e.id&&e.id!==t.id?s=this.error(a(`expected ID %s`,e.id),t):e&&e.val&&e.val!==t.val&&(s=this.error(a(`expected value %s`,e.val),t)),!s)return t;if(e&&e.silent)this.pos=t.pos;else throw s},u.prototype.error=function(e,t){for(var n=typeof t!=`number`,r=n?t.pos:t,i=this._str,o=1,s=0,c=0;c<r;c++)i.charAt(c)===`
76
+ `&&(o++,s=c);var l=n?a(`invalid token %j: %s`,t,e):e,u=Error(l);return u.token=n?t:void 0,u.lineNum=o,u.colNum=r-s,u},u.prototype._skip=function(e){for(var t=this._str,n=!1,r,i;(i=t.charAt(this.pos))&&/\s/.test(i);)this.pos++;if(r=this.pos,i===`/`)switch(t.charAt(this.pos+1)){case`/`:for(this.pos+=2;(i=t.charAt(this.pos))&&i!==`
77
+ `;)this.pos++;return this._skip(e);case`*`:for(this.pos+=2,t.charAt(this.pos)===`*`&&(n=!0);i=t.charAt(this.pos++);)if(i===`*`&&t.charAt(this.pos)===`/`)return this.pos++,n&&e?d(t.slice(r+3,this.pos-2)):this._skip(e);throw this.error(`unterminated comment`,r)}},u.prototype._endOf=function(e){for(var t=this.pos,n=this._str;e.test(n.charAt(t));)t++;return t},u.prototype._endOfString=function(){for(var e=this.pos+1,t=this._str,n;n=t.charAt(e);){if(n===`"`)return e+1;n===`\\`?e+=2:e++}throw this.error(`unterminated string`,e-1)},u.prototype._endOfJson=function(){var e=r.jsonEnd(this._str,this.pos);if(e<0)throw this.error(`invalid JSON`,e);return e};function d(e){for(var t=e.replace(/^[ \t]+|[ \t]+$/g,``).split(`
78
+ `).map(function(e,t){return t?e.replace(/^\s*\*\s?/,``):e});t.length&&!t[0];)t.shift();for(;t.length&&!t[t.length-1];)t.pop();return t.join(`
79
+ `)}function f(e){if(e.namespace)return e.namespace;var t=/^(.*)\.[^.]+$/.exec(e.protocol);return t?t[1]:void 0}t.exports={Tokenizer:u,assembleProtocol:s,read:c,readProtocol:l.readProtocol,readSchema:l.readSchema}}}),Ye=l({"../../../node_modules/.pnpm/avsc@5.7.9/node_modules/avsc/etc/browser/avsc-services.js"(e,t){v();var n=Te(),r=Ge(),i=Je(),a=Ce();function o(e,t){var a=i.read(e);return a.protocol?r.Service.forProtocol(a,t):n.Type.forSchema(a,t)}t.exports={Service:r.Service,assembleProtocol:i.assembleProtocol,discoverProtocol:r.discoverProtocol,parse:o,readProtocol:i.readProtocol,readSchema:i.readSchema},a.copyOwnProperties(n,t.exports)}}),Xe=l({"../../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/internal/errors.js"(e,t){v();function n(e){"@babel/helpers - typeof";return n=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},n(e)}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,a(r.key),r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){var t=o(e,`string`);return n(t)===`symbol`?t:String(t)}function o(e,t){if(n(e)!==`object`||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||`default`);if(n(i)!==`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function s(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function c(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&l(e,t)}function l(e,t){return l=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},l(e,t)}function u(e){var t=p();return function(){var n=m(e),r;if(t){var i=m(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return d(this,r)}}function d(e,t){if(t&&(n(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return f(e)}function f(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function p(){if(typeof Reflect>`u`||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==`function`)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function m(e){return m=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},m(e)}var h={},g,_;function y(e,t,n){n||=Error;function r(e,n,r){return typeof t==`string`?t:t(e,n,r)}h[e]=/* @__PURE__ */ (function(t){c(a,t);var n=u(a);function a(t,i,o){var c;return s(this,a),c=n.call(this,r(t,i,o)),c.code=e,c}return i(a)})(n)}function b(e,t){if(Array.isArray(e)){var n=e.length;return e=e.map(function(e){return String(e)}),n>2?`one of ${t} ${e.slice(0,n-1).join(`, `)}, or `+e[n-1]:n===2?`one of ${t} ${e[0]} or ${e[1]}`:`of ${t} ${e[0]}`}return`of ${t} ${String(e)}`}function x(e,t,n){return e.substr(!n||n<0?0:+n,t.length)===t}function S(e,t,n){return(n===void 0||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}function C(e,t,n){return typeof n!=`number`&&(n=0),n+t.length>e.length?!1:e.indexOf(t,n)!==-1}y(`ERR_AMBIGUOUS_ARGUMENT`,`The "%s" argument is ambiguous. %s`,TypeError),y(`ERR_INVALID_ARG_TYPE`,function(e,t,r){g===void 0&&(g=mt()),g(typeof e==`string`,`'name' must be a string`);var i;typeof t==`string`&&x(t,`not `)?(i=`must not be`,t=t.replace(/^not /,``)):i=`must be`;var a=S(e,` argument`)?`The ${e} ${i} ${b(t,`type`)}`:`The "${e}" ${C(e,`.`)?`property`:`argument`} ${i} ${b(t,`type`)}`;return a+=`. Received type ${n(r)}`,a},TypeError),y(`ERR_INVALID_ARG_VALUE`,function(e,t){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:`is invalid`;_===void 0&&(_=Se());var r=_.inspect(t);return r.length>128&&(r=`${r.slice(0,128)}...`),`The argument '${e}' ${n}. Received ${r}`},TypeError,RangeError),y(`ERR_INVALID_RETURN_VALUE`,function(e,t,r){return`Expected ${e} to be returned from the "${t}" function but got ${r&&r.constructor&&r.constructor.name?`instance of ${r.constructor.name}`:`type ${n(r)}`}.`},TypeError),y(`ERR_MISSING_ARGS`,function(){var e=[...arguments];g===void 0&&(g=mt()),g(e.length>0,`At least one arg needs to be specified`);var t=`The `,n=e.length;switch(e=e.map(function(e){return`"${e}"`}),n){case 1:t+=`${e[0]} argument`;break;case 2:t+=`${e[0]} and ${e[1]} arguments`;break;default:t+=e.slice(0,n-1).join(`, `),t+=`, and ${e[n-1]} arguments`}return`${t} must be specified`},TypeError),t.exports.codes=h}}),Ze=l({"../../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/internal/assert/assertion_error.js"(e,t){v();function n(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function r(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]==null?{}:arguments[t];t%2?n(Object(r),!0).forEach(function(t){i(e,t,r[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):n(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function i(e,t,n){return t=c(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function a(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}function o(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,c(r.key),r)}}function s(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function c(e){var t=l(e,`string`);return S(t)===`symbol`?t:String(t)}function l(e,t){if(S(e)!==`object`||e===null)return e;var n=e[Symbol.toPrimitive];if(n!==void 0){var r=n.call(e,t||`default`);if(S(r)!==`object`)return r;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function u(e,t){if(typeof t!=`function`&&t!==null)throw TypeError(`Super expression must either be null or a function`);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&b(e,t)}function d(e){var t=g();return function(){var n=x(e),r;if(t){var i=x(this).constructor;r=Reflect.construct(n,arguments,i)}else r=n.apply(this,arguments);return f(this,r)}}function f(e,t){if(t&&(S(t)===`object`||typeof t==`function`))return t;if(t!==void 0)throw TypeError(`Derived constructors may only return object or undefined`);return p(e)}function p(e){if(e===void 0)throw ReferenceError(`this hasn't been initialised - super() hasn't been called`);return e}function m(e){var t=typeof Map==`function`?/* @__PURE__ */ new Map:void 0;return m=function(e){if(e===null||!y(e))return e;if(typeof e!=`function`)throw TypeError(`Super expression must either be null or a function`);if(t!==void 0){if(t.has(e))return t.get(e);t.set(e,n)}function n(){return h(e,arguments,x(this).constructor)}return n.prototype=Object.create(e.prototype,{constructor:{value:n,enumerable:!1,writable:!0,configurable:!0}}),b(n,e)},m(e)}function h(e,t,n){return h=g()?Reflect.construct.bind():function(e,t,n){var r=[null];r.push.apply(r,t);var i=new(Function.bind.apply(e,r));return n&&b(i,n.prototype),i},h.apply(null,arguments)}function g(){if(typeof Reflect>`u`||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy==`function`)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function y(e){return Function.toString.call(e).indexOf(`[native code]`)!==-1}function b(e,t){return b=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},b(e,t)}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}function S(e){"@babel/helpers - typeof";return S=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},S(e)}var C=Se().inspect,w=Xe().codes.ERR_INVALID_ARG_TYPE;function T(e,t,n){return(n===void 0||n>e.length)&&(n=e.length),e.substring(n-t.length,n)===t}function E(e,t){if(t=Math.floor(t),e.length==0||t==0)return``;var n=e.length*t;for(t=Math.floor(Math.log(t)/Math.log(2));t;)e+=e,t--;return e+=e.substring(0,n-e.length),e}var D=``,O=``,k=``,A=``,j={deepStrictEqual:`Expected values to be strictly deep-equal:`,strictEqual:`Expected values to be strictly equal:`,strictEqualObject:`Expected "actual" to be reference-equal to "expected":`,deepEqual:`Expected values to be loosely deep-equal:`,equal:`Expected values to be loosely equal:`,notDeepStrictEqual:`Expected "actual" not to be strictly deep-equal to:`,notStrictEqual:`Expected "actual" to be strictly unequal to:`,notStrictEqualObject:`Expected "actual" not to be reference-equal to "expected":`,notDeepEqual:`Expected "actual" not to be loosely deep-equal to:`,notEqual:`Expected "actual" to be loosely unequal to:`,notIdentical:`Values identical but not reference-equal:`},M=10;function N(e){var t=Object.keys(e),n=Object.create(Object.getPrototypeOf(e));return t.forEach(function(t){n[t]=e[t]}),Object.defineProperty(n,"message",{value:e.message}),n}function P(e){return C(e,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function F(e,t,n){var r=``,i=``,a=0,o=``,s=!1,c=P(e),l=c.split(`
80
+ `),u=P(t).split(`
81
+ `),d=0,f=``;if(n===`strictEqual`&&S(e)===`object`&&S(t)===`object`&&e!==null&&t!==null&&(n=`strictEqualObject`),l.length===1&&u.length===1&&l[0]!==u[0]){var p=l[0].length+u[0].length;if(p<=M){if((S(e)!==`object`||e===null)&&(S(t)!==`object`||t===null)&&(e!==0||t!==0))return`${j[n]}
82
+
83
+ ${l[0]} !== ${u[0]}
84
+ `}else if(n!==`strictEqualObject`&&p<(_.default.stderr&&_.default.stderr.isTTY?_.default.stderr.columns:80)){for(;l[0][d]===u[0][d];)d++;d>2&&(f=`
85
+ ${E(` `,d)}^`,d=0)}}for(var m=l[l.length-1],h=u[u.length-1];m===h&&(d++<2?o=`
86
+ ${m}${o}`:r=m,l.pop(),u.pop(),l.length!==0&&u.length!==0);)m=l[l.length-1],h=u[u.length-1];var g=Math.max(l.length,u.length);if(g===0){var v=c.split(`
87
+ `);if(v.length>30)for(v[26]=`${D}...${A}`;v.length>27;)v.pop();return`${j.notIdentical}
88
+
89
+ ${v.join(`
90
+ `)}
91
+ `}d>3&&(o=`
92
+ ${D}...${A}${o}`,s=!0),r!==``&&(o=`
93
+ ${r}${o}`,r=``);var y=0,b=j[n]+`
94
+ ${O}+ actual${A} ${k}- expected${A}`,x=` ${D}...${A} Lines skipped`;for(d=0;d<g;d++){var C=d-a;if(l.length<d+1)C>1&&d>2&&(C>4?(i+=`
95
+ ${D}...${A}`,s=!0):C>3&&(i+=`
96
+ ${u[d-2]}`,y++),i+=`
97
+ ${u[d-1]}`,y++),a=d,r+=`
98
+ ${k}-${A} ${u[d]}`,y++;else if(u.length<d+1)C>1&&d>2&&(C>4?(i+=`
99
+ ${D}...${A}`,s=!0):C>3&&(i+=`
100
+ ${l[d-2]}`,y++),i+=`
101
+ ${l[d-1]}`,y++),a=d,i+=`
102
+ ${O}+${A} ${l[d]}`,y++;else{var w=u[d],N=l[d],F=N!==w&&(!T(N,`,`)||N.slice(0,-1)!==w);F&&T(w,`,`)&&w.slice(0,-1)===N&&(F=!1,N+=`,`),F?(C>1&&d>2&&(C>4?(i+=`
103
+ ${D}...${A}`,s=!0):C>3&&(i+=`
104
+ ${l[d-2]}`,y++),i+=`
105
+ ${l[d-1]}`,y++),a=d,i+=`
106
+ ${O}+${A} ${N}`,r+=`
107
+ ${k}-${A} ${w}`,y+=2):(i+=r,r=``,(C===1||d===0)&&(i+=`
108
+ ${N}`,y++))}if(y>20&&d<g-2)return`${b}${x}
109
+ ${i}
110
+ ${D}...${A}${r}
111
+ ${D}...${A}`}return`${b}${s?x:``}
112
+ ${i}${r}${o}${f}`}t.exports=/* @__PURE__ */ (function(e,t){u(i,e);var n=d(i);function i(e){var t;if(a(this,i),S(e)!==`object`||e===null)throw new w(`options`,`Object`,e);var r=e.message,o=e.operator,s=e.stackStartFn,c=e.actual,l=e.expected,u=Error.stackTraceLimit;if(Error.stackTraceLimit=0,r!=null)t=n.call(this,String(r));else if(_.default.stderr&&_.default.stderr.isTTY&&(_.default.stderr&&_.default.stderr.getColorDepth&&_.default.stderr.getColorDepth()!==1?(D=`\x1B[34m`,O=`\x1B[32m`,A=`\x1B[39m`,k=`\x1B[31m`):(D=``,O=``,A=``,k=``)),S(c)===`object`&&c!==null&&S(l)===`object`&&l!==null&&`stack`in c&&c instanceof Error&&`stack`in l&&l instanceof Error&&(c=N(c),l=N(l)),o===`deepStrictEqual`||o===`strictEqual`)t=n.call(this,F(c,l,o));else if(o===`notDeepStrictEqual`||o===`notStrictEqual`){var d=j[o],m=P(c).split(`
113
+ `);if(o===`notStrictEqual`&&S(c)===`object`&&c!==null&&(d=j.notStrictEqualObject),m.length>30)for(m[26]=`${D}...${A}`;m.length>27;)m.pop();t=m.length===1?n.call(this,`${d} ${m[0]}`):n.call(this,`${d}
114
+
115
+ ${m.join(`
116
+ `)}
117
+ `)}else{var h=P(c),g=``,v=j[o];o===`notDeepEqual`||o===`notEqual`?(h=`${j[o]}
118
+
119
+ ${h}`,h.length>1024&&(h=`${h.slice(0,1021)}...`)):(g=`${P(l)}`,h.length>512&&(h=`${h.slice(0,509)}...`),g.length>512&&(g=`${g.slice(0,509)}...`),o===`deepEqual`||o===`equal`?h=`${v}
120
+
121
+ ${h}
122
+
123
+ should equal
124
+
125
+ `:g=` ${o} ${g}`),t=n.call(this,`${h}${g}`)}return Error.stackTraceLimit=u,t.generatedMessage=!r,Object.defineProperty(p(t),"name",{value:`AssertionError [ERR_ASSERTION]`,enumerable:!1,writable:!0,configurable:!0}),t.code=`ERR_ASSERTION`,t.actual=c,t.expected=l,t.operator=o,Error.captureStackTrace&&Error.captureStackTrace(p(t),s),t.stack,t.name=`AssertionError`,f(t)}return s(i,[{key:`toString`,value:function(){return`${this.name} [${this.code}]: ${this.message}`}},{key:t,value:function(e,t){return C(this,r(r({},t),{},{customInspect:!1,depth:0}))}}]),i})(/* @__PURE__ */ m(Error),C.custom)}}),Qe=l({"../../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/isArguments.js"(e,t){v();var n=Object.prototype.toString;t.exports=function(e){var t=n.call(e),r=t===`[object Arguments]`;return r||=t!==`[object Array]`&&typeof e==`object`&&!!e&&typeof e.length==`number`&&e.length>=0&&n.call(e.callee)===`[object Function]`,r}}}),$e=l({"../../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/implementation.js"(e,t){v();var n;Object.keys||(r=Object.prototype.hasOwnProperty,i=Object.prototype.toString,a=Qe(),o=Object.prototype.propertyIsEnumerable,s=!o.call({toString:null},`toString`),c=o.call(function(){},`prototype`),l=[`toString`,`toLocaleString`,`valueOf`,`hasOwnProperty`,`isPrototypeOf`,`propertyIsEnumerable`,`constructor`],u=function(e){var t=e.constructor;return t&&t.prototype===e},d={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},f=(function(){if(typeof window>`u`)return!1;for(var e in window)try{if(!d[`$`+e]&&r.call(window,e)&&window[e]!==null&&typeof window[e]==`object`)try{u(window[e])}catch{return!0}}catch{return!0}return!1})(),p=function(e){if(typeof window>`u`||!f)return u(e);try{return u(e)}catch{return!1}},n=function(e){var t=typeof e==`object`&&!!e,n=i.call(e)===`[object Function]`,o=a(e),u=t&&i.call(e)===`[object String]`,d=[];if(!t&&!n&&!o)throw TypeError(`Object.keys called on a non-object`);var f=c&&n;if(u&&e.length>0&&!r.call(e,0))for(var m=0;m<e.length;++m)d.push(String(m));if(o&&e.length>0)for(var h=0;h<e.length;++h)d.push(String(h));else for(var g in e)!(f&&g===`prototype`)&&r.call(e,g)&&d.push(String(g));if(s)for(var _=p(e),v=0;v<l.length;++v)!(_&&l[v]===`constructor`)&&r.call(e,l[v])&&d.push(l[v]);return d});var r,i,a,o,s,c,l,u,d,f,p;t.exports=n}}),et=l({"../../../node_modules/.pnpm/object-keys@1.1.1/node_modules/object-keys/index.js"(e,t){v();var n=Array.prototype.slice,r=Qe(),i=Object.keys,a=i?function(e){return i(e)}:$e(),o=Object.keys;a.shim=function(){return Object.keys?(function(){var e=Object.keys(arguments);return e&&e.length===arguments.length})(1,2)||(Object.keys=function(e){return r(e)?o(n.call(e)):o(e)}):Object.keys=a,Object.keys||a},t.exports=a}}),tt=l({"../../../node_modules/.pnpm/object.assign@4.1.7/node_modules/object.assign/implementation.js"(e,t){v();var n=et(),r=b()(),i=ce(),a=S(),o=i(`Array.prototype.push`),s=i(`Object.prototype.propertyIsEnumerable`),c=r?a.getOwnPropertySymbols:null;t.exports=function(e,t){if(e==null)throw TypeError(`target must be an object`);var i=a(e);if(arguments.length===1)return i;for(var l=1;l<arguments.length;++l){var u=a(arguments[l]),d=n(u),f=r&&(a.getOwnPropertySymbols||c);if(f)for(var p=f(u),m=0;m<p.length;++m){var h=p[m];s(u,h)&&o(d,h)}for(var g=0;g<d.length;++g){var _=d[g];s(u,_)&&(i[_]=u[_])}}return i}}}),nt=l({"../../../node_modules/.pnpm/object.assign@4.1.7/node_modules/object.assign/polyfill.js"(e,t){v();var n=tt(),r=function(){if(!Object.assign)return!1;for(var e=`abcdefghijklmnopqrst`,t=e.split(``),n={},r=0;r<t.length;++r)n[t[r]]=t[r];var i=Object.assign({},n),a=``;for(var o in i)a+=o;return e!==a},i=function(){if(!Object.assign||!Object.preventExtensions)return!1;var e=Object.preventExtensions({1:2});try{Object.assign(e,`xy`)}catch{return e[1]===`y`}return!1};t.exports=function(){return!Object.assign||r()||i()?n:Object.assign}}}),rt=l({"../../../node_modules/.pnpm/object-is@1.1.6/node_modules/object-is/implementation.js"(e,t){v();var n=function(e){return e!==e};t.exports=function(e,t){return e===0&&t===0?1/e==1/t:!!(e===t||n(e)&&n(t))}}}),it=l({"../../../node_modules/.pnpm/object-is@1.1.6/node_modules/object-is/polyfill.js"(e,t){v();var n=rt();t.exports=function(){return typeof Object.is==`function`?Object.is:n}}}),at=l({"../../../node_modules/.pnpm/call-bind@1.0.9/node_modules/call-bind/callBound.js"(e,t){v();var n=se(),r=ge(),i=r(n(`String.prototype.indexOf`));t.exports=function(e,t){var a=n(e,!!t);return typeof a==`function`&&i(e,`.prototype.`)>-1?r(a):a}}}),ot=l({"../../../node_modules/.pnpm/define-properties@1.2.1/node_modules/define-properties/index.js"(e,t){v();var n=et(),r=typeof Symbol==`function`&&typeof/* @__PURE__ */ Symbol(`foo`)==`symbol`,i=Object.prototype.toString,a=Array.prototype.concat,o=fe(),s=function(e){return typeof e==`function`&&i.call(e)===`[object Function]`},c=pe()(),l=function(e,t,n,r){if(t in e){if(r===!0){if(e[t]===n)return}else if(!s(r)||!r())return}c?o(e,t,n,!0):o(e,t,n)},u=function(e,t){var i=arguments.length>2?arguments[2]:{},o=n(t);r&&(o=a.call(o,Object.getOwnPropertySymbols(t)));for(var s=0;s<o.length;s+=1)l(e,o[s],t[o[s]],i[o[s]])};u.supportsDescriptors=!!c,t.exports=u}}),st=l({"../../../node_modules/.pnpm/object-is@1.1.6/node_modules/object-is/shim.js"(e,t){v();var n=it(),r=ot();t.exports=function(){var e=n();return r(Object,{is:e},{is:function(){return Object.is!==e}}),e}}}),ct=l({"../../../node_modules/.pnpm/object-is@1.1.6/node_modules/object-is/index.js"(e,t){v();var n=ot(),r=ge(),i=rt(),a=it(),o=st(),s=r(a(),Object);n(s,{getPolyfill:a,implementation:i,shim:o}),t.exports=s}}),lt=l({"../../../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/implementation.js"(e,t){v(),t.exports=function(e){return e!==e}}}),ut=l({"../../../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/polyfill.js"(e,t){v();var n=lt();t.exports=function(){return Number.isNaN&&!Number.isNaN(`a`)?Number.isNaN:n}}}),dt=l({"../../../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/shim.js"(e,t){v();var n=ot(),r=ut();t.exports=function(){var e=r();return n(Number,{isNaN:e},{isNaN:function(){return Number.isNaN!==e}}),e}}}),ft=l({"../../../node_modules/.pnpm/is-nan@1.3.2/node_modules/is-nan/index.js"(e,t){v();var n=ge(),r=ot(),i=lt(),a=ut(),o=dt(),s=n(a(),Number);r(s,{getPolyfill:a,implementation:i,shim:o}),t.exports=s}}),pt=l({"../../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/internal/util/comparisons.js"(e,t){v();function n(e,t){return s(e)||o(e,t)||i(e,t)||r()}function r(){throw TypeError(`Invalid attempt to destructure non-iterable instance.
126
+ In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(e,t){if(e){if(typeof e==`string`)return a(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if(n===`Object`&&e.constructor&&(n=e.constructor.name),n===`Map`||n===`Set`)return Array.from(e);if(n===`Arguments`||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return a(e,t)}}function a(e,t){(t==null||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function o(e,t){var n=e==null?null:typeof Symbol<`u`&&e[Symbol.iterator]||e[`@@iterator`];if(n!=null){var r,i,a,o,s=[],c=!0,l=!1;try{if(a=(n=n.call(e)).next,t===0){if(Object(n)!==n)return;c=!1}else for(;!(c=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);c=!0);}catch(e){l=!0,i=e}finally{try{if(!c&&n.return!=null&&(o=n.return(),Object(o)!==o))return}finally{if(l)throw i}}return s}}function s(e){if(Array.isArray(e))return e}function c(e){"@babel/helpers - typeof";return c=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},c(e)}var l=/a/g.flags!==void 0,u=function(e){var t=[];return e.forEach(function(e){return t.push(e)}),t},d=function(e){var t=[];return e.forEach(function(e,n){return t.push([n,e])}),t},f=Object.is?Object.is:ct(),p=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols:function(){return[]},m=Number.isNaN?Number.isNaN:ft();function h(e){return e.call.bind(e)}var g=h(Object.prototype.hasOwnProperty),_=h(Object.prototype.propertyIsEnumerable),y=h(Object.prototype.toString),b=Se().types,x=b.isAnyArrayBuffer,S=b.isArrayBufferView,C=b.isDate,w=b.isMap,T=b.isRegExp,E=b.isSet,D=b.isNativeError,O=b.isBoxedPrimitive,k=b.isNumberObject,A=b.isStringObject,j=b.isBooleanObject,M=b.isBigIntObject,N=b.isSymbolObject,P=b.isFloat32Array,F=b.isFloat64Array;function ee(e){if(e.length===0||e.length>10)return!0;for(var t=0;t<e.length;t++){var n=e.charCodeAt(t);if(n<48||n>57)return!0}return e.length===10&&e>=2**32}function I(e){return Object.keys(e).filter(ee).concat(p(e).filter(Object.prototype.propertyIsEnumerable.bind(e)))}function te(e,t){if(e===t)return 0;for(var n=e.length,r=t.length,i=0,a=Math.min(n,r);i<a;++i)if(e[i]!==t[i]){n=e[i],r=t[i];break}return n<r?-1:+(r<n)}var L=void 0,R=!0,z=!1,B=0,V=1,H=2,ne=3;function re(e,t){return l?e.source===t.source&&e.flags===t.flags:RegExp.prototype.toString.call(e)===RegExp.prototype.toString.call(t)}function U(e,t){if(e.byteLength!==t.byteLength)return!1;for(var n=0;n<e.byteLength;n++)if(e[n]!==t[n])return!1;return!0}function ie(e,t){return e.byteLength===t.byteLength&&te(new Uint8Array(e.buffer,e.byteOffset,e.byteLength),new Uint8Array(t.buffer,t.byteOffset,t.byteLength))===0}function W(e,t){return e.byteLength===t.byteLength&&te(new Uint8Array(e),new Uint8Array(t))===0}function G(e,t){return k(e)?k(t)&&f(Number.prototype.valueOf.call(e),Number.prototype.valueOf.call(t)):A(e)?A(t)&&String.prototype.valueOf.call(e)===String.prototype.valueOf.call(t):j(e)?j(t)&&Boolean.prototype.valueOf.call(e)===Boolean.prototype.valueOf.call(t):M(e)?M(t)&&BigInt.prototype.valueOf.call(e)===BigInt.prototype.valueOf.call(t):N(t)&&Symbol.prototype.valueOf.call(e)===Symbol.prototype.valueOf.call(t)}function ae(e,t,n,r){if(e===t)return e!==0||!n||f(e,t);if(n){if(c(e)!==`object`)return typeof e==`number`&&m(e)&&m(t);if(c(t)!==`object`||e===null||t===null||Object.getPrototypeOf(e)!==Object.getPrototypeOf(t))return!1}else{if(e===null||c(e)!==`object`)return t===null||c(t)!==`object`?e==t:!1;if(t===null||c(t)!==`object`)return!1}var i=y(e);if(i!==y(t))return!1;if(Array.isArray(e)){if(e.length!==t.length)return!1;var a=I(e,L),o=I(t,L);return a.length===o.length&&K(e,t,n,r,V,a)}if(i===`[object Object]`&&(!w(e)&&w(t)||!E(e)&&E(t)))return!1;if(C(e)){if(!C(t)||Date.prototype.getTime.call(e)!==Date.prototype.getTime.call(t))return!1}else if(T(e)){if(!T(t)||!re(e,t))return!1}else if(D(e)||e instanceof Error){if(e.message!==t.message||e.name!==t.name)return!1}else if(S(e)){if(!n&&(P(e)||F(e))){if(!U(e,t))return!1}else if(!ie(e,t))return!1;var s=I(e,L),l=I(t,L);return s.length===l.length&&K(e,t,n,r,B,s)}else if(E(e))return!E(t)||e.size!==t.size?!1:K(e,t,n,r,H);else if(w(e))return!w(t)||e.size!==t.size?!1:K(e,t,n,r,ne);else if(x(e)){if(!W(e,t))return!1}else if(O(e)&&!G(e,t))return!1;return K(e,t,n,r,B)}function oe(e,t){return t.filter(function(t){return _(e,t)})}function K(e,t,n,r,i,a){if(arguments.length===5){a=Object.keys(e);var o=Object.keys(t);if(a.length!==o.length)return!1}for(var s=0;s<a.length;s++)if(!g(t,a[s]))return!1;if(n&&arguments.length===5){var c=p(e);if(c.length!==0){var l=0;for(s=0;s<c.length;s++){var u=c[s];if(_(e,u)){if(!_(t,u))return!1;a.push(u),l++}else if(_(t,u))return!1}var d=p(t);if(c.length!==d.length&&oe(t,d).length!==l)return!1}else{var f=p(t);if(f.length!==0&&oe(t,f).length!==0)return!1}}if(a.length===0&&(i===B||i===V&&e.length===0||e.size===0))return!0;if(r===void 0)r={val1:/* @__PURE__ */ new Map,val2:/* @__PURE__ */ new Map,position:0};else{var m=r.val1.get(e);if(m!==void 0){var h=r.val2.get(t);if(h!==void 0)return m===h}r.position++}r.val1.set(e,r.position),r.val2.set(t,r.position);var v=X(e,t,n,a,r,i);return r.val1.delete(e),r.val2.delete(t),v}function q(e,t,n,r){for(var i=u(e),a=0;a<i.length;a++){var o=i[a];if(ae(t,o,n,r))return e.delete(o),!0}return!1}function se(e){switch(c(e)){case`undefined`:return null;case`object`:return;case`symbol`:return!1;case`string`:e=+e;case`number`:if(m(e))return!1}return!0}function ce(e,t,n){var r=se(n);return r??(t.has(r)&&!e.has(r))}function J(e,t,n,r,i){var a=se(n);if(a!=null)return a;var o=t.get(a);return o===void 0&&!t.has(a)||!ae(r,o,!1,i)?!1:!e.has(a)&&ae(r,o,!1,i)}function le(e,t,n,r){for(var i=null,a=u(e),o=0;o<a.length;o++){var s=a[o];if(c(s)===`object`&&s!==null)i===null&&(i=/* @__PURE__ */ new Set),i.add(s);else if(!t.has(s)){if(n||!ce(e,t,s))return!1;i===null&&(i=/* @__PURE__ */ new Set),i.add(s)}}if(i!==null){for(var l=u(t),d=0;d<l.length;d++){var f=l[d];if(c(f)===`object`&&f!==null){if(!q(i,f,n,r))return!1}else if(!n&&!e.has(f)&&!q(i,f,n,r))return!1}return i.size===0}return!0}function Y(e,t,n,r,i,a){for(var o=u(e),s=0;s<o.length;s++){var c=o[s];if(ae(n,c,i,a)&&ae(r,t.get(c),i,a))return e.delete(c),!0}return!1}function ue(e,t,r,i){for(var a=null,o=d(e),s=0;s<o.length;s++){var l=n(o[s],2),u=l[0],f=l[1];if(c(u)===`object`&&u!==null)a===null&&(a=/* @__PURE__ */ new Set),a.add(u);else{var p=t.get(u);if(p===void 0&&!t.has(u)||!ae(f,p,r,i)){if(r||!J(e,t,u,f,i))return!1;a===null&&(a=/* @__PURE__ */ new Set),a.add(u)}}}if(a!==null){for(var m=d(t),h=0;h<m.length;h++){var g=n(m[h],2),_=g[0],v=g[1];if(c(_)===`object`&&_!==null){if(!Y(a,e,_,v,r,i))return!1}else if(!r&&(!e.has(_)||!ae(e.get(_),v,!1,i))&&!Y(a,e,_,v,!1,i))return!1}return a.size===0}return!0}function X(e,t,n,r,i,a){var o=0;if(a===H){if(!le(e,t,n,i))return!1}else if(a===ne){if(!ue(e,t,n,i))return!1}else if(a===V)for(;o<e.length;o++)if(g(e,o)){if(!g(t,o)||!ae(e[o],t[o],n,i))return!1}else if(g(t,o))return!1;else{for(var s=Object.keys(e);o<s.length;o++){var c=s[o];if(!g(t,c)||!ae(e[c],t[c],n,i))return!1}return s.length===Object.keys(t).length}for(o=0;o<r.length;o++){var l=r[o];if(!ae(e[l],t[l],n,i))return!1}return!0}function Z(e,t){return ae(e,t,z)}function de(e,t){return ae(e,t,R)}t.exports={isDeepEqual:Z,isDeepStrictEqual:de}}}),mt=l({"../../../node_modules/.pnpm/assert@2.1.0/node_modules/assert/build/assert.js"(e,t){v();function n(e){"@babel/helpers - typeof";return n=typeof Symbol==`function`&&typeof Symbol.iterator==`symbol`?function(e){return typeof e}:function(e){return e&&typeof Symbol==`function`&&e.constructor===Symbol&&e!==Symbol.prototype?`symbol`:typeof e},n(e)}function r(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,`value`in r&&(r.writable=!0),Object.defineProperty(e,a(r.key),r)}}function i(e,t,n){return t&&r(e.prototype,t),n&&r(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function a(e){var t=o(e,`string`);return n(t)===`symbol`?t:String(t)}function o(e,t){if(n(e)!==`object`||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var i=r.call(e,t||`default`);if(n(i)!==`object`)return i;throw TypeError(`@@toPrimitive must return a primitive value.`)}return(t===`string`?String:Number)(e)}function s(e,t){if(!(e instanceof t))throw TypeError(`Cannot call a class as a function`)}var c=Xe().codes,l=c.ERR_AMBIGUOUS_ARGUMENT,u=c.ERR_INVALID_ARG_TYPE,d=c.ERR_INVALID_ARG_VALUE,f=c.ERR_INVALID_RETURN_VALUE,p=c.ERR_MISSING_ARGS,m=Ze(),h=Se().inspect,g=Se().types,y=g.isPromise,b=g.isRegExp,x=nt()(),S=it()(),C=at()(`RegExp.prototype.test`),w,T;function E(){var e=pt();w=e.isDeepEqual,T=e.isDeepStrictEqual}var D=!1,O=t.exports=N,k={};function A(e){throw e.message instanceof Error?e.message:new m(e)}function j(e,t,n,r,i){var a=arguments.length,o;if(a===0?o=`Failed`:a===1?(n=e,e=void 0):(D===!1&&(D=!0,(_.default.emitWarning?_.default.emitWarning:console.warn.bind(console))(`assert.fail() with more than one argument is deprecated. Please use assert.strictEqual() instead or only pass a message.`,`DeprecationWarning`,`DEP0094`)),a===2&&(r=`!=`)),n instanceof Error)throw n;var s={actual:e,expected:t,operator:r===void 0?`fail`:r,stackStartFn:i||j};n!==void 0&&(s.message=n);var c=new m(s);throw o&&(c.message=o,c.generatedMessage=!0),c}O.fail=j,O.AssertionError=m;function M(e,t,n,r){if(!n){var i=!1;if(t===0)i=!0,r="No value argument passed to `assert.ok()`";else if(r instanceof Error)throw r;var a=new m({actual:n,expected:!0,message:r,operator:`==`,stackStartFn:e});throw a.generatedMessage=i,a}}function N(){var e=[...arguments];M.apply(void 0,[N,e.length].concat(e))}O.ok=N,O.equal=function e(t,n,r){if(arguments.length<2)throw new p(`actual`,`expected`);t!=n&&A({actual:t,expected:n,message:r,operator:`==`,stackStartFn:e})},O.notEqual=function e(t,n,r){if(arguments.length<2)throw new p(`actual`,`expected`);t==n&&A({actual:t,expected:n,message:r,operator:`!=`,stackStartFn:e})},O.deepEqual=function e(t,n,r){if(arguments.length<2)throw new p(`actual`,`expected`);w===void 0&&E(),w(t,n)||A({actual:t,expected:n,message:r,operator:`deepEqual`,stackStartFn:e})},O.notDeepEqual=function e(t,n,r){if(arguments.length<2)throw new p(`actual`,`expected`);w===void 0&&E(),w(t,n)&&A({actual:t,expected:n,message:r,operator:`notDeepEqual`,stackStartFn:e})},O.deepStrictEqual=function e(t,n,r){if(arguments.length<2)throw new p(`actual`,`expected`);w===void 0&&E(),T(t,n)||A({actual:t,expected:n,message:r,operator:`deepStrictEqual`,stackStartFn:e})},O.notDeepStrictEqual=P;function P(e,t,n){if(arguments.length<2)throw new p(`actual`,`expected`);w===void 0&&E(),T(e,t)&&A({actual:e,expected:t,message:n,operator:`notDeepStrictEqual`,stackStartFn:P})}O.strictEqual=function e(t,n,r){if(arguments.length<2)throw new p(`actual`,`expected`);S(t,n)||A({actual:t,expected:n,message:r,operator:`strictEqual`,stackStartFn:e})},O.notStrictEqual=function e(t,n,r){if(arguments.length<2)throw new p(`actual`,`expected`);S(t,n)&&A({actual:t,expected:n,message:r,operator:`notStrictEqual`,stackStartFn:e})};var F=/* @__PURE__ */ i(function e(t,n,r){var i=this;s(this,e),n.forEach(function(e){e in t&&(i[e]=r!==void 0&&typeof r[e]==`string`&&b(t[e])&&C(t[e],r[e])?r[e]:t[e])})});function ee(e,t,n,r,i,a){if(!(n in e)||!T(e[n],t[n])){if(!r){var o=new m({actual:new F(e,i),expected:new F(t,i,e),operator:`deepStrictEqual`,stackStartFn:a});throw o.actual=e,o.expected=t,o.operator=a.name,o}A({actual:e,expected:t,message:r,operator:a.name,stackStartFn:a})}}function I(e,t,r,i){if(typeof t!=`function`){if(b(t))return C(t,e);if(arguments.length===2)throw new u(`expected`,[`Function`,`RegExp`],t);if(n(e)!==`object`||e===null){var a=new m({actual:e,expected:t,message:r,operator:`deepStrictEqual`,stackStartFn:i});throw a.operator=i.name,a}var o=Object.keys(t);if(t instanceof Error)o.push(`name`,`message`);else if(o.length===0)throw new d(`error`,t,`may not be an empty object`);return w===void 0&&E(),o.forEach(function(n){typeof e[n]==`string`&&b(t[n])&&C(t[n],e[n])||ee(e,t,n,r,o,i)}),!0}return t.prototype!==void 0&&e instanceof t||!Error.isPrototypeOf(t)&&t.call({},e)===!0}function te(e){if(typeof e!=`function`)throw new u(`fn`,`Function`,e);try{e()}catch(e){return e}return k}function L(e){return y(e)||e!==null&&n(e)===`object`&&typeof e.then==`function`&&typeof e.catch==`function`}function R(e){return Promise.resolve().then(function(){var t;if(typeof e==`function`){if(t=e(),!L(t))throw new f(`instance of Promise`,`promiseFn`,t)}else if(L(e))t=e;else throw new u(`promiseFn`,[`Function`,`Promise`],e);return Promise.resolve().then(function(){return t}).then(function(){return k}).catch(function(e){return e})})}function z(e,t,r,i){if(typeof r==`string`){if(arguments.length===4)throw new u(`error`,[`Object`,`Error`,`Function`,`RegExp`],r);if(n(t)===`object`&&t!==null){if(t.message===r)throw new l(`error/message`,`The error message "${t.message}" is identical to the message.`)}else if(t===r)throw new l(`error/message`,`The error "${t}" is identical to the message.`);i=r,r=void 0}else if(r!=null&&n(r)!==`object`&&typeof r!=`function`)throw new u(`error`,[`Object`,`Error`,`Function`,`RegExp`],r);if(t===k){var a=``;r&&r.name&&(a+=` (${r.name})`),a+=i?`: ${i}`:`.`;var o=e.name===`rejects`?`rejection`:`exception`;A({actual:void 0,expected:r,operator:e.name,message:`Missing expected ${o}${a}`,stackStartFn:e})}if(r&&!I(t,r,i,e))throw t}function B(e,t,n,r){if(t!==k){if(typeof n==`string`&&(r=n,n=void 0),!n||I(t,n)){var i=r?`: ${r}`:`.`,a=e.name===`doesNotReject`?`rejection`:`exception`;A({actual:t,expected:n,operator:e.name,message:`Got unwanted ${a}${i}
127
+ Actual message: "${t&&t.message}"`,stackStartFn:e})}throw t}}O.throws=function e(t){var n=[...arguments].slice(1);z.apply(void 0,[e,te(t)].concat(n))},O.rejects=function e(t){var n=[...arguments].slice(1);return R(t).then(function(t){return z.apply(void 0,[e,t].concat(n))})},O.doesNotThrow=function e(t){var n=[...arguments].slice(1);B.apply(void 0,[e,te(t)].concat(n))},O.doesNotReject=function e(t){var n=[...arguments].slice(1);return R(t).then(function(t){return B.apply(void 0,[e,t].concat(n))})},O.ifError=function e(t){if(t!=null){var r=`ifError got unwanted exception: `;n(t)===`object`&&typeof t.message==`string`?t.message.length===0&&t.constructor?r+=t.constructor.name:r+=t.message:r+=h(t);var i=new m({actual:t,expected:null,operator:`ifError`,message:r,stackStartFn:e}),a=t.stack;if(typeof a==`string`){var o=a.split(`
128
+ `);o.shift();for(var s=i.stack.split(`
129
+ `),c=0;c<o.length;c++){var l=s.indexOf(o[c]);if(l!==-1){s=s.slice(0,l);break}}i.stack=`${s.join(`
130
+ `)}
131
+ ${o.join(`
132
+ `)}`}throw i}};function V(e,t,r,i,a){if(!b(t))throw new u(`regexp`,`RegExp`,t);var o=a===`match`;if(typeof e!=`string`||C(t,e)!==o){if(r instanceof Error)throw r;var s=!r;r||=typeof e==`string`?(o?`The input did not match the regular expression `:`The input was expected to not match the regular expression `)+`${h(t)}. Input:
133
+
134
+ ${h(e)}
135
+ `:`The "string" argument must be of type string. Received type ${n(e)} (${h(e)})`;var c=new m({actual:e,expected:t,message:r,operator:a,stackStartFn:i});throw c.generatedMessage=s,c}}O.match=function e(t,n,r){V(t,n,r,e,`match`)},O.doesNotMatch=function e(t,n,r){V(t,n,r,e,`doesNotMatch`)};function H(){var e=[...arguments];M.apply(void 0,[H,e.length].concat(e))}O.strict=x(H,O,{equal:O.strictEqual,deepEqual:O.deepStrictEqual,notEqual:O.notStrictEqual,notDeepEqual:O.notDeepStrictEqual}),O.strict.strict=O.strict}}),ht=l({"../../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/zstream.js"(e,t){v();function n(){this.input=null,this.next_in=0,this.avail_in=0,this.total_in=0,this.output=null,this.next_out=0,this.avail_out=0,this.total_out=0,this.msg=``,this.state=null,this.data_type=2,this.adler=0}t.exports=n}}),gt=l({"../../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/utils/common.js"(e){v();var t=typeof Uint8Array<`u`&&typeof Uint16Array<`u`&&typeof Int32Array<`u`;function n(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.assign=function(e){for(var t=Array.prototype.slice.call(arguments,1);t.length;){var r=t.shift();if(r){if(typeof r!=`object`)throw TypeError(r+`must be non-object`);for(var i in r)n(r,i)&&(e[i]=r[i])}}return e},e.shrinkBuf=function(e,t){return e.length===t?e:e.subarray?e.subarray(0,t):(e.length=t,e)};var r={arraySet:function(e,t,n,r,i){if(t.subarray&&e.subarray)e.set(t.subarray(n,n+r),i);else for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){var t,n,r=0,i,a,o;for(t=0,n=e.length;t<n;t++)r+=e[t].length;for(o=new Uint8Array(r),i=0,t=0,n=e.length;t<n;t++)a=e[t],o.set(a,i),i+=a.length;return o}},i={arraySet:function(e,t,n,r,i){for(var a=0;a<r;a++)e[i+a]=t[n+a]},flattenChunks:function(e){return[].concat.apply([],e)}};e.setTyped=function(t){t?(e.Buf8=Uint8Array,e.Buf16=Uint16Array,e.Buf32=Int32Array,e.assign(e,r)):(e.Buf8=Array,e.Buf16=Array,e.Buf32=Array,e.assign(e,i))},e.setTyped(t)}}),_t=l({"../../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/trees.js"(e){v();var t=gt(),n=4,r=0,i=1,a=2;function o(e){for(var t=e.length;--t>=0;)e[t]=0}var s=0,c=1,l=2,u=3,d=258,f=29,p=256,m=p+1+f,h=30,g=19,_=2*m+1,y=15,b=16,x=7,S=256,C=16,w=17,T=18,E=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],D=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],O=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],k=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],A=512,j=Array((m+2)*2);o(j);var M=Array(h*2);o(M);var N=Array(A);o(N);var P=Array(d-u+1);o(P);var F=Array(f);o(F);var ee=Array(h);o(ee);function I(e,t,n,r,i){this.static_tree=e,this.extra_bits=t,this.extra_base=n,this.elems=r,this.max_length=i,this.has_stree=e&&e.length}var te,L,R;function z(e,t){this.dyn_tree=e,this.max_code=0,this.stat_desc=t}function B(e){return e<256?N[e]:N[256+(e>>>7)]}function V(e,t){e.pending_buf[e.pending++]=t&255,e.pending_buf[e.pending++]=t>>>8&255}function H(e,t,n){e.bi_valid>b-n?(e.bi_buf|=t<<e.bi_valid&65535,V(e,e.bi_buf),e.bi_buf=t>>b-e.bi_valid,e.bi_valid+=n-b):(e.bi_buf|=t<<e.bi_valid&65535,e.bi_valid+=n)}function ne(e,t,n){H(e,n[t*2],n[t*2+1])}function re(e,t){var n=0;do n|=e&1,e>>>=1,n<<=1;while(--t>0);return n>>>1}function U(e){e.bi_valid===16?(V(e,e.bi_buf),e.bi_buf=0,e.bi_valid=0):e.bi_valid>=8&&(e.pending_buf[e.pending++]=e.bi_buf&255,e.bi_buf>>=8,e.bi_valid-=8)}function ie(e,t){var n=t.dyn_tree,r=t.max_code,i=t.stat_desc.static_tree,a=t.stat_desc.has_stree,o=t.stat_desc.extra_bits,s=t.stat_desc.extra_base,c=t.stat_desc.max_length,l,u,d,f,p,m,h=0;for(f=0;f<=y;f++)e.bl_count[f]=0;for(n[e.heap[e.heap_max]*2+1]=0,l=e.heap_max+1;l<_;l++)u=e.heap[l],f=n[n[u*2+1]*2+1]+1,f>c&&(f=c,h++),n[u*2+1]=f,!(u>r)&&(e.bl_count[f]++,p=0,u>=s&&(p=o[u-s]),m=n[u*2],e.opt_len+=m*(f+p),a&&(e.static_len+=m*(i[u*2+1]+p)));if(h!==0){do{for(f=c-1;e.bl_count[f]===0;)f--;e.bl_count[f]--,e.bl_count[f+1]+=2,e.bl_count[c]--,h-=2}while(h>0);for(f=c;f!==0;f--)for(u=e.bl_count[f];u!==0;)d=e.heap[--l],!(d>r)&&(n[d*2+1]!==f&&(e.opt_len+=(f-n[d*2+1])*n[d*2],n[d*2+1]=f),u--)}}function W(e,t,n){for(var r=Array(y+1),i=0,a=1,o;a<=y;a++)r[a]=i=i+n[a-1]<<1;for(o=0;o<=t;o++){var s=e[o*2+1];s!==0&&(e[o*2]=re(r[s]++,s))}}function G(){var e,t,n,r,i,a=Array(y+1);for(n=0,r=0;r<f-1;r++)for(F[r]=n,e=0;e<1<<E[r];e++)P[n++]=r;for(P[n-1]=r,i=0,r=0;r<16;r++)for(ee[r]=i,e=0;e<1<<D[r];e++)N[i++]=r;for(i>>=7;r<h;r++)for(ee[r]=i<<7,e=0;e<1<<D[r]-7;e++)N[256+i++]=r;for(t=0;t<=y;t++)a[t]=0;for(e=0;e<=143;)j[e*2+1]=8,e++,a[8]++;for(;e<=255;)j[e*2+1]=9,e++,a[9]++;for(;e<=279;)j[e*2+1]=7,e++,a[7]++;for(;e<=287;)j[e*2+1]=8,e++,a[8]++;for(W(j,m+1,a),e=0;e<h;e++)M[e*2+1]=5,M[e*2]=re(e,5);te=new I(j,E,p+1,m,y),L=new I(M,D,0,h,y),R=new I([],O,0,g,x)}function ae(e){for(var t=0;t<m;t++)e.dyn_ltree[t*2]=0;for(t=0;t<h;t++)e.dyn_dtree[t*2]=0;for(t=0;t<g;t++)e.bl_tree[t*2]=0;e.dyn_ltree[S*2]=1,e.opt_len=e.static_len=0,e.last_lit=e.matches=0}function oe(e){e.bi_valid>8?V(e,e.bi_buf):e.bi_valid>0&&(e.pending_buf[e.pending++]=e.bi_buf),e.bi_buf=0,e.bi_valid=0}function K(e,n,r,i){oe(e),i&&(V(e,r),V(e,~r)),t.arraySet(e.pending_buf,e.window,n,r,e.pending),e.pending+=r}function q(e,t,n,r){var i=t*2,a=n*2;return e[i]<e[a]||e[i]===e[a]&&r[t]<=r[n]}function se(e,t,n){for(var r=e.heap[n],i=n<<1;i<=e.heap_len&&(i<e.heap_len&&q(t,e.heap[i+1],e.heap[i],e.depth)&&i++,!q(t,r,e.heap[i],e.depth));)e.heap[n]=e.heap[i],n=i,i<<=1;e.heap[n]=r}function ce(e,t,n){var r,i,a=0,o,s;if(e.last_lit!==0)do r=e.pending_buf[e.d_buf+a*2]<<8|e.pending_buf[e.d_buf+a*2+1],i=e.pending_buf[e.l_buf+a],a++,r===0?ne(e,i,t):(o=P[i],ne(e,o+p+1,t),s=E[o],s!==0&&(i-=F[o],H(e,i,s)),r--,o=B(r),ne(e,o,n),s=D[o],s!==0&&(r-=ee[o],H(e,r,s)));while(a<e.last_lit);ne(e,S,t)}function J(e,t){var n=t.dyn_tree,r=t.stat_desc.static_tree,i=t.stat_desc.has_stree,a=t.stat_desc.elems,o,s,c=-1,l;for(e.heap_len=0,e.heap_max=_,o=0;o<a;o++)n[o*2]===0?n[o*2+1]=0:(e.heap[++e.heap_len]=c=o,e.depth[o]=0);for(;e.heap_len<2;)l=e.heap[++e.heap_len]=c<2?++c:0,n[l*2]=1,e.depth[l]=0,e.opt_len--,i&&(e.static_len-=r[l*2+1]);for(t.max_code=c,o=e.heap_len>>1;o>=1;o--)se(e,n,o);l=a;do o=e.heap[1],e.heap[1]=e.heap[e.heap_len--],se(e,n,1),s=e.heap[1],e.heap[--e.heap_max]=o,e.heap[--e.heap_max]=s,n[l*2]=n[o*2]+n[s*2],e.depth[l]=(e.depth[o]>=e.depth[s]?e.depth[o]:e.depth[s])+1,n[o*2+1]=n[s*2+1]=l,e.heap[1]=l++,se(e,n,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],ie(e,t),W(n,c,e.bl_count)}function le(e,t,n){var r,i=-1,a,o=t[1],s=0,c=7,l=4;for(o===0&&(c=138,l=3),t[(n+1)*2+1]=65535,r=0;r<=n;r++)a=o,o=t[(r+1)*2+1],!(++s<c&&a===o)&&(s<l?e.bl_tree[a*2]+=s:a===0?s<=10?e.bl_tree[w*2]++:e.bl_tree[T*2]++:(a!==i&&e.bl_tree[a*2]++,e.bl_tree[C*2]++),s=0,i=a,o===0?(c=138,l=3):a===o?(c=6,l=3):(c=7,l=4))}function Y(e,t,n){var r,i=-1,a,o=t[1],s=0,c=7,l=4;for(o===0&&(c=138,l=3),r=0;r<=n;r++)if(a=o,o=t[(r+1)*2+1],!(++s<c&&a===o)){if(s<l)do ne(e,a,e.bl_tree);while(--s!==0);else a===0?s<=10?(ne(e,w,e.bl_tree),H(e,s-3,3)):(ne(e,T,e.bl_tree),H(e,s-11,7)):(a!==i&&(ne(e,a,e.bl_tree),s--),ne(e,C,e.bl_tree),H(e,s-3,2));s=0,i=a,o===0?(c=138,l=3):a===o?(c=6,l=3):(c=7,l=4)}}function ue(e){var t;for(le(e,e.dyn_ltree,e.l_desc.max_code),le(e,e.dyn_dtree,e.d_desc.max_code),J(e,e.bl_desc),t=g-1;t>=3&&e.bl_tree[k[t]*2+1]===0;t--);return e.opt_len+=3*(t+1)+5+5+4,t}function X(e,t,n,r){var i;for(H(e,t-257,5),H(e,n-1,5),H(e,r-4,4),i=0;i<r;i++)H(e,e.bl_tree[k[i]*2+1],3);Y(e,e.dyn_ltree,t-1),Y(e,e.dyn_dtree,n-1)}function Z(e){for(var t=4093624447,n=0;n<=31;n++,t>>>=1)if(t&1&&e.dyn_ltree[n*2]!==0)return r;if(e.dyn_ltree[18]!==0||e.dyn_ltree[20]!==0||e.dyn_ltree[26]!==0)return i;for(n=32;n<p;n++)if(e.dyn_ltree[n*2]!==0)return i;return r}var de=!1;function Q(e){de||=(G(),!0),e.l_desc=new z(e.dyn_ltree,te),e.d_desc=new z(e.dyn_dtree,L),e.bl_desc=new z(e.bl_tree,R),e.bi_buf=0,e.bi_valid=0,ae(e)}function $(e,t,n,r){H(e,(s<<1)+ +!!r,3),K(e,t,n,!0)}function fe(e){H(e,c<<1,3),ne(e,S,j),U(e)}function pe(e,t,r,i){var o,s,u=0;e.level>0?(e.strm.data_type===a&&(e.strm.data_type=Z(e)),J(e,e.l_desc),J(e,e.d_desc),u=ue(e),o=e.opt_len+3+7>>>3,s=e.static_len+3+7>>>3,s<=o&&(o=s)):o=s=r+5,r+4<=o&&t!==-1?$(e,t,r,i):e.strategy===n||s===o?(H(e,(c<<1)+ +!!i,3),ce(e,j,M)):(H(e,(l<<1)+ +!!i,3),X(e,e.l_desc.max_code+1,e.d_desc.max_code+1,u+1),ce(e,e.dyn_ltree,e.dyn_dtree)),ae(e),i&&oe(e)}function me(e,t,n){return e.pending_buf[e.d_buf+e.last_lit*2]=t>>>8&255,e.pending_buf[e.d_buf+e.last_lit*2+1]=t&255,e.pending_buf[e.l_buf+e.last_lit]=n&255,e.last_lit++,t===0?e.dyn_ltree[n*2]++:(e.matches++,t--,e.dyn_ltree[(P[n]+p+1)*2]++,e.dyn_dtree[B(t)*2]++),e.last_lit===e.lit_bufsize-1}e._tr_init=Q,e._tr_stored_block=$,e._tr_flush_block=pe,e._tr_tally=me,e._tr_align=fe}}),vt=l({"../../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/adler32.js"(e,t){v();function n(e,t,n,r){for(var i=e&65535,a=e>>>16&65535,o=0;n!==0;){o=n>2e3?2e3:n,n-=o;do i=i+t[r++]|0,a=a+i|0;while(--o);i%=65521,a%=65521}return i|a<<16}t.exports=n}}),yt=l({"../../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/crc32.js"(e,t){v();function n(){for(var e,t=[],n=0;n<256;n++){e=n;for(var r=0;r<8;r++)e=e&1?3988292384^e>>>1:e>>>1;t[n]=e}return t}var r=n();function i(e,t,n,i){var a=r,o=i+n;e^=-1;for(var s=i;s<o;s++)e=e>>>8^a[(e^t[s])&255];return e^-1}t.exports=i}}),bt=l({"../../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/messages.js"(e,t){v(),t.exports={2:`need dictionary`,1:`stream end`,0:``,"-1":`file error`,"-2":`stream error`,"-3":`data error`,"-4":`insufficient memory`,"-5":`buffer error`,"-6":`incompatible version`}}}),xt=l({"../../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/deflate.js"(e){v();var t=gt(),n=_t(),r=vt(),i=yt(),a=bt(),o=0,s=1,c=3,l=4,u=5,d=0,f=1,p=-2,m=-3,h=-5,g=-1,_=1,y=2,b=3,x=4,S=0,C=2,w=8,T=9,E=15,D=8,O=286,k=30,A=19,j=2*O+1,M=15,N=3,P=258,F=P+N+1,ee=32,I=42,te=69,L=73,R=91,z=103,B=113,V=666,H=1,ne=2,re=3,U=4,ie=3;function W(e,t){return e.msg=a[t],t}function G(e){return(e<<1)-(e>4?9:0)}function ae(e){for(var t=e.length;--t>=0;)e[t]=0}function oe(e){var n=e.state,r=n.pending;r>e.avail_out&&(r=e.avail_out),r!==0&&(t.arraySet(e.output,n.pending_buf,n.pending_out,r,e.next_out),e.next_out+=r,n.pending_out+=r,e.total_out+=r,e.avail_out-=r,n.pending-=r,n.pending===0&&(n.pending_out=0))}function K(e,t){n._tr_flush_block(e,e.block_start>=0?e.block_start:-1,e.strstart-e.block_start,t),e.block_start=e.strstart,oe(e.strm)}function q(e,t){e.pending_buf[e.pending++]=t}function se(e,t){e.pending_buf[e.pending++]=t>>>8&255,e.pending_buf[e.pending++]=t&255}function ce(e,n,a,o){var s=e.avail_in;return s>o&&(s=o),s===0?0:(e.avail_in-=s,t.arraySet(n,e.input,e.next_in,s,a),e.state.wrap===1?e.adler=r(e.adler,n,s,a):e.state.wrap===2&&(e.adler=i(e.adler,n,s,a)),e.next_in+=s,e.total_in+=s,s)}function J(e,t){var n=e.max_chain_length,r=e.strstart,i,a,o=e.prev_length,s=e.nice_match,c=e.strstart>e.w_size-F?e.strstart-(e.w_size-F):0,l=e.window,u=e.w_mask,d=e.prev,f=e.strstart+P,p=l[r+o-1],m=l[r+o];e.prev_length>=e.good_match&&(n>>=2),s>e.lookahead&&(s=e.lookahead);do if(i=t,l[i+o]===m&&l[i+o-1]===p&&l[i]===l[r]&&l[++i]===l[r+1]){r+=2,i++;do;while(l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&l[++r]===l[++i]&&r<f);if(a=P-(f-r),r=f-P,a>o){if(e.match_start=t,o=a,a>=s)break;p=l[r+o-1],m=l[r+o]}}while((t=d[t&u])>c&&--n!==0);return o<=e.lookahead?o:e.lookahead}function le(e){var n=e.w_size,r,i,a,o,s;do{if(o=e.window_size-e.lookahead-e.strstart,e.strstart>=n+(n-F)){t.arraySet(e.window,e.window,n,n,0),e.match_start-=n,e.strstart-=n,e.block_start-=n,i=e.hash_size,r=i;do a=e.head[--r],e.head[r]=a>=n?a-n:0;while(--i);i=n,r=i;do a=e.prev[--r],e.prev[r]=a>=n?a-n:0;while(--i);o+=n}if(e.strm.avail_in===0)break;if(i=ce(e.strm,e.window,e.strstart+e.lookahead,o),e.lookahead+=i,e.lookahead+e.insert>=N)for(s=e.strstart-e.insert,e.ins_h=e.window[s],e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+1])&e.hash_mask;e.insert&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[s+N-1])&e.hash_mask,e.prev[s&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=s,s++,e.insert--,!(e.lookahead+e.insert<N)););}while(e.lookahead<F&&e.strm.avail_in!==0)}function Y(e,t){var n=65535;for(n>e.pending_buf_size-5&&(n=e.pending_buf_size-5);;){if(e.lookahead<=1){if(le(e),e.lookahead===0&&t===o)return H;if(e.lookahead===0)break}e.strstart+=e.lookahead,e.lookahead=0;var r=e.block_start+n;if((e.strstart===0||e.strstart>=r)&&(e.lookahead=e.strstart-r,e.strstart=r,K(e,!1),e.strm.avail_out===0)||e.strstart-e.block_start>=e.w_size-F&&(K(e,!1),e.strm.avail_out===0))return H}return e.insert=0,t===l?(K(e,!0),e.strm.avail_out===0?re:U):(e.strstart>e.block_start&&(K(e,!1),e.strm.avail_out),H)}function ue(e,t){for(var r,i;;){if(e.lookahead<F){if(le(e),e.lookahead<F&&t===o)return H;if(e.lookahead===0)break}if(r=0,e.lookahead>=N&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+N-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),r!==0&&e.strstart-r<=e.w_size-F&&(e.match_length=J(e,r)),e.match_length>=N){if(i=n._tr_tally(e,e.strstart-e.match_start,e.match_length-N),e.lookahead-=e.match_length,e.match_length<=e.max_lazy_match&&e.lookahead>=N){e.match_length--;do e.strstart++,e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+N-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart;while(--e.match_length!==0);e.strstart++}else e.strstart+=e.match_length,e.match_length=0,e.ins_h=e.window[e.strstart],e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+1])&e.hash_mask}else i=n._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++;if(i&&(K(e,!1),e.strm.avail_out===0))return H}return e.insert=e.strstart<N-1?e.strstart:N-1,t===l?(K(e,!0),e.strm.avail_out===0?re:U):e.last_lit&&(K(e,!1),e.strm.avail_out===0)?H:ne}function X(e,t){for(var r,i,a;;){if(e.lookahead<F){if(le(e),e.lookahead<F&&t===o)return H;if(e.lookahead===0)break}if(r=0,e.lookahead>=N&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+N-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart),e.prev_length=e.match_length,e.prev_match=e.match_start,e.match_length=N-1,r!==0&&e.prev_length<e.max_lazy_match&&e.strstart-r<=e.w_size-F&&(e.match_length=J(e,r),e.match_length<=5&&(e.strategy===_||e.match_length===N&&e.strstart-e.match_start>4096)&&(e.match_length=N-1)),e.prev_length>=N&&e.match_length<=e.prev_length){a=e.strstart+e.lookahead-N,i=n._tr_tally(e,e.strstart-1-e.prev_match,e.prev_length-N),e.lookahead-=e.prev_length-1,e.prev_length-=2;do++e.strstart<=a&&(e.ins_h=(e.ins_h<<e.hash_shift^e.window[e.strstart+N-1])&e.hash_mask,r=e.prev[e.strstart&e.w_mask]=e.head[e.ins_h],e.head[e.ins_h]=e.strstart);while(--e.prev_length!==0);if(e.match_available=0,e.match_length=N-1,e.strstart++,i&&(K(e,!1),e.strm.avail_out===0))return H}else if(e.match_available){if(i=n._tr_tally(e,0,e.window[e.strstart-1]),i&&K(e,!1),e.strstart++,e.lookahead--,e.strm.avail_out===0)return H}else e.match_available=1,e.strstart++,e.lookahead--}return e.match_available&&=(i=n._tr_tally(e,0,e.window[e.strstart-1]),0),e.insert=e.strstart<N-1?e.strstart:N-1,t===l?(K(e,!0),e.strm.avail_out===0?re:U):e.last_lit&&(K(e,!1),e.strm.avail_out===0)?H:ne}function Z(e,t){for(var r,i,a,s,c=e.window;;){if(e.lookahead<=P){if(le(e),e.lookahead<=P&&t===o)return H;if(e.lookahead===0)break}if(e.match_length=0,e.lookahead>=N&&e.strstart>0&&(a=e.strstart-1,i=c[a],i===c[++a]&&i===c[++a]&&i===c[++a])){s=e.strstart+P;do;while(i===c[++a]&&i===c[++a]&&i===c[++a]&&i===c[++a]&&i===c[++a]&&i===c[++a]&&i===c[++a]&&i===c[++a]&&a<s);e.match_length=P-(s-a),e.match_length>e.lookahead&&(e.match_length=e.lookahead)}if(e.match_length>=N?(r=n._tr_tally(e,1,e.match_length-N),e.lookahead-=e.match_length,e.strstart+=e.match_length,e.match_length=0):(r=n._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++),r&&(K(e,!1),e.strm.avail_out===0))return H}return e.insert=0,t===l?(K(e,!0),e.strm.avail_out===0?re:U):e.last_lit&&(K(e,!1),e.strm.avail_out===0)?H:ne}function de(e,t){for(var r;;){if(e.lookahead===0&&(le(e),e.lookahead===0)){if(t===o)return H;break}if(e.match_length=0,r=n._tr_tally(e,0,e.window[e.strstart]),e.lookahead--,e.strstart++,r&&(K(e,!1),e.strm.avail_out===0))return H}return e.insert=0,t===l?(K(e,!0),e.strm.avail_out===0?re:U):e.last_lit&&(K(e,!1),e.strm.avail_out===0)?H:ne}function Q(e,t,n,r,i){this.good_length=e,this.max_lazy=t,this.nice_length=n,this.max_chain=r,this.func=i}var $=[new Q(0,0,0,0,Y),new Q(4,4,8,4,ue),new Q(4,5,16,8,ue),new Q(4,6,32,32,ue),new Q(4,4,16,16,X),new Q(8,16,32,32,X),new Q(8,16,128,128,X),new Q(8,32,128,256,X),new Q(32,128,258,1024,X),new Q(32,258,258,4096,X)];function fe(e){e.window_size=2*e.w_size,ae(e.head),e.max_lazy_match=$[e.level].max_lazy,e.good_match=$[e.level].good_length,e.nice_match=$[e.level].nice_length,e.max_chain_length=$[e.level].max_chain,e.strstart=0,e.block_start=0,e.lookahead=0,e.insert=0,e.match_length=e.prev_length=N-1,e.match_available=0,e.ins_h=0}function pe(){this.strm=null,this.status=0,this.pending_buf=null,this.pending_buf_size=0,this.pending_out=0,this.pending=0,this.wrap=0,this.gzhead=null,this.gzindex=0,this.method=w,this.last_flush=-1,this.w_size=0,this.w_bits=0,this.w_mask=0,this.window=null,this.window_size=0,this.prev=null,this.head=null,this.ins_h=0,this.hash_size=0,this.hash_bits=0,this.hash_mask=0,this.hash_shift=0,this.block_start=0,this.match_length=0,this.prev_match=0,this.match_available=0,this.strstart=0,this.match_start=0,this.lookahead=0,this.prev_length=0,this.max_chain_length=0,this.max_lazy_match=0,this.level=0,this.strategy=0,this.good_match=0,this.nice_match=0,this.dyn_ltree=new t.Buf16(j*2),this.dyn_dtree=new t.Buf16((2*k+1)*2),this.bl_tree=new t.Buf16((2*A+1)*2),ae(this.dyn_ltree),ae(this.dyn_dtree),ae(this.bl_tree),this.l_desc=null,this.d_desc=null,this.bl_desc=null,this.bl_count=new t.Buf16(M+1),this.heap=new t.Buf16(2*O+1),ae(this.heap),this.heap_len=0,this.heap_max=0,this.depth=new t.Buf16(2*O+1),ae(this.depth),this.l_buf=0,this.lit_bufsize=0,this.last_lit=0,this.d_buf=0,this.opt_len=0,this.static_len=0,this.matches=0,this.insert=0,this.bi_buf=0,this.bi_valid=0}function me(e){var t;return!e||!e.state?W(e,p):(e.total_in=e.total_out=0,e.data_type=C,t=e.state,t.pending=0,t.pending_out=0,t.wrap<0&&(t.wrap=-t.wrap),t.status=t.wrap?I:B,e.adler=t.wrap===2?0:1,t.last_flush=o,n._tr_init(t),d)}function he(e){var t=me(e);return t===d&&fe(e.state),t}function ge(e,t){return!e||!e.state||e.state.wrap!==2?p:(e.state.gzhead=t,d)}function _e(e,n,r,i,a,o){if(!e)return p;var s=1;if(n===g&&(n=6),i<0?(s=0,i=-i):i>15&&(s=2,i-=16),a<1||a>T||r!==w||i<8||i>15||n<0||n>9||o<0||o>x)return W(e,p);i===8&&(i=9);var c=new pe;return e.state=c,c.strm=e,c.wrap=s,c.gzhead=null,c.w_bits=i,c.w_size=1<<c.w_bits,c.w_mask=c.w_size-1,c.hash_bits=a+7,c.hash_size=1<<c.hash_bits,c.hash_mask=c.hash_size-1,c.hash_shift=~~((c.hash_bits+N-1)/N),c.window=new t.Buf8(c.w_size*2),c.head=new t.Buf16(c.hash_size),c.prev=new t.Buf16(c.w_size),c.lit_bufsize=1<<a+6,c.pending_buf_size=c.lit_bufsize*4,c.pending_buf=new t.Buf8(c.pending_buf_size),c.d_buf=1*c.lit_bufsize,c.l_buf=3*c.lit_bufsize,c.level=n,c.strategy=o,c.method=r,he(e)}function ve(e,t){return _e(e,t,w,E,D,S)}function ye(e,t){var r,a,m,g;if(!e||!e.state||t>u||t<0)return e?W(e,p):p;if(a=e.state,!e.output||!e.input&&e.avail_in!==0||a.status===V&&t!==l)return W(e,e.avail_out===0?h:p);if(a.strm=e,r=a.last_flush,a.last_flush=t,a.status===I){if(a.wrap===2)e.adler=0,q(a,31),q(a,139),q(a,8),a.gzhead?(q(a,+!!a.gzhead.text+(a.gzhead.hcrc?2:0)+(a.gzhead.extra?4:0)+(a.gzhead.name?8:0)+(a.gzhead.comment?16:0)),q(a,a.gzhead.time&255),q(a,a.gzhead.time>>8&255),q(a,a.gzhead.time>>16&255),q(a,a.gzhead.time>>24&255),q(a,a.level===9?2:a.strategy>=y||a.level<2?4:0),q(a,a.gzhead.os&255),a.gzhead.extra&&a.gzhead.extra.length&&(q(a,a.gzhead.extra.length&255),q(a,a.gzhead.extra.length>>8&255)),a.gzhead.hcrc&&(e.adler=i(e.adler,a.pending_buf,a.pending,0)),a.gzindex=0,a.status=te):(q(a,0),q(a,0),q(a,0),q(a,0),q(a,0),q(a,a.level===9?2:a.strategy>=y||a.level<2?4:0),q(a,ie),a.status=B);else{var _=w+(a.w_bits-8<<4)<<8,v=-1;v=a.strategy>=y||a.level<2?0:a.level<6?1:a.level===6?2:3,_|=v<<6,a.strstart!==0&&(_|=ee),_+=31-_%31,a.status=B,se(a,_),a.strstart!==0&&(se(a,e.adler>>>16),se(a,e.adler&65535)),e.adler=1}}if(a.status===te){if(a.gzhead.extra){for(m=a.pending;a.gzindex<(a.gzhead.extra.length&65535)&&!(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>m&&(e.adler=i(e.adler,a.pending_buf,a.pending-m,m)),oe(e),m=a.pending,a.pending===a.pending_buf_size));)q(a,a.gzhead.extra[a.gzindex]&255),a.gzindex++;a.gzhead.hcrc&&a.pending>m&&(e.adler=i(e.adler,a.pending_buf,a.pending-m,m)),a.gzindex===a.gzhead.extra.length&&(a.gzindex=0,a.status=L)}else a.status=L}if(a.status===L){if(a.gzhead.name){m=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>m&&(e.adler=i(e.adler,a.pending_buf,a.pending-m,m)),oe(e),m=a.pending,a.pending===a.pending_buf_size)){g=1;break}g=a.gzindex<a.gzhead.name.length?a.gzhead.name.charCodeAt(a.gzindex++)&255:0,q(a,g)}while(g!==0);a.gzhead.hcrc&&a.pending>m&&(e.adler=i(e.adler,a.pending_buf,a.pending-m,m)),g===0&&(a.gzindex=0,a.status=R)}else a.status=R}if(a.status===R){if(a.gzhead.comment){m=a.pending;do{if(a.pending===a.pending_buf_size&&(a.gzhead.hcrc&&a.pending>m&&(e.adler=i(e.adler,a.pending_buf,a.pending-m,m)),oe(e),m=a.pending,a.pending===a.pending_buf_size)){g=1;break}g=a.gzindex<a.gzhead.comment.length?a.gzhead.comment.charCodeAt(a.gzindex++)&255:0,q(a,g)}while(g!==0);a.gzhead.hcrc&&a.pending>m&&(e.adler=i(e.adler,a.pending_buf,a.pending-m,m)),g===0&&(a.status=z)}else a.status=z}if(a.status===z&&(a.gzhead.hcrc?(a.pending+2>a.pending_buf_size&&oe(e),a.pending+2<=a.pending_buf_size&&(q(a,e.adler&255),q(a,e.adler>>8&255),e.adler=0,a.status=B)):a.status=B),a.pending!==0){if(oe(e),e.avail_out===0)return a.last_flush=-1,d}else if(e.avail_in===0&&G(t)<=G(r)&&t!==l)return W(e,h);if(a.status===V&&e.avail_in!==0)return W(e,h);if(e.avail_in!==0||a.lookahead!==0||t!==o&&a.status!==V){var x=a.strategy===y?de(a,t):a.strategy===b?Z(a,t):$[a.level].func(a,t);if((x===re||x===U)&&(a.status=V),x===H||x===re)return e.avail_out===0&&(a.last_flush=-1),d;if(x===ne&&(t===s?n._tr_align(a):t!==u&&(n._tr_stored_block(a,0,0,!1),t===c&&(ae(a.head),a.lookahead===0&&(a.strstart=0,a.block_start=0,a.insert=0))),oe(e),e.avail_out===0))return a.last_flush=-1,d}return t===l?a.wrap<=0?f:(a.wrap===2?(q(a,e.adler&255),q(a,e.adler>>8&255),q(a,e.adler>>16&255),q(a,e.adler>>24&255),q(a,e.total_in&255),q(a,e.total_in>>8&255),q(a,e.total_in>>16&255),q(a,e.total_in>>24&255)):(se(a,e.adler>>>16),se(a,e.adler&65535)),oe(e),a.wrap>0&&(a.wrap=-a.wrap),a.pending===0?f:d):d}function be(e){var t;return!e||!e.state?p:(t=e.state.status,t!==I&&t!==te&&t!==L&&t!==R&&t!==z&&t!==B&&t!==V?W(e,p):(e.state=null,t===B?W(e,m):d))}function xe(e,n){var i=n.length,a,o,s,c,l,u,f,m;if(!e||!e.state||(a=e.state,c=a.wrap,c===2||c===1&&a.status!==I||a.lookahead))return p;for(c===1&&(e.adler=r(e.adler,n,i,0)),a.wrap=0,i>=a.w_size&&(c===0&&(ae(a.head),a.strstart=0,a.block_start=0,a.insert=0),m=new t.Buf8(a.w_size),t.arraySet(m,n,i-a.w_size,a.w_size,0),n=m,i=a.w_size),l=e.avail_in,u=e.next_in,f=e.input,e.avail_in=i,e.next_in=0,e.input=n,le(a);a.lookahead>=N;){o=a.strstart,s=a.lookahead-(N-1);do a.ins_h=(a.ins_h<<a.hash_shift^a.window[o+N-1])&a.hash_mask,a.prev[o&a.w_mask]=a.head[a.ins_h],a.head[a.ins_h]=o,o++;while(--s);a.strstart=o,a.lookahead=N-1,le(a)}return a.strstart+=a.lookahead,a.block_start=a.strstart,a.insert=a.lookahead,a.lookahead=0,a.match_length=a.prev_length=N-1,a.match_available=0,e.next_in=u,e.input=f,e.avail_in=l,a.wrap=c,d}e.deflateInit=ve,e.deflateInit2=_e,e.deflateReset=he,e.deflateResetKeep=me,e.deflateSetHeader=ge,e.deflate=ye,e.deflateEnd=be,e.deflateSetDictionary=xe,e.deflateInfo=`pako deflate (from Nodeca project)`}}),St=l({"../../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/inffast.js"(e,t){v();var n=30,r=12;t.exports=function(e,t){var i=e.state,a=e.next_in,o,s,c,l,u,d,f,p,m,h,g,_,v,y,b,x,S,C,w,T,E,D=e.input,O;o=a+(e.avail_in-5),s=e.next_out,O=e.output,c=s-(t-e.avail_out),l=s+(e.avail_out-257),u=i.dmax,d=i.wsize,f=i.whave,p=i.wnext,m=i.window,h=i.hold,g=i.bits,_=i.lencode,v=i.distcode,y=(1<<i.lenbits)-1,b=(1<<i.distbits)-1;top:do{g<15&&(h+=D[a++]<<g,g+=8,h+=D[a++]<<g,g+=8),x=_[h&y];dolen:for(;;){if(S=x>>>24,h>>>=S,g-=S,S=x>>>16&255,S===0)O[s++]=x&65535;else if(S&16){C=x&65535,S&=15,S&&(g<S&&(h+=D[a++]<<g,g+=8),C+=h&(1<<S)-1,h>>>=S,g-=S),g<15&&(h+=D[a++]<<g,g+=8,h+=D[a++]<<g,g+=8),x=v[h&b];dodist:for(;;){if(S=x>>>24,h>>>=S,g-=S,S=x>>>16&255,S&16){if(w=x&65535,S&=15,g<S&&(h+=D[a++]<<g,g+=8,g<S&&(h+=D[a++]<<g,g+=8)),w+=h&(1<<S)-1,w>u){e.msg=`invalid distance too far back`,i.mode=n;break top}if(h>>>=S,g-=S,S=s-c,w>S){if(S=w-S,S>f&&i.sane){e.msg=`invalid distance too far back`,i.mode=n;break top}if(T=0,E=m,p===0){if(T+=d-S,S<C){C-=S;do O[s++]=m[T++];while(--S);T=s-w,E=O}}else if(p<S){if(T+=d+p-S,S-=p,S<C){C-=S;do O[s++]=m[T++];while(--S);if(T=0,p<C){S=p,C-=S;do O[s++]=m[T++];while(--S);T=s-w,E=O}}}else if(T+=p-S,S<C){C-=S;do O[s++]=m[T++];while(--S);T=s-w,E=O}for(;C>2;)O[s++]=E[T++],O[s++]=E[T++],O[s++]=E[T++],C-=3;C&&(O[s++]=E[T++],C>1&&(O[s++]=E[T++]))}else{T=s-w;do O[s++]=O[T++],O[s++]=O[T++],O[s++]=O[T++],C-=3;while(C>2);C&&(O[s++]=O[T++],C>1&&(O[s++]=O[T++]))}}else if(S&64){e.msg=`invalid distance code`,i.mode=n;break top}else{x=v[(x&65535)+(h&(1<<S)-1)];continue dodist}break}}else if(!(S&64)){x=_[(x&65535)+(h&(1<<S)-1)];continue dolen}else if(S&32){i.mode=r;break top}else{e.msg=`invalid literal/length code`,i.mode=n;break top}break}}while(a<o&&s<l);C=g>>3,a-=C,g-=C<<3,h&=(1<<g)-1,e.next_in=a,e.next_out=s,e.avail_in=a<o?5+(o-a):5-(a-o),e.avail_out=s<l?257+(l-s):257-(s-l),i.hold=h,i.bits=g}}}),Ct=l({"../../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/inftrees.js"(e,t){v();var n=gt(),r=15,i=852,a=592,o=0,s=1,c=2,l=[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,0,0],u=[16,16,16,16,16,16,16,16,17,17,17,17,18,18,18,18,19,19,19,19,20,20,20,20,21,21,21,21,16,72,78],d=[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,0,0],f=[16,16,16,16,17,17,18,18,19,19,20,20,21,21,22,22,23,23,24,24,25,25,26,26,27,27,28,28,29,29,64,64];t.exports=function(e,t,p,m,h,g,_,v){var y=v.bits,b=0,x=0,S=0,C=0,w=0,T=0,E=0,D=0,O=0,k=0,A,j,M,N,P,F=null,ee=0,I,te=new n.Buf16(r+1),L=new n.Buf16(r+1),R=null,z=0,B,V,H;for(b=0;b<=r;b++)te[b]=0;for(x=0;x<m;x++)te[t[p+x]]++;for(w=y,C=r;C>=1&&te[C]===0;C--);if(w>C&&(w=C),C===0)return h[g++]=20971520,h[g++]=20971520,v.bits=1,0;for(S=1;S<C&&te[S]===0;S++);for(w<S&&(w=S),D=1,b=1;b<=r;b++)if(D<<=1,D-=te[b],D<0)return-1;if(D>0&&(e===o||C!==1))return-1;for(L[1]=0,b=1;b<r;b++)L[b+1]=L[b]+te[b];for(x=0;x<m;x++)t[p+x]!==0&&(_[L[t[p+x]]++]=x);if(e===o?(F=R=_,I=19):e===s?(F=l,ee-=257,R=u,z-=257,I=256):(F=d,R=f,I=-1),k=0,x=0,b=S,P=g,T=w,E=0,M=-1,O=1<<w,N=O-1,e===s&&O>i||e===c&&O>a)return 1;for(;;){B=b-E,_[x]<I?(V=0,H=_[x]):_[x]>I?(V=R[z+_[x]],H=F[ee+_[x]]):(V=96,H=0),A=1<<b-E,j=1<<T,S=j;do j-=A,h[P+(k>>E)+j]=B<<24|V<<16|H;while(j!==0);for(A=1<<b-1;k&A;)A>>=1;if(A===0?k=0:(k&=A-1,k+=A),x++,--te[b]===0){if(b===C)break;b=t[p+_[x]]}if(b>w&&(k&N)!==M){for(E===0&&(E=w),P+=S,T=b-E,D=1<<T;T+E<C&&(D-=te[T+E],!(D<=0));)T++,D<<=1;if(O+=1<<T,e===s&&O>i||e===c&&O>a)return 1;M=k&N,h[M]=w<<24|T<<16|P-g}}return k!==0&&(h[P+k]=b-E<<24|4194304),v.bits=w,0}}}),wt=l({"../../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/inflate.js"(e){v();var t=gt(),n=vt(),r=yt(),i=St(),a=Ct(),o=0,s=1,c=2,l=4,u=5,d=6,f=0,p=1,m=2,h=-2,g=-3,_=-4,y=-5,b=8,x=1,S=2,C=3,w=4,T=5,E=6,D=7,O=8,k=9,A=10,j=11,M=12,N=13,P=14,F=15,ee=16,I=17,te=18,L=19,R=20,z=21,B=22,V=23,H=24,ne=25,re=26,U=27,ie=28,W=29,G=30,ae=31,oe=32,K=852,q=592,se=15;function ce(e){return(e>>>24&255)+(e>>>8&65280)+((e&65280)<<8)+((e&255)<<24)}function J(){this.mode=0,this.last=!1,this.wrap=0,this.havedict=!1,this.flags=0,this.dmax=0,this.check=0,this.total=0,this.head=null,this.wbits=0,this.wsize=0,this.whave=0,this.wnext=0,this.window=null,this.hold=0,this.bits=0,this.length=0,this.offset=0,this.extra=0,this.lencode=null,this.distcode=null,this.lenbits=0,this.distbits=0,this.ncode=0,this.nlen=0,this.ndist=0,this.have=0,this.next=null,this.lens=new t.Buf16(320),this.work=new t.Buf16(288),this.lendyn=null,this.distdyn=null,this.sane=0,this.back=0,this.was=0}function le(e){var n;return!e||!e.state?h:(n=e.state,e.total_in=e.total_out=n.total=0,e.msg=``,n.wrap&&(e.adler=n.wrap&1),n.mode=x,n.last=0,n.havedict=0,n.dmax=32768,n.head=null,n.hold=0,n.bits=0,n.lencode=n.lendyn=new t.Buf32(K),n.distcode=n.distdyn=new t.Buf32(q),n.sane=1,n.back=-1,f)}function Y(e){var t;return!e||!e.state?h:(t=e.state,t.wsize=0,t.whave=0,t.wnext=0,le(e))}function ue(e,t){var n,r;return!e||!e.state||(r=e.state,t<0?(n=0,t=-t):(n=(t>>4)+1,t<48&&(t&=15)),t&&(t<8||t>15))?h:(r.window!==null&&r.wbits!==t&&(r.window=null),r.wrap=n,r.wbits=t,Y(e))}function X(e,t){var n,r;return e?(r=new J,e.state=r,r.window=null,n=ue(e,t),n!==f&&(e.state=null),n):h}function Z(e){return X(e,se)}var de=!0,Q,$;function fe(e){if(de){var n;for(Q=new t.Buf32(512),$=new t.Buf32(32),n=0;n<144;)e.lens[n++]=8;for(;n<256;)e.lens[n++]=9;for(;n<280;)e.lens[n++]=7;for(;n<288;)e.lens[n++]=8;for(a(s,e.lens,0,288,Q,0,e.work,{bits:9}),n=0;n<32;)e.lens[n++]=5;a(c,e.lens,0,32,$,0,e.work,{bits:5}),de=!1}e.lencode=Q,e.lenbits=9,e.distcode=$,e.distbits=5}function pe(e,n,r,i){var a,o=e.state;return o.window===null&&(o.wsize=1<<o.wbits,o.wnext=0,o.whave=0,o.window=new t.Buf8(o.wsize)),i>=o.wsize?(t.arraySet(o.window,n,r-o.wsize,o.wsize,0),o.wnext=0,o.whave=o.wsize):(a=o.wsize-o.wnext,a>i&&(a=i),t.arraySet(o.window,n,r-i,a,o.wnext),i-=a,i?(t.arraySet(o.window,n,r-i,i,0),o.wnext=i,o.whave=o.wsize):(o.wnext+=a,o.wnext===o.wsize&&(o.wnext=0),o.whave<o.wsize&&(o.whave+=a))),0}function me(e,v){var K,q,se,J,le,Y,ue,X,Z,de,Q,$,me,he,ge=0,_e,ve,ye,be,xe,Se,Ce,we,Te=new t.Buf8(4),Ee,De,Oe=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15];if(!e||!e.state||!e.output||!e.input&&e.avail_in!==0)return h;K=e.state,K.mode===M&&(K.mode=N),le=e.next_out,se=e.output,ue=e.avail_out,J=e.next_in,q=e.input,Y=e.avail_in,X=K.hold,Z=K.bits,de=Y,Q=ue,we=f;inf_leave:for(;;)switch(K.mode){case x:if(K.wrap===0){K.mode=N;break}for(;Z<16;){if(Y===0)break inf_leave;Y--,X+=q[J++]<<Z,Z+=8}if(K.wrap&2&&X===35615){K.check=0,Te[0]=X&255,Te[1]=X>>>8&255,K.check=r(K.check,Te,2,0),X=0,Z=0,K.mode=S;break}if(K.flags=0,K.head&&(K.head.done=!1),!(K.wrap&1)||(((X&255)<<8)+(X>>8))%31){e.msg=`incorrect header check`,K.mode=G;break}if((X&15)!==b){e.msg=`unknown compression method`,K.mode=G;break}if(X>>>=4,Z-=4,Ce=(X&15)+8,K.wbits===0)K.wbits=Ce;else if(Ce>K.wbits){e.msg=`invalid window size`,K.mode=G;break}K.dmax=1<<Ce,e.adler=K.check=1,K.mode=X&512?A:M,X=0,Z=0;break;case S:for(;Z<16;){if(Y===0)break inf_leave;Y--,X+=q[J++]<<Z,Z+=8}if(K.flags=X,(K.flags&255)!==b){e.msg=`unknown compression method`,K.mode=G;break}if(K.flags&57344){e.msg=`unknown header flags set`,K.mode=G;break}K.head&&(K.head.text=X>>8&1),K.flags&512&&(Te[0]=X&255,Te[1]=X>>>8&255,K.check=r(K.check,Te,2,0)),X=0,Z=0,K.mode=C;case C:for(;Z<32;){if(Y===0)break inf_leave;Y--,X+=q[J++]<<Z,Z+=8}K.head&&(K.head.time=X),K.flags&512&&(Te[0]=X&255,Te[1]=X>>>8&255,Te[2]=X>>>16&255,Te[3]=X>>>24&255,K.check=r(K.check,Te,4,0)),X=0,Z=0,K.mode=w;case w:for(;Z<16;){if(Y===0)break inf_leave;Y--,X+=q[J++]<<Z,Z+=8}K.head&&(K.head.xflags=X&255,K.head.os=X>>8),K.flags&512&&(Te[0]=X&255,Te[1]=X>>>8&255,K.check=r(K.check,Te,2,0)),X=0,Z=0,K.mode=T;case T:if(K.flags&1024){for(;Z<16;){if(Y===0)break inf_leave;Y--,X+=q[J++]<<Z,Z+=8}K.length=X,K.head&&(K.head.extra_len=X),K.flags&512&&(Te[0]=X&255,Te[1]=X>>>8&255,K.check=r(K.check,Te,2,0)),X=0,Z=0}else K.head&&(K.head.extra=null);K.mode=E;case E:if(K.flags&1024&&($=K.length,$>Y&&($=Y),$&&(K.head&&(Ce=K.head.extra_len-K.length,K.head.extra||(K.head.extra=Array(K.head.extra_len)),t.arraySet(K.head.extra,q,J,$,Ce)),K.flags&512&&(K.check=r(K.check,q,$,J)),Y-=$,J+=$,K.length-=$),K.length))break inf_leave;K.length=0,K.mode=D;case D:if(K.flags&2048){if(Y===0)break inf_leave;$=0;do Ce=q[J+$++],K.head&&Ce&&K.length<65536&&(K.head.name+=String.fromCharCode(Ce));while(Ce&&$<Y);if(K.flags&512&&(K.check=r(K.check,q,$,J)),Y-=$,J+=$,Ce)break inf_leave}else K.head&&(K.head.name=null);K.length=0,K.mode=O;case O:if(K.flags&4096){if(Y===0)break inf_leave;$=0;do Ce=q[J+$++],K.head&&Ce&&K.length<65536&&(K.head.comment+=String.fromCharCode(Ce));while(Ce&&$<Y);if(K.flags&512&&(K.check=r(K.check,q,$,J)),Y-=$,J+=$,Ce)break inf_leave}else K.head&&(K.head.comment=null);K.mode=k;case k:if(K.flags&512){for(;Z<16;){if(Y===0)break inf_leave;Y--,X+=q[J++]<<Z,Z+=8}if(X!==(K.check&65535)){e.msg=`header crc mismatch`,K.mode=G;break}X=0,Z=0}K.head&&(K.head.hcrc=K.flags>>9&1,K.head.done=!0),e.adler=K.check=0,K.mode=M;break;case A:for(;Z<32;){if(Y===0)break inf_leave;Y--,X+=q[J++]<<Z,Z+=8}e.adler=K.check=ce(X),X=0,Z=0,K.mode=j;case j:if(K.havedict===0)return e.next_out=le,e.avail_out=ue,e.next_in=J,e.avail_in=Y,K.hold=X,K.bits=Z,m;e.adler=K.check=1,K.mode=M;case M:if(v===u||v===d)break inf_leave;case N:if(K.last){X>>>=Z&7,Z-=Z&7,K.mode=U;break}for(;Z<3;){if(Y===0)break inf_leave;Y--,X+=q[J++]<<Z,Z+=8}switch(K.last=X&1,X>>>=1,--Z,X&3){case 0:K.mode=P;break;case 1:if(fe(K),K.mode=R,v===d){X>>>=2,Z-=2;break inf_leave}break;case 2:K.mode=I;break;case 3:e.msg=`invalid block type`,K.mode=G}X>>>=2,Z-=2;break;case P:for(X>>>=Z&7,Z-=Z&7;Z<32;){if(Y===0)break inf_leave;Y--,X+=q[J++]<<Z,Z+=8}if((X&65535)!=(X>>>16^65535)){e.msg=`invalid stored block lengths`,K.mode=G;break}if(K.length=X&65535,X=0,Z=0,K.mode=F,v===d)break inf_leave;case F:K.mode=ee;case ee:if($=K.length,$){if($>Y&&($=Y),$>ue&&($=ue),$===0)break inf_leave;t.arraySet(se,q,J,$,le),Y-=$,J+=$,ue-=$,le+=$,K.length-=$;break}K.mode=M;break;case I:for(;Z<14;){if(Y===0)break inf_leave;Y--,X+=q[J++]<<Z,Z+=8}if(K.nlen=(X&31)+257,X>>>=5,Z-=5,K.ndist=(X&31)+1,X>>>=5,Z-=5,K.ncode=(X&15)+4,X>>>=4,Z-=4,K.nlen>286||K.ndist>30){e.msg=`too many length or distance symbols`,K.mode=G;break}K.have=0,K.mode=te;case te:for(;K.have<K.ncode;){for(;Z<3;){if(Y===0)break inf_leave;Y--,X+=q[J++]<<Z,Z+=8}K.lens[Oe[K.have++]]=X&7,X>>>=3,Z-=3}for(;K.have<19;)K.lens[Oe[K.have++]]=0;if(K.lencode=K.lendyn,K.lenbits=7,Ee={bits:K.lenbits},we=a(o,K.lens,0,19,K.lencode,0,K.work,Ee),K.lenbits=Ee.bits,we){e.msg=`invalid code lengths set`,K.mode=G;break}K.have=0,K.mode=L;case L:for(;K.have<K.nlen+K.ndist;){for(;ge=K.lencode[X&(1<<K.lenbits)-1],_e=ge>>>24,ve=ge>>>16&255,ye=ge&65535,!(_e<=Z);){if(Y===0)break inf_leave;Y--,X+=q[J++]<<Z,Z+=8}if(ye<16)X>>>=_e,Z-=_e,K.lens[K.have++]=ye;else{if(ye===16){for(De=_e+2;Z<De;){if(Y===0)break inf_leave;Y--,X+=q[J++]<<Z,Z+=8}if(X>>>=_e,Z-=_e,K.have===0){e.msg=`invalid bit length repeat`,K.mode=G;break}Ce=K.lens[K.have-1],$=3+(X&3),X>>>=2,Z-=2}else if(ye===17){for(De=_e+3;Z<De;){if(Y===0)break inf_leave;Y--,X+=q[J++]<<Z,Z+=8}X>>>=_e,Z-=_e,Ce=0,$=3+(X&7),X>>>=3,Z-=3}else{for(De=_e+7;Z<De;){if(Y===0)break inf_leave;Y--,X+=q[J++]<<Z,Z+=8}X>>>=_e,Z-=_e,Ce=0,$=11+(X&127),X>>>=7,Z-=7}if(K.have+$>K.nlen+K.ndist){e.msg=`invalid bit length repeat`,K.mode=G;break}for(;$--;)K.lens[K.have++]=Ce}}if(K.mode===G)break;if(K.lens[256]===0){e.msg=`invalid code -- missing end-of-block`,K.mode=G;break}if(K.lenbits=9,Ee={bits:K.lenbits},we=a(s,K.lens,0,K.nlen,K.lencode,0,K.work,Ee),K.lenbits=Ee.bits,we){e.msg=`invalid literal/lengths set`,K.mode=G;break}if(K.distbits=6,K.distcode=K.distdyn,Ee={bits:K.distbits},we=a(c,K.lens,K.nlen,K.ndist,K.distcode,0,K.work,Ee),K.distbits=Ee.bits,we){e.msg=`invalid distances set`,K.mode=G;break}if(K.mode=R,v===d)break inf_leave;case R:K.mode=z;case z:if(Y>=6&&ue>=258){e.next_out=le,e.avail_out=ue,e.next_in=J,e.avail_in=Y,K.hold=X,K.bits=Z,i(e,Q),le=e.next_out,se=e.output,ue=e.avail_out,J=e.next_in,q=e.input,Y=e.avail_in,X=K.hold,Z=K.bits,K.mode===M&&(K.back=-1);break}for(K.back=0;ge=K.lencode[X&(1<<K.lenbits)-1],_e=ge>>>24,ve=ge>>>16&255,ye=ge&65535,!(_e<=Z);){if(Y===0)break inf_leave;Y--,X+=q[J++]<<Z,Z+=8}if(ve&&!(ve&240)){for(be=_e,xe=ve,Se=ye;ge=K.lencode[Se+((X&(1<<be+xe)-1)>>be)],_e=ge>>>24,ve=ge>>>16&255,ye=ge&65535,!(be+_e<=Z);){if(Y===0)break inf_leave;Y--,X+=q[J++]<<Z,Z+=8}X>>>=be,Z-=be,K.back+=be}if(X>>>=_e,Z-=_e,K.back+=_e,K.length=ye,ve===0){K.mode=re;break}if(ve&32){K.back=-1,K.mode=M;break}if(ve&64){e.msg=`invalid literal/length code`,K.mode=G;break}K.extra=ve&15,K.mode=B;case B:if(K.extra){for(De=K.extra;Z<De;){if(Y===0)break inf_leave;Y--,X+=q[J++]<<Z,Z+=8}K.length+=X&(1<<K.extra)-1,X>>>=K.extra,Z-=K.extra,K.back+=K.extra}K.was=K.length,K.mode=V;case V:for(;ge=K.distcode[X&(1<<K.distbits)-1],_e=ge>>>24,ve=ge>>>16&255,ye=ge&65535,!(_e<=Z);){if(Y===0)break inf_leave;Y--,X+=q[J++]<<Z,Z+=8}if(!(ve&240)){for(be=_e,xe=ve,Se=ye;ge=K.distcode[Se+((X&(1<<be+xe)-1)>>be)],_e=ge>>>24,ve=ge>>>16&255,ye=ge&65535,!(be+_e<=Z);){if(Y===0)break inf_leave;Y--,X+=q[J++]<<Z,Z+=8}X>>>=be,Z-=be,K.back+=be}if(X>>>=_e,Z-=_e,K.back+=_e,ve&64){e.msg=`invalid distance code`,K.mode=G;break}K.offset=ye,K.extra=ve&15,K.mode=H;case H:if(K.extra){for(De=K.extra;Z<De;){if(Y===0)break inf_leave;Y--,X+=q[J++]<<Z,Z+=8}K.offset+=X&(1<<K.extra)-1,X>>>=K.extra,Z-=K.extra,K.back+=K.extra}if(K.offset>K.dmax){e.msg=`invalid distance too far back`,K.mode=G;break}K.mode=ne;case ne:if(ue===0)break inf_leave;if($=Q-ue,K.offset>$){if($=K.offset-$,$>K.whave&&K.sane){e.msg=`invalid distance too far back`,K.mode=G;break}$>K.wnext?($-=K.wnext,me=K.wsize-$):me=K.wnext-$,$>K.length&&($=K.length),he=K.window}else he=se,me=le-K.offset,$=K.length;$>ue&&($=ue),ue-=$,K.length-=$;do se[le++]=he[me++];while(--$);K.length===0&&(K.mode=z);break;case re:if(ue===0)break inf_leave;se[le++]=K.length,ue--,K.mode=z;break;case U:if(K.wrap){for(;Z<32;){if(Y===0)break inf_leave;Y--,X|=q[J++]<<Z,Z+=8}if(Q-=ue,e.total_out+=Q,K.total+=Q,Q&&(e.adler=K.check=K.flags?r(K.check,se,Q,le-Q):n(K.check,se,Q,le-Q)),Q=ue,(K.flags?X:ce(X))!==K.check){e.msg=`incorrect data check`,K.mode=G;break}X=0,Z=0}K.mode=ie;case ie:if(K.wrap&&K.flags){for(;Z<32;){if(Y===0)break inf_leave;Y--,X+=q[J++]<<Z,Z+=8}if(X!==(K.total|0)){e.msg=`incorrect length check`,K.mode=G;break}X=0,Z=0}K.mode=W;case W:we=p;break inf_leave;case G:we=g;break inf_leave;case ae:return _;case oe:default:return h}return e.next_out=le,e.avail_out=ue,e.next_in=J,e.avail_in=Y,K.hold=X,K.bits=Z,(K.wsize||Q!==e.avail_out&&K.mode<G&&(K.mode<U||v!==l))&&pe(e,e.output,e.next_out,Q-e.avail_out)?(K.mode=ae,_):(de-=e.avail_in,Q-=e.avail_out,e.total_in+=de,e.total_out+=Q,K.total+=Q,K.wrap&&Q&&(e.adler=K.check=K.flags?r(K.check,se,Q,e.next_out-Q):n(K.check,se,Q,e.next_out-Q)),e.data_type=K.bits+(K.last?64:0)+(K.mode===M?128:0)+(K.mode===R||K.mode===F?256:0),(de===0&&Q===0||v===l)&&we===f&&(we=y),we)}function he(e){if(!e||!e.state)return h;var t=e.state;return t.window&&=null,e.state=null,f}function ge(e,t){var n;return!e||!e.state||(n=e.state,!(n.wrap&2))?h:(n.head=t,t.done=!1,f)}function _e(e,t){var r=t.length,i,a,o;return!e||!e.state||(i=e.state,i.wrap!==0&&i.mode!==j)?h:i.mode===j&&(a=1,a=n(a,t,r,0),a!==i.check)?g:(o=pe(e,t,r,r),o?(i.mode=ae,_):(i.havedict=1,f))}e.inflateReset=Y,e.inflateReset2=ue,e.inflateResetKeep=le,e.inflateInit=Z,e.inflateInit2=X,e.inflate=me,e.inflateEnd=he,e.inflateGetHeader=ge,e.inflateSetDictionary=_e,e.inflateInfo=`pako inflate (from Nodeca project)`}}),Tt=l({"../../../node_modules/.pnpm/pako@1.0.11/node_modules/pako/lib/zlib/constants.js"(e,t){v(),t.exports={Z_NO_FLUSH:0,Z_PARTIAL_FLUSH:1,Z_SYNC_FLUSH:2,Z_FULL_FLUSH:3,Z_FINISH:4,Z_BLOCK:5,Z_TREES:6,Z_OK:0,Z_STREAM_END:1,Z_NEED_DICT:2,Z_ERRNO:-1,Z_STREAM_ERROR:-2,Z_DATA_ERROR:-3,Z_BUF_ERROR:-5,Z_NO_COMPRESSION:0,Z_BEST_SPEED:1,Z_BEST_COMPRESSION:9,Z_DEFAULT_COMPRESSION:-1,Z_FILTERED:1,Z_HUFFMAN_ONLY:2,Z_RLE:3,Z_FIXED:4,Z_DEFAULT_STRATEGY:0,Z_BINARY:0,Z_TEXT:1,Z_UNKNOWN:2,Z_DEFLATED:8}}}),Et=l({"../../../node_modules/.pnpm/browserify-zlib@0.2.0/node_modules/browserify-zlib/lib/binding.js"(e){v();var t=mt(),n=ht(),r=xt(),i=wt(),a=Tt();for(o in a)e[o]=a[o];var o;e.NONE=0,e.DEFLATE=1,e.INFLATE=2,e.GZIP=3,e.GUNZIP=4,e.DEFLATERAW=5,e.INFLATERAW=6,e.UNZIP=7;var s=31,c=139;function l(t){if(typeof t!=`number`||t<e.DEFLATE||t>e.UNZIP)throw TypeError(`Bad argument`);this.dictionary=null,this.err=0,this.flush=0,this.init_done=!1,this.level=0,this.memLevel=0,this.mode=t,this.strategy=0,this.windowBits=0,this.write_in_progress=!1,this.pending_close=!1,this.gzip_id_bytes_read=0}l.prototype.close=function(){this.write_in_progress?this.pending_close=!0:(this.pending_close=!1,t(this.init_done,`close before init`),t(this.mode<=e.UNZIP),this.mode===e.DEFLATE||this.mode===e.GZIP||this.mode===e.DEFLATERAW?r.deflateEnd(this.strm):(this.mode===e.INFLATE||this.mode===e.GUNZIP||this.mode===e.INFLATERAW||this.mode===e.UNZIP)&&i.inflateEnd(this.strm),this.mode=e.NONE,this.dictionary=null)},l.prototype.write=function(e,t,n,r,i,a,o){return this._write(!0,e,t,n,r,i,a,o)},l.prototype.writeSync=function(e,t,n,r,i,a,o){return this._write(!1,e,t,n,r,i,a,o)},l.prototype._write=function(n,r,i,a,o,s,c,l){if(t.equal(arguments.length,8),t(this.init_done,`write before init`),t(this.mode!==e.NONE,`already finalized`),t.equal(!1,this.write_in_progress,`write already in progress`),t.equal(!1,this.pending_close,`close is pending`),this.write_in_progress=!0,t.equal(!1,r===void 0,`must provide flush value`),this.write_in_progress=!0,r!==e.Z_NO_FLUSH&&r!==e.Z_PARTIAL_FLUSH&&r!==e.Z_SYNC_FLUSH&&r!==e.Z_FULL_FLUSH&&r!==e.Z_FINISH&&r!==e.Z_BLOCK)throw Error(`Invalid flush value`);if(i??(i=g.Buffer.alloc(0),o=0,a=0),this.strm.avail_in=o,this.strm.input=i,this.strm.next_in=a,this.strm.avail_out=l,this.strm.output=s,this.strm.next_out=c,this.flush=r,!n)return this._process(),this._checkError()?this._afterSync():void 0;var u=this;return _.default.nextTick(function(){u._process(),u._after()}),this},l.prototype._afterSync=function(){var e=this.strm.avail_out,t=this.strm.avail_in;return this.write_in_progress=!1,[t,e]},l.prototype._process=function(){var t=null;switch(this.mode){case e.DEFLATE:case e.GZIP:case e.DEFLATERAW:this.err=r.deflate(this.strm,this.flush);break;case e.UNZIP:switch(this.strm.avail_in>0&&(t=this.strm.next_in),this.gzip_id_bytes_read){case 0:if(t===null)break;if(this.strm.input[t]===s){if(this.gzip_id_bytes_read=1,t++,this.strm.avail_in===1)break}else{this.mode=e.INFLATE;break}case 1:if(t===null)break;this.strm.input[t]===c?(this.gzip_id_bytes_read=2,this.mode=e.GUNZIP):this.mode=e.INFLATE;break;default:throw Error(`invalid number of gzip magic number bytes read`)}case e.INFLATE:case e.GUNZIP:case e.INFLATERAW:for(this.err=i.inflate(this.strm,this.flush),this.err===e.Z_NEED_DICT&&this.dictionary&&(this.err=i.inflateSetDictionary(this.strm,this.dictionary),this.err===e.Z_OK?this.err=i.inflate(this.strm,this.flush):this.err===e.Z_DATA_ERROR&&(this.err=e.Z_NEED_DICT));this.strm.avail_in>0&&this.mode===e.GUNZIP&&this.err===e.Z_STREAM_END&&this.strm.next_in[0]!==0;)this.reset(),this.err=i.inflate(this.strm,this.flush);break;default:throw Error(`Unknown mode `+this.mode)}},l.prototype._checkError=function(){switch(this.err){case e.Z_OK:case e.Z_BUF_ERROR:if(this.strm.avail_out!==0&&this.flush===e.Z_FINISH)return this._error(`unexpected end of file`),!1;break;case e.Z_STREAM_END:break;case e.Z_NEED_DICT:return this.dictionary==null?this._error(`Missing dictionary`):this._error(`Bad dictionary`),!1;default:return this._error(`Zlib error`),!1}return!0},l.prototype._after=function(){if(this._checkError()){var e=this.strm.avail_out,t=this.strm.avail_in;this.write_in_progress=!1,this.callback(t,e),this.pending_close&&this.close()}},l.prototype._error=function(e){this.strm.msg&&(e=this.strm.msg),this.onerror(e,this.err),this.write_in_progress=!1,this.pending_close&&this.close()},l.prototype.init=function(n,r,i,a,o){t(arguments.length===4||arguments.length===5,`init(windowBits, level, memLevel, strategy, [dictionary])`),t(n>=8&&n<=15,`invalid windowBits`),t(r>=-1&&r<=9,`invalid compression level`),t(i>=1&&i<=9,`invalid memlevel`),t(a===e.Z_FILTERED||a===e.Z_HUFFMAN_ONLY||a===e.Z_RLE||a===e.Z_FIXED||a===e.Z_DEFAULT_STRATEGY,`invalid strategy`),this._init(r,n,i,a,o),this._setDictionary()},l.prototype.params=function(){throw Error(`deflateParams Not supported`)},l.prototype.reset=function(){this._reset(),this._setDictionary()},l.prototype._init=function(t,a,o,s,c){switch(this.level=t,this.windowBits=a,this.memLevel=o,this.strategy=s,this.flush=e.Z_NO_FLUSH,this.err=e.Z_OK,(this.mode===e.GZIP||this.mode===e.GUNZIP)&&(this.windowBits+=16),this.mode===e.UNZIP&&(this.windowBits+=32),(this.mode===e.DEFLATERAW||this.mode===e.INFLATERAW)&&(this.windowBits=-1*this.windowBits),this.strm=new n,this.mode){case e.DEFLATE:case e.GZIP:case e.DEFLATERAW:this.err=r.deflateInit2(this.strm,this.level,e.Z_DEFLATED,this.windowBits,this.memLevel,this.strategy);break;case e.INFLATE:case e.GUNZIP:case e.INFLATERAW:case e.UNZIP:this.err=i.inflateInit2(this.strm,this.windowBits);break;default:throw Error(`Unknown mode `+this.mode)}this.err!==e.Z_OK&&this._error(`Init error`),this.dictionary=c,this.write_in_progress=!1,this.init_done=!0},l.prototype._setDictionary=function(){if(this.dictionary!=null){switch(this.err=e.Z_OK,this.mode){case e.DEFLATE:case e.DEFLATERAW:this.err=r.deflateSetDictionary(this.strm,this.dictionary)}this.err!==e.Z_OK&&this._error(`Failed to set dictionary`)}},l.prototype._reset=function(){switch(this.err=e.Z_OK,this.mode){case e.DEFLATE:case e.DEFLATERAW:case e.GZIP:this.err=r.deflateReset(this.strm);break;case e.INFLATE:case e.INFLATERAW:case e.GUNZIP:this.err=i.inflateReset(this.strm)}this.err!==e.Z_OK&&this._error(`Failed to reset stream`)},e.Zlib=l}}),Dt=l({"../../../node_modules/.pnpm/browserify-zlib@0.2.0/node_modules/browserify-zlib/lib/index.js"(e){v();var t=m().Buffer,n=We().Transform,r=Et(),i=Se(),a=mt().ok,o=m().kMaxLength,s=`Cannot create final Buffer. It would be larger than 0x`+o.toString(16)+` bytes`;r.Z_MIN_WINDOWBITS=8,r.Z_MAX_WINDOWBITS=15,r.Z_DEFAULT_WINDOWBITS=15,r.Z_MIN_CHUNK=64,r.Z_MAX_CHUNK=1/0,r.Z_DEFAULT_CHUNK=16384,r.Z_MIN_MEMLEVEL=1,r.Z_MAX_MEMLEVEL=9,r.Z_DEFAULT_MEMLEVEL=8,r.Z_MIN_LEVEL=-1,r.Z_MAX_LEVEL=9,r.Z_DEFAULT_LEVEL=r.Z_DEFAULT_COMPRESSION;var c=Object.keys(r);for(u=0;u<c.length;u++)l=c[u],l.match(/^Z/)&&Object.defineProperty(e,l,{enumerable:!0,value:r[l],writable:!1});var l,u,d={Z_OK:r.Z_OK,Z_STREAM_END:r.Z_STREAM_END,Z_NEED_DICT:r.Z_NEED_DICT,Z_ERRNO:r.Z_ERRNO,Z_STREAM_ERROR:r.Z_STREAM_ERROR,Z_DATA_ERROR:r.Z_DATA_ERROR,Z_MEM_ERROR:r.Z_MEM_ERROR,Z_BUF_ERROR:r.Z_BUF_ERROR,Z_VERSION_ERROR:r.Z_VERSION_ERROR},f=Object.keys(d);for(h=0;h<f.length;h++)p=f[h],d[d[p]]=p;var p,h;Object.defineProperty(e,"codes",{enumerable:!0,value:Object.freeze(d),writable:!1}),e.Deflate=b,e.Inflate=x,e.Gzip=S,e.Gunzip=C,e.DeflateRaw=w,e.InflateRaw=T,e.Unzip=E,e.createDeflate=function(e){return new b(e)},e.createInflate=function(e){return new x(e)},e.createDeflateRaw=function(e){return new w(e)},e.createInflateRaw=function(e){return new T(e)},e.createGzip=function(e){return new S(e)},e.createGunzip=function(e){return new C(e)},e.createUnzip=function(e){return new E(e)},e.deflate=function(e,t,n){return typeof t==`function`&&(n=t,t={}),g(new b(t),e,n)},e.deflateSync=function(e,t){return y(new b(t),e)},e.gzip=function(e,t,n){return typeof t==`function`&&(n=t,t={}),g(new S(t),e,n)},e.gzipSync=function(e,t){return y(new S(t),e)},e.deflateRaw=function(e,t,n){return typeof t==`function`&&(n=t,t={}),g(new w(t),e,n)},e.deflateRawSync=function(e,t){return y(new w(t),e)},e.unzip=function(e,t,n){return typeof t==`function`&&(n=t,t={}),g(new E(t),e,n)},e.unzipSync=function(e,t){return y(new E(t),e)},e.inflate=function(e,t,n){return typeof t==`function`&&(n=t,t={}),g(new x(t),e,n)},e.inflateSync=function(e,t){return y(new x(t),e)},e.gunzip=function(e,t,n){return typeof t==`function`&&(n=t,t={}),g(new C(t),e,n)},e.gunzipSync=function(e,t){return y(new C(t),e)},e.inflateRaw=function(e,t,n){return typeof t==`function`&&(n=t,t={}),g(new T(t),e,n)},e.inflateRawSync=function(e,t){return y(new T(t),e)};function g(e,n,r){var i=[],a=0;e.on(`error`,l),e.on(`end`,u),e.end(n),c();function c(){for(var t;(t=e.read())!==null;)i.push(t),a+=t.length;e.once(`readable`,c)}function l(t){e.removeListener(`end`,u),e.removeListener(`readable`,c),r(t)}function u(){var n,c=null;a>=o?c=RangeError(s):n=t.concat(i,a),i=[],e.close(),r(c,n)}}function y(e,n){if(typeof n==`string`&&(n=t.from(n)),!t.isBuffer(n))throw TypeError(`Not a string or buffer`);var r=e._finishFlushFlag;return e._processChunk(n,r)}function b(e){if(!(this instanceof b))return new b(e);O.call(this,e,r.DEFLATE)}function x(e){if(!(this instanceof x))return new x(e);O.call(this,e,r.INFLATE)}function S(e){if(!(this instanceof S))return new S(e);O.call(this,e,r.GZIP)}function C(e){if(!(this instanceof C))return new C(e);O.call(this,e,r.GUNZIP)}function w(e){if(!(this instanceof w))return new w(e);O.call(this,e,r.DEFLATERAW)}function T(e){if(!(this instanceof T))return new T(e);O.call(this,e,r.INFLATERAW)}function E(e){if(!(this instanceof E))return new E(e);O.call(this,e,r.UNZIP)}function D(e){return e===r.Z_NO_FLUSH||e===r.Z_PARTIAL_FLUSH||e===r.Z_SYNC_FLUSH||e===r.Z_FULL_FLUSH||e===r.Z_FINISH||e===r.Z_BLOCK}function O(i,a){var o=this;if(this._opts=i||={},this._chunkSize=i.chunkSize||e.Z_DEFAULT_CHUNK,n.call(this,i),i.flush&&!D(i.flush))throw Error(`Invalid flush flag: `+i.flush);if(i.finishFlush&&!D(i.finishFlush))throw Error(`Invalid flush flag: `+i.finishFlush);if(this._flushFlag=i.flush||r.Z_NO_FLUSH,this._finishFlushFlag=i.finishFlush===void 0?r.Z_FINISH:i.finishFlush,i.chunkSize&&(i.chunkSize<e.Z_MIN_CHUNK||i.chunkSize>e.Z_MAX_CHUNK))throw Error(`Invalid chunk size: `+i.chunkSize);if(i.windowBits&&(i.windowBits<e.Z_MIN_WINDOWBITS||i.windowBits>e.Z_MAX_WINDOWBITS))throw Error(`Invalid windowBits: `+i.windowBits);if(i.level&&(i.level<e.Z_MIN_LEVEL||i.level>e.Z_MAX_LEVEL))throw Error(`Invalid compression level: `+i.level);if(i.memLevel&&(i.memLevel<e.Z_MIN_MEMLEVEL||i.memLevel>e.Z_MAX_MEMLEVEL))throw Error(`Invalid memLevel: `+i.memLevel);if(i.strategy&&i.strategy!=e.Z_FILTERED&&i.strategy!=e.Z_HUFFMAN_ONLY&&i.strategy!=e.Z_RLE&&i.strategy!=e.Z_FIXED&&i.strategy!=e.Z_DEFAULT_STRATEGY)throw Error(`Invalid strategy: `+i.strategy);if(i.dictionary&&!t.isBuffer(i.dictionary))throw Error(`Invalid dictionary: it should be a Buffer instance`);this._handle=new r.Zlib(a);var s=this;this._hadError=!1,this._handle.onerror=function(t,n){k(s),s._hadError=!0;var r=Error(t);r.errno=n,r.code=e.codes[n],s.emit(`error`,r)};var c=e.Z_DEFAULT_COMPRESSION;typeof i.level==`number`&&(c=i.level);var l=e.Z_DEFAULT_STRATEGY;typeof i.strategy==`number`&&(l=i.strategy),this._handle.init(i.windowBits||e.Z_DEFAULT_WINDOWBITS,c,i.memLevel||e.Z_DEFAULT_MEMLEVEL,l,i.dictionary),this._buffer=t.allocUnsafe(this._chunkSize),this._offset=0,this._level=c,this._strategy=l,this.once(`end`,this.close),Object.defineProperty(this,"_closed",{get:function(){return!o._handle},configurable:!0,enumerable:!0})}i.inherits(O,n),O.prototype.params=function(t,n,i){if(t<e.Z_MIN_LEVEL||t>e.Z_MAX_LEVEL)throw RangeError(`Invalid compression level: `+t);if(n!=e.Z_FILTERED&&n!=e.Z_HUFFMAN_ONLY&&n!=e.Z_RLE&&n!=e.Z_FIXED&&n!=e.Z_DEFAULT_STRATEGY)throw TypeError(`Invalid strategy: `+n);if(this._level!==t||this._strategy!==n){var o=this;this.flush(r.Z_SYNC_FLUSH,function(){a(o._handle,`zlib binding closed`),o._handle.params(t,n),o._hadError||(o._level=t,o._strategy=n,i&&i())})}else _.default.nextTick(i)},O.prototype.reset=function(){return a(this._handle,`zlib binding closed`),this._handle.reset()},O.prototype._flush=function(e){this._transform(t.alloc(0),``,e)},O.prototype.flush=function(e,n){var i=this,a=this._writableState;(typeof e==`function`||e===void 0&&!n)&&(n=e,e=r.Z_FULL_FLUSH),a.ended?n&&_.default.nextTick(n):a.ending?n&&this.once(`end`,n):a.needDrain?n&&this.once(`drain`,function(){return i.flush(e,n)}):(this._flushFlag=e,this.write(t.alloc(0),``,n))},O.prototype.close=function(e){k(this,e),_.default.nextTick(A,this)};function k(e,t){t&&_.default.nextTick(t),e._handle&&=(e._handle.close(),null)}function A(e){e.emit(`close`)}O.prototype._transform=function(e,n,i){var a,o=this._writableState,s=(o.ending||o.ended)&&(!e||o.length===e.length);if(e!==null&&!t.isBuffer(e))return i(/* @__PURE__ */ Error(`invalid input`));if(!this._handle)return i(/* @__PURE__ */ Error(`zlib binding closed`));s?a=this._finishFlushFlag:(a=this._flushFlag,e.length>=o.length&&(this._flushFlag=this._opts.flush||r.Z_NO_FLUSH)),this._processChunk(e,a,i)},O.prototype._processChunk=function(e,n,r){var i=e&&e.length,c=this._chunkSize-this._offset,l=0,u=this,d=typeof r==`function`;if(!d){var f=[],p=0,m;this.on(`error`,function(e){m=e}),a(this._handle,`zlib binding closed`);do var h=this._handle.writeSync(n,e,l,i,this._buffer,this._offset,c);while(!this._hadError&&v(h[0],h[1]));if(this._hadError)throw m;if(p>=o)throw k(this),RangeError(s);var g=t.concat(f,p);return k(this),g}a(this._handle,`zlib binding closed`);var _=this._handle.write(n,e,l,i,this._buffer,this._offset,c);_.buffer=e,_.callback=v;function v(o,s){if(this&&(this.buffer=null,this.callback=null),!u._hadError){var m=c-s;if(a(m>=0,`have should not go down`),m>0){var h=u._buffer.slice(u._offset,u._offset+m);u._offset+=m,d?u.push(h):(f.push(h),p+=h.length)}if((s===0||u._offset>=u._chunkSize)&&(c=u._chunkSize,u._offset=0,u._buffer=t.allocUnsafe(u._chunkSize)),s===0){if(l+=i-o,i=o,!d)return!0;var g=u._handle.write(n,e,l,i,u._buffer,u._offset,u._chunkSize);g.callback=v,g.buffer=e}else{if(!d)return!1;r()}}}},i.inherits(b,O),i.inherits(x,O),i.inherits(S,O),i.inherits(C,O),i.inherits(w,O),i.inherits(T,O),i.inherits(E,O)}}),Ot=l({"../../../node_modules/.pnpm/avsc@5.7.9/node_modules/avsc/lib/containers.js"(e,t){v();var n=we(),r=Ce(),i=m(),a=We(),o=Se(),s=Dt(),c=i.Buffer,l={namespace:`org.apache.avro.file`},u=n.Type.forSchema(`long`,l),d=n.Type.forSchema({type:`map`,values:`bytes`},l),f=n.Type.forSchema({name:`Header`,type:`record`,fields:[{name:`magic`,type:{type:`fixed`,name:`Magic`,size:4}},{name:`meta`,type:d},{name:`sync`,type:{type:`fixed`,name:`Sync`,size:16}}]},l),p=n.Type.forSchema({name:`Block`,type:`record`,fields:[{name:`count`,type:`long`},{name:`data`,type:`bytes`},{name:`sync`,type:`Sync`}]},l),h=r.bufferFrom(`Obj`),g=o.format,y=r.Tap;function b(e,t){t||={};var i=!!t.noDecode;a.Duplex.call(this,{readableObjectMode:!i,allowHalfOpen:!1}),this._type=n.Type.forSchema(e),this._tap=new y(r.newBuffer(0)),this._writeCb=null,this._needPush=!1,this._readValue=D(i,this._type),this._finished=!1,this.on(`finish`,function(){this._finished=!0,this._read()})}o.inherits(b,a.Duplex),b.prototype._write=function(e,t,n){this._writeCb=n;var r=this._tap;r.buf=c.concat([r.buf.slice(r.pos),e]),r.pos=0,this._needPush&&(this._needPush=!1,this._read())},b.prototype._read=function(){this._needPush=!1;var e=this._tap,t=e.pos,n=this._readValue(e);e.isValid()?this.push(n):this._finished?this.push(null):(e.pos=t,this._needPush=!0,this._writeCb&&this._writeCb())};function x(e){e||={};var t=!!e.noDecode;a.Duplex.call(this,{allowHalfOpen:!0,readableObjectMode:!t}),this._rType=e.readerSchema===void 0?void 0:n.Type.forSchema(e.readerSchema),this._wType=null,this._codecs=e.codecs,this._codec=void 0,this._parseHook=e.parseHook,this._tap=new y(r.newBuffer(0)),this._blockTap=new y(r.newBuffer(0)),this._syncMarker=null,this._readValue=null,this._noDecode=t,this._queue=new r.OrderedQueue,this._decompress=null,this._index=0,this._remaining=void 0,this._needPush=!1,this._finished=!1,this.on(`finish`,function(){this._finished=!0,this._needPush&&this._read()})}o.inherits(x,a.Duplex),x.defaultCodecs=function(){return{null:function(e,t){t(null,e)},deflate:s.inflateRaw}},x.getDefaultCodecs=x.defaultCodecs,x.prototype._decodeHeader=function(){var e=this._tap;if(e.buf.length<h.length)return!1;if(!h.equals(e.buf.slice(0,h.length)))return this.emit(`error`,/* @__PURE__ */ Error(`invalid magic bytes`)),!1;var t=f._read(e);if(!e.isValid())return!1;this._codec=(t.meta[`avro.codec`]||`null`).toString();var r=this._codecs||x.getDefaultCodecs();if(this._decompress=r[this._codec],!this._decompress)this.emit(`error`,Error(g(`unknown codec: %s`,this._codec)));else{try{var i=JSON.parse(t.meta[`avro.schema`].toString());this._parseHook&&(i=this._parseHook(i)),this._wType=n.Type.forSchema(i)}catch(e){this.emit(`error`,e);return}try{this._readValue=D(this._noDecode,this._wType,this._rType)}catch(e){this.emit(`error`,e);return}return this._syncMarker=t.sync,this.emit(`metadata`,this._wType,this._codec,t),!0}},x.prototype._write=function(e,t,n){var i=this._tap;i.buf=c.concat([i.buf,e]),i.pos=0,this._decodeHeader()?(this._write=this._writeChunk,this._write(r.newBuffer(0),t,n)):_.default.nextTick(n)},x.prototype._writeChunk=function(e,t,n){var r=this._tap;r.buf=c.concat([r.buf.slice(r.pos),e]),r.pos=0;for(var i=1,a;a=E(r);){if(!this._syncMarker.equals(a.sync)){this.emit(`error`,/* @__PURE__ */ Error(`invalid sync marker`));return}i++,this._decompress(a.data,this._createBlockCallback(a.data.length,a.count,o))}o();function o(){--i||n()}},x.prototype._createBlockCallback=function(e,t,n){var r=this,i=this._index++;return function(a,o){if(a){var s=Error(g(`%s codec decompression error`,r._codec));s.cause=a,r.emit(`error`,s),n()}else r.emit(`block`,new w(t,o.length,e)),r._queue.push(new T(i,o,n,t)),r._needPush&&r._read()}},x.prototype._read=function(){this._needPush=!1;var e=this._blockTap;if(!this._remaining){var t=this._queue.pop();if(!t||!t.count){this._finished?this.push(null):this._needPush=!0,t&&t.cb();return}t.cb(),this._remaining=t.count,e.buf=t.buf,e.pos=0}this._remaining--;var n;try{if(n=this._readValue(e),!e.isValid())throw Error(`truncated block`)}catch(e){this._remaining=0,this.emit(`error`,e);return}this.push(n)};function S(e,t){t||={},a.Transform.call(this,{writableObjectMode:!0,allowHalfOpen:!1}),this._type=n.Type.forSchema(e),this._writeValue=function(e,t){try{this._type._write(e,t)}catch(e){this.emit(`typeError`,e,t,this._type)}},this._tap=new y(r.newBuffer(t.batchSize||65536)),this.on(`typeError`,function(e){this.emit(`error`,e)})}o.inherits(S,a.Transform),S.prototype._transform=function(e,t,n){var i=this._tap,a=i.buf,o=i.pos;if(this._writeValue(i,e),!i.isValid()){o&&this.push(O(i.buf,0,o));var s=i.pos-o;s>a.length&&(i.buf=r.newBuffer(2*s)),i.pos=0,this._writeValue(i,e)}n()},S.prototype._flush=function(e){var t=this._tap,n=t.pos;n&&this.push(t.buf.slice(0,n)),e()};function C(e,t){t||={},a.Duplex.call(this,{allowHalfOpen:!0,writableObjectMode:!0});var i;if(n.Type.isType(e)?(i=e,e=void 0):i=n.Type.forSchema(e),this._schema=e,this._type=i,this._writeValue=function(e,t){try{this._type._write(e,t)}catch(e){return this.emit(`typeError`,e,t,this._type),!1}return!0},this._blockSize=t.blockSize||65536,this._tap=new y(r.newBuffer(this._blockSize)),this._codecs=t.codecs,this._codec=t.codec||`null`,this._blockCount=0,this._syncMarker=t.syncMarker||new r.Lcg().nextBuffer(16),this._queue=new r.OrderedQueue,this._pending=0,this._finished=!1,this._needHeader=!1,this._needPush=!1,this._metadata=t.metadata||{},!d.isValid(this._metadata))throw Error(`invalid metadata`);var o=this._codec;if(this._compress=(this._codecs||C.getDefaultCodecs())[o],!this._compress)throw Error(g(`unsupported codec: %s`,o));switch(t.omitHeader!==void 0&&(t.writeHeader=t.omitHeader?`never`:`auto`),t.writeHeader){case!1:case`never`:break;case void 0:case`auto`:this._needHeader=!0;break;default:this._writeHeader()}this.on(`finish`,function(){this._finished=!0,this._blockCount?this._flushChunk():this._finished&&this._needPush&&this.push(null)}),this.on(`typeError`,function(e){this.emit(`error`,e)})}o.inherits(C,a.Duplex),C.defaultCodecs=function(){return{null:function(e,t){t(null,e)},deflate:s.deflateRaw}},C.getDefaultCodecs=C.defaultCodecs,C.prototype._writeHeader=function(){var e=JSON.stringify(this._schema?this._schema:this._type.getSchema({exportAttrs:!0})),t=r.copyOwnProperties(this._metadata,{"avro.schema":r.bufferFrom(e),"avro.codec":r.bufferFrom(this._codec)},!0),n=new(f.getRecordConstructor())(h,t,this._syncMarker);this.push(n.toBuffer())},C.prototype._write=function(e,t,n){this._needHeader&&=(this._writeHeader(),!1);var i=this._tap,a=i.pos,o=!1;if(this._writeValue(i,e)){if(!i.isValid()){a&&(this._flushChunk(a,n),o=!0);var s=i.pos-a;s>this._blockSize&&(this._blockSize=s*2),i.buf=r.newBuffer(this._blockSize),i.pos=0,this._writeValue(i,e)}this._blockCount++}else i.pos=a;o||n()},C.prototype._flushChunk=function(e,t){var n=this._tap;e||=n.pos,this._compress(n.buf.slice(0,e),this._createBlockCallback(e,t)),this._blockCount=0},C.prototype._read=function(){var e=this,t=this._queue.pop();t?(this.push(u.toBuffer(t.count,!0)),this.push(u.toBuffer(t.buf.length,!0)),this.push(t.buf),this.push(this._syncMarker),this._finished||t.cb()):this._finished&&!this._pending?_.default.nextTick(function(){e.push(null)}):this._needPush=!0},C.prototype._createBlockCallback=function(e,t){var n=this,r=this._index++,i=this._blockCount;return this._pending++,function(a,o){if(a){var s=Error(g(`%s codec compression error`,n._codec));s.cause=a,n.emit(`error`,s)}else n._pending--,n.emit(`block`,new w(i,e,o.length)),n._queue.push(new T(r,o,t,i)),n._needPush&&(n._needPush=!1,n._read())}};function w(e,t,n){this.valueCount=e,this.rawDataLength=t,this.compressedDataLength=n}function T(e,t,n,r){this.index=e,this.buf=t,this.cb=n,this.count=r|0}function E(e){var t=e.pos,n=p._read(e);return e.isValid()?n:(e.pos=t,null)}function D(e,t,n){if(e)return/* @__PURE__ */ (function(e){return function(t){var n=t.pos;return e(t),t.buf.slice(n,t.pos)}})(t._skip);if(n){var r=n.createResolver(t);return function(e){return r._read(e)}}return function(e){return t._read(e)}}function O(e,t,n){var i=r.newBuffer(n);return e.copy(i,0,t,t+n),i}t.exports={BLOCK_TYPE:p,HEADER_TYPE:f,MAGIC_BYTES:h,streams:{BlockDecoder:x,BlockEncoder:C,RawDecoder:b,RawEncoder:S}}}});v();var kt=Ye(),At=Ot(),jt=Ce(),Mt=We(),Nt=Se();function Pt(e,t){Mt.Readable.call(this),t||={},this._batchSize=t.batchSize||65536,this._blob=e,this._pos=0}Nt.inherits(Pt,Mt.Readable),Pt.prototype._read=function(){var e=this._pos;if(e>=this._blob.size)this.push(null);else{this._pos+=this._batchSize;var t=this._blob.slice(e,this._pos,this._blob.type),n=new FileReader,r=this;n.addEventListener(`loadend`,function e(t){n.removeEventListener(`loadend`,e,!1),t.error?r.emit(`error`,t.error):r.push(jt.bufferFrom(n.result))},!1),n.readAsArrayBuffer(t)}};function Ft(){Mt.Transform.call(this,{readableObjectMode:!0}),this._bufs=[]}Nt.inherits(Ft,Mt.Transform),Ft.prototype._transform=function(e,t,n){this._bufs.push(e),n()},Ft.prototype._flush=function(e){this.push(new Blob(this._bufs,{type:`application/octet-binary`})),e()};function It(e,t){return new Pt(e).pipe(new At.streams.BlockDecoder(t))}function Lt(e,t){var n=new At.streams.BlockEncoder(e,t),r=new Ft;return n.pipe(r),new Mt.Duplex({objectMode:!0,read:function(){var e=r.read();e?n(e):r.once(`readable`,n);var t=this;function n(e){t.push(e||r.read()),t.push(null)}},write:function(e,t,r){return n.write(e,t,r)}}).on(`finish`,function(){n.end()})}t.exports={createBlobDecoder:It,createBlobEncoder:Lt,streams:At.streams},jt.copyOwnProperties(kt,t.exports)}));
136
+ /*! Bundled license information:
137
+
138
+ ieee754/index.js:
139
+ (*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> *)
140
+
141
+ buffer/index.js:
142
+ (*!
143
+ * The buffer module from node.js, for the browser.
144
+ *
145
+ * @author Feross Aboukhadijeh <https://feross.org>
146
+ * @license MIT
147
+ *)
148
+
149
+ safe-buffer/index.js:
150
+ (*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> *)
151
+
152
+ assert/build/internal/util/comparisons.js:
153
+ (*!
154
+ * The buffer module from node.js, for the browser.
155
+ *
156
+ * @author Feross Aboukhadijeh <feross@feross.org> <http://feross.org>
157
+ * @license MIT
158
+ *)
159
+ */
160
+ export default t();