@zeniai/web-cockpit-ui 1.14.38-qa → 1.14.39-dev
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/assets/{ACHDetailsPage-B-YGNgNu-fMbIin-2.js → ACHDetailsPage-C0HaWoSJ-Dc5JPQ9N.js} +1 -1
- package/dist/assets/{AIPerformancePage-BtD_7Ftm-Cjrt2PVO.js → AIPerformancePage-BcpJ60QE-CtwR6J9S.js} +1 -1
- package/dist/assets/{AccountInfoPage-BtnzwNNq-Cy5SeNuD.js → AccountInfoPage-8k9PvHMB-DZyvxf4V.js} +1 -1
- package/dist/assets/{AccountInfoPageContent-B4wK76bm-DJwk5_sV.js → AccountInfoPageContent-C7qnFSOO-kIwITRCp.js} +10 -10
- package/dist/assets/{AccountLockedInfoModal-4JAQCp4H-dwSuT6l3.js → AccountLockedInfoModal-Nuuzfbv1-D8-h_fCC.js} +1 -1
- package/dist/assets/{AccountReconDetailsDrawerPage-Ddi5U4Ae-B03Ke0oC.js → AccountReconDetailsDrawerPage-O9at1_JO-DI5XcSqF.js} +1 -1
- package/dist/assets/{AccountRow-m99usqft-Cggn-JiL.js → AccountRow-D7TS2v2D-CXpu3RBt.js} +1 -1
- package/dist/assets/{AccountsPromoCardStack-D-dhzSE8-sseWDipk.js → AccountsPromoCardStack-Bd_rvzbl-BTn5w5o9.js} +1 -1
- package/dist/assets/{AddAddressForCardDrawer-Bc7FcxQ9-CmEWBrRO.js → AddAddressForCardDrawer-DZJDqdMv-Cg4NeP1v.js} +1 -1
- package/dist/assets/{AddToWalletPage-y4kvtUka-HQhkhv7g.js → AddToWalletPage-CsHR0N---CReMNlUz.js} +7 -7
- package/dist/assets/{AgingReportsPage-DrNIGwGn-BaT4XgWt.js → AgingReportsPage-D7pM0zmb-BuDoPaRl.js} +4 -4
- package/dist/assets/{AllUserItems-B7zg_GaP-DzAVc-iC.js → AllUserItems-iYe6sokO-aNUOL4ty.js} +3 -3
- package/dist/assets/{ApAgingDetailPage-DnnUrY0w-DxAEkFFL.js → ApAgingDetailPage-Bqn7qtw--DtOkXocQ.js} +2 -2
- package/dist/assets/{AppBasePage-Bk7AUQvW-DQWv9uqw.js → AppBasePage-CsoraCNO-ExgiFDSz.js} +1 -1
- package/dist/assets/{AppDrawerContent-BoIqLCcg-4ZHLEj0A.js → AppDrawerContent-B0lIGzQX-CG7hQ-7J.js} +1 -1
- package/dist/assets/{ApprovalRulesSettingsPage-C9F_rLkj-DI6n1IG9.js → ApprovalRulesSettingsPage-BQV7Dw4L-h9PzT8u0.js} +1 -1
- package/dist/assets/{ArAgingChart-DIwVIc---p7-njet-.js → ArAgingChart-RMxcWQSp-G3XJ7xii.js} +1 -1
- package/dist/assets/{ArAgingDetailPage-DxW2xm-N-Carapse2.js → ArAgingDetailPage-NedRj0-7-BonBqaV_.js} +1 -1
- package/dist/assets/{AttachmentView-BlhBiGC5-BbBN0XVN.js → AttachmentView-CQXaXBQ0-DG9KqabP.js} +1 -1
- package/dist/assets/{BankAccountSection-A8IfSLFo-BVU2yldF.js → BankAccountSection-X5lu-xFg-TbmLt2Ax.js} +8 -8
- package/dist/assets/{BankAccountWarningSection-DFi3iK9n-DMXZHPRc.js → BankAccountWarningSection-CVhY2Ven-MI-JQ1yO.js} +1 -1
- package/dist/assets/{BankConnectionsSettingsPage-CKGG85vp-CEnS2Yr3.js → BankConnectionsSettingsPage-DHoPOUfJ-DW1tGoNi.js} +8 -8
- package/dist/assets/{BillDetailPage-BOVwHvyV-B-wRVugj.js → BillDetailPage-Bn7AiS3S-BZ28bPGv.js} +1 -1
- package/dist/assets/{BillPayApprovalRuleDetailPage-BVdiHMjx-SAjnUXhF.js → BillPayApprovalRuleDetailPage-BNUTi_3l-BrNn-Lg5.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-Dl45oEp5-qp2KFyuk.js → BillPayApprovalRulesPage-Cyl51uwx-B0C7ukmg.js} +1 -1
- package/dist/assets/{BillPayPromoPage-CEX8Udbv-CF30vtRJ.js → BillPayPromoPage-C-C53jfT-DHzs6DsU.js} +1 -1
- package/dist/assets/{BillPaySetUpPage-CSfEFV18-DpEApa4-.js → BillPaySetUpPage-DK03W_KV-C7gypIrH.js} +1 -1
- package/dist/assets/{BillingSettingsPage-hu1pz4dA-rS23BWi8.js → BillingSettingsPage-mh7zXUFz-PtqIHFv4.js} +1 -1
- package/dist/assets/{BillsBulkReviewDrawerPage-DIY4Aa7i-CpXgDUmQ.js → BillsBulkReviewDrawerPage-eif54uHi-BY7mu3gx.js} +1 -1
- package/dist/assets/{BoxItem-BnivUbj--CToe_wP6.js → BoxItem-Bwh-fULe-Cnvh0VLf.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-BZB4KFum-Bf_jaqK5.js → BusinessVerificationPage-TkVkNqIG-kO3sbCuM.js} +3 -3
- package/dist/assets/{CardNumberSubText-CIysZ6zp-ie7SfEt5.js → CardNumberSubText-BhMD3p_M-DwICSaFN.js} +1 -1
- package/dist/assets/{CashbackDetailPage-C-MPq54h-CiG7Uft4.js → CashbackDetailPage-BZ-HHrYd-D7DeuuQ4.js} +1 -1
- package/dist/assets/{ChargeCardDetailPage-CGyuANsu-jOjGANCm.js → ChargeCardDetailPage-BmAB59Qs-BujIsaCJ.js} +40 -40
- package/dist/assets/{ChargeCardListPage-BbzjzgAv-BusTbQNY.js → ChargeCardListPage-CosFJd02-D0F4rAbY.js} +27 -27
- package/dist/assets/{ChargeCardListTable-D-wd0edv-DpjBc6t-.js → ChargeCardListTable-CpHJHWnY-C2UTTrvE.js} +1 -1
- package/dist/assets/{ChargeCardPromoPage-Cs-Xlghn-BRKLTlKH.js → ChargeCardPromoPage-CUWQ2Doj-svt7Kq-x.js} +4 -4
- package/dist/assets/{ChargeCardSetupPage-CfCGkFxz-97k_khoY.js → ChargeCardSetupPage-Cf_UjTmV-CakqJLB9.js} +1 -1
- package/dist/assets/{ChargeCardStatementsPage-Jc6k_2Gg-BkHhJ77U.js → ChargeCardStatementsPage-CJjm5X-O-DEvYaVae.js} +1 -1
- package/dist/assets/{ChargeCardUtils-Vw0LoIey-D4s3SYDn.js → ChargeCardUtils-DtlGBAOG-CnFwGz8i.js} +1 -1
- package/dist/assets/{ChaseOverlay-Cm-3BKNK-B-yxpnKo.js → ChaseOverlay-D9_jipgQ-C9IApPhh.js} +1 -1
- package/dist/assets/{CheckDepositDrawerPage-BAwg3duC-_scFW12y.js → CheckDepositDrawerPage-C0cBFFEH-DO9mNbUo.js} +7 -7
- package/dist/assets/{CollapsableReportTable-C_qcwMWq-CzhTaZDf.js → CollapsableReportTable-Bubej7Ql-B-Haow9V.js} +1 -1
- package/dist/assets/{CompanyOfficerDetailsSection-_m4C7Xgf-nCGmpM20.js → CompanyOfficerDetailsSection-CeH1OeAD-CDN4q74j.js} +12 -12
- package/dist/assets/{CompanyPassportCard-BiuPML3b-DNQNm9g-.js → CompanyPassportCard-DL5W7ueC-DxD3wi5U.js} +1 -1
- package/dist/assets/{CompanyPassportPage-BHf1pHbJ-RbKCYwrZ.js → CompanyPassportPage-DigtE7w9-BbT2L8df.js} +1 -1
- package/dist/assets/{CompleteProfile-DKEFybHA-DF_c0ocL.js → CompleteProfile-Bg7I3lpF-C68N9Ffu.js} +1 -1
- package/dist/assets/{ConfettiBurst-BvcmPG2b-CgTGVRIv.js → ConfettiBurst-AOgMJCCW-BNA_L2gY.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-EpWC9Uuv-D9FFUW3d.js → CreateOrEditVendorPage-Bv82RVf6-BnL5MUAM.js} +1 -1
- package/dist/assets/{CreditCardPaymentDrawerPage-DI-za1T2-Dbmyt89i.js → CreditCardPaymentDrawerPage-C3ZpHHOb-C0Kp9JUP.js} +10 -10
- package/dist/assets/{CreditCardPaymentPlgSection-BGu0Am-e-CBMCjf_k.js → CreditCardPaymentPlgSection-DkQpCIiA-CI4n-74w.js} +1 -1
- package/dist/assets/{CurrencySelectField-DL628Rog-DGJ_22N-.js → CurrencySelectField-DhbePxwd-Cd-AHSQD.js} +4 -4
- package/dist/assets/{CustomerOnboardingActivationPage-DzuWnPaH-C9lA2tPS.js → CustomerOnboardingActivationPage-BG8XSP7a-Bp02DWY-.js} +1 -1
- package/dist/assets/CustomerOnboardingContainerPage-DouBKVdi-DjCpZaQA.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-Bx_rpQHj-BZ-6npjg.js → CustomerOnboardingDetailPageSkeleton-CSnGdP4D-DOKb-pCZ.js} +7 -7
- package/dist/assets/{CustomerOnboardingNoStepsPage-CSI_jqkM-BE9h0jWN.js → CustomerOnboardingNoStepsPage-DC5SvJ3Y-DaKVTiM9.js} +1 -1
- package/dist/assets/{CustomerOnboardingPage-CuS2FfSh-B48LjWuQ.js → CustomerOnboardingPage-7v85vPxH-BbgR3kNR.js} +6 -6
- package/dist/assets/{CustomerOnboardingProductSuitePage-B4HtoU9G-B8wZmpw3.js → CustomerOnboardingProductSuitePage-BhYHtuIm-CQypRUha.js} +1 -1
- package/dist/assets/{Dashboard-bFhMc4h1-B0ZecgE9.js → Dashboard-CqXj-08s-BArrunRY.js} +1 -1
- package/dist/assets/{DashboardReportPage-B1pKZHaH-DMNAZhfo.js → DashboardReportPage-CakUfI8Y-L0ses7UF.js} +1 -1
- package/dist/assets/{DashboardSidebarBackgroundAnimation-CLaTbvuZ-scR6AgO9.js → DashboardSidebarBackgroundAnimation-__d52UhZ-Ceg2kzeD.js} +1 -1
- package/dist/assets/{DepositAccTransactionItem-DnzXR7B4-Cn2enBhf.js → DepositAccTransactionItem-CVGiw_b2-CfGaUFaN.js} +1 -1
- package/dist/assets/{DepositAccTransactionListPage-C0F0N3XK-DQQM8xwt.js → DepositAccTransactionListPage-BLds9psS-CfaHcFYy.js} +1 -1
- package/dist/assets/{DomesticWireDetailsPage-BS3N4ATj-DzsKY8Tn.js → DomesticWireDetailsPage-BfypyRjN-DhX6lTqU.js} +1 -1
- package/dist/assets/{DownloadOverlay-yXed0RbK-BEkzQOPU.js → DownloadOverlay-DG4lR1Pb-DM5-MnYq.js} +1 -1
- package/dist/assets/{DrawerPage-LV8__F8R-BVez5P0O.js → DrawerPage-DppLxflk-oxHByEwB.js} +1 -1
- package/dist/assets/{EditPeoplePage-GBNK0lo_-B1n6yQaz.js → EditPeoplePage-ISgRqKSY-rfxXcGVm.js} +1 -1
- package/dist/assets/{EditReimbursementDetailPage-COApDpVm-DvxJJ-35.js → EditReimbursementDetailPage-C1nghhum-C958DjQB.js} +14 -14
- package/dist/assets/{EntityDetailPage-DdZmhyPX-Cz3KW8lp.js → EntityDetailPage-DjgV66W8-DZ5igwA9.js} +1 -1
- package/dist/assets/{EntitySummarySection-Cn7rnQeI-CLdJZ-g8.js → EntitySummarySection-BBc3t5R9-DzHOpDVR.js} +1 -1
- package/dist/assets/{ExpenseAutomationOverviewPage-ipXT_MCO-CRS82qF6.js → ExpenseAutomationOverviewPage-fzZP2aKu-CCu0MleJ.js} +11 -11
- package/dist/assets/ExpenseAutomationPage-BSjV8d-I-75tcqP7q.js +1650 -0
- package/dist/assets/{ExpressPayPage-C0J3X657-C2OEC1Gk.js → ExpressPayPage-DKBLyt2v-BL6tHheh.js} +5 -5
- package/dist/assets/{FeaturePreviewPage-lIDKDiwy-DKPeO7UN.js → FeaturePreviewPage-V38xu6Zo-CyaOyBKD.js} +1 -1
- package/dist/assets/{FollowStepsSection-CtCRMD2R-BclyND_b.js → FollowStepsSection-Bo5_aHsj-D_2P3NsX.js} +7 -7
- package/dist/assets/{GlobalReviewListPage-DXPuMshX-C6-xfhTb.js → GlobalReviewListPage-BXWgxJUG-Dc8bw5mq.js} +1 -1
- package/dist/assets/{HelpButton-Dmp2RZDD-DwUAgvCm.js → HelpButton-B3uWY2LR-OlttS1C0.js} +1 -1
- package/dist/assets/{InformationCardStack-bpQXbFWJ-v3NkhXp1.js → InformationCardStack-DUi7F4j9-Bzofi24T.js} +1 -1
- package/dist/assets/{InsightsCardStack-BzyYnnH_-h-EhKW4f.js → InsightsCardStack-DpsGvwAF-DavKovHg.js} +1 -1
- package/dist/assets/{InsightsSection-BVjjBkzp-tevt_pPa.js → InsightsSection-CFeEzjB3-D_1DfMdF.js} +1 -1
- package/dist/assets/{IntegrationsSettingsPage-DjMaGIv9-muEoTxEB.js → IntegrationsSettingsPage-Ck0miRzH-COeNLu0O.js} +1 -1
- package/dist/assets/{InternationalWireSwiftDetailsPage-DXYaOaYh-CFh_OLfc.js → InternationalWireSwiftDetailsPage-CHh9rwda-CYMl7fKC.js} +10 -10
- package/dist/assets/{InternationalWireVerificationPage-yPrzoGA9-CARbQeFN.js → InternationalWireVerificationPage-DoQ9eiu4-CAFn32kX.js} +1 -1
- package/dist/assets/{InviteFormPage-xQ6xN_gt-CfY7XY56.js → InviteFormPage-zZoT105K-CDjZZmix.js} +8 -8
- package/dist/assets/{InvitePageListView-BmkX934z-Be2ok7Zk.js → InvitePageListView-Bqi0nN3K-Cugufhfk.js} +11 -11
- package/dist/assets/{InvitePeoplePage-BxxEjVs5-Dc-QWgCl.js → InvitePeoplePage-D6Pp40Kl-BkOtYcxF.js} +4 -4
- package/dist/assets/{InvoiceUploadSection-BxfSI49h-CYPJb87m.js → InvoiceUploadSection-BTwzAYmG-DqCxJXD_.js} +3 -3
- package/dist/assets/{IssueChargeCardPage-ByK_ayX6-BDcNKOgV.js → IssueChargeCardPage-DFnsBjmh-BMzEcFnV.js} +10 -10
- package/dist/assets/{LabeledAddressValue-Bk-opSoh-C2Nliq0B.js → LabeledAddressValue-CYEpguO_-DG_G1pyJ.js} +1 -1
- package/dist/assets/LabeledAddressValueField-CNyhuNMg-BDiOnCQn.js +45 -0
- package/dist/assets/{LabeledControlledCheckBoxField-DtVQoSev-TrA3hZT3.js → LabeledControlledCheckBoxField-CSh6A3bd-D6-VupFL.js} +1 -1
- package/dist/assets/{LabeledCreatableSingleSelectField-BFmP_-GA-D6YE34KD.js → LabeledCreatableSingleSelectField-CtuwY_9o-BYO4B8QP.js} +1 -1
- package/dist/assets/{LabeledDocumentField-CyW3tPI--DYCMXfVj.js → LabeledDocumentField-Dyfj_Dx0-CxT8amBm.js} +1 -1
- package/dist/assets/{LabeledDropDownFormattedTextField-_b5VDmOJ-DYXZVhQf.js → LabeledDropDownFormattedTextField-D8oMk4xt-NfRrE6TJ.js} +3 -3
- package/dist/assets/{LabeledText-Bc8QavrT-DBe1R5aQ.js → LabeledText-DhIVEuvE-BGpps1jt.js} +1 -1
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CE-MxVSk-BpDF1_jW.js → LabeledUserSingleSelectWithSubtitlesField-BrN-E_iu-H_-zsD1L.js} +1 -1
- package/dist/assets/{LabeledZeniRolesDropDownField-BqlbDyA1-k2PRVwSX.js → LabeledZeniRolesDropDownField-BPSDhXTS-B9hIUe6J.js} +6 -6
- package/dist/assets/{LinkJETransactionPage-DE8ch_W7-SFTtX9u1.js → LinkJETransactionPage-CSD6-ita-BuYlOJqv.js} +7 -7
- package/dist/assets/{LowBalancePopup-DWXEyi2S-62gzo-RC.js → LowBalancePopup-DG7UpS2F-Bu5UEVfd.js} +1 -1
- package/dist/assets/{MagicLinkACHDetailsPage-CJ57XAxp-CjX17IVW.js → MagicLinkACHDetailsPage-m5chQr23-4RLEMs7o.js} +1 -1
- package/dist/assets/{MagicLinkDomesticWireDetailsPage-Ba1gbLAX-Dy5Hem1F.js → MagicLinkDomesticWireDetailsPage-Cob4wAR7-LbXvtvq_.js} +1 -1
- package/dist/assets/{MagicLinkInternationalWireDetailsPage-U3ygf3uO-C-ImmVXN.js → MagicLinkInternationalWireDetailsPage-DX9NH12J-D2R3cXNL.js} +1 -1
- package/dist/assets/{MagicLinkSuccessPage-CGjxH6Hl-BK7vnCSI.js → MagicLinkSuccessPage-DgcpyzOK-CmCaLAu5.js} +1 -1
- package/dist/assets/{MagicLinkTitleSection-Dzfctx8H-B9w7ZvfA.js → MagicLinkTitleSection-wjuKcqab-D7vo35cb.js} +1 -1
- package/dist/assets/{MailingDetailsSection-N-M1JzkW-DsQX1QOn.js → MailingDetailsSection-DU4LYPzH-BXsLAtDc.js} +1 -1
- package/dist/assets/{MeetingCalenderPopup-BJgsd-6e-BJbKD0GQ.js → MeetingCalenderPopup-YiB2ETli-CqKaSUHn.js} +1 -1
- package/dist/assets/{Menu-DCl4YiCd-DyNjEuyz.js → Menu-Bi_Vto-l-B6nlDzVX.js} +1 -1
- package/dist/assets/{MyBankConnectionsSettingsPage-BZP3Dbes-Dl7uUmu5.js → MyBankConnectionsSettingsPage-LgbzbrTj-BFa0cAOH.js} +1 -1
- package/dist/assets/{MyPendingActivationChargeCardListPage-Cc8Onh73-CoHNzBqF.js → MyPendingActivationChargeCardListPage-CZs9UFV5-DK2YM84p.js} +2 -2
- package/dist/assets/{MyProfileSettingsPage-7YrgIr-M-J1kKjAhJ.js → MyProfileSettingsPage-DIADfZVY-BDHoxXS8.js} +3 -3
- package/dist/assets/{NavBarWithPicker-Bbu7_9sU-BqOfWE29.js → NavBarWithPicker-DEqzM9Qm-_DqMMA0k.js} +1 -1
- package/dist/assets/{NavigationArrow-DNJkGq5e-Cz6Ibgvw.js → NavigationArrow-DzZDXuKr-B7BwQbpV.js} +1 -1
- package/dist/assets/{NavigationDots-BDhrBzmw-C8Z-kY4L.js → NavigationDots-CFxiVMnb-Dxb6vagd.js} +1 -1
- package/dist/assets/{NewGlobalMerchantPage-DSyitl-a-ZWPqeDnP.js → NewGlobalMerchantPage-JsTrXT1T-DERt7sEx.js} +2 -2
- package/dist/assets/{NoDataChart-Bww-GG_z-C6bA2sTF.js → NoDataChart-gi34_J2e-BOq-1JyJ.js} +1 -1
- package/dist/assets/{NoDataTable-DRSEE7HT-Fx8yGafA.js → NoDataTable-DtmdB0eI-BxWxqQ9f.js} +1 -1
- package/dist/assets/{NotFoundPage-BepvWGxk-Cey9vhvF.js → NotFoundPage-Bk5zRv9L-CAPJCopB.js} +1 -1
- package/dist/assets/{NotificationSettingsPage-CR6XVZlL-9bKzyX8l.js → NotificationSettingsPage-DFHLMWiI-CAa4vlQq.js} +11 -11
- package/dist/assets/{NotificationsListConfig-CBjTcLzj-Cjn3YKhY.js → NotificationsListConfig-DxFLCS42-Dryoh4sl.js} +1 -1
- package/dist/assets/{NotificationsPage-BgUc61wf-B26oAUDK.js → NotificationsPage-E3pYaBJv-CS1qVYiF.js} +1 -1
- package/dist/assets/{OpExByVendorPage-BkgsQ4lY-MDZiQLxw.js → OpExByVendorPage-CgaLMeOS-CLk81uBN.js} +1 -1
- package/dist/assets/{OverlayContainerPage-Bmu909Fo-cQS0tC0x.js → OverlayContainerPage-Bmu909Fo-EXe69QYn.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-B0pUD9U8-BzHTBbKy.js → PandLWithForecastPage-CZkL9zJq-C6y3vZ9S.js} +1 -1
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-YvYPpyzH-Z_m2YYMZ.js → PaymentAccountSetupBillingAddressSection-D190AP1Y-BjMBxnd9.js} +1 -1
- package/dist/assets/{PeoplePage-mobCML9r-DCbFdYKi.js → PeoplePage-BwfDzqla-jRNvSDjZ.js} +1 -1
- package/dist/assets/{PortfolioAllocationFormPage-CB9lfs6z-DcmJ3sYv.js → PortfolioAllocationFormPage-BLdGGltt-jcopE-iX.js} +1 -1
- package/dist/assets/{PortfolioDetails-zYYGkoC--BXwbol69.js → PortfolioDetails-agrnhRRW-bdNc5pLU.js} +1 -1
- package/dist/assets/{ProductsCarousel-B4zdUn5q-D-jWZUof.js → ProductsCarousel-CqBzOsli-B8X-IKsl.js} +1 -1
- package/dist/assets/{PromoBaseCards-CgGg3lpk-8sTJ7Rcf.js → PromoBaseCards-BUYkqKhW-B1j2ucCH.js} +1 -1
- package/dist/assets/{QBOConnectionDialog-BBVBEJWA-aU8G6lgM.js → QBOConnectionDialog-JoNcGvU6-DWXeA3jb.js} +7 -7
- package/dist/assets/{QBOSetupSection-pBOQk_mE-D3kS8huT.js → QBOSetupSection-cB-8iCoM-i7dLrr5Q.js} +8 -8
- package/dist/assets/{ReimbursementApprovalRuleDetailPage-Ck2KbJ_R-CjiQYmVl.js → ReimbursementApprovalRuleDetailPage-CfOZ0t5v-CV7GAFF2.js} +1 -1
- package/dist/assets/{ReimbursementApprovalRulesPage-D7LTvUrz-B4ZNYo27.js → ReimbursementApprovalRulesPage-DDtX0CfL-C8p_ZO2g.js} +1 -1
- package/dist/assets/{ReimbursementDetailPage-CbgWCawo-BpF64MSv.js → ReimbursementDetailPage-D3rgg3kA-D5du5Mqk.js} +4 -4
- package/dist/assets/{ReimbursementPromoPage-DmV5eoIo-2BJlj6f0.js → ReimbursementPromoPage-Cn3Z10XN-CHstzTse.js} +1 -1
- package/dist/assets/{ReimbursementSetUpPage-kAlaG5Ag-CE_70Pof.js → ReimbursementSetUpPage-B_gdhg1O-CmHe8InY.js} +3 -3
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-70qXVn3v-BkFq_ISK.js → ReimbursementsBulkReviewDrawerPage-BtBowdlA-Bff-ZZ8J.js} +1 -1
- package/dist/assets/{ReloadCard-DoOxxK_q-CARmhhI-.js → ReloadCard-BY23wQlB-BJD-2H6c.js} +1 -1
- package/dist/assets/{ReportTableViewSelector-7OJVsL-G-CkKoEtsy.js → ReportTableViewSelector-Dzg62ctm-WFJR-fXp.js} +1 -1
- package/dist/assets/{ReportsPage-29ims7Ks-BlC7wtbz.js → ReportsPage-CzflkNSs-BQaWkMYG.js} +1 -1
- package/dist/assets/{RevenueChart-CLtUUYr5-CPmYx-Fb.js → RevenueChart-DNOek9MJ-CP-2pEDw.js} +1 -1
- package/dist/assets/{ReviewDetailsPage-DNDzoyA5-T8GWsxM-.js → ReviewDetailsPage-ChMF35Zu-BuP67dVO.js} +1 -1
- package/dist/assets/{ReviewOverlay-VleZWRhn-V88olled.js → ReviewOverlay-COIKeR15-BcSsy_vI.js} +1 -1
- package/dist/assets/{RoleWithToolTip-DsEos8I_-CRr6oRTA.js → RoleWithToolTip-DWcWpu1c-lubwiBJ4.js} +1 -1
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cv84NP5--CNvmO9QZ.js → ScheduleDetailsFixedAssetsPage-CxKTS1Ys-vgXmo78e.js} +3 -3
- package/dist/assets/{ScheduleDetailsPage-D4IKW5z6-DWiTLKB2.js → ScheduleDetailsPage-6MqWtRbl-BKxcOCs-.js} +1 -1
- package/dist/assets/{ScheduleSequenceTable-qHcZL82y-DAAUsg0w.js → ScheduleSequenceTable-cwZqH3zx-D2fQFHiq.js} +9 -9
- package/dist/assets/ScreenRoutes-KSywlUe_.js +206 -0
- package/dist/assets/{SetUpAccountSection-CjOOpWa2-Cb7W1Utl.js → SetUpAccountSection-BeXsisXh-C8iQqoE3.js} +1 -1
- package/dist/assets/{SetUpDefaultSection-Ax1FuH_A-CXbulKHe.js → SetUpDefaultSection-Bw-ODNSn-XyoiRDtn.js} +8 -8
- package/dist/assets/{SignIn-Bj2czf21-Bnr6dLzL.js → SignIn-BYWJCKCM-iAXwoeyl.js} +1 -1
- package/dist/assets/{SignInScreen-SaiDsUoA.js → SignInScreen-X2bNuyVp.js} +1 -1
- package/dist/assets/{SpendManagementListViewPage-7oQurX8D-BlEdTeYL.js → SpendManagementListViewPage-Cncc2ohq-gJW6I76n.js} +10 -10
- package/dist/assets/{SpendManagementPerTabPage-DG8qRSeQ-BftobJyz.js → SpendManagementPerTabPage-BR5w_58--Bz1qFkXu.js} +1 -1
- package/dist/assets/{SpendManagementSection-CzGLKJ01-PgYP5EKq.js → SpendManagementSection-BjNiE7SK-D7jeMM-c.js} +1 -1
- package/dist/assets/{SpendMgmtSetupAccountSection-BSuY_zqo-toxWOw_s.js → SpendMgmtSetupAccountSection-BQP4OHws-IXpe5hj1.js} +1 -1
- package/dist/assets/{StatementItem-teWYG-k5-DmOE0DmW.js → StatementItem-uDpMbqmR-DBTHHgkS.js} +2 -2
- package/dist/assets/{StatementsPage-Kqug4TjC-idI8Y2ff.js → StatementsPage-BQ6zpjtq-HFcofufo.js} +5 -5
- package/dist/assets/{StatusSwitcher-BXzanE6h-BbOxdx4D.js → StatusSwitcher-DnQFgeLN-DpDkgj5j.js} +1 -1
- package/dist/assets/{SubTabSwitcher-Dc78MPYF-W-inXen8.js → SubTabSwitcher-BSxF2cHS-DzqRE0-4.js} +1 -1
- package/dist/assets/{SummaryCard-DDpG4vry-BXv2u1RJ.js → SummaryCard-DwlHiqjy-DovYblcz.js} +1 -1
- package/dist/assets/{TaskManagementPage-DQXNMGNK-DpyOgzeS.js → TaskManagementPage-BPY7YdEt-Bhs7yAJe.js} +21 -21
- package/dist/assets/{TimeRangeSwitcher-BQL2dhVh-FzyWbTek.js → TimeRangeSwitcher-D66ILzZ8-BUSvdhZS.js} +1 -1
- package/dist/assets/{TimeframeSwitcher-CXvrXTdI-Bmd_fwCF.js → TimeframeSwitcher-C2DIHjU8-FFKAp4XL.js} +1 -1
- package/dist/assets/{TimeframeSwitcherWithToggle-C_hQ5Vj--Ct-exPmU.js → TimeframeSwitcherWithToggle-V1DMLkhs-Cnh86APd.js} +1 -1
- package/dist/assets/{TopExCard-CmajFYfY-B72k2WTV.js → TopExCard-DSqZSZGZ-Dw-FQUIS.js} +1 -1
- package/dist/assets/{TopExDetailPage-DNfBQfSC-BIDVRDoT.js → TopExDetailPage-OstkHsg3-DvRigN0b.js} +1 -1
- package/dist/assets/TransactionDetailPage-AbBJQKHm-dGel1c3Z.js +912 -0
- package/dist/assets/{TransactionList-DifBTNrV-Bm9HY8Nz.js → TransactionList-CkdTkJqL-Cgr2VpIS.js} +1 -1
- package/dist/assets/{TransactionListBig-Bjmt3Xib-CgXUg-D7.js → TransactionListBig-BZ5gpbJ5-Bm4_r9qH.js} +1 -1
- package/dist/assets/{TransactionListPage-CpFiD4Aw-_sCR6guP.js → TransactionListPage-CqU-E-7M-BizBcsew.js} +1 -1
- package/dist/assets/{TransactionVendorDetailPage-BSZ4IBis-BBSuIAyI.js → TransactionVendorDetailPage-BvcpFzUp-DW2mpv-1.js} +3 -3
- package/dist/assets/{TransferDrawerPage-CiGIqLHQ-DXixiZfl.js → TransferDrawerPage-D1NgpWIq-C2E7-vdj.js} +20 -20
- package/dist/assets/{TreasuryOverviewPage-C21g82G6-CQsvFi67.js → TreasuryOverviewPage-CD2o1CFy-8qk7AdY6.js} +33 -33
- package/dist/assets/{TreasuryPromoPage-lNMQil_1-B1nrvRps.js → TreasuryPromoPage-CwmjKeA3-BNj8wbyy.js} +7 -7
- package/dist/assets/{TreasurySetupPage-CHjK0p7r-8sdB5yWR.js → TreasurySetupPage-DP8WeoZ8-Dr5EZ1f3.js} +1 -1
- package/dist/assets/{TreasuryStatementsPage-CKAdFoHY-DUBBrZ0u.js → TreasuryStatementsPage-e6twnrIV-DioRFi4U.js} +3 -3
- package/dist/assets/{TreasuryTaxLetterPage-DPdcmb53-CS9rVfJz.js → TreasuryTaxLetterPage-C0b1z_Th-B11BzKum.js} +2 -2
- package/dist/assets/{TreasuryTransferOrReviewPage-DmGpNvWn-Co9DgHXC.js → TreasuryTransferOrReviewPage-CKyTuHqj-BTErZLx_.js} +25 -25
- package/dist/assets/{TrendChart-BJF_aBUS-BMy2_Q9E.js → TrendChart-Dn0GiuT9-HQjjMVrP.js} +1 -1
- package/dist/assets/{TrendWithTransactions-DXSMdecG-CANPLez3.js → TrendWithTransactions-DtPVZEAr-DnuxxeAb.js} +1 -1
- package/dist/assets/{UncategorizedAccountsMappingPage-DMiXdRb9-DLsuLqYf.js → UncategorizedAccountsMappingPage-BsNKhjNn-DKa7txXi.js} +8 -8
- package/dist/assets/{UnitIntegrationPage-Dqakwr1P-ByAKOcKO.js → UnitIntegrationPage-yq2PJvQf-lbVttX1U.js} +1 -1
- package/dist/assets/{UploadAdditionalDocumentOverlay-DOy8Wvxm-DMrdpbVK.js → UploadAdditionalDocumentOverlay-CGX4As30-PMvLbAD2.js} +1 -1
- package/dist/assets/{Vendor2FAPopup-DR_Uif4s-B_GT6Sq4.js → Vendor2FAPopup-iHeZH2a--CWW41Kpu.js} +1 -1
- package/dist/assets/{VendorACHDetailsPage-_nmRyuvM-BGY_QCdu.js → VendorACHDetailsPage-w879CB2t-DBelQrTv.js} +1 -1
- package/dist/assets/{VendorDetailPage-DYhBGXTe-BJaZYfIh.js → VendorDetailPage-DZ4h1qWW-vxXfS1yQ.js} +4 -4
- package/dist/assets/{VendorDomesticWireDetailsPage-OzrrojiZ-C9c31Kyz.js → VendorDomesticWireDetailsPage-CHju4IUB-BwOjp8sq.js} +1 -1
- package/dist/assets/{VendorFiling1099EditablePage-C6i7dipR-CDi2_exv.js → VendorFiling1099EditablePage-BlvW4OEf-caJ6TGkm.js} +5 -5
- package/dist/assets/{VendorFirstReviewPage-DrelrPYn-DzxrK758.js → VendorFirstReviewPage-4NSSfruW-SkZiIEM_.js} +15 -15
- package/dist/assets/{VendorInternationalWireDetailsPage-BglZ4_v2-BVn2TPKA.js → VendorInternationalWireDetailsPage-CYnMhzsB-Dp-2dBCE.js} +1 -1
- package/dist/assets/{VendorInternationalWireSwiftDetailsPage-MKHHcDL4-DMOU_udf.js → VendorInternationalWireSwiftDetailsPage-CXhnSzG9-CqZ25PxA.js} +1 -1
- package/dist/assets/{VendorsAccountsSection-COwLgrG_-a3j4nxr6.js → VendorsAccountsSection-DytBkZ5j-BDTqXfPm.js} +1 -1
- package/dist/assets/{VerifyDevice-FO7331hS-rNW11ub0.js → VerifyDevice-CQ0olx8K-BR-mcrJ3.js} +1 -1
- package/dist/assets/{VideoPlayer-C7GWTYSG-ClYWctvb.js → VideoPlayer-BzfzJW7y-C5JZYu_g.js} +1 -1
- package/dist/assets/{VideoPopup-CB0BXhOA-DweU0weQ.js → VideoPopup-DJubpBc5-CxKuMSGz.js} +1 -1
- package/dist/assets/{WarningsDrawerPage-B081ksn8-DBrcyXm_.js → WarningsDrawerPage-DtdniUCH-DJUs63Zw.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-Bbx7ge3Z-B74a9iCh.js → ZeniAccountDetailPage-UcgfqnXC-Th3RZHDM.js} +4 -4
- package/dist/assets/{ZeniAccountListViewPage-CgOxwjk1-loQXKfEe.js → ZeniAccountListViewPage-STT7H2Nw-BroPoovh.js} +6 -6
- package/dist/assets/{ZeniAccountNavBarPieces-BkN8_5Zi-BBFYIr9g.js → ZeniAccountNavBarPieces-ZNlC5aGd-BNisBi0x.js} +1 -1
- package/dist/assets/{ZeniAccountPromoPage-DrMHkTuM-TsJAmqcK.js → ZeniAccountPromoPage-DeVBZrVx-DUJkUAQ8.js} +5 -5
- package/dist/assets/{ZeniAccountSetupPage-BCpKadR1-BILWbvOC.js → ZeniAccountSetupPage-UlF7qoFd-Bt_j1YxN.js} +1 -1
- package/dist/assets/{ZeniCopyright-juRAWlbw-CPXEOl77.js → ZeniCopyright-CjbWU9Dc-BLwz2UDU.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-BtI1L6UN-GWCIzf4e.js → ZeniTransferAmountSlider-BL2-PVj4-Bi0ukH0F.js} +1 -1
- package/dist/assets/analytics-Dr_Q0qi5.js +73 -0
- package/dist/assets/{analyticsHelper-DQQo4LQc-D87Bn7n3.js → analyticsHelper-47l9Opyu-BI0dCEoa.js} +1 -1
- package/dist/assets/{analyticsHelper-CSeUgl6n.js → analyticsHelper-BpYh_F2q.js} +1 -1
- package/dist/assets/{chartTypes-eqxFaFS5-fUn75ZVM.js → chartTypes-DmEm-9Ox-ULKq2fZN.js} +1 -1
- package/dist/assets/{commonDimensions-C2hbzHZW-DX6zjHki.js → commonDimensions-Dfc-15aJ-CxnVwTdu.js} +1 -1
- package/dist/assets/crypto-Ccg-ICil.js +35 -0
- package/dist/assets/{detailCommon-fC811KkH-QLQiCSMc.js → detailCommon-CfRJr7PH-Zz1na4q2.js} +1 -1
- package/dist/assets/{downloadPdf-CgcD1OYw-D2NqLzAt.js → downloadPdf-QB7_leFQ-CoJ91cS7.js} +1 -1
- package/dist/assets/{index-CfctPHbv.js → index-C7jkqxrR.js} +13 -13
- package/dist/assets/{mapLoadingInProgressToTreeNode-CM7N02af-DiQ1kXB9.js → mapLoadingInProgressToTreeNode-BbnaFFzG-BRQ7gDuX.js} +1 -1
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-MzhgtFpc-DvFOj2Em.js → mapSectionWithAcOnlyToTreeNode-B3ThW_Wk-DV4jlGZ4.js} +1 -1
- package/dist/assets/{mapSpacerToTreeNode-C7hklF---BcLWVoos.js → mapSpacerToTreeNode-CMRinfvP-BAaxRYcb.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-D36HLTqR-CaVDkf8Q.js → mapTimeframeBalancesToTreeNode-C4e13DYv-mbUoKHNs.js} +1 -1
- package/dist/assets/{mapTimeframeBalancesToTreeNode-CEJ9v-Q3-Dh04BnMI.js → mapTimeframeBalancesToTreeNode-y77ZAwQg-CYnesxgR.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BhdfWhpd-cB73nGq5.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DGrKwzUB-CAVP7axd.js} +1 -1
- package/dist/assets/{toCOABalancesWithID-DCFbumLL-DJ7iqU0X.js → toCOABalancesWithID-DIO7qGqY-BCZorL6x.js} +1 -1
- package/dist/assets/{toChartData-Dh9v_zba-DQ0vqbhf.js → toChartData-D89UpEia-DmSMBtrE.js} +1 -1
- package/dist/assets/{treasuryColorHelper-ZXa62meg-BjqYsu0A.js → treasuryColorHelper-CF-h70rk-DcbjCnLZ.js} +1 -1
- package/dist/assets/{uploadAttachment-DOhn3y-C-CJ6_VxnJ.js → uploadAttachment-B-bBj_Bq-DxXvr3YV.js} +11 -11
- package/dist/assets/{uploadReceipts-dxsKhm9I-BzjHIWji.js → uploadReceipts-dxsKhm9I-BIa10rGM.js} +1 -1
- package/dist/index.html +1 -1
- package/package.json +5 -5
- package/dist/assets/CustomerOnboardingContainerPage-BLgcij7A-DND9iQFj.js +0 -1
- package/dist/assets/ExpenseAutomationPage-BXyGtnBz-DDXuwH9L.js +0 -1650
- package/dist/assets/LabeledAddressValueField-RFI4bpOj-zAuVOTou.js +0 -45
- package/dist/assets/ScreenRoutes-BjG9FBY3.js +0 -206
- package/dist/assets/TransactionDetailPage-DZPHVxna-Bx-BUpUf.js +0 -912
- package/dist/assets/analytics-B3n5JGPc.js +0 -7
- package/dist/assets/crypto-BDNqpTKX.js +0 -40
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
import{c as commonjsGlobal}from"./vendor-rkTZJa59.js";import{p as process$1}from"./sentry-osuhWjvS.js";import{B as Buffer}from"./analytics-Dr_Q0qi5.js";var cryptoJs$1={exports:{}};function commonjsRequire(v){throw new Error('Could not dynamically require "'+v+'". Please configure the dynamicRequireTargets or/and ignoreDynamicRequires option of @rollup/plugin-commonjs appropriately for this require call to work.')}var core$1={exports:{}},cryptoBrowserify={},browser$b={exports:{}},safeBuffer$1={exports:{}},dist={},hasRequiredDist;function requireDist(){return hasRequiredDist||(hasRequiredDist=1,function(v){Object.defineProperties(v,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});var m={},x={};x.byteLength=e,x.toByteArray=f,x.fromByteArray=l;for(var c=[],y=[],r=typeof Uint8Array<"u"?Uint8Array:Array,d="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n=0,i=d.length;n<i;++n)c[n]=d[n],y[d.charCodeAt(n)]=n;y[45]=62,y[95]=63;function t(_){var S=_.length;if(S%4>0)throw new Error("Invalid string. Length must be a multiple of 4");var C=_.indexOf("=");C===-1&&(C=S);var P=C===S?0:4-C%4;return[C,P]}function e(_){var S=t(_),C=S[0],P=S[1];return(C+P)*3/4-P}function a(_,S,C){return(S+C)*3/4-C}function f(_){var S,C=t(_),P=C[0],T=C[1],U=new r(a(_,P,T)),z=0,V=T>0?P-4:P,G;for(G=0;G<V;G+=4)S=y[_.charCodeAt(G)]<<18|y[_.charCodeAt(G+1)]<<12|y[_.charCodeAt(G+2)]<<6|y[_.charCodeAt(G+3)],U[z++]=S>>16&255,U[z++]=S>>8&255,U[z++]=S&255;return T===2&&(S=y[_.charCodeAt(G)]<<2|y[_.charCodeAt(G+1)]>>4,U[z++]=S&255),T===1&&(S=y[_.charCodeAt(G)]<<10|y[_.charCodeAt(G+1)]<<4|y[_.charCodeAt(G+2)]>>2,U[z++]=S>>8&255,U[z++]=S&255),U}function s(_){return c[_>>18&63]+c[_>>12&63]+c[_>>6&63]+c[_&63]}function h(_,S,C){for(var P,T=[],U=S;U<C;U+=3)P=(_[U]<<16&16711680)+(_[U+1]<<8&65280)+(_[U+2]&255),T.push(s(P));return T.join("")}function l(_){for(var S,C=_.length,P=C%3,T=[],U=16383,z=0,V=C-P;z<V;z+=U)T.push(h(_,z,z+U>V?V:z+U));return P===1?(S=_[C-1],T.push(c[S>>2]+c[S<<4&63]+"==")):P===2&&(S=(_[C-2]<<8)+_[C-1],T.push(c[S>>10]+c[S>>4&63]+c[S<<2&63]+"=")),T.join("")}var g={};/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh <https://feross.org/opensource> */g.read=function(_,S,C,P,T){var U,z,V=T*8-P-1,G=(1<<V)-1,O=G>>1,u=-7,p=C?T-1:0,o=C?-1:1,b=_[S+p];for(p+=o,U=b&(1<<-u)-1,b>>=-u,u+=V;u>0;U=U*256+_[S+p],p+=o,u-=8);for(z=U&(1<<-u)-1,U>>=-u,u+=P;u>0;z=z*256+_[S+p],p+=o,u-=8);if(U===0)U=1-O;else{if(U===G)return z?NaN:(b?-1:1)*(1/0);z=z+Math.pow(2,P),U=U-O}return(b?-1:1)*z*Math.pow(2,U-P)},g.write=function(_,S,C,P,T,U){var z,V,G,O=U*8-T-1,u=(1<<O)-1,p=u>>1,o=T===23?Math.pow(2,-24)-Math.pow(2,-77):0,b=P?0:U-1,E=P?1:-1,A=S<0||S===0&&1/S<0?1:0;for(S=Math.abs(S),isNaN(S)||S===1/0?(V=isNaN(S)?1:0,z=u):(z=Math.floor(Math.log(S)/Math.LN2),S*(G=Math.pow(2,-z))<1&&(z--,G*=2),z+p>=1?S+=o/G:S+=o*Math.pow(2,1-p),S*G>=2&&(z++,G/=2),z+p>=u?(V=0,z=u):z+p>=1?(V=(S*G-1)*Math.pow(2,T),z=z+p):(V=S*Math.pow(2,p-1)*Math.pow(2,T),z=0));T>=8;_[C+b]=V&255,b+=E,V/=256,T-=8);for(z=z<<T|V,O+=T;O>0;_[C+b]=z&255,b+=E,z/=256,O-=8);_[C+b-E]|=A*128};/*!
|
|
2
|
+
* The buffer module from node.js, for the browser.
|
|
3
|
+
*
|
|
4
|
+
* @author Feross Aboukhadijeh <https://feross.org>
|
|
5
|
+
* @license MIT
|
|
6
|
+
*/(function(_){const S=x,C=g,P=typeof Symbol=="function"&&typeof Symbol.for=="function"?Symbol.for("nodejs.util.inspect.custom"):null;_.Buffer=u,_.SlowBuffer=F,_.INSPECT_MAX_BYTES=50;const T=2147483647;_.kMaxLength=T;const{Uint8Array:U,ArrayBuffer:z,SharedArrayBuffer:V}=globalThis;u.TYPED_ARRAY_SUPPORT=G(),!u.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 G(){try{const j=new U(1),$={foo:function(){return 42}};return Object.setPrototypeOf($,U.prototype),Object.setPrototypeOf(j,$),j.foo()===42}catch{return!1}}Object.defineProperty(u.prototype,"parent",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.buffer}}),Object.defineProperty(u.prototype,"offset",{enumerable:!0,get:function(){if(u.isBuffer(this))return this.byteOffset}});function O(j){if(j>T)throw new RangeError('The value "'+j+'" is invalid for option "size"');const $=new U(j);return Object.setPrototypeOf($,u.prototype),$}function u(j,$,I){if(typeof j=="number"){if(typeof $=="string")throw new TypeError('The "string" argument must be of type string. Received type number');return E(j)}return p(j,$,I)}u.poolSize=8192;function p(j,$,I){if(typeof j=="string")return A(j,$);if(z.isView(j))return D(j);if(j==null)throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof j);if(Ce(j,z)||j&&Ce(j.buffer,z)||typeof V<"u"&&(Ce(j,V)||j&&Ce(j.buffer,V)))return B(j,$,I);if(typeof j=="number")throw new TypeError('The "value" argument must not be of type number. Received type number');const K=j.valueOf&&j.valueOf();if(K!=null&&K!==j)return u.from(K,$,I);const J=R(j);if(J)return J;if(typeof Symbol<"u"&&Symbol.toPrimitive!=null&&typeof j[Symbol.toPrimitive]=="function")return u.from(j[Symbol.toPrimitive]("string"),$,I);throw new TypeError("The first argument must be one of type string, Buffer, ArrayBuffer, Array, or Array-like Object. Received type "+typeof j)}u.from=function(j,$,I){return p(j,$,I)},Object.setPrototypeOf(u.prototype,U.prototype),Object.setPrototypeOf(u,U);function o(j){if(typeof j!="number")throw new TypeError('"size" argument must be of type number');if(j<0)throw new RangeError('The value "'+j+'" is invalid for option "size"')}function b(j,$,I){return o(j),j<=0?O(j):$!==void 0?typeof I=="string"?O(j).fill($,I):O(j).fill($):O(j)}u.alloc=function(j,$,I){return b(j,$,I)};function E(j){return o(j),O(j<0?0:q(j)|0)}u.allocUnsafe=function(j){return E(j)},u.allocUnsafeSlow=function(j){return E(j)};function A(j,$){if((typeof $!="string"||$==="")&&($="utf8"),!u.isEncoding($))throw new TypeError("Unknown encoding: "+$);const I=W(j,$)|0;let K=O(I);const J=K.write(j,$);return J!==I&&(K=K.slice(0,J)),K}function M(j){const $=j.length<0?0:q(j.length)|0,I=O($);for(let K=0;K<$;K+=1)I[K]=j[K]&255;return I}function D(j){if(Ce(j,U)){const $=new U(j);return B($.buffer,$.byteOffset,$.byteLength)}return M(j)}function B(j,$,I){if($<0||j.byteLength<$)throw new RangeError('"offset" is outside of buffer bounds');if(j.byteLength<$+(I||0))throw new RangeError('"length" is outside of buffer bounds');let K;return $===void 0&&I===void 0?K=new U(j):I===void 0?K=new U(j,$):K=new U(j,$,I),Object.setPrototypeOf(K,u.prototype),K}function R(j){if(u.isBuffer(j)){const $=q(j.length)|0,I=O($);return I.length===0||j.copy(I,0,0,$),I}if(j.length!==void 0)return typeof j.length!="number"||Oe(j.length)?O(0):M(j);if(j.type==="Buffer"&&Array.isArray(j.data))return M(j.data)}function q(j){if(j>=T)throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+T.toString(16)+" bytes");return j|0}function F(j){return+j!=j&&(j=0),u.alloc(+j)}u.isBuffer=function($){return $!=null&&$._isBuffer===!0&&$!==u.prototype},u.compare=function($,I){if(Ce($,U)&&($=u.from($,$.offset,$.byteLength)),Ce(I,U)&&(I=u.from(I,I.offset,I.byteLength)),!u.isBuffer($)||!u.isBuffer(I))throw new TypeError('The "buf1", "buf2" arguments must be one of type Buffer or Uint8Array');if($===I)return 0;let K=$.length,J=I.length;for(let re=0,te=Math.min(K,J);re<te;++re)if($[re]!==I[re]){K=$[re],J=I[re];break}return K<J?-1:J<K?1:0},u.isEncoding=function($){switch(String($).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}},u.concat=function($,I){if(!Array.isArray($))throw new TypeError('"list" argument must be an Array of Buffers');if($.length===0)return u.alloc(0);let K;if(I===void 0)for(I=0,K=0;K<$.length;++K)I+=$[K].length;const J=u.allocUnsafe(I);let re=0;for(K=0;K<$.length;++K){let te=$[K];if(Ce(te,U))re+te.length>J.length?(u.isBuffer(te)||(te=u.from(te)),te.copy(J,re)):U.prototype.set.call(J,te,re);else if(u.isBuffer(te))te.copy(J,re);else throw new TypeError('"list" argument must be an Array of Buffers');re+=te.length}return J};function W(j,$){if(u.isBuffer(j))return j.length;if(z.isView(j)||Ce(j,z))return j.byteLength;if(typeof j!="string")throw new TypeError('The "string" argument must be one of type string, Buffer, or ArrayBuffer. Received type '+typeof j);const I=j.length,K=arguments.length>2&&arguments[2]===!0;if(!K&&I===0)return 0;let J=!1;for(;;)switch($){case"ascii":case"latin1":case"binary":return I;case"utf8":case"utf-8":return Te(j).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return I*2;case"hex":return I>>>1;case"base64":return Ue(j).length;default:if(J)return K?-1:Te(j).length;$=(""+$).toLowerCase(),J=!0}}u.byteLength=W;function Y(j,$,I){let K=!1;if(($===void 0||$<0)&&($=0),$>this.length||((I===void 0||I>this.length)&&(I=this.length),I<=0)||(I>>>=0,$>>>=0,I<=$))return"";for(j||(j="utf8");;)switch(j){case"hex":return be(this,$,I);case"utf8":case"utf-8":return fe(this,$,I);case"ascii":return ce(this,$,I);case"latin1":case"binary":return ie(this,$,I);case"base64":return ne(this,$,I);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return oe(this,$,I);default:if(K)throw new TypeError("Unknown encoding: "+j);j=(j+"").toLowerCase(),K=!0}}u.prototype._isBuffer=!0;function X(j,$,I){const K=j[$];j[$]=j[I],j[I]=K}u.prototype.swap16=function(){const $=this.length;if($%2!==0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(let I=0;I<$;I+=2)X(this,I,I+1);return this},u.prototype.swap32=function(){const $=this.length;if($%4!==0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(let I=0;I<$;I+=4)X(this,I,I+3),X(this,I+1,I+2);return this},u.prototype.swap64=function(){const $=this.length;if($%8!==0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(let I=0;I<$;I+=8)X(this,I,I+7),X(this,I+1,I+6),X(this,I+2,I+5),X(this,I+3,I+4);return this},u.prototype.toString=function(){const $=this.length;return $===0?"":arguments.length===0?fe(this,0,$):Y.apply(this,arguments)},u.prototype.toLocaleString=u.prototype.toString,u.prototype.equals=function($){if(!u.isBuffer($))throw new TypeError("Argument must be a Buffer");return this===$?!0:u.compare(this,$)===0},u.prototype.inspect=function(){let $="";const I=_.INSPECT_MAX_BYTES;return $=this.toString("hex",0,I).replace(/(.{2})/g,"$1 ").trim(),this.length>I&&($+=" ... "),"<Buffer "+$+">"},P&&(u.prototype[P]=u.prototype.inspect),u.prototype.compare=function($,I,K,J,re){if(Ce($,U)&&($=u.from($,$.offset,$.byteLength)),!u.isBuffer($))throw new TypeError('The "target" argument must be one of type Buffer or Uint8Array. Received type '+typeof $);if(I===void 0&&(I=0),K===void 0&&(K=$?$.length:0),J===void 0&&(J=0),re===void 0&&(re=this.length),I<0||K>$.length||J<0||re>this.length)throw new RangeError("out of range index");if(J>=re&&I>=K)return 0;if(J>=re)return-1;if(I>=K)return 1;if(I>>>=0,K>>>=0,J>>>=0,re>>>=0,this===$)return 0;let te=re-J,pe=K-I;const _e=Math.min(te,pe),le=this.slice(J,re),we=$.slice(I,K);for(let ye=0;ye<_e;++ye)if(le[ye]!==we[ye]){te=le[ye],pe=we[ye];break}return te<pe?-1:pe<te?1:0};function k(j,$,I,K,J){if(j.length===0)return-1;if(typeof I=="string"?(K=I,I=0):I>2147483647?I=2147483647:I<-2147483648&&(I=-2147483648),I=+I,Oe(I)&&(I=J?0:j.length-1),I<0&&(I=j.length+I),I>=j.length){if(J)return-1;I=j.length-1}else if(I<0)if(J)I=0;else return-1;if(typeof $=="string"&&($=u.from($,K)),u.isBuffer($))return $.length===0?-1:N(j,$,I,K,J);if(typeof $=="number")return $=$&255,typeof U.prototype.indexOf=="function"?J?U.prototype.indexOf.call(j,$,I):U.prototype.lastIndexOf.call(j,$,I):N(j,[$],I,K,J);throw new TypeError("val must be string, number or Buffer")}function N(j,$,I,K,J){let re=1,te=j.length,pe=$.length;if(K!==void 0&&(K=String(K).toLowerCase(),K==="ucs2"||K==="ucs-2"||K==="utf16le"||K==="utf-16le")){if(j.length<2||$.length<2)return-1;re=2,te/=2,pe/=2,I/=2}function _e(we,ye){return re===1?we[ye]:we.readUInt16BE(ye*re)}let le;if(J){let we=-1;for(le=I;le<te;le++)if(_e(j,le)===_e($,we===-1?0:le-we)){if(we===-1&&(we=le),le-we+1===pe)return we*re}else we!==-1&&(le-=le-we),we=-1}else for(I+pe>te&&(I=te-pe),le=I;le>=0;le--){let we=!0;for(let ye=0;ye<pe;ye++)if(_e(j,le+ye)!==_e($,ye)){we=!1;break}if(we)return le}return-1}u.prototype.includes=function($,I,K){return this.indexOf($,I,K)!==-1},u.prototype.indexOf=function($,I,K){return k(this,$,I,K,!0)},u.prototype.lastIndexOf=function($,I,K){return k(this,$,I,K,!1)};function Z(j,$,I,K){I=Number(I)||0;const J=j.length-I;K?(K=Number(K),K>J&&(K=J)):K=J;const re=$.length;K>re/2&&(K=re/2);let te;for(te=0;te<K;++te){const pe=parseInt($.substr(te*2,2),16);if(Oe(pe))return te;j[I+te]=pe}return te}function Q(j,$,I,K){return xe(Te($,j.length-I),j,I,K)}function H(j,$,I,K){return xe(Ae($),j,I,K)}function L(j,$,I,K){return xe(Ue($),j,I,K)}function ee(j,$,I,K){return xe(Ne($,j.length-I),j,I,K)}u.prototype.write=function($,I,K,J){if(I===void 0)J="utf8",K=this.length,I=0;else if(K===void 0&&typeof I=="string")J=I,K=this.length,I=0;else if(isFinite(I))I=I>>>0,isFinite(K)?(K=K>>>0,J===void 0&&(J="utf8")):(J=K,K=void 0);else throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");const re=this.length-I;if((K===void 0||K>re)&&(K=re),$.length>0&&(K<0||I<0)||I>this.length)throw new RangeError("Attempt to write outside buffer bounds");J||(J="utf8");let te=!1;for(;;)switch(J){case"hex":return Z(this,$,I,K);case"utf8":case"utf-8":return Q(this,$,I,K);case"ascii":case"latin1":case"binary":return H(this,$,I,K);case"base64":return L(this,$,I,K);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return ee(this,$,I,K);default:if(te)throw new TypeError("Unknown encoding: "+J);J=(""+J).toLowerCase(),te=!0}},u.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};function ne(j,$,I){return $===0&&I===j.length?S.fromByteArray(j):S.fromByteArray(j.slice($,I))}function fe(j,$,I){I=Math.min(j.length,I);const K=[];let J=$;for(;J<I;){const re=j[J];let te=null,pe=re>239?4:re>223?3:re>191?2:1;if(J+pe<=I){let _e,le,we,ye;switch(pe){case 1:re<128&&(te=re);break;case 2:_e=j[J+1],(_e&192)===128&&(ye=(re&31)<<6|_e&63,ye>127&&(te=ye));break;case 3:_e=j[J+1],le=j[J+2],(_e&192)===128&&(le&192)===128&&(ye=(re&15)<<12|(_e&63)<<6|le&63,ye>2047&&(ye<55296||ye>57343)&&(te=ye));break;case 4:_e=j[J+1],le=j[J+2],we=j[J+3],(_e&192)===128&&(le&192)===128&&(we&192)===128&&(ye=(re&15)<<18|(_e&63)<<12|(le&63)<<6|we&63,ye>65535&&ye<1114112&&(te=ye))}}te===null?(te=65533,pe=1):te>65535&&(te-=65536,K.push(te>>>10&1023|55296),te=56320|te&1023),K.push(te),J+=pe}return ue(K)}const ae=4096;function ue(j){const $=j.length;if($<=ae)return String.fromCharCode.apply(String,j);let I="",K=0;for(;K<$;)I+=String.fromCharCode.apply(String,j.slice(K,K+=ae));return I}function ce(j,$,I){let K="";I=Math.min(j.length,I);for(let J=$;J<I;++J)K+=String.fromCharCode(j[J]&127);return K}function ie(j,$,I){let K="";I=Math.min(j.length,I);for(let J=$;J<I;++J)K+=String.fromCharCode(j[J]);return K}function be(j,$,I){const K=j.length;(!$||$<0)&&($=0),(!I||I<0||I>K)&&(I=K);let J="";for(let re=$;re<I;++re)J+=Ee[j[re]];return J}function oe(j,$,I){const K=j.slice($,I);let J="";for(let re=0;re<K.length-1;re+=2)J+=String.fromCharCode(K[re]+K[re+1]*256);return J}u.prototype.slice=function($,I){const K=this.length;$=~~$,I=I===void 0?K:~~I,$<0?($+=K,$<0&&($=0)):$>K&&($=K),I<0?(I+=K,I<0&&(I=0)):I>K&&(I=K),I<$&&(I=$);const J=this.subarray($,I);return Object.setPrototypeOf(J,u.prototype),J};function se(j,$,I){if(j%1!==0||j<0)throw new RangeError("offset is not uint");if(j+$>I)throw new RangeError("Trying to access beyond buffer length")}u.prototype.readUintLE=u.prototype.readUIntLE=function($,I,K){$=$>>>0,I=I>>>0,K||se($,I,this.length);let J=this[$],re=1,te=0;for(;++te<I&&(re*=256);)J+=this[$+te]*re;return J},u.prototype.readUintBE=u.prototype.readUIntBE=function($,I,K){$=$>>>0,I=I>>>0,K||se($,I,this.length);let J=this[$+--I],re=1;for(;I>0&&(re*=256);)J+=this[$+--I]*re;return J},u.prototype.readUint8=u.prototype.readUInt8=function($,I){return $=$>>>0,I||se($,1,this.length),this[$]},u.prototype.readUint16LE=u.prototype.readUInt16LE=function($,I){return $=$>>>0,I||se($,2,this.length),this[$]|this[$+1]<<8},u.prototype.readUint16BE=u.prototype.readUInt16BE=function($,I){return $=$>>>0,I||se($,2,this.length),this[$]<<8|this[$+1]},u.prototype.readUint32LE=u.prototype.readUInt32LE=function($,I){return $=$>>>0,I||se($,4,this.length),(this[$]|this[$+1]<<8|this[$+2]<<16)+this[$+3]*16777216},u.prototype.readUint32BE=u.prototype.readUInt32BE=function($,I){return $=$>>>0,I||se($,4,this.length),this[$]*16777216+(this[$+1]<<16|this[$+2]<<8|this[$+3])},u.prototype.readBigUInt64LE=De(function($){$=$>>>0,Ie($,"offset");const I=this[$],K=this[$+7];(I===void 0||K===void 0)&&Pe($,this.length-8);const J=I+this[++$]*2**8+this[++$]*2**16+this[++$]*2**24,re=this[++$]+this[++$]*2**8+this[++$]*2**16+K*2**24;return BigInt(J)+(BigInt(re)<<BigInt(32))}),u.prototype.readBigUInt64BE=De(function($){$=$>>>0,Ie($,"offset");const I=this[$],K=this[$+7];(I===void 0||K===void 0)&&Pe($,this.length-8);const J=I*2**24+this[++$]*2**16+this[++$]*2**8+this[++$],re=this[++$]*2**24+this[++$]*2**16+this[++$]*2**8+K;return(BigInt(J)<<BigInt(32))+BigInt(re)}),u.prototype.readIntLE=function($,I,K){$=$>>>0,I=I>>>0,K||se($,I,this.length);let J=this[$],re=1,te=0;for(;++te<I&&(re*=256);)J+=this[$+te]*re;return re*=128,J>=re&&(J-=Math.pow(2,8*I)),J},u.prototype.readIntBE=function($,I,K){$=$>>>0,I=I>>>0,K||se($,I,this.length);let J=I,re=1,te=this[$+--J];for(;J>0&&(re*=256);)te+=this[$+--J]*re;return re*=128,te>=re&&(te-=Math.pow(2,8*I)),te},u.prototype.readInt8=function($,I){return $=$>>>0,I||se($,1,this.length),this[$]&128?(255-this[$]+1)*-1:this[$]},u.prototype.readInt16LE=function($,I){$=$>>>0,I||se($,2,this.length);const K=this[$]|this[$+1]<<8;return K&32768?K|4294901760:K},u.prototype.readInt16BE=function($,I){$=$>>>0,I||se($,2,this.length);const K=this[$+1]|this[$]<<8;return K&32768?K|4294901760:K},u.prototype.readInt32LE=function($,I){return $=$>>>0,I||se($,4,this.length),this[$]|this[$+1]<<8|this[$+2]<<16|this[$+3]<<24},u.prototype.readInt32BE=function($,I){return $=$>>>0,I||se($,4,this.length),this[$]<<24|this[$+1]<<16|this[$+2]<<8|this[$+3]},u.prototype.readBigInt64LE=De(function($){$=$>>>0,Ie($,"offset");const I=this[$],K=this[$+7];(I===void 0||K===void 0)&&Pe($,this.length-8);const J=this[$+4]+this[$+5]*2**8+this[$+6]*2**16+(K<<24);return(BigInt(J)<<BigInt(32))+BigInt(I+this[++$]*2**8+this[++$]*2**16+this[++$]*2**24)}),u.prototype.readBigInt64BE=De(function($){$=$>>>0,Ie($,"offset");const I=this[$],K=this[$+7];(I===void 0||K===void 0)&&Pe($,this.length-8);const J=(I<<24)+this[++$]*2**16+this[++$]*2**8+this[++$];return(BigInt(J)<<BigInt(32))+BigInt(this[++$]*2**24+this[++$]*2**16+this[++$]*2**8+K)}),u.prototype.readFloatLE=function($,I){return $=$>>>0,I||se($,4,this.length),C.read(this,$,!0,23,4)},u.prototype.readFloatBE=function($,I){return $=$>>>0,I||se($,4,this.length),C.read(this,$,!1,23,4)},u.prototype.readDoubleLE=function($,I){return $=$>>>0,I||se($,8,this.length),C.read(this,$,!0,52,8)},u.prototype.readDoubleBE=function($,I){return $=$>>>0,I||se($,8,this.length),C.read(this,$,!1,52,8)};function de(j,$,I,K,J,re){if(!u.isBuffer(j))throw new TypeError('"buffer" argument must be a Buffer instance');if($>J||$<re)throw new RangeError('"value" argument is out of bounds');if(I+K>j.length)throw new RangeError("Index out of range")}u.prototype.writeUintLE=u.prototype.writeUIntLE=function($,I,K,J){if($=+$,I=I>>>0,K=K>>>0,!J){const pe=Math.pow(2,8*K)-1;de(this,$,I,K,pe,0)}let re=1,te=0;for(this[I]=$&255;++te<K&&(re*=256);)this[I+te]=$/re&255;return I+K},u.prototype.writeUintBE=u.prototype.writeUIntBE=function($,I,K,J){if($=+$,I=I>>>0,K=K>>>0,!J){const pe=Math.pow(2,8*K)-1;de(this,$,I,K,pe,0)}let re=K-1,te=1;for(this[I+re]=$&255;--re>=0&&(te*=256);)this[I+re]=$/te&255;return I+K},u.prototype.writeUint8=u.prototype.writeUInt8=function($,I,K){return $=+$,I=I>>>0,K||de(this,$,I,1,255,0),this[I]=$&255,I+1},u.prototype.writeUint16LE=u.prototype.writeUInt16LE=function($,I,K){return $=+$,I=I>>>0,K||de(this,$,I,2,65535,0),this[I]=$&255,this[I+1]=$>>>8,I+2},u.prototype.writeUint16BE=u.prototype.writeUInt16BE=function($,I,K){return $=+$,I=I>>>0,K||de(this,$,I,2,65535,0),this[I]=$>>>8,this[I+1]=$&255,I+2},u.prototype.writeUint32LE=u.prototype.writeUInt32LE=function($,I,K){return $=+$,I=I>>>0,K||de(this,$,I,4,4294967295,0),this[I+3]=$>>>24,this[I+2]=$>>>16,this[I+1]=$>>>8,this[I]=$&255,I+4},u.prototype.writeUint32BE=u.prototype.writeUInt32BE=function($,I,K){return $=+$,I=I>>>0,K||de(this,$,I,4,4294967295,0),this[I]=$>>>24,this[I+1]=$>>>16,this[I+2]=$>>>8,this[I+3]=$&255,I+4};function he(j,$,I,K,J){ge($,K,J,j,I,7);let re=Number($&BigInt(4294967295));j[I++]=re,re=re>>8,j[I++]=re,re=re>>8,j[I++]=re,re=re>>8,j[I++]=re;let te=Number($>>BigInt(32)&BigInt(4294967295));return j[I++]=te,te=te>>8,j[I++]=te,te=te>>8,j[I++]=te,te=te>>8,j[I++]=te,I}function qe(j,$,I,K,J){ge($,K,J,j,I,7);let re=Number($&BigInt(4294967295));j[I+7]=re,re=re>>8,j[I+6]=re,re=re>>8,j[I+5]=re,re=re>>8,j[I+4]=re;let te=Number($>>BigInt(32)&BigInt(4294967295));return j[I+3]=te,te=te>>8,j[I+2]=te,te=te>>8,j[I+1]=te,te=te>>8,j[I]=te,I+8}u.prototype.writeBigUInt64LE=De(function($,I=0){return he(this,$,I,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeBigUInt64BE=De(function($,I=0){return qe(this,$,I,BigInt(0),BigInt("0xffffffffffffffff"))}),u.prototype.writeIntLE=function($,I,K,J){if($=+$,I=I>>>0,!J){const _e=Math.pow(2,8*K-1);de(this,$,I,K,_e-1,-_e)}let re=0,te=1,pe=0;for(this[I]=$&255;++re<K&&(te*=256);)$<0&&pe===0&&this[I+re-1]!==0&&(pe=1),this[I+re]=($/te>>0)-pe&255;return I+K},u.prototype.writeIntBE=function($,I,K,J){if($=+$,I=I>>>0,!J){const _e=Math.pow(2,8*K-1);de(this,$,I,K,_e-1,-_e)}let re=K-1,te=1,pe=0;for(this[I+re]=$&255;--re>=0&&(te*=256);)$<0&&pe===0&&this[I+re+1]!==0&&(pe=1),this[I+re]=($/te>>0)-pe&255;return I+K},u.prototype.writeInt8=function($,I,K){return $=+$,I=I>>>0,K||de(this,$,I,1,127,-128),$<0&&($=255+$+1),this[I]=$&255,I+1},u.prototype.writeInt16LE=function($,I,K){return $=+$,I=I>>>0,K||de(this,$,I,2,32767,-32768),this[I]=$&255,this[I+1]=$>>>8,I+2},u.prototype.writeInt16BE=function($,I,K){return $=+$,I=I>>>0,K||de(this,$,I,2,32767,-32768),this[I]=$>>>8,this[I+1]=$&255,I+2},u.prototype.writeInt32LE=function($,I,K){return $=+$,I=I>>>0,K||de(this,$,I,4,2147483647,-2147483648),this[I]=$&255,this[I+1]=$>>>8,this[I+2]=$>>>16,this[I+3]=$>>>24,I+4},u.prototype.writeInt32BE=function($,I,K){return $=+$,I=I>>>0,K||de(this,$,I,4,2147483647,-2147483648),$<0&&($=4294967295+$+1),this[I]=$>>>24,this[I+1]=$>>>16,this[I+2]=$>>>8,this[I+3]=$&255,I+4},u.prototype.writeBigInt64LE=De(function($,I=0){return he(this,$,I,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))}),u.prototype.writeBigInt64BE=De(function($,I=0){return qe(this,$,I,-BigInt("0x8000000000000000"),BigInt("0x7fffffffffffffff"))});function Se(j,$,I,K,J,re){if(I+K>j.length)throw new RangeError("Index out of range");if(I<0)throw new RangeError("Index out of range")}function ve(j,$,I,K,J){return $=+$,I=I>>>0,J||Se(j,$,I,4),C.write(j,$,I,K,23,4),I+4}u.prototype.writeFloatLE=function($,I,K){return ve(this,$,I,!0,K)},u.prototype.writeFloatBE=function($,I,K){return ve(this,$,I,!1,K)};function Me(j,$,I,K,J){return $=+$,I=I>>>0,J||Se(j,$,I,8),C.write(j,$,I,K,52,8),I+8}u.prototype.writeDoubleLE=function($,I,K){return Me(this,$,I,!0,K)},u.prototype.writeDoubleBE=function($,I,K){return Me(this,$,I,!1,K)},u.prototype.copy=function($,I,K,J){if(!u.isBuffer($))throw new TypeError("argument should be a Buffer");if(K||(K=0),!J&&J!==0&&(J=this.length),I>=$.length&&(I=$.length),I||(I=0),J>0&&J<K&&(J=K),J===K||$.length===0||this.length===0)return 0;if(I<0)throw new RangeError("targetStart out of bounds");if(K<0||K>=this.length)throw new RangeError("Index out of range");if(J<0)throw new RangeError("sourceEnd out of bounds");J>this.length&&(J=this.length),$.length-I<J-K&&(J=$.length-I+K);const re=J-K;return this===$&&typeof U.prototype.copyWithin=="function"?this.copyWithin(I,K,J):U.prototype.set.call($,this.subarray(K,J),I),re},u.prototype.fill=function($,I,K,J){if(typeof $=="string"){if(typeof I=="string"?(J=I,I=0,K=this.length):typeof K=="string"&&(J=K,K=this.length),J!==void 0&&typeof J!="string")throw new TypeError("encoding must be a string");if(typeof J=="string"&&!u.isEncoding(J))throw new TypeError("Unknown encoding: "+J);if($.length===1){const te=$.charCodeAt(0);(J==="utf8"&&te<128||J==="latin1")&&($=te)}}else typeof $=="number"?$=$&255:typeof $=="boolean"&&($=Number($));if(I<0||this.length<I||this.length<K)throw new RangeError("Out of range index");if(K<=I)return this;I=I>>>0,K=K===void 0?this.length:K>>>0,$||($=0);let re;if(typeof $=="number")for(re=I;re<K;++re)this[re]=$;else{const te=u.isBuffer($)?$:u.from($,J),pe=te.length;if(pe===0)throw new TypeError('The value "'+$+'" is invalid for argument "value"');for(re=0;re<K-I;++re)this[re+I]=te[re%pe]}return this};const $e={};function me(j,$,I){$e[j]=class extends I{constructor(){super(),Object.defineProperty(this,"message",{value:$.apply(this,arguments),writable:!0,configurable:!0}),this.name=`${this.name} [${j}]`,this.stack,delete this.name}get code(){return j}set code(J){Object.defineProperty(this,"code",{configurable:!0,enumerable:!0,value:J,writable:!0})}toString(){return`${this.name} [${j}]: ${this.message}`}}}me("ERR_BUFFER_OUT_OF_BOUNDS",function(j){return j?`${j} is outside of buffer bounds`:"Attempt to access memory outside buffer bounds"},RangeError),me("ERR_INVALID_ARG_TYPE",function(j,$){return`The "${j}" argument must be of type number. Received type ${typeof $}`},TypeError),me("ERR_OUT_OF_RANGE",function(j,$,I){let K=`The value of "${j}" is out of range.`,J=I;return Number.isInteger(I)&&Math.abs(I)>2**32?J=Fe(String(I)):typeof I=="bigint"&&(J=String(I),(I>BigInt(2)**BigInt(32)||I<-(BigInt(2)**BigInt(32)))&&(J=Fe(J)),J+="n"),K+=` It must be ${$}. Received ${J}`,K},RangeError);function Fe(j){let $="",I=j.length;const K=j[0]==="-"?1:0;for(;I>=K+4;I-=3)$=`_${j.slice(I-3,I)}${$}`;return`${j.slice(0,I)}${$}`}function ke(j,$,I){Ie($,"offset"),(j[$]===void 0||j[$+I]===void 0)&&Pe($,j.length-(I+1))}function ge(j,$,I,K,J,re){if(j>I||j<$){const te=typeof $=="bigint"?"n":"";let pe;throw $===0||$===BigInt(0)?pe=`>= 0${te} and < 2${te} ** ${(re+1)*8}${te}`:pe=`>= -(2${te} ** ${(re+1)*8-1}${te}) and < 2 ** ${(re+1)*8-1}${te}`,new $e.ERR_OUT_OF_RANGE("value",pe,j)}ke(K,J,re)}function Ie(j,$){if(typeof j!="number")throw new $e.ERR_INVALID_ARG_TYPE($,"number",j)}function Pe(j,$,I){throw Math.floor(j)!==j?(Ie(j,I),new $e.ERR_OUT_OF_RANGE("offset","an integer",j)):$<0?new $e.ERR_BUFFER_OUT_OF_BOUNDS:new $e.ERR_OUT_OF_RANGE("offset",`>= 0 and <= ${$}`,j)}const Be=/[^+/0-9A-Za-z-_]/g;function Le(j){if(j=j.split("=")[0],j=j.trim().replace(Be,""),j.length<2)return"";for(;j.length%4!==0;)j=j+"=";return j}function Te(j,$){$=$||1/0;let I;const K=j.length;let J=null;const re=[];for(let te=0;te<K;++te){if(I=j.charCodeAt(te),I>55295&&I<57344){if(!J){if(I>56319){($-=3)>-1&&re.push(239,191,189);continue}else if(te+1===K){($-=3)>-1&&re.push(239,191,189);continue}J=I;continue}if(I<56320){($-=3)>-1&&re.push(239,191,189),J=I;continue}I=(J-55296<<10|I-56320)+65536}else J&&($-=3)>-1&&re.push(239,191,189);if(J=null,I<128){if(($-=1)<0)break;re.push(I)}else if(I<2048){if(($-=2)<0)break;re.push(I>>6|192,I&63|128)}else if(I<65536){if(($-=3)<0)break;re.push(I>>12|224,I>>6&63|128,I&63|128)}else if(I<1114112){if(($-=4)<0)break;re.push(I>>18|240,I>>12&63|128,I>>6&63|128,I&63|128)}else throw new Error("Invalid code point")}return re}function Ae(j){const $=[];for(let I=0;I<j.length;++I)$.push(j.charCodeAt(I)&255);return $}function Ne(j,$){let I,K,J;const re=[];for(let te=0;te<j.length&&!(($-=2)<0);++te)I=j.charCodeAt(te),K=I>>8,J=I%256,re.push(J),re.push(K);return re}function Ue(j){return S.toByteArray(Le(j))}function xe(j,$,I,K){let J;for(J=0;J<K&&!(J+I>=$.length||J>=j.length);++J)$[J+I]=j[J];return J}function Ce(j,$){return j instanceof $||j!=null&&j.constructor!=null&&j.constructor.name!=null&&j.constructor.name===$.name}function Oe(j){return j!==j}const Ee=function(){const j="0123456789abcdef",$=new Array(256);for(let I=0;I<16;++I){const K=I*16;for(let J=0;J<16;++J)$[K+J]=j[I]+j[J]}return $}();function De(j){return typeof BigInt>"u"?je:j}function je(){throw new Error("BigInt not supported")}})(m);const w=m.Buffer;v.Blob=m.Blob,v.BlobOptions=m.BlobOptions,v.Buffer=m.Buffer,v.File=m.File,v.FileOptions=m.FileOptions,v.INSPECT_MAX_BYTES=m.INSPECT_MAX_BYTES,v.SlowBuffer=m.SlowBuffer,v.TranscodeEncoding=m.TranscodeEncoding,v.atob=m.atob,v.btoa=m.btoa,v.constants=m.constants,v.default=w,v.isAscii=m.isAscii,v.isUtf8=m.isUtf8,v.kMaxLength=m.kMaxLength,v.kStringMaxLength=m.kStringMaxLength,v.resolveObjectURL=m.resolveObjectURL,v.transcode=m.transcode}(dist)),dist}/*! safe-buffer. MIT License. Feross Aboukhadijeh <https://feross.org/opensource> */var hasRequiredSafeBuffer$1;function requireSafeBuffer$1(){return hasRequiredSafeBuffer$1||(hasRequiredSafeBuffer$1=1,function(v,m){var x=requireDist(),c=x.Buffer;function y(d,n){for(var i in d)n[i]=d[i]}c.from&&c.alloc&&c.allocUnsafe&&c.allocUnsafeSlow?v.exports=x:(y(x,m),m.Buffer=r);function r(d,n,i){return c(d,n,i)}r.prototype=Object.create(c.prototype),y(c,r),r.from=function(d,n,i){if(typeof d=="number")throw new TypeError("Argument must not be a number");return c(d,n,i)},r.alloc=function(d,n,i){if(typeof d!="number")throw new TypeError("Argument must be a number");var t=c(d);return n!==void 0?typeof i=="string"?t.fill(n,i):t.fill(n):t.fill(0),t},r.allocUnsafe=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return c(d)},r.allocUnsafeSlow=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return x.SlowBuffer(d)}}(safeBuffer$1,safeBuffer$1.exports)),safeBuffer$1.exports}var hasRequiredBrowser$b;function requireBrowser$b(){if(hasRequiredBrowser$b)return browser$b.exports;hasRequiredBrowser$b=1;var v=65536,m=4294967295;function x(){throw new Error(`Secure random number generation is not supported by this browser.
|
|
7
|
+
Use Chrome, Firefox or Internet Explorer 11`)}var c=requireSafeBuffer$1().Buffer,y=commonjsGlobal.crypto||commonjsGlobal.msCrypto;y&&y.getRandomValues?browser$b.exports=r:browser$b.exports=x;function r(d,n){if(d>m)throw new RangeError("requested too many random bytes");var i=c.allocUnsafe(d);if(d>0)if(d>v)for(var t=0;t<d;t+=v)y.getRandomValues(i.slice(t,t+v));else y.getRandomValues(i);return typeof n=="function"?process$1.nextTick(function(){n(null,i)}):i}return browser$b.exports}var inherits_browser={exports:{}},hasRequiredInherits_browser;function requireInherits_browser(){return hasRequiredInherits_browser||(hasRequiredInherits_browser=1,typeof Object.create=="function"?inherits_browser.exports=function(m,x){x&&(m.super_=x,m.prototype=Object.create(x.prototype,{constructor:{value:m,enumerable:!1,writable:!0,configurable:!0}}))}:inherits_browser.exports=function(m,x){if(x){m.super_=x;var c=function(){};c.prototype=x.prototype,m.prototype=new c,m.prototype.constructor=m}}),inherits_browser.exports}var events={exports:{}},hasRequiredEvents;function requireEvents(){if(hasRequiredEvents)return events.exports;hasRequiredEvents=1;var v=typeof Reflect=="object"?Reflect:null,m=v&&typeof v.apply=="function"?v.apply:function(P,T,U){return Function.prototype.apply.call(P,T,U)},x;v&&typeof v.ownKeys=="function"?x=v.ownKeys:Object.getOwnPropertySymbols?x=function(P){return Object.getOwnPropertyNames(P).concat(Object.getOwnPropertySymbols(P))}:x=function(P){return Object.getOwnPropertyNames(P)};function c(C){console&&console.warn&&console.warn(C)}var y=Number.isNaN||function(P){return P!==P};function r(){r.init.call(this)}events.exports=r,events.exports.once=w,r.EventEmitter=r,r.prototype._events=void 0,r.prototype._eventsCount=0,r.prototype._maxListeners=void 0;var d=10;function n(C){if(typeof C!="function")throw new TypeError('The "listener" argument must be of type Function. Received type '+typeof C)}Object.defineProperty(r,"defaultMaxListeners",{enumerable:!0,get:function(){return d},set:function(C){if(typeof C!="number"||C<0||y(C))throw new RangeError('The value of "defaultMaxListeners" is out of range. It must be a non-negative number. Received '+C+".");d=C}}),r.init=function(){(this._events===void 0||this._events===Object.getPrototypeOf(this)._events)&&(this._events=Object.create(null),this._eventsCount=0),this._maxListeners=this._maxListeners||void 0},r.prototype.setMaxListeners=function(P){if(typeof P!="number"||P<0||y(P))throw new RangeError('The value of "n" is out of range. It must be a non-negative number. Received '+P+".");return this._maxListeners=P,this};function i(C){return C._maxListeners===void 0?r.defaultMaxListeners:C._maxListeners}r.prototype.getMaxListeners=function(){return i(this)},r.prototype.emit=function(P){for(var T=[],U=1;U<arguments.length;U++)T.push(arguments[U]);var z=P==="error",V=this._events;if(V!==void 0)z=z&&V.error===void 0;else if(!z)return!1;if(z){var G;if(T.length>0&&(G=T[0]),G instanceof Error)throw G;var O=new Error("Unhandled error."+(G?" ("+G.message+")":""));throw O.context=G,O}var u=V[P];if(u===void 0)return!1;if(typeof u=="function")m(u,this,T);else for(var p=u.length,o=h(u,p),U=0;U<p;++U)m(o[U],this,T);return!0};function t(C,P,T,U){var z,V,G;if(n(T),V=C._events,V===void 0?(V=C._events=Object.create(null),C._eventsCount=0):(V.newListener!==void 0&&(C.emit("newListener",P,T.listener?T.listener:T),V=C._events),G=V[P]),G===void 0)G=V[P]=T,++C._eventsCount;else if(typeof G=="function"?G=V[P]=U?[T,G]:[G,T]:U?G.unshift(T):G.push(T),z=i(C),z>0&&G.length>z&&!G.warned){G.warned=!0;var O=new Error("Possible EventEmitter memory leak detected. "+G.length+" "+String(P)+" listeners added. Use emitter.setMaxListeners() to increase limit");O.name="MaxListenersExceededWarning",O.emitter=C,O.type=P,O.count=G.length,c(O)}return C}r.prototype.addListener=function(P,T){return t(this,P,T,!1)},r.prototype.on=r.prototype.addListener,r.prototype.prependListener=function(P,T){return t(this,P,T,!0)};function e(){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 a(C,P,T){var U={fired:!1,wrapFn:void 0,target:C,type:P,listener:T},z=e.bind(U);return z.listener=T,U.wrapFn=z,z}r.prototype.once=function(P,T){return n(T),this.on(P,a(this,P,T)),this},r.prototype.prependOnceListener=function(P,T){return n(T),this.prependListener(P,a(this,P,T)),this},r.prototype.removeListener=function(P,T){var U,z,V,G,O;if(n(T),z=this._events,z===void 0)return this;if(U=z[P],U===void 0)return this;if(U===T||U.listener===T)--this._eventsCount===0?this._events=Object.create(null):(delete z[P],z.removeListener&&this.emit("removeListener",P,U.listener||T));else if(typeof U!="function"){for(V=-1,G=U.length-1;G>=0;G--)if(U[G]===T||U[G].listener===T){O=U[G].listener,V=G;break}if(V<0)return this;V===0?U.shift():l(U,V),U.length===1&&(z[P]=U[0]),z.removeListener!==void 0&&this.emit("removeListener",P,O||T)}return this},r.prototype.off=r.prototype.removeListener,r.prototype.removeAllListeners=function(P){var T,U,z;if(U=this._events,U===void 0)return this;if(U.removeListener===void 0)return arguments.length===0?(this._events=Object.create(null),this._eventsCount=0):U[P]!==void 0&&(--this._eventsCount===0?this._events=Object.create(null):delete U[P]),this;if(arguments.length===0){var V=Object.keys(U),G;for(z=0;z<V.length;++z)G=V[z],G!=="removeListener"&&this.removeAllListeners(G);return this.removeAllListeners("removeListener"),this._events=Object.create(null),this._eventsCount=0,this}if(T=U[P],typeof T=="function")this.removeListener(P,T);else if(T!==void 0)for(z=T.length-1;z>=0;z--)this.removeListener(P,T[z]);return this};function f(C,P,T){var U=C._events;if(U===void 0)return[];var z=U[P];return z===void 0?[]:typeof z=="function"?T?[z.listener||z]:[z]:T?g(z):h(z,z.length)}r.prototype.listeners=function(P){return f(this,P,!0)},r.prototype.rawListeners=function(P){return f(this,P,!1)},r.listenerCount=function(C,P){return typeof C.listenerCount=="function"?C.listenerCount(P):s.call(C,P)},r.prototype.listenerCount=s;function s(C){var P=this._events;if(P!==void 0){var T=P[C];if(typeof T=="function")return 1;if(T!==void 0)return T.length}return 0}r.prototype.eventNames=function(){return this._eventsCount>0?x(this._events):[]};function h(C,P){for(var T=new Array(P),U=0;U<P;++U)T[U]=C[U];return T}function l(C,P){for(;P+1<C.length;P++)C[P]=C[P+1];C.pop()}function g(C){for(var P=new Array(C.length),T=0;T<P.length;++T)P[T]=C[T].listener||C[T];return P}function w(C,P){return new Promise(function(T,U){function z(G){C.removeListener(P,V),U(G)}function V(){typeof C.removeListener=="function"&&C.removeListener("error",z),T([].slice.call(arguments))}S(C,P,V,{once:!0}),P!=="error"&&_(C,z,{once:!0})})}function _(C,P,T){typeof C.on=="function"&&S(C,"error",P,T)}function S(C,P,T,U){if(typeof C.on=="function")U.once?C.once(P,T):C.on(P,T);else if(typeof C.addEventListener=="function")C.addEventListener(P,function z(V){U.once&&C.removeEventListener(P,z),T(V)});else throw new TypeError('The "emitter" argument must be of type EventEmitter. Received type '+typeof C)}return events.exports}var streamBrowser$1,hasRequiredStreamBrowser$1;function requireStreamBrowser$1(){return hasRequiredStreamBrowser$1||(hasRequiredStreamBrowser$1=1,streamBrowser$1=requireEvents().EventEmitter),streamBrowser$1}var util$1={},types={},shams$3,hasRequiredShams$3;function requireShams$3(){return hasRequiredShams$3||(hasRequiredShams$3=1,shams$3=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var m={},x=Symbol("test"),c=Object(x);if(typeof x=="string"||Object.prototype.toString.call(x)!=="[object Symbol]"||Object.prototype.toString.call(c)!=="[object Symbol]")return!1;var y=42;m[x]=y;for(x in m)return!1;if(typeof Object.keys=="function"&&Object.keys(m).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(m).length!==0)return!1;var r=Object.getOwnPropertySymbols(m);if(r.length!==1||r[0]!==x||!Object.prototype.propertyIsEnumerable.call(m,x))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var d=Object.getOwnPropertyDescriptor(m,x);if(d.value!==y||d.enumerable!==!0)return!1}return!0}),shams$3}var shams$2,hasRequiredShams$2;function requireShams$2(){if(hasRequiredShams$2)return shams$2;hasRequiredShams$2=1;var v=requireShams$3();return shams$2=function(){return v()&&!!Symbol.toStringTag},shams$2}var hasSymbols$1,hasRequiredHasSymbols$1;function requireHasSymbols$1(){if(hasRequiredHasSymbols$1)return hasSymbols$1;hasRequiredHasSymbols$1=1;var v=typeof Symbol<"u"&&Symbol,m=requireShams$3();return hasSymbols$1=function(){return typeof v!="function"||typeof Symbol!="function"||typeof v("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:m()},hasSymbols$1}var hasProto,hasRequiredHasProto;function requireHasProto(){if(hasRequiredHasProto)return hasProto;hasRequiredHasProto=1;var v={foo:{}},m=Object;return hasProto=function(){return{__proto__:v}.foo===v.foo&&!({__proto__:null}instanceof m)},hasProto}var implementation$1,hasRequiredImplementation$1;function requireImplementation$1(){if(hasRequiredImplementation$1)return implementation$1;hasRequiredImplementation$1=1;var v="Function.prototype.bind called on incompatible ",m=Array.prototype.slice,x=Object.prototype.toString,c="[object Function]";return implementation$1=function(r){var d=this;if(typeof d!="function"||x.call(d)!==c)throw new TypeError(v+d);for(var n=m.call(arguments,1),i,t=function(){if(this instanceof i){var h=d.apply(this,n.concat(m.call(arguments)));return Object(h)===h?h:this}else return d.apply(r,n.concat(m.call(arguments)))},e=Math.max(0,d.length-n.length),a=[],f=0;f<e;f++)a.push("$"+f);if(i=Function("binder","return function ("+a.join(",")+"){ return binder.apply(this,arguments); }")(t),d.prototype){var s=function(){};s.prototype=d.prototype,i.prototype=new s,s.prototype=null}return i},implementation$1}var functionBind$1,hasRequiredFunctionBind$1;function requireFunctionBind$1(){if(hasRequiredFunctionBind$1)return functionBind$1;hasRequiredFunctionBind$1=1;var v=requireImplementation$1();return functionBind$1=Function.prototype.bind||v,functionBind$1}var src,hasRequiredSrc;function requireSrc(){if(hasRequiredSrc)return src;hasRequiredSrc=1;var v=requireFunctionBind$1();return src=v.call(Function.call,Object.prototype.hasOwnProperty),src}var getIntrinsic$1,hasRequiredGetIntrinsic$1;function requireGetIntrinsic$1(){if(hasRequiredGetIntrinsic$1)return getIntrinsic$1;hasRequiredGetIntrinsic$1=1;var v,m=SyntaxError,x=Function,c=TypeError,y=function(u){try{return x('"use strict"; return ('+u+").constructor;")()}catch{}},r=Object.getOwnPropertyDescriptor;if(r)try{r({},"")}catch{r=null}var d=function(){throw new c},n=r?function(){try{return arguments.callee,d}catch{try{return r(arguments,"callee").get}catch{return d}}}():d,i=requireHasSymbols$1()(),t=requireHasProto()(),e=Object.getPrototypeOf||(t?function(u){return u.__proto__}:null),a={},f=typeof Uint8Array>"u"||!e?v:e(Uint8Array),s={"%AggregateError%":typeof AggregateError>"u"?v:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?v:ArrayBuffer,"%ArrayIteratorPrototype%":i&&e?e([][Symbol.iterator]()):v,"%AsyncFromSyncIteratorPrototype%":v,"%AsyncFunction%":a,"%AsyncGenerator%":a,"%AsyncGeneratorFunction%":a,"%AsyncIteratorPrototype%":a,"%Atomics%":typeof Atomics>"u"?v:Atomics,"%BigInt%":typeof BigInt>"u"?v:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?v:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?v:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?v:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?v:Float32Array,"%Float64Array%":typeof Float64Array>"u"?v:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?v:FinalizationRegistry,"%Function%":x,"%GeneratorFunction%":a,"%Int8Array%":typeof Int8Array>"u"?v:Int8Array,"%Int16Array%":typeof Int16Array>"u"?v:Int16Array,"%Int32Array%":typeof Int32Array>"u"?v:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":i&&e?e(e([][Symbol.iterator]())):v,"%JSON%":typeof JSON=="object"?JSON:v,"%Map%":typeof Map>"u"?v:Map,"%MapIteratorPrototype%":typeof Map>"u"||!i||!e?v:e(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?v:Promise,"%Proxy%":typeof Proxy>"u"?v:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?v:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?v:Set,"%SetIteratorPrototype%":typeof Set>"u"||!i||!e?v:e(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?v:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":i&&e?e(""[Symbol.iterator]()):v,"%Symbol%":i?Symbol:v,"%SyntaxError%":m,"%ThrowTypeError%":n,"%TypedArray%":f,"%TypeError%":c,"%Uint8Array%":typeof Uint8Array>"u"?v:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?v:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?v:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?v:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?v:WeakMap,"%WeakRef%":typeof WeakRef>"u"?v:WeakRef,"%WeakSet%":typeof WeakSet>"u"?v:WeakSet};if(e)try{null.error}catch(u){var h=e(e(u));s["%Error.prototype%"]=h}var l=function u(p){var o;if(p==="%AsyncFunction%")o=y("async function () {}");else if(p==="%GeneratorFunction%")o=y("function* () {}");else if(p==="%AsyncGeneratorFunction%")o=y("async function* () {}");else if(p==="%AsyncGenerator%"){var b=u("%AsyncGeneratorFunction%");b&&(o=b.prototype)}else if(p==="%AsyncIteratorPrototype%"){var E=u("%AsyncGenerator%");E&&e&&(o=e(E.prototype))}return s[p]=o,o},g={"%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"]},w=requireFunctionBind$1(),_=requireSrc(),S=w.call(Function.call,Array.prototype.concat),C=w.call(Function.apply,Array.prototype.splice),P=w.call(Function.call,String.prototype.replace),T=w.call(Function.call,String.prototype.slice),U=w.call(Function.call,RegExp.prototype.exec),z=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,V=/\\(\\)?/g,G=function(p){var o=T(p,0,1),b=T(p,-1);if(o==="%"&&b!=="%")throw new m("invalid intrinsic syntax, expected closing `%`");if(b==="%"&&o!=="%")throw new m("invalid intrinsic syntax, expected opening `%`");var E=[];return P(p,z,function(A,M,D,B){E[E.length]=D?P(B,V,"$1"):M||A}),E},O=function(p,o){var b=p,E;if(_(g,b)&&(E=g[b],b="%"+E[0]+"%"),_(s,b)){var A=s[b];if(A===a&&(A=l(b)),typeof A>"u"&&!o)throw new c("intrinsic "+p+" exists, but is not available. Please file an issue!");return{alias:E,name:b,value:A}}throw new m("intrinsic "+p+" does not exist!")};return getIntrinsic$1=function(p,o){if(typeof p!="string"||p.length===0)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof o!="boolean")throw new c('"allowMissing" argument must be a boolean');if(U(/^%?[^%]*%?$/,p)===null)throw new m("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var b=G(p),E=b.length>0?b[0]:"",A=O("%"+E+"%",o),M=A.name,D=A.value,B=!1,R=A.alias;R&&(E=R[0],C(b,S([0,1],R)));for(var q=1,F=!0;q<b.length;q+=1){var W=b[q],Y=T(W,0,1),X=T(W,-1);if((Y==='"'||Y==="'"||Y==="`"||X==='"'||X==="'"||X==="`")&&Y!==X)throw new m("property names with quotes must have matching quotes");if((W==="constructor"||!F)&&(B=!0),E+="."+W,M="%"+E+"%",_(s,M))D=s[M];else if(D!=null){if(!(W in D)){if(!o)throw new c("base intrinsic for "+p+" exists, but the property is not available.");return}if(r&&q+1>=b.length){var k=r(D,W);F=!!k,F&&"get"in k&&!("originalValue"in k.get)?D=k.get:D=D[W]}else F=_(D,W),D=D[W];F&&!B&&(s[M]=D)}}return D},getIntrinsic$1}var callBind$1={exports:{}},hasRequiredCallBind$1;function requireCallBind$1(){return hasRequiredCallBind$1||(hasRequiredCallBind$1=1,function(v){var m=requireFunctionBind$1(),x=requireGetIntrinsic$1(),c=x("%Function.prototype.apply%"),y=x("%Function.prototype.call%"),r=x("%Reflect.apply%",!0)||m.call(y,c),d=x("%Object.getOwnPropertyDescriptor%",!0),n=x("%Object.defineProperty%",!0),i=x("%Math.max%");if(n)try{n({},"a",{value:1})}catch{n=null}v.exports=function(a){var f=r(m,y,arguments);if(d&&n){var s=d(f,"length");s.configurable&&n(f,"length",{value:1+i(0,a.length-(arguments.length-1))})}return f};var t=function(){return r(m,c,arguments)};n?n(v.exports,"apply",{value:t}):v.exports.apply=t}(callBind$1)),callBind$1.exports}var callBound$2,hasRequiredCallBound$2;function requireCallBound$2(){if(hasRequiredCallBound$2)return callBound$2;hasRequiredCallBound$2=1;var v=requireGetIntrinsic$1(),m=requireCallBind$1(),x=m(v("String.prototype.indexOf"));return callBound$2=function(y,r){var d=v(y,!!r);return typeof d=="function"&&x(y,".prototype.")>-1?m(d):d},callBound$2}var isArguments,hasRequiredIsArguments;function requireIsArguments(){if(hasRequiredIsArguments)return isArguments;hasRequiredIsArguments=1;var v=requireShams$2()(),m=requireCallBound$2(),x=m("Object.prototype.toString"),c=function(n){return v&&n&&typeof n=="object"&&Symbol.toStringTag in n?!1:x(n)==="[object Arguments]"},y=function(n){return c(n)?!0:n!==null&&typeof n=="object"&&typeof n.length=="number"&&n.length>=0&&x(n)!=="[object Array]"&&x(n.callee)==="[object Function]"},r=function(){return c(arguments)}();return c.isLegacyArguments=y,isArguments=r?c:y,isArguments}var isGeneratorFunction,hasRequiredIsGeneratorFunction;function requireIsGeneratorFunction(){if(hasRequiredIsGeneratorFunction)return isGeneratorFunction;hasRequiredIsGeneratorFunction=1;var v=Object.prototype.toString,m=Function.prototype.toString,x=/^\s*(?:function)?\*/,c=requireShams$2()(),y=Object.getPrototypeOf,r=function(){if(!c)return!1;try{return Function("return function*() {}")()}catch{}},d;return isGeneratorFunction=function(i){if(typeof i!="function")return!1;if(x.test(m.call(i)))return!0;if(!c){var t=v.call(i);return t==="[object GeneratorFunction]"}if(!y)return!1;if(typeof d>"u"){var e=r();d=e?y(e):!1}return y(i)===d},isGeneratorFunction}var isCallable,hasRequiredIsCallable;function requireIsCallable(){if(hasRequiredIsCallable)return isCallable;hasRequiredIsCallable=1;var v=Function.prototype.toString,m=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,x,c;if(typeof m=="function"&&typeof Object.defineProperty=="function")try{x=Object.defineProperty({},"length",{get:function(){throw c}}),c={},m(function(){throw 42},null,x)}catch(_){_!==c&&(m=null)}else m=null;var y=/^\s*class\b/,r=function(S){try{var C=v.call(S);return y.test(C)}catch{return!1}},d=function(S){try{return r(S)?!1:(v.call(S),!0)}catch{return!1}},n=Object.prototype.toString,i="[object Object]",t="[object Function]",e="[object GeneratorFunction]",a="[object HTMLAllCollection]",f="[object HTML document.all class]",s="[object HTMLCollection]",h=typeof Symbol=="function"&&!!Symbol.toStringTag,l=!(0 in[,]),g=function(){return!1};if(typeof document=="object"){var w=document.all;n.call(w)===n.call(document.all)&&(g=function(S){if((l||!S)&&(typeof S>"u"||typeof S=="object"))try{var C=n.call(S);return(C===a||C===f||C===s||C===i)&&S("")==null}catch{}return!1})}return isCallable=m?function(S){if(g(S))return!0;if(!S||typeof S!="function"&&typeof S!="object")return!1;try{m(S,null,x)}catch(C){if(C!==c)return!1}return!r(S)&&d(S)}:function(S){if(g(S))return!0;if(!S||typeof S!="function"&&typeof S!="object")return!1;if(h)return d(S);if(r(S))return!1;var C=n.call(S);return C!==t&&C!==e&&!/^\[object HTML/.test(C)?!1:d(S)},isCallable}var forEach_1,hasRequiredForEach$1;function requireForEach$1(){if(hasRequiredForEach$1)return forEach_1;hasRequiredForEach$1=1;var v=requireIsCallable(),m=Object.prototype.toString,x=Object.prototype.hasOwnProperty,c=function(i,t,e){for(var a=0,f=i.length;a<f;a++)x.call(i,a)&&(e==null?t(i[a],a,i):t.call(e,i[a],a,i))},y=function(i,t,e){for(var a=0,f=i.length;a<f;a++)e==null?t(i.charAt(a),a,i):t.call(e,i.charAt(a),a,i)},r=function(i,t,e){for(var a in i)x.call(i,a)&&(e==null?t(i[a],a,i):t.call(e,i[a],a,i))},d=function(i,t,e){if(!v(t))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=e),m.call(i)==="[object Array]"?c(i,t,a):typeof i=="string"?y(i,t,a):r(i,t,a)};return forEach_1=d,forEach_1}var availableTypedArrays$1,hasRequiredAvailableTypedArrays$1;function requireAvailableTypedArrays$1(){if(hasRequiredAvailableTypedArrays$1)return availableTypedArrays$1;hasRequiredAvailableTypedArrays$1=1;var v=["BigInt64Array","BigUint64Array","Float32Array","Float64Array","Int16Array","Int32Array","Int8Array","Uint16Array","Uint32Array","Uint8Array","Uint8ClampedArray"],m=typeof globalThis>"u"?commonjsGlobal:globalThis;return availableTypedArrays$1=function(){for(var c=[],y=0;y<v.length;y++)typeof m[v[y]]=="function"&&(c[c.length]=v[y]);return c},availableTypedArrays$1}var gopd$1,hasRequiredGopd$1;function requireGopd$1(){if(hasRequiredGopd$1)return gopd$1;hasRequiredGopd$1=1;var v=requireGetIntrinsic$1(),m=v("%Object.getOwnPropertyDescriptor%",!0);if(m)try{m([],"length")}catch{m=null}return gopd$1=m,gopd$1}var isTypedArray$1,hasRequiredIsTypedArray$1;function requireIsTypedArray$1(){if(hasRequiredIsTypedArray$1)return isTypedArray$1;hasRequiredIsTypedArray$1=1;var v=requireForEach$1(),m=requireAvailableTypedArrays$1(),x=requireCallBound$2(),c=x("Object.prototype.toString"),y=requireShams$2()(),r=requireGopd$1(),d=typeof globalThis>"u"?commonjsGlobal:globalThis,n=m(),i=x("Array.prototype.indexOf",!0)||function(h,l){for(var g=0;g<h.length;g+=1)if(h[g]===l)return g;return-1},t=x("String.prototype.slice"),e={},a=Object.getPrototypeOf;y&&r&&a&&v(n,function(s){var h=new d[s];if(Symbol.toStringTag in h){var l=a(h),g=r(l,Symbol.toStringTag);if(!g){var w=a(l);g=r(w,Symbol.toStringTag)}e[s]=g.get}});var f=function(h){var l=!1;return v(e,function(g,w){if(!l)try{l=g.call(h)===w}catch{}}),l};return isTypedArray$1=function(h){if(!h||typeof h!="object")return!1;if(!y||!(Symbol.toStringTag in h)){var l=t(c(h),8,-1);return i(n,l)>-1}return r?f(h):!1},isTypedArray$1}var whichTypedArray$1,hasRequiredWhichTypedArray$1;function requireWhichTypedArray$1(){if(hasRequiredWhichTypedArray$1)return whichTypedArray$1;hasRequiredWhichTypedArray$1=1;var v=requireForEach$1(),m=requireAvailableTypedArrays$1(),x=requireCallBound$2(),c=requireGopd$1(),y=x("Object.prototype.toString"),r=requireShams$2()(),d=typeof globalThis>"u"?commonjsGlobal:globalThis,n=m(),i=x("String.prototype.slice"),t={},e=Object.getPrototypeOf;r&&c&&e&&v(n,function(s){if(typeof d[s]=="function"){var h=new d[s];if(Symbol.toStringTag in h){var l=e(h),g=c(l,Symbol.toStringTag);if(!g){var w=e(l);g=c(w,Symbol.toStringTag)}t[s]=g.get}}});var a=function(h){var l=!1;return v(t,function(g,w){if(!l)try{var _=g.call(h);_===w&&(l=_)}catch{}}),l},f=requireIsTypedArray$1();return whichTypedArray$1=function(h){return f(h)?!r||!(Symbol.toStringTag in h)?i(y(h),8,-1):a(h):!1},whichTypedArray$1}var hasRequiredTypes;function requireTypes(){return hasRequiredTypes||(hasRequiredTypes=1,function(v){var m=requireIsArguments(),x=requireIsGeneratorFunction(),c=requireWhichTypedArray$1(),y=requireIsTypedArray$1();function r(ie){return ie.call.bind(ie)}var d=typeof BigInt<"u",n=typeof Symbol<"u",i=r(Object.prototype.toString),t=r(Number.prototype.valueOf),e=r(String.prototype.valueOf),a=r(Boolean.prototype.valueOf);if(d)var f=r(BigInt.prototype.valueOf);if(n)var s=r(Symbol.prototype.valueOf);function h(ie,be){if(typeof ie!="object")return!1;try{return be(ie),!0}catch{return!1}}v.isArgumentsObject=m,v.isGeneratorFunction=x,v.isTypedArray=y;function l(ie){return typeof Promise<"u"&&ie instanceof Promise||ie!==null&&typeof ie=="object"&&typeof ie.then=="function"&&typeof ie.catch=="function"}v.isPromise=l;function g(ie){return typeof ArrayBuffer<"u"&&ArrayBuffer.isView?ArrayBuffer.isView(ie):y(ie)||F(ie)}v.isArrayBufferView=g;function w(ie){return c(ie)==="Uint8Array"}v.isUint8Array=w;function _(ie){return c(ie)==="Uint8ClampedArray"}v.isUint8ClampedArray=_;function S(ie){return c(ie)==="Uint16Array"}v.isUint16Array=S;function C(ie){return c(ie)==="Uint32Array"}v.isUint32Array=C;function P(ie){return c(ie)==="Int8Array"}v.isInt8Array=P;function T(ie){return c(ie)==="Int16Array"}v.isInt16Array=T;function U(ie){return c(ie)==="Int32Array"}v.isInt32Array=U;function z(ie){return c(ie)==="Float32Array"}v.isFloat32Array=z;function V(ie){return c(ie)==="Float64Array"}v.isFloat64Array=V;function G(ie){return c(ie)==="BigInt64Array"}v.isBigInt64Array=G;function O(ie){return c(ie)==="BigUint64Array"}v.isBigUint64Array=O;function u(ie){return i(ie)==="[object Map]"}u.working=typeof Map<"u"&&u(new Map);function p(ie){return typeof Map>"u"?!1:u.working?u(ie):ie instanceof Map}v.isMap=p;function o(ie){return i(ie)==="[object Set]"}o.working=typeof Set<"u"&&o(new Set);function b(ie){return typeof Set>"u"?!1:o.working?o(ie):ie instanceof Set}v.isSet=b;function E(ie){return i(ie)==="[object WeakMap]"}E.working=typeof WeakMap<"u"&&E(new WeakMap);function A(ie){return typeof WeakMap>"u"?!1:E.working?E(ie):ie instanceof WeakMap}v.isWeakMap=A;function M(ie){return i(ie)==="[object WeakSet]"}M.working=typeof WeakSet<"u"&&M(new WeakSet);function D(ie){return M(ie)}v.isWeakSet=D;function B(ie){return i(ie)==="[object ArrayBuffer]"}B.working=typeof ArrayBuffer<"u"&&B(new ArrayBuffer);function R(ie){return typeof ArrayBuffer>"u"?!1:B.working?B(ie):ie instanceof ArrayBuffer}v.isArrayBuffer=R;function q(ie){return i(ie)==="[object DataView]"}q.working=typeof ArrayBuffer<"u"&&typeof DataView<"u"&&q(new DataView(new ArrayBuffer(1),0,1));function F(ie){return typeof DataView>"u"?!1:q.working?q(ie):ie instanceof DataView}v.isDataView=F;var W=typeof SharedArrayBuffer<"u"?SharedArrayBuffer:void 0;function Y(ie){return i(ie)==="[object SharedArrayBuffer]"}function X(ie){return typeof W>"u"?!1:(typeof Y.working>"u"&&(Y.working=Y(new W)),Y.working?Y(ie):ie instanceof W)}v.isSharedArrayBuffer=X;function k(ie){return i(ie)==="[object AsyncFunction]"}v.isAsyncFunction=k;function N(ie){return i(ie)==="[object Map Iterator]"}v.isMapIterator=N;function Z(ie){return i(ie)==="[object Set Iterator]"}v.isSetIterator=Z;function Q(ie){return i(ie)==="[object Generator]"}v.isGeneratorObject=Q;function H(ie){return i(ie)==="[object WebAssembly.Module]"}v.isWebAssemblyCompiledModule=H;function L(ie){return h(ie,t)}v.isNumberObject=L;function ee(ie){return h(ie,e)}v.isStringObject=ee;function ne(ie){return h(ie,a)}v.isBooleanObject=ne;function fe(ie){return d&&h(ie,f)}v.isBigIntObject=fe;function ae(ie){return n&&h(ie,s)}v.isSymbolObject=ae;function ue(ie){return L(ie)||ee(ie)||ne(ie)||fe(ie)||ae(ie)}v.isBoxedPrimitive=ue;function ce(ie){return typeof Uint8Array<"u"&&(R(ie)||X(ie))}v.isAnyArrayBuffer=ce,["isProxy","isExternal","isModuleNamespaceObject"].forEach(function(ie){Object.defineProperty(v,ie,{enumerable:!1,value:function(){throw new Error(ie+" is not supported in userland")}})})}(types)),types}var isBufferBrowser,hasRequiredIsBufferBrowser;function requireIsBufferBrowser(){return hasRequiredIsBufferBrowser||(hasRequiredIsBufferBrowser=1,isBufferBrowser=function(m){return m&&typeof m=="object"&&typeof m.copy=="function"&&typeof m.fill=="function"&&typeof m.readUInt8=="function"}),isBufferBrowser}var hasRequiredUtil$1;function requireUtil$1(){return hasRequiredUtil$1||(hasRequiredUtil$1=1,function(v){var m={},x=Object.getOwnPropertyDescriptors||function(W){for(var Y=Object.keys(W),X={},k=0;k<Y.length;k++)X[Y[k]]=Object.getOwnPropertyDescriptor(W,Y[k]);return X},c=/%[sdj%]/g;v.format=function(F){if(!T(F)){for(var W=[],Y=0;Y<arguments.length;Y++)W.push(n(arguments[Y]));return W.join(" ")}for(var Y=1,X=arguments,k=X.length,N=String(F).replace(c,function(Q){if(Q==="%%")return"%";if(Y>=k)return Q;switch(Q){case"%s":return String(X[Y++]);case"%d":return Number(X[Y++]);case"%j":try{return JSON.stringify(X[Y++])}catch{return"[Circular]"}default:return Q}}),Z=X[Y];Y<k;Z=X[++Y])S(Z)||!G(Z)?N+=" "+Z:N+=" "+n(Z);return N},v.deprecate=function(F,W){if(typeof process$1<"u"&&process$1.noDeprecation===!0)return F;if(typeof process$1>"u")return function(){return v.deprecate(F,W).apply(this,arguments)};var Y=!1;function X(){if(!Y){if(process$1.throwDeprecation)throw new Error(W);process$1.traceDeprecation?console.trace(W):console.error(W),Y=!0}return F.apply(this,arguments)}return X};var y={},r=/^$/;if(m.NODE_DEBUG){var d=m.NODE_DEBUG;d=d.replace(/[|\\{}()[\]^$+?.]/g,"\\$&").replace(/\*/g,".*").replace(/,/g,"$|^").toUpperCase(),r=new RegExp("^"+d+"$","i")}v.debuglog=function(F){if(F=F.toUpperCase(),!y[F])if(r.test(F)){var W=process$1.pid;y[F]=function(){var Y=v.format.apply(v,arguments);console.error("%s %d: %s",F,W,Y)}}else y[F]=function(){};return y[F]};function n(F,W){var Y={seen:[],stylize:t};return arguments.length>=3&&(Y.depth=arguments[2]),arguments.length>=4&&(Y.colors=arguments[3]),_(W)?Y.showHidden=W:W&&v._extend(Y,W),z(Y.showHidden)&&(Y.showHidden=!1),z(Y.depth)&&(Y.depth=2),z(Y.colors)&&(Y.colors=!1),z(Y.customInspect)&&(Y.customInspect=!0),Y.colors&&(Y.stylize=i),a(Y,F,Y.depth)}v.inspect=n,n.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]},n.styles={special:"cyan",number:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",date:"magenta",regexp:"red"};function i(F,W){var Y=n.styles[W];return Y?"\x1B["+n.colors[Y][0]+"m"+F+"\x1B["+n.colors[Y][1]+"m":F}function t(F,W){return F}function e(F){var W={};return F.forEach(function(Y,X){W[Y]=!0}),W}function a(F,W,Y){if(F.customInspect&&W&&p(W.inspect)&&W.inspect!==v.inspect&&!(W.constructor&&W.constructor.prototype===W)){var X=W.inspect(Y,F);return T(X)||(X=a(F,X,Y)),X}var k=f(F,W);if(k)return k;var N=Object.keys(W),Z=e(N);if(F.showHidden&&(N=Object.getOwnPropertyNames(W)),u(W)&&(N.indexOf("message")>=0||N.indexOf("description")>=0))return s(W);if(N.length===0){if(p(W)){var Q=W.name?": "+W.name:"";return F.stylize("[Function"+Q+"]","special")}if(V(W))return F.stylize(RegExp.prototype.toString.call(W),"regexp");if(O(W))return F.stylize(Date.prototype.toString.call(W),"date");if(u(W))return s(W)}var H="",L=!1,ee=["{","}"];if(w(W)&&(L=!0,ee=["[","]"]),p(W)){var ne=W.name?": "+W.name:"";H=" [Function"+ne+"]"}if(V(W)&&(H=" "+RegExp.prototype.toString.call(W)),O(W)&&(H=" "+Date.prototype.toUTCString.call(W)),u(W)&&(H=" "+s(W)),N.length===0&&(!L||W.length==0))return ee[0]+H+ee[1];if(Y<0)return V(W)?F.stylize(RegExp.prototype.toString.call(W),"regexp"):F.stylize("[Object]","special");F.seen.push(W);var fe;return L?fe=h(F,W,Y,Z,N):fe=N.map(function(ae){return l(F,W,Y,Z,ae,L)}),F.seen.pop(),g(fe,H,ee)}function f(F,W){if(z(W))return F.stylize("undefined","undefined");if(T(W)){var Y="'"+JSON.stringify(W).replace(/^"|"$/g,"").replace(/'/g,"\\'").replace(/\\"/g,'"')+"'";return F.stylize(Y,"string")}if(P(W))return F.stylize(""+W,"number");if(_(W))return F.stylize(""+W,"boolean");if(S(W))return F.stylize("null","null")}function s(F){return"["+Error.prototype.toString.call(F)+"]"}function h(F,W,Y,X,k){for(var N=[],Z=0,Q=W.length;Z<Q;++Z)D(W,String(Z))?N.push(l(F,W,Y,X,String(Z),!0)):N.push("");return k.forEach(function(H){H.match(/^\d+$/)||N.push(l(F,W,Y,X,H,!0))}),N}function l(F,W,Y,X,k,N){var Z,Q,H;if(H=Object.getOwnPropertyDescriptor(W,k)||{value:W[k]},H.get?H.set?Q=F.stylize("[Getter/Setter]","special"):Q=F.stylize("[Getter]","special"):H.set&&(Q=F.stylize("[Setter]","special")),D(X,k)||(Z="["+k+"]"),Q||(F.seen.indexOf(H.value)<0?(S(Y)?Q=a(F,H.value,null):Q=a(F,H.value,Y-1),Q.indexOf(`
|
|
8
|
+
`)>-1&&(N?Q=Q.split(`
|
|
9
|
+
`).map(function(L){return" "+L}).join(`
|
|
10
|
+
`).slice(2):Q=`
|
|
11
|
+
`+Q.split(`
|
|
12
|
+
`).map(function(L){return" "+L}).join(`
|
|
13
|
+
`))):Q=F.stylize("[Circular]","special")),z(Z)){if(N&&k.match(/^\d+$/))return Q;Z=JSON.stringify(""+k),Z.match(/^"([a-zA-Z_][a-zA-Z_0-9]*)"$/)?(Z=Z.slice(1,-1),Z=F.stylize(Z,"name")):(Z=Z.replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'"),Z=F.stylize(Z,"string"))}return Z+": "+Q}function g(F,W,Y){var X=F.reduce(function(k,N){return N.indexOf(`
|
|
14
|
+
`)>=0,k+N.replace(/\u001b\[\d\d?m/g,"").length+1},0);return X>60?Y[0]+(W===""?"":W+`
|
|
15
|
+
`)+" "+F.join(`,
|
|
16
|
+
`)+" "+Y[1]:Y[0]+W+" "+F.join(", ")+" "+Y[1]}v.types=requireTypes();function w(F){return Array.isArray(F)}v.isArray=w;function _(F){return typeof F=="boolean"}v.isBoolean=_;function S(F){return F===null}v.isNull=S;function C(F){return F==null}v.isNullOrUndefined=C;function P(F){return typeof F=="number"}v.isNumber=P;function T(F){return typeof F=="string"}v.isString=T;function U(F){return typeof F=="symbol"}v.isSymbol=U;function z(F){return F===void 0}v.isUndefined=z;function V(F){return G(F)&&b(F)==="[object RegExp]"}v.isRegExp=V,v.types.isRegExp=V;function G(F){return typeof F=="object"&&F!==null}v.isObject=G;function O(F){return G(F)&&b(F)==="[object Date]"}v.isDate=O,v.types.isDate=O;function u(F){return G(F)&&(b(F)==="[object Error]"||F instanceof Error)}v.isError=u,v.types.isNativeError=u;function p(F){return typeof F=="function"}v.isFunction=p;function o(F){return F===null||typeof F=="boolean"||typeof F=="number"||typeof F=="string"||typeof F=="symbol"||typeof F>"u"}v.isPrimitive=o,v.isBuffer=requireIsBufferBrowser();function b(F){return Object.prototype.toString.call(F)}function E(F){return F<10?"0"+F.toString(10):F.toString(10)}var A=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"];function M(){var F=new Date,W=[E(F.getHours()),E(F.getMinutes()),E(F.getSeconds())].join(":");return[F.getDate(),A[F.getMonth()],W].join(" ")}v.log=function(){console.log("%s - %s",M(),v.format.apply(v,arguments))},v.inherits=requireInherits_browser(),v._extend=function(F,W){if(!W||!G(W))return F;for(var Y=Object.keys(W),X=Y.length;X--;)F[Y[X]]=W[Y[X]];return F};function D(F,W){return Object.prototype.hasOwnProperty.call(F,W)}var B=typeof Symbol<"u"?Symbol("util.promisify.custom"):void 0;v.promisify=function(W){if(typeof W!="function")throw new TypeError('The "original" argument must be of type Function');if(B&&W[B]){var Y=W[B];if(typeof Y!="function")throw new TypeError('The "util.promisify.custom" argument must be of type Function');return Object.defineProperty(Y,B,{value:Y,enumerable:!1,writable:!1,configurable:!0}),Y}function Y(){for(var X,k,N=new Promise(function(H,L){X=H,k=L}),Z=[],Q=0;Q<arguments.length;Q++)Z.push(arguments[Q]);Z.push(function(H,L){H?k(H):X(L)});try{W.apply(this,Z)}catch(H){k(H)}return N}return Object.setPrototypeOf(Y,Object.getPrototypeOf(W)),B&&Object.defineProperty(Y,B,{value:Y,enumerable:!1,writable:!1,configurable:!0}),Object.defineProperties(Y,x(W))},v.promisify.custom=B;function R(F,W){if(!F){var Y=new Error("Promise was rejected with a falsy value");Y.reason=F,F=Y}return W(F)}function q(F){if(typeof F!="function")throw new TypeError('The "original" argument must be of type Function');function W(){for(var Y=[],X=0;X<arguments.length;X++)Y.push(arguments[X]);var k=Y.pop();if(typeof k!="function")throw new TypeError("The last argument must be of type Function");var N=this,Z=function(){return k.apply(N,arguments)};F.apply(this,Y).then(function(Q){process$1.nextTick(Z.bind(null,null,Q))},function(Q){process$1.nextTick(R.bind(null,Q,Z))})}return Object.setPrototypeOf(W,Object.getPrototypeOf(F)),Object.defineProperties(W,x(F)),W}v.callbackify=q}(util$1)),util$1}var buffer_list,hasRequiredBuffer_list;function requireBuffer_list(){if(hasRequiredBuffer_list)return buffer_list;hasRequiredBuffer_list=1;function v(h,l){var g=Object.keys(h);if(Object.getOwnPropertySymbols){var w=Object.getOwnPropertySymbols(h);l&&(w=w.filter(function(_){return Object.getOwnPropertyDescriptor(h,_).enumerable})),g.push.apply(g,w)}return g}function m(h){for(var l=1;l<arguments.length;l++){var g=arguments[l]!=null?arguments[l]:{};l%2?v(Object(g),!0).forEach(function(w){x(h,w,g[w])}):Object.getOwnPropertyDescriptors?Object.defineProperties(h,Object.getOwnPropertyDescriptors(g)):v(Object(g)).forEach(function(w){Object.defineProperty(h,w,Object.getOwnPropertyDescriptor(g,w))})}return h}function x(h,l,g){return l=d(l),l in h?Object.defineProperty(h,l,{value:g,enumerable:!0,configurable:!0,writable:!0}):h[l]=g,h}function c(h,l){if(!(h instanceof l))throw new TypeError("Cannot call a class as a function")}function y(h,l){for(var g=0;g<l.length;g++){var w=l[g];w.enumerable=w.enumerable||!1,w.configurable=!0,"value"in w&&(w.writable=!0),Object.defineProperty(h,d(w.key),w)}}function r(h,l,g){return l&&y(h.prototype,l),Object.defineProperty(h,"prototype",{writable:!1}),h}function d(h){var l=n(h,"string");return typeof l=="symbol"?l:String(l)}function n(h,l){if(typeof h!="object"||h===null)return h;var g=h[Symbol.toPrimitive];if(g!==void 0){var w=g.call(h,l);if(typeof w!="object")return w;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(h)}var i=requireDist(),t=i.Buffer,e=requireUtil$1(),a=e.inspect,f=a&&a.custom||"inspect";function s(h,l,g){t.prototype.copy.call(h,l,g)}return buffer_list=function(){function h(){c(this,h),this.head=null,this.tail=null,this.length=0}return r(h,[{key:"push",value:function(g){var w={data:g,next:null};this.length>0?this.tail.next=w:this.head=w,this.tail=w,++this.length}},{key:"unshift",value:function(g){var w={data:g,next:this.head};this.length===0&&(this.tail=w),this.head=w,++this.length}},{key:"shift",value:function(){if(this.length!==0){var g=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,g}}},{key:"clear",value:function(){this.head=this.tail=null,this.length=0}},{key:"join",value:function(g){if(this.length===0)return"";for(var w=this.head,_=""+w.data;w=w.next;)_+=g+w.data;return _}},{key:"concat",value:function(g){if(this.length===0)return t.alloc(0);for(var w=t.allocUnsafe(g>>>0),_=this.head,S=0;_;)s(_.data,w,S),S+=_.data.length,_=_.next;return w}},{key:"consume",value:function(g,w){var _;return g<this.head.data.length?(_=this.head.data.slice(0,g),this.head.data=this.head.data.slice(g)):g===this.head.data.length?_=this.shift():_=w?this._getString(g):this._getBuffer(g),_}},{key:"first",value:function(){return this.head.data}},{key:"_getString",value:function(g){var w=this.head,_=1,S=w.data;for(g-=S.length;w=w.next;){var C=w.data,P=g>C.length?C.length:g;if(P===C.length?S+=C:S+=C.slice(0,g),g-=P,g===0){P===C.length?(++_,w.next?this.head=w.next:this.head=this.tail=null):(this.head=w,w.data=C.slice(P));break}++_}return this.length-=_,S}},{key:"_getBuffer",value:function(g){var w=t.allocUnsafe(g),_=this.head,S=1;for(_.data.copy(w),g-=_.data.length;_=_.next;){var C=_.data,P=g>C.length?C.length:g;if(C.copy(w,w.length-g,0,P),g-=P,g===0){P===C.length?(++S,_.next?this.head=_.next:this.head=this.tail=null):(this.head=_,_.data=C.slice(P));break}++S}return this.length-=S,w}},{key:f,value:function(g,w){return a(this,m(m({},w),{},{depth:0,customInspect:!1}))}}]),h}(),buffer_list}var destroy_1$1,hasRequiredDestroy$1;function requireDestroy$1(){if(hasRequiredDestroy$1)return destroy_1$1;hasRequiredDestroy$1=1;function v(d,n){var i=this,t=this._readableState&&this._readableState.destroyed,e=this._writableState&&this._writableState.destroyed;return t||e?(n?n(d):d&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,process$1.nextTick(y,this,d)):process$1.nextTick(y,this,d)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(d||null,function(a){!n&&a?i._writableState?i._writableState.errorEmitted?process$1.nextTick(x,i):(i._writableState.errorEmitted=!0,process$1.nextTick(m,i,a)):process$1.nextTick(m,i,a):n?(process$1.nextTick(x,i),n(a)):process$1.nextTick(x,i)}),this)}function m(d,n){y(d,n),x(d)}function x(d){d._writableState&&!d._writableState.emitClose||d._readableState&&!d._readableState.emitClose||d.emit("close")}function c(){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 y(d,n){d.emit("error",n)}function r(d,n){var i=d._readableState,t=d._writableState;i&&i.autoDestroy||t&&t.autoDestroy?d.destroy(n):d.emit("error",n)}return destroy_1$1={destroy:v,undestroy:c,errorOrDestroy:r},destroy_1$1}var errorsBrowser={},hasRequiredErrorsBrowser;function requireErrorsBrowser(){if(hasRequiredErrorsBrowser)return errorsBrowser;hasRequiredErrorsBrowser=1;function v(n,i){n.prototype=Object.create(i.prototype),n.prototype.constructor=n,n.__proto__=i}var m={};function x(n,i,t){t||(t=Error);function e(f,s,h){return typeof i=="string"?i:i(f,s,h)}var a=function(f){v(s,f);function s(h,l,g){return f.call(this,e(h,l,g))||this}return s}(t);a.prototype.name=t.name,a.prototype.code=n,m[n]=a}function c(n,i){if(Array.isArray(n)){var t=n.length;return n=n.map(function(e){return String(e)}),t>2?"one of ".concat(i," ").concat(n.slice(0,t-1).join(", "),", or ")+n[t-1]:t===2?"one of ".concat(i," ").concat(n[0]," or ").concat(n[1]):"of ".concat(i," ").concat(n[0])}else return"of ".concat(i," ").concat(String(n))}function y(n,i,t){return n.substr(0,i.length)===i}function r(n,i,t){return(t===void 0||t>n.length)&&(t=n.length),n.substring(t-i.length,t)===i}function d(n,i,t){return typeof t!="number"&&(t=0),t+i.length>n.length?!1:n.indexOf(i,t)!==-1}return x("ERR_INVALID_OPT_VALUE",function(n,i){return'The value "'+i+'" is invalid for option "'+n+'"'},TypeError),x("ERR_INVALID_ARG_TYPE",function(n,i,t){var e;typeof i=="string"&&y(i,"not ")?(e="must not be",i=i.replace(/^not /,"")):e="must be";var a;if(r(n," argument"))a="The ".concat(n," ").concat(e," ").concat(c(i,"type"));else{var f=d(n,".")?"property":"argument";a='The "'.concat(n,'" ').concat(f," ").concat(e," ").concat(c(i,"type"))}return a+=". Received type ".concat(typeof t),a},TypeError),x("ERR_STREAM_PUSH_AFTER_EOF","stream.push() after EOF"),x("ERR_METHOD_NOT_IMPLEMENTED",function(n){return"The "+n+" method is not implemented"}),x("ERR_STREAM_PREMATURE_CLOSE","Premature close"),x("ERR_STREAM_DESTROYED",function(n){return"Cannot call "+n+" after a stream was destroyed"}),x("ERR_MULTIPLE_CALLBACK","Callback called multiple times"),x("ERR_STREAM_CANNOT_PIPE","Cannot pipe, not readable"),x("ERR_STREAM_WRITE_AFTER_END","write after end"),x("ERR_STREAM_NULL_VALUES","May not write null values to stream",TypeError),x("ERR_UNKNOWN_ENCODING",function(n){return"Unknown encoding: "+n},TypeError),x("ERR_STREAM_UNSHIFT_AFTER_END_EVENT","stream.unshift() after end event"),errorsBrowser.codes=m,errorsBrowser}var state,hasRequiredState;function requireState(){if(hasRequiredState)return state;hasRequiredState=1;var v=requireErrorsBrowser().codes.ERR_INVALID_OPT_VALUE;function m(c,y,r){return c.highWaterMark!=null?c.highWaterMark:y?c[r]:null}function x(c,y,r,d){var n=m(y,d,r);if(n!=null){if(!(isFinite(n)&&Math.floor(n)===n)||n<0){var i=d?r:"highWaterMark";throw new v(i,n)}return Math.floor(n)}return c.objectMode?16:16*1024}return state={getHighWaterMark:x},state}var browser$a,hasRequiredBrowser$a;function requireBrowser$a(){if(hasRequiredBrowser$a)return browser$a;hasRequiredBrowser$a=1,browser$a=v;function v(x,c){if(m("noDeprecation"))return x;var y=!1;function r(){if(!y){if(m("throwDeprecation"))throw new Error(c);m("traceDeprecation")?console.trace(c):console.warn(c),y=!0}return x.apply(this,arguments)}return r}function m(x){try{if(!commonjsGlobal.localStorage)return!1}catch{return!1}var c=commonjsGlobal.localStorage[x];return c==null?!1:String(c).toLowerCase()==="true"}return browser$a}var _stream_writable$1,hasRequired_stream_writable$1;function require_stream_writable$1(){if(hasRequired_stream_writable$1)return _stream_writable$1;hasRequired_stream_writable$1=1,_stream_writable$1=z;function v(X){var k=this;this.next=null,this.entry=null,this.finish=function(){Y(k,X)}}var m;z.WritableState=T;var x={deprecate:requireBrowser$a()},c=requireStreamBrowser$1(),y=requireDist().Buffer,r=(typeof commonjsGlobal<"u"?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function d(X){return y.from(X)}function n(X){return y.isBuffer(X)||X instanceof r}var i=requireDestroy$1(),t=requireState(),e=t.getHighWaterMark,a=requireErrorsBrowser().codes,f=a.ERR_INVALID_ARG_TYPE,s=a.ERR_METHOD_NOT_IMPLEMENTED,h=a.ERR_MULTIPLE_CALLBACK,l=a.ERR_STREAM_CANNOT_PIPE,g=a.ERR_STREAM_DESTROYED,w=a.ERR_STREAM_NULL_VALUES,_=a.ERR_STREAM_WRITE_AFTER_END,S=a.ERR_UNKNOWN_ENCODING,C=i.errorOrDestroy;requireInherits_browser()(z,c);function P(){}function T(X,k,N){m=m||require_stream_duplex$1(),X=X||{},typeof N!="boolean"&&(N=k instanceof m),this.objectMode=!!X.objectMode,N&&(this.objectMode=this.objectMode||!!X.writableObjectMode),this.highWaterMark=e(this,X,"writableHighWaterMark",N),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var Z=X.decodeStrings===!1;this.decodeStrings=!Z,this.defaultEncoding=X.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(Q){E(k,Q)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.emitClose=X.emitClose!==!1,this.autoDestroy=!!X.autoDestroy,this.bufferedRequestCount=0,this.corkedRequestsFree=new v(this)}T.prototype.getBuffer=function(){for(var k=this.bufferedRequest,N=[];k;)N.push(k),k=k.next;return N},function(){try{Object.defineProperty(T.prototype,"buffer",{get:x.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var U;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(U=Function.prototype[Symbol.hasInstance],Object.defineProperty(z,Symbol.hasInstance,{value:function(k){return U.call(this,k)?!0:this!==z?!1:k&&k._writableState instanceof T}})):U=function(k){return k instanceof this};function z(X){m=m||require_stream_duplex$1();var k=this instanceof m;if(!k&&!U.call(z,this))return new z(X);this._writableState=new T(X,this,k),this.writable=!0,X&&(typeof X.write=="function"&&(this._write=X.write),typeof X.writev=="function"&&(this._writev=X.writev),typeof X.destroy=="function"&&(this._destroy=X.destroy),typeof X.final=="function"&&(this._final=X.final)),c.call(this)}z.prototype.pipe=function(){C(this,new l)};function V(X,k){var N=new _;C(X,N),process$1.nextTick(k,N)}function G(X,k,N,Z){var Q;return N===null?Q=new w:typeof N!="string"&&!k.objectMode&&(Q=new f("chunk",["string","Buffer"],N)),Q?(C(X,Q),process$1.nextTick(Z,Q),!1):!0}z.prototype.write=function(X,k,N){var Z=this._writableState,Q=!1,H=!Z.objectMode&&n(X);return H&&!y.isBuffer(X)&&(X=d(X)),typeof k=="function"&&(N=k,k=null),H?k="buffer":k||(k=Z.defaultEncoding),typeof N!="function"&&(N=P),Z.ending?V(this,N):(H||G(this,Z,X,N))&&(Z.pendingcb++,Q=u(this,Z,H,X,k,N)),Q},z.prototype.cork=function(){this._writableState.corked++},z.prototype.uncork=function(){var X=this._writableState;X.corked&&(X.corked--,!X.writing&&!X.corked&&!X.bufferProcessing&&X.bufferedRequest&&D(this,X))},z.prototype.setDefaultEncoding=function(k){if(typeof k=="string"&&(k=k.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((k+"").toLowerCase())>-1))throw new S(k);return this._writableState.defaultEncoding=k,this},Object.defineProperty(z.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}});function O(X,k,N){return!X.objectMode&&X.decodeStrings!==!1&&typeof k=="string"&&(k=y.from(k,N)),k}Object.defineProperty(z.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function u(X,k,N,Z,Q,H){if(!N){var L=O(k,Z,Q);Z!==L&&(N=!0,Q="buffer",Z=L)}var ee=k.objectMode?1:Z.length;k.length+=ee;var ne=k.length<k.highWaterMark;if(ne||(k.needDrain=!0),k.writing||k.corked){var fe=k.lastBufferedRequest;k.lastBufferedRequest={chunk:Z,encoding:Q,isBuf:N,callback:H,next:null},fe?fe.next=k.lastBufferedRequest:k.bufferedRequest=k.lastBufferedRequest,k.bufferedRequestCount+=1}else p(X,k,!1,ee,Z,Q,H);return ne}function p(X,k,N,Z,Q,H,L){k.writelen=Z,k.writecb=L,k.writing=!0,k.sync=!0,k.destroyed?k.onwrite(new g("write")):N?X._writev(Q,k.onwrite):X._write(Q,H,k.onwrite),k.sync=!1}function o(X,k,N,Z,Q){--k.pendingcb,N?(process$1.nextTick(Q,Z),process$1.nextTick(F,X,k),X._writableState.errorEmitted=!0,C(X,Z)):(Q(Z),X._writableState.errorEmitted=!0,C(X,Z),F(X,k))}function b(X){X.writing=!1,X.writecb=null,X.length-=X.writelen,X.writelen=0}function E(X,k){var N=X._writableState,Z=N.sync,Q=N.writecb;if(typeof Q!="function")throw new h;if(b(N),k)o(X,N,Z,k,Q);else{var H=B(N)||X.destroyed;!H&&!N.corked&&!N.bufferProcessing&&N.bufferedRequest&&D(X,N),Z?process$1.nextTick(A,X,N,H,Q):A(X,N,H,Q)}}function A(X,k,N,Z){N||M(X,k),k.pendingcb--,Z(),F(X,k)}function M(X,k){k.length===0&&k.needDrain&&(k.needDrain=!1,X.emit("drain"))}function D(X,k){k.bufferProcessing=!0;var N=k.bufferedRequest;if(X._writev&&N&&N.next){var Z=k.bufferedRequestCount,Q=new Array(Z),H=k.corkedRequestsFree;H.entry=N;for(var L=0,ee=!0;N;)Q[L]=N,N.isBuf||(ee=!1),N=N.next,L+=1;Q.allBuffers=ee,p(X,k,!0,k.length,Q,"",H.finish),k.pendingcb++,k.lastBufferedRequest=null,H.next?(k.corkedRequestsFree=H.next,H.next=null):k.corkedRequestsFree=new v(k),k.bufferedRequestCount=0}else{for(;N;){var ne=N.chunk,fe=N.encoding,ae=N.callback,ue=k.objectMode?1:ne.length;if(p(X,k,!1,ue,ne,fe,ae),N=N.next,k.bufferedRequestCount--,k.writing)break}N===null&&(k.lastBufferedRequest=null)}k.bufferedRequest=N,k.bufferProcessing=!1}z.prototype._write=function(X,k,N){N(new s("_write()"))},z.prototype._writev=null,z.prototype.end=function(X,k,N){var Z=this._writableState;return typeof X=="function"?(N=X,X=null,k=null):typeof k=="function"&&(N=k,k=null),X!=null&&this.write(X,k),Z.corked&&(Z.corked=1,this.uncork()),Z.ending||W(this,Z,N),this},Object.defineProperty(z.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function B(X){return X.ending&&X.length===0&&X.bufferedRequest===null&&!X.finished&&!X.writing}function R(X,k){X._final(function(N){k.pendingcb--,N&&C(X,N),k.prefinished=!0,X.emit("prefinish"),F(X,k)})}function q(X,k){!k.prefinished&&!k.finalCalled&&(typeof X._final=="function"&&!k.destroyed?(k.pendingcb++,k.finalCalled=!0,process$1.nextTick(R,X,k)):(k.prefinished=!0,X.emit("prefinish")))}function F(X,k){var N=B(k);if(N&&(q(X,k),k.pendingcb===0&&(k.finished=!0,X.emit("finish"),k.autoDestroy))){var Z=X._readableState;(!Z||Z.autoDestroy&&Z.endEmitted)&&X.destroy()}return N}function W(X,k,N){k.ending=!0,F(X,k),N&&(k.finished?process$1.nextTick(N):X.once("finish",N)),k.ended=!0,X.writable=!1}function Y(X,k,N){var Z=X.entry;for(X.entry=null;Z;){var Q=Z.callback;k.pendingcb--,Q(N),Z=Z.next}k.corkedRequestsFree.next=X}return Object.defineProperty(z.prototype,"destroyed",{enumerable:!1,get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(k){this._writableState&&(this._writableState.destroyed=k)}}),z.prototype.destroy=i.destroy,z.prototype._undestroy=i.undestroy,z.prototype._destroy=function(X,k){k(X)},_stream_writable$1}var _stream_duplex$1,hasRequired_stream_duplex$1;function require_stream_duplex$1(){if(hasRequired_stream_duplex$1)return _stream_duplex$1;hasRequired_stream_duplex$1=1;var v=Object.keys||function(t){var e=[];for(var a in t)e.push(a);return e};_stream_duplex$1=d;var m=require_stream_readable$1(),x=require_stream_writable$1();requireInherits_browser()(d,m);for(var c=v(x.prototype),y=0;y<c.length;y++){var r=c[y];d.prototype[r]||(d.prototype[r]=x.prototype[r])}function d(t){if(!(this instanceof d))return new d(t);m.call(this,t),x.call(this,t),this.allowHalfOpen=!0,t&&(t.readable===!1&&(this.readable=!1),t.writable===!1&&(this.writable=!1),t.allowHalfOpen===!1&&(this.allowHalfOpen=!1,this.once("end",n)))}Object.defineProperty(d.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}}),Object.defineProperty(d.prototype,"writableBuffer",{enumerable:!1,get:function(){return this._writableState&&this._writableState.getBuffer()}}),Object.defineProperty(d.prototype,"writableLength",{enumerable:!1,get:function(){return this._writableState.length}});function n(){this._writableState.ended||process$1.nextTick(i,this)}function i(t){t.end()}return Object.defineProperty(d.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)}}),_stream_duplex$1}var string_decoder={},hasRequiredString_decoder;function requireString_decoder(){if(hasRequiredString_decoder)return string_decoder;hasRequiredString_decoder=1;var v=requireSafeBuffer$1().Buffer,m=v.isEncoding||function(w){switch(w=""+w,w&&w.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 x(w){if(!w)return"utf8";for(var _;;)switch(w){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 w;default:if(_)return;w=(""+w).toLowerCase(),_=!0}}function c(w){var _=x(w);if(typeof _!="string"&&(v.isEncoding===m||!m(w)))throw new Error("Unknown encoding: "+w);return _||w}string_decoder.StringDecoder=y;function y(w){this.encoding=c(w);var _;switch(this.encoding){case"utf16le":this.text=a,this.end=f,_=4;break;case"utf8":this.fillLast=i,_=4;break;case"base64":this.text=s,this.end=h,_=3;break;default:this.write=l,this.end=g;return}this.lastNeed=0,this.lastTotal=0,this.lastChar=v.allocUnsafe(_)}y.prototype.write=function(w){if(w.length===0)return"";var _,S;if(this.lastNeed){if(_=this.fillLast(w),_===void 0)return"";S=this.lastNeed,this.lastNeed=0}else S=0;return S<w.length?_?_+this.text(w,S):this.text(w,S):_||""},y.prototype.end=e,y.prototype.text=t,y.prototype.fillLast=function(w){if(this.lastNeed<=w.length)return w.copy(this.lastChar,this.lastTotal-this.lastNeed,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);w.copy(this.lastChar,this.lastTotal-this.lastNeed,0,w.length),this.lastNeed-=w.length};function r(w){return w<=127?0:w>>5===6?2:w>>4===14?3:w>>3===30?4:w>>6===2?-1:-2}function d(w,_,S){var C=_.length-1;if(C<S)return 0;var P=r(_[C]);return P>=0?(P>0&&(w.lastNeed=P-1),P):--C<S||P===-2?0:(P=r(_[C]),P>=0?(P>0&&(w.lastNeed=P-2),P):--C<S||P===-2?0:(P=r(_[C]),P>=0?(P>0&&(P===2?P=0:w.lastNeed=P-3),P):0))}function n(w,_,S){if((_[0]&192)!==128)return w.lastNeed=0,"�";if(w.lastNeed>1&&_.length>1){if((_[1]&192)!==128)return w.lastNeed=1,"�";if(w.lastNeed>2&&_.length>2&&(_[2]&192)!==128)return w.lastNeed=2,"�"}}function i(w){var _=this.lastTotal-this.lastNeed,S=n(this,w);if(S!==void 0)return S;if(this.lastNeed<=w.length)return w.copy(this.lastChar,_,0,this.lastNeed),this.lastChar.toString(this.encoding,0,this.lastTotal);w.copy(this.lastChar,_,0,w.length),this.lastNeed-=w.length}function t(w,_){var S=d(this,w,_);if(!this.lastNeed)return w.toString("utf8",_);this.lastTotal=S;var C=w.length-(S-this.lastNeed);return w.copy(this.lastChar,0,C),w.toString("utf8",_,C)}function e(w){var _=w&&w.length?this.write(w):"";return this.lastNeed?_+"�":_}function a(w,_){if((w.length-_)%2===0){var S=w.toString("utf16le",_);if(S){var C=S.charCodeAt(S.length-1);if(C>=55296&&C<=56319)return this.lastNeed=2,this.lastTotal=4,this.lastChar[0]=w[w.length-2],this.lastChar[1]=w[w.length-1],S.slice(0,-1)}return S}return this.lastNeed=1,this.lastTotal=2,this.lastChar[0]=w[w.length-1],w.toString("utf16le",_,w.length-1)}function f(w){var _=w&&w.length?this.write(w):"";if(this.lastNeed){var S=this.lastTotal-this.lastNeed;return _+this.lastChar.toString("utf16le",0,S)}return _}function s(w,_){var S=(w.length-_)%3;return S===0?w.toString("base64",_):(this.lastNeed=3-S,this.lastTotal=3,S===1?this.lastChar[0]=w[w.length-1]:(this.lastChar[0]=w[w.length-2],this.lastChar[1]=w[w.length-1]),w.toString("base64",_,w.length-S))}function h(w){var _=w&&w.length?this.write(w):"";return this.lastNeed?_+this.lastChar.toString("base64",0,3-this.lastNeed):_}function l(w){return w.toString(this.encoding)}function g(w){return w&&w.length?this.write(w):""}return string_decoder}var endOfStream,hasRequiredEndOfStream;function requireEndOfStream(){if(hasRequiredEndOfStream)return endOfStream;hasRequiredEndOfStream=1;var v=requireErrorsBrowser().codes.ERR_STREAM_PREMATURE_CLOSE;function m(r){var d=!1;return function(){if(!d){d=!0;for(var n=arguments.length,i=new Array(n),t=0;t<n;t++)i[t]=arguments[t];r.apply(this,i)}}}function x(){}function c(r){return r.setHeader&&typeof r.abort=="function"}function y(r,d,n){if(typeof d=="function")return y(r,null,d);d||(d={}),n=m(n||x);var i=d.readable||d.readable!==!1&&r.readable,t=d.writable||d.writable!==!1&&r.writable,e=function(){r.writable||f()},a=r._writableState&&r._writableState.finished,f=function(){t=!1,a=!0,i||n.call(r)},s=r._readableState&&r._readableState.endEmitted,h=function(){i=!1,s=!0,t||n.call(r)},l=function(S){n.call(r,S)},g=function(){var S;if(i&&!s)return(!r._readableState||!r._readableState.ended)&&(S=new v),n.call(r,S);if(t&&!a)return(!r._writableState||!r._writableState.ended)&&(S=new v),n.call(r,S)},w=function(){r.req.on("finish",f)};return c(r)?(r.on("complete",f),r.on("abort",g),r.req?w():r.on("request",w)):t&&!r._writableState&&(r.on("end",e),r.on("close",e)),r.on("end",h),r.on("finish",f),d.error!==!1&&r.on("error",l),r.on("close",g),function(){r.removeListener("complete",f),r.removeListener("abort",g),r.removeListener("request",w),r.req&&r.req.removeListener("finish",f),r.removeListener("end",e),r.removeListener("close",e),r.removeListener("finish",f),r.removeListener("end",h),r.removeListener("error",l),r.removeListener("close",g)}}return endOfStream=y,endOfStream}var async_iterator,hasRequiredAsync_iterator;function requireAsync_iterator(){if(hasRequiredAsync_iterator)return async_iterator;hasRequiredAsync_iterator=1;var v;function m(S,C,P){return C=x(C),C in S?Object.defineProperty(S,C,{value:P,enumerable:!0,configurable:!0,writable:!0}):S[C]=P,S}function x(S){var C=c(S,"string");return typeof C=="symbol"?C:String(C)}function c(S,C){if(typeof S!="object"||S===null)return S;var P=S[Symbol.toPrimitive];if(P!==void 0){var T=P.call(S,C);if(typeof T!="object")return T;throw new TypeError("@@toPrimitive must return a primitive value.")}return(C==="string"?String:Number)(S)}var y=requireEndOfStream(),r=Symbol("lastResolve"),d=Symbol("lastReject"),n=Symbol("error"),i=Symbol("ended"),t=Symbol("lastPromise"),e=Symbol("handlePromise"),a=Symbol("stream");function f(S,C){return{value:S,done:C}}function s(S){var C=S[r];if(C!==null){var P=S[a].read();P!==null&&(S[t]=null,S[r]=null,S[d]=null,C(f(P,!1)))}}function h(S){process$1.nextTick(s,S)}function l(S,C){return function(P,T){S.then(function(){if(C[i]){P(f(void 0,!0));return}C[e](P,T)},T)}}var g=Object.getPrototypeOf(function(){}),w=Object.setPrototypeOf((v={get stream(){return this[a]},next:function(){var C=this,P=this[n];if(P!==null)return Promise.reject(P);if(this[i])return Promise.resolve(f(void 0,!0));if(this[a].destroyed)return new Promise(function(V,G){process$1.nextTick(function(){C[n]?G(C[n]):V(f(void 0,!0))})});var T=this[t],U;if(T)U=new Promise(l(T,this));else{var z=this[a].read();if(z!==null)return Promise.resolve(f(z,!1));U=new Promise(this[e])}return this[t]=U,U}},m(v,Symbol.asyncIterator,function(){return this}),m(v,"return",function(){var C=this;return new Promise(function(P,T){C[a].destroy(null,function(U){if(U){T(U);return}P(f(void 0,!0))})})}),v),g),_=function(C){var P,T=Object.create(w,(P={},m(P,a,{value:C,writable:!0}),m(P,r,{value:null,writable:!0}),m(P,d,{value:null,writable:!0}),m(P,n,{value:null,writable:!0}),m(P,i,{value:C._readableState.endEmitted,writable:!0}),m(P,e,{value:function(z,V){var G=T[a].read();G?(T[t]=null,T[r]=null,T[d]=null,z(f(G,!1))):(T[r]=z,T[d]=V)},writable:!0}),P));return T[t]=null,y(C,function(U){if(U&&U.code!=="ERR_STREAM_PREMATURE_CLOSE"){var z=T[d];z!==null&&(T[t]=null,T[r]=null,T[d]=null,z(U)),T[n]=U;return}var V=T[r];V!==null&&(T[t]=null,T[r]=null,T[d]=null,V(f(void 0,!0))),T[i]=!0}),C.on("readable",h.bind(null,T)),T};return async_iterator=_,async_iterator}var fromBrowser,hasRequiredFromBrowser;function requireFromBrowser(){return hasRequiredFromBrowser||(hasRequiredFromBrowser=1,fromBrowser=function(){throw new Error("Readable.from is not available in the browser")}),fromBrowser}var _stream_readable$1,hasRequired_stream_readable$1;function require_stream_readable$1(){if(hasRequired_stream_readable$1)return _stream_readable$1;hasRequired_stream_readable$1=1,_stream_readable$1=V;var v;V.ReadableState=z,requireEvents().EventEmitter;var m=function(L,ee){return L.listeners(ee).length},x=requireStreamBrowser$1(),c=requireDist().Buffer,y=(typeof commonjsGlobal<"u"?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function r(H){return c.from(H)}function d(H){return c.isBuffer(H)||H instanceof y}var n=requireUtil$1(),i;n&&n.debuglog?i=n.debuglog("stream"):i=function(){};var t=requireBuffer_list(),e=requireDestroy$1(),a=requireState(),f=a.getHighWaterMark,s=requireErrorsBrowser().codes,h=s.ERR_INVALID_ARG_TYPE,l=s.ERR_STREAM_PUSH_AFTER_EOF,g=s.ERR_METHOD_NOT_IMPLEMENTED,w=s.ERR_STREAM_UNSHIFT_AFTER_END_EVENT,_,S,C;requireInherits_browser()(V,x);var P=e.errorOrDestroy,T=["error","close","destroy","pause","resume"];function U(H,L,ee){if(typeof H.prependListener=="function")return H.prependListener(L,ee);!H._events||!H._events[L]?H.on(L,ee):Array.isArray(H._events[L])?H._events[L].unshift(ee):H._events[L]=[ee,H._events[L]]}function z(H,L,ee){v=v||require_stream_duplex$1(),H=H||{},typeof ee!="boolean"&&(ee=L instanceof v),this.objectMode=!!H.objectMode,ee&&(this.objectMode=this.objectMode||!!H.readableObjectMode),this.highWaterMark=f(this,H,"readableHighWaterMark",ee),this.buffer=new t,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=H.emitClose!==!1,this.autoDestroy=!!H.autoDestroy,this.destroyed=!1,this.defaultEncoding=H.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,H.encoding&&(_||(_=requireString_decoder().StringDecoder),this.decoder=new _(H.encoding),this.encoding=H.encoding)}function V(H){if(v=v||require_stream_duplex$1(),!(this instanceof V))return new V(H);var L=this instanceof v;this._readableState=new z(H,this,L),this.readable=!0,H&&(typeof H.read=="function"&&(this._read=H.read),typeof H.destroy=="function"&&(this._destroy=H.destroy)),x.call(this)}Object.defineProperty(V.prototype,"destroyed",{enumerable:!1,get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(L){this._readableState&&(this._readableState.destroyed=L)}}),V.prototype.destroy=e.destroy,V.prototype._undestroy=e.undestroy,V.prototype._destroy=function(H,L){L(H)},V.prototype.push=function(H,L){var ee=this._readableState,ne;return ee.objectMode?ne=!0:typeof H=="string"&&(L=L||ee.defaultEncoding,L!==ee.encoding&&(H=c.from(H,L),L=""),ne=!0),G(this,H,L,!1,ne)},V.prototype.unshift=function(H){return G(this,H,null,!0,!1)};function G(H,L,ee,ne,fe){i("readableAddChunk",L);var ae=H._readableState;if(L===null)ae.reading=!1,E(H,ae);else{var ue;if(fe||(ue=u(ae,L)),ue)P(H,ue);else if(ae.objectMode||L&&L.length>0)if(typeof L!="string"&&!ae.objectMode&&Object.getPrototypeOf(L)!==c.prototype&&(L=r(L)),ne)ae.endEmitted?P(H,new w):O(H,ae,L,!0);else if(ae.ended)P(H,new l);else{if(ae.destroyed)return!1;ae.reading=!1,ae.decoder&&!ee?(L=ae.decoder.write(L),ae.objectMode||L.length!==0?O(H,ae,L,!1):D(H,ae)):O(H,ae,L,!1)}else ne||(ae.reading=!1,D(H,ae))}return!ae.ended&&(ae.length<ae.highWaterMark||ae.length===0)}function O(H,L,ee,ne){L.flowing&&L.length===0&&!L.sync?(L.awaitDrain=0,H.emit("data",ee)):(L.length+=L.objectMode?1:ee.length,ne?L.buffer.unshift(ee):L.buffer.push(ee),L.needReadable&&A(H)),D(H,L)}function u(H,L){var ee;return!d(L)&&typeof L!="string"&&L!==void 0&&!H.objectMode&&(ee=new h("chunk",["string","Buffer","Uint8Array"],L)),ee}V.prototype.isPaused=function(){return this._readableState.flowing===!1},V.prototype.setEncoding=function(H){_||(_=requireString_decoder().StringDecoder);var L=new _(H);this._readableState.decoder=L,this._readableState.encoding=this._readableState.decoder.encoding;for(var ee=this._readableState.buffer.head,ne="";ee!==null;)ne+=L.write(ee.data),ee=ee.next;return this._readableState.buffer.clear(),ne!==""&&this._readableState.buffer.push(ne),this._readableState.length=ne.length,this};var p=1073741824;function o(H){return H>=p?H=p:(H--,H|=H>>>1,H|=H>>>2,H|=H>>>4,H|=H>>>8,H|=H>>>16,H++),H}function b(H,L){return H<=0||L.length===0&&L.ended?0:L.objectMode?1:H!==H?L.flowing&&L.length?L.buffer.head.data.length:L.length:(H>L.highWaterMark&&(L.highWaterMark=o(H)),H<=L.length?H:L.ended?L.length:(L.needReadable=!0,0))}V.prototype.read=function(H){i("read",H),H=parseInt(H,10);var L=this._readableState,ee=H;if(H!==0&&(L.emittedReadable=!1),H===0&&L.needReadable&&((L.highWaterMark!==0?L.length>=L.highWaterMark:L.length>0)||L.ended))return i("read: emitReadable",L.length,L.ended),L.length===0&&L.ended?N(this):A(this),null;if(H=b(H,L),H===0&&L.ended)return L.length===0&&N(this),null;var ne=L.needReadable;i("need readable",ne),(L.length===0||L.length-H<L.highWaterMark)&&(ne=!0,i("length less than watermark",ne)),L.ended||L.reading?(ne=!1,i("reading or ended",ne)):ne&&(i("do read"),L.reading=!0,L.sync=!0,L.length===0&&(L.needReadable=!0),this._read(L.highWaterMark),L.sync=!1,L.reading||(H=b(ee,L)));var fe;return H>0?fe=k(H,L):fe=null,fe===null?(L.needReadable=L.length<=L.highWaterMark,H=0):(L.length-=H,L.awaitDrain=0),L.length===0&&(L.ended||(L.needReadable=!0),ee!==H&&L.ended&&N(this)),fe!==null&&this.emit("data",fe),fe};function E(H,L){if(i("onEofChunk"),!L.ended){if(L.decoder){var ee=L.decoder.end();ee&&ee.length&&(L.buffer.push(ee),L.length+=L.objectMode?1:ee.length)}L.ended=!0,L.sync?A(H):(L.needReadable=!1,L.emittedReadable||(L.emittedReadable=!0,M(H)))}}function A(H){var L=H._readableState;i("emitReadable",L.needReadable,L.emittedReadable),L.needReadable=!1,L.emittedReadable||(i("emitReadable",L.flowing),L.emittedReadable=!0,process$1.nextTick(M,H))}function M(H){var L=H._readableState;i("emitReadable_",L.destroyed,L.length,L.ended),!L.destroyed&&(L.length||L.ended)&&(H.emit("readable"),L.emittedReadable=!1),L.needReadable=!L.flowing&&!L.ended&&L.length<=L.highWaterMark,X(H)}function D(H,L){L.readingMore||(L.readingMore=!0,process$1.nextTick(B,H,L))}function B(H,L){for(;!L.reading&&!L.ended&&(L.length<L.highWaterMark||L.flowing&&L.length===0);){var ee=L.length;if(i("maybeReadMore read 0"),H.read(0),ee===L.length)break}L.readingMore=!1}V.prototype._read=function(H){P(this,new g("_read()"))},V.prototype.pipe=function(H,L){var ee=this,ne=this._readableState;switch(ne.pipesCount){case 0:ne.pipes=H;break;case 1:ne.pipes=[ne.pipes,H];break;default:ne.pipes.push(H);break}ne.pipesCount+=1,i("pipe count=%d opts=%j",ne.pipesCount,L);var fe=(!L||L.end!==!1)&&H!==process$1.stdout&&H!==process$1.stderr,ae=fe?ce:Se;ne.endEmitted?process$1.nextTick(ae):ee.once("end",ae),H.on("unpipe",ue);function ue(ve,Me){i("onunpipe"),ve===ee&&Me&&Me.hasUnpiped===!1&&(Me.hasUnpiped=!0,oe())}function ce(){i("onend"),H.end()}var ie=R(ee);H.on("drain",ie);var be=!1;function oe(){i("cleanup"),H.removeListener("close",he),H.removeListener("finish",qe),H.removeListener("drain",ie),H.removeListener("error",de),H.removeListener("unpipe",ue),ee.removeListener("end",ce),ee.removeListener("end",Se),ee.removeListener("data",se),be=!0,ne.awaitDrain&&(!H._writableState||H._writableState.needDrain)&&ie()}ee.on("data",se);function se(ve){i("ondata");var Me=H.write(ve);i("dest.write",Me),Me===!1&&((ne.pipesCount===1&&ne.pipes===H||ne.pipesCount>1&&Q(ne.pipes,H)!==-1)&&!be&&(i("false write response, pause",ne.awaitDrain),ne.awaitDrain++),ee.pause())}function de(ve){i("onerror",ve),Se(),H.removeListener("error",de),m(H,"error")===0&&P(H,ve)}U(H,"error",de);function he(){H.removeListener("finish",qe),Se()}H.once("close",he);function qe(){i("onfinish"),H.removeListener("close",he),Se()}H.once("finish",qe);function Se(){i("unpipe"),ee.unpipe(H)}return H.emit("pipe",ee),ne.flowing||(i("pipe resume"),ee.resume()),H};function R(H){return function(){var ee=H._readableState;i("pipeOnDrain",ee.awaitDrain),ee.awaitDrain&&ee.awaitDrain--,ee.awaitDrain===0&&m(H,"data")&&(ee.flowing=!0,X(H))}}V.prototype.unpipe=function(H){var L=this._readableState,ee={hasUnpiped:!1};if(L.pipesCount===0)return this;if(L.pipesCount===1)return H&&H!==L.pipes?this:(H||(H=L.pipes),L.pipes=null,L.pipesCount=0,L.flowing=!1,H&&H.emit("unpipe",this,ee),this);if(!H){var ne=L.pipes,fe=L.pipesCount;L.pipes=null,L.pipesCount=0,L.flowing=!1;for(var ae=0;ae<fe;ae++)ne[ae].emit("unpipe",this,{hasUnpiped:!1});return this}var ue=Q(L.pipes,H);return ue===-1?this:(L.pipes.splice(ue,1),L.pipesCount-=1,L.pipesCount===1&&(L.pipes=L.pipes[0]),H.emit("unpipe",this,ee),this)},V.prototype.on=function(H,L){var ee=x.prototype.on.call(this,H,L),ne=this._readableState;return H==="data"?(ne.readableListening=this.listenerCount("readable")>0,ne.flowing!==!1&&this.resume()):H==="readable"&&!ne.endEmitted&&!ne.readableListening&&(ne.readableListening=ne.needReadable=!0,ne.flowing=!1,ne.emittedReadable=!1,i("on readable",ne.length,ne.reading),ne.length?A(this):ne.reading||process$1.nextTick(F,this)),ee},V.prototype.addListener=V.prototype.on,V.prototype.removeListener=function(H,L){var ee=x.prototype.removeListener.call(this,H,L);return H==="readable"&&process$1.nextTick(q,this),ee},V.prototype.removeAllListeners=function(H){var L=x.prototype.removeAllListeners.apply(this,arguments);return(H==="readable"||H===void 0)&&process$1.nextTick(q,this),L};function q(H){var L=H._readableState;L.readableListening=H.listenerCount("readable")>0,L.resumeScheduled&&!L.paused?L.flowing=!0:H.listenerCount("data")>0&&H.resume()}function F(H){i("readable nexttick read 0"),H.read(0)}V.prototype.resume=function(){var H=this._readableState;return H.flowing||(i("resume"),H.flowing=!H.readableListening,W(this,H)),H.paused=!1,this};function W(H,L){L.resumeScheduled||(L.resumeScheduled=!0,process$1.nextTick(Y,H,L))}function Y(H,L){i("resume",L.reading),L.reading||H.read(0),L.resumeScheduled=!1,H.emit("resume"),X(H),L.flowing&&!L.reading&&H.read(0)}V.prototype.pause=function(){return i("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(i("pause"),this._readableState.flowing=!1,this.emit("pause")),this._readableState.paused=!0,this};function X(H){var L=H._readableState;for(i("flow",L.flowing);L.flowing&&H.read()!==null;);}V.prototype.wrap=function(H){var L=this,ee=this._readableState,ne=!1;H.on("end",function(){if(i("wrapped end"),ee.decoder&&!ee.ended){var ue=ee.decoder.end();ue&&ue.length&&L.push(ue)}L.push(null)}),H.on("data",function(ue){if(i("wrapped data"),ee.decoder&&(ue=ee.decoder.write(ue)),!(ee.objectMode&&ue==null)&&!(!ee.objectMode&&(!ue||!ue.length))){var ce=L.push(ue);ce||(ne=!0,H.pause())}});for(var fe in H)this[fe]===void 0&&typeof H[fe]=="function"&&(this[fe]=function(ce){return function(){return H[ce].apply(H,arguments)}}(fe));for(var ae=0;ae<T.length;ae++)H.on(T[ae],this.emit.bind(this,T[ae]));return this._read=function(ue){i("wrapped _read",ue),ne&&(ne=!1,H.resume())},this},typeof Symbol=="function"&&(V.prototype[Symbol.asyncIterator]=function(){return S===void 0&&(S=requireAsync_iterator()),S(this)}),Object.defineProperty(V.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),Object.defineProperty(V.prototype,"readableBuffer",{enumerable:!1,get:function(){return this._readableState&&this._readableState.buffer}}),Object.defineProperty(V.prototype,"readableFlowing",{enumerable:!1,get:function(){return this._readableState.flowing},set:function(L){this._readableState&&(this._readableState.flowing=L)}}),V._fromList=k,Object.defineProperty(V.prototype,"readableLength",{enumerable:!1,get:function(){return this._readableState.length}});function k(H,L){if(L.length===0)return null;var ee;return L.objectMode?ee=L.buffer.shift():!H||H>=L.length?(L.decoder?ee=L.buffer.join(""):L.buffer.length===1?ee=L.buffer.first():ee=L.buffer.concat(L.length),L.buffer.clear()):ee=L.buffer.consume(H,L.decoder),ee}function N(H){var L=H._readableState;i("endReadable",L.endEmitted),L.endEmitted||(L.ended=!0,process$1.nextTick(Z,L,H))}function Z(H,L){if(i("endReadableNT",H.endEmitted,H.length),!H.endEmitted&&H.length===0&&(H.endEmitted=!0,L.readable=!1,L.emit("end"),H.autoDestroy)){var ee=L._writableState;(!ee||ee.autoDestroy&&ee.finished)&&L.destroy()}}typeof Symbol=="function"&&(V.from=function(H,L){return C===void 0&&(C=requireFromBrowser()),C(V,H,L)});function Q(H,L){for(var ee=0,ne=H.length;ee<ne;ee++)if(H[ee]===L)return ee;return-1}return _stream_readable$1}var _stream_transform$1,hasRequired_stream_transform$1;function require_stream_transform$1(){if(hasRequired_stream_transform$1)return _stream_transform$1;hasRequired_stream_transform$1=1,_stream_transform$1=n;var v=requireErrorsBrowser().codes,m=v.ERR_METHOD_NOT_IMPLEMENTED,x=v.ERR_MULTIPLE_CALLBACK,c=v.ERR_TRANSFORM_ALREADY_TRANSFORMING,y=v.ERR_TRANSFORM_WITH_LENGTH_0,r=require_stream_duplex$1();requireInherits_browser()(n,r);function d(e,a){var f=this._transformState;f.transforming=!1;var s=f.writecb;if(s===null)return this.emit("error",new x);f.writechunk=null,f.writecb=null,a!=null&&this.push(a),s(e);var h=this._readableState;h.reading=!1,(h.needReadable||h.length<h.highWaterMark)&&this._read(h.highWaterMark)}function n(e){if(!(this instanceof n))return new n(e);r.call(this,e),this._transformState={afterTransform:d.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",i)}function i(){var e=this;typeof this._flush=="function"&&!this._readableState.destroyed?this._flush(function(a,f){t(e,a,f)}):t(this,null,null)}n.prototype.push=function(e,a){return this._transformState.needTransform=!1,r.prototype.push.call(this,e,a)},n.prototype._transform=function(e,a,f){f(new m("_transform()"))},n.prototype._write=function(e,a,f){var s=this._transformState;if(s.writecb=f,s.writechunk=e,s.writeencoding=a,!s.transforming){var h=this._readableState;(s.needTransform||h.needReadable||h.length<h.highWaterMark)&&this._read(h.highWaterMark)}},n.prototype._read=function(e){var a=this._transformState;a.writechunk!==null&&!a.transforming?(a.transforming=!0,this._transform(a.writechunk,a.writeencoding,a.afterTransform)):a.needTransform=!0},n.prototype._destroy=function(e,a){r.prototype._destroy.call(this,e,function(f){a(f)})};function t(e,a,f){if(a)return e.emit("error",a);if(f!=null&&e.push(f),e._writableState.length)throw new y;if(e._transformState.transforming)throw new c;return e.push(null)}return _stream_transform$1}var _stream_passthrough$1,hasRequired_stream_passthrough$1;function require_stream_passthrough$1(){if(hasRequired_stream_passthrough$1)return _stream_passthrough$1;hasRequired_stream_passthrough$1=1,_stream_passthrough$1=m;var v=require_stream_transform$1();requireInherits_browser()(m,v);function m(x){if(!(this instanceof m))return new m(x);v.call(this,x)}return m.prototype._transform=function(x,c,y){y(null,x)},_stream_passthrough$1}var pipeline_1,hasRequiredPipeline;function requirePipeline(){if(hasRequiredPipeline)return pipeline_1;hasRequiredPipeline=1;var v;function m(f){var s=!1;return function(){s||(s=!0,f.apply(void 0,arguments))}}var x=requireErrorsBrowser().codes,c=x.ERR_MISSING_ARGS,y=x.ERR_STREAM_DESTROYED;function r(f){if(f)throw f}function d(f){return f.setHeader&&typeof f.abort=="function"}function n(f,s,h,l){l=m(l);var g=!1;f.on("close",function(){g=!0}),v===void 0&&(v=requireEndOfStream()),v(f,{readable:s,writable:h},function(_){if(_)return l(_);g=!0,l()});var w=!1;return function(_){if(!g&&!w){if(w=!0,d(f))return f.abort();if(typeof f.destroy=="function")return f.destroy();l(_||new y("pipe"))}}}function i(f){f()}function t(f,s){return f.pipe(s)}function e(f){return!f.length||typeof f[f.length-1]!="function"?r:f.pop()}function a(){for(var f=arguments.length,s=new Array(f),h=0;h<f;h++)s[h]=arguments[h];var l=e(s);if(Array.isArray(s[0])&&(s=s[0]),s.length<2)throw new c("streams");var g,w=s.map(function(_,S){var C=S<s.length-1,P=S>0;return n(_,C,P,function(T){g||(g=T),T&&w.forEach(i),!C&&(w.forEach(i),l(g))})});return s.reduce(t)}return pipeline_1=a,pipeline_1}var streamBrowserify,hasRequiredStreamBrowserify;function requireStreamBrowserify(){if(hasRequiredStreamBrowserify)return streamBrowserify;hasRequiredStreamBrowserify=1,streamBrowserify=x;var v=requireEvents().EventEmitter,m=requireInherits_browser();m(x,v),x.Readable=require_stream_readable$1(),x.Writable=require_stream_writable$1(),x.Duplex=require_stream_duplex$1(),x.Transform=require_stream_transform$1(),x.PassThrough=require_stream_passthrough$1(),x.finished=requireEndOfStream(),x.pipeline=requirePipeline(),x.Stream=x;function x(){v.call(this)}return x.prototype.pipe=function(c,y){var r=this;function d(s){c.writable&&c.write(s)===!1&&r.pause&&r.pause()}r.on("data",d);function n(){r.readable&&r.resume&&r.resume()}c.on("drain",n),!c._isStdio&&(!y||y.end!==!1)&&(r.on("end",t),r.on("close",e));var i=!1;function t(){i||(i=!0,c.end())}function e(){i||(i=!0,typeof c.destroy=="function"&&c.destroy())}function a(s){if(f(),v.listenerCount(this,"error")===0)throw s}r.on("error",a),c.on("error",a);function f(){r.removeListener("data",d),c.removeListener("drain",n),r.removeListener("end",t),r.removeListener("close",e),r.removeListener("error",a),c.removeListener("error",a),r.removeListener("end",f),r.removeListener("close",f),c.removeListener("close",f)}return r.on("end",f),r.on("close",f),c.on("close",f),c.emit("pipe",r),c},streamBrowserify}var hashBase$1,hasRequiredHashBase$1;function requireHashBase$1(){if(hasRequiredHashBase$1)return hashBase$1;hasRequiredHashBase$1=1;var v=requireSafeBuffer$1().Buffer,m=requireStreamBrowserify().Transform,x=requireInherits_browser();function c(n){m.call(this),this._block=v.allocUnsafe(n),this._blockSize=n,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}x(c,m),c.prototype._transform=function(n,i,t){var e=null;try{this.update(n,i)}catch(a){e=a}t(e)},c.prototype._flush=function(n){var i=null;try{this.push(this.digest())}catch(t){i=t}n(i)};var y=typeof Uint8Array<"u",r=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u"&&ArrayBuffer.isView&&(v.prototype instanceof Uint8Array||v.TYPED_ARRAY_SUPPORT);function d(n,i){if(n instanceof v)return n;if(typeof n=="string")return v.from(n,i);if(r&&ArrayBuffer.isView(n)){if(n.byteLength===0)return v.alloc(0);var t=v.from(n.buffer,n.byteOffset,n.byteLength);if(t.byteLength===n.byteLength)return t}if(y&&n instanceof Uint8Array||v.isBuffer(n)&&n.constructor&&typeof n.constructor.isBuffer=="function"&&n.constructor.isBuffer(n))return v.from(n);throw new TypeError('The "data" argument must be of type string or an instance of Buffer, TypedArray, or DataView.')}return c.prototype.update=function(n,i){if(this._finalized)throw new Error("Digest already called");n=d(n,i);for(var t=this._block,e=0;this._blockOffset+n.length-e>=this._blockSize;){for(var a=this._blockOffset;a<this._blockSize;)t[a++]=n[e++];this._update(),this._blockOffset=0}for(;e<n.length;)t[this._blockOffset++]=n[e++];for(var f=0,s=n.length*8;s>0;++f)this._length[f]+=s,s=this._length[f]/4294967296|0,s>0&&(this._length[f]-=4294967296*s);return this},c.prototype._update=function(){throw new Error("_update is not implemented")},c.prototype.digest=function(n){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var i=this._digest();n!==void 0&&(i=i.toString(n)),this._block.fill(0),this._blockOffset=0;for(var t=0;t<4;++t)this._length[t]=0;return i},c.prototype._digest=function(){throw new Error("_digest is not implemented")},hashBase$1=c,hashBase$1}var md5_js,hasRequiredMd5_js;function requireMd5_js(){if(hasRequiredMd5_js)return md5_js;hasRequiredMd5_js=1;var v=requireInherits_browser(),m=requireHashBase$1(),x=requireSafeBuffer$1().Buffer,c=new Array(16);function y(){m.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878}v(y,m),y.prototype._update=function(){for(var e=c,a=0;a<16;++a)e[a]=this._block.readInt32LE(a*4);var f=this._a,s=this._b,h=this._c,l=this._d;f=d(f,s,h,l,e[0],3614090360,7),l=d(l,f,s,h,e[1],3905402710,12),h=d(h,l,f,s,e[2],606105819,17),s=d(s,h,l,f,e[3],3250441966,22),f=d(f,s,h,l,e[4],4118548399,7),l=d(l,f,s,h,e[5],1200080426,12),h=d(h,l,f,s,e[6],2821735955,17),s=d(s,h,l,f,e[7],4249261313,22),f=d(f,s,h,l,e[8],1770035416,7),l=d(l,f,s,h,e[9],2336552879,12),h=d(h,l,f,s,e[10],4294925233,17),s=d(s,h,l,f,e[11],2304563134,22),f=d(f,s,h,l,e[12],1804603682,7),l=d(l,f,s,h,e[13],4254626195,12),h=d(h,l,f,s,e[14],2792965006,17),s=d(s,h,l,f,e[15],1236535329,22),f=n(f,s,h,l,e[1],4129170786,5),l=n(l,f,s,h,e[6],3225465664,9),h=n(h,l,f,s,e[11],643717713,14),s=n(s,h,l,f,e[0],3921069994,20),f=n(f,s,h,l,e[5],3593408605,5),l=n(l,f,s,h,e[10],38016083,9),h=n(h,l,f,s,e[15],3634488961,14),s=n(s,h,l,f,e[4],3889429448,20),f=n(f,s,h,l,e[9],568446438,5),l=n(l,f,s,h,e[14],3275163606,9),h=n(h,l,f,s,e[3],4107603335,14),s=n(s,h,l,f,e[8],1163531501,20),f=n(f,s,h,l,e[13],2850285829,5),l=n(l,f,s,h,e[2],4243563512,9),h=n(h,l,f,s,e[7],1735328473,14),s=n(s,h,l,f,e[12],2368359562,20),f=i(f,s,h,l,e[5],4294588738,4),l=i(l,f,s,h,e[8],2272392833,11),h=i(h,l,f,s,e[11],1839030562,16),s=i(s,h,l,f,e[14],4259657740,23),f=i(f,s,h,l,e[1],2763975236,4),l=i(l,f,s,h,e[4],1272893353,11),h=i(h,l,f,s,e[7],4139469664,16),s=i(s,h,l,f,e[10],3200236656,23),f=i(f,s,h,l,e[13],681279174,4),l=i(l,f,s,h,e[0],3936430074,11),h=i(h,l,f,s,e[3],3572445317,16),s=i(s,h,l,f,e[6],76029189,23),f=i(f,s,h,l,e[9],3654602809,4),l=i(l,f,s,h,e[12],3873151461,11),h=i(h,l,f,s,e[15],530742520,16),s=i(s,h,l,f,e[2],3299628645,23),f=t(f,s,h,l,e[0],4096336452,6),l=t(l,f,s,h,e[7],1126891415,10),h=t(h,l,f,s,e[14],2878612391,15),s=t(s,h,l,f,e[5],4237533241,21),f=t(f,s,h,l,e[12],1700485571,6),l=t(l,f,s,h,e[3],2399980690,10),h=t(h,l,f,s,e[10],4293915773,15),s=t(s,h,l,f,e[1],2240044497,21),f=t(f,s,h,l,e[8],1873313359,6),l=t(l,f,s,h,e[15],4264355552,10),h=t(h,l,f,s,e[6],2734768916,15),s=t(s,h,l,f,e[13],1309151649,21),f=t(f,s,h,l,e[4],4149444226,6),l=t(l,f,s,h,e[11],3174756917,10),h=t(h,l,f,s,e[2],718787259,15),s=t(s,h,l,f,e[9],3951481745,21),this._a=this._a+f|0,this._b=this._b+s|0,this._c=this._c+h|0,this._d=this._d+l|0},y.prototype._digest=function(){this._block[this._blockOffset++]=128,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var e=x.allocUnsafe(16);return e.writeInt32LE(this._a,0),e.writeInt32LE(this._b,4),e.writeInt32LE(this._c,8),e.writeInt32LE(this._d,12),e};function r(e,a){return e<<a|e>>>32-a}function d(e,a,f,s,h,l,g){return r(e+(a&f|~a&s)+h+l|0,g)+a|0}function n(e,a,f,s,h,l,g){return r(e+(a&s|f&~s)+h+l|0,g)+a|0}function i(e,a,f,s,h,l,g){return r(e+(a^f^s)+h+l|0,g)+a|0}function t(e,a,f,s,h,l,g){return r(e+(f^(a|~s))+h+l|0,g)+a|0}return md5_js=y,md5_js}var isarray$1,hasRequiredIsarray$1;function requireIsarray$1(){if(hasRequiredIsarray$1)return isarray$1;hasRequiredIsarray$1=1;var v={}.toString;return isarray$1=Array.isArray||function(m){return v.call(m)=="[object Array]"},isarray$1}var type,hasRequiredType;function requireType(){return hasRequiredType||(hasRequiredType=1,type=TypeError),type}var esObjectAtoms,hasRequiredEsObjectAtoms;function requireEsObjectAtoms(){return hasRequiredEsObjectAtoms||(hasRequiredEsObjectAtoms=1,esObjectAtoms=Object),esObjectAtoms}var esErrors,hasRequiredEsErrors;function requireEsErrors(){return hasRequiredEsErrors||(hasRequiredEsErrors=1,esErrors=Error),esErrors}var _eval,hasRequired_eval;function require_eval(){return hasRequired_eval||(hasRequired_eval=1,_eval=EvalError),_eval}var range,hasRequiredRange;function requireRange(){return hasRequiredRange||(hasRequiredRange=1,range=RangeError),range}var ref,hasRequiredRef;function requireRef(){return hasRequiredRef||(hasRequiredRef=1,ref=ReferenceError),ref}var syntax,hasRequiredSyntax;function requireSyntax(){return hasRequiredSyntax||(hasRequiredSyntax=1,syntax=SyntaxError),syntax}var uri,hasRequiredUri;function requireUri(){return hasRequiredUri||(hasRequiredUri=1,uri=URIError),uri}var abs,hasRequiredAbs;function requireAbs(){return hasRequiredAbs||(hasRequiredAbs=1,abs=Math.abs),abs}var floor,hasRequiredFloor;function requireFloor(){return hasRequiredFloor||(hasRequiredFloor=1,floor=Math.floor),floor}var max,hasRequiredMax;function requireMax(){return hasRequiredMax||(hasRequiredMax=1,max=Math.max),max}var min,hasRequiredMin;function requireMin(){return hasRequiredMin||(hasRequiredMin=1,min=Math.min),min}var pow,hasRequiredPow;function requirePow(){return hasRequiredPow||(hasRequiredPow=1,pow=Math.pow),pow}var round,hasRequiredRound;function requireRound(){return hasRequiredRound||(hasRequiredRound=1,round=Math.round),round}var _isNaN,hasRequired_isNaN;function require_isNaN(){return hasRequired_isNaN||(hasRequired_isNaN=1,_isNaN=Number.isNaN||function(m){return m!==m}),_isNaN}var sign$1,hasRequiredSign$1;function requireSign$1(){if(hasRequiredSign$1)return sign$1;hasRequiredSign$1=1;var v=require_isNaN();return sign$1=function(x){return v(x)||x===0?x:x<0?-1:1},sign$1}var gOPD,hasRequiredGOPD;function requireGOPD(){return hasRequiredGOPD||(hasRequiredGOPD=1,gOPD=Object.getOwnPropertyDescriptor),gOPD}var gopd,hasRequiredGopd;function requireGopd(){if(hasRequiredGopd)return gopd;hasRequiredGopd=1;var v=requireGOPD();if(v)try{v([],"length")}catch{v=null}return gopd=v,gopd}var esDefineProperty,hasRequiredEsDefineProperty;function requireEsDefineProperty(){if(hasRequiredEsDefineProperty)return esDefineProperty;hasRequiredEsDefineProperty=1;var v=Object.defineProperty||!1;if(v)try{v({},"a",{value:1})}catch{v=!1}return esDefineProperty=v,esDefineProperty}var shams$1,hasRequiredShams$1;function requireShams$1(){return hasRequiredShams$1||(hasRequiredShams$1=1,shams$1=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var m={},x=Symbol("test"),c=Object(x);if(typeof x=="string"||Object.prototype.toString.call(x)!=="[object Symbol]"||Object.prototype.toString.call(c)!=="[object Symbol]")return!1;var y=42;m[x]=y;for(var r in m)return!1;if(typeof Object.keys=="function"&&Object.keys(m).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(m).length!==0)return!1;var d=Object.getOwnPropertySymbols(m);if(d.length!==1||d[0]!==x||!Object.prototype.propertyIsEnumerable.call(m,x))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var n=Object.getOwnPropertyDescriptor(m,x);if(n.value!==y||n.enumerable!==!0)return!1}return!0}),shams$1}var hasSymbols,hasRequiredHasSymbols;function requireHasSymbols(){if(hasRequiredHasSymbols)return hasSymbols;hasRequiredHasSymbols=1;var v=typeof Symbol<"u"&&Symbol,m=requireShams$1();return hasSymbols=function(){return typeof v!="function"||typeof Symbol!="function"||typeof v("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:m()},hasSymbols}var Reflect_getPrototypeOf,hasRequiredReflect_getPrototypeOf;function requireReflect_getPrototypeOf(){return hasRequiredReflect_getPrototypeOf||(hasRequiredReflect_getPrototypeOf=1,Reflect_getPrototypeOf=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),Reflect_getPrototypeOf}var Object_getPrototypeOf,hasRequiredObject_getPrototypeOf;function requireObject_getPrototypeOf(){if(hasRequiredObject_getPrototypeOf)return Object_getPrototypeOf;hasRequiredObject_getPrototypeOf=1;var v=requireEsObjectAtoms();return Object_getPrototypeOf=v.getPrototypeOf||null,Object_getPrototypeOf}var implementation,hasRequiredImplementation;function requireImplementation(){if(hasRequiredImplementation)return implementation;hasRequiredImplementation=1;var v="Function.prototype.bind called on incompatible ",m=Object.prototype.toString,x=Math.max,c="[object Function]",y=function(i,t){for(var e=[],a=0;a<i.length;a+=1)e[a]=i[a];for(var f=0;f<t.length;f+=1)e[f+i.length]=t[f];return e},r=function(i,t){for(var e=[],a=t,f=0;a<i.length;a+=1,f+=1)e[f]=i[a];return e},d=function(n,i){for(var t="",e=0;e<n.length;e+=1)t+=n[e],e+1<n.length&&(t+=i);return t};return implementation=function(i){var t=this;if(typeof t!="function"||m.apply(t)!==c)throw new TypeError(v+t);for(var e=r(arguments,1),a,f=function(){if(this instanceof a){var w=t.apply(this,y(e,arguments));return Object(w)===w?w:this}return t.apply(i,y(e,arguments))},s=x(0,t.length-e.length),h=[],l=0;l<s;l++)h[l]="$"+l;if(a=Function("binder","return function ("+d(h,",")+"){ return binder.apply(this,arguments); }")(f),t.prototype){var g=function(){};g.prototype=t.prototype,a.prototype=new g,g.prototype=null}return a},implementation}var functionBind,hasRequiredFunctionBind;function requireFunctionBind(){if(hasRequiredFunctionBind)return functionBind;hasRequiredFunctionBind=1;var v=requireImplementation();return functionBind=Function.prototype.bind||v,functionBind}var functionCall,hasRequiredFunctionCall;function requireFunctionCall(){return hasRequiredFunctionCall||(hasRequiredFunctionCall=1,functionCall=Function.prototype.call),functionCall}var functionApply,hasRequiredFunctionApply;function requireFunctionApply(){return hasRequiredFunctionApply||(hasRequiredFunctionApply=1,functionApply=Function.prototype.apply),functionApply}var reflectApply,hasRequiredReflectApply;function requireReflectApply(){return hasRequiredReflectApply||(hasRequiredReflectApply=1,reflectApply=typeof Reflect<"u"&&Reflect&&Reflect.apply),reflectApply}var actualApply,hasRequiredActualApply;function requireActualApply(){if(hasRequiredActualApply)return actualApply;hasRequiredActualApply=1;var v=requireFunctionBind(),m=requireFunctionApply(),x=requireFunctionCall(),c=requireReflectApply();return actualApply=c||v.call(x,m),actualApply}var callBindApplyHelpers,hasRequiredCallBindApplyHelpers;function requireCallBindApplyHelpers(){if(hasRequiredCallBindApplyHelpers)return callBindApplyHelpers;hasRequiredCallBindApplyHelpers=1;var v=requireFunctionBind(),m=requireType(),x=requireFunctionCall(),c=requireActualApply();return callBindApplyHelpers=function(r){if(r.length<1||typeof r[0]!="function")throw new m("a function is required");return c(v,x,r)},callBindApplyHelpers}var get,hasRequiredGet;function requireGet(){if(hasRequiredGet)return get;hasRequiredGet=1;var v=requireCallBindApplyHelpers(),m=requireGopd(),x;try{x=[].__proto__===Array.prototype}catch(d){if(!d||typeof d!="object"||!("code"in d)||d.code!=="ERR_PROTO_ACCESS")throw d}var c=!!x&&m&&m(Object.prototype,"__proto__"),y=Object,r=y.getPrototypeOf;return get=c&&typeof c.get=="function"?v([c.get]):typeof r=="function"?function(n){return r(n==null?n:y(n))}:!1,get}var getProto,hasRequiredGetProto;function requireGetProto(){if(hasRequiredGetProto)return getProto;hasRequiredGetProto=1;var v=requireReflect_getPrototypeOf(),m=requireObject_getPrototypeOf(),x=requireGet();return getProto=v?function(y){return v(y)}:m?function(y){if(!y||typeof y!="object"&&typeof y!="function")throw new TypeError("getProto: not an object");return m(y)}:x?function(y){return x(y)}:null,getProto}var hasown,hasRequiredHasown;function requireHasown(){if(hasRequiredHasown)return hasown;hasRequiredHasown=1;var v=Function.prototype.call,m=Object.prototype.hasOwnProperty,x=requireFunctionBind();return hasown=x.call(v,m),hasown}var getIntrinsic,hasRequiredGetIntrinsic;function requireGetIntrinsic(){if(hasRequiredGetIntrinsic)return getIntrinsic;hasRequiredGetIntrinsic=1;var v,m=requireEsObjectAtoms(),x=requireEsErrors(),c=require_eval(),y=requireRange(),r=requireRef(),d=requireSyntax(),n=requireType(),i=requireUri(),t=requireAbs(),e=requireFloor(),a=requireMax(),f=requireMin(),s=requirePow(),h=requireRound(),l=requireSign$1(),g=Function,w=function(Z){try{return g('"use strict"; return ('+Z+").constructor;")()}catch{}},_=requireGopd(),S=requireEsDefineProperty(),C=function(){throw new n},P=_?function(){try{return arguments.callee,C}catch{try{return _(arguments,"callee").get}catch{return C}}}():C,T=requireHasSymbols()(),U=requireGetProto(),z=requireObject_getPrototypeOf(),V=requireReflect_getPrototypeOf(),G=requireFunctionApply(),O=requireFunctionCall(),u={},p=typeof Uint8Array>"u"||!U?v:U(Uint8Array),o={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?v:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?v:ArrayBuffer,"%ArrayIteratorPrototype%":T&&U?U([][Symbol.iterator]()):v,"%AsyncFromSyncIteratorPrototype%":v,"%AsyncFunction%":u,"%AsyncGenerator%":u,"%AsyncGeneratorFunction%":u,"%AsyncIteratorPrototype%":u,"%Atomics%":typeof Atomics>"u"?v:Atomics,"%BigInt%":typeof BigInt>"u"?v:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?v:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?v:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?v:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":x,"%eval%":eval,"%EvalError%":c,"%Float16Array%":typeof Float16Array>"u"?v:Float16Array,"%Float32Array%":typeof Float32Array>"u"?v:Float32Array,"%Float64Array%":typeof Float64Array>"u"?v:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?v:FinalizationRegistry,"%Function%":g,"%GeneratorFunction%":u,"%Int8Array%":typeof Int8Array>"u"?v:Int8Array,"%Int16Array%":typeof Int16Array>"u"?v:Int16Array,"%Int32Array%":typeof Int32Array>"u"?v:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":T&&U?U(U([][Symbol.iterator]())):v,"%JSON%":typeof JSON=="object"?JSON:v,"%Map%":typeof Map>"u"?v:Map,"%MapIteratorPrototype%":typeof Map>"u"||!T||!U?v:U(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":m,"%Object.getOwnPropertyDescriptor%":_,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?v:Promise,"%Proxy%":typeof Proxy>"u"?v:Proxy,"%RangeError%":y,"%ReferenceError%":r,"%Reflect%":typeof Reflect>"u"?v:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?v:Set,"%SetIteratorPrototype%":typeof Set>"u"||!T||!U?v:U(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?v:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":T&&U?U(""[Symbol.iterator]()):v,"%Symbol%":T?Symbol:v,"%SyntaxError%":d,"%ThrowTypeError%":P,"%TypedArray%":p,"%TypeError%":n,"%Uint8Array%":typeof Uint8Array>"u"?v:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?v:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?v:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?v:Uint32Array,"%URIError%":i,"%WeakMap%":typeof WeakMap>"u"?v:WeakMap,"%WeakRef%":typeof WeakRef>"u"?v:WeakRef,"%WeakSet%":typeof WeakSet>"u"?v:WeakSet,"%Function.prototype.call%":O,"%Function.prototype.apply%":G,"%Object.defineProperty%":S,"%Object.getPrototypeOf%":z,"%Math.abs%":t,"%Math.floor%":e,"%Math.max%":a,"%Math.min%":f,"%Math.pow%":s,"%Math.round%":h,"%Math.sign%":l,"%Reflect.getPrototypeOf%":V};if(U)try{null.error}catch(Z){var b=U(U(Z));o["%Error.prototype%"]=b}var E=function Z(Q){var H;if(Q==="%AsyncFunction%")H=w("async function () {}");else if(Q==="%GeneratorFunction%")H=w("function* () {}");else if(Q==="%AsyncGeneratorFunction%")H=w("async function* () {}");else if(Q==="%AsyncGenerator%"){var L=Z("%AsyncGeneratorFunction%");L&&(H=L.prototype)}else if(Q==="%AsyncIteratorPrototype%"){var ee=Z("%AsyncGenerator%");ee&&U&&(H=U(ee.prototype))}return o[Q]=H,H},A={__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"]},M=requireFunctionBind(),D=requireHasown(),B=M.call(O,Array.prototype.concat),R=M.call(G,Array.prototype.splice),q=M.call(O,String.prototype.replace),F=M.call(O,String.prototype.slice),W=M.call(O,RegExp.prototype.exec),Y=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,X=/\\(\\)?/g,k=function(Q){var H=F(Q,0,1),L=F(Q,-1);if(H==="%"&&L!=="%")throw new d("invalid intrinsic syntax, expected closing `%`");if(L==="%"&&H!=="%")throw new d("invalid intrinsic syntax, expected opening `%`");var ee=[];return q(Q,Y,function(ne,fe,ae,ue){ee[ee.length]=ae?q(ue,X,"$1"):fe||ne}),ee},N=function(Q,H){var L=Q,ee;if(D(A,L)&&(ee=A[L],L="%"+ee[0]+"%"),D(o,L)){var ne=o[L];if(ne===u&&(ne=E(L)),typeof ne>"u"&&!H)throw new n("intrinsic "+Q+" exists, but is not available. Please file an issue!");return{alias:ee,name:L,value:ne}}throw new d("intrinsic "+Q+" does not exist!")};return getIntrinsic=function(Q,H){if(typeof Q!="string"||Q.length===0)throw new n("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof H!="boolean")throw new n('"allowMissing" argument must be a boolean');if(W(/^%?[^%]*%?$/,Q)===null)throw new d("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var L=k(Q),ee=L.length>0?L[0]:"",ne=N("%"+ee+"%",H),fe=ne.name,ae=ne.value,ue=!1,ce=ne.alias;ce&&(ee=ce[0],R(L,B([0,1],ce)));for(var ie=1,be=!0;ie<L.length;ie+=1){var oe=L[ie],se=F(oe,0,1),de=F(oe,-1);if((se==='"'||se==="'"||se==="`"||de==='"'||de==="'"||de==="`")&&se!==de)throw new d("property names with quotes must have matching quotes");if((oe==="constructor"||!be)&&(ue=!0),ee+="."+oe,fe="%"+ee+"%",D(o,fe))ae=o[fe];else if(ae!=null){if(!(oe in ae)){if(!H)throw new n("base intrinsic for "+Q+" exists, but the property is not available.");return}if(_&&ie+1>=L.length){var he=_(ae,oe);be=!!he,be&&"get"in he&&!("originalValue"in he.get)?ae=he.get:ae=ae[oe]}else be=D(ae,oe),ae=ae[oe];be&&!ue&&(o[fe]=ae)}}return ae},getIntrinsic}var callBound$1,hasRequiredCallBound$1;function requireCallBound$1(){if(hasRequiredCallBound$1)return callBound$1;hasRequiredCallBound$1=1;var v=requireGetIntrinsic(),m=requireCallBindApplyHelpers(),x=m([v("%String.prototype.indexOf%")]);return callBound$1=function(y,r){var d=v(y,!!r);return typeof d=="function"&&x(y,".prototype.")>-1?m([d]):d},callBound$1}var forEach,hasRequiredForEach;function requireForEach(){if(hasRequiredForEach)return forEach;hasRequiredForEach=1;var v=requireIsCallable(),m=Object.prototype.toString,x=Object.prototype.hasOwnProperty,c=function(i,t,e){for(var a=0,f=i.length;a<f;a++)x.call(i,a)&&(e==null?t(i[a],a,i):t.call(e,i[a],a,i))},y=function(i,t,e){for(var a=0,f=i.length;a<f;a++)e==null?t(i.charAt(a),a,i):t.call(e,i.charAt(a),a,i)},r=function(i,t,e){for(var a in i)x.call(i,a)&&(e==null?t(i[a],a,i):t.call(e,i[a],a,i))};function d(n){return m.call(n)==="[object Array]"}return forEach=function(i,t,e){if(!v(t))throw new TypeError("iterator must be a function");var a;arguments.length>=3&&(a=e),d(i)?c(i,t,a):typeof i=="string"?y(i,t,a):r(i,t,a)},forEach}var possibleTypedArrayNames,hasRequiredPossibleTypedArrayNames;function requirePossibleTypedArrayNames(){return hasRequiredPossibleTypedArrayNames||(hasRequiredPossibleTypedArrayNames=1,possibleTypedArrayNames=["Float16Array","Float32Array","Float64Array","Int8Array","Int16Array","Int32Array","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","BigInt64Array","BigUint64Array"]),possibleTypedArrayNames}var availableTypedArrays,hasRequiredAvailableTypedArrays;function requireAvailableTypedArrays(){if(hasRequiredAvailableTypedArrays)return availableTypedArrays;hasRequiredAvailableTypedArrays=1;var v=requirePossibleTypedArrayNames(),m=typeof globalThis>"u"?commonjsGlobal:globalThis;return availableTypedArrays=function(){for(var c=[],y=0;y<v.length;y++)typeof m[v[y]]=="function"&&(c[c.length]=v[y]);return c},availableTypedArrays}var callBind={exports:{}},defineDataProperty,hasRequiredDefineDataProperty;function requireDefineDataProperty(){if(hasRequiredDefineDataProperty)return defineDataProperty;hasRequiredDefineDataProperty=1;var v=requireEsDefineProperty(),m=requireSyntax(),x=requireType(),c=requireGopd();return defineDataProperty=function(r,d,n){if(!r||typeof r!="object"&&typeof r!="function")throw new x("`obj` must be an object or a function`");if(typeof d!="string"&&typeof d!="symbol")throw new x("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new x("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new x("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new x("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new x("`loose`, if provided, must be a boolean");var i=arguments.length>3?arguments[3]:null,t=arguments.length>4?arguments[4]:null,e=arguments.length>5?arguments[5]:null,a=arguments.length>6?arguments[6]:!1,f=!!c&&c(r,d);if(v)v(r,d,{configurable:e===null&&f?f.configurable:!e,enumerable:i===null&&f?f.enumerable:!i,value:n,writable:t===null&&f?f.writable:!t});else if(a||!i&&!t&&!e)r[d]=n;else throw new m("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},defineDataProperty}var hasPropertyDescriptors_1,hasRequiredHasPropertyDescriptors;function requireHasPropertyDescriptors(){if(hasRequiredHasPropertyDescriptors)return hasPropertyDescriptors_1;hasRequiredHasPropertyDescriptors=1;var v=requireEsDefineProperty(),m=function(){return!!v};return m.hasArrayLengthDefineBug=function(){if(!v)return null;try{return v([],"length",{value:1}).length!==1}catch{return!0}},hasPropertyDescriptors_1=m,hasPropertyDescriptors_1}var setFunctionLength,hasRequiredSetFunctionLength;function requireSetFunctionLength(){if(hasRequiredSetFunctionLength)return setFunctionLength;hasRequiredSetFunctionLength=1;var v=requireGetIntrinsic(),m=requireDefineDataProperty(),x=requireHasPropertyDescriptors()(),c=requireGopd(),y=requireType(),r=v("%Math.floor%");return setFunctionLength=function(n,i){if(typeof n!="function")throw new y("`fn` is not a function");if(typeof i!="number"||i<0||i>4294967295||r(i)!==i)throw new y("`length` must be a positive 32-bit integer");var t=arguments.length>2&&!!arguments[2],e=!0,a=!0;if("length"in n&&c){var f=c(n,"length");f&&!f.configurable&&(e=!1),f&&!f.writable&&(a=!1)}return(e||a||!t)&&(x?m(n,"length",i,!0,!0):m(n,"length",i)),n},setFunctionLength}var applyBind,hasRequiredApplyBind;function requireApplyBind(){if(hasRequiredApplyBind)return applyBind;hasRequiredApplyBind=1;var v=requireFunctionBind(),m=requireFunctionApply(),x=requireActualApply();return applyBind=function(){return x(v,m,arguments)},applyBind}var hasRequiredCallBind;function requireCallBind(){return hasRequiredCallBind||(hasRequiredCallBind=1,function(v){var m=requireSetFunctionLength(),x=requireEsDefineProperty(),c=requireCallBindApplyHelpers(),y=requireApplyBind();v.exports=function(d){var n=c(arguments),i=d.length-(arguments.length-1);return m(n,1+(i>0?i:0),!0)},x?x(v.exports,"apply",{value:y}):v.exports.apply=y}(callBind)),callBind.exports}var callBound,hasRequiredCallBound;function requireCallBound(){if(hasRequiredCallBound)return callBound;hasRequiredCallBound=1;var v=requireGetIntrinsic(),m=requireCallBindApplyHelpers(),x=m([v("%String.prototype.indexOf%")]);return callBound=function(y,r){var d=v(y,!!r);return typeof d=="function"&&x(y,".prototype.")>-1?m([d]):d},callBound}var shams,hasRequiredShams;function requireShams(){if(hasRequiredShams)return shams;hasRequiredShams=1;var v=requireShams$1();return shams=function(){return v()&&!!Symbol.toStringTag},shams}var whichTypedArray,hasRequiredWhichTypedArray;function requireWhichTypedArray(){if(hasRequiredWhichTypedArray)return whichTypedArray;hasRequiredWhichTypedArray=1;var v=requireForEach(),m=requireAvailableTypedArrays(),x=requireCallBind(),c=requireCallBound(),y=requireGopd(),r=requireGetProto(),d=c("Object.prototype.toString"),n=requireShams()(),i=typeof globalThis>"u"?commonjsGlobal:globalThis,t=m(),e=c("String.prototype.slice"),a=c("Array.prototype.indexOf",!0)||function(g,w){for(var _=0;_<g.length;_+=1)if(g[_]===w)return _;return-1},f={__proto__:null};n&&y&&r?v(t,function(l){var g=new i[l];if(Symbol.toStringTag in g&&r){var w=r(g),_=y(w,Symbol.toStringTag);if(!_&&w){var S=r(w);_=y(S,Symbol.toStringTag)}f["$"+l]=x(_.get)}}):v(t,function(l){var g=new i[l],w=g.slice||g.set;w&&(f["$"+l]=x(w))});var s=function(g){var w=!1;return v(f,function(_,S){if(!w)try{"$"+_(g)===S&&(w=e(S,1))}catch{}}),w},h=function(g){var w=!1;return v(f,function(_,S){if(!w)try{_(g),w=e(S,1)}catch{}}),w};return whichTypedArray=function(g){if(!g||typeof g!="object")return!1;if(!n){var w=e(d(g),8,-1);return a(t,w)>-1?w:w!=="Object"?!1:h(g)}return y?s(g):null},whichTypedArray}var isTypedArray,hasRequiredIsTypedArray;function requireIsTypedArray(){if(hasRequiredIsTypedArray)return isTypedArray;hasRequiredIsTypedArray=1;var v=requireWhichTypedArray();return isTypedArray=function(x){return!!v(x)},isTypedArray}var typedArrayBuffer,hasRequiredTypedArrayBuffer;function requireTypedArrayBuffer(){if(hasRequiredTypedArrayBuffer)return typedArrayBuffer;hasRequiredTypedArrayBuffer=1;var v=requireType(),m=requireCallBound$1(),x=m("TypedArray.prototype.buffer",!0),c=requireIsTypedArray();return typedArrayBuffer=x||function(r){if(!c(r))throw new v("Not a Typed Array");return r.buffer},typedArrayBuffer}var toBuffer,hasRequiredToBuffer$2;function requireToBuffer$2(){if(hasRequiredToBuffer$2)return toBuffer;hasRequiredToBuffer$2=1;var v=requireSafeBuffer$1().Buffer,m=requireIsarray$1(),x=requireTypedArrayBuffer(),c=ArrayBuffer.isView||function(i){try{return x(i),!0}catch{return!1}},y=typeof Uint8Array<"u",r=typeof ArrayBuffer<"u"&&typeof Uint8Array<"u",d=r&&(v.prototype instanceof Uint8Array||v.TYPED_ARRAY_SUPPORT);return toBuffer=function(i,t){if(v.isBuffer(i))return i.constructor&&!("isBuffer"in i)?v.from(i):i;if(typeof i=="string")return v.from(i,t);if(r&&c(i)){if(i.byteLength===0)return v.alloc(0);if(d){var e=v.from(i.buffer,i.byteOffset,i.byteLength);if(e.byteLength===i.byteLength)return e}var a=i instanceof Uint8Array?i:new Uint8Array(i.buffer,i.byteOffset,i.byteLength),f=v.from(a);if(f.length===i.byteLength)return f}if(y&&i instanceof Uint8Array)return v.from(i);var s=m(i);if(s)for(var h=0;h<i.length;h+=1){var l=i[h];if(typeof l!="number"||l<0||l>255||~~l!==l)throw new RangeError("Array items must be numbers in the range 0-255.")}if(s||v.isBuffer(i)&&i.constructor&&typeof i.constructor.isBuffer=="function"&&i.constructor.isBuffer(i))return v.from(i);throw new TypeError('The "data" argument must be a string, an Array, a Buffer, a Uint8Array, or a DataView.')},toBuffer}var toBuffer_1$1,hasRequiredToBuffer$1;function requireToBuffer$1(){if(hasRequiredToBuffer$1)return toBuffer_1$1;hasRequiredToBuffer$1=1;var v=requireSafeBuffer$1().Buffer,m=requireToBuffer$2(),x=typeof Uint8Array<"u",c=x&&typeof ArrayBuffer<"u",y=c&&ArrayBuffer.isView;return toBuffer_1$1=function(r,d){if(typeof r=="string"||v.isBuffer(r)||x&&r instanceof Uint8Array||y&&y(r))return m(r,d);throw new TypeError('The "data" argument must be a string, a Buffer, a Uint8Array, or a DataView')},toBuffer_1$1}var readableBrowser={exports:{}},processNextickArgs={exports:{}},hasRequiredProcessNextickArgs;function requireProcessNextickArgs(){if(hasRequiredProcessNextickArgs)return processNextickArgs.exports;hasRequiredProcessNextickArgs=1,typeof process$1>"u"||!process$1.version||process$1.version.indexOf("v0.")===0||process$1.version.indexOf("v1.")===0&&process$1.version.indexOf("v1.8.")!==0?processNextickArgs.exports={nextTick:v}:processNextickArgs.exports=process$1;function v(m,x,c,y){if(typeof m!="function")throw new TypeError('"callback" argument must be a function');var r=arguments.length,d,n;switch(r){case 0:case 1:return process$1.nextTick(m);case 2:return process$1.nextTick(function(){m.call(null,x)});case 3:return process$1.nextTick(function(){m.call(null,x,c)});case 4:return process$1.nextTick(function(){m.call(null,x,c,y)});default:for(d=new Array(r-1),n=0;n<d.length;)d[n++]=arguments[n];return process$1.nextTick(function(){m.apply(null,d)})}}return processNextickArgs.exports}var isarray,hasRequiredIsarray;function requireIsarray(){if(hasRequiredIsarray)return isarray;hasRequiredIsarray=1;var v={}.toString;return isarray=Array.isArray||function(m){return v.call(m)=="[object Array]"},isarray}var streamBrowser,hasRequiredStreamBrowser;function requireStreamBrowser(){return hasRequiredStreamBrowser||(hasRequiredStreamBrowser=1,streamBrowser=requireEvents().EventEmitter),streamBrowser}var safeBuffer={exports:{}},hasRequiredSafeBuffer;function requireSafeBuffer(){return hasRequiredSafeBuffer||(hasRequiredSafeBuffer=1,function(v,m){var x=requireDist(),c=x.Buffer;function y(d,n){for(var i in d)n[i]=d[i]}c.from&&c.alloc&&c.allocUnsafe&&c.allocUnsafeSlow?v.exports=x:(y(x,m),m.Buffer=r);function r(d,n,i){return c(d,n,i)}y(c,r),r.from=function(d,n,i){if(typeof d=="number")throw new TypeError("Argument must not be a number");return c(d,n,i)},r.alloc=function(d,n,i){if(typeof d!="number")throw new TypeError("Argument must be a number");var t=c(d);return n!==void 0?typeof i=="string"?t.fill(n,i):t.fill(n):t.fill(0),t},r.allocUnsafe=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return c(d)},r.allocUnsafeSlow=function(d){if(typeof d!="number")throw new TypeError("Argument must be a number");return x.SlowBuffer(d)}}(safeBuffer,safeBuffer.exports)),safeBuffer.exports}var util={},hasRequiredUtil;function requireUtil(){if(hasRequiredUtil)return util;hasRequiredUtil=1;function v(l){return Array.isArray?Array.isArray(l):h(l)==="[object Array]"}util.isArray=v;function m(l){return typeof l=="boolean"}util.isBoolean=m;function x(l){return l===null}util.isNull=x;function c(l){return l==null}util.isNullOrUndefined=c;function y(l){return typeof l=="number"}util.isNumber=y;function r(l){return typeof l=="string"}util.isString=r;function d(l){return typeof l=="symbol"}util.isSymbol=d;function n(l){return l===void 0}util.isUndefined=n;function i(l){return h(l)==="[object RegExp]"}util.isRegExp=i;function t(l){return typeof l=="object"&&l!==null}util.isObject=t;function e(l){return h(l)==="[object Date]"}util.isDate=e;function a(l){return h(l)==="[object Error]"||l instanceof Error}util.isError=a;function f(l){return typeof l=="function"}util.isFunction=f;function s(l){return l===null||typeof l=="boolean"||typeof l=="number"||typeof l=="string"||typeof l=="symbol"||typeof l>"u"}util.isPrimitive=s,util.isBuffer=requireDist().Buffer.isBuffer;function h(l){return Object.prototype.toString.call(l)}return util}var BufferList={exports:{}},hasRequiredBufferList;function requireBufferList(){return hasRequiredBufferList||(hasRequiredBufferList=1,function(v){function m(r,d){if(!(r instanceof d))throw new TypeError("Cannot call a class as a function")}var x=requireSafeBuffer().Buffer,c=requireUtil$1();function y(r,d,n){r.copy(d,n)}v.exports=function(){function r(){m(this,r),this.head=null,this.tail=null,this.length=0}return r.prototype.push=function(n){var i={data:n,next:null};this.length>0?this.tail.next=i:this.head=i,this.tail=i,++this.length},r.prototype.unshift=function(n){var i={data:n,next:this.head};this.length===0&&(this.tail=i),this.head=i,++this.length},r.prototype.shift=function(){if(this.length!==0){var n=this.head.data;return this.length===1?this.head=this.tail=null:this.head=this.head.next,--this.length,n}},r.prototype.clear=function(){this.head=this.tail=null,this.length=0},r.prototype.join=function(n){if(this.length===0)return"";for(var i=this.head,t=""+i.data;i=i.next;)t+=n+i.data;return t},r.prototype.concat=function(n){if(this.length===0)return x.alloc(0);for(var i=x.allocUnsafe(n>>>0),t=this.head,e=0;t;)y(t.data,i,e),e+=t.data.length,t=t.next;return i},r}(),c&&c.inspect&&c.inspect.custom&&(v.exports.prototype[c.inspect.custom]=function(){var r=c.inspect({length:this.length});return this.constructor.name+" "+r})}(BufferList)),BufferList.exports}var destroy_1,hasRequiredDestroy;function requireDestroy(){if(hasRequiredDestroy)return destroy_1;hasRequiredDestroy=1;var v=requireProcessNextickArgs();function m(y,r){var d=this,n=this._readableState&&this._readableState.destroyed,i=this._writableState&&this._writableState.destroyed;return n||i?(r?r(y):y&&(this._writableState?this._writableState.errorEmitted||(this._writableState.errorEmitted=!0,v.nextTick(c,this,y)):v.nextTick(c,this,y)),this):(this._readableState&&(this._readableState.destroyed=!0),this._writableState&&(this._writableState.destroyed=!0),this._destroy(y||null,function(t){!r&&t?d._writableState?d._writableState.errorEmitted||(d._writableState.errorEmitted=!0,v.nextTick(c,d,t)):v.nextTick(c,d,t):r&&r(t)}),this)}function x(){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 c(y,r){y.emit("error",r)}return destroy_1={destroy:m,undestroy:x},destroy_1}var _stream_writable,hasRequired_stream_writable;function require_stream_writable(){if(hasRequired_stream_writable)return _stream_writable;hasRequired_stream_writable=1;var v=requireProcessNextickArgs();_stream_writable=l;function m(A){var M=this;this.next=null,this.entry=null,this.finish=function(){E(M,A)}}var x=!process$1.browser&&["v0.10","v0.9."].indexOf(process$1.version.slice(0,5))>-1?setImmediate:v.nextTick,c;l.WritableState=s;var y=Object.create(requireUtil());y.inherits=requireInherits_browser();var r={deprecate:requireBrowser$a()},d=requireStreamBrowser(),n=requireSafeBuffer().Buffer,i=(typeof commonjsGlobal<"u"?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function t(A){return n.from(A)}function e(A){return n.isBuffer(A)||A instanceof i}var a=requireDestroy();y.inherits(l,d);function f(){}function s(A,M){c=c||require_stream_duplex(),A=A||{};var D=M instanceof c;this.objectMode=!!A.objectMode,D&&(this.objectMode=this.objectMode||!!A.writableObjectMode);var B=A.highWaterMark,R=A.writableHighWaterMark,q=this.objectMode?16:16*1024;B||B===0?this.highWaterMark=B:D&&(R||R===0)?this.highWaterMark=R:this.highWaterMark=q,this.highWaterMark=Math.floor(this.highWaterMark),this.finalCalled=!1,this.needDrain=!1,this.ending=!1,this.ended=!1,this.finished=!1,this.destroyed=!1;var F=A.decodeStrings===!1;this.decodeStrings=!F,this.defaultEncoding=A.defaultEncoding||"utf8",this.length=0,this.writing=!1,this.corked=0,this.sync=!0,this.bufferProcessing=!1,this.onwrite=function(W){U(M,W)},this.writecb=null,this.writelen=0,this.bufferedRequest=null,this.lastBufferedRequest=null,this.pendingcb=0,this.prefinished=!1,this.errorEmitted=!1,this.bufferedRequestCount=0,this.corkedRequestsFree=new m(this)}s.prototype.getBuffer=function(){for(var M=this.bufferedRequest,D=[];M;)D.push(M),M=M.next;return D},function(){try{Object.defineProperty(s.prototype,"buffer",{get:r.deprecate(function(){return this.getBuffer()},"_writableState.buffer is deprecated. Use _writableState.getBuffer instead.","DEP0003")})}catch{}}();var h;typeof Symbol=="function"&&Symbol.hasInstance&&typeof Function.prototype[Symbol.hasInstance]=="function"?(h=Function.prototype[Symbol.hasInstance],Object.defineProperty(l,Symbol.hasInstance,{value:function(A){return h.call(this,A)?!0:this!==l?!1:A&&A._writableState instanceof s}})):h=function(A){return A instanceof this};function l(A){if(c=c||require_stream_duplex(),!h.call(l,this)&&!(this instanceof c))return new l(A);this._writableState=new s(A,this),this.writable=!0,A&&(typeof A.write=="function"&&(this._write=A.write),typeof A.writev=="function"&&(this._writev=A.writev),typeof A.destroy=="function"&&(this._destroy=A.destroy),typeof A.final=="function"&&(this._final=A.final)),d.call(this)}l.prototype.pipe=function(){this.emit("error",new Error("Cannot pipe, not readable"))};function g(A,M){var D=new Error("write after end");A.emit("error",D),v.nextTick(M,D)}function w(A,M,D,B){var R=!0,q=!1;return D===null?q=new TypeError("May not write null values to stream"):typeof D!="string"&&D!==void 0&&!M.objectMode&&(q=new TypeError("Invalid non-string/buffer chunk")),q&&(A.emit("error",q),v.nextTick(B,q),R=!1),R}l.prototype.write=function(A,M,D){var B=this._writableState,R=!1,q=!B.objectMode&&e(A);return q&&!n.isBuffer(A)&&(A=t(A)),typeof M=="function"&&(D=M,M=null),q?M="buffer":M||(M=B.defaultEncoding),typeof D!="function"&&(D=f),B.ended?g(this,D):(q||w(this,B,A,D))&&(B.pendingcb++,R=S(this,B,q,A,M,D)),R},l.prototype.cork=function(){var A=this._writableState;A.corked++},l.prototype.uncork=function(){var A=this._writableState;A.corked&&(A.corked--,!A.writing&&!A.corked&&!A.bufferProcessing&&A.bufferedRequest&&G(this,A))},l.prototype.setDefaultEncoding=function(M){if(typeof M=="string"&&(M=M.toLowerCase()),!(["hex","utf8","utf-8","ascii","binary","base64","ucs2","ucs-2","utf16le","utf-16le","raw"].indexOf((M+"").toLowerCase())>-1))throw new TypeError("Unknown encoding: "+M);return this._writableState.defaultEncoding=M,this};function _(A,M,D){return!A.objectMode&&A.decodeStrings!==!1&&typeof M=="string"&&(M=n.from(M,D)),M}Object.defineProperty(l.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function S(A,M,D,B,R,q){if(!D){var F=_(M,B,R);B!==F&&(D=!0,R="buffer",B=F)}var W=M.objectMode?1:B.length;M.length+=W;var Y=M.length<M.highWaterMark;if(Y||(M.needDrain=!0),M.writing||M.corked){var X=M.lastBufferedRequest;M.lastBufferedRequest={chunk:B,encoding:R,isBuf:D,callback:q,next:null},X?X.next=M.lastBufferedRequest:M.bufferedRequest=M.lastBufferedRequest,M.bufferedRequestCount+=1}else C(A,M,!1,W,B,R,q);return Y}function C(A,M,D,B,R,q,F){M.writelen=B,M.writecb=F,M.writing=!0,M.sync=!0,D?A._writev(R,M.onwrite):A._write(R,q,M.onwrite),M.sync=!1}function P(A,M,D,B,R){--M.pendingcb,D?(v.nextTick(R,B),v.nextTick(o,A,M),A._writableState.errorEmitted=!0,A.emit("error",B)):(R(B),A._writableState.errorEmitted=!0,A.emit("error",B),o(A,M))}function T(A){A.writing=!1,A.writecb=null,A.length-=A.writelen,A.writelen=0}function U(A,M){var D=A._writableState,B=D.sync,R=D.writecb;if(T(D),M)P(A,D,B,M,R);else{var q=O(D);!q&&!D.corked&&!D.bufferProcessing&&D.bufferedRequest&&G(A,D),B?x(z,A,D,q,R):z(A,D,q,R)}}function z(A,M,D,B){D||V(A,M),M.pendingcb--,B(),o(A,M)}function V(A,M){M.length===0&&M.needDrain&&(M.needDrain=!1,A.emit("drain"))}function G(A,M){M.bufferProcessing=!0;var D=M.bufferedRequest;if(A._writev&&D&&D.next){var B=M.bufferedRequestCount,R=new Array(B),q=M.corkedRequestsFree;q.entry=D;for(var F=0,W=!0;D;)R[F]=D,D.isBuf||(W=!1),D=D.next,F+=1;R.allBuffers=W,C(A,M,!0,M.length,R,"",q.finish),M.pendingcb++,M.lastBufferedRequest=null,q.next?(M.corkedRequestsFree=q.next,q.next=null):M.corkedRequestsFree=new m(M),M.bufferedRequestCount=0}else{for(;D;){var Y=D.chunk,X=D.encoding,k=D.callback,N=M.objectMode?1:Y.length;if(C(A,M,!1,N,Y,X,k),D=D.next,M.bufferedRequestCount--,M.writing)break}D===null&&(M.lastBufferedRequest=null)}M.bufferedRequest=D,M.bufferProcessing=!1}l.prototype._write=function(A,M,D){D(new Error("_write() is not implemented"))},l.prototype._writev=null,l.prototype.end=function(A,M,D){var B=this._writableState;typeof A=="function"?(D=A,A=null,M=null):typeof M=="function"&&(D=M,M=null),A!=null&&this.write(A,M),B.corked&&(B.corked=1,this.uncork()),B.ending||b(this,B,D)};function O(A){return A.ending&&A.length===0&&A.bufferedRequest===null&&!A.finished&&!A.writing}function u(A,M){A._final(function(D){M.pendingcb--,D&&A.emit("error",D),M.prefinished=!0,A.emit("prefinish"),o(A,M)})}function p(A,M){!M.prefinished&&!M.finalCalled&&(typeof A._final=="function"?(M.pendingcb++,M.finalCalled=!0,v.nextTick(u,A,M)):(M.prefinished=!0,A.emit("prefinish")))}function o(A,M){var D=O(M);return D&&(p(A,M),M.pendingcb===0&&(M.finished=!0,A.emit("finish"))),D}function b(A,M,D){M.ending=!0,o(A,M),D&&(M.finished?v.nextTick(D):A.once("finish",D)),M.ended=!0,A.writable=!1}function E(A,M,D){var B=A.entry;for(A.entry=null;B;){var R=B.callback;M.pendingcb--,R(D),B=B.next}M.corkedRequestsFree.next=A}return Object.defineProperty(l.prototype,"destroyed",{get:function(){return this._writableState===void 0?!1:this._writableState.destroyed},set:function(A){this._writableState&&(this._writableState.destroyed=A)}}),l.prototype.destroy=a.destroy,l.prototype._undestroy=a.undestroy,l.prototype._destroy=function(A,M){this.end(),M(A)},_stream_writable}var _stream_duplex,hasRequired_stream_duplex;function require_stream_duplex(){if(hasRequired_stream_duplex)return _stream_duplex;hasRequired_stream_duplex=1;var v=requireProcessNextickArgs(),m=Object.keys||function(a){var f=[];for(var s in a)f.push(s);return f};_stream_duplex=i;var x=Object.create(requireUtil());x.inherits=requireInherits_browser();var c=require_stream_readable(),y=require_stream_writable();x.inherits(i,c);for(var r=m(y.prototype),d=0;d<r.length;d++){var n=r[d];i.prototype[n]||(i.prototype[n]=y.prototype[n])}function i(a){if(!(this instanceof i))return new i(a);c.call(this,a),y.call(this,a),a&&a.readable===!1&&(this.readable=!1),a&&a.writable===!1&&(this.writable=!1),this.allowHalfOpen=!0,a&&a.allowHalfOpen===!1&&(this.allowHalfOpen=!1),this.once("end",t)}Object.defineProperty(i.prototype,"writableHighWaterMark",{enumerable:!1,get:function(){return this._writableState.highWaterMark}});function t(){this.allowHalfOpen||this._writableState.ended||v.nextTick(e,this)}function e(a){a.end()}return Object.defineProperty(i.prototype,"destroyed",{get:function(){return this._readableState===void 0||this._writableState===void 0?!1:this._readableState.destroyed&&this._writableState.destroyed},set:function(a){this._readableState===void 0||this._writableState===void 0||(this._readableState.destroyed=a,this._writableState.destroyed=a)}}),i.prototype._destroy=function(a,f){this.push(null),this.end(),v.nextTick(f,a)},_stream_duplex}var _stream_readable,hasRequired_stream_readable;function require_stream_readable(){if(hasRequired_stream_readable)return _stream_readable;hasRequired_stream_readable=1;var v=requireProcessNextickArgs();_stream_readable=_;var m=requireIsarray(),x;_.ReadableState=w,requireEvents().EventEmitter;var c=function(k,N){return k.listeners(N).length},y=requireStreamBrowser(),r=requireSafeBuffer().Buffer,d=(typeof commonjsGlobal<"u"?commonjsGlobal:typeof window<"u"?window:typeof self<"u"?self:{}).Uint8Array||function(){};function n(k){return r.from(k)}function i(k){return r.isBuffer(k)||k instanceof d}var t=Object.create(requireUtil());t.inherits=requireInherits_browser();var e=requireUtil$1(),a=void 0;e&&e.debuglog?a=e.debuglog("stream"):a=function(){};var f=requireBufferList(),s=requireDestroy(),h;t.inherits(_,y);var l=["error","close","destroy","pause","resume"];function g(k,N,Z){if(typeof k.prependListener=="function")return k.prependListener(N,Z);!k._events||!k._events[N]?k.on(N,Z):m(k._events[N])?k._events[N].unshift(Z):k._events[N]=[Z,k._events[N]]}function w(k,N){x=x||require_stream_duplex(),k=k||{};var Z=N instanceof x;this.objectMode=!!k.objectMode,Z&&(this.objectMode=this.objectMode||!!k.readableObjectMode);var Q=k.highWaterMark,H=k.readableHighWaterMark,L=this.objectMode?16:16*1024;Q||Q===0?this.highWaterMark=Q:Z&&(H||H===0)?this.highWaterMark=H:this.highWaterMark=L,this.highWaterMark=Math.floor(this.highWaterMark),this.buffer=new f,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.destroyed=!1,this.defaultEncoding=k.defaultEncoding||"utf8",this.awaitDrain=0,this.readingMore=!1,this.decoder=null,this.encoding=null,k.encoding&&(h||(h=requireString_decoder().StringDecoder),this.decoder=new h(k.encoding),this.encoding=k.encoding)}function _(k){if(x=x||require_stream_duplex(),!(this instanceof _))return new _(k);this._readableState=new w(k,this),this.readable=!0,k&&(typeof k.read=="function"&&(this._read=k.read),typeof k.destroy=="function"&&(this._destroy=k.destroy)),y.call(this)}Object.defineProperty(_.prototype,"destroyed",{get:function(){return this._readableState===void 0?!1:this._readableState.destroyed},set:function(k){this._readableState&&(this._readableState.destroyed=k)}}),_.prototype.destroy=s.destroy,_.prototype._undestroy=s.undestroy,_.prototype._destroy=function(k,N){this.push(null),N(k)},_.prototype.push=function(k,N){var Z=this._readableState,Q;return Z.objectMode?Q=!0:typeof k=="string"&&(N=N||Z.defaultEncoding,N!==Z.encoding&&(k=r.from(k,N),N=""),Q=!0),S(this,k,N,!1,Q)},_.prototype.unshift=function(k){return S(this,k,null,!0,!1)};function S(k,N,Z,Q,H){var L=k._readableState;if(N===null)L.reading=!1,G(k,L);else{var ee;H||(ee=P(L,N)),ee?k.emit("error",ee):L.objectMode||N&&N.length>0?(typeof N!="string"&&!L.objectMode&&Object.getPrototypeOf(N)!==r.prototype&&(N=n(N)),Q?L.endEmitted?k.emit("error",new Error("stream.unshift() after end event")):C(k,L,N,!0):L.ended?k.emit("error",new Error("stream.push() after EOF")):(L.reading=!1,L.decoder&&!Z?(N=L.decoder.write(N),L.objectMode||N.length!==0?C(k,L,N,!1):p(k,L)):C(k,L,N,!1))):Q||(L.reading=!1)}return T(L)}function C(k,N,Z,Q){N.flowing&&N.length===0&&!N.sync?(k.emit("data",Z),k.read(0)):(N.length+=N.objectMode?1:Z.length,Q?N.buffer.unshift(Z):N.buffer.push(Z),N.needReadable&&O(k)),p(k,N)}function P(k,N){var Z;return!i(N)&&typeof N!="string"&&N!==void 0&&!k.objectMode&&(Z=new TypeError("Invalid non-string/buffer chunk")),Z}function T(k){return!k.ended&&(k.needReadable||k.length<k.highWaterMark||k.length===0)}_.prototype.isPaused=function(){return this._readableState.flowing===!1},_.prototype.setEncoding=function(k){return h||(h=requireString_decoder().StringDecoder),this._readableState.decoder=new h(k),this._readableState.encoding=k,this};var U=8388608;function z(k){return k>=U?k=U:(k--,k|=k>>>1,k|=k>>>2,k|=k>>>4,k|=k>>>8,k|=k>>>16,k++),k}function V(k,N){return k<=0||N.length===0&&N.ended?0:N.objectMode?1:k!==k?N.flowing&&N.length?N.buffer.head.data.length:N.length:(k>N.highWaterMark&&(N.highWaterMark=z(k)),k<=N.length?k:N.ended?N.length:(N.needReadable=!0,0))}_.prototype.read=function(k){a("read",k),k=parseInt(k,10);var N=this._readableState,Z=k;if(k!==0&&(N.emittedReadable=!1),k===0&&N.needReadable&&(N.length>=N.highWaterMark||N.ended))return a("read: emitReadable",N.length,N.ended),N.length===0&&N.ended?W(this):O(this),null;if(k=V(k,N),k===0&&N.ended)return N.length===0&&W(this),null;var Q=N.needReadable;a("need readable",Q),(N.length===0||N.length-k<N.highWaterMark)&&(Q=!0,a("length less than watermark",Q)),N.ended||N.reading?(Q=!1,a("reading or ended",Q)):Q&&(a("do read"),N.reading=!0,N.sync=!0,N.length===0&&(N.needReadable=!0),this._read(N.highWaterMark),N.sync=!1,N.reading||(k=V(Z,N)));var H;return k>0?H=B(k,N):H=null,H===null?(N.needReadable=!0,k=0):N.length-=k,N.length===0&&(N.ended||(N.needReadable=!0),Z!==k&&N.ended&&W(this)),H!==null&&this.emit("data",H),H};function G(k,N){if(!N.ended){if(N.decoder){var Z=N.decoder.end();Z&&Z.length&&(N.buffer.push(Z),N.length+=N.objectMode?1:Z.length)}N.ended=!0,O(k)}}function O(k){var N=k._readableState;N.needReadable=!1,N.emittedReadable||(a("emitReadable",N.flowing),N.emittedReadable=!0,N.sync?v.nextTick(u,k):u(k))}function u(k){a("emit readable"),k.emit("readable"),D(k)}function p(k,N){N.readingMore||(N.readingMore=!0,v.nextTick(o,k,N))}function o(k,N){for(var Z=N.length;!N.reading&&!N.flowing&&!N.ended&&N.length<N.highWaterMark&&(a("maybeReadMore read 0"),k.read(0),Z!==N.length);)Z=N.length;N.readingMore=!1}_.prototype._read=function(k){this.emit("error",new Error("_read() is not implemented"))},_.prototype.pipe=function(k,N){var Z=this,Q=this._readableState;switch(Q.pipesCount){case 0:Q.pipes=k;break;case 1:Q.pipes=[Q.pipes,k];break;default:Q.pipes.push(k);break}Q.pipesCount+=1,a("pipe count=%d opts=%j",Q.pipesCount,N);var H=(!N||N.end!==!1)&&k!==process$1.stdout&&k!==process$1.stderr,L=H?ne:de;Q.endEmitted?v.nextTick(L):Z.once("end",L),k.on("unpipe",ee);function ee(he,qe){a("onunpipe"),he===Z&&qe&&qe.hasUnpiped===!1&&(qe.hasUnpiped=!0,ue())}function ne(){a("onend"),k.end()}var fe=b(Z);k.on("drain",fe);var ae=!1;function ue(){a("cleanup"),k.removeListener("close",oe),k.removeListener("finish",se),k.removeListener("drain",fe),k.removeListener("error",be),k.removeListener("unpipe",ee),Z.removeListener("end",ne),Z.removeListener("end",de),Z.removeListener("data",ie),ae=!0,Q.awaitDrain&&(!k._writableState||k._writableState.needDrain)&&fe()}var ce=!1;Z.on("data",ie);function ie(he){a("ondata"),ce=!1;var qe=k.write(he);qe===!1&&!ce&&((Q.pipesCount===1&&Q.pipes===k||Q.pipesCount>1&&X(Q.pipes,k)!==-1)&&!ae&&(a("false write response, pause",Q.awaitDrain),Q.awaitDrain++,ce=!0),Z.pause())}function be(he){a("onerror",he),de(),k.removeListener("error",be),c(k,"error")===0&&k.emit("error",he)}g(k,"error",be);function oe(){k.removeListener("finish",se),de()}k.once("close",oe);function se(){a("onfinish"),k.removeListener("close",oe),de()}k.once("finish",se);function de(){a("unpipe"),Z.unpipe(k)}return k.emit("pipe",Z),Q.flowing||(a("pipe resume"),Z.resume()),k};function b(k){return function(){var N=k._readableState;a("pipeOnDrain",N.awaitDrain),N.awaitDrain&&N.awaitDrain--,N.awaitDrain===0&&c(k,"data")&&(N.flowing=!0,D(k))}}_.prototype.unpipe=function(k){var N=this._readableState,Z={hasUnpiped:!1};if(N.pipesCount===0)return this;if(N.pipesCount===1)return k&&k!==N.pipes?this:(k||(k=N.pipes),N.pipes=null,N.pipesCount=0,N.flowing=!1,k&&k.emit("unpipe",this,Z),this);if(!k){var Q=N.pipes,H=N.pipesCount;N.pipes=null,N.pipesCount=0,N.flowing=!1;for(var L=0;L<H;L++)Q[L].emit("unpipe",this,{hasUnpiped:!1});return this}var ee=X(N.pipes,k);return ee===-1?this:(N.pipes.splice(ee,1),N.pipesCount-=1,N.pipesCount===1&&(N.pipes=N.pipes[0]),k.emit("unpipe",this,Z),this)},_.prototype.on=function(k,N){var Z=y.prototype.on.call(this,k,N);if(k==="data")this._readableState.flowing!==!1&&this.resume();else if(k==="readable"){var Q=this._readableState;!Q.endEmitted&&!Q.readableListening&&(Q.readableListening=Q.needReadable=!0,Q.emittedReadable=!1,Q.reading?Q.length&&O(this):v.nextTick(E,this))}return Z},_.prototype.addListener=_.prototype.on;function E(k){a("readable nexttick read 0"),k.read(0)}_.prototype.resume=function(){var k=this._readableState;return k.flowing||(a("resume"),k.flowing=!0,A(this,k)),this};function A(k,N){N.resumeScheduled||(N.resumeScheduled=!0,v.nextTick(M,k,N))}function M(k,N){N.reading||(a("resume read 0"),k.read(0)),N.resumeScheduled=!1,N.awaitDrain=0,k.emit("resume"),D(k),N.flowing&&!N.reading&&k.read(0)}_.prototype.pause=function(){return a("call pause flowing=%j",this._readableState.flowing),this._readableState.flowing!==!1&&(a("pause"),this._readableState.flowing=!1,this.emit("pause")),this};function D(k){var N=k._readableState;for(a("flow",N.flowing);N.flowing&&k.read()!==null;);}_.prototype.wrap=function(k){var N=this,Z=this._readableState,Q=!1;k.on("end",function(){if(a("wrapped end"),Z.decoder&&!Z.ended){var ee=Z.decoder.end();ee&&ee.length&&N.push(ee)}N.push(null)}),k.on("data",function(ee){if(a("wrapped data"),Z.decoder&&(ee=Z.decoder.write(ee)),!(Z.objectMode&&ee==null)&&!(!Z.objectMode&&(!ee||!ee.length))){var ne=N.push(ee);ne||(Q=!0,k.pause())}});for(var H in k)this[H]===void 0&&typeof k[H]=="function"&&(this[H]=function(ee){return function(){return k[ee].apply(k,arguments)}}(H));for(var L=0;L<l.length;L++)k.on(l[L],this.emit.bind(this,l[L]));return this._read=function(ee){a("wrapped _read",ee),Q&&(Q=!1,k.resume())},this},Object.defineProperty(_.prototype,"readableHighWaterMark",{enumerable:!1,get:function(){return this._readableState.highWaterMark}}),_._fromList=B;function B(k,N){if(N.length===0)return null;var Z;return N.objectMode?Z=N.buffer.shift():!k||k>=N.length?(N.decoder?Z=N.buffer.join(""):N.buffer.length===1?Z=N.buffer.head.data:Z=N.buffer.concat(N.length),N.buffer.clear()):Z=R(k,N.buffer,N.decoder),Z}function R(k,N,Z){var Q;return k<N.head.data.length?(Q=N.head.data.slice(0,k),N.head.data=N.head.data.slice(k)):k===N.head.data.length?Q=N.shift():Q=Z?q(k,N):F(k,N),Q}function q(k,N){var Z=N.head,Q=1,H=Z.data;for(k-=H.length;Z=Z.next;){var L=Z.data,ee=k>L.length?L.length:k;if(ee===L.length?H+=L:H+=L.slice(0,k),k-=ee,k===0){ee===L.length?(++Q,Z.next?N.head=Z.next:N.head=N.tail=null):(N.head=Z,Z.data=L.slice(ee));break}++Q}return N.length-=Q,H}function F(k,N){var Z=r.allocUnsafe(k),Q=N.head,H=1;for(Q.data.copy(Z),k-=Q.data.length;Q=Q.next;){var L=Q.data,ee=k>L.length?L.length:k;if(L.copy(Z,Z.length-k,0,ee),k-=ee,k===0){ee===L.length?(++H,Q.next?N.head=Q.next:N.head=N.tail=null):(N.head=Q,Q.data=L.slice(ee));break}++H}return N.length-=H,Z}function W(k){var N=k._readableState;if(N.length>0)throw new Error('"endReadable()" called on non-empty stream');N.endEmitted||(N.ended=!0,v.nextTick(Y,N,k))}function Y(k,N){!k.endEmitted&&k.length===0&&(k.endEmitted=!0,N.readable=!1,N.emit("end"))}function X(k,N){for(var Z=0,Q=k.length;Z<Q;Z++)if(k[Z]===N)return Z;return-1}return _stream_readable}var _stream_transform,hasRequired_stream_transform;function require_stream_transform(){if(hasRequired_stream_transform)return _stream_transform;hasRequired_stream_transform=1,_stream_transform=c;var v=require_stream_duplex(),m=Object.create(requireUtil());m.inherits=requireInherits_browser(),m.inherits(c,v);function x(d,n){var i=this._transformState;i.transforming=!1;var t=i.writecb;if(!t)return this.emit("error",new Error("write callback called multiple times"));i.writechunk=null,i.writecb=null,n!=null&&this.push(n),t(d);var e=this._readableState;e.reading=!1,(e.needReadable||e.length<e.highWaterMark)&&this._read(e.highWaterMark)}function c(d){if(!(this instanceof c))return new c(d);v.call(this,d),this._transformState={afterTransform:x.bind(this),needTransform:!1,transforming:!1,writecb:null,writechunk:null,writeencoding:null},this._readableState.needReadable=!0,this._readableState.sync=!1,d&&(typeof d.transform=="function"&&(this._transform=d.transform),typeof d.flush=="function"&&(this._flush=d.flush)),this.on("prefinish",y)}function y(){var d=this;typeof this._flush=="function"?this._flush(function(n,i){r(d,n,i)}):r(this,null,null)}c.prototype.push=function(d,n){return this._transformState.needTransform=!1,v.prototype.push.call(this,d,n)},c.prototype._transform=function(d,n,i){throw new Error("_transform() is not implemented")},c.prototype._write=function(d,n,i){var t=this._transformState;if(t.writecb=i,t.writechunk=d,t.writeencoding=n,!t.transforming){var e=this._readableState;(t.needTransform||e.needReadable||e.length<e.highWaterMark)&&this._read(e.highWaterMark)}},c.prototype._read=function(d){var n=this._transformState;n.writechunk!==null&&n.writecb&&!n.transforming?(n.transforming=!0,this._transform(n.writechunk,n.writeencoding,n.afterTransform)):n.needTransform=!0},c.prototype._destroy=function(d,n){var i=this;v.prototype._destroy.call(this,d,function(t){n(t),i.emit("close")})};function r(d,n,i){if(n)return d.emit("error",n);if(i!=null&&d.push(i),d._writableState.length)throw new Error("Calling transform done when ws.length != 0");if(d._transformState.transforming)throw new Error("Calling transform done when still transforming");return d.push(null)}return _stream_transform}var _stream_passthrough,hasRequired_stream_passthrough;function require_stream_passthrough(){if(hasRequired_stream_passthrough)return _stream_passthrough;hasRequired_stream_passthrough=1,_stream_passthrough=x;var v=require_stream_transform(),m=Object.create(requireUtil());m.inherits=requireInherits_browser(),m.inherits(x,v);function x(c){if(!(this instanceof x))return new x(c);v.call(this,c)}return x.prototype._transform=function(c,y,r){r(null,c)},_stream_passthrough}var hasRequiredReadableBrowser;function requireReadableBrowser(){return hasRequiredReadableBrowser||(hasRequiredReadableBrowser=1,function(v,m){m=v.exports=require_stream_readable(),m.Stream=m,m.Readable=m,m.Writable=require_stream_writable(),m.Duplex=require_stream_duplex(),m.Transform=require_stream_transform(),m.PassThrough=require_stream_passthrough()}(readableBrowser,readableBrowser.exports)),readableBrowser.exports}var hashBase,hasRequiredHashBase;function requireHashBase(){if(hasRequiredHashBase)return hashBase;hasRequiredHashBase=1;var v=requireSafeBuffer$1().Buffer,m=requireToBuffer$1(),x=requireReadableBrowser().Transform,c=requireInherits_browser();function y(r){x.call(this),this._block=v.allocUnsafe(r),this._blockSize=r,this._blockOffset=0,this._length=[0,0,0,0],this._finalized=!1}return c(y,x),y.prototype._transform=function(r,d,n){var i=null;try{this.update(r,d)}catch(t){i=t}n(i)},y.prototype._flush=function(r){var d=null;try{this.push(this.digest())}catch(n){d=n}r(d)},y.prototype.update=function(r,d){if(this._finalized)throw new Error("Digest already called");for(var n=m(r,d),i=this._block,t=0;this._blockOffset+n.length-t>=this._blockSize;){for(var e=this._blockOffset;e<this._blockSize;)i[e]=n[t],e+=1,t+=1;this._update(),this._blockOffset=0}for(;t<n.length;)i[this._blockOffset]=n[t],this._blockOffset+=1,t+=1;for(var a=0,f=n.length*8;f>0;++a)this._length[a]+=f,f=this._length[a]/4294967296|0,f>0&&(this._length[a]-=4294967296*f);return this},y.prototype._update=function(){throw new Error("_update is not implemented")},y.prototype.digest=function(r){if(this._finalized)throw new Error("Digest already called");this._finalized=!0;var d=this._digest();r!==void 0&&(d=d.toString(r)),this._block.fill(0),this._blockOffset=0;for(var n=0;n<4;++n)this._length[n]=0;return d},y.prototype._digest=function(){throw new Error("_digest is not implemented")},hashBase=y,hashBase}var ripemd160$2,hasRequiredRipemd160$1;function requireRipemd160$1(){if(hasRequiredRipemd160$1)return ripemd160$2;hasRequiredRipemd160$1=1;var v=requireDist().Buffer,m=requireInherits_browser(),x=requireHashBase(),c=new Array(16),y=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],r=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],d=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],n=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11],i=[0,1518500249,1859775393,2400959708,2840853838],t=[1352829926,1548603684,1836072691,2053994217,0];function e(w,_){return w<<_|w>>>32-_}function a(w,_,S,C,P,T,U,z){return e(w+(_^S^C)+T+U|0,z)+P|0}function f(w,_,S,C,P,T,U,z){return e(w+(_&S|~_&C)+T+U|0,z)+P|0}function s(w,_,S,C,P,T,U,z){return e(w+((_|~S)^C)+T+U|0,z)+P|0}function h(w,_,S,C,P,T,U,z){return e(w+(_&C|S&~C)+T+U|0,z)+P|0}function l(w,_,S,C,P,T,U,z){return e(w+(_^(S|~C))+T+U|0,z)+P|0}function g(){x.call(this,64),this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520}return m(g,x),g.prototype._update=function(){for(var w=c,_=0;_<16;++_)w[_]=this._block.readInt32LE(_*4);for(var S=this._a|0,C=this._b|0,P=this._c|0,T=this._d|0,U=this._e|0,z=this._a|0,V=this._b|0,G=this._c|0,O=this._d|0,u=this._e|0,p=0;p<80;p+=1){var o,b;p<16?(o=a(S,C,P,T,U,w[y[p]],i[0],d[p]),b=l(z,V,G,O,u,w[r[p]],t[0],n[p])):p<32?(o=f(S,C,P,T,U,w[y[p]],i[1],d[p]),b=h(z,V,G,O,u,w[r[p]],t[1],n[p])):p<48?(o=s(S,C,P,T,U,w[y[p]],i[2],d[p]),b=s(z,V,G,O,u,w[r[p]],t[2],n[p])):p<64?(o=h(S,C,P,T,U,w[y[p]],i[3],d[p]),b=f(z,V,G,O,u,w[r[p]],t[3],n[p])):(o=l(S,C,P,T,U,w[y[p]],i[4],d[p]),b=a(z,V,G,O,u,w[r[p]],t[4],n[p])),S=U,U=T,T=e(P,10),P=C,C=o,z=u,u=O,O=e(G,10),G=V,V=b}var E=this._b+P+O|0;this._b=this._c+T+u|0,this._c=this._d+U+z|0,this._d=this._e+S+V|0,this._e=this._a+C+G|0,this._a=E},g.prototype._digest=function(){this._block[this._blockOffset]=128,this._blockOffset+=1,this._blockOffset>56&&(this._block.fill(0,this._blockOffset,64),this._update(),this._blockOffset=0),this._block.fill(0,this._blockOffset,56),this._block.writeUInt32LE(this._length[0],56),this._block.writeUInt32LE(this._length[1],60),this._update();var w=v.alloc?v.alloc(20):new v(20);return w.writeInt32LE(this._a,0),w.writeInt32LE(this._b,4),w.writeInt32LE(this._c,8),w.writeInt32LE(this._d,12),w.writeInt32LE(this._e,16),w},ripemd160$2=g,ripemd160$2}var sha_js={exports:{}},hash$1,hasRequiredHash$1;function requireHash$1(){if(hasRequiredHash$1)return hash$1;hasRequiredHash$1=1;var v=requireSafeBuffer$1().Buffer,m=requireToBuffer$2();function x(c,y){this._block=v.alloc(c),this._finalSize=y,this._blockSize=c,this._len=0}return x.prototype.update=function(c,y){c=m(c,y||"utf8");for(var r=this._block,d=this._blockSize,n=c.length,i=this._len,t=0;t<n;){for(var e=i%d,a=Math.min(n-t,d-e),f=0;f<a;f++)r[e+f]=c[t+f];i+=a,t+=a,i%d===0&&this._update(r)}return this._len+=n,this},x.prototype.digest=function(c){var y=this._len%this._blockSize;this._block[y]=128,this._block.fill(0,y+1),y>=this._finalSize&&(this._update(this._block),this._block.fill(0));var r=this._len*8;if(r<=4294967295)this._block.writeUInt32BE(r,this._blockSize-4);else{var d=(r&4294967295)>>>0,n=(r-d)/4294967296;this._block.writeUInt32BE(n,this._blockSize-8),this._block.writeUInt32BE(d,this._blockSize-4)}this._update(this._block);var i=this._hash();return c?i.toString(c):i},x.prototype._update=function(){throw new Error("_update must be implemented by subclass")},hash$1=x,hash$1}var sha$1,hasRequiredSha$1;function requireSha$1(){if(hasRequiredSha$1)return sha$1;hasRequiredSha$1=1;var v=requireInherits_browser(),m=requireHash$1(),x=requireSafeBuffer$1().Buffer,c=[1518500249,1859775393,-1894007588,-899497514],y=new Array(80);function r(){this.init(),this._w=y,m.call(this,64,56)}v(r,m),r.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function d(t){return t<<5|t>>>27}function n(t){return t<<30|t>>>2}function i(t,e,a,f){return t===0?e&a|~e&f:t===2?e&a|e&f|a&f:e^a^f}return r.prototype._update=function(t){for(var e=this._w,a=this._a|0,f=this._b|0,s=this._c|0,h=this._d|0,l=this._e|0,g=0;g<16;++g)e[g]=t.readInt32BE(g*4);for(;g<80;++g)e[g]=e[g-3]^e[g-8]^e[g-14]^e[g-16];for(var w=0;w<80;++w){var _=~~(w/20),S=d(a)+i(_,f,s,h)+l+e[w]+c[_]|0;l=h,h=s,s=n(f),f=a,a=S}this._a=a+this._a|0,this._b=f+this._b|0,this._c=s+this._c|0,this._d=h+this._d|0,this._e=l+this._e|0},r.prototype._hash=function(){var t=x.allocUnsafe(20);return t.writeInt32BE(this._a|0,0),t.writeInt32BE(this._b|0,4),t.writeInt32BE(this._c|0,8),t.writeInt32BE(this._d|0,12),t.writeInt32BE(this._e|0,16),t},sha$1=r,sha$1}var sha1$2,hasRequiredSha1$1;function requireSha1$1(){if(hasRequiredSha1$1)return sha1$2;hasRequiredSha1$1=1;var v=requireInherits_browser(),m=requireHash$1(),x=requireSafeBuffer$1().Buffer,c=[1518500249,1859775393,-1894007588,-899497514],y=new Array(80);function r(){this.init(),this._w=y,m.call(this,64,56)}v(r,m),r.prototype.init=function(){return this._a=1732584193,this._b=4023233417,this._c=2562383102,this._d=271733878,this._e=3285377520,this};function d(e){return e<<1|e>>>31}function n(e){return e<<5|e>>>27}function i(e){return e<<30|e>>>2}function t(e,a,f,s){return e===0?a&f|~a&s:e===2?a&f|a&s|f&s:a^f^s}return r.prototype._update=function(e){for(var a=this._w,f=this._a|0,s=this._b|0,h=this._c|0,l=this._d|0,g=this._e|0,w=0;w<16;++w)a[w]=e.readInt32BE(w*4);for(;w<80;++w)a[w]=d(a[w-3]^a[w-8]^a[w-14]^a[w-16]);for(var _=0;_<80;++_){var S=~~(_/20),C=n(f)+t(S,s,h,l)+g+a[_]+c[S]|0;g=l,l=h,h=i(s),s=f,f=C}this._a=f+this._a|0,this._b=s+this._b|0,this._c=h+this._c|0,this._d=l+this._d|0,this._e=g+this._e|0},r.prototype._hash=function(){var e=x.allocUnsafe(20);return e.writeInt32BE(this._a|0,0),e.writeInt32BE(this._b|0,4),e.writeInt32BE(this._c|0,8),e.writeInt32BE(this._d|0,12),e.writeInt32BE(this._e|0,16),e},sha1$2=r,sha1$2}var sha256$3,hasRequiredSha256$1;function requireSha256$1(){if(hasRequiredSha256$1)return sha256$3;hasRequiredSha256$1=1;var v=requireInherits_browser(),m=requireHash$1(),x=requireSafeBuffer$1().Buffer,c=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298],y=new Array(64);function r(){this.init(),this._w=y,m.call(this,64,56)}v(r,m),r.prototype.init=function(){return this._a=1779033703,this._b=3144134277,this._c=1013904242,this._d=2773480762,this._e=1359893119,this._f=2600822924,this._g=528734635,this._h=1541459225,this};function d(f,s,h){return h^f&(s^h)}function n(f,s,h){return f&s|h&(f|s)}function i(f){return(f>>>2|f<<30)^(f>>>13|f<<19)^(f>>>22|f<<10)}function t(f){return(f>>>6|f<<26)^(f>>>11|f<<21)^(f>>>25|f<<7)}function e(f){return(f>>>7|f<<25)^(f>>>18|f<<14)^f>>>3}function a(f){return(f>>>17|f<<15)^(f>>>19|f<<13)^f>>>10}return r.prototype._update=function(f){for(var s=this._w,h=this._a|0,l=this._b|0,g=this._c|0,w=this._d|0,_=this._e|0,S=this._f|0,C=this._g|0,P=this._h|0,T=0;T<16;++T)s[T]=f.readInt32BE(T*4);for(;T<64;++T)s[T]=a(s[T-2])+s[T-7]+e(s[T-15])+s[T-16]|0;for(var U=0;U<64;++U){var z=P+t(_)+d(_,S,C)+c[U]+s[U]|0,V=i(h)+n(h,l,g)|0;P=C,C=S,S=_,_=w+z|0,w=g,g=l,l=h,h=z+V|0}this._a=h+this._a|0,this._b=l+this._b|0,this._c=g+this._c|0,this._d=w+this._d|0,this._e=_+this._e|0,this._f=S+this._f|0,this._g=C+this._g|0,this._h=P+this._h|0},r.prototype._hash=function(){var f=x.allocUnsafe(32);return f.writeInt32BE(this._a,0),f.writeInt32BE(this._b,4),f.writeInt32BE(this._c,8),f.writeInt32BE(this._d,12),f.writeInt32BE(this._e,16),f.writeInt32BE(this._f,20),f.writeInt32BE(this._g,24),f.writeInt32BE(this._h,28),f},sha256$3=r,sha256$3}var sha224$3,hasRequiredSha224$1;function requireSha224$1(){if(hasRequiredSha224$1)return sha224$3;hasRequiredSha224$1=1;var v=requireInherits_browser(),m=requireSha256$1(),x=requireHash$1(),c=requireSafeBuffer$1().Buffer,y=new Array(64);function r(){this.init(),this._w=y,x.call(this,64,56)}return v(r,m),r.prototype.init=function(){return this._a=3238371032,this._b=914150663,this._c=812702999,this._d=4144912697,this._e=4290775857,this._f=1750603025,this._g=1694076839,this._h=3204075428,this},r.prototype._hash=function(){var d=c.allocUnsafe(28);return d.writeInt32BE(this._a,0),d.writeInt32BE(this._b,4),d.writeInt32BE(this._c,8),d.writeInt32BE(this._d,12),d.writeInt32BE(this._e,16),d.writeInt32BE(this._f,20),d.writeInt32BE(this._g,24),d},sha224$3=r,sha224$3}var sha512$3,hasRequiredSha512$1;function requireSha512$1(){if(hasRequiredSha512$1)return sha512$3;hasRequiredSha512$1=1;var v=requireInherits_browser(),m=requireHash$1(),x=requireSafeBuffer$1().Buffer,c=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591],y=new Array(160);function r(){this.init(),this._w=y,m.call(this,128,112)}v(r,m),r.prototype.init=function(){return this._ah=1779033703,this._bh=3144134277,this._ch=1013904242,this._dh=2773480762,this._eh=1359893119,this._fh=2600822924,this._gh=528734635,this._hh=1541459225,this._al=4089235720,this._bl=2227873595,this._cl=4271175723,this._dl=1595750129,this._el=2917565137,this._fl=725511199,this._gl=4215389547,this._hl=327033209,this};function d(l,g,w){return w^l&(g^w)}function n(l,g,w){return l&g|w&(l|g)}function i(l,g){return(l>>>28|g<<4)^(g>>>2|l<<30)^(g>>>7|l<<25)}function t(l,g){return(l>>>14|g<<18)^(l>>>18|g<<14)^(g>>>9|l<<23)}function e(l,g){return(l>>>1|g<<31)^(l>>>8|g<<24)^l>>>7}function a(l,g){return(l>>>1|g<<31)^(l>>>8|g<<24)^(l>>>7|g<<25)}function f(l,g){return(l>>>19|g<<13)^(g>>>29|l<<3)^l>>>6}function s(l,g){return(l>>>19|g<<13)^(g>>>29|l<<3)^(l>>>6|g<<26)}function h(l,g){return l>>>0<g>>>0?1:0}return r.prototype._update=function(l){for(var g=this._w,w=this._ah|0,_=this._bh|0,S=this._ch|0,C=this._dh|0,P=this._eh|0,T=this._fh|0,U=this._gh|0,z=this._hh|0,V=this._al|0,G=this._bl|0,O=this._cl|0,u=this._dl|0,p=this._el|0,o=this._fl|0,b=this._gl|0,E=this._hl|0,A=0;A<32;A+=2)g[A]=l.readInt32BE(A*4),g[A+1]=l.readInt32BE(A*4+4);for(;A<160;A+=2){var M=g[A-30],D=g[A-15*2+1],B=e(M,D),R=a(D,M);M=g[A-2*2],D=g[A-2*2+1];var q=f(M,D),F=s(D,M),W=g[A-7*2],Y=g[A-7*2+1],X=g[A-16*2],k=g[A-16*2+1],N=R+Y|0,Z=B+W+h(N,R)|0;N=N+F|0,Z=Z+q+h(N,F)|0,N=N+k|0,Z=Z+X+h(N,k)|0,g[A]=Z,g[A+1]=N}for(var Q=0;Q<160;Q+=2){Z=g[Q],N=g[Q+1];var H=n(w,_,S),L=n(V,G,O),ee=i(w,V),ne=i(V,w),fe=t(P,p),ae=t(p,P),ue=c[Q],ce=c[Q+1],ie=d(P,T,U),be=d(p,o,b),oe=E+ae|0,se=z+fe+h(oe,E)|0;oe=oe+be|0,se=se+ie+h(oe,be)|0,oe=oe+ce|0,se=se+ue+h(oe,ce)|0,oe=oe+N|0,se=se+Z+h(oe,N)|0;var de=ne+L|0,he=ee+H+h(de,ne)|0;z=U,E=b,U=T,b=o,T=P,o=p,p=u+oe|0,P=C+se+h(p,u)|0,C=S,u=O,S=_,O=G,_=w,G=V,V=oe+de|0,w=se+he+h(V,oe)|0}this._al=this._al+V|0,this._bl=this._bl+G|0,this._cl=this._cl+O|0,this._dl=this._dl+u|0,this._el=this._el+p|0,this._fl=this._fl+o|0,this._gl=this._gl+b|0,this._hl=this._hl+E|0,this._ah=this._ah+w+h(this._al,V)|0,this._bh=this._bh+_+h(this._bl,G)|0,this._ch=this._ch+S+h(this._cl,O)|0,this._dh=this._dh+C+h(this._dl,u)|0,this._eh=this._eh+P+h(this._el,p)|0,this._fh=this._fh+T+h(this._fl,o)|0,this._gh=this._gh+U+h(this._gl,b)|0,this._hh=this._hh+z+h(this._hl,E)|0},r.prototype._hash=function(){var l=x.allocUnsafe(64);function g(w,_,S){l.writeInt32BE(w,S),l.writeInt32BE(_,S+4)}return g(this._ah,this._al,0),g(this._bh,this._bl,8),g(this._ch,this._cl,16),g(this._dh,this._dl,24),g(this._eh,this._el,32),g(this._fh,this._fl,40),g(this._gh,this._gl,48),g(this._hh,this._hl,56),l},sha512$3=r,sha512$3}var sha384$3,hasRequiredSha384$1;function requireSha384$1(){if(hasRequiredSha384$1)return sha384$3;hasRequiredSha384$1=1;var v=requireInherits_browser(),m=requireSha512$1(),x=requireHash$1(),c=requireSafeBuffer$1().Buffer,y=new Array(160);function r(){this.init(),this._w=y,x.call(this,128,112)}return v(r,m),r.prototype.init=function(){return this._ah=3418070365,this._bh=1654270250,this._ch=2438529370,this._dh=355462360,this._eh=1731405415,this._fh=2394180231,this._gh=3675008525,this._hh=1203062813,this._al=3238371032,this._bl=914150663,this._cl=812702999,this._dl=4144912697,this._el=4290775857,this._fl=1750603025,this._gl=1694076839,this._hl=3204075428,this},r.prototype._hash=function(){var d=c.allocUnsafe(48);function n(i,t,e){d.writeInt32BE(i,e),d.writeInt32BE(t,e+4)}return n(this._ah,this._al,0),n(this._bh,this._bl,8),n(this._ch,this._cl,16),n(this._dh,this._dl,24),n(this._eh,this._el,32),n(this._fh,this._fl,40),d},sha384$3=r,sha384$3}var hasRequiredSha_js;function requireSha_js(){return hasRequiredSha_js||(hasRequiredSha_js=1,function(v){v.exports=function(x){var c=x.toLowerCase(),y=v.exports[c];if(!y)throw new Error(c+" is not supported (we accept pull requests)");return new y},v.exports.sha=requireSha$1(),v.exports.sha1=requireSha1$1(),v.exports.sha224=requireSha224$1(),v.exports.sha256=requireSha256$1(),v.exports.sha384=requireSha384$1(),v.exports.sha512=requireSha512$1()}(sha_js)),sha_js.exports}var cipherBase,hasRequiredCipherBase;function requireCipherBase(){if(hasRequiredCipherBase)return cipherBase;hasRequiredCipherBase=1;var v=requireSafeBuffer$1().Buffer,m=requireStreamBrowserify().Transform,x=requireString_decoder().StringDecoder,c=requireInherits_browser(),y=requireToBuffer$2();function r(d){m.call(this),this.hashMode=typeof d=="string",this.hashMode?this[d]=this._finalOrDigest:this.final=this._finalOrDigest,this._final&&(this.__final=this._final,this._final=null),this._decoder=null,this._encoding=null}return c(r,m),r.prototype.update=function(d,n,i){var t=y(d,n),e=this._update(t);return this.hashMode?this:(i&&(e=this._toString(e,i)),e)},r.prototype.setAutoPadding=function(){},r.prototype.getAuthTag=function(){throw new Error("trying to get auth tag in unsupported state")},r.prototype.setAuthTag=function(){throw new Error("trying to set auth tag in unsupported state")},r.prototype.setAAD=function(){throw new Error("trying to set aad in unsupported state")},r.prototype._transform=function(d,n,i){var t;try{this.hashMode?this._update(d):this.push(this._update(d))}catch(e){t=e}finally{i(t)}},r.prototype._flush=function(d){var n;try{this.push(this.__final())}catch(i){n=i}d(n)},r.prototype._finalOrDigest=function(d){var n=this.__final()||v.alloc(0);return d&&(n=this._toString(n,d,!0)),n},r.prototype._toString=function(d,n,i){if(this._decoder||(this._decoder=new x(n),this._encoding=n),this._encoding!==n)throw new Error("can’t switch encodings");var t=this._decoder.write(d);return i&&(t+=this._decoder.end()),t},cipherBase=r,cipherBase}var browser$9,hasRequiredBrowser$9;function requireBrowser$9(){if(hasRequiredBrowser$9)return browser$9;hasRequiredBrowser$9=1;var v=requireInherits_browser(),m=requireMd5_js(),x=requireRipemd160$1(),c=requireSha_js(),y=requireCipherBase();function r(d){y.call(this,"digest"),this._hash=d}return v(r,y),r.prototype._update=function(d){this._hash.update(d)},r.prototype._final=function(){return this._hash.digest()},browser$9=function(n){return n=n.toLowerCase(),n==="md5"?new m:n==="rmd160"||n==="ripemd160"?new x:new r(c(n))},browser$9}var legacy,hasRequiredLegacy;function requireLegacy(){if(hasRequiredLegacy)return legacy;hasRequiredLegacy=1;var v=requireInherits_browser(),m=requireSafeBuffer$1().Buffer,x=requireCipherBase(),c=m.alloc(128),y=64;function r(d,n){x.call(this,"digest"),typeof n=="string"&&(n=m.from(n)),this._alg=d,this._key=n,n.length>y?n=d(n):n.length<y&&(n=m.concat([n,c],y));for(var i=this._ipad=m.allocUnsafe(y),t=this._opad=m.allocUnsafe(y),e=0;e<y;e++)i[e]=n[e]^54,t[e]=n[e]^92;this._hash=[i]}return v(r,x),r.prototype._update=function(d){this._hash.push(d)},r.prototype._final=function(){var d=this._alg(m.concat(this._hash));return this._alg(m.concat([this._opad,d]))},legacy=r,legacy}var md5$2,hasRequiredMd5$1;function requireMd5$1(){if(hasRequiredMd5$1)return md5$2;hasRequiredMd5$1=1;var v=requireMd5_js();return md5$2=function(m){return new v().update(m).digest()},md5$2}var browser$8,hasRequiredBrowser$8;function requireBrowser$8(){if(hasRequiredBrowser$8)return browser$8;hasRequiredBrowser$8=1;var v=requireInherits_browser(),m=requireLegacy(),x=requireCipherBase(),c=requireSafeBuffer$1().Buffer,y=requireMd5$1(),r=requireRipemd160$1(),d=requireSha_js(),n=c.alloc(128);function i(t,e){x.call(this,"digest"),typeof e=="string"&&(e=c.from(e));var a=t==="sha512"||t==="sha384"?128:64;if(this._alg=t,this._key=e,e.length>a){var f=t==="rmd160"?new r:d(t);e=f.update(e).digest()}else e.length<a&&(e=c.concat([e,n],a));for(var s=this._ipad=c.allocUnsafe(a),h=this._opad=c.allocUnsafe(a),l=0;l<a;l++)s[l]=e[l]^54,h[l]=e[l]^92;this._hash=t==="rmd160"?new r:d(t),this._hash.update(s)}return v(i,x),i.prototype._update=function(t){this._hash.update(t)},i.prototype._final=function(){var t=this._hash.digest(),e=this._alg==="rmd160"?new r:d(this._alg);return e.update(this._opad).update(t).digest()},browser$8=function(e,a){return e=e.toLowerCase(),e==="rmd160"||e==="ripemd160"?new i("rmd160",a):e==="md5"?new m(y,a):new i(e,a)},browser$8}const sha224WithRSAEncryption={sign:"rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption={sign:"rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption={sign:"rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption={sign:"rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},sha256$2={sign:"ecdsa",hash:"sha256",id:""},sha224$2={sign:"ecdsa",hash:"sha224",id:""},sha384$2={sign:"ecdsa",hash:"sha384",id:""},sha512$2={sign:"ecdsa",hash:"sha512",id:""},DSA={sign:"dsa",hash:"sha1",id:""},ripemd160WithRSA={sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption={sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"},require$$6={sha224WithRSAEncryption,"RSA-SHA224":{sign:"ecdsa/rsa",hash:"sha224",id:"302d300d06096086480165030402040500041c"},sha256WithRSAEncryption,"RSA-SHA256":{sign:"ecdsa/rsa",hash:"sha256",id:"3031300d060960864801650304020105000420"},sha384WithRSAEncryption,"RSA-SHA384":{sign:"ecdsa/rsa",hash:"sha384",id:"3041300d060960864801650304020205000430"},sha512WithRSAEncryption,"RSA-SHA512":{sign:"ecdsa/rsa",hash:"sha512",id:"3051300d060960864801650304020305000440"},"RSA-SHA1":{sign:"rsa",hash:"sha1",id:"3021300906052b0e03021a05000414"},"ecdsa-with-SHA1":{sign:"ecdsa",hash:"sha1",id:""},sha256:sha256$2,sha224:sha224$2,sha384:sha384$2,sha512:sha512$2,"DSA-SHA":{sign:"dsa",hash:"sha1",id:""},"DSA-SHA1":{sign:"dsa",hash:"sha1",id:""},DSA,"DSA-WITH-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-SHA224":{sign:"dsa",hash:"sha224",id:""},"DSA-WITH-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-SHA256":{sign:"dsa",hash:"sha256",id:""},"DSA-WITH-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-SHA384":{sign:"dsa",hash:"sha384",id:""},"DSA-WITH-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-SHA512":{sign:"dsa",hash:"sha512",id:""},"DSA-RIPEMD160":{sign:"dsa",hash:"rmd160",id:""},ripemd160WithRSA,"RSA-RIPEMD160":{sign:"rsa",hash:"rmd160",id:"3021300906052b2403020105000414"},md5WithRSAEncryption,"RSA-MD5":{sign:"rsa",hash:"md5",id:"3020300c06082a864886f70d020505000410"}};var algos,hasRequiredAlgos;function requireAlgos(){return hasRequiredAlgos||(hasRequiredAlgos=1,algos=require$$6),algos}var browser$7={},precondition,hasRequiredPrecondition;function requirePrecondition(){if(hasRequiredPrecondition)return precondition;hasRequiredPrecondition=1;var v=isFinite,m=Math.pow(2,30)-1;return precondition=function(x,c){if(typeof x!="number")throw new TypeError("Iterations not a number");if(x<0||!v(x))throw new TypeError("Bad iterations");if(typeof c!="number")throw new TypeError("Key length not a number");if(c<0||c>m||c!==c)throw new TypeError("Bad key length")},precondition}var defaultEncoding_1,hasRequiredDefaultEncoding;function requireDefaultEncoding(){if(hasRequiredDefaultEncoding)return defaultEncoding_1;hasRequiredDefaultEncoding=1;var v;if(commonjsGlobal.process&&commonjsGlobal.process.browser)v="utf-8";else if(commonjsGlobal.process&&commonjsGlobal.process.version){var m=parseInt(process$1.version.split(".")[0].slice(1),10);v=m>=6?"utf-8":"binary"}else v="utf-8";return defaultEncoding_1=v,defaultEncoding_1}var toBuffer_1,hasRequiredToBuffer;function requireToBuffer(){if(hasRequiredToBuffer)return toBuffer_1;hasRequiredToBuffer=1;var v=requireSafeBuffer$1().Buffer,m=requireToBuffer$2(),x=typeof Uint8Array<"u",c=x&&typeof ArrayBuffer<"u",y=c&&ArrayBuffer.isView;return toBuffer_1=function(r,d,n){if(typeof r=="string"||v.isBuffer(r)||x&&r instanceof Uint8Array||y&&y(r))return m(r,d);throw new TypeError(n+" must be a string, a Buffer, a Uint8Array, or a DataView")},toBuffer_1}var syncBrowser,hasRequiredSyncBrowser;function requireSyncBrowser(){if(hasRequiredSyncBrowser)return syncBrowser;hasRequiredSyncBrowser=1;var v=requireMd5$1(),m=requireRipemd160$1(),x=requireSha_js(),c=requireSafeBuffer$1().Buffer,y=requirePrecondition(),r=requireDefaultEncoding(),d=requireToBuffer(),n=c.alloc(128),i={__proto__:null,md5:16,sha1:20,sha224:28,sha256:32,sha384:48,sha512:64,"sha512-256":32,ripemd160:20,rmd160:20},t={__proto__:null,"sha-1":"sha1","sha-224":"sha224","sha-256":"sha256","sha-384":"sha384","sha-512":"sha512","ripemd-160":"ripemd160"};function e(h){return new m().update(h).digest()}function a(h){function l(g){return x(h).update(g).digest()}return h==="rmd160"||h==="ripemd160"?e:h==="md5"?v:l}function f(h,l,g){var w=a(h),_=h==="sha512"||h==="sha384"?128:64;l.length>_?l=w(l):l.length<_&&(l=c.concat([l,n],_));for(var S=c.allocUnsafe(_+i[h]),C=c.allocUnsafe(_+i[h]),P=0;P<_;P++)S[P]=l[P]^54,C[P]=l[P]^92;var T=c.allocUnsafe(_+g+4);S.copy(T,0,0,_),this.ipad1=T,this.ipad2=S,this.opad=C,this.alg=h,this.blocksize=_,this.hash=w,this.size=i[h]}f.prototype.run=function(h,l){h.copy(l,this.blocksize);var g=this.hash(l);return g.copy(this.opad,this.blocksize),this.hash(this.opad)};function s(h,l,g,w,_){y(g,w),h=d(h,r,"Password"),l=d(l,r,"Salt");var S=(_||"sha1").toLowerCase(),C=t[S]||S,P=i[C];if(typeof P!="number"||!P)throw new TypeError("Digest algorithm not supported: "+_);var T=new f(C,h,l.length),U=c.allocUnsafe(w),z=c.allocUnsafe(l.length+4);l.copy(z,0,0,l.length);for(var V=0,G=P,O=Math.ceil(w/G),u=1;u<=O;u++){z.writeUInt32BE(u,l.length);for(var p=T.run(z,T.ipad1),o=p,b=1;b<g;b++){o=T.run(o,T.ipad2);for(var E=0;E<G;E++)p[E]^=o[E]}p.copy(U,V),V+=G}return U}return syncBrowser=s,syncBrowser}var async,hasRequiredAsync;function requireAsync(){if(hasRequiredAsync)return async;hasRequiredAsync=1;var v=requireSafeBuffer$1().Buffer,m=requirePrecondition(),x=requireDefaultEncoding(),c=requireSyncBrowser(),y=requireToBuffer(),r,d=commonjsGlobal.crypto&&commonjsGlobal.crypto.subtle,n={sha:"SHA-1","sha-1":"SHA-1",sha1:"SHA-1",sha256:"SHA-256","sha-256":"SHA-256",sha384:"SHA-384","sha-384":"SHA-384","sha-512":"SHA-512",sha512:"SHA-512"},i=[],t;function e(){return t||(commonjsGlobal.process&&commonjsGlobal.process.nextTick?t=commonjsGlobal.process.nextTick:commonjsGlobal.queueMicrotask?t=commonjsGlobal.queueMicrotask:commonjsGlobal.setImmediate?t=commonjsGlobal.setImmediate:t=commonjsGlobal.setTimeout,t)}function a(h,l,g,w,_){return d.importKey("raw",h,{name:"PBKDF2"},!1,["deriveBits"]).then(function(S){return d.deriveBits({name:"PBKDF2",salt:l,iterations:g,hash:{name:_}},S,w<<3)}).then(function(S){return v.from(S)})}function f(h){if(commonjsGlobal.process&&!commonjsGlobal.process.browser||!d||!d.importKey||!d.deriveBits)return Promise.resolve(!1);if(i[h]!==void 0)return i[h];r=r||v.alloc(8);var l=a(r,r,10,128,h).then(function(){return!0},function(){return!1});return i[h]=l,l}function s(h,l){h.then(function(g){e()(function(){l(null,g)})},function(g){e()(function(){l(g)})})}return async=function(h,l,g,w,_,S){if(typeof _=="function"&&(S=_,_=void 0),m(g,w),h=y(h,x,"Password"),l=y(l,x,"Salt"),typeof S!="function")throw new Error("No callback provided to pbkdf2");_=_||"sha1";var C=n[_.toLowerCase()];if(!C||typeof commonjsGlobal.Promise!="function"){e()(function(){var P;try{P=c(h,l,g,w,_)}catch(T){S(T);return}S(null,P)});return}s(f(C).then(function(P){return P?a(h,l,g,w,C):c(h,l,g,w,_)}),S)},async}var hasRequiredBrowser$7;function requireBrowser$7(){return hasRequiredBrowser$7||(hasRequiredBrowser$7=1,browser$7.pbkdf2=requireAsync(),browser$7.pbkdf2Sync=requireSyncBrowser()),browser$7}var browser$6={},des$1={},utils$3={},hasRequiredUtils$3;function requireUtils$3(){if(hasRequiredUtils$3)return utils$3;hasRequiredUtils$3=1,utils$3.readUInt32BE=function(y,r){var d=y[0+r]<<24|y[1+r]<<16|y[2+r]<<8|y[3+r];return d>>>0},utils$3.writeUInt32BE=function(y,r,d){y[0+d]=r>>>24,y[1+d]=r>>>16&255,y[2+d]=r>>>8&255,y[3+d]=r&255},utils$3.ip=function(y,r,d,n){for(var i=0,t=0,e=6;e>=0;e-=2){for(var a=0;a<=24;a+=8)i<<=1,i|=r>>>a+e&1;for(var a=0;a<=24;a+=8)i<<=1,i|=y>>>a+e&1}for(var e=6;e>=0;e-=2){for(var a=1;a<=25;a+=8)t<<=1,t|=r>>>a+e&1;for(var a=1;a<=25;a+=8)t<<=1,t|=y>>>a+e&1}d[n+0]=i>>>0,d[n+1]=t>>>0},utils$3.rip=function(y,r,d,n){for(var i=0,t=0,e=0;e<4;e++)for(var a=24;a>=0;a-=8)i<<=1,i|=r>>>a+e&1,i<<=1,i|=y>>>a+e&1;for(var e=4;e<8;e++)for(var a=24;a>=0;a-=8)t<<=1,t|=r>>>a+e&1,t<<=1,t|=y>>>a+e&1;d[n+0]=i>>>0,d[n+1]=t>>>0},utils$3.pc1=function(y,r,d,n){for(var i=0,t=0,e=7;e>=5;e--){for(var a=0;a<=24;a+=8)i<<=1,i|=r>>a+e&1;for(var a=0;a<=24;a+=8)i<<=1,i|=y>>a+e&1}for(var a=0;a<=24;a+=8)i<<=1,i|=r>>a+e&1;for(var e=1;e<=3;e++){for(var a=0;a<=24;a+=8)t<<=1,t|=r>>a+e&1;for(var a=0;a<=24;a+=8)t<<=1,t|=y>>a+e&1}for(var a=0;a<=24;a+=8)t<<=1,t|=y>>a+e&1;d[n+0]=i>>>0,d[n+1]=t>>>0},utils$3.r28shl=function(y,r){return y<<r&268435455|y>>>28-r};var v=[14,11,17,4,27,23,25,0,13,22,7,18,5,9,16,24,2,20,12,21,1,8,15,26,15,4,25,19,9,1,26,16,5,11,23,8,12,7,17,0,22,3,10,14,6,20,27,24];utils$3.pc2=function(y,r,d,n){for(var i=0,t=0,e=v.length>>>1,a=0;a<e;a++)i<<=1,i|=y>>>v[a]&1;for(var a=e;a<v.length;a++)t<<=1,t|=r>>>v[a]&1;d[n+0]=i>>>0,d[n+1]=t>>>0},utils$3.expand=function(y,r,d){var n=0,i=0;n=(y&1)<<5|y>>>27;for(var t=23;t>=15;t-=4)n<<=6,n|=y>>>t&63;for(var t=11;t>=3;t-=4)i|=y>>>t&63,i<<=6;i|=(y&31)<<1|y>>>31,r[d+0]=n>>>0,r[d+1]=i>>>0};var m=[14,0,4,15,13,7,1,4,2,14,15,2,11,13,8,1,3,10,10,6,6,12,12,11,5,9,9,5,0,3,7,8,4,15,1,12,14,8,8,2,13,4,6,9,2,1,11,7,15,5,12,11,9,3,7,14,3,10,10,0,5,6,0,13,15,3,1,13,8,4,14,7,6,15,11,2,3,8,4,14,9,12,7,0,2,1,13,10,12,6,0,9,5,11,10,5,0,13,14,8,7,10,11,1,10,3,4,15,13,4,1,2,5,11,8,6,12,7,6,12,9,0,3,5,2,14,15,9,10,13,0,7,9,0,14,9,6,3,3,4,15,6,5,10,1,2,13,8,12,5,7,14,11,12,4,11,2,15,8,1,13,1,6,10,4,13,9,0,8,6,15,9,3,8,0,7,11,4,1,15,2,14,12,3,5,11,10,5,14,2,7,12,7,13,13,8,14,11,3,5,0,6,6,15,9,0,10,3,1,4,2,7,8,2,5,12,11,1,12,10,4,14,15,9,10,3,6,15,9,0,0,6,12,10,11,1,7,13,13,8,15,9,1,4,3,5,14,11,5,12,2,7,8,2,4,14,2,14,12,11,4,2,1,12,7,4,10,7,11,13,6,1,8,5,5,0,3,15,15,10,13,3,0,9,14,8,9,6,4,11,2,8,1,12,11,7,10,1,13,14,7,2,8,13,15,6,9,15,12,0,5,9,6,10,3,4,0,5,14,3,12,10,1,15,10,4,15,2,9,7,2,12,6,9,8,5,0,6,13,1,3,13,4,14,14,0,7,11,5,3,11,8,9,4,14,3,15,2,5,12,2,9,8,5,12,15,3,10,7,11,0,14,4,1,10,7,1,6,13,0,11,8,6,13,4,13,11,0,2,11,14,7,15,4,0,9,8,1,13,10,3,14,12,3,9,5,7,12,5,2,10,15,6,8,1,6,1,6,4,11,11,13,13,8,12,1,3,4,7,10,14,7,10,9,15,5,6,0,8,15,0,14,5,2,9,3,2,12,13,1,2,15,8,13,4,8,6,10,15,3,11,7,1,4,10,12,9,5,3,6,14,11,5,0,0,14,12,9,7,2,7,2,11,1,4,14,1,7,9,4,12,10,14,8,2,13,0,15,6,12,10,9,13,0,15,3,3,5,5,6,8,11];utils$3.substitute=function(y,r){for(var d=0,n=0;n<4;n++){var i=y>>>18-n*6&63,t=m[n*64+i];d<<=4,d|=t}for(var n=0;n<4;n++){var i=r>>>18-n*6&63,t=m[4*64+n*64+i];d<<=4,d|=t}return d>>>0};var x=[16,25,12,11,3,20,4,15,31,17,9,6,27,14,1,22,30,24,8,18,0,5,29,23,13,19,2,26,10,21,28,7];return utils$3.permute=function(y){for(var r=0,d=0;d<x.length;d++)r<<=1,r|=y>>>x[d]&1;return r>>>0},utils$3.padSplit=function(y,r,d){for(var n=y.toString(2);n.length<r;)n="0"+n;for(var i=[],t=0;t<r;t+=d)i.push(n.slice(t,t+d));return i.join(" ")},utils$3}var minimalisticAssert,hasRequiredMinimalisticAssert;function requireMinimalisticAssert(){if(hasRequiredMinimalisticAssert)return minimalisticAssert;hasRequiredMinimalisticAssert=1,minimalisticAssert=v;function v(m,x){if(!m)throw new Error(x||"Assertion failed")}return v.equal=function(x,c,y){if(x!=c)throw new Error(y||"Assertion failed: "+x+" != "+c)},minimalisticAssert}var cipher,hasRequiredCipher;function requireCipher(){if(hasRequiredCipher)return cipher;hasRequiredCipher=1;var v=requireMinimalisticAssert();function m(x){this.options=x,this.type=this.options.type,this.blockSize=8,this._init(),this.buffer=new Array(this.blockSize),this.bufferOff=0,this.padding=x.padding!==!1}return cipher=m,m.prototype._init=function(){},m.prototype.update=function(c){return c.length===0?[]:this.type==="decrypt"?this._updateDecrypt(c):this._updateEncrypt(c)},m.prototype._buffer=function(c,y){for(var r=Math.min(this.buffer.length-this.bufferOff,c.length-y),d=0;d<r;d++)this.buffer[this.bufferOff+d]=c[y+d];return this.bufferOff+=r,r},m.prototype._flushBuffer=function(c,y){return this._update(this.buffer,0,c,y),this.bufferOff=0,this.blockSize},m.prototype._updateEncrypt=function(c){var y=0,r=0,d=(this.bufferOff+c.length)/this.blockSize|0,n=new Array(d*this.blockSize);this.bufferOff!==0&&(y+=this._buffer(c,y),this.bufferOff===this.buffer.length&&(r+=this._flushBuffer(n,r)));for(var i=c.length-(c.length-y)%this.blockSize;y<i;y+=this.blockSize)this._update(c,y,n,r),r+=this.blockSize;for(;y<c.length;y++,this.bufferOff++)this.buffer[this.bufferOff]=c[y];return n},m.prototype._updateDecrypt=function(c){for(var y=0,r=0,d=Math.ceil((this.bufferOff+c.length)/this.blockSize)-1,n=new Array(d*this.blockSize);d>0;d--)y+=this._buffer(c,y),r+=this._flushBuffer(n,r);return y+=this._buffer(c,y),n},m.prototype.final=function(c){var y;c&&(y=this.update(c));var r;return this.type==="encrypt"?r=this._finalEncrypt():r=this._finalDecrypt(),y?y.concat(r):r},m.prototype._pad=function(c,y){if(y===0)return!1;for(;y<c.length;)c[y++]=0;return!0},m.prototype._finalEncrypt=function(){if(!this._pad(this.buffer,this.bufferOff))return[];var c=new Array(this.blockSize);return this._update(this.buffer,0,c,0),c},m.prototype._unpad=function(c){return c},m.prototype._finalDecrypt=function(){v.equal(this.bufferOff,this.blockSize,"Not enough data to decrypt");var c=new Array(this.blockSize);return this._flushBuffer(c,0),this._unpad(c)},cipher}var des,hasRequiredDes$1;function requireDes$1(){if(hasRequiredDes$1)return des;hasRequiredDes$1=1;var v=requireMinimalisticAssert(),m=requireInherits_browser(),x=requireUtils$3(),c=requireCipher();function y(){this.tmp=new Array(2),this.keys=null}function r(n){c.call(this,n);var i=new y;this._desState=i,this.deriveKeys(i,n.key)}m(r,c),des=r,r.create=function(i){return new r(i)};var d=[1,1,2,2,2,2,2,2,1,2,2,2,2,2,2,1];return r.prototype.deriveKeys=function(i,t){i.keys=new Array(16*2),v.equal(t.length,this.blockSize,"Invalid key length");var e=x.readUInt32BE(t,0),a=x.readUInt32BE(t,4);x.pc1(e,a,i.tmp,0),e=i.tmp[0],a=i.tmp[1];for(var f=0;f<i.keys.length;f+=2){var s=d[f>>>1];e=x.r28shl(e,s),a=x.r28shl(a,s),x.pc2(e,a,i.keys,f)}},r.prototype._update=function(i,t,e,a){var f=this._desState,s=x.readUInt32BE(i,t),h=x.readUInt32BE(i,t+4);x.ip(s,h,f.tmp,0),s=f.tmp[0],h=f.tmp[1],this.type==="encrypt"?this._encrypt(f,s,h,f.tmp,0):this._decrypt(f,s,h,f.tmp,0),s=f.tmp[0],h=f.tmp[1],x.writeUInt32BE(e,s,a),x.writeUInt32BE(e,h,a+4)},r.prototype._pad=function(i,t){if(this.padding===!1)return!1;for(var e=i.length-t,a=t;a<i.length;a++)i[a]=e;return!0},r.prototype._unpad=function(i){if(this.padding===!1)return i;for(var t=i[i.length-1],e=i.length-t;e<i.length;e++)v.equal(i[e],t);return i.slice(0,i.length-t)},r.prototype._encrypt=function(i,t,e,a,f){for(var s=t,h=e,l=0;l<i.keys.length;l+=2){var g=i.keys[l],w=i.keys[l+1];x.expand(h,i.tmp,0),g^=i.tmp[0],w^=i.tmp[1];var _=x.substitute(g,w),S=x.permute(_),C=h;h=(s^S)>>>0,s=C}x.rip(h,s,a,f)},r.prototype._decrypt=function(i,t,e,a,f){for(var s=e,h=t,l=i.keys.length-2;l>=0;l-=2){var g=i.keys[l],w=i.keys[l+1];x.expand(s,i.tmp,0),g^=i.tmp[0],w^=i.tmp[1];var _=x.substitute(g,w),S=x.permute(_),C=s;s=(h^S)>>>0,h=C}x.rip(s,h,a,f)},des}var cbc$1={},hasRequiredCbc$1;function requireCbc$1(){if(hasRequiredCbc$1)return cbc$1;hasRequiredCbc$1=1;var v=requireMinimalisticAssert(),m=requireInherits_browser(),x={};function c(r){v.equal(r.length,8,"Invalid IV length"),this.iv=new Array(8);for(var d=0;d<this.iv.length;d++)this.iv[d]=r[d]}function y(r){function d(e){r.call(this,e),this._cbcInit()}m(d,r);for(var n=Object.keys(x),i=0;i<n.length;i++){var t=n[i];d.prototype[t]=x[t]}return d.create=function(a){return new d(a)},d}return cbc$1.instantiate=y,x._cbcInit=function(){var d=new c(this.options.iv);this._cbcState=d},x._update=function(d,n,i,t){var e=this._cbcState,a=this.constructor.super_.prototype,f=e.iv;if(this.type==="encrypt"){for(var s=0;s<this.blockSize;s++)f[s]^=d[n+s];a._update.call(this,f,0,i,t);for(var s=0;s<this.blockSize;s++)f[s]=i[t+s]}else{a._update.call(this,d,n,i,t);for(var s=0;s<this.blockSize;s++)i[t+s]^=f[s];for(var s=0;s<this.blockSize;s++)f[s]=d[n+s]}},cbc$1}var ede,hasRequiredEde;function requireEde(){if(hasRequiredEde)return ede;hasRequiredEde=1;var v=requireMinimalisticAssert(),m=requireInherits_browser(),x=requireCipher(),c=requireDes$1();function y(d,n){v.equal(n.length,24,"Invalid key length");var i=n.slice(0,8),t=n.slice(8,16),e=n.slice(16,24);d==="encrypt"?this.ciphers=[c.create({type:"encrypt",key:i}),c.create({type:"decrypt",key:t}),c.create({type:"encrypt",key:e})]:this.ciphers=[c.create({type:"decrypt",key:e}),c.create({type:"encrypt",key:t}),c.create({type:"decrypt",key:i})]}function r(d){x.call(this,d);var n=new y(this.type,this.options.key);this._edeState=n}return m(r,x),ede=r,r.create=function(n){return new r(n)},r.prototype._update=function(n,i,t,e){var a=this._edeState;a.ciphers[0]._update(n,i,t,e),a.ciphers[1]._update(t,e,t,e),a.ciphers[2]._update(t,e,t,e)},r.prototype._pad=c.prototype._pad,r.prototype._unpad=c.prototype._unpad,ede}var hasRequiredDes;function requireDes(){return hasRequiredDes||(hasRequiredDes=1,des$1.utils=requireUtils$3(),des$1.Cipher=requireCipher(),des$1.DES=requireDes$1(),des$1.CBC=requireCbc$1(),des$1.EDE=requireEde()),des$1}var browserifyDes,hasRequiredBrowserifyDes;function requireBrowserifyDes(){if(hasRequiredBrowserifyDes)return browserifyDes;hasRequiredBrowserifyDes=1;var v=requireCipherBase(),m=requireDes(),x=requireInherits_browser(),c=requireSafeBuffer$1().Buffer,y={"des-ede3-cbc":m.CBC.instantiate(m.EDE),"des-ede3":m.EDE,"des-ede-cbc":m.CBC.instantiate(m.EDE),"des-ede":m.EDE,"des-cbc":m.CBC.instantiate(m.DES),"des-ecb":m.DES};y.des=y["des-cbc"],y.des3=y["des-ede3-cbc"],browserifyDes=r,x(r,v);function r(d){v.call(this);var n=d.mode.toLowerCase(),i=y[n],t;d.decrypt?t="decrypt":t="encrypt";var e=d.key;c.isBuffer(e)||(e=c.from(e)),(n==="des-ede"||n==="des-ede-cbc")&&(e=c.concat([e,e.slice(0,8)]));var a=d.iv;c.isBuffer(a)||(a=c.from(a)),this._des=i.create({key:e,iv:a,type:t})}return r.prototype._update=function(d){return c.from(this._des.update(d))},r.prototype._final=function(){return c.from(this._des.final())},browserifyDes}var browser$5={},encrypter={},ecb={},hasRequiredEcb;function requireEcb(){return hasRequiredEcb||(hasRequiredEcb=1,ecb.encrypt=function(v,m){return v._cipher.encryptBlock(m)},ecb.decrypt=function(v,m){return v._cipher.decryptBlock(m)}),ecb}var cbc={},bufferXor,hasRequiredBufferXor;function requireBufferXor(){return hasRequiredBufferXor||(hasRequiredBufferXor=1,bufferXor=function(m,x){for(var c=Math.min(m.length,x.length),y=new Buffer(c),r=0;r<c;++r)y[r]=m[r]^x[r];return y}),bufferXor}var hasRequiredCbc;function requireCbc(){if(hasRequiredCbc)return cbc;hasRequiredCbc=1;var v=requireBufferXor();return cbc.encrypt=function(m,x){var c=v(x,m._prev);return m._prev=m._cipher.encryptBlock(c),m._prev},cbc.decrypt=function(m,x){var c=m._prev;m._prev=x;var y=m._cipher.decryptBlock(x);return v(y,c)},cbc}var cfb={},hasRequiredCfb;function requireCfb(){if(hasRequiredCfb)return cfb;hasRequiredCfb=1;var v=requireSafeBuffer$1().Buffer,m=requireBufferXor();function x(c,y,r){var d=y.length,n=m(y,c._cache);return c._cache=c._cache.slice(d),c._prev=v.concat([c._prev,r?y:n]),n}return cfb.encrypt=function(c,y,r){for(var d=v.allocUnsafe(0),n;y.length;)if(c._cache.length===0&&(c._cache=c._cipher.encryptBlock(c._prev),c._prev=v.allocUnsafe(0)),c._cache.length<=y.length)n=c._cache.length,d=v.concat([d,x(c,y.slice(0,n),r)]),y=y.slice(n);else{d=v.concat([d,x(c,y,r)]);break}return d},cfb}var cfb8={},hasRequiredCfb8;function requireCfb8(){if(hasRequiredCfb8)return cfb8;hasRequiredCfb8=1;var v=requireSafeBuffer$1().Buffer;function m(x,c,y){var r=x._cipher.encryptBlock(x._prev),d=r[0]^c;return x._prev=v.concat([x._prev.slice(1),v.from([y?c:d])]),d}return cfb8.encrypt=function(x,c,y){for(var r=c.length,d=v.allocUnsafe(r),n=-1;++n<r;)d[n]=m(x,c[n],y);return d},cfb8}var cfb1={},hasRequiredCfb1;function requireCfb1(){if(hasRequiredCfb1)return cfb1;hasRequiredCfb1=1;var v=requireSafeBuffer$1().Buffer;function m(c,y,r){for(var d,n=-1,i=8,t=0,e,a;++n<i;)d=c._cipher.encryptBlock(c._prev),e=y&1<<7-n?128:0,a=d[0]^e,t+=(a&128)>>n%8,c._prev=x(c._prev,r?e:a);return t}function x(c,y){var r=c.length,d=-1,n=v.allocUnsafe(c.length);for(c=v.concat([c,v.from([y])]);++d<r;)n[d]=c[d]<<1|c[d+1]>>7;return n}return cfb1.encrypt=function(c,y,r){for(var d=y.length,n=v.allocUnsafe(d),i=-1;++i<d;)n[i]=m(c,y[i],r);return n},cfb1}var ofb={},hasRequiredOfb;function requireOfb(){if(hasRequiredOfb)return ofb;hasRequiredOfb=1;var v=requireBufferXor();function m(x){return x._prev=x._cipher.encryptBlock(x._prev),x._prev}return ofb.encrypt=function(x,c){for(;x._cache.length<c.length;)x._cache=Buffer.concat([x._cache,m(x)]);var y=x._cache.slice(0,c.length);return x._cache=x._cache.slice(c.length),v(c,y)},ofb}var ctr={},incr32_1,hasRequiredIncr32;function requireIncr32(){if(hasRequiredIncr32)return incr32_1;hasRequiredIncr32=1;function v(m){for(var x=m.length,c;x--;)if(c=m.readUInt8(x),c===255)m.writeUInt8(0,x);else{c++,m.writeUInt8(c,x);break}}return incr32_1=v,incr32_1}var hasRequiredCtr;function requireCtr(){if(hasRequiredCtr)return ctr;hasRequiredCtr=1;var v=requireBufferXor(),m=requireSafeBuffer$1().Buffer,x=requireIncr32();function c(r){var d=r._cipher.encryptBlockRaw(r._prev);return x(r._prev),d}var y=16;return ctr.encrypt=function(r,d){var n=Math.ceil(d.length/y),i=r._cache.length;r._cache=m.concat([r._cache,m.allocUnsafe(n*y)]);for(var t=0;t<n;t++){var e=c(r),a=i+t*y;r._cache.writeUInt32BE(e[0],a+0),r._cache.writeUInt32BE(e[1],a+4),r._cache.writeUInt32BE(e[2],a+8),r._cache.writeUInt32BE(e[3],a+12)}var f=r._cache.slice(0,d.length);return r._cache=r._cache.slice(d.length),v(d,f)},ctr}const aes128={cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},aes192={cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},aes256={cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},require$$2={"aes-128-ecb":{cipher:"AES",key:128,iv:0,mode:"ECB",type:"block"},"aes-192-ecb":{cipher:"AES",key:192,iv:0,mode:"ECB",type:"block"},"aes-256-ecb":{cipher:"AES",key:256,iv:0,mode:"ECB",type:"block"},"aes-128-cbc":{cipher:"AES",key:128,iv:16,mode:"CBC",type:"block"},"aes-192-cbc":{cipher:"AES",key:192,iv:16,mode:"CBC",type:"block"},"aes-256-cbc":{cipher:"AES",key:256,iv:16,mode:"CBC",type:"block"},aes128,aes192,aes256,"aes-128-cfb":{cipher:"AES",key:128,iv:16,mode:"CFB",type:"stream"},"aes-192-cfb":{cipher:"AES",key:192,iv:16,mode:"CFB",type:"stream"},"aes-256-cfb":{cipher:"AES",key:256,iv:16,mode:"CFB",type:"stream"},"aes-128-cfb8":{cipher:"AES",key:128,iv:16,mode:"CFB8",type:"stream"},"aes-192-cfb8":{cipher:"AES",key:192,iv:16,mode:"CFB8",type:"stream"},"aes-256-cfb8":{cipher:"AES",key:256,iv:16,mode:"CFB8",type:"stream"},"aes-128-cfb1":{cipher:"AES",key:128,iv:16,mode:"CFB1",type:"stream"},"aes-192-cfb1":{cipher:"AES",key:192,iv:16,mode:"CFB1",type:"stream"},"aes-256-cfb1":{cipher:"AES",key:256,iv:16,mode:"CFB1",type:"stream"},"aes-128-ofb":{cipher:"AES",key:128,iv:16,mode:"OFB",type:"stream"},"aes-192-ofb":{cipher:"AES",key:192,iv:16,mode:"OFB",type:"stream"},"aes-256-ofb":{cipher:"AES",key:256,iv:16,mode:"OFB",type:"stream"},"aes-128-ctr":{cipher:"AES",key:128,iv:16,mode:"CTR",type:"stream"},"aes-192-ctr":{cipher:"AES",key:192,iv:16,mode:"CTR",type:"stream"},"aes-256-ctr":{cipher:"AES",key:256,iv:16,mode:"CTR",type:"stream"},"aes-128-gcm":{cipher:"AES",key:128,iv:12,mode:"GCM",type:"auth"},"aes-192-gcm":{cipher:"AES",key:192,iv:12,mode:"GCM",type:"auth"},"aes-256-gcm":{cipher:"AES",key:256,iv:12,mode:"GCM",type:"auth"}};var modes_1,hasRequiredModes$1;function requireModes$1(){if(hasRequiredModes$1)return modes_1;hasRequiredModes$1=1;var v={ECB:requireEcb(),CBC:requireCbc(),CFB:requireCfb(),CFB8:requireCfb8(),CFB1:requireCfb1(),OFB:requireOfb(),CTR:requireCtr(),GCM:requireCtr()},m=require$$2;for(var x in m)m[x].module=v[m[x].mode];return modes_1=m,modes_1}var aes$2={},hasRequiredAes$1;function requireAes$1(){if(hasRequiredAes$1)return aes$2;hasRequiredAes$1=1;var v=requireSafeBuffer$1().Buffer;function m(n){v.isBuffer(n)||(n=v.from(n));for(var i=n.length/4|0,t=new Array(i),e=0;e<i;e++)t[e]=n.readUInt32BE(e*4);return t}function x(n){for(var i=0;i<n.length;n++)n[i]=0}function c(n,i,t,e,a){for(var f=t[0],s=t[1],h=t[2],l=t[3],g=n[0]^i[0],w=n[1]^i[1],_=n[2]^i[2],S=n[3]^i[3],C,P,T,U,z=4,V=1;V<a;V++)C=f[g>>>24]^s[w>>>16&255]^h[_>>>8&255]^l[S&255]^i[z++],P=f[w>>>24]^s[_>>>16&255]^h[S>>>8&255]^l[g&255]^i[z++],T=f[_>>>24]^s[S>>>16&255]^h[g>>>8&255]^l[w&255]^i[z++],U=f[S>>>24]^s[g>>>16&255]^h[w>>>8&255]^l[_&255]^i[z++],g=C,w=P,_=T,S=U;return C=(e[g>>>24]<<24|e[w>>>16&255]<<16|e[_>>>8&255]<<8|e[S&255])^i[z++],P=(e[w>>>24]<<24|e[_>>>16&255]<<16|e[S>>>8&255]<<8|e[g&255])^i[z++],T=(e[_>>>24]<<24|e[S>>>16&255]<<16|e[g>>>8&255]<<8|e[w&255])^i[z++],U=(e[S>>>24]<<24|e[g>>>16&255]<<16|e[w>>>8&255]<<8|e[_&255])^i[z++],C=C>>>0,P=P>>>0,T=T>>>0,U=U>>>0,[C,P,T,U]}var y=[0,1,2,4,8,16,32,64,128,27,54],r=function(){for(var n=new Array(256),i=0;i<256;i++)i<128?n[i]=i<<1:n[i]=i<<1^283;for(var t=[],e=[],a=[[],[],[],[]],f=[[],[],[],[]],s=0,h=0,l=0;l<256;++l){var g=h^h<<1^h<<2^h<<3^h<<4;g=g>>>8^g&255^99,t[s]=g,e[g]=s;var w=n[s],_=n[w],S=n[_],C=n[g]*257^g*16843008;a[0][s]=C<<24|C>>>8,a[1][s]=C<<16|C>>>16,a[2][s]=C<<8|C>>>24,a[3][s]=C,C=S*16843009^_*65537^w*257^s*16843008,f[0][g]=C<<24|C>>>8,f[1][g]=C<<16|C>>>16,f[2][g]=C<<8|C>>>24,f[3][g]=C,s===0?s=h=1:(s=w^n[n[n[S^w]]],h^=n[n[h]])}return{SBOX:t,INV_SBOX:e,SUB_MIX:a,INV_SUB_MIX:f}}();function d(n){this._key=m(n),this._reset()}return d.blockSize=4*4,d.keySize=256/8,d.prototype.blockSize=d.blockSize,d.prototype.keySize=d.keySize,d.prototype._reset=function(){for(var n=this._key,i=n.length,t=i+6,e=(t+1)*4,a=[],f=0;f<i;f++)a[f]=n[f];for(f=i;f<e;f++){var s=a[f-1];f%i===0?(s=s<<8|s>>>24,s=r.SBOX[s>>>24]<<24|r.SBOX[s>>>16&255]<<16|r.SBOX[s>>>8&255]<<8|r.SBOX[s&255],s^=y[f/i|0]<<24):i>6&&f%i===4&&(s=r.SBOX[s>>>24]<<24|r.SBOX[s>>>16&255]<<16|r.SBOX[s>>>8&255]<<8|r.SBOX[s&255]),a[f]=a[f-i]^s}for(var h=[],l=0;l<e;l++){var g=e-l,w=a[g-(l%4?0:4)];l<4||g<=4?h[l]=w:h[l]=r.INV_SUB_MIX[0][r.SBOX[w>>>24]]^r.INV_SUB_MIX[1][r.SBOX[w>>>16&255]]^r.INV_SUB_MIX[2][r.SBOX[w>>>8&255]]^r.INV_SUB_MIX[3][r.SBOX[w&255]]}this._nRounds=t,this._keySchedule=a,this._invKeySchedule=h},d.prototype.encryptBlockRaw=function(n){return n=m(n),c(n,this._keySchedule,r.SUB_MIX,r.SBOX,this._nRounds)},d.prototype.encryptBlock=function(n){var i=this.encryptBlockRaw(n),t=v.allocUnsafe(16);return t.writeUInt32BE(i[0],0),t.writeUInt32BE(i[1],4),t.writeUInt32BE(i[2],8),t.writeUInt32BE(i[3],12),t},d.prototype.decryptBlock=function(n){n=m(n);var i=n[1];n[1]=n[3],n[3]=i;var t=c(n,this._invKeySchedule,r.INV_SUB_MIX,r.INV_SBOX,this._nRounds),e=v.allocUnsafe(16);return e.writeUInt32BE(t[0],0),e.writeUInt32BE(t[3],4),e.writeUInt32BE(t[2],8),e.writeUInt32BE(t[1],12),e},d.prototype.scrub=function(){x(this._keySchedule),x(this._invKeySchedule),x(this._key)},aes$2.AES=d,aes$2}var ghash,hasRequiredGhash;function requireGhash(){if(hasRequiredGhash)return ghash;hasRequiredGhash=1;var v=requireSafeBuffer$1().Buffer,m=v.alloc(16,0);function x(r){return[r.readUInt32BE(0),r.readUInt32BE(4),r.readUInt32BE(8),r.readUInt32BE(12)]}function c(r){var d=v.allocUnsafe(16);return d.writeUInt32BE(r[0]>>>0,0),d.writeUInt32BE(r[1]>>>0,4),d.writeUInt32BE(r[2]>>>0,8),d.writeUInt32BE(r[3]>>>0,12),d}function y(r){this.h=r,this.state=v.alloc(16,0),this.cache=v.allocUnsafe(0)}return y.prototype.ghash=function(r){for(var d=-1;++d<r.length;)this.state[d]^=r[d];this._multiply()},y.prototype._multiply=function(){for(var r=x(this.h),d=[0,0,0,0],n,i,t,e=-1;++e<128;){for(i=(this.state[~~(e/8)]&1<<7-e%8)!==0,i&&(d[0]^=r[0],d[1]^=r[1],d[2]^=r[2],d[3]^=r[3]),t=(r[3]&1)!==0,n=3;n>0;n--)r[n]=r[n]>>>1|(r[n-1]&1)<<31;r[0]=r[0]>>>1,t&&(r[0]=r[0]^225<<24)}this.state=c(d)},y.prototype.update=function(r){this.cache=v.concat([this.cache,r]);for(var d;this.cache.length>=16;)d=this.cache.slice(0,16),this.cache=this.cache.slice(16),this.ghash(d)},y.prototype.final=function(r,d){return this.cache.length&&this.ghash(v.concat([this.cache,m],16)),this.ghash(c([0,r,0,d])),this.state},ghash=y,ghash}var authCipher,hasRequiredAuthCipher;function requireAuthCipher(){if(hasRequiredAuthCipher)return authCipher;hasRequiredAuthCipher=1;var v=requireAes$1(),m=requireSafeBuffer$1().Buffer,x=requireCipherBase(),c=requireInherits_browser(),y=requireGhash(),r=requireBufferXor(),d=requireIncr32();function n(e,a){var f=0;e.length!==a.length&&f++;for(var s=Math.min(e.length,a.length),h=0;h<s;++h)f+=e[h]^a[h];return f}function i(e,a,f){if(a.length===12)return e._finID=m.concat([a,m.from([0,0,0,1])]),m.concat([a,m.from([0,0,0,2])]);var s=new y(f),h=a.length,l=h%16;s.update(a),l&&(l=16-l,s.update(m.alloc(l,0))),s.update(m.alloc(8,0));var g=h*8,w=m.alloc(8);w.writeUIntBE(g,0,8),s.update(w),e._finID=s.state;var _=m.from(e._finID);return d(_),_}function t(e,a,f,s){x.call(this);var h=m.alloc(4,0);this._cipher=new v.AES(a);var l=this._cipher.encryptBlock(h);this._ghash=new y(l),f=i(this,f,l),this._prev=m.from(f),this._cache=m.allocUnsafe(0),this._secCache=m.allocUnsafe(0),this._decrypt=s,this._alen=0,this._len=0,this._mode=e,this._authTag=null,this._called=!1}return c(t,x),t.prototype._update=function(e){if(!this._called&&this._alen){var a=16-this._alen%16;a<16&&(a=m.alloc(a,0),this._ghash.update(a))}this._called=!0;var f=this._mode.encrypt(this,e);return this._decrypt?this._ghash.update(e):this._ghash.update(f),this._len+=e.length,f},t.prototype._final=function(){if(this._decrypt&&!this._authTag)throw new Error("Unsupported state or unable to authenticate data");var e=r(this._ghash.final(this._alen*8,this._len*8),this._cipher.encryptBlock(this._finID));if(this._decrypt&&n(e,this._authTag))throw new Error("Unsupported state or unable to authenticate data");this._authTag=e,this._cipher.scrub()},t.prototype.getAuthTag=function(){if(this._decrypt||!m.isBuffer(this._authTag))throw new Error("Attempting to get auth tag in unsupported state");return this._authTag},t.prototype.setAuthTag=function(a){if(!this._decrypt)throw new Error("Attempting to set auth tag in unsupported state");this._authTag=a},t.prototype.setAAD=function(a){if(this._called)throw new Error("Attempting to set AAD in unsupported state");this._ghash.update(a),this._alen+=a.length},authCipher=t,authCipher}var streamCipher,hasRequiredStreamCipher;function requireStreamCipher(){if(hasRequiredStreamCipher)return streamCipher;hasRequiredStreamCipher=1;var v=requireAes$1(),m=requireSafeBuffer$1().Buffer,x=requireCipherBase(),c=requireInherits_browser();function y(r,d,n,i){x.call(this),this._cipher=new v.AES(d),this._prev=m.from(n),this._cache=m.allocUnsafe(0),this._secCache=m.allocUnsafe(0),this._decrypt=i,this._mode=r}return c(y,x),y.prototype._update=function(r){return this._mode.encrypt(this,r,this._decrypt)},y.prototype._final=function(){this._cipher.scrub()},streamCipher=y,streamCipher}var evp_bytestokey,hasRequiredEvp_bytestokey;function requireEvp_bytestokey(){if(hasRequiredEvp_bytestokey)return evp_bytestokey;hasRequiredEvp_bytestokey=1;var v=requireSafeBuffer$1().Buffer,m=requireMd5_js();function x(c,y,r,d){if(v.isBuffer(c)||(c=v.from(c,"binary")),y&&(v.isBuffer(y)||(y=v.from(y,"binary")),y.length!==8))throw new RangeError("salt should be Buffer with 8 byte length");for(var n=r/8,i=v.alloc(n),t=v.alloc(d||0),e=v.alloc(0);n>0||d>0;){var a=new m;a.update(e),a.update(c),y&&a.update(y),e=a.digest();var f=0;if(n>0){var s=i.length-n;f=Math.min(n,e.length),e.copy(i,s,0,f),n-=f}if(f<e.length&&d>0){var h=t.length-d,l=Math.min(d,e.length-f);e.copy(t,h,f,f+l),d-=l}}return e.fill(0),{key:i,iv:t}}return evp_bytestokey=x,evp_bytestokey}var hasRequiredEncrypter;function requireEncrypter(){if(hasRequiredEncrypter)return encrypter;hasRequiredEncrypter=1;var v=requireModes$1(),m=requireAuthCipher(),x=requireSafeBuffer$1().Buffer,c=requireStreamCipher(),y=requireCipherBase(),r=requireAes$1(),d=requireEvp_bytestokey(),n=requireInherits_browser();function i(s,h,l){y.call(this),this._cache=new e,this._cipher=new r.AES(h),this._prev=x.from(l),this._mode=s,this._autopadding=!0}n(i,y),i.prototype._update=function(s){this._cache.add(s);for(var h,l,g=[];h=this._cache.get();)l=this._mode.encrypt(this,h),g.push(l);return x.concat(g)};var t=x.alloc(16,16);i.prototype._final=function(){var s=this._cache.flush();if(this._autopadding)return s=this._mode.encrypt(this,s),this._cipher.scrub(),s;if(!s.equals(t))throw this._cipher.scrub(),new Error("data not multiple of block length")},i.prototype.setAutoPadding=function(s){return this._autopadding=!!s,this};function e(){this.cache=x.allocUnsafe(0)}e.prototype.add=function(s){this.cache=x.concat([this.cache,s])},e.prototype.get=function(){if(this.cache.length>15){var s=this.cache.slice(0,16);return this.cache=this.cache.slice(16),s}return null},e.prototype.flush=function(){for(var s=16-this.cache.length,h=x.allocUnsafe(s),l=-1;++l<s;)h.writeUInt8(s,l);return x.concat([this.cache,h])};function a(s,h,l){var g=v[s.toLowerCase()];if(!g)throw new TypeError("invalid suite type");if(typeof h=="string"&&(h=x.from(h)),h.length!==g.key/8)throw new TypeError("invalid key length "+h.length);if(typeof l=="string"&&(l=x.from(l)),g.mode!=="GCM"&&l.length!==g.iv)throw new TypeError("invalid iv length "+l.length);return g.type==="stream"?new c(g.module,h,l):g.type==="auth"?new m(g.module,h,l):new i(g.module,h,l)}function f(s,h){var l=v[s.toLowerCase()];if(!l)throw new TypeError("invalid suite type");var g=d(h,!1,l.key,l.iv);return a(s,g.key,g.iv)}return encrypter.createCipheriv=a,encrypter.createCipher=f,encrypter}var decrypter={},hasRequiredDecrypter;function requireDecrypter(){if(hasRequiredDecrypter)return decrypter;hasRequiredDecrypter=1;var v=requireAuthCipher(),m=requireSafeBuffer$1().Buffer,x=requireModes$1(),c=requireStreamCipher(),y=requireCipherBase(),r=requireAes$1(),d=requireEvp_bytestokey(),n=requireInherits_browser();function i(s,h,l){y.call(this),this._cache=new t,this._last=void 0,this._cipher=new r.AES(h),this._prev=m.from(l),this._mode=s,this._autopadding=!0}n(i,y),i.prototype._update=function(s){this._cache.add(s);for(var h,l,g=[];h=this._cache.get(this._autopadding);)l=this._mode.decrypt(this,h),g.push(l);return m.concat(g)},i.prototype._final=function(){var s=this._cache.flush();if(this._autopadding)return e(this._mode.decrypt(this,s));if(s)throw new Error("data not multiple of block length")},i.prototype.setAutoPadding=function(s){return this._autopadding=!!s,this};function t(){this.cache=m.allocUnsafe(0)}t.prototype.add=function(s){this.cache=m.concat([this.cache,s])},t.prototype.get=function(s){var h;if(s){if(this.cache.length>16)return h=this.cache.slice(0,16),this.cache=this.cache.slice(16),h}else if(this.cache.length>=16)return h=this.cache.slice(0,16),this.cache=this.cache.slice(16),h;return null},t.prototype.flush=function(){if(this.cache.length)return this.cache};function e(s){var h=s[15];if(h<1||h>16)throw new Error("unable to decrypt data");for(var l=-1;++l<h;)if(s[l+(16-h)]!==h)throw new Error("unable to decrypt data");if(h!==16)return s.slice(0,16-h)}function a(s,h,l){var g=x[s.toLowerCase()];if(!g)throw new TypeError("invalid suite type");if(typeof l=="string"&&(l=m.from(l)),g.mode!=="GCM"&&l.length!==g.iv)throw new TypeError("invalid iv length "+l.length);if(typeof h=="string"&&(h=m.from(h)),h.length!==g.key/8)throw new TypeError("invalid key length "+h.length);return g.type==="stream"?new c(g.module,h,l,!0):g.type==="auth"?new v(g.module,h,l,!0):new i(g.module,h,l)}function f(s,h){var l=x[s.toLowerCase()];if(!l)throw new TypeError("invalid suite type");var g=d(h,!1,l.key,l.iv);return a(s,g.key,g.iv)}return decrypter.createDecipher=f,decrypter.createDecipheriv=a,decrypter}var hasRequiredBrowser$6;function requireBrowser$6(){if(hasRequiredBrowser$6)return browser$5;hasRequiredBrowser$6=1;var v=requireEncrypter(),m=requireDecrypter(),x=require$$2;function c(){return Object.keys(x)}return browser$5.createCipher=browser$5.Cipher=v.createCipher,browser$5.createCipheriv=browser$5.Cipheriv=v.createCipheriv,browser$5.createDecipher=browser$5.Decipher=m.createDecipher,browser$5.createDecipheriv=browser$5.Decipheriv=m.createDecipheriv,browser$5.listCiphers=browser$5.getCiphers=c,browser$5}var modes={},hasRequiredModes;function requireModes(){return hasRequiredModes||(hasRequiredModes=1,function(v){v["des-ecb"]={key:8,iv:0},v["des-cbc"]=v.des={key:8,iv:8},v["des-ede3-cbc"]=v.des3={key:24,iv:8},v["des-ede3"]={key:24,iv:0},v["des-ede-cbc"]={key:16,iv:8},v["des-ede"]={key:16,iv:0}}(modes)),modes}var hasRequiredBrowser$5;function requireBrowser$5(){if(hasRequiredBrowser$5)return browser$6;hasRequiredBrowser$5=1;var v=requireBrowserifyDes(),m=requireBrowser$6(),x=requireModes$1(),c=requireModes(),y=requireEvp_bytestokey();function r(e,a){e=e.toLowerCase();var f,s;if(x[e])f=x[e].key,s=x[e].iv;else if(c[e])f=c[e].key*8,s=c[e].iv;else throw new TypeError("invalid suite type");var h=y(a,!1,f,s);return n(e,h.key,h.iv)}function d(e,a){e=e.toLowerCase();var f,s;if(x[e])f=x[e].key,s=x[e].iv;else if(c[e])f=c[e].key*8,s=c[e].iv;else throw new TypeError("invalid suite type");var h=y(a,!1,f,s);return i(e,h.key,h.iv)}function n(e,a,f){if(e=e.toLowerCase(),x[e])return m.createCipheriv(e,a,f);if(c[e])return new v({key:a,iv:f,mode:e});throw new TypeError("invalid suite type")}function i(e,a,f){if(e=e.toLowerCase(),x[e])return m.createDecipheriv(e,a,f);if(c[e])return new v({key:a,iv:f,mode:e,decrypt:!0});throw new TypeError("invalid suite type")}function t(){return Object.keys(c).concat(m.getCiphers())}return browser$6.createCipher=browser$6.Cipher=r,browser$6.createCipheriv=browser$6.Cipheriv=n,browser$6.createDecipher=browser$6.Decipher=d,browser$6.createDecipheriv=browser$6.Decipheriv=i,browser$6.listCiphers=browser$6.getCiphers=t,browser$6}var browser$4={},bn$3={exports:{}},bn$2=bn$3.exports,hasRequiredBn$1;function requireBn$1(){return hasRequiredBn$1||(hasRequiredBn$1=1,function(v){(function(m,x){function c(O,u){if(!O)throw new Error(u||"Assertion failed")}function y(O,u){O.super_=u;var p=function(){};p.prototype=u.prototype,O.prototype=new p,O.prototype.constructor=O}function r(O,u,p){if(r.isBN(O))return O;this.negative=0,this.words=null,this.length=0,this.red=null,O!==null&&((u==="le"||u==="be")&&(p=u,u=10),this._init(O||0,u||10,p||"be"))}typeof m=="object"?m.exports=r:x.BN=r,r.BN=r,r.wordSize=26;var d;try{typeof window<"u"&&typeof window.Buffer<"u"?d=window.Buffer:d=requireDist().Buffer}catch{}r.isBN=function(u){return u instanceof r?!0:u!==null&&typeof u=="object"&&u.constructor.wordSize===r.wordSize&&Array.isArray(u.words)},r.max=function(u,p){return u.cmp(p)>0?u:p},r.min=function(u,p){return u.cmp(p)<0?u:p},r.prototype._init=function(u,p,o){if(typeof u=="number")return this._initNumber(u,p,o);if(typeof u=="object")return this._initArray(u,p,o);p==="hex"&&(p=16),c(p===(p|0)&&p>=2&&p<=36),u=u.toString().replace(/\s+/g,"");var b=0;u[0]==="-"&&(b++,this.negative=1),b<u.length&&(p===16?this._parseHex(u,b,o):(this._parseBase(u,p,b),o==="le"&&this._initArray(this.toArray(),p,o)))},r.prototype._initNumber=function(u,p,o){u<0&&(this.negative=1,u=-u),u<67108864?(this.words=[u&67108863],this.length=1):u<4503599627370496?(this.words=[u&67108863,u/67108864&67108863],this.length=2):(c(u<9007199254740992),this.words=[u&67108863,u/67108864&67108863,1],this.length=3),o==="le"&&this._initArray(this.toArray(),p,o)},r.prototype._initArray=function(u,p,o){if(c(typeof u.length=="number"),u.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(u.length/3),this.words=new Array(this.length);for(var b=0;b<this.length;b++)this.words[b]=0;var E,A,M=0;if(o==="be")for(b=u.length-1,E=0;b>=0;b-=3)A=u[b]|u[b-1]<<8|u[b-2]<<16,this.words[E]|=A<<M&67108863,this.words[E+1]=A>>>26-M&67108863,M+=24,M>=26&&(M-=26,E++);else if(o==="le")for(b=0,E=0;b<u.length;b+=3)A=u[b]|u[b+1]<<8|u[b+2]<<16,this.words[E]|=A<<M&67108863,this.words[E+1]=A>>>26-M&67108863,M+=24,M>=26&&(M-=26,E++);return this.strip()};function n(O,u){var p=O.charCodeAt(u);return p>=65&&p<=70?p-55:p>=97&&p<=102?p-87:p-48&15}function i(O,u,p){var o=n(O,p);return p-1>=u&&(o|=n(O,p-1)<<4),o}r.prototype._parseHex=function(u,p,o){this.length=Math.ceil((u.length-p)/6),this.words=new Array(this.length);for(var b=0;b<this.length;b++)this.words[b]=0;var E=0,A=0,M;if(o==="be")for(b=u.length-1;b>=p;b-=2)M=i(u,p,b)<<E,this.words[A]|=M&67108863,E>=18?(E-=18,A+=1,this.words[A]|=M>>>26):E+=8;else{var D=u.length-p;for(b=D%2===0?p+1:p;b<u.length;b+=2)M=i(u,p,b)<<E,this.words[A]|=M&67108863,E>=18?(E-=18,A+=1,this.words[A]|=M>>>26):E+=8}this.strip()};function t(O,u,p,o){for(var b=0,E=Math.min(O.length,p),A=u;A<E;A++){var M=O.charCodeAt(A)-48;b*=o,M>=49?b+=M-49+10:M>=17?b+=M-17+10:b+=M}return b}r.prototype._parseBase=function(u,p,o){this.words=[0],this.length=1;for(var b=0,E=1;E<=67108863;E*=p)b++;b--,E=E/p|0;for(var A=u.length-o,M=A%b,D=Math.min(A,A-M)+o,B=0,R=o;R<D;R+=b)B=t(u,R,R+b,p),this.imuln(E),this.words[0]+B<67108864?this.words[0]+=B:this._iaddn(B);if(M!==0){var q=1;for(B=t(u,R,u.length,p),R=0;R<M;R++)q*=p;this.imuln(q),this.words[0]+B<67108864?this.words[0]+=B:this._iaddn(B)}this.strip()},r.prototype.copy=function(u){u.words=new Array(this.length);for(var p=0;p<this.length;p++)u.words[p]=this.words[p];u.length=this.length,u.negative=this.negative,u.red=this.red},r.prototype.clone=function(){var u=new r(null);return this.copy(u),u},r.prototype._expand=function(u){for(;this.length<u;)this.words[this.length++]=0;return this},r.prototype.strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},r.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},r.prototype.inspect=function(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"};var e=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],a=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],f=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];r.prototype.toString=function(u,p){u=u||10,p=p|0||1;var o;if(u===16||u==="hex"){o="";for(var b=0,E=0,A=0;A<this.length;A++){var M=this.words[A],D=((M<<b|E)&16777215).toString(16);E=M>>>24-b&16777215,b+=2,b>=26&&(b-=26,A--),E!==0||A!==this.length-1?o=e[6-D.length]+D+o:o=D+o}for(E!==0&&(o=E.toString(16)+o);o.length%p!==0;)o="0"+o;return this.negative!==0&&(o="-"+o),o}if(u===(u|0)&&u>=2&&u<=36){var B=a[u],R=f[u];o="";var q=this.clone();for(q.negative=0;!q.isZero();){var F=q.modn(R).toString(u);q=q.idivn(R),q.isZero()?o=F+o:o=e[B-F.length]+F+o}for(this.isZero()&&(o="0"+o);o.length%p!==0;)o="0"+o;return this.negative!==0&&(o="-"+o),o}c(!1,"Base should be between 2 and 36")},r.prototype.toNumber=function(){var u=this.words[0];return this.length===2?u+=this.words[1]*67108864:this.length===3&&this.words[2]===1?u+=4503599627370496+this.words[1]*67108864:this.length>2&&c(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-u:u},r.prototype.toJSON=function(){return this.toString(16)},r.prototype.toBuffer=function(u,p){return c(typeof d<"u"),this.toArrayLike(d,u,p)},r.prototype.toArray=function(u,p){return this.toArrayLike(Array,u,p)},r.prototype.toArrayLike=function(u,p,o){var b=this.byteLength(),E=o||Math.max(1,b);c(b<=E,"byte array longer than desired length"),c(E>0,"Requested array length <= 0"),this.strip();var A=p==="le",M=new u(E),D,B,R=this.clone();if(A){for(B=0;!R.isZero();B++)D=R.andln(255),R.iushrn(8),M[B]=D;for(;B<E;B++)M[B]=0}else{for(B=0;B<E-b;B++)M[B]=0;for(B=0;!R.isZero();B++)D=R.andln(255),R.iushrn(8),M[E-B-1]=D}return M},Math.clz32?r.prototype._countBits=function(u){return 32-Math.clz32(u)}:r.prototype._countBits=function(u){var p=u,o=0;return p>=4096&&(o+=13,p>>>=13),p>=64&&(o+=7,p>>>=7),p>=8&&(o+=4,p>>>=4),p>=2&&(o+=2,p>>>=2),o+p},r.prototype._zeroBits=function(u){if(u===0)return 26;var p=u,o=0;return(p&8191)===0&&(o+=13,p>>>=13),(p&127)===0&&(o+=7,p>>>=7),(p&15)===0&&(o+=4,p>>>=4),(p&3)===0&&(o+=2,p>>>=2),(p&1)===0&&o++,o},r.prototype.bitLength=function(){var u=this.words[this.length-1],p=this._countBits(u);return(this.length-1)*26+p};function s(O){for(var u=new Array(O.bitLength()),p=0;p<u.length;p++){var o=p/26|0,b=p%26;u[p]=(O.words[o]&1<<b)>>>b}return u}r.prototype.zeroBits=function(){if(this.isZero())return 0;for(var u=0,p=0;p<this.length;p++){var o=this._zeroBits(this.words[p]);if(u+=o,o!==26)break}return u},r.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},r.prototype.toTwos=function(u){return this.negative!==0?this.abs().inotn(u).iaddn(1):this.clone()},r.prototype.fromTwos=function(u){return this.testn(u-1)?this.notn(u).iaddn(1).ineg():this.clone()},r.prototype.isNeg=function(){return this.negative!==0},r.prototype.neg=function(){return this.clone().ineg()},r.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},r.prototype.iuor=function(u){for(;this.length<u.length;)this.words[this.length++]=0;for(var p=0;p<u.length;p++)this.words[p]=this.words[p]|u.words[p];return this.strip()},r.prototype.ior=function(u){return c((this.negative|u.negative)===0),this.iuor(u)},r.prototype.or=function(u){return this.length>u.length?this.clone().ior(u):u.clone().ior(this)},r.prototype.uor=function(u){return this.length>u.length?this.clone().iuor(u):u.clone().iuor(this)},r.prototype.iuand=function(u){var p;this.length>u.length?p=u:p=this;for(var o=0;o<p.length;o++)this.words[o]=this.words[o]&u.words[o];return this.length=p.length,this.strip()},r.prototype.iand=function(u){return c((this.negative|u.negative)===0),this.iuand(u)},r.prototype.and=function(u){return this.length>u.length?this.clone().iand(u):u.clone().iand(this)},r.prototype.uand=function(u){return this.length>u.length?this.clone().iuand(u):u.clone().iuand(this)},r.prototype.iuxor=function(u){var p,o;this.length>u.length?(p=this,o=u):(p=u,o=this);for(var b=0;b<o.length;b++)this.words[b]=p.words[b]^o.words[b];if(this!==p)for(;b<p.length;b++)this.words[b]=p.words[b];return this.length=p.length,this.strip()},r.prototype.ixor=function(u){return c((this.negative|u.negative)===0),this.iuxor(u)},r.prototype.xor=function(u){return this.length>u.length?this.clone().ixor(u):u.clone().ixor(this)},r.prototype.uxor=function(u){return this.length>u.length?this.clone().iuxor(u):u.clone().iuxor(this)},r.prototype.inotn=function(u){c(typeof u=="number"&&u>=0);var p=Math.ceil(u/26)|0,o=u%26;this._expand(p),o>0&&p--;for(var b=0;b<p;b++)this.words[b]=~this.words[b]&67108863;return o>0&&(this.words[b]=~this.words[b]&67108863>>26-o),this.strip()},r.prototype.notn=function(u){return this.clone().inotn(u)},r.prototype.setn=function(u,p){c(typeof u=="number"&&u>=0);var o=u/26|0,b=u%26;return this._expand(o+1),p?this.words[o]=this.words[o]|1<<b:this.words[o]=this.words[o]&~(1<<b),this.strip()},r.prototype.iadd=function(u){var p;if(this.negative!==0&&u.negative===0)return this.negative=0,p=this.isub(u),this.negative^=1,this._normSign();if(this.negative===0&&u.negative!==0)return u.negative=0,p=this.isub(u),u.negative=1,p._normSign();var o,b;this.length>u.length?(o=this,b=u):(o=u,b=this);for(var E=0,A=0;A<b.length;A++)p=(o.words[A]|0)+(b.words[A]|0)+E,this.words[A]=p&67108863,E=p>>>26;for(;E!==0&&A<o.length;A++)p=(o.words[A]|0)+E,this.words[A]=p&67108863,E=p>>>26;if(this.length=o.length,E!==0)this.words[this.length]=E,this.length++;else if(o!==this)for(;A<o.length;A++)this.words[A]=o.words[A];return this},r.prototype.add=function(u){var p;return u.negative!==0&&this.negative===0?(u.negative=0,p=this.sub(u),u.negative^=1,p):u.negative===0&&this.negative!==0?(this.negative=0,p=u.sub(this),this.negative=1,p):this.length>u.length?this.clone().iadd(u):u.clone().iadd(this)},r.prototype.isub=function(u){if(u.negative!==0){u.negative=0;var p=this.iadd(u);return u.negative=1,p._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(u),this.negative=1,this._normSign();var o=this.cmp(u);if(o===0)return this.negative=0,this.length=1,this.words[0]=0,this;var b,E;o>0?(b=this,E=u):(b=u,E=this);for(var A=0,M=0;M<E.length;M++)p=(b.words[M]|0)-(E.words[M]|0)+A,A=p>>26,this.words[M]=p&67108863;for(;A!==0&&M<b.length;M++)p=(b.words[M]|0)+A,A=p>>26,this.words[M]=p&67108863;if(A===0&&M<b.length&&b!==this)for(;M<b.length;M++)this.words[M]=b.words[M];return this.length=Math.max(this.length,M),b!==this&&(this.negative=1),this.strip()},r.prototype.sub=function(u){return this.clone().isub(u)};function h(O,u,p){p.negative=u.negative^O.negative;var o=O.length+u.length|0;p.length=o,o=o-1|0;var b=O.words[0]|0,E=u.words[0]|0,A=b*E,M=A&67108863,D=A/67108864|0;p.words[0]=M;for(var B=1;B<o;B++){for(var R=D>>>26,q=D&67108863,F=Math.min(B,u.length-1),W=Math.max(0,B-O.length+1);W<=F;W++){var Y=B-W|0;b=O.words[Y]|0,E=u.words[W]|0,A=b*E+q,R+=A/67108864|0,q=A&67108863}p.words[B]=q|0,D=R|0}return D!==0?p.words[B]=D|0:p.length--,p.strip()}var l=function(u,p,o){var b=u.words,E=p.words,A=o.words,M=0,D,B,R,q=b[0]|0,F=q&8191,W=q>>>13,Y=b[1]|0,X=Y&8191,k=Y>>>13,N=b[2]|0,Z=N&8191,Q=N>>>13,H=b[3]|0,L=H&8191,ee=H>>>13,ne=b[4]|0,fe=ne&8191,ae=ne>>>13,ue=b[5]|0,ce=ue&8191,ie=ue>>>13,be=b[6]|0,oe=be&8191,se=be>>>13,de=b[7]|0,he=de&8191,qe=de>>>13,Se=b[8]|0,ve=Se&8191,Me=Se>>>13,$e=b[9]|0,me=$e&8191,Fe=$e>>>13,ke=E[0]|0,ge=ke&8191,Ie=ke>>>13,Pe=E[1]|0,Be=Pe&8191,Le=Pe>>>13,Te=E[2]|0,Ae=Te&8191,Ne=Te>>>13,Ue=E[3]|0,xe=Ue&8191,Ce=Ue>>>13,Oe=E[4]|0,Ee=Oe&8191,De=Oe>>>13,je=E[5]|0,j=je&8191,$=je>>>13,I=E[6]|0,K=I&8191,J=I>>>13,re=E[7]|0,te=re&8191,pe=re>>>13,_e=E[8]|0,le=_e&8191,we=_e>>>13,ye=E[9]|0,Re=ye&8191,We=ye>>>13;o.negative=u.negative^p.negative,o.length=19,D=Math.imul(F,ge),B=Math.imul(F,Ie),B=B+Math.imul(W,ge)|0,R=Math.imul(W,Ie);var He=(M+D|0)+((B&8191)<<13)|0;M=(R+(B>>>13)|0)+(He>>>26)|0,He&=67108863,D=Math.imul(X,ge),B=Math.imul(X,Ie),B=B+Math.imul(k,ge)|0,R=Math.imul(k,Ie),D=D+Math.imul(F,Be)|0,B=B+Math.imul(F,Le)|0,B=B+Math.imul(W,Be)|0,R=R+Math.imul(W,Le)|0;var ze=(M+D|0)+((B&8191)<<13)|0;M=(R+(B>>>13)|0)+(ze>>>26)|0,ze&=67108863,D=Math.imul(Z,ge),B=Math.imul(Z,Ie),B=B+Math.imul(Q,ge)|0,R=Math.imul(Q,Ie),D=D+Math.imul(X,Be)|0,B=B+Math.imul(X,Le)|0,B=B+Math.imul(k,Be)|0,R=R+Math.imul(k,Le)|0,D=D+Math.imul(F,Ae)|0,B=B+Math.imul(F,Ne)|0,B=B+Math.imul(W,Ae)|0,R=R+Math.imul(W,Ne)|0;var Ge=(M+D|0)+((B&8191)<<13)|0;M=(R+(B>>>13)|0)+(Ge>>>26)|0,Ge&=67108863,D=Math.imul(L,ge),B=Math.imul(L,Ie),B=B+Math.imul(ee,ge)|0,R=Math.imul(ee,Ie),D=D+Math.imul(Z,Be)|0,B=B+Math.imul(Z,Le)|0,B=B+Math.imul(Q,Be)|0,R=R+Math.imul(Q,Le)|0,D=D+Math.imul(X,Ae)|0,B=B+Math.imul(X,Ne)|0,B=B+Math.imul(k,Ae)|0,R=R+Math.imul(k,Ne)|0,D=D+Math.imul(F,xe)|0,B=B+Math.imul(F,Ce)|0,B=B+Math.imul(W,xe)|0,R=R+Math.imul(W,Ce)|0;var Ke=(M+D|0)+((B&8191)<<13)|0;M=(R+(B>>>13)|0)+(Ke>>>26)|0,Ke&=67108863,D=Math.imul(fe,ge),B=Math.imul(fe,Ie),B=B+Math.imul(ae,ge)|0,R=Math.imul(ae,Ie),D=D+Math.imul(L,Be)|0,B=B+Math.imul(L,Le)|0,B=B+Math.imul(ee,Be)|0,R=R+Math.imul(ee,Le)|0,D=D+Math.imul(Z,Ae)|0,B=B+Math.imul(Z,Ne)|0,B=B+Math.imul(Q,Ae)|0,R=R+Math.imul(Q,Ne)|0,D=D+Math.imul(X,xe)|0,B=B+Math.imul(X,Ce)|0,B=B+Math.imul(k,xe)|0,R=R+Math.imul(k,Ce)|0,D=D+Math.imul(F,Ee)|0,B=B+Math.imul(F,De)|0,B=B+Math.imul(W,Ee)|0,R=R+Math.imul(W,De)|0;var Ve=(M+D|0)+((B&8191)<<13)|0;M=(R+(B>>>13)|0)+(Ve>>>26)|0,Ve&=67108863,D=Math.imul(ce,ge),B=Math.imul(ce,Ie),B=B+Math.imul(ie,ge)|0,R=Math.imul(ie,Ie),D=D+Math.imul(fe,Be)|0,B=B+Math.imul(fe,Le)|0,B=B+Math.imul(ae,Be)|0,R=R+Math.imul(ae,Le)|0,D=D+Math.imul(L,Ae)|0,B=B+Math.imul(L,Ne)|0,B=B+Math.imul(ee,Ae)|0,R=R+Math.imul(ee,Ne)|0,D=D+Math.imul(Z,xe)|0,B=B+Math.imul(Z,Ce)|0,B=B+Math.imul(Q,xe)|0,R=R+Math.imul(Q,Ce)|0,D=D+Math.imul(X,Ee)|0,B=B+Math.imul(X,De)|0,B=B+Math.imul(k,Ee)|0,R=R+Math.imul(k,De)|0,D=D+Math.imul(F,j)|0,B=B+Math.imul(F,$)|0,B=B+Math.imul(W,j)|0,R=R+Math.imul(W,$)|0;var Xe=(M+D|0)+((B&8191)<<13)|0;M=(R+(B>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,D=Math.imul(oe,ge),B=Math.imul(oe,Ie),B=B+Math.imul(se,ge)|0,R=Math.imul(se,Ie),D=D+Math.imul(ce,Be)|0,B=B+Math.imul(ce,Le)|0,B=B+Math.imul(ie,Be)|0,R=R+Math.imul(ie,Le)|0,D=D+Math.imul(fe,Ae)|0,B=B+Math.imul(fe,Ne)|0,B=B+Math.imul(ae,Ae)|0,R=R+Math.imul(ae,Ne)|0,D=D+Math.imul(L,xe)|0,B=B+Math.imul(L,Ce)|0,B=B+Math.imul(ee,xe)|0,R=R+Math.imul(ee,Ce)|0,D=D+Math.imul(Z,Ee)|0,B=B+Math.imul(Z,De)|0,B=B+Math.imul(Q,Ee)|0,R=R+Math.imul(Q,De)|0,D=D+Math.imul(X,j)|0,B=B+Math.imul(X,$)|0,B=B+Math.imul(k,j)|0,R=R+Math.imul(k,$)|0,D=D+Math.imul(F,K)|0,B=B+Math.imul(F,J)|0,B=B+Math.imul(W,K)|0,R=R+Math.imul(W,J)|0;var Ze=(M+D|0)+((B&8191)<<13)|0;M=(R+(B>>>13)|0)+(Ze>>>26)|0,Ze&=67108863,D=Math.imul(he,ge),B=Math.imul(he,Ie),B=B+Math.imul(qe,ge)|0,R=Math.imul(qe,Ie),D=D+Math.imul(oe,Be)|0,B=B+Math.imul(oe,Le)|0,B=B+Math.imul(se,Be)|0,R=R+Math.imul(se,Le)|0,D=D+Math.imul(ce,Ae)|0,B=B+Math.imul(ce,Ne)|0,B=B+Math.imul(ie,Ae)|0,R=R+Math.imul(ie,Ne)|0,D=D+Math.imul(fe,xe)|0,B=B+Math.imul(fe,Ce)|0,B=B+Math.imul(ae,xe)|0,R=R+Math.imul(ae,Ce)|0,D=D+Math.imul(L,Ee)|0,B=B+Math.imul(L,De)|0,B=B+Math.imul(ee,Ee)|0,R=R+Math.imul(ee,De)|0,D=D+Math.imul(Z,j)|0,B=B+Math.imul(Z,$)|0,B=B+Math.imul(Q,j)|0,R=R+Math.imul(Q,$)|0,D=D+Math.imul(X,K)|0,B=B+Math.imul(X,J)|0,B=B+Math.imul(k,K)|0,R=R+Math.imul(k,J)|0,D=D+Math.imul(F,te)|0,B=B+Math.imul(F,pe)|0,B=B+Math.imul(W,te)|0,R=R+Math.imul(W,pe)|0;var Ye=(M+D|0)+((B&8191)<<13)|0;M=(R+(B>>>13)|0)+(Ye>>>26)|0,Ye&=67108863,D=Math.imul(ve,ge),B=Math.imul(ve,Ie),B=B+Math.imul(Me,ge)|0,R=Math.imul(Me,Ie),D=D+Math.imul(he,Be)|0,B=B+Math.imul(he,Le)|0,B=B+Math.imul(qe,Be)|0,R=R+Math.imul(qe,Le)|0,D=D+Math.imul(oe,Ae)|0,B=B+Math.imul(oe,Ne)|0,B=B+Math.imul(se,Ae)|0,R=R+Math.imul(se,Ne)|0,D=D+Math.imul(ce,xe)|0,B=B+Math.imul(ce,Ce)|0,B=B+Math.imul(ie,xe)|0,R=R+Math.imul(ie,Ce)|0,D=D+Math.imul(fe,Ee)|0,B=B+Math.imul(fe,De)|0,B=B+Math.imul(ae,Ee)|0,R=R+Math.imul(ae,De)|0,D=D+Math.imul(L,j)|0,B=B+Math.imul(L,$)|0,B=B+Math.imul(ee,j)|0,R=R+Math.imul(ee,$)|0,D=D+Math.imul(Z,K)|0,B=B+Math.imul(Z,J)|0,B=B+Math.imul(Q,K)|0,R=R+Math.imul(Q,J)|0,D=D+Math.imul(X,te)|0,B=B+Math.imul(X,pe)|0,B=B+Math.imul(k,te)|0,R=R+Math.imul(k,pe)|0,D=D+Math.imul(F,le)|0,B=B+Math.imul(F,we)|0,B=B+Math.imul(W,le)|0,R=R+Math.imul(W,we)|0;var Je=(M+D|0)+((B&8191)<<13)|0;M=(R+(B>>>13)|0)+(Je>>>26)|0,Je&=67108863,D=Math.imul(me,ge),B=Math.imul(me,Ie),B=B+Math.imul(Fe,ge)|0,R=Math.imul(Fe,Ie),D=D+Math.imul(ve,Be)|0,B=B+Math.imul(ve,Le)|0,B=B+Math.imul(Me,Be)|0,R=R+Math.imul(Me,Le)|0,D=D+Math.imul(he,Ae)|0,B=B+Math.imul(he,Ne)|0,B=B+Math.imul(qe,Ae)|0,R=R+Math.imul(qe,Ne)|0,D=D+Math.imul(oe,xe)|0,B=B+Math.imul(oe,Ce)|0,B=B+Math.imul(se,xe)|0,R=R+Math.imul(se,Ce)|0,D=D+Math.imul(ce,Ee)|0,B=B+Math.imul(ce,De)|0,B=B+Math.imul(ie,Ee)|0,R=R+Math.imul(ie,De)|0,D=D+Math.imul(fe,j)|0,B=B+Math.imul(fe,$)|0,B=B+Math.imul(ae,j)|0,R=R+Math.imul(ae,$)|0,D=D+Math.imul(L,K)|0,B=B+Math.imul(L,J)|0,B=B+Math.imul(ee,K)|0,R=R+Math.imul(ee,J)|0,D=D+Math.imul(Z,te)|0,B=B+Math.imul(Z,pe)|0,B=B+Math.imul(Q,te)|0,R=R+Math.imul(Q,pe)|0,D=D+Math.imul(X,le)|0,B=B+Math.imul(X,we)|0,B=B+Math.imul(k,le)|0,R=R+Math.imul(k,we)|0,D=D+Math.imul(F,Re)|0,B=B+Math.imul(F,We)|0,B=B+Math.imul(W,Re)|0,R=R+Math.imul(W,We)|0;var Qe=(M+D|0)+((B&8191)<<13)|0;M=(R+(B>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,D=Math.imul(me,Be),B=Math.imul(me,Le),B=B+Math.imul(Fe,Be)|0,R=Math.imul(Fe,Le),D=D+Math.imul(ve,Ae)|0,B=B+Math.imul(ve,Ne)|0,B=B+Math.imul(Me,Ae)|0,R=R+Math.imul(Me,Ne)|0,D=D+Math.imul(he,xe)|0,B=B+Math.imul(he,Ce)|0,B=B+Math.imul(qe,xe)|0,R=R+Math.imul(qe,Ce)|0,D=D+Math.imul(oe,Ee)|0,B=B+Math.imul(oe,De)|0,B=B+Math.imul(se,Ee)|0,R=R+Math.imul(se,De)|0,D=D+Math.imul(ce,j)|0,B=B+Math.imul(ce,$)|0,B=B+Math.imul(ie,j)|0,R=R+Math.imul(ie,$)|0,D=D+Math.imul(fe,K)|0,B=B+Math.imul(fe,J)|0,B=B+Math.imul(ae,K)|0,R=R+Math.imul(ae,J)|0,D=D+Math.imul(L,te)|0,B=B+Math.imul(L,pe)|0,B=B+Math.imul(ee,te)|0,R=R+Math.imul(ee,pe)|0,D=D+Math.imul(Z,le)|0,B=B+Math.imul(Z,we)|0,B=B+Math.imul(Q,le)|0,R=R+Math.imul(Q,we)|0,D=D+Math.imul(X,Re)|0,B=B+Math.imul(X,We)|0,B=B+Math.imul(k,Re)|0,R=R+Math.imul(k,We)|0;var er=(M+D|0)+((B&8191)<<13)|0;M=(R+(B>>>13)|0)+(er>>>26)|0,er&=67108863,D=Math.imul(me,Ae),B=Math.imul(me,Ne),B=B+Math.imul(Fe,Ae)|0,R=Math.imul(Fe,Ne),D=D+Math.imul(ve,xe)|0,B=B+Math.imul(ve,Ce)|0,B=B+Math.imul(Me,xe)|0,R=R+Math.imul(Me,Ce)|0,D=D+Math.imul(he,Ee)|0,B=B+Math.imul(he,De)|0,B=B+Math.imul(qe,Ee)|0,R=R+Math.imul(qe,De)|0,D=D+Math.imul(oe,j)|0,B=B+Math.imul(oe,$)|0,B=B+Math.imul(se,j)|0,R=R+Math.imul(se,$)|0,D=D+Math.imul(ce,K)|0,B=B+Math.imul(ce,J)|0,B=B+Math.imul(ie,K)|0,R=R+Math.imul(ie,J)|0,D=D+Math.imul(fe,te)|0,B=B+Math.imul(fe,pe)|0,B=B+Math.imul(ae,te)|0,R=R+Math.imul(ae,pe)|0,D=D+Math.imul(L,le)|0,B=B+Math.imul(L,we)|0,B=B+Math.imul(ee,le)|0,R=R+Math.imul(ee,we)|0,D=D+Math.imul(Z,Re)|0,B=B+Math.imul(Z,We)|0,B=B+Math.imul(Q,Re)|0,R=R+Math.imul(Q,We)|0;var rr=(M+D|0)+((B&8191)<<13)|0;M=(R+(B>>>13)|0)+(rr>>>26)|0,rr&=67108863,D=Math.imul(me,xe),B=Math.imul(me,Ce),B=B+Math.imul(Fe,xe)|0,R=Math.imul(Fe,Ce),D=D+Math.imul(ve,Ee)|0,B=B+Math.imul(ve,De)|0,B=B+Math.imul(Me,Ee)|0,R=R+Math.imul(Me,De)|0,D=D+Math.imul(he,j)|0,B=B+Math.imul(he,$)|0,B=B+Math.imul(qe,j)|0,R=R+Math.imul(qe,$)|0,D=D+Math.imul(oe,K)|0,B=B+Math.imul(oe,J)|0,B=B+Math.imul(se,K)|0,R=R+Math.imul(se,J)|0,D=D+Math.imul(ce,te)|0,B=B+Math.imul(ce,pe)|0,B=B+Math.imul(ie,te)|0,R=R+Math.imul(ie,pe)|0,D=D+Math.imul(fe,le)|0,B=B+Math.imul(fe,we)|0,B=B+Math.imul(ae,le)|0,R=R+Math.imul(ae,we)|0,D=D+Math.imul(L,Re)|0,B=B+Math.imul(L,We)|0,B=B+Math.imul(ee,Re)|0,R=R+Math.imul(ee,We)|0;var tr=(M+D|0)+((B&8191)<<13)|0;M=(R+(B>>>13)|0)+(tr>>>26)|0,tr&=67108863,D=Math.imul(me,Ee),B=Math.imul(me,De),B=B+Math.imul(Fe,Ee)|0,R=Math.imul(Fe,De),D=D+Math.imul(ve,j)|0,B=B+Math.imul(ve,$)|0,B=B+Math.imul(Me,j)|0,R=R+Math.imul(Me,$)|0,D=D+Math.imul(he,K)|0,B=B+Math.imul(he,J)|0,B=B+Math.imul(qe,K)|0,R=R+Math.imul(qe,J)|0,D=D+Math.imul(oe,te)|0,B=B+Math.imul(oe,pe)|0,B=B+Math.imul(se,te)|0,R=R+Math.imul(se,pe)|0,D=D+Math.imul(ce,le)|0,B=B+Math.imul(ce,we)|0,B=B+Math.imul(ie,le)|0,R=R+Math.imul(ie,we)|0,D=D+Math.imul(fe,Re)|0,B=B+Math.imul(fe,We)|0,B=B+Math.imul(ae,Re)|0,R=R+Math.imul(ae,We)|0;var ir=(M+D|0)+((B&8191)<<13)|0;M=(R+(B>>>13)|0)+(ir>>>26)|0,ir&=67108863,D=Math.imul(me,j),B=Math.imul(me,$),B=B+Math.imul(Fe,j)|0,R=Math.imul(Fe,$),D=D+Math.imul(ve,K)|0,B=B+Math.imul(ve,J)|0,B=B+Math.imul(Me,K)|0,R=R+Math.imul(Me,J)|0,D=D+Math.imul(he,te)|0,B=B+Math.imul(he,pe)|0,B=B+Math.imul(qe,te)|0,R=R+Math.imul(qe,pe)|0,D=D+Math.imul(oe,le)|0,B=B+Math.imul(oe,we)|0,B=B+Math.imul(se,le)|0,R=R+Math.imul(se,we)|0,D=D+Math.imul(ce,Re)|0,B=B+Math.imul(ce,We)|0,B=B+Math.imul(ie,Re)|0,R=R+Math.imul(ie,We)|0;var nr=(M+D|0)+((B&8191)<<13)|0;M=(R+(B>>>13)|0)+(nr>>>26)|0,nr&=67108863,D=Math.imul(me,K),B=Math.imul(me,J),B=B+Math.imul(Fe,K)|0,R=Math.imul(Fe,J),D=D+Math.imul(ve,te)|0,B=B+Math.imul(ve,pe)|0,B=B+Math.imul(Me,te)|0,R=R+Math.imul(Me,pe)|0,D=D+Math.imul(he,le)|0,B=B+Math.imul(he,we)|0,B=B+Math.imul(qe,le)|0,R=R+Math.imul(qe,we)|0,D=D+Math.imul(oe,Re)|0,B=B+Math.imul(oe,We)|0,B=B+Math.imul(se,Re)|0,R=R+Math.imul(se,We)|0;var ar=(M+D|0)+((B&8191)<<13)|0;M=(R+(B>>>13)|0)+(ar>>>26)|0,ar&=67108863,D=Math.imul(me,te),B=Math.imul(me,pe),B=B+Math.imul(Fe,te)|0,R=Math.imul(Fe,pe),D=D+Math.imul(ve,le)|0,B=B+Math.imul(ve,we)|0,B=B+Math.imul(Me,le)|0,R=R+Math.imul(Me,we)|0,D=D+Math.imul(he,Re)|0,B=B+Math.imul(he,We)|0,B=B+Math.imul(qe,Re)|0,R=R+Math.imul(qe,We)|0;var fr=(M+D|0)+((B&8191)<<13)|0;M=(R+(B>>>13)|0)+(fr>>>26)|0,fr&=67108863,D=Math.imul(me,le),B=Math.imul(me,we),B=B+Math.imul(Fe,le)|0,R=Math.imul(Fe,we),D=D+Math.imul(ve,Re)|0,B=B+Math.imul(ve,We)|0,B=B+Math.imul(Me,Re)|0,R=R+Math.imul(Me,We)|0;var or=(M+D|0)+((B&8191)<<13)|0;M=(R+(B>>>13)|0)+(or>>>26)|0,or&=67108863,D=Math.imul(me,Re),B=Math.imul(me,We),B=B+Math.imul(Fe,Re)|0,R=Math.imul(Fe,We);var sr=(M+D|0)+((B&8191)<<13)|0;return M=(R+(B>>>13)|0)+(sr>>>26)|0,sr&=67108863,A[0]=He,A[1]=ze,A[2]=Ge,A[3]=Ke,A[4]=Ve,A[5]=Xe,A[6]=Ze,A[7]=Ye,A[8]=Je,A[9]=Qe,A[10]=er,A[11]=rr,A[12]=tr,A[13]=ir,A[14]=nr,A[15]=ar,A[16]=fr,A[17]=or,A[18]=sr,M!==0&&(A[19]=M,o.length++),o};Math.imul||(l=h);function g(O,u,p){p.negative=u.negative^O.negative,p.length=O.length+u.length;for(var o=0,b=0,E=0;E<p.length-1;E++){var A=b;b=0;for(var M=o&67108863,D=Math.min(E,u.length-1),B=Math.max(0,E-O.length+1);B<=D;B++){var R=E-B,q=O.words[R]|0,F=u.words[B]|0,W=q*F,Y=W&67108863;A=A+(W/67108864|0)|0,Y=Y+M|0,M=Y&67108863,A=A+(Y>>>26)|0,b+=A>>>26,A&=67108863}p.words[E]=M,o=A,A=b}return o!==0?p.words[E]=o:p.length--,p.strip()}function w(O,u,p){var o=new _;return o.mulp(O,u,p)}r.prototype.mulTo=function(u,p){var o,b=this.length+u.length;return this.length===10&&u.length===10?o=l(this,u,p):b<63?o=h(this,u,p):b<1024?o=g(this,u,p):o=w(this,u,p),o};function _(O,u){this.x=O,this.y=u}_.prototype.makeRBT=function(u){for(var p=new Array(u),o=r.prototype._countBits(u)-1,b=0;b<u;b++)p[b]=this.revBin(b,o,u);return p},_.prototype.revBin=function(u,p,o){if(u===0||u===o-1)return u;for(var b=0,E=0;E<p;E++)b|=(u&1)<<p-E-1,u>>=1;return b},_.prototype.permute=function(u,p,o,b,E,A){for(var M=0;M<A;M++)b[M]=p[u[M]],E[M]=o[u[M]]},_.prototype.transform=function(u,p,o,b,E,A){this.permute(A,u,p,o,b,E);for(var M=1;M<E;M<<=1)for(var D=M<<1,B=Math.cos(2*Math.PI/D),R=Math.sin(2*Math.PI/D),q=0;q<E;q+=D)for(var F=B,W=R,Y=0;Y<M;Y++){var X=o[q+Y],k=b[q+Y],N=o[q+Y+M],Z=b[q+Y+M],Q=F*N-W*Z;Z=F*Z+W*N,N=Q,o[q+Y]=X+N,b[q+Y]=k+Z,o[q+Y+M]=X-N,b[q+Y+M]=k-Z,Y!==D&&(Q=B*F-R*W,W=B*W+R*F,F=Q)}},_.prototype.guessLen13b=function(u,p){var o=Math.max(p,u)|1,b=o&1,E=0;for(o=o/2|0;o;o=o>>>1)E++;return 1<<E+1+b},_.prototype.conjugate=function(u,p,o){if(!(o<=1))for(var b=0;b<o/2;b++){var E=u[b];u[b]=u[o-b-1],u[o-b-1]=E,E=p[b],p[b]=-p[o-b-1],p[o-b-1]=-E}},_.prototype.normalize13b=function(u,p){for(var o=0,b=0;b<p/2;b++){var E=Math.round(u[2*b+1]/p)*8192+Math.round(u[2*b]/p)+o;u[b]=E&67108863,E<67108864?o=0:o=E/67108864|0}return u},_.prototype.convert13b=function(u,p,o,b){for(var E=0,A=0;A<p;A++)E=E+(u[A]|0),o[2*A]=E&8191,E=E>>>13,o[2*A+1]=E&8191,E=E>>>13;for(A=2*p;A<b;++A)o[A]=0;c(E===0),c((E&-8192)===0)},_.prototype.stub=function(u){for(var p=new Array(u),o=0;o<u;o++)p[o]=0;return p},_.prototype.mulp=function(u,p,o){var b=2*this.guessLen13b(u.length,p.length),E=this.makeRBT(b),A=this.stub(b),M=new Array(b),D=new Array(b),B=new Array(b),R=new Array(b),q=new Array(b),F=new Array(b),W=o.words;W.length=b,this.convert13b(u.words,u.length,M,b),this.convert13b(p.words,p.length,R,b),this.transform(M,A,D,B,b,E),this.transform(R,A,q,F,b,E);for(var Y=0;Y<b;Y++){var X=D[Y]*q[Y]-B[Y]*F[Y];B[Y]=D[Y]*F[Y]+B[Y]*q[Y],D[Y]=X}return this.conjugate(D,B,b),this.transform(D,B,W,A,b,E),this.conjugate(W,A,b),this.normalize13b(W,b),o.negative=u.negative^p.negative,o.length=u.length+p.length,o.strip()},r.prototype.mul=function(u){var p=new r(null);return p.words=new Array(this.length+u.length),this.mulTo(u,p)},r.prototype.mulf=function(u){var p=new r(null);return p.words=new Array(this.length+u.length),w(this,u,p)},r.prototype.imul=function(u){return this.clone().mulTo(u,this)},r.prototype.imuln=function(u){c(typeof u=="number"),c(u<67108864);for(var p=0,o=0;o<this.length;o++){var b=(this.words[o]|0)*u,E=(b&67108863)+(p&67108863);p>>=26,p+=b/67108864|0,p+=E>>>26,this.words[o]=E&67108863}return p!==0&&(this.words[o]=p,this.length++),this.length=u===0?1:this.length,this},r.prototype.muln=function(u){return this.clone().imuln(u)},r.prototype.sqr=function(){return this.mul(this)},r.prototype.isqr=function(){return this.imul(this.clone())},r.prototype.pow=function(u){var p=s(u);if(p.length===0)return new r(1);for(var o=this,b=0;b<p.length&&p[b]===0;b++,o=o.sqr());if(++b<p.length)for(var E=o.sqr();b<p.length;b++,E=E.sqr())p[b]!==0&&(o=o.mul(E));return o},r.prototype.iushln=function(u){c(typeof u=="number"&&u>=0);var p=u%26,o=(u-p)/26,b=67108863>>>26-p<<26-p,E;if(p!==0){var A=0;for(E=0;E<this.length;E++){var M=this.words[E]&b,D=(this.words[E]|0)-M<<p;this.words[E]=D|A,A=M>>>26-p}A&&(this.words[E]=A,this.length++)}if(o!==0){for(E=this.length-1;E>=0;E--)this.words[E+o]=this.words[E];for(E=0;E<o;E++)this.words[E]=0;this.length+=o}return this.strip()},r.prototype.ishln=function(u){return c(this.negative===0),this.iushln(u)},r.prototype.iushrn=function(u,p,o){c(typeof u=="number"&&u>=0);var b;p?b=(p-p%26)/26:b=0;var E=u%26,A=Math.min((u-E)/26,this.length),M=67108863^67108863>>>E<<E,D=o;if(b-=A,b=Math.max(0,b),D){for(var B=0;B<A;B++)D.words[B]=this.words[B];D.length=A}if(A!==0)if(this.length>A)for(this.length-=A,B=0;B<this.length;B++)this.words[B]=this.words[B+A];else this.words[0]=0,this.length=1;var R=0;for(B=this.length-1;B>=0&&(R!==0||B>=b);B--){var q=this.words[B]|0;this.words[B]=R<<26-E|q>>>E,R=q&M}return D&&R!==0&&(D.words[D.length++]=R),this.length===0&&(this.words[0]=0,this.length=1),this.strip()},r.prototype.ishrn=function(u,p,o){return c(this.negative===0),this.iushrn(u,p,o)},r.prototype.shln=function(u){return this.clone().ishln(u)},r.prototype.ushln=function(u){return this.clone().iushln(u)},r.prototype.shrn=function(u){return this.clone().ishrn(u)},r.prototype.ushrn=function(u){return this.clone().iushrn(u)},r.prototype.testn=function(u){c(typeof u=="number"&&u>=0);var p=u%26,o=(u-p)/26,b=1<<p;if(this.length<=o)return!1;var E=this.words[o];return!!(E&b)},r.prototype.imaskn=function(u){c(typeof u=="number"&&u>=0);var p=u%26,o=(u-p)/26;if(c(this.negative===0,"imaskn works only with positive numbers"),this.length<=o)return this;if(p!==0&&o++,this.length=Math.min(o,this.length),p!==0){var b=67108863^67108863>>>p<<p;this.words[this.length-1]&=b}return this.strip()},r.prototype.maskn=function(u){return this.clone().imaskn(u)},r.prototype.iaddn=function(u){return c(typeof u=="number"),c(u<67108864),u<0?this.isubn(-u):this.negative!==0?this.length===1&&(this.words[0]|0)<u?(this.words[0]=u-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(u),this.negative=1,this):this._iaddn(u)},r.prototype._iaddn=function(u){this.words[0]+=u;for(var p=0;p<this.length&&this.words[p]>=67108864;p++)this.words[p]-=67108864,p===this.length-1?this.words[p+1]=1:this.words[p+1]++;return this.length=Math.max(this.length,p+1),this},r.prototype.isubn=function(u){if(c(typeof u=="number"),c(u<67108864),u<0)return this.iaddn(-u);if(this.negative!==0)return this.negative=0,this.iaddn(u),this.negative=1,this;if(this.words[0]-=u,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var p=0;p<this.length&&this.words[p]<0;p++)this.words[p]+=67108864,this.words[p+1]-=1;return this.strip()},r.prototype.addn=function(u){return this.clone().iaddn(u)},r.prototype.subn=function(u){return this.clone().isubn(u)},r.prototype.iabs=function(){return this.negative=0,this},r.prototype.abs=function(){return this.clone().iabs()},r.prototype._ishlnsubmul=function(u,p,o){var b=u.length+o,E;this._expand(b);var A,M=0;for(E=0;E<u.length;E++){A=(this.words[E+o]|0)+M;var D=(u.words[E]|0)*p;A-=D&67108863,M=(A>>26)-(D/67108864|0),this.words[E+o]=A&67108863}for(;E<this.length-o;E++)A=(this.words[E+o]|0)+M,M=A>>26,this.words[E+o]=A&67108863;if(M===0)return this.strip();for(c(M===-1),M=0,E=0;E<this.length;E++)A=-(this.words[E]|0)+M,M=A>>26,this.words[E]=A&67108863;return this.negative=1,this.strip()},r.prototype._wordDiv=function(u,p){var o=this.length-u.length,b=this.clone(),E=u,A=E.words[E.length-1]|0,M=this._countBits(A);o=26-M,o!==0&&(E=E.ushln(o),b.iushln(o),A=E.words[E.length-1]|0);var D=b.length-E.length,B;if(p!=="mod"){B=new r(null),B.length=D+1,B.words=new Array(B.length);for(var R=0;R<B.length;R++)B.words[R]=0}var q=b.clone()._ishlnsubmul(E,1,D);q.negative===0&&(b=q,B&&(B.words[D]=1));for(var F=D-1;F>=0;F--){var W=(b.words[E.length+F]|0)*67108864+(b.words[E.length+F-1]|0);for(W=Math.min(W/A|0,67108863),b._ishlnsubmul(E,W,F);b.negative!==0;)W--,b.negative=0,b._ishlnsubmul(E,1,F),b.isZero()||(b.negative^=1);B&&(B.words[F]=W)}return B&&B.strip(),b.strip(),p!=="div"&&o!==0&&b.iushrn(o),{div:B||null,mod:b}},r.prototype.divmod=function(u,p,o){if(c(!u.isZero()),this.isZero())return{div:new r(0),mod:new r(0)};var b,E,A;return this.negative!==0&&u.negative===0?(A=this.neg().divmod(u,p),p!=="mod"&&(b=A.div.neg()),p!=="div"&&(E=A.mod.neg(),o&&E.negative!==0&&E.iadd(u)),{div:b,mod:E}):this.negative===0&&u.negative!==0?(A=this.divmod(u.neg(),p),p!=="mod"&&(b=A.div.neg()),{div:b,mod:A.mod}):(this.negative&u.negative)!==0?(A=this.neg().divmod(u.neg(),p),p!=="div"&&(E=A.mod.neg(),o&&E.negative!==0&&E.isub(u)),{div:A.div,mod:E}):u.length>this.length||this.cmp(u)<0?{div:new r(0),mod:this}:u.length===1?p==="div"?{div:this.divn(u.words[0]),mod:null}:p==="mod"?{div:null,mod:new r(this.modn(u.words[0]))}:{div:this.divn(u.words[0]),mod:new r(this.modn(u.words[0]))}:this._wordDiv(u,p)},r.prototype.div=function(u){return this.divmod(u,"div",!1).div},r.prototype.mod=function(u){return this.divmod(u,"mod",!1).mod},r.prototype.umod=function(u){return this.divmod(u,"mod",!0).mod},r.prototype.divRound=function(u){var p=this.divmod(u);if(p.mod.isZero())return p.div;var o=p.div.negative!==0?p.mod.isub(u):p.mod,b=u.ushrn(1),E=u.andln(1),A=o.cmp(b);return A<0||E===1&&A===0?p.div:p.div.negative!==0?p.div.isubn(1):p.div.iaddn(1)},r.prototype.modn=function(u){c(u<=67108863);for(var p=(1<<26)%u,o=0,b=this.length-1;b>=0;b--)o=(p*o+(this.words[b]|0))%u;return o},r.prototype.idivn=function(u){c(u<=67108863);for(var p=0,o=this.length-1;o>=0;o--){var b=(this.words[o]|0)+p*67108864;this.words[o]=b/u|0,p=b%u}return this.strip()},r.prototype.divn=function(u){return this.clone().idivn(u)},r.prototype.egcd=function(u){c(u.negative===0),c(!u.isZero());var p=this,o=u.clone();p.negative!==0?p=p.umod(u):p=p.clone();for(var b=new r(1),E=new r(0),A=new r(0),M=new r(1),D=0;p.isEven()&&o.isEven();)p.iushrn(1),o.iushrn(1),++D;for(var B=o.clone(),R=p.clone();!p.isZero();){for(var q=0,F=1;(p.words[0]&F)===0&&q<26;++q,F<<=1);if(q>0)for(p.iushrn(q);q-- >0;)(b.isOdd()||E.isOdd())&&(b.iadd(B),E.isub(R)),b.iushrn(1),E.iushrn(1);for(var W=0,Y=1;(o.words[0]&Y)===0&&W<26;++W,Y<<=1);if(W>0)for(o.iushrn(W);W-- >0;)(A.isOdd()||M.isOdd())&&(A.iadd(B),M.isub(R)),A.iushrn(1),M.iushrn(1);p.cmp(o)>=0?(p.isub(o),b.isub(A),E.isub(M)):(o.isub(p),A.isub(b),M.isub(E))}return{a:A,b:M,gcd:o.iushln(D)}},r.prototype._invmp=function(u){c(u.negative===0),c(!u.isZero());var p=this,o=u.clone();p.negative!==0?p=p.umod(u):p=p.clone();for(var b=new r(1),E=new r(0),A=o.clone();p.cmpn(1)>0&&o.cmpn(1)>0;){for(var M=0,D=1;(p.words[0]&D)===0&&M<26;++M,D<<=1);if(M>0)for(p.iushrn(M);M-- >0;)b.isOdd()&&b.iadd(A),b.iushrn(1);for(var B=0,R=1;(o.words[0]&R)===0&&B<26;++B,R<<=1);if(B>0)for(o.iushrn(B);B-- >0;)E.isOdd()&&E.iadd(A),E.iushrn(1);p.cmp(o)>=0?(p.isub(o),b.isub(E)):(o.isub(p),E.isub(b))}var q;return p.cmpn(1)===0?q=b:q=E,q.cmpn(0)<0&&q.iadd(u),q},r.prototype.gcd=function(u){if(this.isZero())return u.abs();if(u.isZero())return this.abs();var p=this.clone(),o=u.clone();p.negative=0,o.negative=0;for(var b=0;p.isEven()&&o.isEven();b++)p.iushrn(1),o.iushrn(1);do{for(;p.isEven();)p.iushrn(1);for(;o.isEven();)o.iushrn(1);var E=p.cmp(o);if(E<0){var A=p;p=o,o=A}else if(E===0||o.cmpn(1)===0)break;p.isub(o)}while(!0);return o.iushln(b)},r.prototype.invm=function(u){return this.egcd(u).a.umod(u)},r.prototype.isEven=function(){return(this.words[0]&1)===0},r.prototype.isOdd=function(){return(this.words[0]&1)===1},r.prototype.andln=function(u){return this.words[0]&u},r.prototype.bincn=function(u){c(typeof u=="number");var p=u%26,o=(u-p)/26,b=1<<p;if(this.length<=o)return this._expand(o+1),this.words[o]|=b,this;for(var E=b,A=o;E!==0&&A<this.length;A++){var M=this.words[A]|0;M+=E,E=M>>>26,M&=67108863,this.words[A]=M}return E!==0&&(this.words[A]=E,this.length++),this},r.prototype.isZero=function(){return this.length===1&&this.words[0]===0},r.prototype.cmpn=function(u){var p=u<0;if(this.negative!==0&&!p)return-1;if(this.negative===0&&p)return 1;this.strip();var o;if(this.length>1)o=1;else{p&&(u=-u),c(u<=67108863,"Number is too big");var b=this.words[0]|0;o=b===u?0:b<u?-1:1}return this.negative!==0?-o|0:o},r.prototype.cmp=function(u){if(this.negative!==0&&u.negative===0)return-1;if(this.negative===0&&u.negative!==0)return 1;var p=this.ucmp(u);return this.negative!==0?-p|0:p},r.prototype.ucmp=function(u){if(this.length>u.length)return 1;if(this.length<u.length)return-1;for(var p=0,o=this.length-1;o>=0;o--){var b=this.words[o]|0,E=u.words[o]|0;if(b!==E){b<E?p=-1:b>E&&(p=1);break}}return p},r.prototype.gtn=function(u){return this.cmpn(u)===1},r.prototype.gt=function(u){return this.cmp(u)===1},r.prototype.gten=function(u){return this.cmpn(u)>=0},r.prototype.gte=function(u){return this.cmp(u)>=0},r.prototype.ltn=function(u){return this.cmpn(u)===-1},r.prototype.lt=function(u){return this.cmp(u)===-1},r.prototype.lten=function(u){return this.cmpn(u)<=0},r.prototype.lte=function(u){return this.cmp(u)<=0},r.prototype.eqn=function(u){return this.cmpn(u)===0},r.prototype.eq=function(u){return this.cmp(u)===0},r.red=function(u){return new V(u)},r.prototype.toRed=function(u){return c(!this.red,"Already a number in reduction context"),c(this.negative===0,"red works only with positives"),u.convertTo(this)._forceRed(u)},r.prototype.fromRed=function(){return c(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},r.prototype._forceRed=function(u){return this.red=u,this},r.prototype.forceRed=function(u){return c(!this.red,"Already a number in reduction context"),this._forceRed(u)},r.prototype.redAdd=function(u){return c(this.red,"redAdd works only with red numbers"),this.red.add(this,u)},r.prototype.redIAdd=function(u){return c(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,u)},r.prototype.redSub=function(u){return c(this.red,"redSub works only with red numbers"),this.red.sub(this,u)},r.prototype.redISub=function(u){return c(this.red,"redISub works only with red numbers"),this.red.isub(this,u)},r.prototype.redShl=function(u){return c(this.red,"redShl works only with red numbers"),this.red.shl(this,u)},r.prototype.redMul=function(u){return c(this.red,"redMul works only with red numbers"),this.red._verify2(this,u),this.red.mul(this,u)},r.prototype.redIMul=function(u){return c(this.red,"redMul works only with red numbers"),this.red._verify2(this,u),this.red.imul(this,u)},r.prototype.redSqr=function(){return c(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},r.prototype.redISqr=function(){return c(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},r.prototype.redSqrt=function(){return c(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},r.prototype.redInvm=function(){return c(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},r.prototype.redNeg=function(){return c(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},r.prototype.redPow=function(u){return c(this.red&&!u.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,u)};var S={k256:null,p224:null,p192:null,p25519:null};function C(O,u){this.name=O,this.p=new r(u,16),this.n=this.p.bitLength(),this.k=new r(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}C.prototype._tmp=function(){var u=new r(null);return u.words=new Array(Math.ceil(this.n/13)),u},C.prototype.ireduce=function(u){var p=u,o;do this.split(p,this.tmp),p=this.imulK(p),p=p.iadd(this.tmp),o=p.bitLength();while(o>this.n);var b=o<this.n?-1:p.ucmp(this.p);return b===0?(p.words[0]=0,p.length=1):b>0?p.isub(this.p):p.strip!==void 0?p.strip():p._strip(),p},C.prototype.split=function(u,p){u.iushrn(this.n,0,p)},C.prototype.imulK=function(u){return u.imul(this.k)};function P(){C.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}y(P,C),P.prototype.split=function(u,p){for(var o=4194303,b=Math.min(u.length,9),E=0;E<b;E++)p.words[E]=u.words[E];if(p.length=b,u.length<=9){u.words[0]=0,u.length=1;return}var A=u.words[9];for(p.words[p.length++]=A&o,E=10;E<u.length;E++){var M=u.words[E]|0;u.words[E-10]=(M&o)<<4|A>>>22,A=M}A>>>=22,u.words[E-10]=A,A===0&&u.length>10?u.length-=10:u.length-=9},P.prototype.imulK=function(u){u.words[u.length]=0,u.words[u.length+1]=0,u.length+=2;for(var p=0,o=0;o<u.length;o++){var b=u.words[o]|0;p+=b*977,u.words[o]=p&67108863,p=b*64+(p/67108864|0)}return u.words[u.length-1]===0&&(u.length--,u.words[u.length-1]===0&&u.length--),u};function T(){C.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}y(T,C);function U(){C.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}y(U,C);function z(){C.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}y(z,C),z.prototype.imulK=function(u){for(var p=0,o=0;o<u.length;o++){var b=(u.words[o]|0)*19+p,E=b&67108863;b>>>=26,u.words[o]=E,p=b}return p!==0&&(u.words[u.length++]=p),u},r._prime=function(u){if(S[u])return S[u];var p;if(u==="k256")p=new P;else if(u==="p224")p=new T;else if(u==="p192")p=new U;else if(u==="p25519")p=new z;else throw new Error("Unknown prime "+u);return S[u]=p,p};function V(O){if(typeof O=="string"){var u=r._prime(O);this.m=u.p,this.prime=u}else c(O.gtn(1),"modulus must be greater than 1"),this.m=O,this.prime=null}V.prototype._verify1=function(u){c(u.negative===0,"red works only with positives"),c(u.red,"red works only with red numbers")},V.prototype._verify2=function(u,p){c((u.negative|p.negative)===0,"red works only with positives"),c(u.red&&u.red===p.red,"red works only with red numbers")},V.prototype.imod=function(u){return this.prime?this.prime.ireduce(u)._forceRed(this):u.umod(this.m)._forceRed(this)},V.prototype.neg=function(u){return u.isZero()?u.clone():this.m.sub(u)._forceRed(this)},V.prototype.add=function(u,p){this._verify2(u,p);var o=u.add(p);return o.cmp(this.m)>=0&&o.isub(this.m),o._forceRed(this)},V.prototype.iadd=function(u,p){this._verify2(u,p);var o=u.iadd(p);return o.cmp(this.m)>=0&&o.isub(this.m),o},V.prototype.sub=function(u,p){this._verify2(u,p);var o=u.sub(p);return o.cmpn(0)<0&&o.iadd(this.m),o._forceRed(this)},V.prototype.isub=function(u,p){this._verify2(u,p);var o=u.isub(p);return o.cmpn(0)<0&&o.iadd(this.m),o},V.prototype.shl=function(u,p){return this._verify1(u),this.imod(u.ushln(p))},V.prototype.imul=function(u,p){return this._verify2(u,p),this.imod(u.imul(p))},V.prototype.mul=function(u,p){return this._verify2(u,p),this.imod(u.mul(p))},V.prototype.isqr=function(u){return this.imul(u,u.clone())},V.prototype.sqr=function(u){return this.mul(u,u)},V.prototype.sqrt=function(u){if(u.isZero())return u.clone();var p=this.m.andln(3);if(c(p%2===1),p===3){var o=this.m.add(new r(1)).iushrn(2);return this.pow(u,o)}for(var b=this.m.subn(1),E=0;!b.isZero()&&b.andln(1)===0;)E++,b.iushrn(1);c(!b.isZero());var A=new r(1).toRed(this),M=A.redNeg(),D=this.m.subn(1).iushrn(1),B=this.m.bitLength();for(B=new r(2*B*B).toRed(this);this.pow(B,D).cmp(M)!==0;)B.redIAdd(M);for(var R=this.pow(B,b),q=this.pow(u,b.addn(1).iushrn(1)),F=this.pow(u,b),W=E;F.cmp(A)!==0;){for(var Y=F,X=0;Y.cmp(A)!==0;X++)Y=Y.redSqr();c(X<W);var k=this.pow(R,new r(1).iushln(W-X-1));q=q.redMul(k),R=k.redSqr(),F=F.redMul(R),W=X}return q},V.prototype.invm=function(u){var p=u._invmp(this.m);return p.negative!==0?(p.negative=0,this.imod(p).redNeg()):this.imod(p)},V.prototype.pow=function(u,p){if(p.isZero())return new r(1).toRed(this);if(p.cmpn(1)===0)return u.clone();var o=4,b=new Array(1<<o);b[0]=new r(1).toRed(this),b[1]=u;for(var E=2;E<b.length;E++)b[E]=this.mul(b[E-1],u);var A=b[0],M=0,D=0,B=p.bitLength()%26;for(B===0&&(B=26),E=p.length-1;E>=0;E--){for(var R=p.words[E],q=B-1;q>=0;q--){var F=R>>q&1;if(A!==b[0]&&(A=this.sqr(A)),F===0&&M===0){D=0;continue}M<<=1,M|=F,D++,!(D!==o&&(E!==0||q!==0))&&(A=this.mul(A,b[M]),D=0,M=0)}B=26}return A},V.prototype.convertTo=function(u){var p=u.umod(this.m);return p===u?p.clone():p},V.prototype.convertFrom=function(u){var p=u.clone();return p.red=null,p},r.mont=function(u){return new G(u)};function G(O){V.call(this,O),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new r(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y(G,V),G.prototype.convertTo=function(u){return this.imod(u.ushln(this.shift))},G.prototype.convertFrom=function(u){var p=this.imod(u.mul(this.rinv));return p.red=null,p},G.prototype.imul=function(u,p){if(u.isZero()||p.isZero())return u.words[0]=0,u.length=1,u;var o=u.imul(p),b=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),E=o.isub(b).iushrn(this.shift),A=E;return E.cmp(this.m)>=0?A=E.isub(this.m):E.cmpn(0)<0&&(A=E.iadd(this.m)),A._forceRed(this)},G.prototype.mul=function(u,p){if(u.isZero()||p.isZero())return new r(0)._forceRed(this);var o=u.mul(p),b=o.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),E=o.isub(b).iushrn(this.shift),A=E;return E.cmp(this.m)>=0?A=E.isub(this.m):E.cmpn(0)<0&&(A=E.iadd(this.m)),A._forceRed(this)},G.prototype.invm=function(u){var p=this.imod(u._invmp(this.m).mul(this.r2));return p._forceRed(this)}})(v,bn$2)}(bn$3)),bn$3.exports}var brorand={exports:{}},hasRequiredBrorand;function requireBrorand(){if(hasRequiredBrorand)return brorand.exports;hasRequiredBrorand=1;var v;brorand.exports=function(y){return v||(v=new m(null)),v.generate(y)};function m(c){this.rand=c}if(brorand.exports.Rand=m,m.prototype.generate=function(y){return this._rand(y)},m.prototype._rand=function(y){if(this.rand.getBytes)return this.rand.getBytes(y);for(var r=new Uint8Array(y),d=0;d<r.length;d++)r[d]=this.rand.getByte();return r},typeof self=="object")self.crypto&&self.crypto.getRandomValues?m.prototype._rand=function(y){var r=new Uint8Array(y);return self.crypto.getRandomValues(r),r}:self.msCrypto&&self.msCrypto.getRandomValues?m.prototype._rand=function(y){var r=new Uint8Array(y);return self.msCrypto.getRandomValues(r),r}:typeof window=="object"&&(m.prototype._rand=function(){throw new Error("Not implemented yet")});else try{var x=requireCryptoBrowserify();if(typeof x.randomBytes!="function")throw new Error("Not supported");m.prototype._rand=function(y){return x.randomBytes(y)}}catch{}return brorand.exports}var mr,hasRequiredMr;function requireMr(){if(hasRequiredMr)return mr;hasRequiredMr=1;var v=requireBn$1(),m=requireBrorand();function x(c){this.rand=c||new m.Rand}return mr=x,x.create=function(y){return new x(y)},x.prototype._randbelow=function(y){var r=y.bitLength(),d=Math.ceil(r/8);do var n=new v(this.rand.generate(d));while(n.cmp(y)>=0);return n},x.prototype._randrange=function(y,r){var d=r.sub(y);return y.add(this._randbelow(d))},x.prototype.test=function(y,r,d){var n=y.bitLength(),i=v.mont(y),t=new v(1).toRed(i);r||(r=Math.max(1,n/48|0));for(var e=y.subn(1),a=0;!e.testn(a);a++);for(var f=y.shrn(a),s=e.toRed(i),h=!0;r>0;r--){var l=this._randrange(new v(2),e);d&&d(l);var g=l.toRed(i).redPow(f);if(!(g.cmp(t)===0||g.cmp(s)===0)){for(var w=1;w<a;w++){if(g=g.redSqr(),g.cmp(t)===0)return!1;if(g.cmp(s)===0)break}if(w===a)return!1}}return h},x.prototype.getDivisor=function(y,r){var d=y.bitLength(),n=v.mont(y),i=new v(1).toRed(n);r||(r=Math.max(1,d/48|0));for(var t=y.subn(1),e=0;!t.testn(e);e++);for(var a=y.shrn(e),f=t.toRed(n);r>0;r--){var s=this._randrange(new v(2),t),h=y.gcd(s);if(h.cmpn(1)!==0)return h;var l=s.toRed(n).redPow(a);if(!(l.cmp(i)===0||l.cmp(f)===0)){for(var g=1;g<e;g++){if(l=l.redSqr(),l.cmp(i)===0)return l.fromRed().subn(1).gcd(y);if(l.cmp(f)===0)break}if(g===e)return l=l.redSqr(),l.fromRed().subn(1).gcd(y)}}return!1},mr}var generatePrime,hasRequiredGeneratePrime;function requireGeneratePrime(){if(hasRequiredGeneratePrime)return generatePrime;hasRequiredGeneratePrime=1;var v=requireBrowser$b();generatePrime=g,g.simpleSieve=h,g.fermatTest=l;var m=requireBn$1(),x=new m(24),c=requireMr(),y=new c,r=new m(1),d=new m(2),n=new m(5);new m(16),new m(8);var i=new m(10),t=new m(3);new m(7);var e=new m(11),a=new m(4);new m(12);var f=null;function s(){if(f!==null)return f;var w=1048576,_=[];_[0]=2;for(var S=1,C=3;C<w;C+=2){for(var P=Math.ceil(Math.sqrt(C)),T=0;T<S&&_[T]<=P&&C%_[T]!==0;T++);S!==T&&_[T]<=P||(_[S++]=C)}return f=_,_}function h(w){for(var _=s(),S=0;S<_.length;S++)if(w.modn(_[S])===0)return w.cmpn(_[S])===0;return!0}function l(w){var _=m.mont(w);return d.toRed(_).redPow(w.subn(1)).fromRed().cmpn(1)===0}function g(w,_){if(w<16)return _===2||_===5?new m([140,123]):new m([140,39]);_=new m(_);for(var S,C;;){for(S=new m(v(Math.ceil(w/8)));S.bitLength()>w;)S.ishrn(1);if(S.isEven()&&S.iadd(r),S.testn(1)||S.iadd(d),_.cmp(d)){if(!_.cmp(n))for(;S.mod(i).cmp(t);)S.iadd(a)}else for(;S.mod(x).cmp(e);)S.iadd(a);if(C=S.shrn(1),h(C)&&h(S)&&l(C)&&l(S)&&y.test(C)&&y.test(S))return S}}return generatePrime}const modp1={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a63a3620ffffffffffffffff"},modp2={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece65381ffffffffffffffff"},modp5={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca237327ffffffffffffffff"},modp14={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aacaa68ffffffffffffffff"},modp15={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a93ad2caffffffffffffffff"},modp16={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c934063199ffffffffffffffff"},modp17={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dcc4024ffffffffffffffff"},modp18={gen:"02",prime:"ffffffffffffffffc90fdaa22168c234c4c6628b80dc1cd129024e088a67cc74020bbea63b139b22514a08798e3404ddef9519b3cd3a431b302b0a6df25f14374fe1356d6d51c245e485b576625e7ec6f44c42e9a637ed6b0bff5cb6f406b7edee386bfb5a899fa5ae9f24117c4b1fe649286651ece45b3dc2007cb8a163bf0598da48361c55d39a69163fa8fd24cf5f83655d23dca3ad961c62f356208552bb9ed529077096966d670c354e4abc9804f1746c08ca18217c32905e462e36ce3be39e772c180e86039b2783a2ec07a28fb5c55df06f4c52c9de2bcbf6955817183995497cea956ae515d2261898fa051015728e5a8aaac42dad33170d04507a33a85521abdf1cba64ecfb850458dbef0a8aea71575d060c7db3970f85a6e1e4c7abf5ae8cdb0933d71e8c94e04a25619dcee3d2261ad2ee6bf12ffa06d98a0864d87602733ec86a64521f2b18177b200cbbe117577a615d6c770988c0bad946e208e24fa074e5ab3143db5bfce0fd108e4b82d120a92108011a723c12a787e6d788719a10bdba5b2699c327186af4e23c1a946834b6150bda2583e9ca2ad44ce8dbbbc2db04de8ef92e8efc141fbecaa6287c59474e6bc05d99b2964fa090c3a2233ba186515be7ed1f612970cee2d7afb81bdd762170481cd0069127d5b05aa993b4ea988d8fddc186ffb7dc90a6c08f4df435c93402849236c3fab4d27c7026c1d4dcb2602646dec9751e763dba37bdf8ff9406ad9e530ee5db382f413001aeb06a53ed9027d831179727b0865a8918da3edbebcf9b14ed44ce6cbaced4bb1bdb7f1447e6cc254b332051512bd7af426fb8f401378cd2bf5983ca01c64b92ecf032ea15d1721d03f482d7ce6e74fef6d55e702f46980c82b5a84031900b1c9e59e7c97fbec7e8f323a97a7e36cc88be0f1d45b7ff585ac54bd407b22b4154aacc8f6d7ebf48e1d814cc5ed20f8037e0a79715eef29be32806a1d58bb7c5da76f550aa3d8a1fbff0eb19ccb1a313d55cda56c9ec2ef29632387fe8d76e3c0468043e8f663f4860ee12bf2d5b0b7474d6e694f91e6dbe115974a3926f12fee5e438777cb6a932df8cd8bec4d073b931ba3bc832b68d9dd300741fa7bf8afc47ed2576f6936ba424663aab639c5ae4f5683423b4742bf1c978238f16cbe39d652de3fdb8befc848ad922222e04a4037c0713eb57a81a23f0c73473fc646cea306b4bcbc8862f8385ddfa9d4b7fa2c087e879683303ed5bdd3a062b3cf5b3a278a66d2a13f83f44f82ddf310ee074ab6a364597e899a0255dc164f31cc50846851df9ab48195ded7ea1b1d510bd7ee74d73faf36bc31ecfa268359046f4eb879f924009438b481c6cd7889a002ed5ee382bc9190da6fc026e479558e4475677e9aa9e3050e2765694dfc81f56e880b96e7160c980dd98edd3dfffffffffffffffff"},require$$1$1={modp1,modp2,modp5,modp14,modp15,modp16,modp17,modp18};var dh,hasRequiredDh;function requireDh(){if(hasRequiredDh)return dh;hasRequiredDh=1;var v=requireBn$1(),m=requireMr(),x=new m,c=new v(24),y=new v(11),r=new v(10),d=new v(3),n=new v(7),i=requireGeneratePrime(),t=requireBrowser$b();dh=h;function e(g,w){return w=w||"utf8",Buffer.isBuffer(g)||(g=new Buffer(g,w)),this._pub=new v(g),this}function a(g,w){return w=w||"utf8",Buffer.isBuffer(g)||(g=new Buffer(g,w)),this._priv=new v(g),this}var f={};function s(g,w){var _=w.toString("hex"),S=[_,g.toString(16)].join("_");if(S in f)return f[S];var C=0;if(g.isEven()||!i.simpleSieve||!i.fermatTest(g)||!x.test(g))return C+=1,_==="02"||_==="05"?C+=8:C+=4,f[S]=C,C;x.test(g.shrn(1))||(C+=2);var P;switch(_){case"02":g.mod(c).cmp(y)&&(C+=8);break;case"05":P=g.mod(r),P.cmp(d)&&P.cmp(n)&&(C+=8);break;default:C+=4}return f[S]=C,C}function h(g,w,_){this.setGenerator(w),this.__prime=new v(g),this._prime=v.mont(this.__prime),this._primeLen=g.length,this._pub=void 0,this._priv=void 0,this._primeCode=void 0,_?(this.setPublicKey=e,this.setPrivateKey=a):this._primeCode=8}Object.defineProperty(h.prototype,"verifyError",{enumerable:!0,get:function(){return typeof this._primeCode!="number"&&(this._primeCode=s(this.__prime,this.__gen)),this._primeCode}}),h.prototype.generateKeys=function(){return this._priv||(this._priv=new v(t(this._primeLen))),this._pub=this._gen.toRed(this._prime).redPow(this._priv).fromRed(),this.getPublicKey()},h.prototype.computeSecret=function(g){g=new v(g),g=g.toRed(this._prime);var w=g.redPow(this._priv).fromRed(),_=new Buffer(w.toArray()),S=this.getPrime();if(_.length<S.length){var C=new Buffer(S.length-_.length);C.fill(0),_=Buffer.concat([C,_])}return _},h.prototype.getPublicKey=function(w){return l(this._pub,w)},h.prototype.getPrivateKey=function(w){return l(this._priv,w)},h.prototype.getPrime=function(g){return l(this.__prime,g)},h.prototype.getGenerator=function(g){return l(this._gen,g)},h.prototype.setGenerator=function(g,w){return w=w||"utf8",Buffer.isBuffer(g)||(g=new Buffer(g,w)),this.__gen=g,this._gen=new v(g),this};function l(g,w){var _=new Buffer(g.toArray());return w?_.toString(w):_}return dh}var hasRequiredBrowser$4;function requireBrowser$4(){if(hasRequiredBrowser$4)return browser$4;hasRequiredBrowser$4=1;var v=requireGeneratePrime(),m=require$$1$1,x=requireDh();function c(d){var n=new Buffer(m[d].prime,"hex"),i=new Buffer(m[d].gen,"hex");return new x(n,i)}var y={binary:!0,hex:!0,base64:!0};function r(d,n,i,t){return Buffer.isBuffer(n)||y[n]===void 0?r(d,"binary",n,i):(n=n||"binary",t=t||"binary",i=i||new Buffer([2]),Buffer.isBuffer(i)||(i=new Buffer(i,t)),typeof d=="number"?new x(v(d,i),i,!0):(Buffer.isBuffer(d)||(d=new Buffer(d,n)),new x(d,i,!0)))}return browser$4.DiffieHellmanGroup=browser$4.createDiffieHellmanGroup=browser$4.getDiffieHellman=c,browser$4.createDiffieHellman=browser$4.DiffieHellman=r,browser$4}var sign={exports:{}},bn$1={exports:{}},bn=bn$1.exports,hasRequiredBn;function requireBn(){return hasRequiredBn||(hasRequiredBn=1,function(v){(function(m,x){function c(p,o){if(!p)throw new Error(o||"Assertion failed")}function y(p,o){p.super_=o;var b=function(){};b.prototype=o.prototype,p.prototype=new b,p.prototype.constructor=p}function r(p,o,b){if(r.isBN(p))return p;this.negative=0,this.words=null,this.length=0,this.red=null,p!==null&&((o==="le"||o==="be")&&(b=o,o=10),this._init(p||0,o||10,b||"be"))}typeof m=="object"?m.exports=r:x.BN=r,r.BN=r,r.wordSize=26;var d;try{typeof window<"u"&&typeof window.Buffer<"u"?d=window.Buffer:d=requireDist().Buffer}catch{}r.isBN=function(o){return o instanceof r?!0:o!==null&&typeof o=="object"&&o.constructor.wordSize===r.wordSize&&Array.isArray(o.words)},r.max=function(o,b){return o.cmp(b)>0?o:b},r.min=function(o,b){return o.cmp(b)<0?o:b},r.prototype._init=function(o,b,E){if(typeof o=="number")return this._initNumber(o,b,E);if(typeof o=="object")return this._initArray(o,b,E);b==="hex"&&(b=16),c(b===(b|0)&&b>=2&&b<=36),o=o.toString().replace(/\s+/g,"");var A=0;o[0]==="-"&&(A++,this.negative=1),A<o.length&&(b===16?this._parseHex(o,A,E):(this._parseBase(o,b,A),E==="le"&&this._initArray(this.toArray(),b,E)))},r.prototype._initNumber=function(o,b,E){o<0&&(this.negative=1,o=-o),o<67108864?(this.words=[o&67108863],this.length=1):o<4503599627370496?(this.words=[o&67108863,o/67108864&67108863],this.length=2):(c(o<9007199254740992),this.words=[o&67108863,o/67108864&67108863,1],this.length=3),E==="le"&&this._initArray(this.toArray(),b,E)},r.prototype._initArray=function(o,b,E){if(c(typeof o.length=="number"),o.length<=0)return this.words=[0],this.length=1,this;this.length=Math.ceil(o.length/3),this.words=new Array(this.length);for(var A=0;A<this.length;A++)this.words[A]=0;var M,D,B=0;if(E==="be")for(A=o.length-1,M=0;A>=0;A-=3)D=o[A]|o[A-1]<<8|o[A-2]<<16,this.words[M]|=D<<B&67108863,this.words[M+1]=D>>>26-B&67108863,B+=24,B>=26&&(B-=26,M++);else if(E==="le")for(A=0,M=0;A<o.length;A+=3)D=o[A]|o[A+1]<<8|o[A+2]<<16,this.words[M]|=D<<B&67108863,this.words[M+1]=D>>>26-B&67108863,B+=24,B>=26&&(B-=26,M++);return this._strip()};function n(p,o){var b=p.charCodeAt(o);if(b>=48&&b<=57)return b-48;if(b>=65&&b<=70)return b-55;if(b>=97&&b<=102)return b-87;c(!1,"Invalid character in "+p)}function i(p,o,b){var E=n(p,b);return b-1>=o&&(E|=n(p,b-1)<<4),E}r.prototype._parseHex=function(o,b,E){this.length=Math.ceil((o.length-b)/6),this.words=new Array(this.length);for(var A=0;A<this.length;A++)this.words[A]=0;var M=0,D=0,B;if(E==="be")for(A=o.length-1;A>=b;A-=2)B=i(o,b,A)<<M,this.words[D]|=B&67108863,M>=18?(M-=18,D+=1,this.words[D]|=B>>>26):M+=8;else{var R=o.length-b;for(A=R%2===0?b+1:b;A<o.length;A+=2)B=i(o,b,A)<<M,this.words[D]|=B&67108863,M>=18?(M-=18,D+=1,this.words[D]|=B>>>26):M+=8}this._strip()};function t(p,o,b,E){for(var A=0,M=0,D=Math.min(p.length,b),B=o;B<D;B++){var R=p.charCodeAt(B)-48;A*=E,R>=49?M=R-49+10:R>=17?M=R-17+10:M=R,c(R>=0&&M<E,"Invalid character"),A+=M}return A}r.prototype._parseBase=function(o,b,E){this.words=[0],this.length=1;for(var A=0,M=1;M<=67108863;M*=b)A++;A--,M=M/b|0;for(var D=o.length-E,B=D%A,R=Math.min(D,D-B)+E,q=0,F=E;F<R;F+=A)q=t(o,F,F+A,b),this.imuln(M),this.words[0]+q<67108864?this.words[0]+=q:this._iaddn(q);if(B!==0){var W=1;for(q=t(o,F,o.length,b),F=0;F<B;F++)W*=b;this.imuln(W),this.words[0]+q<67108864?this.words[0]+=q:this._iaddn(q)}this._strip()},r.prototype.copy=function(o){o.words=new Array(this.length);for(var b=0;b<this.length;b++)o.words[b]=this.words[b];o.length=this.length,o.negative=this.negative,o.red=this.red};function e(p,o){p.words=o.words,p.length=o.length,p.negative=o.negative,p.red=o.red}if(r.prototype._move=function(o){e(o,this)},r.prototype.clone=function(){var o=new r(null);return this.copy(o),o},r.prototype._expand=function(o){for(;this.length<o;)this.words[this.length++]=0;return this},r.prototype._strip=function(){for(;this.length>1&&this.words[this.length-1]===0;)this.length--;return this._normSign()},r.prototype._normSign=function(){return this.length===1&&this.words[0]===0&&(this.negative=0),this},typeof Symbol<"u"&&typeof Symbol.for=="function")try{r.prototype[Symbol.for("nodejs.util.inspect.custom")]=a}catch{r.prototype.inspect=a}else r.prototype.inspect=a;function a(){return(this.red?"<BN-R: ":"<BN: ")+this.toString(16)+">"}var f=["","0","00","000","0000","00000","000000","0000000","00000000","000000000","0000000000","00000000000","000000000000","0000000000000","00000000000000","000000000000000","0000000000000000","00000000000000000","000000000000000000","0000000000000000000","00000000000000000000","000000000000000000000","0000000000000000000000","00000000000000000000000","000000000000000000000000","0000000000000000000000000"],s=[0,0,25,16,12,11,10,9,8,8,7,7,7,7,6,6,6,6,6,6,6,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5],h=[0,0,33554432,43046721,16777216,48828125,60466176,40353607,16777216,43046721,1e7,19487171,35831808,62748517,7529536,11390625,16777216,24137569,34012224,47045881,64e6,4084101,5153632,6436343,7962624,9765625,11881376,14348907,17210368,20511149,243e5,28629151,33554432,39135393,45435424,52521875,60466176];r.prototype.toString=function(o,b){o=o||10,b=b|0||1;var E;if(o===16||o==="hex"){E="";for(var A=0,M=0,D=0;D<this.length;D++){var B=this.words[D],R=((B<<A|M)&16777215).toString(16);M=B>>>24-A&16777215,A+=2,A>=26&&(A-=26,D--),M!==0||D!==this.length-1?E=f[6-R.length]+R+E:E=R+E}for(M!==0&&(E=M.toString(16)+E);E.length%b!==0;)E="0"+E;return this.negative!==0&&(E="-"+E),E}if(o===(o|0)&&o>=2&&o<=36){var q=s[o],F=h[o];E="";var W=this.clone();for(W.negative=0;!W.isZero();){var Y=W.modrn(F).toString(o);W=W.idivn(F),W.isZero()?E=Y+E:E=f[q-Y.length]+Y+E}for(this.isZero()&&(E="0"+E);E.length%b!==0;)E="0"+E;return this.negative!==0&&(E="-"+E),E}c(!1,"Base should be between 2 and 36")},r.prototype.toNumber=function(){var o=this.words[0];return this.length===2?o+=this.words[1]*67108864:this.length===3&&this.words[2]===1?o+=4503599627370496+this.words[1]*67108864:this.length>2&&c(!1,"Number can only safely store up to 53 bits"),this.negative!==0?-o:o},r.prototype.toJSON=function(){return this.toString(16,2)},d&&(r.prototype.toBuffer=function(o,b){return this.toArrayLike(d,o,b)}),r.prototype.toArray=function(o,b){return this.toArrayLike(Array,o,b)};var l=function(o,b){return o.allocUnsafe?o.allocUnsafe(b):new o(b)};r.prototype.toArrayLike=function(o,b,E){this._strip();var A=this.byteLength(),M=E||Math.max(1,A);c(A<=M,"byte array longer than desired length"),c(M>0,"Requested array length <= 0");var D=l(o,M),B=b==="le"?"LE":"BE";return this["_toArrayLike"+B](D,A),D},r.prototype._toArrayLikeLE=function(o,b){for(var E=0,A=0,M=0,D=0;M<this.length;M++){var B=this.words[M]<<D|A;o[E++]=B&255,E<o.length&&(o[E++]=B>>8&255),E<o.length&&(o[E++]=B>>16&255),D===6?(E<o.length&&(o[E++]=B>>24&255),A=0,D=0):(A=B>>>24,D+=2)}if(E<o.length)for(o[E++]=A;E<o.length;)o[E++]=0},r.prototype._toArrayLikeBE=function(o,b){for(var E=o.length-1,A=0,M=0,D=0;M<this.length;M++){var B=this.words[M]<<D|A;o[E--]=B&255,E>=0&&(o[E--]=B>>8&255),E>=0&&(o[E--]=B>>16&255),D===6?(E>=0&&(o[E--]=B>>24&255),A=0,D=0):(A=B>>>24,D+=2)}if(E>=0)for(o[E--]=A;E>=0;)o[E--]=0},Math.clz32?r.prototype._countBits=function(o){return 32-Math.clz32(o)}:r.prototype._countBits=function(o){var b=o,E=0;return b>=4096&&(E+=13,b>>>=13),b>=64&&(E+=7,b>>>=7),b>=8&&(E+=4,b>>>=4),b>=2&&(E+=2,b>>>=2),E+b},r.prototype._zeroBits=function(o){if(o===0)return 26;var b=o,E=0;return(b&8191)===0&&(E+=13,b>>>=13),(b&127)===0&&(E+=7,b>>>=7),(b&15)===0&&(E+=4,b>>>=4),(b&3)===0&&(E+=2,b>>>=2),(b&1)===0&&E++,E},r.prototype.bitLength=function(){var o=this.words[this.length-1],b=this._countBits(o);return(this.length-1)*26+b};function g(p){for(var o=new Array(p.bitLength()),b=0;b<o.length;b++){var E=b/26|0,A=b%26;o[b]=p.words[E]>>>A&1}return o}r.prototype.zeroBits=function(){if(this.isZero())return 0;for(var o=0,b=0;b<this.length;b++){var E=this._zeroBits(this.words[b]);if(o+=E,E!==26)break}return o},r.prototype.byteLength=function(){return Math.ceil(this.bitLength()/8)},r.prototype.toTwos=function(o){return this.negative!==0?this.abs().inotn(o).iaddn(1):this.clone()},r.prototype.fromTwos=function(o){return this.testn(o-1)?this.notn(o).iaddn(1).ineg():this.clone()},r.prototype.isNeg=function(){return this.negative!==0},r.prototype.neg=function(){return this.clone().ineg()},r.prototype.ineg=function(){return this.isZero()||(this.negative^=1),this},r.prototype.iuor=function(o){for(;this.length<o.length;)this.words[this.length++]=0;for(var b=0;b<o.length;b++)this.words[b]=this.words[b]|o.words[b];return this._strip()},r.prototype.ior=function(o){return c((this.negative|o.negative)===0),this.iuor(o)},r.prototype.or=function(o){return this.length>o.length?this.clone().ior(o):o.clone().ior(this)},r.prototype.uor=function(o){return this.length>o.length?this.clone().iuor(o):o.clone().iuor(this)},r.prototype.iuand=function(o){var b;this.length>o.length?b=o:b=this;for(var E=0;E<b.length;E++)this.words[E]=this.words[E]&o.words[E];return this.length=b.length,this._strip()},r.prototype.iand=function(o){return c((this.negative|o.negative)===0),this.iuand(o)},r.prototype.and=function(o){return this.length>o.length?this.clone().iand(o):o.clone().iand(this)},r.prototype.uand=function(o){return this.length>o.length?this.clone().iuand(o):o.clone().iuand(this)},r.prototype.iuxor=function(o){var b,E;this.length>o.length?(b=this,E=o):(b=o,E=this);for(var A=0;A<E.length;A++)this.words[A]=b.words[A]^E.words[A];if(this!==b)for(;A<b.length;A++)this.words[A]=b.words[A];return this.length=b.length,this._strip()},r.prototype.ixor=function(o){return c((this.negative|o.negative)===0),this.iuxor(o)},r.prototype.xor=function(o){return this.length>o.length?this.clone().ixor(o):o.clone().ixor(this)},r.prototype.uxor=function(o){return this.length>o.length?this.clone().iuxor(o):o.clone().iuxor(this)},r.prototype.inotn=function(o){c(typeof o=="number"&&o>=0);var b=Math.ceil(o/26)|0,E=o%26;this._expand(b),E>0&&b--;for(var A=0;A<b;A++)this.words[A]=~this.words[A]&67108863;return E>0&&(this.words[A]=~this.words[A]&67108863>>26-E),this._strip()},r.prototype.notn=function(o){return this.clone().inotn(o)},r.prototype.setn=function(o,b){c(typeof o=="number"&&o>=0);var E=o/26|0,A=o%26;return this._expand(E+1),b?this.words[E]=this.words[E]|1<<A:this.words[E]=this.words[E]&~(1<<A),this._strip()},r.prototype.iadd=function(o){var b;if(this.negative!==0&&o.negative===0)return this.negative=0,b=this.isub(o),this.negative^=1,this._normSign();if(this.negative===0&&o.negative!==0)return o.negative=0,b=this.isub(o),o.negative=1,b._normSign();var E,A;this.length>o.length?(E=this,A=o):(E=o,A=this);for(var M=0,D=0;D<A.length;D++)b=(E.words[D]|0)+(A.words[D]|0)+M,this.words[D]=b&67108863,M=b>>>26;for(;M!==0&&D<E.length;D++)b=(E.words[D]|0)+M,this.words[D]=b&67108863,M=b>>>26;if(this.length=E.length,M!==0)this.words[this.length]=M,this.length++;else if(E!==this)for(;D<E.length;D++)this.words[D]=E.words[D];return this},r.prototype.add=function(o){var b;return o.negative!==0&&this.negative===0?(o.negative=0,b=this.sub(o),o.negative^=1,b):o.negative===0&&this.negative!==0?(this.negative=0,b=o.sub(this),this.negative=1,b):this.length>o.length?this.clone().iadd(o):o.clone().iadd(this)},r.prototype.isub=function(o){if(o.negative!==0){o.negative=0;var b=this.iadd(o);return o.negative=1,b._normSign()}else if(this.negative!==0)return this.negative=0,this.iadd(o),this.negative=1,this._normSign();var E=this.cmp(o);if(E===0)return this.negative=0,this.length=1,this.words[0]=0,this;var A,M;E>0?(A=this,M=o):(A=o,M=this);for(var D=0,B=0;B<M.length;B++)b=(A.words[B]|0)-(M.words[B]|0)+D,D=b>>26,this.words[B]=b&67108863;for(;D!==0&&B<A.length;B++)b=(A.words[B]|0)+D,D=b>>26,this.words[B]=b&67108863;if(D===0&&B<A.length&&A!==this)for(;B<A.length;B++)this.words[B]=A.words[B];return this.length=Math.max(this.length,B),A!==this&&(this.negative=1),this._strip()},r.prototype.sub=function(o){return this.clone().isub(o)};function w(p,o,b){b.negative=o.negative^p.negative;var E=p.length+o.length|0;b.length=E,E=E-1|0;var A=p.words[0]|0,M=o.words[0]|0,D=A*M,B=D&67108863,R=D/67108864|0;b.words[0]=B;for(var q=1;q<E;q++){for(var F=R>>>26,W=R&67108863,Y=Math.min(q,o.length-1),X=Math.max(0,q-p.length+1);X<=Y;X++){var k=q-X|0;A=p.words[k]|0,M=o.words[X]|0,D=A*M+W,F+=D/67108864|0,W=D&67108863}b.words[q]=W|0,R=F|0}return R!==0?b.words[q]=R|0:b.length--,b._strip()}var _=function(o,b,E){var A=o.words,M=b.words,D=E.words,B=0,R,q,F,W=A[0]|0,Y=W&8191,X=W>>>13,k=A[1]|0,N=k&8191,Z=k>>>13,Q=A[2]|0,H=Q&8191,L=Q>>>13,ee=A[3]|0,ne=ee&8191,fe=ee>>>13,ae=A[4]|0,ue=ae&8191,ce=ae>>>13,ie=A[5]|0,be=ie&8191,oe=ie>>>13,se=A[6]|0,de=se&8191,he=se>>>13,qe=A[7]|0,Se=qe&8191,ve=qe>>>13,Me=A[8]|0,$e=Me&8191,me=Me>>>13,Fe=A[9]|0,ke=Fe&8191,ge=Fe>>>13,Ie=M[0]|0,Pe=Ie&8191,Be=Ie>>>13,Le=M[1]|0,Te=Le&8191,Ae=Le>>>13,Ne=M[2]|0,Ue=Ne&8191,xe=Ne>>>13,Ce=M[3]|0,Oe=Ce&8191,Ee=Ce>>>13,De=M[4]|0,je=De&8191,j=De>>>13,$=M[5]|0,I=$&8191,K=$>>>13,J=M[6]|0,re=J&8191,te=J>>>13,pe=M[7]|0,_e=pe&8191,le=pe>>>13,we=M[8]|0,ye=we&8191,Re=we>>>13,We=M[9]|0,He=We&8191,ze=We>>>13;E.negative=o.negative^b.negative,E.length=19,R=Math.imul(Y,Pe),q=Math.imul(Y,Be),q=q+Math.imul(X,Pe)|0,F=Math.imul(X,Be);var Ge=(B+R|0)+((q&8191)<<13)|0;B=(F+(q>>>13)|0)+(Ge>>>26)|0,Ge&=67108863,R=Math.imul(N,Pe),q=Math.imul(N,Be),q=q+Math.imul(Z,Pe)|0,F=Math.imul(Z,Be),R=R+Math.imul(Y,Te)|0,q=q+Math.imul(Y,Ae)|0,q=q+Math.imul(X,Te)|0,F=F+Math.imul(X,Ae)|0;var Ke=(B+R|0)+((q&8191)<<13)|0;B=(F+(q>>>13)|0)+(Ke>>>26)|0,Ke&=67108863,R=Math.imul(H,Pe),q=Math.imul(H,Be),q=q+Math.imul(L,Pe)|0,F=Math.imul(L,Be),R=R+Math.imul(N,Te)|0,q=q+Math.imul(N,Ae)|0,q=q+Math.imul(Z,Te)|0,F=F+Math.imul(Z,Ae)|0,R=R+Math.imul(Y,Ue)|0,q=q+Math.imul(Y,xe)|0,q=q+Math.imul(X,Ue)|0,F=F+Math.imul(X,xe)|0;var Ve=(B+R|0)+((q&8191)<<13)|0;B=(F+(q>>>13)|0)+(Ve>>>26)|0,Ve&=67108863,R=Math.imul(ne,Pe),q=Math.imul(ne,Be),q=q+Math.imul(fe,Pe)|0,F=Math.imul(fe,Be),R=R+Math.imul(H,Te)|0,q=q+Math.imul(H,Ae)|0,q=q+Math.imul(L,Te)|0,F=F+Math.imul(L,Ae)|0,R=R+Math.imul(N,Ue)|0,q=q+Math.imul(N,xe)|0,q=q+Math.imul(Z,Ue)|0,F=F+Math.imul(Z,xe)|0,R=R+Math.imul(Y,Oe)|0,q=q+Math.imul(Y,Ee)|0,q=q+Math.imul(X,Oe)|0,F=F+Math.imul(X,Ee)|0;var Xe=(B+R|0)+((q&8191)<<13)|0;B=(F+(q>>>13)|0)+(Xe>>>26)|0,Xe&=67108863,R=Math.imul(ue,Pe),q=Math.imul(ue,Be),q=q+Math.imul(ce,Pe)|0,F=Math.imul(ce,Be),R=R+Math.imul(ne,Te)|0,q=q+Math.imul(ne,Ae)|0,q=q+Math.imul(fe,Te)|0,F=F+Math.imul(fe,Ae)|0,R=R+Math.imul(H,Ue)|0,q=q+Math.imul(H,xe)|0,q=q+Math.imul(L,Ue)|0,F=F+Math.imul(L,xe)|0,R=R+Math.imul(N,Oe)|0,q=q+Math.imul(N,Ee)|0,q=q+Math.imul(Z,Oe)|0,F=F+Math.imul(Z,Ee)|0,R=R+Math.imul(Y,je)|0,q=q+Math.imul(Y,j)|0,q=q+Math.imul(X,je)|0,F=F+Math.imul(X,j)|0;var Ze=(B+R|0)+((q&8191)<<13)|0;B=(F+(q>>>13)|0)+(Ze>>>26)|0,Ze&=67108863,R=Math.imul(be,Pe),q=Math.imul(be,Be),q=q+Math.imul(oe,Pe)|0,F=Math.imul(oe,Be),R=R+Math.imul(ue,Te)|0,q=q+Math.imul(ue,Ae)|0,q=q+Math.imul(ce,Te)|0,F=F+Math.imul(ce,Ae)|0,R=R+Math.imul(ne,Ue)|0,q=q+Math.imul(ne,xe)|0,q=q+Math.imul(fe,Ue)|0,F=F+Math.imul(fe,xe)|0,R=R+Math.imul(H,Oe)|0,q=q+Math.imul(H,Ee)|0,q=q+Math.imul(L,Oe)|0,F=F+Math.imul(L,Ee)|0,R=R+Math.imul(N,je)|0,q=q+Math.imul(N,j)|0,q=q+Math.imul(Z,je)|0,F=F+Math.imul(Z,j)|0,R=R+Math.imul(Y,I)|0,q=q+Math.imul(Y,K)|0,q=q+Math.imul(X,I)|0,F=F+Math.imul(X,K)|0;var Ye=(B+R|0)+((q&8191)<<13)|0;B=(F+(q>>>13)|0)+(Ye>>>26)|0,Ye&=67108863,R=Math.imul(de,Pe),q=Math.imul(de,Be),q=q+Math.imul(he,Pe)|0,F=Math.imul(he,Be),R=R+Math.imul(be,Te)|0,q=q+Math.imul(be,Ae)|0,q=q+Math.imul(oe,Te)|0,F=F+Math.imul(oe,Ae)|0,R=R+Math.imul(ue,Ue)|0,q=q+Math.imul(ue,xe)|0,q=q+Math.imul(ce,Ue)|0,F=F+Math.imul(ce,xe)|0,R=R+Math.imul(ne,Oe)|0,q=q+Math.imul(ne,Ee)|0,q=q+Math.imul(fe,Oe)|0,F=F+Math.imul(fe,Ee)|0,R=R+Math.imul(H,je)|0,q=q+Math.imul(H,j)|0,q=q+Math.imul(L,je)|0,F=F+Math.imul(L,j)|0,R=R+Math.imul(N,I)|0,q=q+Math.imul(N,K)|0,q=q+Math.imul(Z,I)|0,F=F+Math.imul(Z,K)|0,R=R+Math.imul(Y,re)|0,q=q+Math.imul(Y,te)|0,q=q+Math.imul(X,re)|0,F=F+Math.imul(X,te)|0;var Je=(B+R|0)+((q&8191)<<13)|0;B=(F+(q>>>13)|0)+(Je>>>26)|0,Je&=67108863,R=Math.imul(Se,Pe),q=Math.imul(Se,Be),q=q+Math.imul(ve,Pe)|0,F=Math.imul(ve,Be),R=R+Math.imul(de,Te)|0,q=q+Math.imul(de,Ae)|0,q=q+Math.imul(he,Te)|0,F=F+Math.imul(he,Ae)|0,R=R+Math.imul(be,Ue)|0,q=q+Math.imul(be,xe)|0,q=q+Math.imul(oe,Ue)|0,F=F+Math.imul(oe,xe)|0,R=R+Math.imul(ue,Oe)|0,q=q+Math.imul(ue,Ee)|0,q=q+Math.imul(ce,Oe)|0,F=F+Math.imul(ce,Ee)|0,R=R+Math.imul(ne,je)|0,q=q+Math.imul(ne,j)|0,q=q+Math.imul(fe,je)|0,F=F+Math.imul(fe,j)|0,R=R+Math.imul(H,I)|0,q=q+Math.imul(H,K)|0,q=q+Math.imul(L,I)|0,F=F+Math.imul(L,K)|0,R=R+Math.imul(N,re)|0,q=q+Math.imul(N,te)|0,q=q+Math.imul(Z,re)|0,F=F+Math.imul(Z,te)|0,R=R+Math.imul(Y,_e)|0,q=q+Math.imul(Y,le)|0,q=q+Math.imul(X,_e)|0,F=F+Math.imul(X,le)|0;var Qe=(B+R|0)+((q&8191)<<13)|0;B=(F+(q>>>13)|0)+(Qe>>>26)|0,Qe&=67108863,R=Math.imul($e,Pe),q=Math.imul($e,Be),q=q+Math.imul(me,Pe)|0,F=Math.imul(me,Be),R=R+Math.imul(Se,Te)|0,q=q+Math.imul(Se,Ae)|0,q=q+Math.imul(ve,Te)|0,F=F+Math.imul(ve,Ae)|0,R=R+Math.imul(de,Ue)|0,q=q+Math.imul(de,xe)|0,q=q+Math.imul(he,Ue)|0,F=F+Math.imul(he,xe)|0,R=R+Math.imul(be,Oe)|0,q=q+Math.imul(be,Ee)|0,q=q+Math.imul(oe,Oe)|0,F=F+Math.imul(oe,Ee)|0,R=R+Math.imul(ue,je)|0,q=q+Math.imul(ue,j)|0,q=q+Math.imul(ce,je)|0,F=F+Math.imul(ce,j)|0,R=R+Math.imul(ne,I)|0,q=q+Math.imul(ne,K)|0,q=q+Math.imul(fe,I)|0,F=F+Math.imul(fe,K)|0,R=R+Math.imul(H,re)|0,q=q+Math.imul(H,te)|0,q=q+Math.imul(L,re)|0,F=F+Math.imul(L,te)|0,R=R+Math.imul(N,_e)|0,q=q+Math.imul(N,le)|0,q=q+Math.imul(Z,_e)|0,F=F+Math.imul(Z,le)|0,R=R+Math.imul(Y,ye)|0,q=q+Math.imul(Y,Re)|0,q=q+Math.imul(X,ye)|0,F=F+Math.imul(X,Re)|0;var er=(B+R|0)+((q&8191)<<13)|0;B=(F+(q>>>13)|0)+(er>>>26)|0,er&=67108863,R=Math.imul(ke,Pe),q=Math.imul(ke,Be),q=q+Math.imul(ge,Pe)|0,F=Math.imul(ge,Be),R=R+Math.imul($e,Te)|0,q=q+Math.imul($e,Ae)|0,q=q+Math.imul(me,Te)|0,F=F+Math.imul(me,Ae)|0,R=R+Math.imul(Se,Ue)|0,q=q+Math.imul(Se,xe)|0,q=q+Math.imul(ve,Ue)|0,F=F+Math.imul(ve,xe)|0,R=R+Math.imul(de,Oe)|0,q=q+Math.imul(de,Ee)|0,q=q+Math.imul(he,Oe)|0,F=F+Math.imul(he,Ee)|0,R=R+Math.imul(be,je)|0,q=q+Math.imul(be,j)|0,q=q+Math.imul(oe,je)|0,F=F+Math.imul(oe,j)|0,R=R+Math.imul(ue,I)|0,q=q+Math.imul(ue,K)|0,q=q+Math.imul(ce,I)|0,F=F+Math.imul(ce,K)|0,R=R+Math.imul(ne,re)|0,q=q+Math.imul(ne,te)|0,q=q+Math.imul(fe,re)|0,F=F+Math.imul(fe,te)|0,R=R+Math.imul(H,_e)|0,q=q+Math.imul(H,le)|0,q=q+Math.imul(L,_e)|0,F=F+Math.imul(L,le)|0,R=R+Math.imul(N,ye)|0,q=q+Math.imul(N,Re)|0,q=q+Math.imul(Z,ye)|0,F=F+Math.imul(Z,Re)|0,R=R+Math.imul(Y,He)|0,q=q+Math.imul(Y,ze)|0,q=q+Math.imul(X,He)|0,F=F+Math.imul(X,ze)|0;var rr=(B+R|0)+((q&8191)<<13)|0;B=(F+(q>>>13)|0)+(rr>>>26)|0,rr&=67108863,R=Math.imul(ke,Te),q=Math.imul(ke,Ae),q=q+Math.imul(ge,Te)|0,F=Math.imul(ge,Ae),R=R+Math.imul($e,Ue)|0,q=q+Math.imul($e,xe)|0,q=q+Math.imul(me,Ue)|0,F=F+Math.imul(me,xe)|0,R=R+Math.imul(Se,Oe)|0,q=q+Math.imul(Se,Ee)|0,q=q+Math.imul(ve,Oe)|0,F=F+Math.imul(ve,Ee)|0,R=R+Math.imul(de,je)|0,q=q+Math.imul(de,j)|0,q=q+Math.imul(he,je)|0,F=F+Math.imul(he,j)|0,R=R+Math.imul(be,I)|0,q=q+Math.imul(be,K)|0,q=q+Math.imul(oe,I)|0,F=F+Math.imul(oe,K)|0,R=R+Math.imul(ue,re)|0,q=q+Math.imul(ue,te)|0,q=q+Math.imul(ce,re)|0,F=F+Math.imul(ce,te)|0,R=R+Math.imul(ne,_e)|0,q=q+Math.imul(ne,le)|0,q=q+Math.imul(fe,_e)|0,F=F+Math.imul(fe,le)|0,R=R+Math.imul(H,ye)|0,q=q+Math.imul(H,Re)|0,q=q+Math.imul(L,ye)|0,F=F+Math.imul(L,Re)|0,R=R+Math.imul(N,He)|0,q=q+Math.imul(N,ze)|0,q=q+Math.imul(Z,He)|0,F=F+Math.imul(Z,ze)|0;var tr=(B+R|0)+((q&8191)<<13)|0;B=(F+(q>>>13)|0)+(tr>>>26)|0,tr&=67108863,R=Math.imul(ke,Ue),q=Math.imul(ke,xe),q=q+Math.imul(ge,Ue)|0,F=Math.imul(ge,xe),R=R+Math.imul($e,Oe)|0,q=q+Math.imul($e,Ee)|0,q=q+Math.imul(me,Oe)|0,F=F+Math.imul(me,Ee)|0,R=R+Math.imul(Se,je)|0,q=q+Math.imul(Se,j)|0,q=q+Math.imul(ve,je)|0,F=F+Math.imul(ve,j)|0,R=R+Math.imul(de,I)|0,q=q+Math.imul(de,K)|0,q=q+Math.imul(he,I)|0,F=F+Math.imul(he,K)|0,R=R+Math.imul(be,re)|0,q=q+Math.imul(be,te)|0,q=q+Math.imul(oe,re)|0,F=F+Math.imul(oe,te)|0,R=R+Math.imul(ue,_e)|0,q=q+Math.imul(ue,le)|0,q=q+Math.imul(ce,_e)|0,F=F+Math.imul(ce,le)|0,R=R+Math.imul(ne,ye)|0,q=q+Math.imul(ne,Re)|0,q=q+Math.imul(fe,ye)|0,F=F+Math.imul(fe,Re)|0,R=R+Math.imul(H,He)|0,q=q+Math.imul(H,ze)|0,q=q+Math.imul(L,He)|0,F=F+Math.imul(L,ze)|0;var ir=(B+R|0)+((q&8191)<<13)|0;B=(F+(q>>>13)|0)+(ir>>>26)|0,ir&=67108863,R=Math.imul(ke,Oe),q=Math.imul(ke,Ee),q=q+Math.imul(ge,Oe)|0,F=Math.imul(ge,Ee),R=R+Math.imul($e,je)|0,q=q+Math.imul($e,j)|0,q=q+Math.imul(me,je)|0,F=F+Math.imul(me,j)|0,R=R+Math.imul(Se,I)|0,q=q+Math.imul(Se,K)|0,q=q+Math.imul(ve,I)|0,F=F+Math.imul(ve,K)|0,R=R+Math.imul(de,re)|0,q=q+Math.imul(de,te)|0,q=q+Math.imul(he,re)|0,F=F+Math.imul(he,te)|0,R=R+Math.imul(be,_e)|0,q=q+Math.imul(be,le)|0,q=q+Math.imul(oe,_e)|0,F=F+Math.imul(oe,le)|0,R=R+Math.imul(ue,ye)|0,q=q+Math.imul(ue,Re)|0,q=q+Math.imul(ce,ye)|0,F=F+Math.imul(ce,Re)|0,R=R+Math.imul(ne,He)|0,q=q+Math.imul(ne,ze)|0,q=q+Math.imul(fe,He)|0,F=F+Math.imul(fe,ze)|0;var nr=(B+R|0)+((q&8191)<<13)|0;B=(F+(q>>>13)|0)+(nr>>>26)|0,nr&=67108863,R=Math.imul(ke,je),q=Math.imul(ke,j),q=q+Math.imul(ge,je)|0,F=Math.imul(ge,j),R=R+Math.imul($e,I)|0,q=q+Math.imul($e,K)|0,q=q+Math.imul(me,I)|0,F=F+Math.imul(me,K)|0,R=R+Math.imul(Se,re)|0,q=q+Math.imul(Se,te)|0,q=q+Math.imul(ve,re)|0,F=F+Math.imul(ve,te)|0,R=R+Math.imul(de,_e)|0,q=q+Math.imul(de,le)|0,q=q+Math.imul(he,_e)|0,F=F+Math.imul(he,le)|0,R=R+Math.imul(be,ye)|0,q=q+Math.imul(be,Re)|0,q=q+Math.imul(oe,ye)|0,F=F+Math.imul(oe,Re)|0,R=R+Math.imul(ue,He)|0,q=q+Math.imul(ue,ze)|0,q=q+Math.imul(ce,He)|0,F=F+Math.imul(ce,ze)|0;var ar=(B+R|0)+((q&8191)<<13)|0;B=(F+(q>>>13)|0)+(ar>>>26)|0,ar&=67108863,R=Math.imul(ke,I),q=Math.imul(ke,K),q=q+Math.imul(ge,I)|0,F=Math.imul(ge,K),R=R+Math.imul($e,re)|0,q=q+Math.imul($e,te)|0,q=q+Math.imul(me,re)|0,F=F+Math.imul(me,te)|0,R=R+Math.imul(Se,_e)|0,q=q+Math.imul(Se,le)|0,q=q+Math.imul(ve,_e)|0,F=F+Math.imul(ve,le)|0,R=R+Math.imul(de,ye)|0,q=q+Math.imul(de,Re)|0,q=q+Math.imul(he,ye)|0,F=F+Math.imul(he,Re)|0,R=R+Math.imul(be,He)|0,q=q+Math.imul(be,ze)|0,q=q+Math.imul(oe,He)|0,F=F+Math.imul(oe,ze)|0;var fr=(B+R|0)+((q&8191)<<13)|0;B=(F+(q>>>13)|0)+(fr>>>26)|0,fr&=67108863,R=Math.imul(ke,re),q=Math.imul(ke,te),q=q+Math.imul(ge,re)|0,F=Math.imul(ge,te),R=R+Math.imul($e,_e)|0,q=q+Math.imul($e,le)|0,q=q+Math.imul(me,_e)|0,F=F+Math.imul(me,le)|0,R=R+Math.imul(Se,ye)|0,q=q+Math.imul(Se,Re)|0,q=q+Math.imul(ve,ye)|0,F=F+Math.imul(ve,Re)|0,R=R+Math.imul(de,He)|0,q=q+Math.imul(de,ze)|0,q=q+Math.imul(he,He)|0,F=F+Math.imul(he,ze)|0;var or=(B+R|0)+((q&8191)<<13)|0;B=(F+(q>>>13)|0)+(or>>>26)|0,or&=67108863,R=Math.imul(ke,_e),q=Math.imul(ke,le),q=q+Math.imul(ge,_e)|0,F=Math.imul(ge,le),R=R+Math.imul($e,ye)|0,q=q+Math.imul($e,Re)|0,q=q+Math.imul(me,ye)|0,F=F+Math.imul(me,Re)|0,R=R+Math.imul(Se,He)|0,q=q+Math.imul(Se,ze)|0,q=q+Math.imul(ve,He)|0,F=F+Math.imul(ve,ze)|0;var sr=(B+R|0)+((q&8191)<<13)|0;B=(F+(q>>>13)|0)+(sr>>>26)|0,sr&=67108863,R=Math.imul(ke,ye),q=Math.imul(ke,Re),q=q+Math.imul(ge,ye)|0,F=Math.imul(ge,Re),R=R+Math.imul($e,He)|0,q=q+Math.imul($e,ze)|0,q=q+Math.imul(me,He)|0,F=F+Math.imul(me,ze)|0;var ur=(B+R|0)+((q&8191)<<13)|0;B=(F+(q>>>13)|0)+(ur>>>26)|0,ur&=67108863,R=Math.imul(ke,He),q=Math.imul(ke,ze),q=q+Math.imul(ge,He)|0,F=Math.imul(ge,ze);var cr=(B+R|0)+((q&8191)<<13)|0;return B=(F+(q>>>13)|0)+(cr>>>26)|0,cr&=67108863,D[0]=Ge,D[1]=Ke,D[2]=Ve,D[3]=Xe,D[4]=Ze,D[5]=Ye,D[6]=Je,D[7]=Qe,D[8]=er,D[9]=rr,D[10]=tr,D[11]=ir,D[12]=nr,D[13]=ar,D[14]=fr,D[15]=or,D[16]=sr,D[17]=ur,D[18]=cr,B!==0&&(D[19]=B,E.length++),E};Math.imul||(_=w);function S(p,o,b){b.negative=o.negative^p.negative,b.length=p.length+o.length;for(var E=0,A=0,M=0;M<b.length-1;M++){var D=A;A=0;for(var B=E&67108863,R=Math.min(M,o.length-1),q=Math.max(0,M-p.length+1);q<=R;q++){var F=M-q,W=p.words[F]|0,Y=o.words[q]|0,X=W*Y,k=X&67108863;D=D+(X/67108864|0)|0,k=k+B|0,B=k&67108863,D=D+(k>>>26)|0,A+=D>>>26,D&=67108863}b.words[M]=B,E=D,D=A}return E!==0?b.words[M]=E:b.length--,b._strip()}function C(p,o,b){return S(p,o,b)}r.prototype.mulTo=function(o,b){var E,A=this.length+o.length;return this.length===10&&o.length===10?E=_(this,o,b):A<63?E=w(this,o,b):A<1024?E=S(this,o,b):E=C(this,o,b),E},r.prototype.mul=function(o){var b=new r(null);return b.words=new Array(this.length+o.length),this.mulTo(o,b)},r.prototype.mulf=function(o){var b=new r(null);return b.words=new Array(this.length+o.length),C(this,o,b)},r.prototype.imul=function(o){return this.clone().mulTo(o,this)},r.prototype.imuln=function(o){var b=o<0;b&&(o=-o),c(typeof o=="number"),c(o<67108864);for(var E=0,A=0;A<this.length;A++){var M=(this.words[A]|0)*o,D=(M&67108863)+(E&67108863);E>>=26,E+=M/67108864|0,E+=D>>>26,this.words[A]=D&67108863}return E!==0&&(this.words[A]=E,this.length++),this.length=o===0?1:this.length,b?this.ineg():this},r.prototype.muln=function(o){return this.clone().imuln(o)},r.prototype.sqr=function(){return this.mul(this)},r.prototype.isqr=function(){return this.imul(this.clone())},r.prototype.pow=function(o){var b=g(o);if(b.length===0)return new r(1);for(var E=this,A=0;A<b.length&&b[A]===0;A++,E=E.sqr());if(++A<b.length)for(var M=E.sqr();A<b.length;A++,M=M.sqr())b[A]!==0&&(E=E.mul(M));return E},r.prototype.iushln=function(o){c(typeof o=="number"&&o>=0);var b=o%26,E=(o-b)/26,A=67108863>>>26-b<<26-b,M;if(b!==0){var D=0;for(M=0;M<this.length;M++){var B=this.words[M]&A,R=(this.words[M]|0)-B<<b;this.words[M]=R|D,D=B>>>26-b}D&&(this.words[M]=D,this.length++)}if(E!==0){for(M=this.length-1;M>=0;M--)this.words[M+E]=this.words[M];for(M=0;M<E;M++)this.words[M]=0;this.length+=E}return this._strip()},r.prototype.ishln=function(o){return c(this.negative===0),this.iushln(o)},r.prototype.iushrn=function(o,b,E){c(typeof o=="number"&&o>=0);var A;b?A=(b-b%26)/26:A=0;var M=o%26,D=Math.min((o-M)/26,this.length),B=67108863^67108863>>>M<<M,R=E;if(A-=D,A=Math.max(0,A),R){for(var q=0;q<D;q++)R.words[q]=this.words[q];R.length=D}if(D!==0)if(this.length>D)for(this.length-=D,q=0;q<this.length;q++)this.words[q]=this.words[q+D];else this.words[0]=0,this.length=1;var F=0;for(q=this.length-1;q>=0&&(F!==0||q>=A);q--){var W=this.words[q]|0;this.words[q]=F<<26-M|W>>>M,F=W&B}return R&&F!==0&&(R.words[R.length++]=F),this.length===0&&(this.words[0]=0,this.length=1),this._strip()},r.prototype.ishrn=function(o,b,E){return c(this.negative===0),this.iushrn(o,b,E)},r.prototype.shln=function(o){return this.clone().ishln(o)},r.prototype.ushln=function(o){return this.clone().iushln(o)},r.prototype.shrn=function(o){return this.clone().ishrn(o)},r.prototype.ushrn=function(o){return this.clone().iushrn(o)},r.prototype.testn=function(o){c(typeof o=="number"&&o>=0);var b=o%26,E=(o-b)/26,A=1<<b;if(this.length<=E)return!1;var M=this.words[E];return!!(M&A)},r.prototype.imaskn=function(o){c(typeof o=="number"&&o>=0);var b=o%26,E=(o-b)/26;if(c(this.negative===0,"imaskn works only with positive numbers"),this.length<=E)return this;if(b!==0&&E++,this.length=Math.min(E,this.length),b!==0){var A=67108863^67108863>>>b<<b;this.words[this.length-1]&=A}return this._strip()},r.prototype.maskn=function(o){return this.clone().imaskn(o)},r.prototype.iaddn=function(o){return c(typeof o=="number"),c(o<67108864),o<0?this.isubn(-o):this.negative!==0?this.length===1&&(this.words[0]|0)<=o?(this.words[0]=o-(this.words[0]|0),this.negative=0,this):(this.negative=0,this.isubn(o),this.negative=1,this):this._iaddn(o)},r.prototype._iaddn=function(o){this.words[0]+=o;for(var b=0;b<this.length&&this.words[b]>=67108864;b++)this.words[b]-=67108864,b===this.length-1?this.words[b+1]=1:this.words[b+1]++;return this.length=Math.max(this.length,b+1),this},r.prototype.isubn=function(o){if(c(typeof o=="number"),c(o<67108864),o<0)return this.iaddn(-o);if(this.negative!==0)return this.negative=0,this.iaddn(o),this.negative=1,this;if(this.words[0]-=o,this.length===1&&this.words[0]<0)this.words[0]=-this.words[0],this.negative=1;else for(var b=0;b<this.length&&this.words[b]<0;b++)this.words[b]+=67108864,this.words[b+1]-=1;return this._strip()},r.prototype.addn=function(o){return this.clone().iaddn(o)},r.prototype.subn=function(o){return this.clone().isubn(o)},r.prototype.iabs=function(){return this.negative=0,this},r.prototype.abs=function(){return this.clone().iabs()},r.prototype._ishlnsubmul=function(o,b,E){var A=o.length+E,M;this._expand(A);var D,B=0;for(M=0;M<o.length;M++){D=(this.words[M+E]|0)+B;var R=(o.words[M]|0)*b;D-=R&67108863,B=(D>>26)-(R/67108864|0),this.words[M+E]=D&67108863}for(;M<this.length-E;M++)D=(this.words[M+E]|0)+B,B=D>>26,this.words[M+E]=D&67108863;if(B===0)return this._strip();for(c(B===-1),B=0,M=0;M<this.length;M++)D=-(this.words[M]|0)+B,B=D>>26,this.words[M]=D&67108863;return this.negative=1,this._strip()},r.prototype._wordDiv=function(o,b){var E=this.length-o.length,A=this.clone(),M=o,D=M.words[M.length-1]|0,B=this._countBits(D);E=26-B,E!==0&&(M=M.ushln(E),A.iushln(E),D=M.words[M.length-1]|0);var R=A.length-M.length,q;if(b!=="mod"){q=new r(null),q.length=R+1,q.words=new Array(q.length);for(var F=0;F<q.length;F++)q.words[F]=0}var W=A.clone()._ishlnsubmul(M,1,R);W.negative===0&&(A=W,q&&(q.words[R]=1));for(var Y=R-1;Y>=0;Y--){var X=(A.words[M.length+Y]|0)*67108864+(A.words[M.length+Y-1]|0);for(X=Math.min(X/D|0,67108863),A._ishlnsubmul(M,X,Y);A.negative!==0;)X--,A.negative=0,A._ishlnsubmul(M,1,Y),A.isZero()||(A.negative^=1);q&&(q.words[Y]=X)}return q&&q._strip(),A._strip(),b!=="div"&&E!==0&&A.iushrn(E),{div:q||null,mod:A}},r.prototype.divmod=function(o,b,E){if(c(!o.isZero()),this.isZero())return{div:new r(0),mod:new r(0)};var A,M,D;return this.negative!==0&&o.negative===0?(D=this.neg().divmod(o,b),b!=="mod"&&(A=D.div.neg()),b!=="div"&&(M=D.mod.neg(),E&&M.negative!==0&&M.iadd(o)),{div:A,mod:M}):this.negative===0&&o.negative!==0?(D=this.divmod(o.neg(),b),b!=="mod"&&(A=D.div.neg()),{div:A,mod:D.mod}):(this.negative&o.negative)!==0?(D=this.neg().divmod(o.neg(),b),b!=="div"&&(M=D.mod.neg(),E&&M.negative!==0&&M.isub(o)),{div:D.div,mod:M}):o.length>this.length||this.cmp(o)<0?{div:new r(0),mod:this}:o.length===1?b==="div"?{div:this.divn(o.words[0]),mod:null}:b==="mod"?{div:null,mod:new r(this.modrn(o.words[0]))}:{div:this.divn(o.words[0]),mod:new r(this.modrn(o.words[0]))}:this._wordDiv(o,b)},r.prototype.div=function(o){return this.divmod(o,"div",!1).div},r.prototype.mod=function(o){return this.divmod(o,"mod",!1).mod},r.prototype.umod=function(o){return this.divmod(o,"mod",!0).mod},r.prototype.divRound=function(o){var b=this.divmod(o);if(b.mod.isZero())return b.div;var E=b.div.negative!==0?b.mod.isub(o):b.mod,A=o.ushrn(1),M=o.andln(1),D=E.cmp(A);return D<0||M===1&&D===0?b.div:b.div.negative!==0?b.div.isubn(1):b.div.iaddn(1)},r.prototype.modrn=function(o){var b=o<0;b&&(o=-o),c(o<=67108863);for(var E=(1<<26)%o,A=0,M=this.length-1;M>=0;M--)A=(E*A+(this.words[M]|0))%o;return b?-A:A},r.prototype.modn=function(o){return this.modrn(o)},r.prototype.idivn=function(o){var b=o<0;b&&(o=-o),c(o<=67108863);for(var E=0,A=this.length-1;A>=0;A--){var M=(this.words[A]|0)+E*67108864;this.words[A]=M/o|0,E=M%o}return this._strip(),b?this.ineg():this},r.prototype.divn=function(o){return this.clone().idivn(o)},r.prototype.egcd=function(o){c(o.negative===0),c(!o.isZero());var b=this,E=o.clone();b.negative!==0?b=b.umod(o):b=b.clone();for(var A=new r(1),M=new r(0),D=new r(0),B=new r(1),R=0;b.isEven()&&E.isEven();)b.iushrn(1),E.iushrn(1),++R;for(var q=E.clone(),F=b.clone();!b.isZero();){for(var W=0,Y=1;(b.words[0]&Y)===0&&W<26;++W,Y<<=1);if(W>0)for(b.iushrn(W);W-- >0;)(A.isOdd()||M.isOdd())&&(A.iadd(q),M.isub(F)),A.iushrn(1),M.iushrn(1);for(var X=0,k=1;(E.words[0]&k)===0&&X<26;++X,k<<=1);if(X>0)for(E.iushrn(X);X-- >0;)(D.isOdd()||B.isOdd())&&(D.iadd(q),B.isub(F)),D.iushrn(1),B.iushrn(1);b.cmp(E)>=0?(b.isub(E),A.isub(D),M.isub(B)):(E.isub(b),D.isub(A),B.isub(M))}return{a:D,b:B,gcd:E.iushln(R)}},r.prototype._invmp=function(o){c(o.negative===0),c(!o.isZero());var b=this,E=o.clone();b.negative!==0?b=b.umod(o):b=b.clone();for(var A=new r(1),M=new r(0),D=E.clone();b.cmpn(1)>0&&E.cmpn(1)>0;){for(var B=0,R=1;(b.words[0]&R)===0&&B<26;++B,R<<=1);if(B>0)for(b.iushrn(B);B-- >0;)A.isOdd()&&A.iadd(D),A.iushrn(1);for(var q=0,F=1;(E.words[0]&F)===0&&q<26;++q,F<<=1);if(q>0)for(E.iushrn(q);q-- >0;)M.isOdd()&&M.iadd(D),M.iushrn(1);b.cmp(E)>=0?(b.isub(E),A.isub(M)):(E.isub(b),M.isub(A))}var W;return b.cmpn(1)===0?W=A:W=M,W.cmpn(0)<0&&W.iadd(o),W},r.prototype.gcd=function(o){if(this.isZero())return o.abs();if(o.isZero())return this.abs();var b=this.clone(),E=o.clone();b.negative=0,E.negative=0;for(var A=0;b.isEven()&&E.isEven();A++)b.iushrn(1),E.iushrn(1);do{for(;b.isEven();)b.iushrn(1);for(;E.isEven();)E.iushrn(1);var M=b.cmp(E);if(M<0){var D=b;b=E,E=D}else if(M===0||E.cmpn(1)===0)break;b.isub(E)}while(!0);return E.iushln(A)},r.prototype.invm=function(o){return this.egcd(o).a.umod(o)},r.prototype.isEven=function(){return(this.words[0]&1)===0},r.prototype.isOdd=function(){return(this.words[0]&1)===1},r.prototype.andln=function(o){return this.words[0]&o},r.prototype.bincn=function(o){c(typeof o=="number");var b=o%26,E=(o-b)/26,A=1<<b;if(this.length<=E)return this._expand(E+1),this.words[E]|=A,this;for(var M=A,D=E;M!==0&&D<this.length;D++){var B=this.words[D]|0;B+=M,M=B>>>26,B&=67108863,this.words[D]=B}return M!==0&&(this.words[D]=M,this.length++),this},r.prototype.isZero=function(){return this.length===1&&this.words[0]===0},r.prototype.cmpn=function(o){var b=o<0;if(this.negative!==0&&!b)return-1;if(this.negative===0&&b)return 1;this._strip();var E;if(this.length>1)E=1;else{b&&(o=-o),c(o<=67108863,"Number is too big");var A=this.words[0]|0;E=A===o?0:A<o?-1:1}return this.negative!==0?-E|0:E},r.prototype.cmp=function(o){if(this.negative!==0&&o.negative===0)return-1;if(this.negative===0&&o.negative!==0)return 1;var b=this.ucmp(o);return this.negative!==0?-b|0:b},r.prototype.ucmp=function(o){if(this.length>o.length)return 1;if(this.length<o.length)return-1;for(var b=0,E=this.length-1;E>=0;E--){var A=this.words[E]|0,M=o.words[E]|0;if(A!==M){A<M?b=-1:A>M&&(b=1);break}}return b},r.prototype.gtn=function(o){return this.cmpn(o)===1},r.prototype.gt=function(o){return this.cmp(o)===1},r.prototype.gten=function(o){return this.cmpn(o)>=0},r.prototype.gte=function(o){return this.cmp(o)>=0},r.prototype.ltn=function(o){return this.cmpn(o)===-1},r.prototype.lt=function(o){return this.cmp(o)===-1},r.prototype.lten=function(o){return this.cmpn(o)<=0},r.prototype.lte=function(o){return this.cmp(o)<=0},r.prototype.eqn=function(o){return this.cmpn(o)===0},r.prototype.eq=function(o){return this.cmp(o)===0},r.red=function(o){return new O(o)},r.prototype.toRed=function(o){return c(!this.red,"Already a number in reduction context"),c(this.negative===0,"red works only with positives"),o.convertTo(this)._forceRed(o)},r.prototype.fromRed=function(){return c(this.red,"fromRed works only with numbers in reduction context"),this.red.convertFrom(this)},r.prototype._forceRed=function(o){return this.red=o,this},r.prototype.forceRed=function(o){return c(!this.red,"Already a number in reduction context"),this._forceRed(o)},r.prototype.redAdd=function(o){return c(this.red,"redAdd works only with red numbers"),this.red.add(this,o)},r.prototype.redIAdd=function(o){return c(this.red,"redIAdd works only with red numbers"),this.red.iadd(this,o)},r.prototype.redSub=function(o){return c(this.red,"redSub works only with red numbers"),this.red.sub(this,o)},r.prototype.redISub=function(o){return c(this.red,"redISub works only with red numbers"),this.red.isub(this,o)},r.prototype.redShl=function(o){return c(this.red,"redShl works only with red numbers"),this.red.shl(this,o)},r.prototype.redMul=function(o){return c(this.red,"redMul works only with red numbers"),this.red._verify2(this,o),this.red.mul(this,o)},r.prototype.redIMul=function(o){return c(this.red,"redMul works only with red numbers"),this.red._verify2(this,o),this.red.imul(this,o)},r.prototype.redSqr=function(){return c(this.red,"redSqr works only with red numbers"),this.red._verify1(this),this.red.sqr(this)},r.prototype.redISqr=function(){return c(this.red,"redISqr works only with red numbers"),this.red._verify1(this),this.red.isqr(this)},r.prototype.redSqrt=function(){return c(this.red,"redSqrt works only with red numbers"),this.red._verify1(this),this.red.sqrt(this)},r.prototype.redInvm=function(){return c(this.red,"redInvm works only with red numbers"),this.red._verify1(this),this.red.invm(this)},r.prototype.redNeg=function(){return c(this.red,"redNeg works only with red numbers"),this.red._verify1(this),this.red.neg(this)},r.prototype.redPow=function(o){return c(this.red&&!o.red,"redPow(normalNum)"),this.red._verify1(this),this.red.pow(this,o)};var P={k256:null,p224:null,p192:null,p25519:null};function T(p,o){this.name=p,this.p=new r(o,16),this.n=this.p.bitLength(),this.k=new r(1).iushln(this.n).isub(this.p),this.tmp=this._tmp()}T.prototype._tmp=function(){var o=new r(null);return o.words=new Array(Math.ceil(this.n/13)),o},T.prototype.ireduce=function(o){var b=o,E;do this.split(b,this.tmp),b=this.imulK(b),b=b.iadd(this.tmp),E=b.bitLength();while(E>this.n);var A=E<this.n?-1:b.ucmp(this.p);return A===0?(b.words[0]=0,b.length=1):A>0?b.isub(this.p):b.strip!==void 0?b.strip():b._strip(),b},T.prototype.split=function(o,b){o.iushrn(this.n,0,b)},T.prototype.imulK=function(o){return o.imul(this.k)};function U(){T.call(this,"k256","ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f")}y(U,T),U.prototype.split=function(o,b){for(var E=4194303,A=Math.min(o.length,9),M=0;M<A;M++)b.words[M]=o.words[M];if(b.length=A,o.length<=9){o.words[0]=0,o.length=1;return}var D=o.words[9];for(b.words[b.length++]=D&E,M=10;M<o.length;M++){var B=o.words[M]|0;o.words[M-10]=(B&E)<<4|D>>>22,D=B}D>>>=22,o.words[M-10]=D,D===0&&o.length>10?o.length-=10:o.length-=9},U.prototype.imulK=function(o){o.words[o.length]=0,o.words[o.length+1]=0,o.length+=2;for(var b=0,E=0;E<o.length;E++){var A=o.words[E]|0;b+=A*977,o.words[E]=b&67108863,b=A*64+(b/67108864|0)}return o.words[o.length-1]===0&&(o.length--,o.words[o.length-1]===0&&o.length--),o};function z(){T.call(this,"p224","ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001")}y(z,T);function V(){T.call(this,"p192","ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff")}y(V,T);function G(){T.call(this,"25519","7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed")}y(G,T),G.prototype.imulK=function(o){for(var b=0,E=0;E<o.length;E++){var A=(o.words[E]|0)*19+b,M=A&67108863;A>>>=26,o.words[E]=M,b=A}return b!==0&&(o.words[o.length++]=b),o},r._prime=function(o){if(P[o])return P[o];var b;if(o==="k256")b=new U;else if(o==="p224")b=new z;else if(o==="p192")b=new V;else if(o==="p25519")b=new G;else throw new Error("Unknown prime "+o);return P[o]=b,b};function O(p){if(typeof p=="string"){var o=r._prime(p);this.m=o.p,this.prime=o}else c(p.gtn(1),"modulus must be greater than 1"),this.m=p,this.prime=null}O.prototype._verify1=function(o){c(o.negative===0,"red works only with positives"),c(o.red,"red works only with red numbers")},O.prototype._verify2=function(o,b){c((o.negative|b.negative)===0,"red works only with positives"),c(o.red&&o.red===b.red,"red works only with red numbers")},O.prototype.imod=function(o){return this.prime?this.prime.ireduce(o)._forceRed(this):(e(o,o.umod(this.m)._forceRed(this)),o)},O.prototype.neg=function(o){return o.isZero()?o.clone():this.m.sub(o)._forceRed(this)},O.prototype.add=function(o,b){this._verify2(o,b);var E=o.add(b);return E.cmp(this.m)>=0&&E.isub(this.m),E._forceRed(this)},O.prototype.iadd=function(o,b){this._verify2(o,b);var E=o.iadd(b);return E.cmp(this.m)>=0&&E.isub(this.m),E},O.prototype.sub=function(o,b){this._verify2(o,b);var E=o.sub(b);return E.cmpn(0)<0&&E.iadd(this.m),E._forceRed(this)},O.prototype.isub=function(o,b){this._verify2(o,b);var E=o.isub(b);return E.cmpn(0)<0&&E.iadd(this.m),E},O.prototype.shl=function(o,b){return this._verify1(o),this.imod(o.ushln(b))},O.prototype.imul=function(o,b){return this._verify2(o,b),this.imod(o.imul(b))},O.prototype.mul=function(o,b){return this._verify2(o,b),this.imod(o.mul(b))},O.prototype.isqr=function(o){return this.imul(o,o.clone())},O.prototype.sqr=function(o){return this.mul(o,o)},O.prototype.sqrt=function(o){if(o.isZero())return o.clone();var b=this.m.andln(3);if(c(b%2===1),b===3){var E=this.m.add(new r(1)).iushrn(2);return this.pow(o,E)}for(var A=this.m.subn(1),M=0;!A.isZero()&&A.andln(1)===0;)M++,A.iushrn(1);c(!A.isZero());var D=new r(1).toRed(this),B=D.redNeg(),R=this.m.subn(1).iushrn(1),q=this.m.bitLength();for(q=new r(2*q*q).toRed(this);this.pow(q,R).cmp(B)!==0;)q.redIAdd(B);for(var F=this.pow(q,A),W=this.pow(o,A.addn(1).iushrn(1)),Y=this.pow(o,A),X=M;Y.cmp(D)!==0;){for(var k=Y,N=0;k.cmp(D)!==0;N++)k=k.redSqr();c(N<X);var Z=this.pow(F,new r(1).iushln(X-N-1));W=W.redMul(Z),F=Z.redSqr(),Y=Y.redMul(F),X=N}return W},O.prototype.invm=function(o){var b=o._invmp(this.m);return b.negative!==0?(b.negative=0,this.imod(b).redNeg()):this.imod(b)},O.prototype.pow=function(o,b){if(b.isZero())return new r(1).toRed(this);if(b.cmpn(1)===0)return o.clone();var E=4,A=new Array(1<<E);A[0]=new r(1).toRed(this),A[1]=o;for(var M=2;M<A.length;M++)A[M]=this.mul(A[M-1],o);var D=A[0],B=0,R=0,q=b.bitLength()%26;for(q===0&&(q=26),M=b.length-1;M>=0;M--){for(var F=b.words[M],W=q-1;W>=0;W--){var Y=F>>W&1;if(D!==A[0]&&(D=this.sqr(D)),Y===0&&B===0){R=0;continue}B<<=1,B|=Y,R++,!(R!==E&&(M!==0||W!==0))&&(D=this.mul(D,A[B]),R=0,B=0)}q=26}return D},O.prototype.convertTo=function(o){var b=o.umod(this.m);return b===o?b.clone():b},O.prototype.convertFrom=function(o){var b=o.clone();return b.red=null,b},r.mont=function(o){return new u(o)};function u(p){O.call(this,p),this.shift=this.m.bitLength(),this.shift%26!==0&&(this.shift+=26-this.shift%26),this.r=new r(1).iushln(this.shift),this.r2=this.imod(this.r.sqr()),this.rinv=this.r._invmp(this.m),this.minv=this.rinv.mul(this.r).isubn(1).div(this.m),this.minv=this.minv.umod(this.r),this.minv=this.r.sub(this.minv)}y(u,O),u.prototype.convertTo=function(o){return this.imod(o.ushln(this.shift))},u.prototype.convertFrom=function(o){var b=this.imod(o.mul(this.rinv));return b.red=null,b},u.prototype.imul=function(o,b){if(o.isZero()||b.isZero())return o.words[0]=0,o.length=1,o;var E=o.imul(b),A=E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),M=E.isub(A).iushrn(this.shift),D=M;return M.cmp(this.m)>=0?D=M.isub(this.m):M.cmpn(0)<0&&(D=M.iadd(this.m)),D._forceRed(this)},u.prototype.mul=function(o,b){if(o.isZero()||b.isZero())return new r(0)._forceRed(this);var E=o.mul(b),A=E.maskn(this.shift).mul(this.minv).imaskn(this.shift).mul(this.m),M=E.isub(A).iushrn(this.shift),D=M;return M.cmp(this.m)>=0?D=M.isub(this.m):M.cmpn(0)<0&&(D=M.iadd(this.m)),D._forceRed(this)},u.prototype.invm=function(o){var b=this.imod(o._invmp(this.m).mul(this.r2));return b._forceRed(this)}})(v,bn)}(bn$1)),bn$1.exports}var browserifyRsa,hasRequiredBrowserifyRsa;function requireBrowserifyRsa(){if(hasRequiredBrowserifyRsa)return browserifyRsa;hasRequiredBrowserifyRsa=1;var v=requireBn(),m=requireBrowser$b(),x=requireSafeBuffer$1().Buffer;function c(d){var n=d.modulus.byteLength(),i;do i=new v(m(n));while(i.cmp(d.modulus)>=0||!i.umod(d.prime1)||!i.umod(d.prime2));return i}function y(d){var n=c(d),i=n.toRed(v.mont(d.modulus)).redPow(new v(d.publicExponent)).fromRed();return{blinder:i,unblinder:n.invm(d.modulus)}}function r(d,n){var i=y(n),t=n.modulus.byteLength(),e=new v(d).mul(i.blinder).umod(n.modulus),a=e.toRed(v.mont(n.prime1)),f=e.toRed(v.mont(n.prime2)),s=n.coefficient,h=n.prime1,l=n.prime2,g=a.redPow(n.exponent1).fromRed(),w=f.redPow(n.exponent2).fromRed(),_=g.isub(w).imul(s).umod(h).imul(l);return w.iadd(_).imul(i.unblinder).umod(n.modulus).toArrayLike(x,"be",t)}return r.getr=c,browserifyRsa=r,browserifyRsa}var elliptic={};const version="6.6.1",require$$0={version};var utils$2={},utils$1={},hasRequiredUtils$2;function requireUtils$2(){return hasRequiredUtils$2||(hasRequiredUtils$2=1,function(v){var m=v;function x(r,d){if(Array.isArray(r))return r.slice();if(!r)return[];var n=[];if(typeof r!="string"){for(var i=0;i<r.length;i++)n[i]=r[i]|0;return n}if(d==="hex"){r=r.replace(/[^a-z0-9]+/ig,""),r.length%2!==0&&(r="0"+r);for(var i=0;i<r.length;i+=2)n.push(parseInt(r[i]+r[i+1],16))}else for(var i=0;i<r.length;i++){var t=r.charCodeAt(i),e=t>>8,a=t&255;e?n.push(e,a):n.push(a)}return n}m.toArray=x;function c(r){return r.length===1?"0"+r:r}m.zero2=c;function y(r){for(var d="",n=0;n<r.length;n++)d+=c(r[n].toString(16));return d}m.toHex=y,m.encode=function(d,n){return n==="hex"?y(d):d}}(utils$1)),utils$1}var hasRequiredUtils$1;function requireUtils$1(){return hasRequiredUtils$1||(hasRequiredUtils$1=1,function(v){var m=v,x=requireBn$1(),c=requireMinimalisticAssert(),y=requireUtils$2();m.assert=c,m.toArray=y.toArray,m.zero2=y.zero2,m.toHex=y.toHex,m.encode=y.encode;function r(e,a,f){var s=new Array(Math.max(e.bitLength(),f)+1),h;for(h=0;h<s.length;h+=1)s[h]=0;var l=1<<a+1,g=e.clone();for(h=0;h<s.length;h++){var w,_=g.andln(l-1);g.isOdd()?(_>(l>>1)-1?w=(l>>1)-_:w=_,g.isubn(w)):w=0,s[h]=w,g.iushrn(1)}return s}m.getNAF=r;function d(e,a){var f=[[],[]];e=e.clone(),a=a.clone();for(var s=0,h=0,l;e.cmpn(-s)>0||a.cmpn(-h)>0;){var g=e.andln(3)+s&3,w=a.andln(3)+h&3;g===3&&(g=-1),w===3&&(w=-1);var _;(g&1)===0?_=0:(l=e.andln(7)+s&7,(l===3||l===5)&&w===2?_=-g:_=g),f[0].push(_);var S;(w&1)===0?S=0:(l=a.andln(7)+h&7,(l===3||l===5)&&g===2?S=-w:S=w),f[1].push(S),2*s===_+1&&(s=1-s),2*h===S+1&&(h=1-h),e.iushrn(1),a.iushrn(1)}return f}m.getJSF=d;function n(e,a,f){var s="_"+a;e.prototype[a]=function(){return this[s]!==void 0?this[s]:this[s]=f.call(this)}}m.cachedProperty=n;function i(e){return typeof e=="string"?m.toArray(e,"hex"):e}m.parseBytes=i;function t(e){return new x(e,"hex","le")}m.intFromLE=t}(utils$2)),utils$2}var curve={},base$1,hasRequiredBase$1;function requireBase$1(){if(hasRequiredBase$1)return base$1;hasRequiredBase$1=1;var v=requireBn$1(),m=requireUtils$1(),x=m.getNAF,c=m.getJSF,y=m.assert;function r(n,i){this.type=n,this.p=new v(i.p,16),this.red=i.prime?v.red(i.prime):v.mont(this.p),this.zero=new v(0).toRed(this.red),this.one=new v(1).toRed(this.red),this.two=new v(2).toRed(this.red),this.n=i.n&&new v(i.n,16),this.g=i.g&&this.pointFromJSON(i.g,i.gRed),this._wnafT1=new Array(4),this._wnafT2=new Array(4),this._wnafT3=new Array(4),this._wnafT4=new Array(4),this._bitLength=this.n?this.n.bitLength():0;var t=this.n&&this.p.div(this.n);!t||t.cmpn(100)>0?this.redN=null:(this._maxwellTrick=!0,this.redN=this.n.toRed(this.red))}base$1=r,r.prototype.point=function(){throw new Error("Not implemented")},r.prototype.validate=function(){throw new Error("Not implemented")},r.prototype._fixedNafMul=function(i,t){y(i.precomputed);var e=i._getDoubles(),a=x(t,1,this._bitLength),f=(1<<e.step+1)-(e.step%2===0?2:1);f/=3;var s=[],h,l;for(h=0;h<a.length;h+=e.step){l=0;for(var g=h+e.step-1;g>=h;g--)l=(l<<1)+a[g];s.push(l)}for(var w=this.jpoint(null,null,null),_=this.jpoint(null,null,null),S=f;S>0;S--){for(h=0;h<s.length;h++)l=s[h],l===S?_=_.mixedAdd(e.points[h]):l===-S&&(_=_.mixedAdd(e.points[h].neg()));w=w.add(_)}return w.toP()},r.prototype._wnafMul=function(i,t){var e=4,a=i._getNAFPoints(e);e=a.wnd;for(var f=a.points,s=x(t,e,this._bitLength),h=this.jpoint(null,null,null),l=s.length-1;l>=0;l--){for(var g=0;l>=0&&s[l]===0;l--)g++;if(l>=0&&g++,h=h.dblp(g),l<0)break;var w=s[l];y(w!==0),i.type==="affine"?w>0?h=h.mixedAdd(f[w-1>>1]):h=h.mixedAdd(f[-w-1>>1].neg()):w>0?h=h.add(f[w-1>>1]):h=h.add(f[-w-1>>1].neg())}return i.type==="affine"?h.toP():h},r.prototype._wnafMulAdd=function(i,t,e,a,f){var s=this._wnafT1,h=this._wnafT2,l=this._wnafT3,g=0,w,_,S;for(w=0;w<a;w++){S=t[w];var C=S._getNAFPoints(i);s[w]=C.wnd,h[w]=C.points}for(w=a-1;w>=1;w-=2){var P=w-1,T=w;if(s[P]!==1||s[T]!==1){l[P]=x(e[P],s[P],this._bitLength),l[T]=x(e[T],s[T],this._bitLength),g=Math.max(l[P].length,g),g=Math.max(l[T].length,g);continue}var U=[t[P],null,null,t[T]];t[P].y.cmp(t[T].y)===0?(U[1]=t[P].add(t[T]),U[2]=t[P].toJ().mixedAdd(t[T].neg())):t[P].y.cmp(t[T].y.redNeg())===0?(U[1]=t[P].toJ().mixedAdd(t[T]),U[2]=t[P].add(t[T].neg())):(U[1]=t[P].toJ().mixedAdd(t[T]),U[2]=t[P].toJ().mixedAdd(t[T].neg()));var z=[-3,-1,-5,-7,0,7,5,1,3],V=c(e[P],e[T]);for(g=Math.max(V[0].length,g),l[P]=new Array(g),l[T]=new Array(g),_=0;_<g;_++){var G=V[0][_]|0,O=V[1][_]|0;l[P][_]=z[(G+1)*3+(O+1)],l[T][_]=0,h[P]=U}}var u=this.jpoint(null,null,null),p=this._wnafT4;for(w=g;w>=0;w--){for(var o=0;w>=0;){var b=!0;for(_=0;_<a;_++)p[_]=l[_][w]|0,p[_]!==0&&(b=!1);if(!b)break;o++,w--}if(w>=0&&o++,u=u.dblp(o),w<0)break;for(_=0;_<a;_++){var E=p[_];E!==0&&(E>0?S=h[_][E-1>>1]:E<0&&(S=h[_][-E-1>>1].neg()),S.type==="affine"?u=u.mixedAdd(S):u=u.add(S))}}for(w=0;w<a;w++)h[w]=null;return f?u:u.toP()};function d(n,i){this.curve=n,this.type=i,this.precomputed=null}return r.BasePoint=d,d.prototype.eq=function(){throw new Error("Not implemented")},d.prototype.validate=function(){return this.curve.validate(this)},r.prototype.decodePoint=function(i,t){i=m.toArray(i,t);var e=this.p.byteLength();if((i[0]===4||i[0]===6||i[0]===7)&&i.length-1===2*e){i[0]===6?y(i[i.length-1]%2===0):i[0]===7&&y(i[i.length-1]%2===1);var a=this.point(i.slice(1,1+e),i.slice(1+e,1+2*e));return a}else if((i[0]===2||i[0]===3)&&i.length-1===e)return this.pointFromX(i.slice(1,1+e),i[0]===3);throw new Error("Unknown point format")},d.prototype.encodeCompressed=function(i){return this.encode(i,!0)},d.prototype._encode=function(i){var t=this.curve.p.byteLength(),e=this.getX().toArray("be",t);return i?[this.getY().isEven()?2:3].concat(e):[4].concat(e,this.getY().toArray("be",t))},d.prototype.encode=function(i,t){return m.encode(this._encode(t),i)},d.prototype.precompute=function(i){if(this.precomputed)return this;var t={doubles:null,naf:null,beta:null};return t.naf=this._getNAFPoints(8),t.doubles=this._getDoubles(4,i),t.beta=this._getBeta(),this.precomputed=t,this},d.prototype._hasDoubles=function(i){if(!this.precomputed)return!1;var t=this.precomputed.doubles;return t?t.points.length>=Math.ceil((i.bitLength()+1)/t.step):!1},d.prototype._getDoubles=function(i,t){if(this.precomputed&&this.precomputed.doubles)return this.precomputed.doubles;for(var e=[this],a=this,f=0;f<t;f+=i){for(var s=0;s<i;s++)a=a.dbl();e.push(a)}return{step:i,points:e}},d.prototype._getNAFPoints=function(i){if(this.precomputed&&this.precomputed.naf)return this.precomputed.naf;for(var t=[this],e=(1<<i)-1,a=e===1?null:this.dbl(),f=1;f<e;f++)t[f]=t[f-1].add(a);return{wnd:i,points:t}},d.prototype._getBeta=function(){return null},d.prototype.dblp=function(i){for(var t=this,e=0;e<i;e++)t=t.dbl();return t},base$1}var short,hasRequiredShort;function requireShort(){if(hasRequiredShort)return short;hasRequiredShort=1;var v=requireUtils$1(),m=requireBn$1(),x=requireInherits_browser(),c=requireBase$1(),y=v.assert;function r(i){c.call(this,"short",i),this.a=new m(i.a,16).toRed(this.red),this.b=new m(i.b,16).toRed(this.red),this.tinv=this.two.redInvm(),this.zeroA=this.a.fromRed().cmpn(0)===0,this.threeA=this.a.fromRed().sub(this.p).cmpn(-3)===0,this.endo=this._getEndomorphism(i),this._endoWnafT1=new Array(4),this._endoWnafT2=new Array(4)}x(r,c),short=r,r.prototype._getEndomorphism=function(t){if(!(!this.zeroA||!this.g||!this.n||this.p.modn(3)!==1)){var e,a;if(t.beta)e=new m(t.beta,16).toRed(this.red);else{var f=this._getEndoRoots(this.p);e=f[0].cmp(f[1])<0?f[0]:f[1],e=e.toRed(this.red)}if(t.lambda)a=new m(t.lambda,16);else{var s=this._getEndoRoots(this.n);this.g.mul(s[0]).x.cmp(this.g.x.redMul(e))===0?a=s[0]:(a=s[1],y(this.g.mul(a).x.cmp(this.g.x.redMul(e))===0))}var h;return t.basis?h=t.basis.map(function(l){return{a:new m(l.a,16),b:new m(l.b,16)}}):h=this._getEndoBasis(a),{beta:e,lambda:a,basis:h}}},r.prototype._getEndoRoots=function(t){var e=t===this.p?this.red:m.mont(t),a=new m(2).toRed(e).redInvm(),f=a.redNeg(),s=new m(3).toRed(e).redNeg().redSqrt().redMul(a),h=f.redAdd(s).fromRed(),l=f.redSub(s).fromRed();return[h,l]},r.prototype._getEndoBasis=function(t){for(var e=this.n.ushrn(Math.floor(this.n.bitLength()/2)),a=t,f=this.n.clone(),s=new m(1),h=new m(0),l=new m(0),g=new m(1),w,_,S,C,P,T,U,z=0,V,G;a.cmpn(0)!==0;){var O=f.div(a);V=f.sub(O.mul(a)),G=l.sub(O.mul(s));var u=g.sub(O.mul(h));if(!S&&V.cmp(e)<0)w=U.neg(),_=s,S=V.neg(),C=G;else if(S&&++z===2)break;U=V,f=a,a=V,l=s,s=G,g=h,h=u}P=V.neg(),T=G;var p=S.sqr().add(C.sqr()),o=P.sqr().add(T.sqr());return o.cmp(p)>=0&&(P=w,T=_),S.negative&&(S=S.neg(),C=C.neg()),P.negative&&(P=P.neg(),T=T.neg()),[{a:S,b:C},{a:P,b:T}]},r.prototype._endoSplit=function(t){var e=this.endo.basis,a=e[0],f=e[1],s=f.b.mul(t).divRound(this.n),h=a.b.neg().mul(t).divRound(this.n),l=s.mul(a.a),g=h.mul(f.a),w=s.mul(a.b),_=h.mul(f.b),S=t.sub(l).sub(g),C=w.add(_).neg();return{k1:S,k2:C}},r.prototype.pointFromX=function(t,e){t=new m(t,16),t.red||(t=t.toRed(this.red));var a=t.redSqr().redMul(t).redIAdd(t.redMul(this.a)).redIAdd(this.b),f=a.redSqrt();if(f.redSqr().redSub(a).cmp(this.zero)!==0)throw new Error("invalid point");var s=f.fromRed().isOdd();return(e&&!s||!e&&s)&&(f=f.redNeg()),this.point(t,f)},r.prototype.validate=function(t){if(t.inf)return!0;var e=t.x,a=t.y,f=this.a.redMul(e),s=e.redSqr().redMul(e).redIAdd(f).redIAdd(this.b);return a.redSqr().redISub(s).cmpn(0)===0},r.prototype._endoWnafMulAdd=function(t,e,a){for(var f=this._endoWnafT1,s=this._endoWnafT2,h=0;h<t.length;h++){var l=this._endoSplit(e[h]),g=t[h],w=g._getBeta();l.k1.negative&&(l.k1.ineg(),g=g.neg(!0)),l.k2.negative&&(l.k2.ineg(),w=w.neg(!0)),f[h*2]=g,f[h*2+1]=w,s[h*2]=l.k1,s[h*2+1]=l.k2}for(var _=this._wnafMulAdd(1,f,s,h*2,a),S=0;S<h*2;S++)f[S]=null,s[S]=null;return _};function d(i,t,e,a){c.BasePoint.call(this,i,"affine"),t===null&&e===null?(this.x=null,this.y=null,this.inf=!0):(this.x=new m(t,16),this.y=new m(e,16),a&&(this.x.forceRed(this.curve.red),this.y.forceRed(this.curve.red)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.inf=!1)}x(d,c.BasePoint),r.prototype.point=function(t,e,a){return new d(this,t,e,a)},r.prototype.pointFromJSON=function(t,e){return d.fromJSON(this,t,e)},d.prototype._getBeta=function(){if(this.curve.endo){var t=this.precomputed;if(t&&t.beta)return t.beta;var e=this.curve.point(this.x.redMul(this.curve.endo.beta),this.y);if(t){var a=this.curve,f=function(s){return a.point(s.x.redMul(a.endo.beta),s.y)};t.beta=e,e.precomputed={beta:null,naf:t.naf&&{wnd:t.naf.wnd,points:t.naf.points.map(f)},doubles:t.doubles&&{step:t.doubles.step,points:t.doubles.points.map(f)}}}return e}},d.prototype.toJSON=function(){return this.precomputed?[this.x,this.y,this.precomputed&&{doubles:this.precomputed.doubles&&{step:this.precomputed.doubles.step,points:this.precomputed.doubles.points.slice(1)},naf:this.precomputed.naf&&{wnd:this.precomputed.naf.wnd,points:this.precomputed.naf.points.slice(1)}}]:[this.x,this.y]},d.fromJSON=function(t,e,a){typeof e=="string"&&(e=JSON.parse(e));var f=t.point(e[0],e[1],a);if(!e[2])return f;function s(l){return t.point(l[0],l[1],a)}var h=e[2];return f.precomputed={beta:null,doubles:h.doubles&&{step:h.doubles.step,points:[f].concat(h.doubles.points.map(s))},naf:h.naf&&{wnd:h.naf.wnd,points:[f].concat(h.naf.points.map(s))}},f},d.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+">"},d.prototype.isInfinity=function(){return this.inf},d.prototype.add=function(t){if(this.inf)return t;if(t.inf)return this;if(this.eq(t))return this.dbl();if(this.neg().eq(t))return this.curve.point(null,null);if(this.x.cmp(t.x)===0)return this.curve.point(null,null);var e=this.y.redSub(t.y);e.cmpn(0)!==0&&(e=e.redMul(this.x.redSub(t.x).redInvm()));var a=e.redSqr().redISub(this.x).redISub(t.x),f=e.redMul(this.x.redSub(a)).redISub(this.y);return this.curve.point(a,f)},d.prototype.dbl=function(){if(this.inf)return this;var t=this.y.redAdd(this.y);if(t.cmpn(0)===0)return this.curve.point(null,null);var e=this.curve.a,a=this.x.redSqr(),f=t.redInvm(),s=a.redAdd(a).redIAdd(a).redIAdd(e).redMul(f),h=s.redSqr().redISub(this.x.redAdd(this.x)),l=s.redMul(this.x.redSub(h)).redISub(this.y);return this.curve.point(h,l)},d.prototype.getX=function(){return this.x.fromRed()},d.prototype.getY=function(){return this.y.fromRed()},d.prototype.mul=function(t){return t=new m(t,16),this.isInfinity()?this:this._hasDoubles(t)?this.curve._fixedNafMul(this,t):this.curve.endo?this.curve._endoWnafMulAdd([this],[t]):this.curve._wnafMul(this,t)},d.prototype.mulAdd=function(t,e,a){var f=[this,e],s=[t,a];return this.curve.endo?this.curve._endoWnafMulAdd(f,s):this.curve._wnafMulAdd(1,f,s,2)},d.prototype.jmulAdd=function(t,e,a){var f=[this,e],s=[t,a];return this.curve.endo?this.curve._endoWnafMulAdd(f,s,!0):this.curve._wnafMulAdd(1,f,s,2,!0)},d.prototype.eq=function(t){return this===t||this.inf===t.inf&&(this.inf||this.x.cmp(t.x)===0&&this.y.cmp(t.y)===0)},d.prototype.neg=function(t){if(this.inf)return this;var e=this.curve.point(this.x,this.y.redNeg());if(t&&this.precomputed){var a=this.precomputed,f=function(s){return s.neg()};e.precomputed={naf:a.naf&&{wnd:a.naf.wnd,points:a.naf.points.map(f)},doubles:a.doubles&&{step:a.doubles.step,points:a.doubles.points.map(f)}}}return e},d.prototype.toJ=function(){if(this.inf)return this.curve.jpoint(null,null,null);var t=this.curve.jpoint(this.x,this.y,this.curve.one);return t};function n(i,t,e,a){c.BasePoint.call(this,i,"jacobian"),t===null&&e===null&&a===null?(this.x=this.curve.one,this.y=this.curve.one,this.z=new m(0)):(this.x=new m(t,16),this.y=new m(e,16),this.z=new m(a,16)),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.zOne=this.z===this.curve.one}return x(n,c.BasePoint),r.prototype.jpoint=function(t,e,a){return new n(this,t,e,a)},n.prototype.toP=function(){if(this.isInfinity())return this.curve.point(null,null);var t=this.z.redInvm(),e=t.redSqr(),a=this.x.redMul(e),f=this.y.redMul(e).redMul(t);return this.curve.point(a,f)},n.prototype.neg=function(){return this.curve.jpoint(this.x,this.y.redNeg(),this.z)},n.prototype.add=function(t){if(this.isInfinity())return t;if(t.isInfinity())return this;var e=t.z.redSqr(),a=this.z.redSqr(),f=this.x.redMul(e),s=t.x.redMul(a),h=this.y.redMul(e.redMul(t.z)),l=t.y.redMul(a.redMul(this.z)),g=f.redSub(s),w=h.redSub(l);if(g.cmpn(0)===0)return w.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var _=g.redSqr(),S=_.redMul(g),C=f.redMul(_),P=w.redSqr().redIAdd(S).redISub(C).redISub(C),T=w.redMul(C.redISub(P)).redISub(h.redMul(S)),U=this.z.redMul(t.z).redMul(g);return this.curve.jpoint(P,T,U)},n.prototype.mixedAdd=function(t){if(this.isInfinity())return t.toJ();if(t.isInfinity())return this;var e=this.z.redSqr(),a=this.x,f=t.x.redMul(e),s=this.y,h=t.y.redMul(e).redMul(this.z),l=a.redSub(f),g=s.redSub(h);if(l.cmpn(0)===0)return g.cmpn(0)!==0?this.curve.jpoint(null,null,null):this.dbl();var w=l.redSqr(),_=w.redMul(l),S=a.redMul(w),C=g.redSqr().redIAdd(_).redISub(S).redISub(S),P=g.redMul(S.redISub(C)).redISub(s.redMul(_)),T=this.z.redMul(l);return this.curve.jpoint(C,P,T)},n.prototype.dblp=function(t){if(t===0)return this;if(this.isInfinity())return this;if(!t)return this.dbl();var e;if(this.curve.zeroA||this.curve.threeA){var a=this;for(e=0;e<t;e++)a=a.dbl();return a}var f=this.curve.a,s=this.curve.tinv,h=this.x,l=this.y,g=this.z,w=g.redSqr().redSqr(),_=l.redAdd(l);for(e=0;e<t;e++){var S=h.redSqr(),C=_.redSqr(),P=C.redSqr(),T=S.redAdd(S).redIAdd(S).redIAdd(f.redMul(w)),U=h.redMul(C),z=T.redSqr().redISub(U.redAdd(U)),V=U.redISub(z),G=T.redMul(V);G=G.redIAdd(G).redISub(P);var O=_.redMul(g);e+1<t&&(w=w.redMul(P)),h=z,g=O,_=G}return this.curve.jpoint(h,_.redMul(s),g)},n.prototype.dbl=function(){return this.isInfinity()?this:this.curve.zeroA?this._zeroDbl():this.curve.threeA?this._threeDbl():this._dbl()},n.prototype._zeroDbl=function(){var t,e,a;if(this.zOne){var f=this.x.redSqr(),s=this.y.redSqr(),h=s.redSqr(),l=this.x.redAdd(s).redSqr().redISub(f).redISub(h);l=l.redIAdd(l);var g=f.redAdd(f).redIAdd(f),w=g.redSqr().redISub(l).redISub(l),_=h.redIAdd(h);_=_.redIAdd(_),_=_.redIAdd(_),t=w,e=g.redMul(l.redISub(w)).redISub(_),a=this.y.redAdd(this.y)}else{var S=this.x.redSqr(),C=this.y.redSqr(),P=C.redSqr(),T=this.x.redAdd(C).redSqr().redISub(S).redISub(P);T=T.redIAdd(T);var U=S.redAdd(S).redIAdd(S),z=U.redSqr(),V=P.redIAdd(P);V=V.redIAdd(V),V=V.redIAdd(V),t=z.redISub(T).redISub(T),e=U.redMul(T.redISub(t)).redISub(V),a=this.y.redMul(this.z),a=a.redIAdd(a)}return this.curve.jpoint(t,e,a)},n.prototype._threeDbl=function(){var t,e,a;if(this.zOne){var f=this.x.redSqr(),s=this.y.redSqr(),h=s.redSqr(),l=this.x.redAdd(s).redSqr().redISub(f).redISub(h);l=l.redIAdd(l);var g=f.redAdd(f).redIAdd(f).redIAdd(this.curve.a),w=g.redSqr().redISub(l).redISub(l);t=w;var _=h.redIAdd(h);_=_.redIAdd(_),_=_.redIAdd(_),e=g.redMul(l.redISub(w)).redISub(_),a=this.y.redAdd(this.y)}else{var S=this.z.redSqr(),C=this.y.redSqr(),P=this.x.redMul(C),T=this.x.redSub(S).redMul(this.x.redAdd(S));T=T.redAdd(T).redIAdd(T);var U=P.redIAdd(P);U=U.redIAdd(U);var z=U.redAdd(U);t=T.redSqr().redISub(z),a=this.y.redAdd(this.z).redSqr().redISub(C).redISub(S);var V=C.redSqr();V=V.redIAdd(V),V=V.redIAdd(V),V=V.redIAdd(V),e=T.redMul(U.redISub(t)).redISub(V)}return this.curve.jpoint(t,e,a)},n.prototype._dbl=function(){var t=this.curve.a,e=this.x,a=this.y,f=this.z,s=f.redSqr().redSqr(),h=e.redSqr(),l=a.redSqr(),g=h.redAdd(h).redIAdd(h).redIAdd(t.redMul(s)),w=e.redAdd(e);w=w.redIAdd(w);var _=w.redMul(l),S=g.redSqr().redISub(_.redAdd(_)),C=_.redISub(S),P=l.redSqr();P=P.redIAdd(P),P=P.redIAdd(P),P=P.redIAdd(P);var T=g.redMul(C).redISub(P),U=a.redAdd(a).redMul(f);return this.curve.jpoint(S,T,U)},n.prototype.trpl=function(){if(!this.curve.zeroA)return this.dbl().add(this);var t=this.x.redSqr(),e=this.y.redSqr(),a=this.z.redSqr(),f=e.redSqr(),s=t.redAdd(t).redIAdd(t),h=s.redSqr(),l=this.x.redAdd(e).redSqr().redISub(t).redISub(f);l=l.redIAdd(l),l=l.redAdd(l).redIAdd(l),l=l.redISub(h);var g=l.redSqr(),w=f.redIAdd(f);w=w.redIAdd(w),w=w.redIAdd(w),w=w.redIAdd(w);var _=s.redIAdd(l).redSqr().redISub(h).redISub(g).redISub(w),S=e.redMul(_);S=S.redIAdd(S),S=S.redIAdd(S);var C=this.x.redMul(g).redISub(S);C=C.redIAdd(C),C=C.redIAdd(C);var P=this.y.redMul(_.redMul(w.redISub(_)).redISub(l.redMul(g)));P=P.redIAdd(P),P=P.redIAdd(P),P=P.redIAdd(P);var T=this.z.redAdd(l).redSqr().redISub(a).redISub(g);return this.curve.jpoint(C,P,T)},n.prototype.mul=function(t,e){return t=new m(t,e),this.curve._wnafMul(this,t)},n.prototype.eq=function(t){if(t.type==="affine")return this.eq(t.toJ());if(this===t)return!0;var e=this.z.redSqr(),a=t.z.redSqr();if(this.x.redMul(a).redISub(t.x.redMul(e)).cmpn(0)!==0)return!1;var f=e.redMul(this.z),s=a.redMul(t.z);return this.y.redMul(s).redISub(t.y.redMul(f)).cmpn(0)===0},n.prototype.eqXToP=function(t){var e=this.z.redSqr(),a=t.toRed(this.curve.red).redMul(e);if(this.x.cmp(a)===0)return!0;for(var f=t.clone(),s=this.curve.redN.redMul(e);;){if(f.iadd(this.curve.n),f.cmp(this.curve.p)>=0)return!1;if(a.redIAdd(s),this.x.cmp(a)===0)return!0}},n.prototype.inspect=function(){return this.isInfinity()?"<EC JPoint Infinity>":"<EC JPoint x: "+this.x.toString(16,2)+" y: "+this.y.toString(16,2)+" z: "+this.z.toString(16,2)+">"},n.prototype.isInfinity=function(){return this.z.cmpn(0)===0},short}var mont,hasRequiredMont;function requireMont(){if(hasRequiredMont)return mont;hasRequiredMont=1;var v=requireBn$1(),m=requireInherits_browser(),x=requireBase$1(),c=requireUtils$1();function y(d){x.call(this,"mont",d),this.a=new v(d.a,16).toRed(this.red),this.b=new v(d.b,16).toRed(this.red),this.i4=new v(4).toRed(this.red).redInvm(),this.two=new v(2).toRed(this.red),this.a24=this.i4.redMul(this.a.redAdd(this.two))}m(y,x),mont=y,y.prototype.validate=function(n){var i=n.normalize().x,t=i.redSqr(),e=t.redMul(i).redAdd(t.redMul(this.a)).redAdd(i),a=e.redSqrt();return a.redSqr().cmp(e)===0};function r(d,n,i){x.BasePoint.call(this,d,"projective"),n===null&&i===null?(this.x=this.curve.one,this.z=this.curve.zero):(this.x=new v(n,16),this.z=new v(i,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)))}return m(r,x.BasePoint),y.prototype.decodePoint=function(n,i){return this.point(c.toArray(n,i),1)},y.prototype.point=function(n,i){return new r(this,n,i)},y.prototype.pointFromJSON=function(n){return r.fromJSON(this,n)},r.prototype.precompute=function(){},r.prototype._encode=function(){return this.getX().toArray("be",this.curve.p.byteLength())},r.fromJSON=function(n,i){return new r(n,i[0],i[1]||n.one)},r.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},r.prototype.isInfinity=function(){return this.z.cmpn(0)===0},r.prototype.dbl=function(){var n=this.x.redAdd(this.z),i=n.redSqr(),t=this.x.redSub(this.z),e=t.redSqr(),a=i.redSub(e),f=i.redMul(e),s=a.redMul(e.redAdd(this.curve.a24.redMul(a)));return this.curve.point(f,s)},r.prototype.add=function(){throw new Error("Not supported on Montgomery curve")},r.prototype.diffAdd=function(n,i){var t=this.x.redAdd(this.z),e=this.x.redSub(this.z),a=n.x.redAdd(n.z),f=n.x.redSub(n.z),s=f.redMul(t),h=a.redMul(e),l=i.z.redMul(s.redAdd(h).redSqr()),g=i.x.redMul(s.redISub(h).redSqr());return this.curve.point(l,g)},r.prototype.mul=function(n){for(var i=n.clone(),t=this,e=this.curve.point(null,null),a=this,f=[];i.cmpn(0)!==0;i.iushrn(1))f.push(i.andln(1));for(var s=f.length-1;s>=0;s--)f[s]===0?(t=t.diffAdd(e,a),e=e.dbl()):(e=t.diffAdd(e,a),t=t.dbl());return e},r.prototype.mulAdd=function(){throw new Error("Not supported on Montgomery curve")},r.prototype.jumlAdd=function(){throw new Error("Not supported on Montgomery curve")},r.prototype.eq=function(n){return this.getX().cmp(n.getX())===0},r.prototype.normalize=function(){return this.x=this.x.redMul(this.z.redInvm()),this.z=this.curve.one,this},r.prototype.getX=function(){return this.normalize(),this.x.fromRed()},mont}var edwards,hasRequiredEdwards;function requireEdwards(){if(hasRequiredEdwards)return edwards;hasRequiredEdwards=1;var v=requireUtils$1(),m=requireBn$1(),x=requireInherits_browser(),c=requireBase$1(),y=v.assert;function r(n){this.twisted=(n.a|0)!==1,this.mOneA=this.twisted&&(n.a|0)===-1,this.extended=this.mOneA,c.call(this,"edwards",n),this.a=new m(n.a,16).umod(this.red.m),this.a=this.a.toRed(this.red),this.c=new m(n.c,16).toRed(this.red),this.c2=this.c.redSqr(),this.d=new m(n.d,16).toRed(this.red),this.dd=this.d.redAdd(this.d),y(!this.twisted||this.c.fromRed().cmpn(1)===0),this.oneC=(n.c|0)===1}x(r,c),edwards=r,r.prototype._mulA=function(i){return this.mOneA?i.redNeg():this.a.redMul(i)},r.prototype._mulC=function(i){return this.oneC?i:this.c.redMul(i)},r.prototype.jpoint=function(i,t,e,a){return this.point(i,t,e,a)},r.prototype.pointFromX=function(i,t){i=new m(i,16),i.red||(i=i.toRed(this.red));var e=i.redSqr(),a=this.c2.redSub(this.a.redMul(e)),f=this.one.redSub(this.c2.redMul(this.d).redMul(e)),s=a.redMul(f.redInvm()),h=s.redSqrt();if(h.redSqr().redSub(s).cmp(this.zero)!==0)throw new Error("invalid point");var l=h.fromRed().isOdd();return(t&&!l||!t&&l)&&(h=h.redNeg()),this.point(i,h)},r.prototype.pointFromY=function(i,t){i=new m(i,16),i.red||(i=i.toRed(this.red));var e=i.redSqr(),a=e.redSub(this.c2),f=e.redMul(this.d).redMul(this.c2).redSub(this.a),s=a.redMul(f.redInvm());if(s.cmp(this.zero)===0){if(t)throw new Error("invalid point");return this.point(this.zero,i)}var h=s.redSqrt();if(h.redSqr().redSub(s).cmp(this.zero)!==0)throw new Error("invalid point");return h.fromRed().isOdd()!==t&&(h=h.redNeg()),this.point(h,i)},r.prototype.validate=function(i){if(i.isInfinity())return!0;i.normalize();var t=i.x.redSqr(),e=i.y.redSqr(),a=t.redMul(this.a).redAdd(e),f=this.c2.redMul(this.one.redAdd(this.d.redMul(t).redMul(e)));return a.cmp(f)===0};function d(n,i,t,e,a){c.BasePoint.call(this,n,"projective"),i===null&&t===null&&e===null?(this.x=this.curve.zero,this.y=this.curve.one,this.z=this.curve.one,this.t=this.curve.zero,this.zOne=!0):(this.x=new m(i,16),this.y=new m(t,16),this.z=e?new m(e,16):this.curve.one,this.t=a&&new m(a,16),this.x.red||(this.x=this.x.toRed(this.curve.red)),this.y.red||(this.y=this.y.toRed(this.curve.red)),this.z.red||(this.z=this.z.toRed(this.curve.red)),this.t&&!this.t.red&&(this.t=this.t.toRed(this.curve.red)),this.zOne=this.z===this.curve.one,this.curve.extended&&!this.t&&(this.t=this.x.redMul(this.y),this.zOne||(this.t=this.t.redMul(this.z.redInvm()))))}return x(d,c.BasePoint),r.prototype.pointFromJSON=function(i){return d.fromJSON(this,i)},r.prototype.point=function(i,t,e,a){return new d(this,i,t,e,a)},d.fromJSON=function(i,t){return new d(i,t[0],t[1],t[2])},d.prototype.inspect=function(){return this.isInfinity()?"<EC Point Infinity>":"<EC Point x: "+this.x.fromRed().toString(16,2)+" y: "+this.y.fromRed().toString(16,2)+" z: "+this.z.fromRed().toString(16,2)+">"},d.prototype.isInfinity=function(){return this.x.cmpn(0)===0&&(this.y.cmp(this.z)===0||this.zOne&&this.y.cmp(this.curve.c)===0)},d.prototype._extDbl=function(){var i=this.x.redSqr(),t=this.y.redSqr(),e=this.z.redSqr();e=e.redIAdd(e);var a=this.curve._mulA(i),f=this.x.redAdd(this.y).redSqr().redISub(i).redISub(t),s=a.redAdd(t),h=s.redSub(e),l=a.redSub(t),g=f.redMul(h),w=s.redMul(l),_=f.redMul(l),S=h.redMul(s);return this.curve.point(g,w,S,_)},d.prototype._projDbl=function(){var i=this.x.redAdd(this.y).redSqr(),t=this.x.redSqr(),e=this.y.redSqr(),a,f,s,h,l,g;if(this.curve.twisted){h=this.curve._mulA(t);var w=h.redAdd(e);this.zOne?(a=i.redSub(t).redSub(e).redMul(w.redSub(this.curve.two)),f=w.redMul(h.redSub(e)),s=w.redSqr().redSub(w).redSub(w)):(l=this.z.redSqr(),g=w.redSub(l).redISub(l),a=i.redSub(t).redISub(e).redMul(g),f=w.redMul(h.redSub(e)),s=w.redMul(g))}else h=t.redAdd(e),l=this.curve._mulC(this.z).redSqr(),g=h.redSub(l).redSub(l),a=this.curve._mulC(i.redISub(h)).redMul(g),f=this.curve._mulC(h).redMul(t.redISub(e)),s=h.redMul(g);return this.curve.point(a,f,s)},d.prototype.dbl=function(){return this.isInfinity()?this:this.curve.extended?this._extDbl():this._projDbl()},d.prototype._extAdd=function(i){var t=this.y.redSub(this.x).redMul(i.y.redSub(i.x)),e=this.y.redAdd(this.x).redMul(i.y.redAdd(i.x)),a=this.t.redMul(this.curve.dd).redMul(i.t),f=this.z.redMul(i.z.redAdd(i.z)),s=e.redSub(t),h=f.redSub(a),l=f.redAdd(a),g=e.redAdd(t),w=s.redMul(h),_=l.redMul(g),S=s.redMul(g),C=h.redMul(l);return this.curve.point(w,_,C,S)},d.prototype._projAdd=function(i){var t=this.z.redMul(i.z),e=t.redSqr(),a=this.x.redMul(i.x),f=this.y.redMul(i.y),s=this.curve.d.redMul(a).redMul(f),h=e.redSub(s),l=e.redAdd(s),g=this.x.redAdd(this.y).redMul(i.x.redAdd(i.y)).redISub(a).redISub(f),w=t.redMul(h).redMul(g),_,S;return this.curve.twisted?(_=t.redMul(l).redMul(f.redSub(this.curve._mulA(a))),S=h.redMul(l)):(_=t.redMul(l).redMul(f.redSub(a)),S=this.curve._mulC(h).redMul(l)),this.curve.point(w,_,S)},d.prototype.add=function(i){return this.isInfinity()?i:i.isInfinity()?this:this.curve.extended?this._extAdd(i):this._projAdd(i)},d.prototype.mul=function(i){return this._hasDoubles(i)?this.curve._fixedNafMul(this,i):this.curve._wnafMul(this,i)},d.prototype.mulAdd=function(i,t,e){return this.curve._wnafMulAdd(1,[this,t],[i,e],2,!1)},d.prototype.jmulAdd=function(i,t,e){return this.curve._wnafMulAdd(1,[this,t],[i,e],2,!0)},d.prototype.normalize=function(){if(this.zOne)return this;var i=this.z.redInvm();return this.x=this.x.redMul(i),this.y=this.y.redMul(i),this.t&&(this.t=this.t.redMul(i)),this.z=this.curve.one,this.zOne=!0,this},d.prototype.neg=function(){return this.curve.point(this.x.redNeg(),this.y,this.z,this.t&&this.t.redNeg())},d.prototype.getX=function(){return this.normalize(),this.x.fromRed()},d.prototype.getY=function(){return this.normalize(),this.y.fromRed()},d.prototype.eq=function(i){return this===i||this.getX().cmp(i.getX())===0&&this.getY().cmp(i.getY())===0},d.prototype.eqXToP=function(i){var t=i.toRed(this.curve.red).redMul(this.z);if(this.x.cmp(t)===0)return!0;for(var e=i.clone(),a=this.curve.redN.redMul(this.z);;){if(e.iadd(this.curve.n),e.cmp(this.curve.p)>=0)return!1;if(t.redIAdd(a),this.x.cmp(t)===0)return!0}},d.prototype.toP=d.prototype.normalize,d.prototype.mixedAdd=d.prototype.add,edwards}var hasRequiredCurve;function requireCurve(){return hasRequiredCurve||(hasRequiredCurve=1,function(v){var m=v;m.base=requireBase$1(),m.short=requireShort(),m.mont=requireMont(),m.edwards=requireEdwards()}(curve)),curve}var curves={},hash={},utils={},hasRequiredUtils;function requireUtils(){if(hasRequiredUtils)return utils;hasRequiredUtils=1;var v=requireMinimalisticAssert(),m=requireInherits_browser();utils.inherits=m;function x(u,p){return(u.charCodeAt(p)&64512)!==55296||p<0||p+1>=u.length?!1:(u.charCodeAt(p+1)&64512)===56320}function c(u,p){if(Array.isArray(u))return u.slice();if(!u)return[];var o=[];if(typeof u=="string")if(p){if(p==="hex")for(u=u.replace(/[^a-z0-9]+/ig,""),u.length%2!==0&&(u="0"+u),E=0;E<u.length;E+=2)o.push(parseInt(u[E]+u[E+1],16))}else for(var b=0,E=0;E<u.length;E++){var A=u.charCodeAt(E);A<128?o[b++]=A:A<2048?(o[b++]=A>>6|192,o[b++]=A&63|128):x(u,E)?(A=65536+((A&1023)<<10)+(u.charCodeAt(++E)&1023),o[b++]=A>>18|240,o[b++]=A>>12&63|128,o[b++]=A>>6&63|128,o[b++]=A&63|128):(o[b++]=A>>12|224,o[b++]=A>>6&63|128,o[b++]=A&63|128)}else for(E=0;E<u.length;E++)o[E]=u[E]|0;return o}utils.toArray=c;function y(u){for(var p="",o=0;o<u.length;o++)p+=n(u[o].toString(16));return p}utils.toHex=y;function r(u){var p=u>>>24|u>>>8&65280|u<<8&16711680|(u&255)<<24;return p>>>0}utils.htonl=r;function d(u,p){for(var o="",b=0;b<u.length;b++){var E=u[b];p==="little"&&(E=r(E)),o+=i(E.toString(16))}return o}utils.toHex32=d;function n(u){return u.length===1?"0"+u:u}utils.zero2=n;function i(u){return u.length===7?"0"+u:u.length===6?"00"+u:u.length===5?"000"+u:u.length===4?"0000"+u:u.length===3?"00000"+u:u.length===2?"000000"+u:u.length===1?"0000000"+u:u}utils.zero8=i;function t(u,p,o,b){var E=o-p;v(E%4===0);for(var A=new Array(E/4),M=0,D=p;M<A.length;M++,D+=4){var B;b==="big"?B=u[D]<<24|u[D+1]<<16|u[D+2]<<8|u[D+3]:B=u[D+3]<<24|u[D+2]<<16|u[D+1]<<8|u[D],A[M]=B>>>0}return A}utils.join32=t;function e(u,p){for(var o=new Array(u.length*4),b=0,E=0;b<u.length;b++,E+=4){var A=u[b];p==="big"?(o[E]=A>>>24,o[E+1]=A>>>16&255,o[E+2]=A>>>8&255,o[E+3]=A&255):(o[E+3]=A>>>24,o[E+2]=A>>>16&255,o[E+1]=A>>>8&255,o[E]=A&255)}return o}utils.split32=e;function a(u,p){return u>>>p|u<<32-p}utils.rotr32=a;function f(u,p){return u<<p|u>>>32-p}utils.rotl32=f;function s(u,p){return u+p>>>0}utils.sum32=s;function h(u,p,o){return u+p+o>>>0}utils.sum32_3=h;function l(u,p,o,b){return u+p+o+b>>>0}utils.sum32_4=l;function g(u,p,o,b,E){return u+p+o+b+E>>>0}utils.sum32_5=g;function w(u,p,o,b){var E=u[p],A=u[p+1],M=b+A>>>0,D=(M<b?1:0)+o+E;u[p]=D>>>0,u[p+1]=M}utils.sum64=w;function _(u,p,o,b){var E=p+b>>>0,A=(E<p?1:0)+u+o;return A>>>0}utils.sum64_hi=_;function S(u,p,o,b){var E=p+b;return E>>>0}utils.sum64_lo=S;function C(u,p,o,b,E,A,M,D){var B=0,R=p;R=R+b>>>0,B+=R<p?1:0,R=R+A>>>0,B+=R<A?1:0,R=R+D>>>0,B+=R<D?1:0;var q=u+o+E+M+B;return q>>>0}utils.sum64_4_hi=C;function P(u,p,o,b,E,A,M,D){var B=p+b+A+D;return B>>>0}utils.sum64_4_lo=P;function T(u,p,o,b,E,A,M,D,B,R){var q=0,F=p;F=F+b>>>0,q+=F<p?1:0,F=F+A>>>0,q+=F<A?1:0,F=F+D>>>0,q+=F<D?1:0,F=F+R>>>0,q+=F<R?1:0;var W=u+o+E+M+B+q;return W>>>0}utils.sum64_5_hi=T;function U(u,p,o,b,E,A,M,D,B,R){var q=p+b+A+D+R;return q>>>0}utils.sum64_5_lo=U;function z(u,p,o){var b=p<<32-o|u>>>o;return b>>>0}utils.rotr64_hi=z;function V(u,p,o){var b=u<<32-o|p>>>o;return b>>>0}utils.rotr64_lo=V;function G(u,p,o){return u>>>o}utils.shr64_hi=G;function O(u,p,o){var b=u<<32-o|p>>>o;return b>>>0}return utils.shr64_lo=O,utils}var common$1={},hasRequiredCommon$1;function requireCommon$1(){if(hasRequiredCommon$1)return common$1;hasRequiredCommon$1=1;var v=requireUtils(),m=requireMinimalisticAssert();function x(){this.pending=null,this.pendingTotal=0,this.blockSize=this.constructor.blockSize,this.outSize=this.constructor.outSize,this.hmacStrength=this.constructor.hmacStrength,this.padLength=this.constructor.padLength/8,this.endian="big",this._delta8=this.blockSize/8,this._delta32=this.blockSize/32}return common$1.BlockHash=x,x.prototype.update=function(y,r){if(y=v.toArray(y,r),this.pending?this.pending=this.pending.concat(y):this.pending=y,this.pendingTotal+=y.length,this.pending.length>=this._delta8){y=this.pending;var d=y.length%this._delta8;this.pending=y.slice(y.length-d,y.length),this.pending.length===0&&(this.pending=null),y=v.join32(y,0,y.length-d,this.endian);for(var n=0;n<y.length;n+=this._delta32)this._update(y,n,n+this._delta32)}return this},x.prototype.digest=function(y){return this.update(this._pad()),m(this.pending===null),this._digest(y)},x.prototype._pad=function(){var y=this.pendingTotal,r=this._delta8,d=r-(y+this.padLength)%r,n=new Array(d+this.padLength);n[0]=128;for(var i=1;i<d;i++)n[i]=0;if(y<<=3,this.endian==="big"){for(var t=8;t<this.padLength;t++)n[i++]=0;n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=y>>>24&255,n[i++]=y>>>16&255,n[i++]=y>>>8&255,n[i++]=y&255}else for(n[i++]=y&255,n[i++]=y>>>8&255,n[i++]=y>>>16&255,n[i++]=y>>>24&255,n[i++]=0,n[i++]=0,n[i++]=0,n[i++]=0,t=8;t<this.padLength;t++)n[i++]=0;return n},common$1}var sha={},common={},hasRequiredCommon;function requireCommon(){if(hasRequiredCommon)return common;hasRequiredCommon=1;var v=requireUtils(),m=v.rotr32;function x(e,a,f,s){if(e===0)return c(a,f,s);if(e===1||e===3)return r(a,f,s);if(e===2)return y(a,f,s)}common.ft_1=x;function c(e,a,f){return e&a^~e&f}common.ch32=c;function y(e,a,f){return e&a^e&f^a&f}common.maj32=y;function r(e,a,f){return e^a^f}common.p32=r;function d(e){return m(e,2)^m(e,13)^m(e,22)}common.s0_256=d;function n(e){return m(e,6)^m(e,11)^m(e,25)}common.s1_256=n;function i(e){return m(e,7)^m(e,18)^e>>>3}common.g0_256=i;function t(e){return m(e,17)^m(e,19)^e>>>10}return common.g1_256=t,common}var _1,hasRequired_1;function require_1(){if(hasRequired_1)return _1;hasRequired_1=1;var v=requireUtils(),m=requireCommon$1(),x=requireCommon(),c=v.rotl32,y=v.sum32,r=v.sum32_5,d=x.ft_1,n=m.BlockHash,i=[1518500249,1859775393,2400959708,3395469782];function t(){if(!(this instanceof t))return new t;n.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.W=new Array(80)}return v.inherits(t,n),_1=t,t.blockSize=512,t.outSize=160,t.hmacStrength=80,t.padLength=64,t.prototype._update=function(a,f){for(var s=this.W,h=0;h<16;h++)s[h]=a[f+h];for(;h<s.length;h++)s[h]=c(s[h-3]^s[h-8]^s[h-14]^s[h-16],1);var l=this.h[0],g=this.h[1],w=this.h[2],_=this.h[3],S=this.h[4];for(h=0;h<s.length;h++){var C=~~(h/20),P=r(c(l,5),d(C,g,w,_),S,s[h],i[C]);S=_,_=w,w=c(g,30),g=l,l=P}this.h[0]=y(this.h[0],l),this.h[1]=y(this.h[1],g),this.h[2]=y(this.h[2],w),this.h[3]=y(this.h[3],_),this.h[4]=y(this.h[4],S)},t.prototype._digest=function(a){return a==="hex"?v.toHex32(this.h,"big"):v.split32(this.h,"big")},_1}var _256,hasRequired_256;function require_256(){if(hasRequired_256)return _256;hasRequired_256=1;var v=requireUtils(),m=requireCommon$1(),x=requireCommon(),c=requireMinimalisticAssert(),y=v.sum32,r=v.sum32_4,d=v.sum32_5,n=x.ch32,i=x.maj32,t=x.s0_256,e=x.s1_256,a=x.g0_256,f=x.g1_256,s=m.BlockHash,h=[1116352408,1899447441,3049323471,3921009573,961987163,1508970993,2453635748,2870763221,3624381080,310598401,607225278,1426881987,1925078388,2162078206,2614888103,3248222580,3835390401,4022224774,264347078,604807628,770255983,1249150122,1555081692,1996064986,2554220882,2821834349,2952996808,3210313671,3336571891,3584528711,113926993,338241895,666307205,773529912,1294757372,1396182291,1695183700,1986661051,2177026350,2456956037,2730485921,2820302411,3259730800,3345764771,3516065817,3600352804,4094571909,275423344,430227734,506948616,659060556,883997877,958139571,1322822218,1537002063,1747873779,1955562222,2024104815,2227730452,2361852424,2428436474,2756734187,3204031479,3329325298];function l(){if(!(this instanceof l))return new l;s.call(this),this.h=[1779033703,3144134277,1013904242,2773480762,1359893119,2600822924,528734635,1541459225],this.k=h,this.W=new Array(64)}return v.inherits(l,s),_256=l,l.blockSize=512,l.outSize=256,l.hmacStrength=192,l.padLength=64,l.prototype._update=function(w,_){for(var S=this.W,C=0;C<16;C++)S[C]=w[_+C];for(;C<S.length;C++)S[C]=r(f(S[C-2]),S[C-7],a(S[C-15]),S[C-16]);var P=this.h[0],T=this.h[1],U=this.h[2],z=this.h[3],V=this.h[4],G=this.h[5],O=this.h[6],u=this.h[7];for(c(this.k.length===S.length),C=0;C<S.length;C++){var p=d(u,e(V),n(V,G,O),this.k[C],S[C]),o=y(t(P),i(P,T,U));u=O,O=G,G=V,V=y(z,p),z=U,U=T,T=P,P=y(p,o)}this.h[0]=y(this.h[0],P),this.h[1]=y(this.h[1],T),this.h[2]=y(this.h[2],U),this.h[3]=y(this.h[3],z),this.h[4]=y(this.h[4],V),this.h[5]=y(this.h[5],G),this.h[6]=y(this.h[6],O),this.h[7]=y(this.h[7],u)},l.prototype._digest=function(w){return w==="hex"?v.toHex32(this.h,"big"):v.split32(this.h,"big")},_256}var _224,hasRequired_224;function require_224(){if(hasRequired_224)return _224;hasRequired_224=1;var v=requireUtils(),m=require_256();function x(){if(!(this instanceof x))return new x;m.call(this),this.h=[3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428]}return v.inherits(x,m),_224=x,x.blockSize=512,x.outSize=224,x.hmacStrength=192,x.padLength=64,x.prototype._digest=function(y){return y==="hex"?v.toHex32(this.h.slice(0,7),"big"):v.split32(this.h.slice(0,7),"big")},_224}var _512,hasRequired_512;function require_512(){if(hasRequired_512)return _512;hasRequired_512=1;var v=requireUtils(),m=requireCommon$1(),x=requireMinimalisticAssert(),c=v.rotr64_hi,y=v.rotr64_lo,r=v.shr64_hi,d=v.shr64_lo,n=v.sum64,i=v.sum64_hi,t=v.sum64_lo,e=v.sum64_4_hi,a=v.sum64_4_lo,f=v.sum64_5_hi,s=v.sum64_5_lo,h=m.BlockHash,l=[1116352408,3609767458,1899447441,602891725,3049323471,3964484399,3921009573,2173295548,961987163,4081628472,1508970993,3053834265,2453635748,2937671579,2870763221,3664609560,3624381080,2734883394,310598401,1164996542,607225278,1323610764,1426881987,3590304994,1925078388,4068182383,2162078206,991336113,2614888103,633803317,3248222580,3479774868,3835390401,2666613458,4022224774,944711139,264347078,2341262773,604807628,2007800933,770255983,1495990901,1249150122,1856431235,1555081692,3175218132,1996064986,2198950837,2554220882,3999719339,2821834349,766784016,2952996808,2566594879,3210313671,3203337956,3336571891,1034457026,3584528711,2466948901,113926993,3758326383,338241895,168717936,666307205,1188179964,773529912,1546045734,1294757372,1522805485,1396182291,2643833823,1695183700,2343527390,1986661051,1014477480,2177026350,1206759142,2456956037,344077627,2730485921,1290863460,2820302411,3158454273,3259730800,3505952657,3345764771,106217008,3516065817,3606008344,3600352804,1432725776,4094571909,1467031594,275423344,851169720,430227734,3100823752,506948616,1363258195,659060556,3750685593,883997877,3785050280,958139571,3318307427,1322822218,3812723403,1537002063,2003034995,1747873779,3602036899,1955562222,1575990012,2024104815,1125592928,2227730452,2716904306,2361852424,442776044,2428436474,593698344,2756734187,3733110249,3204031479,2999351573,3329325298,3815920427,3391569614,3928383900,3515267271,566280711,3940187606,3454069534,4118630271,4000239992,116418474,1914138554,174292421,2731055270,289380356,3203993006,460393269,320620315,685471733,587496836,852142971,1086792851,1017036298,365543100,1126000580,2618297676,1288033470,3409855158,1501505948,4234509866,1607167915,987167468,1816402316,1246189591];function g(){if(!(this instanceof g))return new g;h.call(this),this.h=[1779033703,4089235720,3144134277,2227873595,1013904242,4271175723,2773480762,1595750129,1359893119,2917565137,2600822924,725511199,528734635,4215389547,1541459225,327033209],this.k=l,this.W=new Array(160)}v.inherits(g,h),_512=g,g.blockSize=1024,g.outSize=512,g.hmacStrength=192,g.padLength=128,g.prototype._prepareBlock=function(o,b){for(var E=this.W,A=0;A<32;A++)E[A]=o[b+A];for(;A<E.length;A+=2){var M=O(E[A-4],E[A-3]),D=u(E[A-4],E[A-3]),B=E[A-14],R=E[A-13],q=V(E[A-30],E[A-29]),F=G(E[A-30],E[A-29]),W=E[A-32],Y=E[A-31];E[A]=e(M,D,B,R,q,F,W,Y),E[A+1]=a(M,D,B,R,q,F,W,Y)}},g.prototype._update=function(o,b){this._prepareBlock(o,b);var E=this.W,A=this.h[0],M=this.h[1],D=this.h[2],B=this.h[3],R=this.h[4],q=this.h[5],F=this.h[6],W=this.h[7],Y=this.h[8],X=this.h[9],k=this.h[10],N=this.h[11],Z=this.h[12],Q=this.h[13],H=this.h[14],L=this.h[15];x(this.k.length===E.length);for(var ee=0;ee<E.length;ee+=2){var ne=H,fe=L,ae=U(Y,X),ue=z(Y,X),ce=w(Y,X,k,N,Z),ie=_(Y,X,k,N,Z,Q),be=this.k[ee],oe=this.k[ee+1],se=E[ee],de=E[ee+1],he=f(ne,fe,ae,ue,ce,ie,be,oe,se,de),qe=s(ne,fe,ae,ue,ce,ie,be,oe,se,de);ne=P(A,M),fe=T(A,M),ae=S(A,M,D,B,R),ue=C(A,M,D,B,R,q);var Se=i(ne,fe,ae,ue),ve=t(ne,fe,ae,ue);H=Z,L=Q,Z=k,Q=N,k=Y,N=X,Y=i(F,W,he,qe),X=t(W,W,he,qe),F=R,W=q,R=D,q=B,D=A,B=M,A=i(he,qe,Se,ve),M=t(he,qe,Se,ve)}n(this.h,0,A,M),n(this.h,2,D,B),n(this.h,4,R,q),n(this.h,6,F,W),n(this.h,8,Y,X),n(this.h,10,k,N),n(this.h,12,Z,Q),n(this.h,14,H,L)},g.prototype._digest=function(o){return o==="hex"?v.toHex32(this.h,"big"):v.split32(this.h,"big")};function w(p,o,b,E,A){var M=p&b^~p&A;return M<0&&(M+=4294967296),M}function _(p,o,b,E,A,M){var D=o&E^~o&M;return D<0&&(D+=4294967296),D}function S(p,o,b,E,A){var M=p&b^p&A^b&A;return M<0&&(M+=4294967296),M}function C(p,o,b,E,A,M){var D=o&E^o&M^E&M;return D<0&&(D+=4294967296),D}function P(p,o){var b=c(p,o,28),E=c(o,p,2),A=c(o,p,7),M=b^E^A;return M<0&&(M+=4294967296),M}function T(p,o){var b=y(p,o,28),E=y(o,p,2),A=y(o,p,7),M=b^E^A;return M<0&&(M+=4294967296),M}function U(p,o){var b=c(p,o,14),E=c(p,o,18),A=c(o,p,9),M=b^E^A;return M<0&&(M+=4294967296),M}function z(p,o){var b=y(p,o,14),E=y(p,o,18),A=y(o,p,9),M=b^E^A;return M<0&&(M+=4294967296),M}function V(p,o){var b=c(p,o,1),E=c(p,o,8),A=r(p,o,7),M=b^E^A;return M<0&&(M+=4294967296),M}function G(p,o){var b=y(p,o,1),E=y(p,o,8),A=d(p,o,7),M=b^E^A;return M<0&&(M+=4294967296),M}function O(p,o){var b=c(p,o,19),E=c(o,p,29),A=r(p,o,6),M=b^E^A;return M<0&&(M+=4294967296),M}function u(p,o){var b=y(p,o,19),E=y(o,p,29),A=d(p,o,6),M=b^E^A;return M<0&&(M+=4294967296),M}return _512}var _384,hasRequired_384;function require_384(){if(hasRequired_384)return _384;hasRequired_384=1;var v=requireUtils(),m=require_512();function x(){if(!(this instanceof x))return new x;m.call(this),this.h=[3418070365,3238371032,1654270250,914150663,2438529370,812702999,355462360,4144912697,1731405415,4290775857,2394180231,1750603025,3675008525,1694076839,1203062813,3204075428]}return v.inherits(x,m),_384=x,x.blockSize=1024,x.outSize=384,x.hmacStrength=192,x.padLength=128,x.prototype._digest=function(y){return y==="hex"?v.toHex32(this.h.slice(0,12),"big"):v.split32(this.h.slice(0,12),"big")},_384}var hasRequiredSha;function requireSha(){return hasRequiredSha||(hasRequiredSha=1,sha.sha1=require_1(),sha.sha224=require_224(),sha.sha256=require_256(),sha.sha384=require_384(),sha.sha512=require_512()),sha}var ripemd={},hasRequiredRipemd;function requireRipemd(){if(hasRequiredRipemd)return ripemd;hasRequiredRipemd=1;var v=requireUtils(),m=requireCommon$1(),x=v.rotl32,c=v.sum32,y=v.sum32_3,r=v.sum32_4,d=m.BlockHash;function n(){if(!(this instanceof n))return new n;d.call(this),this.h=[1732584193,4023233417,2562383102,271733878,3285377520],this.endian="little"}v.inherits(n,d),ripemd.ripemd160=n,n.blockSize=512,n.outSize=160,n.hmacStrength=192,n.padLength=64,n.prototype._update=function(g,w){for(var _=this.h[0],S=this.h[1],C=this.h[2],P=this.h[3],T=this.h[4],U=_,z=S,V=C,G=P,O=T,u=0;u<80;u++){var p=c(x(r(_,i(u,S,C,P),g[a[u]+w],t(u)),s[u]),T);_=T,T=P,P=x(C,10),C=S,S=p,p=c(x(r(U,i(79-u,z,V,G),g[f[u]+w],e(u)),h[u]),O),U=O,O=G,G=x(V,10),V=z,z=p}p=y(this.h[1],C,G),this.h[1]=y(this.h[2],P,O),this.h[2]=y(this.h[3],T,U),this.h[3]=y(this.h[4],_,z),this.h[4]=y(this.h[0],S,V),this.h[0]=p},n.prototype._digest=function(g){return g==="hex"?v.toHex32(this.h,"little"):v.split32(this.h,"little")};function i(l,g,w,_){return l<=15?g^w^_:l<=31?g&w|~g&_:l<=47?(g|~w)^_:l<=63?g&_|w&~_:g^(w|~_)}function t(l){return l<=15?0:l<=31?1518500249:l<=47?1859775393:l<=63?2400959708:2840853838}function e(l){return l<=15?1352829926:l<=31?1548603684:l<=47?1836072691:l<=63?2053994217:0}var a=[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13],f=[5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11],s=[11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6],h=[8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11];return ripemd}var hmac$2,hasRequiredHmac$1;function requireHmac$1(){if(hasRequiredHmac$1)return hmac$2;hasRequiredHmac$1=1;var v=requireUtils(),m=requireMinimalisticAssert();function x(c,y,r){if(!(this instanceof x))return new x(c,y,r);this.Hash=c,this.blockSize=c.blockSize/8,this.outSize=c.outSize/8,this.inner=null,this.outer=null,this._init(v.toArray(y,r))}return hmac$2=x,x.prototype._init=function(y){y.length>this.blockSize&&(y=new this.Hash().update(y).digest()),m(y.length<=this.blockSize);for(var r=y.length;r<this.blockSize;r++)y.push(0);for(r=0;r<y.length;r++)y[r]^=54;for(this.inner=new this.Hash().update(y),r=0;r<y.length;r++)y[r]^=106;this.outer=new this.Hash().update(y)},x.prototype.update=function(y,r){return this.inner.update(y,r),this},x.prototype.digest=function(y){return this.outer.update(this.inner.digest()),this.outer.digest(y)},hmac$2}var hasRequiredHash;function requireHash(){return hasRequiredHash||(hasRequiredHash=1,function(v){var m=v;m.utils=requireUtils(),m.common=requireCommon$1(),m.sha=requireSha(),m.ripemd=requireRipemd(),m.hmac=requireHmac$1(),m.sha1=m.sha.sha1,m.sha256=m.sha.sha256,m.sha224=m.sha.sha224,m.sha384=m.sha.sha384,m.sha512=m.sha.sha512,m.ripemd160=m.ripemd.ripemd160}(hash)),hash}var secp256k1,hasRequiredSecp256k1;function requireSecp256k1(){return hasRequiredSecp256k1||(hasRequiredSecp256k1=1,secp256k1={doubles:{step:4,points:[["e60fce93b59e9ec53011aabc21c23e97b2a31369b87a5ae9c44ee89e2a6dec0a","f7e3507399e595929db99f34f57937101296891e44d23f0be1f32cce69616821"],["8282263212c609d9ea2a6e3e172de238d8c39cabd5ac1ca10646e23fd5f51508","11f8a8098557dfe45e8256e830b60ace62d613ac2f7b17bed31b6eaff6e26caf"],["175e159f728b865a72f99cc6c6fc846de0b93833fd2222ed73fce5b551e5b739","d3506e0d9e3c79eba4ef97a51ff71f5eacb5955add24345c6efa6ffee9fed695"],["363d90d447b00c9c99ceac05b6262ee053441c7e55552ffe526bad8f83ff4640","4e273adfc732221953b445397f3363145b9a89008199ecb62003c7f3bee9de9"],["8b4b5f165df3c2be8c6244b5b745638843e4a781a15bcd1b69f79a55dffdf80c","4aad0a6f68d308b4b3fbd7813ab0da04f9e336546162ee56b3eff0c65fd4fd36"],["723cbaa6e5db996d6bf771c00bd548c7b700dbffa6c0e77bcb6115925232fcda","96e867b5595cc498a921137488824d6e2660a0653779494801dc069d9eb39f5f"],["eebfa4d493bebf98ba5feec812c2d3b50947961237a919839a533eca0e7dd7fa","5d9a8ca3970ef0f269ee7edaf178089d9ae4cdc3a711f712ddfd4fdae1de8999"],["100f44da696e71672791d0a09b7bde459f1215a29b3c03bfefd7835b39a48db0","cdd9e13192a00b772ec8f3300c090666b7ff4a18ff5195ac0fbd5cd62bc65a09"],["e1031be262c7ed1b1dc9227a4a04c017a77f8d4464f3b3852c8acde6e534fd2d","9d7061928940405e6bb6a4176597535af292dd419e1ced79a44f18f29456a00d"],["feea6cae46d55b530ac2839f143bd7ec5cf8b266a41d6af52d5e688d9094696d","e57c6b6c97dce1bab06e4e12bf3ecd5c981c8957cc41442d3155debf18090088"],["da67a91d91049cdcb367be4be6ffca3cfeed657d808583de33fa978bc1ec6cb1","9bacaa35481642bc41f463f7ec9780e5dec7adc508f740a17e9ea8e27a68be1d"],["53904faa0b334cdda6e000935ef22151ec08d0f7bb11069f57545ccc1a37b7c0","5bc087d0bc80106d88c9eccac20d3c1c13999981e14434699dcb096b022771c8"],["8e7bcd0bd35983a7719cca7764ca906779b53a043a9b8bcaeff959f43ad86047","10b7770b2a3da4b3940310420ca9514579e88e2e47fd68b3ea10047e8460372a"],["385eed34c1cdff21e6d0818689b81bde71a7f4f18397e6690a841e1599c43862","283bebc3e8ea23f56701de19e9ebf4576b304eec2086dc8cc0458fe5542e5453"],["6f9d9b803ecf191637c73a4413dfa180fddf84a5947fbc9c606ed86c3fac3a7","7c80c68e603059ba69b8e2a30e45c4d47ea4dd2f5c281002d86890603a842160"],["3322d401243c4e2582a2147c104d6ecbf774d163db0f5e5313b7e0e742d0e6bd","56e70797e9664ef5bfb019bc4ddaf9b72805f63ea2873af624f3a2e96c28b2a0"],["85672c7d2de0b7da2bd1770d89665868741b3f9af7643397721d74d28134ab83","7c481b9b5b43b2eb6374049bfa62c2e5e77f17fcc5298f44c8e3094f790313a6"],["948bf809b1988a46b06c9f1919413b10f9226c60f668832ffd959af60c82a0a","53a562856dcb6646dc6b74c5d1c3418c6d4dff08c97cd2bed4cb7f88d8c8e589"],["6260ce7f461801c34f067ce0f02873a8f1b0e44dfc69752accecd819f38fd8e8","bc2da82b6fa5b571a7f09049776a1ef7ecd292238051c198c1a84e95b2b4ae17"],["e5037de0afc1d8d43d8348414bbf4103043ec8f575bfdc432953cc8d2037fa2d","4571534baa94d3b5f9f98d09fb990bddbd5f5b03ec481f10e0e5dc841d755bda"],["e06372b0f4a207adf5ea905e8f1771b4e7e8dbd1c6a6c5b725866a0ae4fce725","7a908974bce18cfe12a27bb2ad5a488cd7484a7787104870b27034f94eee31dd"],["213c7a715cd5d45358d0bbf9dc0ce02204b10bdde2a3f58540ad6908d0559754","4b6dad0b5ae462507013ad06245ba190bb4850f5f36a7eeddff2c27534b458f2"],["4e7c272a7af4b34e8dbb9352a5419a87e2838c70adc62cddf0cc3a3b08fbd53c","17749c766c9d0b18e16fd09f6def681b530b9614bff7dd33e0b3941817dcaae6"],["fea74e3dbe778b1b10f238ad61686aa5c76e3db2be43057632427e2840fb27b6","6e0568db9b0b13297cf674deccb6af93126b596b973f7b77701d3db7f23cb96f"],["76e64113f677cf0e10a2570d599968d31544e179b760432952c02a4417bdde39","c90ddf8dee4e95cf577066d70681f0d35e2a33d2b56d2032b4b1752d1901ac01"],["c738c56b03b2abe1e8281baa743f8f9a8f7cc643df26cbee3ab150242bcbb891","893fb578951ad2537f718f2eacbfbbbb82314eef7880cfe917e735d9699a84c3"],["d895626548b65b81e264c7637c972877d1d72e5f3a925014372e9f6588f6c14b","febfaa38f2bc7eae728ec60818c340eb03428d632bb067e179363ed75d7d991f"],["b8da94032a957518eb0f6433571e8761ceffc73693e84edd49150a564f676e03","2804dfa44805a1e4d7c99cc9762808b092cc584d95ff3b511488e4e74efdf6e7"],["e80fea14441fb33a7d8adab9475d7fab2019effb5156a792f1a11778e3c0df5d","eed1de7f638e00771e89768ca3ca94472d155e80af322ea9fcb4291b6ac9ec78"],["a301697bdfcd704313ba48e51d567543f2a182031efd6915ddc07bbcc4e16070","7370f91cfb67e4f5081809fa25d40f9b1735dbf7c0a11a130c0d1a041e177ea1"],["90ad85b389d6b936463f9d0512678de208cc330b11307fffab7ac63e3fb04ed4","e507a3620a38261affdcbd9427222b839aefabe1582894d991d4d48cb6ef150"],["8f68b9d2f63b5f339239c1ad981f162ee88c5678723ea3351b7b444c9ec4c0da","662a9f2dba063986de1d90c2b6be215dbbea2cfe95510bfdf23cbf79501fff82"],["e4f3fb0176af85d65ff99ff9198c36091f48e86503681e3e6686fd5053231e11","1e63633ad0ef4f1c1661a6d0ea02b7286cc7e74ec951d1c9822c38576feb73bc"],["8c00fa9b18ebf331eb961537a45a4266c7034f2f0d4e1d0716fb6eae20eae29e","efa47267fea521a1a9dc343a3736c974c2fadafa81e36c54e7d2a4c66702414b"],["e7a26ce69dd4829f3e10cec0a9e98ed3143d084f308b92c0997fddfc60cb3e41","2a758e300fa7984b471b006a1aafbb18d0a6b2c0420e83e20e8a9421cf2cfd51"],["b6459e0ee3662ec8d23540c223bcbdc571cbcb967d79424f3cf29eb3de6b80ef","67c876d06f3e06de1dadf16e5661db3c4b3ae6d48e35b2ff30bf0b61a71ba45"],["d68a80c8280bb840793234aa118f06231d6f1fc67e73c5a5deda0f5b496943e8","db8ba9fff4b586d00c4b1f9177b0e28b5b0e7b8f7845295a294c84266b133120"],["324aed7df65c804252dc0270907a30b09612aeb973449cea4095980fc28d3d5d","648a365774b61f2ff130c0c35aec1f4f19213b0c7e332843967224af96ab7c84"],["4df9c14919cde61f6d51dfdbe5fee5dceec4143ba8d1ca888e8bd373fd054c96","35ec51092d8728050974c23a1d85d4b5d506cdc288490192ebac06cad10d5d"],["9c3919a84a474870faed8a9c1cc66021523489054d7f0308cbfc99c8ac1f98cd","ddb84f0f4a4ddd57584f044bf260e641905326f76c64c8e6be7e5e03d4fc599d"],["6057170b1dd12fdf8de05f281d8e06bb91e1493a8b91d4cc5a21382120a959e5","9a1af0b26a6a4807add9a2daf71df262465152bc3ee24c65e899be932385a2a8"],["a576df8e23a08411421439a4518da31880cef0fba7d4df12b1a6973eecb94266","40a6bf20e76640b2c92b97afe58cd82c432e10a7f514d9f3ee8be11ae1b28ec8"],["7778a78c28dec3e30a05fe9629de8c38bb30d1f5cf9a3a208f763889be58ad71","34626d9ab5a5b22ff7098e12f2ff580087b38411ff24ac563b513fc1fd9f43ac"],["928955ee637a84463729fd30e7afd2ed5f96274e5ad7e5cb09eda9c06d903ac","c25621003d3f42a827b78a13093a95eeac3d26efa8a8d83fc5180e935bcd091f"],["85d0fef3ec6db109399064f3a0e3b2855645b4a907ad354527aae75163d82751","1f03648413a38c0be29d496e582cf5663e8751e96877331582c237a24eb1f962"],["ff2b0dce97eece97c1c9b6041798b85dfdfb6d8882da20308f5404824526087e","493d13fef524ba188af4c4dc54d07936c7b7ed6fb90e2ceb2c951e01f0c29907"],["827fbbe4b1e880ea9ed2b2e6301b212b57f1ee148cd6dd28780e5e2cf856e241","c60f9c923c727b0b71bef2c67d1d12687ff7a63186903166d605b68baec293ec"],["eaa649f21f51bdbae7be4ae34ce6e5217a58fdce7f47f9aa7f3b58fa2120e2b3","be3279ed5bbbb03ac69a80f89879aa5a01a6b965f13f7e59d47a5305ba5ad93d"],["e4a42d43c5cf169d9391df6decf42ee541b6d8f0c9a137401e23632dda34d24f","4d9f92e716d1c73526fc99ccfb8ad34ce886eedfa8d8e4f13a7f7131deba9414"],["1ec80fef360cbdd954160fadab352b6b92b53576a88fea4947173b9d4300bf19","aeefe93756b5340d2f3a4958a7abbf5e0146e77f6295a07b671cdc1cc107cefd"],["146a778c04670c2f91b00af4680dfa8bce3490717d58ba889ddb5928366642be","b318e0ec3354028add669827f9d4b2870aaa971d2f7e5ed1d0b297483d83efd0"],["fa50c0f61d22e5f07e3acebb1aa07b128d0012209a28b9776d76a8793180eef9","6b84c6922397eba9b72cd2872281a68a5e683293a57a213b38cd8d7d3f4f2811"],["da1d61d0ca721a11b1a5bf6b7d88e8421a288ab5d5bba5220e53d32b5f067ec2","8157f55a7c99306c79c0766161c91e2966a73899d279b48a655fba0f1ad836f1"],["a8e282ff0c9706907215ff98e8fd416615311de0446f1e062a73b0610d064e13","7f97355b8db81c09abfb7f3c5b2515888b679a3e50dd6bd6cef7c73111f4cc0c"],["174a53b9c9a285872d39e56e6913cab15d59b1fa512508c022f382de8319497c","ccc9dc37abfc9c1657b4155f2c47f9e6646b3a1d8cb9854383da13ac079afa73"],["959396981943785c3d3e57edf5018cdbe039e730e4918b3d884fdff09475b7ba","2e7e552888c331dd8ba0386a4b9cd6849c653f64c8709385e9b8abf87524f2fd"],["d2a63a50ae401e56d645a1153b109a8fcca0a43d561fba2dbb51340c9d82b151","e82d86fb6443fcb7565aee58b2948220a70f750af484ca52d4142174dcf89405"],["64587e2335471eb890ee7896d7cfdc866bacbdbd3839317b3436f9b45617e073","d99fcdd5bf6902e2ae96dd6447c299a185b90a39133aeab358299e5e9faf6589"],["8481bde0e4e4d885b3a546d3e549de042f0aa6cea250e7fd358d6c86dd45e458","38ee7b8cba5404dd84a25bf39cecb2ca900a79c42b262e556d64b1b59779057e"],["13464a57a78102aa62b6979ae817f4637ffcfed3c4b1ce30bcd6303f6caf666b","69be159004614580ef7e433453ccb0ca48f300a81d0942e13f495a907f6ecc27"],["bc4a9df5b713fe2e9aef430bcc1dc97a0cd9ccede2f28588cada3a0d2d83f366","d3a81ca6e785c06383937adf4b798caa6e8a9fbfa547b16d758d666581f33c1"],["8c28a97bf8298bc0d23d8c749452a32e694b65e30a9472a3954ab30fe5324caa","40a30463a3305193378fedf31f7cc0eb7ae784f0451cb9459e71dc73cbef9482"],["8ea9666139527a8c1dd94ce4f071fd23c8b350c5a4bb33748c4ba111faccae0","620efabbc8ee2782e24e7c0cfb95c5d735b783be9cf0f8e955af34a30e62b945"],["dd3625faef5ba06074669716bbd3788d89bdde815959968092f76cc4eb9a9787","7a188fa3520e30d461da2501045731ca941461982883395937f68d00c644a573"],["f710d79d9eb962297e4f6232b40e8f7feb2bc63814614d692c12de752408221e","ea98e67232d3b3295d3b535532115ccac8612c721851617526ae47a9c77bfc82"]]},naf:{wnd:7,points:[["f9308a019258c31049344f85f89d5229b531c845836f99b08601f113bce036f9","388f7b0f632de8140fe337e62a37f3566500a99934c2231b6cb9fd7584b8e672"],["2f8bde4d1a07209355b4a7250a5c5128e88b84bddc619ab7cba8d569b240efe4","d8ac222636e5e3d6d4dba9dda6c9c426f788271bab0d6840dca87d3aa6ac62d6"],["5cbdf0646e5db4eaa398f365f2ea7a0e3d419b7e0330e39ce92bddedcac4f9bc","6aebca40ba255960a3178d6d861a54dba813d0b813fde7b5a5082628087264da"],["acd484e2f0c7f65309ad178a9f559abde09796974c57e714c35f110dfc27ccbe","cc338921b0a7d9fd64380971763b61e9add888a4375f8e0f05cc262ac64f9c37"],["774ae7f858a9411e5ef4246b70c65aac5649980be5c17891bbec17895da008cb","d984a032eb6b5e190243dd56d7b7b365372db1e2dff9d6a8301d74c9c953c61b"],["f28773c2d975288bc7d1d205c3748651b075fbc6610e58cddeeddf8f19405aa8","ab0902e8d880a89758212eb65cdaf473a1a06da521fa91f29b5cb52db03ed81"],["d7924d4f7d43ea965a465ae3095ff41131e5946f3c85f79e44adbcf8e27e080e","581e2872a86c72a683842ec228cc6defea40af2bd896d3a5c504dc9ff6a26b58"],["defdea4cdb677750a420fee807eacf21eb9898ae79b9768766e4faa04a2d4a34","4211ab0694635168e997b0ead2a93daeced1f4a04a95c0f6cfb199f69e56eb77"],["2b4ea0a797a443d293ef5cff444f4979f06acfebd7e86d277475656138385b6c","85e89bc037945d93b343083b5a1c86131a01f60c50269763b570c854e5c09b7a"],["352bbf4a4cdd12564f93fa332ce333301d9ad40271f8107181340aef25be59d5","321eb4075348f534d59c18259dda3e1f4a1b3b2e71b1039c67bd3d8bcf81998c"],["2fa2104d6b38d11b0230010559879124e42ab8dfeff5ff29dc9cdadd4ecacc3f","2de1068295dd865b64569335bd5dd80181d70ecfc882648423ba76b532b7d67"],["9248279b09b4d68dab21a9b066edda83263c3d84e09572e269ca0cd7f5453714","73016f7bf234aade5d1aa71bdea2b1ff3fc0de2a887912ffe54a32ce97cb3402"],["daed4f2be3a8bf278e70132fb0beb7522f570e144bf615c07e996d443dee8729","a69dce4a7d6c98e8d4a1aca87ef8d7003f83c230f3afa726ab40e52290be1c55"],["c44d12c7065d812e8acf28d7cbb19f9011ecd9e9fdf281b0e6a3b5e87d22e7db","2119a460ce326cdc76c45926c982fdac0e106e861edf61c5a039063f0e0e6482"],["6a245bf6dc698504c89a20cfded60853152b695336c28063b61c65cbd269e6b4","e022cf42c2bd4a708b3f5126f16a24ad8b33ba48d0423b6efd5e6348100d8a82"],["1697ffa6fd9de627c077e3d2fe541084ce13300b0bec1146f95ae57f0d0bd6a5","b9c398f186806f5d27561506e4557433a2cf15009e498ae7adee9d63d01b2396"],["605bdb019981718b986d0f07e834cb0d9deb8360ffb7f61df982345ef27a7479","2972d2de4f8d20681a78d93ec96fe23c26bfae84fb14db43b01e1e9056b8c49"],["62d14dab4150bf497402fdc45a215e10dcb01c354959b10cfe31c7e9d87ff33d","80fc06bd8cc5b01098088a1950eed0db01aa132967ab472235f5642483b25eaf"],["80c60ad0040f27dade5b4b06c408e56b2c50e9f56b9b8b425e555c2f86308b6f","1c38303f1cc5c30f26e66bad7fe72f70a65eed4cbe7024eb1aa01f56430bd57a"],["7a9375ad6167ad54aa74c6348cc54d344cc5dc9487d847049d5eabb0fa03c8fb","d0e3fa9eca8726909559e0d79269046bdc59ea10c70ce2b02d499ec224dc7f7"],["d528ecd9b696b54c907a9ed045447a79bb408ec39b68df504bb51f459bc3ffc9","eecf41253136e5f99966f21881fd656ebc4345405c520dbc063465b521409933"],["49370a4b5f43412ea25f514e8ecdad05266115e4a7ecb1387231808f8b45963","758f3f41afd6ed428b3081b0512fd62a54c3f3afbb5b6764b653052a12949c9a"],["77f230936ee88cbbd73df930d64702ef881d811e0e1498e2f1c13eb1fc345d74","958ef42a7886b6400a08266e9ba1b37896c95330d97077cbbe8eb3c7671c60d6"],["f2dac991cc4ce4b9ea44887e5c7c0bce58c80074ab9d4dbaeb28531b7739f530","e0dedc9b3b2f8dad4da1f32dec2531df9eb5fbeb0598e4fd1a117dba703a3c37"],["463b3d9f662621fb1b4be8fbbe2520125a216cdfc9dae3debcba4850c690d45b","5ed430d78c296c3543114306dd8622d7c622e27c970a1de31cb377b01af7307e"],["f16f804244e46e2a09232d4aff3b59976b98fac14328a2d1a32496b49998f247","cedabd9b82203f7e13d206fcdf4e33d92a6c53c26e5cce26d6579962c4e31df6"],["caf754272dc84563b0352b7a14311af55d245315ace27c65369e15f7151d41d1","cb474660ef35f5f2a41b643fa5e460575f4fa9b7962232a5c32f908318a04476"],["2600ca4b282cb986f85d0f1709979d8b44a09c07cb86d7c124497bc86f082120","4119b88753c15bd6a693b03fcddbb45d5ac6be74ab5f0ef44b0be9475a7e4b40"],["7635ca72d7e8432c338ec53cd12220bc01c48685e24f7dc8c602a7746998e435","91b649609489d613d1d5e590f78e6d74ecfc061d57048bad9e76f302c5b9c61"],["754e3239f325570cdbbf4a87deee8a66b7f2b33479d468fbc1a50743bf56cc18","673fb86e5bda30fb3cd0ed304ea49a023ee33d0197a695d0c5d98093c536683"],["e3e6bd1071a1e96aff57859c82d570f0330800661d1c952f9fe2694691d9b9e8","59c9e0bba394e76f40c0aa58379a3cb6a5a2283993e90c4167002af4920e37f5"],["186b483d056a033826ae73d88f732985c4ccb1f32ba35f4b4cc47fdcf04aa6eb","3b952d32c67cf77e2e17446e204180ab21fb8090895138b4a4a797f86e80888b"],["df9d70a6b9876ce544c98561f4be4f725442e6d2b737d9c91a8321724ce0963f","55eb2dafd84d6ccd5f862b785dc39d4ab157222720ef9da217b8c45cf2ba2417"],["5edd5cc23c51e87a497ca815d5dce0f8ab52554f849ed8995de64c5f34ce7143","efae9c8dbc14130661e8cec030c89ad0c13c66c0d17a2905cdc706ab7399a868"],["290798c2b6476830da12fe02287e9e777aa3fba1c355b17a722d362f84614fba","e38da76dcd440621988d00bcf79af25d5b29c094db2a23146d003afd41943e7a"],["af3c423a95d9f5b3054754efa150ac39cd29552fe360257362dfdecef4053b45","f98a3fd831eb2b749a93b0e6f35cfb40c8cd5aa667a15581bc2feded498fd9c6"],["766dbb24d134e745cccaa28c99bf274906bb66b26dcf98df8d2fed50d884249a","744b1152eacbe5e38dcc887980da38b897584a65fa06cedd2c924f97cbac5996"],["59dbf46f8c94759ba21277c33784f41645f7b44f6c596a58ce92e666191abe3e","c534ad44175fbc300f4ea6ce648309a042ce739a7919798cd85e216c4a307f6e"],["f13ada95103c4537305e691e74e9a4a8dd647e711a95e73cb62dc6018cfd87b8","e13817b44ee14de663bf4bc808341f326949e21a6a75c2570778419bdaf5733d"],["7754b4fa0e8aced06d4167a2c59cca4cda1869c06ebadfb6488550015a88522c","30e93e864e669d82224b967c3020b8fa8d1e4e350b6cbcc537a48b57841163a2"],["948dcadf5990e048aa3874d46abef9d701858f95de8041d2a6828c99e2262519","e491a42537f6e597d5d28a3224b1bc25df9154efbd2ef1d2cbba2cae5347d57e"],["7962414450c76c1689c7b48f8202ec37fb224cf5ac0bfa1570328a8a3d7c77ab","100b610ec4ffb4760d5c1fc133ef6f6b12507a051f04ac5760afa5b29db83437"],["3514087834964b54b15b160644d915485a16977225b8847bb0dd085137ec47ca","ef0afbb2056205448e1652c48e8127fc6039e77c15c2378b7e7d15a0de293311"],["d3cc30ad6b483e4bc79ce2c9dd8bc54993e947eb8df787b442943d3f7b527eaf","8b378a22d827278d89c5e9be8f9508ae3c2ad46290358630afb34db04eede0a4"],["1624d84780732860ce1c78fcbfefe08b2b29823db913f6493975ba0ff4847610","68651cf9b6da903e0914448c6cd9d4ca896878f5282be4c8cc06e2a404078575"],["733ce80da955a8a26902c95633e62a985192474b5af207da6df7b4fd5fc61cd4","f5435a2bd2badf7d485a4d8b8db9fcce3e1ef8e0201e4578c54673bc1dc5ea1d"],["15d9441254945064cf1a1c33bbd3b49f8966c5092171e699ef258dfab81c045c","d56eb30b69463e7234f5137b73b84177434800bacebfc685fc37bbe9efe4070d"],["a1d0fcf2ec9de675b612136e5ce70d271c21417c9d2b8aaaac138599d0717940","edd77f50bcb5a3cab2e90737309667f2641462a54070f3d519212d39c197a629"],["e22fbe15c0af8ccc5780c0735f84dbe9a790badee8245c06c7ca37331cb36980","a855babad5cd60c88b430a69f53a1a7a38289154964799be43d06d77d31da06"],["311091dd9860e8e20ee13473c1155f5f69635e394704eaa74009452246cfa9b3","66db656f87d1f04fffd1f04788c06830871ec5a64feee685bd80f0b1286d8374"],["34c1fd04d301be89b31c0442d3e6ac24883928b45a9340781867d4232ec2dbdf","9414685e97b1b5954bd46f730174136d57f1ceeb487443dc5321857ba73abee"],["f219ea5d6b54701c1c14de5b557eb42a8d13f3abbcd08affcc2a5e6b049b8d63","4cb95957e83d40b0f73af4544cccf6b1f4b08d3c07b27fb8d8c2962a400766d1"],["d7b8740f74a8fbaab1f683db8f45de26543a5490bca627087236912469a0b448","fa77968128d9c92ee1010f337ad4717eff15db5ed3c049b3411e0315eaa4593b"],["32d31c222f8f6f0ef86f7c98d3a3335ead5bcd32abdd94289fe4d3091aa824bf","5f3032f5892156e39ccd3d7915b9e1da2e6dac9e6f26e961118d14b8462e1661"],["7461f371914ab32671045a155d9831ea8793d77cd59592c4340f86cbc18347b5","8ec0ba238b96bec0cbdddcae0aa442542eee1ff50c986ea6b39847b3cc092ff6"],["ee079adb1df1860074356a25aa38206a6d716b2c3e67453d287698bad7b2b2d6","8dc2412aafe3be5c4c5f37e0ecc5f9f6a446989af04c4e25ebaac479ec1c8c1e"],["16ec93e447ec83f0467b18302ee620f7e65de331874c9dc72bfd8616ba9da6b5","5e4631150e62fb40d0e8c2a7ca5804a39d58186a50e497139626778e25b0674d"],["eaa5f980c245f6f038978290afa70b6bd8855897f98b6aa485b96065d537bd99","f65f5d3e292c2e0819a528391c994624d784869d7e6ea67fb18041024edc07dc"],["78c9407544ac132692ee1910a02439958ae04877151342ea96c4b6b35a49f51","f3e0319169eb9b85d5404795539a5e68fa1fbd583c064d2462b675f194a3ddb4"],["494f4be219a1a77016dcd838431aea0001cdc8ae7a6fc688726578d9702857a5","42242a969283a5f339ba7f075e36ba2af925ce30d767ed6e55f4b031880d562c"],["a598a8030da6d86c6bc7f2f5144ea549d28211ea58faa70ebf4c1e665c1fe9b5","204b5d6f84822c307e4b4a7140737aec23fc63b65b35f86a10026dbd2d864e6b"],["c41916365abb2b5d09192f5f2dbeafec208f020f12570a184dbadc3e58595997","4f14351d0087efa49d245b328984989d5caf9450f34bfc0ed16e96b58fa9913"],["841d6063a586fa475a724604da03bc5b92a2e0d2e0a36acfe4c73a5514742881","73867f59c0659e81904f9a1c7543698e62562d6744c169ce7a36de01a8d6154"],["5e95bb399a6971d376026947f89bde2f282b33810928be4ded112ac4d70e20d5","39f23f366809085beebfc71181313775a99c9aed7d8ba38b161384c746012865"],["36e4641a53948fd476c39f8a99fd974e5ec07564b5315d8bf99471bca0ef2f66","d2424b1b1abe4eb8164227b085c9aa9456ea13493fd563e06fd51cf5694c78fc"],["336581ea7bfbbb290c191a2f507a41cf5643842170e914faeab27c2c579f726","ead12168595fe1be99252129b6e56b3391f7ab1410cd1e0ef3dcdcabd2fda224"],["8ab89816dadfd6b6a1f2634fcf00ec8403781025ed6890c4849742706bd43ede","6fdcef09f2f6d0a044e654aef624136f503d459c3e89845858a47a9129cdd24e"],["1e33f1a746c9c5778133344d9299fcaa20b0938e8acff2544bb40284b8c5fb94","60660257dd11b3aa9c8ed618d24edff2306d320f1d03010e33a7d2057f3b3b6"],["85b7c1dcb3cec1b7ee7f30ded79dd20a0ed1f4cc18cbcfcfa410361fd8f08f31","3d98a9cdd026dd43f39048f25a8847f4fcafad1895d7a633c6fed3c35e999511"],["29df9fbd8d9e46509275f4b125d6d45d7fbe9a3b878a7af872a2800661ac5f51","b4c4fe99c775a606e2d8862179139ffda61dc861c019e55cd2876eb2a27d84b"],["a0b1cae06b0a847a3fea6e671aaf8adfdfe58ca2f768105c8082b2e449fce252","ae434102edde0958ec4b19d917a6a28e6b72da1834aff0e650f049503a296cf2"],["4e8ceafb9b3e9a136dc7ff67e840295b499dfb3b2133e4ba113f2e4c0e121e5","cf2174118c8b6d7a4b48f6d534ce5c79422c086a63460502b827ce62a326683c"],["d24a44e047e19b6f5afb81c7ca2f69080a5076689a010919f42725c2b789a33b","6fb8d5591b466f8fc63db50f1c0f1c69013f996887b8244d2cdec417afea8fa3"],["ea01606a7a6c9cdd249fdfcfacb99584001edd28abbab77b5104e98e8e3b35d4","322af4908c7312b0cfbfe369f7a7b3cdb7d4494bc2823700cfd652188a3ea98d"],["af8addbf2b661c8a6c6328655eb96651252007d8c5ea31be4ad196de8ce2131f","6749e67c029b85f52a034eafd096836b2520818680e26ac8f3dfbcdb71749700"],["e3ae1974566ca06cc516d47e0fb165a674a3dabcfca15e722f0e3450f45889","2aeabe7e4531510116217f07bf4d07300de97e4874f81f533420a72eeb0bd6a4"],["591ee355313d99721cf6993ffed1e3e301993ff3ed258802075ea8ced397e246","b0ea558a113c30bea60fc4775460c7901ff0b053d25ca2bdeee98f1a4be5d196"],["11396d55fda54c49f19aa97318d8da61fa8584e47b084945077cf03255b52984","998c74a8cd45ac01289d5833a7beb4744ff536b01b257be4c5767bea93ea57a4"],["3c5d2a1ba39c5a1790000738c9e0c40b8dcdfd5468754b6405540157e017aa7a","b2284279995a34e2f9d4de7396fc18b80f9b8b9fdd270f6661f79ca4c81bd257"],["cc8704b8a60a0defa3a99a7299f2e9c3fbc395afb04ac078425ef8a1793cc030","bdd46039feed17881d1e0862db347f8cf395b74fc4bcdc4e940b74e3ac1f1b13"],["c533e4f7ea8555aacd9777ac5cad29b97dd4defccc53ee7ea204119b2889b197","6f0a256bc5efdf429a2fb6242f1a43a2d9b925bb4a4b3a26bb8e0f45eb596096"],["c14f8f2ccb27d6f109f6d08d03cc96a69ba8c34eec07bbcf566d48e33da6593","c359d6923bb398f7fd4473e16fe1c28475b740dd098075e6c0e8649113dc3a38"],["a6cbc3046bc6a450bac24789fa17115a4c9739ed75f8f21ce441f72e0b90e6ef","21ae7f4680e889bb130619e2c0f95a360ceb573c70603139862afd617fa9b9f"],["347d6d9a02c48927ebfb86c1359b1caf130a3c0267d11ce6344b39f99d43cc38","60ea7f61a353524d1c987f6ecec92f086d565ab687870cb12689ff1e31c74448"],["da6545d2181db8d983f7dcb375ef5866d47c67b1bf31c8cf855ef7437b72656a","49b96715ab6878a79e78f07ce5680c5d6673051b4935bd897fea824b77dc208a"],["c40747cc9d012cb1a13b8148309c6de7ec25d6945d657146b9d5994b8feb1111","5ca560753be2a12fc6de6caf2cb489565db936156b9514e1bb5e83037e0fa2d4"],["4e42c8ec82c99798ccf3a610be870e78338c7f713348bd34c8203ef4037f3502","7571d74ee5e0fb92a7a8b33a07783341a5492144cc54bcc40a94473693606437"],["3775ab7089bc6af823aba2e1af70b236d251cadb0c86743287522a1b3b0dedea","be52d107bcfa09d8bcb9736a828cfa7fac8db17bf7a76a2c42ad961409018cf7"],["cee31cbf7e34ec379d94fb814d3d775ad954595d1314ba8846959e3e82f74e26","8fd64a14c06b589c26b947ae2bcf6bfa0149ef0be14ed4d80f448a01c43b1c6d"],["b4f9eaea09b6917619f6ea6a4eb5464efddb58fd45b1ebefcdc1a01d08b47986","39e5c9925b5a54b07433a4f18c61726f8bb131c012ca542eb24a8ac07200682a"],["d4263dfc3d2df923a0179a48966d30ce84e2515afc3dccc1b77907792ebcc60e","62dfaf07a0f78feb30e30d6295853ce189e127760ad6cf7fae164e122a208d54"],["48457524820fa65a4f8d35eb6930857c0032acc0a4a2de422233eeda897612c4","25a748ab367979d98733c38a1fa1c2e7dc6cc07db2d60a9ae7a76aaa49bd0f77"],["dfeeef1881101f2cb11644f3a2afdfc2045e19919152923f367a1767c11cceda","ecfb7056cf1de042f9420bab396793c0c390bde74b4bbdff16a83ae09a9a7517"],["6d7ef6b17543f8373c573f44e1f389835d89bcbc6062ced36c82df83b8fae859","cd450ec335438986dfefa10c57fea9bcc521a0959b2d80bbf74b190dca712d10"],["e75605d59102a5a2684500d3b991f2e3f3c88b93225547035af25af66e04541f","f5c54754a8f71ee540b9b48728473e314f729ac5308b06938360990e2bfad125"],["eb98660f4c4dfaa06a2be453d5020bc99a0c2e60abe388457dd43fefb1ed620c","6cb9a8876d9cb8520609af3add26cd20a0a7cd8a9411131ce85f44100099223e"],["13e87b027d8514d35939f2e6892b19922154596941888336dc3563e3b8dba942","fef5a3c68059a6dec5d624114bf1e91aac2b9da568d6abeb2570d55646b8adf1"],["ee163026e9fd6fe017c38f06a5be6fc125424b371ce2708e7bf4491691e5764a","1acb250f255dd61c43d94ccc670d0f58f49ae3fa15b96623e5430da0ad6c62b2"],["b268f5ef9ad51e4d78de3a750c2dc89b1e626d43505867999932e5db33af3d80","5f310d4b3c99b9ebb19f77d41c1dee018cf0d34fd4191614003e945a1216e423"],["ff07f3118a9df035e9fad85eb6c7bfe42b02f01ca99ceea3bf7ffdba93c4750d","438136d603e858a3a5c440c38eccbaddc1d2942114e2eddd4740d098ced1f0d8"],["8d8b9855c7c052a34146fd20ffb658bea4b9f69e0d825ebec16e8c3ce2b526a1","cdb559eedc2d79f926baf44fb84ea4d44bcf50fee51d7ceb30e2e7f463036758"],["52db0b5384dfbf05bfa9d472d7ae26dfe4b851ceca91b1eba54263180da32b63","c3b997d050ee5d423ebaf66a6db9f57b3180c902875679de924b69d84a7b375"],["e62f9490d3d51da6395efd24e80919cc7d0f29c3f3fa48c6fff543becbd43352","6d89ad7ba4876b0b22c2ca280c682862f342c8591f1daf5170e07bfd9ccafa7d"],["7f30ea2476b399b4957509c88f77d0191afa2ff5cb7b14fd6d8e7d65aaab1193","ca5ef7d4b231c94c3b15389a5f6311e9daff7bb67b103e9880ef4bff637acaec"],["5098ff1e1d9f14fb46a210fada6c903fef0fb7b4a1dd1d9ac60a0361800b7a00","9731141d81fc8f8084d37c6e7542006b3ee1b40d60dfe5362a5b132fd17ddc0"],["32b78c7de9ee512a72895be6b9cbefa6e2f3c4ccce445c96b9f2c81e2778ad58","ee1849f513df71e32efc3896ee28260c73bb80547ae2275ba497237794c8753c"],["e2cb74fddc8e9fbcd076eef2a7c72b0ce37d50f08269dfc074b581550547a4f7","d3aa2ed71c9dd2247a62df062736eb0baddea9e36122d2be8641abcb005cc4a4"],["8438447566d4d7bedadc299496ab357426009a35f235cb141be0d99cd10ae3a8","c4e1020916980a4da5d01ac5e6ad330734ef0d7906631c4f2390426b2edd791f"],["4162d488b89402039b584c6fc6c308870587d9c46f660b878ab65c82c711d67e","67163e903236289f776f22c25fb8a3afc1732f2b84b4e95dbda47ae5a0852649"],["3fad3fa84caf0f34f0f89bfd2dcf54fc175d767aec3e50684f3ba4a4bf5f683d","cd1bc7cb6cc407bb2f0ca647c718a730cf71872e7d0d2a53fa20efcdfe61826"],["674f2600a3007a00568c1a7ce05d0816c1fb84bf1370798f1c69532faeb1a86b","299d21f9413f33b3edf43b257004580b70db57da0b182259e09eecc69e0d38a5"],["d32f4da54ade74abb81b815ad1fb3b263d82d6c692714bcff87d29bd5ee9f08f","f9429e738b8e53b968e99016c059707782e14f4535359d582fc416910b3eea87"],["30e4e670435385556e593657135845d36fbb6931f72b08cb1ed954f1e3ce3ff6","462f9bce619898638499350113bbc9b10a878d35da70740dc695a559eb88db7b"],["be2062003c51cc3004682904330e4dee7f3dcd10b01e580bf1971b04d4cad297","62188bc49d61e5428573d48a74e1c655b1c61090905682a0d5558ed72dccb9bc"],["93144423ace3451ed29e0fb9ac2af211cb6e84a601df5993c419859fff5df04a","7c10dfb164c3425f5c71a3f9d7992038f1065224f72bb9d1d902a6d13037b47c"],["b015f8044f5fcbdcf21ca26d6c34fb8197829205c7b7d2a7cb66418c157b112c","ab8c1e086d04e813744a655b2df8d5f83b3cdc6faa3088c1d3aea1454e3a1d5f"],["d5e9e1da649d97d89e4868117a465a3a4f8a18de57a140d36b3f2af341a21b52","4cb04437f391ed73111a13cc1d4dd0db1693465c2240480d8955e8592f27447a"],["d3ae41047dd7ca065dbf8ed77b992439983005cd72e16d6f996a5316d36966bb","bd1aeb21ad22ebb22a10f0303417c6d964f8cdd7df0aca614b10dc14d125ac46"],["463e2763d885f958fc66cdd22800f0a487197d0a82e377b49f80af87c897b065","bfefacdb0e5d0fd7df3a311a94de062b26b80c61fbc97508b79992671ef7ca7f"],["7985fdfd127c0567c6f53ec1bb63ec3158e597c40bfe747c83cddfc910641917","603c12daf3d9862ef2b25fe1de289aed24ed291e0ec6708703a5bd567f32ed03"],["74a1ad6b5f76e39db2dd249410eac7f99e74c59cb83d2d0ed5ff1543da7703e9","cc6157ef18c9c63cd6193d83631bbea0093e0968942e8c33d5737fd790e0db08"],["30682a50703375f602d416664ba19b7fc9bab42c72747463a71d0896b22f6da3","553e04f6b018b4fa6c8f39e7f311d3176290d0e0f19ca73f17714d9977a22ff8"],["9e2158f0d7c0d5f26c3791efefa79597654e7a2b2464f52b1ee6c1347769ef57","712fcdd1b9053f09003a3481fa7762e9ffd7c8ef35a38509e2fbf2629008373"],["176e26989a43c9cfeba4029c202538c28172e566e3c4fce7322857f3be327d66","ed8cc9d04b29eb877d270b4878dc43c19aefd31f4eee09ee7b47834c1fa4b1c3"],["75d46efea3771e6e68abb89a13ad747ecf1892393dfc4f1b7004788c50374da8","9852390a99507679fd0b86fd2b39a868d7efc22151346e1a3ca4726586a6bed8"],["809a20c67d64900ffb698c4c825f6d5f2310fb0451c869345b7319f645605721","9e994980d9917e22b76b061927fa04143d096ccc54963e6a5ebfa5f3f8e286c1"],["1b38903a43f7f114ed4500b4eac7083fdefece1cf29c63528d563446f972c180","4036edc931a60ae889353f77fd53de4a2708b26b6f5da72ad3394119daf408f9"]]}}),secp256k1}var hasRequiredCurves;function requireCurves(){return hasRequiredCurves||(hasRequiredCurves=1,function(v){var m=v,x=requireHash(),c=requireCurve(),y=requireUtils$1(),r=y.assert;function d(t){t.type==="short"?this.curve=new c.short(t):t.type==="edwards"?this.curve=new c.edwards(t):this.curve=new c.mont(t),this.g=this.curve.g,this.n=this.curve.n,this.hash=t.hash,r(this.g.validate(),"Invalid curve"),r(this.g.mul(this.n).isInfinity(),"Invalid curve, G*N != O")}m.PresetCurve=d;function n(t,e){Object.defineProperty(m,t,{configurable:!0,enumerable:!0,get:function(){var a=new d(e);return Object.defineProperty(m,t,{configurable:!0,enumerable:!0,value:a}),a}})}n("p192",{type:"short",prime:"p192",p:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff",a:"ffffffff ffffffff ffffffff fffffffe ffffffff fffffffc",b:"64210519 e59c80e7 0fa7e9ab 72243049 feb8deec c146b9b1",n:"ffffffff ffffffff ffffffff 99def836 146bc9b1 b4d22831",hash:x.sha256,gRed:!1,g:["188da80e b03090f6 7cbf20eb 43a18800 f4ff0afd 82ff1012","07192b95 ffc8da78 631011ed 6b24cdd5 73f977a1 1e794811"]}),n("p224",{type:"short",prime:"p224",p:"ffffffff ffffffff ffffffff ffffffff 00000000 00000000 00000001",a:"ffffffff ffffffff ffffffff fffffffe ffffffff ffffffff fffffffe",b:"b4050a85 0c04b3ab f5413256 5044b0b7 d7bfd8ba 270b3943 2355ffb4",n:"ffffffff ffffffff ffffffff ffff16a2 e0b8f03e 13dd2945 5c5c2a3d",hash:x.sha256,gRed:!1,g:["b70e0cbd 6bb4bf7f 321390b9 4a03c1d3 56c21122 343280d6 115c1d21","bd376388 b5f723fb 4c22dfe6 cd4375a0 5a074764 44d58199 85007e34"]}),n("p256",{type:"short",prime:null,p:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff ffffffff",a:"ffffffff 00000001 00000000 00000000 00000000 ffffffff ffffffff fffffffc",b:"5ac635d8 aa3a93e7 b3ebbd55 769886bc 651d06b0 cc53b0f6 3bce3c3e 27d2604b",n:"ffffffff 00000000 ffffffff ffffffff bce6faad a7179e84 f3b9cac2 fc632551",hash:x.sha256,gRed:!1,g:["6b17d1f2 e12c4247 f8bce6e5 63a440f2 77037d81 2deb33a0 f4a13945 d898c296","4fe342e2 fe1a7f9b 8ee7eb4a 7c0f9e16 2bce3357 6b315ece cbb64068 37bf51f5"]}),n("p384",{type:"short",prime:null,p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 ffffffff",a:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe ffffffff 00000000 00000000 fffffffc",b:"b3312fa7 e23ee7e4 988e056b e3f82d19 181d9c6e fe814112 0314088f 5013875a c656398d 8a2ed19d 2a85c8ed d3ec2aef",n:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff c7634d81 f4372ddf 581a0db2 48b0a77a ecec196a ccc52973",hash:x.sha384,gRed:!1,g:["aa87ca22 be8b0537 8eb1c71e f320ad74 6e1d3b62 8ba79b98 59f741e0 82542a38 5502f25d bf55296c 3a545e38 72760ab7","3617de4a 96262c6f 5d9e98bf 9292dc29 f8f41dbd 289a147c e9da3113 b5f0b8c0 0a60b1ce 1d7e819d 7a431d7c 90ea0e5f"]}),n("p521",{type:"short",prime:null,p:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff",a:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffc",b:"00000051 953eb961 8e1c9a1f 929a21a0 b68540ee a2da725b 99b315f3 b8b48991 8ef109e1 56193951 ec7e937b 1652c0bd 3bb1bf07 3573df88 3d2c34f1 ef451fd4 6b503f00",n:"000001ff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffa 51868783 bf2f966b 7fcc0148 f709a5d0 3bb5c9b8 899c47ae bb6fb71e 91386409",hash:x.sha512,gRed:!1,g:["000000c6 858e06b7 0404e9cd 9e3ecb66 2395b442 9c648139 053fb521 f828af60 6b4d3dba a14b5e77 efe75928 fe1dc127 a2ffa8de 3348b3c1 856a429b f97e7e31 c2e5bd66","00000118 39296a78 9a3bc004 5c8a5fb4 2c7d1bd9 98f54449 579b4468 17afbd17 273e662c 97ee7299 5ef42640 c550b901 3fad0761 353c7086 a272c240 88be9476 9fd16650"]}),n("curve25519",{type:"mont",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"76d06",b:"1",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:x.sha256,gRed:!1,g:["9"]}),n("ed25519",{type:"edwards",prime:"p25519",p:"7fffffffffffffff ffffffffffffffff ffffffffffffffff ffffffffffffffed",a:"-1",c:"1",d:"52036cee2b6ffe73 8cc740797779e898 00700a4d4141d8ab 75eb4dca135978a3",n:"1000000000000000 0000000000000000 14def9dea2f79cd6 5812631a5cf5d3ed",hash:x.sha256,gRed:!1,g:["216936d3cd6e53fec0a4e231fdd6dc5c692cc7609525a7b2c9562d608f25d51a","6666666666666666666666666666666666666666666666666666666666666658"]});var i;try{i=requireSecp256k1()}catch{i=void 0}n("secp256k1",{type:"short",prime:"k256",p:"ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff fffffffe fffffc2f",a:"0",b:"7",n:"ffffffff ffffffff ffffffff fffffffe baaedce6 af48a03b bfd25e8c d0364141",h:"1",hash:x.sha256,beta:"7ae96a2b657c07106e64479eac3434e99cf0497512f58995c1396c28719501ee",lambda:"5363ad4cc05c30e0a5261c028812645a122e22ea20816678df02967c1b23bd72",basis:[{a:"3086d221a7d46bcde86c90e49284eb15",b:"-e4437ed6010e88286f547fa90abfe4c3"},{a:"114ca50f7a8e2f3f657c1108d9d44cfd8",b:"3086d221a7d46bcde86c90e49284eb15"}],gRed:!1,g:["79be667ef9dcbbac55a06295ce870b07029bfcdb2dce28d959f2815b16f81798","483ada7726a3c4655da4fbfc0e1108a8fd17b448a68554199c47d08ffb10d4b8",i]})}(curves)),curves}var hmacDrbg,hasRequiredHmacDrbg;function requireHmacDrbg(){if(hasRequiredHmacDrbg)return hmacDrbg;hasRequiredHmacDrbg=1;var v=requireHash(),m=requireUtils$2(),x=requireMinimalisticAssert();function c(y){if(!(this instanceof c))return new c(y);this.hash=y.hash,this.predResist=!!y.predResist,this.outLen=this.hash.outSize,this.minEntropy=y.minEntropy||this.hash.hmacStrength,this._reseed=null,this.reseedInterval=null,this.K=null,this.V=null;var r=m.toArray(y.entropy,y.entropyEnc||"hex"),d=m.toArray(y.nonce,y.nonceEnc||"hex"),n=m.toArray(y.pers,y.persEnc||"hex");x(r.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._init(r,d,n)}return hmacDrbg=c,c.prototype._init=function(r,d,n){var i=r.concat(d).concat(n);this.K=new Array(this.outLen/8),this.V=new Array(this.outLen/8);for(var t=0;t<this.V.length;t++)this.K[t]=0,this.V[t]=1;this._update(i),this._reseed=1,this.reseedInterval=281474976710656},c.prototype._hmac=function(){return new v.hmac(this.hash,this.K)},c.prototype._update=function(r){var d=this._hmac().update(this.V).update([0]);r&&(d=d.update(r)),this.K=d.digest(),this.V=this._hmac().update(this.V).digest(),r&&(this.K=this._hmac().update(this.V).update([1]).update(r).digest(),this.V=this._hmac().update(this.V).digest())},c.prototype.reseed=function(r,d,n,i){typeof d!="string"&&(i=n,n=d,d=null),r=m.toArray(r,d),n=m.toArray(n,i),x(r.length>=this.minEntropy/8,"Not enough entropy. Minimum is: "+this.minEntropy+" bits"),this._update(r.concat(n||[])),this._reseed=1},c.prototype.generate=function(r,d,n,i){if(this._reseed>this.reseedInterval)throw new Error("Reseed is required");typeof d!="string"&&(i=n,n=d,d=null),n&&(n=m.toArray(n,i||"hex"),this._update(n));for(var t=[];t.length<r;)this.V=this._hmac().update(this.V).digest(),t=t.concat(this.V);var e=t.slice(0,r);return this._update(n),this._reseed++,m.encode(e,d)},hmacDrbg}var key$1,hasRequiredKey$1;function requireKey$1(){if(hasRequiredKey$1)return key$1;hasRequiredKey$1=1;var v=requireBn$1(),m=requireUtils$1(),x=m.assert;function c(y,r){this.ec=y,this.priv=null,this.pub=null,r.priv&&this._importPrivate(r.priv,r.privEnc),r.pub&&this._importPublic(r.pub,r.pubEnc)}return key$1=c,c.fromPublic=function(r,d,n){return d instanceof c?d:new c(r,{pub:d,pubEnc:n})},c.fromPrivate=function(r,d,n){return d instanceof c?d:new c(r,{priv:d,privEnc:n})},c.prototype.validate=function(){var r=this.getPublic();return r.isInfinity()?{result:!1,reason:"Invalid public key"}:r.validate()?r.mul(this.ec.curve.n).isInfinity()?{result:!0,reason:null}:{result:!1,reason:"Public key * N != O"}:{result:!1,reason:"Public key is not a point"}},c.prototype.getPublic=function(r,d){return typeof r=="string"&&(d=r,r=null),this.pub||(this.pub=this.ec.g.mul(this.priv)),d?this.pub.encode(d,r):this.pub},c.prototype.getPrivate=function(r){return r==="hex"?this.priv.toString(16,2):this.priv},c.prototype._importPrivate=function(r,d){this.priv=new v(r,d||16),this.priv=this.priv.umod(this.ec.curve.n)},c.prototype._importPublic=function(r,d){if(r.x||r.y){this.ec.curve.type==="mont"?x(r.x,"Need x coordinate"):(this.ec.curve.type==="short"||this.ec.curve.type==="edwards")&&x(r.x&&r.y,"Need both x and y coordinate"),this.pub=this.ec.curve.point(r.x,r.y);return}this.pub=this.ec.curve.decodePoint(r,d)},c.prototype.derive=function(r){return r.validate()||x(r.validate(),"public point not validated"),r.mul(this.priv).getX()},c.prototype.sign=function(r,d,n){return this.ec.sign(r,this,d,n)},c.prototype.verify=function(r,d,n){return this.ec.verify(r,d,this,void 0,n)},c.prototype.inspect=function(){return"<Key priv: "+(this.priv&&this.priv.toString(16,2))+" pub: "+(this.pub&&this.pub.inspect())+" >"},key$1}var signature$1,hasRequiredSignature$1;function requireSignature$1(){if(hasRequiredSignature$1)return signature$1;hasRequiredSignature$1=1;var v=requireBn$1(),m=requireUtils$1(),x=m.assert;function c(i,t){if(i instanceof c)return i;this._importDER(i,t)||(x(i.r&&i.s,"Signature without r or s"),this.r=new v(i.r,16),this.s=new v(i.s,16),i.recoveryParam===void 0?this.recoveryParam=null:this.recoveryParam=i.recoveryParam)}signature$1=c;function y(){this.place=0}function r(i,t){var e=i[t.place++];if(!(e&128))return e;var a=e&15;if(a===0||a>4||i[t.place]===0)return!1;for(var f=0,s=0,h=t.place;s<a;s++,h++)f<<=8,f|=i[h],f>>>=0;return f<=127?!1:(t.place=h,f)}function d(i){for(var t=0,e=i.length-1;!i[t]&&!(i[t+1]&128)&&t<e;)t++;return t===0?i:i.slice(t)}c.prototype._importDER=function(t,e){t=m.toArray(t,e);var a=new y;if(t[a.place++]!==48)return!1;var f=r(t,a);if(f===!1||f+a.place!==t.length||t[a.place++]!==2)return!1;var s=r(t,a);if(s===!1||(t[a.place]&128)!==0)return!1;var h=t.slice(a.place,s+a.place);if(a.place+=s,t[a.place++]!==2)return!1;var l=r(t,a);if(l===!1||t.length!==l+a.place||(t[a.place]&128)!==0)return!1;var g=t.slice(a.place,l+a.place);if(h[0]===0)if(h[1]&128)h=h.slice(1);else return!1;if(g[0]===0)if(g[1]&128)g=g.slice(1);else return!1;return this.r=new v(h),this.s=new v(g),this.recoveryParam=null,!0};function n(i,t){if(t<128){i.push(t);return}var e=1+(Math.log(t)/Math.LN2>>>3);for(i.push(e|128);--e;)i.push(t>>>(e<<3)&255);i.push(t)}return c.prototype.toDER=function(t){var e=this.r.toArray(),a=this.s.toArray();for(e[0]&128&&(e=[0].concat(e)),a[0]&128&&(a=[0].concat(a)),e=d(e),a=d(a);!a[0]&&!(a[1]&128);)a=a.slice(1);var f=[2];n(f,e.length),f=f.concat(e),f.push(2),n(f,a.length);var s=f.concat(a),h=[48];return n(h,s.length),h=h.concat(s),m.encode(h,t)},signature$1}var ec,hasRequiredEc;function requireEc(){if(hasRequiredEc)return ec;hasRequiredEc=1;var v=requireBn$1(),m=requireHmacDrbg(),x=requireUtils$1(),c=requireCurves(),y=requireBrorand(),r=x.assert,d=requireKey$1(),n=requireSignature$1();function i(t){if(!(this instanceof i))return new i(t);typeof t=="string"&&(r(Object.prototype.hasOwnProperty.call(c,t),"Unknown curve "+t),t=c[t]),t instanceof c.PresetCurve&&(t={curve:t}),this.curve=t.curve.curve,this.n=this.curve.n,this.nh=this.n.ushrn(1),this.g=this.curve.g,this.g=t.curve.g,this.g.precompute(t.curve.n.bitLength()+1),this.hash=t.hash||t.curve.hash}return ec=i,i.prototype.keyPair=function(e){return new d(this,e)},i.prototype.keyFromPrivate=function(e,a){return d.fromPrivate(this,e,a)},i.prototype.keyFromPublic=function(e,a){return d.fromPublic(this,e,a)},i.prototype.genKeyPair=function(e){e||(e={});for(var a=new m({hash:this.hash,pers:e.pers,persEnc:e.persEnc||"utf8",entropy:e.entropy||y(this.hash.hmacStrength),entropyEnc:e.entropy&&e.entropyEnc||"utf8",nonce:this.n.toArray()}),f=this.n.byteLength(),s=this.n.sub(new v(2));;){var h=new v(a.generate(f));if(!(h.cmp(s)>0))return h.iaddn(1),this.keyFromPrivate(h)}},i.prototype._truncateToN=function(e,a,f){var s;if(v.isBN(e)||typeof e=="number")e=new v(e,16),s=e.byteLength();else if(typeof e=="object")s=e.length,e=new v(e,16);else{var h=e.toString();s=h.length+1>>>1,e=new v(h,16)}typeof f!="number"&&(f=s*8);var l=f-this.n.bitLength();return l>0&&(e=e.ushrn(l)),!a&&e.cmp(this.n)>=0?e.sub(this.n):e},i.prototype.sign=function(e,a,f,s){if(typeof f=="object"&&(s=f,f=null),s||(s={}),typeof e!="string"&&typeof e!="number"&&!v.isBN(e)){r(typeof e=="object"&&e&&typeof e.length=="number","Expected message to be an array-like, a hex string, or a BN instance"),r(e.length>>>0===e.length);for(var h=0;h<e.length;h++)r((e[h]&255)===e[h])}a=this.keyFromPrivate(a,f),e=this._truncateToN(e,!1,s.msgBitLength),r(!e.isNeg(),"Can not sign a negative message");var l=this.n.byteLength(),g=a.getPrivate().toArray("be",l),w=e.toArray("be",l);r(new v(w).eq(e),"Can not sign message");for(var _=new m({hash:this.hash,entropy:g,nonce:w,pers:s.pers,persEnc:s.persEnc||"utf8"}),S=this.n.sub(new v(1)),C=0;;C++){var P=s.k?s.k(C):new v(_.generate(this.n.byteLength()));if(P=this._truncateToN(P,!0),!(P.cmpn(1)<=0||P.cmp(S)>=0)){var T=this.g.mul(P);if(!T.isInfinity()){var U=T.getX(),z=U.umod(this.n);if(z.cmpn(0)!==0){var V=P.invm(this.n).mul(z.mul(a.getPrivate()).iadd(e));if(V=V.umod(this.n),V.cmpn(0)!==0){var G=(T.getY().isOdd()?1:0)|(U.cmp(z)!==0?2:0);return s.canonical&&V.cmp(this.nh)>0&&(V=this.n.sub(V),G^=1),new n({r:z,s:V,recoveryParam:G})}}}}}},i.prototype.verify=function(e,a,f,s,h){h||(h={}),e=this._truncateToN(e,!1,h.msgBitLength),f=this.keyFromPublic(f,s),a=new n(a,"hex");var l=a.r,g=a.s;if(l.cmpn(1)<0||l.cmp(this.n)>=0||g.cmpn(1)<0||g.cmp(this.n)>=0)return!1;var w=g.invm(this.n),_=w.mul(e).umod(this.n),S=w.mul(l).umod(this.n),C;return this.curve._maxwellTrick?(C=this.g.jmulAdd(_,f.getPublic(),S),C.isInfinity()?!1:C.eqXToP(l)):(C=this.g.mulAdd(_,f.getPublic(),S),C.isInfinity()?!1:C.getX().umod(this.n).cmp(l)===0)},i.prototype.recoverPubKey=function(t,e,a,f){r((3&a)===a,"The recovery param is more than two bits"),e=new n(e,f);var s=this.n,h=new v(t),l=e.r,g=e.s,w=a&1,_=a>>1;if(l.cmp(this.curve.p.umod(this.curve.n))>=0&&_)throw new Error("Unable to find sencond key candinate");_?l=this.curve.pointFromX(l.add(this.curve.n),w):l=this.curve.pointFromX(l,w);var S=e.r.invm(s),C=s.sub(h).mul(S).umod(s),P=g.mul(S).umod(s);return this.g.mulAdd(C,l,P)},i.prototype.getKeyRecoveryParam=function(t,e,a,f){if(e=new n(e,f),e.recoveryParam!==null)return e.recoveryParam;for(var s=0;s<4;s++){var h;try{h=this.recoverPubKey(t,e,s)}catch{continue}if(h.eq(a))return s}throw new Error("Unable to find valid recovery factor")},ec}var key,hasRequiredKey;function requireKey(){if(hasRequiredKey)return key;hasRequiredKey=1;var v=requireUtils$1(),m=v.assert,x=v.parseBytes,c=v.cachedProperty;function y(r,d){this.eddsa=r,this._secret=x(d.secret),r.isPoint(d.pub)?this._pub=d.pub:this._pubBytes=x(d.pub)}return y.fromPublic=function(d,n){return n instanceof y?n:new y(d,{pub:n})},y.fromSecret=function(d,n){return n instanceof y?n:new y(d,{secret:n})},y.prototype.secret=function(){return this._secret},c(y,"pubBytes",function(){return this.eddsa.encodePoint(this.pub())}),c(y,"pub",function(){return this._pubBytes?this.eddsa.decodePoint(this._pubBytes):this.eddsa.g.mul(this.priv())}),c(y,"privBytes",function(){var d=this.eddsa,n=this.hash(),i=d.encodingLength-1,t=n.slice(0,d.encodingLength);return t[0]&=248,t[i]&=127,t[i]|=64,t}),c(y,"priv",function(){return this.eddsa.decodeInt(this.privBytes())}),c(y,"hash",function(){return this.eddsa.hash().update(this.secret()).digest()}),c(y,"messagePrefix",function(){return this.hash().slice(this.eddsa.encodingLength)}),y.prototype.sign=function(d){return m(this._secret,"KeyPair can only verify"),this.eddsa.sign(d,this)},y.prototype.verify=function(d,n){return this.eddsa.verify(d,n,this)},y.prototype.getSecret=function(d){return m(this._secret,"KeyPair is public only"),v.encode(this.secret(),d)},y.prototype.getPublic=function(d){return v.encode(this.pubBytes(),d)},key=y,key}var signature,hasRequiredSignature;function requireSignature(){if(hasRequiredSignature)return signature;hasRequiredSignature=1;var v=requireBn$1(),m=requireUtils$1(),x=m.assert,c=m.cachedProperty,y=m.parseBytes;function r(d,n){this.eddsa=d,typeof n!="object"&&(n=y(n)),Array.isArray(n)&&(x(n.length===d.encodingLength*2,"Signature has invalid size"),n={R:n.slice(0,d.encodingLength),S:n.slice(d.encodingLength)}),x(n.R&&n.S,"Signature without R or S"),d.isPoint(n.R)&&(this._R=n.R),n.S instanceof v&&(this._S=n.S),this._Rencoded=Array.isArray(n.R)?n.R:n.Rencoded,this._Sencoded=Array.isArray(n.S)?n.S:n.Sencoded}return c(r,"S",function(){return this.eddsa.decodeInt(this.Sencoded())}),c(r,"R",function(){return this.eddsa.decodePoint(this.Rencoded())}),c(r,"Rencoded",function(){return this.eddsa.encodePoint(this.R())}),c(r,"Sencoded",function(){return this.eddsa.encodeInt(this.S())}),r.prototype.toBytes=function(){return this.Rencoded().concat(this.Sencoded())},r.prototype.toHex=function(){return m.encode(this.toBytes(),"hex").toUpperCase()},signature=r,signature}var eddsa,hasRequiredEddsa;function requireEddsa(){if(hasRequiredEddsa)return eddsa;hasRequiredEddsa=1;var v=requireHash(),m=requireCurves(),x=requireUtils$1(),c=x.assert,y=x.parseBytes,r=requireKey(),d=requireSignature();function n(i){if(c(i==="ed25519","only tested with ed25519 so far"),!(this instanceof n))return new n(i);i=m[i].curve,this.curve=i,this.g=i.g,this.g.precompute(i.n.bitLength()+1),this.pointClass=i.point().constructor,this.encodingLength=Math.ceil(i.n.bitLength()/8),this.hash=v.sha512}return eddsa=n,n.prototype.sign=function(t,e){t=y(t);var a=this.keyFromSecret(e),f=this.hashInt(a.messagePrefix(),t),s=this.g.mul(f),h=this.encodePoint(s),l=this.hashInt(h,a.pubBytes(),t).mul(a.priv()),g=f.add(l).umod(this.curve.n);return this.makeSignature({R:s,S:g,Rencoded:h})},n.prototype.verify=function(t,e,a){if(t=y(t),e=this.makeSignature(e),e.S().gte(e.eddsa.curve.n)||e.S().isNeg())return!1;var f=this.keyFromPublic(a),s=this.hashInt(e.Rencoded(),f.pubBytes(),t),h=this.g.mul(e.S()),l=e.R().add(f.pub().mul(s));return l.eq(h)},n.prototype.hashInt=function(){for(var t=this.hash(),e=0;e<arguments.length;e++)t.update(arguments[e]);return x.intFromLE(t.digest()).umod(this.curve.n)},n.prototype.keyFromPublic=function(t){return r.fromPublic(this,t)},n.prototype.keyFromSecret=function(t){return r.fromSecret(this,t)},n.prototype.makeSignature=function(t){return t instanceof d?t:new d(this,t)},n.prototype.encodePoint=function(t){var e=t.getY().toArray("le",this.encodingLength);return e[this.encodingLength-1]|=t.getX().isOdd()?128:0,e},n.prototype.decodePoint=function(t){t=x.parseBytes(t);var e=t.length-1,a=t.slice(0,e).concat(t[e]&-129),f=(t[e]&128)!==0,s=x.intFromLE(a);return this.curve.pointFromY(s,f)},n.prototype.encodeInt=function(t){return t.toArray("le",this.encodingLength)},n.prototype.decodeInt=function(t){return x.intFromLE(t)},n.prototype.isPoint=function(t){return t instanceof this.pointClass},eddsa}var hasRequiredElliptic;function requireElliptic(){return hasRequiredElliptic||(hasRequiredElliptic=1,function(v){var m=v;m.version=require$$0.version,m.utils=requireUtils$1(),m.rand=requireBrorand(),m.curve=requireCurve(),m.curves=requireCurves(),m.ec=requireEc(),m.eddsa=requireEddsa()}(elliptic)),elliptic}var asn1$1={},asn1={},api={},vmBrowserify={},hasRequiredVmBrowserify;function requireVmBrowserify(){return hasRequiredVmBrowserify||(hasRequiredVmBrowserify=1,function(exports){var indexOf=function(v,m){if(v.indexOf)return v.indexOf(m);for(var x=0;x<v.length;x++)if(v[x]===m)return x;return-1},Object_keys=function(v){if(Object.keys)return Object.keys(v);var m=[];for(var x in v)m.push(x);return m},forEach=function(v,m){if(v.forEach)return v.forEach(m);for(var x=0;x<v.length;x++)m(v[x],x,v)},defineProp=function(){try{return Object.defineProperty({},"_",{}),function(v,m,x){Object.defineProperty(v,m,{writable:!0,enumerable:!1,configurable:!0,value:x})}}catch{return function(m,x,c){m[x]=c}}}(),globals=["Array","Boolean","Date","Error","EvalError","Function","Infinity","JSON","Math","NaN","Number","Object","RangeError","ReferenceError","RegExp","String","SyntaxError","TypeError","URIError","decodeURI","decodeURIComponent","encodeURI","encodeURIComponent","escape","eval","isFinite","isNaN","parseFloat","parseInt","undefined","unescape"];function Context(){}Context.prototype={};var Script=exports.Script=function(m){if(!(this instanceof Script))return new Script(m);this.code=m};Script.prototype.runInContext=function(v){if(!(v instanceof Context))throw new TypeError("needs a 'context' argument.");var m=document.createElement("iframe");m.style||(m.style={}),m.style.display="none",document.body.appendChild(m);var x=m.contentWindow,c=x.eval,y=x.execScript;!c&&y&&(y.call(x,"null"),c=x.eval),forEach(Object_keys(v),function(n){x[n]=v[n]}),forEach(globals,function(n){v[n]&&(x[n]=v[n])});var r=Object_keys(x),d=c.call(x,this.code);return forEach(Object_keys(x),function(n){(n in v||indexOf(r,n)===-1)&&(v[n]=x[n])}),forEach(globals,function(n){n in v||defineProp(v,n,x[n])}),document.body.removeChild(m),d},Script.prototype.runInThisContext=function(){return eval(this.code)},Script.prototype.runInNewContext=function(v){var m=Script.createContext(v),x=this.runInContext(m);return v&&forEach(Object_keys(m),function(c){v[c]=m[c]}),x},forEach(Object_keys(Script.prototype),function(v){exports[v]=Script[v]=function(m){var x=Script(m);return x[v].apply(x,[].slice.call(arguments,1))}}),exports.isContext=function(v){return v instanceof Context},exports.createScript=function(v){return exports.Script(v)},exports.createContext=Script.createContext=function(v){var m=new Context;return typeof v=="object"&&forEach(Object_keys(v),function(x){m[x]=v[x]}),m}}(vmBrowserify)),vmBrowserify}var hasRequiredApi;function requireApi(){return hasRequiredApi||(hasRequiredApi=1,function(v){var m=requireAsn1$1(),x=requireInherits_browser(),c=v;c.define=function(d,n){return new y(d,n)};function y(r,d){this.name=r,this.body=d,this.decoders={},this.encoders={}}y.prototype._createNamed=function(d){var n;try{n=requireVmBrowserify().runInThisContext("(function "+this.name+`(entity) {
|
|
17
|
+
this._initNamed(entity);
|
|
18
|
+
})`)}catch{n=function(t){this._initNamed(t)}}return x(n,d),n.prototype._initNamed=function(t){d.call(this,t)},new n(this)},y.prototype._getDecoder=function(d){return d=d||"der",this.decoders.hasOwnProperty(d)||(this.decoders[d]=this._createNamed(m.decoders[d])),this.decoders[d]},y.prototype.decode=function(d,n,i){return this._getDecoder(n).decode(d,i)},y.prototype._getEncoder=function(d){return d=d||"der",this.encoders.hasOwnProperty(d)||(this.encoders[d]=this._createNamed(m.encoders[d])),this.encoders[d]},y.prototype.encode=function(d,n,i){return this._getEncoder(n).encode(d,i)}}(api)),api}var base={},reporter={},hasRequiredReporter;function requireReporter(){if(hasRequiredReporter)return reporter;hasRequiredReporter=1;var v=requireInherits_browser();function m(c){this._reporterState={obj:null,path:[],options:c||{},errors:[]}}reporter.Reporter=m,m.prototype.isError=function(y){return y instanceof x},m.prototype.save=function(){var y=this._reporterState;return{obj:y.obj,pathLen:y.path.length}},m.prototype.restore=function(y){var r=this._reporterState;r.obj=y.obj,r.path=r.path.slice(0,y.pathLen)},m.prototype.enterKey=function(y){return this._reporterState.path.push(y)},m.prototype.exitKey=function(y){var r=this._reporterState;r.path=r.path.slice(0,y-1)},m.prototype.leaveKey=function(y,r,d){var n=this._reporterState;this.exitKey(y),n.obj!==null&&(n.obj[r]=d)},m.prototype.path=function(){return this._reporterState.path.join("/")},m.prototype.enterObject=function(){var y=this._reporterState,r=y.obj;return y.obj={},r},m.prototype.leaveObject=function(y){var r=this._reporterState,d=r.obj;return r.obj=y,d},m.prototype.error=function(y){var r,d=this._reporterState,n=y instanceof x;if(n?r=y:r=new x(d.path.map(function(i){return"["+JSON.stringify(i)+"]"}).join(""),y.message||y,y.stack),!d.options.partial)throw r;return n||d.errors.push(r),r},m.prototype.wrapResult=function(y){var r=this._reporterState;return r.options.partial?{result:this.isError(y)?null:y,errors:r.errors}:y};function x(c,y){this.path=c,this.rethrow(y)}return v(x,Error),x.prototype.rethrow=function(y){if(this.message=y+" at: "+(this.path||"(shallow)"),Error.captureStackTrace&&Error.captureStackTrace(this,x),!this.stack)try{throw new Error(this.message)}catch(r){this.stack=r.stack}return this},reporter}var buffer={},hasRequiredBuffer;function requireBuffer(){if(hasRequiredBuffer)return buffer;hasRequiredBuffer=1;var v=requireInherits_browser(),m=requireBase().Reporter,x=requireDist().Buffer;function c(r,d){if(m.call(this,d),!x.isBuffer(r)){this.error("Input not Buffer");return}this.base=r,this.offset=0,this.length=r.length}v(c,m),buffer.DecoderBuffer=c,c.prototype.save=function(){return{offset:this.offset,reporter:m.prototype.save.call(this)}},c.prototype.restore=function(d){var n=new c(this.base);return n.offset=d.offset,n.length=this.offset,this.offset=d.offset,m.prototype.restore.call(this,d.reporter),n},c.prototype.isEmpty=function(){return this.offset===this.length},c.prototype.readUInt8=function(d){return this.offset+1<=this.length?this.base.readUInt8(this.offset++,!0):this.error(d||"DecoderBuffer overrun")},c.prototype.skip=function(d,n){if(!(this.offset+d<=this.length))return this.error(n||"DecoderBuffer overrun");var i=new c(this.base);return i._reporterState=this._reporterState,i.offset=this.offset,i.length=this.offset+d,this.offset+=d,i},c.prototype.raw=function(d){return this.base.slice(d?d.offset:this.offset,this.length)};function y(r,d){if(Array.isArray(r))this.length=0,this.value=r.map(function(n){return n instanceof y||(n=new y(n,d)),this.length+=n.length,n},this);else if(typeof r=="number"){if(!(0<=r&&r<=255))return d.error("non-byte EncoderBuffer value");this.value=r,this.length=1}else if(typeof r=="string")this.value=r,this.length=x.byteLength(r);else if(x.isBuffer(r))this.value=r,this.length=r.length;else return d.error("Unsupported type: "+typeof r)}return buffer.EncoderBuffer=y,y.prototype.join=function(d,n){return d||(d=new x(this.length)),n||(n=0),this.length===0||(Array.isArray(this.value)?this.value.forEach(function(i){i.join(d,n),n+=i.length}):(typeof this.value=="number"?d[n]=this.value:typeof this.value=="string"?d.write(this.value,n):x.isBuffer(this.value)&&this.value.copy(d,n),n+=this.length)),d},buffer}var node,hasRequiredNode;function requireNode(){if(hasRequiredNode)return node;hasRequiredNode=1;var v=requireBase().Reporter,m=requireBase().EncoderBuffer,x=requireBase().DecoderBuffer,c=requireMinimalisticAssert(),y=["seq","seqof","set","setof","objid","bool","gentime","utctime","null_","enum","int","objDesc","bitstr","bmpstr","charstr","genstr","graphstr","ia5str","iso646str","numstr","octstr","printstr","t61str","unistr","utf8str","videostr"],r=["key","obj","use","optional","explicit","implicit","def","choice","any","contains"].concat(y),d=["_peekTag","_decodeTag","_use","_decodeStr","_decodeObjid","_decodeTime","_decodeNull","_decodeInt","_decodeBool","_decodeList","_encodeComposite","_encodeStr","_encodeObjid","_encodeTime","_encodeNull","_encodeInt","_encodeBool"];function n(t,e){var a={};this._baseState=a,a.enc=t,a.parent=e||null,a.children=null,a.tag=null,a.args=null,a.reverseArgs=null,a.choice=null,a.optional=!1,a.any=!1,a.obj=!1,a.use=null,a.useDecoder=null,a.key=null,a.default=null,a.explicit=null,a.implicit=null,a.contains=null,a.parent||(a.children=[],this._wrap())}node=n;var i=["enc","parent","children","tag","args","reverseArgs","choice","optional","any","obj","use","alteredUse","key","default","explicit","implicit","contains"];return n.prototype.clone=function(){var e=this._baseState,a={};i.forEach(function(s){a[s]=e[s]});var f=new this.constructor(a.parent);return f._baseState=a,f},n.prototype._wrap=function(){var e=this._baseState;r.forEach(function(a){this[a]=function(){var s=new this.constructor(this);return e.children.push(s),s[a].apply(s,arguments)}},this)},n.prototype._init=function(e){var a=this._baseState;c(a.parent===null),e.call(this),a.children=a.children.filter(function(f){return f._baseState.parent===this},this),c.equal(a.children.length,1,"Root node can have only one child")},n.prototype._useArgs=function(e){var a=this._baseState,f=e.filter(function(s){return s instanceof this.constructor},this);e=e.filter(function(s){return!(s instanceof this.constructor)},this),f.length!==0&&(c(a.children===null),a.children=f,f.forEach(function(s){s._baseState.parent=this},this)),e.length!==0&&(c(a.args===null),a.args=e,a.reverseArgs=e.map(function(s){if(typeof s!="object"||s.constructor!==Object)return s;var h={};return Object.keys(s).forEach(function(l){l==(l|0)&&(l|=0);var g=s[l];h[g]=l}),h}))},d.forEach(function(t){n.prototype[t]=function(){var a=this._baseState;throw new Error(t+" not implemented for encoding: "+a.enc)}}),y.forEach(function(t){n.prototype[t]=function(){var a=this._baseState,f=Array.prototype.slice.call(arguments);return c(a.tag===null),a.tag=t,this._useArgs(f),this}}),n.prototype.use=function(e){c(e);var a=this._baseState;return c(a.use===null),a.use=e,this},n.prototype.optional=function(){var e=this._baseState;return e.optional=!0,this},n.prototype.def=function(e){var a=this._baseState;return c(a.default===null),a.default=e,a.optional=!0,this},n.prototype.explicit=function(e){var a=this._baseState;return c(a.explicit===null&&a.implicit===null),a.explicit=e,this},n.prototype.implicit=function(e){var a=this._baseState;return c(a.explicit===null&&a.implicit===null),a.implicit=e,this},n.prototype.obj=function(){var e=this._baseState,a=Array.prototype.slice.call(arguments);return e.obj=!0,a.length!==0&&this._useArgs(a),this},n.prototype.key=function(e){var a=this._baseState;return c(a.key===null),a.key=e,this},n.prototype.any=function(){var e=this._baseState;return e.any=!0,this},n.prototype.choice=function(e){var a=this._baseState;return c(a.choice===null),a.choice=e,this._useArgs(Object.keys(e).map(function(f){return e[f]})),this},n.prototype.contains=function(e){var a=this._baseState;return c(a.use===null),a.contains=e,this},n.prototype._decode=function(e,a){var f=this._baseState;if(f.parent===null)return e.wrapResult(f.children[0]._decode(e,a));var s=f.default,h=!0,l=null;if(f.key!==null&&(l=e.enterKey(f.key)),f.optional){var g=null;if(f.explicit!==null?g=f.explicit:f.implicit!==null?g=f.implicit:f.tag!==null&&(g=f.tag),g===null&&!f.any){var w=e.save();try{f.choice===null?this._decodeGeneric(f.tag,e,a):this._decodeChoice(e,a),h=!0}catch{h=!1}e.restore(w)}else if(h=this._peekTag(e,g,f.any),e.isError(h))return h}var _;if(f.obj&&h&&(_=e.enterObject()),h){if(f.explicit!==null){var S=this._decodeTag(e,f.explicit);if(e.isError(S))return S;e=S}var C=e.offset;if(f.use===null&&f.choice===null){if(f.any)var w=e.save();var P=this._decodeTag(e,f.implicit!==null?f.implicit:f.tag,f.any);if(e.isError(P))return P;f.any?s=e.raw(w):e=P}if(a&&a.track&&f.tag!==null&&a.track(e.path(),C,e.length,"tagged"),a&&a.track&&f.tag!==null&&a.track(e.path(),e.offset,e.length,"content"),f.any?s=s:f.choice===null?s=this._decodeGeneric(f.tag,e,a):s=this._decodeChoice(e,a),e.isError(s))return s;if(!f.any&&f.choice===null&&f.children!==null&&f.children.forEach(function(z){z._decode(e,a)}),f.contains&&(f.tag==="octstr"||f.tag==="bitstr")){var T=new x(s);s=this._getUse(f.contains,e._reporterState.obj)._decode(T,a)}}return f.obj&&h&&(s=e.leaveObject(_)),f.key!==null&&(s!==null||h===!0)?e.leaveKey(l,f.key,s):l!==null&&e.exitKey(l),s},n.prototype._decodeGeneric=function(e,a,f){var s=this._baseState;return e==="seq"||e==="set"?null:e==="seqof"||e==="setof"?this._decodeList(a,e,s.args[0],f):/str$/.test(e)?this._decodeStr(a,e,f):e==="objid"&&s.args?this._decodeObjid(a,s.args[0],s.args[1],f):e==="objid"?this._decodeObjid(a,null,null,f):e==="gentime"||e==="utctime"?this._decodeTime(a,e,f):e==="null_"?this._decodeNull(a,f):e==="bool"?this._decodeBool(a,f):e==="objDesc"?this._decodeStr(a,e,f):e==="int"||e==="enum"?this._decodeInt(a,s.args&&s.args[0],f):s.use!==null?this._getUse(s.use,a._reporterState.obj)._decode(a,f):a.error("unknown tag: "+e)},n.prototype._getUse=function(e,a){var f=this._baseState;return f.useDecoder=this._use(e,a),c(f.useDecoder._baseState.parent===null),f.useDecoder=f.useDecoder._baseState.children[0],f.implicit!==f.useDecoder._baseState.implicit&&(f.useDecoder=f.useDecoder.clone(),f.useDecoder._baseState.implicit=f.implicit),f.useDecoder},n.prototype._decodeChoice=function(e,a){var f=this._baseState,s=null,h=!1;return Object.keys(f.choice).some(function(l){var g=e.save(),w=f.choice[l];try{var _=w._decode(e,a);if(e.isError(_))return!1;s={type:l,value:_},h=!0}catch{return e.restore(g),!1}return!0},this),h?s:e.error("Choice not matched")},n.prototype._createEncoderBuffer=function(e){return new m(e,this.reporter)},n.prototype._encode=function(e,a,f){var s=this._baseState;if(!(s.default!==null&&s.default===e)){var h=this._encodeValue(e,a,f);if(h!==void 0&&!this._skipDefault(h,a,f))return h}},n.prototype._encodeValue=function(e,a,f){var s=this._baseState;if(s.parent===null)return s.children[0]._encode(e,a||new v);var w=null;if(this.reporter=a,s.optional&&e===void 0)if(s.default!==null)e=s.default;else return;var h=null,l=!1;if(s.any)w=this._createEncoderBuffer(e);else if(s.choice)w=this._encodeChoice(e,a);else if(s.contains)h=this._getUse(s.contains,f)._encode(e,a),l=!0;else if(s.children)h=s.children.map(function(C){if(C._baseState.tag==="null_")return C._encode(null,a,e);if(C._baseState.key===null)return a.error("Child should have a key");var P=a.enterKey(C._baseState.key);if(typeof e!="object")return a.error("Child expected, but input is not object");var T=C._encode(e[C._baseState.key],a,e);return a.leaveKey(P),T},this).filter(function(C){return C}),h=this._createEncoderBuffer(h);else if(s.tag==="seqof"||s.tag==="setof"){if(!(s.args&&s.args.length===1))return a.error("Too many args for : "+s.tag);if(!Array.isArray(e))return a.error("seqof/setof, but data is not Array");var g=this.clone();g._baseState.implicit=null,h=this._createEncoderBuffer(e.map(function(C){var P=this._baseState;return this._getUse(P.args[0],e)._encode(C,a)},g))}else s.use!==null?w=this._getUse(s.use,f)._encode(e,a):(h=this._encodePrimitive(s.tag,e),l=!0);var w;if(!s.any&&s.choice===null){var _=s.implicit!==null?s.implicit:s.tag,S=s.implicit===null?"universal":"context";_===null?s.use===null&&a.error("Tag could be omitted only for .use()"):s.use===null&&(w=this._encodeComposite(_,l,S,h))}return s.explicit!==null&&(w=this._encodeComposite(s.explicit,!1,"context",w)),w},n.prototype._encodeChoice=function(e,a){var f=this._baseState,s=f.choice[e.type];return s||c(!1,e.type+" not found in "+JSON.stringify(Object.keys(f.choice))),s._encode(e.value,a)},n.prototype._encodePrimitive=function(e,a){var f=this._baseState;if(/str$/.test(e))return this._encodeStr(a,e);if(e==="objid"&&f.args)return this._encodeObjid(a,f.reverseArgs[0],f.args[1]);if(e==="objid")return this._encodeObjid(a,null,null);if(e==="gentime"||e==="utctime")return this._encodeTime(a,e);if(e==="null_")return this._encodeNull();if(e==="int"||e==="enum")return this._encodeInt(a,f.args&&f.reverseArgs[0]);if(e==="bool")return this._encodeBool(a);if(e==="objDesc")return this._encodeStr(a,e);throw new Error("Unsupported tag: "+e)},n.prototype._isNumstr=function(e){return/^[0-9 ]*$/.test(e)},n.prototype._isPrintstr=function(e){return/^[A-Za-z0-9 '\(\)\+,\-\.\/:=\?]*$/.test(e)},node}var hasRequiredBase;function requireBase(){return hasRequiredBase||(hasRequiredBase=1,function(v){var m=v;m.Reporter=requireReporter().Reporter,m.DecoderBuffer=requireBuffer().DecoderBuffer,m.EncoderBuffer=requireBuffer().EncoderBuffer,m.Node=requireNode()}(base)),base}var constants={},der={},hasRequiredDer$2;function requireDer$2(){return hasRequiredDer$2||(hasRequiredDer$2=1,function(v){var m=requireConstants();v.tagClass={0:"universal",1:"application",2:"context",3:"private"},v.tagClassByName=m._reverse(v.tagClass),v.tag={0:"end",1:"bool",2:"int",3:"bitstr",4:"octstr",5:"null_",6:"objid",7:"objDesc",8:"external",9:"real",10:"enum",11:"embed",12:"utf8str",13:"relativeOid",16:"seq",17:"set",18:"numstr",19:"printstr",20:"t61str",21:"videostr",22:"ia5str",23:"utctime",24:"gentime",25:"graphstr",26:"iso646str",27:"genstr",28:"unistr",29:"charstr",30:"bmpstr"},v.tagByName=m._reverse(v.tag)}(der)),der}var hasRequiredConstants;function requireConstants(){return hasRequiredConstants||(hasRequiredConstants=1,function(v){var m=v;m._reverse=function(c){var y={};return Object.keys(c).forEach(function(r){(r|0)==r&&(r=r|0);var d=c[r];y[d]=r}),y},m.der=requireDer$2()}(constants)),constants}var decoders={},der_1$1,hasRequiredDer$1;function requireDer$1(){if(hasRequiredDer$1)return der_1$1;hasRequiredDer$1=1;var v=requireInherits_browser(),m=requireAsn1$1(),x=m.base,c=m.bignum,y=m.constants.der;function r(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new d,this.tree._init(t.body)}der_1$1=r,r.prototype.decode=function(e,a){return e instanceof x.DecoderBuffer||(e=new x.DecoderBuffer(e,a)),this.tree._decode(e,a)};function d(t){x.Node.call(this,"der",t)}v(d,x.Node),d.prototype._peekTag=function(e,a,f){if(e.isEmpty())return!1;var s=e.save(),h=n(e,'Failed to peek tag: "'+a+'"');return e.isError(h)?h:(e.restore(s),h.tag===a||h.tagStr===a||h.tagStr+"of"===a||f)},d.prototype._decodeTag=function(e,a,f){var s=n(e,'Failed to decode tag of "'+a+'"');if(e.isError(s))return s;var h=i(e,s.primitive,'Failed to get length of "'+a+'"');if(e.isError(h))return h;if(!f&&s.tag!==a&&s.tagStr!==a&&s.tagStr+"of"!==a)return e.error('Failed to match tag: "'+a+'"');if(s.primitive||h!==null)return e.skip(h,'Failed to match body of: "'+a+'"');var l=e.save(),g=this._skipUntilEnd(e,'Failed to skip indefinite length body: "'+this.tag+'"');return e.isError(g)?g:(h=e.offset-l.offset,e.restore(l),e.skip(h,'Failed to match body of: "'+a+'"'))},d.prototype._skipUntilEnd=function(e,a){for(;;){var f=n(e,a);if(e.isError(f))return f;var s=i(e,f.primitive,a);if(e.isError(s))return s;var h;if(f.primitive||s!==null?h=e.skip(s):h=this._skipUntilEnd(e,a),e.isError(h))return h;if(f.tagStr==="end")break}},d.prototype._decodeList=function(e,a,f,s){for(var h=[];!e.isEmpty();){var l=this._peekTag(e,"end");if(e.isError(l))return l;var g=f.decode(e,"der",s);if(e.isError(g)&&l)break;h.push(g)}return h},d.prototype._decodeStr=function(e,a){if(a==="bitstr"){var f=e.readUInt8();return e.isError(f)?f:{unused:f,data:e.raw()}}else if(a==="bmpstr"){var s=e.raw();if(s.length%2===1)return e.error("Decoding of string type: bmpstr length mismatch");for(var h="",l=0;l<s.length/2;l++)h+=String.fromCharCode(s.readUInt16BE(l*2));return h}else if(a==="numstr"){var g=e.raw().toString("ascii");return this._isNumstr(g)?g:e.error("Decoding of string type: numstr unsupported characters")}else{if(a==="octstr")return e.raw();if(a==="objDesc")return e.raw();if(a==="printstr"){var w=e.raw().toString("ascii");return this._isPrintstr(w)?w:e.error("Decoding of string type: printstr unsupported characters")}else return/str$/.test(a)?e.raw().toString():e.error("Decoding of string type: "+a+" unsupported")}},d.prototype._decodeObjid=function(e,a,f){for(var s,h=[],l=0;!e.isEmpty();){var g=e.readUInt8();l<<=7,l|=g&127,(g&128)===0&&(h.push(l),l=0)}g&128&&h.push(l);var w=h[0]/40|0,_=h[0]%40;if(f?s=h:s=[w,_].concat(h.slice(1)),a){var S=a[s.join(" ")];S===void 0&&(S=a[s.join(".")]),S!==void 0&&(s=S)}return s},d.prototype._decodeTime=function(e,a){var f=e.raw().toString();if(a==="gentime")var s=f.slice(0,4)|0,h=f.slice(4,6)|0,l=f.slice(6,8)|0,g=f.slice(8,10)|0,w=f.slice(10,12)|0,_=f.slice(12,14)|0;else if(a==="utctime"){var s=f.slice(0,2)|0,h=f.slice(2,4)|0,l=f.slice(4,6)|0,g=f.slice(6,8)|0,w=f.slice(8,10)|0,_=f.slice(10,12)|0;s<70?s=2e3+s:s=1900+s}else return e.error("Decoding "+a+" time is not supported yet");return Date.UTC(s,h-1,l,g,w,_,0)},d.prototype._decodeNull=function(e){return null},d.prototype._decodeBool=function(e){var a=e.readUInt8();return e.isError(a)?a:a!==0},d.prototype._decodeInt=function(e,a){var f=e.raw(),s=new c(f);return a&&(s=a[s.toString(10)]||s),s},d.prototype._use=function(e,a){return typeof e=="function"&&(e=e(a)),e._getDecoder("der").tree};function n(t,e){var a=t.readUInt8(e);if(t.isError(a))return a;var f=y.tagClass[a>>6],s=(a&32)===0;if((a&31)===31){var h=a;for(a=0;(h&128)===128;){if(h=t.readUInt8(e),t.isError(h))return h;a<<=7,a|=h&127}}else a&=31;var l=y.tag[a];return{cls:f,primitive:s,tag:a,tagStr:l}}function i(t,e,a){var f=t.readUInt8(a);if(t.isError(f))return f;if(!e&&f===128)return null;if((f&128)===0)return f;var s=f&127;if(s>4)return t.error("length octect is too long");f=0;for(var h=0;h<s;h++){f<<=8;var l=t.readUInt8(a);if(t.isError(l))return l;f|=l}return f}return der_1$1}var pem$1,hasRequiredPem$1;function requirePem$1(){if(hasRequiredPem$1)return pem$1;hasRequiredPem$1=1;var v=requireInherits_browser(),m=requireDist().Buffer,x=requireDer$1();function c(y){x.call(this,y),this.enc="pem"}return v(c,x),pem$1=c,c.prototype.decode=function(r,d){for(var n=r.toString().split(/[\r\n]+/g),i=d.label.toUpperCase(),t=/^-----(BEGIN|END) ([^-]+)-----$/,e=-1,a=-1,f=0;f<n.length;f++){var s=n[f].match(t);if(s!==null&&s[2]===i)if(e===-1){if(s[1]!=="BEGIN")break;e=f}else{if(s[1]!=="END")break;a=f;break}}if(e===-1||a===-1)throw new Error("PEM section not found for: "+i);var h=n.slice(e+1,a).join("");h.replace(/[^a-z0-9\+\/=]+/gi,"");var l=new m(h,"base64");return x.prototype.decode.call(this,l,d)},pem$1}var hasRequiredDecoders;function requireDecoders(){return hasRequiredDecoders||(hasRequiredDecoders=1,function(v){var m=v;m.der=requireDer$1(),m.pem=requirePem$1()}(decoders)),decoders}var encoders={},der_1,hasRequiredDer;function requireDer(){if(hasRequiredDer)return der_1;hasRequiredDer=1;var v=requireInherits_browser(),m=requireDist().Buffer,x=requireAsn1$1(),c=x.base,y=x.constants.der;function r(t){this.enc="der",this.name=t.name,this.entity=t,this.tree=new d,this.tree._init(t.body)}der_1=r,r.prototype.encode=function(e,a){return this.tree._encode(e,a).join()};function d(t){c.Node.call(this,"der",t)}v(d,c.Node),d.prototype._encodeComposite=function(e,a,f,s){var h=i(e,a,f,this.reporter);if(s.length<128){var w=new m(2);return w[0]=h,w[1]=s.length,this._createEncoderBuffer([w,s])}for(var l=1,g=s.length;g>=256;g>>=8)l++;var w=new m(2+l);w[0]=h,w[1]=128|l;for(var g=1+l,_=s.length;_>0;g--,_>>=8)w[g]=_&255;return this._createEncoderBuffer([w,s])},d.prototype._encodeStr=function(e,a){if(a==="bitstr")return this._createEncoderBuffer([e.unused|0,e.data]);if(a==="bmpstr"){for(var f=new m(e.length*2),s=0;s<e.length;s++)f.writeUInt16BE(e.charCodeAt(s),s*2);return this._createEncoderBuffer(f)}else return a==="numstr"?this._isNumstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: numstr supports only digits and space"):a==="printstr"?this._isPrintstr(e)?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: printstr supports only latin upper and lower case letters, digits, space, apostrophe, left and rigth parenthesis, plus sign, comma, hyphen, dot, slash, colon, equal sign, question mark"):/str$/.test(a)?this._createEncoderBuffer(e):a==="objDesc"?this._createEncoderBuffer(e):this.reporter.error("Encoding of string type: "+a+" unsupported")},d.prototype._encodeObjid=function(e,a,f){if(typeof e=="string"){if(!a)return this.reporter.error("string objid given, but no values map found");if(!a.hasOwnProperty(e))return this.reporter.error("objid not found in values map");e=a[e].split(/[\s\.]+/g);for(var s=0;s<e.length;s++)e[s]|=0}else if(Array.isArray(e)){e=e.slice();for(var s=0;s<e.length;s++)e[s]|=0}if(!Array.isArray(e))return this.reporter.error("objid() should be either array or string, got: "+JSON.stringify(e));if(!f){if(e[1]>=40)return this.reporter.error("Second objid identifier OOB");e.splice(0,2,e[0]*40+e[1])}for(var h=0,s=0;s<e.length;s++){var l=e[s];for(h++;l>=128;l>>=7)h++}for(var g=new m(h),w=g.length-1,s=e.length-1;s>=0;s--){var l=e[s];for(g[w--]=l&127;(l>>=7)>0;)g[w--]=128|l&127}return this._createEncoderBuffer(g)};function n(t){return t<10?"0"+t:t}d.prototype._encodeTime=function(e,a){var f,s=new Date(e);return a==="gentime"?f=[n(s.getFullYear()),n(s.getUTCMonth()+1),n(s.getUTCDate()),n(s.getUTCHours()),n(s.getUTCMinutes()),n(s.getUTCSeconds()),"Z"].join(""):a==="utctime"?f=[n(s.getFullYear()%100),n(s.getUTCMonth()+1),n(s.getUTCDate()),n(s.getUTCHours()),n(s.getUTCMinutes()),n(s.getUTCSeconds()),"Z"].join(""):this.reporter.error("Encoding "+a+" time is not supported yet"),this._encodeStr(f,"octstr")},d.prototype._encodeNull=function(){return this._createEncoderBuffer("")},d.prototype._encodeInt=function(e,a){if(typeof e=="string"){if(!a)return this.reporter.error("String int or enum given, but no values map");if(!a.hasOwnProperty(e))return this.reporter.error("Values map doesn't contain: "+JSON.stringify(e));e=a[e]}if(typeof e!="number"&&!m.isBuffer(e)){var f=e.toArray();!e.sign&&f[0]&128&&f.unshift(0),e=new m(f)}if(m.isBuffer(e)){var s=e.length;e.length===0&&s++;var l=new m(s);return e.copy(l),e.length===0&&(l[0]=0),this._createEncoderBuffer(l)}if(e<128)return this._createEncoderBuffer(e);if(e<256)return this._createEncoderBuffer([0,e]);for(var s=1,h=e;h>=256;h>>=8)s++;for(var l=new Array(s),h=l.length-1;h>=0;h--)l[h]=e&255,e>>=8;return l[0]&128&&l.unshift(0),this._createEncoderBuffer(new m(l))},d.prototype._encodeBool=function(e){return this._createEncoderBuffer(e?255:0)},d.prototype._use=function(e,a){return typeof e=="function"&&(e=e(a)),e._getEncoder("der").tree},d.prototype._skipDefault=function(e,a,f){var s=this._baseState,h;if(s.default===null)return!1;var l=e.join();if(s.defaultBuffer===void 0&&(s.defaultBuffer=this._encodeValue(s.default,a,f).join()),l.length!==s.defaultBuffer.length)return!1;for(h=0;h<l.length;h++)if(l[h]!==s.defaultBuffer[h])return!1;return!0};function i(t,e,a,f){var s;if(t==="seqof"?t="seq":t==="setof"&&(t="set"),y.tagByName.hasOwnProperty(t))s=y.tagByName[t];else if(typeof t=="number"&&(t|0)===t)s=t;else return f.error("Unknown tag: "+t);return s>=31?f.error("Multi-octet tag encoding unsupported"):(e||(s|=32),s|=y.tagClassByName[a||"universal"]<<6,s)}return der_1}var pem,hasRequiredPem;function requirePem(){if(hasRequiredPem)return pem;hasRequiredPem=1;var v=requireInherits_browser(),m=requireDer();function x(c){m.call(this,c),this.enc="pem"}return v(x,m),pem=x,x.prototype.encode=function(y,r){for(var d=m.prototype.encode.call(this,y),n=d.toString("base64"),i=["-----BEGIN "+r.label+"-----"],t=0;t<n.length;t+=64)i.push(n.slice(t,t+64));return i.push("-----END "+r.label+"-----"),i.join(`
|
|
19
|
+
`)},pem}var hasRequiredEncoders;function requireEncoders(){return hasRequiredEncoders||(hasRequiredEncoders=1,function(v){var m=v;m.der=requireDer(),m.pem=requirePem()}(encoders)),encoders}var hasRequiredAsn1$1;function requireAsn1$1(){return hasRequiredAsn1$1||(hasRequiredAsn1$1=1,function(v){var m=v;m.bignum=requireBn$1(),m.define=requireApi().define,m.base=requireBase(),m.constants=requireConstants(),m.decoders=requireDecoders(),m.encoders=requireEncoders()}(asn1)),asn1}var certificate,hasRequiredCertificate;function requireCertificate(){if(hasRequiredCertificate)return certificate;hasRequiredCertificate=1;var v=requireAsn1$1(),m=v.define("Time",function(){this.choice({utcTime:this.utctime(),generalTime:this.gentime()})}),x=v.define("AttributeTypeValue",function(){this.seq().obj(this.key("type").objid(),this.key("value").any())}),c=v.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("parameters").optional(),this.key("curve").objid().optional())}),y=v.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(c),this.key("subjectPublicKey").bitstr())}),r=v.define("RelativeDistinguishedName",function(){this.setof(x)}),d=v.define("RDNSequence",function(){this.seqof(r)}),n=v.define("Name",function(){this.choice({rdnSequence:this.use(d)})}),i=v.define("Validity",function(){this.seq().obj(this.key("notBefore").use(m),this.key("notAfter").use(m))}),t=v.define("Extension",function(){this.seq().obj(this.key("extnID").objid(),this.key("critical").bool().def(!1),this.key("extnValue").octstr())}),e=v.define("TBSCertificate",function(){this.seq().obj(this.key("version").explicit(0).int().optional(),this.key("serialNumber").int(),this.key("signature").use(c),this.key("issuer").use(n),this.key("validity").use(i),this.key("subject").use(n),this.key("subjectPublicKeyInfo").use(y),this.key("issuerUniqueID").implicit(1).bitstr().optional(),this.key("subjectUniqueID").implicit(2).bitstr().optional(),this.key("extensions").explicit(3).seqof(t).optional())}),a=v.define("X509Certificate",function(){this.seq().obj(this.key("tbsCertificate").use(e),this.key("signatureAlgorithm").use(c),this.key("signatureValue").bitstr())});return certificate=a,certificate}var hasRequiredAsn1;function requireAsn1(){if(hasRequiredAsn1)return asn1$1;hasRequiredAsn1=1;var v=requireAsn1$1();asn1$1.certificate=requireCertificate();var m=v.define("RSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("modulus").int(),this.key("publicExponent").int(),this.key("privateExponent").int(),this.key("prime1").int(),this.key("prime2").int(),this.key("exponent1").int(),this.key("exponent2").int(),this.key("coefficient").int())});asn1$1.RSAPrivateKey=m;var x=v.define("RSAPublicKey",function(){this.seq().obj(this.key("modulus").int(),this.key("publicExponent").int())});asn1$1.RSAPublicKey=x;var c=v.define("AlgorithmIdentifier",function(){this.seq().obj(this.key("algorithm").objid(),this.key("none").null_().optional(),this.key("curve").objid().optional(),this.key("params").seq().obj(this.key("p").int(),this.key("q").int(),this.key("g").int()).optional())}),y=v.define("SubjectPublicKeyInfo",function(){this.seq().obj(this.key("algorithm").use(c),this.key("subjectPublicKey").bitstr())});asn1$1.PublicKey=y;var r=v.define("PrivateKeyInfo",function(){this.seq().obj(this.key("version").int(),this.key("algorithm").use(c),this.key("subjectPrivateKey").octstr())});asn1$1.PrivateKey=r;var d=v.define("EncryptedPrivateKeyInfo",function(){this.seq().obj(this.key("algorithm").seq().obj(this.key("id").objid(),this.key("decrypt").seq().obj(this.key("kde").seq().obj(this.key("id").objid(),this.key("kdeparams").seq().obj(this.key("salt").octstr(),this.key("iters").int())),this.key("cipher").seq().obj(this.key("algo").objid(),this.key("iv").octstr()))),this.key("subjectPrivateKey").octstr())});asn1$1.EncryptedPrivateKey=d;var n=v.define("DSAPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("p").int(),this.key("q").int(),this.key("g").int(),this.key("pub_key").int(),this.key("priv_key").int())});asn1$1.DSAPrivateKey=n,asn1$1.DSAparam=v.define("DSAparam",function(){this.int()});var i=v.define("ECParameters",function(){this.choice({namedCurve:this.objid()})}),t=v.define("ECPrivateKey",function(){this.seq().obj(this.key("version").int(),this.key("privateKey").octstr(),this.key("parameters").optional().explicit(0).use(i),this.key("publicKey").optional().explicit(1).bitstr())});return asn1$1.ECPrivateKey=t,asn1$1.signature=v.define("signature",function(){this.seq().obj(this.key("r").int(),this.key("s").int())}),asn1$1}const require$$1={"2.16.840.1.101.3.4.1.1":"aes-128-ecb","2.16.840.1.101.3.4.1.2":"aes-128-cbc","2.16.840.1.101.3.4.1.3":"aes-128-ofb","2.16.840.1.101.3.4.1.4":"aes-128-cfb","2.16.840.1.101.3.4.1.21":"aes-192-ecb","2.16.840.1.101.3.4.1.22":"aes-192-cbc","2.16.840.1.101.3.4.1.23":"aes-192-ofb","2.16.840.1.101.3.4.1.24":"aes-192-cfb","2.16.840.1.101.3.4.1.41":"aes-256-ecb","2.16.840.1.101.3.4.1.42":"aes-256-cbc","2.16.840.1.101.3.4.1.43":"aes-256-ofb","2.16.840.1.101.3.4.1.44":"aes-256-cfb"};var fixProc,hasRequiredFixProc;function requireFixProc(){if(hasRequiredFixProc)return fixProc;hasRequiredFixProc=1;var v=/Proc-Type: 4,ENCRYPTED[\n\r]+DEK-Info: AES-((?:128)|(?:192)|(?:256))-CBC,([0-9A-H]+)[\n\r]+([0-9A-z\n\r+/=]+)[\n\r]+/m,m=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----/m,x=/^-----BEGIN ((?:.*? KEY)|CERTIFICATE)-----([0-9A-z\n\r+/=]+)-----END \1-----$/m,c=requireEvp_bytestokey(),y=requireBrowser$6(),r=requireSafeBuffer$1().Buffer;return fixProc=function(d,n){var i=d.toString(),t=i.match(v),e;if(t){var f="aes"+t[1],s=r.from(t[2],"hex"),h=r.from(t[3].replace(/[\r\n]/g,""),"base64"),l=c(n,s.slice(0,8),parseInt(t[1],10)).key,g=[],w=y.createDecipheriv(f,l,s);g.push(w.update(h)),g.push(w.final()),e=r.concat(g)}else{var a=i.match(x);e=r.from(a[2].replace(/[\r\n]/g,""),"base64")}var _=i.match(m)[1];return{tag:_,data:e}},fixProc}var parseAsn1,hasRequiredParseAsn1;function requireParseAsn1(){if(hasRequiredParseAsn1)return parseAsn1;hasRequiredParseAsn1=1;var v=requireAsn1(),m=require$$1,x=requireFixProc(),c=requireBrowser$6(),y=requireBrowser$7().pbkdf2Sync,r=requireSafeBuffer$1().Buffer;function d(i,t){var e=i.algorithm.decrypt.kde.kdeparams.salt,a=parseInt(i.algorithm.decrypt.kde.kdeparams.iters.toString(),10),f=m[i.algorithm.decrypt.cipher.algo.join(".")],s=i.algorithm.decrypt.cipher.iv,h=i.subjectPrivateKey,l=parseInt(f.split("-")[1],10)/8,g=y(t,e,a,l,"sha1"),w=c.createDecipheriv(f,g,s),_=[];return _.push(w.update(h)),_.push(w.final()),r.concat(_)}function n(i){var t;typeof i=="object"&&!r.isBuffer(i)&&(t=i.passphrase,i=i.key),typeof i=="string"&&(i=r.from(i));var e=x(i,t),a=e.tag,f=e.data,s,h;switch(a){case"CERTIFICATE":h=v.certificate.decode(f,"der").tbsCertificate.subjectPublicKeyInfo;case"PUBLIC KEY":switch(h||(h=v.PublicKey.decode(f,"der")),s=h.algorithm.algorithm.join("."),s){case"1.2.840.113549.1.1.1":return v.RSAPublicKey.decode(h.subjectPublicKey.data,"der");case"1.2.840.10045.2.1":return h.subjectPrivateKey=h.subjectPublicKey,{type:"ec",data:h};case"1.2.840.10040.4.1":return h.algorithm.params.pub_key=v.DSAparam.decode(h.subjectPublicKey.data,"der"),{type:"dsa",data:h.algorithm.params};default:throw new Error("unknown key id "+s)}case"ENCRYPTED PRIVATE KEY":f=v.EncryptedPrivateKey.decode(f,"der"),f=d(f,t);case"PRIVATE KEY":switch(h=v.PrivateKey.decode(f,"der"),s=h.algorithm.algorithm.join("."),s){case"1.2.840.113549.1.1.1":return v.RSAPrivateKey.decode(h.subjectPrivateKey,"der");case"1.2.840.10045.2.1":return{curve:h.algorithm.curve,privateKey:v.ECPrivateKey.decode(h.subjectPrivateKey,"der").privateKey};case"1.2.840.10040.4.1":return h.algorithm.params.priv_key=v.DSAparam.decode(h.subjectPrivateKey,"der"),{type:"dsa",params:h.algorithm.params};default:throw new Error("unknown key id "+s)}case"RSA PUBLIC KEY":return v.RSAPublicKey.decode(f,"der");case"RSA PRIVATE KEY":return v.RSAPrivateKey.decode(f,"der");case"DSA PRIVATE KEY":return{type:"dsa",params:v.DSAPrivateKey.decode(f,"der")};case"EC PRIVATE KEY":return f=v.ECPrivateKey.decode(f,"der"),{curve:f.parameters.value,privateKey:f.privateKey};default:throw new Error("unknown key type "+a)}}return n.signature=v.signature,parseAsn1=n,parseAsn1}const require$$4={"1.3.132.0.10":"secp256k1","1.3.132.0.33":"p224","1.2.840.10045.3.1.1":"p192","1.2.840.10045.3.1.7":"p256","1.3.132.0.34":"p384","1.3.132.0.35":"p521"};var hasRequiredSign;function requireSign(){if(hasRequiredSign)return sign.exports;hasRequiredSign=1;var v=requireSafeBuffer$1().Buffer,m=requireBrowser$8(),x=requireBrowserifyRsa(),c=requireElliptic().ec,y=requireBn(),r=requireParseAsn1(),d=require$$4,n=1;function i(w,_,S,C,P){var T=r(_);if(T.curve){if(C!=="ecdsa"&&C!=="ecdsa/rsa")throw new Error("wrong private key type");return t(w,T)}else if(T.type==="dsa"){if(C!=="dsa")throw new Error("wrong private key type");return e(w,T,S)}if(C!=="rsa"&&C!=="ecdsa/rsa")throw new Error("wrong private key type");if(_.padding!==void 0&&_.padding!==n)throw new Error("illegal or unsupported padding mode");w=v.concat([P,w]);for(var U=T.modulus.byteLength(),z=[0,1];w.length+z.length+1<U;)z.push(255);z.push(0);for(var V=-1;++V<w.length;)z.push(w[V]);var G=x(z,T);return G}function t(w,_){var S=d[_.curve.join(".")];if(!S)throw new Error("unknown curve "+_.curve.join("."));var C=new c(S),P=C.keyFromPrivate(_.privateKey),T=P.sign(w);return v.from(T.toDER())}function e(w,_,S){for(var C=_.params.priv_key,P=_.params.p,T=_.params.q,U=_.params.g,z=new y(0),V,G=s(w,T).mod(T),O=!1,u=f(C,T,w,S);O===!1;)V=l(T,u,S),z=g(U,V,P,T),O=V.invm(T).imul(G.add(C.mul(z))).mod(T),O.cmpn(0)===0&&(O=!1,z=new y(0));return a(z,O)}function a(w,_){w=w.toArray(),_=_.toArray(),w[0]&128&&(w=[0].concat(w)),_[0]&128&&(_=[0].concat(_));var S=w.length+_.length+4,C=[48,S,2,w.length];return C=C.concat(w,[2,_.length],_),v.from(C)}function f(w,_,S,C){if(w=v.from(w.toArray()),w.length<_.byteLength()){var P=v.alloc(_.byteLength()-w.length);w=v.concat([P,w])}var T=S.length,U=h(S,_),z=v.alloc(T);z.fill(1);var V=v.alloc(T);return V=m(C,V).update(z).update(v.from([0])).update(w).update(U).digest(),z=m(C,V).update(z).digest(),V=m(C,V).update(z).update(v.from([1])).update(w).update(U).digest(),z=m(C,V).update(z).digest(),{k:V,v:z}}function s(w,_){var S=new y(w),C=(w.length<<3)-_.bitLength();return C>0&&S.ishrn(C),S}function h(w,_){w=s(w,_),w=w.mod(_);var S=v.from(w.toArray());if(S.length<_.byteLength()){var C=v.alloc(_.byteLength()-S.length);S=v.concat([C,S])}return S}function l(w,_,S){var C,P;do{for(C=v.alloc(0);C.length*8<w.bitLength();)_.v=m(S,_.k).update(_.v).digest(),C=v.concat([C,_.v]);P=s(C,w),_.k=m(S,_.k).update(_.v).update(v.from([0])).digest(),_.v=m(S,_.k).update(_.v).digest()}while(P.cmp(w)!==-1);return P}function g(w,_,S,C){return w.toRed(y.mont(S)).redPow(_).fromRed().mod(C)}return sign.exports=i,sign.exports.getKey=f,sign.exports.makeKey=l,sign.exports}var verify_1,hasRequiredVerify;function requireVerify(){if(hasRequiredVerify)return verify_1;hasRequiredVerify=1;var v=requireSafeBuffer$1().Buffer,m=requireBn(),x=requireElliptic().ec,c=requireParseAsn1(),y=require$$4;function r(t,e,a,f,s){var h=c(a);if(h.type==="ec"){if(f!=="ecdsa"&&f!=="ecdsa/rsa")throw new Error("wrong public key type");return d(t,e,h)}else if(h.type==="dsa"){if(f!=="dsa")throw new Error("wrong public key type");return n(t,e,h)}if(f!=="rsa"&&f!=="ecdsa/rsa")throw new Error("wrong public key type");e=v.concat([s,e]);for(var l=h.modulus.byteLength(),g=[1],w=0;e.length+g.length+2<l;)g.push(255),w+=1;g.push(0);for(var _=-1;++_<e.length;)g.push(e[_]);g=v.from(g);var S=m.mont(h.modulus);t=new m(t).toRed(S),t=t.redPow(new m(h.publicExponent)),t=v.from(t.fromRed().toArray());var C=w<8?1:0;for(l=Math.min(t.length,g.length),t.length!==g.length&&(C=1),_=-1;++_<l;)C|=t[_]^g[_];return C===0}function d(t,e,a){var f=y[a.data.algorithm.curve.join(".")];if(!f)throw new Error("unknown curve "+a.data.algorithm.curve.join("."));var s=new x(f),h=a.data.subjectPrivateKey.data;return s.verify(e,t,h)}function n(t,e,a){var f=a.data.p,s=a.data.q,h=a.data.g,l=a.data.pub_key,g=c.signature.decode(t,"der"),w=g.s,_=g.r;i(w,s),i(_,s);var S=m.mont(f),C=w.invm(s),P=h.toRed(S).redPow(new m(e).mul(C).mod(s)).fromRed().mul(l.toRed(S).redPow(_.mul(C).mod(s)).fromRed()).mod(f).mod(s);return P.cmp(_)===0}function i(t,e){if(t.cmpn(0)<=0)throw new Error("invalid sig");if(t.cmp(e)>=0)throw new Error("invalid sig")}return verify_1=r,verify_1}var browser$3,hasRequiredBrowser$3;function requireBrowser$3(){if(hasRequiredBrowser$3)return browser$3;hasRequiredBrowser$3=1;var v=requireSafeBuffer$1().Buffer,m=requireBrowser$9(),x=requireReadableBrowser(),c=requireInherits_browser(),y=requireSign(),r=requireVerify(),d=require$$6;Object.keys(d).forEach(function(a){d[a].id=v.from(d[a].id,"hex"),d[a.toLowerCase()]=d[a]});function n(a){x.Writable.call(this);var f=d[a];if(!f)throw new Error("Unknown message digest");this._hashType=f.hash,this._hash=m(f.hash),this._tag=f.id,this._signType=f.sign}c(n,x.Writable),n.prototype._write=function(f,s,h){this._hash.update(f),h()},n.prototype.update=function(f,s){return this._hash.update(typeof f=="string"?v.from(f,s):f),this},n.prototype.sign=function(f,s){this.end();var h=this._hash.digest(),l=y(h,f,this._hashType,this._signType,this._tag);return s?l.toString(s):l};function i(a){x.Writable.call(this);var f=d[a];if(!f)throw new Error("Unknown message digest");this._hash=m(f.hash),this._tag=f.id,this._signType=f.sign}c(i,x.Writable),i.prototype._write=function(f,s,h){this._hash.update(f),h()},i.prototype.update=function(f,s){return this._hash.update(typeof f=="string"?v.from(f,s):f),this},i.prototype.verify=function(f,s,h){var l=typeof s=="string"?v.from(s,h):s;this.end();var g=this._hash.digest();return r(l,g,f,this._signType,this._tag)};function t(a){return new n(a)}function e(a){return new i(a)}return browser$3={Sign:t,Verify:e,createSign:t,createVerify:e},browser$3}var browser$2,hasRequiredBrowser$2;function requireBrowser$2(){if(hasRequiredBrowser$2)return browser$2;hasRequiredBrowser$2=1;var v=requireElliptic(),m=requireBn$1();browser$2=function(d){return new c(d)};var x={secp256k1:{name:"secp256k1",byteLength:32},secp224r1:{name:"p224",byteLength:28},prime256v1:{name:"p256",byteLength:32},prime192v1:{name:"p192",byteLength:24},ed25519:{name:"ed25519",byteLength:32},secp384r1:{name:"p384",byteLength:48},secp521r1:{name:"p521",byteLength:66}};x.p224=x.secp224r1,x.p256=x.secp256r1=x.prime256v1,x.p192=x.secp192r1=x.prime192v1,x.p384=x.secp384r1,x.p521=x.secp521r1;function c(r){this.curveType=x[r],this.curveType||(this.curveType={name:r}),this.curve=new v.ec(this.curveType.name),this.keys=void 0}c.prototype.generateKeys=function(r,d){return this.keys=this.curve.genKeyPair(),this.getPublicKey(r,d)},c.prototype.computeSecret=function(r,d,n){d=d||"utf8",Buffer.isBuffer(r)||(r=new Buffer(r,d));var i=this.curve.keyFromPublic(r).getPublic(),t=i.mul(this.keys.getPrivate()).getX();return y(t,n,this.curveType.byteLength)},c.prototype.getPublicKey=function(r,d){var n=this.keys.getPublic(d==="compressed",!0);return d==="hybrid"&&(n[n.length-1]%2?n[0]=7:n[0]=6),y(n,r)},c.prototype.getPrivateKey=function(r){return y(this.keys.getPrivate(),r)},c.prototype.setPublicKey=function(r,d){return d=d||"utf8",Buffer.isBuffer(r)||(r=new Buffer(r,d)),this.keys._importPublic(r),this},c.prototype.setPrivateKey=function(r,d){d=d||"utf8",Buffer.isBuffer(r)||(r=new Buffer(r,d));var n=new m(r);return n=n.toString(16),this.keys=this.curve.genKeyPair(),this.keys._importPrivate(n),this};function y(r,d,n){Array.isArray(r)||(r=r.toArray());var i=new Buffer(r);if(n&&i.length<n){var t=new Buffer(n-i.length);t.fill(0),i=Buffer.concat([t,i])}return d?i.toString(d):i}return browser$2}var browser$1={},mgf,hasRequiredMgf;function requireMgf(){if(hasRequiredMgf)return mgf;hasRequiredMgf=1;var v=requireBrowser$9(),m=requireSafeBuffer$1().Buffer;mgf=function(c,y){for(var r=m.alloc(0),d=0,n;r.length<y;)n=x(d++),r=m.concat([r,v("sha1").update(c).update(n).digest()]);return r.slice(0,y)};function x(c){var y=m.allocUnsafe(4);return y.writeUInt32BE(c,0),y}return mgf}var xor,hasRequiredXor;function requireXor(){return hasRequiredXor||(hasRequiredXor=1,xor=function(m,x){for(var c=m.length,y=-1;++y<c;)m[y]^=x[y];return m}),xor}var withPublic_1,hasRequiredWithPublic;function requireWithPublic(){if(hasRequiredWithPublic)return withPublic_1;hasRequiredWithPublic=1;var v=requireBn$1(),m=requireSafeBuffer$1().Buffer;function x(c,y){return m.from(c.toRed(v.mont(y.modulus)).redPow(new v(y.publicExponent)).fromRed().toArray())}return withPublic_1=x,withPublic_1}var publicEncrypt,hasRequiredPublicEncrypt;function requirePublicEncrypt(){if(hasRequiredPublicEncrypt)return publicEncrypt;hasRequiredPublicEncrypt=1;var v=requireParseAsn1(),m=requireBrowser$b(),x=requireBrowser$9(),c=requireMgf(),y=requireXor(),r=requireBn$1(),d=requireWithPublic(),n=requireBrowserifyRsa(),i=requireSafeBuffer$1().Buffer;publicEncrypt=function(s,h,l){var g;s.padding?g=s.padding:l?g=1:g=4;var w=v(s),_;if(g===4)_=t(w,h);else if(g===1)_=e(w,h,l);else if(g===3){if(_=new r(h),_.cmp(w.modulus)>=0)throw new Error("data too long for modulus")}else throw new Error("unknown padding");return l?n(_,w):d(_,w)};function t(f,s){var h=f.modulus.byteLength(),l=s.length,g=x("sha1").update(i.alloc(0)).digest(),w=g.length,_=2*w;if(l>h-_-2)throw new Error("message too long");var S=i.alloc(h-l-_-2),C=h-w-1,P=m(w),T=y(i.concat([g,S,i.alloc(1,1),s],C),c(P,C)),U=y(P,c(T,w));return new r(i.concat([i.alloc(1),U,T],h))}function e(f,s,h){var l=s.length,g=f.modulus.byteLength();if(l>g-11)throw new Error("message too long");var w;return h?w=i.alloc(g-l-3,255):w=a(g-l-3),new r(i.concat([i.from([0,h?1:2]),w,i.alloc(1),s],g))}function a(f){for(var s=i.allocUnsafe(f),h=0,l=m(f*2),g=0,w;h<f;)g===l.length&&(l=m(f*2),g=0),w=l[g++],w&&(s[h++]=w);return s}return publicEncrypt}var privateDecrypt,hasRequiredPrivateDecrypt;function requirePrivateDecrypt(){if(hasRequiredPrivateDecrypt)return privateDecrypt;hasRequiredPrivateDecrypt=1;var v=requireParseAsn1(),m=requireMgf(),x=requireXor(),c=requireBn$1(),y=requireBrowserifyRsa(),r=requireBrowser$9(),d=requireWithPublic(),n=requireSafeBuffer$1().Buffer;privateDecrypt=function(f,s,h){var l;f.padding?l=f.padding:h?l=1:l=4;var g=v(f),w=g.modulus.byteLength();if(s.length>w||new c(s).cmp(g.modulus)>=0)throw new Error("decryption error");var _;h?_=d(new c(s),g):_=y(s,g);var S=n.alloc(w-_.length);if(_=n.concat([S,_],w),l===4)return i(g,_);if(l===1)return t(g,_,h);if(l===3)return _;throw new Error("unknown padding")};function i(a,f){var s=a.modulus.byteLength(),h=r("sha1").update(n.alloc(0)).digest(),l=h.length;if(f[0]!==0)throw new Error("decryption error");var g=f.slice(1,l+1),w=f.slice(l+1),_=x(g,m(w,l)),S=x(w,m(_,s-l-1));if(e(h,S.slice(0,l)))throw new Error("decryption error");for(var C=l;S[C]===0;)C++;if(S[C++]!==1)throw new Error("decryption error");return S.slice(C)}function t(a,f,s){for(var h=f.slice(0,2),l=2,g=0;f[l++]!==0;)if(l>=f.length){g++;break}var w=f.slice(2,l-1);if((h.toString("hex")!=="0002"&&!s||h.toString("hex")!=="0001"&&s)&&g++,w.length<8&&g++,g)throw new Error("decryption error");return f.slice(l)}function e(a,f){a=n.from(a),f=n.from(f);var s=0,h=a.length;a.length!==f.length&&(s++,h=Math.min(a.length,f.length));for(var l=-1;++l<h;)s+=a[l]^f[l];return s}return privateDecrypt}var hasRequiredBrowser$1;function requireBrowser$1(){return hasRequiredBrowser$1||(hasRequiredBrowser$1=1,function(v){v.publicEncrypt=requirePublicEncrypt(),v.privateDecrypt=requirePrivateDecrypt(),v.privateEncrypt=function(x,c){return v.publicEncrypt(x,c,!0)},v.publicDecrypt=function(x,c){return v.privateDecrypt(x,c,!0)}}(browser$1)),browser$1}var browser={},hasRequiredBrowser;function requireBrowser(){if(hasRequiredBrowser)return browser;hasRequiredBrowser=1;function v(){throw new Error(`secure random number generation not supported by this browser
|
|
20
|
+
use chrome, FireFox or Internet Explorer 11`)}var m=requireSafeBuffer$1(),x=requireBrowser$b(),c=m.Buffer,y=m.kMaxLength,r=commonjsGlobal.crypto||commonjsGlobal.msCrypto,d=Math.pow(2,32)-1;function n(f,s){if(typeof f!="number"||f!==f)throw new TypeError("offset must be a number");if(f>d||f<0)throw new TypeError("offset must be a uint32");if(f>y||f>s)throw new RangeError("offset out of range")}function i(f,s,h){if(typeof f!="number"||f!==f)throw new TypeError("size must be a number");if(f>d||f<0)throw new TypeError("size must be a uint32");if(f+s>h||f>y)throw new RangeError("buffer too small")}r&&r.getRandomValues||!process$1.browser?(browser.randomFill=t,browser.randomFillSync=a):(browser.randomFill=v,browser.randomFillSync=v);function t(f,s,h,l){if(!c.isBuffer(f)&&!(f instanceof commonjsGlobal.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');if(typeof s=="function")l=s,s=0,h=f.length;else if(typeof h=="function")l=h,h=f.length-s;else if(typeof l!="function")throw new TypeError('"cb" argument must be a function');return n(s,f.length),i(h,s,f.length),e(f,s,h,l)}function e(f,s,h,l){if(process$1.browser){var g=f.buffer,w=new Uint8Array(g,s,h);if(r.getRandomValues(w),l){process$1.nextTick(function(){l(null,f)});return}return f}if(l){x(h,function(S,C){if(S)return l(S);C.copy(f,s),l(null,f)});return}var _=x(h);return _.copy(f,s),f}function a(f,s,h){if(typeof s>"u"&&(s=0),!c.isBuffer(f)&&!(f instanceof commonjsGlobal.Uint8Array))throw new TypeError('"buf" argument must be a Buffer or Uint8Array');return n(s,f.length),h===void 0&&(h=f.length-s),i(h,s,f.length),e(f,s,h)}return browser}var hasRequiredCryptoBrowserify;function requireCryptoBrowserify(){if(hasRequiredCryptoBrowserify)return cryptoBrowserify;hasRequiredCryptoBrowserify=1,cryptoBrowserify.randomBytes=cryptoBrowserify.rng=cryptoBrowserify.pseudoRandomBytes=cryptoBrowserify.prng=requireBrowser$b(),cryptoBrowserify.createHash=cryptoBrowserify.Hash=requireBrowser$9(),cryptoBrowserify.createHmac=cryptoBrowserify.Hmac=requireBrowser$8();var v=requireAlgos(),m=Object.keys(v),x=["sha1","sha224","sha256","sha384","sha512","md5","rmd160"].concat(m);cryptoBrowserify.getHashes=function(){return x};var c=requireBrowser$7();cryptoBrowserify.pbkdf2=c.pbkdf2,cryptoBrowserify.pbkdf2Sync=c.pbkdf2Sync;var y=requireBrowser$5();cryptoBrowserify.Cipher=y.Cipher,cryptoBrowserify.createCipher=y.createCipher,cryptoBrowserify.Cipheriv=y.Cipheriv,cryptoBrowserify.createCipheriv=y.createCipheriv,cryptoBrowserify.Decipher=y.Decipher,cryptoBrowserify.createDecipher=y.createDecipher,cryptoBrowserify.Decipheriv=y.Decipheriv,cryptoBrowserify.createDecipheriv=y.createDecipheriv,cryptoBrowserify.getCiphers=y.getCiphers,cryptoBrowserify.listCiphers=y.listCiphers;var r=requireBrowser$4();cryptoBrowserify.DiffieHellmanGroup=r.DiffieHellmanGroup,cryptoBrowserify.createDiffieHellmanGroup=r.createDiffieHellmanGroup,cryptoBrowserify.getDiffieHellman=r.getDiffieHellman,cryptoBrowserify.createDiffieHellman=r.createDiffieHellman,cryptoBrowserify.DiffieHellman=r.DiffieHellman;var d=requireBrowser$3();cryptoBrowserify.createSign=d.createSign,cryptoBrowserify.Sign=d.Sign,cryptoBrowserify.createVerify=d.createVerify,cryptoBrowserify.Verify=d.Verify,cryptoBrowserify.createECDH=requireBrowser$2();var n=requireBrowser$1();cryptoBrowserify.publicEncrypt=n.publicEncrypt,cryptoBrowserify.privateEncrypt=n.privateEncrypt,cryptoBrowserify.publicDecrypt=n.publicDecrypt,cryptoBrowserify.privateDecrypt=n.privateDecrypt;var i=requireBrowser();return cryptoBrowserify.randomFill=i.randomFill,cryptoBrowserify.randomFillSync=i.randomFillSync,cryptoBrowserify.createCredentials=function(){throw new Error(`sorry, createCredentials is not implemented yet
|
|
21
|
+
we accept pull requests
|
|
22
|
+
https://github.com/browserify/crypto-browserify`)},cryptoBrowserify.constants={DH_CHECK_P_NOT_SAFE_PRIME:2,DH_CHECK_P_NOT_PRIME:1,DH_UNABLE_TO_CHECK_GENERATOR:4,DH_NOT_SUITABLE_GENERATOR:8,NPN_ENABLED:1,ALPN_ENABLED:1,RSA_PKCS1_PADDING:1,RSA_SSLV23_PADDING:2,RSA_NO_PADDING:3,RSA_PKCS1_OAEP_PADDING:4,RSA_X931_PADDING:5,RSA_PKCS1_PSS_PADDING:6,POINT_CONVERSION_COMPRESSED:2,POINT_CONVERSION_UNCOMPRESSED:4,POINT_CONVERSION_HYBRID:6},cryptoBrowserify}var core=core$1.exports,hasRequiredCore;function requireCore(){return hasRequiredCore||(hasRequiredCore=1,function(v,m){(function(x,c){v.exports=c()})(core,function(){var x=x||function(c,y){var r;if(typeof window<"u"&&window.crypto&&(r=window.crypto),typeof self<"u"&&self.crypto&&(r=self.crypto),typeof globalThis<"u"&&globalThis.crypto&&(r=globalThis.crypto),!r&&typeof window<"u"&&window.msCrypto&&(r=window.msCrypto),!r&&typeof commonjsGlobal<"u"&&commonjsGlobal.crypto&&(r=commonjsGlobal.crypto),!r&&typeof commonjsRequire=="function")try{r=requireCryptoBrowserify()}catch{}var d=function(){if(r){if(typeof r.getRandomValues=="function")try{return r.getRandomValues(new Uint32Array(1))[0]}catch{}if(typeof r.randomBytes=="function")try{return r.randomBytes(4).readInt32LE()}catch{}}throw new Error("Native crypto module could not be used to get secure random number.")},n=Object.create||function(){function _(){}return function(S){var C;return _.prototype=S,C=new _,_.prototype=null,C}}(),i={},t=i.lib={},e=t.Base=function(){return{extend:function(_){var S=n(this);return _&&S.mixIn(_),(!S.hasOwnProperty("init")||this.init===S.init)&&(S.init=function(){S.$super.init.apply(this,arguments)}),S.init.prototype=S,S.$super=this,S},create:function(){var _=this.extend();return _.init.apply(_,arguments),_},init:function(){},mixIn:function(_){for(var S in _)_.hasOwnProperty(S)&&(this[S]=_[S]);_.hasOwnProperty("toString")&&(this.toString=_.toString)},clone:function(){return this.init.prototype.extend(this)}}}(),a=t.WordArray=e.extend({init:function(_,S){_=this.words=_||[],S!=y?this.sigBytes=S:this.sigBytes=_.length*4},toString:function(_){return(_||s).stringify(this)},concat:function(_){var S=this.words,C=_.words,P=this.sigBytes,T=_.sigBytes;if(this.clamp(),P%4)for(var U=0;U<T;U++){var z=C[U>>>2]>>>24-U%4*8&255;S[P+U>>>2]|=z<<24-(P+U)%4*8}else for(var V=0;V<T;V+=4)S[P+V>>>2]=C[V>>>2];return this.sigBytes+=T,this},clamp:function(){var _=this.words,S=this.sigBytes;_[S>>>2]&=4294967295<<32-S%4*8,_.length=c.ceil(S/4)},clone:function(){var _=e.clone.call(this);return _.words=this.words.slice(0),_},random:function(_){for(var S=[],C=0;C<_;C+=4)S.push(d());return new a.init(S,_)}}),f=i.enc={},s=f.Hex={stringify:function(_){for(var S=_.words,C=_.sigBytes,P=[],T=0;T<C;T++){var U=S[T>>>2]>>>24-T%4*8&255;P.push((U>>>4).toString(16)),P.push((U&15).toString(16))}return P.join("")},parse:function(_){for(var S=_.length,C=[],P=0;P<S;P+=2)C[P>>>3]|=parseInt(_.substr(P,2),16)<<24-P%8*4;return new a.init(C,S/2)}},h=f.Latin1={stringify:function(_){for(var S=_.words,C=_.sigBytes,P=[],T=0;T<C;T++){var U=S[T>>>2]>>>24-T%4*8&255;P.push(String.fromCharCode(U))}return P.join("")},parse:function(_){for(var S=_.length,C=[],P=0;P<S;P++)C[P>>>2]|=(_.charCodeAt(P)&255)<<24-P%4*8;return new a.init(C,S)}},l=f.Utf8={stringify:function(_){try{return decodeURIComponent(escape(h.stringify(_)))}catch{throw new Error("Malformed UTF-8 data")}},parse:function(_){return h.parse(unescape(encodeURIComponent(_)))}},g=t.BufferedBlockAlgorithm=e.extend({reset:function(){this._data=new a.init,this._nDataBytes=0},_append:function(_){typeof _=="string"&&(_=l.parse(_)),this._data.concat(_),this._nDataBytes+=_.sigBytes},_process:function(_){var S,C=this._data,P=C.words,T=C.sigBytes,U=this.blockSize,z=U*4,V=T/z;_?V=c.ceil(V):V=c.max((V|0)-this._minBufferSize,0);var G=V*U,O=c.min(G*4,T);if(G){for(var u=0;u<G;u+=U)this._doProcessBlock(P,u);S=P.splice(0,G),C.sigBytes-=O}return new a.init(S,O)},clone:function(){var _=e.clone.call(this);return _._data=this._data.clone(),_},_minBufferSize:0});t.Hasher=g.extend({cfg:e.extend(),init:function(_){this.cfg=this.cfg.extend(_),this.reset()},reset:function(){g.reset.call(this),this._doReset()},update:function(_){return this._append(_),this._process(),this},finalize:function(_){_&&this._append(_);var S=this._doFinalize();return S},blockSize:16,_createHelper:function(_){return function(S,C){return new _.init(C).finalize(S)}},_createHmacHelper:function(_){return function(S,C){return new w.HMAC.init(_,C).finalize(S)}}});var w=i.algo={};return i}(Math);return x})}(core$1)),core$1.exports}var x64Core$1={exports:{}},x64Core=x64Core$1.exports,hasRequiredX64Core;function requireX64Core(){return hasRequiredX64Core||(hasRequiredX64Core=1,function(v,m){(function(x,c){v.exports=c(requireCore())})(x64Core,function(x){return function(c){var y=x,r=y.lib,d=r.Base,n=r.WordArray,i=y.x64={};i.Word=d.extend({init:function(t,e){this.high=t,this.low=e}}),i.WordArray=d.extend({init:function(t,e){t=this.words=t||[],e!=c?this.sigBytes=e:this.sigBytes=t.length*8},toX32:function(){for(var t=this.words,e=t.length,a=[],f=0;f<e;f++){var s=t[f];a.push(s.high),a.push(s.low)}return n.create(a,this.sigBytes)},clone:function(){for(var t=d.clone.call(this),e=t.words=this.words.slice(0),a=e.length,f=0;f<a;f++)e[f]=e[f].clone();return t}})}(),x})}(x64Core$1)),x64Core$1.exports}var libTypedarrays$1={exports:{}},libTypedarrays=libTypedarrays$1.exports,hasRequiredLibTypedarrays;function requireLibTypedarrays(){return hasRequiredLibTypedarrays||(hasRequiredLibTypedarrays=1,function(v,m){(function(x,c){v.exports=c(requireCore())})(libTypedarrays,function(x){return function(){if(typeof ArrayBuffer=="function"){var c=x,y=c.lib,r=y.WordArray,d=r.init,n=r.init=function(i){if(i instanceof ArrayBuffer&&(i=new Uint8Array(i)),(i instanceof Int8Array||typeof Uint8ClampedArray<"u"&&i instanceof Uint8ClampedArray||i instanceof Int16Array||i instanceof Uint16Array||i instanceof Int32Array||i instanceof Uint32Array||i instanceof Float32Array||i instanceof Float64Array)&&(i=new Uint8Array(i.buffer,i.byteOffset,i.byteLength)),i instanceof Uint8Array){for(var t=i.byteLength,e=[],a=0;a<t;a++)e[a>>>2]|=i[a]<<24-a%4*8;d.call(this,e,t)}else d.apply(this,arguments)};n.prototype=r}}(),x.lib.WordArray})}(libTypedarrays$1)),libTypedarrays$1.exports}var encUtf16$1={exports:{}},encUtf16=encUtf16$1.exports,hasRequiredEncUtf16;function requireEncUtf16(){return hasRequiredEncUtf16||(hasRequiredEncUtf16=1,function(v,m){(function(x,c){v.exports=c(requireCore())})(encUtf16,function(x){return function(){var c=x,y=c.lib,r=y.WordArray,d=c.enc;d.Utf16=d.Utf16BE={stringify:function(i){for(var t=i.words,e=i.sigBytes,a=[],f=0;f<e;f+=2){var s=t[f>>>2]>>>16-f%4*8&65535;a.push(String.fromCharCode(s))}return a.join("")},parse:function(i){for(var t=i.length,e=[],a=0;a<t;a++)e[a>>>1]|=i.charCodeAt(a)<<16-a%2*16;return r.create(e,t*2)}},d.Utf16LE={stringify:function(i){for(var t=i.words,e=i.sigBytes,a=[],f=0;f<e;f+=2){var s=n(t[f>>>2]>>>16-f%4*8&65535);a.push(String.fromCharCode(s))}return a.join("")},parse:function(i){for(var t=i.length,e=[],a=0;a<t;a++)e[a>>>1]|=n(i.charCodeAt(a)<<16-a%2*16);return r.create(e,t*2)}};function n(i){return i<<8&4278255360|i>>>8&16711935}}(),x.enc.Utf16})}(encUtf16$1)),encUtf16$1.exports}var encBase64$1={exports:{}},encBase64=encBase64$1.exports,hasRequiredEncBase64;function requireEncBase64(){return hasRequiredEncBase64||(hasRequiredEncBase64=1,function(v,m){(function(x,c){v.exports=c(requireCore())})(encBase64,function(x){return function(){var c=x,y=c.lib,r=y.WordArray,d=c.enc;d.Base64={stringify:function(i){var t=i.words,e=i.sigBytes,a=this._map;i.clamp();for(var f=[],s=0;s<e;s+=3)for(var h=t[s>>>2]>>>24-s%4*8&255,l=t[s+1>>>2]>>>24-(s+1)%4*8&255,g=t[s+2>>>2]>>>24-(s+2)%4*8&255,w=h<<16|l<<8|g,_=0;_<4&&s+_*.75<e;_++)f.push(a.charAt(w>>>6*(3-_)&63));var S=a.charAt(64);if(S)for(;f.length%4;)f.push(S);return f.join("")},parse:function(i){var t=i.length,e=this._map,a=this._reverseMap;if(!a){a=this._reverseMap=[];for(var f=0;f<e.length;f++)a[e.charCodeAt(f)]=f}var s=e.charAt(64);if(s){var h=i.indexOf(s);h!==-1&&(t=h)}return n(i,t,a)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="};function n(i,t,e){for(var a=[],f=0,s=0;s<t;s++)if(s%4){var h=e[i.charCodeAt(s-1)]<<s%4*2,l=e[i.charCodeAt(s)]>>>6-s%4*2,g=h|l;a[f>>>2]|=g<<24-f%4*8,f++}return r.create(a,f)}}(),x.enc.Base64})}(encBase64$1)),encBase64$1.exports}var encBase64url$1={exports:{}},encBase64url=encBase64url$1.exports,hasRequiredEncBase64url;function requireEncBase64url(){return hasRequiredEncBase64url||(hasRequiredEncBase64url=1,function(v,m){(function(x,c){v.exports=c(requireCore())})(encBase64url,function(x){return function(){var c=x,y=c.lib,r=y.WordArray,d=c.enc;d.Base64url={stringify:function(i,t){t===void 0&&(t=!0);var e=i.words,a=i.sigBytes,f=t?this._safe_map:this._map;i.clamp();for(var s=[],h=0;h<a;h+=3)for(var l=e[h>>>2]>>>24-h%4*8&255,g=e[h+1>>>2]>>>24-(h+1)%4*8&255,w=e[h+2>>>2]>>>24-(h+2)%4*8&255,_=l<<16|g<<8|w,S=0;S<4&&h+S*.75<a;S++)s.push(f.charAt(_>>>6*(3-S)&63));var C=f.charAt(64);if(C)for(;s.length%4;)s.push(C);return s.join("")},parse:function(i,t){t===void 0&&(t=!0);var e=i.length,a=t?this._safe_map:this._map,f=this._reverseMap;if(!f){f=this._reverseMap=[];for(var s=0;s<a.length;s++)f[a.charCodeAt(s)]=s}var h=a.charAt(64);if(h){var l=i.indexOf(h);l!==-1&&(e=l)}return n(i,e,f)},_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",_safe_map:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789-_"};function n(i,t,e){for(var a=[],f=0,s=0;s<t;s++)if(s%4){var h=e[i.charCodeAt(s-1)]<<s%4*2,l=e[i.charCodeAt(s)]>>>6-s%4*2,g=h|l;a[f>>>2]|=g<<24-f%4*8,f++}return r.create(a,f)}}(),x.enc.Base64url})}(encBase64url$1)),encBase64url$1.exports}var md5$1={exports:{}},md5=md5$1.exports,hasRequiredMd5;function requireMd5(){return hasRequiredMd5||(hasRequiredMd5=1,function(v,m){(function(x,c){v.exports=c(requireCore())})(md5,function(x){return function(c){var y=x,r=y.lib,d=r.WordArray,n=r.Hasher,i=y.algo,t=[];(function(){for(var l=0;l<64;l++)t[l]=c.abs(c.sin(l+1))*4294967296|0})();var e=i.MD5=n.extend({_doReset:function(){this._hash=new d.init([1732584193,4023233417,2562383102,271733878])},_doProcessBlock:function(l,g){for(var w=0;w<16;w++){var _=g+w,S=l[_];l[_]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360}var C=this._hash.words,P=l[g+0],T=l[g+1],U=l[g+2],z=l[g+3],V=l[g+4],G=l[g+5],O=l[g+6],u=l[g+7],p=l[g+8],o=l[g+9],b=l[g+10],E=l[g+11],A=l[g+12],M=l[g+13],D=l[g+14],B=l[g+15],R=C[0],q=C[1],F=C[2],W=C[3];R=a(R,q,F,W,P,7,t[0]),W=a(W,R,q,F,T,12,t[1]),F=a(F,W,R,q,U,17,t[2]),q=a(q,F,W,R,z,22,t[3]),R=a(R,q,F,W,V,7,t[4]),W=a(W,R,q,F,G,12,t[5]),F=a(F,W,R,q,O,17,t[6]),q=a(q,F,W,R,u,22,t[7]),R=a(R,q,F,W,p,7,t[8]),W=a(W,R,q,F,o,12,t[9]),F=a(F,W,R,q,b,17,t[10]),q=a(q,F,W,R,E,22,t[11]),R=a(R,q,F,W,A,7,t[12]),W=a(W,R,q,F,M,12,t[13]),F=a(F,W,R,q,D,17,t[14]),q=a(q,F,W,R,B,22,t[15]),R=f(R,q,F,W,T,5,t[16]),W=f(W,R,q,F,O,9,t[17]),F=f(F,W,R,q,E,14,t[18]),q=f(q,F,W,R,P,20,t[19]),R=f(R,q,F,W,G,5,t[20]),W=f(W,R,q,F,b,9,t[21]),F=f(F,W,R,q,B,14,t[22]),q=f(q,F,W,R,V,20,t[23]),R=f(R,q,F,W,o,5,t[24]),W=f(W,R,q,F,D,9,t[25]),F=f(F,W,R,q,z,14,t[26]),q=f(q,F,W,R,p,20,t[27]),R=f(R,q,F,W,M,5,t[28]),W=f(W,R,q,F,U,9,t[29]),F=f(F,W,R,q,u,14,t[30]),q=f(q,F,W,R,A,20,t[31]),R=s(R,q,F,W,G,4,t[32]),W=s(W,R,q,F,p,11,t[33]),F=s(F,W,R,q,E,16,t[34]),q=s(q,F,W,R,D,23,t[35]),R=s(R,q,F,W,T,4,t[36]),W=s(W,R,q,F,V,11,t[37]),F=s(F,W,R,q,u,16,t[38]),q=s(q,F,W,R,b,23,t[39]),R=s(R,q,F,W,M,4,t[40]),W=s(W,R,q,F,P,11,t[41]),F=s(F,W,R,q,z,16,t[42]),q=s(q,F,W,R,O,23,t[43]),R=s(R,q,F,W,o,4,t[44]),W=s(W,R,q,F,A,11,t[45]),F=s(F,W,R,q,B,16,t[46]),q=s(q,F,W,R,U,23,t[47]),R=h(R,q,F,W,P,6,t[48]),W=h(W,R,q,F,u,10,t[49]),F=h(F,W,R,q,D,15,t[50]),q=h(q,F,W,R,G,21,t[51]),R=h(R,q,F,W,A,6,t[52]),W=h(W,R,q,F,z,10,t[53]),F=h(F,W,R,q,b,15,t[54]),q=h(q,F,W,R,T,21,t[55]),R=h(R,q,F,W,p,6,t[56]),W=h(W,R,q,F,B,10,t[57]),F=h(F,W,R,q,O,15,t[58]),q=h(q,F,W,R,M,21,t[59]),R=h(R,q,F,W,V,6,t[60]),W=h(W,R,q,F,E,10,t[61]),F=h(F,W,R,q,U,15,t[62]),q=h(q,F,W,R,o,21,t[63]),C[0]=C[0]+R|0,C[1]=C[1]+q|0,C[2]=C[2]+F|0,C[3]=C[3]+W|0},_doFinalize:function(){var l=this._data,g=l.words,w=this._nDataBytes*8,_=l.sigBytes*8;g[_>>>5]|=128<<24-_%32;var S=c.floor(w/4294967296),C=w;g[(_+64>>>9<<4)+15]=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360,g[(_+64>>>9<<4)+14]=(C<<8|C>>>24)&16711935|(C<<24|C>>>8)&4278255360,l.sigBytes=(g.length+1)*4,this._process();for(var P=this._hash,T=P.words,U=0;U<4;U++){var z=T[U];T[U]=(z<<8|z>>>24)&16711935|(z<<24|z>>>8)&4278255360}return P},clone:function(){var l=n.clone.call(this);return l._hash=this._hash.clone(),l}});function a(l,g,w,_,S,C,P){var T=l+(g&w|~g&_)+S+P;return(T<<C|T>>>32-C)+g}function f(l,g,w,_,S,C,P){var T=l+(g&_|w&~_)+S+P;return(T<<C|T>>>32-C)+g}function s(l,g,w,_,S,C,P){var T=l+(g^w^_)+S+P;return(T<<C|T>>>32-C)+g}function h(l,g,w,_,S,C,P){var T=l+(w^(g|~_))+S+P;return(T<<C|T>>>32-C)+g}y.MD5=n._createHelper(e),y.HmacMD5=n._createHmacHelper(e)}(Math),x.MD5})}(md5$1)),md5$1.exports}var sha1$1={exports:{}},sha1=sha1$1.exports,hasRequiredSha1;function requireSha1(){return hasRequiredSha1||(hasRequiredSha1=1,function(v,m){(function(x,c){v.exports=c(requireCore())})(sha1,function(x){return function(){var c=x,y=c.lib,r=y.WordArray,d=y.Hasher,n=c.algo,i=[],t=n.SHA1=d.extend({_doReset:function(){this._hash=new r.init([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(e,a){for(var f=this._hash.words,s=f[0],h=f[1],l=f[2],g=f[3],w=f[4],_=0;_<80;_++){if(_<16)i[_]=e[a+_]|0;else{var S=i[_-3]^i[_-8]^i[_-14]^i[_-16];i[_]=S<<1|S>>>31}var C=(s<<5|s>>>27)+w+i[_];_<20?C+=(h&l|~h&g)+1518500249:_<40?C+=(h^l^g)+1859775393:_<60?C+=(h&l|h&g|l&g)-1894007588:C+=(h^l^g)-899497514,w=g,g=l,l=h<<30|h>>>2,h=s,s=C}f[0]=f[0]+s|0,f[1]=f[1]+h|0,f[2]=f[2]+l|0,f[3]=f[3]+g|0,f[4]=f[4]+w|0},_doFinalize:function(){var e=this._data,a=e.words,f=this._nDataBytes*8,s=e.sigBytes*8;return a[s>>>5]|=128<<24-s%32,a[(s+64>>>9<<4)+14]=Math.floor(f/4294967296),a[(s+64>>>9<<4)+15]=f,e.sigBytes=a.length*4,this._process(),this._hash},clone:function(){var e=d.clone.call(this);return e._hash=this._hash.clone(),e}});c.SHA1=d._createHelper(t),c.HmacSHA1=d._createHmacHelper(t)}(),x.SHA1})}(sha1$1)),sha1$1.exports}var sha256$1={exports:{}},sha256=sha256$1.exports,hasRequiredSha256;function requireSha256(){return hasRequiredSha256||(hasRequiredSha256=1,function(v,m){(function(x,c){v.exports=c(requireCore())})(sha256,function(x){return function(c){var y=x,r=y.lib,d=r.WordArray,n=r.Hasher,i=y.algo,t=[],e=[];(function(){function s(w){for(var _=c.sqrt(w),S=2;S<=_;S++)if(!(w%S))return!1;return!0}function h(w){return(w-(w|0))*4294967296|0}for(var l=2,g=0;g<64;)s(l)&&(g<8&&(t[g]=h(c.pow(l,1/2))),e[g]=h(c.pow(l,1/3)),g++),l++})();var a=[],f=i.SHA256=n.extend({_doReset:function(){this._hash=new d.init(t.slice(0))},_doProcessBlock:function(s,h){for(var l=this._hash.words,g=l[0],w=l[1],_=l[2],S=l[3],C=l[4],P=l[5],T=l[6],U=l[7],z=0;z<64;z++){if(z<16)a[z]=s[h+z]|0;else{var V=a[z-15],G=(V<<25|V>>>7)^(V<<14|V>>>18)^V>>>3,O=a[z-2],u=(O<<15|O>>>17)^(O<<13|O>>>19)^O>>>10;a[z]=G+a[z-7]+u+a[z-16]}var p=C&P^~C&T,o=g&w^g&_^w&_,b=(g<<30|g>>>2)^(g<<19|g>>>13)^(g<<10|g>>>22),E=(C<<26|C>>>6)^(C<<21|C>>>11)^(C<<7|C>>>25),A=U+E+p+e[z]+a[z],M=b+o;U=T,T=P,P=C,C=S+A|0,S=_,_=w,w=g,g=A+M|0}l[0]=l[0]+g|0,l[1]=l[1]+w|0,l[2]=l[2]+_|0,l[3]=l[3]+S|0,l[4]=l[4]+C|0,l[5]=l[5]+P|0,l[6]=l[6]+T|0,l[7]=l[7]+U|0},_doFinalize:function(){var s=this._data,h=s.words,l=this._nDataBytes*8,g=s.sigBytes*8;return h[g>>>5]|=128<<24-g%32,h[(g+64>>>9<<4)+14]=c.floor(l/4294967296),h[(g+64>>>9<<4)+15]=l,s.sigBytes=h.length*4,this._process(),this._hash},clone:function(){var s=n.clone.call(this);return s._hash=this._hash.clone(),s}});y.SHA256=n._createHelper(f),y.HmacSHA256=n._createHmacHelper(f)}(Math),x.SHA256})}(sha256$1)),sha256$1.exports}var sha224$1={exports:{}},sha224=sha224$1.exports,hasRequiredSha224;function requireSha224(){return hasRequiredSha224||(hasRequiredSha224=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireSha256())})(sha224,function(x){return function(){var c=x,y=c.lib,r=y.WordArray,d=c.algo,n=d.SHA256,i=d.SHA224=n.extend({_doReset:function(){this._hash=new r.init([3238371032,914150663,812702999,4144912697,4290775857,1750603025,1694076839,3204075428])},_doFinalize:function(){var t=n._doFinalize.call(this);return t.sigBytes-=4,t}});c.SHA224=n._createHelper(i),c.HmacSHA224=n._createHmacHelper(i)}(),x.SHA224})}(sha224$1)),sha224$1.exports}var sha512$1={exports:{}},sha512=sha512$1.exports,hasRequiredSha512;function requireSha512(){return hasRequiredSha512||(hasRequiredSha512=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireX64Core())})(sha512,function(x){return function(){var c=x,y=c.lib,r=y.Hasher,d=c.x64,n=d.Word,i=d.WordArray,t=c.algo;function e(){return n.create.apply(n,arguments)}var a=[e(1116352408,3609767458),e(1899447441,602891725),e(3049323471,3964484399),e(3921009573,2173295548),e(961987163,4081628472),e(1508970993,3053834265),e(2453635748,2937671579),e(2870763221,3664609560),e(3624381080,2734883394),e(310598401,1164996542),e(607225278,1323610764),e(1426881987,3590304994),e(1925078388,4068182383),e(2162078206,991336113),e(2614888103,633803317),e(3248222580,3479774868),e(3835390401,2666613458),e(4022224774,944711139),e(264347078,2341262773),e(604807628,2007800933),e(770255983,1495990901),e(1249150122,1856431235),e(1555081692,3175218132),e(1996064986,2198950837),e(2554220882,3999719339),e(2821834349,766784016),e(2952996808,2566594879),e(3210313671,3203337956),e(3336571891,1034457026),e(3584528711,2466948901),e(113926993,3758326383),e(338241895,168717936),e(666307205,1188179964),e(773529912,1546045734),e(1294757372,1522805485),e(1396182291,2643833823),e(1695183700,2343527390),e(1986661051,1014477480),e(2177026350,1206759142),e(2456956037,344077627),e(2730485921,1290863460),e(2820302411,3158454273),e(3259730800,3505952657),e(3345764771,106217008),e(3516065817,3606008344),e(3600352804,1432725776),e(4094571909,1467031594),e(275423344,851169720),e(430227734,3100823752),e(506948616,1363258195),e(659060556,3750685593),e(883997877,3785050280),e(958139571,3318307427),e(1322822218,3812723403),e(1537002063,2003034995),e(1747873779,3602036899),e(1955562222,1575990012),e(2024104815,1125592928),e(2227730452,2716904306),e(2361852424,442776044),e(2428436474,593698344),e(2756734187,3733110249),e(3204031479,2999351573),e(3329325298,3815920427),e(3391569614,3928383900),e(3515267271,566280711),e(3940187606,3454069534),e(4118630271,4000239992),e(116418474,1914138554),e(174292421,2731055270),e(289380356,3203993006),e(460393269,320620315),e(685471733,587496836),e(852142971,1086792851),e(1017036298,365543100),e(1126000580,2618297676),e(1288033470,3409855158),e(1501505948,4234509866),e(1607167915,987167468),e(1816402316,1246189591)],f=[];(function(){for(var h=0;h<80;h++)f[h]=e()})();var s=t.SHA512=r.extend({_doReset:function(){this._hash=new i.init([new n.init(1779033703,4089235720),new n.init(3144134277,2227873595),new n.init(1013904242,4271175723),new n.init(2773480762,1595750129),new n.init(1359893119,2917565137),new n.init(2600822924,725511199),new n.init(528734635,4215389547),new n.init(1541459225,327033209)])},_doProcessBlock:function(h,l){for(var g=this._hash.words,w=g[0],_=g[1],S=g[2],C=g[3],P=g[4],T=g[5],U=g[6],z=g[7],V=w.high,G=w.low,O=_.high,u=_.low,p=S.high,o=S.low,b=C.high,E=C.low,A=P.high,M=P.low,D=T.high,B=T.low,R=U.high,q=U.low,F=z.high,W=z.low,Y=V,X=G,k=O,N=u,Z=p,Q=o,H=b,L=E,ee=A,ne=M,fe=D,ae=B,ue=R,ce=q,ie=F,be=W,oe=0;oe<80;oe++){var se,de,he=f[oe];if(oe<16)de=he.high=h[l+oe*2]|0,se=he.low=h[l+oe*2+1]|0;else{var qe=f[oe-15],Se=qe.high,ve=qe.low,Me=(Se>>>1|ve<<31)^(Se>>>8|ve<<24)^Se>>>7,$e=(ve>>>1|Se<<31)^(ve>>>8|Se<<24)^(ve>>>7|Se<<25),me=f[oe-2],Fe=me.high,ke=me.low,ge=(Fe>>>19|ke<<13)^(Fe<<3|ke>>>29)^Fe>>>6,Ie=(ke>>>19|Fe<<13)^(ke<<3|Fe>>>29)^(ke>>>6|Fe<<26),Pe=f[oe-7],Be=Pe.high,Le=Pe.low,Te=f[oe-16],Ae=Te.high,Ne=Te.low;se=$e+Le,de=Me+Be+(se>>>0<$e>>>0?1:0),se=se+Ie,de=de+ge+(se>>>0<Ie>>>0?1:0),se=se+Ne,de=de+Ae+(se>>>0<Ne>>>0?1:0),he.high=de,he.low=se}var Ue=ee&fe^~ee&ue,xe=ne&ae^~ne&ce,Ce=Y&k^Y&Z^k&Z,Oe=X&N^X&Q^N&Q,Ee=(Y>>>28|X<<4)^(Y<<30|X>>>2)^(Y<<25|X>>>7),De=(X>>>28|Y<<4)^(X<<30|Y>>>2)^(X<<25|Y>>>7),je=(ee>>>14|ne<<18)^(ee>>>18|ne<<14)^(ee<<23|ne>>>9),j=(ne>>>14|ee<<18)^(ne>>>18|ee<<14)^(ne<<23|ee>>>9),$=a[oe],I=$.high,K=$.low,J=be+j,re=ie+je+(J>>>0<be>>>0?1:0),J=J+xe,re=re+Ue+(J>>>0<xe>>>0?1:0),J=J+K,re=re+I+(J>>>0<K>>>0?1:0),J=J+se,re=re+de+(J>>>0<se>>>0?1:0),te=De+Oe,pe=Ee+Ce+(te>>>0<De>>>0?1:0);ie=ue,be=ce,ue=fe,ce=ae,fe=ee,ae=ne,ne=L+J|0,ee=H+re+(ne>>>0<L>>>0?1:0)|0,H=Z,L=Q,Z=k,Q=N,k=Y,N=X,X=J+te|0,Y=re+pe+(X>>>0<J>>>0?1:0)|0}G=w.low=G+X,w.high=V+Y+(G>>>0<X>>>0?1:0),u=_.low=u+N,_.high=O+k+(u>>>0<N>>>0?1:0),o=S.low=o+Q,S.high=p+Z+(o>>>0<Q>>>0?1:0),E=C.low=E+L,C.high=b+H+(E>>>0<L>>>0?1:0),M=P.low=M+ne,P.high=A+ee+(M>>>0<ne>>>0?1:0),B=T.low=B+ae,T.high=D+fe+(B>>>0<ae>>>0?1:0),q=U.low=q+ce,U.high=R+ue+(q>>>0<ce>>>0?1:0),W=z.low=W+be,z.high=F+ie+(W>>>0<be>>>0?1:0)},_doFinalize:function(){var h=this._data,l=h.words,g=this._nDataBytes*8,w=h.sigBytes*8;l[w>>>5]|=128<<24-w%32,l[(w+128>>>10<<5)+30]=Math.floor(g/4294967296),l[(w+128>>>10<<5)+31]=g,h.sigBytes=l.length*4,this._process();var _=this._hash.toX32();return _},clone:function(){var h=r.clone.call(this);return h._hash=this._hash.clone(),h},blockSize:1024/32});c.SHA512=r._createHelper(s),c.HmacSHA512=r._createHmacHelper(s)}(),x.SHA512})}(sha512$1)),sha512$1.exports}var sha384$1={exports:{}},sha384=sha384$1.exports,hasRequiredSha384;function requireSha384(){return hasRequiredSha384||(hasRequiredSha384=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireX64Core(),requireSha512())})(sha384,function(x){return function(){var c=x,y=c.x64,r=y.Word,d=y.WordArray,n=c.algo,i=n.SHA512,t=n.SHA384=i.extend({_doReset:function(){this._hash=new d.init([new r.init(3418070365,3238371032),new r.init(1654270250,914150663),new r.init(2438529370,812702999),new r.init(355462360,4144912697),new r.init(1731405415,4290775857),new r.init(2394180231,1750603025),new r.init(3675008525,1694076839),new r.init(1203062813,3204075428)])},_doFinalize:function(){var e=i._doFinalize.call(this);return e.sigBytes-=16,e}});c.SHA384=i._createHelper(t),c.HmacSHA384=i._createHmacHelper(t)}(),x.SHA384})}(sha384$1)),sha384$1.exports}var sha3$1={exports:{}},sha3=sha3$1.exports,hasRequiredSha3;function requireSha3(){return hasRequiredSha3||(hasRequiredSha3=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireX64Core())})(sha3,function(x){return function(c){var y=x,r=y.lib,d=r.WordArray,n=r.Hasher,i=y.x64,t=i.Word,e=y.algo,a=[],f=[],s=[];(function(){for(var g=1,w=0,_=0;_<24;_++){a[g+5*w]=(_+1)*(_+2)/2%64;var S=w%5,C=(2*g+3*w)%5;g=S,w=C}for(var g=0;g<5;g++)for(var w=0;w<5;w++)f[g+5*w]=w+(2*g+3*w)%5*5;for(var P=1,T=0;T<24;T++){for(var U=0,z=0,V=0;V<7;V++){if(P&1){var G=(1<<V)-1;G<32?z^=1<<G:U^=1<<G-32}P&128?P=P<<1^113:P<<=1}s[T]=t.create(U,z)}})();var h=[];(function(){for(var g=0;g<25;g++)h[g]=t.create()})();var l=e.SHA3=n.extend({cfg:n.cfg.extend({outputLength:512}),_doReset:function(){for(var g=this._state=[],w=0;w<25;w++)g[w]=new t.init;this.blockSize=(1600-2*this.cfg.outputLength)/32},_doProcessBlock:function(g,w){for(var _=this._state,S=this.blockSize/2,C=0;C<S;C++){var P=g[w+2*C],T=g[w+2*C+1];P=(P<<8|P>>>24)&16711935|(P<<24|P>>>8)&4278255360,T=(T<<8|T>>>24)&16711935|(T<<24|T>>>8)&4278255360;var U=_[C];U.high^=T,U.low^=P}for(var z=0;z<24;z++){for(var V=0;V<5;V++){for(var G=0,O=0,u=0;u<5;u++){var U=_[V+5*u];G^=U.high,O^=U.low}var p=h[V];p.high=G,p.low=O}for(var V=0;V<5;V++)for(var o=h[(V+4)%5],b=h[(V+1)%5],E=b.high,A=b.low,G=o.high^(E<<1|A>>>31),O=o.low^(A<<1|E>>>31),u=0;u<5;u++){var U=_[V+5*u];U.high^=G,U.low^=O}for(var M=1;M<25;M++){var G,O,U=_[M],D=U.high,B=U.low,R=a[M];R<32?(G=D<<R|B>>>32-R,O=B<<R|D>>>32-R):(G=B<<R-32|D>>>64-R,O=D<<R-32|B>>>64-R);var q=h[f[M]];q.high=G,q.low=O}var F=h[0],W=_[0];F.high=W.high,F.low=W.low;for(var V=0;V<5;V++)for(var u=0;u<5;u++){var M=V+5*u,U=_[M],Y=h[M],X=h[(V+1)%5+5*u],k=h[(V+2)%5+5*u];U.high=Y.high^~X.high&k.high,U.low=Y.low^~X.low&k.low}var U=_[0],N=s[z];U.high^=N.high,U.low^=N.low}},_doFinalize:function(){var g=this._data,w=g.words;this._nDataBytes*8;var _=g.sigBytes*8,S=this.blockSize*32;w[_>>>5]|=1<<24-_%32,w[(c.ceil((_+1)/S)*S>>>5)-1]|=128,g.sigBytes=w.length*4,this._process();for(var C=this._state,P=this.cfg.outputLength/8,T=P/8,U=[],z=0;z<T;z++){var V=C[z],G=V.high,O=V.low;G=(G<<8|G>>>24)&16711935|(G<<24|G>>>8)&4278255360,O=(O<<8|O>>>24)&16711935|(O<<24|O>>>8)&4278255360,U.push(O),U.push(G)}return new d.init(U,P)},clone:function(){for(var g=n.clone.call(this),w=g._state=this._state.slice(0),_=0;_<25;_++)w[_]=w[_].clone();return g}});y.SHA3=n._createHelper(l),y.HmacSHA3=n._createHmacHelper(l)}(Math),x.SHA3})}(sha3$1)),sha3$1.exports}var ripemd160$1={exports:{}},ripemd160=ripemd160$1.exports,hasRequiredRipemd160;function requireRipemd160(){return hasRequiredRipemd160||(hasRequiredRipemd160=1,function(v,m){(function(x,c){v.exports=c(requireCore())})(ripemd160,function(x){/** @preserve
|
|
23
|
+
(c) 2012 by Cédric Mesnil. All rights reserved.
|
|
24
|
+
|
|
25
|
+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
|
|
26
|
+
|
|
27
|
+
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
|
|
28
|
+
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
|
|
29
|
+
|
|
30
|
+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
31
|
+
*/return function(c){var y=x,r=y.lib,d=r.WordArray,n=r.Hasher,i=y.algo,t=d.create([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,7,4,13,1,10,6,15,3,12,0,9,5,2,14,11,8,3,10,14,4,9,15,8,1,2,7,0,6,13,11,5,12,1,9,11,10,0,8,12,4,13,3,7,15,14,5,6,2,4,0,5,9,7,12,2,10,14,1,3,8,11,6,15,13]),e=d.create([5,14,7,0,9,2,11,4,13,6,15,8,1,10,3,12,6,11,3,7,0,13,5,10,14,15,8,12,4,9,1,2,15,5,1,3,7,14,6,9,11,8,12,2,10,0,4,13,8,6,4,1,3,11,15,0,5,12,2,13,9,7,10,14,12,15,10,4,1,5,8,7,6,2,13,14,0,3,9,11]),a=d.create([11,14,15,12,5,8,7,9,11,13,14,15,6,7,9,8,7,6,8,13,11,9,7,15,7,12,15,9,11,7,13,12,11,13,6,7,14,9,13,15,14,8,13,6,5,12,7,5,11,12,14,15,14,15,9,8,9,14,5,6,8,6,5,12,9,15,5,11,6,8,13,12,5,12,13,14,11,8,5,6]),f=d.create([8,9,9,11,13,15,15,5,7,7,8,11,14,14,12,6,9,13,15,7,12,8,9,11,7,7,12,7,6,15,13,11,9,7,15,11,8,6,6,14,12,13,5,14,13,13,7,5,15,5,8,11,14,14,6,14,6,9,12,9,12,5,15,8,8,5,12,9,12,5,14,6,8,13,6,5,15,13,11,11]),s=d.create([0,1518500249,1859775393,2400959708,2840853838]),h=d.create([1352829926,1548603684,1836072691,2053994217,0]),l=i.RIPEMD160=n.extend({_doReset:function(){this._hash=d.create([1732584193,4023233417,2562383102,271733878,3285377520])},_doProcessBlock:function(T,U){for(var z=0;z<16;z++){var V=U+z,G=T[V];T[V]=(G<<8|G>>>24)&16711935|(G<<24|G>>>8)&4278255360}var O=this._hash.words,u=s.words,p=h.words,o=t.words,b=e.words,E=a.words,A=f.words,M,D,B,R,q,F,W,Y,X,k;F=M=O[0],W=D=O[1],Y=B=O[2],X=R=O[3],k=q=O[4];for(var N,z=0;z<80;z+=1)N=M+T[U+o[z]]|0,z<16?N+=g(D,B,R)+u[0]:z<32?N+=w(D,B,R)+u[1]:z<48?N+=_(D,B,R)+u[2]:z<64?N+=S(D,B,R)+u[3]:N+=C(D,B,R)+u[4],N=N|0,N=P(N,E[z]),N=N+q|0,M=q,q=R,R=P(B,10),B=D,D=N,N=F+T[U+b[z]]|0,z<16?N+=C(W,Y,X)+p[0]:z<32?N+=S(W,Y,X)+p[1]:z<48?N+=_(W,Y,X)+p[2]:z<64?N+=w(W,Y,X)+p[3]:N+=g(W,Y,X)+p[4],N=N|0,N=P(N,A[z]),N=N+k|0,F=k,k=X,X=P(Y,10),Y=W,W=N;N=O[1]+B+X|0,O[1]=O[2]+R+k|0,O[2]=O[3]+q+F|0,O[3]=O[4]+M+W|0,O[4]=O[0]+D+Y|0,O[0]=N},_doFinalize:function(){var T=this._data,U=T.words,z=this._nDataBytes*8,V=T.sigBytes*8;U[V>>>5]|=128<<24-V%32,U[(V+64>>>9<<4)+14]=(z<<8|z>>>24)&16711935|(z<<24|z>>>8)&4278255360,T.sigBytes=(U.length+1)*4,this._process();for(var G=this._hash,O=G.words,u=0;u<5;u++){var p=O[u];O[u]=(p<<8|p>>>24)&16711935|(p<<24|p>>>8)&4278255360}return G},clone:function(){var T=n.clone.call(this);return T._hash=this._hash.clone(),T}});function g(T,U,z){return T^U^z}function w(T,U,z){return T&U|~T&z}function _(T,U,z){return(T|~U)^z}function S(T,U,z){return T&z|U&~z}function C(T,U,z){return T^(U|~z)}function P(T,U){return T<<U|T>>>32-U}y.RIPEMD160=n._createHelper(l),y.HmacRIPEMD160=n._createHmacHelper(l)}(),x.RIPEMD160})}(ripemd160$1)),ripemd160$1.exports}var hmac$1={exports:{}},hmac=hmac$1.exports,hasRequiredHmac;function requireHmac(){return hasRequiredHmac||(hasRequiredHmac=1,function(v,m){(function(x,c){v.exports=c(requireCore())})(hmac,function(x){(function(){var c=x,y=c.lib,r=y.Base,d=c.enc,n=d.Utf8,i=c.algo;i.HMAC=r.extend({init:function(t,e){t=this._hasher=new t.init,typeof e=="string"&&(e=n.parse(e));var a=t.blockSize,f=a*4;e.sigBytes>f&&(e=t.finalize(e)),e.clamp();for(var s=this._oKey=e.clone(),h=this._iKey=e.clone(),l=s.words,g=h.words,w=0;w<a;w++)l[w]^=1549556828,g[w]^=909522486;s.sigBytes=h.sigBytes=f,this.reset()},reset:function(){var t=this._hasher;t.reset(),t.update(this._iKey)},update:function(t){return this._hasher.update(t),this},finalize:function(t){var e=this._hasher,a=e.finalize(t);e.reset();var f=e.finalize(this._oKey.clone().concat(a));return f}})})()})}(hmac$1)),hmac$1.exports}var pbkdf2$1={exports:{}},pbkdf2=pbkdf2$1.exports,hasRequiredPbkdf2;function requirePbkdf2(){return hasRequiredPbkdf2||(hasRequiredPbkdf2=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireSha256(),requireHmac())})(pbkdf2,function(x){return function(){var c=x,y=c.lib,r=y.Base,d=y.WordArray,n=c.algo,i=n.SHA256,t=n.HMAC,e=n.PBKDF2=r.extend({cfg:r.extend({keySize:128/32,hasher:i,iterations:25e4}),init:function(a){this.cfg=this.cfg.extend(a)},compute:function(a,f){for(var s=this.cfg,h=t.create(s.hasher,a),l=d.create(),g=d.create([1]),w=l.words,_=g.words,S=s.keySize,C=s.iterations;w.length<S;){var P=h.update(f).finalize(g);h.reset();for(var T=P.words,U=T.length,z=P,V=1;V<C;V++){z=h.finalize(z),h.reset();for(var G=z.words,O=0;O<U;O++)T[O]^=G[O]}l.concat(P),_[0]++}return l.sigBytes=S*4,l}});c.PBKDF2=function(a,f,s){return e.create(s).compute(a,f)}}(),x.PBKDF2})}(pbkdf2$1)),pbkdf2$1.exports}var evpkdf$1={exports:{}},evpkdf=evpkdf$1.exports,hasRequiredEvpkdf;function requireEvpkdf(){return hasRequiredEvpkdf||(hasRequiredEvpkdf=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireSha1(),requireHmac())})(evpkdf,function(x){return function(){var c=x,y=c.lib,r=y.Base,d=y.WordArray,n=c.algo,i=n.MD5,t=n.EvpKDF=r.extend({cfg:r.extend({keySize:128/32,hasher:i,iterations:1}),init:function(e){this.cfg=this.cfg.extend(e)},compute:function(e,a){for(var f,s=this.cfg,h=s.hasher.create(),l=d.create(),g=l.words,w=s.keySize,_=s.iterations;g.length<w;){f&&h.update(f),f=h.update(e).finalize(a),h.reset();for(var S=1;S<_;S++)f=h.finalize(f),h.reset();l.concat(f)}return l.sigBytes=w*4,l}});c.EvpKDF=function(e,a,f){return t.create(f).compute(e,a)}}(),x.EvpKDF})}(evpkdf$1)),evpkdf$1.exports}var cipherCore$1={exports:{}},cipherCore=cipherCore$1.exports,hasRequiredCipherCore;function requireCipherCore(){return hasRequiredCipherCore||(hasRequiredCipherCore=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireEvpkdf())})(cipherCore,function(x){x.lib.Cipher||function(c){var y=x,r=y.lib,d=r.Base,n=r.WordArray,i=r.BufferedBlockAlgorithm,t=y.enc;t.Utf8;var e=t.Base64,a=y.algo,f=a.EvpKDF,s=r.Cipher=i.extend({cfg:d.extend(),createEncryptor:function(G,O){return this.create(this._ENC_XFORM_MODE,G,O)},createDecryptor:function(G,O){return this.create(this._DEC_XFORM_MODE,G,O)},init:function(G,O,u){this.cfg=this.cfg.extend(u),this._xformMode=G,this._key=O,this.reset()},reset:function(){i.reset.call(this),this._doReset()},process:function(G){return this._append(G),this._process()},finalize:function(G){G&&this._append(G);var O=this._doFinalize();return O},keySize:128/32,ivSize:128/32,_ENC_XFORM_MODE:1,_DEC_XFORM_MODE:2,_createHelper:function(){function G(O){return typeof O=="string"?V:T}return function(O){return{encrypt:function(u,p,o){return G(p).encrypt(O,u,p,o)},decrypt:function(u,p,o){return G(p).decrypt(O,u,p,o)}}}}()});r.StreamCipher=s.extend({_doFinalize:function(){var G=this._process(!0);return G},blockSize:1});var h=y.mode={},l=r.BlockCipherMode=d.extend({createEncryptor:function(G,O){return this.Encryptor.create(G,O)},createDecryptor:function(G,O){return this.Decryptor.create(G,O)},init:function(G,O){this._cipher=G,this._iv=O}}),g=h.CBC=function(){var G=l.extend();G.Encryptor=G.extend({processBlock:function(u,p){var o=this._cipher,b=o.blockSize;O.call(this,u,p,b),o.encryptBlock(u,p),this._prevBlock=u.slice(p,p+b)}}),G.Decryptor=G.extend({processBlock:function(u,p){var o=this._cipher,b=o.blockSize,E=u.slice(p,p+b);o.decryptBlock(u,p),O.call(this,u,p,b),this._prevBlock=E}});function O(u,p,o){var b,E=this._iv;E?(b=E,this._iv=c):b=this._prevBlock;for(var A=0;A<o;A++)u[p+A]^=b[A]}return G}(),w=y.pad={},_=w.Pkcs7={pad:function(G,O){for(var u=O*4,p=u-G.sigBytes%u,o=p<<24|p<<16|p<<8|p,b=[],E=0;E<p;E+=4)b.push(o);var A=n.create(b,p);G.concat(A)},unpad:function(G){var O=G.words[G.sigBytes-1>>>2]&255;G.sigBytes-=O}};r.BlockCipher=s.extend({cfg:s.cfg.extend({mode:g,padding:_}),reset:function(){var G;s.reset.call(this);var O=this.cfg,u=O.iv,p=O.mode;this._xformMode==this._ENC_XFORM_MODE?G=p.createEncryptor:(G=p.createDecryptor,this._minBufferSize=1),this._mode&&this._mode.__creator==G?this._mode.init(this,u&&u.words):(this._mode=G.call(p,this,u&&u.words),this._mode.__creator=G)},_doProcessBlock:function(G,O){this._mode.processBlock(G,O)},_doFinalize:function(){var G,O=this.cfg.padding;return this._xformMode==this._ENC_XFORM_MODE?(O.pad(this._data,this.blockSize),G=this._process(!0)):(G=this._process(!0),O.unpad(G)),G},blockSize:128/32});var S=r.CipherParams=d.extend({init:function(G){this.mixIn(G)},toString:function(G){return(G||this.formatter).stringify(this)}}),C=y.format={},P=C.OpenSSL={stringify:function(G){var O,u=G.ciphertext,p=G.salt;return p?O=n.create([1398893684,1701076831]).concat(p).concat(u):O=u,O.toString(e)},parse:function(G){var O,u=e.parse(G),p=u.words;return p[0]==1398893684&&p[1]==1701076831&&(O=n.create(p.slice(2,4)),p.splice(0,4),u.sigBytes-=16),S.create({ciphertext:u,salt:O})}},T=r.SerializableCipher=d.extend({cfg:d.extend({format:P}),encrypt:function(G,O,u,p){p=this.cfg.extend(p);var o=G.createEncryptor(u,p),b=o.finalize(O),E=o.cfg;return S.create({ciphertext:b,key:u,iv:E.iv,algorithm:G,mode:E.mode,padding:E.padding,blockSize:G.blockSize,formatter:p.format})},decrypt:function(G,O,u,p){p=this.cfg.extend(p),O=this._parse(O,p.format);var o=G.createDecryptor(u,p).finalize(O.ciphertext);return o},_parse:function(G,O){return typeof G=="string"?O.parse(G,this):G}}),U=y.kdf={},z=U.OpenSSL={execute:function(G,O,u,p,o){if(p||(p=n.random(64/8)),o)var b=f.create({keySize:O+u,hasher:o}).compute(G,p);else var b=f.create({keySize:O+u}).compute(G,p);var E=n.create(b.words.slice(O),u*4);return b.sigBytes=O*4,S.create({key:b,iv:E,salt:p})}},V=r.PasswordBasedCipher=T.extend({cfg:T.cfg.extend({kdf:z}),encrypt:function(G,O,u,p){p=this.cfg.extend(p);var o=p.kdf.execute(u,G.keySize,G.ivSize,p.salt,p.hasher);p.iv=o.iv;var b=T.encrypt.call(this,G,O,o.key,p);return b.mixIn(o),b},decrypt:function(G,O,u,p){p=this.cfg.extend(p),O=this._parse(O,p.format);var o=p.kdf.execute(u,G.keySize,G.ivSize,O.salt,p.hasher);p.iv=o.iv;var b=T.decrypt.call(this,G,O,o.key,p);return b}})}()})}(cipherCore$1)),cipherCore$1.exports}var modeCfb$1={exports:{}},modeCfb=modeCfb$1.exports,hasRequiredModeCfb;function requireModeCfb(){return hasRequiredModeCfb||(hasRequiredModeCfb=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireCipherCore())})(modeCfb,function(x){return x.mode.CFB=function(){var c=x.lib.BlockCipherMode.extend();c.Encryptor=c.extend({processBlock:function(r,d){var n=this._cipher,i=n.blockSize;y.call(this,r,d,i,n),this._prevBlock=r.slice(d,d+i)}}),c.Decryptor=c.extend({processBlock:function(r,d){var n=this._cipher,i=n.blockSize,t=r.slice(d,d+i);y.call(this,r,d,i,n),this._prevBlock=t}});function y(r,d,n,i){var t,e=this._iv;e?(t=e.slice(0),this._iv=void 0):t=this._prevBlock,i.encryptBlock(t,0);for(var a=0;a<n;a++)r[d+a]^=t[a]}return c}(),x.mode.CFB})}(modeCfb$1)),modeCfb$1.exports}var modeCtr$1={exports:{}},modeCtr=modeCtr$1.exports,hasRequiredModeCtr;function requireModeCtr(){return hasRequiredModeCtr||(hasRequiredModeCtr=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireCipherCore())})(modeCtr,function(x){return x.mode.CTR=function(){var c=x.lib.BlockCipherMode.extend(),y=c.Encryptor=c.extend({processBlock:function(r,d){var n=this._cipher,i=n.blockSize,t=this._iv,e=this._counter;t&&(e=this._counter=t.slice(0),this._iv=void 0);var a=e.slice(0);n.encryptBlock(a,0),e[i-1]=e[i-1]+1|0;for(var f=0;f<i;f++)r[d+f]^=a[f]}});return c.Decryptor=y,c}(),x.mode.CTR})}(modeCtr$1)),modeCtr$1.exports}var modeCtrGladman$1={exports:{}},modeCtrGladman=modeCtrGladman$1.exports,hasRequiredModeCtrGladman;function requireModeCtrGladman(){return hasRequiredModeCtrGladman||(hasRequiredModeCtrGladman=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireCipherCore())})(modeCtrGladman,function(x){/** @preserve
|
|
32
|
+
* Counter block mode compatible with Dr Brian Gladman fileenc.c
|
|
33
|
+
* derived from CryptoJS.mode.CTR
|
|
34
|
+
* Jan Hruby jhruby.web@gmail.com
|
|
35
|
+
*/return x.mode.CTRGladman=function(){var c=x.lib.BlockCipherMode.extend();function y(n){if((n>>24&255)===255){var i=n>>16&255,t=n>>8&255,e=n&255;i===255?(i=0,t===255?(t=0,e===255?e=0:++e):++t):++i,n=0,n+=i<<16,n+=t<<8,n+=e}else n+=1<<24;return n}function r(n){return(n[0]=y(n[0]))===0&&(n[1]=y(n[1])),n}var d=c.Encryptor=c.extend({processBlock:function(n,i){var t=this._cipher,e=t.blockSize,a=this._iv,f=this._counter;a&&(f=this._counter=a.slice(0),this._iv=void 0),r(f);var s=f.slice(0);t.encryptBlock(s,0);for(var h=0;h<e;h++)n[i+h]^=s[h]}});return c.Decryptor=d,c}(),x.mode.CTRGladman})}(modeCtrGladman$1)),modeCtrGladman$1.exports}var modeOfb$1={exports:{}},modeOfb=modeOfb$1.exports,hasRequiredModeOfb;function requireModeOfb(){return hasRequiredModeOfb||(hasRequiredModeOfb=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireCipherCore())})(modeOfb,function(x){return x.mode.OFB=function(){var c=x.lib.BlockCipherMode.extend(),y=c.Encryptor=c.extend({processBlock:function(r,d){var n=this._cipher,i=n.blockSize,t=this._iv,e=this._keystream;t&&(e=this._keystream=t.slice(0),this._iv=void 0),n.encryptBlock(e,0);for(var a=0;a<i;a++)r[d+a]^=e[a]}});return c.Decryptor=y,c}(),x.mode.OFB})}(modeOfb$1)),modeOfb$1.exports}var modeEcb$1={exports:{}},modeEcb=modeEcb$1.exports,hasRequiredModeEcb;function requireModeEcb(){return hasRequiredModeEcb||(hasRequiredModeEcb=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireCipherCore())})(modeEcb,function(x){return x.mode.ECB=function(){var c=x.lib.BlockCipherMode.extend();return c.Encryptor=c.extend({processBlock:function(y,r){this._cipher.encryptBlock(y,r)}}),c.Decryptor=c.extend({processBlock:function(y,r){this._cipher.decryptBlock(y,r)}}),c}(),x.mode.ECB})}(modeEcb$1)),modeEcb$1.exports}var padAnsix923$1={exports:{}},padAnsix923=padAnsix923$1.exports,hasRequiredPadAnsix923;function requirePadAnsix923(){return hasRequiredPadAnsix923||(hasRequiredPadAnsix923=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireCipherCore())})(padAnsix923,function(x){return x.pad.AnsiX923={pad:function(c,y){var r=c.sigBytes,d=y*4,n=d-r%d,i=r+n-1;c.clamp(),c.words[i>>>2]|=n<<24-i%4*8,c.sigBytes+=n},unpad:function(c){var y=c.words[c.sigBytes-1>>>2]&255;c.sigBytes-=y}},x.pad.Ansix923})}(padAnsix923$1)),padAnsix923$1.exports}var padIso10126$1={exports:{}},padIso10126=padIso10126$1.exports,hasRequiredPadIso10126;function requirePadIso10126(){return hasRequiredPadIso10126||(hasRequiredPadIso10126=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireCipherCore())})(padIso10126,function(x){return x.pad.Iso10126={pad:function(c,y){var r=y*4,d=r-c.sigBytes%r;c.concat(x.lib.WordArray.random(d-1)).concat(x.lib.WordArray.create([d<<24],1))},unpad:function(c){var y=c.words[c.sigBytes-1>>>2]&255;c.sigBytes-=y}},x.pad.Iso10126})}(padIso10126$1)),padIso10126$1.exports}var padIso97971$1={exports:{}},padIso97971=padIso97971$1.exports,hasRequiredPadIso97971;function requirePadIso97971(){return hasRequiredPadIso97971||(hasRequiredPadIso97971=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireCipherCore())})(padIso97971,function(x){return x.pad.Iso97971={pad:function(c,y){c.concat(x.lib.WordArray.create([2147483648],1)),x.pad.ZeroPadding.pad(c,y)},unpad:function(c){x.pad.ZeroPadding.unpad(c),c.sigBytes--}},x.pad.Iso97971})}(padIso97971$1)),padIso97971$1.exports}var padZeropadding$1={exports:{}},padZeropadding=padZeropadding$1.exports,hasRequiredPadZeropadding;function requirePadZeropadding(){return hasRequiredPadZeropadding||(hasRequiredPadZeropadding=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireCipherCore())})(padZeropadding,function(x){return x.pad.ZeroPadding={pad:function(c,y){var r=y*4;c.clamp(),c.sigBytes+=r-(c.sigBytes%r||r)},unpad:function(c){for(var y=c.words,r=c.sigBytes-1,r=c.sigBytes-1;r>=0;r--)if(y[r>>>2]>>>24-r%4*8&255){c.sigBytes=r+1;break}}},x.pad.ZeroPadding})}(padZeropadding$1)),padZeropadding$1.exports}var padNopadding$1={exports:{}},padNopadding=padNopadding$1.exports,hasRequiredPadNopadding;function requirePadNopadding(){return hasRequiredPadNopadding||(hasRequiredPadNopadding=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireCipherCore())})(padNopadding,function(x){return x.pad.NoPadding={pad:function(){},unpad:function(){}},x.pad.NoPadding})}(padNopadding$1)),padNopadding$1.exports}var formatHex$1={exports:{}},formatHex=formatHex$1.exports,hasRequiredFormatHex;function requireFormatHex(){return hasRequiredFormatHex||(hasRequiredFormatHex=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireCipherCore())})(formatHex,function(x){return function(c){var y=x,r=y.lib,d=r.CipherParams,n=y.enc,i=n.Hex,t=y.format;t.Hex={stringify:function(e){return e.ciphertext.toString(i)},parse:function(e){var a=i.parse(e);return d.create({ciphertext:a})}}}(),x.format.Hex})}(formatHex$1)),formatHex$1.exports}var aes$1={exports:{}},aes=aes$1.exports,hasRequiredAes;function requireAes(){return hasRequiredAes||(hasRequiredAes=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore())})(aes,function(x){return function(){var c=x,y=c.lib,r=y.BlockCipher,d=c.algo,n=[],i=[],t=[],e=[],a=[],f=[],s=[],h=[],l=[],g=[];(function(){for(var S=[],C=0;C<256;C++)C<128?S[C]=C<<1:S[C]=C<<1^283;for(var P=0,T=0,C=0;C<256;C++){var U=T^T<<1^T<<2^T<<3^T<<4;U=U>>>8^U&255^99,n[P]=U,i[U]=P;var z=S[P],V=S[z],G=S[V],O=S[U]*257^U*16843008;t[P]=O<<24|O>>>8,e[P]=O<<16|O>>>16,a[P]=O<<8|O>>>24,f[P]=O;var O=G*16843009^V*65537^z*257^P*16843008;s[U]=O<<24|O>>>8,h[U]=O<<16|O>>>16,l[U]=O<<8|O>>>24,g[U]=O,P?(P=z^S[S[S[G^z]]],T^=S[S[T]]):P=T=1}})();var w=[0,1,2,4,8,16,32,64,128,27,54],_=d.AES=r.extend({_doReset:function(){var S;if(!(this._nRounds&&this._keyPriorReset===this._key)){for(var C=this._keyPriorReset=this._key,P=C.words,T=C.sigBytes/4,U=this._nRounds=T+6,z=(U+1)*4,V=this._keySchedule=[],G=0;G<z;G++)G<T?V[G]=P[G]:(S=V[G-1],G%T?T>6&&G%T==4&&(S=n[S>>>24]<<24|n[S>>>16&255]<<16|n[S>>>8&255]<<8|n[S&255]):(S=S<<8|S>>>24,S=n[S>>>24]<<24|n[S>>>16&255]<<16|n[S>>>8&255]<<8|n[S&255],S^=w[G/T|0]<<24),V[G]=V[G-T]^S);for(var O=this._invKeySchedule=[],u=0;u<z;u++){var G=z-u;if(u%4)var S=V[G];else var S=V[G-4];u<4||G<=4?O[u]=S:O[u]=s[n[S>>>24]]^h[n[S>>>16&255]]^l[n[S>>>8&255]]^g[n[S&255]]}}},encryptBlock:function(S,C){this._doCryptBlock(S,C,this._keySchedule,t,e,a,f,n)},decryptBlock:function(S,C){var P=S[C+1];S[C+1]=S[C+3],S[C+3]=P,this._doCryptBlock(S,C,this._invKeySchedule,s,h,l,g,i);var P=S[C+1];S[C+1]=S[C+3],S[C+3]=P},_doCryptBlock:function(S,C,P,T,U,z,V,G){for(var O=this._nRounds,u=S[C]^P[0],p=S[C+1]^P[1],o=S[C+2]^P[2],b=S[C+3]^P[3],E=4,A=1;A<O;A++){var M=T[u>>>24]^U[p>>>16&255]^z[o>>>8&255]^V[b&255]^P[E++],D=T[p>>>24]^U[o>>>16&255]^z[b>>>8&255]^V[u&255]^P[E++],B=T[o>>>24]^U[b>>>16&255]^z[u>>>8&255]^V[p&255]^P[E++],R=T[b>>>24]^U[u>>>16&255]^z[p>>>8&255]^V[o&255]^P[E++];u=M,p=D,o=B,b=R}var M=(G[u>>>24]<<24|G[p>>>16&255]<<16|G[o>>>8&255]<<8|G[b&255])^P[E++],D=(G[p>>>24]<<24|G[o>>>16&255]<<16|G[b>>>8&255]<<8|G[u&255])^P[E++],B=(G[o>>>24]<<24|G[b>>>16&255]<<16|G[u>>>8&255]<<8|G[p&255])^P[E++],R=(G[b>>>24]<<24|G[u>>>16&255]<<16|G[p>>>8&255]<<8|G[o&255])^P[E++];S[C]=M,S[C+1]=D,S[C+2]=B,S[C+3]=R},keySize:256/32});c.AES=r._createHelper(_)}(),x.AES})}(aes$1)),aes$1.exports}var tripledes$1={exports:{}},tripledes=tripledes$1.exports,hasRequiredTripledes;function requireTripledes(){return hasRequiredTripledes||(hasRequiredTripledes=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore())})(tripledes,function(x){return function(){var c=x,y=c.lib,r=y.WordArray,d=y.BlockCipher,n=c.algo,i=[57,49,41,33,25,17,9,1,58,50,42,34,26,18,10,2,59,51,43,35,27,19,11,3,60,52,44,36,63,55,47,39,31,23,15,7,62,54,46,38,30,22,14,6,61,53,45,37,29,21,13,5,28,20,12,4],t=[14,17,11,24,1,5,3,28,15,6,21,10,23,19,12,4,26,8,16,7,27,20,13,2,41,52,31,37,47,55,30,40,51,45,33,48,44,49,39,56,34,53,46,42,50,36,29,32],e=[1,2,4,6,8,10,12,14,15,17,19,21,23,25,27,28],a=[{0:8421888,268435456:32768,536870912:8421378,805306368:2,1073741824:512,1342177280:8421890,1610612736:8389122,1879048192:8388608,2147483648:514,2415919104:8389120,2684354560:33280,2952790016:8421376,3221225472:32770,3489660928:8388610,3758096384:0,4026531840:33282,134217728:0,402653184:8421890,671088640:33282,939524096:32768,1207959552:8421888,1476395008:512,1744830464:8421378,2013265920:2,2281701376:8389120,2550136832:33280,2818572288:8421376,3087007744:8389122,3355443200:8388610,3623878656:32770,3892314112:514,4160749568:8388608,1:32768,268435457:2,536870913:8421888,805306369:8388608,1073741825:8421378,1342177281:33280,1610612737:512,1879048193:8389122,2147483649:8421890,2415919105:8421376,2684354561:8388610,2952790017:33282,3221225473:514,3489660929:8389120,3758096385:32770,4026531841:0,134217729:8421890,402653185:8421376,671088641:8388608,939524097:512,1207959553:32768,1476395009:8388610,1744830465:2,2013265921:33282,2281701377:32770,2550136833:8389122,2818572289:514,3087007745:8421888,3355443201:8389120,3623878657:0,3892314113:33280,4160749569:8421378},{0:1074282512,16777216:16384,33554432:524288,50331648:1074266128,67108864:1073741840,83886080:1074282496,100663296:1073758208,117440512:16,134217728:540672,150994944:1073758224,167772160:1073741824,184549376:540688,201326592:524304,218103808:0,234881024:16400,251658240:1074266112,8388608:1073758208,25165824:540688,41943040:16,58720256:1073758224,75497472:1074282512,92274688:1073741824,109051904:524288,125829120:1074266128,142606336:524304,159383552:0,176160768:16384,192937984:1074266112,209715200:1073741840,226492416:540672,243269632:1074282496,260046848:16400,268435456:0,285212672:1074266128,301989888:1073758224,318767104:1074282496,335544320:1074266112,352321536:16,369098752:540688,385875968:16384,402653184:16400,419430400:524288,436207616:524304,452984832:1073741840,469762048:540672,486539264:1073758208,503316480:1073741824,520093696:1074282512,276824064:540688,293601280:524288,310378496:1074266112,327155712:16384,343932928:1073758208,360710144:1074282512,377487360:16,394264576:1073741824,411041792:1074282496,427819008:1073741840,444596224:1073758224,461373440:524304,478150656:0,494927872:16400,511705088:1074266128,528482304:540672},{0:260,1048576:0,2097152:67109120,3145728:65796,4194304:65540,5242880:67108868,6291456:67174660,7340032:67174400,8388608:67108864,9437184:67174656,10485760:65792,11534336:67174404,12582912:67109124,13631488:65536,14680064:4,15728640:256,524288:67174656,1572864:67174404,2621440:0,3670016:67109120,4718592:67108868,5767168:65536,6815744:65540,7864320:260,8912896:4,9961472:256,11010048:67174400,12058624:65796,13107200:65792,14155776:67109124,15204352:67174660,16252928:67108864,16777216:67174656,17825792:65540,18874368:65536,19922944:67109120,20971520:256,22020096:67174660,23068672:67108868,24117248:0,25165824:67109124,26214400:67108864,27262976:4,28311552:65792,29360128:67174400,30408704:260,31457280:65796,32505856:67174404,17301504:67108864,18350080:260,19398656:67174656,20447232:0,21495808:65540,22544384:67109120,23592960:256,24641536:67174404,25690112:65536,26738688:67174660,27787264:65796,28835840:67108868,29884416:67109124,30932992:67174400,31981568:4,33030144:65792},{0:2151682048,65536:2147487808,131072:4198464,196608:2151677952,262144:0,327680:4198400,393216:2147483712,458752:4194368,524288:2147483648,589824:4194304,655360:64,720896:2147487744,786432:2151678016,851968:4160,917504:4096,983040:2151682112,32768:2147487808,98304:64,163840:2151678016,229376:2147487744,294912:4198400,360448:2151682112,425984:0,491520:2151677952,557056:4096,622592:2151682048,688128:4194304,753664:4160,819200:2147483648,884736:4194368,950272:4198464,1015808:2147483712,1048576:4194368,1114112:4198400,1179648:2147483712,1245184:0,1310720:4160,1376256:2151678016,1441792:2151682048,1507328:2147487808,1572864:2151682112,1638400:2147483648,1703936:2151677952,1769472:4198464,1835008:2147487744,1900544:4194304,1966080:64,2031616:4096,1081344:2151677952,1146880:2151682112,1212416:0,1277952:4198400,1343488:4194368,1409024:2147483648,1474560:2147487808,1540096:64,1605632:2147483712,1671168:4096,1736704:2147487744,1802240:2151678016,1867776:4160,1933312:2151682048,1998848:4194304,2064384:4198464},{0:128,4096:17039360,8192:262144,12288:536870912,16384:537133184,20480:16777344,24576:553648256,28672:262272,32768:16777216,36864:537133056,40960:536871040,45056:553910400,49152:553910272,53248:0,57344:17039488,61440:553648128,2048:17039488,6144:553648256,10240:128,14336:17039360,18432:262144,22528:537133184,26624:553910272,30720:536870912,34816:537133056,38912:0,43008:553910400,47104:16777344,51200:536871040,55296:553648128,59392:16777216,63488:262272,65536:262144,69632:128,73728:536870912,77824:553648256,81920:16777344,86016:553910272,90112:537133184,94208:16777216,98304:553910400,102400:553648128,106496:17039360,110592:537133056,114688:262272,118784:536871040,122880:0,126976:17039488,67584:553648256,71680:16777216,75776:17039360,79872:537133184,83968:536870912,88064:17039488,92160:128,96256:553910272,100352:262272,104448:553910400,108544:0,112640:553648128,116736:16777344,120832:262144,124928:537133056,129024:536871040},{0:268435464,256:8192,512:270532608,768:270540808,1024:268443648,1280:2097152,1536:2097160,1792:268435456,2048:0,2304:268443656,2560:2105344,2816:8,3072:270532616,3328:2105352,3584:8200,3840:270540800,128:270532608,384:270540808,640:8,896:2097152,1152:2105352,1408:268435464,1664:268443648,1920:8200,2176:2097160,2432:8192,2688:268443656,2944:270532616,3200:0,3456:270540800,3712:2105344,3968:268435456,4096:268443648,4352:270532616,4608:270540808,4864:8200,5120:2097152,5376:268435456,5632:268435464,5888:2105344,6144:2105352,6400:0,6656:8,6912:270532608,7168:8192,7424:268443656,7680:270540800,7936:2097160,4224:8,4480:2105344,4736:2097152,4992:268435464,5248:268443648,5504:8200,5760:270540808,6016:270532608,6272:270540800,6528:270532616,6784:8192,7040:2105352,7296:2097160,7552:0,7808:268435456,8064:268443656},{0:1048576,16:33555457,32:1024,48:1049601,64:34604033,80:0,96:1,112:34603009,128:33555456,144:1048577,160:33554433,176:34604032,192:34603008,208:1025,224:1049600,240:33554432,8:34603009,24:0,40:33555457,56:34604032,72:1048576,88:33554433,104:33554432,120:1025,136:1049601,152:33555456,168:34603008,184:1048577,200:1024,216:34604033,232:1,248:1049600,256:33554432,272:1048576,288:33555457,304:34603009,320:1048577,336:33555456,352:34604032,368:1049601,384:1025,400:34604033,416:1049600,432:1,448:0,464:34603008,480:33554433,496:1024,264:1049600,280:33555457,296:34603009,312:1,328:33554432,344:1048576,360:1025,376:34604032,392:33554433,408:34603008,424:0,440:34604033,456:1049601,472:1024,488:33555456,504:1048577},{0:134219808,1:131072,2:134217728,3:32,4:131104,5:134350880,6:134350848,7:2048,8:134348800,9:134219776,10:133120,11:134348832,12:2080,13:0,14:134217760,15:133152,2147483648:2048,2147483649:134350880,2147483650:134219808,2147483651:134217728,2147483652:134348800,2147483653:133120,2147483654:133152,2147483655:32,2147483656:134217760,2147483657:2080,2147483658:131104,2147483659:134350848,2147483660:0,2147483661:134348832,2147483662:134219776,2147483663:131072,16:133152,17:134350848,18:32,19:2048,20:134219776,21:134217760,22:134348832,23:131072,24:0,25:131104,26:134348800,27:134219808,28:134350880,29:133120,30:2080,31:134217728,2147483664:131072,2147483665:2048,2147483666:134348832,2147483667:133152,2147483668:32,2147483669:134348800,2147483670:134217728,2147483671:134219808,2147483672:134350880,2147483673:134217760,2147483674:134219776,2147483675:0,2147483676:133120,2147483677:2080,2147483678:131104,2147483679:134350848}],f=[4160749569,528482304,33030144,2064384,129024,8064,504,2147483679],s=n.DES=d.extend({_doReset:function(){for(var w=this._key,_=w.words,S=[],C=0;C<56;C++){var P=i[C]-1;S[C]=_[P>>>5]>>>31-P%32&1}for(var T=this._subKeys=[],U=0;U<16;U++){for(var z=T[U]=[],V=e[U],C=0;C<24;C++)z[C/6|0]|=S[(t[C]-1+V)%28]<<31-C%6,z[4+(C/6|0)]|=S[28+(t[C+24]-1+V)%28]<<31-C%6;z[0]=z[0]<<1|z[0]>>>31;for(var C=1;C<7;C++)z[C]=z[C]>>>(C-1)*4+3;z[7]=z[7]<<5|z[7]>>>27}for(var G=this._invSubKeys=[],C=0;C<16;C++)G[C]=T[15-C]},encryptBlock:function(w,_){this._doCryptBlock(w,_,this._subKeys)},decryptBlock:function(w,_){this._doCryptBlock(w,_,this._invSubKeys)},_doCryptBlock:function(w,_,S){this._lBlock=w[_],this._rBlock=w[_+1],h.call(this,4,252645135),h.call(this,16,65535),l.call(this,2,858993459),l.call(this,8,16711935),h.call(this,1,1431655765);for(var C=0;C<16;C++){for(var P=S[C],T=this._lBlock,U=this._rBlock,z=0,V=0;V<8;V++)z|=a[V][((U^P[V])&f[V])>>>0];this._lBlock=U,this._rBlock=T^z}var G=this._lBlock;this._lBlock=this._rBlock,this._rBlock=G,h.call(this,1,1431655765),l.call(this,8,16711935),l.call(this,2,858993459),h.call(this,16,65535),h.call(this,4,252645135),w[_]=this._lBlock,w[_+1]=this._rBlock},keySize:64/32,ivSize:64/32,blockSize:64/32});function h(w,_){var S=(this._lBlock>>>w^this._rBlock)&_;this._rBlock^=S,this._lBlock^=S<<w}function l(w,_){var S=(this._rBlock>>>w^this._lBlock)&_;this._lBlock^=S,this._rBlock^=S<<w}c.DES=d._createHelper(s);var g=n.TripleDES=d.extend({_doReset:function(){var w=this._key,_=w.words;if(_.length!==2&&_.length!==4&&_.length<6)throw new Error("Invalid key length - 3DES requires the key length to be 64, 128, 192 or >192.");var S=_.slice(0,2),C=_.length<4?_.slice(0,2):_.slice(2,4),P=_.length<6?_.slice(0,2):_.slice(4,6);this._des1=s.createEncryptor(r.create(S)),this._des2=s.createEncryptor(r.create(C)),this._des3=s.createEncryptor(r.create(P))},encryptBlock:function(w,_){this._des1.encryptBlock(w,_),this._des2.decryptBlock(w,_),this._des3.encryptBlock(w,_)},decryptBlock:function(w,_){this._des3.decryptBlock(w,_),this._des2.encryptBlock(w,_),this._des1.decryptBlock(w,_)},keySize:192/32,ivSize:64/32,blockSize:64/32});c.TripleDES=d._createHelper(g)}(),x.TripleDES})}(tripledes$1)),tripledes$1.exports}var rc4$1={exports:{}},rc4=rc4$1.exports,hasRequiredRc4;function requireRc4(){return hasRequiredRc4||(hasRequiredRc4=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore())})(rc4,function(x){return function(){var c=x,y=c.lib,r=y.StreamCipher,d=c.algo,n=d.RC4=r.extend({_doReset:function(){for(var e=this._key,a=e.words,f=e.sigBytes,s=this._S=[],h=0;h<256;h++)s[h]=h;for(var h=0,l=0;h<256;h++){var g=h%f,w=a[g>>>2]>>>24-g%4*8&255;l=(l+s[h]+w)%256;var _=s[h];s[h]=s[l],s[l]=_}this._i=this._j=0},_doProcessBlock:function(e,a){e[a]^=i.call(this)},keySize:256/32,ivSize:0});function i(){for(var e=this._S,a=this._i,f=this._j,s=0,h=0;h<4;h++){a=(a+1)%256,f=(f+e[a])%256;var l=e[a];e[a]=e[f],e[f]=l,s|=e[(e[a]+e[f])%256]<<24-h*8}return this._i=a,this._j=f,s}c.RC4=r._createHelper(n);var t=d.RC4Drop=n.extend({cfg:n.cfg.extend({drop:192}),_doReset:function(){n._doReset.call(this);for(var e=this.cfg.drop;e>0;e--)i.call(this)}});c.RC4Drop=r._createHelper(t)}(),x.RC4})}(rc4$1)),rc4$1.exports}var rabbit$1={exports:{}},rabbit=rabbit$1.exports,hasRequiredRabbit;function requireRabbit(){return hasRequiredRabbit||(hasRequiredRabbit=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore())})(rabbit,function(x){return function(){var c=x,y=c.lib,r=y.StreamCipher,d=c.algo,n=[],i=[],t=[],e=d.Rabbit=r.extend({_doReset:function(){for(var f=this._key.words,s=this.cfg.iv,h=0;h<4;h++)f[h]=(f[h]<<8|f[h]>>>24)&16711935|(f[h]<<24|f[h]>>>8)&4278255360;var l=this._X=[f[0],f[3]<<16|f[2]>>>16,f[1],f[0]<<16|f[3]>>>16,f[2],f[1]<<16|f[0]>>>16,f[3],f[2]<<16|f[1]>>>16],g=this._C=[f[2]<<16|f[2]>>>16,f[0]&4294901760|f[1]&65535,f[3]<<16|f[3]>>>16,f[1]&4294901760|f[2]&65535,f[0]<<16|f[0]>>>16,f[2]&4294901760|f[3]&65535,f[1]<<16|f[1]>>>16,f[3]&4294901760|f[0]&65535];this._b=0;for(var h=0;h<4;h++)a.call(this);for(var h=0;h<8;h++)g[h]^=l[h+4&7];if(s){var w=s.words,_=w[0],S=w[1],C=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,P=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360,T=C>>>16|P&4294901760,U=P<<16|C&65535;g[0]^=C,g[1]^=T,g[2]^=P,g[3]^=U,g[4]^=C,g[5]^=T,g[6]^=P,g[7]^=U;for(var h=0;h<4;h++)a.call(this)}},_doProcessBlock:function(f,s){var h=this._X;a.call(this),n[0]=h[0]^h[5]>>>16^h[3]<<16,n[1]=h[2]^h[7]>>>16^h[5]<<16,n[2]=h[4]^h[1]>>>16^h[7]<<16,n[3]=h[6]^h[3]>>>16^h[1]<<16;for(var l=0;l<4;l++)n[l]=(n[l]<<8|n[l]>>>24)&16711935|(n[l]<<24|n[l]>>>8)&4278255360,f[s+l]^=n[l]},blockSize:128/32,ivSize:64/32});function a(){for(var f=this._X,s=this._C,h=0;h<8;h++)i[h]=s[h];s[0]=s[0]+1295307597+this._b|0,s[1]=s[1]+3545052371+(s[0]>>>0<i[0]>>>0?1:0)|0,s[2]=s[2]+886263092+(s[1]>>>0<i[1]>>>0?1:0)|0,s[3]=s[3]+1295307597+(s[2]>>>0<i[2]>>>0?1:0)|0,s[4]=s[4]+3545052371+(s[3]>>>0<i[3]>>>0?1:0)|0,s[5]=s[5]+886263092+(s[4]>>>0<i[4]>>>0?1:0)|0,s[6]=s[6]+1295307597+(s[5]>>>0<i[5]>>>0?1:0)|0,s[7]=s[7]+3545052371+(s[6]>>>0<i[6]>>>0?1:0)|0,this._b=s[7]>>>0<i[7]>>>0?1:0;for(var h=0;h<8;h++){var l=f[h]+s[h],g=l&65535,w=l>>>16,_=((g*g>>>17)+g*w>>>15)+w*w,S=((l&4294901760)*l|0)+((l&65535)*l|0);t[h]=_^S}f[0]=t[0]+(t[7]<<16|t[7]>>>16)+(t[6]<<16|t[6]>>>16)|0,f[1]=t[1]+(t[0]<<8|t[0]>>>24)+t[7]|0,f[2]=t[2]+(t[1]<<16|t[1]>>>16)+(t[0]<<16|t[0]>>>16)|0,f[3]=t[3]+(t[2]<<8|t[2]>>>24)+t[1]|0,f[4]=t[4]+(t[3]<<16|t[3]>>>16)+(t[2]<<16|t[2]>>>16)|0,f[5]=t[5]+(t[4]<<8|t[4]>>>24)+t[3]|0,f[6]=t[6]+(t[5]<<16|t[5]>>>16)+(t[4]<<16|t[4]>>>16)|0,f[7]=t[7]+(t[6]<<8|t[6]>>>24)+t[5]|0}c.Rabbit=r._createHelper(e)}(),x.Rabbit})}(rabbit$1)),rabbit$1.exports}var rabbitLegacy$1={exports:{}},rabbitLegacy=rabbitLegacy$1.exports,hasRequiredRabbitLegacy;function requireRabbitLegacy(){return hasRequiredRabbitLegacy||(hasRequiredRabbitLegacy=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore())})(rabbitLegacy,function(x){return function(){var c=x,y=c.lib,r=y.StreamCipher,d=c.algo,n=[],i=[],t=[],e=d.RabbitLegacy=r.extend({_doReset:function(){var f=this._key.words,s=this.cfg.iv,h=this._X=[f[0],f[3]<<16|f[2]>>>16,f[1],f[0]<<16|f[3]>>>16,f[2],f[1]<<16|f[0]>>>16,f[3],f[2]<<16|f[1]>>>16],l=this._C=[f[2]<<16|f[2]>>>16,f[0]&4294901760|f[1]&65535,f[3]<<16|f[3]>>>16,f[1]&4294901760|f[2]&65535,f[0]<<16|f[0]>>>16,f[2]&4294901760|f[3]&65535,f[1]<<16|f[1]>>>16,f[3]&4294901760|f[0]&65535];this._b=0;for(var g=0;g<4;g++)a.call(this);for(var g=0;g<8;g++)l[g]^=h[g+4&7];if(s){var w=s.words,_=w[0],S=w[1],C=(_<<8|_>>>24)&16711935|(_<<24|_>>>8)&4278255360,P=(S<<8|S>>>24)&16711935|(S<<24|S>>>8)&4278255360,T=C>>>16|P&4294901760,U=P<<16|C&65535;l[0]^=C,l[1]^=T,l[2]^=P,l[3]^=U,l[4]^=C,l[5]^=T,l[6]^=P,l[7]^=U;for(var g=0;g<4;g++)a.call(this)}},_doProcessBlock:function(f,s){var h=this._X;a.call(this),n[0]=h[0]^h[5]>>>16^h[3]<<16,n[1]=h[2]^h[7]>>>16^h[5]<<16,n[2]=h[4]^h[1]>>>16^h[7]<<16,n[3]=h[6]^h[3]>>>16^h[1]<<16;for(var l=0;l<4;l++)n[l]=(n[l]<<8|n[l]>>>24)&16711935|(n[l]<<24|n[l]>>>8)&4278255360,f[s+l]^=n[l]},blockSize:128/32,ivSize:64/32});function a(){for(var f=this._X,s=this._C,h=0;h<8;h++)i[h]=s[h];s[0]=s[0]+1295307597+this._b|0,s[1]=s[1]+3545052371+(s[0]>>>0<i[0]>>>0?1:0)|0,s[2]=s[2]+886263092+(s[1]>>>0<i[1]>>>0?1:0)|0,s[3]=s[3]+1295307597+(s[2]>>>0<i[2]>>>0?1:0)|0,s[4]=s[4]+3545052371+(s[3]>>>0<i[3]>>>0?1:0)|0,s[5]=s[5]+886263092+(s[4]>>>0<i[4]>>>0?1:0)|0,s[6]=s[6]+1295307597+(s[5]>>>0<i[5]>>>0?1:0)|0,s[7]=s[7]+3545052371+(s[6]>>>0<i[6]>>>0?1:0)|0,this._b=s[7]>>>0<i[7]>>>0?1:0;for(var h=0;h<8;h++){var l=f[h]+s[h],g=l&65535,w=l>>>16,_=((g*g>>>17)+g*w>>>15)+w*w,S=((l&4294901760)*l|0)+((l&65535)*l|0);t[h]=_^S}f[0]=t[0]+(t[7]<<16|t[7]>>>16)+(t[6]<<16|t[6]>>>16)|0,f[1]=t[1]+(t[0]<<8|t[0]>>>24)+t[7]|0,f[2]=t[2]+(t[1]<<16|t[1]>>>16)+(t[0]<<16|t[0]>>>16)|0,f[3]=t[3]+(t[2]<<8|t[2]>>>24)+t[1]|0,f[4]=t[4]+(t[3]<<16|t[3]>>>16)+(t[2]<<16|t[2]>>>16)|0,f[5]=t[5]+(t[4]<<8|t[4]>>>24)+t[3]|0,f[6]=t[6]+(t[5]<<16|t[5]>>>16)+(t[4]<<16|t[4]>>>16)|0,f[7]=t[7]+(t[6]<<8|t[6]>>>24)+t[5]|0}c.RabbitLegacy=r._createHelper(e)}(),x.RabbitLegacy})}(rabbitLegacy$1)),rabbitLegacy$1.exports}var blowfish$1={exports:{}},blowfish=blowfish$1.exports,hasRequiredBlowfish;function requireBlowfish(){return hasRequiredBlowfish||(hasRequiredBlowfish=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireEncBase64(),requireMd5(),requireEvpkdf(),requireCipherCore())})(blowfish,function(x){return function(){var c=x,y=c.lib,r=y.BlockCipher,d=c.algo;const n=16,i=[608135816,2242054355,320440878,57701188,2752067618,698298832,137296536,3964562569,1160258022,953160567,3193202383,887688300,3232508343,3380367581,1065670069,3041331479,2450970073,2306472731],t=[[3509652390,2564797868,805139163,3491422135,3101798381,1780907670,3128725573,4046225305,614570311,3012652279,134345442,2240740374,1667834072,1901547113,2757295779,4103290238,227898511,1921955416,1904987480,2182433518,2069144605,3260701109,2620446009,720527379,3318853667,677414384,3393288472,3101374703,2390351024,1614419982,1822297739,2954791486,3608508353,3174124327,2024746970,1432378464,3864339955,2857741204,1464375394,1676153920,1439316330,715854006,3033291828,289532110,2706671279,2087905683,3018724369,1668267050,732546397,1947742710,3462151702,2609353502,2950085171,1814351708,2050118529,680887927,999245976,1800124847,3300911131,1713906067,1641548236,4213287313,1216130144,1575780402,4018429277,3917837745,3693486850,3949271944,596196993,3549867205,258830323,2213823033,772490370,2760122372,1774776394,2652871518,566650946,4142492826,1728879713,2882767088,1783734482,3629395816,2517608232,2874225571,1861159788,326777828,3124490320,2130389656,2716951837,967770486,1724537150,2185432712,2364442137,1164943284,2105845187,998989502,3765401048,2244026483,1075463327,1455516326,1322494562,910128902,469688178,1117454909,936433444,3490320968,3675253459,1240580251,122909385,2157517691,634681816,4142456567,3825094682,3061402683,2540495037,79693498,3249098678,1084186820,1583128258,426386531,1761308591,1047286709,322548459,995290223,1845252383,2603652396,3431023940,2942221577,3202600964,3727903485,1712269319,422464435,3234572375,1170764815,3523960633,3117677531,1434042557,442511882,3600875718,1076654713,1738483198,4213154764,2393238008,3677496056,1014306527,4251020053,793779912,2902807211,842905082,4246964064,1395751752,1040244610,2656851899,3396308128,445077038,3742853595,3577915638,679411651,2892444358,2354009459,1767581616,3150600392,3791627101,3102740896,284835224,4246832056,1258075500,768725851,2589189241,3069724005,3532540348,1274779536,3789419226,2764799539,1660621633,3471099624,4011903706,913787905,3497959166,737222580,2514213453,2928710040,3937242737,1804850592,3499020752,2949064160,2386320175,2390070455,2415321851,4061277028,2290661394,2416832540,1336762016,1754252060,3520065937,3014181293,791618072,3188594551,3933548030,2332172193,3852520463,3043980520,413987798,3465142937,3030929376,4245938359,2093235073,3534596313,375366246,2157278981,2479649556,555357303,3870105701,2008414854,3344188149,4221384143,3956125452,2067696032,3594591187,2921233993,2428461,544322398,577241275,1471733935,610547355,4027169054,1432588573,1507829418,2025931657,3646575487,545086370,48609733,2200306550,1653985193,298326376,1316178497,3007786442,2064951626,458293330,2589141269,3591329599,3164325604,727753846,2179363840,146436021,1461446943,4069977195,705550613,3059967265,3887724982,4281599278,3313849956,1404054877,2845806497,146425753,1854211946],[1266315497,3048417604,3681880366,3289982499,290971e4,1235738493,2632868024,2414719590,3970600049,1771706367,1449415276,3266420449,422970021,1963543593,2690192192,3826793022,1062508698,1531092325,1804592342,2583117782,2714934279,4024971509,1294809318,4028980673,1289560198,2221992742,1669523910,35572830,157838143,1052438473,1016535060,1802137761,1753167236,1386275462,3080475397,2857371447,1040679964,2145300060,2390574316,1461121720,2956646967,4031777805,4028374788,33600511,2920084762,1018524850,629373528,3691585981,3515945977,2091462646,2486323059,586499841,988145025,935516892,3367335476,2599673255,2839830854,265290510,3972581182,2759138881,3795373465,1005194799,847297441,406762289,1314163512,1332590856,1866599683,4127851711,750260880,613907577,1450815602,3165620655,3734664991,3650291728,3012275730,3704569646,1427272223,778793252,1343938022,2676280711,2052605720,1946737175,3164576444,3914038668,3967478842,3682934266,1661551462,3294938066,4011595847,840292616,3712170807,616741398,312560963,711312465,1351876610,322626781,1910503582,271666773,2175563734,1594956187,70604529,3617834859,1007753275,1495573769,4069517037,2549218298,2663038764,504708206,2263041392,3941167025,2249088522,1514023603,1998579484,1312622330,694541497,2582060303,2151582166,1382467621,776784248,2618340202,3323268794,2497899128,2784771155,503983604,4076293799,907881277,423175695,432175456,1378068232,4145222326,3954048622,3938656102,3820766613,2793130115,2977904593,26017576,3274890735,3194772133,1700274565,1756076034,4006520079,3677328699,720338349,1533947780,354530856,688349552,3973924725,1637815568,332179504,3949051286,53804574,2852348879,3044236432,1282449977,3583942155,3416972820,4006381244,1617046695,2628476075,3002303598,1686838959,431878346,2686675385,1700445008,1080580658,1009431731,832498133,3223435511,2605976345,2271191193,2516031870,1648197032,4164389018,2548247927,300782431,375919233,238389289,3353747414,2531188641,2019080857,1475708069,455242339,2609103871,448939670,3451063019,1395535956,2413381860,1841049896,1491858159,885456874,4264095073,4001119347,1565136089,3898914787,1108368660,540939232,1173283510,2745871338,3681308437,4207628240,3343053890,4016749493,1699691293,1103962373,3625875870,2256883143,3830138730,1031889488,3479347698,1535977030,4236805024,3251091107,2132092099,1774941330,1199868427,1452454533,157007616,2904115357,342012276,595725824,1480756522,206960106,497939518,591360097,863170706,2375253569,3596610801,1814182875,2094937945,3421402208,1082520231,3463918190,2785509508,435703966,3908032597,1641649973,2842273706,3305899714,1510255612,2148256476,2655287854,3276092548,4258621189,236887753,3681803219,274041037,1734335097,3815195456,3317970021,1899903192,1026095262,4050517792,356393447,2410691914,3873677099,3682840055],[3913112168,2491498743,4132185628,2489919796,1091903735,1979897079,3170134830,3567386728,3557303409,857797738,1136121015,1342202287,507115054,2535736646,337727348,3213592640,1301675037,2528481711,1895095763,1721773893,3216771564,62756741,2142006736,835421444,2531993523,1442658625,3659876326,2882144922,676362277,1392781812,170690266,3921047035,1759253602,3611846912,1745797284,664899054,1329594018,3901205900,3045908486,2062866102,2865634940,3543621612,3464012697,1080764994,553557557,3656615353,3996768171,991055499,499776247,1265440854,648242737,3940784050,980351604,3713745714,1749149687,3396870395,4211799374,3640570775,1161844396,3125318951,1431517754,545492359,4268468663,3499529547,1437099964,2702547544,3433638243,2581715763,2787789398,1060185593,1593081372,2418618748,4260947970,69676912,2159744348,86519011,2512459080,3838209314,1220612927,3339683548,133810670,1090789135,1078426020,1569222167,845107691,3583754449,4072456591,1091646820,628848692,1613405280,3757631651,526609435,236106946,48312990,2942717905,3402727701,1797494240,859738849,992217954,4005476642,2243076622,3870952857,3732016268,765654824,3490871365,2511836413,1685915746,3888969200,1414112111,2273134842,3281911079,4080962846,172450625,2569994100,980381355,4109958455,2819808352,2716589560,2568741196,3681446669,3329971472,1835478071,660984891,3704678404,4045999559,3422617507,3040415634,1762651403,1719377915,3470491036,2693910283,3642056355,3138596744,1364962596,2073328063,1983633131,926494387,3423689081,2150032023,4096667949,1749200295,3328846651,309677260,2016342300,1779581495,3079819751,111262694,1274766160,443224088,298511866,1025883608,3806446537,1145181785,168956806,3641502830,3584813610,1689216846,3666258015,3200248200,1692713982,2646376535,4042768518,1618508792,1610833997,3523052358,4130873264,2001055236,3610705100,2202168115,4028541809,2961195399,1006657119,2006996926,3186142756,1430667929,3210227297,1314452623,4074634658,4101304120,2273951170,1399257539,3367210612,3027628629,1190975929,2062231137,2333990788,2221543033,2438960610,1181637006,548689776,2362791313,3372408396,3104550113,3145860560,296247880,1970579870,3078560182,3769228297,1714227617,3291629107,3898220290,166772364,1251581989,493813264,448347421,195405023,2709975567,677966185,3703036547,1463355134,2715995803,1338867538,1343315457,2802222074,2684532164,233230375,2599980071,2000651841,3277868038,1638401717,4028070440,3237316320,6314154,819756386,300326615,590932579,1405279636,3267499572,3150704214,2428286686,3959192993,3461946742,1862657033,1266418056,963775037,2089974820,2263052895,1917689273,448879540,3550394620,3981727096,150775221,3627908307,1303187396,508620638,2975983352,2726630617,1817252668,1876281319,1457606340,908771278,3720792119,3617206836,2455994898,1729034894,1080033504],[976866871,3556439503,2881648439,1522871579,1555064734,1336096578,3548522304,2579274686,3574697629,3205460757,3593280638,3338716283,3079412587,564236357,2993598910,1781952180,1464380207,3163844217,3332601554,1699332808,1393555694,1183702653,3581086237,1288719814,691649499,2847557200,2895455976,3193889540,2717570544,1781354906,1676643554,2592534050,3230253752,1126444790,2770207658,2633158820,2210423226,2615765581,2414155088,3127139286,673620729,2805611233,1269405062,4015350505,3341807571,4149409754,1057255273,2012875353,2162469141,2276492801,2601117357,993977747,3918593370,2654263191,753973209,36408145,2530585658,25011837,3520020182,2088578344,530523599,2918365339,1524020338,1518925132,3760827505,3759777254,1202760957,3985898139,3906192525,674977740,4174734889,2031300136,2019492241,3983892565,4153806404,3822280332,352677332,2297720250,60907813,90501309,3286998549,1016092578,2535922412,2839152426,457141659,509813237,4120667899,652014361,1966332200,2975202805,55981186,2327461051,676427537,3255491064,2882294119,3433927263,1307055953,942726286,933058658,2468411793,3933900994,4215176142,1361170020,2001714738,2830558078,3274259782,1222529897,1679025792,2729314320,3714953764,1770335741,151462246,3013232138,1682292957,1483529935,471910574,1539241949,458788160,3436315007,1807016891,3718408830,978976581,1043663428,3165965781,1927990952,4200891579,2372276910,3208408903,3533431907,1412390302,2931980059,4132332400,1947078029,3881505623,4168226417,2941484381,1077988104,1320477388,886195818,18198404,3786409e3,2509781533,112762804,3463356488,1866414978,891333506,18488651,661792760,1628790961,3885187036,3141171499,876946877,2693282273,1372485963,791857591,2686433993,3759982718,3167212022,3472953795,2716379847,445679433,3561995674,3504004811,3574258232,54117162,3331405415,2381918588,3769707343,4154350007,1140177722,4074052095,668550556,3214352940,367459370,261225585,2610173221,4209349473,3468074219,3265815641,314222801,3066103646,3808782860,282218597,3406013506,3773591054,379116347,1285071038,846784868,2669647154,3771962079,3550491691,2305946142,453669953,1268987020,3317592352,3279303384,3744833421,2610507566,3859509063,266596637,3847019092,517658769,3462560207,3443424879,370717030,4247526661,2224018117,4143653529,4112773975,2788324899,2477274417,1456262402,2901442914,1517677493,1846949527,2295493580,3734397586,2176403920,1280348187,1908823572,3871786941,846861322,1172426758,3287448474,3383383037,1655181056,3139813346,901632758,1897031941,2986607138,3066810236,3447102507,1393639104,373351379,950779232,625454576,3124240540,4148612726,2007998917,544563296,2244738638,2330496472,2058025392,1291430526,424198748,50039436,29584100,3605783033,2429876329,2791104160,1057563949,3255363231,3075367218,3463963227,1469046755,985887462]];var e={pbox:[],sbox:[]};function a(g,w){let _=w>>24&255,S=w>>16&255,C=w>>8&255,P=w&255,T=g.sbox[0][_]+g.sbox[1][S];return T=T^g.sbox[2][C],T=T+g.sbox[3][P],T}function f(g,w,_){let S=w,C=_,P;for(let T=0;T<n;++T)S=S^g.pbox[T],C=a(g,S)^C,P=S,S=C,C=P;return P=S,S=C,C=P,C=C^g.pbox[n],S=S^g.pbox[n+1],{left:S,right:C}}function s(g,w,_){let S=w,C=_,P;for(let T=n+1;T>1;--T)S=S^g.pbox[T],C=a(g,S)^C,P=S,S=C,C=P;return P=S,S=C,C=P,C=C^g.pbox[1],S=S^g.pbox[0],{left:S,right:C}}function h(g,w,_){for(let U=0;U<4;U++){g.sbox[U]=[];for(let z=0;z<256;z++)g.sbox[U][z]=t[U][z]}let S=0;for(let U=0;U<n+2;U++)g.pbox[U]=i[U]^w[S],S++,S>=_&&(S=0);let C=0,P=0,T=0;for(let U=0;U<n+2;U+=2)T=f(g,C,P),C=T.left,P=T.right,g.pbox[U]=C,g.pbox[U+1]=P;for(let U=0;U<4;U++)for(let z=0;z<256;z+=2)T=f(g,C,P),C=T.left,P=T.right,g.sbox[U][z]=C,g.sbox[U][z+1]=P;return!0}var l=d.Blowfish=r.extend({_doReset:function(){if(this._keyPriorReset!==this._key){var g=this._keyPriorReset=this._key,w=g.words,_=g.sigBytes/4;h(e,w,_)}},encryptBlock:function(g,w){var _=f(e,g[w],g[w+1]);g[w]=_.left,g[w+1]=_.right},decryptBlock:function(g,w){var _=s(e,g[w],g[w+1]);g[w]=_.left,g[w+1]=_.right},blockSize:64/32,keySize:128/32,ivSize:64/32});c.Blowfish=r._createHelper(l)}(),x.Blowfish})}(blowfish$1)),blowfish$1.exports}var cryptoJs=cryptoJs$1.exports,hasRequiredCryptoJs;function requireCryptoJs(){return hasRequiredCryptoJs||(hasRequiredCryptoJs=1,function(v,m){(function(x,c,y){v.exports=c(requireCore(),requireX64Core(),requireLibTypedarrays(),requireEncUtf16(),requireEncBase64(),requireEncBase64url(),requireMd5(),requireSha1(),requireSha256(),requireSha224(),requireSha512(),requireSha384(),requireSha3(),requireRipemd160(),requireHmac(),requirePbkdf2(),requireEvpkdf(),requireCipherCore(),requireModeCfb(),requireModeCtr(),requireModeCtrGladman(),requireModeOfb(),requireModeEcb(),requirePadAnsix923(),requirePadIso10126(),requirePadIso97971(),requirePadZeropadding(),requirePadNopadding(),requireFormatHex(),requireAes(),requireTripledes(),requireRc4(),requireRabbit(),requireRabbitLegacy(),requireBlowfish())})(cryptoJs,function(x){return x})}(cryptoJs$1)),cryptoJs$1.exports}export{requireUtil$1 as a,requireShams$1 as b,requireCallBound$1 as c,requireEsObjectAtoms as d,requireCallBind as e,requireGetIntrinsic as f,requireDefineDataProperty as g,requireHasPropertyDescriptors as h,requireCryptoBrowserify as i,require_stream_writable$1 as j,requireDist as k,requireStreamBrowserify as l,require_stream_readable$1 as m,require_stream_duplex$1 as n,require_stream_transform$1 as o,require_stream_passthrough$1 as p,requireEndOfStream as q,requireCryptoJs as r,requirePipeline as s,requireString_decoder as t,requireInherits_browser as u,requireType as v,requireSafeBuffer$1 as w};
|