@zeniai/web-cockpit-ui 1.15.65-dev → 1.15.66-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.
Files changed (265) hide show
  1. package/dist/assets/{ACHDetailsPage-BShpKoIj-DBPKn0sX.js → ACHDetailsPage-BShpKoIj-CW1imKMz.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-CFErwUsE-BYOi4eif.js → AIPerformancePage-CFErwUsE-C9puPCCO.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-B8upbXj9-DVCxjo1L.js → AccountInfoPage-B8upbXj9-Dtz8WQyO.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-CKpeDot5-C4xEct6y.js → AccountInfoPageContent-CKpeDot5-DIGFDBxC.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-c30P9O_3-BXRFFhii.js → AccountLockedInfoModal-c30P9O_3-n0xGj_zZ.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CO9BYPWm-Det_iJaE.js → AccountReconDetailsDrawerPage-CO9BYPWm-Mg0FsDRd.js} +1 -1
  7. package/dist/assets/{AccountRow-BrW_eEjE-HoBl8v8H.js → AccountRow-BrW_eEjE-DlgTvuFF.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-De2yNNuZ-C74RtM0g.js → AccountsPromoCardStack-De2yNNuZ-G5M7i2un.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-riOPLnxb-hTaoKUhW.js → AddAddressForCardDrawer-riOPLnxb-4wUmSook.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CsOmzC7v-XA_Ukf0G.js → AddToWalletPage-CsOmzC7v-DDekkTcs.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-D9I9afnB-j70-fH52.js → AgingReportsPage-D9I9afnB-Pr6LqJHU.js} +1 -1
  12. package/dist/assets/{AllUserItems-Dq7NcP-o-bQnq3Yy5.js → AllUserItems-Dq7NcP-o-BNPnQC3d.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-Z5JgfH-e-DlNnTpGB.js → ApAgingDetailPage-Z5JgfH-e-BCqAdteh.js} +1 -1
  14. package/dist/assets/{AppBasePage-B5sDynhi-B6PJcirc.js → AppBasePage-B5sDynhi-CUXe21st.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-D9Q8ir0T-BlV3y7qg.js → AppDrawerContent-D9Q8ir0T-CV--mref.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-DVGvJsQG-g3c3aBsx.js → ApprovalRulesSettingsPage-DVGvJsQG-COBJqCxP.js} +1 -1
  17. package/dist/assets/{ArAgingChart-Tcu0Lja_-DlvMwgJ3.js → ArAgingChart-Tcu0Lja_-Dcd3iM-I.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-B5vqkc3v-xHE7Qc0m.js → ArAgingDetailPage-B5vqkc3v-DkiCuj_D.js} +1 -1
  19. package/dist/assets/{AttachmentView-CiYfninr-BohG7XjP.js → AttachmentView-CiYfninr-76W0iAd5.js} +1 -1
  20. package/dist/assets/{BalancesInsightWithToolTip-tiQUQUbX-C692_oh-.js → BalancesInsightWithToolTip-tiQUQUbX-C4adSAUq.js} +1 -1
  21. package/dist/assets/{BankAccountSection-EZtscP2z-aKL8vcpJ.js → BankAccountSection-EZtscP2z-BUefIH5V.js} +1 -1
  22. package/dist/assets/{BankAccountWarningSection-DCfyIUlu-DyMLU3Tg.js → BankAccountWarningSection-DCfyIUlu-CKci9TET.js} +1 -1
  23. package/dist/assets/{BankConnectionsSettingsPage-CQWy9jvt-B-n6frCU.js → BankConnectionsSettingsPage-CQWy9jvt-BdLZIBvy.js} +1 -1
  24. package/dist/assets/{BillDetailPage-pt1k5AQf-BM9-GtkV.js → BillDetailPage-pt1k5AQf-BjT4Ihsm.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRuleDetailPage-Drh7Bhi8-CDpJ0g2R.js → BillPayApprovalRuleDetailPage-Drh7Bhi8-091yCGF7.js} +1 -1
  26. package/dist/assets/{BillPayApprovalRulesPage-Cmyo59xB-pg1tP0xq.js → BillPayApprovalRulesPage-Cmyo59xB-Bc1FlC0c.js} +1 -1
  27. package/dist/assets/{BillPayPromoPage-Dgpz2TLG-BFCcBeGF.js → BillPayPromoPage-Dgpz2TLG-RoPtYKEQ.js} +1 -1
  28. package/dist/assets/{BillPaySetUpPage-B6Pd_eBf-BC27u6lI.js → BillPaySetUpPage-B6Pd_eBf-CWUn729m.js} +1 -1
  29. package/dist/assets/{BillingSettingsPage-CYsvBrFV-BWO0QWBs.js → BillingSettingsPage-CYsvBrFV-DtV08_g9.js} +1 -1
  30. package/dist/assets/{BillsBulkReviewDrawerPage-DNnAmqWz-BQr-aBSF.js → BillsBulkReviewDrawerPage-DNnAmqWz-CEdBVzVe.js} +1 -1
  31. package/dist/assets/{BoxItem-B06DK4G--CNFqY3pV.js → BoxItem-B06DK4G--Bupc4dyY.js} +1 -1
  32. package/dist/assets/{BusinessVerificationPage-Dgk5gyMv-BdAKTgt0.js → BusinessVerificationPage-Dgk5gyMv-BKMYH8C3.js} +1 -1
  33. package/dist/assets/{CardNumberSubText-CcH9jUoZ-BGeGZCAA.js → CardNumberSubText-CcH9jUoZ-mqNKBu9B.js} +1 -1
  34. package/dist/assets/{CashbackDetailPage-5eysaHGf-qWx0m6gR.js → CashbackDetailPage-5eysaHGf-O2irFEC3.js} +1 -1
  35. package/dist/assets/{ChargeCardDetailPage-Diwf-gwZ-DmopcUlO.js → ChargeCardDetailPage-Diwf-gwZ-BUyvgd6i.js} +1 -1
  36. package/dist/assets/{ChargeCardListPage-C-RTGkKK-Bb-QwUsn.js → ChargeCardListPage-C-RTGkKK-DLkixTq5.js} +1 -1
  37. package/dist/assets/{ChargeCardListTable-B-bNbtZQ-Bfw8s7pe.js → ChargeCardListTable-B-bNbtZQ--LQKl6Xj.js} +1 -1
  38. package/dist/assets/{ChargeCardPaymentHistoryPage-Cu-zT5tO-C6SEcidH.js → ChargeCardPaymentHistoryPage-Cu-zT5tO-CNtnC-O7.js} +1 -1
  39. package/dist/assets/{ChargeCardPromoPage-Cz3rNFwM-N71PCrPp.js → ChargeCardPromoPage-Cz3rNFwM-D_0OzJRZ.js} +1 -1
  40. package/dist/assets/{ChargeCardSetupPage-BcTB9Yy5-DkE42DK5.js → ChargeCardSetupPage-BcTB9Yy5-BOaP0LVe.js} +1 -1
  41. package/dist/assets/{ChargeCardStatementsPage-B_ERvgmB-DFHNpOVz.js → ChargeCardStatementsPage-B_ERvgmB-DjHyNuHd.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-D7_usOVn-C_GuSSOC.js → CheckDepositDrawerPage-D7_usOVn-B0KdoA_b.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-h0vIfI8o-Bg2RfRDJ.js → CollapsableReportTable-h0vIfI8o-D3Pt-4FZ.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-CWADX4kZ-IHJvDX6-.js → CompanyOfficerDetailsSection-CWADX4kZ-jF_BBJt5.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-DF9LFrFD-DjueOJ3s.js → CompanyPassportCard-DF9LFrFD-nY8e_5Nd.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-BtAopyLq-DbU6xdRd.js → CompanyPassportPage-BtAopyLq-BcF__FaA.js} +1 -1
  47. package/dist/assets/{CompleteProfile-CsbsHQ0p-BLF2mnNn.js → CompleteProfile-CsbsHQ0p-Da1z9Z7H.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-duD341Gp-Bb3-s_zN.js → ConfettiBurst-duD341Gp-CRM9LgmA.js} +1 -1
  49. package/dist/assets/{ConstrainedInnerElement-hv51KpGg-DTOZooRA.js → ConstrainedInnerElement-hv51KpGg-CXln6N2t.js} +1 -1
  50. package/dist/assets/{CreateOrEditVendorPage-C2xU6c51-DT9rwnbq.js → CreateOrEditVendorPage-C2xU6c51-B-kxLo4f.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentDrawerPage-CeagMaCu-D6hhhd3N.js → CreditCardPaymentDrawerPage-CeagMaCu-tu_QZ5if.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-B8EoF2aF-uavVFTum.js → CurrencySelectField-B8EoF2aF-GOW4qR7m.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-CIeR2XvU-B59q7JSL.js → CustomerOnboardingActivationPage-CIeR2XvU-CK8C5kkD.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-DVL4s-eV-BLPiI0Mv.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-kUbwh2r2-zrrFUTGk.js → CustomerOnboardingDetailPageSkeleton-kUbwh2r2-J-3HD8z8.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-Br0jy7Pu-C04-tCb6.js → CustomerOnboardingNoStepsPage-Br0jy7Pu-ChmYYCLk.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-Dm2Si769-DsN6K-ie.js → CustomerOnboardingPage-Dm2Si769-D58-iBoA.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-Cz81Q5jC-eSuGAIqK.js → CustomerOnboardingProductSuitePage-Cz81Q5jC-n81ts80h.js} +1 -1
  59. package/dist/assets/{Dashboard-DReG_aaf-C4aSoq3o.js → Dashboard-DReG_aaf-DwSOFg0b.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-BXSlwsR7-4jSB_qXZ.js → DashboardReportPage-BXSlwsR7-CQ7UXe-C.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-B3dtVAe2-BBvO3tiT.js → DashboardSidebarBackgroundAnimation-B3dtVAe2-B6yGX6Ah.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-YuSXjbLh-dhpmj79R.js → DepositAccTransactionItem-YuSXjbLh-C2vDDOod.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-C-FAvZwD-5kKsnSxM.js → DepositAccTransactionListPage-C-FAvZwD-BbAq4nWD.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-BaiSpc0N-BaNvy8Dj.js → DomesticWireDetailsPage-BaiSpc0N-DnjTEbYw.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-BpRKCn-0-GQtzMlpD.js → DownloadOverlay-BpRKCn-0-CHKRQCgV.js} +1 -1
  66. package/dist/assets/{DrawerPage-DQ3Xuekx-71bFG_xW.js → DrawerPage-DQ3Xuekx-B9p3dBku.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-8DalSMWH-BO--FbCf.js → EditPeoplePage-8DalSMWH-Ckh9exV5.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-CC2BjMkR-BrDBl4Nx.js → EditReimbursementDetailPage-CC2BjMkR-CV9Xwg25.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-fmWuxHTZ-BEOMoyTE.js → EntityDetailPage-fmWuxHTZ-DJDbCj57.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-vsEMiXYh-UA5Y35sl.js → EntitySummarySection-vsEMiXYh-CDZa-Mc3.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-B3HPfIsK-4ZtjmO8G.js → ExpenseAutomationOverviewPage-B3HPfIsK-CWN4kP2X.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-4LJefgNh-YH8canW3.js → ExpenseAutomationPage-4LJefgNh-isL_Jc14.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-BH7oCW_F-HW0llOdu.js → ExpressPayPage-BH7oCW_F-ls2gqEkj.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-DSv61BhF-rk5VNvfQ.js → FeaturePreviewPage-DSv61BhF-D3bUAc_I.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-Bgy9MpO4-DCiZAX41.js → FollowStepsSection-Bgy9MpO4-DjmY6ECY.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-VRq_gimm-D4JxkgEf.js → GlobalReviewListPage-VRq_gimm-BJViyoax.js} +1 -1
  77. package/dist/assets/{InformationCardStack-rx0fypl3-C50dsns2.js → InformationCardStack-rx0fypl3-PVL5sP4g.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-uJWMkIZL-k2gW7JtA.js → InsightsCardStack-uJWMkIZL-BMcef6eP.js} +1 -1
  79. package/dist/assets/{InsightsSection-ByFf2oGn-BaSZhycl.js → InsightsSection-ByFf2oGn-v8_DJRM0.js} +1 -1
  80. package/dist/assets/{IntegrationsSettingsPage-Cj01Nub6-JLccDpyu.js → IntegrationsSettingsPage-Cj01Nub6-Ckk6jPFc.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-C2PM97sv-CXe5WYRW.js → InternationalWireSwiftDetailsPage-C2PM97sv-DZ12UKs3.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-Cr3sDrT--Bq6HNEU0.js → InternationalWireVerificationPage-Cr3sDrT--DP2ZfrSL.js} +1 -1
  83. package/dist/assets/{InviteFormPage-dsMpScvq-CF55W3d2.js → InviteFormPage-dsMpScvq-CwRYtYza.js} +1 -1
  84. package/dist/assets/{InvitePageListView-e7vGSbFa-wcp0OLc4.js → InvitePageListView-e7vGSbFa-DcUjhdI-.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-BT_YVCP4-yRtlk6wv.js → InvitePeoplePage-BT_YVCP4-CgT1m3Z3.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-Dg1-uunA-DejmnF3G.js → InvoiceUploadSection-Dg1-uunA-CW2z21hh.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-CyF9wrb0-DIt_LpMY.js → IssueChargeCardPage-CyF9wrb0-CEZ2-O-B.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-3l0Bv00--DmuSRVDq.js → LabeledAddressValue-3l0Bv00--CRsMpkI1.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-F9kvUR_r-BCeaFKsb.js → LabeledAddressValueField-F9kvUR_r--rBMYRFp.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-BgC8y0D6-Cxk0wWCO.js → LabeledControlledCheckBoxField-BgC8y0D6-BL02IYWO.js} +1 -1
  91. package/dist/assets/{LabeledCountryMultiSelectField-3qI_4noU-BCLCbVPc.js → LabeledCountryMultiSelectField-3qI_4noU-BwwxeoBQ.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-BV3h9bh7-BAj07yW-.js → LabeledCreatableSingleSelectField-BV3h9bh7-D2WoBuGQ.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-rriEcsdr-CkxtZhMI.js → LabeledDocumentField-rriEcsdr-DuJ2zUxk.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-DoVSg3nZ-Be0l5Q_z.js → LabeledDropDownFormattedTextField-DoVSg3nZ-k-dWGYUh.js} +1 -1
  95. package/dist/assets/{LabeledText-DGZ7hxY4-IuE8fmYf.js → LabeledText-DGZ7hxY4-DsEkDfJy.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-DgE4V-VP.js → LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-BdZT_J4k.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-jIrTovp--Bw9Copum.js → LabeledZeniRolesDropDownField-jIrTovp--BhxE0P_I.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-Bvbqpltz-Bc-21K8g.js → LinkJETransactionPage-Bvbqpltz-HF3tsHRK.js} +1 -1
  99. package/dist/assets/{LockCardPage-DyEQBJYx-BLiE9GBP.js → LockCardPage-DyEQBJYx-Cp9KP7Ha.js} +1 -1
  100. package/dist/assets/{LowBalancePopup-C2vHKMNF-PKO6ElPE.js → LowBalancePopup-C2vHKMNF-bdPNLfbg.js} +1 -1
  101. package/dist/assets/{MagicLinkACHDetailsPage-lAAwAtH7-SJ0jUK4M.js → MagicLinkACHDetailsPage-lAAwAtH7-Ck-bBlpT.js} +1 -1
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-cv823ASo-DimLQOFo.js → MagicLinkDomesticWireDetailsPage-cv823ASo-o8N9E1Vn.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C_SjsgC9-Bvgil6AB.js → MagicLinkInternationalWireDetailsPage-C_SjsgC9-VMrnWF1u.js} +1 -1
  104. package/dist/assets/{MagicLinkSuccessPage-B1LBYM2F-BYLLbXss.js → MagicLinkSuccessPage-B1LBYM2F-6icyR0Uu.js} +1 -1
  105. package/dist/assets/{MagicLinkTitleSection-ClAnBBt9-CxQuR-QP.js → MagicLinkTitleSection-ClAnBBt9-BG2qP1eV.js} +1 -1
  106. package/dist/assets/{MailingDetailsSection-9_XLl4bT-BB3mmWQ9.js → MailingDetailsSection-9_XLl4bT-aum9pUe4.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-CBNYcuP4-DwZ11Kbp.js → MyBankConnectionsSettingsPage-CBNYcuP4-JphRdcv2.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-n71n40uQ-DzAksyAj.js → MyPendingActivationChargeCardListPage-n71n40uQ-Dl2qH7gb.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-BUMIjZYc-CtFmjBIE.js → MyProfileSettingsPage-BUMIjZYc-Bnuq---Y.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-CbjFNysh-BLH7wXCB.js → NavBarWithPicker-CbjFNysh-fM8X8YaY.js} +1 -1
  111. package/dist/assets/{NavigationArrow-Dpc7u6y4-94AYlIy-.js → NavigationArrow-Dpc7u6y4-BiRqyGkx.js} +1 -1
  112. package/dist/assets/{NavigationDots-DCpslVnm-BIAw9fTc.js → NavigationDots-DCpslVnm-DccClgwI.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-B10sY6Q_-Owh-T5As.js → NewGlobalMerchantPage-B10sY6Q_-VgMXWXS2.js} +1 -1
  114. package/dist/assets/{NoDataChart-9-bhq204-jF2VPuzU.js → NoDataChart-9-bhq204-Mk2SpDph.js} +1 -1
  115. package/dist/assets/{NoDataTable-C6Q2Anpz-DB9htpIj.js → NoDataTable-C6Q2Anpz-DUKNluuK.js} +1 -1
  116. package/dist/assets/{NotFoundPage-4mPhXD5--Dq1iR5VQ.js → NotFoundPage-4mPhXD5--D8Xe2RH2.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-BTxCoB_b-BHZscHCj.js → NotificationSettingsPage-BTxCoB_b-EQULZcKC.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-CylnViXd-Dg2fm6St.js → NotificationsListConfig-CylnViXd-BsFR_NcM.js} +1 -1
  119. package/dist/assets/{NotificationsPage-D41h0mS6-Dzdq9z4a.js → NotificationsPage-D41h0mS6-Bb6S9Jk3.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-BV_uJSCh-BHuftqJi.js → OpExByVendorPage-BV_uJSCh-DSWgiZdt.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-CkUYOhlh-ChB_ia4V.js → OverlayContainerPage-CkUYOhlh-BnCo9_OT.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-Cj3UWjG4-Ufv6uGVt.js → PandLWithForecastPage-Cj3UWjG4-Daok_AzA.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BWFl695q-DUUCCWV6.js → PaymentAccountSetupBillingAddressSection-BWFl695q-CDWvoSql.js} +1 -1
  124. package/dist/assets/{PeoplePage-DcGqWtAP-CfVqJS-U.js → PeoplePage-DcGqWtAP-DkPagYKu.js} +1 -1
  125. package/dist/assets/{Preview-DHku7oFH.js → Preview-Cc9vKqgF.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-C9JoJQeH-7TCp-gr7.js → ProductsCarousel-C9JoJQeH-x81n9I1l.js} +1 -1
  127. package/dist/assets/{PromoBaseCards-mFk7SsOr-cB2eyHgD.js → PromoBaseCards-mFk7SsOr-qtCHMf8v.js} +1 -1
  128. package/dist/assets/{QBOConnectionDialog-CJsIrEZq-Djdbh1G7.js → QBOConnectionDialog-CJsIrEZq-Cv6iSpTz.js} +1 -1
  129. package/dist/assets/{QBOSetupSection-C_fqHza_-B8WpC_yY.js → QBOSetupSection-C_fqHza_-DgpfNI-0.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BMZnKpsk-CX5NlTL7.js → ReimbursementApprovalRuleDetailPage-BMZnKpsk-C2eUzL_F.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRulesPage-C2zNa8dT-CGtrNpR7.js → ReimbursementApprovalRulesPage-C2zNa8dT-BewT1FOV.js} +1 -1
  132. package/dist/assets/{ReimbursementDetailPage-B1o8ea57-BrBovHlf.js → ReimbursementDetailPage-B1o8ea57-DRCLvjWj.js} +1 -1
  133. package/dist/assets/{ReimbursementPromoPage-Df5QmXzC-CzrrekBH.js → ReimbursementPromoPage-Df5QmXzC-CiqDm3oM.js} +1 -1
  134. package/dist/assets/{ReimbursementSetUpPage-D450RVsP-BNS45RtV.js → ReimbursementSetUpPage-D450RVsP-CoGf8qvT.js} +1 -1
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-BYy6jU6w.js → ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-qH0UNUqD.js} +1 -1
  136. package/dist/assets/{ReloadCard-D5cvzWxe-BSJWwb6T.js → ReloadCard-D5cvzWxe-B3IyXnq9.js} +1 -1
  137. package/dist/assets/{ReportTableViewSelector-Ig41fOPb-DyEm5Q02.js → ReportTableViewSelector-Ig41fOPb-CLRRGAhe.js} +1 -1
  138. package/dist/assets/{ReportsPage-CRAVAUTO-D_QRWGM1.js → ReportsPage-CRAVAUTO-Cw7xKvAS.js} +1 -1
  139. package/dist/assets/{RevenueChart-DtQu0KAn-DJYGsojB.js → RevenueChart-DtQu0KAn-D8weCECA.js} +1 -1
  140. package/dist/assets/{ReviewDetailsPage-vui4TqeA-gjxKkEYH.js → ReviewDetailsPage-vui4TqeA-D-XziIJQ.js} +1 -1
  141. package/dist/assets/{ReviewOverlay-CUnL7H-a-BjFaE0id.js → ReviewOverlay-CUnL7H-a-17YpOTAb.js} +1 -1
  142. package/dist/assets/{RoleWithToolTip-x2rnvWn9-BzchKu5T.js → RoleWithToolTip-x2rnvWn9-Decoe-vI.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-D_Cls2jC-CNWyfY4t.js → ScheduleDetailsFixedAssetsPage-D_Cls2jC-BwmKM1Tl.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsPage-DmSLuM8g-5vyMikmE.js → ScheduleDetailsPage-DmSLuM8g-DYOZWouJ.js} +1 -1
  145. package/dist/assets/{ScheduleSequenceTable-js9_P_Lo-CeLb4ONW.js → ScheduleSequenceTable-js9_P_Lo-CzCZ3H3Q.js} +1 -1
  146. package/dist/assets/{ScreenRoutes-ziq-yiHW.js → ScreenRoutes-VDuiXW2A.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-DYRWWXcL-D3Lz2J4N.js → SetUpAccountSection-DYRWWXcL-CqyVY0zk.js} +1 -1
  148. package/dist/assets/{SignIn-CUJkZb3S-DEoVYbuM.js → SignIn-CUJkZb3S-BQ5cYlKz.js} +1 -1
  149. package/dist/assets/{SignInScreen-CMKiwyNN.js → SignInScreen-BxnvlP3D.js} +1 -1
  150. package/dist/assets/{SpendManagementListViewPage-BieufnDb-DWfo1rZv.js → SpendManagementListViewPage-BieufnDb-DsSgx26K.js} +3 -3
  151. package/dist/assets/{SpendManagementPerTabPage-BmUp80QX-D3VMwaS-.js → SpendManagementPerTabPage-BmUp80QX-_fIZmx1n.js} +1 -1
  152. package/dist/assets/{SpendManagementSection-DKZNTYXT-mbKmW3pW.js → SpendManagementSection-DKZNTYXT-Y5i2WptS.js} +1 -1
  153. package/dist/assets/{StatementItem-Dyt5Q0eR-DHmcaJ-e.js → StatementItem-Dyt5Q0eR-ge2odajX.js} +1 -1
  154. package/dist/assets/{StatementsPage-CbtnJM5y-COycJvfL.js → StatementsPage-CbtnJM5y-D7odQb22.js} +1 -1
  155. package/dist/assets/{StatusSwitcher-BfQ9VbBH-DC0t3Flj.js → StatusSwitcher-BfQ9VbBH-B-KO1Buq.js} +1 -1
  156. package/dist/assets/{SubTabSwitcher-CzGiuhk3-DLbV8WBg.js → SubTabSwitcher-CzGiuhk3-BJdsqPl7.js} +1 -1
  157. package/dist/assets/{SummaryCard-D61xzK3a-DMSW9KNv.js → SummaryCard-D61xzK3a-D5OwtVH7.js} +1 -1
  158. package/dist/assets/{TaskManagementPage-ucVAdv7x-AkXJlFwQ.js → TaskManagementPage-ucVAdv7x-DzPLVMfi.js} +1 -1
  159. package/dist/assets/{TimeRangeSwitcher-C3jXm39I-tjiVSjZN.js → TimeRangeSwitcher-C3jXm39I-pg9s0UqV.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcher-CcYg-YQJ-C2j1iPoK.js → TimeframeSwitcher-CcYg-YQJ-B8uZpFtx.js} +1 -1
  161. package/dist/assets/{TimeframeSwitcherWithToggle-w4YJno-p-Bi4h2wB2.js → TimeframeSwitcherWithToggle-w4YJno-p-B2pTF6KS.js} +1 -1
  162. package/dist/assets/{TopExCard-D2PRxvFc-DTkmCs_e.js → TopExCard-D2PRxvFc-jwp5OjNB.js} +1 -1
  163. package/dist/assets/{TopExDetailPage-C0uHdU7N-CkEVyz2B.js → TopExDetailPage-C0uHdU7N-D9KWDen5.js} +1 -1
  164. package/dist/assets/{TransactionActivityLogPage-CqYb19tY-v__opMvt.js → TransactionActivityLogPage-CqYb19tY-BvG_2MHQ.js} +1 -1
  165. package/dist/assets/{TransactionDetailPage-D-NR_yZG-DdONq5Tf.js → TransactionDetailPage-D-NR_yZG-DLNp0Ym3.js} +1 -1
  166. package/dist/assets/{TransactionList-f6yB-byH-Oxgdaak4.js → TransactionList-f6yB-byH-BeXigMDL.js} +1 -1
  167. package/dist/assets/{TransactionListBig-BrDWayQS-C0zQ3f5X.js → TransactionListBig-BrDWayQS-DsH6Jycs.js} +1 -1
  168. package/dist/assets/{TransactionListPage-C-Z62y2d-DnIWNXku.js → TransactionListPage-C-Z62y2d-BZTkx2mc.js} +1 -1
  169. package/dist/assets/{TransactionVendorDetailPage-CQQuAR6V-Dt6j0ppt.js → TransactionVendorDetailPage-CQQuAR6V-D21ZQKzj.js} +1 -1
  170. package/dist/assets/{TransferDrawerPage-DfFm-1-3-Dp1b_ezH.js → TransferDrawerPage-DfFm-1-3-DcsnoXjo.js} +1 -1
  171. package/dist/assets/{TreasuryOverviewPage-CKSanlUG-BJ3RsJkb.js → TreasuryOverviewPage-CKSanlUG-CsJ07wXK.js} +1 -1
  172. package/dist/assets/{TreasuryPromoPage-Dyip3H10-ClQVvPZy.js → TreasuryPromoPage-Dyip3H10-BFjPECcI.js} +1 -1
  173. package/dist/assets/{TreasuryStatementsPage-mljf2Van-DInZXjo_.js → TreasuryStatementsPage-mljf2Van-CKwUR6NQ.js} +1 -1
  174. package/dist/assets/{TreasuryTaxLetterPage-D3cV3a-8-CcMHT6vj.js → TreasuryTaxLetterPage-D3cV3a-8-L4BwstYA.js} +1 -1
  175. package/dist/assets/{TrendChart-fFlHCvNx-DADa9lxz.js → TrendChart-fFlHCvNx--8jxSfa_.js} +1 -1
  176. package/dist/assets/{TrendWithTransactions-It4KDov3-BNez-K-6.js → TrendWithTransactions-It4KDov3-uJUU6y8f.js} +1 -1
  177. package/dist/assets/{UncategorizedAccountsMappingPage-BxBz2Ce0-BSZYER7A.js → UncategorizedAccountsMappingPage-BxBz2Ce0-CNPxhzU9.js} +1 -1
  178. package/dist/assets/{UnitIntegrationPage-gVgsk2ji-Dz79ORBq.js → UnitIntegrationPage-gVgsk2ji-COCsJfhk.js} +1 -1
  179. package/dist/assets/{UploadAdditionalDocumentOverlay-C5m8jqup-5PpZVQjf.js → UploadAdditionalDocumentOverlay-C5m8jqup-S0ohEV34.js} +1 -1
  180. package/dist/assets/{Vendor2FAPopup-DRwBzOwn-C-SwMKWw.js → Vendor2FAPopup-DRwBzOwn-DhtM-fsI.js} +1 -1
  181. package/dist/assets/{VendorACHDetailsPage-By2Ya2bv-CjVBmCig.js → VendorACHDetailsPage-By2Ya2bv-q_tye6Vo.js} +1 -1
  182. package/dist/assets/{VendorDetailPage-jci1LqX3-QbESQx0s.js → VendorDetailPage-jci1LqX3-BiOnbd3f.js} +1 -1
  183. package/dist/assets/{VendorDomesticWireDetailsPage-uIDE-n5v-CEtT0uGT.js → VendorDomesticWireDetailsPage-uIDE-n5v-CXJb5J3y.js} +1 -1
  184. package/dist/assets/{VendorFiling1099EditablePage-8pYT3u-X-D-wgniGH.js → VendorFiling1099EditablePage-8pYT3u-X-D_UDyuhP.js} +1 -1
  185. package/dist/assets/{VendorFirstReviewPage-CafakxA1-CDJXyRr2.js → VendorFirstReviewPage-CafakxA1-DLht7hvz.js} +1 -1
  186. package/dist/assets/{VendorInternationalWireDetailsPage-DJeI-ZFW-DlATitk5.js → VendorInternationalWireDetailsPage-DJeI-ZFW-Y_m9RvHt.js} +1 -1
  187. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Co-5nTam-Dq9Sjb3M.js → VendorInternationalWireSwiftDetailsPage-Co-5nTam-2AgQI36C.js} +1 -1
  188. package/dist/assets/{VendorsAccountsSection-YX2g8ETe-D60z7JWq.js → VendorsAccountsSection-YX2g8ETe-e-Ebd3i7.js} +1 -1
  189. package/dist/assets/{VerifyDevice-DeHW4GAi-COYWduJ8.js → VerifyDevice-DeHW4GAi-BrrxSvi2.js} +1 -1
  190. package/dist/assets/{VideoPlayer-DxIfGrPu-_quRL0IB.js → VideoPlayer-DxIfGrPu-DG9_29pb.js} +2 -2
  191. package/dist/assets/{VideoPopup-CUP7ctgS-CvuTwYjE.js → VideoPopup-CUP7ctgS-CnQZCBbO.js} +1 -1
  192. package/dist/assets/{WarningsDrawerPage--s6b380L-kLxITMYx.js → WarningsDrawerPage--s6b380L-BvzCi6Jk.js} +1 -1
  193. package/dist/assets/{ZeniAccountDetailPage-7NdkdSg3-DUqxr3Vg.js → ZeniAccountDetailPage-7NdkdSg3-CzyDTlLy.js} +1 -1
  194. package/dist/assets/{ZeniAccountListViewPage-B-cs_xnc-yymuGC8c.js → ZeniAccountListViewPage-B-cs_xnc-CitANkcs.js} +1 -1
  195. package/dist/assets/{ZeniAccountNavBarPieces-CjRip0v9-CWaUJ8t5.js → ZeniAccountNavBarPieces-CjRip0v9-fqy5uhYF.js} +1 -1
  196. package/dist/assets/{ZeniAccountPromoPage-BikXtkeH-CZNOzkma.js → ZeniAccountPromoPage-BikXtkeH-DjpOin1U.js} +1 -1
  197. package/dist/assets/{ZeniAccountSetupPage-BRBsijVt-4J2hs6F_.js → ZeniAccountSetupPage-BRBsijVt-CVgD2Uf6.js} +1 -1
  198. package/dist/assets/{ZeniCopyright-DDGvdmLF-BbItEQ1K.js → ZeniCopyright-DDGvdmLF-447g6hlp.js} +1 -1
  199. package/dist/assets/{ZeniTransferAmountSlider-Cdg0TlHk-C5Juk6O6.js → ZeniTransferAmountSlider-Cdg0TlHk-DPnsENMy.js} +1 -1
  200. package/dist/assets/{add-to-wallet-DgdBD8_G-BPAwAHT2.js → add-to-wallet-DgdBD8_G-Tvhq1Gb8.js} +1 -1
  201. package/dist/assets/{analytics-B3XlZNQ8.js → analytics-BSh5cBTM.js} +1 -1
  202. package/dist/assets/{analyticsHelper-D9xdJK4b-C8beHKtm.js → analyticsHelper-D9xdJK4b-DdFbzSx8.js} +1 -1
  203. package/dist/assets/{analyticsHelper-Bnej6boJ.js → analyticsHelper-DOE_CVQ_.js} +1 -1
  204. package/dist/assets/{arrow-south-east-round-PEovUgvH-DYcTfV8-.js → arrow-south-east-round-PEovUgvH-D9NhRqZJ.js} +1 -1
  205. package/dist/assets/{auto-transfer-rule-mbafm5D3-C0L9GopF.js → auto-transfer-rule-mbafm5D3-Bd8ltJD0.js} +1 -1
  206. package/dist/assets/{chartTypes-Dq3hUz_T-D0weDXco.js → chartTypes-Dq3hUz_T-CZIhQYGg.js} +1 -1
  207. package/dist/assets/{commonDimensions-CGHIQ2To-BXIDDuOd.js → commonDimensions-CGHIQ2To-ChTwXt2F.js} +1 -1
  208. package/dist/assets/{commonTypes-BAJPaPYg-BqOkop1Y.js → commonTypes-BAJPaPYg-ZRT2EIAq.js} +1 -1
  209. package/dist/assets/{constants-BcG8RJNm.js → constants-Ca2l-eSK.js} +1 -1
  210. package/dist/assets/{core-DTlL91ob.js → core-BBKQkJb7.js} +1 -1
  211. package/dist/assets/{dash.all.min-wCYxg1-F.js → dash.all.min-DzQe-Q97.js} +1 -1
  212. package/dist/assets/{downloadPdf-BI2Y41h2-DmQ3wa5x.js → downloadPdf-BI2Y41h2-CJxUrMkc.js} +1 -1
  213. package/dist/assets/{empty-DTLC6acq.js → empty-BAhHXN-J.js} +1 -1
  214. package/dist/assets/{empty-9h6tGMxX.js → empty-CvQ9mfdA.js} +1 -1
  215. package/dist/assets/{epic-CSBGbcOS.js → epic-DPl_yeEQ.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-CvfvQG3y.js → gift-box-Cmt9OgIZ-DeI78FXp.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-ChqWps-8.js → graphic-no-data-l-DU4J8fDt-l3Wpg2uF.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-1sZH3huZ.js → graphic-no-data-net-burn-l-CzmycA0m-Dyry9S3b.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-C8qC_oIS.js → handshake-BPg58FML-CAcdkk5J.js} +1 -1
  220. package/dist/assets/{helper-z5-P4a-y-DCqj7mqg.js → helper-z5-P4a-y-BjC38EFp.js} +1 -1
  221. package/dist/assets/{index-CTllXPEB.js → index-BSFE83ps.js} +1 -1
  222. package/dist/assets/{index-DA1Z8sqg.js → index-C2tYLV1-.js} +1 -1
  223. package/dist/assets/{index-CXoFWELS.js → index-CbQy18LL.js} +1 -1
  224. package/dist/assets/{index-BRlvHWYX.js → index-Co5CHcL-.js} +1 -1
  225. package/dist/assets/{index-DivE10Xm.js → index-D1n9iNXR.js} +1 -1
  226. package/dist/assets/{index-BTxAEBwp.js → index-Di0PzFTw.js} +1 -1
  227. package/dist/assets/{index-nssLOVFu.js → index-DmJDLobC.js} +6 -6
  228. package/dist/assets/{lexical-CoKvBbaA.js → lexical-CC2d_kE2.js} +1 -1
  229. package/dist/assets/{liveblocks-offUbtxr.js → liveblocks-D1Gf9COF.js} +1 -1
  230. package/dist/assets/{lottie-Cqel28AC.js → lottie-B-DVrXwa.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-DrC2Zs2y-BuaBdgp1.js → mapLoadingInProgressToTreeNode-DrC2Zs2y-BjsjwyTG.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-dsBogxKz-D78gQ4Dn.js → mapSectionWithAcOnlyToTreeNode-dsBogxKz-4f0Ul0l4.js} +1 -1
  233. package/dist/assets/{mapSpacerToTreeNode-DMDEaLzQ-ibbyX8vz.js → mapSpacerToTreeNode-DMDEaLzQ-V5HoG67-.js} +1 -1
  234. package/dist/assets/{mapTimeframeBalancesToTreeNode-CW_wzI5T-he6bfb8d.js → mapTimeframeBalancesToTreeNode-CW_wzI5T-DDDj-Taw.js} +1 -1
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-DvfKBCs5-GyIWCN5D.js → mapTimeframeBalancesToTreeNode-DvfKBCs5-BZ6MszHu.js} +1 -1
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-DlA9TyjC.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-LJEHXizn.js} +1 -1
  237. package/dist/assets/{mui-BVCBQYdL.js → mui-Bgk_7_3h.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-D1vlmLcE.js → page-detail-CWX5S47F-DpTi0lr5.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-Cddsb26L-CSqoRxwG.js → panelSelectedMixin-Cddsb26L-BeWHMcNi.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-BGMZB5pj.js → radio-default-CiSgisfh-Dt6ezU-k.js} +1 -1
  241. package/dist/assets/{react-CSBaF2r0.js → react-0s0M_CAb.js} +1 -1
  242. package/dist/assets/{react-QuNdLWH0.js → react-8rwwNA9S.js} +1 -1
  243. package/dist/assets/{react-CLksnFSH.js → react-93CibPtS.js} +1 -1
  244. package/dist/assets/{react-BXvNRT2q.js → react-Cz3x_Ojh.js} +1 -1
  245. package/dist/assets/{react-C_JPVQ2C.js → react-Dfxv8P4v.js} +1 -1
  246. package/dist/assets/{react-DRddHEvz.js → react-DwGR9wjl.js} +1 -1
  247. package/dist/assets/{react-jkd7J1Kg.js → react-TtlD7S5U.js} +2 -2
  248. package/dist/assets/{react-BEal1Iuh.js → react-vKhkI9QX.js} +1 -1
  249. package/dist/assets/{recharts-DAsNs3BU.js → recharts-DQ94kkTy.js} +1 -1
  250. package/dist/assets/{sentry-Fca4mdIl.js → sentry-L3H0lnBS.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-CRgtaaqW.js → shield-DOlUxcFf-BeXfYuLC.js} +1 -1
  252. package/dist/assets/{toCOABalancesWithID-P7keEtAg-DZcYuHA-.js → toCOABalancesWithID-P7keEtAg-CKsrAJNb.js} +1 -1
  253. package/dist/assets/{toChartData-BUf5HHim-DGDFToOH.js → toChartData-BUf5HHim-DU5WiVJh.js} +1 -1
  254. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BVwF7gzx.js → upload-reimbursement-receipt-O2N8vcO7-N655yXJS.js} +1 -1
  255. package/dist/assets/{uploadAttachment-DJA30WSD-CHN4VO1K.js → uploadAttachment-DJA30WSD-Ce-ZEqY3.js} +1 -1
  256. package/dist/assets/{uploadReceipts-CqDftTRt-Bj47leio.js → uploadReceipts-CqDftTRt-DXWV7iem.js} +1 -1
  257. package/dist/assets/{url-DdD720VJ.js → url-3bnwMjsG.js} +1 -1
  258. package/dist/assets/{url-DkjikAwv.js → url-CVUNFFPg.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ-DXicXlES.js → useLongPress-GCK2COYQ-rqfVb6ME.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-BQlBhf7H.js → usp-line-BBd1wKwW-J8zgXRmN.js} +1 -1
  261. package/dist/assets/{utils-Cgs4R-d4.js → utils-WSIc2RtD.js} +1 -1
  262. package/dist/assets/{zeni-epic-state-BZv12Eez.js → zeni-epic-state-B9Z2lD6g.js} +3 -3
  263. package/dist/index.html +1 -1
  264. package/package.json +3 -3
  265. package/dist/assets/CustomerOnboardingContainerPage-DVL4s-eV-Betf7XiO.js +0 -1
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/empty-9h6tGMxX.js","assets/sentry-Fca4mdIl.js","assets/empty-DTLC6acq.js","assets/index-CTllXPEB.js","assets/index-CXoFWELS.js","assets/zeni-epic-state-BZv12Eez.js","assets/core-DTlL91ob.js","assets/utils-Cgs4R-d4.js","assets/recharts-DAsNs3BU.js","assets/liveblocks-offUbtxr.js","assets/url-DkjikAwv.js","assets/index-DA1Z8sqg.js","assets/index-DivE10Xm.js","assets/url-DdD720VJ.js","assets/index-BRlvHWYX.js","assets/constants-BcG8RJNm.js","assets/OverlayContainerPage-CkUYOhlh-ChB_ia4V.js","assets/mui-BVCBQYdL.js","assets/lottie-Cqel28AC.js","assets/analytics-B3XlZNQ8.js","assets/lexical-CoKvBbaA.js","assets/ConfettiBurst-duD341Gp-Bb3-s_zN.js","assets/SignIn-CUJkZb3S-DEoVYbuM.js","assets/ZeniCopyright-DDGvdmLF-BbItEQ1K.js","assets/ProductsCarousel-C9JoJQeH-7TCp-gr7.js","assets/handshake-BPg58FML-C8qC_oIS.js","assets/Dashboard-DReG_aaf-C4aSoq3o.js","assets/DashboardSidebarBackgroundAnimation-B3dtVAe2-BBvO3tiT.js","assets/ArAgingChart-Tcu0Lja_-DlvMwgJ3.js","assets/chartTypes-Dq3hUz_T-D0weDXco.js","assets/ReloadCard-D5cvzWxe-BSJWwb6T.js","assets/TopExCard-D2PRxvFc-DTkmCs_e.js","assets/graphic-no-data-l-DU4J8fDt-ChqWps-8.js","assets/RevenueChart-DtQu0KAn-DJYGsojB.js","assets/toCOABalancesWithID-P7keEtAg-DZcYuHA-.js","assets/toChartData-BUf5HHim-DGDFToOH.js","assets/InsightsCardStack-uJWMkIZL-k2gW7JtA.js","assets/SummaryCard-D61xzK3a-DMSW9KNv.js","assets/NavigationArrow-Dpc7u6y4-94AYlIy-.js","assets/NavigationDots-DCpslVnm-BIAw9fTc.js","assets/arrow-south-east-round-PEovUgvH-DYcTfV8-.js","assets/AccountsPromoCardStack-De2yNNuZ-C74RtM0g.js","assets/CompanyPassportCard-DF9LFrFD-DjueOJ3s.js","assets/gift-box-Cmt9OgIZ-CvfvQG3y.js","assets/InformationCardStack-rx0fypl3-C50dsns2.js","assets/graphic-no-data-net-burn-l-CzmycA0m-1sZH3huZ.js","assets/PromoBaseCards-mFk7SsOr-cB2eyHgD.js","assets/VideoPlayer-DxIfGrPu-_quRL0IB.js","assets/AppDrawerContent-D9Q8ir0T-BlV3y7qg.js","assets/TransactionListBig-BrDWayQS-C0zQ3f5X.js","assets/ConstrainedInnerElement-hv51KpGg-DTOZooRA.js","assets/TransactionListPage-C-Z62y2d-DnIWNXku.js","assets/TransactionList-f6yB-byH-Oxgdaak4.js","assets/BoxItem-B06DK4G--CNFqY3pV.js","assets/commonDimensions-CGHIQ2To-BXIDDuOd.js","assets/panelSelectedMixin-Cddsb26L-CSqoRxwG.js","assets/page-detail-CWX5S47F-D1vlmLcE.js","assets/DashboardReportPage-BXSlwsR7-4jSB_qXZ.js","assets/analyticsHelper-D9xdJK4b-C8beHKtm.js","assets/ReportTableViewSelector-Ig41fOPb-DyEm5Q02.js","assets/CollapsableReportTable-h0vIfI8o-Bg2RfRDJ.js","assets/AccountRow-BrW_eEjE-HoBl8v8H.js","assets/InsightsSection-ByFf2oGn-BaSZhycl.js","assets/BalancesInsightWithToolTip-tiQUQUbX-C692_oh-.js","assets/TimeRangeSwitcher-C3jXm39I-tjiVSjZN.js","assets/NoDataChart-9-bhq204-jF2VPuzU.js","assets/getReferrerType-DjPOy76W-DRP5VHem.js","assets/TimeframeSwitcher-CcYg-YQJ-C2j1iPoK.js","assets/mapSectionWithAcOnlyToTreeNode-dsBogxKz-D78gQ4Dn.js","assets/NoDataTable-C6Q2Anpz-DB9htpIj.js","assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-DlA9TyjC.js","assets/mapLoadingInProgressToTreeNode-DrC2Zs2y-BuaBdgp1.js","assets/ReportsPage-CRAVAUTO-D_QRWGM1.js","assets/mapTimeframeBalancesToTreeNode-CW_wzI5T-he6bfb8d.js","assets/TimeframeSwitcherWithToggle-w4YJno-p-Bi4h2wB2.js","assets/DownloadOverlay-BpRKCn-0-GQtzMlpD.js","assets/TopExDetailPage-C0uHdU7N-CkEVyz2B.js","assets/TransactionDetailPage-D-NR_yZG-DdONq5Tf.js","assets/LabeledControlledCheckBoxField-BgC8y0D6-Cxk0wWCO.js","assets/TrendWithTransactions-It4KDov3-BNez-K-6.js","assets/TrendChart-fFlHCvNx-DADa9lxz.js","assets/uploadAttachment-DJA30WSD-CHN4VO1K.js","assets/radio-default-CiSgisfh-BGMZB5pj.js","assets/QBOConnectionDialog-CJsIrEZq-Djdbh1G7.js","assets/VerifyDevice-DeHW4GAi-COYWduJ8.js","assets/AccountLockedInfoModal-c30P9O_3-BXRFFhii.js","assets/PeoplePage-DcGqWtAP-CfVqJS-U.js","assets/RoleWithToolTip-x2rnvWn9-BzchKu5T.js","assets/PandLWithForecastPage-Cj3UWjG4-Ufv6uGVt.js","assets/NavBarWithPicker-CbjFNysh-BLH7wXCB.js","assets/usp-line-BBd1wKwW-BQlBhf7H.js","assets/EntityDetailPage-fmWuxHTZ-BEOMoyTE.js","assets/NotFoundPage-4mPhXD5--Dq1iR5VQ.js","assets/CompanyPassportPage-BtAopyLq-DbU6xdRd.js","assets/LabeledCreatableSingleSelectField-BV3h9bh7-BAj07yW-.js","assets/LabeledDocumentField-rriEcsdr-CkxtZhMI.js","assets/commonTypes-BAJPaPYg-BqOkop1Y.js","assets/LabeledCountryMultiSelectField-3qI_4noU-BCLCbVPc.js","assets/helper-z5-P4a-y-DCqj7mqg.js","assets/LabeledAddressValue-3l0Bv00--DmuSRVDq.js","assets/CreateOrEditVendorPage-C2xU6c51-DT9rwnbq.js","assets/VendorACHDetailsPage-By2Ya2bv-CjVBmCig.js","assets/ACHDetailsPage-BShpKoIj-DBPKn0sX.js","assets/BankAccountWarningSection-DCfyIUlu-DyMLU3Tg.js","assets/MagicLinkTitleSection-ClAnBBt9-CxQuR-QP.js","assets/BankAccountSection-EZtscP2z-aKL8vcpJ.js","assets/VendorDomesticWireDetailsPage-uIDE-n5v-CEtT0uGT.js","assets/DomesticWireDetailsPage-BaiSpc0N-BaNvy8Dj.js","assets/MailingDetailsSection-9_XLl4bT-BB3mmWQ9.js","assets/LabeledAddressValueField-F9kvUR_r-BCeaFKsb.js","assets/VendorInternationalWireDetailsPage-DJeI-ZFW-DlATitk5.js","assets/CurrencySelectField-B8EoF2aF-uavVFTum.js","assets/ReviewDetailsPage-vui4TqeA-gjxKkEYH.js","assets/LowBalancePopup-C2vHKMNF-PKO6ElPE.js","assets/LabeledText-DGZ7hxY4-IuE8fmYf.js","assets/BillPayPromoPage-Dgpz2TLG-BFCcBeGF.js","assets/VideoPopup-CUP7ctgS-CvuTwYjE.js","assets/BillPaySetUpPage-B6Pd_eBf-BC27u6lI.js","assets/UploadAdditionalDocumentOverlay-C5m8jqup-5PpZVQjf.js","assets/ApprovalRulesSettingsPage-DVGvJsQG-g3c3aBsx.js","assets/BankConnectionsSettingsPage-CQWy9jvt-B-n6frCU.js","assets/SetUpAccountSection-DYRWWXcL-D3Lz2J4N.js","assets/MyBankConnectionsSettingsPage-CBNYcuP4-DwZ11Kbp.js","assets/MyProfileSettingsPage-BUMIjZYc-CtFmjBIE.js","assets/LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-DgE4V-VP.js","assets/LabeledZeniRolesDropDownField-jIrTovp--Bw9Copum.js","assets/NotificationSettingsPage-BTxCoB_b-BHZscHCj.js","assets/BusinessVerificationPage-Dgk5gyMv-BdAKTgt0.js","assets/CompanyOfficerDetailsSection-CWADX4kZ-IHJvDX6-.js","assets/ReimbursementPromoPage-Df5QmXzC-CzrrekBH.js","assets/ReimbursementSetUpPage-D450RVsP-BNS45RtV.js","assets/BillDetailPage-pt1k5AQf-BM9-GtkV.js","assets/InvoiceUploadSection-Dg1-uunA-DejmnF3G.js","assets/AttachmentView-CiYfninr-BohG7XjP.js","assets/uploadReceipts-CqDftTRt-Bj47leio.js","assets/upload-reimbursement-receipt-O2N8vcO7-BVwF7gzx.js","assets/BillPayApprovalRulesPage-Cmyo59xB-pg1tP0xq.js","assets/BillPayApprovalRuleDetailPage-Drh7Bhi8-CDpJ0g2R.js","assets/FollowStepsSection-Bgy9MpO4-DCiZAX41.js","assets/ReimbursementApprovalRulesPage-C2zNa8dT-CGtrNpR7.js","assets/ReimbursementApprovalRuleDetailPage-BMZnKpsk-CX5NlTL7.js","assets/EditReimbursementDetailPage-CC2BjMkR-BrDBl4Nx.js","assets/types-DyvtCprH-NFPm5TaG.js","assets/ReimbursementDetailPage-B1o8ea57-BrBovHlf.js","assets/InvitePeoplePage-BT_YVCP4-yRtlk6wv.js","assets/AllUserItems-Dq7NcP-o-bQnq3Yy5.js","assets/CompleteProfile-CsbsHQ0p-BLF2mnNn.js","assets/EditPeoplePage-8DalSMWH-BO--FbCf.js","assets/AppBasePage-B5sDynhi-B6PJcirc.js","assets/SpendManagementListViewPage-BieufnDb-DWfo1rZv.js","assets/SpendManagementSection-DKZNTYXT-mbKmW3pW.js","assets/StatusSwitcher-BfQ9VbBH-DC0t3Flj.js","assets/VendorDetailPage-jci1LqX3-QbESQx0s.js","assets/SubTabSwitcher-CzGiuhk3-DLbV8WBg.js","assets/LabeledDropDownFormattedTextField-DoVSg3nZ-Be0l5Q_z.js","assets/VendorFiling1099EditablePage-8pYT3u-X-D-wgniGH.js","assets/ZeniAccountListViewPage-B-cs_xnc-yymuGC8c.js","assets/auto-transfer-rule-mbafm5D3-C0L9GopF.js","assets/shield-DOlUxcFf-CRgtaaqW.js","assets/ZeniAccountNavBarPieces-CjRip0v9-CWaUJ8t5.js","assets/ZeniTransferAmountSlider-Cdg0TlHk-C5Juk6O6.js","assets/ZeniAccountDetailPage-7NdkdSg3-DUqxr3Vg.js","assets/downloadPdf-BI2Y41h2-DmQ3wa5x.js","assets/DepositAccTransactionItem-YuSXjbLh-dhpmj79R.js","assets/AccountInfoPage-B8upbXj9-DVCxjo1L.js","assets/AccountInfoPageContent-CKpeDot5-C4xEct6y.js","assets/TransferDrawerPage-DfFm-1-3-Dp1b_ezH.js","assets/CreditCardPaymentDrawerPage-CeagMaCu-D6hhhd3N.js","assets/CheckDepositDrawerPage-D7_usOVn-C_GuSSOC.js","assets/ZeniAccountPromoPage-BikXtkeH-CZNOzkma.js","assets/ZeniAccountSetupPage-BRBsijVt-4J2hs6F_.js","assets/DepositAccTransactionListPage-C-FAvZwD-5kKsnSxM.js","assets/StatementsPage-CbtnJM5y-COycJvfL.js","assets/StatementItem-Dyt5Q0eR-DHmcaJ-e.js","assets/TransactionVendorDetailPage-CQQuAR6V-Dt6j0ppt.js","assets/CustomerOnboardingPage-Dm2Si769-DsN6K-ie.js","assets/PaymentAccountSetupBillingAddressSection-BWFl695q-DUUCCWV6.js","assets/CustomerOnboardingDetailPageSkeleton-kUbwh2r2-zrrFUTGk.js","assets/QBOSetupSection-C_fqHza_-B8WpC_yY.js","assets/CustomerOnboardingContainerPage-DVL4s-eV-Betf7XiO.js","assets/CustomerOnboardingNoStepsPage-Br0jy7Pu-C04-tCb6.js","assets/CustomerOnboardingProductSuitePage-Cz81Q5jC-eSuGAIqK.js","assets/CustomerOnboardingActivationPage-CIeR2XvU-B59q7JSL.js","assets/BillingSettingsPage-CYsvBrFV-BWO0QWBs.js","assets/UncategorizedAccountsMappingPage-BxBz2Ce0-BSZYER7A.js","assets/VendorsAccountsSection-YX2g8ETe-D60z7JWq.js","assets/IntegrationsSettingsPage-Cj01Nub6-JLccDpyu.js","assets/UnitIntegrationPage-gVgsk2ji-Dz79ORBq.js","assets/MagicLinkACHDetailsPage-lAAwAtH7-SJ0jUK4M.js","assets/MagicLinkDomesticWireDetailsPage-cv823ASo-DimLQOFo.js","assets/MagicLinkInternationalWireDetailsPage-C_SjsgC9-Bvgil6AB.js","assets/InternationalWireSwiftDetailsPage-C2PM97sv-CXe5WYRW.js","assets/MagicLinkSuccessPage-B1LBYM2F-BYLLbXss.js","assets/Vendor2FAPopup-DRwBzOwn-C-SwMKWw.js","assets/AgingReportsPage-D9I9afnB-j70-fH52.js","assets/mapSpacerToTreeNode-DMDEaLzQ-ibbyX8vz.js","assets/agingReportHelper-ovKP-qSS-Cx4Hdid-.js","assets/ApAgingDetailPage-Z5JgfH-e-DlNnTpGB.js","assets/EntitySummarySection-vsEMiXYh-UA5Y35sl.js","assets/ArAgingDetailPage-B5vqkc3v-xHE7Qc0m.js","assets/OpExByVendorPage-BV_uJSCh-BHuftqJi.js","assets/mapTimeframeBalancesToTreeNode-DvfKBCs5-GyIWCN5D.js","assets/VendorInternationalWireSwiftDetailsPage-Co-5nTam-Dq9Sjb3M.js","assets/VendorFirstReviewPage-CafakxA1-CDJXyRr2.js","assets/NewGlobalMerchantPage-B10sY6Q_-Owh-T5As.js","assets/GlobalReviewListPage-VRq_gimm-D4JxkgEf.js","assets/ScheduleDetailsPage-DmSLuM8g-5vyMikmE.js","assets/ScheduleSequenceTable-js9_P_Lo-CeLb4ONW.js","assets/ScheduleDetailsFixedAssetsPage-D_Cls2jC-CNWyfY4t.js","assets/LinkJETransactionPage-Bvbqpltz-Bc-21K8g.js","assets/ChargeCardPromoPage-Cz3rNFwM-N71PCrPp.js","assets/ChargeCardSetupPage-BcTB9Yy5-DkE42DK5.js","assets/ChargeCardListPage-C-RTGkKK-Bb-QwUsn.js","assets/ChargeCardListTable-B-bNbtZQ-Bfw8s7pe.js","assets/CardNumberSubText-CcH9jUoZ-BGeGZCAA.js","assets/LockCardPage-DyEQBJYx-BLiE9GBP.js","assets/MyPendingActivationChargeCardListPage-n71n40uQ-DzAksyAj.js","assets/ChargeCardDetailPage-Diwf-gwZ-DmopcUlO.js","assets/add-to-wallet-DgdBD8_G-BPAwAHT2.js","assets/CashbackDetailPage-5eysaHGf-qWx0m6gR.js","assets/ChargeCardStatementsPage-B_ERvgmB-DFHNpOVz.js","assets/ChargeCardPaymentHistoryPage-Cu-zT5tO-C6SEcidH.js","assets/IssueChargeCardPage-CyF9wrb0-DIt_LpMY.js","assets/AddToWalletPage-CsOmzC7v-XA_Ukf0G.js","assets/AddAddressForCardDrawer-riOPLnxb-hTaoKUhW.js","assets/TaskManagementPage-ucVAdv7x-AkXJlFwQ.js","assets/NotificationsListConfig-CylnViXd-Dg2fm6St.js","assets/InvitePageListView-e7vGSbFa-wcp0OLc4.js","assets/InviteFormPage-dsMpScvq-CF55W3d2.js","assets/DrawerPage-DQ3Xuekx-71bFG_xW.js","assets/NotificationsPage-D41h0mS6-Dzdq9z4a.js","assets/useLongPress-GCK2COYQ-DXicXlES.js","assets/FeaturePreviewPage-DSv61BhF-rk5VNvfQ.js","assets/BillsBulkReviewDrawerPage-DNnAmqWz-BQr-aBSF.js","assets/ReviewOverlay-CUnL7H-a-BjFaE0id.js","assets/ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-BYy6jU6w.js","assets/ExpenseAutomationOverviewPage-B3HPfIsK-4ZtjmO8G.js","assets/AIPerformancePage-CFErwUsE-BYOi4eif.js","assets/ExpenseAutomationPage-4LJefgNh-YH8canW3.js","assets/AccountReconDetailsDrawerPage-CO9BYPWm-Det_iJaE.js","assets/InternationalWireVerificationPage-Cr3sDrT--Bq6HNEU0.js","assets/ExpressPayPage-BH7oCW_F-HW0llOdu.js","assets/TreasuryPromoPage-Dyip3H10-ClQVvPZy.js","assets/TreasuryOverviewPage-CKSanlUG-BJ3RsJkb.js","assets/TreasuryStatementsPage-mljf2Van-DInZXjo_.js","assets/TreasuryTaxLetterPage-D3cV3a-8-CcMHT6vj.js","assets/TransactionActivityLogPage-CqYb19tY-v__opMvt.js","assets/WarningsDrawerPage--s6b380L-kLxITMYx.js","assets/ScreenRoutes-ziq-yiHW.js","assets/analyticsHelper-Bnej6boJ.js","assets/SignInScreen-CMKiwyNN.js"])))=>i.map(i=>d[i]);
2
- import{a as b,P as $,R as dve,b as Pc,p as i1,g as gw,e as uve,s as Vz,d as Uz,r as _s,w as pve,f as hve,S as mve,i as fve,j as gve,k as yve,l as vve}from"./sentry-Fca4mdIl.js";import{j as Wt,_ as K7,a as Js,u as jce,T as bve,C as wve,b as xve,c as Q7,e as X7,f as Cve,g as Rce,h as $ve,i as Sve,L as kve,k as Wz,l as Eve,m as _ve,P as Tve,o as Ave,p as Lve,q as Fce,r as Dve,s as Pve,I as Gz,v as Mve,w as Ive,x as jve,y as Rve,z as Fve,A as Ove,B as Oce,D as Nve,E as zve,F as Bve}from"./liveblocks-offUbtxr.js";import{f as Nce,X as jh,r as el,b as Hve,u as yw,g as v1,h as Vve,i as RR,j as Uve,R as Wve,k as rS,N as Gve,l as Yve,m as qve,B as Zve}from"./core-DTlL91ob.js";import{B as lv,ba as bt,bb as Kve,bc as Yz,bd as zp,be as Qve,bf as FR,bg as pg,bh as Ft,bi as zce,bj as Bce,bk as vw,bl as ci,bm as qz,bn as o1,bo as Xve,bp as m7,bq as Jve,br as ebe,bs as tbe,bt as Zz,bu as rbe,bv as nbe,bw as Kz,bx as ibe,by as obe,bz as abe,bA as sbe,bB as lbe,bC as OR,bD as Hce,bE as mp,bF as jl,bG as Vce,bH as cv,bI as hr,bJ as cbe,bK as dbe,bL as ube,bM as pbe,bN as hbe,bO as mbe,bP as fbe,bQ as gbe,bR as ybe,bS as vbe,bT as PM,bU as bbe,bV as Uce,bW as Rh,bX as MM,bY as Nl,bZ as wbe,b_ as xbe,b$ as bw,c0 as Cbe,c1 as $be,c2 as Wce,c3 as Gce,c4 as Sbe,c5 as Qz,c6 as kbe,c7 as Ebe,c8 as _be,c9 as Yce,ca as qce,cb as Tbe,cc as Abe,cd as Zce,ce as hg,cf as ww,cg as Kce,ch as IM,ci as Lbe,cj as Dbe,ck as Pbe,cl as dv,cm as Mbe,cn as Qce,co as Xce,cp as Jce,cq as ede,cr as tde,cs as Ibe,ct as jbe,cu as Rbe,cv as rde,cw as jM,cx as Fbe,cy as nde,cz as Obe,cA as Nbe,cB as zbe,cC as Bbe,cD as Hbe,cE as Vbe,cF as Ube,cG as Wbe,cH as Gbe,cI as Ybe,v as qbe,cJ as xw,cK as ide,cL as ode,cM as Zbe,cN as Kbe,cO as Qbe,cP as Xbe,cQ as Jbe,cR as ewe,cS as twe,cT as rwe,cU as nwe,cV as Xz,cW as iwe,cX as owe,cY as awe,cZ as swe}from"./zeni-epic-state-BZv12Eez.js";import{T as ade,j as gr,n as m,c as it,k as tn,C as sde,G as NR,u as lwe}from"./mui-BVCBQYdL.js";import{L as Jz}from"./lottie-Cqel28AC.js";import{B as vn,c as mg,P as cwe}from"./recharts-DAsNs3BU.js";import{r as dwe,m as a1}from"./analytics-B3XlZNQ8.js";import{r as bo}from"./lexical-CoKvBbaA.js";import{r as uwe}from"./utils-Cgs4R-d4.js";(function(){try{var e=typeof window<"u"?window:typeof Pc<"u"?Pc:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="834a8a2e-a734-4eaf-a082-b23da38722a4",e._sentryDebugIdIdentifier="sentry-dbid-834a8a2e-a734-4eaf-a082-b23da38722a4")}catch{}})();(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=r(i);fetch(i.href,o)}})();var J9={},eB;function pwe(){if(eB)return J9;eB=1;var e=Nce();return J9.createRoot=e.createRoot,J9.hydrateRoot=e.hydrateRoot,J9}var hwe=pwe();function kp(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function ir(){return ir=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ir.apply(null,arguments)}function vs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uv(e,t){return uv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},uv(e,t)}function fg(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,uv(e,t)}var bs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Pc<"u"?Pc:typeof self<"u"?self:{};function $r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tB={exports:{}},Bn={},rB;function mwe(){if(rB)return Bn;rB=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function S(T){if(typeof T=="object"&&T!==null){var E=T.$$typeof;switch(E){case t:switch(T=T.type,T){case d:case u:case n:case o:case i:case h:return T;default:switch(T=T&&T.$$typeof,T){case l:case p:case y:case g:case a:return T;default:return E}}case r:return E}}}function k(T){return S(T)===u}return Bn.AsyncMode=d,Bn.ConcurrentMode=u,Bn.ContextConsumer=l,Bn.ContextProvider=a,Bn.Element=t,Bn.ForwardRef=p,Bn.Fragment=n,Bn.Lazy=y,Bn.Memo=g,Bn.Portal=r,Bn.Profiler=o,Bn.StrictMode=i,Bn.Suspense=h,Bn.isAsyncMode=function(T){return k(T)||S(T)===d},Bn.isConcurrentMode=k,Bn.isContextConsumer=function(T){return S(T)===l},Bn.isContextProvider=function(T){return S(T)===a},Bn.isElement=function(T){return typeof T=="object"&&T!==null&&T.$$typeof===t},Bn.isForwardRef=function(T){return S(T)===p},Bn.isFragment=function(T){return S(T)===n},Bn.isLazy=function(T){return S(T)===y},Bn.isMemo=function(T){return S(T)===g},Bn.isPortal=function(T){return S(T)===r},Bn.isProfiler=function(T){return S(T)===o},Bn.isStrictMode=function(T){return S(T)===i},Bn.isSuspense=function(T){return S(T)===h},Bn.isValidElementType=function(T){return typeof T=="string"||typeof T=="function"||T===n||T===u||T===o||T===i||T===h||T===f||typeof T=="object"&&T!==null&&(T.$$typeof===y||T.$$typeof===g||T.$$typeof===a||T.$$typeof===l||T.$$typeof===p||T.$$typeof===w||T.$$typeof===x||T.$$typeof===C||T.$$typeof===v)},Bn.typeOf=S,Bn}var nB;function fwe(){return nB||(nB=1,tB.exports=mwe()),tB.exports}var nS,iB;function gwe(){if(iB)return nS;iB=1;var e=fwe(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};o[e.ForwardRef]=n,o[e.Memo]=i;function a(y){return e.isMemo(y)?i:o[y.$$typeof]||t}var l=Object.defineProperty,d=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,f=Object.prototype;function g(y,v,w){if(typeof v!="string"){if(f){var x=h(v);x&&x!==f&&g(y,x,w)}var C=d(v);u&&(C=C.concat(u(v)));for(var S=a(y),k=a(v),T=0;T<C.length;++T){var E=C[T];if(!r[E]&&!(w&&w[E])&&!(k&&k[E])&&!(S&&S[E])){var D=p(v,E);try{l(y,E,D)}catch{}}}}return y}return nS=g,nS}var ywe=gwe();const vwe=$r(ywe);function bwe(e,t){if(!e){var r=new Error("loadable: "+t);throw r.framesToPop=1,r.name="Invariant Violation",r}}var wwe=$.createContext(),xwe={initialChunks:{}},oB="PENDING",Cwe="RESOLVED",iS="REJECTED";function $we(e){return typeof e=="function"?{requireAsync:e,resolve:function(){},chunkName:function(){}}:e}var Swe=function(e){var t=function(r){return $.createElement(wwe.Consumer,null,function(n){return $.createElement(e,Object.assign({__chunkExtractor:n},r))})};return e.displayName&&(t.displayName=e.displayName+"WithChunkExtractor"),t},kwe=function(e){return e};function lde(e){var t=e.defaultResolveComponent,r=t===void 0?kwe:t,n=e.render,i=e.onLoad;function o(l,d){d===void 0&&(d={});var u=$we(l),p={};function h(x){return d.cacheKey?d.cacheKey(x):u.resolve?u.resolve(x):"static"}function f(x,C,S){var k=d.resolveComponent?d.resolveComponent(x,C):r(x);return vwe(S,k,{preload:!0}),k}var g=function(x){var C=h(x),S=p[C];return(!S||S.status===iS)&&(S=u.requireAsync(x),S.status=oB,p[C]=S,S.then(function(){S.status=Cwe},function(k){console.error("loadable-components: failed to asynchronously load component",{fileName:u.resolve(x),chunkName:u.chunkName(x),error:k&&k.message}),S.status=iS})),S},y=function(x){fg(C,x),C.getDerivedStateFromProps=function(k,T){var E=h(k);return ir({},T,{cacheKey:E,loading:T.loading||T.cacheKey!==E})};function C(k){var T;return T=x.call(this,k)||this,T.state={result:null,error:null,loading:!0,cacheKey:h(k)},bwe(!k.__chunkExtractor||u.requireSync,"SSR requires `@loadable/babel-plugin`, please install it"),k.__chunkExtractor?(d.ssr===!1||(u.requireAsync(k).catch(function(){return null}),T.loadSync(),k.__chunkExtractor.addChunk(u.chunkName(k))),vs(T)):(d.ssr!==!1&&(u.isReady&&u.isReady(k)||u.chunkName&&xwe.initialChunks[u.chunkName(k)])&&T.loadSync(),T)}var S=C.prototype;return S.componentDidMount=function(){this.mounted=!0;var k=this.getCache();k&&k.status===iS&&this.setCache(),this.state.loading&&this.loadAsync()},S.componentDidUpdate=function(k,T){T.cacheKey!==this.state.cacheKey&&this.loadAsync()},S.componentWillUnmount=function(){this.mounted=!1},S.safeSetState=function(k,T){this.mounted&&this.setState(k,T)},S.getCacheKey=function(){return h(this.props)},S.getCache=function(){return p[this.getCacheKey()]},S.setCache=function(k){k===void 0&&(k=void 0),p[this.getCacheKey()]=k},S.triggerOnLoad=function(){var k=this;i&&setTimeout(function(){i(k.state.result,k.props)})},S.loadSync=function(){if(this.state.loading)try{var k=u.requireSync(this.props),T=f(k,this.props,w);this.state.result=T,this.state.loading=!1}catch(E){console.error("loadable-components: failed to synchronously load component, which expected to be available",{fileName:u.resolve(this.props),chunkName:u.chunkName(this.props),error:E&&E.message}),this.state.error=E}},S.loadAsync=function(){var k=this,T=this.resolveAsync();return T.then(function(E){var D=f(E,k.props,w);k.safeSetState({result:D,loading:!1},function(){return k.triggerOnLoad()})}).catch(function(E){return k.safeSetState({error:E,loading:!1})}),T},S.resolveAsync=function(){var k=this.props;k.__chunkExtractor,k.forwardedRef;var T=kp(k,["__chunkExtractor","forwardedRef"]);return g(T)},S.render=function(){var k=this.props,T=k.forwardedRef,E=k.fallback;k.__chunkExtractor;var D=kp(k,["forwardedRef","fallback","__chunkExtractor"]),P=this.state,A=P.error,I=P.loading,H=P.result;if(d.suspense){var R=this.getCache()||this.loadAsync();if(R.status===oB)throw this.loadAsync()}if(A)throw A;var Z=E||d.fallback||null;return I?Z:n({fallback:Z,result:H,options:d,props:ir({},D,{ref:T})})},C}($.Component),v=Swe(y),w=$.forwardRef(function(x,C){return $.createElement(v,Object.assign({forwardedRef:C},x))});return w.displayName="Loadable",w.preload=function(x){w.load(x)},w.load=function(x){return g(x)},w}function a(l,d){return o(l,ir({},d,{suspense:!0}))}return{loadable:o,lazy:a}}function Ewe(e){return e.__esModule?e.default:e.default||e}var cde=lde({defaultResolveComponent:Ewe,render:function(e){var t=e.result,r=e.props;return $.createElement(t,r)}}),_we=cde.loadable,Twe=cde.lazy,dde=lde({onLoad:function(e,t){e&&t.forwardedRef&&(typeof t.forwardedRef=="function"?t.forwardedRef(e):t.forwardedRef.current=e)},render:function(e){var t=e.result,r=e.props;return r.children?r.children(t):null}}),Awe=dde.loadable,Lwe=dde.lazy,vt=_we;vt.lib=Awe;var Dwe=Twe;Dwe.lib=Lwe;var aB={exports:{}},i4={},sB;function Pwe(){if(sB)return i4;sB=1;var e=$,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function a(l,d,u){var p,h={},f=null,g=null;u!==void 0&&(f=""+u),d.key!==void 0&&(f=""+d.key),d.ref!==void 0&&(g=d.ref);for(p in d)n.call(d,p)&&!o.hasOwnProperty(p)&&(h[p]=d[p]);if(l&&l.defaultProps)for(p in d=l.defaultProps,d)h[p]===void 0&&(h[p]=d[p]);return{$$typeof:t,type:l,key:f,ref:g,props:h,_owner:i.current}}return i4.Fragment=r,i4.jsx=a,i4.jsxs=a,i4}var lB;function ude(){return lB||(lB=1,aB.exports=Pwe()),aB.exports}var s=ude();const Mwe=b.createContext(null),oS={didCatch:!1,error:null};let Iwe=class extends b.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=oS}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var r,n,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];(r=(n=this.props).onReset)===null||r===void 0||r.call(n,{args:o,reason:"imperative-api"}),this.setState(oS)}}componentDidCatch(t,r){var n,i;(n=(i=this.props).onError)===null||n===void 0||n.call(i,t,r)}componentDidUpdate(t,r){const{didCatch:n}=this.state,{resetKeys:i}=this.props;if(n&&r.error!==null&&jwe(t.resetKeys,i)){var o,a;(o=(a=this.props).onReset)===null||o===void 0||o.call(a,{next:i,prev:t.resetKeys,reason:"keys"}),this.setState(oS)}}render(){const{children:t,fallbackRender:r,FallbackComponent:n,fallback:i}=this.props,{didCatch:o,error:a}=this.state;let l=t;if(o){const d={error:a,resetErrorBoundary:this.resetErrorBoundary};if(typeof r=="function")l=r(d);else if(n)l=b.createElement(n,d);else if(i!==void 0)l=i;else throw a}return b.createElement(Mwe.Provider,{value:{didCatch:o,error:a,resetErrorBoundary:this.resetErrorBoundary}},l)}};function jwe(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((r,n)=>!Object.is(r,t[n]))}var RM={exports:{}},Rwe=RM.exports,cB;function Fwe(){return cB||(cB=1,function(e){(function(t,r){e.exports?e.exports=r():t.numeral=r()})(Rwe,function(){var t,r,n="2.0.6",i={},o={},a={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},l={currentLocale:a.currentLocale,zeroFormat:a.zeroFormat,nullFormat:a.nullFormat,defaultFormat:a.defaultFormat,scalePercentBy100:a.scalePercentBy100};function d(u,p){this._input=u,this._value=p}return t=function(u){var p,h,f,g;if(t.isNumeral(u))p=u.value();else if(u===0||typeof u>"u")p=0;else if(u===null||r.isNaN(u))p=null;else if(typeof u=="string")if(l.zeroFormat&&u===l.zeroFormat)p=0;else if(l.nullFormat&&u===l.nullFormat||!u.replace(/[^0-9]+/g,"").length)p=null;else{for(h in i)if(g=typeof i[h].regexps.unformat=="function"?i[h].regexps.unformat():i[h].regexps.unformat,g&&u.match(g)){f=i[h].unformat;break}f=f||t._.stringToNumber,p=f(u)}else p=Number(u)||null;return new d(u,p)},t.version=n,t.isNumeral=function(u){return u instanceof d},t._=r={numberToFormat:function(u,p,h){var f=o[t.options.currentLocale],g=!1,y=!1,v=0,w="",x=1e12,C=1e9,S=1e6,k=1e3,T="",E=!1,D,P,A,I,H,R,Z;if(u=u||0,P=Math.abs(u),t._.includes(p,"(")?(g=!0,p=p.replace(/[\(|\)]/g,"")):(t._.includes(p,"+")||t._.includes(p,"-"))&&(H=t._.includes(p,"+")?p.indexOf("+"):u<0?p.indexOf("-"):-1,p=p.replace(/[\+|\-]/g,"")),t._.includes(p,"a")&&(D=p.match(/a(k|m|b|t)?/),D=D?D[1]:!1,t._.includes(p," a")&&(w=" "),p=p.replace(new RegExp(w+"a[kmbt]?"),""),P>=x&&!D||D==="t"?(w+=f.abbreviations.trillion,u=u/x):P<x&&P>=C&&!D||D==="b"?(w+=f.abbreviations.billion,u=u/C):P<C&&P>=S&&!D||D==="m"?(w+=f.abbreviations.million,u=u/S):(P<S&&P>=k&&!D||D==="k")&&(w+=f.abbreviations.thousand,u=u/k)),t._.includes(p,"[.]")&&(y=!0,p=p.replace("[.]",".")),A=u.toString().split(".")[0],I=p.split(".")[1],R=p.indexOf(","),v=(p.split(".")[0].split(",")[0].match(/0/g)||[]).length,I?(t._.includes(I,"[")?(I=I.replace("]",""),I=I.split("["),T=t._.toFixed(u,I[0].length+I[1].length,h,I[1].length)):T=t._.toFixed(u,I.length,h),A=T.split(".")[0],t._.includes(T,".")?T=f.delimiters.decimal+T.split(".")[1]:T="",y&&Number(T.slice(1))===0&&(T="")):A=t._.toFixed(u,0,h),w&&!D&&Number(A)>=1e3&&w!==f.abbreviations.trillion)switch(A=String(Number(A)/1e3),w){case f.abbreviations.thousand:w=f.abbreviations.million;break;case f.abbreviations.million:w=f.abbreviations.billion;break;case f.abbreviations.billion:w=f.abbreviations.trillion;break}if(t._.includes(A,"-")&&(A=A.slice(1),E=!0),A.length<v)for(var Y=v-A.length;Y>0;Y--)A="0"+A;return R>-1&&(A=A.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+f.delimiters.thousands)),p.indexOf(".")===0&&(A=""),Z=A+T+(w||""),g?Z=(g&&E?"(":"")+Z+(g&&E?")":""):H>=0?Z=H===0?(E?"-":"+")+Z:Z+(E?"-":"+"):E&&(Z="-"+Z),Z},stringToNumber:function(u){var p=o[l.currentLocale],h=u,f={thousand:3,million:6,billion:9,trillion:12},g,y,v;if(l.zeroFormat&&u===l.zeroFormat)y=0;else if(l.nullFormat&&u===l.nullFormat||!u.replace(/[^0-9]+/g,"").length)y=null;else{y=1,p.delimiters.decimal!=="."&&(u=u.replace(/\./g,"").replace(p.delimiters.decimal,"."));for(g in f)if(v=new RegExp("[^a-zA-Z]"+p.abbreviations[g]+"(?:\\)|(\\"+p.currency.symbol+")?(?:\\))?)?$"),h.match(v)){y*=Math.pow(10,f[g]);break}y*=(u.split("-").length+Math.min(u.split("(").length-1,u.split(")").length-1))%2?1:-1,u=u.replace(/[^0-9\.]+/g,""),y*=Number(u)}return y},isNaN:function(u){return typeof u=="number"&&isNaN(u)},includes:function(u,p){return u.indexOf(p)!==-1},insert:function(u,p,h){return u.slice(0,h)+p+u.slice(h)},reduce:function(u,p){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof p!="function")throw new TypeError(p+" is not a function");var h=Object(u),f=h.length>>>0,g=0,y;if(arguments.length===3)y=arguments[2];else{for(;g<f&&!(g in h);)g++;if(g>=f)throw new TypeError("Reduce of empty array with no initial value");y=h[g++]}for(;g<f;g++)g in h&&(y=p(y,h[g],g,h));return y},multiplier:function(u){var p=u.toString().split(".");return p.length<2?1:Math.pow(10,p[1].length)},correctionFactor:function(){var u=Array.prototype.slice.call(arguments);return u.reduce(function(p,h){var f=r.multiplier(h);return p>f?p:f},1)},toFixed:function(u,p,h,f){var g=u.toString().split("."),y=p-(f||0),v,w,x,C;return g.length===2?v=Math.min(Math.max(g[1].length,y),p):v=y,x=Math.pow(10,v),C=(h(u+"e+"+v)/x).toFixed(v),f>p-v&&(w=new RegExp("\\.?0{1,"+(f-(p-v))+"}$"),C=C.replace(w,"")),C}},t.options=l,t.formats=i,t.locales=o,t.locale=function(u){return u&&(l.currentLocale=u.toLowerCase()),l.currentLocale},t.localeData=function(u){if(!u)return o[l.currentLocale];if(u=u.toLowerCase(),!o[u])throw new Error("Unknown locale : "+u);return o[u]},t.reset=function(){for(var u in a)l[u]=a[u]},t.zeroFormat=function(u){l.zeroFormat=typeof u=="string"?u:null},t.nullFormat=function(u){l.nullFormat=typeof u=="string"?u:null},t.defaultFormat=function(u){l.defaultFormat=typeof u=="string"?u:"0.0"},t.register=function(u,p,h){if(p=p.toLowerCase(),this[u+"s"][p])throw new TypeError(p+" "+u+" already registered.");return this[u+"s"][p]=h,h},t.validate=function(u,p){var h,f,g,y,v,w,x,C;if(typeof u!="string"&&(u+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",u)),u=u.trim(),u.match(/^\d+$/))return!0;if(u==="")return!1;try{x=t.localeData(p)}catch{x=t.localeData(t.locale())}return g=x.currency.symbol,v=x.abbreviations,h=x.delimiters.decimal,x.delimiters.thousands==="."?f="\\.":f=x.delimiters.thousands,C=u.match(/^[^\d]+/),C!==null&&(u=u.substr(1),C[0]!==g)||(C=u.match(/[^\d]+$/),C!==null&&(u=u.slice(0,-1),C[0]!==v.thousand&&C[0]!==v.million&&C[0]!==v.billion&&C[0]!==v.trillion))?!1:(w=new RegExp(f+"{2}"),u.match(/[^\d.,]/g)?!1:(y=u.split(h),y.length>2?!1:y.length<2?!!y[0].match(/^\d+.*\d$/)&&!y[0].match(w):y[0].length===1?!!y[0].match(/^\d+$/)&&!y[0].match(w)&&!!y[1].match(/^\d+$/):!!y[0].match(/^\d+.*\d$/)&&!y[0].match(w)&&!!y[1].match(/^\d+$/)))},t.fn=d.prototype={clone:function(){return t(this)},format:function(u,p){var h=this._value,f=u||l.defaultFormat,g,y,v;if(p=p||Math.round,h===0&&l.zeroFormat!==null)y=l.zeroFormat;else if(h===null&&l.nullFormat!==null)y=l.nullFormat;else{for(g in i)if(f.match(i[g].regexps.format)){v=i[g].format;break}v=v||t._.numberToFormat,y=v(h,f,p)}return y},value:function(){return this._value},input:function(){return this._input},set:function(u){return this._value=Number(u),this},add:function(u){var p=r.correctionFactor.call(null,this._value,u);function h(f,g,y,v){return f+Math.round(p*g)}return this._value=r.reduce([this._value,u],h,0)/p,this},subtract:function(u){var p=r.correctionFactor.call(null,this._value,u);function h(f,g,y,v){return f-Math.round(p*g)}return this._value=r.reduce([u],h,Math.round(this._value*p))/p,this},multiply:function(u){function p(h,f,g,y){var v=r.correctionFactor(h,f);return Math.round(h*v)*Math.round(f*v)/Math.round(v*v)}return this._value=r.reduce([this._value,u],p,1),this},divide:function(u){function p(h,f,g,y){var v=r.correctionFactor(h,f);return Math.round(h*v)/Math.round(f*v)}return this._value=r.reduce([this._value,u],p),this},difference:function(u){return Math.abs(t(this._value).subtract(u).value())}},t.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(u){var p=u%10;return~~(u%100/10)===1?"th":p===1?"st":p===2?"nd":p===3?"rd":"th"},currency:{symbol:"$"}}),function(){t.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(u,p,h){var f=t._.includes(p," BPS")?" ":"",g;return u=u*1e4,p=p.replace(/\s?BPS/,""),g=t._.numberToFormat(u,p,h),t._.includes(g,")")?(g=g.split(""),g.splice(-1,0,f+"BPS"),g=g.join("")):g=g+f+"BPS",g},unformat:function(u){return+(t._.stringToNumber(u)*1e-4).toFixed(15)}})}(),function(){var u={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},p={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},h=u.suffixes.concat(p.suffixes.filter(function(g){return u.suffixes.indexOf(g)<0})),f=h.join("|");f="("+f.replace("B","B(?!PS)")+")",t.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(f)},format:function(g,y,v){var w,x=t._.includes(y,"ib")?p:u,C=t._.includes(y," b")||t._.includes(y," ib")?" ":"",S,k,T;for(y=y.replace(/\s?i?b/,""),S=0;S<=x.suffixes.length;S++)if(k=Math.pow(x.base,S),T=Math.pow(x.base,S+1),g===null||g===0||g>=k&&g<T){C+=x.suffixes[S],k>0&&(g=g/k);break}return w=t._.numberToFormat(g,y,v),w+C},unformat:function(g){var y=t._.stringToNumber(g),v,w;if(y){for(v=u.suffixes.length-1;v>=0;v--){if(t._.includes(g,u.suffixes[v])){w=Math.pow(u.base,v);break}if(t._.includes(g,p.suffixes[v])){w=Math.pow(p.base,v);break}}y*=w||1}return y}})}(),function(){t.register("format","currency",{regexps:{format:/(\$)/},format:function(u,p,h){var f=t.locales[t.options.currentLocale],g={before:p.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:p.match(/([\+|\-|\)|\s|\$]*)$/)[0]},y,v,w;for(p=p.replace(/\s?\$\s?/,""),y=t._.numberToFormat(u,p,h),u>=0?(g.before=g.before.replace(/[\-\(]/,""),g.after=g.after.replace(/[\-\)]/,"")):u<0&&!t._.includes(g.before,"-")&&!t._.includes(g.before,"(")&&(g.before="-"+g.before),w=0;w<g.before.length;w++)switch(v=g.before[w],v){case"$":y=t._.insert(y,f.currency.symbol,w);break;case" ":y=t._.insert(y," ",w+f.currency.symbol.length-1);break}for(w=g.after.length-1;w>=0;w--)switch(v=g.after[w],v){case"$":y=w===g.after.length-1?y+f.currency.symbol:t._.insert(y,f.currency.symbol,-(g.after.length-(1+w)));break;case" ":y=w===g.after.length-1?y+" ":t._.insert(y," ",-(g.after.length-(1+w)+f.currency.symbol.length-1));break}return y}})}(),function(){t.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(u,p,h){var f,g=typeof u=="number"&&!t._.isNaN(u)?u.toExponential():"0e+0",y=g.split("e");return p=p.replace(/e[\+|\-]{1}0/,""),f=t._.numberToFormat(Number(y[0]),p,h),f+"e"+y[1]},unformat:function(u){var p=t._.includes(u,"e+")?u.split("e+"):u.split("e-"),h=Number(p[0]),f=Number(p[1]);f=t._.includes(u,"e-")?f*=-1:f;function g(y,v,w,x){var C=t._.correctionFactor(y,v),S=y*C*(v*C)/(C*C);return S}return t._.reduce([h,Math.pow(10,f)],g,1)}})}(),function(){t.register("format","ordinal",{regexps:{format:/(o)/},format:function(u,p,h){var f=t.locales[t.options.currentLocale],g,y=t._.includes(p," o")?" ":"";return p=p.replace(/\s?o/,""),y+=f.ordinal(u),g=t._.numberToFormat(u,p,h),g+y}})}(),function(){t.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(u,p,h){var f=t._.includes(p," %")?" ":"",g;return t.options.scalePercentBy100&&(u=u*100),p=p.replace(/\s?\%/,""),g=t._.numberToFormat(u,p,h),t._.includes(g,")")?(g=g.split(""),g.splice(-1,0,f+"%"),g=g.join("")):g=g+f+"%",g},unformat:function(u){var p=t._.stringToNumber(u);return t.options.scalePercentBy100?p*.01:p}})}(),function(){t.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(u,p,h){var f=Math.floor(u/60/60),g=Math.floor((u-f*60*60)/60),y=Math.round(u-f*60*60-g*60);return f+":"+(g<10?"0"+g:g)+":"+(y<10?"0"+y:y)},unformat:function(u){var p=u.split(":"),h=0;return p.length===3?(h=h+Number(p[0])*60*60,h=h+Number(p[1])*60,h=h+Number(p[2])):p.length===2&&(h=h+Number(p[0])*60,h=h+Number(p[1])),Number(h)}})}(),t})}(RM)),RM.exports}var Owe=Fwe();const Yh=$r(Owe);function r2(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}const Xu="$$material";function Nwe(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var zwe={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Bwe(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Hwe=/[A-Z]|^ms/g,Vwe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,pde=function(e){return e.charCodeAt(1)===45},dB=function(e){return e!=null&&typeof e!="boolean"},aS=Bwe(function(e){return pde(e)?e:e.replace(Hwe,"-$&").toLowerCase()}),uB=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(Vwe,function(r,n,i){return op={name:n,styles:i,next:op},n})}return zwe[e]!==1&&!pde(e)&&typeof t=="number"&&t!==0?t+"px":t};function pv(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return op={name:i.name,styles:i.styles,next:op},i.name;var o=r;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)op={name:a.name,styles:a.styles,next:op},a=a.next;var l=o.styles+";";return l}return Uwe(e,t,r)}}var d=r;return d}function Uwe(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=pv(e,t,r[i])+";";else for(var o in r){var a=r[o];if(typeof a!="object"){var l=a;dB(l)&&(n+=aS(o)+":"+uB(o,l)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&t==null)for(var d=0;d<a.length;d++)dB(a[d])&&(n+=aS(o)+":"+uB(o,a[d])+";");else{var u=pv(e,t,a);switch(o){case"animation":case"animationName":{n+=aS(o)+":"+u+";";break}default:n+=o+"{"+u+"}"}}}return n}var pB=/label:\s*([^\s;{]+)\s*(;|$)/g,op;function Wwe(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,i="";op=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,i+=pv(r,t,o);else{var a=o;i+=a[0]}for(var l=1;l<e.length;l++)if(i+=pv(r,t,e[l]),n){var d=o;i+=d[l]}pB.lastIndex=0;for(var u="",p;(p=pB.exec(i))!==null;)u+="-"+p[1];var h=Nwe(i)+u;return{name:h,styles:i,next:op}}var sS={exports:{}},lS,hB;function Gwe(){if(hB)return lS;hB=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return lS=e,lS}var cS,mB;function Ywe(){if(mB)return cS;mB=1;var e=Gwe();function t(){}function r(){}return r.resetWarningCache=t,cS=function(){function n(a,l,d,u,p,h){if(h!==e){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}n.isRequired=n;function i(){return n}var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:i,element:n,elementType:n,instanceOf:i,node:n,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:r,resetWarningCache:t};return o.PropTypes=o,o},cS}var fB;function zR(){return fB||(fB=1,sS.exports=Ywe()()),sS.exports}var qwe=zR();const Lt=$r(qwe);function Zwe(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Kwe(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var hde=function(){function e(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Kwe(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=Zwe(n);try{i.insertRule(r,i.cssRules.length)}catch{}}else n.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var n;return(n=r.parentNode)==null?void 0:n.removeChild(r)}),this.tags=[],this.ctr=0},e}(),wa="-ms-",hv="-moz-",An="-webkit-",mde="comm",BR="rule",HR="decl",Qwe="@import",fde="@keyframes",Xwe="@layer",Jwe=Math.abs,Cw=String.fromCharCode,exe=Object.assign;function txe(e,t){return ca(e,0)^45?(((t<<2^ca(e,0))<<2^ca(e,1))<<2^ca(e,2))<<2^ca(e,3):0}function gde(e){return e.trim()}function rxe(e,t){return(e=t.exec(e))?e[0]:e}function Ln(e,t,r){return e.replace(t,r)}function FM(e,t){return e.indexOf(t)}function ca(e,t){return e.charCodeAt(t)|0}function f7(e,t,r){return e.slice(t,r)}function s1(e){return e.length}function VR(e){return e.length}function e6(e,t){return t.push(e),e}function nxe(e,t){return e.map(t).join("")}var $w=1,Nf=1,yde=0,ks=0,fo=0,gg="";function Sw(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:$w,column:Nf,length:a,return:""}}function o4(e,t){return exe(Sw("",null,null,"",null,null,0),e,{length:-e.length},t)}function ixe(){return fo}function oxe(){return fo=ks>0?ca(gg,--ks):0,Nf--,fo===10&&(Nf=1,$w--),fo}function Ys(){return fo=ks<yde?ca(gg,ks++):0,Nf++,fo===10&&(Nf=1,$w++),fo}function k1(){return ca(gg,ks)}function yy(){return ks}function J7(e,t){return f7(gg,e,t)}function g7(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function vde(e){return $w=Nf=1,yde=s1(gg=e),ks=0,[]}function bde(e){return gg="",e}function vy(e){return gde(J7(ks-1,OM(e===91?e+2:e===40?e+1:e)))}function axe(e){for(;(fo=k1())&&fo<33;)Ys();return g7(e)>2||g7(fo)>3?"":" "}function sxe(e,t){for(;--t&&Ys()&&!(fo<48||fo>102||fo>57&&fo<65||fo>70&&fo<97););return J7(e,yy()+(t<6&&k1()==32&&Ys()==32))}function OM(e){for(;Ys();)switch(fo){case e:return ks;case 34:case 39:e!==34&&e!==39&&OM(fo);break;case 40:e===41&&OM(e);break;case 92:Ys();break}return ks}function lxe(e,t){for(;Ys()&&e+fo!==57&&!(e+fo===84&&k1()===47););return"/*"+J7(t,ks-1)+"*"+Cw(e===47?e:Ys())}function cxe(e){for(;!g7(k1());)Ys();return J7(e,ks)}function dxe(e){return bde(by("",null,null,null,[""],e=vde(e),0,[0],e))}function by(e,t,r,n,i,o,a,l,d){for(var u=0,p=0,h=a,f=0,g=0,y=0,v=1,w=1,x=1,C=0,S="",k=i,T=o,E=n,D=S;w;)switch(y=C,C=Ys()){case 40:if(y!=108&&ca(D,h-1)==58){FM(D+=Ln(vy(C),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:D+=vy(C);break;case 9:case 10:case 13:case 32:D+=axe(y);break;case 92:D+=sxe(yy()-1,7);continue;case 47:switch(k1()){case 42:case 47:e6(uxe(lxe(Ys(),yy()),t,r),d);break;default:D+="/"}break;case 123*v:l[u++]=s1(D)*x;case 125*v:case 59:case 0:switch(C){case 0:case 125:w=0;case 59+p:x==-1&&(D=Ln(D,/\f/g,"")),g>0&&s1(D)-h&&e6(g>32?yB(D+";",n,r,h-1):yB(Ln(D," ","")+";",n,r,h-2),d);break;case 59:D+=";";default:if(e6(E=gB(D,t,r,u,p,i,l,S,k=[],T=[],h),o),C===123)if(p===0)by(D,t,E,E,k,o,h,l,T);else switch(f===99&&ca(D,3)===110?100:f){case 100:case 108:case 109:case 115:by(e,E,E,n&&e6(gB(e,E,E,0,0,i,l,S,i,k=[],h),T),i,T,h,l,n?k:T);break;default:by(D,E,E,E,[""],T,0,l,T)}}u=p=g=0,v=x=1,S=D="",h=a;break;case 58:h=1+s1(D),g=y;default:if(v<1){if(C==123)--v;else if(C==125&&v++==0&&oxe()==125)continue}switch(D+=Cw(C),C*v){case 38:x=p>0?1:(D+="\f",-1);break;case 44:l[u++]=(s1(D)-1)*x,x=1;break;case 64:k1()===45&&(D+=vy(Ys())),f=k1(),p=h=s1(S=D+=cxe(yy())),C++;break;case 45:y===45&&s1(D)==2&&(v=0)}}return o}function gB(e,t,r,n,i,o,a,l,d,u,p){for(var h=i-1,f=i===0?o:[""],g=VR(f),y=0,v=0,w=0;y<n;++y)for(var x=0,C=f7(e,h+1,h=Jwe(v=a[y])),S=e;x<g;++x)(S=gde(v>0?f[x]+" "+C:Ln(C,/&\f/g,f[x])))&&(d[w++]=S);return Sw(e,t,r,i===0?BR:l,d,u,p)}function uxe(e,t,r){return Sw(e,t,r,mde,Cw(ixe()),f7(e,2,-2),0)}function yB(e,t,r,n){return Sw(e,t,r,HR,f7(e,0,n),f7(e,n+1,-1),n)}function vf(e,t){for(var r="",n=VR(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function pxe(e,t,r,n){switch(e.type){case Xwe:if(e.children.length)break;case Qwe:case HR:return e.return=e.return||e.value;case mde:return"";case fde:return e.return=e.value+"{"+vf(e.children,n)+"}";case BR:e.value=e.props.join(",")}return s1(r=vf(e.children,n))?e.return=e.value+"{"+r+"}":""}function hxe(e){var t=VR(e);return function(r,n,i,o){for(var a="",l=0;l<t;l++)a+=e[l](r,n,i,o)||"";return a}}function mxe(e){return function(t){t.root||(t=t.return)&&e(t)}}var fxe=function(e,t,r){for(var n=0,i=0;n=i,i=k1(),n===38&&i===12&&(t[r]=1),!g7(i);)Ys();return J7(e,ks)},gxe=function(e,t){var r=-1,n=44;do switch(g7(n)){case 0:n===38&&k1()===12&&(t[r]=1),e[r]+=fxe(ks-1,t,r);break;case 2:e[r]+=vy(n);break;case 4:if(n===44){e[++r]=k1()===58?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Cw(n)}while(n=Ys());return e},yxe=function(e,t){return bde(gxe(vde(e),t))},vB=new WeakMap,vxe=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!vB.get(r))&&!n){vB.set(e,!0);for(var i=[],o=yxe(t,i),a=r.props,l=0,d=0;l<o.length;l++)for(var u=0;u<a.length;u++,d++)e.props[d]=i[l]?o[l].replace(/&\f/g,a[u]):a[u]+" "+o[l]}}},bxe=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}};function wde(e,t){switch(txe(e,t)){case 5103:return An+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return An+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return An+e+hv+e+wa+e+e;case 6828:case 4268:return An+e+wa+e+e;case 6165:return An+e+wa+"flex-"+e+e;case 5187:return An+e+Ln(e,/(\w+).+(:[^]+)/,An+"box-$1$2"+wa+"flex-$1$2")+e;case 5443:return An+e+wa+"flex-item-"+Ln(e,/flex-|-self/,"")+e;case 4675:return An+e+wa+"flex-line-pack"+Ln(e,/align-content|flex-|-self/,"")+e;case 5548:return An+e+wa+Ln(e,"shrink","negative")+e;case 5292:return An+e+wa+Ln(e,"basis","preferred-size")+e;case 6060:return An+"box-"+Ln(e,"-grow","")+An+e+wa+Ln(e,"grow","positive")+e;case 4554:return An+Ln(e,/([^-])(transform)/g,"$1"+An+"$2")+e;case 6187:return Ln(Ln(Ln(e,/(zoom-|grab)/,An+"$1"),/(image-set)/,An+"$1"),e,"")+e;case 5495:case 3959:return Ln(e,/(image-set\([^]*)/,An+"$1$`$1");case 4968:return Ln(Ln(e,/(.+:)(flex-)?(.*)/,An+"box-pack:$3"+wa+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+An+e+e;case 4095:case 3583:case 4068:case 2532:return Ln(e,/(.+)-inline(.+)/,An+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(s1(e)-1-t>6)switch(ca(e,t+1)){case 109:if(ca(e,t+4)!==45)break;case 102:return Ln(e,/(.+:)(.+)-([^]+)/,"$1"+An+"$2-$3$1"+hv+(ca(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~FM(e,"stretch")?wde(Ln(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ca(e,t+1)!==115)break;case 6444:switch(ca(e,s1(e)-3-(~FM(e,"!important")&&10))){case 107:return Ln(e,":",":"+An)+e;case 101:return Ln(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+An+(ca(e,14)===45?"inline-":"")+"box$3$1"+An+"$2$3$1"+wa+"$2box$3")+e}break;case 5936:switch(ca(e,t+11)){case 114:return An+e+wa+Ln(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return An+e+wa+Ln(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return An+e+wa+Ln(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return An+e+wa+e+e}return e}var wxe=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case HR:e.return=wde(e.value,e.length);break;case fde:return vf([o4(e,{value:Ln(e.value,"@","@"+An)})],n);case BR:if(e.length)return nxe(e.props,function(i){switch(rxe(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return vf([o4(e,{props:[Ln(i,/:(read-\w+)/,":"+hv+"$1")]})],n);case"::placeholder":return vf([o4(e,{props:[Ln(i,/:(plac\w+)/,":"+An+"input-$1")]}),o4(e,{props:[Ln(i,/:(plac\w+)/,":"+hv+"$1")]}),o4(e,{props:[Ln(i,/:(plac\w+)/,wa+"input-$1")]})],n)}return""})}},xxe=[wxe],xde=function(e){var t=e.key;if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var v=y.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var n=e.stylisPlugins||xxe,i={},o,a=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(y){for(var v=y.getAttribute("data-emotion").split(" "),w=1;w<v.length;w++)i[v[w]]=!0;a.push(y)});var l,d=[vxe,bxe];{var u,p=[pxe,mxe(function(y){u.insert(y)})],h=hxe(d.concat(n,p)),f=function(y){return vf(dxe(y),h)};l=function(y,v,w,x){u=w,f(y?y+"{"+v.styles+"}":v.styles),x&&(g.inserted[v.name]=!0)}}var g={key:t,sheet:new hde({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:l};return g.sheet.hydrate(a),g};const dS=new Map,Cxe=(e,t)=>{const r=xde(e);return r.sheet=new t({key:r.key,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy,prepend:r.sheet.prepend,insertionPoint:r.sheet.insertionPoint}),r};let W2;if(typeof document=="object"&&(W2=document.querySelector('[name="emotion-insertion-point"]'),!W2)){W2=document.createElement("meta"),W2.setAttribute("name","emotion-insertion-point"),W2.setAttribute("content","");const e=document.querySelector("head");e&&e.prepend(W2)}function $xe(e,t){if(e||t){class r extends hde{insert(o,a){return this.key&&this.key.endsWith("global")&&(this.before=W2),super.insert(o,a)}}const n=Cxe({key:"css",insertionPoint:e?W2:void 0},r);if(t){const i=n.insert;n.insert=(...o)=>(o[1].styles.match(/^@layer\s+[^{]*$/)||(o[1].styles=`@layer mui {${o[1].styles}}`),i(...o))}return n}}function Sxe(e){const{injectFirst:t,enableCssLayer:r,children:n}=e,i=b.useMemo(()=>{const o=`${t}-${r}`;if(typeof document=="object"&&dS.has(o))return dS.get(o);const a=$xe(t,r);return dS.set(o,a),a},[t,r]);return i?s.jsx(sde,{value:i,children:n}):n}function kxe(e){return e==null||Object.keys(e).length===0}function Cde(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?i=>t(kxe(i)?r:i):t;return s.jsx(NR,{styles:n})}function Exe(e,t){return m(e,t)}function _xe(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const bB=[];function fp(e){return bB[0]=e,Wwe(bB)}var wB={exports:{}},Zn={},xB;function Txe(){if(xB)return Zn;xB=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");function y(v){if(typeof v=="object"&&v!==null){var w=v.$$typeof;switch(w){case e:switch(v=v.type,v){case r:case i:case n:case d:case u:case f:return v;default:switch(v=v&&v.$$typeof,v){case a:case l:case h:case p:return v;case o:return v;default:return w}}case t:return w}}}return Zn.ContextConsumer=o,Zn.ContextProvider=a,Zn.Element=e,Zn.ForwardRef=l,Zn.Fragment=r,Zn.Lazy=h,Zn.Memo=p,Zn.Portal=t,Zn.Profiler=i,Zn.StrictMode=n,Zn.Suspense=d,Zn.SuspenseList=u,Zn.isContextConsumer=function(v){return y(v)===o},Zn.isContextProvider=function(v){return y(v)===a},Zn.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===e},Zn.isForwardRef=function(v){return y(v)===l},Zn.isFragment=function(v){return y(v)===r},Zn.isLazy=function(v){return y(v)===h},Zn.isMemo=function(v){return y(v)===p},Zn.isPortal=function(v){return y(v)===t},Zn.isProfiler=function(v){return y(v)===i},Zn.isStrictMode=function(v){return y(v)===n},Zn.isSuspense=function(v){return y(v)===d},Zn.isSuspenseList=function(v){return y(v)===u},Zn.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===r||v===i||v===n||v===d||v===u||typeof v=="object"&&v!==null&&(v.$$typeof===h||v.$$typeof===p||v.$$typeof===a||v.$$typeof===o||v.$$typeof===l||v.$$typeof===g||v.getModuleId!==void 0)},Zn.typeOf=y,Zn}var CB;function Axe(){return CB||(CB=1,wB.exports=Txe()),wB.exports}var $de=Axe();function Iu(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Sde(e){if(b.isValidElement(e)||$de.isValidElementType(e)||!Iu(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Sde(e[r])}),t}function _a(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return Iu(e)&&Iu(t)&&Object.keys(t).forEach(i=>{b.isValidElement(t[i])||$de.isValidElementType(t[i])?n[i]=t[i]:Iu(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&Iu(e[i])?n[i]=_a(e[i],t[i],r):r.clone?n[i]=Iu(t[i])?Sde(t[i]):t[i]:n[i]=t[i]}),n}const Lxe=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>({...r,[n.key]:n.val}),{})};function Dxe(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...i}=e,o=Lxe(t),a=Object.keys(o);function l(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${r})`}function d(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-n/100}${r})`}function u(f,g){const y=a.indexOf(g);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${r}) and (max-width:${(y!==-1&&typeof t[a[y]]=="number"?t[a[y]]:g)-n/100}${r})`}function p(f){return a.indexOf(f)+1<a.length?u(f,a[a.indexOf(f)+1]):l(f)}function h(f){const g=a.indexOf(f);return g===0?l(a[1]):g===a.length-1?d(a[g]):u(f,a[a.indexOf(f)+1]).replace("@media","@media not all and")}return{keys:a,values:o,up:l,down:d,between:u,only:p,not:h,unit:r,...i}}function $B(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,i)=>{const o=/min-width:\s*([0-9.]+)/;return+(n.match(o)?.[1]||0)-+(i.match(o)?.[1]||0)});return r.length?r.reduce((n,i)=>{const o=t[i];return delete n[i],n[i]=o,n},{...t}):t}function Pxe(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function Mxe(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,n,i]=r,o=Number.isNaN(+n)?n||0:+n;return e.containerQueries(i).up(o)}function Ixe(e){const t=(o,a)=>o.replace("@media",a?`@container ${a}`:"@container");function r(o,a){o.up=(...l)=>t(e.breakpoints.up(...l),a),o.down=(...l)=>t(e.breakpoints.down(...l),a),o.between=(...l)=>t(e.breakpoints.between(...l),a),o.only=(...l)=>t(e.breakpoints.only(...l),a),o.not=(...l)=>{const d=t(e.breakpoints.not(...l),a);return d.includes("not all and")?d.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):d}}const n={},i=o=>(r(n,o),n);return r(i),{...e,containerQueries:i}}const jxe={borderRadius:4};function W5(e,t){return t?_a(e,t,{clone:!1}):e}const kw={xs:0,sm:600,md:900,lg:1200,xl:1536},SB={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${kw[e]}px)`},Rxe={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:kw[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function n2(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||SB;return t.reduce((o,a,l)=>(o[i.up(i.keys[l])]=r(t[l]),o),{})}if(typeof t=="object"){const i=n.breakpoints||SB;return Object.keys(t).reduce((o,a)=>{if(Pxe(i.keys,a)){const l=Mxe(n.containerQueries?n:Rxe,a);l&&(o[l]=r(t[a],a))}else if(Object.keys(i.values||kw).includes(a)){const l=i.up(a);o[l]=r(t[a],a)}else{const l=a;o[l]=t[l]}return o},{})}return r(t)}function Fxe(e={}){return e.keys?.reduce((t,r)=>{const n=e.up(r);return t[n]={},t},{})||{}}function kB(e,t){return e.reduce((r,n)=>{const i=r[n];return(!i||Object.keys(i).length===0)&&delete r[n],r},t)}function Rr(e){if(typeof e!="string")throw new Error(r2(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Ew(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(n!=null)return n}return t.split(".").reduce((n,i)=>n&&n[i]!=null?n[i]:null,e)}function mv(e,t,r,n=r){let i;return typeof e=="function"?i=e(r):Array.isArray(e)?i=e[r]||n:i=Ew(e,r)||n,t&&(i=t(i,n,e)),i}function ro(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:i}=e,o=a=>{if(a[t]==null)return null;const l=a[t],d=a.theme,u=Ew(d,n)||{};return n2(a,l,p=>{let h=mv(u,i,p);return p===h&&typeof p=="string"&&(h=mv(u,i,`${t}${p==="default"?"":Rr(p)}`,p)),r===!1?h:{[r]:h}})};return o.propTypes={},o.filterProps=[t],o}function Oxe(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Nxe={m:"margin",p:"padding"},zxe={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},EB={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Bxe=Oxe(e=>{if(e.length>2)if(EB[e])e=EB[e];else return[e];const[t,r]=e.split(""),n=Nxe[t],i=zxe[r]||"";return Array.isArray(i)?i.map(o=>n+o):[n+i]}),UR=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],WR=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...UR,...WR];function e9(e,t,r,n){const i=Ew(e,t,!0)??r;return typeof i=="number"||typeof i=="string"?o=>typeof o=="string"?o:typeof i=="string"?i.startsWith("var(")&&o===0?0:i.startsWith("var(")&&o===1?i:`calc(${o} * ${i})`:i*o:Array.isArray(i)?o=>{if(typeof o=="string")return o;const a=Math.abs(o),l=i[a];return o>=0?l:typeof l=="number"?-l:typeof l=="string"&&l.startsWith("var(")?`calc(-1 * ${l})`:`-${l}`}:typeof i=="function"?i:()=>{}}function GR(e){return e9(e,"spacing",8)}function t9(e,t){return typeof t=="string"||t==null?t:e(t)}function Hxe(e,t){return r=>e.reduce((n,i)=>(n[i]=t9(t,r),n),{})}function Vxe(e,t,r,n){if(!t.includes(r))return null;const i=Bxe(r),o=Hxe(i,n),a=e[r];return n2(e,a,o)}function kde(e,t){const r=GR(e.theme);return Object.keys(e).map(n=>Vxe(e,t,n,r)).reduce(W5,{})}function Oi(e){return kde(e,UR)}Oi.propTypes={};Oi.filterProps=UR;function Ni(e){return kde(e,WR)}Ni.propTypes={};Ni.filterProps=WR;function Ede(e=8,t=GR({spacing:e})){if(e.mui)return e;const r=(...n)=>(n.length===0?[1]:n).map(i=>{const o=t(i);return typeof o=="number"?`${o}px`:o}).join(" ");return r.mui=!0,r}function _w(...e){const t=e.reduce((n,i)=>(i.filterProps.forEach(o=>{n[o]=i}),n),{}),r=n=>Object.keys(n).reduce((i,o)=>t[o]?W5(i,t[o](n)):i,{});return r.propTypes={},r.filterProps=e.reduce((n,i)=>n.concat(i.filterProps),[]),r}function _l(e){return typeof e!="number"?e:`${e}px solid`}function Yl(e,t){return ro({prop:e,themeKey:"borders",transform:t})}const Uxe=Yl("border",_l),Wxe=Yl("borderTop",_l),Gxe=Yl("borderRight",_l),Yxe=Yl("borderBottom",_l),qxe=Yl("borderLeft",_l),Zxe=Yl("borderColor"),Kxe=Yl("borderTopColor"),Qxe=Yl("borderRightColor"),Xxe=Yl("borderBottomColor"),Jxe=Yl("borderLeftColor"),eCe=Yl("outline",_l),tCe=Yl("outlineColor"),Tw=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=e9(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:t9(t,n)});return n2(e,e.borderRadius,r)}return null};Tw.propTypes={};Tw.filterProps=["borderRadius"];_w(Uxe,Wxe,Gxe,Yxe,qxe,Zxe,Kxe,Qxe,Xxe,Jxe,Tw,eCe,tCe);const Aw=e=>{if(e.gap!==void 0&&e.gap!==null){const t=e9(e.theme,"spacing",8),r=n=>({gap:t9(t,n)});return n2(e,e.gap,r)}return null};Aw.propTypes={};Aw.filterProps=["gap"];const Lw=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=e9(e.theme,"spacing",8),r=n=>({columnGap:t9(t,n)});return n2(e,e.columnGap,r)}return null};Lw.propTypes={};Lw.filterProps=["columnGap"];const Dw=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=e9(e.theme,"spacing",8),r=n=>({rowGap:t9(t,n)});return n2(e,e.rowGap,r)}return null};Dw.propTypes={};Dw.filterProps=["rowGap"];const rCe=ro({prop:"gridColumn"}),nCe=ro({prop:"gridRow"}),iCe=ro({prop:"gridAutoFlow"}),oCe=ro({prop:"gridAutoColumns"}),aCe=ro({prop:"gridAutoRows"}),sCe=ro({prop:"gridTemplateColumns"}),lCe=ro({prop:"gridTemplateRows"}),cCe=ro({prop:"gridTemplateAreas"}),dCe=ro({prop:"gridArea"});_w(Aw,Lw,Dw,rCe,nCe,iCe,oCe,aCe,sCe,lCe,cCe,dCe);function bf(e,t){return t==="grey"?t:e}const uCe=ro({prop:"color",themeKey:"palette",transform:bf}),pCe=ro({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:bf}),hCe=ro({prop:"backgroundColor",themeKey:"palette",transform:bf});_w(uCe,pCe,hCe);function Vs(e){return e<=1&&e!==0?`${e*100}%`:e}const mCe=ro({prop:"width",transform:Vs}),YR=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{const n=e.theme?.breakpoints?.values?.[r]||kw[r];return n?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:Vs(r)}};return n2(e,e.maxWidth,t)}return null};YR.filterProps=["maxWidth"];const fCe=ro({prop:"minWidth",transform:Vs}),gCe=ro({prop:"height",transform:Vs}),yCe=ro({prop:"maxHeight",transform:Vs}),vCe=ro({prop:"minHeight",transform:Vs});ro({prop:"size",cssProperty:"width",transform:Vs});ro({prop:"size",cssProperty:"height",transform:Vs});const bCe=ro({prop:"boxSizing"});_w(mCe,YR,fCe,gCe,yCe,vCe,bCe);const Pw={border:{themeKey:"borders",transform:_l},borderTop:{themeKey:"borders",transform:_l},borderRight:{themeKey:"borders",transform:_l},borderBottom:{themeKey:"borders",transform:_l},borderLeft:{themeKey:"borders",transform:_l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:_l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Tw},color:{themeKey:"palette",transform:bf},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:bf},backgroundColor:{themeKey:"palette",transform:bf},p:{style:Ni},pt:{style:Ni},pr:{style:Ni},pb:{style:Ni},pl:{style:Ni},px:{style:Ni},py:{style:Ni},padding:{style:Ni},paddingTop:{style:Ni},paddingRight:{style:Ni},paddingBottom:{style:Ni},paddingLeft:{style:Ni},paddingX:{style:Ni},paddingY:{style:Ni},paddingInline:{style:Ni},paddingInlineStart:{style:Ni},paddingInlineEnd:{style:Ni},paddingBlock:{style:Ni},paddingBlockStart:{style:Ni},paddingBlockEnd:{style:Ni},m:{style:Oi},mt:{style:Oi},mr:{style:Oi},mb:{style:Oi},ml:{style:Oi},mx:{style:Oi},my:{style:Oi},margin:{style:Oi},marginTop:{style:Oi},marginRight:{style:Oi},marginBottom:{style:Oi},marginLeft:{style:Oi},marginX:{style:Oi},marginY:{style:Oi},marginInline:{style:Oi},marginInlineStart:{style:Oi},marginInlineEnd:{style:Oi},marginBlock:{style:Oi},marginBlockStart:{style:Oi},marginBlockEnd:{style:Oi},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Aw},rowGap:{style:Dw},columnGap:{style:Lw},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Vs},maxWidth:{style:YR},minWidth:{transform:Vs},height:{transform:Vs},maxHeight:{transform:Vs},minHeight:{transform:Vs},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function wCe(...e){const t=e.reduce((n,i)=>n.concat(Object.keys(i)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function xCe(e,t){return typeof e=="function"?e(t):e}function CCe(){function e(r,n,i,o){const a={[r]:n,theme:i},l=o[r];if(!l)return{[r]:n};const{cssProperty:d=r,themeKey:u,transform:p,style:h}=l;if(n==null)return null;if(u==="typography"&&n==="inherit")return{[r]:n};const f=Ew(i,u)||{};return h?h(a):n2(a,n,g=>{let y=mv(f,p,g);return g===y&&typeof g=="string"&&(y=mv(f,p,`${r}${g==="default"?"":Rr(g)}`,g)),d===!1?y:{[d]:y}})}function t(r){const{sx:n,theme:i={},nested:o}=r||{};if(!n)return null;const a=i.unstable_sxConfig??Pw;function l(d){let u=d;if(typeof d=="function")u=d(i);else if(typeof d!="object")return d;if(!u)return null;const p=Fxe(i.breakpoints),h=Object.keys(p);let f=p;return Object.keys(u).forEach(g=>{const y=xCe(u[g],i);if(y!=null)if(typeof y=="object")if(a[g])f=W5(f,e(g,y,i,a));else{const v=n2({theme:i},y,w=>({[g]:w}));wCe(v,y)?f[g]=t({sx:y,theme:i,nested:!0}):f=W5(f,v)}else f=W5(f,e(g,y,i,a))}),!o&&i.modularCssLayers?{"@layer sx":$B(i,kB(h,f))}:$B(i,kB(h,f))}return Array.isArray(n)?n.map(l):l(n)}return t}const nm=CCe();nm.filterProps=["sx"];function $Ce(e,t){const r=this;if(r.vars){if(!r.colorSchemes?.[e]||typeof r.getColorSchemeSelector!="function")return{};let n=r.getColorSchemeSelector(e);return n==="&"?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return r.palette.mode===e?t:{}}function qR(e={},...t){const{breakpoints:r={},palette:n={},spacing:i,shape:o={},...a}=e,l=Dxe(r),d=Ede(i);let u=_a({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:d,shape:{...jxe,...o}},a);return u=Ixe(u),u.applyStyles=$Ce,u=t.reduce((p,h)=>_a(p,h),u),u.unstable_sxConfig={...Pw,...a?.unstable_sxConfig},u.unstable_sx=function(p){return nm({sx:p,theme:this})},u}function SCe(e){return Object.keys(e).length===0}function ZR(e=null){const t=b.useContext(ade);return!t||SCe(t)?e:t}const kCe=qR();function _de(e=kCe){return ZR(e)}function _B(e){const t=fp(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Tde({styles:e,themeId:t,defaultTheme:r={}}){const n=_de(r),i=t&&n[t]||n;let o=typeof e=="function"?e(i):e;return i.modularCssLayers&&(Array.isArray(o)?o=o.map(a=>_B(typeof a=="function"?a(i):a)):o=_B(o)),s.jsx(Cde,{styles:o})}const TB=e=>e,ECe=()=>{let e=TB;return{configure(t){e=t},generate(t){return e(t)},reset(){e=TB}}},_Ce=ECe();function Ade(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=Ade(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function yr(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=Ade(e))&&(n&&(n+=" "),n+=t);return n}const TCe={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function In(e,t,r="Mui"){const n=TCe[t];return n?`${r}-${n}`:`${_Ce.generate(e)}-${t}`}function jn(e,t,r="Mui"){const n={};return t.forEach(i=>{n[i]=In(e,i,r)}),n}function Lde(e){const{variants:t,...r}=e,n={variants:t,style:fp(r),isProcessed:!0};return n.style===r||t&&t.forEach(i=>{typeof i.style!="function"&&(i.style=fp(i.style))}),n}const ACe=qR();function uS(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Fh(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function LCe(e){return e?(t,r)=>r[e]:null}function DCe(e,t,r){e.theme=ICe(e.theme)?r:e.theme[t]||e.theme}function wy(e,t,r){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(i=>wy(e,i,r));if(Array.isArray(n?.variants)){let i;if(n.isProcessed)i=r?Fh(n.style,r):n.style;else{const{variants:o,...a}=n;i=r?Fh(fp(a),r):a}return Dde(e,n.variants,[i],r)}return n?.isProcessed?r?Fh(fp(n.style),r):n.style:r?Fh(fp(n),r):n}function Dde(e,t,r=[],n=void 0){let i;e:for(let o=0;o<t.length;o+=1){const a=t[o];if(typeof a.props=="function"){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!a.props(i))continue}else for(const l in a.props)if(e[l]!==a.props[l]&&e.ownerState?.[l]!==a.props[l])continue e;typeof a.style=="function"?(i??={...e,...e.ownerState,ownerState:e.ownerState},r.push(n?Fh(fp(a.style(i)),n):a.style(i))):r.push(n?Fh(fp(a.style),n):a.style)}return r}function PCe(e={}){const{themeId:t,defaultTheme:r=ACe,rootShouldForwardProp:n=uS,slotShouldForwardProp:i=uS}=e;function o(a){DCe(a,t,r)}return(a,l={})=>{_xe(a,T=>T.filter(E=>E!==nm));const{name:d,slot:u,skipVariantsResolver:p,skipSx:h,overridesResolver:f=LCe(RCe(u)),...g}=l,y=d&&d.startsWith("Mui")||u?"components":"custom",v=p!==void 0?p:u&&u!=="Root"&&u!=="root"||!1,w=h||!1;let x=uS;u==="Root"||u==="root"?x=n:u?x=i:jCe(a)&&(x=void 0);const C=Exe(a,{shouldForwardProp:x,label:MCe(),...g}),S=T=>{if(T.__emotion_real===T)return T;if(typeof T=="function")return function(E){return wy(E,T,E.theme.modularCssLayers?y:void 0)};if(Iu(T)){const E=Lde(T);return function(D){return E.variants?wy(D,E,D.theme.modularCssLayers?y:void 0):D.theme.modularCssLayers?Fh(E.style,y):E.style}}return T},k=(...T)=>{const E=[],D=T.map(S),P=[];if(E.push(o),d&&f&&P.push(function(H){const R=H.theme.components?.[d]?.styleOverrides;if(!R)return null;const Z={};for(const Y in R)Z[Y]=wy(H,R[Y],H.theme.modularCssLayers?"theme":void 0);return f(H,Z)}),d&&!v&&P.push(function(H){const R=H.theme?.components?.[d]?.variants;return R?Dde(H,R,[],H.theme.modularCssLayers?"theme":void 0):null}),w||P.push(nm),Array.isArray(D[0])){const H=D.shift(),R=new Array(E.length).fill(""),Z=new Array(P.length).fill("");let Y;Y=[...R,...H,...Z],Y.raw=[...R,...H.raw,...Z],E.unshift(Y)}const A=[...E,...D,...P],I=C(...A);return a.muiName&&(I.muiName=a.muiName),I};return C.withConfig&&(k.withConfig=C.withConfig),k}}function MCe(e,t){return void 0}function ICe(e){for(const t in e)return!1;return!0}function jCe(e){return typeof e=="string"&&e.charCodeAt(0)>96}function RCe(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function NM(e,t,r=!1){const n={...t};for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)){const o=i;if(o==="components"||o==="slots")n[o]={...e[o],...n[o]};else if(o==="componentsProps"||o==="slotProps"){const a=e[o],l=t[o];if(!l)n[o]=a||{};else if(!a)n[o]=l;else{n[o]={...l};for(const d in a)if(Object.prototype.hasOwnProperty.call(a,d)){const u=d;n[o][u]=NM(a[u],l[u],r)}}}else o==="className"&&r&&t.className?n.className=yr(e?.className,t?.className):o==="style"&&r&&t.style?n.style={...e?.style,...t?.style}:n[o]===void 0&&(n[o]=e[o])}return n}const zl=typeof window<"u"?b.useLayoutEffect:b.useEffect;function FCe(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function KR(e,t=0,r=1){return FCe(e,t,r)}function OCe(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,i)=>i<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Ep(e){if(e.type)return e;if(e.charAt(0)==="#")return Ep(OCe(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(r2(9,e));let n=e.substring(t+1,e.length-1),i;if(r==="color"){if(n=n.split(" "),i=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(i))throw new Error(r2(10,i))}else n=n.split(",");return n=n.map(o=>parseFloat(o)),{type:r,values:n,colorSpace:i}}const NCe=e=>{const t=Ep(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},_5=(e,t)=>{try{return NCe(e)}catch{return e}};function Mw(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((i,o)=>o<3?parseInt(i,10):i):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Pde(e){e=Ep(e);const{values:t}=e,r=t[0],n=t[1]/100,i=t[2]/100,o=n*Math.min(i,1-i),a=(u,p=(u+r/30)%12)=>i-o*Math.max(Math.min(p-3,9-p,1),-1);let l="rgb";const d=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(l+="a",d.push(t[3])),Mw({type:l,values:d})}function zM(e){e=Ep(e);let t=e.type==="hsl"||e.type==="hsla"?Ep(Pde(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function zCe(e,t){const r=zM(e),n=zM(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function fv(e,t){return e=Ep(e),t=KR(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Mw(e)}function U0(e,t,r){try{return fv(e,t)}catch{return e}}function Iw(e,t){if(e=Ep(e),t=KR(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Mw(e)}function Un(e,t,r){try{return Iw(e,t)}catch{return e}}function jw(e,t){if(e=Ep(e),t=KR(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Mw(e)}function Wn(e,t,r){try{return jw(e,t)}catch{return e}}function BCe(e,t=.15){return zM(e)>.5?Iw(e,t):jw(e,t)}function t6(e,t,r){try{return BCe(e,t)}catch{return e}}const Mde=b.createContext(null);function QR(){return b.useContext(Mde)}const HCe=typeof Symbol=="function"&&Symbol.for,VCe=HCe?Symbol.for("mui.nested"):"__THEME_NESTED__";function UCe(e,t){return typeof t=="function"?t(e):{...e,...t}}function WCe(e){const{children:t,theme:r}=e,n=QR(),i=b.useMemo(()=>{const o=n===null?{...r}:UCe(n,r);return o!=null&&(o[VCe]=n!==null),o},[r,n]);return s.jsx(Mde.Provider,{value:i,children:t})}const Ide=b.createContext();function GCe({value:e,...t}){return s.jsx(Ide.Provider,{value:e??!0,...t})}const yg=()=>b.useContext(Ide)??!1,jde=b.createContext(void 0);function YCe({value:e,children:t}){return s.jsx(jde.Provider,{value:e,children:t})}function qCe(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const i=t.components[r];return i.defaultProps?NM(i.defaultProps,n,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?NM(i,n,t.components.mergeClassNameAndStyle):n}function ZCe({props:e,name:t}){const r=b.useContext(jde);return qCe({props:e,name:t,theme:{components:r}})}let AB=0;function KCe(e){const[t,r]=b.useState(e),n=e||t;return b.useEffect(()=>{t==null&&(AB+=1,r(`mui-${AB}`))},[t]),n}const QCe={...dve},LB=QCe.useId;function Rw(e){if(LB!==void 0){const t=LB();return e??t}return KCe(e)}function XCe(e){const t=ZR(),r=Rw()||"",{modularCssLayers:n}=e;let i="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!n||t!==null?i="":typeof n=="string"?i=n.replace(/mui(?!\.)/g,i):i=`@layer ${i};`,zl(()=>{const o=document.querySelector("head");if(!o)return;const a=o.firstChild;if(i){if(a&&a.hasAttribute?.("data-mui-layer-order")&&a.getAttribute("data-mui-layer-order")===r)return;const l=document.createElement("style");l.setAttribute("data-mui-layer-order",r),l.textContent=i,o.prepend(l)}else o.querySelector(`style[data-mui-layer-order="${r}"]`)?.remove()},[i,r]),i?s.jsx(Tde,{styles:i}):null}const DB={};function PB(e,t,r,n=!1){return b.useMemo(()=>{const i=e&&t[e]||t;if(typeof r=="function"){const o=r(i),a=e?{...t,[e]:o}:o;return n?()=>a:a}return e?{...t,[e]:r}:{...t,...r}},[e,t,r,n])}function Rde(e){const{children:t,theme:r,themeId:n}=e,i=ZR(DB),o=QR()||DB,a=PB(n,i,r),l=PB(n,o,r,!0),d=(n?a[n]:a).direction==="rtl",u=XCe(a);return s.jsx(WCe,{theme:l,children:s.jsx(ade.Provider,{value:a,children:s.jsx(GCe,{value:d,children:s.jsxs(YCe,{value:n?a[n].components:a.components,children:[u,t]})})})})}const MB={theme:void 0};function JCe(e){let t,r;return function(n){let i=t;return(i===void 0||n.theme!==r)&&(MB.theme=n.theme,i=Lde(e(MB)),t=i,r=n.theme),i}}const XR="mode",JR="color-scheme",e$e="data-color-scheme";function t$e(e){const{defaultMode:t="system",defaultLightColorScheme:r="light",defaultDarkColorScheme:n="dark",modeStorageKey:i=XR,colorSchemeStorageKey:o=JR,attribute:a=e$e,colorSchemeNode:l="document.documentElement",nonce:d}=e||{};let u="",p=a;if(a==="class"&&(p=".%s"),a==="data"&&(p="[data-%s]"),p.startsWith(".")){const f=p.substring(1);u+=`${l}.classList.remove('${f}'.replace('%s', light), '${f}'.replace('%s', dark));
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/empty-CvQ9mfdA.js","assets/sentry-L3H0lnBS.js","assets/empty-BAhHXN-J.js","assets/index-BSFE83ps.js","assets/index-CbQy18LL.js","assets/zeni-epic-state-B9Z2lD6g.js","assets/core-BBKQkJb7.js","assets/utils-WSIc2RtD.js","assets/recharts-DQ94kkTy.js","assets/liveblocks-D1Gf9COF.js","assets/url-CVUNFFPg.js","assets/index-C2tYLV1-.js","assets/index-D1n9iNXR.js","assets/url-3bnwMjsG.js","assets/index-Co5CHcL-.js","assets/constants-Ca2l-eSK.js","assets/OverlayContainerPage-CkUYOhlh-BnCo9_OT.js","assets/mui-Bgk_7_3h.js","assets/lottie-B-DVrXwa.js","assets/analytics-BSh5cBTM.js","assets/lexical-CC2d_kE2.js","assets/ConfettiBurst-duD341Gp-CRM9LgmA.js","assets/SignIn-CUJkZb3S-BQ5cYlKz.js","assets/ZeniCopyright-DDGvdmLF-447g6hlp.js","assets/ProductsCarousel-C9JoJQeH-x81n9I1l.js","assets/handshake-BPg58FML-CAcdkk5J.js","assets/Dashboard-DReG_aaf-DwSOFg0b.js","assets/DashboardSidebarBackgroundAnimation-B3dtVAe2-B6yGX6Ah.js","assets/ArAgingChart-Tcu0Lja_-Dcd3iM-I.js","assets/chartTypes-Dq3hUz_T-CZIhQYGg.js","assets/ReloadCard-D5cvzWxe-B3IyXnq9.js","assets/TopExCard-D2PRxvFc-jwp5OjNB.js","assets/graphic-no-data-l-DU4J8fDt-l3Wpg2uF.js","assets/RevenueChart-DtQu0KAn-D8weCECA.js","assets/toCOABalancesWithID-P7keEtAg-CKsrAJNb.js","assets/toChartData-BUf5HHim-DU5WiVJh.js","assets/InsightsCardStack-uJWMkIZL-BMcef6eP.js","assets/SummaryCard-D61xzK3a-D5OwtVH7.js","assets/NavigationArrow-Dpc7u6y4-BiRqyGkx.js","assets/NavigationDots-DCpslVnm-DccClgwI.js","assets/arrow-south-east-round-PEovUgvH-D9NhRqZJ.js","assets/AccountsPromoCardStack-De2yNNuZ-G5M7i2un.js","assets/CompanyPassportCard-DF9LFrFD-nY8e_5Nd.js","assets/gift-box-Cmt9OgIZ-DeI78FXp.js","assets/InformationCardStack-rx0fypl3-PVL5sP4g.js","assets/graphic-no-data-net-burn-l-CzmycA0m-Dyry9S3b.js","assets/PromoBaseCards-mFk7SsOr-qtCHMf8v.js","assets/VideoPlayer-DxIfGrPu-DG9_29pb.js","assets/AppDrawerContent-D9Q8ir0T-CV--mref.js","assets/TransactionListBig-BrDWayQS-DsH6Jycs.js","assets/ConstrainedInnerElement-hv51KpGg-CXln6N2t.js","assets/TransactionListPage-C-Z62y2d-BZTkx2mc.js","assets/TransactionList-f6yB-byH-BeXigMDL.js","assets/BoxItem-B06DK4G--Bupc4dyY.js","assets/commonDimensions-CGHIQ2To-ChTwXt2F.js","assets/panelSelectedMixin-Cddsb26L-BeWHMcNi.js","assets/page-detail-CWX5S47F-DpTi0lr5.js","assets/DashboardReportPage-BXSlwsR7-CQ7UXe-C.js","assets/analyticsHelper-D9xdJK4b-DdFbzSx8.js","assets/ReportTableViewSelector-Ig41fOPb-CLRRGAhe.js","assets/CollapsableReportTable-h0vIfI8o-D3Pt-4FZ.js","assets/AccountRow-BrW_eEjE-DlgTvuFF.js","assets/InsightsSection-ByFf2oGn-v8_DJRM0.js","assets/BalancesInsightWithToolTip-tiQUQUbX-C4adSAUq.js","assets/TimeRangeSwitcher-C3jXm39I-pg9s0UqV.js","assets/NoDataChart-9-bhq204-Mk2SpDph.js","assets/getReferrerType-DjPOy76W-DRP5VHem.js","assets/TimeframeSwitcher-CcYg-YQJ-B8uZpFtx.js","assets/mapSectionWithAcOnlyToTreeNode-dsBogxKz-4f0Ul0l4.js","assets/NoDataTable-C6Q2Anpz-DUKNluuK.js","assets/mapTimeframeHeaderLoadingInProgressToTreeNode-CGdkzFsp-LJEHXizn.js","assets/mapLoadingInProgressToTreeNode-DrC2Zs2y-BjsjwyTG.js","assets/ReportsPage-CRAVAUTO-Cw7xKvAS.js","assets/mapTimeframeBalancesToTreeNode-CW_wzI5T-DDDj-Taw.js","assets/TimeframeSwitcherWithToggle-w4YJno-p-B2pTF6KS.js","assets/DownloadOverlay-BpRKCn-0-CHKRQCgV.js","assets/TopExDetailPage-C0uHdU7N-D9KWDen5.js","assets/TransactionDetailPage-D-NR_yZG-DLNp0Ym3.js","assets/LabeledControlledCheckBoxField-BgC8y0D6-BL02IYWO.js","assets/TrendWithTransactions-It4KDov3-uJUU6y8f.js","assets/TrendChart-fFlHCvNx--8jxSfa_.js","assets/uploadAttachment-DJA30WSD-Ce-ZEqY3.js","assets/radio-default-CiSgisfh-Dt6ezU-k.js","assets/QBOConnectionDialog-CJsIrEZq-Cv6iSpTz.js","assets/VerifyDevice-DeHW4GAi-BrrxSvi2.js","assets/AccountLockedInfoModal-c30P9O_3-n0xGj_zZ.js","assets/PeoplePage-DcGqWtAP-DkPagYKu.js","assets/RoleWithToolTip-x2rnvWn9-Decoe-vI.js","assets/PandLWithForecastPage-Cj3UWjG4-Daok_AzA.js","assets/NavBarWithPicker-CbjFNysh-fM8X8YaY.js","assets/usp-line-BBd1wKwW-J8zgXRmN.js","assets/EntityDetailPage-fmWuxHTZ-DJDbCj57.js","assets/NotFoundPage-4mPhXD5--D8Xe2RH2.js","assets/CompanyPassportPage-BtAopyLq-BcF__FaA.js","assets/LabeledCreatableSingleSelectField-BV3h9bh7-D2WoBuGQ.js","assets/LabeledDocumentField-rriEcsdr-DuJ2zUxk.js","assets/commonTypes-BAJPaPYg-ZRT2EIAq.js","assets/LabeledCountryMultiSelectField-3qI_4noU-BwwxeoBQ.js","assets/helper-z5-P4a-y-BjC38EFp.js","assets/LabeledAddressValue-3l0Bv00--CRsMpkI1.js","assets/CreateOrEditVendorPage-C2xU6c51-B-kxLo4f.js","assets/VendorACHDetailsPage-By2Ya2bv-q_tye6Vo.js","assets/ACHDetailsPage-BShpKoIj-CW1imKMz.js","assets/BankAccountWarningSection-DCfyIUlu-CKci9TET.js","assets/MagicLinkTitleSection-ClAnBBt9-BG2qP1eV.js","assets/BankAccountSection-EZtscP2z-BUefIH5V.js","assets/VendorDomesticWireDetailsPage-uIDE-n5v-CXJb5J3y.js","assets/DomesticWireDetailsPage-BaiSpc0N-DnjTEbYw.js","assets/MailingDetailsSection-9_XLl4bT-aum9pUe4.js","assets/LabeledAddressValueField-F9kvUR_r--rBMYRFp.js","assets/VendorInternationalWireDetailsPage-DJeI-ZFW-Y_m9RvHt.js","assets/CurrencySelectField-B8EoF2aF-GOW4qR7m.js","assets/ReviewDetailsPage-vui4TqeA-D-XziIJQ.js","assets/LowBalancePopup-C2vHKMNF-bdPNLfbg.js","assets/LabeledText-DGZ7hxY4-DsEkDfJy.js","assets/BillPayPromoPage-Dgpz2TLG-RoPtYKEQ.js","assets/VideoPopup-CUP7ctgS-CnQZCBbO.js","assets/BillPaySetUpPage-B6Pd_eBf-CWUn729m.js","assets/UploadAdditionalDocumentOverlay-C5m8jqup-S0ohEV34.js","assets/ApprovalRulesSettingsPage-DVGvJsQG-COBJqCxP.js","assets/BankConnectionsSettingsPage-CQWy9jvt-BdLZIBvy.js","assets/SetUpAccountSection-DYRWWXcL-CqyVY0zk.js","assets/MyBankConnectionsSettingsPage-CBNYcuP4-JphRdcv2.js","assets/MyProfileSettingsPage-BUMIjZYc-Bnuq---Y.js","assets/LabeledUserSingleSelectWithSubtitlesField-DI07Eicg-BdZT_J4k.js","assets/LabeledZeniRolesDropDownField-jIrTovp--BhxE0P_I.js","assets/NotificationSettingsPage-BTxCoB_b-EQULZcKC.js","assets/BusinessVerificationPage-Dgk5gyMv-BKMYH8C3.js","assets/CompanyOfficerDetailsSection-CWADX4kZ-jF_BBJt5.js","assets/ReimbursementPromoPage-Df5QmXzC-CiqDm3oM.js","assets/ReimbursementSetUpPage-D450RVsP-CoGf8qvT.js","assets/BillDetailPage-pt1k5AQf-BjT4Ihsm.js","assets/InvoiceUploadSection-Dg1-uunA-CW2z21hh.js","assets/AttachmentView-CiYfninr-76W0iAd5.js","assets/uploadReceipts-CqDftTRt-DXWV7iem.js","assets/upload-reimbursement-receipt-O2N8vcO7-N655yXJS.js","assets/BillPayApprovalRulesPage-Cmyo59xB-Bc1FlC0c.js","assets/BillPayApprovalRuleDetailPage-Drh7Bhi8-091yCGF7.js","assets/FollowStepsSection-Bgy9MpO4-DjmY6ECY.js","assets/ReimbursementApprovalRulesPage-C2zNa8dT-BewT1FOV.js","assets/ReimbursementApprovalRuleDetailPage-BMZnKpsk-C2eUzL_F.js","assets/EditReimbursementDetailPage-CC2BjMkR-CV9Xwg25.js","assets/types-DyvtCprH-NFPm5TaG.js","assets/ReimbursementDetailPage-B1o8ea57-DRCLvjWj.js","assets/InvitePeoplePage-BT_YVCP4-CgT1m3Z3.js","assets/AllUserItems-Dq7NcP-o-BNPnQC3d.js","assets/CompleteProfile-CsbsHQ0p-Da1z9Z7H.js","assets/EditPeoplePage-8DalSMWH-Ckh9exV5.js","assets/AppBasePage-B5sDynhi-CUXe21st.js","assets/SpendManagementListViewPage-BieufnDb-DsSgx26K.js","assets/SpendManagementSection-DKZNTYXT-Y5i2WptS.js","assets/StatusSwitcher-BfQ9VbBH-B-KO1Buq.js","assets/VendorDetailPage-jci1LqX3-BiOnbd3f.js","assets/SubTabSwitcher-CzGiuhk3-BJdsqPl7.js","assets/LabeledDropDownFormattedTextField-DoVSg3nZ-k-dWGYUh.js","assets/VendorFiling1099EditablePage-8pYT3u-X-D_UDyuhP.js","assets/ZeniAccountListViewPage-B-cs_xnc-CitANkcs.js","assets/auto-transfer-rule-mbafm5D3-Bd8ltJD0.js","assets/shield-DOlUxcFf-BeXfYuLC.js","assets/ZeniAccountNavBarPieces-CjRip0v9-fqy5uhYF.js","assets/ZeniTransferAmountSlider-Cdg0TlHk-DPnsENMy.js","assets/ZeniAccountDetailPage-7NdkdSg3-CzyDTlLy.js","assets/downloadPdf-BI2Y41h2-CJxUrMkc.js","assets/DepositAccTransactionItem-YuSXjbLh-C2vDDOod.js","assets/AccountInfoPage-B8upbXj9-Dtz8WQyO.js","assets/AccountInfoPageContent-CKpeDot5-DIGFDBxC.js","assets/TransferDrawerPage-DfFm-1-3-DcsnoXjo.js","assets/CreditCardPaymentDrawerPage-CeagMaCu-tu_QZ5if.js","assets/CheckDepositDrawerPage-D7_usOVn-B0KdoA_b.js","assets/ZeniAccountPromoPage-BikXtkeH-DjpOin1U.js","assets/ZeniAccountSetupPage-BRBsijVt-CVgD2Uf6.js","assets/DepositAccTransactionListPage-C-FAvZwD-BbAq4nWD.js","assets/StatementsPage-CbtnJM5y-D7odQb22.js","assets/StatementItem-Dyt5Q0eR-ge2odajX.js","assets/TransactionVendorDetailPage-CQQuAR6V-D21ZQKzj.js","assets/CustomerOnboardingPage-Dm2Si769-D58-iBoA.js","assets/PaymentAccountSetupBillingAddressSection-BWFl695q-CDWvoSql.js","assets/CustomerOnboardingDetailPageSkeleton-kUbwh2r2-J-3HD8z8.js","assets/QBOSetupSection-C_fqHza_-DgpfNI-0.js","assets/CustomerOnboardingContainerPage-DVL4s-eV-BLPiI0Mv.js","assets/CustomerOnboardingNoStepsPage-Br0jy7Pu-ChmYYCLk.js","assets/CustomerOnboardingProductSuitePage-Cz81Q5jC-n81ts80h.js","assets/CustomerOnboardingActivationPage-CIeR2XvU-CK8C5kkD.js","assets/BillingSettingsPage-CYsvBrFV-DtV08_g9.js","assets/UncategorizedAccountsMappingPage-BxBz2Ce0-CNPxhzU9.js","assets/VendorsAccountsSection-YX2g8ETe-e-Ebd3i7.js","assets/IntegrationsSettingsPage-Cj01Nub6-Ckk6jPFc.js","assets/UnitIntegrationPage-gVgsk2ji-COCsJfhk.js","assets/MagicLinkACHDetailsPage-lAAwAtH7-Ck-bBlpT.js","assets/MagicLinkDomesticWireDetailsPage-cv823ASo-o8N9E1Vn.js","assets/MagicLinkInternationalWireDetailsPage-C_SjsgC9-VMrnWF1u.js","assets/InternationalWireSwiftDetailsPage-C2PM97sv-DZ12UKs3.js","assets/MagicLinkSuccessPage-B1LBYM2F-6icyR0Uu.js","assets/Vendor2FAPopup-DRwBzOwn-DhtM-fsI.js","assets/AgingReportsPage-D9I9afnB-Pr6LqJHU.js","assets/mapSpacerToTreeNode-DMDEaLzQ-V5HoG67-.js","assets/agingReportHelper-ovKP-qSS-Cx4Hdid-.js","assets/ApAgingDetailPage-Z5JgfH-e-BCqAdteh.js","assets/EntitySummarySection-vsEMiXYh-CDZa-Mc3.js","assets/ArAgingDetailPage-B5vqkc3v-DkiCuj_D.js","assets/OpExByVendorPage-BV_uJSCh-DSWgiZdt.js","assets/mapTimeframeBalancesToTreeNode-DvfKBCs5-BZ6MszHu.js","assets/VendorInternationalWireSwiftDetailsPage-Co-5nTam-2AgQI36C.js","assets/VendorFirstReviewPage-CafakxA1-DLht7hvz.js","assets/NewGlobalMerchantPage-B10sY6Q_-VgMXWXS2.js","assets/GlobalReviewListPage-VRq_gimm-BJViyoax.js","assets/ScheduleDetailsPage-DmSLuM8g-DYOZWouJ.js","assets/ScheduleSequenceTable-js9_P_Lo-CzCZ3H3Q.js","assets/ScheduleDetailsFixedAssetsPage-D_Cls2jC-BwmKM1Tl.js","assets/LinkJETransactionPage-Bvbqpltz-HF3tsHRK.js","assets/ChargeCardPromoPage-Cz3rNFwM-D_0OzJRZ.js","assets/ChargeCardSetupPage-BcTB9Yy5-BOaP0LVe.js","assets/ChargeCardListPage-C-RTGkKK-DLkixTq5.js","assets/ChargeCardListTable-B-bNbtZQ--LQKl6Xj.js","assets/CardNumberSubText-CcH9jUoZ-mqNKBu9B.js","assets/LockCardPage-DyEQBJYx-Cp9KP7Ha.js","assets/MyPendingActivationChargeCardListPage-n71n40uQ-Dl2qH7gb.js","assets/ChargeCardDetailPage-Diwf-gwZ-BUyvgd6i.js","assets/add-to-wallet-DgdBD8_G-Tvhq1Gb8.js","assets/CashbackDetailPage-5eysaHGf-O2irFEC3.js","assets/ChargeCardStatementsPage-B_ERvgmB-DjHyNuHd.js","assets/ChargeCardPaymentHistoryPage-Cu-zT5tO-CNtnC-O7.js","assets/IssueChargeCardPage-CyF9wrb0-CEZ2-O-B.js","assets/AddToWalletPage-CsOmzC7v-DDekkTcs.js","assets/AddAddressForCardDrawer-riOPLnxb-4wUmSook.js","assets/TaskManagementPage-ucVAdv7x-DzPLVMfi.js","assets/NotificationsListConfig-CylnViXd-BsFR_NcM.js","assets/InvitePageListView-e7vGSbFa-DcUjhdI-.js","assets/InviteFormPage-dsMpScvq-CwRYtYza.js","assets/DrawerPage-DQ3Xuekx-B9p3dBku.js","assets/NotificationsPage-D41h0mS6-Bb6S9Jk3.js","assets/useLongPress-GCK2COYQ-rqfVb6ME.js","assets/FeaturePreviewPage-DSv61BhF-D3bUAc_I.js","assets/BillsBulkReviewDrawerPage-DNnAmqWz-CEdBVzVe.js","assets/ReviewOverlay-CUnL7H-a-17YpOTAb.js","assets/ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-qH0UNUqD.js","assets/ExpenseAutomationOverviewPage-B3HPfIsK-CWN4kP2X.js","assets/AIPerformancePage-CFErwUsE-C9puPCCO.js","assets/ExpenseAutomationPage-4LJefgNh-isL_Jc14.js","assets/AccountReconDetailsDrawerPage-CO9BYPWm-Mg0FsDRd.js","assets/InternationalWireVerificationPage-Cr3sDrT--DP2ZfrSL.js","assets/ExpressPayPage-BH7oCW_F-ls2gqEkj.js","assets/TreasuryPromoPage-Dyip3H10-BFjPECcI.js","assets/TreasuryOverviewPage-CKSanlUG-CsJ07wXK.js","assets/TreasuryStatementsPage-mljf2Van-CKwUR6NQ.js","assets/TreasuryTaxLetterPage-D3cV3a-8-L4BwstYA.js","assets/TransactionActivityLogPage-CqYb19tY-BvG_2MHQ.js","assets/WarningsDrawerPage--s6b380L-BvzCi6Jk.js","assets/ScreenRoutes-VDuiXW2A.js","assets/analyticsHelper-DOE_CVQ_.js","assets/SignInScreen-BxnvlP3D.js"])))=>i.map(i=>d[i]);
2
+ import{a as b,P as $,R as dve,b as Pc,p as i1,g as gw,e as uve,s as Vz,d as Uz,r as _s,w as pve,f as hve,S as mve,i as fve,j as gve,k as yve,l as vve}from"./sentry-L3H0lnBS.js";import{j as Wt,_ as K7,a as Js,u as jce,T as bve,C as wve,b as xve,c as Q7,e as X7,f as Cve,g as Rce,h as $ve,i as Sve,L as kve,k as Wz,l as Eve,m as _ve,P as Tve,o as Ave,p as Lve,q as Fce,r as Dve,s as Pve,I as Gz,v as Mve,w as Ive,x as jve,y as Rve,z as Fve,A as Ove,B as Oce,D as Nve,E as zve,F as Bve}from"./liveblocks-D1Gf9COF.js";import{f as Nce,X as jh,r as el,b as Hve,u as yw,g as v1,h as Vve,i as RR,j as Uve,R as Wve,k as rS,N as Gve,l as Yve,m as qve,B as Zve}from"./core-BBKQkJb7.js";import{B as lv,ba as bt,bb as Kve,bc as Yz,bd as zp,be as Qve,bf as FR,bg as pg,bh as Ft,bi as zce,bj as Bce,bk as vw,bl as ci,bm as qz,bn as o1,bo as Xve,bp as m7,bq as Jve,br as ebe,bs as tbe,bt as Zz,bu as rbe,bv as nbe,bw as Kz,bx as ibe,by as obe,bz as abe,bA as sbe,bB as lbe,bC as OR,bD as Hce,bE as mp,bF as jl,bG as Vce,bH as cv,bI as hr,bJ as cbe,bK as dbe,bL as ube,bM as pbe,bN as hbe,bO as mbe,bP as fbe,bQ as gbe,bR as ybe,bS as vbe,bT as PM,bU as bbe,bV as Uce,bW as Rh,bX as MM,bY as Nl,bZ as wbe,b_ as xbe,b$ as bw,c0 as Cbe,c1 as $be,c2 as Wce,c3 as Gce,c4 as Sbe,c5 as Qz,c6 as kbe,c7 as Ebe,c8 as _be,c9 as Yce,ca as qce,cb as Tbe,cc as Abe,cd as Zce,ce as hg,cf as ww,cg as Kce,ch as IM,ci as Lbe,cj as Dbe,ck as Pbe,cl as dv,cm as Mbe,cn as Qce,co as Xce,cp as Jce,cq as ede,cr as tde,cs as Ibe,ct as jbe,cu as Rbe,cv as rde,cw as jM,cx as Fbe,cy as nde,cz as Obe,cA as Nbe,cB as zbe,cC as Bbe,cD as Hbe,cE as Vbe,cF as Ube,cG as Wbe,cH as Gbe,cI as Ybe,v as qbe,cJ as xw,cK as ide,cL as ode,cM as Zbe,cN as Kbe,cO as Qbe,cP as Xbe,cQ as Jbe,cR as ewe,cS as twe,cT as rwe,cU as nwe,cV as Xz,cW as iwe,cX as owe,cY as awe,cZ as swe}from"./zeni-epic-state-B9Z2lD6g.js";import{T as ade,j as gr,n as m,c as it,k as tn,C as sde,G as NR,u as lwe}from"./mui-Bgk_7_3h.js";import{L as Jz}from"./lottie-B-DVrXwa.js";import{B as vn,c as mg,P as cwe}from"./recharts-DQ94kkTy.js";import{r as dwe,m as a1}from"./analytics-BSh5cBTM.js";import{r as bo}from"./lexical-CC2d_kE2.js";import{r as uwe}from"./utils-WSIc2RtD.js";(function(){try{var e=typeof window<"u"?window:typeof Pc<"u"?Pc:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="834a8a2e-a734-4eaf-a082-b23da38722a4",e._sentryDebugIdIdentifier="sentry-dbid-834a8a2e-a734-4eaf-a082-b23da38722a4")}catch{}})();(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const a of o.addedNodes)a.tagName==="LINK"&&a.rel==="modulepreload"&&n(a)}).observe(document,{childList:!0,subtree:!0});function r(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=r(i);fetch(i.href,o)}})();var J9={},eB;function pwe(){if(eB)return J9;eB=1;var e=Nce();return J9.createRoot=e.createRoot,J9.hydrateRoot=e.hydrateRoot,J9}var hwe=pwe();function kp(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)!==-1)continue;r[n]=e[n]}return r}function ir(){return ir=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var n in r)({}).hasOwnProperty.call(r,n)&&(e[n]=r[n])}return e},ir.apply(null,arguments)}function vs(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function uv(e,t){return uv=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},uv(e,t)}function fg(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,uv(e,t)}var bs=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof Pc<"u"?Pc:typeof self<"u"?self:{};function $r(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var tB={exports:{}},Bn={},rB;function mwe(){if(rB)return Bn;rB=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,o=e?Symbol.for("react.profiler"):60114,a=e?Symbol.for("react.provider"):60109,l=e?Symbol.for("react.context"):60110,d=e?Symbol.for("react.async_mode"):60111,u=e?Symbol.for("react.concurrent_mode"):60111,p=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,f=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,y=e?Symbol.for("react.lazy"):60116,v=e?Symbol.for("react.block"):60121,w=e?Symbol.for("react.fundamental"):60117,x=e?Symbol.for("react.responder"):60118,C=e?Symbol.for("react.scope"):60119;function S(T){if(typeof T=="object"&&T!==null){var E=T.$$typeof;switch(E){case t:switch(T=T.type,T){case d:case u:case n:case o:case i:case h:return T;default:switch(T=T&&T.$$typeof,T){case l:case p:case y:case g:case a:return T;default:return E}}case r:return E}}}function k(T){return S(T)===u}return Bn.AsyncMode=d,Bn.ConcurrentMode=u,Bn.ContextConsumer=l,Bn.ContextProvider=a,Bn.Element=t,Bn.ForwardRef=p,Bn.Fragment=n,Bn.Lazy=y,Bn.Memo=g,Bn.Portal=r,Bn.Profiler=o,Bn.StrictMode=i,Bn.Suspense=h,Bn.isAsyncMode=function(T){return k(T)||S(T)===d},Bn.isConcurrentMode=k,Bn.isContextConsumer=function(T){return S(T)===l},Bn.isContextProvider=function(T){return S(T)===a},Bn.isElement=function(T){return typeof T=="object"&&T!==null&&T.$$typeof===t},Bn.isForwardRef=function(T){return S(T)===p},Bn.isFragment=function(T){return S(T)===n},Bn.isLazy=function(T){return S(T)===y},Bn.isMemo=function(T){return S(T)===g},Bn.isPortal=function(T){return S(T)===r},Bn.isProfiler=function(T){return S(T)===o},Bn.isStrictMode=function(T){return S(T)===i},Bn.isSuspense=function(T){return S(T)===h},Bn.isValidElementType=function(T){return typeof T=="string"||typeof T=="function"||T===n||T===u||T===o||T===i||T===h||T===f||typeof T=="object"&&T!==null&&(T.$$typeof===y||T.$$typeof===g||T.$$typeof===a||T.$$typeof===l||T.$$typeof===p||T.$$typeof===w||T.$$typeof===x||T.$$typeof===C||T.$$typeof===v)},Bn.typeOf=S,Bn}var nB;function fwe(){return nB||(nB=1,tB.exports=mwe()),tB.exports}var nS,iB;function gwe(){if(iB)return nS;iB=1;var e=fwe(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},o={};o[e.ForwardRef]=n,o[e.Memo]=i;function a(y){return e.isMemo(y)?i:o[y.$$typeof]||t}var l=Object.defineProperty,d=Object.getOwnPropertyNames,u=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,f=Object.prototype;function g(y,v,w){if(typeof v!="string"){if(f){var x=h(v);x&&x!==f&&g(y,x,w)}var C=d(v);u&&(C=C.concat(u(v)));for(var S=a(y),k=a(v),T=0;T<C.length;++T){var E=C[T];if(!r[E]&&!(w&&w[E])&&!(k&&k[E])&&!(S&&S[E])){var D=p(v,E);try{l(y,E,D)}catch{}}}}return y}return nS=g,nS}var ywe=gwe();const vwe=$r(ywe);function bwe(e,t){if(!e){var r=new Error("loadable: "+t);throw r.framesToPop=1,r.name="Invariant Violation",r}}var wwe=$.createContext(),xwe={initialChunks:{}},oB="PENDING",Cwe="RESOLVED",iS="REJECTED";function $we(e){return typeof e=="function"?{requireAsync:e,resolve:function(){},chunkName:function(){}}:e}var Swe=function(e){var t=function(r){return $.createElement(wwe.Consumer,null,function(n){return $.createElement(e,Object.assign({__chunkExtractor:n},r))})};return e.displayName&&(t.displayName=e.displayName+"WithChunkExtractor"),t},kwe=function(e){return e};function lde(e){var t=e.defaultResolveComponent,r=t===void 0?kwe:t,n=e.render,i=e.onLoad;function o(l,d){d===void 0&&(d={});var u=$we(l),p={};function h(x){return d.cacheKey?d.cacheKey(x):u.resolve?u.resolve(x):"static"}function f(x,C,S){var k=d.resolveComponent?d.resolveComponent(x,C):r(x);return vwe(S,k,{preload:!0}),k}var g=function(x){var C=h(x),S=p[C];return(!S||S.status===iS)&&(S=u.requireAsync(x),S.status=oB,p[C]=S,S.then(function(){S.status=Cwe},function(k){console.error("loadable-components: failed to asynchronously load component",{fileName:u.resolve(x),chunkName:u.chunkName(x),error:k&&k.message}),S.status=iS})),S},y=function(x){fg(C,x),C.getDerivedStateFromProps=function(k,T){var E=h(k);return ir({},T,{cacheKey:E,loading:T.loading||T.cacheKey!==E})};function C(k){var T;return T=x.call(this,k)||this,T.state={result:null,error:null,loading:!0,cacheKey:h(k)},bwe(!k.__chunkExtractor||u.requireSync,"SSR requires `@loadable/babel-plugin`, please install it"),k.__chunkExtractor?(d.ssr===!1||(u.requireAsync(k).catch(function(){return null}),T.loadSync(),k.__chunkExtractor.addChunk(u.chunkName(k))),vs(T)):(d.ssr!==!1&&(u.isReady&&u.isReady(k)||u.chunkName&&xwe.initialChunks[u.chunkName(k)])&&T.loadSync(),T)}var S=C.prototype;return S.componentDidMount=function(){this.mounted=!0;var k=this.getCache();k&&k.status===iS&&this.setCache(),this.state.loading&&this.loadAsync()},S.componentDidUpdate=function(k,T){T.cacheKey!==this.state.cacheKey&&this.loadAsync()},S.componentWillUnmount=function(){this.mounted=!1},S.safeSetState=function(k,T){this.mounted&&this.setState(k,T)},S.getCacheKey=function(){return h(this.props)},S.getCache=function(){return p[this.getCacheKey()]},S.setCache=function(k){k===void 0&&(k=void 0),p[this.getCacheKey()]=k},S.triggerOnLoad=function(){var k=this;i&&setTimeout(function(){i(k.state.result,k.props)})},S.loadSync=function(){if(this.state.loading)try{var k=u.requireSync(this.props),T=f(k,this.props,w);this.state.result=T,this.state.loading=!1}catch(E){console.error("loadable-components: failed to synchronously load component, which expected to be available",{fileName:u.resolve(this.props),chunkName:u.chunkName(this.props),error:E&&E.message}),this.state.error=E}},S.loadAsync=function(){var k=this,T=this.resolveAsync();return T.then(function(E){var D=f(E,k.props,w);k.safeSetState({result:D,loading:!1},function(){return k.triggerOnLoad()})}).catch(function(E){return k.safeSetState({error:E,loading:!1})}),T},S.resolveAsync=function(){var k=this.props;k.__chunkExtractor,k.forwardedRef;var T=kp(k,["__chunkExtractor","forwardedRef"]);return g(T)},S.render=function(){var k=this.props,T=k.forwardedRef,E=k.fallback;k.__chunkExtractor;var D=kp(k,["forwardedRef","fallback","__chunkExtractor"]),P=this.state,A=P.error,I=P.loading,H=P.result;if(d.suspense){var R=this.getCache()||this.loadAsync();if(R.status===oB)throw this.loadAsync()}if(A)throw A;var Z=E||d.fallback||null;return I?Z:n({fallback:Z,result:H,options:d,props:ir({},D,{ref:T})})},C}($.Component),v=Swe(y),w=$.forwardRef(function(x,C){return $.createElement(v,Object.assign({forwardedRef:C},x))});return w.displayName="Loadable",w.preload=function(x){w.load(x)},w.load=function(x){return g(x)},w}function a(l,d){return o(l,ir({},d,{suspense:!0}))}return{loadable:o,lazy:a}}function Ewe(e){return e.__esModule?e.default:e.default||e}var cde=lde({defaultResolveComponent:Ewe,render:function(e){var t=e.result,r=e.props;return $.createElement(t,r)}}),_we=cde.loadable,Twe=cde.lazy,dde=lde({onLoad:function(e,t){e&&t.forwardedRef&&(typeof t.forwardedRef=="function"?t.forwardedRef(e):t.forwardedRef.current=e)},render:function(e){var t=e.result,r=e.props;return r.children?r.children(t):null}}),Awe=dde.loadable,Lwe=dde.lazy,vt=_we;vt.lib=Awe;var Dwe=Twe;Dwe.lib=Lwe;var aB={exports:{}},i4={},sB;function Pwe(){if(sB)return i4;sB=1;var e=$,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,o={key:!0,ref:!0,__self:!0,__source:!0};function a(l,d,u){var p,h={},f=null,g=null;u!==void 0&&(f=""+u),d.key!==void 0&&(f=""+d.key),d.ref!==void 0&&(g=d.ref);for(p in d)n.call(d,p)&&!o.hasOwnProperty(p)&&(h[p]=d[p]);if(l&&l.defaultProps)for(p in d=l.defaultProps,d)h[p]===void 0&&(h[p]=d[p]);return{$$typeof:t,type:l,key:f,ref:g,props:h,_owner:i.current}}return i4.Fragment=r,i4.jsx=a,i4.jsxs=a,i4}var lB;function ude(){return lB||(lB=1,aB.exports=Pwe()),aB.exports}var s=ude();const Mwe=b.createContext(null),oS={didCatch:!1,error:null};let Iwe=class extends b.Component{constructor(t){super(t),this.resetErrorBoundary=this.resetErrorBoundary.bind(this),this.state=oS}static getDerivedStateFromError(t){return{didCatch:!0,error:t}}resetErrorBoundary(){const{error:t}=this.state;if(t!==null){for(var r,n,i=arguments.length,o=new Array(i),a=0;a<i;a++)o[a]=arguments[a];(r=(n=this.props).onReset)===null||r===void 0||r.call(n,{args:o,reason:"imperative-api"}),this.setState(oS)}}componentDidCatch(t,r){var n,i;(n=(i=this.props).onError)===null||n===void 0||n.call(i,t,r)}componentDidUpdate(t,r){const{didCatch:n}=this.state,{resetKeys:i}=this.props;if(n&&r.error!==null&&jwe(t.resetKeys,i)){var o,a;(o=(a=this.props).onReset)===null||o===void 0||o.call(a,{next:i,prev:t.resetKeys,reason:"keys"}),this.setState(oS)}}render(){const{children:t,fallbackRender:r,FallbackComponent:n,fallback:i}=this.props,{didCatch:o,error:a}=this.state;let l=t;if(o){const d={error:a,resetErrorBoundary:this.resetErrorBoundary};if(typeof r=="function")l=r(d);else if(n)l=b.createElement(n,d);else if(i!==void 0)l=i;else throw a}return b.createElement(Mwe.Provider,{value:{didCatch:o,error:a,resetErrorBoundary:this.resetErrorBoundary}},l)}};function jwe(){let e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[],t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:[];return e.length!==t.length||e.some((r,n)=>!Object.is(r,t[n]))}var RM={exports:{}},Rwe=RM.exports,cB;function Fwe(){return cB||(cB=1,function(e){(function(t,r){e.exports?e.exports=r():t.numeral=r()})(Rwe,function(){var t,r,n="2.0.6",i={},o={},a={currentLocale:"en",zeroFormat:null,nullFormat:null,defaultFormat:"0,0",scalePercentBy100:!0},l={currentLocale:a.currentLocale,zeroFormat:a.zeroFormat,nullFormat:a.nullFormat,defaultFormat:a.defaultFormat,scalePercentBy100:a.scalePercentBy100};function d(u,p){this._input=u,this._value=p}return t=function(u){var p,h,f,g;if(t.isNumeral(u))p=u.value();else if(u===0||typeof u>"u")p=0;else if(u===null||r.isNaN(u))p=null;else if(typeof u=="string")if(l.zeroFormat&&u===l.zeroFormat)p=0;else if(l.nullFormat&&u===l.nullFormat||!u.replace(/[^0-9]+/g,"").length)p=null;else{for(h in i)if(g=typeof i[h].regexps.unformat=="function"?i[h].regexps.unformat():i[h].regexps.unformat,g&&u.match(g)){f=i[h].unformat;break}f=f||t._.stringToNumber,p=f(u)}else p=Number(u)||null;return new d(u,p)},t.version=n,t.isNumeral=function(u){return u instanceof d},t._=r={numberToFormat:function(u,p,h){var f=o[t.options.currentLocale],g=!1,y=!1,v=0,w="",x=1e12,C=1e9,S=1e6,k=1e3,T="",E=!1,D,P,A,I,H,R,Z;if(u=u||0,P=Math.abs(u),t._.includes(p,"(")?(g=!0,p=p.replace(/[\(|\)]/g,"")):(t._.includes(p,"+")||t._.includes(p,"-"))&&(H=t._.includes(p,"+")?p.indexOf("+"):u<0?p.indexOf("-"):-1,p=p.replace(/[\+|\-]/g,"")),t._.includes(p,"a")&&(D=p.match(/a(k|m|b|t)?/),D=D?D[1]:!1,t._.includes(p," a")&&(w=" "),p=p.replace(new RegExp(w+"a[kmbt]?"),""),P>=x&&!D||D==="t"?(w+=f.abbreviations.trillion,u=u/x):P<x&&P>=C&&!D||D==="b"?(w+=f.abbreviations.billion,u=u/C):P<C&&P>=S&&!D||D==="m"?(w+=f.abbreviations.million,u=u/S):(P<S&&P>=k&&!D||D==="k")&&(w+=f.abbreviations.thousand,u=u/k)),t._.includes(p,"[.]")&&(y=!0,p=p.replace("[.]",".")),A=u.toString().split(".")[0],I=p.split(".")[1],R=p.indexOf(","),v=(p.split(".")[0].split(",")[0].match(/0/g)||[]).length,I?(t._.includes(I,"[")?(I=I.replace("]",""),I=I.split("["),T=t._.toFixed(u,I[0].length+I[1].length,h,I[1].length)):T=t._.toFixed(u,I.length,h),A=T.split(".")[0],t._.includes(T,".")?T=f.delimiters.decimal+T.split(".")[1]:T="",y&&Number(T.slice(1))===0&&(T="")):A=t._.toFixed(u,0,h),w&&!D&&Number(A)>=1e3&&w!==f.abbreviations.trillion)switch(A=String(Number(A)/1e3),w){case f.abbreviations.thousand:w=f.abbreviations.million;break;case f.abbreviations.million:w=f.abbreviations.billion;break;case f.abbreviations.billion:w=f.abbreviations.trillion;break}if(t._.includes(A,"-")&&(A=A.slice(1),E=!0),A.length<v)for(var Y=v-A.length;Y>0;Y--)A="0"+A;return R>-1&&(A=A.toString().replace(/(\d)(?=(\d{3})+(?!\d))/g,"$1"+f.delimiters.thousands)),p.indexOf(".")===0&&(A=""),Z=A+T+(w||""),g?Z=(g&&E?"(":"")+Z+(g&&E?")":""):H>=0?Z=H===0?(E?"-":"+")+Z:Z+(E?"-":"+"):E&&(Z="-"+Z),Z},stringToNumber:function(u){var p=o[l.currentLocale],h=u,f={thousand:3,million:6,billion:9,trillion:12},g,y,v;if(l.zeroFormat&&u===l.zeroFormat)y=0;else if(l.nullFormat&&u===l.nullFormat||!u.replace(/[^0-9]+/g,"").length)y=null;else{y=1,p.delimiters.decimal!=="."&&(u=u.replace(/\./g,"").replace(p.delimiters.decimal,"."));for(g in f)if(v=new RegExp("[^a-zA-Z]"+p.abbreviations[g]+"(?:\\)|(\\"+p.currency.symbol+")?(?:\\))?)?$"),h.match(v)){y*=Math.pow(10,f[g]);break}y*=(u.split("-").length+Math.min(u.split("(").length-1,u.split(")").length-1))%2?1:-1,u=u.replace(/[^0-9\.]+/g,""),y*=Number(u)}return y},isNaN:function(u){return typeof u=="number"&&isNaN(u)},includes:function(u,p){return u.indexOf(p)!==-1},insert:function(u,p,h){return u.slice(0,h)+p+u.slice(h)},reduce:function(u,p){if(this===null)throw new TypeError("Array.prototype.reduce called on null or undefined");if(typeof p!="function")throw new TypeError(p+" is not a function");var h=Object(u),f=h.length>>>0,g=0,y;if(arguments.length===3)y=arguments[2];else{for(;g<f&&!(g in h);)g++;if(g>=f)throw new TypeError("Reduce of empty array with no initial value");y=h[g++]}for(;g<f;g++)g in h&&(y=p(y,h[g],g,h));return y},multiplier:function(u){var p=u.toString().split(".");return p.length<2?1:Math.pow(10,p[1].length)},correctionFactor:function(){var u=Array.prototype.slice.call(arguments);return u.reduce(function(p,h){var f=r.multiplier(h);return p>f?p:f},1)},toFixed:function(u,p,h,f){var g=u.toString().split("."),y=p-(f||0),v,w,x,C;return g.length===2?v=Math.min(Math.max(g[1].length,y),p):v=y,x=Math.pow(10,v),C=(h(u+"e+"+v)/x).toFixed(v),f>p-v&&(w=new RegExp("\\.?0{1,"+(f-(p-v))+"}$"),C=C.replace(w,"")),C}},t.options=l,t.formats=i,t.locales=o,t.locale=function(u){return u&&(l.currentLocale=u.toLowerCase()),l.currentLocale},t.localeData=function(u){if(!u)return o[l.currentLocale];if(u=u.toLowerCase(),!o[u])throw new Error("Unknown locale : "+u);return o[u]},t.reset=function(){for(var u in a)l[u]=a[u]},t.zeroFormat=function(u){l.zeroFormat=typeof u=="string"?u:null},t.nullFormat=function(u){l.nullFormat=typeof u=="string"?u:null},t.defaultFormat=function(u){l.defaultFormat=typeof u=="string"?u:"0.0"},t.register=function(u,p,h){if(p=p.toLowerCase(),this[u+"s"][p])throw new TypeError(p+" "+u+" already registered.");return this[u+"s"][p]=h,h},t.validate=function(u,p){var h,f,g,y,v,w,x,C;if(typeof u!="string"&&(u+="",console.warn&&console.warn("Numeral.js: Value is not string. It has been co-erced to: ",u)),u=u.trim(),u.match(/^\d+$/))return!0;if(u==="")return!1;try{x=t.localeData(p)}catch{x=t.localeData(t.locale())}return g=x.currency.symbol,v=x.abbreviations,h=x.delimiters.decimal,x.delimiters.thousands==="."?f="\\.":f=x.delimiters.thousands,C=u.match(/^[^\d]+/),C!==null&&(u=u.substr(1),C[0]!==g)||(C=u.match(/[^\d]+$/),C!==null&&(u=u.slice(0,-1),C[0]!==v.thousand&&C[0]!==v.million&&C[0]!==v.billion&&C[0]!==v.trillion))?!1:(w=new RegExp(f+"{2}"),u.match(/[^\d.,]/g)?!1:(y=u.split(h),y.length>2?!1:y.length<2?!!y[0].match(/^\d+.*\d$/)&&!y[0].match(w):y[0].length===1?!!y[0].match(/^\d+$/)&&!y[0].match(w)&&!!y[1].match(/^\d+$/):!!y[0].match(/^\d+.*\d$/)&&!y[0].match(w)&&!!y[1].match(/^\d+$/)))},t.fn=d.prototype={clone:function(){return t(this)},format:function(u,p){var h=this._value,f=u||l.defaultFormat,g,y,v;if(p=p||Math.round,h===0&&l.zeroFormat!==null)y=l.zeroFormat;else if(h===null&&l.nullFormat!==null)y=l.nullFormat;else{for(g in i)if(f.match(i[g].regexps.format)){v=i[g].format;break}v=v||t._.numberToFormat,y=v(h,f,p)}return y},value:function(){return this._value},input:function(){return this._input},set:function(u){return this._value=Number(u),this},add:function(u){var p=r.correctionFactor.call(null,this._value,u);function h(f,g,y,v){return f+Math.round(p*g)}return this._value=r.reduce([this._value,u],h,0)/p,this},subtract:function(u){var p=r.correctionFactor.call(null,this._value,u);function h(f,g,y,v){return f-Math.round(p*g)}return this._value=r.reduce([u],h,Math.round(this._value*p))/p,this},multiply:function(u){function p(h,f,g,y){var v=r.correctionFactor(h,f);return Math.round(h*v)*Math.round(f*v)/Math.round(v*v)}return this._value=r.reduce([this._value,u],p,1),this},divide:function(u){function p(h,f,g,y){var v=r.correctionFactor(h,f);return Math.round(h*v)/Math.round(f*v)}return this._value=r.reduce([this._value,u],p),this},difference:function(u){return Math.abs(t(this._value).subtract(u).value())}},t.register("locale","en",{delimiters:{thousands:",",decimal:"."},abbreviations:{thousand:"k",million:"m",billion:"b",trillion:"t"},ordinal:function(u){var p=u%10;return~~(u%100/10)===1?"th":p===1?"st":p===2?"nd":p===3?"rd":"th"},currency:{symbol:"$"}}),function(){t.register("format","bps",{regexps:{format:/(BPS)/,unformat:/(BPS)/},format:function(u,p,h){var f=t._.includes(p," BPS")?" ":"",g;return u=u*1e4,p=p.replace(/\s?BPS/,""),g=t._.numberToFormat(u,p,h),t._.includes(g,")")?(g=g.split(""),g.splice(-1,0,f+"BPS"),g=g.join("")):g=g+f+"BPS",g},unformat:function(u){return+(t._.stringToNumber(u)*1e-4).toFixed(15)}})}(),function(){var u={base:1e3,suffixes:["B","KB","MB","GB","TB","PB","EB","ZB","YB"]},p={base:1024,suffixes:["B","KiB","MiB","GiB","TiB","PiB","EiB","ZiB","YiB"]},h=u.suffixes.concat(p.suffixes.filter(function(g){return u.suffixes.indexOf(g)<0})),f=h.join("|");f="("+f.replace("B","B(?!PS)")+")",t.register("format","bytes",{regexps:{format:/([0\s]i?b)/,unformat:new RegExp(f)},format:function(g,y,v){var w,x=t._.includes(y,"ib")?p:u,C=t._.includes(y," b")||t._.includes(y," ib")?" ":"",S,k,T;for(y=y.replace(/\s?i?b/,""),S=0;S<=x.suffixes.length;S++)if(k=Math.pow(x.base,S),T=Math.pow(x.base,S+1),g===null||g===0||g>=k&&g<T){C+=x.suffixes[S],k>0&&(g=g/k);break}return w=t._.numberToFormat(g,y,v),w+C},unformat:function(g){var y=t._.stringToNumber(g),v,w;if(y){for(v=u.suffixes.length-1;v>=0;v--){if(t._.includes(g,u.suffixes[v])){w=Math.pow(u.base,v);break}if(t._.includes(g,p.suffixes[v])){w=Math.pow(p.base,v);break}}y*=w||1}return y}})}(),function(){t.register("format","currency",{regexps:{format:/(\$)/},format:function(u,p,h){var f=t.locales[t.options.currentLocale],g={before:p.match(/^([\+|\-|\(|\s|\$]*)/)[0],after:p.match(/([\+|\-|\)|\s|\$]*)$/)[0]},y,v,w;for(p=p.replace(/\s?\$\s?/,""),y=t._.numberToFormat(u,p,h),u>=0?(g.before=g.before.replace(/[\-\(]/,""),g.after=g.after.replace(/[\-\)]/,"")):u<0&&!t._.includes(g.before,"-")&&!t._.includes(g.before,"(")&&(g.before="-"+g.before),w=0;w<g.before.length;w++)switch(v=g.before[w],v){case"$":y=t._.insert(y,f.currency.symbol,w);break;case" ":y=t._.insert(y," ",w+f.currency.symbol.length-1);break}for(w=g.after.length-1;w>=0;w--)switch(v=g.after[w],v){case"$":y=w===g.after.length-1?y+f.currency.symbol:t._.insert(y,f.currency.symbol,-(g.after.length-(1+w)));break;case" ":y=w===g.after.length-1?y+" ":t._.insert(y," ",-(g.after.length-(1+w)+f.currency.symbol.length-1));break}return y}})}(),function(){t.register("format","exponential",{regexps:{format:/(e\+|e-)/,unformat:/(e\+|e-)/},format:function(u,p,h){var f,g=typeof u=="number"&&!t._.isNaN(u)?u.toExponential():"0e+0",y=g.split("e");return p=p.replace(/e[\+|\-]{1}0/,""),f=t._.numberToFormat(Number(y[0]),p,h),f+"e"+y[1]},unformat:function(u){var p=t._.includes(u,"e+")?u.split("e+"):u.split("e-"),h=Number(p[0]),f=Number(p[1]);f=t._.includes(u,"e-")?f*=-1:f;function g(y,v,w,x){var C=t._.correctionFactor(y,v),S=y*C*(v*C)/(C*C);return S}return t._.reduce([h,Math.pow(10,f)],g,1)}})}(),function(){t.register("format","ordinal",{regexps:{format:/(o)/},format:function(u,p,h){var f=t.locales[t.options.currentLocale],g,y=t._.includes(p," o")?" ":"";return p=p.replace(/\s?o/,""),y+=f.ordinal(u),g=t._.numberToFormat(u,p,h),g+y}})}(),function(){t.register("format","percentage",{regexps:{format:/(%)/,unformat:/(%)/},format:function(u,p,h){var f=t._.includes(p," %")?" ":"",g;return t.options.scalePercentBy100&&(u=u*100),p=p.replace(/\s?\%/,""),g=t._.numberToFormat(u,p,h),t._.includes(g,")")?(g=g.split(""),g.splice(-1,0,f+"%"),g=g.join("")):g=g+f+"%",g},unformat:function(u){var p=t._.stringToNumber(u);return t.options.scalePercentBy100?p*.01:p}})}(),function(){t.register("format","time",{regexps:{format:/(:)/,unformat:/(:)/},format:function(u,p,h){var f=Math.floor(u/60/60),g=Math.floor((u-f*60*60)/60),y=Math.round(u-f*60*60-g*60);return f+":"+(g<10?"0"+g:g)+":"+(y<10?"0"+y:y)},unformat:function(u){var p=u.split(":"),h=0;return p.length===3?(h=h+Number(p[0])*60*60,h=h+Number(p[1])*60,h=h+Number(p[2])):p.length===2&&(h=h+Number(p[0])*60,h=h+Number(p[1])),Number(h)}})}(),t})}(RM)),RM.exports}var Owe=Fwe();const Yh=$r(Owe);function r2(e,...t){const r=new URL(`https://mui.com/production-error/?code=${e}`);return t.forEach(n=>r.searchParams.append("args[]",n)),`Minified MUI error #${e}; visit ${r} for the full message.`}const Xu="$$material";function Nwe(e){for(var t=0,r,n=0,i=e.length;i>=4;++n,i-=4)r=e.charCodeAt(n)&255|(e.charCodeAt(++n)&255)<<8|(e.charCodeAt(++n)&255)<<16|(e.charCodeAt(++n)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(i){case 3:t^=(e.charCodeAt(n+2)&255)<<16;case 2:t^=(e.charCodeAt(n+1)&255)<<8;case 1:t^=e.charCodeAt(n)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var zwe={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Bwe(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Hwe=/[A-Z]|^ms/g,Vwe=/_EMO_([^_]+?)_([^]*?)_EMO_/g,pde=function(e){return e.charCodeAt(1)===45},dB=function(e){return e!=null&&typeof e!="boolean"},aS=Bwe(function(e){return pde(e)?e:e.replace(Hwe,"-$&").toLowerCase()}),uB=function(e,t){switch(e){case"animation":case"animationName":if(typeof t=="string")return t.replace(Vwe,function(r,n,i){return op={name:n,styles:i,next:op},n})}return zwe[e]!==1&&!pde(e)&&typeof t=="number"&&t!==0?t+"px":t};function pv(e,t,r){if(r==null)return"";var n=r;if(n.__emotion_styles!==void 0)return n;switch(typeof r){case"boolean":return"";case"object":{var i=r;if(i.anim===1)return op={name:i.name,styles:i.styles,next:op},i.name;var o=r;if(o.styles!==void 0){var a=o.next;if(a!==void 0)for(;a!==void 0;)op={name:a.name,styles:a.styles,next:op},a=a.next;var l=o.styles+";";return l}return Uwe(e,t,r)}}var d=r;return d}function Uwe(e,t,r){var n="";if(Array.isArray(r))for(var i=0;i<r.length;i++)n+=pv(e,t,r[i])+";";else for(var o in r){var a=r[o];if(typeof a!="object"){var l=a;dB(l)&&(n+=aS(o)+":"+uB(o,l)+";")}else if(Array.isArray(a)&&typeof a[0]=="string"&&t==null)for(var d=0;d<a.length;d++)dB(a[d])&&(n+=aS(o)+":"+uB(o,a[d])+";");else{var u=pv(e,t,a);switch(o){case"animation":case"animationName":{n+=aS(o)+":"+u+";";break}default:n+=o+"{"+u+"}"}}}return n}var pB=/label:\s*([^\s;{]+)\s*(;|$)/g,op;function Wwe(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var n=!0,i="";op=void 0;var o=e[0];if(o==null||o.raw===void 0)n=!1,i+=pv(r,t,o);else{var a=o;i+=a[0]}for(var l=1;l<e.length;l++)if(i+=pv(r,t,e[l]),n){var d=o;i+=d[l]}pB.lastIndex=0;for(var u="",p;(p=pB.exec(i))!==null;)u+="-"+p[1];var h=Nwe(i)+u;return{name:h,styles:i,next:op}}var sS={exports:{}},lS,hB;function Gwe(){if(hB)return lS;hB=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return lS=e,lS}var cS,mB;function Ywe(){if(mB)return cS;mB=1;var e=Gwe();function t(){}function r(){}return r.resetWarningCache=t,cS=function(){function n(a,l,d,u,p,h){if(h!==e){var f=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw f.name="Invariant Violation",f}}n.isRequired=n;function i(){return n}var o={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:i,element:n,elementType:n,instanceOf:i,node:n,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:r,resetWarningCache:t};return o.PropTypes=o,o},cS}var fB;function zR(){return fB||(fB=1,sS.exports=Ywe()()),sS.exports}var qwe=zR();const Lt=$r(qwe);function Zwe(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}function Kwe(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var hde=function(){function e(r){var n=this;this._insertTag=function(i){var o;n.tags.length===0?n.insertionPoint?o=n.insertionPoint.nextSibling:n.prepend?o=n.container.firstChild:o=n.before:o=n.tags[n.tags.length-1].nextSibling,n.container.insertBefore(i,o),n.tags.push(i)},this.isSpeedy=r.speedy===void 0?!0:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(r){r.forEach(this._insertTag)},t.insert=function(r){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(Kwe(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=Zwe(n);try{i.insertRule(r,i.cssRules.length)}catch{}}else n.appendChild(document.createTextNode(r));this.ctr++},t.flush=function(){this.tags.forEach(function(r){var n;return(n=r.parentNode)==null?void 0:n.removeChild(r)}),this.tags=[],this.ctr=0},e}(),wa="-ms-",hv="-moz-",An="-webkit-",mde="comm",BR="rule",HR="decl",Qwe="@import",fde="@keyframes",Xwe="@layer",Jwe=Math.abs,Cw=String.fromCharCode,exe=Object.assign;function txe(e,t){return ca(e,0)^45?(((t<<2^ca(e,0))<<2^ca(e,1))<<2^ca(e,2))<<2^ca(e,3):0}function gde(e){return e.trim()}function rxe(e,t){return(e=t.exec(e))?e[0]:e}function Ln(e,t,r){return e.replace(t,r)}function FM(e,t){return e.indexOf(t)}function ca(e,t){return e.charCodeAt(t)|0}function f7(e,t,r){return e.slice(t,r)}function s1(e){return e.length}function VR(e){return e.length}function e6(e,t){return t.push(e),e}function nxe(e,t){return e.map(t).join("")}var $w=1,Nf=1,yde=0,ks=0,fo=0,gg="";function Sw(e,t,r,n,i,o,a){return{value:e,root:t,parent:r,type:n,props:i,children:o,line:$w,column:Nf,length:a,return:""}}function o4(e,t){return exe(Sw("",null,null,"",null,null,0),e,{length:-e.length},t)}function ixe(){return fo}function oxe(){return fo=ks>0?ca(gg,--ks):0,Nf--,fo===10&&(Nf=1,$w--),fo}function Ys(){return fo=ks<yde?ca(gg,ks++):0,Nf++,fo===10&&(Nf=1,$w++),fo}function k1(){return ca(gg,ks)}function yy(){return ks}function J7(e,t){return f7(gg,e,t)}function g7(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function vde(e){return $w=Nf=1,yde=s1(gg=e),ks=0,[]}function bde(e){return gg="",e}function vy(e){return gde(J7(ks-1,OM(e===91?e+2:e===40?e+1:e)))}function axe(e){for(;(fo=k1())&&fo<33;)Ys();return g7(e)>2||g7(fo)>3?"":" "}function sxe(e,t){for(;--t&&Ys()&&!(fo<48||fo>102||fo>57&&fo<65||fo>70&&fo<97););return J7(e,yy()+(t<6&&k1()==32&&Ys()==32))}function OM(e){for(;Ys();)switch(fo){case e:return ks;case 34:case 39:e!==34&&e!==39&&OM(fo);break;case 40:e===41&&OM(e);break;case 92:Ys();break}return ks}function lxe(e,t){for(;Ys()&&e+fo!==57&&!(e+fo===84&&k1()===47););return"/*"+J7(t,ks-1)+"*"+Cw(e===47?e:Ys())}function cxe(e){for(;!g7(k1());)Ys();return J7(e,ks)}function dxe(e){return bde(by("",null,null,null,[""],e=vde(e),0,[0],e))}function by(e,t,r,n,i,o,a,l,d){for(var u=0,p=0,h=a,f=0,g=0,y=0,v=1,w=1,x=1,C=0,S="",k=i,T=o,E=n,D=S;w;)switch(y=C,C=Ys()){case 40:if(y!=108&&ca(D,h-1)==58){FM(D+=Ln(vy(C),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:D+=vy(C);break;case 9:case 10:case 13:case 32:D+=axe(y);break;case 92:D+=sxe(yy()-1,7);continue;case 47:switch(k1()){case 42:case 47:e6(uxe(lxe(Ys(),yy()),t,r),d);break;default:D+="/"}break;case 123*v:l[u++]=s1(D)*x;case 125*v:case 59:case 0:switch(C){case 0:case 125:w=0;case 59+p:x==-1&&(D=Ln(D,/\f/g,"")),g>0&&s1(D)-h&&e6(g>32?yB(D+";",n,r,h-1):yB(Ln(D," ","")+";",n,r,h-2),d);break;case 59:D+=";";default:if(e6(E=gB(D,t,r,u,p,i,l,S,k=[],T=[],h),o),C===123)if(p===0)by(D,t,E,E,k,o,h,l,T);else switch(f===99&&ca(D,3)===110?100:f){case 100:case 108:case 109:case 115:by(e,E,E,n&&e6(gB(e,E,E,0,0,i,l,S,i,k=[],h),T),i,T,h,l,n?k:T);break;default:by(D,E,E,E,[""],T,0,l,T)}}u=p=g=0,v=x=1,S=D="",h=a;break;case 58:h=1+s1(D),g=y;default:if(v<1){if(C==123)--v;else if(C==125&&v++==0&&oxe()==125)continue}switch(D+=Cw(C),C*v){case 38:x=p>0?1:(D+="\f",-1);break;case 44:l[u++]=(s1(D)-1)*x,x=1;break;case 64:k1()===45&&(D+=vy(Ys())),f=k1(),p=h=s1(S=D+=cxe(yy())),C++;break;case 45:y===45&&s1(D)==2&&(v=0)}}return o}function gB(e,t,r,n,i,o,a,l,d,u,p){for(var h=i-1,f=i===0?o:[""],g=VR(f),y=0,v=0,w=0;y<n;++y)for(var x=0,C=f7(e,h+1,h=Jwe(v=a[y])),S=e;x<g;++x)(S=gde(v>0?f[x]+" "+C:Ln(C,/&\f/g,f[x])))&&(d[w++]=S);return Sw(e,t,r,i===0?BR:l,d,u,p)}function uxe(e,t,r){return Sw(e,t,r,mde,Cw(ixe()),f7(e,2,-2),0)}function yB(e,t,r,n){return Sw(e,t,r,HR,f7(e,0,n),f7(e,n+1,-1),n)}function vf(e,t){for(var r="",n=VR(e),i=0;i<n;i++)r+=t(e[i],i,e,t)||"";return r}function pxe(e,t,r,n){switch(e.type){case Xwe:if(e.children.length)break;case Qwe:case HR:return e.return=e.return||e.value;case mde:return"";case fde:return e.return=e.value+"{"+vf(e.children,n)+"}";case BR:e.value=e.props.join(",")}return s1(r=vf(e.children,n))?e.return=e.value+"{"+r+"}":""}function hxe(e){var t=VR(e);return function(r,n,i,o){for(var a="",l=0;l<t;l++)a+=e[l](r,n,i,o)||"";return a}}function mxe(e){return function(t){t.root||(t=t.return)&&e(t)}}var fxe=function(e,t,r){for(var n=0,i=0;n=i,i=k1(),n===38&&i===12&&(t[r]=1),!g7(i);)Ys();return J7(e,ks)},gxe=function(e,t){var r=-1,n=44;do switch(g7(n)){case 0:n===38&&k1()===12&&(t[r]=1),e[r]+=fxe(ks-1,t,r);break;case 2:e[r]+=vy(n);break;case 4:if(n===44){e[++r]=k1()===58?"&\f":"",t[r]=e[r].length;break}default:e[r]+=Cw(n)}while(n=Ys());return e},yxe=function(e,t){return bde(gxe(vde(e),t))},vB=new WeakMap,vxe=function(e){if(!(e.type!=="rule"||!e.parent||e.length<1)){for(var t=e.value,r=e.parent,n=e.column===r.column&&e.line===r.line;r.type!=="rule";)if(r=r.parent,!r)return;if(!(e.props.length===1&&t.charCodeAt(0)!==58&&!vB.get(r))&&!n){vB.set(e,!0);for(var i=[],o=yxe(t,i),a=r.props,l=0,d=0;l<o.length;l++)for(var u=0;u<a.length;u++,d++)e.props[d]=i[l]?o[l].replace(/&\f/g,a[u]):a[u]+" "+o[l]}}},bxe=function(e){if(e.type==="decl"){var t=e.value;t.charCodeAt(0)===108&&t.charCodeAt(2)===98&&(e.return="",e.value="")}};function wde(e,t){switch(txe(e,t)){case 5103:return An+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return An+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return An+e+hv+e+wa+e+e;case 6828:case 4268:return An+e+wa+e+e;case 6165:return An+e+wa+"flex-"+e+e;case 5187:return An+e+Ln(e,/(\w+).+(:[^]+)/,An+"box-$1$2"+wa+"flex-$1$2")+e;case 5443:return An+e+wa+"flex-item-"+Ln(e,/flex-|-self/,"")+e;case 4675:return An+e+wa+"flex-line-pack"+Ln(e,/align-content|flex-|-self/,"")+e;case 5548:return An+e+wa+Ln(e,"shrink","negative")+e;case 5292:return An+e+wa+Ln(e,"basis","preferred-size")+e;case 6060:return An+"box-"+Ln(e,"-grow","")+An+e+wa+Ln(e,"grow","positive")+e;case 4554:return An+Ln(e,/([^-])(transform)/g,"$1"+An+"$2")+e;case 6187:return Ln(Ln(Ln(e,/(zoom-|grab)/,An+"$1"),/(image-set)/,An+"$1"),e,"")+e;case 5495:case 3959:return Ln(e,/(image-set\([^]*)/,An+"$1$`$1");case 4968:return Ln(Ln(e,/(.+:)(flex-)?(.*)/,An+"box-pack:$3"+wa+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+An+e+e;case 4095:case 3583:case 4068:case 2532:return Ln(e,/(.+)-inline(.+)/,An+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(s1(e)-1-t>6)switch(ca(e,t+1)){case 109:if(ca(e,t+4)!==45)break;case 102:return Ln(e,/(.+:)(.+)-([^]+)/,"$1"+An+"$2-$3$1"+hv+(ca(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~FM(e,"stretch")?wde(Ln(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ca(e,t+1)!==115)break;case 6444:switch(ca(e,s1(e)-3-(~FM(e,"!important")&&10))){case 107:return Ln(e,":",":"+An)+e;case 101:return Ln(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+An+(ca(e,14)===45?"inline-":"")+"box$3$1"+An+"$2$3$1"+wa+"$2box$3")+e}break;case 5936:switch(ca(e,t+11)){case 114:return An+e+wa+Ln(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return An+e+wa+Ln(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return An+e+wa+Ln(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return An+e+wa+e+e}return e}var wxe=function(e,t,r,n){if(e.length>-1&&!e.return)switch(e.type){case HR:e.return=wde(e.value,e.length);break;case fde:return vf([o4(e,{value:Ln(e.value,"@","@"+An)})],n);case BR:if(e.length)return nxe(e.props,function(i){switch(rxe(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return vf([o4(e,{props:[Ln(i,/:(read-\w+)/,":"+hv+"$1")]})],n);case"::placeholder":return vf([o4(e,{props:[Ln(i,/:(plac\w+)/,":"+An+"input-$1")]}),o4(e,{props:[Ln(i,/:(plac\w+)/,":"+hv+"$1")]}),o4(e,{props:[Ln(i,/:(plac\w+)/,wa+"input-$1")]})],n)}return""})}},xxe=[wxe],xde=function(e){var t=e.key;if(t==="css"){var r=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(r,function(y){var v=y.getAttribute("data-emotion");v.indexOf(" ")!==-1&&(document.head.appendChild(y),y.setAttribute("data-s",""))})}var n=e.stylisPlugins||xxe,i={},o,a=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(y){for(var v=y.getAttribute("data-emotion").split(" "),w=1;w<v.length;w++)i[v[w]]=!0;a.push(y)});var l,d=[vxe,bxe];{var u,p=[pxe,mxe(function(y){u.insert(y)})],h=hxe(d.concat(n,p)),f=function(y){return vf(dxe(y),h)};l=function(y,v,w,x){u=w,f(y?y+"{"+v.styles+"}":v.styles),x&&(g.inserted[v.name]=!0)}}var g={key:t,sheet:new hde({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:l};return g.sheet.hydrate(a),g};const dS=new Map,Cxe=(e,t)=>{const r=xde(e);return r.sheet=new t({key:r.key,nonce:r.sheet.nonce,container:r.sheet.container,speedy:r.sheet.isSpeedy,prepend:r.sheet.prepend,insertionPoint:r.sheet.insertionPoint}),r};let W2;if(typeof document=="object"&&(W2=document.querySelector('[name="emotion-insertion-point"]'),!W2)){W2=document.createElement("meta"),W2.setAttribute("name","emotion-insertion-point"),W2.setAttribute("content","");const e=document.querySelector("head");e&&e.prepend(W2)}function $xe(e,t){if(e||t){class r extends hde{insert(o,a){return this.key&&this.key.endsWith("global")&&(this.before=W2),super.insert(o,a)}}const n=Cxe({key:"css",insertionPoint:e?W2:void 0},r);if(t){const i=n.insert;n.insert=(...o)=>(o[1].styles.match(/^@layer\s+[^{]*$/)||(o[1].styles=`@layer mui {${o[1].styles}}`),i(...o))}return n}}function Sxe(e){const{injectFirst:t,enableCssLayer:r,children:n}=e,i=b.useMemo(()=>{const o=`${t}-${r}`;if(typeof document=="object"&&dS.has(o))return dS.get(o);const a=$xe(t,r);return dS.set(o,a),a},[t,r]);return i?s.jsx(sde,{value:i,children:n}):n}function kxe(e){return e==null||Object.keys(e).length===0}function Cde(e){const{styles:t,defaultTheme:r={}}=e,n=typeof t=="function"?i=>t(kxe(i)?r:i):t;return s.jsx(NR,{styles:n})}function Exe(e,t){return m(e,t)}function _xe(e,t){Array.isArray(e.__emotion_styles)&&(e.__emotion_styles=t(e.__emotion_styles))}const bB=[];function fp(e){return bB[0]=e,Wwe(bB)}var wB={exports:{}},Zn={},xB;function Txe(){if(xB)return Zn;xB=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),a=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),d=Symbol.for("react.suspense"),u=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),g=Symbol.for("react.client.reference");function y(v){if(typeof v=="object"&&v!==null){var w=v.$$typeof;switch(w){case e:switch(v=v.type,v){case r:case i:case n:case d:case u:case f:return v;default:switch(v=v&&v.$$typeof,v){case a:case l:case h:case p:return v;case o:return v;default:return w}}case t:return w}}}return Zn.ContextConsumer=o,Zn.ContextProvider=a,Zn.Element=e,Zn.ForwardRef=l,Zn.Fragment=r,Zn.Lazy=h,Zn.Memo=p,Zn.Portal=t,Zn.Profiler=i,Zn.StrictMode=n,Zn.Suspense=d,Zn.SuspenseList=u,Zn.isContextConsumer=function(v){return y(v)===o},Zn.isContextProvider=function(v){return y(v)===a},Zn.isElement=function(v){return typeof v=="object"&&v!==null&&v.$$typeof===e},Zn.isForwardRef=function(v){return y(v)===l},Zn.isFragment=function(v){return y(v)===r},Zn.isLazy=function(v){return y(v)===h},Zn.isMemo=function(v){return y(v)===p},Zn.isPortal=function(v){return y(v)===t},Zn.isProfiler=function(v){return y(v)===i},Zn.isStrictMode=function(v){return y(v)===n},Zn.isSuspense=function(v){return y(v)===d},Zn.isSuspenseList=function(v){return y(v)===u},Zn.isValidElementType=function(v){return typeof v=="string"||typeof v=="function"||v===r||v===i||v===n||v===d||v===u||typeof v=="object"&&v!==null&&(v.$$typeof===h||v.$$typeof===p||v.$$typeof===a||v.$$typeof===o||v.$$typeof===l||v.$$typeof===g||v.getModuleId!==void 0)},Zn.typeOf=y,Zn}var CB;function Axe(){return CB||(CB=1,wB.exports=Txe()),wB.exports}var $de=Axe();function Iu(e){if(typeof e!="object"||e===null)return!1;const t=Object.getPrototypeOf(e);return(t===null||t===Object.prototype||Object.getPrototypeOf(t)===null)&&!(Symbol.toStringTag in e)&&!(Symbol.iterator in e)}function Sde(e){if(b.isValidElement(e)||$de.isValidElementType(e)||!Iu(e))return e;const t={};return Object.keys(e).forEach(r=>{t[r]=Sde(e[r])}),t}function _a(e,t,r={clone:!0}){const n=r.clone?{...e}:e;return Iu(e)&&Iu(t)&&Object.keys(t).forEach(i=>{b.isValidElement(t[i])||$de.isValidElementType(t[i])?n[i]=t[i]:Iu(t[i])&&Object.prototype.hasOwnProperty.call(e,i)&&Iu(e[i])?n[i]=_a(e[i],t[i],r):r.clone?n[i]=Iu(t[i])?Sde(t[i]):t[i]:n[i]=t[i]}),n}const Lxe=e=>{const t=Object.keys(e).map(r=>({key:r,val:e[r]}))||[];return t.sort((r,n)=>r.val-n.val),t.reduce((r,n)=>({...r,[n.key]:n.val}),{})};function Dxe(e){const{values:t={xs:0,sm:600,md:900,lg:1200,xl:1536},unit:r="px",step:n=5,...i}=e,o=Lxe(t),a=Object.keys(o);function l(f){return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${r})`}function d(f){return`@media (max-width:${(typeof t[f]=="number"?t[f]:f)-n/100}${r})`}function u(f,g){const y=a.indexOf(g);return`@media (min-width:${typeof t[f]=="number"?t[f]:f}${r}) and (max-width:${(y!==-1&&typeof t[a[y]]=="number"?t[a[y]]:g)-n/100}${r})`}function p(f){return a.indexOf(f)+1<a.length?u(f,a[a.indexOf(f)+1]):l(f)}function h(f){const g=a.indexOf(f);return g===0?l(a[1]):g===a.length-1?d(a[g]):u(f,a[a.indexOf(f)+1]).replace("@media","@media not all and")}return{keys:a,values:o,up:l,down:d,between:u,only:p,not:h,unit:r,...i}}function $B(e,t){if(!e.containerQueries)return t;const r=Object.keys(t).filter(n=>n.startsWith("@container")).sort((n,i)=>{const o=/min-width:\s*([0-9.]+)/;return+(n.match(o)?.[1]||0)-+(i.match(o)?.[1]||0)});return r.length?r.reduce((n,i)=>{const o=t[i];return delete n[i],n[i]=o,n},{...t}):t}function Pxe(e,t){return t==="@"||t.startsWith("@")&&(e.some(r=>t.startsWith(`@${r}`))||!!t.match(/^@\d/))}function Mxe(e,t){const r=t.match(/^@([^/]+)?\/?(.+)?$/);if(!r)return null;const[,n,i]=r,o=Number.isNaN(+n)?n||0:+n;return e.containerQueries(i).up(o)}function Ixe(e){const t=(o,a)=>o.replace("@media",a?`@container ${a}`:"@container");function r(o,a){o.up=(...l)=>t(e.breakpoints.up(...l),a),o.down=(...l)=>t(e.breakpoints.down(...l),a),o.between=(...l)=>t(e.breakpoints.between(...l),a),o.only=(...l)=>t(e.breakpoints.only(...l),a),o.not=(...l)=>{const d=t(e.breakpoints.not(...l),a);return d.includes("not all and")?d.replace("not all and ","").replace("min-width:","width<").replace("max-width:","width>").replace("and","or"):d}}const n={},i=o=>(r(n,o),n);return r(i),{...e,containerQueries:i}}const jxe={borderRadius:4};function W5(e,t){return t?_a(e,t,{clone:!1}):e}const kw={xs:0,sm:600,md:900,lg:1200,xl:1536},SB={keys:["xs","sm","md","lg","xl"],up:e=>`@media (min-width:${kw[e]}px)`},Rxe={containerQueries:e=>({up:t=>{let r=typeof t=="number"?t:kw[t]||t;return typeof r=="number"&&(r=`${r}px`),e?`@container ${e} (min-width:${r})`:`@container (min-width:${r})`}})};function n2(e,t,r){const n=e.theme||{};if(Array.isArray(t)){const i=n.breakpoints||SB;return t.reduce((o,a,l)=>(o[i.up(i.keys[l])]=r(t[l]),o),{})}if(typeof t=="object"){const i=n.breakpoints||SB;return Object.keys(t).reduce((o,a)=>{if(Pxe(i.keys,a)){const l=Mxe(n.containerQueries?n:Rxe,a);l&&(o[l]=r(t[a],a))}else if(Object.keys(i.values||kw).includes(a)){const l=i.up(a);o[l]=r(t[a],a)}else{const l=a;o[l]=t[l]}return o},{})}return r(t)}function Fxe(e={}){return e.keys?.reduce((t,r)=>{const n=e.up(r);return t[n]={},t},{})||{}}function kB(e,t){return e.reduce((r,n)=>{const i=r[n];return(!i||Object.keys(i).length===0)&&delete r[n],r},t)}function Rr(e){if(typeof e!="string")throw new Error(r2(7));return e.charAt(0).toUpperCase()+e.slice(1)}function Ew(e,t,r=!0){if(!t||typeof t!="string")return null;if(e&&e.vars&&r){const n=`vars.${t}`.split(".").reduce((i,o)=>i&&i[o]?i[o]:null,e);if(n!=null)return n}return t.split(".").reduce((n,i)=>n&&n[i]!=null?n[i]:null,e)}function mv(e,t,r,n=r){let i;return typeof e=="function"?i=e(r):Array.isArray(e)?i=e[r]||n:i=Ew(e,r)||n,t&&(i=t(i,n,e)),i}function ro(e){const{prop:t,cssProperty:r=e.prop,themeKey:n,transform:i}=e,o=a=>{if(a[t]==null)return null;const l=a[t],d=a.theme,u=Ew(d,n)||{};return n2(a,l,p=>{let h=mv(u,i,p);return p===h&&typeof p=="string"&&(h=mv(u,i,`${t}${p==="default"?"":Rr(p)}`,p)),r===!1?h:{[r]:h}})};return o.propTypes={},o.filterProps=[t],o}function Oxe(e){const t={};return r=>(t[r]===void 0&&(t[r]=e(r)),t[r])}const Nxe={m:"margin",p:"padding"},zxe={t:"Top",r:"Right",b:"Bottom",l:"Left",x:["Left","Right"],y:["Top","Bottom"]},EB={marginX:"mx",marginY:"my",paddingX:"px",paddingY:"py"},Bxe=Oxe(e=>{if(e.length>2)if(EB[e])e=EB[e];else return[e];const[t,r]=e.split(""),n=Nxe[t],i=zxe[r]||"";return Array.isArray(i)?i.map(o=>n+o):[n+i]}),UR=["m","mt","mr","mb","ml","mx","my","margin","marginTop","marginRight","marginBottom","marginLeft","marginX","marginY","marginInline","marginInlineStart","marginInlineEnd","marginBlock","marginBlockStart","marginBlockEnd"],WR=["p","pt","pr","pb","pl","px","py","padding","paddingTop","paddingRight","paddingBottom","paddingLeft","paddingX","paddingY","paddingInline","paddingInlineStart","paddingInlineEnd","paddingBlock","paddingBlockStart","paddingBlockEnd"];[...UR,...WR];function e9(e,t,r,n){const i=Ew(e,t,!0)??r;return typeof i=="number"||typeof i=="string"?o=>typeof o=="string"?o:typeof i=="string"?i.startsWith("var(")&&o===0?0:i.startsWith("var(")&&o===1?i:`calc(${o} * ${i})`:i*o:Array.isArray(i)?o=>{if(typeof o=="string")return o;const a=Math.abs(o),l=i[a];return o>=0?l:typeof l=="number"?-l:typeof l=="string"&&l.startsWith("var(")?`calc(-1 * ${l})`:`-${l}`}:typeof i=="function"?i:()=>{}}function GR(e){return e9(e,"spacing",8)}function t9(e,t){return typeof t=="string"||t==null?t:e(t)}function Hxe(e,t){return r=>e.reduce((n,i)=>(n[i]=t9(t,r),n),{})}function Vxe(e,t,r,n){if(!t.includes(r))return null;const i=Bxe(r),o=Hxe(i,n),a=e[r];return n2(e,a,o)}function kde(e,t){const r=GR(e.theme);return Object.keys(e).map(n=>Vxe(e,t,n,r)).reduce(W5,{})}function Oi(e){return kde(e,UR)}Oi.propTypes={};Oi.filterProps=UR;function Ni(e){return kde(e,WR)}Ni.propTypes={};Ni.filterProps=WR;function Ede(e=8,t=GR({spacing:e})){if(e.mui)return e;const r=(...n)=>(n.length===0?[1]:n).map(i=>{const o=t(i);return typeof o=="number"?`${o}px`:o}).join(" ");return r.mui=!0,r}function _w(...e){const t=e.reduce((n,i)=>(i.filterProps.forEach(o=>{n[o]=i}),n),{}),r=n=>Object.keys(n).reduce((i,o)=>t[o]?W5(i,t[o](n)):i,{});return r.propTypes={},r.filterProps=e.reduce((n,i)=>n.concat(i.filterProps),[]),r}function _l(e){return typeof e!="number"?e:`${e}px solid`}function Yl(e,t){return ro({prop:e,themeKey:"borders",transform:t})}const Uxe=Yl("border",_l),Wxe=Yl("borderTop",_l),Gxe=Yl("borderRight",_l),Yxe=Yl("borderBottom",_l),qxe=Yl("borderLeft",_l),Zxe=Yl("borderColor"),Kxe=Yl("borderTopColor"),Qxe=Yl("borderRightColor"),Xxe=Yl("borderBottomColor"),Jxe=Yl("borderLeftColor"),eCe=Yl("outline",_l),tCe=Yl("outlineColor"),Tw=e=>{if(e.borderRadius!==void 0&&e.borderRadius!==null){const t=e9(e.theme,"shape.borderRadius",4),r=n=>({borderRadius:t9(t,n)});return n2(e,e.borderRadius,r)}return null};Tw.propTypes={};Tw.filterProps=["borderRadius"];_w(Uxe,Wxe,Gxe,Yxe,qxe,Zxe,Kxe,Qxe,Xxe,Jxe,Tw,eCe,tCe);const Aw=e=>{if(e.gap!==void 0&&e.gap!==null){const t=e9(e.theme,"spacing",8),r=n=>({gap:t9(t,n)});return n2(e,e.gap,r)}return null};Aw.propTypes={};Aw.filterProps=["gap"];const Lw=e=>{if(e.columnGap!==void 0&&e.columnGap!==null){const t=e9(e.theme,"spacing",8),r=n=>({columnGap:t9(t,n)});return n2(e,e.columnGap,r)}return null};Lw.propTypes={};Lw.filterProps=["columnGap"];const Dw=e=>{if(e.rowGap!==void 0&&e.rowGap!==null){const t=e9(e.theme,"spacing",8),r=n=>({rowGap:t9(t,n)});return n2(e,e.rowGap,r)}return null};Dw.propTypes={};Dw.filterProps=["rowGap"];const rCe=ro({prop:"gridColumn"}),nCe=ro({prop:"gridRow"}),iCe=ro({prop:"gridAutoFlow"}),oCe=ro({prop:"gridAutoColumns"}),aCe=ro({prop:"gridAutoRows"}),sCe=ro({prop:"gridTemplateColumns"}),lCe=ro({prop:"gridTemplateRows"}),cCe=ro({prop:"gridTemplateAreas"}),dCe=ro({prop:"gridArea"});_w(Aw,Lw,Dw,rCe,nCe,iCe,oCe,aCe,sCe,lCe,cCe,dCe);function bf(e,t){return t==="grey"?t:e}const uCe=ro({prop:"color",themeKey:"palette",transform:bf}),pCe=ro({prop:"bgcolor",cssProperty:"backgroundColor",themeKey:"palette",transform:bf}),hCe=ro({prop:"backgroundColor",themeKey:"palette",transform:bf});_w(uCe,pCe,hCe);function Vs(e){return e<=1&&e!==0?`${e*100}%`:e}const mCe=ro({prop:"width",transform:Vs}),YR=e=>{if(e.maxWidth!==void 0&&e.maxWidth!==null){const t=r=>{const n=e.theme?.breakpoints?.values?.[r]||kw[r];return n?e.theme?.breakpoints?.unit!=="px"?{maxWidth:`${n}${e.theme.breakpoints.unit}`}:{maxWidth:n}:{maxWidth:Vs(r)}};return n2(e,e.maxWidth,t)}return null};YR.filterProps=["maxWidth"];const fCe=ro({prop:"minWidth",transform:Vs}),gCe=ro({prop:"height",transform:Vs}),yCe=ro({prop:"maxHeight",transform:Vs}),vCe=ro({prop:"minHeight",transform:Vs});ro({prop:"size",cssProperty:"width",transform:Vs});ro({prop:"size",cssProperty:"height",transform:Vs});const bCe=ro({prop:"boxSizing"});_w(mCe,YR,fCe,gCe,yCe,vCe,bCe);const Pw={border:{themeKey:"borders",transform:_l},borderTop:{themeKey:"borders",transform:_l},borderRight:{themeKey:"borders",transform:_l},borderBottom:{themeKey:"borders",transform:_l},borderLeft:{themeKey:"borders",transform:_l},borderColor:{themeKey:"palette"},borderTopColor:{themeKey:"palette"},borderRightColor:{themeKey:"palette"},borderBottomColor:{themeKey:"palette"},borderLeftColor:{themeKey:"palette"},outline:{themeKey:"borders",transform:_l},outlineColor:{themeKey:"palette"},borderRadius:{themeKey:"shape.borderRadius",style:Tw},color:{themeKey:"palette",transform:bf},bgcolor:{themeKey:"palette",cssProperty:"backgroundColor",transform:bf},backgroundColor:{themeKey:"palette",transform:bf},p:{style:Ni},pt:{style:Ni},pr:{style:Ni},pb:{style:Ni},pl:{style:Ni},px:{style:Ni},py:{style:Ni},padding:{style:Ni},paddingTop:{style:Ni},paddingRight:{style:Ni},paddingBottom:{style:Ni},paddingLeft:{style:Ni},paddingX:{style:Ni},paddingY:{style:Ni},paddingInline:{style:Ni},paddingInlineStart:{style:Ni},paddingInlineEnd:{style:Ni},paddingBlock:{style:Ni},paddingBlockStart:{style:Ni},paddingBlockEnd:{style:Ni},m:{style:Oi},mt:{style:Oi},mr:{style:Oi},mb:{style:Oi},ml:{style:Oi},mx:{style:Oi},my:{style:Oi},margin:{style:Oi},marginTop:{style:Oi},marginRight:{style:Oi},marginBottom:{style:Oi},marginLeft:{style:Oi},marginX:{style:Oi},marginY:{style:Oi},marginInline:{style:Oi},marginInlineStart:{style:Oi},marginInlineEnd:{style:Oi},marginBlock:{style:Oi},marginBlockStart:{style:Oi},marginBlockEnd:{style:Oi},displayPrint:{cssProperty:!1,transform:e=>({"@media print":{display:e}})},display:{},overflow:{},textOverflow:{},visibility:{},whiteSpace:{},flexBasis:{},flexDirection:{},flexWrap:{},justifyContent:{},alignItems:{},alignContent:{},order:{},flex:{},flexGrow:{},flexShrink:{},alignSelf:{},justifyItems:{},justifySelf:{},gap:{style:Aw},rowGap:{style:Dw},columnGap:{style:Lw},gridColumn:{},gridRow:{},gridAutoFlow:{},gridAutoColumns:{},gridAutoRows:{},gridTemplateColumns:{},gridTemplateRows:{},gridTemplateAreas:{},gridArea:{},position:{},zIndex:{themeKey:"zIndex"},top:{},right:{},bottom:{},left:{},boxShadow:{themeKey:"shadows"},width:{transform:Vs},maxWidth:{style:YR},minWidth:{transform:Vs},height:{transform:Vs},maxHeight:{transform:Vs},minHeight:{transform:Vs},boxSizing:{},font:{themeKey:"font"},fontFamily:{themeKey:"typography"},fontSize:{themeKey:"typography"},fontStyle:{themeKey:"typography"},fontWeight:{themeKey:"typography"},letterSpacing:{},textTransform:{},lineHeight:{},textAlign:{},typography:{cssProperty:!1,themeKey:"typography"}};function wCe(...e){const t=e.reduce((n,i)=>n.concat(Object.keys(i)),[]),r=new Set(t);return e.every(n=>r.size===Object.keys(n).length)}function xCe(e,t){return typeof e=="function"?e(t):e}function CCe(){function e(r,n,i,o){const a={[r]:n,theme:i},l=o[r];if(!l)return{[r]:n};const{cssProperty:d=r,themeKey:u,transform:p,style:h}=l;if(n==null)return null;if(u==="typography"&&n==="inherit")return{[r]:n};const f=Ew(i,u)||{};return h?h(a):n2(a,n,g=>{let y=mv(f,p,g);return g===y&&typeof g=="string"&&(y=mv(f,p,`${r}${g==="default"?"":Rr(g)}`,g)),d===!1?y:{[d]:y}})}function t(r){const{sx:n,theme:i={},nested:o}=r||{};if(!n)return null;const a=i.unstable_sxConfig??Pw;function l(d){let u=d;if(typeof d=="function")u=d(i);else if(typeof d!="object")return d;if(!u)return null;const p=Fxe(i.breakpoints),h=Object.keys(p);let f=p;return Object.keys(u).forEach(g=>{const y=xCe(u[g],i);if(y!=null)if(typeof y=="object")if(a[g])f=W5(f,e(g,y,i,a));else{const v=n2({theme:i},y,w=>({[g]:w}));wCe(v,y)?f[g]=t({sx:y,theme:i,nested:!0}):f=W5(f,v)}else f=W5(f,e(g,y,i,a))}),!o&&i.modularCssLayers?{"@layer sx":$B(i,kB(h,f))}:$B(i,kB(h,f))}return Array.isArray(n)?n.map(l):l(n)}return t}const nm=CCe();nm.filterProps=["sx"];function $Ce(e,t){const r=this;if(r.vars){if(!r.colorSchemes?.[e]||typeof r.getColorSchemeSelector!="function")return{};let n=r.getColorSchemeSelector(e);return n==="&"?t:((n.includes("data-")||n.includes("."))&&(n=`*:where(${n.replace(/\s*&$/,"")}) &`),{[n]:t})}return r.palette.mode===e?t:{}}function qR(e={},...t){const{breakpoints:r={},palette:n={},spacing:i,shape:o={},...a}=e,l=Dxe(r),d=Ede(i);let u=_a({breakpoints:l,direction:"ltr",components:{},palette:{mode:"light",...n},spacing:d,shape:{...jxe,...o}},a);return u=Ixe(u),u.applyStyles=$Ce,u=t.reduce((p,h)=>_a(p,h),u),u.unstable_sxConfig={...Pw,...a?.unstable_sxConfig},u.unstable_sx=function(p){return nm({sx:p,theme:this})},u}function SCe(e){return Object.keys(e).length===0}function ZR(e=null){const t=b.useContext(ade);return!t||SCe(t)?e:t}const kCe=qR();function _de(e=kCe){return ZR(e)}function _B(e){const t=fp(e);return e!==t&&t.styles?(t.styles.match(/^@layer\s+[^{]*$/)||(t.styles=`@layer global{${t.styles}}`),t):e}function Tde({styles:e,themeId:t,defaultTheme:r={}}){const n=_de(r),i=t&&n[t]||n;let o=typeof e=="function"?e(i):e;return i.modularCssLayers&&(Array.isArray(o)?o=o.map(a=>_B(typeof a=="function"?a(i):a)):o=_B(o)),s.jsx(Cde,{styles:o})}const TB=e=>e,ECe=()=>{let e=TB;return{configure(t){e=t},generate(t){return e(t)},reset(){e=TB}}},_Ce=ECe();function Ade(e){var t,r,n="";if(typeof e=="string"||typeof e=="number")n+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(r=Ade(e[t]))&&(n&&(n+=" "),n+=r)}else for(r in e)e[r]&&(n&&(n+=" "),n+=r);return n}function yr(){for(var e,t,r=0,n="",i=arguments.length;r<i;r++)(e=arguments[r])&&(t=Ade(e))&&(n&&(n+=" "),n+=t);return n}const TCe={active:"active",checked:"checked",completed:"completed",disabled:"disabled",error:"error",expanded:"expanded",focused:"focused",focusVisible:"focusVisible",open:"open",readOnly:"readOnly",required:"required",selected:"selected"};function In(e,t,r="Mui"){const n=TCe[t];return n?`${r}-${n}`:`${_Ce.generate(e)}-${t}`}function jn(e,t,r="Mui"){const n={};return t.forEach(i=>{n[i]=In(e,i,r)}),n}function Lde(e){const{variants:t,...r}=e,n={variants:t,style:fp(r),isProcessed:!0};return n.style===r||t&&t.forEach(i=>{typeof i.style!="function"&&(i.style=fp(i.style))}),n}const ACe=qR();function uS(e){return e!=="ownerState"&&e!=="theme"&&e!=="sx"&&e!=="as"}function Fh(e,t){return t&&e&&typeof e=="object"&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}function LCe(e){return e?(t,r)=>r[e]:null}function DCe(e,t,r){e.theme=ICe(e.theme)?r:e.theme[t]||e.theme}function wy(e,t,r){const n=typeof t=="function"?t(e):t;if(Array.isArray(n))return n.flatMap(i=>wy(e,i,r));if(Array.isArray(n?.variants)){let i;if(n.isProcessed)i=r?Fh(n.style,r):n.style;else{const{variants:o,...a}=n;i=r?Fh(fp(a),r):a}return Dde(e,n.variants,[i],r)}return n?.isProcessed?r?Fh(fp(n.style),r):n.style:r?Fh(fp(n),r):n}function Dde(e,t,r=[],n=void 0){let i;e:for(let o=0;o<t.length;o+=1){const a=t[o];if(typeof a.props=="function"){if(i??={...e,...e.ownerState,ownerState:e.ownerState},!a.props(i))continue}else for(const l in a.props)if(e[l]!==a.props[l]&&e.ownerState?.[l]!==a.props[l])continue e;typeof a.style=="function"?(i??={...e,...e.ownerState,ownerState:e.ownerState},r.push(n?Fh(fp(a.style(i)),n):a.style(i))):r.push(n?Fh(fp(a.style),n):a.style)}return r}function PCe(e={}){const{themeId:t,defaultTheme:r=ACe,rootShouldForwardProp:n=uS,slotShouldForwardProp:i=uS}=e;function o(a){DCe(a,t,r)}return(a,l={})=>{_xe(a,T=>T.filter(E=>E!==nm));const{name:d,slot:u,skipVariantsResolver:p,skipSx:h,overridesResolver:f=LCe(RCe(u)),...g}=l,y=d&&d.startsWith("Mui")||u?"components":"custom",v=p!==void 0?p:u&&u!=="Root"&&u!=="root"||!1,w=h||!1;let x=uS;u==="Root"||u==="root"?x=n:u?x=i:jCe(a)&&(x=void 0);const C=Exe(a,{shouldForwardProp:x,label:MCe(),...g}),S=T=>{if(T.__emotion_real===T)return T;if(typeof T=="function")return function(E){return wy(E,T,E.theme.modularCssLayers?y:void 0)};if(Iu(T)){const E=Lde(T);return function(D){return E.variants?wy(D,E,D.theme.modularCssLayers?y:void 0):D.theme.modularCssLayers?Fh(E.style,y):E.style}}return T},k=(...T)=>{const E=[],D=T.map(S),P=[];if(E.push(o),d&&f&&P.push(function(H){const R=H.theme.components?.[d]?.styleOverrides;if(!R)return null;const Z={};for(const Y in R)Z[Y]=wy(H,R[Y],H.theme.modularCssLayers?"theme":void 0);return f(H,Z)}),d&&!v&&P.push(function(H){const R=H.theme?.components?.[d]?.variants;return R?Dde(H,R,[],H.theme.modularCssLayers?"theme":void 0):null}),w||P.push(nm),Array.isArray(D[0])){const H=D.shift(),R=new Array(E.length).fill(""),Z=new Array(P.length).fill("");let Y;Y=[...R,...H,...Z],Y.raw=[...R,...H.raw,...Z],E.unshift(Y)}const A=[...E,...D,...P],I=C(...A);return a.muiName&&(I.muiName=a.muiName),I};return C.withConfig&&(k.withConfig=C.withConfig),k}}function MCe(e,t){return void 0}function ICe(e){for(const t in e)return!1;return!0}function jCe(e){return typeof e=="string"&&e.charCodeAt(0)>96}function RCe(e){return e&&e.charAt(0).toLowerCase()+e.slice(1)}function NM(e,t,r=!1){const n={...t};for(const i in e)if(Object.prototype.hasOwnProperty.call(e,i)){const o=i;if(o==="components"||o==="slots")n[o]={...e[o],...n[o]};else if(o==="componentsProps"||o==="slotProps"){const a=e[o],l=t[o];if(!l)n[o]=a||{};else if(!a)n[o]=l;else{n[o]={...l};for(const d in a)if(Object.prototype.hasOwnProperty.call(a,d)){const u=d;n[o][u]=NM(a[u],l[u],r)}}}else o==="className"&&r&&t.className?n.className=yr(e?.className,t?.className):o==="style"&&r&&t.style?n.style={...e?.style,...t?.style}:n[o]===void 0&&(n[o]=e[o])}return n}const zl=typeof window<"u"?b.useLayoutEffect:b.useEffect;function FCe(e,t=Number.MIN_SAFE_INTEGER,r=Number.MAX_SAFE_INTEGER){return Math.max(t,Math.min(e,r))}function KR(e,t=0,r=1){return FCe(e,t,r)}function OCe(e){e=e.slice(1);const t=new RegExp(`.{1,${e.length>=6?2:1}}`,"g");let r=e.match(t);return r&&r[0].length===1&&(r=r.map(n=>n+n)),r?`rgb${r.length===4?"a":""}(${r.map((n,i)=>i<3?parseInt(n,16):Math.round(parseInt(n,16)/255*1e3)/1e3).join(", ")})`:""}function Ep(e){if(e.type)return e;if(e.charAt(0)==="#")return Ep(OCe(e));const t=e.indexOf("("),r=e.substring(0,t);if(!["rgb","rgba","hsl","hsla","color"].includes(r))throw new Error(r2(9,e));let n=e.substring(t+1,e.length-1),i;if(r==="color"){if(n=n.split(" "),i=n.shift(),n.length===4&&n[3].charAt(0)==="/"&&(n[3]=n[3].slice(1)),!["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].includes(i))throw new Error(r2(10,i))}else n=n.split(",");return n=n.map(o=>parseFloat(o)),{type:r,values:n,colorSpace:i}}const NCe=e=>{const t=Ep(e);return t.values.slice(0,3).map((r,n)=>t.type.includes("hsl")&&n!==0?`${r}%`:r).join(" ")},_5=(e,t)=>{try{return NCe(e)}catch{return e}};function Mw(e){const{type:t,colorSpace:r}=e;let{values:n}=e;return t.includes("rgb")?n=n.map((i,o)=>o<3?parseInt(i,10):i):t.includes("hsl")&&(n[1]=`${n[1]}%`,n[2]=`${n[2]}%`),t.includes("color")?n=`${r} ${n.join(" ")}`:n=`${n.join(", ")}`,`${t}(${n})`}function Pde(e){e=Ep(e);const{values:t}=e,r=t[0],n=t[1]/100,i=t[2]/100,o=n*Math.min(i,1-i),a=(u,p=(u+r/30)%12)=>i-o*Math.max(Math.min(p-3,9-p,1),-1);let l="rgb";const d=[Math.round(a(0)*255),Math.round(a(8)*255),Math.round(a(4)*255)];return e.type==="hsla"&&(l+="a",d.push(t[3])),Mw({type:l,values:d})}function zM(e){e=Ep(e);let t=e.type==="hsl"||e.type==="hsla"?Ep(Pde(e)).values:e.values;return t=t.map(r=>(e.type!=="color"&&(r/=255),r<=.03928?r/12.92:((r+.055)/1.055)**2.4)),Number((.2126*t[0]+.7152*t[1]+.0722*t[2]).toFixed(3))}function zCe(e,t){const r=zM(e),n=zM(t);return(Math.max(r,n)+.05)/(Math.min(r,n)+.05)}function fv(e,t){return e=Ep(e),t=KR(t),(e.type==="rgb"||e.type==="hsl")&&(e.type+="a"),e.type==="color"?e.values[3]=`/${t}`:e.values[3]=t,Mw(e)}function U0(e,t,r){try{return fv(e,t)}catch{return e}}function Iw(e,t){if(e=Ep(e),t=KR(t),e.type.includes("hsl"))e.values[2]*=1-t;else if(e.type.includes("rgb")||e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]*=1-t;return Mw(e)}function Un(e,t,r){try{return Iw(e,t)}catch{return e}}function jw(e,t){if(e=Ep(e),t=KR(t),e.type.includes("hsl"))e.values[2]+=(100-e.values[2])*t;else if(e.type.includes("rgb"))for(let r=0;r<3;r+=1)e.values[r]+=(255-e.values[r])*t;else if(e.type.includes("color"))for(let r=0;r<3;r+=1)e.values[r]+=(1-e.values[r])*t;return Mw(e)}function Wn(e,t,r){try{return jw(e,t)}catch{return e}}function BCe(e,t=.15){return zM(e)>.5?Iw(e,t):jw(e,t)}function t6(e,t,r){try{return BCe(e,t)}catch{return e}}const Mde=b.createContext(null);function QR(){return b.useContext(Mde)}const HCe=typeof Symbol=="function"&&Symbol.for,VCe=HCe?Symbol.for("mui.nested"):"__THEME_NESTED__";function UCe(e,t){return typeof t=="function"?t(e):{...e,...t}}function WCe(e){const{children:t,theme:r}=e,n=QR(),i=b.useMemo(()=>{const o=n===null?{...r}:UCe(n,r);return o!=null&&(o[VCe]=n!==null),o},[r,n]);return s.jsx(Mde.Provider,{value:i,children:t})}const Ide=b.createContext();function GCe({value:e,...t}){return s.jsx(Ide.Provider,{value:e??!0,...t})}const yg=()=>b.useContext(Ide)??!1,jde=b.createContext(void 0);function YCe({value:e,children:t}){return s.jsx(jde.Provider,{value:e,children:t})}function qCe(e){const{theme:t,name:r,props:n}=e;if(!t||!t.components||!t.components[r])return n;const i=t.components[r];return i.defaultProps?NM(i.defaultProps,n,t.components.mergeClassNameAndStyle):!i.styleOverrides&&!i.variants?NM(i,n,t.components.mergeClassNameAndStyle):n}function ZCe({props:e,name:t}){const r=b.useContext(jde);return qCe({props:e,name:t,theme:{components:r}})}let AB=0;function KCe(e){const[t,r]=b.useState(e),n=e||t;return b.useEffect(()=>{t==null&&(AB+=1,r(`mui-${AB}`))},[t]),n}const QCe={...dve},LB=QCe.useId;function Rw(e){if(LB!==void 0){const t=LB();return e??t}return KCe(e)}function XCe(e){const t=ZR(),r=Rw()||"",{modularCssLayers:n}=e;let i="mui.global, mui.components, mui.theme, mui.custom, mui.sx";return!n||t!==null?i="":typeof n=="string"?i=n.replace(/mui(?!\.)/g,i):i=`@layer ${i};`,zl(()=>{const o=document.querySelector("head");if(!o)return;const a=o.firstChild;if(i){if(a&&a.hasAttribute?.("data-mui-layer-order")&&a.getAttribute("data-mui-layer-order")===r)return;const l=document.createElement("style");l.setAttribute("data-mui-layer-order",r),l.textContent=i,o.prepend(l)}else o.querySelector(`style[data-mui-layer-order="${r}"]`)?.remove()},[i,r]),i?s.jsx(Tde,{styles:i}):null}const DB={};function PB(e,t,r,n=!1){return b.useMemo(()=>{const i=e&&t[e]||t;if(typeof r=="function"){const o=r(i),a=e?{...t,[e]:o}:o;return n?()=>a:a}return e?{...t,[e]:r}:{...t,...r}},[e,t,r,n])}function Rde(e){const{children:t,theme:r,themeId:n}=e,i=ZR(DB),o=QR()||DB,a=PB(n,i,r),l=PB(n,o,r,!0),d=(n?a[n]:a).direction==="rtl",u=XCe(a);return s.jsx(WCe,{theme:l,children:s.jsx(ade.Provider,{value:a,children:s.jsx(GCe,{value:d,children:s.jsxs(YCe,{value:n?a[n].components:a.components,children:[u,t]})})})})}const MB={theme:void 0};function JCe(e){let t,r;return function(n){let i=t;return(i===void 0||n.theme!==r)&&(MB.theme=n.theme,i=Lde(e(MB)),t=i,r=n.theme),i}}const XR="mode",JR="color-scheme",e$e="data-color-scheme";function t$e(e){const{defaultMode:t="system",defaultLightColorScheme:r="light",defaultDarkColorScheme:n="dark",modeStorageKey:i=XR,colorSchemeStorageKey:o=JR,attribute:a=e$e,colorSchemeNode:l="document.documentElement",nonce:d}=e||{};let u="",p=a;if(a==="class"&&(p=".%s"),a==="data"&&(p="[data-%s]"),p.startsWith(".")){const f=p.substring(1);u+=`${l}.classList.remove('${f}'.replace('%s', light), '${f}'.replace('%s', dark));
3
3
  ${l}.classList.add('${f}'.replace('%s', colorScheme));`}const h=p.match(/\[([^[\]]+)\]/);if(h){const[f,g]=h[1].split("=");g||(u+=`${l}.removeAttribute('${f}'.replace('%s', light));
4
4
  ${l}.removeAttribute('${f}'.replace('%s', dark));`),u+=`
5
5
  ${l}.setAttribute('${f}'.replace('%s', colorScheme), ${g?`${g}.replace('%s', colorScheme)`:'""'});`}else u+=`${l}.setAttribute('${p}', colorScheme);`;return s.jsx("script",{suppressHydrationWarning:!0,nonce:typeof window>"u"?d:"",dangerouslySetInnerHTML:{__html:`(function() {
@@ -209,7 +209,7 @@ In order to be iterable, non-array objects must have a [Symbol.iterator]() metho
209
209
  `),E=S.selectionStart===k;T&&E&&S.setSelectionRange(k,k),r&&r(C)};return s.jsxs(b.Fragment,{children:[s.jsx("textarea",{value:a,onChange:x,ref:p,rows:i,style:o,...l}),s.jsx("textarea",{"aria-hidden":!0,className:e.className,readOnly:!0,ref:f,tabIndex:-1,style:{...Xst.shadow,...o,paddingTop:0,paddingBottom:0}})]})});function Dg({props:e,states:t,muiFormControl:r}){return t.reduce((n,i)=>(n[i]=e[i],r&&typeof e[i]>"u"&&(n[i]=r[i]),n),{})}const OO=b.createContext(void 0);function _m(){return b.useContext(OO)}function iQ(e){return e!=null&&!(Array.isArray(e)&&e.length===0)}function db(e,t=!1){return e&&(iQ(e.value)&&e.value!==""||t&&iQ(e.defaultValue)&&e.defaultValue!=="")}function tlt(e){return e.startAdornment}function rlt(e){return In("MuiInputBase",e)}const Qf=jn("MuiInputBase",["root","formControl","focused","disabled","adornedStart","adornedEnd","error","sizeSmall","multiline","colorSecondary","fullWidth","hiddenLabel","readOnly","input","inputSizeSmall","inputMultiline","inputTypeSearch","inputAdornedStart","inputAdornedEnd","inputHiddenLabel"]);var oQ;const xx=(e,t)=>{const{ownerState:r}=e;return[t.root,r.formControl&&t.formControl,r.startAdornment&&t.adornedStart,r.endAdornment&&t.adornedEnd,r.error&&t.error,r.size==="small"&&t.sizeSmall,r.multiline&&t.multiline,r.color&&t[`color${Rr(r.color)}`],r.fullWidth&&t.fullWidth,r.hiddenLabel&&t.hiddenLabel]},Cx=(e,t)=>{const{ownerState:r}=e;return[t.input,r.size==="small"&&t.inputSizeSmall,r.multiline&&t.inputMultiline,r.type==="search"&&t.inputTypeSearch,r.startAdornment&&t.inputAdornedStart,r.endAdornment&&t.inputAdornedEnd,r.hiddenLabel&&t.inputHiddenLabel]},nlt=e=>{const{classes:t,color:r,disabled:n,error:i,endAdornment:o,focused:a,formControl:l,fullWidth:d,hiddenLabel:u,multiline:p,readOnly:h,size:f,startAdornment:g,type:y}=e,v={root:["root",`color${Rr(r)}`,n&&"disabled",i&&"error",d&&"fullWidth",a&&"focused",l&&"formControl",f&&f!=="medium"&&`size${Rr(f)}`,p&&"multiline",g&&"adornedStart",o&&"adornedEnd",u&&"hiddenLabel",h&&"readOnly"],input:["input",n&&"disabled",y==="search"&&"inputTypeSearch",p&&"inputMultiline",f==="small"&&"inputSizeSmall",u&&"inputHiddenLabel",g&&"inputAdornedStart",o&&"inputAdornedEnd",h&&"readOnly"]};return Rn(v,rlt,t)},$x=qt("div",{name:"MuiInputBase",slot:"Root",overridesResolver:xx})(xn(({theme:e})=>({...e.typography.body1,color:(e.vars||e).palette.text.primary,lineHeight:"1.4375em",boxSizing:"border-box",position:"relative",cursor:"text",display:"inline-flex",alignItems:"center",[`&.${Qf.disabled}`]:{color:(e.vars||e).palette.text.disabled,cursor:"default"},variants:[{props:({ownerState:t})=>t.multiline,style:{padding:"4px 0 5px"}},{props:({ownerState:t,size:r})=>t.multiline&&r==="small",style:{paddingTop:1}},{props:({ownerState:t})=>t.fullWidth,style:{width:"100%"}}]}))),Sx=qt("input",{name:"MuiInputBase",slot:"Input",overridesResolver:Cx})(xn(({theme:e})=>{const t=e.palette.mode==="light",r={color:"currentColor",...e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5},transition:e.transitions.create("opacity",{duration:e.transitions.duration.shorter})},n={opacity:"0 !important"},i=e.vars?{opacity:e.vars.opacity.inputPlaceholder}:{opacity:t?.42:.5};return{font:"inherit",letterSpacing:"inherit",color:"currentColor",padding:"4px 0 5px",border:0,boxSizing:"content-box",background:"none",height:"1.4375em",margin:0,WebkitTapHighlightColor:"transparent",display:"block",minWidth:0,width:"100%","&::-webkit-input-placeholder":r,"&::-moz-placeholder":r,"&::-ms-input-placeholder":r,"&:focus":{outline:0},"&:invalid":{boxShadow:"none"},"&::-webkit-search-decoration":{WebkitAppearance:"none"},[`label[data-shrink=false] + .${Qf.formControl} &`]:{"&::-webkit-input-placeholder":n,"&::-moz-placeholder":n,"&::-ms-input-placeholder":n,"&:focus::-webkit-input-placeholder":i,"&:focus::-moz-placeholder":i,"&:focus::-ms-input-placeholder":i},[`&.${Qf.disabled}`]:{opacity:1,WebkitTextFillColor:(e.vars||e).palette.text.disabled},variants:[{props:({ownerState:o})=>!o.disableInjectingGlobalStyles,style:{animationName:"mui-auto-fill-cancel",animationDuration:"10ms","&:-webkit-autofill":{animationDuration:"5000s",animationName:"mui-auto-fill"}}},{props:{size:"small"},style:{paddingTop:1}},{props:({ownerState:o})=>o.multiline,style:{height:"auto",resize:"none",padding:0,paddingTop:0}},{props:{type:"search"},style:{MozAppearance:"textfield"}}]}})),aQ=Z$e({"@keyframes mui-auto-fill":{from:{display:"block"}},"@keyframes mui-auto-fill-cancel":{from:{display:"block"}}}),NO=b.forwardRef(function(e,t){const r=Yn({props:e,name:"MuiInputBase"}),{"aria-describedby":n,autoComplete:i,autoFocus:o,className:a,color:l,components:d={},componentsProps:u={},defaultValue:p,disabled:h,disableInjectingGlobalStyles:f,endAdornment:g,error:y,fullWidth:v=!1,id:w,inputComponent:x="input",inputProps:C={},inputRef:S,margin:k,maxRows:T,minRows:E,multiline:D=!1,name:P,onBlur:A,onChange:I,onClick:H,onFocus:R,onKeyDown:Z,onKeyUp:Y,placeholder:B,readOnly:V,renderSuffix:j,rows:L,size:N,slotProps:z={},slots:J={},startAdornment:q,type:U="text",value:Q,...X}=r,oe=C.value!=null?C.value:Q,{current:xe}=b.useRef(oe!=null),ue=b.useRef(),le=b.useCallback(Be=>{},[]),ae=yo(ue,S,C.ref,le),[he,ge]=b.useState(!1),ne=_m(),se=Dg({props:r,muiFormControl:ne,states:["color","disabled","error","hiddenLabel","size","required","filled"]});se.focused=ne?ne.focused:he,b.useEffect(()=>{!ne&&h&&he&&(ge(!1),A&&A())},[ne,h,he,A]);const ye=ne&&ne.onFilled,je=ne&&ne.onEmpty,me=b.useCallback(Be=>{db(Be)?ye&&ye():je&&je()},[ye,je]);zl(()=>{xe&&me({value:oe})},[oe,me,xe]);const ie=Be=>{R&&R(Be),C.onFocus&&C.onFocus(Be),ne&&ne.onFocus?ne.onFocus(Be):ge(!0)},pe=Be=>{A&&A(Be),C.onBlur&&C.onBlur(Be),ne&&ne.onBlur?ne.onBlur(Be):ge(!1)},Ee=(Be,...rt)=>{if(!xe){const pt=Be.target||ue.current;if(pt==null)throw new Error(r2(1));me({value:pt.value})}C.onChange&&C.onChange(Be,...rt),I&&I(Be,...rt)};b.useEffect(()=>{me(ue.current)},[]);const ve=Be=>{ue.current&&Be.currentTarget===Be.target&&ue.current.focus(),H&&H(Be)};let Ie=x,ke=C;D&&Ie==="input"&&(L?ke={type:void 0,minRows:L,maxRows:L,...ke}:ke={type:void 0,maxRows:T,minRows:E,...ke},Ie=elt);const Te=Be=>{me(Be.animationName==="mui-auto-fill-cancel"?ue.current:{value:"x"})};b.useEffect(()=>{ne&&ne.setAdornedStart(!!q)},[ne,q]);const Le={...r,color:se.color||"primary",disabled:se.disabled,endAdornment:g,error:se.error,focused:se.focused,formControl:ne,fullWidth:v,hiddenLabel:se.hiddenLabel,multiline:D,size:se.size,startAdornment:q,type:U},De=nlt(Le),ze=J.root||d.Root||$x,Ze=z.root||u.root||{},Pe=J.input||d.Input||Sx;return ke={...ke,...z.input??u.input},s.jsxs(b.Fragment,{children:[!f&&typeof aQ=="function"&&(oQ||(oQ=s.jsx(aQ,{}))),s.jsxs(ze,{...Ze,ref:t,onClick:ve,...X,...!gv(ze)&&{ownerState:{...Le,...Ze.ownerState}},className:yr(De.root,Ze.className,a,V&&"MuiInputBase-readOnly"),children:[q,s.jsx(OO.Provider,{value:null,children:s.jsx(Pe,{"aria-invalid":se.error,"aria-describedby":n,autoComplete:i,autoFocus:o,defaultValue:p,disabled:se.disabled,id:w,onAnimationStart:Te,name:P,placeholder:B,readOnly:V,required:se.required,rows:L,value:oe,onKeyDown:Z,onKeyUp:Y,type:U,...ke,...!gv(Pe)&&{as:Ie,ownerState:{...Le,...ke.ownerState}},ref:ae,className:yr(De.input,ke.className,V&&"MuiInputBase-readOnly"),onBlur:pe,onChange:Ee,onFocus:ie})}),g,j?j({...se,startAdornment:q}):null]})]})});function ilt(e){return In("MuiInput",e)}const R4={...Qf,...jn("MuiInput",["root","underline","input"])},olt=e=>{const{classes:t,disableUnderline:r}=e,n=Rn({root:["root",!r&&"underline"],input:["input"]},ilt,t);return{...t,...n}},alt=qt($x,{shouldForwardProp:e=>tl(e)||e==="classes",name:"MuiInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...xx(e,t),!r.disableUnderline&&t.underline]}})(xn(({theme:e})=>{let t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)";return e.vars&&(t=e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline)),{position:"relative",variants:[{props:({ownerState:r})=>r.formControl,style:{"label + &":{marginTop:16}}},{props:({ownerState:r})=>!r.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${R4.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${R4.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${t}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${R4.disabled}, .${R4.error}):before`]:{borderBottom:`2px solid ${(e.vars||e).palette.text.primary}`,"@media (hover: none)":{borderBottom:`1px solid ${t}`}},[`&.${R4.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(_p()).map(([r])=>({props:{color:r,disableUnderline:!1},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[r].main}`}}}))]}})),slt=qt(Sx,{name:"MuiInput",slot:"Input",overridesResolver:Cx})({}),zO=b.forwardRef(function(e,t){const r=Yn({props:e,name:"MuiInput"}),{disableUnderline:n=!1,components:i={},componentsProps:o,fullWidth:a=!1,inputComponent:l="input",multiline:d=!1,slotProps:u,slots:p={},type:h="text",...f}=r,g=olt(r),y={root:{ownerState:{disableUnderline:n}}},v=u??o?_a(u??o,y):y,w=p.root??i.Root??alt,x=p.input??i.Input??slt;return s.jsx(NO,{slots:{root:w,input:x},slotProps:v,fullWidth:a,inputComponent:l,multiline:d,ref:t,type:h,...f,classes:g})});zO.muiName="Input";function llt(e){return In("MuiFilledInput",e)}const nh={...Qf,...jn("MuiFilledInput",["root","underline","input","adornedStart","adornedEnd","sizeSmall","multiline","hiddenLabel"])},clt=e=>{const{classes:t,disableUnderline:r,startAdornment:n,endAdornment:i,size:o,hiddenLabel:a,multiline:l}=e,d={root:["root",!r&&"underline",n&&"adornedStart",i&&"adornedEnd",o==="small"&&`size${Rr(o)}`,a&&"hiddenLabel",l&&"multiline"],input:["input"]},u=Rn(d,llt,t);return{...t,...u}},dlt=qt($x,{shouldForwardProp:e=>tl(e)||e==="classes",name:"MuiFilledInput",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[...xx(e,t),!r.disableUnderline&&t.underline]}})(xn(({theme:e})=>{const t=e.palette.mode==="light",r=t?"rgba(0, 0, 0, 0.42)":"rgba(255, 255, 255, 0.7)",n=t?"rgba(0, 0, 0, 0.06)":"rgba(255, 255, 255, 0.09)",i=t?"rgba(0, 0, 0, 0.09)":"rgba(255, 255, 255, 0.13)",o=t?"rgba(0, 0, 0, 0.12)":"rgba(255, 255, 255, 0.12)";return{position:"relative",backgroundColor:e.vars?e.vars.palette.FilledInput.bg:n,borderTopLeftRadius:(e.vars||e).shape.borderRadius,borderTopRightRadius:(e.vars||e).shape.borderRadius,transition:e.transitions.create("background-color",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),"&:hover":{backgroundColor:e.vars?e.vars.palette.FilledInput.hoverBg:i,"@media (hover: none)":{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:n}},[`&.${nh.focused}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.bg:n},[`&.${nh.disabled}`]:{backgroundColor:e.vars?e.vars.palette.FilledInput.disabledBg:o},variants:[{props:({ownerState:a})=>!a.disableUnderline,style:{"&::after":{left:0,bottom:0,content:'""',position:"absolute",right:0,transform:"scaleX(0)",transition:e.transitions.create("transform",{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut}),pointerEvents:"none"},[`&.${nh.focused}:after`]:{transform:"scaleX(1) translateX(0)"},[`&.${nh.error}`]:{"&::before, &::after":{borderBottomColor:(e.vars||e).palette.error.main}},"&::before":{borderBottom:`1px solid ${e.vars?e.alpha(e.vars.palette.common.onBackground,e.vars.opacity.inputUnderline):r}`,left:0,bottom:0,content:'"\\00a0"',position:"absolute",right:0,transition:e.transitions.create("border-bottom-color",{duration:e.transitions.duration.shorter}),pointerEvents:"none"},[`&:hover:not(.${nh.disabled}, .${nh.error}):before`]:{borderBottom:`1px solid ${(e.vars||e).palette.text.primary}`},[`&.${nh.disabled}:before`]:{borderBottomStyle:"dotted"}}},...Object.entries(e.palette).filter(_p()).map(([a])=>({props:{disableUnderline:!1,color:a},style:{"&::after":{borderBottom:`2px solid ${(e.vars||e).palette[a]?.main}`}}})),{props:({ownerState:a})=>a.startAdornment,style:{paddingLeft:12}},{props:({ownerState:a})=>a.endAdornment,style:{paddingRight:12}},{props:({ownerState:a})=>a.multiline,style:{padding:"25px 12px 8px"}},{props:({ownerState:a,size:l})=>a.multiline&&l==="small",style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:a})=>a.multiline&&a.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:a})=>a.multiline&&a.hiddenLabel&&a.size==="small",style:{paddingTop:8,paddingBottom:9}}]}})),ult=qt(Sx,{name:"MuiFilledInput",slot:"Input",overridesResolver:Cx})(xn(({theme:e})=>({paddingTop:25,paddingRight:12,paddingBottom:8,paddingLeft:12,...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderTopLeftRadius:"inherit",borderTopRightRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{paddingTop:21,paddingBottom:4}},{props:({ownerState:t})=>t.hiddenLabel,style:{paddingTop:16,paddingBottom:17}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}},{props:({ownerState:t})=>t.hiddenLabel&&t.size==="small",style:{paddingTop:8,paddingBottom:9}},{props:({ownerState:t})=>t.multiline,style:{paddingTop:0,paddingBottom:0,paddingLeft:0,paddingRight:0}}]}))),BO=b.forwardRef(function(e,t){const r=Yn({props:e,name:"MuiFilledInput"}),{disableUnderline:n=!1,components:i={},componentsProps:o,fullWidth:a=!1,hiddenLabel:l,inputComponent:d="input",multiline:u=!1,slotProps:p,slots:h={},type:f="text",...g}=r,y={...r,disableUnderline:n,fullWidth:a,inputComponent:d,multiline:u,type:f},v=clt(r),w={root:{ownerState:y},input:{ownerState:y}},x=p??o?_a(w,p??o):w,C=h.root??i.Root??dlt,S=h.input??i.Input??ult;return s.jsx(NO,{slots:{root:C,input:S},slotProps:x,fullWidth:a,inputComponent:d,multiline:u,ref:t,type:f,...g,classes:v})});BO.muiName="Input";var sQ;const plt=qt("fieldset",{name:"MuiNotchedOutlined",shouldForwardProp:tl})({textAlign:"left",position:"absolute",bottom:0,right:0,top:-5,left:0,margin:0,padding:"0 8px",pointerEvents:"none",borderRadius:"inherit",borderStyle:"solid",borderWidth:1,overflow:"hidden",minWidth:"0%"}),hlt=qt("legend",{name:"MuiNotchedOutlined",shouldForwardProp:tl})(xn(({theme:e})=>({float:"unset",width:"auto",overflow:"hidden",variants:[{props:({ownerState:t})=>!t.withLabel,style:{padding:0,lineHeight:"11px",transition:e.transitions.create("width",{duration:150,easing:e.transitions.easing.easeOut})}},{props:({ownerState:t})=>t.withLabel,style:{display:"block",padding:0,height:11,fontSize:"0.75em",visibility:"hidden",maxWidth:.01,transition:e.transitions.create("max-width",{duration:50,easing:e.transitions.easing.easeOut}),whiteSpace:"nowrap","& > span":{paddingLeft:5,paddingRight:5,display:"inline-block",opacity:0,visibility:"visible"}}},{props:({ownerState:t})=>t.withLabel&&t.notched,style:{maxWidth:"100%",transition:e.transitions.create("max-width",{duration:100,easing:e.transitions.easing.easeOut,delay:50})}}]})));function mlt(e){const{children:t,classes:r,className:n,label:i,notched:o,...a}=e,l=i!=null&&i!=="",d={...e,notched:o,withLabel:l};return s.jsx(plt,{"aria-hidden":!0,className:n,ownerState:d,...a,children:s.jsx(hlt,{ownerState:d,children:l?s.jsx("span",{children:i}):sQ||(sQ=s.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"}))})})}function flt(e){return In("MuiOutlinedInput",e)}const Wd={...Qf,...jn("MuiOutlinedInput",["root","notchedOutline","input"])},glt=e=>{const{classes:t}=e,r=Rn({root:["root"],notchedOutline:["notchedOutline"],input:["input"]},flt,t);return{...t,...r}},ylt=qt($x,{shouldForwardProp:e=>tl(e)||e==="classes",name:"MuiOutlinedInput",slot:"Root",overridesResolver:xx})(xn(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{position:"relative",borderRadius:(e.vars||e).shape.borderRadius,[`&:hover .${Wd.notchedOutline}`]:{borderColor:(e.vars||e).palette.text.primary},"@media (hover: none)":{[`&:hover .${Wd.notchedOutline}`]:{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}},[`&.${Wd.focused} .${Wd.notchedOutline}`]:{borderWidth:2},variants:[...Object.entries(e.palette).filter(_p()).map(([r])=>({props:{color:r},style:{[`&.${Wd.focused} .${Wd.notchedOutline}`]:{borderColor:(e.vars||e).palette[r].main}}})),{props:{},style:{[`&.${Wd.error} .${Wd.notchedOutline}`]:{borderColor:(e.vars||e).palette.error.main},[`&.${Wd.disabled} .${Wd.notchedOutline}`]:{borderColor:(e.vars||e).palette.action.disabled}}},{props:({ownerState:r})=>r.startAdornment,style:{paddingLeft:14}},{props:({ownerState:r})=>r.endAdornment,style:{paddingRight:14}},{props:({ownerState:r})=>r.multiline,style:{padding:"16.5px 14px"}},{props:({ownerState:r,size:n})=>r.multiline&&n==="small",style:{padding:"8.5px 14px"}}]}})),vlt=qt(mlt,{name:"MuiOutlinedInput",slot:"NotchedOutline"})(xn(({theme:e})=>{const t=e.palette.mode==="light"?"rgba(0, 0, 0, 0.23)":"rgba(255, 255, 255, 0.23)";return{borderColor:e.vars?e.alpha(e.vars.palette.common.onBackground,.23):t}})),blt=qt(Sx,{name:"MuiOutlinedInput",slot:"Input",overridesResolver:Cx})(xn(({theme:e})=>({padding:"16.5px 14px",...!e.vars&&{"&:-webkit-autofill":{WebkitBoxShadow:e.palette.mode==="light"?null:"0 0 0 100px #266798 inset",WebkitTextFillColor:e.palette.mode==="light"?null:"#fff",caretColor:e.palette.mode==="light"?null:"#fff",borderRadius:"inherit"}},...e.vars&&{"&:-webkit-autofill":{borderRadius:"inherit"},[e.getColorSchemeSelector("dark")]:{"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 100px #266798 inset",WebkitTextFillColor:"#fff",caretColor:"#fff"}}},variants:[{props:{size:"small"},style:{padding:"8.5px 14px"}},{props:({ownerState:t})=>t.multiline,style:{padding:0}},{props:({ownerState:t})=>t.startAdornment,style:{paddingLeft:0}},{props:({ownerState:t})=>t.endAdornment,style:{paddingRight:0}}]}))),HO=b.forwardRef(function(e,t){const r=Yn({props:e,name:"MuiOutlinedInput"}),{components:n={},fullWidth:i=!1,inputComponent:o="input",label:a,multiline:l=!1,notched:d,slots:u={},slotProps:p={},type:h="text",...f}=r,g=glt(r),y=_m(),v=Dg({props:r,muiFormControl:y,states:["color","disabled","error","focused","hiddenLabel","size","required"]}),w={...r,color:v.color||"primary",disabled:v.disabled,error:v.error,focused:v.focused,formControl:y,fullWidth:i,hiddenLabel:v.hiddenLabel,multiline:l,size:v.size,type:h},x=u.root??n.Root??ylt,C=u.input??n.Input??blt,[S,k]=Zr("notchedOutline",{elementType:vlt,className:g.notchedOutline,shouldForwardComponentProp:!0,ownerState:w,externalForwardedProps:{slots:u,slotProps:p},additionalProps:{label:a!=null&&a!==""&&v.required?s.jsxs(b.Fragment,{children:[a," ","*"]}):a}});return s.jsx(NO,{slots:{root:x,input:C},slotProps:p,renderSuffix:T=>s.jsx(S,{...k,notched:typeof d<"u"?d:!!(T.startAdornment||T.filled||T.focused)}),fullWidth:i,inputComponent:o,multiline:l,ref:t,type:h,...f,classes:{...g,notchedOutline:null}})});HO.muiName="Input";function wlt(e){return In("MuiFormLabel",e)}const e7=jn("MuiFormLabel",["root","colorSecondary","focused","disabled","error","filled","required","asterisk"]),xlt=e=>{const{classes:t,color:r,focused:n,disabled:i,error:o,filled:a,required:l}=e,d={root:["root",`color${Rr(r)}`,i&&"disabled",o&&"error",a&&"filled",n&&"focused",l&&"required"],asterisk:["asterisk",o&&"error"]};return Rn(d,wlt,t)},Clt=qt("label",{name:"MuiFormLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.color==="secondary"&&t.colorSecondary,r.filled&&t.filled]}})(xn(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.body1,lineHeight:"1.4375em",padding:0,position:"relative",variants:[...Object.entries(e.palette).filter(_p()).map(([t])=>({props:{color:t},style:{[`&.${e7.focused}`]:{color:(e.vars||e).palette[t].main}}})),{props:{},style:{[`&.${e7.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${e7.error}`]:{color:(e.vars||e).palette.error.main}}}]}))),$lt=qt("span",{name:"MuiFormLabel",slot:"Asterisk"})(xn(({theme:e})=>({[`&.${e7.error}`]:{color:(e.vars||e).palette.error.main}}))),Slt=b.forwardRef(function(e,t){const r=Yn({props:e,name:"MuiFormLabel"}),{children:n,className:i,color:o,component:a="label",disabled:l,error:d,filled:u,focused:p,required:h,...f}=r,g=_m(),y=Dg({props:r,muiFormControl:g,states:["color","required","focused","disabled","error","filled"]}),v={...r,color:y.color||"primary",component:a,disabled:y.disabled,error:y.error,filled:y.filled,focused:y.focused,required:y.required},w=xlt(v);return s.jsxs(Clt,{as:a,ownerState:v,className:yr(w.root,i),ref:t,...f,children:[n,y.required&&s.jsxs($lt,{ownerState:v,"aria-hidden":!0,className:w.asterisk,children:[" ","*"]})]})});function klt(e){return In("MuiInputLabel",e)}jn("MuiInputLabel",["root","focused","disabled","error","required","asterisk","formControl","sizeSmall","shrink","animated","standard","filled","outlined"]);const Elt=e=>{const{classes:t,formControl:r,size:n,shrink:i,disableAnimation:o,variant:a,required:l}=e,d={root:["root",r&&"formControl",!o&&"animated",i&&"shrink",n&&n!=="medium"&&`size${Rr(n)}`,a],asterisk:[l&&"asterisk"]},u=Rn(d,klt,t);return{...t,...u}},_lt=qt(Slt,{shouldForwardProp:e=>tl(e)||e==="classes",name:"MuiInputLabel",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`& .${e7.asterisk}`]:t.asterisk},t.root,r.formControl&&t.formControl,r.size==="small"&&t.sizeSmall,r.shrink&&t.shrink,!r.disableAnimation&&t.animated,r.focused&&t.focused,t[r.variant]]}})(xn(({theme:e})=>({display:"block",transformOrigin:"top left",whiteSpace:"nowrap",overflow:"hidden",textOverflow:"ellipsis",maxWidth:"100%",variants:[{props:({ownerState:t})=>t.formControl,style:{position:"absolute",left:0,top:0,transform:"translate(0, 20px) scale(1)"}},{props:{size:"small"},style:{transform:"translate(0, 17px) scale(1)"}},{props:({ownerState:t})=>t.shrink,style:{transform:"translate(0, -1.5px) scale(0.75)",transformOrigin:"top left",maxWidth:"133%"}},{props:({ownerState:t})=>!t.disableAnimation,style:{transition:e.transitions.create(["color","transform","max-width"],{duration:e.transitions.duration.shorter,easing:e.transitions.easing.easeOut})}},{props:{variant:"filled"},style:{zIndex:1,pointerEvents:"none",transform:"translate(12px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"filled",size:"small"},style:{transform:"translate(12px, 13px) scale(1)"}},{props:({variant:t,ownerState:r})=>t==="filled"&&r.shrink,style:{userSelect:"none",pointerEvents:"auto",transform:"translate(12px, 7px) scale(0.75)",maxWidth:"calc(133% - 24px)"}},{props:({variant:t,ownerState:r,size:n})=>t==="filled"&&r.shrink&&n==="small",style:{transform:"translate(12px, 4px) scale(0.75)"}},{props:{variant:"outlined"},style:{zIndex:1,pointerEvents:"none",transform:"translate(14px, 16px) scale(1)",maxWidth:"calc(100% - 24px)"}},{props:{variant:"outlined",size:"small"},style:{transform:"translate(14px, 9px) scale(1)"}},{props:({variant:t,ownerState:r})=>t==="outlined"&&r.shrink,style:{userSelect:"none",pointerEvents:"auto",maxWidth:"calc(133% - 32px)",transform:"translate(14px, -9px) scale(0.75)"}}]}))),Tlt=b.forwardRef(function(e,t){const r=Yn({name:"MuiInputLabel",props:e}),{disableAnimation:n=!1,margin:i,shrink:o,variant:a,className:l,...d}=r,u=_m();let p=o;typeof p>"u"&&u&&(p=u.filled||u.focused||u.adornedStart);const h=Dg({props:r,muiFormControl:u,states:["size","variant","required","focused"]}),f={...r,disableAnimation:n,formControl:u,shrink:p,size:h.size,variant:h.variant,required:h.required,focused:h.focused},g=Elt(f);return s.jsx(_lt,{"data-shrink":p,ref:t,className:yr(g.root,l),...d,ownerState:f,classes:g})});function Alt(e){return In("MuiFormControl",e)}jn("MuiFormControl",["root","marginNone","marginNormal","marginDense","fullWidth","disabled"]);const Llt=e=>{const{classes:t,margin:r,fullWidth:n}=e,i={root:["root",r!=="none"&&`margin${Rr(r)}`,n&&"fullWidth"]};return Rn(i,Alt,t)},Dlt=qt("div",{name:"MuiFormControl",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,t[`margin${Rr(r.margin)}`],r.fullWidth&&t.fullWidth]}})({display:"inline-flex",flexDirection:"column",position:"relative",minWidth:0,padding:0,margin:0,border:0,verticalAlign:"top",variants:[{props:{margin:"normal"},style:{marginTop:16,marginBottom:8}},{props:{margin:"dense"},style:{marginTop:8,marginBottom:4}},{props:{fullWidth:!0},style:{width:"100%"}}]}),Plt=b.forwardRef(function(e,t){const r=Yn({props:e,name:"MuiFormControl"}),{children:n,className:i,color:o="primary",component:a="div",disabled:l=!1,error:d=!1,focused:u,fullWidth:p=!1,hiddenLabel:h=!1,margin:f="none",required:g=!1,size:y="medium",variant:v="outlined",...w}=r,x={...r,color:o,component:a,disabled:l,error:d,fullWidth:p,hiddenLabel:h,margin:f,required:g,size:y,variant:v},C=Llt(x),[S,k]=b.useState(()=>{let Y=!1;return n&&b.Children.forEach(n,B=>{if(!mS(B,["Input","Select"]))return;const V=mS(B,["Select"])?B.props.input:B;V&&tlt(V.props)&&(Y=!0)}),Y}),[T,E]=b.useState(()=>{let Y=!1;return n&&b.Children.forEach(n,B=>{mS(B,["Input","Select"])&&(db(B.props,!0)||db(B.props.inputProps,!0))&&(Y=!0)}),Y}),[D,P]=b.useState(!1);l&&D&&P(!1);const A=u!==void 0&&!l?u:D;let I;b.useRef(!1);const H=b.useCallback(()=>{E(!0)},[]),R=b.useCallback(()=>{E(!1)},[]),Z=b.useMemo(()=>({adornedStart:S,setAdornedStart:k,color:o,disabled:l,error:d,filled:T,focused:A,fullWidth:p,hiddenLabel:h,size:y,onBlur:()=>{P(!1)},onFocus:()=>{P(!0)},onEmpty:R,onFilled:H,registerEffect:I,required:g,variant:v}),[S,o,l,d,T,A,p,h,I,R,H,g,y,v]);return s.jsx(OO.Provider,{value:Z,children:s.jsx(Dlt,{as:a,ownerState:x,className:yr(C.root,i),ref:t,...w,children:n})})});function Mlt(e){return In("MuiFormHelperText",e)}const lQ=jn("MuiFormHelperText",["root","error","disabled","sizeSmall","sizeMedium","contained","focused","filled","required"]);var cQ;const Ilt=e=>{const{classes:t,contained:r,size:n,disabled:i,error:o,filled:a,focused:l,required:d}=e,u={root:["root",i&&"disabled",o&&"error",n&&`size${Rr(n)}`,r&&"contained",l&&"focused",a&&"filled",d&&"required"]};return Rn(u,Mlt,t)},jlt=qt("p",{name:"MuiFormHelperText",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.size&&t[`size${Rr(r.size)}`],r.contained&&t.contained,r.filled&&t.filled]}})(xn(({theme:e})=>({color:(e.vars||e).palette.text.secondary,...e.typography.caption,textAlign:"left",marginTop:3,marginRight:0,marginBottom:0,marginLeft:0,[`&.${lQ.disabled}`]:{color:(e.vars||e).palette.text.disabled},[`&.${lQ.error}`]:{color:(e.vars||e).palette.error.main},variants:[{props:{size:"small"},style:{marginTop:4}},{props:({ownerState:t})=>t.contained,style:{marginLeft:14,marginRight:14}}]}))),Rlt=b.forwardRef(function(e,t){const r=Yn({props:e,name:"MuiFormHelperText"}),{children:n,className:i,component:o="p",disabled:a,error:l,filled:d,focused:u,margin:p,required:h,variant:f,...g}=r,y=_m(),v=Dg({props:r,muiFormControl:y,states:["variant","size","disabled","error","filled","focused","required"]}),w={...r,component:o,contained:v.variant==="filled"||v.variant==="outlined",variant:v.variant,size:v.size,disabled:v.disabled,error:v.error,filled:v.filled,focused:v.focused,required:v.required};delete w.ownerState;const x=Ilt(w);return s.jsx(jlt,{as:o,className:yr(x.root,i),ref:t,...g,ownerState:w,children:n===" "?cQ||(cQ=s.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):n})}),Flt=b.createContext({});function Olt(e){return In("MuiList",e)}jn("MuiList",["root","padding","dense","subheader"]);const Nlt=e=>{const{classes:t,disablePadding:r,dense:n,subheader:i}=e;return Rn({root:["root",!r&&"padding",n&&"dense",i&&"subheader"]},Olt,t)},zlt=qt("ul",{name:"MuiList",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,!r.disablePadding&&t.padding,r.dense&&t.dense,r.subheader&&t.subheader]}})({listStyle:"none",margin:0,padding:0,position:"relative",variants:[{props:({ownerState:e})=>!e.disablePadding,style:{paddingTop:8,paddingBottom:8}},{props:({ownerState:e})=>e.subheader,style:{paddingTop:0}}]}),Blt=b.forwardRef(function(e,t){const r=Yn({props:e,name:"MuiList"}),{children:n,className:i,component:o="ul",dense:a=!1,disablePadding:l=!1,subheader:d,...u}=r,p=b.useMemo(()=>({dense:a}),[a]),h={...r,component:o,dense:a,disablePadding:l},f=Nlt(h);return s.jsx(Flt.Provider,{value:p,children:s.jsxs(zlt,{as:o,className:yr(f.root,i),ref:t,ownerState:h,...u,children:[d,n]})})});function VT(e,t,r){return e===t?e.firstChild:t&&t.nextElementSibling?t.nextElementSibling:r?null:e.firstChild}function dQ(e,t,r){return e===t?r?e.firstChild:e.lastChild:t&&t.previousElementSibling?t.previousElementSibling:r?null:e.lastChild}function kge(e,t){if(t===void 0)return!0;let r=e.innerText;return r===void 0&&(r=e.textContent),r=r.trim().toLowerCase(),r.length===0?!1:t.repeating?r[0]===t.keys[0]:r.startsWith(t.keys.join(""))}function F4(e,t,r,n,i,o){let a=!1,l=i(e,t,t?r:!1);for(;l;){if(l===e.firstChild){if(a)return!1;a=!0}const d=n?!1:l.disabled||l.getAttribute("aria-disabled")==="true";if(!l.hasAttribute("tabindex")||!kge(l,o)||d)l=i(e,l,r);else return l.focus(),!0}return!1}const Hlt=b.forwardRef(function(e,t){const{actions:r,autoFocus:n=!1,autoFocusItem:i=!1,children:o,className:a,disabledItemsFocusable:l=!1,disableListWrap:d=!1,onKeyDown:u,variant:p="selectedMenu",...h}=e,f=b.useRef(null),g=b.useRef({keys:[],repeating:!0,previousKeyMatched:!0,lastTime:null});zl(()=>{n&&f.current.focus()},[n]),b.useImperativeHandle(r,()=>({adjustStyleForScrollbar:(C,{direction:S})=>{const k=!f.current.style.width;if(C.clientHeight<f.current.clientHeight&&k){const T=`${qde(Ks(C))}px`;f.current.style[S==="rtl"?"paddingLeft":"paddingRight"]=T,f.current.style.width=`calc(100% + ${T})`}return f.current}}),[]);const y=C=>{const S=f.current,k=C.key;if(C.ctrlKey||C.metaKey||C.altKey){u&&u(C);return}const T=pa(S).activeElement;if(k==="ArrowDown")C.preventDefault(),F4(S,T,d,l,VT);else if(k==="ArrowUp")C.preventDefault(),F4(S,T,d,l,dQ);else if(k==="Home")C.preventDefault(),F4(S,null,d,l,VT);else if(k==="End")C.preventDefault(),F4(S,null,d,l,dQ);else if(k.length===1){const E=g.current,D=k.toLowerCase(),P=performance.now();E.keys.length>0&&(P-E.lastTime>500?(E.keys=[],E.repeating=!0,E.previousKeyMatched=!0):E.repeating&&D!==E.keys[0]&&(E.repeating=!1)),E.lastTime=P,E.keys.push(D);const A=T&&!E.repeating&&kge(T,E);E.previousKeyMatched&&(A||F4(S,T,!1,l,VT,E))?C.preventDefault():E.previousKeyMatched=!1}u&&u(C)},v=yo(f,t);let w=-1;b.Children.forEach(o,(C,S)=>{if(!b.isValidElement(C)){w===S&&(w+=1,w>=o.length&&(w=-1));return}C.props.disabled||(p==="selectedMenu"&&C.props.selected||w===-1)&&(w=S),w===S&&(C.props.disabled||C.props.muiSkipListHighlight||C.type.muiSkipListHighlight)&&(w+=1,w>=o.length&&(w=-1))});const x=b.Children.map(o,(C,S)=>{if(S===w){const k={};return i&&(k.autoFocus=!0),C.props.tabIndex===void 0&&p==="selectedMenu"&&(k.tabIndex=0),b.cloneElement(C,k)}return C});return s.jsx(Blt,{role:"menu",ref:v,className:a,onKeyDown:y,tabIndex:n?0:-1,...h,children:x})});function Vlt(e){return In("MuiMenu",e)}jn("MuiMenu",["root","paper","list"]);const Ult={vertical:"top",horizontal:"right"},Wlt={vertical:"top",horizontal:"left"},Glt=e=>{const{classes:t}=e;return Rn({root:["root"],paper:["paper"],list:["list"]},Vlt,t)},Ylt=qt(Gp,{shouldForwardProp:e=>tl(e)||e==="classes",name:"MuiMenu",slot:"Root"})({}),qlt=qt($ge,{name:"MuiMenu",slot:"Paper"})({maxHeight:"calc(100% - 96px)",WebkitOverflowScrolling:"touch"}),Zlt=qt(Hlt,{name:"MuiMenu",slot:"List"})({outline:0}),Klt=b.forwardRef(function(e,t){const r=Yn({props:e,name:"MuiMenu"}),{autoFocus:n=!0,children:i,className:o,disableAutoFocusItem:a=!1,MenuListProps:l={},onClose:d,open:u,PaperProps:p={},PopoverClasses:h,transitionDuration:f="auto",TransitionProps:{onEntering:g,...y}={},variant:v="selectedMenu",slots:w={},slotProps:x={},...C}=r,S=yg(),k={...r,autoFocus:n,disableAutoFocusItem:a,MenuListProps:l,onEntering:g,PaperProps:p,transitionDuration:f,TransitionProps:y,variant:v},T=Glt(k),E=n&&!a&&u,D=b.useRef(null),P=(L,N)=>{D.current&&D.current.adjustStyleForScrollbar(L,{direction:S?"rtl":"ltr"}),g&&g(L,N)},A=L=>{L.key==="Tab"&&(L.preventDefault(),d&&d(L,"tabKeyDown"))};let I=-1;b.Children.map(i,(L,N)=>{b.isValidElement(L)&&(L.props.disabled||(v==="selectedMenu"&&L.props.selected||I===-1)&&(I=N))});const H={slots:w,slotProps:{list:l,transition:y,paper:p,...x}},R=Uf({elementType:w.root,externalSlotProps:x.root,ownerState:k,className:[T.root,o]}),[Z,Y]=Zr("paper",{className:T.paper,elementType:qlt,externalForwardedProps:H,shouldForwardComponentProp:!0,ownerState:k}),[B,V]=Zr("list",{className:yr(T.list,l.className),elementType:Zlt,shouldForwardComponentProp:!0,externalForwardedProps:H,getSlotProps:L=>({...L,onKeyDown:N=>{A(N),L.onKeyDown?.(N)}}),ownerState:k}),j=typeof H.slotProps.transition=="function"?H.slotProps.transition(k):H.slotProps.transition;return s.jsx(Ylt,{onClose:d,anchorOrigin:{vertical:"bottom",horizontal:S?"right":"left"},transformOrigin:S?Ult:Wlt,slots:{root:w.root,paper:Z,backdrop:w.backdrop,...w.transition&&{transition:w.transition}},slotProps:{root:R,paper:Y,backdrop:typeof x.backdrop=="function"?x.backdrop(k):x.backdrop,transition:{...j,onEntering:(...L)=>{P(...L),j?.onEntering?.(...L)}}},open:u,ref:t,transitionDuration:f,ownerState:k,...C,classes:h,children:s.jsx(B,{actions:D,autoFocus:n&&(I===-1||a),autoFocusItem:E,variant:v,...V,children:i})})});function Qlt(e){return In("MuiNativeSelect",e)}const VO=jn("MuiNativeSelect",["root","select","multiple","filled","outlined","standard","disabled","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]),Xlt=e=>{const{classes:t,variant:r,disabled:n,multiple:i,open:o,error:a}=e,l={select:["select",r,n&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${Rr(r)}`,o&&"iconOpen",n&&"disabled"]};return Rn(l,Qlt,t)},Ege=qt("select",{name:"MuiNativeSelect"})(({theme:e})=>({MozAppearance:"none",WebkitAppearance:"none",userSelect:"none",borderRadius:0,cursor:"pointer","&:focus":{borderRadius:0},[`&.${VO.disabled}`]:{cursor:"default"},"&[multiple]":{height:"auto"},"&:not([multiple]) option, &:not([multiple]) optgroup":{backgroundColor:(e.vars||e).palette.background.paper},variants:[{props:({ownerState:t})=>t.variant!=="filled"&&t.variant!=="outlined",style:{"&&&":{paddingRight:24,minWidth:16}}},{props:{variant:"filled"},style:{"&&&":{paddingRight:32}}},{props:{variant:"outlined"},style:{borderRadius:(e.vars||e).shape.borderRadius,"&:focus":{borderRadius:(e.vars||e).shape.borderRadius},"&&&":{paddingRight:32}}}]})),Jlt=qt(Ege,{name:"MuiNativeSelect",slot:"Select",shouldForwardProp:tl,overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.select,t[r.variant],r.error&&t.error,{[`&.${VO.multiple}`]:t.multiple}]}})({}),_ge=qt("svg",{name:"MuiNativeSelect"})(({theme:e})=>({position:"absolute",right:0,top:"calc(50% - .5em)",pointerEvents:"none",color:(e.vars||e).palette.action.active,[`&.${VO.disabled}`]:{color:(e.vars||e).palette.action.disabled},variants:[{props:({ownerState:t})=>t.open,style:{transform:"rotate(180deg)"}},{props:{variant:"filled"},style:{right:7}},{props:{variant:"outlined"},style:{right:7}}]})),ect=qt(_ge,{name:"MuiNativeSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${Rr(r.variant)}`],r.open&&t.iconOpen]}})({}),tct=b.forwardRef(function(e,t){const{className:r,disabled:n,error:i,IconComponent:o,inputRef:a,variant:l="standard",...d}=e,u={...e,disabled:n,variant:l,error:i},p=Xlt(u);return s.jsxs(b.Fragment,{children:[s.jsx(Jlt,{ownerState:u,className:yr(p.select,r),disabled:n,ref:a||t,...d}),e.multiple?null:s.jsx(ect,{as:o,ownerState:u,className:p.icon})]})});function Tge(e){return In("MuiSelect",e)}const O4=jn("MuiSelect",["root","select","multiple","filled","outlined","standard","disabled","focused","icon","iconOpen","iconFilled","iconOutlined","iconStandard","nativeInput","error"]);var uQ;const rct=qt(Ege,{name:"MuiSelect",slot:"Select",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[{[`&.${O4.select}`]:t.select},{[`&.${O4.select}`]:t[r.variant]},{[`&.${O4.error}`]:t.error},{[`&.${O4.multiple}`]:t.multiple}]}})({[`&.${O4.select}`]:{height:"auto",minHeight:"1.4375em",textOverflow:"ellipsis",whiteSpace:"nowrap",overflow:"hidden"}}),nct=qt(_ge,{name:"MuiSelect",slot:"Icon",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.icon,r.variant&&t[`icon${Rr(r.variant)}`],r.open&&t.iconOpen]}})({}),ict=qt("input",{shouldForwardProp:e=>Gde(e)&&e!=="classes",name:"MuiSelect",slot:"NativeInput"})({bottom:0,left:0,position:"absolute",opacity:0,pointerEvents:"none",width:"100%",boxSizing:"border-box"});function pQ(e,t){return typeof t=="object"&&t!==null?e===t:String(e)===String(t)}function oct(e){return e==null||typeof e=="string"&&!e.trim()}const act=e=>{const{classes:t,variant:r,disabled:n,multiple:i,open:o,error:a}=e,l={select:["select",r,n&&"disabled",i&&"multiple",a&&"error"],icon:["icon",`icon${Rr(r)}`,o&&"iconOpen",n&&"disabled"],nativeInput:["nativeInput"]};return Rn(l,Tge,t)},sct=b.forwardRef(function(e,t){const{"aria-describedby":r,"aria-label":n,autoFocus:i,autoWidth:o,children:a,className:l,defaultOpen:d,defaultValue:u,disabled:p,displayEmpty:h,error:f=!1,IconComponent:g,inputRef:y,labelId:v,MenuProps:w={},multiple:x,name:C,onBlur:S,onChange:k,onClose:T,onFocus:E,onOpen:D,open:P,readOnly:A,renderValue:I,required:H,SelectDisplayProps:R={},tabIndex:Z,type:Y,value:B,variant:V="standard",...j}=e,[L,N]=xv({controlled:B,default:u,name:"Select"}),[z,J]=xv({controlled:P,default:d,name:"Select"}),q=b.useRef(null),U=b.useRef(null),[Q,X]=b.useState(null),{current:oe}=b.useRef(P!=null),[xe,ue]=b.useState(),le=yo(t,y),ae=b.useCallback(nt=>{U.current=nt,nt&&X(nt)},[]),he=Q?.parentNode;b.useImperativeHandle(le,()=>({focus:()=>{U.current.focus()},node:q.current,value:L}),[L]),b.useEffect(()=>{d&&z&&Q&&!oe&&(ue(o?null:he.clientWidth),U.current.focus())},[Q,o]),b.useEffect(()=>{i&&U.current.focus()},[i]),b.useEffect(()=>{if(!v)return;const nt=pa(U.current).getElementById(v);if(nt){const at=()=>{getSelection().isCollapsed&&U.current.focus()};return nt.addEventListener("click",at),()=>{nt.removeEventListener("click",at)}}},[v]);const ge=(nt,at)=>{nt?D&&D(at):T&&T(at),oe||(ue(o?null:he.clientWidth),J(nt))},ne=nt=>{nt.button===0&&(nt.preventDefault(),U.current.focus(),ge(!0,nt))},se=nt=>{ge(!1,nt)},ye=b.Children.toArray(a),je=nt=>{const at=ye.find(jt=>jt.props.value===nt.target.value);at!==void 0&&(N(at.props.value),k&&k(nt,at))},me=nt=>at=>{let jt;if(at.currentTarget.hasAttribute("tabindex")){if(x){jt=Array.isArray(L)?L.slice():[];const or=L.indexOf(nt.props.value);or===-1?jt.push(nt.props.value):jt.splice(or,1)}else jt=nt.props.value;if(nt.props.onClick&&nt.props.onClick(at),L!==jt&&(N(jt),k)){const or=at.nativeEvent||at,sr=new or.constructor(or.type,or);Object.defineProperty(sr,"target",{writable:!0,value:{value:jt,name:C}}),k(sr,nt)}x||ge(!1,at)}},ie=nt=>{A||[" ","ArrowUp","ArrowDown","Enter"].includes(nt.key)&&(nt.preventDefault(),ge(!0,nt))},pe=Q!==null&&z,Ee=nt=>{!pe&&S&&(Object.defineProperty(nt,"target",{writable:!0,value:{value:L,name:C}}),S(nt))};delete j["aria-invalid"];let ve,Ie;const ke=[];let Te=!1;(db({value:L})||h)&&(I?ve=I(L):Te=!0);const Le=ye.map(nt=>{if(!b.isValidElement(nt))return null;let at;if(x){if(!Array.isArray(L))throw new Error(r2(2));at=L.some(jt=>pQ(jt,nt.props.value)),at&&Te&&ke.push(nt.props.children)}else at=pQ(L,nt.props.value),at&&Te&&(Ie=nt.props.children);return b.cloneElement(nt,{"aria-selected":at?"true":"false",onClick:me(nt),onKeyUp:jt=>{jt.key===" "&&jt.preventDefault(),nt.props.onKeyUp&&nt.props.onKeyUp(jt)},role:"option",selected:at,value:void 0,"data-value":nt.props.value})});Te&&(x?ke.length===0?ve=null:ve=ke.reduce((nt,at,jt)=>(nt.push(at),jt<ke.length-1&&nt.push(", "),nt),[]):ve=Ie);let De=xe;!o&&oe&&Q&&(De=he.clientWidth);let ze;typeof Z<"u"?ze=Z:ze=p?null:0;const Ze=R.id||(C?`mui-component-select-${C}`:void 0),Pe={...e,variant:V,value:L,open:pe,error:f},Be=act(Pe),rt={...w.PaperProps,...typeof w.slotProps?.paper=="function"?w.slotProps.paper(Pe):w.slotProps?.paper},pt={...w.MenuListProps,...typeof w.slotProps?.list=="function"?w.slotProps.list(Pe):w.slotProps?.list},mt=Rw();return s.jsxs(b.Fragment,{children:[s.jsx(rct,{as:"div",ref:ae,tabIndex:ze,role:"combobox","aria-controls":pe?mt:void 0,"aria-disabled":p?"true":void 0,"aria-expanded":pe?"true":"false","aria-haspopup":"listbox","aria-label":n,"aria-labelledby":[v,Ze].filter(Boolean).join(" ")||void 0,"aria-describedby":r,"aria-required":H?"true":void 0,"aria-invalid":f?"true":void 0,onKeyDown:ie,onMouseDown:p||A?null:ne,onBlur:Ee,onFocus:E,...R,ownerState:Pe,className:yr(R.className,Be.select,l),id:Ze,children:oct(ve)?uQ||(uQ=s.jsx("span",{className:"notranslate","aria-hidden":!0,children:"​"})):ve}),s.jsx(ict,{"aria-invalid":f,value:Array.isArray(L)?L.join(","):L,name:C,ref:q,"aria-hidden":!0,onChange:je,tabIndex:-1,disabled:p,className:Be.nativeInput,autoFocus:i,required:H,...j,ownerState:Pe}),s.jsx(nct,{as:g,className:Be.icon,ownerState:Pe}),s.jsx(Klt,{id:`menu-${C||""}`,anchorEl:he,open:pe,onClose:se,anchorOrigin:{vertical:"bottom",horizontal:"center"},transformOrigin:{vertical:"top",horizontal:"center"},...w,slotProps:{...w.slotProps,list:{"aria-labelledby":v,role:"listbox","aria-multiselectable":x?"true":void 0,disableListWrap:!0,id:mt,...pt},paper:{...rt,style:{minWidth:De,...rt!=null?rt.style:null}}},children:Le})]})}),lct=xg(s.jsx("path",{d:"M7 10l5 5 5-5z"})),cct=e=>{const{classes:t}=e,r=Rn({root:["root"]},Tge,t);return{...t,...r}},UO={name:"MuiSelect",slot:"Root",shouldForwardProp:e=>tl(e)&&e!=="variant"},dct=qt(zO,UO)(""),uct=qt(HO,UO)(""),pct=qt(BO,UO)(""),Age=b.forwardRef(function(e,t){const r=Yn({name:"MuiSelect",props:e}),{autoWidth:n=!1,children:i,classes:o={},className:a,defaultOpen:l=!1,displayEmpty:d=!1,IconComponent:u=lct,id:p,input:h,inputProps:f,label:g,labelId:y,MenuProps:v,multiple:w=!1,native:x=!1,onClose:C,onOpen:S,open:k,renderValue:T,SelectDisplayProps:E,variant:D="outlined",...P}=r,A=x?tct:sct,I=_m(),H=Dg({props:r,muiFormControl:I,states:["variant","error"]}),R=H.variant||D,Z={...r,variant:R,classes:o},Y=cct(Z),{root:B,...V}=Y,j=h||{standard:s.jsx(dct,{ownerState:Z}),outlined:s.jsx(uct,{label:g,ownerState:Z}),filled:s.jsx(pct,{ownerState:Z})}[R],L=yo(t,Bp(j));return s.jsx(b.Fragment,{children:b.cloneElement(j,{inputComponent:A,inputProps:{children:i,error:H.error,IconComponent:u,variant:R,type:void 0,multiple:w,...x?{id:p}:{autoWidth:n,defaultOpen:l,displayEmpty:d,labelId:y,MenuProps:v,onClose:C,onOpen:S,open:k,renderValue:T,SelectDisplayProps:{id:p,...E}},...f,classes:f?_a(V,f.classes):V,...h?h.props.inputProps:{}},...(w&&x||d)&&R==="outlined"?{notched:!0}:{},ref:L,className:yr(j.props.className,a,Y.root),...!h&&{variant:R},...P})})});Age.muiName="Select";function hct(e){return In("MuiTextField",e)}jn("MuiTextField",["root"]);const mct={standard:zO,filled:BO,outlined:HO},fct=e=>{const{classes:t}=e;return Rn({root:["root"]},hct,t)},gct=qt(Plt,{name:"MuiTextField",slot:"Root"})({}),rZr=b.forwardRef(function(e,t){const r=Yn({props:e,name:"MuiTextField"}),{autoComplete:n,autoFocus:i=!1,children:o,className:a,color:l="primary",defaultValue:d,disabled:u=!1,error:p=!1,FormHelperTextProps:h,fullWidth:f=!1,helperText:g,id:y,InputLabelProps:v,inputProps:w,InputProps:x,inputRef:C,label:S,maxRows:k,minRows:T,multiline:E=!1,name:D,onBlur:P,onChange:A,onFocus:I,placeholder:H,required:R=!1,rows:Z,select:Y=!1,SelectProps:B,slots:V={},slotProps:j={},type:L,value:N,variant:z="outlined",...J}=r,q={...r,autoFocus:i,color:l,disabled:u,error:p,fullWidth:f,multiline:E,required:R,select:Y,variant:z},U=fct(q),Q=Rw(y),X=g&&Q?`${Q}-helper-text`:void 0,oe=S&&Q?`${Q}-label`:void 0,xe=mct[z],ue={slots:V,slotProps:{input:x,inputLabel:v,htmlInput:w,formHelperText:h,select:B,...j}},le={},ae=ue.slotProps.inputLabel;z==="outlined"&&(ae&&typeof ae.shrink<"u"&&(le.notched=ae.shrink),le.label=S),Y&&((!B||!B.native)&&(le.id=void 0),le["aria-describedby"]=void 0);const[he,ge]=Zr("root",{elementType:gct,shouldForwardComponentProp:!0,externalForwardedProps:{...ue,...J},ownerState:q,className:yr(U.root,a),ref:t,additionalProps:{disabled:u,error:p,fullWidth:f,required:R,color:l,variant:z}}),[ne,se]=Zr("input",{elementType:xe,externalForwardedProps:ue,additionalProps:le,ownerState:q}),[ye,je]=Zr("inputLabel",{elementType:Tlt,externalForwardedProps:ue,ownerState:q}),[me,ie]=Zr("htmlInput",{elementType:"input",externalForwardedProps:ue,ownerState:q}),[pe,Ee]=Zr("formHelperText",{elementType:Rlt,externalForwardedProps:ue,ownerState:q}),[ve,Ie]=Zr("select",{elementType:Age,externalForwardedProps:ue,ownerState:q}),ke=s.jsx(ne,{"aria-describedby":X,autoComplete:n,autoFocus:i,defaultValue:d,fullWidth:f,multiline:E,name:D,rows:Z,maxRows:k,minRows:T,type:L,value:N,id:Q,inputRef:C,onBlur:P,onChange:A,onFocus:I,placeholder:H,inputProps:ie,slots:{input:V.htmlInput?me:void 0},...se});return s.jsxs(he,{...ge,children:[S!=null&&S!==""&&s.jsx(ye,{htmlFor:Q,id:oe,...je,children:S}),Y?s.jsx(ve,{"aria-describedby":X,id:Q,labelId:oe,value:N,input:ke,...Ie,children:o}):ke,g&&s.jsx(pe,{id:X,...Ee,children:g})]})});function yct(e={}){const{nonce:t,onScriptLoadSuccess:r,onScriptLoadError:n}=e,[i,o]=b.useState(!1),a=b.useRef(r);a.current=r;const l=b.useRef(n);return l.current=n,b.useEffect(()=>{const d=document.createElement("script");return d.src="https://accounts.google.com/gsi/client",d.async=!0,d.defer=!0,d.nonce=t,d.onload=()=>{var u;o(!0),(u=a.current)===null||u===void 0||u.call(a)},d.onerror=()=>{var u;o(!1),(u=l.current)===null||u===void 0||u.call(l)},document.body.appendChild(d),()=>{document.body.removeChild(d)}},[t]),i}const Lge=b.createContext(null);function nZr({clientId:e,nonce:t,onScriptLoadSuccess:r,onScriptLoadError:n,children:i}){const o=yct({nonce:t,onScriptLoadSuccess:r,onScriptLoadError:n}),a=b.useMemo(()=>({clientId:e,scriptLoadedSuccessfully:o}),[e,o]);return $.createElement(Lge.Provider,{value:a},i)}function vct(){const e=b.useContext(Lge);if(!e)throw new Error("Google OAuth components must be used within GoogleOAuthProvider");return e}function iZr({flow:e="implicit",scope:t="",onSuccess:r,onError:n,onNonOAuthError:i,overrideScope:o,state:a,...l}){const{clientId:d,scriptLoadedSuccessfully:u}=vct(),p=b.useRef(),h=b.useRef(r);h.current=r;const f=b.useRef(n);f.current=n;const g=b.useRef(i);g.current=i,b.useEffect(()=>{var w,x;if(!u)return;const C=e==="implicit"?"initTokenClient":"initCodeClient",S=(x=(w=window?.google)===null||w===void 0?void 0:w.accounts)===null||x===void 0?void 0:x.oauth2[C]({client_id:d,scope:o?t:`openid profile email ${t}`,callback:k=>{var T,E;if(k.error)return(T=f.current)===null||T===void 0?void 0:T.call(f,k);(E=h.current)===null||E===void 0||E.call(h,k)},error_callback:k=>{var T;(T=g.current)===null||T===void 0||T.call(g,k)},state:a,...l});p.current=S},[d,u,e,t,a]);const y=b.useCallback(w=>{var x;return(x=p.current)===null||x===void 0?void 0:x.requestAccessToken(w)},[]),v=b.useCallback(()=>{var w;return(w=p.current)===null||w===void 0?void 0:w.requestCode()},[]);return e==="implicit"?y:v}var UT,hQ;function Dge(){if(hQ)return UT;hQ=1;var e=Nw(),t=wg(),r=r9(),n=Fc();function i(o,a,l){if(!n(l))return!1;var d=typeof a;return(d=="number"?t(l)&&r(a,l.length):d=="string"&&a in l)?e(l[a],o):!1}return UT=i,UT}var WT,mQ;function bct(){if(mQ)return WT;mQ=1;var e=jO(),t=Dge(),r=wx(),n=Math.ceil,i=Math.max;function o(a,l,d){(d?t(a,l,d):l===void 0)?l=1:l=i(r(l),0);var u=a==null?0:a.length;if(!u||l<1)return[];for(var p=0,h=0,f=Array(n(u/l));p<u;)f[h++]=e(a,p,p+=l);return f}return WT=o,WT}var wct=bct();const oZr=$r(wct);var GT,fQ;function xct(){if(fQ)return GT;fQ=1;function e(t){for(var r=-1,n=t==null?0:t.length,i=0,o=[];++r<n;){var a=t[r];a&&(o[i++]=a)}return o}return GT=e,GT}var Cct=xct();const aZr=$r(Cct);var YT,gQ;function $ct(){if(gQ)return YT;gQ=1;function e(t){return function(r,n,i){for(var o=-1,a=Object(r),l=i(r),d=l.length;d--;){var u=l[t?d:++o];if(n(a[u],u,a)===!1)break}return r}}return YT=e,YT}var qT,yQ;function Sct(){if(yQ)return qT;yQ=1;var e=$ct(),t=e();return qT=t,qT}var ZT,vQ;function Pge(){if(vQ)return ZT;vQ=1;var e=Sct(),t=n9();function r(n,i){return n&&e(n,i,t)}return ZT=r,ZT}var KT,bQ;function kct(){if(bQ)return KT;bQ=1;var e=wg();function t(r,n){return function(i,o){if(i==null)return i;if(!e(i))return r(i,o);for(var a=i.length,l=n?a:-1,d=Object(i);(n?l--:++l<a)&&o(d[l],l,d)!==!1;);return i}}return KT=t,KT}var QT,wQ;function g9(){if(wQ)return QT;wQ=1;var e=Pge(),t=kct(),r=t(e);return QT=r,QT}var XT,xQ;function Mge(){if(xQ)return XT;xQ=1;var e=Tg();function t(r){return typeof r=="function"?r:e}return XT=t,XT}var JT,CQ;function Ect(){if(CQ)return JT;CQ=1;var e=Lue(),t=g9(),r=Mge(),n=qo();function i(o,a){var l=n(o)?e:t;return l(o,r(a))}return JT=i,JT}var $Q,SQ;function _ct(){return SQ||(SQ=1,$Q=Ect()),$Q}var Tct=_ct();const sZr=$r(Tct);var eA,kQ;function Act(){if(kQ)return eA;kQ=1;function e(t,r,n,i){var o=-1,a=t==null?0:t.length;for(i&&a&&(n=t[++o]);++o<a;)n=r(n,t[o],o,t);return n}return eA=e,eA}var tA,EQ;function Ige(){if(EQ)return tA;EQ=1;function e(t,r){return function(n){return n==null?!1:n[t]===r&&(r!==void 0||t in Object(n))}}return tA=e,tA}var rA,_Q;function Lct(){if(_Q)return rA;_Q=1;var e=Pfe(),t=Ife(),r=Ige();function n(i){var o=t(i);return o.length==1&&o[0][2]?r(o[0][0],o[0][1]):function(a){return a===i||e(a,i,o)}}return rA=n,rA}var nA,TQ;function Dct(){if(TQ)return nA;TQ=1;function e(t,r){return t!=null&&r in Object(t)}return nA=e,nA}var iA,AQ;function Pct(){if(AQ)return iA;AQ=1;var e=Dct(),t=Rue();function r(n,i){return n!=null&&t(n,i,e)}return iA=r,iA}var oA,LQ;function Mct(){if(LQ)return oA;LQ=1;var e=vF(),t=j3e(),r=Pct(),n=JF(),i=Mfe(),o=Ige(),a=Eg(),l=1,d=2;function u(p,h){return n(p)&&i(h)?o(a(p),h):function(f){var g=t(f,p);return g===void 0&&g===h?r(f,p):e(h,g,l|d)}}return oA=u,oA}var aA,DQ;function Ict(){if(DQ)return aA;DQ=1;var e=f9();function t(r){return function(n){return e(n,r)}}return aA=t,aA}var sA,PQ;function jct(){if(PQ)return sA;PQ=1;var e=FO(),t=Ict(),r=JF(),n=Eg();function i(o){return r(o)?e(n(o)):t(o)}return sA=i,sA}var lA,MQ;function Yp(){if(MQ)return lA;MQ=1;var e=Lct(),t=Mct(),r=Tg(),n=qo(),i=jct();function o(a){return typeof a=="function"?a:a==null?r:typeof a=="object"?n(a)?t(a[0],a[1]):e(a):i(a)}return lA=o,lA}var cA,IQ;function Rct(){if(IQ)return cA;IQ=1;function e(t,r,n,i,o){return o(t,function(a,l,d){n=i?(i=!1,a):r(n,a,l,d)}),n}return cA=e,cA}var dA,jQ;function Fct(){if(jQ)return dA;jQ=1;var e=Act(),t=g9(),r=Yp(),n=Rct(),i=qo();function o(a,l,d){var u=i(a)?e:n,p=arguments.length<3;return u(a,r(l,4),d,p,t)}return dA=o,dA}var Oct=Fct();const lZr=$r(Oct);var uA,RQ;function Nct(){if(RQ)return uA;RQ=1;var e=wg(),t=c2();function r(n){return t(n)&&e(n)}return uA=r,uA}var pA,FQ;function zct(){if(FQ)return pA;FQ=1;var e=uF(),t=Sm(),r=FO(),n=u1e(),i=Nct(),o=Math.max;function a(l){if(!(l&&l.length))return[];var d=0;return l=e(l,function(u){if(i(u))return d=o(u.length,d),!0}),n(d,function(u){return t(l,r(u))})}return pA=a,pA}var hA,OQ;function Bct(){if(OQ)return hA;OQ=1;var e=e2e(),t=Sm(),r=zct();function n(i,o){if(!(i&&i.length))return[];var a=r(i);return o==null?a:t(a,function(l){return e(o,void 0,l)})}return hA=n,hA}var mA,NQ;function Hct(){if(NQ)return mA;NQ=1;var e=n2e(),t=Bct(),r=e(function(n){var i=n.length,o=i>1?n[i-1]:void 0;return o=typeof o=="function"?(n.pop(),o):void 0,t(n,o)});return mA=r,mA}var Vct=Hct();const cZr=$r(Vct);function Uct(e,t){var r=b.useRef(null),n=b.useRef(null),i=b.useRef(),o=b.useCallback(function(){var a=null;r.current?a=r.current:t&&(t instanceof HTMLElement?a=t:a=t.current),!(n.current&&n.current.element===a&&n.current.reporter===o)&&(i.current&&(i.current(),i.current=null),n.current={reporter:o,element:a},a&&(i.current=e(a)))},[t,e]);return b.useEffect(function(){o()},[o]),b.useCallback(function(a){r.current=a,o()},[o])}var zQ=function(e,t,r){return e[t]?e[t][0]?e[t][0][r]:e[t][r]:t==="contentBoxSize"?e.contentRect[r==="inlineSize"?"width":"height"]:void 0};function dZr(e){e===void 0&&(e={});var t=e.onResize,r=b.useRef(void 0);r.current=t;var n=e.round||Math.round,i=b.useRef(),o=b.useState({width:void 0,height:void 0}),a=o[0],l=o[1],d=b.useRef(!1);b.useEffect(function(){return function(){d.current=!0}},[]);var u=b.useRef({width:void 0,height:void 0}),p=Uct(b.useCallback(function(h){return(!i.current||i.current.box!==e.box||i.current.round!==n)&&(i.current={box:e.box,round:n,instance:new ResizeObserver(function(f){var g=f[0],y=e.box==="border-box"?"borderBoxSize":e.box==="device-pixel-content-box"?"devicePixelContentBoxSize":"contentBoxSize",v=zQ(g,y,"inlineSize"),w=zQ(g,y,"blockSize"),x=v?n(v):void 0,C=w?n(w):void 0;if(u.current.width!==x||u.current.height!==C){var S={width:x,height:C};u.current.width=x,u.current.height=C,r.current?r.current(S):d.current||l(S)}})}),i.current.instance.observe(h,{box:e.box}),function(){i.current&&i.current.instance.unobserve(h)}},[e.box,n]),e.ref);return b.useMemo(function(){return{ref:p,width:a.width,height:a.height}},[p,a?a.width:null,a?a.height:null])}var fA,BQ;function Wct(){if(BQ)return fA;BQ=1;var e=Pge(),t=Mge();function r(n,i){return n&&e(n,t(i))}return fA=r,fA}var Gct=Wct();const uZr=$r(Gct);var gA,HQ;function jge(){if(HQ)return gA;HQ=1;var e=g9(),t=wg();function r(n,i){var o=-1,a=t(n)?Array(n.length):[];return e(n,function(l,d,u){a[++o]=i(l,d,u)}),a}return gA=r,gA}var yA,VQ;function Rge(){if(VQ)return yA;VQ=1;var e=Sm(),t=Yp(),r=jge(),n=qo();function i(o,a){var l=n(o)?e:r;return l(o,t(a,3))}return yA=i,yA}var Yct=Rge();const pZr=$r(Yct);var vA,UQ;function qct(){if(UQ)return vA;UQ=1;var e=qF(),t=kg(),r=r9(),n=Fc(),i=Eg();function o(a,l,d,u){if(!n(a))return a;l=t(l,a);for(var p=-1,h=l.length,f=h-1,g=a;g!=null&&++p<h;){var y=i(l[p]),v=d;if(y==="__proto__"||y==="constructor"||y==="prototype")return a;if(p!=f){var w=g[y];v=u?u(w,y,g):void 0,v===void 0&&(v=n(w)?w:r(l[p+1])?[]:{})}e(g,y,v),g=g[y]}return a}return vA=o,vA}var bA,WQ;function Zct(){if(WQ)return bA;WQ=1;var e=f9(),t=qct(),r=kg();function n(i,o,a){for(var l=-1,d=o.length,u={};++l<d;){var p=o[l],h=e(i,p);a(h,p)&&t(u,r(p,i),h)}return u}return bA=n,bA}var wA,GQ;function Kct(){if(GQ)return wA;GQ=1;var e=Sm(),t=Yp(),r=Zct(),n=QF();function i(o,a){if(o==null)return{};var l=e(n(o),function(d){return[d]});return a=t(a),r(o,l,function(d,u){return a(d,u[0])})}return wA=i,wA}var Qct=Kct();const hZr=$r(Qct);var xA,YQ;function Xct(){if(YQ)return xA;YQ=1;var e=g9();function t(r,n){var i=[];return e(r,function(o,a,l){n(o,a,l)&&i.push(o)}),i}return xA=t,xA}var CA,qQ;function Jct(){if(qQ)return CA;qQ=1;var e=uF(),t=Xct(),r=Yp(),n=qo();function i(o,a){var l=n(o)?e:t;return l(o,r(a,3))}return CA=i,CA}var edt=Jct();const mZr=$r(edt);var $A,ZQ;function tdt(){if(ZQ)return $A;ZQ=1;function e(t,r,n,i){for(var o=-1,a=t==null?0:t.length;++o<a;){var l=t[o];r(i,l,n(l),t)}return i}return $A=e,$A}var SA,KQ;function rdt(){if(KQ)return SA;KQ=1;var e=g9();function t(r,n,i,o){return e(r,function(a,l,d){n(o,a,i(a),d)}),o}return SA=t,SA}var kA,QQ;function ndt(){if(QQ)return kA;QQ=1;var e=tdt(),t=rdt(),r=Yp(),n=qo();function i(o,a){return function(l,d){var u=n(l)?e:t,p=a?a():{};return u(l,o,r(d,2),p)}}return kA=i,kA}var EA,XQ;function idt(){if(XQ)return EA;XQ=1;var e=YF(),t=ndt(),r=Object.prototype,n=r.hasOwnProperty,i=t(function(o,a,l){n.call(o,l)?o[l].push(a):e(o,l,[a])});return EA=i,EA}var odt=idt();const fZr=$r(odt);var _A,JQ;function adt(){if(JQ)return _A;JQ=1;function e(t,r){var n=t.length;for(t.sort(r);n--;)t[n]=t[n].value;return t}return _A=e,_A}var TA,eX;function sdt(){if(eX)return TA;eX=1;var e=c9();function t(r,n){if(r!==n){var i=r!==void 0,o=r===null,a=r===r,l=e(r),d=n!==void 0,u=n===null,p=n===n,h=e(n);if(!u&&!h&&!l&&r>n||l&&d&&p&&!u&&!h||o&&d&&p||!i&&p||!a)return 1;if(!o&&!l&&!h&&r<n||h&&i&&a&&!o&&!l||u&&i&&a||!d&&a||!p)return-1}return 0}return TA=t,TA}var AA,tX;function ldt(){if(tX)return AA;tX=1;var e=sdt();function t(r,n,i){for(var o=-1,a=r.criteria,l=n.criteria,d=a.length,u=i.length;++o<d;){var p=e(a[o],l[o]);if(p){if(o>=u)return p;var h=i[o];return p*(h=="desc"?-1:1)}}return r.index-n.index}return AA=t,AA}var LA,rX;function cdt(){if(rX)return LA;rX=1;var e=Sm(),t=f9(),r=Yp(),n=jge(),i=adt(),o=Uw(),a=ldt(),l=Tg(),d=qo();function u(p,h,f){h.length?h=e(h,function(v){return d(v)?function(w){return t(w,v.length===1?v[0]:v)}:v}):h=[l];var g=-1;h=e(h,o(r));var y=n(p,function(v,w,x){var C=e(h,function(S){return S(v)});return{criteria:C,index:++g,value:v}});return i(y,function(v,w){return a(v,w,f)})}return LA=u,LA}var DA,nX;function ddt(){if(nX)return DA;nX=1;var e=cdt(),t=qo();function r(n,i,o,a){return n==null?[]:(t(i)||(i=i==null?[]:[i]),o=a?void 0:o,t(o)||(o=o==null?[]:[o]),e(n,i,o))}return DA=r,DA}var udt=ddt();const gZr=$r(udt);var N4={exports:{}},iX={},M6={exports:{}},oX;function pdt(){if(oX)return M6.exports;oX=1;function e(r){var n,i,o="";if(typeof r=="string"||typeof r=="number")o+=r;else if(typeof r=="object")if(Array.isArray(r)){var a=r.length;for(n=0;n<a;n++)r[n]&&(i=e(r[n]))&&(o&&(o+=" "),o+=i)}else for(i in r)r[i]&&(o&&(o+=" "),o+=i);return o}function t(){for(var r,n,i=0,o="",a=arguments.length;i<a;i++)(r=arguments[i])&&(n=e(r))&&(o&&(o+=" "),o+=n);return o}return M6.exports=t,M6.exports.clsx=t,M6.exports}var Zi={},D2={},aX;function kx(){if(aX)return D2;aX=1,Object.defineProperty(D2,"__esModule",{value:!0}),D2.dontSetMe=i,D2.findInArray=e,D2.int=n,D2.isFunction=t,D2.isNum=r;function e(o,a){for(let l=0,d=o.length;l<d;l++)if(a.apply(a,[o[l],l,o]))return o[l]}function t(o){return typeof o=="function"||Object.prototype.toString.call(o)==="[object Function]"}function r(o){return typeof o=="number"&&!isNaN(o)}function n(o){return parseInt(o,10)}function i(o,a,l){if(o[a])return new Error(`Invalid prop ${a} passed to ${l} - do not set this, set it on the child.`)}return D2}var P2={},sX;function hdt(){if(sX)return P2;sX=1,Object.defineProperty(P2,"__esModule",{value:!0}),P2.browserPrefixToKey=r,P2.browserPrefixToStyle=n,P2.default=void 0,P2.getPrefix=t;const e=["Moz","Webkit","O","ms"];function t(){let o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"transform";if(typeof window>"u")return"";const a=window.document?.documentElement?.style;if(!a||o in a)return"";for(let l=0;l<e.length;l++)if(r(o,e[l])in a)return e[l];return""}function r(o,a){return a?`${a}${i(o)}`:o}function n(o,a){return a?`-${a.toLowerCase()}-${o}`:o}function i(o){let a="",l=!0;for(let d=0;d<o.length;d++)l?(a+=o[d].toUpperCase(),l=!1):o[d]==="-"?l=!0:a+=o[d];return a}return P2.default=t(),P2}var lX;function WO(){if(lX)return Zi;lX=1,Object.defineProperty(Zi,"__esModule",{value:!0}),Zi.addClassName=T,Zi.addEvent=a,Zi.addUserSelectStyles=C,Zi.createCSSTransform=g,Zi.createSVGTransform=y,Zi.getTouch=w,Zi.getTouchIdentifier=x,Zi.getTranslation=v,Zi.innerHeight=p,Zi.innerWidth=h,Zi.matchesSelector=i,Zi.matchesSelectorAndParentsTo=o,Zi.offsetXYFromParent=f,Zi.outerHeight=d,Zi.outerWidth=u,Zi.removeClassName=E,Zi.removeEvent=l,Zi.scheduleRemoveUserSelectStyles=S;var e=kx(),t=r(hdt());function r(D,P){if(typeof WeakMap=="function")var A=new WeakMap,I=new WeakMap;return(r=function(H,R){if(!R&&H&&H.__esModule)return H;var Z,Y,B={__proto__:null,default:H};if(H===null||typeof H!="object"&&typeof H!="function")return B;if(Z=R?I:A){if(Z.has(H))return Z.get(H);Z.set(H,B)}for(const V in H)V!=="default"&&{}.hasOwnProperty.call(H,V)&&((Y=(Z=Object.defineProperty)&&Object.getOwnPropertyDescriptor(H,V))&&(Y.get||Y.set)?Z(B,V,Y):B[V]=H[V]);return B})(D,P)}let n="";function i(D,P){return n||(n=(0,e.findInArray)(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(A){return(0,e.isFunction)(D[A])})),(0,e.isFunction)(D[n])?D[n](P):!1}function o(D,P,A){let I=D;do{if(i(I,P))return!0;if(I===A)return!1;I=I.parentNode}while(I);return!1}function a(D,P,A,I){if(!D)return;const H={capture:!0,...I};D.addEventListener?D.addEventListener(P,A,H):D.attachEvent?D.attachEvent("on"+P,A):D["on"+P]=A}function l(D,P,A,I){if(!D)return;const H={capture:!0,...I};D.removeEventListener?D.removeEventListener(P,A,H):D.detachEvent?D.detachEvent("on"+P,A):D["on"+P]=null}function d(D){let P=D.clientHeight;const A=D.ownerDocument.defaultView.getComputedStyle(D);return P+=(0,e.int)(A.borderTopWidth),P+=(0,e.int)(A.borderBottomWidth),P}function u(D){let P=D.clientWidth;const A=D.ownerDocument.defaultView.getComputedStyle(D);return P+=(0,e.int)(A.borderLeftWidth),P+=(0,e.int)(A.borderRightWidth),P}function p(D){let P=D.clientHeight;const A=D.ownerDocument.defaultView.getComputedStyle(D);return P-=(0,e.int)(A.paddingTop),P-=(0,e.int)(A.paddingBottom),P}function h(D){let P=D.clientWidth;const A=D.ownerDocument.defaultView.getComputedStyle(D);return P-=(0,e.int)(A.paddingLeft),P-=(0,e.int)(A.paddingRight),P}function f(D,P,A){const I=P===P.ownerDocument.body?{left:0,top:0}:P.getBoundingClientRect(),H=(D.clientX+P.scrollLeft-I.left)/A,R=(D.clientY+P.scrollTop-I.top)/A;return{x:H,y:R}}function g(D,P){const A=v(D,P,"px");return{[(0,t.browserPrefixToKey)("transform",t.default)]:A}}function y(D,P){return v(D,P,"")}function v(D,P,A){let{x:I,y:H}=D,R=`translate(${I}${A},${H}${A})`;if(P){const Z=`${typeof P.x=="string"?P.x:P.x+A}`,Y=`${typeof P.y=="string"?P.y:P.y+A}`;R=`translate(${Z}, ${Y})`+R}return R}function w(D,P){return D.targetTouches&&(0,e.findInArray)(D.targetTouches,A=>P===A.identifier)||D.changedTouches&&(0,e.findInArray)(D.changedTouches,A=>P===A.identifier)}function x(D){if(D.targetTouches&&D.targetTouches[0])return D.targetTouches[0].identifier;if(D.changedTouches&&D.changedTouches[0])return D.changedTouches[0].identifier}function C(D){if(!D)return;let P=D.getElementById("react-draggable-style-el");P||(P=D.createElement("style"),P.type="text/css",P.id="react-draggable-style-el",P.innerHTML=`.react-draggable-transparent-selection *::-moz-selection {all: inherit;}
210
210
  `,P.innerHTML+=`.react-draggable-transparent-selection *::selection {all: inherit;}
211
211
  `,D.getElementsByTagName("head")[0].appendChild(P)),D.body&&T(D.body,"react-draggable-transparent-selection")}function S(D){window.requestAnimationFrame?window.requestAnimationFrame(()=>{k(D)}):k(D)}function k(D){if(D)try{if(D.body&&E(D.body,"react-draggable-transparent-selection"),D.selection)D.selection.empty();else{const P=(D.defaultView||window).getSelection();P&&P.type!=="Caret"&&P.removeAllRanges()}}catch{}}function T(D,P){D.classList?D.classList.add(P):D.className.match(new RegExp(`(?:^|\\s)${P}(?!\\S)`))||(D.className+=` ${P}`)}function E(D,P){D.classList?D.classList.remove(P):D.className=D.className.replace(new RegExp(`(?:^|\\s)${P}(?!\\S)`,"g"),"")}return Zi}var Gd={},cX;function Fge(){if(cX)return Gd;cX=1,Object.defineProperty(Gd,"__esModule",{value:!0}),Gd.canDragX=i,Gd.canDragY=o,Gd.createCoreData=l,Gd.createDraggableData=d,Gd.getBoundPosition=r,Gd.getControlPosition=a,Gd.snapToGrid=n;var e=kx(),t=WO();function r(h,f,g){if(!h.props.bounds)return[f,g];let{bounds:y}=h.props;y=typeof y=="string"?y:u(y);const v=p(h);if(typeof y=="string"){const{ownerDocument:w}=v,x=w.defaultView;let C;if(y==="parent"?C=v.parentNode:C=v.getRootNode().querySelector(y),!(C instanceof x.HTMLElement))throw new Error('Bounds selector "'+y+'" could not find an element.');const S=C,k=x.getComputedStyle(v),T=x.getComputedStyle(S);y={left:-v.offsetLeft+(0,e.int)(T.paddingLeft)+(0,e.int)(k.marginLeft),top:-v.offsetTop+(0,e.int)(T.paddingTop)+(0,e.int)(k.marginTop),right:(0,t.innerWidth)(S)-(0,t.outerWidth)(v)-v.offsetLeft+(0,e.int)(T.paddingRight)-(0,e.int)(k.marginRight),bottom:(0,t.innerHeight)(S)-(0,t.outerHeight)(v)-v.offsetTop+(0,e.int)(T.paddingBottom)-(0,e.int)(k.marginBottom)}}return(0,e.isNum)(y.right)&&(f=Math.min(f,y.right)),(0,e.isNum)(y.bottom)&&(g=Math.min(g,y.bottom)),(0,e.isNum)(y.left)&&(f=Math.max(f,y.left)),(0,e.isNum)(y.top)&&(g=Math.max(g,y.top)),[f,g]}function n(h,f,g){const y=Math.round(f/h[0])*h[0],v=Math.round(g/h[1])*h[1];return[y,v]}function i(h){return h.props.axis==="both"||h.props.axis==="x"}function o(h){return h.props.axis==="both"||h.props.axis==="y"}function a(h,f,g){const y=typeof f=="number"?(0,t.getTouch)(h,f):null;if(typeof f=="number"&&!y)return null;const v=p(g),w=g.props.offsetParent||v.offsetParent||v.ownerDocument.body;return(0,t.offsetXYFromParent)(y||h,w,g.props.scale)}function l(h,f,g){const y=!(0,e.isNum)(h.lastX),v=p(h);return y?{node:v,deltaX:0,deltaY:0,lastX:f,lastY:g,x:f,y:g}:{node:v,deltaX:f-h.lastX,deltaY:g-h.lastY,lastX:h.lastX,lastY:h.lastY,x:f,y:g}}function d(h,f){const g=h.props.scale;return{node:f.node,x:h.state.x+f.deltaX/g,y:h.state.y+f.deltaY/g,deltaX:f.deltaX/g,deltaY:f.deltaY/g,lastX:h.state.x,lastY:h.state.y}}function u(h){return{left:h.left,top:h.top,right:h.right,bottom:h.bottom}}function p(h){const f=h.findDOMNode();if(!f)throw new Error("<DraggableCore>: Unmounted during event!");return f}return Gd}var z4={},I6={},dX;function Oge(){if(dX)return I6;dX=1,Object.defineProperty(I6,"__esModule",{value:!0}),I6.default=e;function e(){}return I6}var uX;function mdt(){if(uX)return z4;uX=1,Object.defineProperty(z4,"__esModule",{value:!0}),z4.default=void 0;var e=d($),t=l(zR()),r=l(jh),n=WO(),i=Fge(),o=kx(),a=l(Oge());function l(v){return v&&v.__esModule?v:{default:v}}function d(v,w){if(typeof WeakMap=="function")var x=new WeakMap,C=new WeakMap;return(d=function(S,k){if(!k&&S&&S.__esModule)return S;var T,E,D={__proto__:null,default:S};if(S===null||typeof S!="object"&&typeof S!="function")return D;if(T=k?C:x){if(T.has(S))return T.get(S);T.set(S,D)}for(const P in S)P!=="default"&&{}.hasOwnProperty.call(S,P)&&((E=(T=Object.defineProperty)&&Object.getOwnPropertyDescriptor(S,P))&&(E.get||E.set)?T(D,P,E):D[P]=S[P]);return D})(v,w)}function u(v,w,x){return(w=p(w))in v?Object.defineProperty(v,w,{value:x,enumerable:!0,configurable:!0,writable:!0}):v[w]=x,v}function p(v){var w=h(v,"string");return typeof w=="symbol"?w:w+""}function h(v,w){if(typeof v!="object"||!v)return v;var x=v[Symbol.toPrimitive];if(x!==void 0){var C=x.call(v,w);if(typeof C!="object")return C;throw new TypeError("@@toPrimitive must return a primitive value.")}return(w==="string"?String:Number)(v)}const f={touch:{start:"touchstart",move:"touchmove",stop:"touchend"},mouse:{start:"mousedown",move:"mousemove",stop:"mouseup"}};let g=f.mouse,y=class extends e.Component{constructor(){super(...arguments),u(this,"dragging",!1),u(this,"lastX",NaN),u(this,"lastY",NaN),u(this,"touchIdentifier",null),u(this,"mounted",!1),u(this,"handleDragStart",v=>{if(this.props.onMouseDown(v),!this.props.allowAnyClick&&typeof v.button=="number"&&v.button!==0)return!1;const w=this.findDOMNode();if(!w||!w.ownerDocument||!w.ownerDocument.body)throw new Error("<DraggableCore> not mounted on DragStart!");const{ownerDocument:x}=w;if(this.props.disabled||!(v.target instanceof x.defaultView.Node)||this.props.handle&&!(0,n.matchesSelectorAndParentsTo)(v.target,this.props.handle,w)||this.props.cancel&&(0,n.matchesSelectorAndParentsTo)(v.target,this.props.cancel,w))return;v.type==="touchstart"&&!this.props.allowMobileScroll&&v.preventDefault();const C=(0,n.getTouchIdentifier)(v);this.touchIdentifier=C;const S=(0,i.getControlPosition)(v,C,this);if(S==null)return;const{x:k,y:T}=S,E=(0,i.createCoreData)(this,k,T);(0,a.default)("DraggableCore: handleDragStart: %j",E),(0,a.default)("calling",this.props.onStart),!(this.props.onStart(v,E)===!1||this.mounted===!1)&&(this.props.enableUserSelectHack&&(0,n.addUserSelectStyles)(x),this.dragging=!0,this.lastX=k,this.lastY=T,(0,n.addEvent)(x,g.move,this.handleDrag),(0,n.addEvent)(x,g.stop,this.handleDragStop))}),u(this,"handleDrag",v=>{const w=(0,i.getControlPosition)(v,this.touchIdentifier,this);if(w==null)return;let{x,y:C}=w;if(Array.isArray(this.props.grid)){let k=x-this.lastX,T=C-this.lastY;if([k,T]=(0,i.snapToGrid)(this.props.grid,k,T),!k&&!T)return;x=this.lastX+k,C=this.lastY+T}const S=(0,i.createCoreData)(this,x,C);if((0,a.default)("DraggableCore: handleDrag: %j",S),this.props.onDrag(v,S)===!1||this.mounted===!1){try{this.handleDragStop(new MouseEvent("mouseup"))}catch{const k=document.createEvent("MouseEvents");k.initMouseEvent("mouseup",!0,!0,window,0,0,0,0,0,!1,!1,!1,!1,0,null),this.handleDragStop(k)}return}this.lastX=x,this.lastY=C}),u(this,"handleDragStop",v=>{if(!this.dragging)return;const w=(0,i.getControlPosition)(v,this.touchIdentifier,this);if(w==null)return;let{x,y:C}=w;if(Array.isArray(this.props.grid)){let T=x-this.lastX||0,E=C-this.lastY||0;[T,E]=(0,i.snapToGrid)(this.props.grid,T,E),x=this.lastX+T,C=this.lastY+E}const S=(0,i.createCoreData)(this,x,C);if(this.props.onStop(v,S)===!1||this.mounted===!1)return!1;const k=this.findDOMNode();k&&this.props.enableUserSelectHack&&(0,n.scheduleRemoveUserSelectStyles)(k.ownerDocument),(0,a.default)("DraggableCore: handleDragStop: %j",S),this.dragging=!1,this.lastX=NaN,this.lastY=NaN,k&&((0,a.default)("DraggableCore: Removing handlers"),(0,n.removeEvent)(k.ownerDocument,g.move,this.handleDrag),(0,n.removeEvent)(k.ownerDocument,g.stop,this.handleDragStop))}),u(this,"onMouseDown",v=>(g=f.mouse,this.handleDragStart(v))),u(this,"onMouseUp",v=>(g=f.mouse,this.handleDragStop(v))),u(this,"onTouchStart",v=>(g=f.touch,this.handleDragStart(v))),u(this,"onTouchEnd",v=>(g=f.touch,this.handleDragStop(v)))}componentDidMount(){this.mounted=!0;const v=this.findDOMNode();v&&(0,n.addEvent)(v,f.touch.start,this.onTouchStart,{passive:!1})}componentWillUnmount(){this.mounted=!1;const v=this.findDOMNode();if(v){const{ownerDocument:w}=v;(0,n.removeEvent)(w,f.mouse.move,this.handleDrag),(0,n.removeEvent)(w,f.touch.move,this.handleDrag),(0,n.removeEvent)(w,f.mouse.stop,this.handleDragStop),(0,n.removeEvent)(w,f.touch.stop,this.handleDragStop),(0,n.removeEvent)(v,f.touch.start,this.onTouchStart,{passive:!1}),this.props.enableUserSelectHack&&(0,n.scheduleRemoveUserSelectStyles)(w)}}findDOMNode(){return this.props?.nodeRef?this.props?.nodeRef?.current:r.default.findDOMNode(this)}render(){return e.cloneElement(e.Children.only(this.props.children),{onMouseDown:this.onMouseDown,onMouseUp:this.onMouseUp,onTouchEnd:this.onTouchEnd})}};return z4.default=y,u(y,"displayName","DraggableCore"),u(y,"propTypes",{allowAnyClick:t.default.bool,allowMobileScroll:t.default.bool,children:t.default.node.isRequired,disabled:t.default.bool,enableUserSelectHack:t.default.bool,offsetParent:function(v,w){if(v[w]&&v[w].nodeType!==1)throw new Error("Draggable's offsetParent must be a DOM Node.")},grid:t.default.arrayOf(t.default.number),handle:t.default.string,cancel:t.default.string,nodeRef:t.default.object,onStart:t.default.func,onDrag:t.default.func,onStop:t.default.func,onMouseDown:t.default.func,scale:t.default.number,className:o.dontSetMe,style:o.dontSetMe,transform:o.dontSetMe}),u(y,"defaultProps",{allowAnyClick:!1,allowMobileScroll:!1,disabled:!1,enableUserSelectHack:!0,onStart:function(){},onDrag:function(){},onStop:function(){},onMouseDown:function(){},scale:1}),z4}var pX;function fdt(){return pX||(pX=1,function(e){Object.defineProperty(e,"__esModule",{value:!0}),Object.defineProperty(e,"DraggableCore",{enumerable:!0,get:function(){return d.default}}),e.default=void 0;var t=h($),r=p(zR()),n=p(jh),i=pdt(),o=WO(),a=Fge(),l=kx(),d=p(mdt()),u=p(Oge());function p(x){return x&&x.__esModule?x:{default:x}}function h(x,C){if(typeof WeakMap=="function")var S=new WeakMap,k=new WeakMap;return(h=function(T,E){if(!E&&T&&T.__esModule)return T;var D,P,A={__proto__:null,default:T};if(T===null||typeof T!="object"&&typeof T!="function")return A;if(D=E?k:S){if(D.has(T))return D.get(T);D.set(T,A)}for(const I in T)I!=="default"&&{}.hasOwnProperty.call(T,I)&&((P=(D=Object.defineProperty)&&Object.getOwnPropertyDescriptor(T,I))&&(P.get||P.set)?D(A,I,P):A[I]=T[I]);return A})(x,C)}function f(){return f=Object.assign?Object.assign.bind():function(x){for(var C=1;C<arguments.length;C++){var S=arguments[C];for(var k in S)({}).hasOwnProperty.call(S,k)&&(x[k]=S[k])}return x},f.apply(null,arguments)}function g(x,C,S){return(C=y(C))in x?Object.defineProperty(x,C,{value:S,enumerable:!0,configurable:!0,writable:!0}):x[C]=S,x}function y(x){var C=v(x,"string");return typeof C=="symbol"?C:C+""}function v(x,C){if(typeof x!="object"||!x)return x;var S=x[Symbol.toPrimitive];if(S!==void 0){var k=S.call(x,C);if(typeof k!="object")return k;throw new TypeError("@@toPrimitive must return a primitive value.")}return(C==="string"?String:Number)(x)}class w extends t.Component{static getDerivedStateFromProps(C,S){let{position:k}=C,{prevPropsPosition:T}=S;return k&&(!T||k.x!==T.x||k.y!==T.y)?((0,u.default)("Draggable: getDerivedStateFromProps %j",{position:k,prevPropsPosition:T}),{x:k.x,y:k.y,prevPropsPosition:{...k}}):null}constructor(C){super(C),g(this,"onDragStart",(S,k)=>{if((0,u.default)("Draggable: onDragStart: %j",k),this.props.onStart(S,(0,a.createDraggableData)(this,k))===!1)return!1;this.setState({dragging:!0,dragged:!0})}),g(this,"onDrag",(S,k)=>{if(!this.state.dragging)return!1;(0,u.default)("Draggable: onDrag: %j",k);const T=(0,a.createDraggableData)(this,k),E={x:T.x,y:T.y,slackX:0,slackY:0};if(this.props.bounds){const{x:D,y:P}=E;E.x+=this.state.slackX,E.y+=this.state.slackY;const[A,I]=(0,a.getBoundPosition)(this,E.x,E.y);E.x=A,E.y=I,E.slackX=this.state.slackX+(D-E.x),E.slackY=this.state.slackY+(P-E.y),T.x=E.x,T.y=E.y,T.deltaX=E.x-this.state.x,T.deltaY=E.y-this.state.y}if(this.props.onDrag(S,T)===!1)return!1;this.setState(E)}),g(this,"onDragStop",(S,k)=>{if(!this.state.dragging||this.props.onStop(S,(0,a.createDraggableData)(this,k))===!1)return!1;(0,u.default)("Draggable: onDragStop: %j",k);const T={dragging:!1,slackX:0,slackY:0};if(this.props.position){const{x:E,y:D}=this.props.position;T.x=E,T.y=D}this.setState(T)}),this.state={dragging:!1,dragged:!1,x:C.position?C.position.x:C.defaultPosition.x,y:C.position?C.position.y:C.defaultPosition.y,prevPropsPosition:{...C.position},slackX:0,slackY:0,isElementSVG:!1},C.position&&!(C.onDrag||C.onStop)&&console.warn("A `position` was applied to this <Draggable>, without drag handlers. This will make this component effectively undraggable. Please attach `onDrag` or `onStop` handlers so you can adjust the `position` of this element.")}componentDidMount(){typeof window.SVGElement<"u"&&this.findDOMNode()instanceof window.SVGElement&&this.setState({isElementSVG:!0})}componentWillUnmount(){this.state.dragging&&this.setState({dragging:!1})}findDOMNode(){return this.props?.nodeRef?.current??n.default.findDOMNode(this)}render(){const{axis:C,bounds:S,children:k,defaultPosition:T,defaultClassName:E,defaultClassNameDragging:D,defaultClassNameDragged:P,position:A,positionOffset:I,scale:H,...R}=this.props;let Z={},Y=null;const B=!A||this.state.dragging,V=A||T,j={x:(0,a.canDragX)(this)&&B?this.state.x:V.x,y:(0,a.canDragY)(this)&&B?this.state.y:V.y};this.state.isElementSVG?Y=(0,o.createSVGTransform)(j,I):Z=(0,o.createCSSTransform)(j,I);const L=(0,i.clsx)(k.props.className||"",E,{[D]:this.state.dragging,[P]:this.state.dragged});return t.createElement(d.default,f({},R,{onStart:this.onDragStart,onDrag:this.onDrag,onStop:this.onDragStop}),t.cloneElement(t.Children.only(k),{className:L,style:{...k.props.style,...Z},transform:Y}))}}e.default=w,g(w,"displayName","Draggable"),g(w,"propTypes",{...d.default.propTypes,axis:r.default.oneOf(["both","x","y","none"]),bounds:r.default.oneOfType([r.default.shape({left:r.default.number,right:r.default.number,top:r.default.number,bottom:r.default.number}),r.default.string,r.default.oneOf([!1])]),defaultClassName:r.default.string,defaultClassNameDragging:r.default.string,defaultClassNameDragged:r.default.string,defaultPosition:r.default.shape({x:r.default.number,y:r.default.number}),positionOffset:r.default.shape({x:r.default.oneOfType([r.default.number,r.default.string]),y:r.default.oneOfType([r.default.number,r.default.string])}),position:r.default.shape({x:r.default.number,y:r.default.number}),className:l.dontSetMe,style:l.dontSetMe,transform:l.dontSetMe}),g(w,"defaultProps",{...d.default.defaultProps,axis:"both",bounds:!1,defaultClassName:"react-draggable",defaultClassNameDragging:"react-draggable-dragging",defaultClassNameDragged:"react-draggable-dragged",defaultPosition:{x:0,y:0},scale:1})}(iX)),iX}var hX;function gdt(){if(hX)return N4.exports;hX=1;const{default:e,DraggableCore:t}=fdt();return N4.exports=e,N4.exports.default=e,N4.exports.DraggableCore=t,N4.exports}var ydt=gdt();const yZr=$r(ydt);function vdt(e){return In("PrivateSwitchBase",e)}jn("PrivateSwitchBase",["root","checked","disabled","input","edgeStart","edgeEnd"]);const bdt=e=>{const{classes:t,checked:r,disabled:n,edge:i}=e,o={root:["root",r&&"checked",n&&"disabled",i&&`edge${Rr(i)}`],input:["input"]};return Rn(o,vdt,t)},wdt=qt(IO,{name:"MuiSwitchBase"})({padding:9,borderRadius:"50%",variants:[{props:{edge:"start",size:"small"},style:{marginLeft:-3}},{props:({edge:e,ownerState:t})=>e==="start"&&t.size!=="small",style:{marginLeft:-12}},{props:{edge:"end",size:"small"},style:{marginRight:-3}},{props:({edge:e,ownerState:t})=>e==="end"&&t.size!=="small",style:{marginRight:-12}}]}),xdt=qt("input",{name:"MuiSwitchBase",shouldForwardProp:tl})({cursor:"inherit",position:"absolute",opacity:0,width:"100%",height:"100%",top:0,left:0,margin:0,padding:0,zIndex:1}),Nge=b.forwardRef(function(e,t){const{autoFocus:r,checked:n,checkedIcon:i,defaultChecked:o,disabled:a,disableFocusRipple:l=!1,edge:d=!1,icon:u,id:p,inputProps:h,inputRef:f,name:g,onBlur:y,onChange:v,onFocus:w,readOnly:x,required:C=!1,tabIndex:S,type:k,value:T,slots:E={},slotProps:D={},...P}=e,[A,I]=xv({controlled:n,default:!!o,name:"SwitchBase",state:"checked"}),H=_m(),R=Q=>{w&&w(Q),H&&H.onFocus&&H.onFocus(Q)},Z=Q=>{y&&y(Q),H&&H.onBlur&&H.onBlur(Q)},Y=Q=>{if(Q.nativeEvent.defaultPrevented)return;const X=Q.target.checked;I(X),v&&v(Q,X)};let B=a;H&&typeof B>"u"&&(B=H.disabled);const V=k==="checkbox"||k==="radio",j={...e,checked:A,disabled:B,disableFocusRipple:l,edge:d},L=bdt(j),N={slots:E,slotProps:{input:h,...D}},[z,J]=Zr("root",{ref:t,elementType:wdt,className:L.root,shouldForwardComponentProp:!0,externalForwardedProps:{...N,component:"span",...P},getSlotProps:Q=>({...Q,onFocus:X=>{Q.onFocus?.(X),R(X)},onBlur:X=>{Q.onBlur?.(X),Z(X)}}),ownerState:j,additionalProps:{centerRipple:!0,focusRipple:!l,disabled:B,role:void 0,tabIndex:null}}),[q,U]=Zr("input",{ref:f,elementType:xdt,className:L.input,externalForwardedProps:N,getSlotProps:Q=>({...Q,onChange:X=>{Q.onChange?.(X),Y(X)}}),ownerState:j,additionalProps:{autoFocus:r,checked:n,defaultChecked:o,disabled:B,id:V?p:void 0,name:g,readOnly:x,required:C,tabIndex:S,type:k,...k==="checkbox"&&T===void 0?{}:{value:T}}});return s.jsxs(z,{...J,children:[s.jsx(q,{...U}),A?i:u]})});function Cdt(e){return In("MuiSwitch",e)}const Ha=jn("MuiSwitch",["root","edgeStart","edgeEnd","switchBase","colorPrimary","colorSecondary","sizeSmall","sizeMedium","checked","disabled","input","thumb","track"]),$dt=e=>{const{classes:t,edge:r,size:n,color:i,checked:o,disabled:a}=e,l={root:["root",r&&`edge${Rr(r)}`,`size${Rr(n)}`],switchBase:["switchBase",`color${Rr(i)}`,o&&"checked",a&&"disabled"],thumb:["thumb"],track:["track"],input:["input"]},d=Rn(l,Cdt,t);return{...t,...d}},Sdt=qt("span",{name:"MuiSwitch",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.edge&&t[`edge${Rr(r.edge)}`],t[`size${Rr(r.size)}`]]}})({display:"inline-flex",width:34+12*2,height:14+12*2,overflow:"hidden",padding:12,boxSizing:"border-box",position:"relative",flexShrink:0,zIndex:0,verticalAlign:"middle","@media print":{colorAdjust:"exact"},variants:[{props:{edge:"start"},style:{marginLeft:-8}},{props:{edge:"end"},style:{marginRight:-8}},{props:{size:"small"},style:{width:40,height:24,padding:7,[`& .${Ha.thumb}`]:{width:16,height:16},[`& .${Ha.switchBase}`]:{padding:4,[`&.${Ha.checked}`]:{transform:"translateX(16px)"}}}}]}),kdt=qt(Nge,{name:"MuiSwitch",slot:"SwitchBase",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.switchBase,{[`& .${Ha.input}`]:t.input},r.color!=="default"&&t[`color${Rr(r.color)}`]]}})(xn(({theme:e})=>({position:"absolute",top:0,left:0,zIndex:1,color:e.vars?e.vars.palette.Switch.defaultColor:`${e.palette.mode==="light"?e.palette.common.white:e.palette.grey[300]}`,transition:e.transitions.create(["left","transform"],{duration:e.transitions.duration.shortest}),[`&.${Ha.checked}`]:{transform:"translateX(20px)"},[`&.${Ha.disabled}`]:{color:e.vars?e.vars.palette.Switch.defaultDisabledColor:`${e.palette.mode==="light"?e.palette.grey[100]:e.palette.grey[600]}`},[`&.${Ha.checked} + .${Ha.track}`]:{opacity:.5},[`&.${Ha.disabled} + .${Ha.track}`]:{opacity:e.vars?e.vars.opacity.switchTrackDisabled:`${e.palette.mode==="light"?.12:.2}`},[`& .${Ha.input}`]:{left:"-100%",width:"300%"}})),xn(({theme:e})=>({"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},variants:[...Object.entries(e.palette).filter(_p(["light"])).map(([t])=>({props:{color:t},style:{[`&.${Ha.checked}`]:{color:(e.vars||e).palette[t].main,"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:"transparent"}},[`&.${Ha.disabled}`]:{color:e.vars?e.vars.palette.Switch[`${t}DisabledColor`]:`${e.palette.mode==="light"?e.lighten(e.palette[t].main,.62):e.darken(e.palette[t].main,.55)}`}},[`&.${Ha.checked} + .${Ha.track}`]:{backgroundColor:(e.vars||e).palette[t].main}}}))]}))),Edt=qt("span",{name:"MuiSwitch",slot:"Track"})(xn(({theme:e})=>({height:"100%",width:"100%",borderRadius:14/2,zIndex:-1,transition:e.transitions.create(["opacity","background-color"],{duration:e.transitions.duration.shortest}),backgroundColor:e.vars?e.vars.palette.common.onBackground:`${e.palette.mode==="light"?e.palette.common.black:e.palette.common.white}`,opacity:e.vars?e.vars.opacity.switchTrack:`${e.palette.mode==="light"?.38:.3}`}))),_dt=qt("span",{name:"MuiSwitch",slot:"Thumb"})(xn(({theme:e})=>({boxShadow:(e.vars||e).shadows[1],backgroundColor:"currentColor",width:20,height:20,borderRadius:"50%"}))),vZr=b.forwardRef(function(e,t){const r=Yn({props:e,name:"MuiSwitch"}),{className:n,color:i="primary",edge:o=!1,size:a="medium",sx:l,slots:d={},slotProps:u={},...p}=r,h={...r,color:i,edge:o,size:a},f=$dt(h),g={slots:d,slotProps:u},[y,v]=Zr("root",{className:yr(f.root,n),elementType:Sdt,externalForwardedProps:g,ownerState:h,additionalProps:{sx:l}}),[w,x]=Zr("thumb",{className:f.thumb,elementType:_dt,externalForwardedProps:g,ownerState:h}),C=s.jsx(w,{...x}),[S,k]=Zr("track",{className:f.track,elementType:Edt,externalForwardedProps:g,ownerState:h});return s.jsxs(y,{...v,children:[s.jsx(kdt,{type:"checkbox",icon:C,checkedIcon:C,ref:t,ownerState:h,...p,classes:{...f,root:f.switchBase},slots:{...d.switchBase&&{root:d.switchBase},...d.input&&{input:d.input}},slotProps:{...u.switchBase&&{root:typeof u.switchBase=="function"?u.switchBase(h):u.switchBase},input:{role:"switch"},...u.input&&{input:typeof u.input=="function"?u.input(h):u.input}}}),s.jsx(S,{...k})]})});function Tdt(e){return function(t){e.forEach(function(r){typeof r=="function"?r(t):r!=null&&(r.current=t)})}}var PA=function(){},Adt=function(e,t){return t===void 0&&(t=null),{child:null,isShown:t?t.public.isOpen&&t.isShown:!0,parent:t,public:e,sibling:null,visited:!1}},Ldt=function(e,t){var r=t.getRecordData,n=r(e),i=n.data.id;return i},Ddt=function(e){var t=e.index,r=e.data,n=r.component,i=r.getRecordData,o=r.treeData,a=e.style,l=e.isScrolling,d=i(t);return $.createElement(n,Object.assign({isScrolling:l,style:a,treeData:o},d))},Pdt=function(e,t,r){var n=e.createRecord,i=t.buildingTaskTimeout,o=t.placeholder,a=t.async,l=a===void 0?!1:a,d=t.treeWalker,u=l&&r.records!==void 0,p=r.records,h=[],f=new Map,g=i?{timeout:i}:void 0,y=new WeakMap,v=d(),w=v.next(),x=w.value,C=n(x.data,r,void 0,u?p.get(x.data.id):void 0);f.set(C.public.data.id,C),y.set(C,x);var S=C,k=!0,T=C,E=o!==void 0&&!(o===null&&!r.order),D=E?function(A){return A.timeRemaining()>0}:function(){return!0},P=function A(I){for(;S!==null;){if(!D(I)){requestIdleCallback(A,g);return}if(S.visited)S.visited=!1,S=S.sibling!==null?S.sibling:S.parent,T=S;else{var H=v.next(y.get(S)),R=H.value;if(R===void 0){k?k=!1:(S.isShown&&h.push(S.public.data.id),S.visited=S.child!==null,S=S.child!==null?S.child:S.sibling!==null?S.sibling:S.parent),T=S;continue}var Z=n(R.data,r,k?void 0:S,u?p.get(R.data.id):void 0);f.set(Z.public.data.id,Z),y.set(Z,R),!k&&T===S?T.child=Z:T.sibling=Z,T=Z}}E&&r.setState({order:h,records:f,updateRequest:{}})};return E?requestIdleCallback(P,g):P(),o!==void 0&&l&&r.order?r:{order:h,records:f}},mX=32768,Mdt=2,Idt=function(e,t){var r=e.order,n=e.records,i=t.opennessState;if(typeof i!="object")return null;for(var o in i)if(n.has(o)){var a=i[o],l=n.get(o),d=typeof a=="boolean"?{open:a}:a,u=d.open,p=d.subtreeCallback,h=p===void 0?PA:p,f=PA,g=PA;l.isShown&&(u?function(){for(var v=r.indexOf(o),w=l;w!==null;){if(w.sibling!==null){w=w.sibling;break}w=w.parent}var x=w===null?r.length-1-v:r.indexOf(w.public.data.id)-1-v,C=[[v+1,x]];f=function(S){if(S.isShown=S.parent?S.parent.public.isOpen&&S.parent.isShown:!0,S.isShown){var k=C[C.length-1];k.push(S.public.data.id),k.length===mX+Mdt&&C.push([v+1+mX*C.length,0])}},g=function(){for(var S=0;S<C.length;S++){var k;(k=r).splice.apply(k,C[S])}}}():l.public.isOpen&&function(){var v=r.indexOf(o),w=0;f=function(x){x.isShown&&(w+=1),x.isShown=x.parent?x.parent.public.isOpen&&x.parent.isShown:!0},g=function(){r.splice(v+1,w)}}());for(var y=l;y!==null;)y.visited?(y.visited=!1,y=y===l?null:y.sibling!==null?y.sibling:y.parent):(y.public.isOpen=y===l?u:y.public.isOpen,h(y.public,l.public),y!==l&&f(y),y.visited=y.child!==null,y=y.child!==null?y.child:y===l?null:y.sibling!==null?y.sibling:y.parent);g()}return{order:r,records:n,updateRequest:{}}},jdt=function(e){return function(t,r,n){return n.refresh?Pdt(e,t,r):Idt(r,n)}},zge=function(e){fg(t,e),t.getDerivedStateFromProps=function(n,i){var o=n.listRef,a=o===void 0?null:o,l=n.treeWalker,d=i.computeTree,u=i.list,p=i.order,h=i.treeWalker;return ir({attachRefs:Tdt([u,a])},l!==h||!p?d(n,i,{refresh:!0}):null,{treeWalker:l})};function t(n,i){var o;return o=e.call(this,n,i)||this,o.getRecordData=o.getRecordData.bind(vs(o)),o.state={list:b.createRef(),recomputeTree:o.recomputeTree.bind(vs(o)),setState:o.setState.bind(vs(o))},o}var r=t.prototype;return r.getItemData=function(){var n=this.props,i=n.children,o=n.itemData;return{component:i,getRecordData:this.getRecordData,treeData:o}},r.getRecordData=function(n){var i=this.state,o=i.order,a=i.records;return a.get(o[n]).public},r.recomputeTree=function(n){var i=this;return new Promise(function(o){i.setState(function(a){return a.computeTree(i.props,a,{opennessState:n})},o)})},r.scrollTo=function(n){var i;(i=this.state.list.current)==null||i.scrollTo(n)},r.scrollToItem=function(n,i){var o;(o=this.state.list.current)==null||o.scrollToItem(this.state.order.indexOf(n),i)},t}(b.PureComponent);zge.defaultProps={rowComponent:Ddt};var Rdt=jdt({createRecord:function(e,t,r,n){var i=t.recomputeTree,o=t.resetAfterId,a=Adt({data:e,height:n?n.public.height:e.defaultHeight,isOpen:n?n.public.isOpen:e.isOpenByDefault,resize:function(l,d){a.public.height=l,o(a.public.data.id,d)},setOpen:function(l){var d;return i((d={},d[e.id]=l,d))}},r);return a}}),bZr=function(e){fg(t,e);function t(n,i){var o;return o=e.call(this,n,i)||this,o.getItemSize=o.getItemSize.bind(vs(o)),o.state=ir({},o.state,{computeTree:Rdt,resetAfterId:o.resetAfterId.bind(vs(o))}),o}var r=t.prototype;return r.resetAfterId=function(n,i){var o;i===void 0&&(i=!1);var a=this.state,l=a.list,d=a.order;(o=l.current)==null||o.resetAfterIndex(d.indexOf(n),i)},r.recomputeTree=function(n){var i=this;return e.prototype.recomputeTree.call(this,n).then(function(){var o;(o=i.state.list.current)==null||o.resetAfterIndex(0,!0)})},r.render=function(){var n=this.props;n.children;var i=n.placeholder,o=n.itemSize,a=n.rowComponent;n.treeWalker;var l=kp(n,["children","placeholder","itemSize","rowComponent","treeWalker"]),d=this.state,u=d.attachRefs,p=d.order;return i&&p.length===0?i:$.createElement(H1,Object.assign({},l,{itemCount:p.length,itemData:this.getItemData(),itemKey:Ldt,itemSize:o??this.getItemSize,ref:u}),a)},r.getItemSize=function(n){return this.getRecordData(n).height},t}(zge),MA,fX;function Fdt(){if(fX)return MA;fX=1;function e(t,r,n){return t===t&&(n!==void 0&&(t=t<=n?t:n),r!==void 0&&(t=t>=r?t:r)),t}return MA=e,MA}var IA,gX;function Odt(){if(gX)return IA;gX=1;var e=Fdt(),t=wx(),r=4294967295;function n(i){return i?e(t(i),0,r):0}return IA=n,IA}var jA,yX;function Ndt(){if(yX)return jA;yX=1;var e=wx(),t=Odt();function r(n,i,o,a){var l=n.length;for(o=e(o),o<0&&(o=-o>l?0:l+o),a=a===void 0||a>l?l:e(a),a<0&&(a+=l),a=o>a?0:t(a);o<a;)n[o++]=i;return n}return jA=r,jA}var RA,vX;function zdt(){if(vX)return RA;vX=1;var e=Ndt(),t=Dge();function r(n,i,o,a){var l=n==null?0:n.length;return l?(o&&typeof o!="number"&&t(n,i,o)&&(o=0,a=l),e(n,i,o,a)):[]}return RA=r,RA}var Bdt=zdt();const wZr=$r(Bdt),Hdt=xg(s.jsx("path",{d:"M19 5v14H5V5h14m0-2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2z"})),Vdt=xg(s.jsx("path",{d:"M19 3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.11 0 2-.9 2-2V5c0-1.1-.89-2-2-2zm-9 14l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z"})),Udt=xg(s.jsx("path",{d:"M19 3H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-2 10H7v-2h10v2z"}));function Wdt(e){return In("MuiCheckbox",e)}const FA=jn("MuiCheckbox",["root","checked","disabled","indeterminate","colorPrimary","colorSecondary","sizeSmall","sizeMedium"]),Gdt=e=>{const{classes:t,indeterminate:r,color:n,size:i}=e,o={root:["root",r&&"indeterminate",`color${Rr(n)}`,`size${Rr(i)}`]},a=Rn(o,Wdt,t);return{...t,...a}},Ydt=qt(Nge,{shouldForwardProp:e=>tl(e)||e==="classes",name:"MuiCheckbox",slot:"Root",overridesResolver:(e,t)=>{const{ownerState:r}=e;return[t.root,r.indeterminate&&t.indeterminate,t[`size${Rr(r.size)}`],r.color!=="default"&&t[`color${Rr(r.color)}`]]}})(xn(({theme:e})=>({color:(e.vars||e).palette.text.secondary,variants:[{props:{color:"default",disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette.action.active,(e.vars||e).palette.action.hoverOpacity)}}},...Object.entries(e.palette).filter(_p()).map(([t])=>({props:{color:t,disableRipple:!1},style:{"&:hover":{backgroundColor:e.alpha((e.vars||e).palette[t].main,(e.vars||e).palette.action.hoverOpacity)}}})),...Object.entries(e.palette).filter(_p()).map(([t])=>({props:{color:t},style:{[`&.${FA.checked}, &.${FA.indeterminate}`]:{color:(e.vars||e).palette[t].main},[`&.${FA.disabled}`]:{color:(e.vars||e).palette.action.disabled}}})),{props:{disableRipple:!1},style:{"&:hover":{"@media (hover: none)":{backgroundColor:"transparent"}}}}]}))),qdt=s.jsx(Vdt,{}),Zdt=s.jsx(Hdt,{}),Kdt=s.jsx(Udt,{}),xZr=b.forwardRef(function(e,t){const r=Yn({props:e,name:"MuiCheckbox"}),{checkedIcon:n=qdt,color:i="primary",icon:o=Zdt,indeterminate:a=!1,indeterminateIcon:l=Kdt,inputProps:d,size:u="medium",disableRipple:p=!1,className:h,slots:f={},slotProps:g={},...y}=r,v=a?l:o,w=a?l:n,x={...r,disableRipple:p,color:i,indeterminate:a,size:u},C=Gdt(x),S=g.input??d,[k,T]=Zr("root",{ref:t,elementType:Ydt,className:yr(C.root,h),shouldForwardComponentProp:!0,externalForwardedProps:{slots:f,slotProps:g,...y},ownerState:x,additionalProps:{type:"checkbox",icon:b.cloneElement(v,{fontSize:v.props.fontSize??u}),checkedIcon:b.cloneElement(w,{fontSize:w.props.fontSize??u}),disableRipple:p,slots:f,slotProps:{input:EF(typeof S=="function"?S(x):S,{"data-indeterminate":a})}}});return s.jsx(k,{...T,classes:C})});var OA,bX;function Qdt(){if(bX)return OA;bX=1;function e(t){var r=t==null?0:t.length;return r?t[r-1]:void 0}return OA=e,OA}var NA,wX;function Xdt(){if(wX)return NA;wX=1;var e=f9(),t=jO();function r(n,i){return i.length<2?n:e(n,t(i,0,-1))}return NA=r,NA}var zA,xX;function Bge(){if(xX)return zA;xX=1;var e=kg(),t=Qdt(),r=Xdt(),n=Eg(),i=Object.prototype,o=i.hasOwnProperty;function a(l,d){d=e(d,l);var u=-1,p=d.length;if(!p)return!0;for(;++u<p;){var h=n(d[u]);if(h==="__proto__"&&!o.call(l,"__proto__")||(h==="constructor"||h==="prototype")&&u<p-1)return!1}var f=r(l,d);return f==null||delete f[n(t(d))]}return zA=a,zA}var BA,CX;function Jdt(){if(CX)return BA;CX=1;var e=Bge(),t=r9(),r=Array.prototype,n=r.splice;function i(o,a){for(var l=o?a.length:0,d=l-1;l--;){var u=a[l];if(l==d||u!==p){var p=u;t(u)?n.call(o,u,1):e(o,u)}}return o}return BA=i,BA}var HA,$X;function e1t(){if($X)return HA;$X=1;var e=Yp(),t=Jdt();function r(n,i){var o=[];if(!(n&&n.length))return o;var a=-1,l=[],d=n.length;for(i=e(i,3);++a<d;){var u=n[a];i(u,a,n)&&(o.push(u),l.push(a))}return t(n,l),o}return HA=r,HA}var t1t=e1t();const CZr=$r(t1t);var VA,SX;function r1t(){if(SX)return VA;SX=1;var e=bg(),t=KF(),r=c2(),n="[object Object]",i=Function.prototype,o=Object.prototype,a=i.toString,l=o.hasOwnProperty,d=a.call(Object);function u(p){if(!r(p)||e(p)!=n)return!1;var h=t(p);if(h===null)return!0;var f=l.call(h,"constructor")&&h.constructor;return typeof f=="function"&&f instanceof f&&a.call(f)==d}return VA=u,VA}var UA,kX;function n1t(){if(kX)return UA;kX=1;var e=r1t();function t(r){return e(r)?void 0:r}return UA=t,UA}var WA,EX;function i1t(){if(EX)return WA;EX=1;var e=vg(),t=hF(),r=qo(),n=e?e.isConcatSpreadable:void 0;function i(o){return r(o)||t(o)||!!(n&&o&&o[n])}return WA=i,WA}var GA,_X;function Hge(){if(_X)return GA;_X=1;var e=dF(),t=i1t();function r(n,i,o,a,l){var d=-1,u=n.length;for(o||(o=t),l||(l=[]);++d<u;){var p=n[d];i>0&&o(p)?i>1?r(p,i-1,o,a,l):e(l,p):a||(l[l.length]=p)}return l}return GA=r,GA}var YA,TX;function Vge(){if(TX)return YA;TX=1;var e=Hge();function t(r){var n=r==null?0:r.length;return n?e(r,1):[]}return YA=t,YA}var qA,AX;function o1t(){if(AX)return qA;AX=1;var e=Vge(),t=t2e(),r=r2e();function n(i){return r(t(i,void 0,e),i+"")}return qA=n,qA}var ZA,LX;function a1t(){if(LX)return ZA;LX=1;var e=Sm(),t=Mue(),r=Bge(),n=kg(),i=u9(),o=n1t(),a=o1t(),l=QF(),d=1,u=2,p=4,h=a(function(f,g){var y={};if(f==null)return y;var v=!1;g=e(g,function(x){return x=n(x,f),v||(v=x.length>1),x}),i(f,l(f),y),v&&(y=t(y,d|u|p,o));for(var w=g.length;w--;)r(y,g[w]);return y});return ZA=h,ZA}var s1t=a1t();const $Zr=$r(s1t);var KA,DX;function l1t(){if(DX)return KA;DX=1;var e=Hge(),t=Rge();function r(n,i){return e(t(n,i),1)}return KA=r,KA}var c1t=l1t();const SZr=$r(c1t);var B4={},j6={},QA={},PX;function d1t(){return PX||(PX=1,Object.defineProperty(QA,"__esModule",{value:!0}),QA.default=["101000019","101000035","101000048","101000077","101000158","101000187","101000695","101000789","101000925","101000967","101001005","101001018","101001047","101001089","101001173","101001283","101001306","101001351","101001364","101001500","101001720","101001911","101002716","101002855","101002910","101002949","101003045","101003317","101003773","101004280","101005027","101005360","101005483","101005645","101005690","101006039","101006699","101006725","101007041","101010672","101011244","101011998","101012939","101014733","101014759","101014869","101014924","101014953","101014966","101015020","101015046","101015088","101015101","101015185","101015237","101015282","101015334","101019068","101019084","101019194","101019327","101019482","101019521","101050001","101050014","101050043","101059002","101059950","101059992","101089292","101089496","101089700","101089742","101089807","101089810","101089823","101089865","101100016","101100029","101100045","101100100","101100113","101100142","101100171","101100223","101100265","101100317","101100375","101100540","101100566","101100579","101100605","101100618","101100621","101100634","101100676","101100692","101100728","101100760","101100786","101100854","101100906","101100922","101100964","101100993","101101015","101101031","101101057","101101060","101101109","101101141","101101154","101101219","101101222","101101248","101101293","101101303","101101413","101101439","101101471","101101523","101101536","101101552","101101581","101101594","101101620","101101659","101101662","101101730","101101769","101101785","101101866","101101879","101101921","101101934","101101947","101101950","101101976","101101989","101101992","101102014","101102043","101102069","101102072","101102085","101102108","101102124","101102137","101102166","101102182","101102221","101102289","101102315","101102331","101102344","101102360","101102373","101102386","101102438","101102496","101102522","101102548","101102551","101102564","101102645","101102658","101102700","101102755","101102768","101102784","101102810","101102836","101102849","101102852","101102865","101102878","101102920","101102933","101102959","101102962","101102988","101103026","101103068","101103084","101103149","101103152","101103220","101103233","101103275","101103327","101103356","101103385","101103398","101103408","101103440","101103466","101103521","101103547","101103550","101103592","101103644","101103660","101103686","101103699","101103725","101103754","101103835","101103851","101103880","101103974","101104009","101104012","101104041","101104067","101104070","101104096","101104106","101104122","101104151","101104164","101104287","101104342","101104355","101104384","101104407","101104436","101104494","101104504","101104546","101104562","101104588","101104630","101104685","101104708","101104711","101104740","101104766","101104779","101104795","101104805","101104863","101104928","101104944","101104973","101105079","101105082","101105118","101105244","101105257","101105286","101105299","101105341","101105354","101105419","101105558","101105590","101105600","101105626","101105668","101105684","101105710","101105765","101105778","101105781","101105817","101105927","101105969","101105985","101106007","101106023","101106214","101106227","101106269","101106285","101106324","101106353","101106379","101106405","101106492","101106528","101106560","101106609","101106625","101106751","101106861","101106913","101106939","101106942","101107080","101107093","101107116","101107158","101107200","101107226","101107297","101107404","101107446","101107475","101107624","101107747","101107802","101107860","101107886","101108034","101108050","101108209","101108319","101108348","101108377","101108380","101108490","101108513","101108526","101108571","101108636","101108649","101108762","101109130","101109156","101109237","101109321","101109512","101109538","101109648","101109693","101109745","101109800","101109813","101109842","101109923","101109994","101110064","101110080","101110213","101110226","101110271","101110404","101110475","101110488","101110543","101110572","101110608","101110640","101110763","101110802","101111115","101111319","101111335","101111348","101111351","101111380","101111458","101111490","101111623","101111678","101111681","101111704","101111953","101112046","101112143","101112172","101112224","101112318","101112473","101112635","101112716","101112842","101112936","101113074","101113427","101113676","101113799","101113812","101113841","101113867","101113935","101114031","101114044","101114073","101114109","101114219","101114277","101114303","101114390","101114400","101114442","101114507","101114552","101114565","101114581","101114646","101114659","101114691","101114769","101114772","101114798","101114840","101114853","101114879","101114895","101114905","101114918","101114934","101114947","101114976","101114989","101114992","101115001","101115030","101115056","101115069","101115072","101115098","101115111","101115140","101115179","101115218","101115292","101115302","101115328","101189121","101189590","101200440","101200453","101200518","101200929","101200958","101201164","101201601","101201863","101201892","101202257","101202503","101202875","101203256","101203515","101203641","101203971","101204022","101204792","101204886","101204954","101205050","101205063","101205128","101205131","101205445","101205678","101205681","101205940","101206101","101206279","101206295","101206389","101206457","101206460","101206800","101206994","101207087","101207210","101207773","101207919","101208031","101209412","101209768","101209797","101210090","101211031","101211989","101212153","101212182","101213000","101213204","101213673","101215451","101216683","101217433","101217514","101217750","101217857","101217886","101218490","101218801","101218856","101219017","101219059","101219091","101219279","101219389","101219415","101289432","101900588","101901396","101901419","101901820","101901833","101902052","101902094","101902117","101902146","101902175","101902201","101902269","101902298","101902366","101902405","101902735","101903336","101903637","101903679","101903763","101903938","101904186","101904225","101904911","101905004","101905512","101906171","101906249","101906605","101907196","101907989","101908014","101908577","101908988","101909097","101909398","101910617","101911221","101911519","101911962","101912055","101913177","101914286","101915764","101916307","101917623","101917827","101917843","101918075","101918101","101918169","101918240","101918279","101918321","101918965","102000021","102000076","102000199","102000607","102000908","102000924","102000937","102000953","102000966","102001017","102002757","102003154","102003206","102003743","102004331","102004519","102005916","102006012","102006025","102006067","102006119","102006326","102006339","102006371","102006407","102007008","102007011","102007299","102007309","102007383","102036558","102089259","102089644","102089916","102089929","102100138","102100552","102100662","102100675","102100772","102100853","102100879","102100918","102100992","102101111","102101218","102101250","102101276","102101292","102101315","102101360","102101412","102101425","102101441","102101496","102101519","102101548","102101577","102101616","102101645","102101700","102101823","102102000","102102013","102102576","102102864","102102916","102102932","102103009","102103096","102103106","102103258","102103287","102103407","102103562","102103588","102103591","102103630","102103708","102103999","102104273","102104341","102104419","102104587","102104590","102104600","102104642","102104684","102104723","102104749","102104752","102104846","102104888","102104927","102105146","102105269","102105353","102105816","102105997","102106569","102106705","102106844","102106857","102107034","102107063","102107144","102107364","102107474","102189285","102189324","102189612","102200245","102201040","102201244","102201710","102201930","102202078","102206728","102207439","102300129","102300242","102300255","102300268","102300297","102300336","102300404","102300459","102300475","102300666","102300873","102300970","102300996","102301050","102301063","102301089","102301092","102301115","102301199","102301241","102301513","102301542","102301636","102301717","102301762","102301775","102301872","102301911","102302680","102302761","102303171","102303841","102304099","102305098","102305373","102306356","102306479","102306644","102306699","102307119","102307164","103000017","103000130","103000240","103000619","103000648","103000677","103000680","103000703","103000800","103000813","103000868","103001456","103001469","103001809","103001977","103002099","103002251","103002617","103002691","103002772","103003467","103003616","103003632","103003687","103005164","103006406","103008404","103008815","103009160","103009571","103009982","103012788","103012843","103012869","103012908","103012966","103013017","103013062","103013101","103013130","103013211","103013266","103013295","103089834","103100014","103100179","103100195","103100218","103100250","103100328","103100409","103100467","103100522","103100616","103100739","103100823","103100878","103100881","103100959","103101013","103101026","103101084","103101107","103101110","103101152","103101165","103101204","103101262","103101275","103101291","103101330","103101356","103101372","103101411","103101424","103101437","103101482","103101505","103101518","103101547","103101576","103101589","103101602","103101628","103101631","103101660","103101699","103101725","103101738","103101754","103101767","103101822","103101848","103101851","103101877","103101880","103101929","103101987","103102070","103102106","103102122","103102164","103102193","103102203","103102216","103102229","103102274","103102290","103102300","103102326","103102342","103102368","103102384","103102407","103102410","103102452","103102481","103102494","103102546","103102575","103102591","103102627","103102737","103102795","103102821","103102847","103102889","103102892","103102960","103103024","103103105","103103121","103103147","103103189","103103215","103103244","103103309","103103338","103103354","103103396","103103406","103103435","103103451","103103503","103103516","103103561","103103574","103103600","103103642","103103655","103103668","103103671","103103749","103103765","103103778","103103817","103103985","103104010","103104104","103104120","103104133","103104175","103104201","103104227","103104269","103104298","103104353","103104489","103104528","103104544","103104641","103104764","103104816","103104829","103104874","103104887","103104942","103104968","103105116","103105190","103105213","103105394","103105446","103105488","103105530","103105637","103105640","103105695","103105831","103105886","103106092","103106160","103106186","103106225","103106283","103106377","103106542","103106775","103106827","103106843","103107004","103107046","103107392","103107402","103107415","103107444","103107486","103107622","103107635","103107839","103107897","103108045","103108249","103108443","103108605","103108621","103108731","103108757","103109015","103109031","103109125","103109206","103109264","103109345","103109374","103109390","103109507","103109523","103109581","103109714","103109772","103109840","103109882","103110046","103110237","103110305","103110376","103110392","103110428","103110813","103110907","103111058","103111087","103111155","103111197","103111252","103111362","103111618","103111650","103111744","103111841","103111964","103111977","103112015","103112031","103112073","103112112","103112125","103112248","103112329","103112345","103112358","103112387","103112426","103112439","103112455","103112507","103112510","103112523","103112552","103112594","103112617","103112620","103112659","103112675","103112730","103112743","103112853","103112947","103112976","103112992","103113001","103113056","103113085","103113111","103113124","103113153","103113166","103113179","103113182","103113195","103113276","103113302","103113315","103113328","103189103","103189307","103189378","103189394","103189682","103900036","103901491","103901569","103902717","103903046","103903376","103903486","103908669","103912668","103912723","103912875","103912888","103912914","103912956","103912985","103913227","103913337","104000016","104000029","104000058","104000469","104000702","104000841","104000854","104000870","104001138","104001497","104001808","104002894","104013809","104014109","104014125","104014138","104022751","104089419","104089574","104100783","104100945","104101258","104101397","104101465","104101478","104101559","104101575","104101627","104101630","104101876","104102095","104102105","104102192","104102202","104102257","104102309","104102354","104102574","104102587","104102613","104102642","104102655","104102707","104102781","104102875","104102985","104103081","104103421","104103683","104103829","104103900","104104750","104104925","104104983","104105283","104105733","104106088","104106473","104106509","104106583","104106693","104106716","104106761","104106800","104106965","104107456","104107731","104107786","104107825","104108316","104108439","104108507","104108691","104109739","104109975","104110113","104110919","104110922","104110977","104111565","104111769","104112056","104112409","104112771","104112849","104112917","104112988","104113039","104113097","104113217","104113262","104113327","104113343","104113372","104113408","104113521","104113550","104113628","104113660","104113709","104113712","104113738","104113741","104113767","104113819","104113835","104113880","104113945","104113958","104113990","104189461","104189526","104189568","104189607","104900048","104900116","104900200","104900323","104900349","104900459","104900527","104900543","104900585","104900679","104900721","104900750","104900792","104900802","104900886","104900912","104900938","104901034","104901063","104901115","104901144","104901160","104901238","104901241","104901270","104901319","104901335","104901348","104901364","104901458","104901487","104901513","104901568","104901584","104901597","104901607","104901610","104901652","104901665","104901678","104901717","104901720","104901814","104901827","104901911","104901937","104901940","104901995","104902033","104902062","104902114","104902127","104902172","104902295","104902347","104902363","104902376","104902392","104902761","104902800","104902949","104903032","104903139","104903294","104903333","104903362","104903388","104903391","104903498","104903579","104903595","104903692","104904099","104904277","104904442","104904646","104904882","104904905","104905140","104905166","104905250","104905616","104905742","104905784","104905807","104905836","104905881","104906000","104906602","104906725","104906880","104907025","104907041","104907562","104907708","104907779","104907818","104907931","104907960","104908040","104908082","104908134","104908163","104908189","104908257","104908383","104908422","104908532","104908723","104908817","104908846","104908859","104908930","104908956","104909201","104909531","104909793","104909942","104910135","104910232","104910258","104910274","104910339","104910342","104910795","104911422","104911671","104912670","104913019","104913048","104913064","104913161","104913190","104913255","104913284","104913310","104913336","104913365","104913381","104913491","104913530","104913682","104913750","104913912","104913970","104914050","104914076","104914089","104914157","104914160","104919275","104920442","104922204","104922217","104922987","104989852","107000068","107000071","107000097","107000152","107000233","107000262","107000275","107000327","107000372","107000440","107000466","107000521","107000628","107000783","107000796","107000929","107001012","107001067","107001070","107001135","107001232","107001261","107001326","107001452","107001481","107001520","107001601","107001672","107001724","107001737","107001805","107001818","107001960","107002008","107002118","107002147","107002163","107002192","107002312","107002406","107002448","107002503","107002516","107002532","107002600","107002723","107002794","107002846","107002969","107003010","107003023","107003298","107003353","107003418","107003463","107003609","107003612","107003641","107003667","107003829","107003861","107003942","107004352","107004381","107004459","107004491","107004611","107004637","107004679","107004695","107004776","107005047","107005076","107005102","107005254","107005296","107005319","107005432","107005445","107005490","107005526","107005607","107005694","107005801","107005924","107005953","107005979","107005982","107006004","107006046","107006059","107006075","107006088","107006091","107006101","107006127","107006143","107006156","107006253","107006305","107006347","107006363","107006389","107006392","107006428","107006431","107006444","107006460","107006486","107006512","107006541","107006554","107006606","107006651","107006664","107006677","107006732","107006787","107006813","107006839","107006871","107006884","107006897","107006923","107006936","107006949","107006965","107006978","107006981","107006994","107007058","107007074","107007087","107007139","107007197","107007210","107007223","107007281","107007317","107007320","107007346","107007359","107007375","107007391","107007443","107007469","107007498","107007508","107089199","107089335","107089555","107089584","107089652","107089717","107089720","107089843","107089885","111000012","111000025","111000038","111000258","111000614","111000711","111000753","111000805","111000960","111001040","111001053","111001105","111001150","111001189","111003585","111005774","111006207","111006841","111010060","111010170","111010837","111011878","111012673","111012783","111013672","111014325","111014383","111015159","111015544","111015748","111016064","111016501","111017458","111017694","111017791","111017827","111017911","111017979","111024331","111024386","111024467","111024483","111024548","111024645","111024849","111024852","111024865","111024975","111025013","111025084","111025123","111025453","111025466","111025518","111025521","111025534","111025877","111025903","111026038","111026041","111040195","111050156","111050295","111093650","111093715","111094235","111100792","111100844","111100909","111101128","111101144","111101157","111101173","111101209","111101225","111101306","111101319","111101377","111101458","111101461","111101597","111101636","111101652","111101681","111101694","111101775","111101898","111101908","111101911","111101982","111101995","111102046","111102059","111102075","111102091","111102114","111102208","111102240","111102321","111102389","111102402","111102431","111102596","111102732","111102758","111102813","111102842","111102949","111103058","111103168","111103197","111103210","111103281","111103317","111103333","111103362","111103524","111103634","111103650","111103948","111104507","111104581","111104617","111104743","111104785","111104798","111104853","111104879","111104921","111104947","111105234","111105302","111105315","111105331","111105441","111193550","111193673","111193932","111300880","111300932","111300945","111300958","111301122","111301436","111301614","111301737","111302095","111302370","111302532","111302545","111302587","111302600","111302833","111302846","111303007","111303010","111303117","111303489","111303492","111303667","111303748","111304051","111304064","111304093","111304307","111304349","111304381","111304404","111304608","111304637","111304912","111305115","111305571","111305746","111305856","111306059","111306088","111306198","111306554","111306758","111306871","111307252","111307265","111307317","111307430","111307469","111307485","111307582","111307663","111307841","111308031","111308057","111308277","111308358","111308442","111308552","111308578","111308633","111308727","111308730","111309030","111309043","111309234","111309742","111310294","111310391","111310809","111310841","111310870","111311413","111311620","111311743","111311785","111311798","111311840","111312182","111312205","111312535","111312551","111312739","111312894","111313000","111313204","111313356","111313479","111313631","111314504","111314575","111314931","111315011","111315794","111316612","111316793","111316829","111316887","111317527","111317569","111317585","111317637","111317789","111317844","111317857","111317860","111318063","111318267","111318584","111318610","111319004","111319347","111319538","111320006","111320679","111320899","111320925","111321063","111321144","111321270","111321649","111321717","111321720","111321814","111321827","111321856","111322318","111322402","111322457","111322538","111322570","111322583","111322664","111322729","111322745","111322813","111322910","111322965","111322994","111323016","111323032","111323207","111323689","111323731","111323809","111323906","111323922","111323951","111324196","111324219","111324293","111324895","111324921","111325412","111325713","111325797","111325823","111326068","111326071","111736713","111736726","111736739","111736742","111736975","111736991","111900251","111900455","111900510","111900549","111900578","111900581","111900594","111900604","111900659","111900756","111900785","111901014","111901056","111901234","111901302","111901454","111901467","111901519","111901564","111901580","111901629","111901632","111901645","111901690","111901946","111901959","111901962","111901975","111901988","111902000","111902055","111902275","111902385","111902398","111902424","111902806","111902819","111903151","111903232","111903245","111903258","111903290","111903407","111903465","111903517","111903546","111903559","111903575","111903591","111903821","111903850","111903931","111903999","111904150","111904192","111904215","111904231","111904338","111904419","111904451","111904480","111904503","111904817","111904859","111904943","111904998","111905133","111905159","111905227","111905230","111905324","111905337","111905340","111905434","111905609","111905612","111905638","111905641","111905719","111905764","111905968","111906006","111906048","111906161","111906242","111906271","111906323","111906349","111906394","111906462","111906501","111906611","111906624","111906747","111906857","111906860","111906996","111907021","111907089","111907102","111907144","111907199","111907348","111907429","111907445","111907490","111907500","111907555","111907568","111907607","111907652","111907694","111907717","111907775","111907788","111907827","111907924","111907940","111907979","111908004","111908091","111908127","111908143","111908172","111908208","111908499","111908509","111908512","111908567","111908583","111908758","111908787","111908868","111908949","111908952","111908965","111909029","111909210","111909265","111909281","111909362","111909391","111909443","111909511","111909524","111909579","111909605","111909634","111909663","111909676","111909760","111909773","111909825","111909841","111909867","111909870","111909993","111910005","111910092","111910128","111910160","111910267","111910380","111910445","111910607","111910681","111910762","111910856","111911033","111911091","111911101","111911156","111911224","111911321","111911826","111911965","111912090","111912197","111912252","111912388","111912401","111912427","111912498","111912605","111912744","111912854","111913060","111913073","111913170","111913248","111913329","111913426","111913510","111913688","111913756","111913798","111913879","111914027","111914218","111914289","111914302","111914344","111914687","111914849","111914852","111914865","111914878","111914881","111914917","111915039","111915042","111915259","111915327","111915398","111915576","111915686","111915709","111915770","111916180","111916287","111916326","111916410","111916423","111916436","111916452","111916588","111916591","111916627","111916656","111916698","111916724","111916915","111916999","111917215","111917309","111917367","111917383","111917435","111917574","111917590","111917943","111918230","111918845","111919433","111920312","111920325","111920516","111920684","111920765","111921230","111921751","111921777","111922132","111922213","111922488","111922527","111922624","111922776","111923238","111923490","111923607","111923898","111923937","111924075","111924143","111924237","111924305","111924318","111924347","111924350","111924363","111924392","111924428","111924473","111924538","111924554","111924606","111924619","111924622","111924651","111924680","111924716","111924787","111924800","111924994","111925032","111925045","111925061","111925074","111925113","111925210","111925281","111925304","111925317","111925320","111925359","111925430","111925472","111925508","111925579","111925582","111925605","111925621","111925634","111925676","111925744","111925757","111925812","111925935","111926057","111926086","111993572","111993695","111993747","111993763","111993776","111993873","111994063","111994115","111994241","111994296","112000011","112000066","112000150","112002080","112005809","112017619","112024437","112025342","112093808","112200303","112200439","112200620","112200824","112201085","112201218","112201289","112201797","112201836","112201959","112201975","112201988","112202123","112202372","112202660","112203038","112203122","112204286","112205340","112205764","112206297","112206459","112206763","112206776","112206792","112207209","112207335","112207403","112304678","112304733","112306427","112307222","112311713","112313342","112314066","112319524","112320788","112321318","112321839","112322074","112322508","112322634","112323086","112323387","112323594","113000023","113000049","113000609","113000845","113000861","113000939","113000968","113001035","113001077","113001242","113001255","113001394","113002296","113002940","113003389","113007835","113008012","113008083","113008465","113008766","113009341","113009464","113010217","113010547","113011119","113011258","113011931","113012163","113012503","113012956","113013117","113014077","113014336","113014909","113015267","113015429","113015500","113015584","113015940","113015995","113017346","113017870","113017883","113023136","113023945","113023990","113024009","113024096","113024106","113024164","113024177","113024274","113024407","113024410","113024504","113024517","113024520","113024562","113024588","113024672","113024915","113024957","113025147","113025150","113025231","113025260","113025299","113025396","113025422","113025480","113025723","113025765","113025804","113025972","113026023","113093519","113093661","113093849","113093865","113093881","113093946","113094071","113094084","113094136","113094149","113094181","113094220","113094301","113100046","113100091","113100240","113100567","113100570","113100745","113101317","113101524","113101773","113101809","113102073","113102138","113102303","113102329","113102442","113102552","113102714","113102921","113103276","113103687","113103726","113103768","113103797","113104000","113104178","113104275","113104521","113104534","113104712","113104796","113104806","113104880","113105025","113105070","113105274","113105368","113105449","113105452","113105465","113105478","113106309","113106532","113106833","113106956","113106985","113107010","113107162","113107515","113107612","113108802","113109128","113109131","113109377","113109720","113109830","113109898","113109982","113110243","113110256","113110379","113110586","113110612","113110641","113110654","113110667","113110780","113110816","113110984","113111077","113111378","113111909","113111983","113112995","113113237","113113363","113113392","113113402","113113868","113113923","113114294","113114595","113114647","113114896","113115235","113115484","113115617","113115934","113116056","113116218","113116292","113116386","113117194","113117204","113117411","113117440","113117767","113118012","113118326","113118342","113118630","113119105","113119396","113119985","113120291","113121135","113121384","113121902","113122082","113122325","113122655","113122804","113122901","113123065","113123162","113123366","113123405","113123447","113123528","113123560","113123573","113123625","113123654","113123667","113123719","113124035","113124446","113124598","113124637","113124873","113124941","113125131","113125254","113125380","113125403","113125445","113125555","113125898","113125953","113125995","113126091","113193532","113193723","113194120","113194162","113194256","113194285","114000019","114000093","114000491","114000556","114000653","114000695","114000718","114000721","114000763","114000776","114000857","114002648","114009816","114011011","114012641","114013284","114014377","114014542","114015606","114016142","114016524","114017112","114017125","114017714","114021933","114024260","114024969","114025599","114025641","114093628","114094041","114900025","114900313","114900685","114901147","114901370","114901859","114902010","114902227","114902230","114902340","114902405","114902528","114902560","114902612","114902654","114902683","114902777","114902780","114902793","114902874","114903051","114903080","114903103","114903174","114903190","114903213","114903284","114904115","114904461","114904652","114904704","114904746","114904775","114904953","114904979","114905499","114905509","114905567","114905813","114906524","114906689","114907329","114907387","114907633","114908182","114908289","114909013","114909165","114909220","114909482","114909505","114909903","114909929","114910222","114910280","114910523","114910565","114910918","114911234","114911302","114911506","114911519","114911577","114911580","114911616","114911645","114911687","114911807","114912013","114912220","114912233","114912275","114912479","114912589","114912686","114912709","114912796","114912848","114913164","114913711","114914040","114914516","114914710","114914723","114914817","114915081","114915272","114915447","114915803","114916019","114916103","114916488","114916705","114917092","114917157","114917267","114917319","114917335","114917623","114917814","114917908","114917924","114918143","114918305","114919184","114919281","114919676","114920128","114920526","114921172","114921415","114921499","114921622","114921761","114921800","114921842","114921949","114921981","114922003","114922090","114922142","114922265","114922430","114922443","114922896","114922980","114923222","114923329","114923358","114923439","114923756","114923976","114924014","114924182","114924690","114924739","114924742","114924810","114925026","114925181","114925194","114925275","114925547","114925615","114925864","114925945","114925987","114926009","114926012","114993540","114993731","114993786","114993906","114994031","114994109","114994196","116307370","116311489","116312873","116324201","116325666","121000044","121000248","121000345","121000358","121000374","121000497","121000536","121000853","121001865","121002042","121029672","121031673","121032148","121032232","121032274","121034531","121036953","121037240","121038265","121038634","121038773","121039484","121040169","121040350","121040554","121040651","121042222","121042484","121042882","121044055","121044356","121044369","121058232","121058313","121081872","121100782","121101037","121101189","121101985","121102036","121103886","121104063","121105156","121105392","121106252","121106540","121106906","121107882","121108250","121108441","121108959","121109518","121122676","121125660","121128997","121132394","121132682","121132983","121133416","121135045","121135058","121135087","121135773","121135896","121136358","121136581","121136675","121136785","121136808","121137001","121137027","121137292","121137506","121137522","121137726","121137797","121137807","121138013","121138288","121138741","121138958","121138990","121139122","121139287","121139313","121139685","121139711","121140218","121140263","121140276","121140331","121140399","121140713","121140742","121140823","121140933","121141000","121141042","121141107","121141246","121141288","121141343","121141398","121141482","121141495","121141534","121141615","121141754","121141819","121141822","121141864","121141877","121141903","121141974","121142025","121142119","121142148","121142258","121142287","121142313","121142397","121142407","121142423","121142517","121142627","121142669","121142698","121142737","121142779","121142818","121142834","121142850","121142902","121142999","121143008","121143037","121143040","121143118","121143260","121143273","121143312","121143383","121143422","121143529","121143532","121143558","121143626","121143697","121143736","121143752","121143781","121143794","121143833","121143846","121143891","121143985","121144078","121144146","121144191","121144201","121144214","121144256","121144269","121144272","121144285","121144311","121144324","121144340","121144418","121144463","121144476","121144528","121144557","121144612","121144625","121144696","121144803","121144845","121144861","121144939","121145145","121145174","121181730","121181743","121181798","121181866","121181921","121181976","121182014","121182030","121182056","121182357","121182810","121200158","121201694","121201814","121202062","121202185","121202211","121281892","121282370","121301015","121301028","121301057","121301578","121301772","121302247","121302292","121302357","121302360","121302373","121403049","121403065","121403078","121404006","121404022","121405018","121405115","121405173","121405199","121405209","121405212","121405238","122000030","122000043","122000166","122000247","122000496","122000616","122000658","122000661","122003396","122004162","122016066","122031902","122033612","122034103","122035199","122037087","122037760","122037841","122038154","122038251","122038277","122038442","122038756","122038837","122039179","122039344","122039360","122039399","122040090","122040799","122041183","122041235","122041523","122041594","122041646","122041662","122041727","122041989","122042069","122042153","122042205","122042807","122043107","122043301","122043440","122043482","122043518","122043602","122043864","122043932","122043958","122044041","122044119","122044229","122044300","122044371","122044449","122045037","122086944","122087040","122087095","122087590","122100024","122101010","122101191","122101706","122104046","122104981","122104994","122105045","122105155","122105171","122105184","122105210","122105249","122105252","122105278","122105320","122105469","122105472","122105498","122105524","122105540","122105553","122105566","122105582","122105595","122105605","122105634","122105647","122105663","122105676","122105702","122105715","122105728","122105731","122105744","122105757","122105760","122105773","122105799","122105809","122105812","122105825","122105841","122105854","122105867","122105870","122105896","122105906","122105922","122105935","122105948","122105964","122105980","122105993","122106002","122106015","122106031","122106060","122106073","122106086","122106109","122106125","122106154","122106170","122106183","122106219","122106222","122106235","122106251","122106277","122106280","122106293","122106316","122106332","122106358","122106374","122106390","122106413","122106442","122106455","122187076","122187212","122187238","122187335","122187445","122187610","122200759","122201198","122203248","122203471","122203507","122203950","122206216","122210406","122215090","122217056","122220506","122220593","122220849","122221686","122222876","122226063","122226076","122228003","122231935","122232109","122232196","122232222","122232439","122233218","122233645","122234149","122234194","122234482","122234783","122235821","122235902","122236244","122236998","122237159","122237308","122237515","122237544","122237599","122237612","122237625","122237654","122237683","122237706","122237748","122237751","122237858","122237955","122237997","122238048","122238077","122238200","122238242","122238420","122238543","122238572","122238585","122238611","122238682","122238721","122238912","122238938","122239021","122239063","122239131","122239270","122239322","122239335","122239542","122239571","122239584","122239678","122239775","122239814","122239843","122239869","122239872","122239937","122239982","122240010","122240104","122240308","122240340","122240418","122240450","122240489","122240492","122240667","122240670","122240683","122240696","122240706","122240751","122240764","122240861","122240890","122240942","122241132","122241200","122241213","122241255","122241446","122241501","122241572","122241624","122241802","122241831","122241912","122241941","122242018","122242034","122242050","122242092","122242102","122242173","122242296","122242377","122242490","122242526","122242542","122242555","122242571","122242597","122242607","122242649","122242652","122242681","122242704","122242759","122242788","122242791","122242827","122242843","122242869","122242924","122242937","122242982","122243017","122243062","122243127","122243130","122243156","122243169","122243172","122243208","122243224","122243237","122243240","122243295","122243321","122243334","122243347","122243350","122243376","122243402","122243415","122243431","122243457","122243460","122243541","122243567","122243583","122243596","122243619","122243635","122243648","122243664","122243680","122243703","122243716","122243761","122243774","122243800","122243813","122243871","122243884","122243910","122243923","122243949","122243965","122243978","122243994","122244003","122244016","122244029","122244032","122244061","122244087","122244090","122244139","122244155","122244171","122244184","122244236","122244249","122244294","122244333","122244401","122244427","122244498","122244511","122244537","122244566","122244582","122244595","122244663","122244676","122244702","122244715","122244731","122244744","122244773","122244854","122244870","122244883","122244922","122245044","122245167","122287015","122287170","122287183","122287251","122287280","122287329","122287361","122287374","122287413","122287426","122287471","122287507","122287510","122287549","122287581","122287604","122287659","122287662","122287675","122400724","122400779","122401710","122401723","122401778","122401781","122402049","122402052","122402078","122402081","122402133","122402146","122402159","122402175","122402191","122402243","122402285","122402298","122402308","122402311","122402324","122402337","122402366","122402382","122402395","122402405","122487022","122487129","122487200","122487226","122487307","122487404","122487459","123000013","123000068","123000220","123000848","123002011","123006389","123006651","123006680","123006729","123006800","123006868","123006897","123006965","123084958","123103570","123103596","123103606","123103716","123103729","123103732","123103826","123103868","123103907","123171955","123200059","123200088","123202125","123202183","123202280","123202293","123203218","123203535","123203878","123204013","123204071","123204110","123204835","123205054","123205135","123205973","123206011","123206024","123206053","123206312","123206338","123206367","123206406","123206419","123206516","123206545","123206590","123206613","123206639","123206642","123206707","123206710","123206736","123206778","123206781","123206794","123206817","123206846","123206859","123206875","123206888","123206901","123206914","123206927","123206930","123206943","123206956","123206972","123206985","123206998","123271978","123285090","123300153","123305378","123306160","123306429","123307583","123308090","123308430","123308553","123308582","123308618","123308786","123308825","123308922","124000012","124000025","124000054","124000313","124000737","124001545","124002735","124002887","124002942","124002971","124003116","124071889","124084672","124084708","124084779","124084805","124084821","124084834","124085024","124085066","124085244","124085260","124085286","124085299","124100064","124100080","124100417","124100857","124101128","124101513","124101555","124102509","124103582","124103676","124103744","124103757","124103760","124103773","124103786","124103799","124103838","124103841","124103896","124103922","124200249","124201565","124201581","124201594","124201688","124201701","124201756","124300107","124300327","124300699","124300754","124300767","124300806","124301025","124301779","124301850","124302118","124302150","124302257","124302325","124302464","124302503","124302529","124302613","124302914","124302927","124302930","124302969","124303007","124303010","124303023","124303036","124303049","124303065","124303081","124303094","124303104","124303120","124303162","124384521","124384589","124384602","124384631","124384657","124384877","124384974","124385119","124385258","124385274","124385313","125000011","125000024","125000105","125000118","125000574","125006390","125007098","125008013","125008165","125008220","125008288","125008518","125008547","125008644","125008657","125008712","125008806","125008848","125084697","125100076","125100089","125100513","125100607","125101651","125102278","125102430","125102676","125102906","125103882","125104315","125104425","125104564","125104603","125104865","125105550","125105631","125105741","125105822","125106708","125106986","125107008","125107037","125107079","125107260","125107532","125107626","125107642","125107671","125107697","125107707","125107723","125107736","125107765","125107778","125107820","125107862","125107875","125107998","125108065","125108104","125108159","125108175","125108191","125108256","125108269","125108272","125108298","125108311","125108324","125108353","125108366","125108382","125108405","125108447","125108450","125108463","125108476","125108489","125108492","125108502","125108560","125108573","125108599","125108609","125108625","125108667","125108670","125108683","125108696","125108706","125108735","125108748","125108751","125108764","125108793","125108816","125108832","125108858","125108861","125108887","125108890","125108913","125108939","125108942","125108968","125108984","125184568","125184610","125184746","125184937","125185143","125200044","125200057","125200060","125200879","125200905","125200921","125200934","125200947","125200950","125200963","211070023","211070120","211070146","211070162","211070175","211070191","211070227","211070230","211070243","211070256","211072885","211072911","211073211","211073237","211073473","211073499","211073981","211075086","211080602","211080660","211080699","211080709","211080712","211080725","211080741","211080754","211080767","211080783","211080822","211080851","211080877","211080880","211080990","211081067","211081096","211081148","211081203","211081216","211081892","211082309","211082354","211083528","211083557","211091934","211092182","211170046","211170088","211170101","211170114","211170130","211170156","211170169","211170185","211170208","211170211","211170237","211170253","211170279","211170282","211170305","211170318","211170334","211170347","211170363","211170376","211172785","211173357","211173373","211174123","211174136","211174165","211174178","211174181","211174194","211174204","211174217","211174220","211174233","211174259","211174262","211174275","211174288","211174301","211174330","211174343","211174356","211174369","211174990","211176574","211176590","211176613","211176655","211176684","211176707","211176859","211176888","211176891","211176901","211176956","211176969","211176998","211177007","211177010","211177052","211177133","211177612","211177654","211177670","211177683","211177748","211177777","211177816","211177829","211177832","211177942","211178006","211178103","211178190","211178200","211178242","211178271","211178349","211178365","211178378","211178404","211178433","211178572","211178585","211178598","211178608","211178640","211178666","211178705","211178844","211178941","211178967","211179131","211179144","211179283","211179306","211179539","211179568","211179571","211179584","211179607","211179610","211179652","211179937","211179982","211179995","211180010","211180023","211180133","211180159","211189956","211191944","211192273","211192309","211272465","211272504","211272517","211272520","211272546","211272588","211272614","211272630","211272766","211273309","211273749","211273752","211273765","211273781","211273794","211273846","211274382","211274395","211274421","211274447","211274450","211274476","211274492","211274502","211274515","211274531","211274557","211274573","211274586","211274599","211287256","211287298","211287324","211287340","211287353","211287366","211287405","211287447","211287463","211287476","211287502","211287515","211287557","211287560","211287586","211287609","211287612","211287638","211287667","211287696","211287748","211287780","211287793","211287816","211287845","211287858","211287887","211287900","211287913","211287926","211287942","211287971","211287984","211288006","211288019","211288051","211288064","211288077","211288080","211288158","211288161","211288174","211288187","211288226","211288239","211288307","211288381","211288404","211288417","211288433","211288491","211288585","211288598","211288637","211288640","211288653","211288666","211288718","211288747","211288844","211288860","211288912","211288941","211288967","211288970","211288983","211288996","211291666","211291802","211291967","211370011","211370024","211370037","211370053","211370066","211370082","211370095","211370118","211370134","211370150","211370176","211370228","211370231","211370257","211370273","211370299","211370338","211370354","211370370","211370396","211370406","211370419","211370435","211370448","211370451","211370477","211370480","211370493","211370503","211370529","211370545","211370558","211370587","211370590","211370626","211370639","211370642","211370668","211370697","211370707","211370736","211370752","211370833","211370846","211370859","211370862","211370888","211370927","211370943","211370998","211371023","211371052","211371065","211371078","211371120","211371133","211371162","211371191","211371201","211371227","211371230","211371243","211371285","211371298","211371308","211371311","211371324","211371337","211371340","211371353","211371366","211371379","211371421","211371434","211371447","211371450","211371463","211371476","211371489","211371492","211371502","211371544","211371573","211371586","211371599","211371625","211371638","211371641","211371654","211371670","211371706","211371722","211371735","211371764","211371793","211371816","211371829","211371845","211371858","211371887","211371913","211371926","211371939","211371968","211371997","211372035","211372048","211372051","211372064","211372077","211372103","211372129","211372145","211372161","211372187","211372190","211372226","211372239","211372255","211372271","211372284","211372310","211372323","211372352","211372378","211372404","211372417","211372776","211372828","211372844","211372857","211372873","211372909","211372925","211372996","211373018","211373063","211373089","211373102","211373115","211373128","211373267","211373348","211373429","211373461","211373526","211373539","211373542","211373571","211373584","211373597","211373623","211374004","211374020","211374046","211374062","211374091","211380179","211380289","211380302","211380315","211380331","211380344","211380357","211380373","211380409","211380425","211380470","211380483","211380551","211380580","211381314","211381327","211381369","211381372","211381398","211381437","211381440","211381518","211381563","211381576","211381592","211381631","211381660","211381673","211381712","211381738","211381754","211381783","211381958","211381990","211382203","211382232","211382481","211382591","211382627","211382630","211382669","211382672","211382685","211382724","211382737","211382740","211382766","211382779","211382850","211382863","211382902","211382931","211382986","211383066","211383286","211383325","211383338","211383341","211383383","211383480","211383590","211383723","211383736","211383752","211383778","211383781","211383846","211383862","211383875","211383901","211383956","211383972","211383985","211384010","211384065","211384078","211384117","211384133","211384146","211384162","211384175","211384214","211384382","211384395","211384405","211384434","211384586","211384641","211384667","211384706","211384719","211384722","211384861","211384913","211384926","211384939","211384942","211384955","211385035","211385132","211385161","211385297","211385336","211385349","211385378","211385381","211385488","211385514","211385527","211385556","211385569","211385572","211385640","211385653","211385705","211386005","211386034","211386047","211386115","211386144","211386238","211386445","211386597","211386610","211386652","211386759","211386801","211386953","211386966","211387017","211387114","211387127","211387130","211387143","211387169","211387185","211391650","211391689","211391773","211391825","211391922","211392031","211392060","211392099","211392109","211470018","211470115","211470186","211470225","211470238","211470319","211472977","211474661","211474687","211475000","211489083","211489229","211489407","211489449","211489478","211489494","211489591","211489601","211489630","211489656","211489669","211489698","211492478","211572615","211573151","211573177","211573180","211573229","211573290","211573313","211573326","211573407","211574613","211574642","211574833","211574862","211589828","211589899","211589996","211590150","211590176","211590192","211590257","211590260","211590273","211590383","211590464","211590493","211590655","211590671","211590684","211590736","211590749","211590817","211590833","211672476","211672531","211672609","211672683","211672722","211674775","211674788","211690908","211690911","211690924","211690953","211691004","211691017","211691020","211691062","211691114","211691127","211691172","211691185","211691224","211691237","211691266","211691279","211691318","211691321","211691334","211691428","211691444","211691457","211691541","211691583","211691693","211770093","211770132","211770145","211770161","211770174","211770190","211770200","211770213","211770271","211772936","211789000","211789013","211789026","211789055","211789233","211789288","211789291","211789301","211789314","211789372","211870142","211870281","211870799","211870812","211870870","211870935","211870977","211870980","211871015","211871154","211871219","211871523","211871604","211871688","211871691","211871714","211871772","211871837","211871866","211872027","211872331","211872399","211872946","211872959","211873686","211880213","211880271","211882059","211882091","211882143","211883223","211883401","211883414","211883427","211883922","211884905","211885001","211885205","211885234","211885250","211885263","211885810","211885836","211885852","211885917","211885920","211885946","211885988","211886275","211886288","211886712","211892023","211970055","211970194","211973049","211977171","211977197","211977207","211977278","211977281","211977317","211977320","211977333","211977346","211977359","211977362","211977414","211977498","211977524","221172186","221172212","221172238","221172241","221172267","221172270","221172296","221172513","221172610","221173541","221173570","221173622","221173635","221173648","221173651","221173761","221173774","221173868","221173884","221173981","221174045","221174058","221174074","221174375","221174391","221174401","221174414","221174427","221174430","221174498","221174508","221180796","221180806","221180822","221182781","221182804","221182888","221183159","221183227","221183256","221183308","221183311","221270075","221270101","221270114","221270198","221270211","221270240","221270266","221270282","221270318","221270347","221270415","221270525","221270541","221270651","221270677","221270680","221270703","221270758","221270790","221270868","221270910","221271029","221271058","221271090","221271113","221271197","221271265","221271333","221271359","221271414","221271456","221271469","221271485","221271935","221271948","221271951","221271964","221271993","221272028","221272031","221272044","221272125","221272154","221272167","221272303","221272316","221272329","221272332","221272361","221272374","221272439","221272442","221272565","221272578","221273056","221273140","221274521","221274725","221274783","221274848","221274916","221274932","221274958","221275025","221275070","221275177","221275180","221275216","221275326","221275410","221275481","221275494","221275533","221275643","221275708","221275711","221275779","221275821","221275876","221276011","221276037","221276118","221276121","221276176","221276244","221276257","221276370","221276480","221276503","221276545","221276613","221276639","221276697","221276710","221276723","221276781","221276804","221276817","221276888","221276901","221276927","221276956","221276998","221277007","221277133","221277159","221277308","221277324","221277337","221277379","221277476","221277599","221277735","221277748","221277764","221277777","221277816","221277971","221277997","221278035","221278129","221278158","221278174","221278213","221278271","221278307","221278323","221278420","221278446","221278488","221278556","221278608","221278721","221278734","221278747","221278938","221278954","221279021","221283091","221283130","221283347","221283402","221283428","221283444","221283457","221283512","221370030","221370108","221370399","221370467","221370496","221370616","221370632","221370878","221370894","221370904","221371071","221371123","221371165","221371194","221371246","221371356","221371372","221371424","221371534","221371550","221371563","221371589","221371592","221371628","221371644","221371709","221371741","221371770","221371822","221372274","221373202","221373273","221373338","221373383","221373422","221373451","221373707","221373710","221373736","221374175","221374984","221375093","221375116","221375132","221375174","221375200","221375226","221375349","221375378","221375543","221375569","221375682","221375695","221375721","221375802","221375925","221375941","221376005","221376186","221376199","221376296","221376429","221376539","221376542","221376872","221376911","221376924","221376937","221378838","221378896","221378906","221378993","221379060","221379125","221379235","221379248","221379251","221379536","221379581","221379659","221379688","221379730","221379756","221379769","221379785","221379808","221379824","221379895","221379905","221379918","221380075","221380114","221380127","221380143","221380172","221380347","221380363","221380376","221380392","221380457","221380460","221380473","221380486","221380570","221380651","221380677","221380716","221380761","221380787","221380790","221380826","221380842","221380868","221380936","221380949","221381003","221381304","221381456","221381498","221381540","221381715","221381867","221381919","221381935","221382031","221382167","221382358","221382361","221382439","221382468","221382471","221471094","221471104","221471227","221471324","221471858","221471861","221471971","221472776","221472792","221472815","221473652","221475320","221475605","221475634","221475773","221475786","221475867","221475870","221475896","221476413","221476442","221476594","221476688","221476691","221476701","221478877","221479096","221479397","221479407","221480807","221481181","221482148","221482245","221482481","221492002","221571363","221571376","221571415","221571473","221572676","221572689","221572692","221572702","221572838","221572867","221581638","221581641","221581667","221581670","221581696","221581706","221581722","221581748","221581751","221581764","221581777","221581997","221582051","221582077","221582080","221582174","221582213","221582226","221582239","221582284","221582310","221582323","221582336","221582378","221582417","221582459","221582501","221582527","221582569","221582572","221582585","221672851","221682540","221970346","221970443","221970605","221970825","221970980","221971015","221971086","221971138","221971264","221971293","221971316","221971332","221972014","221972027","221972085","221972098","221972111","221972153","221972221","221972234","221972250","221973563","221973589","221975024","221975846","221975956","221976227","221976243","221976654","221976667","221976722","221976793","221976803","221976861","221977006","221977035","221978791","221978966","221978982","221979101","221979114","221979321","221979334","221979363","221979936","221981063","221981092","221981102","221981254","221981335","221981652","221982091","221982130","221982156","221982389","222079291","222079385","222079424","222079440","222079453","222079466","222079495","222079518","222079550","222079602","222079631","222079754","222079806","222079822","222079835","222079848","222079974","222080060","222080112","222080125","222080138","222080141","222080183","222080222","222080264","222080277","222082741","222083070","222083355","222370440","222371054","222371656","222371698","222371740","222371805","222371863","222371876","222379069","222379072","222379085","222379098","222379108","222379124","222379137","222379179","222379195","222379205","222380281","222380294","222380320","222380359","222380388","222380391","222380401","222380427","222380443","222380508","222380524","222380579","222380595","222380634","222380676","222380692","222380702","222380731","222380757","222380760","222380773","222380964","222380977","222381057","222381073","222381112","222381138","222381141","222381183","222381196","222381219","222381235","222381248","222381293","222381387","222381400","222381439","222381442","222381510","222381523","222381549","222381578","222381581","222381594","222381604","222381620","222381646","222381659","222381730","222381824","222381879","222381882","222381918","222381934","222381992","222382027","222382069","222382072","222382111","222382137","222382140","222382153","222382205","222382221","222382234","222382292","222382302","222382315","222382386","222382399","222382425","222382438","222382441","222382496","222382548","222382551","222382593","222382603","222382616","222382661","222382674","222382713","222382726","222382739","222383039","222383055","222383068","222383110","222383149","222383385","222383466","222383479","226070115","226070128","226070131","226070173","226070238","226070270","226070296","226070306","226070319","226070364","226070403","226070474","226070555","226070571","226070584","226070652","226070665","226070717","226070762","226070856","226071004","226071020","226071033","226071091","226071211","226071237","226071389","226071457","226072304","226072317","226072333","226072346","226072362","226072375","226072472","226072498","226072511","226072647","226072841","226072870","226073895","226074001","226074069","226074111","226074195","226074218","226074645","226074658","226074881","226074946","226075291","226075385","226075482","226076038","226076083","226076096","226076122","226076135","226076151","226076339","226076371","226077079","226077189","226077231","226077370","226077451","226077464","226077516","226077532","226077613","226077642","226077862","226077875","226077943","226078036","226078049","226078065","226078104","226078117","226078230","226078256","226078379","226078463","226078476","226078544","226078573","226078609","226078612","226078625","226078670","226079941","226079967","226081942","226082022","226082116","226082129","226082491","226082514","226082598","226092009","231082826","231170181","231170217","231175759","231176512","231176554","231176567","231176570","231176596","231176648","231176664","231176680","231176758","231176787","231176826","231176855","231176884","231176897","231176949","231176952","231176994","231177016","231177058","231177100","231177126","231177139","231177281","231177294","231270256","231270340","231270353","231270366","231270405","231270434","231270654","231270751","231270777","231270793","231270858","231271006","231271080","231271145","231271161","231271226","231271239","231271242","231271284","231271365","231271378","231271404","231271501","231271527","231275882","231277411","231277424","231277440","231277518","231277819","231277822","231277864","231277945","231277990","231278012","231278041","231278054","231278083","231278096","231278119","231278122","231278177","231278203","231278229","231278274","231278339","231278465","231278575","231278614","231278627","231278643","231278711","231278724","231278821","231288808","231288811","231371579","231371595","231371605","231371618","231371634","231371663","231371692","231371799","231371841","231371854","231371867","231371935","231371964","231372028","231372073","231372112","231372141","231372170","231372183","231372248","231372264","231372329","231372361","231372387","231372400","231372439","231372523","231372691","231372798","231372811","231372921","231372963","231373030","231373069","231373179","231373182","231374916","231374945","231374961","231375009","231375038","231375096","231375151","231375177","231375216","231375290","231375397","231375436","231375520","231375575","231375630","231378967","231378983","231378996","231379005","231379034","231379076","231379115","231379131","231379157","231379199","231379225","231379238","231379254","231379270","231379283","231379296","231379306","231379322","231379335","231379393","231379445","231379458","231379461","231379487","231379490","231379513","231379539","231379636","231379759","231379775","231379788","231379791","231379830","231379924","231379966","231379979","231380081","231380104","231380133","231380159","231380298","231380324","231380337","231380405","231380463","231380544","231380612","231380764","231380777","231380780","231380829","231380890","231380997","231381019","231381103","231381116","231381161","231381307","231381310","231381349","231381417","231381459","231381488","231381501","231381514","231381527","231381569","231381585","231381637","231381802","231381815","231381857","231381860","231381938","231381983","231382092","231382115","231382186","231382209","231382241","231382267","231382306","231382351","231382403","231382416","231382458","231382555","231382568","231382597","231382607","231382665","231382678","231385073","231385112","231385154","231385167","231385183","231385235","231385264","231385280","231385345","231385400","231385413","231385507","231385536","231385604","231385633","231385646","231385701","231385714","231385730","231385769","231385785","231385798","231385808","231385879","231385918","231385950","231385976","231385989","231385992","231386030","231386043","231386069","231386108","231386137","231386182","231386221","231386263","231386331","231386344","231386360","231386373","231386386","231386399","231386441","231386454","231386467","231386519","231386548","231386580","231386616","231386629","231386645","231386771","231386784","231386807","231386852","231386865","231386878","231386881","231386894","231386904","231386975","231387013","231387026","231387039","231387042","231387136","231387165","231387178","231387217","231387275","231387343","231387356","231387385","231387466","231387505","231387518","231387550","231387576","231387589","231387602","231387628","231387631","231387644","231387806","231387932","231387974","231388038","231388164","231388216","231388261","231388274","231388494","231388520","231388656","231388711","231388795","231971568","231975836","231980834","231980944","231981697","231982612","231988470","236070545","236073225","236073377","236073474","236073762","236073801","236073830","236073872","236074130","236074156","236074444","236074509","236074525","236074619","236074677","236074732","236074855","236075689","236077658","236077755","236082782","236082821","236082944","236083066","236083095","236083150","236083215","236083228","236083260","236083312","236083655","236083671","236083817","236083927","236084078","236084104","236084162","236084175","236084243","236084285","236084298","236084353","236084476","236084515","236084560","236084751","236084803","236084816","236084829","236084832","236087664","236087680","236087965","241070394","241070417","241070420","241070433","241070446","241070459","241070475","241070501","241070530","241071212","241071762","241073951","241074824","241074837","241074840","241074905","241075056","241075085","241075124","241075153","241075221","241075357","241075386","241075467","241075470","241075577","241075658","241075726","241075920","241076000","241076097","241076110","241076152","241076233","241076327","241076466","241076534","241076657","241076767","241076770","241078244","241078875","241078888","241079052","241079353","241080753","241081024","241081040","241081066","241081079","241081105","241081118","241081121","241081493","241081642","241270039","241270110","241270149","241270181","241270233","241270246","241270291","241270796","241270819","241270822","241270848","241270851","241270903","241270916","241270958","241270974","241271041","241271054","241271096","241271135","241271180","241271193","241271203","241271342","241271371","241271614","241271669","241271724","241271795","241271928","241271931","241271944","241271957","241272024","241272037","241272040","241272053","241272066","241272079","241272118","241272202","241273078","241273081","241273094","241273104","241273117","241273120","241273133","241273188","241273243","241273269","241273285","241273308","241273366","241273447","241273463","241273489","241273612","241273706","241273780","241273845","241273858","241273861","241273887","241274077","241274116","241274200","241274268","241274336","241274446","241274459","241274462","241274501","241274514","241274569","241274598","241274608","241274624","241274653","241276910","241278099","241278109","241278167","241278293","241278345","241278361","241278387","241278507","241278659","241278662","241278743","241278785","241278811","241279014","241279072","241279111","241279234","241279292","241279548","241279564","241279603","241279616","241279687","241279739","241279810","241279881","241279920","241279959","241280058","241280252","241280281","241280294","241280362","241280430","241280498","241280511","241280582","241280634","241280647","241280650","241280715","241280731","241280883","241280935","241280951","241280977","241280980","241281248","241281251","241281442","241281471","241281594","241281714","241281743","241281772","241281824","241281853","241281882","241281895","241281976","241282072","241282124","241282137","241282140","241282153","241282205","241282276","241282373","241282412","241282483","241282506","241282522","241282535","241282564","241282577","241282593","241282603","241282632","241282658","241282674","241282713","241282739","241282755","241282823","241282849","241282991","241283071","241283181","241283194","241283204","241283372","241283408","241283479","241283495","241283521","241283880","241283945","242070791","242070885","242070966","242071004","242071017","242071033","242071046","242071088","242071237","242071282","242071295","242071305","242071473","242071509","242071541","242071583","242071664","242071758","242071855","242071897","242072168","242072391","242072663","242072715","242074425","242076355","242076465","242076559","242076562","242076588","242076591","242076601","242076643","242076656","242076669","242076672","242076685","242076698","242076711","242076753","242076779","242076805","242076821","242076889","242076973","242077082","242077121","242077312","242077338","242077396","242077422","242077503","242077529","242077532","242077574","242077626","242086031","242086361","242086484","242170002","242170028","242170031","242170073","242170086","242170125","242170170","242170248","242170280","242170316","242170374","242170426","242170442","242170455","242170523","242170536","242170549","242170565","242170646","242175528","242175557","242175612","242175670","242175735","242175751","242175803","242175874","242175955","242175984","242176006","242176048","242176051","242176129","242176187","242176255","242186180","242186258","242186326","242270698","242270737","242271969","242272146","242272159","242272188","242272191","242272214","242272227","242272269","242272272","242272285","242272311","242272324","242272337","242272366","242272405","242272447","242272463","242272489","242272612","242272625","242272670","242272793","242272816","242272861","242272874","242272887","242272968","242274403","242276362","242276388","242277675","242277769","242277808","242277824","242277853","242277882","242277895","242277905","242277950","242278043","242278056","242278072","242278124","242278153","242278166","242278179","242278205","242278247","242278331","242278360","242278409","242278467","242278616","242278713","242278742","242278755","242278768","242278771","242278797","242278823","242278878","242278920","242279068","242279097","242279110","242279136","242279149","242279181","242279275","242279408","242279437","242370776","242372745","242372758","242374361","242376411","242377669","242386414","243073616","243073632","243073797","243073823","243073852","243073904","243073959","243074042","243074071","243074385","243080573","243083198","243083208","243083211","243083224","243083237","243083240","243083266","243083305","243083347","243083363","243083428","243083431","243083473","243083512","243083538","243083583","243083664","243083677","243083745","243083774","243083981","243084032","243084074","243084100","243084207","243084249","243084252","243084281","243084294","243084333","243084359","243084469","243084595","243084634","243084650","243084663","243084676","243084689","243084760","243085950","243086111","243086166","243086221","243086373","243086496","243086580","243086661","243086784","243086807","243270671","243272941","243278262","243278534","243278709","243279203","243279229","243279449","243373112","243373141","243373170","243373206","243373222","243373248","243373280","243373332","243373358","243373387","243373442","243373471","243373484","243374108","243374124","243374153","243374218","243374221","243374234","243374250","243374263","243374467","243379462","243379475","243379514","243379556","243379585","243379598","243379624","243379640","243379653","243379682","243379695","243379705","243379718","243379734","243379831","243379860","243379873","243379899","243379925","243379983","243380008","243380040","243380066","243380082","243380105","243380150","243380192","243380260","243380273","243380341","243380354","243380370","243380396","243380422","243380448","243380451","243380477","243380516","243380529","243380833","243380846","243380875","243380927","243380930","243381065","243381117","243381133","243381146","243381337","243381421","243381447","243381476","243381502","243381515","243381531","243381586","243381599","243381641","243381696","243381735","243381764","243381777","243381793","243381803","243381816","243381845","243381939","243381984","243381997","243382048","243382080","243382093","243382103","243382132","243382158","243382161","243382187","243382226","243382268","243382365","243382394","243382527","243382556","243382572","243382653","243382747","243382763","243382802","243382815","243382831","243382873","243382909","243382912","243382925","243382938","243382954","243383021","243383047","243383063","243383186","243384910","243384965","243384978","243384981","243385058","243385139","243385142","243385155","243385249","243385252","243385362","243385427","243385430","243385443","243385456","243385485","243385508","243385919","243385935","243386523","243386620","243386633","243470183","243470196","243474273","243474312","243474325","243475829","243485631","243485660","243485673","243485686","243485699","243485767","243485806","243485880","243486067","244072166","244077022","244077035","244077077","244077093","244077129","244077132","244077226","244077255","244077271","244077323","244077446","244077475","244077556","244077637","244077679","244077682","244077695","244077776","244077815","244077886","244077899","244077909","244078018","244078021","244084264","244170165","244170259","244170275","244170877","244170880","244171245","244171533","244171575","244171902","244171915","244171999","244172008","244172082","244172095","244174352","244174365","244179027","244179043","244179409","244180139","244180223","244180236","244180537","244180566","244180663","244180689","244183602","244183615","244183631","244270191","244271543","244273826","244274100","244274731","244274744","244274786","244278863","244280107","244281193","251072968","251082110","251082136","251082149","251082152","251082194","251082233","251082288","251082327","251082372","251082398","251082411","251082424","251082453","251082466","251082479","251082495","251082576","251082589","251082615","251082644","251082657","251082673","251082712","251472542","251472555","251472623","251472636","251472759","251472762","251472885","251473075","251473088","251473091","251473512","251473758","251473787","251479927","251479930","251480123","251480165","251480178","251480181","251480217","251480288","251480291","251480301","251480327","251480372","251480385","251480398","251480424","251480453","251480466","251480482","251480563","251480576","251480592","251480631","251480712","251480725","251480738","251480806","251480848","251480851","251480877","251480880","251481041","251481067","251481122","251481148","251481180","251481216","251481229","251481342","251481355","251481368","251481384","251481423","251481478","251481614","251481627","251481643","251481656","251481669","251481672","251481685","251481711","251481724","251481737","251481740","251481766","251481779","251481818","251481902","251481915","251481928","251481957","251481986","251481999","251482008","251482066","251482095","251482833","251482859","251482891","251482914","251482927","251482998","251483010","251483023","251483078","251483159","251483175","251483214","251483230","251483243","251483256","251483272","251483311","251483324","251483340","251483421","251484459","251484514","251484941","251573182","251573234","251578705","251578721","251578763","251578776","251578815","251578844","251579050","251579089","251579092","251579102","251579186","251579238","251579254","251579319","251579377","251579403","251579458","251579474","251579678","251579694","251579830","251579908","251579911","251583457","251583486","251583538","251583567","251583839","251583868","251583907","251583910","251583936","251583978","251584003","251584016","251584029","251584032","251584045","251584061","251584100","251584126","251584142","251584184","251584197","251584207","251983617","251983633","251983662","251983675","251983691","251983730","251983756","251983798","251983811","251983853","251984386","251984409","251984467","252070299","252070309","252070435","252070545","252070561","252070639","252070684","252070723","252070752","252070817","252070891","252070972","252070985","252071065","252071078","252071146","252071159","252071214","252071227","252071379","252071405","252071557","252071654","252071706","252071780","252071861","252073018","252075663","252075744","252075757","252075870","252075977","252075980","252076044","252076235","252076248","252076390","252076442","252076468","252076565","252076578","252076646","252076701","252076714","252076727","252076730","252076785","252076798","252076811","252076866","252172485","252176889","252177118","252177121","252177147","252177150","252177163","252177176","252177752","252177927","252178201","252279414","253070201","253074951","253074977","253075015","253075028","253075031","253075044","253075112","253075251","253075293","253075303","253170020","253170062","253170088","253170143","253170240","253170253","253170279","253170282","253170305","253170334","253170376","253170392","253170486","253170512","253170525","253170677","253170758","253170842","253170884","253170936","253170981","253171003","253171197","253171252","253171294","253171427","253171430","253171498","253171524","253171537","253171540","253171595","253171605","253171621","253171676","253171728","253171773","253173496","253173661","253173700","253174576","253174589","253174592","253174738","253174822","253174851","253174893","253174903","253174929","253175384","253175397","253175410","253175449","253175481","253175494","253175517","253175546","253175643","253175656","253175685","253175708","253175724","253175737","253175834","253175889","253175931","253175957","253175960","253175973","253175986","253176037","253176066","253176118","253176150","253176163","253176215","253176231","253176257","253176273","253176286","253176367","253176448","253176574","253176613","253176626","253176671","253176794","253176846","253176875","253176901","253176930","253176972","253177049","253177117","253177120","253177133","253177201","253177230","253177308","253177447","253177476","253177502","253177586","253177609","253177748","253177793","253177832","253177861","253177887","253177968","253177984","253177997","253178022","253184317","253184359","253184427","253184430","253184472","253184537","253184692","253184809","253184812","253184825","253184841","253184854","253184870","253184922","253184977","253185002","253271806","253271822","253271916","253271945","253271974","253271987","253272009","253272070","253272148","253272229","253272261","253272287","253272342","253272368","253272384","253272410","253272481","253272494","253272533","253273901","253278058","253278061","253278090","253278126","253278139","253278142","253278184","253278197","253278236","253278304","253278333","253278362","253278391","253278401","253278414","253278430","253278498","253278870","253278906","253278935","253278964","253278980","253279002","253279028","253279031","253279099","253279109","253279167","253279183","253279196","253279206","253279277","253279332","253279345","253279358","253279361","253279390","253279439","253279471","253279497","253279507","253279510","253279523","253279536","253279565","253279578","253279581","253279617","253279620","253279659","253279691","253279714","253279785","253279808","253279811","253279918","253284563","253284990","253285012","253285025","253285041","253978581","253978604","253978617","253978620","253978691","253978730","253978743","253978756","253978769","253978785","253978824","254070019","254070077","254070116","254070132","254074031","254074057","254074112","254074170","254074183","254074222","254074235","254074277","254074345","254074358","254074374","254074400","254074413","254074426","254074439","254074442","254074455","254074468","254074536","254074581","254074620","254074646","254074662","254074675","254074688","254074727","254074730","254074756","254074785","254074798","254074811","254074837","254074934","254075014","254075027","254075043","254075069","254075072","254075111","254075137","254075250","254075344","254075386","254075399","254075409","254075438","254075441","254075454","254075470","254075483","254075506","254075551","254079874","255070351","255071444","255071981","255072029","255072045","255072126","255072142","255072207","255072236","255072252","255072278","255072317","255072362","255072388","255072427","255072537","255072582","255072595","255072935","255073219","255073251","255073345","255074111","255074988","255075495","255075576","255075589","255076753","255076892","255076902","255076928","255076944","255076973","255077008","255077024","255077066","255077079","255077299","255077312","255077325","255077370","255077406","255077419","255077451","255077477","255077480","255077493","255077503","255077516","255077561","255077600","255077613","255077639","255077671","255077736","255077749","255077833","255077888","255077891","255077901","255077985","255077998","255078052","255078159","255078188","255079527","255080011","255081586","255083597","256072691","256072701","256073302","256073328","256073360","256073373","256074961","256074974","256075025","256075342","256075520","256078255","256078284","256078365","256078404","256078433","256078446","256078459","256078462","256078491","256078501","256078514","256078527","256078543","256078556","256078569","256078572","256078598","256080528","257078966","257078982","257078995","257079033","257079716","261070141","261071140","261071166","261071182","261071195","261071315","261071328","261071357","261071373","261071412","261071438","261071522","261071548","261071551","261071564","261071577","261071661","261072259","261072479","261072495","261072547","261072770","261072974","261073326","261073410","261073478","261073520","261073559","261073591","261073737","261073782","261073834","261074671","261084988","261089585","261170290","261170371","261170465","261170494","261170533","261170546","261170708","261170740","261170818","261170876","261170931","261171163","261171215","261171228","261171244","261171273","261171299","261171309","261171338","261171341","261171383","261171480","261171493","261171587","261171671","261171781","261171901","261171927","261171972","261172007","261172078","261172175","261172227","261172308","261172395","261172450","261172528","261172560","261172573","261172696","261172748","261172764","261172780","261172968","261173352","261173433","261173514","261173585","261173653","261173941","261174296","261174306","261174432","261174759","261174775","261174898","261174995","261175156","261175169","261175415","261175512","261175541","261187173","261187843","261189061","261190490","261190649","261191169","261191334","261270417","261270679","261270695","261270789","261270831","261270857","261270912","261271115","261271238","261271267","261271364","261271403","261271500","261271649","261271694","261271704","261271717","261271759","261271791","261271982","261272046","261272101","261272266","261272460","261272583","261272648","261272651","261272680","261272826","261272839","261272897","261273016","261273087","261273142","261273155","261273207","261273304","261273401","261273456","261273485","261275001","261275551","261287044","261287633","261289880","261290361","261291043","261291247","261375684","261378652","261388273","261388286","261388312","261388325","261388406","261388503","261388516","261388532","261388587","261388723","261388749","261388765","261388888","261388930","261388998","261389036","262000932","262073260","262075475","262083881","262083959","262083991","262084356","262084385","262084893","262084916","262084961","262085070","262085096","262085261","262085478","262085863","262086338","262086477","262086561","262086671","262086749","262087133","262087159","262087447","262087502","262087515","262087528","262087609","262088019","262088051","262088116","262090120","262090780","262175867","262175870","262176358","262176743","262176840","262183626","262183749","262183985","262184078","262184515","262185116","262187716","262275783","262275835","262275848","262275958","262276368","262276384","262276397","262276410","262276452","262276533","262276562","262276575","262276630","262276656","262276698","262276724","262276737","262276805","262276944","262277008","262277011","262277024","262277105","262277118","262277189","262277192","262277202","262277215","262277257","262277260","262277273","262277286","262277309","262277354","262277370","262277419","262283665","262283843","262283908","262284253","262284279","262284415","262284431","262284460","262284693","262285184","262285223","262285304","262285511","262285605","262285621","262285663","262285838","262285951","262286109","262286170","262286358","262286455","262286688","262286950","262287195","262287218","262287344","262287360","262287386","262287425","262287551","262287894","262289326","262289355","262291424","263078811","263078837","263078918","263078921","263078934","263078947","263078950","263078963","263079014","263079027","263079043","263079056","263079085","263079108","263079124","263079166","263079182","263079234","263079250","263079276","263079289","263079373","263079409","263079412","263079425","263089800","263090938","263091128","263170175","263177547","263177563","263177660","263177686","263177712","263177725","263177741","263177754","263177783","263177903","263177916","263177932","263178070","263178216","263178410","263178423","263178452","263178478","263178481","263178494","263179532","263179574","263179781","263179804","263179817","263179859","263179891","263179914","263179956","263180958","263180990","263181151","263181229","263181287","263181342","263181368","263181384","263181407","263181423","263181449","263181478","263181481","263181494","263181575","263181779","263181805","263182037","263182040","263182150","263182163","263182312","263182480","263182503","263182516","263182529","263182545","263182558","263182587","263182600","263182626","263182639","263182642","263182671","263182723","263182749","263182794","263182817","263182833","263182901","263182914","263182969","263183007","263183010","263183036","263183049","263183117","263183159","263183175","263183492","263184488","263184815","263184996","263185018","263187320","263189069","263189218","263189263","263189289","263189386","263189616","263189661","263189865","263190634","263190757","263190812","263191086","263191387","263191390","263191484","263277599","263277670","263277696","263277887","263277984","263279937","263280939","263281527","263281543","263281556","263281585","263281608","263281624","263281637","263281640","263281653","263281679","263281695","263281705","263281718","263281721","263281747","263281750","263281967","263289095","263290220","263290576","263290864","264071590","264071752","264080390","264080400","264080497","264080523","264080549","264080578","264080633","264080808","264080811","264080837","264080853","264080866","264080895","264080934","264080989","264080992","264081111","264081124","264081153","264081179","264081205","264081218","264081221","264081250","264171209","264171241","264171267","264171270","264171432","264171500","264171542","264172156","264172169","264174303","264178668","264178671","264178710","264178998","264179900","264180070","264181286","264181299","264181448","264181574","264181590","264181626","264181671","264182120","264182272","264182337","264182395","264271183","264271196","264271280","264271293","264271303","264271345","264271361","264271390","264271468","264271510","264271617","264272027","264278283","264278296","264278432","264278445","264278461","264278474","264278513","264278568","264278584","264278597","264278733","264278827","264278843","264278872","264279091","264279237","264279253","264279279","264279295","264279321","264279334","264279350","264279363","264279415","264279444","264279460","264279473","264279538","264279541","264279554","264279567","264279570","264279583","264279606","264279622","264279745","264279758","264279800","264280022","264280035","264280129","264280187","264280255","264281364","264281380","264281393","264281416","264281432","264282428","265070435","265070516","265070529","265070532","265070545","265070574","265070587","265070590","265070671","265070736","265070749","265070752","265073238","265075087","265075142","265075207","265075210","265075304","265075346","265075401","265075511","265075540","265075621","265075634","265075663","265075786","265075812","265075825","265075838","265075867","265075870","265075883","265075980","265076028","265076112","265076125","265076329","265081864","265082449","265175961","265176009","265176012","265176038","265176067","265176083","265176151","265176193","265176203","265176232","265176245","265176258","265176274","265176313","265176339","265186594","265190483","265270002","265270138","265270196","265270222","265270303","265270316","265270345","265270413","265270769","265270772","265270811","265272343","265273025","265273041","265273054","265273067","265273070","265273096","265273106","265273119","265273122","265273164","265273892","265273902","265274325","265274367","265274370","265274422","265274435","265274451","265274477","265274503","265274516","265274545","265274558","265274574","265274590","265274642","265274655","265274671","265274723","265274736","265274749","265274765","265274820","265274859","265276433","265276491","265276637","265281729","265281897","265281965","265370915","265371053","265371066","265371082","265371121","265376906","265376948","265376980","265376993","265377002","265377028","265377073","265377099","265377167","265377196","265377222","265377235","265377251","265377277","265377280","265377293","265377329","265377332","265377345","265377387","265377390","265377400","265377426","265377484","265377510","265377549","265377565","265377633","265377675","265377714","265377730","265377743","265377756","265377811","265377840","265377895","265377905","265377921","265377950","265377963","265377976","265378043","265378098","265378166","265378182","265378247","265381991","265470158","265470242","265470381","265470394","265470792","265472062","265472208","265472415","265473207","265473252","265473278","265473281","265473317","265473320","265473333","265473346","265473375","265473388","265473401","265473414","265473472","265473485","265473498","265473508","265473511","265473524","265473540","265473582","265473618","265473663","265473702","265473715","265473731","265473760","265473773","265473812","265473825","265473838","265473922","265473951","265474031","265474044","265474057","265474086","265474109","265474125","265474154","265474196","265474222","265474251","265474808","265474840","265474918","265475292","265476411","265476440","265476453","265476482","265476534","265476547","265476657","265476660","265481888","265482382","265482450","265576696","265576706","265576719","265576722","265577585","266080026","266080071","266080107","266080181","266080204","266080369","266080372","266080398","266080437","266080440","266080686","266086554","267077601","267077627","267077795","267077821","267077847","267077850","267078150","267078286","267078299","267078325","267078341","267078626","267078707","267078736","267078765","267078781","267079544","267079557","267079560","267079984","267080135","267080177","267080326","267080355","267080520","267080614","267080821","267080834","267080876","267081118","267081927","267081943","267082201","267083239","267083242","267083268","267083271","267083323","267083336","267083349","267083763","267084131","267084144","267084199","267086058","267087358","267087769","267089136","267089712","267090060","267090455","267090536","267090594","267090691","267090769","267090772","267091027","267091221","267091250","267091263","271070490","271070513","271070584","271070607","271070681","271070788","271070791","271070801","271070814","271070843","271070908","271070924","271070979","271071004","271071033","271071062","271071114","271071156","271071198","271071224","271071253","271071279","271071295","271071321","271071334","271071350","271071402","271071415","271076986","271077040","271077244","271077257","271077888","271077891","271077985","271078094","271078146","271078162","271078175","271078557","271078638","271078719","271078997","271079103","271079271","271079352","271079404","271079640","271079747","271080095","271080309","271080325","271080354","271080545","271080684","271080710","271080817","271080862","271080891","271080956","271080985","271081502","271081528","271081560","271081599","271081939","271082022","271092122","271092892","271170154","271170264","271170390","271170413","271171616","271171674","271171988","271172262","271172275","271172521","271172644","271172660","271172754","271172987","271173038","271173339","271173368","271173452","271173494","271173627","271173724","271176035","271176048","271176080","271176103","271176116","271176200","271176226","271176653","271176679","271176828","271176899","271176909","271182430","271182524","271182566","271182579","271182618","271182634","271182692","271182702","271182715","271182883","271182919","271182993","271183015","271183028","271183109","271183125","271183219","271183646","271183662","271183691","271183701","271183727","271184425","271184441","271184522","271184564","271186070","271186122","271186368","271186410","271186423","271186449","271186517","271186575","271186766","271186931","271187480","271187574","271187587","271187642","271187749","271187765","271187833","271187875","271188078","271188081","271188230","271188285","271188311","271188337","271188968","271189310","271189336","271189352","271189381","271189417","271189433","271189446","271189488","271189491","271189608","271189734","271189792","271189844","271189909","271190150","271192310","271192802","271192967","271250647","271274115","271274128","271274186","271274241","271276537","271290351","271290571","271290597","271290623","271290681","271291017","271291350","271291389","271291457","271291460","271291486","271291525","271291596","271291619","271291648","271291680","271291729","271291761","271291774","271291790","271291813","271291826","271291855","271291884","271292838","271970066","271970079","271970147","271970299","271970312","271970448","271971502","271971528","271971560","271971599","271971735","271971777","271971816","271971829","271971887","271971890","271972064","271972103","271972116","271972145","271972161","271972239","271972310","271972381","271972404","271972462","271972501","271972569","271972572","271972653","271972679","271972718","271972828","271972844","271972899","271972912","271972925","271973128","271973487","271973542","271973568","271973762","271973775","271973791","271973924","271973937","271974004","271974017","271974033","271974046","271974059","271974062","271974224","271974295","271975388","271975391","271975401","271975443","271975456","271975485","271975498","271975508","271975566","271975715","271975951","271976329","271976510","271976523","271977616","271979193","271980111","271981657","271982083","271982119","271982290","271982737","271982779","271983341","271983422","271983804","271983833","271983927","271984133","271984162","271984285","271984311","271984780","271984832","271984861","271984890","271985093","271985213","271985226","271985239","271985352","271985420","271985433","271985462","271985491","271985527","271985556","271985598","271985624","271985721","271985938","271986678","271986746","271986801","271986869","271987075","271987088","271987130","271987143","271987224","271987305","271987334","271987363","271987392","271987635","271988113","271988388","271988456","271988647","271988689","271988702","271988760","271988773","271988838","271988854","271988948","271988980","271988993","271989060","271989112","271989222","271989675","271989688","271989714","271989756","271989950","271990169","271990198","271990253","271990295","271990473","271990525","271990761","271990787","271990871","271990907","271990923","271990952","271990994","271991139","271991155","271991168","271991207","271991210","271991951","271992141","271992183","271992219","271992400","271992468","271992581","271992688","271992989","272071223","272077984","272078048","272078116","272078158","272078268","272078297","272078323","272078352","272078365","272078394","272078417","272078446","272078488","272078569","272078653","272078679","272078828","272078844","272078857","272078925","272079018","272079021","272079377","272079429","272079432","272079487","272471072","272471085","272471098","272471124","272471153","272471166","272471179","272471182","272471357","272471399","272471438","272471483","272471519","272471548","272471551","272471632","272471658","272471661","272471674","272471836","272471849","272471852","272476239","272476268","272476349","272476352","272476378","272476381","272476394","272476404","272476420","272476433","272476446","272476462","272476527","272476543","272476653","272476666","272476705","272476734","272476763","272476776","272476802","272476844","272476912","272476925","272476983","272476996","272477034","272477199","272477241","272477267","272477306","272477322","272477393","272477429","272477432","272477445","272477461","272477487","272477500","272477539","272477542","272477568","272477571","272477681","272477694","272477704","272477720","272477746","272477762","272477872","272477885","272478075","272478130","272478350","272478703","272478842","272478871","272478910","272479388","272479582","272479618","272479634","272479663","272479715","272479728","272479744","272479812","272479841","272479867","272479870","272479919","272479922","272479935","272479977","272479980","272479993","272480047","272480063","272480115","272480128","272480131","272480157","272480173","272480199","272480212","272480306","272480335","272480348","272480393","272480429","272480432","272480461","272480500","272480571","272480636","272480649","272480665","272480678","272480694","272480775","272480791","272480872","272480979","272480995","272481004","272481017","272481114","272481185","272481266","272481363","272481389","272481499","272481512","272481541","272481554","272481567","272481583","272481619","272481651","272481680","272481729","272481761","272481787","272481800","272481813","272481826","272481839","272481855","272481871","272481884","272481952","272481965","272481981","272482003","272482032","272482061","272482126","272482197","272482223","272482265","272482281","272482294","272482346","272482375","272482414","272482430","272482456","272482508","272482511","272482582","272482676","272482715","272482773","272482825","272482838","272482841","272482883","272482906","272482922","272483015","272483060","272483073","272483099","272483109","272483125","272483167","272483170","272483196","272483251","272483264","272483277","272483316","272483332","272483345","272483387","272483426","272483484","272483536","272483594","272483633","272483675","272483743","272483785","272483808","272483840","272483853","272483879","272483882","272483905","272483918","272483947","272483963","272484014","272484056","272484098","272484108","272484137","272484166","272484179","272484195","272484218","272484247","272484289","272484292","272484302","272484344","272484373","272484425","272484441","272484470","272484535","272484551","272484603","272484616","272484629","272484645","272484658","272484674","272484700","272484713","272484797","272484807","272484823","272484836","272484852","272484894","272484917","272484988","272485039","272485107","272485136","272485194","272485259","272485275","272485291","272485314","272485372","272485385","272485408","272485424","272485482","272485495","272485547","272485602","272485657","272485673","272485725","272485741","272485767","272485835","272485851","272485877","272485932","272485945","272485990","272486025","272486041","272486096","272486164","272486177","272486193","272486203","272486232","272486245","272486258","272486407","272486449","272486452","272486627","272486724","272486740","273070278","273073806","273073848","273073851","273073916","273073932","273073945","273073958","273073974","273074012","273074041","273074054","273074067","273074135","273074148","273074229","273074261","273074339","273074342","273074407","273074452","273074494","273074504","273970103","273970116","273970174","273970365","273970446","273970491","273970514","273970585","273970640","273970682","273970776","273970941","273972583","273972596","273972619","273972648","273972761","273972774","273972813","273972839","273972842","273972871","273972897","273972936","273972949","273973074","273973100","273973168","273973210","273973252","273973265","273973281","273973320","273973359","273973456","273973511","273973540","273973553","273973663","273973702","273973786","273974549","273974565","273974578","273974581","273974633","273974701","273974730","273974882","273974905","273974947","273974963","273975069","273975098","273975153","273975182","273975221","273975263","273975276","273975292","273975331","273975357","273975399","273975412","273975483","273975522","273975548","273975564","273975593","273975629","273975674","273975726","273975742","273975755","273975771","273975823","273975904","273975917","273975946","273975991","273976181","273976262","273976301","273976356","273976369","273976408","273976437","273976482","273976518","273976592","273982764","273982816","273982858","274070439","274070484","274073711","274073766","274073805","274073818","274073834","274073863","274073876","274073928","274073957","274074037","274074040","274074066","274074105","274074121","274074134","274074163","274074192","274074202","274074257","274074309","274074325","274074558","274074600","274086339","274086533","274970021","274970050","274970063","274970076","274970144","274970173","274970186","274970199","274970267","274970351","274970380","274970568","274970584","274970607","274970610","274970623","274970636","274970649","274970652","274970665","274970681","274970717","274970775","274970791","274970801","274970814","274970827","274970830","274970843","274970872","274970937","274970995","274971101","274971729","274971800","274972579","274972582","274972605","274972689","274972744","274972760","274972838","274972854","274972883","274972919","274972948","274972980","274973057","274973073","274973125","274973141","274973167","274973183","274973196","274973206","274973219","274973222","274973316","274973358","274973374","274973390","274973468","274973549","274973578","274973581","274973594","274973620","274974645","274974658","274974661","274974700","274974726","274974755","274974768","274974810","274974852","274974865","274974878","274974917","274974946","274975042","274975068","274975107","274975152","274975165","274975220","274975259","274975262","274975291","274975301","274975356","274975385","274975408","274975424","274975437","274975466","274975592","274975602","274975660","274975709","274975725","274975754","274975770","274975848","274975880","274975929","274975932","274975958","274976009","274976025","274976038","274976067","274976151","274976180","274976193","274976203","274976216","274986413","274986594","274986659","275070056","275071246","275071259","275071288","275071301","275071314","275071327","275071330","275071356","275071385","275071398","275071408","275071767","275071770","275077279","275077282","275079578","275079581","275079662","275079714","275079879","275079882","275079976","275080253","275080282","275080334","275080525","275080567","275080570","275081582","275082439","275082468","275082471","275082646","275082866","275970020","275970130","275970813","275970826","275970981","275971003","275971029","275971087","275971113","275971139","275971142","275971498","275971524","275971582","275971634","275971692","275971825","275971838","275971854","275971906","275976655","275976833","275976891","275976943","275976956","275977049","275977052","275977078","275977094","275977120","275977146","275977159","275977256","275977450","275977476","275977489","275977515","275977560","275977641","275977670","275977748","275977777","275977803","275977832","275977858","275977890","275977900","275977926","275978048","275978080","275978093","275978116","275978145","275978161","275978213","275978226","275978239","275978271","275978310","275978394","275978417","275978721","275978734","275978750","275978828","275978886","275978983","275978996","275979021","275979034","275979050","275979063","275979076","275979144","275979173","275979212","275979267","275979306","275979322","275979351","275979364","275979377","275979393","275979429","275979474","275979490","275980735","275980751","275980777","275980793","275980816","275980832","275980861","275980887","275980900","275980926","275980968","275981064","275981080","275981093","275981116","275981132","275981145","275981158","275981174","275981187","275981213","275981242","275981378","275981394","275981420","275981543","275981792","275981828","275981873","275981909","275981954","275981967","275982005","275982050","275982089","275982102","275982115","275982144","275982238","275982283","275982296","275982322","275982335","275982351","275982526","275982539","275982584","275982597","275982801","275983017","281070778","281070901","281070914","281070985","281071081","281071227","281072925","281073445","281073458","281073555","281073568","281076167","281076170","281076235","281076277","281076536","281076675","281076688","281076730","281076743","281076824","281076853","281076866","281076882","281076895","281076905","281077522","281077603","281080315","281080360","281080739","281080768","281080988","281080991","281081000","281081013","281081233","281081246","281081466","281081479","281081495","281081505","281081534","281081686","281081738","281081877","281081961","281082038","281082148","281082203","281082216","281082258","281082339","281082384","281082397","281082407","281082423","281082436","281082504","281082915","281082931","281082944","281085585","281085705","281086351","281271014","281271056","281271137","281271179","281271263","281271438","281271454","281276242","281276378","281276420","281277005","281277063","281277173","281277199","281277241","281277319","281277351","281277364","281277377","281277403","281277445","281277555","281285631","281371613","281371626","281371972","281372007","281372010","281377646","281377691","281378108","281378179","281572988","281573013","281573204","281573259","281573275","281573288","281573686","281580381","281580417","281580420","281580462","281580501","281580572","281580679","281580695","281580705","281581047","281581063","281581076","281581144","281581160","281582693","281586398","281970881","281971301","281971356","281971424","281971505","281972931","281980619","281980622","281985973","282074236","282074566","282074582","282075028","282075086","282075138","282075141","282075170","282075219","282075235","282075251","282075264","282075303","282075390","282075413","282075471","282075523","282075552","282075662","282075675","282075730","282075743","282076001","282970068","282970110","282970181","282970204","282970437","282974006","282974161","282974527","282974530","282974637","282974679","282974695","282974750","282974763","282974831","282974860","282974873","282974899","282974925","282974938","282974970","282974996","282975018","282975034","282975788","282975827","282975843","282975856","282975869","282975908","282975940","282975953","282976020","282976059","282985558","283071788","283071827","283071830","283077669","283077931","283078082","283078684","283078710","283078778","283078846","283078888","283078914","283079094","283079117","283079120","283079159","283079175","283079214","283079227","283079272","283079298","283079311","283079324","283079353","283079382","283079450","283079476","283079609","283079722","283085868","283970850","283971600","283971901","283971914","283972023","283972036","283972065","283972078","283972094","283972120","283972162","283972230","283972434","283972560","283977633","283977688","283977905","283977989","283977992","283978001","283978137","283978357","283978360","283978425","283978441","283978467","283978522","283978564","283978593","283978616","283979822","283979835","283979877","283979929","283979945","283979961","283979974","283980002","283980015","283980031","283980044","283980099","283980109","283980125","283980138","283980222","283985599","283985829","283985913","284071949","284073785","284084101","284084114","284084130","284084208","284084266","284084350","284084363","284084376","284084460","284084512","284084541","284084554","284084567","284084635","284084813","284084842","284084871","284084907","284084936","284084949","284085003","284085074","284085139","284085168","284085197","284085317","284085375","284086471","284170109","284170141","284170468","284170510","284174134","284174613","284272625","284272641","284272654","284272670","284272780","284273912","284273970","284274076","284283067","284283106","284283164","284283203","284283216","284283232","284283261","284283342","284283397","284283407","284283423","284283504","284283630","284286048","284286051","284373760","284373838","284383789","284383886","284383941","284383954","284383983","284383996","284384241","284385415","286371663","286371676","286377764","286377777","286377780","286377793","286377858","286377874","286377890","286573089","286573322","286573335","286573351","286580807","286580810","286580823","286580852","286580865","286580878","286580894","286580917","286582708","286582711","286582737","286582740","286582779","286582782","286582805","286582834","286582850","286582876","286586254","286586416","291070001","291073231","291073503","291073833","291074065","291074308","291074418","291074502","291074544","291074612","291074638","291074654","291074670","291074696","291074719","291074722","291074748","291074751","291074793","291074971","291074984","291075022","291075048","291075051","291075080","291075103","291075116","291075129","291075459","291172530","291172543","291172556","291172569","291172598","291172624","291172637","291172640","291172682","291172721","291172747","291172763","291172776","291172789","291172792","291172844","291172860","291172909","291172954","291172967","291172970","291172996","291173018","291173047","291173050","291173076","291173089","291173102","291173128","291181013","291270050","291270270","291270416","291270461","291270571","291270636","291270649","291270665","291270717","291271004","291271240","291271305","291273316","291273374","291273442","291273497","291273510","291273549","291273552","291273882","291273905","291273947","291273950","291273963","291274014","291274030","291274056","291274085","291274108","291274111","291275194","291275220","291275288","291275408","291276481","291276562","291276591","291276601","291276614","291276630","291281560","291370918","291378130","291378169","291378198","291378266","291378295","291378321","291378334","291378376","291378389","291378392","291378402","291378444","291378460","291378486","291378512","291378538","291378554","291378583","291378606","291378635","291378648","291378693","291378745","291378758","291378774","291378790","291378813","291378826","291378839","291378868","291378871","291378884","291378897","291378936","291378949","291379126","291379142","291381570","291471011","291471024","291471066","291471134","291471419","291479165","291479178","291479220","291479233","291479291","291479301","291479356","291479372","291479385","291479408","291479424","291479437","291479440","291479453","291479518","291479550","291479563","291479592","291479602","291479615","291479657","291479660","291479673","291479686","291479699","291479738","291479770","291479783","291479806","291479835","291479877","291479903","291479929","291479974","291479987","291480015","291480028","291480044","291480060","291480073","291480141","291481441","291481483","291481496","291481548","291571267","291571270","291571283","291571348","291580151","291580313","291580504","291580559","291580562","291580614","291580698","291580708","291580711","291580724","291580782","291871226","291871336","291871352","291878575","291880288","291880330","291880369","291880411","291880424","291880437","291880495","291880589","291880767","291880806","291880848","291880864","291880903","291880916","291880961","291881041","291881054","291881083","291881096","291881119","291881122","291881151","291881164","291881177","291881203","291881216","291970033","291970253","291970282","291970541","291971320","291971391","291971430","291971469","291973153","291973166","291973205","291973289","291973292","291973302","291973357","291973360","291973386","291973454","291973470","291973629","291973645","291973674","291973687","291973739","291973755","291973771","291974123","291974178","291974194","291974204","291975245","291975258","291975326","291975355","291975384","291975423","291975465","291975478","291975481","291975504","291975601","291975614","291975630","291975643","291975656","291975672","291976493","291981255","292070806","292077511","292077566","292077618","292081248","292176661","292176674","292176690","292176700","292177071","292177107","292177136","292177165","292177217","292177233","292177453","292177709","292177725","292177770","292177851","292177864","292177877","292177932","292177945","292178012","292970744","292970757","292970825","292970841","292970854","292976751","292976764","292976845","292976861","292976874","292976968","292976971","292976984","292977006","292977019","292977022","292977116","292977158","292977200","292977226","292977242","292977271","292977297","292977307","292977336","292977349","292977420","292977462","292977640","292977653","292977666","292977679","292977747","292977789","292977831","292977899","292977954","292978005","292978034","296075522","296075535","296075564","296075726","296075755","296075807","296075810","296075823","296075852","296075878","296075933","296075991","296076013","296076042","296076068","296076084","296076097","296076123","296076152","296076165","296076204","296076233","296076262","296076275","296076301","296076330","296076343","296076369","296076385","296076408","296081516","301070852","301070894","301071110","301071592","301071631","301071709","301071712","301077839","301078540","301078553","301078579","301078582","301078663","301078702","301078731","301078744","301078760","301078773","301078854","301078870","301078896","301079183","301079617","301080392","301080428","301080431","301080583","301080622","301080664","301080693","301080703","301080774","301080790","301080813","301080855","301080923","301080936","301081016","301081045","301081061","301081087","301081113","301081155","301081197","301081281","301081294","301081333","301081362","301081414","301081485","301081508","301081618","301081650","301081676","301081773","301081786","301088556","301089047","301170587","301170642","301170668","301170707","301170817","301170943","301170956","301170985","301171007","301171081","301171120","301171230","301171285","301171337","301171353","301177713","301177755","301177784","301177823","301177865","301177904","301177920","301178013","301178026","301178055","301178084","301178097","301178107","301178123","301178165","301178178","301178181","301178204","301178259","301178288","301178301","301178327","301178330","301178369","301178372","301178398","301178424","301178932","301179025","301179038","301179041","301179070","301179106","301179122","301179135","301179216","301179258","301179261","301179274","301179355","301179410","301179724","301179737","301179753","301179766","301179795","301179805","301179834","301179850","301179863","301179876","301179889","301179892","301179902","301179960","301179986","301179999","301180027","301180056","301180098","301180111","301180124","301180140","301180153","301180182","301180195","301180221","301180234","301180247","301180263","301180292","301180328","301180344","301189170","301271460","301271512","301271693","301271732","301271758","301271787","301271790","301271800","301280503","301280532","301281641","301281832","301281890","301281913","301281968","301281984","301282019","301282035","301282064","301287030","301288369","301980447","302070013","302074145","302075018","302075089","302075115","302075128","302075131","302075212","302075238","302075267","302075283","302075306","302075319","302075351","302075364","302075380","302075416","302075458","302075555","302075568","302075694","302075788","302075814","302075830","302075872","302075937","302075982","302076004","302076017","302076033","302076266","302076295","302088092","302170162","302170298","302170340","302170405","302170463","302170476","302173732","302174317","302174320","302174362","302174728","302174935","302174977","302176315","302176467","302176580","302176603","302176616","302176629","302176632","302176674","302176797","302176823","302176849","302176865","302176904","302176917","302177107","302177110","302177398","302177440","302177479","302177576","302188675","302283994","302284032","302284058","302284087","302284090","302284171","302284281","302284469","302373011","302373079","302373118","302386477","302386529","302386558","302386574","302386587","302386723","302386736","302386749","302386752","302386765","302386778","302386794","302386817","302386930","302386943","302386956","302387023","303072780","303072793","303085007","303085078","303085094","303085133","303085188","303085191","303085227","303085230","303085337","303085353","303085418","303085421","303085434","303085476","303085528","303085531","303085573","303085609","303085638","303085654","303085829","303087995","303172651","303172664","303172855","303184500","303184513","303184542","303184568","303184571","303184610","303184652","303184762","303184788","303184791","303184856","303184872","303184898","303184924","303184979","303185059","303185703","303185758","303185761","303185787","303185790","303185800","303185813","303187675","303188111","303985932","303985961","303985974","303985987","303986012","303986038","303986054","303986096","303986148","303986151","303986180","303986193","303986203","303986216","303986229","303986258","303986261","303986274","303986290","303986313","303986368","303986384","303986397","303986423","303988942","304077616","304077645","304077658","304082876","304082915","304082928","304082960","304082999","304083008","304083079","304083134","304083147","304083231","304083244","304083257","304083260","304083299","304083309","304083312","304083367","304083370","304083396","304083448","304083451","304083480","304083493","304087237","304087567","304171839","304172210","304182093","304182103","304182116","304182187","304182365","304182734","304183584","304183597","304187331","304971932","304971945","304971974","304971987","304971990","304972038","304972232","304973985","304977677","304982138","304982170","304982196","304982206","304982222","304982235","304982251","304982316","304982358","304982400","304982439","304982442","304982468","304982497","304982523","304982536","304982552","304982578","304982581","304982594","304982633","304982688","304982772","304982808","304987191","304987243","304987298","304988682","304988734","304989050","307070005","307070021","307070034","307070047","307070050","307070115","307070267","307070270","307072278","307072427","307072443","307074098","307074124","307074276","307074399","307074441","307074454","307074467","307074519","307074535","307074551","307074580","307074690","307074768","307074810","307074836","307075259","307076232","307076342","307076384","307076397","307076533","307076562","307076575","307076711","307076724","307076805","307076889","307077079","307077202","307077231","307077273","307077309","307077325","307077367","307077464","307077480","307077529","307077545","307083652","307083665","307083678","307083694","307083843","307083872","307083911","307084004","307084211","307084237","307084240","307084347","307084415","307084431","307086604","307086617","307086620","307086633","307086662","307086691","307086701","307086714","307086837","307086879","307086882","307087001","307087399","307087616","307087661","307087713","307088754","307088770","311074288","311078802","311078857","311078873","311078886","311078938","311079050","311079186","311079209","311079238","311079241","311079270","311079296","311079306","311079319","311079335","311079348","311079380","311079474","311079500","311079539","311079571","311079678","311079694","311079827","311079843","311079869","311079898","311079937","311080049","311080052","311080162","311080285","311080311","311080395","311080531","311080573","311090673","311090738","311093120","311170166","311170250","311170276","311175093","311175103","311175116","311175129","311175158","311175187","311175213","311175271","311175297","311175307","311175310","311175352","311175462","311175514","311175527","311175569","311175608","311175750","311175828","311175844","311175860","311175873","311175886","311175899","311175938","311175941","311175954","311175970","311175983","311176021","311192610","311193059","311371172","311372252","311372744","311373125","311376494","311376504","311376517","311376533","311376591","311376614","311376643","311376737","311376740","311376753","311376766","311376782","311376818","311376850","311376876","311376902","311377888","311377901","311377927","311377943","311378023","311378052","311378065","311380846","311380859","311382093","311382116","311382527","311382776","311385524","311385676","311385689","311385948","311385964","311386031","311386044","311386073","311386277","311386620","311387069","311387111","311387137","311387140","311387357","311387409","311387412","311387865","311387933","311387946","311387991","311389106","311389119","311389151","311389203","311390140","311390438","311390467","311971705","311971776","311972238","311972526","311972652","311972704","311973208","311973279","311973677","311974032","311977013","311977026","311977055","311977084","311977877","311977990","311978164","311978232","311978287","311978290","311978708","311978818","311979752","311979875","311980699","311980725","311980754","311981342","311981410","311981436","311981494","311981533","311981562","311981614","311981627","311981669","311981672","311981698","311981724","311981737","311981740","311981805","311981902","311981931","311981960","311981999","311982134","311982147","311982435","311982532","311982561","311985238","311985416","311985429","311985542","311985746","311985759","311985788","311985791","311985814","311985830","311985856","311985869","311985872","311986253","311986318","311986334","311986376","311987207","311987773","311987786","311987809","311987870","311988976","311989001","311989030","311989072","311989234","311989247","311989250","311989263","311989302","311989315","311989328","311989331","311989344","311989357","311989360","311989522","311989548","311989603","311989632","311989645","311989658","311989661","311989674","311989807","311989836","311989852","311989878","311989917","311989933","311989975","311990016","311990029","311990045","311990058","311990061","311990265","311990294","311990375","311990388","311990391","311990511","311990809","311991484","311991675","311991866","311992250","311992904","311993149","311993330","312080941","312080970","312080996","312081005","312081034","312081089","312081186","312081209","312081212","312270010","312270023","312270324","312270379","312270450","312270463","312270476","312276030","312276072","312276085","312276108","312276111","312276124","312276140","312276182","312276247","312276289","312276331","312276360","312276409","312276412","312276454","312276470","312293505","312376684","312385303","312386616","313071920","313072819","313074370","313074493","313077513","313080584","313080597","313080610","313080623","313080636","313080649","313082171","313082838","313082906","313082935","313082964","313082980","313083125","313083167","313083196","313083219","313083222","313083235","313083251","313083264","313083303","313083413","313083426","313083471","313083578","313083581","313083620","313083633","313083646","313083659","313083675","313083714","313083727","313083772","313083824","313083837","313083866","313083879","313083992","313084001","313084124","313084315","313084357","313084409","313084412","313084467","313084470","313084564","313084593","313084632","313084658","313084674","313084807","313084881","313084904","313084917","313084988","313085039","313085071","313085084","313085181","313085275","313085288","313085495","313087228","313087231","313087257","313087273","313087286","313087299","313090561","313090914","313090969","313092093","313092530","313170957","313172052","313172670","313172913","313173336","313173349","313173776","313173792","313173938","313176692","313176715","313177468","313177484","313177581","313177594","313177604","313177662","313177688","313177727","313177756","313177785","313178182","313180808","313180918","313182068","313182181","313182217","313182220","313182602","313182615","313182631","313183368","313185191","313185201","313185515","313185722","313186093","313186103","313186129","313186158","313186640","313186679","313186718","313186909","313186938","313186983","313186996","313187021","313187047","313187050","313187458","313187474","313187500","313187571","313187597","313187623","313187636","313187649","313187652","313187704","313187830","313187843","313189087","313189171","313189197","313189391","313189401","313189430","313189443","313189472","313189498","313189715","313189731","313189744","313189760","313189773","313192647","313193073","313193222","314072986","314073008","314074269","314078469","314085504","314088048","314088190","314088200","314088239","314088284","314088352","314088420","314088446","314088530","314088556","314088572","314088585","314088637","314088666","314088705","314088718","314088747","314088828","314088860","314089681","314091035","314092128","314092717","314970664","314971168","314972439","314972853","314973412","314973548","314973593","314974000","314974071","314974356","314977104","314977133","314977146","314977162","314977175","314977188","314977191","314977214","314977227","314977243","314977298","314977324","314977337","314977340","314977382","314977405","314977418","314977421","314977971","314978093","314978132","314978352","314978381","314978394","314978404","314978417","314978433","314978446","314978488","314978543","314978556","314978598","314978608","314978637","314978653","314980667","314980887","314982694","314982791","314985293","314985329","314985332","314985345","314985442","314985455","314985468","314985552","314985578","314985581","314985617","314985659","314985662","314986292","314986302","314987369","314987372","314987699","314987712","314987754","314987796","314989095","314990165","316386434","316386476","316386489","316386492","316386735","316386777","316386803","316386829","316386832","316386845","316386858","316386874","321070007","321070104","321070227","321070450","321070829","321071077","321071129","321071161","321075866","321075934","321075947","321075989","321076056","321076098","321076140","321076218","321076234","321076292","321076315","321076328","321076412","321076441","321076467","321076470","321076483","321076496","321076506","321076522","321081041","321081669","321170020","321170282","321170318","321170444","321170538","321170596","321170839","321170842","321170978","321171184","321171265","321171304","321171317","321171391","321171427","321171621","321171731","321171744","321171757","321171773","321171841","321171964","321171980","321172044","321172073","321172125","321172141","321172167","321172183","321172219","321172248","321172293","321172316","321172358","321172374","321172442","321172510","321172536","321172578","321172594","321172688","321172691","321172730","321172756","321172769","321172808","321172824","321172866","321172992","321173001","321173072","321173085","321173182","321173205","321173218","321173289","321173315","321173328","321173373","321173386","321173409","321173470","321173483","321173506","321173519","321173522","321173564","321173603","321173674","321173742","321174000","321174071","321174149","321174152","321174262","321174372","321174385","321174440","321174495","321174521","321174550","321174592","321174602","321174644","321174738","321174770","321174819","321174848","321174851","321174864","321174880","321174903","321175180","321175232","321175258","321175261","321175465","321175481","321175520","321175533","321175588","321175614","321175627","321175643","321175711","321175737","321175766","321176260","321176574","321176752","321176794","321176804","321176833","321176862","321176875","321176914","321176972","321177256","321177340","321177434","321177447","321177560","321177573","321177586","321177599","321177670","321177706","321177722","321177735","321177780","321177803","321177861","321177887","321177968","321178019","321178048","321178051","321178093","321178158","321178190","321178226","321178336","321178349","321178420","321178446","321178459","321178475","321178514","321178543","321180379","321180515","321180748","321180874","321180939","321181200","321181271","321181297","321181307","321181491","321181501","321270742","321280130","321280143","321280156","321280198","321280208","321280224","321280237","321280253","321280266","321280282","321280606","321370707","321370765","321371528","321378592","321378602","321378644","321378657","321378660","321378673","321378699","321378709","321378738","321378741","321378754","321378783","321378929","321378958","321378990","321379012","321379025","321379041","321379067","321379070","321379083","321379106","321379119","321379122","321379148","321379151","321379164","321379180","321379261","321379290","321379313","321379339","321379355","321379397","321379410","321379436","321379449","321379494","321379504","321379546","321379559","321379588","321379630","321379656","321379685","321379698","321379708","321379711","321379724","321379737","321379753","321379795","321379805","321379818","321379821","321379834","321379847","321379850","321379863","321379876","321379902","321379915","321379928","321379931","321379944","321379999","321380001","321380014","321380027","321380043","321380072","321380085","321380098","321380315","321380328","321381233","321381644","321470364","321480406","321481612","322070019","322070145","322070239","322070381","322070598","322070789","322071872","322071982","322074277","322076136","322076152","322076181","322076233","322077119","322077135","322077151","322077274","322077287","322077313","322077449","322077478","322077494","322077559","322077562","322077766","322077779","322077795","322077818","322077850","322077902","322078011","322078079","322078257","322078325","322078341","322078370","322078383","322078396","322078419","322078422","322078448","322078464","322078477","322078493","322078590","322078668","322078804","322078833","322078927","322078930","322078972","322078998","322079094","322079133","322079227","322079324","322079353","322079450","322079463","322079489","322079502","322079531","322079557","322079719","322084597","322084827","322085318","322086142","322170016","322170692","322172069","322172108","322172111","322172153","322172205","322172221","322172328","322172425","322172438","322172441","322172496","322172506","322172739","322172742","322172797","322172807","322172849","322172852","322172881","322172904","322172917","322173039","322173055","322173068","322173084","322173149","322173165","322173181","322173194","322173204","322173217","322174575","322174588","322174643","322174708","322174795","322174821","322174850","322174928","322174944","322174957","322174973","322174986","322174999","322175011","322185328","322186288","322270055","322270262","322270275","322270288","322270356","322270408","322270453","322270495","322270518","322270521","322270770","322270796","322270822","322271038","322271083","322271096","322271106","322271326","322271407","322271627","322271724","322271766","322271779","322271850","322273272","322273379","322273405","322273489","322273609","322273625","322273667","322273696","322273706","322273722","322273829","322273890","322273900","322273913","322273997","322274048","322274116","322274132","322274158","322274187","322274190","322274239","322274242","322274420","322274462","322274488","322274527","322274572","322274653","322274734","322274789","322274792","322274831","322274925","322274941","322275089","322275115","322275144","322275157","322275212","322275241","322275254","322275296","322275348","322275429","322275432","322275445","322275487","322275490","322275526","322275555","322275568","322275607","322275610","322275649","322275678","322275746","322275788","322275791","322275856","322275869","322275885","322275908","322276062","322276075","322276088","322276240","322276305","322276509","322276583","322276596","322276622","322276774","322276800","322276813","322276839","322276842","322276855","322276868","322276871","322276949","322277281","322277841","322278073","322278183","322279920","322279975","322279988","322280032","322280058","322280090","322280139","322280184","322280207","322280223","322280252","322280265","322280278","322280304","322280333","322280375","322280414","322280427","322280485","322280540","322280621","322280692","322280728","322280731","322280838","322280854","322280870","322280906","322280919","322280935","322280977","322280980","322280993","322281028","322281031","322281057","322281109","322281196","322281206","322281235","322281248","322281264","322281329","322281374","322281426","322281439","322281455","322281468","322281484","322281507","322281549","322281578","322281604","322281617","322281633","322281659","322281688","322281691","322281824","322281840","322281866","322281882","322281905","322281963","322281989","322281992","322282001","322282027","322282098","322282137","322282153","322282292","322282386","322282399","322282454","322282483","322282519","322282551","322282580","322282603","322282616","322282632","322282674","322282713","322282768","322282894","322282920","322282962","322282975","322283042","322283071","322283084","322283107","322283152","322283178","322283181","322283204","322283220","322283369","322283505","322283518","322283592","322283628","322283699","322283709","322283712","322283767","322283796","322283822","322283835","322283893","322283990","322284698","322284779","322284892","322284928","322284960","322284986","322285024","322285480","322285668","322285752","322285781","322285833","322285846","322286120","322286256","322286395","322286434","322286447","322286489","322286492","322286609","322286803","322484016","322484029","322484113","322484142","322484197","322484207","322484265","322484278","322484304","322484320","322484401","322484414","322484634","323070380","323074959","323074991","323075013","323075071","323075097","323075136","323075181","323075194","323075220","323075259","323075275","323075327","323075356","323075372","323075408","323075437","323075495","323075547","323075563","323075686","323075699","323075709","323075754","323075806","323075822","323075864","323075880","323075945","323076009","323076012","323076135","323076151","323076575","323170112","323172916","323172958","323173041","323173193","323173245","323173274","323173313","323173368","323173533","323173834","323173863","323270216","323270274","323270300","323270313","323270436","323271422","323271493","323274076","323274092","323274160","323274186","323274199","323274209","323274225","323274238","323274254","323274270","323274306","323274351","323274377","323274393","323274432","323274445","323274458","323274461","323274513","323274526","323274584","323274597","323274607","323274678","323274704","323274733","323274762","323274775","323274788","323274843","323274869","323274885","323274937","323274940","323276304","323276320","323276346","323276362","323276388","323276391","323276401","323276430","323276469","323276485","323276498","323276524","323276582","323276647","323283944","323370666","323371076","323380261","323380326","323380740","323380766","323380782","323380795","323380821","323380834","323383349","323383352","323383378","323383394","323383404","323383530","323383585","324077379","324078187","324078297","324078365","324078381","324078417","324078475","324078527","324078585","324078640","324078682","324078721","324078776","324078899","324078909","324078938","324078941","324078996","324079005","324079063","324079115","324079131","324079160","324079225","324079296","324079348","324079351","324079377","324079393","324079416","324079474","324079500","324079539","324079542","324079555","324084003","324170085","324170140","324170179","324172465","324172546","324172559","324172562","324172575","324172588","324172630","324172698","324172708","324172766","324172795","324172850","324172863","324173008","324173079","324173082","324173121","324173150","324173383","324173422","324173448","324173480","324173587","324173626","324173639","324173655","324173697","324173707","324173710","324173736","324173817","324173943","324184440","324274033","324376711","324376740","324376805","324376818","324376944","324376957","324377011","324377024","324377066","324377134","324377189","324377192","324377202","324377286","324377325","324377338","324377448","324377516","324377558","324377590","324377600","324377613","324377626","324377707","324377710","324377765","324377817","324377820","324377846","324377914","324377927","324377998","324378036","324379705","324379750","324379763","324379789","324379792","324379828","324379844","324383843","325070760","325070951","325070980","325072166","325081306","325081403","325081474","325081500","325081610","325081623","325081665","325081704","325081791","325081827","325081885","325081924","325081966","325082017","325082033","325082062","325082127","325082130","325082198","325082253","325082266","325084138","325084426","325170628","325170631","325170699","325170754","325170822","325170835","325170848","325170864","325170877","325171122","325171148","325171232","325171740","325179917","325179946","325179959","325179991","325180061","325180087","325180113","325180142","325180155","325180184","325180207","325180223","325180304","325180333","325180346","325180401","325180414","325180427","325180456","325180508","325180524","325180540","325180553","325180566","325180579","325180595","325180618","325180634","325180676","325180870","325180935","325180977","325180980","325181002","325181015","325181028","325181060","325181099","325181154","325181219","325181248","325181264","325181277","325182289","325182344","325182357","325182360","325182373","325182438","325182441","325182496","325182506","325182551","325182564","325182577","325182580","325182603","325182629","325182645","325182674","325182687","325182690","325182700","325182726","325182755","325182771","325182797","325182836","325182849","325182946","325182991","325183039","325183152","325183165","325183194","325183220","325183233","325183259","325183291","325183657","325183725","325183738","325183754","325183796","325183819","325184465","325270049","325271268","325272021","325272034","325272047","325272050","325272063","325272115","325272157","325272199","325272209","325272212","325272225","325272270","325272306","325272335","325272351","325272377","325280039","655060042","074986820","021204403","041000153","063113934","063112605","083905449","071908144","063100620","071911788","075009188","042108122","092900613","081507425","061121025","091310424","081015535","062205034","071923750","056009288","073900739","071922421","063112621","091008299","074986804","063100646","071127093","062003605","071923747","061121009","011775285","062206347","073900742","075010193","011305260","061111653","081518113","061207839","073900755","071127035","041204166","062206392","071922476","081507470","071116376","071127022","056009246","071908160","062206376","061112966","056009233","073912756","083906707","091071585","026004802","011401148","043316942","061121096","051501671","084304243","065400140","067006762","065400137","073910114","031307659","011102502","074913851","011401135","053285160","026004828","071921176","063109058","084006952","041002711","061121070","073922115","074911219","061219898","084304272","011500913","092105227","053285115","031307604","061121054","061205255","062206318","067005475","073909183","061219830","067016118","041000124","026004860","061110382","067016105","074912577","091909217","091215927","063100688","067006775","021204416","063208823","061121041","062206305","084304230","051501642","091203942","026003557","065400153","061003787","026014216","072407987","021300336","066005502","051502913","065401505","031101017","091215817","075900465","073983125","071105756","082904289","071104427","061302417","026014245","043315561","063206207","021109935","081518090","021301678","044208936","042000013","065402889","022300186","064282615","031307688","021110966","031307691","031101059","074912603","067016192","091404000","091406668","091215888","081905768","091201232","021302978","091310398","042206574","031317021","075901723","091909178","053285173","083904097","091215875","051404545","065402850","041206782","071911704","061110405","081518045","091201258","091407942","081220508","091910196","051404529","075901710","021000322","081519361","031200730","022300160","091071491","081518016","071115157","082906863","063015537","062206295","022300173","061292433","084101417","081506044","081904468","064206031","091201287","053202871","091310369","073983141","081220537","081304615","082906892","075000721","073900807","071104430","075000734","072404058","081518058","042108151","083906684","071105798","053908188","073912808","051405803","022302786","081220524","081219535","073983170","083905342","021300381","083906668","071117760","042206503","073901929","021206948","063113811","053010665","062206473","081519510","071922557","063113824","083906888","071116295","071202756","062206486","031307701","081519507","083905546","062206457","074910087","092901803","062206460","062205131","011392626","073913959","073901961","081518223","011392684","064208518","073901974","062205199","066015084","084003159","083905504","075012683","061112843","021408597","063113808","071921244","056009356","082905505","074900657","081518210","073909015","063111237","061206429","091900944","075912275","074912645","084306791","061220751","073922005","073909031","073900690","051500481","072407929","056009314","071212128","081001073","026004721","021206993","091501204","074912674","073910046","053285238","073922021","067016244","043314449","062206431","021205648","071093295","063100552","073922018","075912233","091071608","067016231","062206444","075901590","061206458","053285241","074912690","063113879","062206415","091071611","075901561","051501778","092105337","065401369","084304117","061206432","066004367","051501765","031305185","072405206","073922063","073910091","051402071","031318499","091911548","072406522","053106799","053201607","082904166","091911551","051008828","011500858","073922089","073922092","075901642","064282563","065303085","091215710","067016257","021300462","091911577","051501723","026014135","091215749","065303056","065304385","051404697","091909275","061220654","044110147","063111169","065303069","075902968","051404684","091405452","021313747","065304369","053201610","065401411","065401408","021313734","091404136","061219694","072406506","021300420","071115018","043001024","071923815","022302689","091071598","084101514","051404642","082906737","072405280","061111624","081518139","064208589","083904181","091214478","065304327","091202480","075000666","084003191","026014193","053908081","071923857","051404600","081518197","042108290","042108274","064207292","021973019","091803818","081518184","091300887","042108261","071923828","092900862","091802547","083905685","061100790","041001246","081208685","062206596","061112788","071922670","042206804","091803889","081221646","064101589","063100882","091310631","056073612","064101576","042108342","056009039","092900833","074909153","081506316","083905656","062206583","071921396","063112809","092900820","091310615","073913836","083904314","066015181","041205259","081004601","091310628","091308300","083905630","073901851","083904301","041205246","073900522","022302935","081518333","063112825","091801234","056073654","073900535","073901864","074900783","074909111","071922696","081506358","091310602","073901877","074912755","073901880","062206512","063111596","084304010","031307426","073000914","051501451","073900577","031306100","074912784","071093350","073912552","074910126","026014407","073900580","084006729","021902475","084307965","091909437","062206567","021050466","044111191","064101550","051502748","043303447","073911278","026001122","061207651","011500722","011100106","061220609","091909466","062206541","051404260","072406412","021313886","072407741","075911357","061219584","064207195","082904027","071104647","031101240","071093305","082904030","021001486","091908027","051403041","026013136","075912673","031306168","044112488","082904043","074912807","091407793","031054287","044111188","091214753","082904056","075000941","091202765","061220599","031101279","051405670","051008996","026013165","091407735","075912644","021301869","021205499","053107963","031308784","075972202","021000128","075901998","082904085","074912849","051404325","091407751","031307468","021300556","083002177","075912628","042205481","091407764","051005012","075912615","061219571","053201746","074912865","075901972","053107989","044172282","072405167","071922609","074909218","061112830","064208437","071103389","067092556","075901956","053200446","091212179","042204110","061004812","091310592","071102076","065303124","064208453","071923909","042204123","065401712","065304424","031101208","091310576","081905593","091803957","043000096","064208479","071115322","051406909","071922638","091803960","031101211","042108397","071103376","071923954","042107068","067092501","082905343","044101745","073901903","091310550","071104692","042074544","064207166","044002051","071116677","081209985","063112728","081221549","081915075","044002161","091310534","092105159","092900736","071920135","071921464","042108481","083903140","091800015","011306492","075972176","011100012","091310518","052103065","042108478","065005435","053010445","041000014","062206693","044207283","071201647","071922777","091310521","031308807","056073502","091481793","071908490","081505155","091481780","083903108","073901725","081518469","042108449","063100714","071920164","064208301","056009123","084200981","061101980","091800028","056009110","063015566","065305902","021313925","021384200","073913755","011102612","075911195","043205079","073900438","051501558","075911182","091909518","091800099","043401967","062206648","042108407","073900441","051501545","031101091","075083243","067007952","061111394","083905708","056073573","064102944","067007949","074911578","021384239","062206622","065402892","092105104","074911581","031308810","056073599","062204019","026004970","061050057","053285487","075912479","011102667","042000314","062204022","064101673","011102638","064102999","063112786","064101660","062206651","051502858","021206715","062204006","021914544","091202736","051404383","061003664","031306278","091910455","075900575","067016040","051403164","091215930","067016037","064208398","091911797","091214630","051005106","031306294","091405258","053201814","031101143","075911205","026014368","091214627","071105866","091908179","043315448","051404464","061220489","065303292","043314164","031101169","083014026","091215985","063206139","053201872","061220418","065401673","051403122","021205376","084307790","026014384","021300640","053201885","091213314","021408704","042000398","073972110","053201856","031101185","064102902","053201869","091405229","074912988","036000980","081918946","061220447","021206676","063110092","064208327","051404419","067092679","084102610","073972165","091310495","051405735","011305202","083903098","081506390","091308164","091310479","086500634","081917662","083903085","075972105","082906517","081518375","071910721","091310482","041206436","071922764","086500605","072407660","082907862","067092640","083903069","082907859","021311383","071910776","084101323","084004284","071105882","083903056","071919117","075972134","082907875","082906546","091309451","073972181","091310437","031101114","091407803","075972147","065305863","082907888","091310440","064206426","081219108","053201034","051404930","011401533","041001013","031176110","061120178","081017711","073922526","073911870","051404914","064207771","062204158","081518524","073922513","063114810","061120152","051404901","081506552","053202350","067005873","011303084","073921213","061206982","061120123","081222797","073922539","073921200","011303097","073908252","091310864","073909578","091058964","043000261","021203501","091309846","061120107","042101925","074909357","071106593","073921226","073922555","061107146","073908278","031176136","041001039","084307761","063114865","091310819","067015232","055073587","082001179","063114878","067016558","073922571","072404508","021214273","055001986","053102117","055000657","075901273","062206732","063113552","075902573","096000755","073922597","081005794","067015203","031309851","091804558","084305129","063114894","062206745","081221497","091512251","081506523","067015274","062204132","091803290","071993214","063114836","067016590","075902560","071214472","067015258","063114849","064109264","061204382","091201753","061120181","091803274","063113523","063015045","067016574","062206787","083002342","062204129","061291531","082907781","081903524","011305749","091913601","091214960","031319236","082905136","072404485","053274090","011736020","081903537","067015287","075902625","081903540","051500753","051005245","071993162","091404466","053274061","082906494","031308535","063114784","091403140","091213673","091912330","063113468","044208512","031308548","075902609","063114797","055073532","064100852","031308551","065400687","091901684","075903912","021214189","063112142","091911001","055001876","051402372","082905181","051401043","031308564","043002900","071993159","021202191","084101051","063112155","021484524","096000700","091405753","061120204","065302044","071909871","051402356","091913685","051401027","071119975","071107987","065303386","064003768","061120217","051403672","074908112","061303348","083907573","081505184","071106687","011304478","082907710","031907790","065303360","083907560","083906228","051404985","061000227","071118659","021483282","021302554","071922887","011303123","082907736","051403643","071922874","061107201","073909620","065304673","074000515","082907752","051403630","065400603","071921532","061000256","073911951","091307149","065303315","091308481","073000794","073922607","075011888","011303110","071921529","065303328","021302567","011701314","092900985","081004517","091310770","043000106","043001435","051403711","091310783","071118471","061206814","071921697","073922403","043301504","083907722","091310754","054080160","053105936","043000122","092900956","065303522","091310767","073922429","067015313","043314847","061120000","071107783","091310741","061121342","081222658","061107010","071105154","073909468","061206843","074909470","061121326","091310725","091309736","073922432","073908155","091803300","081505388","053201186","074908138","011101529","031309945","073921132","072478660","071214333","067014026","053274142","067015355","081004591","091803355","063114742","021214163","073921129","073922458","021202175","081003275","053274155","081207068","064109358","071993340","075903792","063101454","073921158","063102783","021202162","072405743","091214915","064208903","075901121","065400483","081207097","073921145","075903789","067015326","073922474","067016655","053274139","075901134","075902463","081518634","021902352","071993324","063114700","081506646","067015397","061120084","091202943","081903715","091201627","075903763","073921161","071117184","053274113","062205597","081015218","075903750","031310918","081220074","091103181","073921187","081518605","073921190","081220087","075902421","091201643","061120071","084101129","063101399","072405688","011701288","021302622","026004307","072403046","075903831","061204191","011304517","021302648","071107806","026005652","067014071","021214095","072406975","063114661","062005690","064109329","021214082","022000842","026003007","091212221","091900465","083905083","011101613","022000839","031319317","072405662","072404333","065302183","072403004","053274168","082905068","031319320","021214066","026003023","055073448","072404320","065302196","031306029","091502973","091900494","021214053","055001766","051402482","063114690","091403292","051401153","071920300","091911153","091912482","083906383","071922968","082908900","044102977","065205031","071922955","064003881","026004394","021300077","022000868","062292788","065302154","051403779","031918569","071119865","061291450","022311117","083905012","073911812","051403766","083907667","091310699","021300019","041208803","071119807","064205087","073000642","071921668","065303467","031918543","071922984","071908678","073909507","091310673","081211928","091308371","031918527","021203310","091804723","064109086","083905203","064208848","081518786","061121261","083002520","064109073","041206135","091512031","081518773","091306137","091308795","065302303","021373059","083002533","073900975","053900377","022310121","096000580","063113727","064109057","062203078","042100861","053202596","061121245","011400013","084201977","073909345","091114112","011692601","071118798","081221235","091201915","081504172","073922322","073911676","056009482","066016054","021409567","043303832","091306108","056009479","061121203","073909361","064208893","084008947","063101700","071201320","061110557","041208777","067005679","075912165","073908045","072405604","067016325","062205665","081222593","063113772","073921006","067016312","062204349","081018888","042100803","062203010","026005911","072405620","043303887","011400039","073910389","073922364","063112469","053104568","075901480","043301216","073922351","065506332","067016367","064109044","062204378","053274223","062203049","081018833","064208806","051501875","073921048","021905977","073922377","067016354","075900148","064109031","026004624","091901969","091900630","067015012","011400071","067016341","061205475","051500562","064109028","091901972","031308331","051006778","091901862","091900533","082908874","064002280","043302493","091213877","082907545","075900229","073921093","067016396","091912521","042205038","065400894","091900559","061000052","082908890","064101903","082907561","031309686","082908887","082907558","067016383","091901891","051500520","061036000","051501846","091912547","071105507","091200592","061204052","011692588","026003353","061000078","067092912","063112362","075902832","081904662","081018794","091212580","031308302","082906258","051402149","075901516","071921707","026003379","081017478","062205636","044102647","044103976","061036013","065205125","051501817","044211910","063111059","042205009","075902816","063209505","021483428","067015096","051403465","091912576","072406865","062205610","061204094","026014041","031307086","011075150","071116224","044115919","041208719","071921749","031319074","061110654","082908803","051404752","044101305","041208748","071105581","054080212","083905135","082908816","041208735","074909661","071921794","061001323","065205183","071105536","082908829","071918150","091103505","082908832","052202225","061000010","091406820","031319045","031918637","074908303","071919463","091406833","073000545","053200019","082908861","082907532","031319058","082908858","082907529","084201896","064208725","065303771","031176246","071116062","083905326","061121135","053200064","083907984","081504266","063114917","065303784","041207341","096000687","091017099","073911511","063114920","071918286","061121119","091310990","061109487","073912837","021410637","091804833","083907955","061121122","041002203","061108161","081222438","064208767","091803562","091310974","073900878","091017060","084201841","061121106","021410695","081211795","073909222","091310987","011775379","052203703","041210985","073900894","084201838","083907926","083907913","091310961","084201825","091201818","074910692","084308731","044210403","071214579","067015119","067016448","091213806","081018998","011400178","073910237","055000770","021204597","096000603","062205791","081518812","073910266","091310916","073922241","062203104","081018972","073911582","011400149","073922238","011101752","091803591","091310929","081506837","063114946","081018956","011701084","064109167","056009505","022072692","075901341","075902670","071908908","081904808","091213835","073922254","075901354","061121180","053020202","063112304","061121151","061206681","091911409","021205871","096000661","075903983","063114975","065506222","061121164","044112187","072405442","072406771","075011930","062205704","082908751","031307125","091911302","082908748","051500614","073983235","042015846","072406768","073922296","071908827","011304300","091911315","063112294","091213783","043313259","075902735","021914078","061205271","081916731","072405455","067091719","065400755","082908780","021302884","091211112","082908777","067015164","091910002","062006796","065205219","031319139","084104883","021314814","071921833","063112249","091900698","082907464","062106036","026003243","063100277","091404356","071908869","082907477","091910028","091911357","075902722","091404369","074910799","081904798","051402259","091501411","026003269","073983206","051403588","091909055","051500601","082907493","026003272","091909068","062205733","081017575","091501408","065205264","044114716","072404197","021000678","051402233","091406972","091211170","036001808","081914131","042207735","031319197","051402220","091909084","063209660","071105471","074908471","041210943","011305684","051005504","065301061","071921846","051402204","042206422","083905258","074907126","061000104","021313569","062006709","031319142","082908706","031275998","091406930","072404142","051403517","053201487","051404846","067091780","081902198","091018302","071921891","011306971","091307275","082908722","083907887","074908426","061000146","071920559","083905216","065302358","067091764","086519421","071006774","073921653","056080126","022309352","071926809","053203210","082007791","091205694","073922979","091216340","073906034","021984532","081224944","073921679","042202219","021213339","054001699","081517693","075902175","021200025","021200012","081517677","073921666","061101414","064204253","091471635","053901473","073906047","075902188","073921695","054001673","062102593","021213313","062101264","071902878","081211669","073907389","091408394","071925509","054001686","073921682","062101251","084301107","021213300","011104322","082007746","074036084","081210314","065302507","073918077","073906092","091014924","061102701","084302452","081503089","072404993","011201490","074036068","071925554","082907383","072401006","092902404","054001631","071103952","081505634","071913566","065303810","072414310","091409681","071925541","075904775","071924212","075903446","073920395","042107673","074036071","062101219","071103949","064108388","075902120","043000630","074036042","071926867","071115953","075904762","071974505","044212922","071126609","071925538","042106331","071101307","072414336","071926870","064107046","074036055","071926854","054001628","071925525","011307077","026013796","082906083","072402348","042107657","071004161","072403677","071101310","061211935","075902104","091407052","065303807","091408381","072414323","074036026","071925596","071004158","074000065","021213397","061209617","026012483","054001602","074000078","072404948","091409652","074036039","081210398","072404977","062103864","064107091","021213371","061113415","071925567","021201383","072403635","071924241","081913417","031310413","074910854","041215663","091409717","044115760","082908625","072414271","072402283","021383528","061211870","061210541","071100049","074908510","052000773","091300159","071974466","091409733","055080295","071112040","031309440","092902352","081914678","091804147","074000162","072414297","031918831","065205329","011201432","091409746","053107303","071112037","091903831","084003900","091108539","031918844","021407912","071924160","031311771","011103093","061112186","081518919","041215621","091903844","011201458","071974408","067008582","072414239","042202196","071115966","067008579","081518906","091903860","072414226","091915832","064108346","031918828","071115995","091902531","091901202","062103903","072414255","061209552","071100010","021310591","091915845","036002810","091409704","091302788","091901215","091205607","072414242","073000338","065301197","011104351","083908433","042215468","091302762","071211734","091913216","073908728","074908594","011500120","091915890","091914561","011104335","083908420","053012582","091206965","021202609","073908731","073921718","084303749","021406667","073920405","073919416","071112066","073908760","065302484","065301155","092901078","031918899","091302717","091205652","071974479","031311797","091302720","073921721","091216308","043086968","073918103","042202138","091216337","091205678","065302468","031918873","092902394","091216324","086519311","041215692","021033205","073906131","031309495","011201403","053900225","073920418","073922869","022309239","071004239","073921530","065300020","061102617","011307129","021213232","084302342","091205571","073000176","071004226","073921527","073922856","071926919","065301362","026014902","042000916","063110791","073919212","091204255","075903394","026002927","073921556","073922885","071901604","021213216","084000084","075902052","042105196","071006868","071004200","091216243","073921543","011307116","065302675","061102620","084301042","075902065","071925635","042204932","021214529","061103904","084303639","071924306","051402835","084304968","026014928","084302300","026002956","073921569","073922898","042105170","011104209","084302313","051402822","091407191","071913650","075902049","061092947","081211520","061103920","073919283","022309226","073921585","042105154","084302339","065302633","082007649","071925677","075905994","061112021","073920285","072402212","071102500","084000026","074036181","082908599","071925680","082008923","075917979","081914814","081517732","071115801","011201380","061112034","082907273","072404867","074036194","081503102","075902007","063216543","053202091","011307187","071925651","031311807","081517729","075001199","084003997","081505731","053202062","061211809","031311810","072404883","026013673","071004284","075905965","054001741","072403554","071924319","065303920","064108485","061101375","072414200","071926980","081504415","091407175","011307161","054001712","071004271","081914856","071924393","091409762","075917937","056008881","011307174","054001725","071923048","042107754","061103975","036000362","075917924","091408446","071923035","081517761","075905936","075917911","043386914","075917908","091902706","054001709","091409788","091050700","021309638","084000039","072404841","011307158","061101333","021214574","061102662","061103991","042107738","071925693","091407133","091409791","091408462","091408501","056008852","043386891","071974563","081914775","062102713","072414158","074907317","021912915","031311878","091408514","041215553","031309550","044115870","071126531","011201306","056008849","072402199","091300036","091408527","082907202","061136052","072414174","056008878","031310552","021307096","031201085","061112092","092903542","041215537","062102726","081004070","072414161","042107819","065205468","031309505","091903967","091300010","061208126","042107806","041215508","081017342","031918938","011201335","082908560","031310507","092101030","091300023","072404786","031918941","044102524","031310510","021308396","011200022","065205484","082908573","072402157","071102568","072414132","061211728","072403473","061113389","092101014","021307054","091901338","091901341","031918925","064108443","081505702","041204852","072414129","044115809","091900012","073910923","053108580","021405464","091206826","073922908","027000407","065204184","052204728","061208155","074906059","021909342","021983258","031904395","065204197","052204715","091901370","067006063","091206842","073000228","073922911","083908530","084074395","073908621","031309589","053109877","021909300","073921611","041215582","073922940","031308250","021372940","092902297","073908634","096016794","041203594","074908688","011500010","065301281","091900067","072414190","011104283","072414187","091302607","073921637","073922966","071113298","042215578","073909992","092902271","031918996","091206884","063109702","073921624","073922953","042215565","065301265","091900096","073907334","073906005","074909988","021912928","042202264","043301601","073922746","021203792","022083665","071925716","051402518","026013916","071004349","073921404","061304363","021214435","091050807","071913731","091203285","084302232","053202130","021911369","084100858","071003007","021310711","073921433","073922762","061103849","084302245","073907127","021202447","021502794","051403818","073921420","061102507","026013958","053202114","022083649","071900456","063106129","021911343","071925758","081212752","091409487","075901082","071925745","073921446","091408161","063106145","074906091","075000103","063192104","091408174","026013990","042202426","064205388","084303545","081224724","091805609","071923132","072404757","073920162","043312344","084002325","084003654","062101468","071925787","042106580","071924458","065082584","026011358","062101455","054000551","061019975","063013924","061103894","091806996","075901037","021213180","071112202","091409458","072402115","062101484","074971945","021213177","065302701","075902337","061102594","061020977","021214493","075901011","071113528","075902340","026010058","043312386","071102827","081517897","021309735","061102523","061103852","064207946","031201467","071004378","091805683","075903637","091108746","081903867","026009085","061102552","071004365","081517871","021911398","075904953","043312373","022083694","071102830","061102549","061103878","042107851","075902308","091311096","081915839","091106146","021383751","031312835","071112260","071174512","065205549","044115511","092901272","072414022","044103536","072402076","092901256","072414051","061211647","042311650","091914710","091311041","041203455","074907414","091409500","031310206","075903705","061212989","062102849","071125587","065204249","041202113","041204726","061113279","021307164","067011993","061020922","061209332","064108113","011200365","092901227","064000059","061113282","081006340","022383598","091900106","083907382","091311038","031300821","091900119","072402034","067011977","092901214","091300353","022383585","031300834","021213096","086507174","091311009","044103523","072414019","061020948","067009646","061736009","086519159","067010635","041204739","072403350","082907134","071100269","086507187","091902793","061101294","072414006","041203400","091913452","091505242","055080431","043205875","011202907","091204527","064000020","021502804","084100793","064204075","091914794","091901477","096017719","064000017","051402589","055080415","091205869","081913158","031311593","011202910","091302979","073922801","064000046","091301640","083907324","011202923","041215498","011202936","031312877","031310219","053202208","091204569","073908511","051402550","091302966","051401218","064003962","072414064","091900193","096017751","073921514","073922843","081006395","092901298","073907208","096017780","031309259","063108732","063292855","042215688","052073519","072414093","051403850","083908608","011501035","021201011","091216476","073922623","071925839","021214325","073908317","053202240","081225901","073922610","081212600","054073630","051403957","084302119","071925826","065300279","021214312","075000019","071208297","021202337","091215163","052073564","075000022","063107393","084302122","026001847","071004446","091216489","021202311","091203191","051403931","084304793","081514052","063106006","091408268","066007681","071925871","022310422","071004433","031203915","071923213","081211300","091804406","073908359","053202282","075902272","073919005","071004420","026013851","073921323","073922652","051403915","065302895","065301566","071925855","071901882","081212613","063108680","073922681","091408297","071924513","073922678","065301540","065300211","064206594","055080402","053202279","075001322","082008732","071923255","071924584","081517981","071911270","071126706","062101581","053000219","061101126","092976799","081502006","084302180","063216307","053000206","091409568","091408239","061101113","021214396","061102442","091409571","081502019","091408242","073907091","072404650","081517965","071900595","056007387","021213054","091409584","075904872","071923226","071925884","061113101","031201360","081503322","053901198","075902227","021213041","081504651","064108249","066006349","091409597","081225972","031203999","065082490","075903530","091409513","081503380","082907066","031976268","091409526","044102362","075000051","075904856","061103739","075903527","084001148","061102400","052000618","091408200","081514010","063205664","061102439","061101100","071923284","065204443","071027106","021203682","071911296","081504693","052000634","031201328","052001963","011910697","065203004","071113476","081517907","092902488","091901503","011201539","031309314","067008414","031311632","092901146","075904937","061101197","091914820","074906211","091409610","091109994","061212853","041202003","081308705","042309222","053111920","091300285","061212866","071923190","081516610","071112105","071113434","091300256","071114763","092901117","026084246","092902446","091301585","071174431","091900216","071100117","064000185","067007130","064108236","072403211","041205929","031312929","092901104","091901558","081517936","081505964","061101155","091901561","067009785","041205958","081006434","065204391","031976200","061212811","071126764","062102933","061101184","081517910","043000847","082907011","061212824","082907008","061101171","091302872","031309385","091205733","091204404","053111991","061092691","022083830","053111988","065203091","011600868","026084262","011103129","067007156","044210063","091900287","091216405","073909714","055080318","091203104","073922704","064000101","031309343","053202321","021502723","063109922","071112176","071901837","091205788","051401331","092901191","031311674","021502736","011201500","063109935","073922720","055080376","073910745","053202305","053012265","061210237","041203374","091204462","021502752","053110633","053202318","071901811","092901175","096015232","011201526","072401404","063109430","042205708","053206738","071900663","075904377","073905187","043311662","075904380","062000116","084303338","051400549","063111787","071925923","042108588","061112539","073917175","084100638","071923336","081200528","075903019","042108575","011102133","071925981","075905664","071924652","071923323","075903006","084206176","071909046","065301689","071923310","044213895","084100654","081225804","021502105","021912410","042108559","065301650","051401849","081200544","071925965","081213832","075906977","071923307","051401836","084206150","053206741","084303309","051400507","081307382","072402704","026002626","081200531","071923378","092901560","065302963","074908921","075906951","075905622","021502134","092901544","042108520","026014627","065301647","072413450","071923352","065204511","075906948","081925816","042108517","081913860","071911364","042000424","051485522","081200586","071922010","053206783","021502150","071923349","071924681","081200573","071909062","061111255","021384365","072413421","091408792","071922094","061112597","056005253","063206663","083908077","065301605","011402024","036002425","065203224","081515462","081212574","071909091","051485551","026013356","011402008","072402788","081503490","031204710","083908048","031902038","064108799","074906347","071115526","091106379","031902041","091408873","042215060","064108786","061220353","054000807","065204472","065203143","074001019","083908019","064204703","052001633","011200585","091408899","092901489","071102238","092901492","067008993","092901476","062091895","081019405","074907634","071006282","061210981","071103509","071116813","026012098","091806378","091806381","073907855","074908934","091204750","073920845","064108715","062000080","061101922","091903404","021901748","042203001","073907868","071126269","066010490","091204763","073920832","041215278","067092310","091916721","031902096","073920861","026073008","011201830","063000047","091301899","061100606","091903433","091215435","073907897","011900571","073918569","073920887","071901947","091903446","051580184","021213711","021200407","053206819","064108757","026073079","073920874","091216780","022383750","031300669","091903462","031301998","064108744","063000021","026073066","086518477","091914121","091300515","091202163","073905268","031202084","071114255","073920890","081006162","062000019","073920683","072402610","063110306","091203395","091914257","051409029","071900786","091914273","075904254","073905064","071923404","021031207","051409016","062003977","091914286","021213698","066010678","065300486","061101786","062001319","073918394","073918378","071900760","075906896","075904238","061101773","084206082","063112993","091301815","071911416","081225707","075905554","053206893","031309068","072403907","071924775","022309682","071922117","063014499","051400646","071114080","021684133","086300012","021913862","084206040","071900799","053206877","066009650","075906854","071114093","084305844","031310086","021200339","072402694","092901434","071005160","081211106","071909198","021502011","056004089","011402105","071006486","075906838","071910187","072412008","031205955","021309201","092901418","081516872","072400052","021311529","081307227","026014517","065300402","026002532","072412037","086300041","021502037","065301744","061210965","081909007","021502040","063111677","072402652","044115443","084303231","065204663","042000550","051485690","061112474","056005376","072403978","074001048","063205457","061101799","091406260","084304573","067006432","081213780","071922188","026013220","031205913","092902705","067007758","022309611","083908187","026002574","081503597","053204280","071922175","081211135","072403994","072402665","083908174","053012838","061112458","067005158","071115416","091408983","074014433","026013246","063015838","011501718","011402079","065204579","091408996","074014420","053107646","026014588","054000959","091407667","021502095","092901395","081503500","072413298","011501705","081504839","011402066","067005145","026013262","056005363","031312738","021309285","062101882","083908145","092901382","091311164","011402053","091406354","083908132","064108883","091311177","052001772","011501750","091407612","091311148","074906428","052203046","091904827","083909445","071104715","063216187","064106283","011501747","091311151","072413256","026013291","053107633","092901337","091904830","091216612","092901340","072413285","052204359","073920706","091408970","091916815","073907729","011501763","081006201","071104731","091311135","052204346","081504855","056005318","064108838","091408909","091904856","091311106","091903530","091916831","031312796","071102173","073907758","091904872","091311119","091916844","063112906","021201639","073920735","051409087","063112919","071102199","073905116","073907774","073906445","091914202","084206105","051409074","073920764","071103473","064108870","091204682","051409061","074905173","071200538","091301750","064009144","064108867","021201600","051409058","066010597","091216696","053105059","091902256","073920780","031309123","091881717","011201759","086505273","091916899","073918459","073920777","061220285","011900652","011201762","031312783","091213084","062206114","021213591","053012728","031312398","073920557","092901706","053206961","051402987","067092035","062001209","071909240","073919571","011307226","071909211","051402974","096016930","021300912","084304421","067092022","071900883","075904597","011307239","084304434","051402961","062206101","021213559","091913096","053012760","051402958","075000569","075917898","071911584","075903242","071924898","071923569","021214875","011307213","026002846","021502341","071922227","043310139","096016972","021214862","075917872","071909253","051402932","011102353","071924872","071923543","021502354","075903226","036002247","021213520","075917869","091407256","075905871","075904542","082900982","064204402","044115126","043311497","081503694","072413227","091408598","075903200","021384572","082900995","075905868","061112393","065301883","075917843","064182524","081501049","061112364","042107424","075904526","026014876","021502383","041002957","065301854","066010720","065203431","056005075","071922256","065204760","075904513","071005254","043019003","081501023","084303189","026014892","064204444","084303118","081201695","051074030","026013576","026001591","053902197","081914995","067092064","071922298","086314367","081501065","051485315","091408585","081212273","051736158","075905910","083908284","064108553","056008962","091904908","082900911","063000225","021309379","081913556","051050009","072413175","091408640","071102487","075072199","042287027","041205631","061209756","082900937","065202063","083908255","091904924","081010860","064108524","081503607","074905225","091903608","091215626","011175351","074906541","056007604","065202089","071115720","021310326","065505870","092900383","062101934","072413133","072414462","084303082","073921912","082900966","031902216","075072157","091202325","081516940","062001186","091904966","092901683","043386985","091916941","073921909","091915612","091202338","052000113","084102979","011175319","091214339","083908200","011801052","073921938","071113188","041215032","021213504","071900825","031300465","073906306","011500337","091916967","081019298","073921954","073908980","091903666","063013597","061101702","091901011","075012531","073920612","063109621","011501682","042215248","096016888","041215016","091902353","091915654","021201503","091915670","061220133","073918323","043300712","073921970","073905006","073907664","091903695","073906335","052000168","073921967","061220146","031301752","091213039","081019256","071101174","051400361","073920638","071113175","043300738","022383983","071126489","081019227","041205673","071912813","091914370","073920654","071113162","071114491","086506256","081019230","031313753","075903174","022383844","073921776","031204804","091913177","071006651","091901192","071908021","091913180","073921763","071924979","064203021","071909363","021213465","084306953","056080249","071900993","075903158","073920463","073921792","073906160","065106321","075903161","091300719","022383815","021913655","063292499","021213449","075917791","071911652","026073082","071923695","071922366","021913642","031300494","062206279","053012647","071908063","042107592","075905787","091107705","066010869","021913639","071922340","075904445","075903116","021214749","026014711","063110526","065106363","021213410","021502228","065204841","071923666","071922337","091807908","081202869","026013408","065301993","026002752","072413104","072414433","026001423","082007830","074906622","082900872","021310407","086314464","072414420","065482595","081514450","075905732","092901654","071103619","064204305","084304382","072414459","071922379","081226829","021502273","092901641","084004666","043310281","072414446","092901638","026002794","063205208","026001465","065203567","092901625","091408679","026013453","063205211","071004022","031902407","084303008","084304337","064182605","051485441","064204347","081501175","084303011","056005169","091408695","026013479","066010801","092104244","021213481","065301948","051485438","074905380","021308176","042107602","072414394","067006238","065203499","061221310","026012166","061211993","064108663","041205518","083908381","091408763","083907052","031301846","081912379","064108650","071101022","071115665","065202186","081224122","081913695","064108647","091406121","092901599","091408705","072401048","071103635","072414352","072402364","072401035","083908352","064107376","072401064","091215529","071102322","074905319","061211964","061210635","091915722","072414378","091202202","021310465","091408734","021383463","044105819","074000010","064108689","072413036","091914406","091203544","091915751","083908323","031300575","011200608","026073150","067092200","044212265","073907509","073921802","096001013","071900948","083908310","096016985","091204899","091202231","083908307","011802488","073921831","011175212","026073134","063292538","073907541","021202719","091915777","052000278","091215587","011501598","091915793","091914464","071909305","081006052","073921844","041205521","081503704","064108621","073921873","056080346","071924924","091913148","065106402","011201995","071113049","091300641","031901097","064108605","071114378","073920531","031300562","073921860","073907583","026073163","061220049","041206876","041201936","071124805","062103000","071026385","011001881","052100932","091917649","072413858","091904348","053112796","026009674","036002069","091905680","061020317","071112817","084107699","043308468","091400486","071100858","055003298","071124821","091903035","072413887","091917681","075907866","031289285","052100929","075906524","072413829","026072931","064009445","031300135","071001041","091903051","062105626","031312110","091206101","051409346","063116164","072413816","091916378","072401831","092904185","053112754","021307711","062202804","053207614","026072928","063116177","051409333","031312123","065204951","021307740","021101108","067011294","053112783","071112804","051000017","011000536","072413845","051409320","071002341","053110112","064009432","061212387","061020375","092905498","053112770","072400528","072486830","053905877","065204964","072413832","084107628","071905943","061104518","053207669","031289214","086504326","084108957","065203648","051409304","062191627","096081729","065204977","022306258","065204980","065300790","075907808","064201120","021583111","071904627","011301798","026072973","084202219","074905403","065204993","071110262","021583108","071122247","074906729","081202759","071905930","021584424","083913949","061308592","065201019","044105576","071123518","071905985","021584495","031312194","071026356","071109202","021583153","086506955","043202946","021584479","071122205","021583140","065201048","041201994","026072986","042103253","021583137","071109228","041212637","083901896","021113196","042103363","091810856","084300603","041211298","065300703","064202501","073905608","061104592","063106734","091305879","042103350","084202293","081502530","031302803","021583195","063105405","074904158","084202280","062202778","062201449","042102018","042103347","074905474","063106750","071916550","021583179","071915218","064202514","061103276","083900525","074904132","083901854","073905637","084202264","066011389","061202944","061191848","074905461","084203593","071122263","091807254","084202251","061103218","041211243","073905653","066011392","061202931","041272279","084202248","091101950","061103247","083901825","031914437","063106705","022307600","073917641","084202235","071122276","081501227","066009029","053185668","083901809","092905485","042105947","063116122","064105200","084000819","084309015","044212139","092905472","053112712","053100737","092905469","091113980","066011350","021113125","043309713","073916367","021414280","073903053","092905456","055003214","042105921","063116148","064107842","053112738","061202957","066011376","061212345","026009739","021114483","067012688","081007022","092905443","026008413","081503814","075906595","092905430","055003201","092905427","052100987","043308426","081503827","061103292","075905253","074904190","044212168","053112709","072486788","062202736","091905648","062104397","066013989","026009768","091904322","061201673","074904187","053100724","031302861","031301532","062202749","091905664","072486791","062105781","072413748","041201813","071100719","053112686","061212277","063201435","075918428","063116083","091209933","062105778","026009551","021306547","072400421","091210922","041213814","053112673","072413735","031312288","091915133","026011882","071001180","072401789","075918402","061201592","081308161","072413764","072412435","053185613","075907743","062103136","072400447","066012867","091903161","026008248","091209962","067009044","051001414","072413751","044115090","072413706","061212235","062202914","091207317","065203729","042212568","011001962","031313562","031312233","031301590","051000101","091400554","053112631","026009593","051409456","044103086","061212251","053110002","055003133","091210993","053112660","053100685","081910436","051409443","072413722","072413719","071100706","053112657","036076215","011900254","051000127","063116070","031312262","082901952","041213885","021583001","074905539","021584330","051409427","041200555","081009813","053904483","042213842","051409414","065202445","065201116","062105723","021584314","091400525","053207766","071110149","071109163","091206062","065202461","062105710","041213872","061104408","091400538","071904779","021583043","074906826","072413780","021414426","061008766","091303130","021583030","071111407","072413777","042102050","021583027","071124740","074906800","084204709","071110107","042201854","083900680","073906801","065202393","065201064","021414345","091810979","091809980","075005496","071902043","061103140","061092057","021113086","042103473","056003158","062201591","063106624","042103460","021583069","064104052","061103166","081503953","044106944","056003174","083000920","021583056","021584385","081502637","061103153","071902030","082901907","081213285","073918844","084107709","031902591","082901910","065503348","081501353","042102115","073906856","073905527","061092015","071111481","071926045","096017230","056004445","083900619","081213269","011300595","073906872","071026408","071109189","084202112","073918857","071926016","073904230","084008028","021583098","081501340","065000731","083901935","071001122","051000033","084000945","021606218","092905362","063116009","053112602","071926090","031302997","051000020","066009155","042307224","091905716","021210112","071926087","052000016","081019175","084000929","026011921","063116025","091101879","091818049","081019162","071926058","071002422","053185574","053112615","065106619","071926061","043211160","091905745","053185587","062103165","026010605","051050339","031302955","042187033","081019120","061103182","064104036","071002419","062201559","026009632","091917733","081019133","061202889","075906469","031313627","026011963","031302971","067011456","062202859","026009645","081019104","081503911","021907577","081019117","062201533","064105336","064107994","064009241","091401553","084108795","044202505","053112563","072413625","051409142","071109406","053112550","021210073","051409139","072413612","061212170","071109435","075905457","072400337","071108106","031313261","067001699","071110424","065106680","072413638","041201703","075904115","053112576","062103259","021210057","081309364","063203734","062201708","075905431","053185503","021583328","053112521","061308770","091218335","072401608","021210044","043308277","081311666","051409100","053112518","071001274","081308006","062201711","021584644","086518765","062104520","086506793","044203863","061020113","065405226","051000253","072413609","055003492","044203850","021583302","053112547","086518749","053112534","062103217","053100559","074014035","082901839","091205063","086518736","071122467","021583360","084108711","065202555","091206389","011600062","063192926","021583357","082901842","086518723","081574403","031388872","031276120","036076150","065202568","082901855","075906702","021583344","081501492","091016993","084204628","071108193","065201255","071026576","082901868","021583331","041212433","071916822","041213759","011301536","091205089","031913438","072401682","081923452","084205931","064202268","011600033","072400353","021305386","082901871","042201948","091302160","074906949","071926210","031902766","011600020","064202255","081909146","071122412","053112592","072413654","063192971","082901897","021583386","041213704","072413683","084205915","072411025","075017853","072412354","072001079","071904889","071109464","042102160","021583373","091302115","042102270","021414468","084202060","011601443","071914138","063104312","021414455","042102267","081514748","091014267","055003405","056006786","063105654","021114263","074904394","061105672","064203610","065503681","042102254","021910836","061105685","081226421","062201698","061103030","061104314","074904365","022307820","061104301","074904352","081501489","073905417","091818117","082901813","021413155","071121196","061103001","071926155","083900732","082901826","084204657","081512106","091905813","084001915","051903761","062202956","091905826","031302638","073904117","042104854","063115039","064107622","021114205","064108951","044215893","071001232","021606580","031301312","055002150","021213986","055003489","073906788","062201630","091109253","063116371","062201601","055003450","053112505","063115055","091818162","026010948","091208905","071926197","065405255","067013700","055003463","063115068","065405242","042104825","083008362","071001216","064108922","071926184","051409197","062202998","082986728","073904159","055003434","053207902","064108993","051409184","063105683","091915201","021213944","063116339","052100741","055003447","061103056","091916527","066011567","092102851","081009428","051409171","091916543","084202086","065405297","055003418","051409168","075905486","065104116","067012413","084202073","091903239","084301767","055003421","065405284","073904188","067000438","062202985","091903242","052100725","063115026","064108964","021201943","071002503","091508317","096008825","061202753","051409155","062102030","091902036","026010773","072402856","067012484","053207944","053100465","073917285","063215845","053100452","072401514","091902049","026010786","053112437","067011142","053207931","011302920","067012471","065202607","091208853","041202922","053112466","082900487","061212057","091207537","091902065","061202685","031312055","042286853","066010445","066009456","061191495","091208879","071124931","072402869","053112453","061202672","073917298","053112408","086518891","062104656","031300012","062105985","053207986","055003395","053206657","063116287","071916916","071112901","091206224","051409223","074014187","075906634","036089309","061212002","053207973","091401647","063116290","051409210","053185406","091207582","053207960","031302696","053112424","061212015","071124902","021213892","051409207","091401663","075907947","053112411","091110093","053207957","031312026","021200575","021583247","053206699","065201349","072413586","041202980","071110369","082901729","071108038","036089341","021414617","071108041","086505545","065202694","071026686","091001144","011601265","061192753","091402947","036089312","091014458","011301646","081910232","082901745","053206660","021583218","061192740","064204774","053207999","026083713","072413599","082900429","065201381","091302034","031902876","071109338","053112482","071109325","053100494","031276049","061212086","061191437","091303376","082900432","053112479","096005093","021583276","011601236","071926320","041201635","042102296","082901774","072401585","091402905","021584592","011301604","011302933","072413560","063192874","084106221","082901790","053112495","072413557","071926249","084203276","081514874","091304650","071926252","063105515","021907315","084302915","091806242","091807571","092905508","061104220","073920900","073919911","074014213","091304634","084302928","081215649","084203250","063105544","063104215","021114153","071915580","062200482","021583292","042102351","061105533","073918608","072412176","064203513","091818269","071026628","073920926","071108096","084205889","091001034","081513574","073907952","091818256","071926281","073920913","071108083","073920942","031901482","081512232","042101006","042102335","096018352","091818243","084009111","061104204","073920939","071001368","091904610","067013852","031301422","055003353","052100893","044202466","071000039","031314749","026590808","021306822","055003366","073906665","021200559","081502815","083008223","065405145","064107729","067013836","071000013","073905352","062201724","065405132","026010825","031302777","055003337","091903310","092101603","075904092","063116261","031312107","081213078","073918653","031302780","055003340","042286905","031314765","063116274","061308932","091915311","067012565","011900445","026008536","073904036","063116203","061104275","073920997","031314707","061020197","081514829","031000503","062200466","061104262","043309632","064009380","063105573","066010351","063116229","062102098","092905537","091902023","044215796","063215900","021114111","062201779","042286947","092905524","062200440","055003308","051409278","062103482","075907413","082901677","083974467","091206541","036018888","042202688","031100966","061020799","026011507","091409296","065405420","091217226","065405417","011275303","031902931","084107246","061104929","031001175","031301053","091907882","082900380","054001220","051504319","064103105","072412972","072411643","044107778","031316967","071004543","026012881","091905237","062201957","062200628","054001204","031902928","091905240","057004680","071004530","091205283","091905253","065405459","065201446","057004693","064105734","062103453","071004527","072412985","091917254","071113751","065202791","061102332","021283631","084205737","082901606","011575236","084205724","091981808","042104168","061104987","091409212","071113748","031207801","092101289","082901619","031901686","042105484","091917270","061101029","064008569","091905295","083902798","061019742","031912332","074905872","021283615","031100908","082901622","074006674","081586637","042215921","074904530","084205708","071926443","082901635","044107707","091301064","061104958","031301066","036089257","071113719","082900319","031100924","041202812","065200188","011202392","082901648","053207216","042104126","022304030","021308642","061104945","061019771","041201512","091301048","042105442","061020786","071926430","083902756","021309997","086503424","083901414","073903419","071902399","064202983","041212145","073904751","071926375","031206420","083008508","071123149","064103095","061212727","071913058","083902727","071926362","071925033","071925017","053111810","022306782","084203137","091303664","071914358","071926333","091302348","091505093","053012197","026590798","083902701","064103079","081512371","071113793","043307508","075918198","091281773","081215597","073916778","084205766","091001157","073915449","075918185","073902151","021404465","061101032","061103690","061092387","061113017","081512355","026084589","071112480","092101360","073903493","011600774","081501696","043307524","071926391","041200144","071925062","075906197","071925046","071913087","091014487","071123123","075907497","073902180","044084545","075906171","061092332","071004501","091809472","072412927","084107181","061211472","052173464","051504254","052100547","073915494","021683794","075918130","062201847","063192269","065405491","021207057","064105666","091811758","011975221","063106352","067011760","092903270","021207044","065404159","021683781","075906142","075906126","063107610","053111836","075918101","061211427","064201612","091207838","043404647","063107623","075907442","061211430","056004720","021207028","083008540","021382642","084301518","044201030","092904570","061211443","042310525","081226298","064202967","082008583","053000196","064104379","021382655","091906508","053111849","092904554","062201892","081909722","067008155","021207002","053000183","071002053","026012713","084107343","065202830","051504429","062103592","075909945","075908616","082901567","091218403","071002040","082901570","054000030","091205102","062102292","075910921","052002166","021101425","075017947","071002024","065201530","031100869","036018985","064105815","091205128","051504432","043305092","051503103","051407296","084106027","064103228","081921551","063214312","091904018","031303763","091905347","031100872","082901596","054001314","091408035","021114771","075909903","036018969","062102221","021101438","091905363","063192214","031302447","065405349","081501803","091917351","063106268","026009124","091409380","084301479","091917364","065200243","031205081","091904050","083974373","071005979","081908590","044106588","041202744","065201585","084205614","091917377","091916048","061103548","026009140","061104877","074903353","091000022","071926511","091916051","081919262","071100324","061103535","026011484","071926508","036018914","074903337","061020867","061103564","062102218","061104893","091205199","041202760","091916077","053003931","071102995","071126955","063201040","061104880","073905912","091409351","071925237","041202702","071926566","091001322","071002095","084108630","074904640","071925240","031301192","071926553","071925224","091916093","053207339","061104822","064008611","042104249","074903308","021283547","091001319","071925211","082901538","091014652","081204867","091000019","021308781","061104848","064008637","071114938","081204854","083901537","071925156","081216758","064202860","081501793","031207636","073904638","067011825","031207649","053207371","081511110","011805388","036089189","073903312","096017670","081500477","091050234","067011812","082974471","073903325","071926472","074902082","071926456","064202873","081501780","041200050","071925130","071124371","026084482","073916668","084205656","075918075","053012087","052100699","083902811","061201974","084205643","031207607","064201560","091001270","073903354","041201321","075906087","084204301","091809524","026084466","081500480","073904696","073903367","073915342","071112354","067010512","071925169","053207397","073903383","071124339","081500493","021502914","075906061","067010509","071925172","081214174","075918033","067010583","061211346","051503051","031302515","063192120","021502930","031314503","062201999","061212688","011600622","083008469","031302528","021101470","075918017","051504377","065405381","075907374","044215521","075908687","066012333","021114784","075918004","043487046","031207694","065405378","021502943","075906032","075907345","061200658","063107568","051904524","051085427","081214161","075910992","075906016","073902096","091109350","065405365","075906003","081000993","081922806","061211304","041200089","064202828","031207678","053111700","075908658","074914067","081512407","061211317","052101957","063107513","066014959","053110400","081012952","064202844","053012029","081501735","031207652","021052053","091206402","082974439","081000980","042212050","063192191","042213389","084301408","054000056","031975984","081010307","084203043","053111726","052101931","083974412","071903929","062102399","021307520","091906760","065404340","063205923","031302117","075918305","065201624","011301947","084301372","072412778","065202953","091216104","075907646","082901444","062102386","091905444","053110374","091216133","021272794","042200279","075906304","067010169","082901457","071125914","071002150","031302133","031000095","082901460","083986662","071002147","065191721","072410123","011300605","044084354","051409595","071002134","053111674","026011785","082901473","021308817","043318092","065201666","051409582","091216146","091409005","063105285","051409579","051904676","091400680","061211281","091409018","075908920","021308833","042202895","051409566","053111690","063216608","071902629","062101031","084302698","065404353","071110000","021584217","091917490","091916161","081910575","031000037","071926650","071112668","071111339","051409540","071926634","071113984","021272749","031000024","051409537","091216191","071112684","071109037","031000011","071124669","084002781","061019506","051409524","021272723","071926618","083900363","081910588","041215935","083901692","081908273","071101967","061104712","091401919","041215906","071926692","071926676","021307559","082901402","091401922","011301992","071925350","071026123","071111313","091000132","071925334","071924005","031000053","061103409","092101085","091400606","083902992","082902757","082901428","011600486","071124614","031000040","071101996","073904502","075001047","071125943","083901650","072410165","026083470","042105785","036089053","091302597","092902132","011104199","071123398","021584291","081203318","041202582","092904774","071123385","071122056","031205340","081000605","063106501","031207979","084205559","064202763","011600570","041215883","084204220","021584275","011104173","083901621","073904531","061102196","092904761","011600567","096017337","064104162","073905873","071913278","071926582","083901618","071110042","022306960","073916545","073904560","071111371","064201450","061102138","052101669","041202540","061201851","073916532","091107022","091808347","028000325","042104401","061103454","031207966","031207937","021606111","071111397","011804185","073903244","096017382","071109082","041203895","091050302","067012811","073917887","091303871","091810623","064201463","091000080","041215854","011600525","031207940","071122030","043404443","053110303","081000676","053111632","044072311","065382514","067012882","091206703","044072308","064106775","091303855","044072324","065103243","062200783","043308620","053111658","051904634","075905059","065382530","031316815","084301314","073903286","071003405","091808363","043309975","061201864","075905033","061212510","064202705","091206745","082974332","091518129","075918334","091906731","075906362","044072337","075906346","084205591","091905402","043310980","011104131","043308691","091204103","075905004","067012895","084302614","052102901","026008206","075918318","065201611","072400670","091916200","082903976","031315544","065405556","065201750","071002286","061211197","072413971","082901334","082902663","072410013","044106397","091409186","065405527","083986549","091216007","067009280","044106384","072413997","091917571","071002257","082902689","082902692","091904267","053112880","054001550","065201789","064104311","072413942","021908288","091916255","091409128","072413939","071926715","063192450","091904270","065404256","072413968","092005518","053111577","061211168","082901376","054001534","091904283","081011461","031901929","091204080","061211171","065000171","082901389","026008044","054001547","082901392","063204746","062200961","021908275","054001518","071902797","071925431","092101182","041215825","062103767","031207911","091216081","041203824","044107613","031207924","064201243","053207533","021272626","091400758","051409650","071112561","071925402","031207908","071926731","062102441","061103315","041215812","071123204","061104644","041202511","063215489","051036706","031302272","021272655","028001489","074902228","071112503","074902215","026084628","074903544","041203811","091014898","051409605","074904860","071925460","071924131","044107600","071925444","082902634","083901773","042104469","081217919","026084602","073905718","061019674","021606056","067012921","084205452","041215786","021584178","042104579","083901760","031207872","065501353","021606069","071925389","065104611","021584165","042103237","021200957","072000096","031207885","071123262","044011453","081000728","071925392","071924063","071925376","073916406","042105882","081204540","064203979","083901744","031207856","011104050","031207869","061191932","091809731","041215773","021584149","043403282","091301132","091809728","061103399","081203208","081000702","083900402","041201143","073916422","031207830","083901728","071125891","022306847","091810762","073917748","041215757","073904447","052100466","064201324","031207843","031207814","071924089","021414125","075918295","064202682","061105999","061102031","061103360","041202443","083901702","041201114","011201115","031207827","073917764","044202071","081509070","075918282","091036135","061103357","021584181","053112848","072486843","082901279","073903150","082901282","061212439","044084422","073903147","083912393","072413900","043403224","072486856","081513930","084107055","053100850","022306818","065502608","072413926","072486869","044000804","074914274","053112864","084303859","021307708","061201754","073916477","053112851","062200880","075918237","073916480","052100408","075907594","064104201","053112806","091906838","084205494","026011701","067009390","042200295","075907581","083008650","075906236","091905512","084303804","011104047","075907552","021113251","091905525","053112822","081513969","067011692","091807186","021200986","031207898","071974372","096017418","091906870","061212426","065001426","073915193","091917513","056004623","065201860","082903853","067014301","091908700","083901087","071121772","065200531","091811253","082901208","011375164","083000108","021582662","074904954","064103532","064103529","091908713","091305044","074914313","081086742","071905095","065404560","084201757","065201886","065000090","082901224","067015601","091908726","083902387","061204735","082902566","071108766","067014343","091908742","091305031","091114361","083902374","061203477","081025761","082902579","072409794","071107424","071121727","067014330","081906275","071108782","071107453","061120589","083903690","067015656","061192274","021582691","091200822","067003671","064104887","021582688","091908768","067015643","051009296","044108641","091017196","053101273","091200848","091306315","073915818","083903661","031315269","051504704","028000082","065306095","067014372","065306066","063115738","083904974","083903645","062203227","083902316","091907471","065306079","083902303","063114412","062204569","063115741","062004099","062203230","091510075","083000137","071118170","064008983","051408897","074903670","074902341","065404544","062203285","042174525","073915847","091212865","062203298","074901009","064008970","073902546","082903837","053102586","073913218","081086700","062203269","042174509","026007906","071106195","084201786","028000024","052100042","082902511","042174512","073903891","051408868","073901233","091209247","031912785","053208118","064209135","063115673","026007922","063113015","073914550","063113028","073915889","053208105","061120615","062205830","063115686","091801904","081205727","075907099","063200928","063114360","091211471","071000521","055000110","051408949","083074451","063113044","075907073","061119600","053208150","051901705","064209177","071921956","062204530","051408936","042174486","064209180","073901288","063115631","053208147","071918309","042174499","051408923","082001522","071000505","026005319","043208296","043401190","053208134","063114328","042100272","066015767","055002723","051408910","026005322","021207413","081509193","053208121","051408907","063115660","042174473","026007993","075907031","072408436","081500749","021582714","091403577","031100555","061120686","082902485","063113099","081227129","071121808","075907002","075911988","011401931","021582701","071920656","071108834","071921985","042101572","071905040","081086674","091017138","063212987","075910659","053208192","091402264","072407123","053208176","081908833","021302130","042100230","011401928","042102898","063211629","061120660","042101569","065201802","075909660","071119519","062106120","053208163","091402277","042101556","061120673","031305936","091402280","071119506","072000326","021582756","061120644","071918383","063114386","055000165","063113057","064200765","043018868","081001727","055036100","072000339","011100805","021582743","091403548","053174103","061119668","071905082","065201831","061120628","061204706","021582730","051503394","011401960","065200515","061119639","075911920","011401957","021582727","061120631","065200528","081509106","061119642","042101514","071025849","081001714","071107356","067003778","051009364","091403616","031305981","021413935","071120320","083001314","084008840","042102940","067002436","091810050","036018516","071106043","084008853","041210781","074914449","071108698","042305420","011700425","084201621","067015724","083901184","082902430","082901101","081024571","081227077","065403105","061204612","072407084","041209789","071108643","074914452","074903719","067014466","067015795","061119493","061204683","064102371","061202025","051502201","031316608","071108630","021302143","082902456","067013124","021303472","071122933","067014453","071121604","081512928","065404492","061120495","081905069","064103697","051405094","082902469","071108669","031305965","067015779","061120466","044072298","084008811","082902472","065403150","041208421","091908881","074914481","061119477","061203338","051503556","067014437","061120479","084008824","081905085","083902468","071121620","091918208","064103671","061203325","061010220","061204654","091918224","067013179","083902455","071205850","031315382","083000056","091907578","086500087","055002707","091200738","083901113","083902442","063115615","065306189","083901100","061203370","021411335","083902439","063104972","065306192","063115628","091212726","084201692","042306720","071106069","083903742","041207150","073903749","065404418","043318814","011375245","062202082","084201676","053102463","011375274","065306147","063104927","073902436","083903726","084201663","074914407","091308805","053101121","073914411","043306826","074903764","062203395","083903713","053208231","061107515","063114221","042174567","011302357","052101588","081206946","053174019","021207358","065306134","062204624","084104621","063102259","011075202","021039513","053208215","044000642","021209990","081206962","082000138","073915782","062205937","053208202","065306118","091212687","064005203","053174048","021039500","053174051","053208273","073902494","063211726","063102204","075908276","021283958","075909589","053208260","084308401","062203337","063115521","062006534","091210074","021283929","075909576","022305770","082000109","062203308","042210722","021283932","021283916","053208244","062006505","081000553","082901033","061120563","065002548","064102290","026007883","081500862","075908218","081000566","065382624","061120576","082901046","081500875","073913195","075910523","075908205","071108740","075911852","072407000","081512834","061120547","062106256","082901062","082902391","074913194","061119558","081500859","043318791","061106257","031304720","071193331","021004823","082901075","021206074","011002343","061120550","042101679","031100461","083913033","084308498","061205938","061120521","091402329","062205908","051503491","063114263","063115592","065200612","061120534","021303511","044072243","082901088","055001384","064201968","063114276","082901091","061119545","081000524","051502159","084006237","061120505","031100490","091017248","063114289","081905014","011701660","081216389","063208140","061120518","051502175","081074505","081906000","051504542","051503213","031304306","084201524","072408274","061205844","084201511","061120385","051504568","065403477","063103915","053103637","074913233","084008507","061120398","081906013","031317636","084202837","072408290","081919356","072408232","071106344","061120369","082902320","071120647","082904991","074902503","072410550","051504500","011400495","091101280","044110707","031318907","071105002","071121963","091908988","072013915","091305280","081000210","067004764","071107699","082901017","082901020","071121992","074913275","074903803","041209624","091918347","083902581","091906359","063114629","067015478","063115958","062202150","053103682","091917021","074901290","065404735","083901236","063114632","063115961","083903894","082000073","091917018","062202163","031315036","091209441","063114645","067014123","083974289","062202134","091905059","083903881","021283851","055001711","073904939","061204586","061203257","091917047","063114658","067014110","062203476","071000806","083901210","062202147","096000988","061309229","053208312","063115916","091917050","031306993","067014181","062202192","031318978","083901207","091208141","053103640","091307851","063016154","071214249","053208309","062006495","091208138","031908074","091208154","074914517","091209483","063114603","073902313","074903890","031315007","092001677","021409169","091210469","021906808","041207040","083902507","084202879","073915656","091210375","011303327","055001698","091017303","021207235","063114580","055000372","031376017","021410080","073915672","053208338","042208556","057001418","091017329","065103625","021303618","091017316","067014194","062204721","021207206","073914369","063114548","061291735","065306202","062202118","063113219","052102516","056001066","021582905","053207054","073914356","031303093","063114551","063115880","026004226","071906573","063113222","062204789","071918545","055002998","044002909","091005302","065103654","063115893","073902397","096000959","063114564","063102592","044204370","063114577","084106988","091501767","061107476","021582950","051503174","073914398","061106150","021582947","081216240","075907248","091402015","081511631","051503161","073901097","061120453","061119464","056001011","075907235","061106121","021582934","075910882","061120424","071917232","081218879","071918561","082902265","081204265","064201832","061119435","064105899","021582921","061120437","042101792","021207280","043305131","021582918","065200722","084308375","061120408","063210112","083974302","026004297","084307033","021582989","081204281","064201845","061119422","081074495","063210125","063092770","021582976","091101316","084008536","021314306","091809252","021582963","042101750","051503145","091810296","081302633","074913327","084202743","031305745","021582798","091101138","091907727","026004093","065403370","051504665","071106250","064103419","021582785","051504652","051503323","061120291","071118264","081023019","053104843","021100329","021582769","011401876","091906427","083900091","061120275","081013692","081303920","082903536","081036307","061120246","031100636","074903955","091905114","051504623","064103464","028001081","031100649","061120259","067015546","071106218","091907785","071119522","091917115","072409464","021301089","091905130","071118222","061120220","091101141","071107563","021113662","065403383","061120233","021100361","031303161","096010415","081918182","063114506","091200961","063114519","091905169","051504607","011100892","067014246","061204463","062202257","092000267","021283738","053103585","028001036","063114535","091917160","083901333","074914614","052102590","053207106","031303129","073903503","053104869","091917186","084201443","074914627","071214126","063115806","031303132","042207379","071118277","073903516","083902646","082001247","091512594","091208031","081206807","021906934","074913301","083902633","021283770","031317788","084202769","073903529","074913314","043209431","083902620","062006356","021283767","071905309","063113138","022314020","071906641","021207112","073902216","073915520","091210249","073904890","053102191","063113141","062006330","062202202","055000259","091981646","073914220","053207122","081508178","073902232","051408839","092001512","043307841","062203515","053207119","063113167","073902245","091209289","084105730","063101111","031376101","011736114","084006059","063114425","055002862","063115754","071917326","062203573","011001276","091981688","071920960","053207164","043318500","042207308","053906041","073902274","011304711","063113112","091017400","075910798","073902290","071920957","064008912","063115783","073902287","065200803","042015422","026005458","073914262","073914288","021582837","026006790","071916042","061120327","081205455","021207196","081204126","021582824","061107366","082902139","081511754","011001234","081509449","061120330","075907112","081204142","026005487","064103367","021582808","021314416","021582879","011100915","082903497","055000288","051504584","021207154","081216169","021582866","061107324","084008646","051504571","081216172","011401850","065200861","091809362","072411708","021582853","011002550","055000262","042101886","064102070","044107163","065200874","011701424","091017484","021313103","021207138","066014726","062204802","021301115","051504597","091017471","022304616","081000032","071109655","065003592","071108326","053112327","061213247","091211905","081000045","071108313","071122616","021305577","053112314","021606742","083904589","061202575","051502599","011002725","021583506","031318716","082904726","081303823","067014767","081917390","071122645","083000593","081904086","065002289","053112343","051501299","061201233","053101684","081916058","041209420","053112330","083904563","062106528","053100355","071111986","083905892","055001096","073901602","053100300","082903426","021583551","092905029","064101398","053101626","082903439","071108300","091211963","055001070","043401637","091209632","071111957","051501257","064101385","011601171","021583535","044000037","092981658","065401084","083000564","051502528","051009649","073914961","072000805","044000024","031306799","062201067","064004181","064102601","066014069","044000011","044002679","021583593","091908315","041209488","074900194","065402313","091208332","091911959","084106768","031318787","083904505","071050432","011601142","061192630","042211572","011302616","065403626","064103914","091403920","021583577","066014085","051405395","073913674","041210448","071123990","071122661","071108355","053112356","021412114","081025363","011302603","031318745","051404040","064101301","081001387","081000058","073923017","052103544","011601100","071122687","053112385","052102215","051404037","031318758","091207058","062201083","065402339","061192669","031318761","053112372","052102228","091908373","075909178","065401000","063092110","065305151","084309426","052102312","031100157","053201953","073923033","062203641","073911061","011110646","011301390","042101174","065103887","073923020","011110633","086586713","031100160","091017536","051405450","081207932","031100173","051404118","011110620","061104136","051405447","091017565","062203638","021414675","091510428","053185299","051405434","061104123","091017552","011110617","026008808","071002707","091971533","031304173","071916123","084008358","053200666","091017507","011110688","026008811","021206582","021205253","021001208","075912877","043315147","022313021","011110675","062202367","091509468","075910206","075912864","063116504","091508171","051405405","091102807","091017523","026007508","021206566","021205237","091510460","075909204","075912851","063116517","072408805","021413388","053201982","065200926","021111800","062202341","062201012","071918765","062203670","011110659","071000152","067014822","081905302","082902003","055001054","026008853","021473030","075912848","022303659","075912835","051900023","082903345","021473027","026008866","075900863","011000028","061104181","075912822","071001465","021306974","082904687","055002367","081905331","042102416","063115291","031911812","031100102","071109707","042102403","081508217","026006224","064101291","022314334","066004600","075912819","043002023","021172768","091400020","061021170","081510593","021583603","081904015","083903195","062106557","063201875","062204938","055002341","073972084","026006237","063116562","071001449","075912806","091017581","083914016","091102894","067014851","091802877","081905344","065200984","011592675","061202533","062106573","091400046","072408892","026007582","021172784","062105244","082902074","063116588","011000015","065200997","081917345","081510564","011001331","031100144","055002338","071110521","053112204","026007362","026008691","083902060","083903386","062106638","064101482","063191794","041211609","081000168","067013564","083902044","061202452","071109558","011002877","053112220","061203778","071111863","061213153","053101561","011675343","053112217","031919021","041209307","065403587","011000206","081025415","065500752","011601087","026082620","091800293","026082617","065002108","051501354","063115194","011601074","072407495","082903303","083902002","073902821","073914822","083904660","091304032","065003453","055002286","081509737","081510739","081074440","083903328","071000288","021583412","082905987","091908412","053101529","082905990","065402290","081001439","064102737","061107913","021583483","053112288","083904631","071108290","051502641","091209535","021206537","011807043","031305596","053112275","011302768","061119901","061192517","073914864","031919092","091305329","011601029","062201164","091208222","051502667","084201223","091210540","021112935","011302742","041210370","091907125","073902889","051501325","053112291","051503938","073912222","053112246","063191749","061213166","041212983","091209593","071110550","091306645","071122535","021000089","053112233","053100258","074900275","051405492","051404163","075911373","071122564","066014153","071074528","083905902","073913580","051502625","042101190","031919063","053112259","041210338","071905613","075911360","052101012","042208006","073901592","065403545","051405476","064102740","073912264","063116407","062201106","061120961","064208165","052101106","072408708","031100047","066016766","063116410","091908399","061119985","071026835","055003528","075912783","066015440","011099660","063116423","071001504","051404231","071026848","081519073","061120958","051503909","075912770","061106655","042101271","062203751","063116436","044002802","091510596","066016711","042102597","084201294","042101268","062202477","031316271","091017620","091005632","064208194","022314237","061300367","011300142","031100089","053185192","082001881","062201151","061120903","042200910","084201278","075912741","042102571","021000018","051405528","031100092","065404913","021907975","021000021","042102568","051405515","075900766","091971627","075912738","021606690","082903219","055002260","053285717","081218536","064209410","042102555","081507014","063115152","063116481","075912712","062104041","081511990","081519002","063116494","021606674","071001588","082000549","062104070","063103193","063115178","055002244","026008756","081918755","084008468","071904290","053102816","081205222","031389266","021001318","061104084","091101455","067014987","053185105","064209452","064208123","082903264","042102513","031101321","026007443","091800329","061203752","084308003","062105338","062203735","081507072","055003560","063115123","063116452","061202410","084308032","063212631","081519028","021172661","031389237","067014961","062203706","061120987","063116465","042103826","011000138","063115136","081519031","091400172","071001533","062203719","084008426","082903293","063115149","081205264","041284539","091800316","071109891","071107233","083902183","061213001","071120207","062106751","074913699","071107220","071108559","041212815","074900356","091800374","051501024","081206496","074071926","082905819","064102436","091811004","071107259","067014521","083902154","071119234","031919128","061203655","031908485","074901672","065002030","067002533","061204971","061203642","061202384","042208174","022000046","021051384","067001275","071109846","067013247","092905278","031919115","061192481","061201042","083903454","061202371","064200914","081905182","022000020","092905265","082905851","061202368","021583771","021401617","092905249","021303139","064200930","067001246","083902109","091303046","021001088","083903425","084201139","031318538","051405188","091005836","041212899","053112152","073901411","071119289","084202442","091510253","091303020","011807140","091907235","065403875","043306910","072471939","091910879","031305253","063115505","044205146","044206475","074912302","067014592","053112178","073902766","073900108","061213043","072471955","073902779","091207278","091005807","021110209","071107262","073913425","084107893","011375368","053112110","071916408","081025114","065304084","061213069","074913660","053112149","031307866","071121594","086500142","075908098","092001208","074912344","053112136","011375384","061192423","031919186","041212873","051405117","073901479","065401246","063114108","064209371","063115437","064208042","062201229","044207872","031100393","075908195","043306855","061119859","071000301","011807205","072410903","071001630","073913467","061120851","073901495","055002558","051406543","062203890","075910484","073900182","061120822","091015143","063102152","071025645","061107861","066015576","072410929","021001033","061120835","084201184","055002532","063114137","062203874","071002943","061120806","061119817","043304239","091101730","084201171","053185066","011302438","055002503","071903055","071025661","061120819","063116737","043317569","063115408","053185079","062201274","042100049","061119820","053112071","071904355","042102694","062202574","031318596","061107816","063115411","071927002","044015747","071002914","073912196","074913712","075911768","041284490","053112097","044109297","071904371","065101481","061119804","071927060","081508466","071110929","062105493","061204913","082903109","075911742","044111557","067003927","065305326","042103994","062203816","026007773","075910400","052080256","042102652","081205112","061204900","064102397","083914236","043316256","075909408","092905210","043400052","064209300","092905207","081507124","081205109","064102384","091812430","075911713","061204968","064209339","071001685","055001258","041284403","061120880","031100351","091016498","081205138","071000343","067014615","062203858","043400036","067015944","063092327","082904483","061120893","061105232","081507166","063114166","063115495","061119875","091401142","082001700","067015928","081304822","064208013","055002574","031100380","071193250","051502298","081918425","061119888","081519141","063211001","071108449","021583645","067015999","081026540","081509957","051501150","061203558","042102717","051502489","022000127","084204929","091403865","062104203","067015986","062105532","075900902","072471887","081206373","051502476","081025208","064101233","011701987","067015973","081510933","081508602","081905292","083009060","071108452","044109417","091403881","067003985","061204858","091402552","071107123","031318606","051501163","081905289","065402494","092905168","071108407","031919225","011001726","083903580","082905725","021583674","021413728","083902248","051502434","071110712","071108423","081519303","071109752","092905142","067014686","091403836","073915915","091210757","062105529","083903564","081509973","011001742","051501134","061202245","031919209","091209755","021583658","091210744","071122713","067014673","031919212","062192804","053101396","031305347","053112042","091908661","063191956","011302519","073903943","065102833","084201003","065401107","053112039","041284393","041209129","011701903","091208471","063116708","073901301","053112068","091209797","065402423","051502421","031318677","051405285","071905817","072000915","067012057","091403807","053112055","073901314","051405272","063103407","021051452","064101204","031318619","091907374","073903985","052201938","053101341","073913302","064272421","071905846","052201925","071904517","073902672","071121471","064103833","041200775","074911138","067012099","081509902","084203603","053100038","075910387","091207087","071903123","082903057","053200983","062201342","057000668","063104668","061119736","086501578","041055551","061120738","073913344","071903136","051404008","091016566","082001687","021906471","026008905","011110756","073913373","061120709","042100191","063114001","011110743","051405324","062203984","071903110","055002406","021206249","063104697","091306823","061120712","042100188","011110730","063116672","062203997","052103515","044015831","061119723","057000697","075908043","071001737","075908027","071025771","084201058","031304050","053208037","071916482","043317679","042100175","065305478","031318693","081208928","065402520","044108078","063104626","073912073","065402517","053208024","063191914","063116614","073900085","062201397","064209290","073912060","073912086","071025797","044015860","071904478","053208011","081025198","084202361","041209080","091015224","031317380","062202697","057001971","063105984","042101475","053208008","042100146","041284377","041210053","084201029","075908001","062104290","081519248","053208079","011000390","065305436","082904302","081907847","072409888","075900973","072408546","031100209","053208066","062203939","081906505","053273981","042102788","075900986","042101459","064101194","051900395","053208053","021304675","063200407","055002480","042101446","081206328","061119794","081507234","075911616","053208040","081519219","075911603","071109820","062203913","031100225","021305991","071110819","064101178","064209216","021583726","062203968","026007689","082086589","053174213","064209203","067014738","091402578","026007692","072408504","061119781","081519280","063115369","082904360","051502395","061120770","011700564","063114030","073022691","062104274","053208095","084309125","082903044","082904373","062203942","042101404","063115372","011110701","081919880","061021060","051900366","067014712","083902196","062203955","031100267","083000726","026005050","055001122","061119765","021206278","044109336"]),QA}var MX;function u1t(){if(MX)return j6;MX=1,Object.defineProperty(j6,"__esModule",{value:!0});var e=d1t(),t=e.default.reduce(function(n,i){return n[i]=!0,n},Object.create(null));function r(n){if(typeof n!="string")return{isValid:!1,isPotentiallyValid:!1};var i=n in t,o=/^\d{0,8}$/.test(n);return{isValid:i,isPotentiallyValid:i||o}}return j6.default=r,j6}var R6={},IX;function p1t(){if(IX)return R6;IX=1,Object.defineProperty(R6,"__esModule",{value:!0});function e(t){return typeof t!="string"?{isValid:!1,isPotentiallyValid:!1}:{isValid:t.length>=4&&t.length<=17,isPotentiallyValid:t.length<=17}}return R6.default=e,R6}var jX;function h1t(){if(jX)return B4;jX=1,Object.defineProperty(B4,"__esModule",{value:!0});var e=u1t();B4.routingNumber=e.default;var t=p1t();return B4.accountNumber=t.default,B4}var kZr=h1t(),XA,RX;function m1t(){if(RX)return XA;RX=1;function e(t,r,n,i){for(var o=t.length,a=n+(i?1:-1);i?a--:++a<o;)if(r(t[a],a,t))return a;return-1}return XA=e,XA}var JA,FX;function f1t(){if(FX)return JA;FX=1;function e(t){return t!==t}return JA=e,JA}var eL,OX;function g1t(){if(OX)return eL;OX=1;function e(t,r,n){for(var i=n-1,o=t.length;++i<o;)if(t[i]===r)return i;return-1}return eL=e,eL}var tL,NX;function y1t(){if(NX)return tL;NX=1;var e=m1t(),t=f1t(),r=g1t();function n(i,o,a){return o===o?r(i,o,a):e(i,t,a)}return tL=n,tL}var rL,zX;function v1t(){if(zX)return rL;zX=1;var e=y1t();function t(r,n){var i=r==null?0:r.length;return!!i&&e(r,n,0)>-1}return rL=t,rL}var nL,BX;function b1t(){if(BX)return nL;BX=1;function e(t,r,n){for(var i=-1,o=t==null?0:t.length;++i<o;)if(n(r,t[i]))return!0;return!1}return nL=e,nL}var iL,HX;function w1t(){if(HX)return iL;HX=1;var e=g1e(),t=fue(),r=cF(),n=1/0,i=e&&1/r(new e([,-0]))[1]==n?function(o){return new e(o)}:t;return iL=i,iL}var oL,VX;function Uge(){if(VX)return oL;VX=1;var e=o1e(),t=v1t(),r=b1t(),n=a1e(),i=w1t(),o=cF(),a=200;function l(d,u,p){var h=-1,f=t,g=d.length,y=!0,v=[],w=v;if(p)y=!1,f=r;else if(g>=a){var x=u?null:i(d);if(x)return o(x);y=!1,f=n,w=new e}else w=u?[]:v;e:for(;++h<g;){var C=d[h],S=u?u(C):C;if(C=p||C!==0?C:0,y&&S===S){for(var k=w.length;k--;)if(w[k]===S)continue e;u&&w.push(S),v.push(C)}else f(w,S,p)||(w!==v&&w.push(S),v.push(C))}return v}return oL=l,oL}var aL,UX;function x1t(){if(UX)return aL;UX=1;var e=Yp(),t=Uge();function r(n,i){return n&&n.length?t(n,e(i,2)):[]}return aL=r,aL}var C1t=x1t();const EZr=$r(C1t);var $1t=Vge();const _Zr=$r($1t);var sL,WX;function S1t(){if(WX)return sL;WX=1;var e=Uge();function t(r){return r&&r.length?e(r):[]}return sL=t,sL}var k1t=S1t();const TZr=$r(k1t);var t7={};t7.d=(e,t)=>{for(var r in t)t7.o(t,r)&&!t7.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})};t7.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var Er=globalThis.pdfjsLib={};t7.d(Er,{AbortException:()=>Am,AnnotationEditorLayer:()=>Au,AnnotationEditorParamsType:()=>Lr,AnnotationEditorType:()=>hn,AnnotationEditorUIManager:()=>Mp,AnnotationLayer:()=>$2t,AnnotationMode:()=>K2,CMapCompressionType:()=>cj,ColorPicker:()=>r1,DOMSVGFactory:()=>qO,DrawLayer:()=>Ca,FeatureTest:()=>ws,GlobalWorkerOptions:()=>L7,ImageKind:()=>Ry,InvalidPDFException:()=>Gge,MissingPDFException:()=>Tm,OPS:()=>kc,Outliner:()=>yj,PDFDataRangeTransport:()=>c4e,PDFDateString:()=>Xge,PDFWorker:()=>kl,PasswordResponses:()=>A1t,PermissionFlag:()=>T1t,PixelsPerInch:()=>Xf,RenderingCancelledException:()=>ZO,TextLayer:()=>hb,UnexpectedResponseException:()=>Ax,Util:()=>lr,VerbosityLevel:()=>Ex,XfaLayer:()=>u4e,build:()=>n2t,createValidAbsoluteUrl:()=>M1t,fetchData:()=>jx,getDocument:()=>qut,getFilenameFromUrl:()=>V1t,getPdfFilenameFromUrl:()=>U1t,getXfaPageViewport:()=>W1t,isDataScheme:()=>KO,isPdfFile:()=>QO,noContextMenu:()=>Ss,normalizeUnicode:()=>N1t,renderTextLayer:()=>Nut,setLayerDimensions:()=>cm,shadow:()=>bn,updateTextLayer:()=>zut,version:()=>r2t});const Ea=typeof i1=="object"&&i1+""=="[object process]"&&!i1.versions.nw&&!(i1.versions.electron&&i1.type&&i1.type!=="browser"),Wge=[1,0,0,1,0,0],lj=[.001,0,0,.001,0,0],E1t=1e7,lL=1.35,$l={ANY:1,DISPLAY:2,PRINT:4,ANNOTATIONS_FORMS:16,ANNOTATIONS_STORAGE:32,ANNOTATIONS_DISABLE:64,OPLIST:256},K2={DISABLE:0,ENABLE:1,ENABLE_FORMS:2,ENABLE_STORAGE:3},_1t="pdfjs_internal_editor_",hn={DISABLE:-1,NONE:0,FREETEXT:3,HIGHLIGHT:9,STAMP:13,INK:15},Lr={RESIZE:1,CREATE:2,FREETEXT_SIZE:11,FREETEXT_COLOR:12,FREETEXT_OPACITY:13,INK_COLOR:21,INK_THICKNESS:22,INK_OPACITY:23,HIGHLIGHT_COLOR:31,HIGHLIGHT_DEFAULT_COLOR:32,HIGHLIGHT_THICKNESS:33,HIGHLIGHT_FREE:34,HIGHLIGHT_SHOW_ALL:35},T1t={PRINT:4,MODIFY_CONTENTS:8,COPY:16,MODIFY_ANNOTATIONS:32,FILL_INTERACTIVE_FORMS:256,COPY_FOR_ACCESSIBILITY:512,ASSEMBLE:1024,PRINT_HIGH_QUALITY:2048},xa={FILL:0,STROKE:1,FILL_STROKE:2,INVISIBLE:3,FILL_STROKE_MASK:3,ADD_TO_PATH_FLAG:4},Ry={GRAYSCALE_1BPP:1,RGB_24BPP:2,RGBA_32BPP:3},ko={TEXT:1,LINK:2,FREETEXT:3,LINE:4,SQUARE:5,CIRCLE:6,POLYGON:7,POLYLINE:8,HIGHLIGHT:9,UNDERLINE:10,SQUIGGLY:11,STRIKEOUT:12,STAMP:13,CARET:14,INK:15,POPUP:16,FILEATTACHMENT:17,WIDGET:20},H4={SOLID:1,DASHED:2,BEVELED:3,INSET:4,UNDERLINE:5},Ex={ERRORS:0,WARNINGS:1,INFOS:5},cj={NONE:0,BINARY:1},kc={dependency:1,setLineWidth:2,setLineCap:3,setLineJoin:4,setMiterLimit:5,setDash:6,setRenderingIntent:7,setFlatness:8,setGState:9,save:10,restore:11,transform:12,moveTo:13,lineTo:14,curveTo:15,curveTo2:16,curveTo3:17,closePath:18,rectangle:19,stroke:20,closeStroke:21,fill:22,eoFill:23,fillStroke:24,eoFillStroke:25,closeFillStroke:26,closeEOFillStroke:27,endPath:28,clip:29,eoClip:30,beginText:31,endText:32,setCharSpacing:33,setWordSpacing:34,setHScale:35,setLeading:36,setFont:37,setTextRenderingMode:38,setTextRise:39,moveText:40,setLeadingMoveText:41,setTextMatrix:42,nextLine:43,showText:44,showSpacedText:45,nextLineShowText:46,nextLineSetSpacingShowText:47,setCharWidth:48,setCharWidthAndBounds:49,setStrokeColorSpace:50,setFillColorSpace:51,setStrokeColor:52,setStrokeColorN:53,setFillColor:54,setFillColorN:55,setStrokeGray:56,setFillGray:57,setStrokeRGBColor:58,setFillRGBColor:59,setStrokeCMYKColor:60,setFillCMYKColor:61,shadingFill:62,beginInlineImage:63,beginImageData:64,endInlineImage:65,paintXObject:66,markPoint:67,markPointProps:68,beginMarkedContent:69,beginMarkedContentProps:70,endMarkedContent:71,beginCompat:72,endCompat:73,paintFormXObjectBegin:74,paintFormXObjectEnd:75,beginGroup:76,endGroup:77,beginAnnotation:80,endAnnotation:81,paintImageMaskXObject:83,paintImageMaskXObjectGroup:84,paintImageXObject:85,paintInlineImageXObject:86,paintInlineImageXObjectGroup:87,paintImageXObjectRepeat:88,paintImageMaskXObjectRepeat:89,paintSolidColorImageMask:90,constructPath:91},A1t={NEED_PASSWORD:1,INCORRECT_PASSWORD:2};let _x=Ex.WARNINGS;function L1t(e){Number.isInteger(e)&&(_x=e)}function D1t(){return _x}function Tx(e){_x>=Ex.INFOS&&console.log(`Info: ${e}`)}function Jr(e){_x>=Ex.WARNINGS&&console.log(`Warning: ${e}`)}function Qn(e){throw new Error(e)}function Lo(e,t){e||Qn(t)}function P1t(e){switch(e?.protocol){case"http:":case"https:":case"ftp:":case"mailto:":case"tel:":return!0;default:return!1}}function M1t(e,t=null,r=null){if(!e)return null;try{if(r&&typeof e=="string"&&(r.addDefaultProtocol&&e.startsWith("www.")&&e.match(/\./g)?.length>=2&&(e=`http://${e}`),r.tryConvertEncoding))try{e=O1t(e)}catch{}const n=t?new URL(e,t):new URL(e);if(P1t(n))return n}catch{}return null}function bn(e,t,r,n=!1){return Object.defineProperty(e,t,{value:r,enumerable:!n,configurable:!0,writable:!1}),r}const qp=function(){function t(r,n){this.constructor===t&&Qn("Cannot initialize BaseException."),this.message=r,this.name=n}return t.prototype=new Error,t.constructor=t,t}();class dj extends qp{constructor(t,r){super(t,"PasswordException"),this.code=r}}class uj extends qp{constructor(t,r){super(t,"UnknownErrorException"),this.details=r}}class Gge extends qp{constructor(t){super(t,"InvalidPDFException")}}class Tm extends qp{constructor(t){super(t,"MissingPDFException")}}class Ax extends qp{constructor(t,r){super(t,"UnexpectedResponseException"),this.status=r}}class I1t extends qp{constructor(t){super(t,"FormatError")}}class Am extends qp{constructor(t){super(t,"AbortException")}}function Yge(e){(typeof e!="object"||e?.length===void 0)&&Qn("Invalid argument for bytesToString");const t=e.length,r=8192;if(t<r)return String.fromCharCode.apply(null,e);const n=[];for(let i=0;i<t;i+=r){const o=Math.min(i+r,t),a=e.subarray(i,o);n.push(String.fromCharCode.apply(null,a))}return n.join("")}function Lx(e){typeof e!="string"&&Qn("Invalid argument for stringToBytes");const t=e.length,r=new Uint8Array(t);for(let n=0;n<t;++n)r[n]=e.charCodeAt(n)&255;return r}function j1t(e){return String.fromCharCode(e>>24&255,e>>16&255,e>>8&255,e&255)}function GO(e){const t=Object.create(null);for(const[r,n]of e)t[r]=n;return t}function R1t(){const e=new Uint8Array(4);return e[0]=1,new Uint32Array(e.buffer,0,1)[0]===1}function F1t(){try{return new Function(""),!0}catch{return!1}}class ws{static get isLittleEndian(){return bn(this,"isLittleEndian",R1t())}static get isEvalSupported(){return bn(this,"isEvalSupported",F1t())}static get isOffscreenCanvasSupported(){return bn(this,"isOffscreenCanvasSupported",typeof OffscreenCanvas<"u")}static get platform(){return typeof navigator<"u"&&typeof navigator?.platform=="string"?bn(this,"platform",{isMac:navigator.platform.includes("Mac")}):bn(this,"platform",{isMac:!1})}static get isCSSRoundSupported(){return bn(this,"isCSSRoundSupported",globalThis.CSS?.supports?.("width: round(1.5px, 1px)"))}}const cL=Array.from(Array(256).keys(),e=>e.toString(16).padStart(2,"0"));class lr{static makeHexColor(t,r,n){return`#${cL[t]}${cL[r]}${cL[n]}`}static scaleMinMax(t,r){let n;t[0]?(t[0]<0&&(n=r[0],r[0]=r[2],r[2]=n),r[0]*=t[0],r[2]*=t[0],t[3]<0&&(n=r[1],r[1]=r[3],r[3]=n),r[1]*=t[3],r[3]*=t[3]):(n=r[0],r[0]=r[1],r[1]=n,n=r[2],r[2]=r[3],r[3]=n,t[1]<0&&(n=r[1],r[1]=r[3],r[3]=n),r[1]*=t[1],r[3]*=t[1],t[2]<0&&(n=r[0],r[0]=r[2],r[2]=n),r[0]*=t[2],r[2]*=t[2]),r[0]+=t[4],r[1]+=t[5],r[2]+=t[4],r[3]+=t[5]}static transform(t,r){return[t[0]*r[0]+t[2]*r[1],t[1]*r[0]+t[3]*r[1],t[0]*r[2]+t[2]*r[3],t[1]*r[2]+t[3]*r[3],t[0]*r[4]+t[2]*r[5]+t[4],t[1]*r[4]+t[3]*r[5]+t[5]]}static applyTransform(t,r){const n=t[0]*r[0]+t[1]*r[2]+r[4],i=t[0]*r[1]+t[1]*r[3]+r[5];return[n,i]}static applyInverseTransform(t,r){const n=r[0]*r[3]-r[1]*r[2],i=(t[0]*r[3]-t[1]*r[2]+r[2]*r[5]-r[4]*r[3])/n,o=(-t[0]*r[1]+t[1]*r[0]+r[4]*r[1]-r[5]*r[0])/n;return[i,o]}static getAxialAlignedBoundingBox(t,r){const n=this.applyTransform(t,r),i=this.applyTransform(t.slice(2,4),r),o=this.applyTransform([t[0],t[3]],r),a=this.applyTransform([t[2],t[1]],r);return[Math.min(n[0],i[0],o[0],a[0]),Math.min(n[1],i[1],o[1],a[1]),Math.max(n[0],i[0],o[0],a[0]),Math.max(n[1],i[1],o[1],a[1])]}static inverseTransform(t){const r=t[0]*t[3]-t[1]*t[2];return[t[3]/r,-t[1]/r,-t[2]/r,t[0]/r,(t[2]*t[5]-t[4]*t[3])/r,(t[4]*t[1]-t[5]*t[0])/r]}static singularValueDecompose2dScale(t){const r=[t[0],t[2],t[1],t[3]],n=t[0]*r[0]+t[1]*r[2],i=t[0]*r[1]+t[1]*r[3],o=t[2]*r[0]+t[3]*r[2],a=t[2]*r[1]+t[3]*r[3],l=(n+a)/2,d=Math.sqrt((n+a)**2-4*(n*a-o*i))/2,u=l+d||1,p=l-d||1;return[Math.sqrt(u),Math.sqrt(p)]}static normalizeRect(t){const r=t.slice(0);return t[0]>t[2]&&(r[0]=t[2],r[2]=t[0]),t[1]>t[3]&&(r[1]=t[3],r[3]=t[1]),r}static intersect(t,r){const n=Math.max(Math.min(t[0],t[2]),Math.min(r[0],r[2])),i=Math.min(Math.max(t[0],t[2]),Math.max(r[0],r[2]));if(n>i)return null;const o=Math.max(Math.min(t[1],t[3]),Math.min(r[1],r[3])),a=Math.min(Math.max(t[1],t[3]),Math.max(r[1],r[3]));return o>a?null:[n,o,i,a]}static#e(t,r,n,i,o,a,l,d,u,p){if(u<=0||u>=1)return;const h=1-u,f=u*u,g=f*u,y=h*(h*(h*t+3*u*r)+3*f*n)+g*i,v=h*(h*(h*o+3*u*a)+3*f*l)+g*d;p[0]=Math.min(p[0],y),p[1]=Math.min(p[1],v),p[2]=Math.max(p[2],y),p[3]=Math.max(p[3],v)}static#t(t,r,n,i,o,a,l,d,u,p,h,f){if(Math.abs(u)<1e-12){Math.abs(p)>=1e-12&&this.#e(t,r,n,i,o,a,l,d,-h/p,f);return}const g=p**2-4*h*u;if(g<0)return;const y=Math.sqrt(g),v=2*u;this.#e(t,r,n,i,o,a,l,d,(-p+y)/v,f),this.#e(t,r,n,i,o,a,l,d,(-p-y)/v,f)}static bezierBoundingBox(t,r,n,i,o,a,l,d,u){return u?(u[0]=Math.min(u[0],t,l),u[1]=Math.min(u[1],r,d),u[2]=Math.max(u[2],t,l),u[3]=Math.max(u[3],r,d)):u=[Math.min(t,l),Math.min(r,d),Math.max(t,l),Math.max(r,d)],this.#t(t,n,o,l,r,i,a,d,3*(-t+3*(n-o)+l),6*(t-2*n+o),3*(n-t),u),this.#t(t,n,o,l,r,i,a,d,3*(-r+3*(i-a)+d),6*(r-2*i+a),3*(i-r),u),u}}function O1t(e){return decodeURIComponent(escape(e))}let dL=null,GX=null;function N1t(e){return dL||(dL=/([\u00a0\u00b5\u037e\u0eb3\u2000-\u200a\u202f\u2126\ufb00-\ufb04\ufb06\ufb20-\ufb36\ufb38-\ufb3c\ufb3e\ufb40-\ufb41\ufb43-\ufb44\ufb46-\ufba1\ufba4-\ufba9\ufbae-\ufbb1\ufbd3-\ufbdc\ufbde-\ufbe7\ufbea-\ufbf8\ufbfc-\ufbfd\ufc00-\ufc5d\ufc64-\ufcf1\ufcf5-\ufd3d\ufd88\ufdf4\ufdfa-\ufdfb\ufe71\ufe77\ufe79\ufe7b\ufe7d]+)|(\ufb05+)/gu,GX=new Map([["ſt","ſt"]])),e.replaceAll(dL,(t,r,n)=>r?r.normalize("NFKC"):GX.get(n))}function z1t(){if(typeof crypto<"u"&&typeof crypto?.randomUUID=="function")return crypto.randomUUID();const e=new Uint8Array(32);if(typeof crypto<"u"&&typeof crypto?.getRandomValues=="function")crypto.getRandomValues(e);else for(let t=0;t<32;t++)e[t]=Math.floor(Math.random()*255);return Yge(e)}const qge="pdfjs_internal_id_",mu={BEZIER_CURVE_TO:0,MOVE_TO:1,LINE_TO:2,QUADRATIC_CURVE_TO:3,RESTORE:4,SAVE:5,SCALE:6,TRANSFORM:7,TRANSLATE:8};class Dx{constructor(){this.constructor===Dx&&Qn("Cannot initialize BaseFilterFactory.")}addFilter(t){return"none"}addHCMFilter(t,r){return"none"}addAlphaFilter(t){return"none"}addLuminosityFilter(t){return"none"}addHighlightHCMFilter(t,r,n,i,o){return"none"}destroy(t=!1){}}class Px{#e=!1;constructor({enableHWA:t=!1}={}){this.constructor===Px&&Qn("Cannot initialize BaseCanvasFactory."),this.#e=t}create(t,r){if(t<=0||r<=0)throw new Error("Invalid canvas size");const n=this._createCanvas(t,r);return{canvas:n,context:n.getContext("2d",{willReadFrequently:!this.#e})}}reset(t,r,n){if(!t.canvas)throw new Error("Canvas is not specified");if(r<=0||n<=0)throw new Error("Invalid canvas size");t.canvas.width=r,t.canvas.height=n}destroy(t){if(!t.canvas)throw new Error("Canvas is not specified");t.canvas.width=0,t.canvas.height=0,t.canvas=null,t.context=null}_createCanvas(t,r){Qn("Abstract method `_createCanvas` called.")}}class Mx{constructor({baseUrl:t=null,isCompressed:r=!0}){this.constructor===Mx&&Qn("Cannot initialize BaseCMapReaderFactory."),this.baseUrl=t,this.isCompressed=r}async fetch({name:t}){if(!this.baseUrl)throw new Error('The CMap "baseUrl" parameter must be specified, ensure that the "cMapUrl" and "cMapPacked" API parameters are provided.');if(!t)throw new Error("CMap name must be specified.");const r=this.baseUrl+t+(this.isCompressed?".bcmap":""),n=this.isCompressed?cj.BINARY:cj.NONE;return this._fetchData(r,n).catch(i=>{throw new Error(`Unable to load ${this.isCompressed?"binary ":""}CMap at: ${r}`)})}_fetchData(t,r){Qn("Abstract method `_fetchData` called.")}}class Ix{constructor({baseUrl:t=null}){this.constructor===Ix&&Qn("Cannot initialize BaseStandardFontDataFactory."),this.baseUrl=t}async fetch({filename:t}){if(!this.baseUrl)throw new Error('The standard font "baseUrl" parameter must be specified, ensure that the "standardFontDataUrl" API parameter is provided.');if(!t)throw new Error("Font filename must be specified.");const r=`${this.baseUrl}${t}`;return this._fetchData(r).catch(n=>{throw new Error(`Unable to load font data at: ${r}`)})}_fetchData(t){Qn("Abstract method `_fetchData` called.")}}class YO{constructor(){this.constructor===YO&&Qn("Cannot initialize BaseSVGFactory.")}create(t,r,n=!1){if(t<=0||r<=0)throw new Error("Invalid SVG dimensions");const i=this._createSVG("svg:svg");return i.setAttribute("version","1.1"),n||(i.setAttribute("width",`${t}px`),i.setAttribute("height",`${r}px`)),i.setAttribute("preserveAspectRatio","none"),i.setAttribute("viewBox",`0 0 ${t} ${r}`),i}createElement(t){if(typeof t!="string")throw new Error("Invalid SVG element type");return this._createSVG(t)}_createSVG(t){Qn("Abstract method `_createSVG` called.")}}const ku="http://www.w3.org/2000/svg";class Xf{static CSS=96;static PDF=72;static PDF_TO_CSS_UNITS=this.CSS/this.PDF}class B1t extends Dx{#e;#t;#r;#i;#s;#n=0;constructor({docId:t,ownerDocument:r=globalThis.document}={}){super(),this.#r=t,this.#i=r}get#o(){return this.#e||=new Map}get#l(){return this.#s||=new Map}get#d(){if(!this.#t){const t=this.#i.createElement("div"),{style:r}=t;r.visibility="hidden",r.contain="strict",r.width=r.height=0,r.position="absolute",r.top=r.left=0,r.zIndex=-1;const n=this.#i.createElementNS(ku,"svg");n.setAttribute("width",0),n.setAttribute("height",0),this.#t=this.#i.createElementNS(ku,"defs"),t.append(n),n.append(this.#t),this.#i.body.append(t)}return this.#t}#u(t){if(t.length===1){const d=t[0],u=new Array(256);for(let h=0;h<256;h++)u[h]=d[h]/255;const p=u.join(",");return[p,p,p]}const[r,n,i]=t,o=new Array(256),a=new Array(256),l=new Array(256);for(let d=0;d<256;d++)o[d]=r[d]/255,a[d]=n[d]/255,l[d]=i[d]/255;return[o.join(","),a.join(","),l.join(",")]}addFilter(t){if(!t)return"none";let r=this.#o.get(t);if(r)return r;const[n,i,o]=this.#u(t),a=t.length===1?n:`${n}${i}${o}`;if(r=this.#o.get(a),r)return this.#o.set(t,r),r;const l=`g_${this.#r}_transfer_map_${this.#n++}`,d=`url(#${l})`;this.#o.set(t,d),this.#o.set(a,d);const u=this.#a(l);return this.#g(n,i,o,u),d}addHCMFilter(t,r){const n=`${t}-${r}`,i="base";let o=this.#l.get(i);if(o?.key===n||(o?(o.filter?.remove(),o.key=n,o.url="none",o.filter=null):(o={key:n,url:"none",filter:null},this.#l.set(i,o)),!t||!r))return o.url;const a=this.#v(t);t=lr.makeHexColor(...a);const l=this.#v(r);if(r=lr.makeHexColor(...l),this.#d.style.color="",t==="#000000"&&r==="#ffffff"||t===r)return o.url;const d=new Array(256);for(let g=0;g<=255;g++){const y=g/255;d[g]=y<=.03928?y/12.92:((y+.055)/1.055)**2.4}const u=d.join(","),p=`g_${this.#r}_hcm_filter`,h=o.filter=this.#a(p);this.#g(u,u,u,h),this.#c(h);const f=(g,y)=>{const v=a[g]/255,w=l[g]/255,x=new Array(y+1);for(let C=0;C<=y;C++)x[C]=v+C/y*(w-v);return x.join(",")};return this.#g(f(0,5),f(1,5),f(2,5),h),o.url=`url(#${p})`,o.url}addAlphaFilter(t){let r=this.#o.get(t);if(r)return r;const[n]=this.#u([t]),i=`alpha_${n}`;if(r=this.#o.get(i),r)return this.#o.set(t,r),r;const o=`g_${this.#r}_alpha_map_${this.#n++}`,a=`url(#${o})`;this.#o.set(t,a),this.#o.set(i,a);const l=this.#a(o);return this.#p(n,l),a}addLuminosityFilter(t){let r=this.#o.get(t||"luminosity");if(r)return r;let n,i;if(t?([n]=this.#u([t]),i=`luminosity_${n}`):i="luminosity",r=this.#o.get(i),r)return this.#o.set(t,r),r;const o=`g_${this.#r}_luminosity_map_${this.#n++}`,a=`url(#${o})`;this.#o.set(t,a),this.#o.set(i,a);const l=this.#a(o);return this.#h(l),t&&this.#p(n,l),a}addHighlightHCMFilter(t,r,n,i,o){const a=`${r}-${n}-${i}-${o}`;let l=this.#l.get(t);if(l?.key===a||(l?(l.filter?.remove(),l.key=a,l.url="none",l.filter=null):(l={key:a,url:"none",filter:null},this.#l.set(t,l)),!r||!n))return l.url;const[d,u]=[r,n].map(this.#v.bind(this));let p=Math.round(.2126*d[0]+.7152*d[1]+.0722*d[2]),h=Math.round(.2126*u[0]+.7152*u[1]+.0722*u[2]),[f,g]=[i,o].map(this.#v.bind(this));h<p&&([p,h,f,g]=[h,p,g,f]),this.#d.style.color="";const y=(x,C,S)=>{const k=new Array(256),T=(h-p)/S,E=x/255,D=(C-x)/(255*S);let P=0;for(let A=0;A<=S;A++){const I=Math.round(p+A*T),H=E+A*D;for(let R=P;R<=I;R++)k[R]=H;P=I+1}for(let A=P;A<256;A++)k[A]=k[P-1];return k.join(",")},v=`g_${this.#r}_hcm_${t}_filter`,w=l.filter=this.#a(v);return this.#c(w),this.#g(y(f[0],g[0],5),y(f[1],g[1],5),y(f[2],g[2],5),w),l.url=`url(#${v})`,l.url}destroy(t=!1){t&&this.#l.size!==0||(this.#t&&(this.#t.parentNode.parentNode.remove(),this.#t=null),this.#e&&(this.#e.clear(),this.#e=null),this.#n=0)}#h(t){const r=this.#i.createElementNS(ku,"feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("values","0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.3 0.59 0.11 0 0"),t.append(r)}#c(t){const r=this.#i.createElementNS(ku,"feColorMatrix");r.setAttribute("type","matrix"),r.setAttribute("values","0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0.2126 0.7152 0.0722 0 0 0 0 0 1 0"),t.append(r)}#a(t){const r=this.#i.createElementNS(ku,"filter");return r.setAttribute("color-interpolation-filters","sRGB"),r.setAttribute("id",t),this.#d.append(r),r}#m(t,r,n){const i=this.#i.createElementNS(ku,r);i.setAttribute("type","discrete"),i.setAttribute("tableValues",n),t.append(i)}#g(t,r,n,i){const o=this.#i.createElementNS(ku,"feComponentTransfer");i.append(o),this.#m(o,"feFuncR",t),this.#m(o,"feFuncG",r),this.#m(o,"feFuncB",n)}#p(t,r){const n=this.#i.createElementNS(ku,"feComponentTransfer");r.append(n),this.#m(n,"feFuncA",t)}#v(t){return this.#d.style.color=t,XO(getComputedStyle(this.#d).getPropertyValue("color"))}}class H1t extends Px{constructor({ownerDocument:t=globalThis.document,enableHWA:r=!1}={}){super({enableHWA:r}),this._document=t}_createCanvas(t,r){const n=this._document.createElement("canvas");return n.width=t,n.height=r,n}}async function jx(e,t="text"){if(I5(e,document.baseURI)){const r=await fetch(e);if(!r.ok)throw new Error(r.statusText);switch(t){case"arraybuffer":return r.arrayBuffer();case"blob":return r.blob();case"json":return r.json()}return r.text()}return new Promise((r,n)=>{const i=new XMLHttpRequest;i.open("GET",e,!0),i.responseType=t,i.onreadystatechange=()=>{if(i.readyState===XMLHttpRequest.DONE){if(i.status===200||i.status===0){switch(t){case"arraybuffer":case"blob":case"json":r(i.response);return}r(i.responseText);return}n(new Error(i.statusText))}},i.send(null)})}class Zge extends Mx{_fetchData(t,r){return jx(t,this.isCompressed?"arraybuffer":"text").then(n=>({cMapData:n instanceof ArrayBuffer?new Uint8Array(n):Lx(n),compressionType:r}))}}class Kge extends Ix{_fetchData(t){return jx(t,"arraybuffer").then(r=>new Uint8Array(r))}}class qO extends YO{_createSVG(t){return document.createElementNS(ku,t)}}class y9{constructor({viewBox:t,scale:r,rotation:n,offsetX:i=0,offsetY:o=0,dontFlip:a=!1}){this.viewBox=t,this.scale=r,this.rotation=n,this.offsetX=i,this.offsetY=o;const l=(t[2]+t[0])/2,d=(t[3]+t[1])/2;let u,p,h,f;switch(n%=360,n<0&&(n+=360),n){case 180:u=-1,p=0,h=0,f=1;break;case 90:u=0,p=1,h=1,f=0;break;case 270:u=0,p=-1,h=-1,f=0;break;case 0:u=1,p=0,h=0,f=-1;break;default:throw new Error("PageViewport: Invalid rotation, must be a multiple of 90 degrees.")}a&&(h=-h,f=-f);let g,y,v,w;u===0?(g=Math.abs(d-t[1])*r+i,y=Math.abs(l-t[0])*r+o,v=(t[3]-t[1])*r,w=(t[2]-t[0])*r):(g=Math.abs(l-t[0])*r+i,y=Math.abs(d-t[1])*r+o,v=(t[2]-t[0])*r,w=(t[3]-t[1])*r),this.transform=[u*r,p*r,h*r,f*r,g-u*r*l-h*r*d,y-p*r*l-f*r*d],this.width=v,this.height=w}get rawDims(){const{viewBox:t}=this;return bn(this,"rawDims",{pageWidth:t[2]-t[0],pageHeight:t[3]-t[1],pageX:t[0],pageY:t[1]})}clone({scale:t=this.scale,rotation:r=this.rotation,offsetX:n=this.offsetX,offsetY:i=this.offsetY,dontFlip:o=!1}={}){return new y9({viewBox:this.viewBox.slice(),scale:t,rotation:r,offsetX:n,offsetY:i,dontFlip:o})}convertToViewportPoint(t,r){return lr.applyTransform([t,r],this.transform)}convertToViewportRectangle(t){const r=lr.applyTransform([t[0],t[1]],this.transform),n=lr.applyTransform([t[2],t[3]],this.transform);return[r[0],r[1],n[0],n[1]]}convertToPdfPoint(t,r){return lr.applyInverseTransform([t,r],this.transform)}}class ZO extends qp{constructor(t,r=0){super(t,"RenderingCancelledException"),this.extraDelay=r}}function KO(e){const t=e.length;let r=0;for(;r<t&&e[r].trim()==="";)r++;return e.substring(r,r+5).toLowerCase()==="data:"}function QO(e){return typeof e=="string"&&/\.pdf$/i.test(e)}function V1t(e){return[e]=e.split(/[#?]/,1),e.substring(e.lastIndexOf("/")+1)}function U1t(e,t="document.pdf"){if(typeof e!="string")return t;if(KO(e))return Jr('getPdfFilenameFromUrl: ignore "data:"-URL for performance reasons.'),t;const r=/^(?:(?:[^:]+:)?\/\/[^/]+)?([^?#]*)(\?[^#]*)?(#.*)?$/,n=/[^/?#=]+\.pdf\b(?!.*\.pdf\b)/i,i=r.exec(e);let o=n.exec(i[1])||n.exec(i[2])||n.exec(i[3]);if(o&&(o=o[0],o.includes("%")))try{o=n.exec(decodeURIComponent(o))[0]}catch{}return o||t}class YX{started=Object.create(null);times=[];time(t){t in this.started&&Jr(`Timer is already running for ${t}`),this.started[t]=Date.now()}timeEnd(t){t in this.started||Jr(`Timer has not been started for ${t}`),this.times.push({name:t,start:this.started[t],end:Date.now()}),delete this.started[t]}toString(){const t=[];let r=0;for(const{name:n}of this.times)r=Math.max(n.length,r);for(const{name:n,start:i,end:o}of this.times)t.push(`${n.padEnd(r)} ${o-i}ms
212
- `);return t.join("")}}function I5(e,t){try{const{protocol:r}=t?new URL(e,t):new URL(e);return r==="http:"||r==="https:"}catch{return!1}}function Ss(e){e.preventDefault()}function Qge(e){console.log("Deprecated API usage: "+e)}let qX;class Xge{static toDateObject(t){if(!t||typeof t!="string")return null;qX||=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?");const r=qX.exec(t);if(!r)return null;const n=parseInt(r[1],10);let i=parseInt(r[2],10);i=i>=1&&i<=12?i-1:0;let o=parseInt(r[3],10);o=o>=1&&o<=31?o:1;let a=parseInt(r[4],10);a=a>=0&&a<=23?a:0;let l=parseInt(r[5],10);l=l>=0&&l<=59?l:0;let d=parseInt(r[6],10);d=d>=0&&d<=59?d:0;const u=r[7]||"Z";let p=parseInt(r[8],10);p=p>=0&&p<=23?p:0;let h=parseInt(r[9],10)||0;return h=h>=0&&h<=59?h:0,u==="-"?(a+=p,l+=h):u==="+"&&(a-=p,l-=h),new Date(Date.UTC(n,i,o,a,l,d))}}function W1t(e,{scale:t=1,rotation:r=0}){const{width:n,height:i}=e.attributes.style,o=[0,0,parseInt(n),parseInt(i)];return new y9({viewBox:o,scale:t,rotation:r})}function XO(e){if(e.startsWith("#")){const t=parseInt(e.slice(1),16);return[(t&16711680)>>16,(t&65280)>>8,t&255]}return e.startsWith("rgb(")?e.slice(4,-1).split(",").map(t=>parseInt(t)):e.startsWith("rgba(")?e.slice(5,-1).split(",").map(t=>parseInt(t)).slice(0,3):(Jr(`Not a valid color format: "${e}"`),[0,0,0])}function G1t(e){const t=document.createElement("span");t.style.visibility="hidden",document.body.append(t);for(const r of e.keys()){t.style.color=r;const n=window.getComputedStyle(t).color;e.set(r,XO(n))}t.remove()}function Ii(e){const{a:t,b:r,c:n,d:i,e:o,f:a}=e.getTransform();return[t,r,n,i,o,a]}function fu(e){const{a:t,b:r,c:n,d:i,e:o,f:a}=e.getTransform().invertSelf();return[t,r,n,i,o,a]}function cm(e,t,r=!1,n=!0){if(t instanceof y9){const{pageWidth:i,pageHeight:o}=t.rawDims,{style:a}=e,l=ws.isCSSRoundSupported,d=`var(--scale-factor) * ${i}px`,u=`var(--scale-factor) * ${o}px`,p=l?`round(${d}, 1px)`:`calc(${d})`,h=l?`round(${u}, 1px)`:`calc(${u})`;!r||t.rotation%180===0?(a.width=p,a.height=h):(a.width=h,a.height=p)}n&&e.setAttribute("data-main-rotation",t.rotation)}class JO{#e=null;#t=null;#r;#i=null;constructor(t){this.#r=t}render(){const t=this.#e=document.createElement("div");t.className="editToolbar",t.setAttribute("role","toolbar");const r=this.#r._uiManager._signal;t.addEventListener("contextmenu",Ss,{signal:r}),t.addEventListener("pointerdown",JO.#s,{signal:r});const n=this.#i=document.createElement("div");n.className="buttons",t.append(n);const i=this.#r.toolbarPosition;if(i){const{style:o}=t,a=this.#r._uiManager.direction==="ltr"?1-i[0]:i[0];o.insetInlineEnd=`${100*a}%`,o.top=`calc(${100*i[1]}% + var(--editor-toolbar-vert-offset))`}return this.#d(),t}static#s(t){t.stopPropagation()}#n(t){this.#r._focusEventsAllowed=!1,t.preventDefault(),t.stopPropagation()}#o(t){this.#r._focusEventsAllowed=!0,t.preventDefault(),t.stopPropagation()}#l(t){const r=this.#r._uiManager._signal;t.addEventListener("focusin",this.#n.bind(this),{capture:!0,signal:r}),t.addEventListener("focusout",this.#o.bind(this),{capture:!0,signal:r}),t.addEventListener("contextmenu",Ss,{signal:r})}hide(){this.#e.classList.add("hidden"),this.#t?.hideDropdown()}show(){this.#e.classList.remove("hidden")}#d(){const t=document.createElement("button");t.className="delete",t.tabIndex=0,t.setAttribute("data-l10n-id",`pdfjs-editor-remove-${this.#r.editorType}-button`),this.#l(t),t.addEventListener("click",r=>{this.#r._uiManager.delete()},{signal:this.#r._uiManager._signal}),this.#i.append(t)}get#u(){const t=document.createElement("div");return t.className="divider",t}addAltTextButton(t){this.#l(t),this.#i.prepend(t,this.#u)}addColorPicker(t){this.#t=t;const r=t.renderButton();this.#l(r),this.#i.prepend(r,this.#u)}remove(){this.#e.remove(),this.#t?.destroy(),this.#t=null}}class Y1t{#e=null;#t=null;#r;constructor(t){this.#r=t}#i(){const t=this.#t=document.createElement("div");t.className="editToolbar",t.setAttribute("role","toolbar"),t.addEventListener("contextmenu",Ss,{signal:this.#r._signal});const r=this.#e=document.createElement("div");return r.className="buttons",t.append(r),this.#n(),t}#s(t,r){let n=0,i=0;for(const o of t){const a=o.y+o.height;if(a<n)continue;const l=o.x+(r?o.width:0);if(a>n){i=l,n=a;continue}r?l>i&&(i=l):l<i&&(i=l)}return[r?1-i:i,n]}show(t,r,n){const[i,o]=this.#s(r,n),{style:a}=this.#t||=this.#i();t.append(this.#t),a.insetInlineEnd=`${100*i}%`,a.top=`calc(${100*o}% + var(--editor-toolbar-vert-offset))`}hide(){this.#t.remove()}#n(){const t=document.createElement("button");t.className="highlightButton",t.tabIndex=0,t.setAttribute("data-l10n-id","pdfjs-highlight-floating-button1");const r=document.createElement("span");t.append(r),r.className="visuallyHidden",r.setAttribute("data-l10n-id","pdfjs-highlight-floating-button-label");const n=this.#r._signal;t.addEventListener("contextmenu",Ss,{signal:n}),t.addEventListener("click",()=>{this.#r.highlightSelection("floating_button")},{signal:n}),this.#e.append(t)}}function ub(e,t,r){for(const n of r)t.addEventListener(n,e[n].bind(e))}function q1t(e){return Math.round(Math.min(255,Math.max(1,255*e))).toString(16).padStart(2,"0")}class Z1t{#e=0;get id(){return`${_1t}${this.#e++}`}}class eN{#e=z1t();#t=0;#r=null;static get _isSVGFittingCanvas(){const t='data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 1 1" width="1" height="1" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" style="fill:red;"/></svg>',n=new OffscreenCanvas(1,3).getContext("2d",{willReadFrequently:!0}),i=new Image;i.src=t;const o=i.decode().then(()=>(n.drawImage(i,0,0,1,1,0,0,1,3),new Uint32Array(n.getImageData(0,0,1,1).data.buffer)[0]===0));return bn(this,"_isSVGFittingCanvas",o)}async#i(t,r){this.#r||=new Map;let n=this.#r.get(t);if(n===null)return null;if(n?.bitmap)return n.refCounter+=1,n;try{n||={bitmap:null,id:`image_${this.#e}_${this.#t++}`,refCounter:0,isSvg:!1};let i;if(typeof r=="string"?(n.url=r,i=await jx(r,"blob")):i=n.file=r,i.type==="image/svg+xml"){const o=eN._isSVGFittingCanvas,a=new FileReader,l=new Image,d=new Promise((u,p)=>{l.onload=()=>{n.bitmap=l,n.isSvg=!0,u()},a.onload=async()=>{const h=n.svgUrl=a.result;l.src=await o?`${h}#svgView(preserveAspectRatio(none))`:h},l.onerror=a.onerror=p});a.readAsDataURL(i),await d}else n.bitmap=await createImageBitmap(i);n.refCounter=1}catch(i){console.error(i),n=null}return this.#r.set(t,n),n&&this.#r.set(n.id,n),n}async getFromFile(t){const{lastModified:r,name:n,size:i,type:o}=t;return this.#i(`${r}_${n}_${i}_${o}`,t)}async getFromUrl(t){return this.#i(t,t)}async getFromId(t){this.#r||=new Map;const r=this.#r.get(t);return r?r.bitmap?(r.refCounter+=1,r):r.file?this.getFromFile(r.file):this.getFromUrl(r.url):null}getSvgUrl(t){const r=this.#r.get(t);return r?.isSvg?r.svgUrl:null}deleteId(t){this.#r||=new Map;const r=this.#r.get(t);r&&(r.refCounter-=1,r.refCounter===0&&(r.bitmap=null))}isValidId(t){return t.startsWith(`image_${this.#e}_`)}}class K1t{#e=[];#t=!1;#r;#i=-1;constructor(t=128){this.#r=t}add({cmd:t,undo:r,post:n,mustExec:i,type:o=NaN,overwriteIfSameType:a=!1,keepUndo:l=!1}){if(i&&t(),this.#t)return;const d={cmd:t,undo:r,post:n,type:o};if(this.#i===-1){this.#e.length>0&&(this.#e.length=0),this.#i=0,this.#e.push(d);return}if(a&&this.#e[this.#i].type===o){l&&(d.undo=this.#e[this.#i].undo),this.#e[this.#i]=d;return}const u=this.#i+1;u===this.#r?this.#e.splice(0,1):(this.#i=u,u<this.#e.length&&this.#e.splice(u)),this.#e.push(d)}undo(){if(this.#i===-1)return;this.#t=!0;const{undo:t,post:r}=this.#e[this.#i];t(),r?.(),this.#t=!1,this.#i-=1}redo(){if(this.#i<this.#e.length-1){this.#i+=1,this.#t=!0;const{cmd:t,post:r}=this.#e[this.#i];t(),r?.(),this.#t=!1}}hasSomethingToUndo(){return this.#i!==-1}hasSomethingToRedo(){return this.#i<this.#e.length-1}destroy(){this.#e=null}}class v9{constructor(t){this.buffer=[],this.callbacks=new Map,this.allKeys=new Set;const{isMac:r}=ws.platform;for(const[n,i,o={}]of t)for(const a of n){const l=a.startsWith("mac+");r&&l?(this.callbacks.set(a.slice(4),{callback:i,options:o}),this.allKeys.add(a.split("+").at(-1))):!r&&!l&&(this.callbacks.set(a,{callback:i,options:o}),this.allKeys.add(a.split("+").at(-1)))}}#e(t){t.altKey&&this.buffer.push("alt"),t.ctrlKey&&this.buffer.push("ctrl"),t.metaKey&&this.buffer.push("meta"),t.shiftKey&&this.buffer.push("shift"),this.buffer.push(t.key);const r=this.buffer.join("+");return this.buffer.length=0,r}exec(t,r){if(!this.allKeys.has(r.key))return;const n=this.callbacks.get(this.#e(r));if(!n)return;const{callback:i,options:{bubbles:o=!1,args:a=[],checker:l=null}}=n;l&&!l(t,r)||(i.bind(t,...a,r)(),o||(r.stopPropagation(),r.preventDefault()))}}class tN{static _colorsMapping=new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]);get _colors(){const t=new Map([["CanvasText",null],["Canvas",null]]);return G1t(t),bn(this,"_colors",t)}convert(t){const r=XO(t);if(!window.matchMedia("(forced-colors: active)").matches)return r;for(const[n,i]of this._colors)if(i.every((o,a)=>o===r[a]))return tN._colorsMapping.get(n);return r}getHexCode(t){const r=this._colors.get(t);return r?lr.makeHexColor(...r):t}}class Mp{#e=new AbortController;#t=null;#r=new Map;#i=new Map;#s=null;#n=null;#o=null;#l=new K1t;#d=0;#u=new Set;#h=null;#c=null;#a=new Set;#m=!1;#g=null;#p=null;#v=null;#f=!1;#b=null;#x=new Z1t;#$=!1;#k=!1;#E=null;#L=null;#S=null;#w=hn.NONE;#y=new Set;#C=null;#_=null;#T=null;#P=this.blur.bind(this);#D=this.focus.bind(this);#j=this.copy.bind(this);#M=this.cut.bind(this);#R=this.paste.bind(this);#I=this.keydown.bind(this);#U=this.keyup.bind(this);#W=this.onEditingAction.bind(this);#H=this.onPageChanging.bind(this);#z=this.onScaleChanging.bind(this);#F=this.onRotationChanging.bind(this);#Z={isEditing:!1,isEmpty:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1,hasSelectedText:!1};#V=[0,0];#O=null;#B=null;#K=null;static TRANSLATE_SMALL=1;static TRANSLATE_BIG=10;static get _keyboardManager(){const t=Mp.prototype,r=a=>a.#B.contains(document.activeElement)&&document.activeElement.tagName!=="BUTTON"&&a.hasSomethingToControl(),n=(a,{target:l})=>{if(l instanceof HTMLInputElement){const{type:d}=l;return d!=="text"&&d!=="number"}return!0},i=this.TRANSLATE_SMALL,o=this.TRANSLATE_BIG;return bn(this,"_keyboardManager",new v9([[["ctrl+a","mac+meta+a"],t.selectAll,{checker:n}],[["ctrl+z","mac+meta+z"],t.undo,{checker:n}],[["ctrl+y","ctrl+shift+z","mac+meta+shift+z","ctrl+shift+Z","mac+meta+shift+Z"],t.redo,{checker:n}],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete","mac+Delete"],t.delete,{checker:n}],[["Enter","mac+Enter"],t.addNewEditorFromKeyboard,{checker:(a,{target:l})=>!(l instanceof HTMLButtonElement)&&a.#B.contains(l)&&!a.isEnterHandled}],[[" ","mac+ "],t.addNewEditorFromKeyboard,{checker:(a,{target:l})=>!(l instanceof HTMLButtonElement)&&a.#B.contains(document.activeElement)}],[["Escape","mac+Escape"],t.unselectAll],[["ArrowLeft","mac+ArrowLeft"],t.translateSelectedEditors,{args:[-i,0],checker:r}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t.translateSelectedEditors,{args:[-o,0],checker:r}],[["ArrowRight","mac+ArrowRight"],t.translateSelectedEditors,{args:[i,0],checker:r}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t.translateSelectedEditors,{args:[o,0],checker:r}],[["ArrowUp","mac+ArrowUp"],t.translateSelectedEditors,{args:[0,-i],checker:r}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t.translateSelectedEditors,{args:[0,-o],checker:r}],[["ArrowDown","mac+ArrowDown"],t.translateSelectedEditors,{args:[0,i],checker:r}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t.translateSelectedEditors,{args:[0,o],checker:r}]]))}constructor(t,r,n,i,o,a,l,d,u){this._signal=this.#e.signal,this.#B=t,this.#K=r,this.#s=n,this._eventBus=i,this._eventBus._on("editingaction",this.#W),this._eventBus._on("pagechanging",this.#H),this._eventBus._on("scalechanging",this.#z),this._eventBus._on("rotationchanging",this.#F),this.#ie(),this.#le(),this.#Q(),this.#n=o.annotationStorage,this.#g=o.filterFactory,this.#_=a,this.#v=l||null,this.#m=d,this.#S=u||null,this.viewParameters={realScale:Xf.PDF_TO_CSS_UNITS,rotation:0},this.isShiftKeyDown=!1}destroy(){this.#e?.abort(),this.#e=null,this._signal=null,this._eventBus._off("editingaction",this.#W),this._eventBus._off("pagechanging",this.#H),this._eventBus._off("scalechanging",this.#z),this._eventBus._off("rotationchanging",this.#F);for(const t of this.#i.values())t.destroy();this.#i.clear(),this.#r.clear(),this.#a.clear(),this.#t=null,this.#y.clear(),this.#l.destroy(),this.#s?.destroy(),this.#b?.hide(),this.#b=null,this.#p&&(clearTimeout(this.#p),this.#p=null),this.#O&&(clearTimeout(this.#O),this.#O=null)}async mlGuess(t){return this.#S?.guess(t)||null}get hasMLManager(){return!!this.#S}get hcmFilter(){return bn(this,"hcmFilter",this.#_?this.#g.addHCMFilter(this.#_.foreground,this.#_.background):"none")}get direction(){return bn(this,"direction",getComputedStyle(this.#B).direction)}get highlightColors(){return bn(this,"highlightColors",this.#v?new Map(this.#v.split(",").map(t=>t.split("=").map(r=>r.trim()))):null)}get highlightColorNames(){return bn(this,"highlightColorNames",this.highlightColors?new Map(Array.from(this.highlightColors,t=>t.reverse())):null)}setMainHighlightColorPicker(t){this.#L=t}editAltText(t){this.#s?.editAltText(this,t)}onPageChanging({pageNumber:t}){this.#d=t-1}focusMainContainer(){this.#B.focus()}findParent(t,r){for(const n of this.#i.values()){const{x:i,y:o,width:a,height:l}=n.div.getBoundingClientRect();if(t>=i&&t<=i+a&&r>=o&&r<=o+l)return n}return null}disableUserSelect(t=!1){this.#K.classList.toggle("noUserSelect",t)}addShouldRescale(t){this.#a.add(t)}removeShouldRescale(t){this.#a.delete(t)}onScaleChanging({scale:t}){this.commitOrRemove(),this.viewParameters.realScale=t*Xf.PDF_TO_CSS_UNITS;for(const r of this.#a)r.onScaleChanging()}onRotationChanging({pagesRotation:t}){this.commitOrRemove(),this.viewParameters.rotation=t}#Y({anchorNode:t}){return t.nodeType===Node.TEXT_NODE?t.parentElement:t}highlightSelection(t=""){const r=document.getSelection();if(!r||r.isCollapsed)return;const{anchorNode:n,anchorOffset:i,focusNode:o,focusOffset:a}=r,l=r.toString(),u=this.#Y(r).closest(".textLayer"),p=this.getSelectionBoxes(u);if(p){r.empty(),this.#w===hn.NONE&&(this._eventBus.dispatch("showannotationeditorui",{source:this,mode:hn.HIGHLIGHT}),this.showAllEditors("highlight",!0,!0));for(const h of this.#i.values())if(h.hasTextLayer(u)){h.createAndAddNewEditor({x:0,y:0},!1,{methodOfCreation:t,boxes:p,anchorNode:n,anchorOffset:i,focusNode:o,focusOffset:a,text:l});break}}}#re(){const t=document.getSelection();if(!t||t.isCollapsed)return;const n=this.#Y(t).closest(".textLayer"),i=this.getSelectionBoxes(n);i&&(this.#b||=new Y1t(this),this.#b.show(n,i,this.direction==="ltr"))}addToAnnotationStorage(t){!t.isEmpty()&&this.#n&&!this.#n.has(t.id)&&this.#n.setValue(t.id,t)}#ne(){const t=document.getSelection();if(!t||t.isCollapsed){this.#C&&(this.#b?.hide(),this.#C=null,this.#A({hasSelectedText:!1}));return}const{anchorNode:r}=t;if(r===this.#C)return;if(!this.#Y(t).closest(".textLayer")){this.#C&&(this.#b?.hide(),this.#C=null,this.#A({hasSelectedText:!1}));return}if(this.#b?.hide(),this.#C=r,this.#A({hasSelectedText:!0}),!(this.#w!==hn.HIGHLIGHT&&this.#w!==hn.NONE)&&(this.#w===hn.HIGHLIGHT&&this.showAllEditors("highlight",!0,!0),this.#f=this.isShiftKeyDown,!this.isShiftKeyDown)){const o=this._signal,a=l=>{l.type==="pointerup"&&l.button!==0||(window.removeEventListener("pointerup",a),window.removeEventListener("blur",a),l.type==="pointerup"&&this.#q("main_toolbar"))};window.addEventListener("pointerup",a,{signal:o}),window.addEventListener("blur",a,{signal:o})}}#q(t=""){this.#w===hn.HIGHLIGHT?this.highlightSelection(t):this.#m&&this.#re()}#ie(){document.addEventListener("selectionchange",this.#ne.bind(this),{signal:this._signal})}#oe(){const t=this._signal;window.addEventListener("focus",this.#D,{signal:t}),window.addEventListener("blur",this.#P,{signal:t})}#ae(){window.removeEventListener("focus",this.#D),window.removeEventListener("blur",this.#P)}blur(){if(this.isShiftKeyDown=!1,this.#f&&(this.#f=!1,this.#q("main_toolbar")),!this.hasSelection)return;const{activeElement:t}=document;for(const r of this.#y)if(r.div.contains(t)){this.#E=[r,t],r._focusEventsAllowed=!1;break}}focus(){if(!this.#E)return;const[t,r]=this.#E;this.#E=null,r.addEventListener("focusin",()=>{t._focusEventsAllowed=!0},{once:!0,signal:this._signal}),r.focus()}#Q(){const t=this._signal;window.addEventListener("keydown",this.#I,{signal:t}),window.addEventListener("keyup",this.#U,{signal:t})}#se(){window.removeEventListener("keydown",this.#I),window.removeEventListener("keyup",this.#U)}#X(){const t=this._signal;document.addEventListener("copy",this.#j,{signal:t}),document.addEventListener("cut",this.#M,{signal:t}),document.addEventListener("paste",this.#R,{signal:t})}#J(){document.removeEventListener("copy",this.#j),document.removeEventListener("cut",this.#M),document.removeEventListener("paste",this.#R)}#le(){const t=this._signal;document.addEventListener("dragover",this.dragOver.bind(this),{signal:t}),document.addEventListener("drop",this.drop.bind(this),{signal:t})}addEditListeners(){this.#Q(),this.#X()}removeEditListeners(){this.#se(),this.#J()}dragOver(t){for(const{type:r}of t.dataTransfer.items)for(const n of this.#c)if(n.isHandlingMimeForPasting(r)){t.dataTransfer.dropEffect="copy",t.preventDefault();return}}drop(t){for(const r of t.dataTransfer.items)for(const n of this.#c)if(n.isHandlingMimeForPasting(r.type)){n.paste(r,this.currentLayer),t.preventDefault();return}}copy(t){if(t.preventDefault(),this.#t?.commitOrRemove(),!this.hasSelection)return;const r=[];for(const n of this.#y){const i=n.serialize(!0);i&&r.push(i)}r.length!==0&&t.clipboardData.setData("application/pdfjs",JSON.stringify(r))}cut(t){this.copy(t),this.delete()}paste(t){t.preventDefault();const{clipboardData:r}=t;for(const o of r.items)for(const a of this.#c)if(a.isHandlingMimeForPasting(o.type)){a.paste(o,this.currentLayer);return}let n=r.getData("application/pdfjs");if(!n)return;try{n=JSON.parse(n)}catch(o){Jr(`paste: "${o.message}".`);return}if(!Array.isArray(n))return;this.unselectAll();const i=this.currentLayer;try{const o=[];for(const d of n){const u=i.deserialize(d);if(!u)return;o.push(u)}const a=()=>{for(const d of o)this.#ee(d);this.#te(o)},l=()=>{for(const d of o)d.remove()};this.addCommands({cmd:a,undo:l,mustExec:!0})}catch(o){Jr(`paste: "${o.message}".`)}}keydown(t){!this.isShiftKeyDown&&t.key==="Shift"&&(this.isShiftKeyDown=!0),this.#w!==hn.NONE&&!this.isEditorHandlingKeyboard&&Mp._keyboardManager.exec(this,t)}keyup(t){this.isShiftKeyDown&&t.key==="Shift"&&(this.isShiftKeyDown=!1,this.#f&&(this.#f=!1,this.#q("main_toolbar")))}onEditingAction({name:t}){switch(t){case"undo":case"redo":case"delete":case"selectAll":this[t]();break;case"highlightSelection":this.highlightSelection("context_menu");break}}#A(t){Object.entries(t).some(([n,i])=>this.#Z[n]!==i)&&(this._eventBus.dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(this.#Z,t)}),this.#w===hn.HIGHLIGHT&&t.hasSelectedEditor===!1&&this.#N([[Lr.HIGHLIGHT_FREE,!0]]))}#N(t){this._eventBus.dispatch("annotationeditorparamschanged",{source:this,details:t})}setEditingState(t){t?(this.#oe(),this.#X(),this.#A({isEditing:this.#w!==hn.NONE,isEmpty:this.#G(),hasSomethingToUndo:this.#l.hasSomethingToUndo(),hasSomethingToRedo:this.#l.hasSomethingToRedo(),hasSelectedEditor:!1})):(this.#ae(),this.#J(),this.#A({isEditing:!1}),this.disableUserSelect(!1))}registerEditorTypes(t){if(!this.#c){this.#c=t;for(const r of this.#c)this.#N(r.defaultPropertiesToUpdate)}}getId(){return this.#x.id}get currentLayer(){return this.#i.get(this.#d)}getLayer(t){return this.#i.get(t)}get currentPageIndex(){return this.#d}addLayer(t){this.#i.set(t.pageIndex,t),this.#$?t.enable():t.disable()}removeLayer(t){this.#i.delete(t.pageIndex)}updateMode(t,r=null,n=!1){if(this.#w!==t){if(this.#w=t,t===hn.NONE){this.setEditingState(!1),this.#de();return}this.setEditingState(!0),this.#ce(),this.unselectAll();for(const i of this.#i.values())i.updateMode(t);if(!r&&n){this.addNewEditorFromKeyboard();return}if(r){for(const i of this.#r.values())if(i.annotationElementId===r){this.setSelected(i),i.enterInEditMode();break}}}}addNewEditorFromKeyboard(){this.currentLayer.canCreateNewEmptyEditor()&&this.currentLayer.addNewEditor()}updateToolbar(t){t!==this.#w&&this._eventBus.dispatch("switchannotationeditormode",{source:this,mode:t})}updateParams(t,r){if(this.#c){switch(t){case Lr.CREATE:this.currentLayer.addNewEditor();return;case Lr.HIGHLIGHT_DEFAULT_COLOR:this.#L?.updateColor(r);break;case Lr.HIGHLIGHT_SHOW_ALL:this._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:{type:"highlight",action:"toggle_visibility"}}}),(this.#T||=new Map).set(t,r),this.showAllEditors("highlight",r);break}for(const n of this.#y)n.updateParams(t,r);for(const n of this.#c)n.updateDefaultParams(t,r)}}showAllEditors(t,r,n=!1){for(const o of this.#r.values())o.editorType===t&&o.show(r);(this.#T?.get(Lr.HIGHLIGHT_SHOW_ALL)??!0)!==r&&this.#N([[Lr.HIGHLIGHT_SHOW_ALL,r]])}enableWaiting(t=!1){if(this.#k!==t){this.#k=t;for(const r of this.#i.values())t?r.disableClick():r.enableClick(),r.div.classList.toggle("waiting",t)}}#ce(){if(!this.#$){this.#$=!0;for(const t of this.#i.values())t.enable();for(const t of this.#r.values())t.enable()}}#de(){if(this.unselectAll(),this.#$){this.#$=!1;for(const t of this.#i.values())t.disable();for(const t of this.#r.values())t.disable()}}getEditors(t){const r=[];for(const n of this.#r.values())n.pageIndex===t&&r.push(n);return r}getEditor(t){return this.#r.get(t)}addEditor(t){this.#r.set(t.id,t)}removeEditor(t){t.div.contains(document.activeElement)&&(this.#p&&clearTimeout(this.#p),this.#p=setTimeout(()=>{this.focusMainContainer(),this.#p=null},0)),this.#r.delete(t.id),this.unselect(t),(!t.annotationElementId||!this.#u.has(t.annotationElementId))&&this.#n?.remove(t.id)}addDeletedAnnotationElement(t){this.#u.add(t.annotationElementId),this.addChangedExistingAnnotation(t),t.deleted=!0}isDeletedAnnotationElement(t){return this.#u.has(t)}removeDeletedAnnotationElement(t){this.#u.delete(t.annotationElementId),this.removeChangedExistingAnnotation(t),t.deleted=!1}#ee(t){const r=this.#i.get(t.pageIndex);r?r.addOrRebuild(t):(this.addEditor(t),this.addToAnnotationStorage(t))}setActiveEditor(t){this.#t!==t&&(this.#t=t,t&&this.#N(t.propertiesToUpdate))}get#ue(){let t=null;for(t of this.#y);return t}updateUI(t){this.#ue===t&&this.#N(t.propertiesToUpdate)}toggleSelected(t){if(this.#y.has(t)){this.#y.delete(t),t.unselect(),this.#A({hasSelectedEditor:this.hasSelection});return}this.#y.add(t),t.select(),this.#N(t.propertiesToUpdate),this.#A({hasSelectedEditor:!0})}setSelected(t){for(const r of this.#y)r!==t&&r.unselect();this.#y.clear(),this.#y.add(t),t.select(),this.#N(t.propertiesToUpdate),this.#A({hasSelectedEditor:!0})}isSelected(t){return this.#y.has(t)}get firstSelectedEditor(){return this.#y.values().next().value}unselect(t){t.unselect(),this.#y.delete(t),this.#A({hasSelectedEditor:this.hasSelection})}get hasSelection(){return this.#y.size!==0}get isEnterHandled(){return this.#y.size===1&&this.firstSelectedEditor.isEnterHandled}undo(){this.#l.undo(),this.#A({hasSomethingToUndo:this.#l.hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:this.#G()})}redo(){this.#l.redo(),this.#A({hasSomethingToUndo:!0,hasSomethingToRedo:this.#l.hasSomethingToRedo(),isEmpty:this.#G()})}addCommands(t){this.#l.add(t),this.#A({hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:this.#G()})}#G(){if(this.#r.size===0)return!0;if(this.#r.size===1)for(const t of this.#r.values())return t.isEmpty();return!1}delete(){if(this.commitOrRemove(),!this.hasSelection)return;const t=[...this.#y],r=()=>{for(const i of t)i.remove()},n=()=>{for(const i of t)this.#ee(i)};this.addCommands({cmd:r,undo:n,mustExec:!0})}commitOrRemove(){this.#t?.commitOrRemove()}hasSomethingToControl(){return this.#t||this.hasSelection}#te(t){for(const r of this.#y)r.unselect();this.#y.clear();for(const r of t)r.isEmpty()||(this.#y.add(r),r.select());this.#A({hasSelectedEditor:this.hasSelection})}selectAll(){for(const t of this.#y)t.commit();this.#te(this.#r.values())}unselectAll(){if(!(this.#t&&(this.#t.commitOrRemove(),this.#w!==hn.NONE))&&this.hasSelection){for(const t of this.#y)t.unselect();this.#y.clear(),this.#A({hasSelectedEditor:!1})}}translateSelectedEditors(t,r,n=!1){if(n||this.commitOrRemove(),!this.hasSelection)return;this.#V[0]+=t,this.#V[1]+=r;const[i,o]=this.#V,a=[...this.#y],l=1e3;this.#O&&clearTimeout(this.#O),this.#O=setTimeout(()=>{this.#O=null,this.#V[0]=this.#V[1]=0,this.addCommands({cmd:()=>{for(const d of a)this.#r.has(d.id)&&d.translateInPage(i,o)},undo:()=>{for(const d of a)this.#r.has(d.id)&&d.translateInPage(-i,-o)},mustExec:!1})},l);for(const d of a)d.translateInPage(t,r)}setUpDragSession(){if(this.hasSelection){this.disableUserSelect(!0),this.#h=new Map;for(const t of this.#y)this.#h.set(t,{savedX:t.x,savedY:t.y,savedPageIndex:t.pageIndex,newX:0,newY:0,newPageIndex:-1})}}endDragSession(){if(!this.#h)return!1;this.disableUserSelect(!1);const t=this.#h;this.#h=null;let r=!1;for(const[{x:i,y:o,pageIndex:a},l]of t)l.newX=i,l.newY=o,l.newPageIndex=a,r||=i!==l.savedX||o!==l.savedY||a!==l.savedPageIndex;if(!r)return!1;const n=(i,o,a,l)=>{if(this.#r.has(i.id)){const d=this.#i.get(l);d?i._setParentAndPosition(d,o,a):(i.pageIndex=l,i.x=o,i.y=a)}};return this.addCommands({cmd:()=>{for(const[i,{newX:o,newY:a,newPageIndex:l}]of t)n(i,o,a,l)},undo:()=>{for(const[i,{savedX:o,savedY:a,savedPageIndex:l}]of t)n(i,o,a,l)},mustExec:!0}),!0}dragSelectedEditors(t,r){if(this.#h)for(const n of this.#h.keys())n.drag(t,r)}rebuild(t){if(t.parent===null){const r=this.getLayer(t.pageIndex);r?(r.changeParent(t),r.addOrRebuild(t)):(this.addEditor(t),this.addToAnnotationStorage(t),t.rebuild())}else t.parent.addOrRebuild(t)}get isEditorHandlingKeyboard(){return this.getActive()?.shouldGetKeyboardEvents()||this.#y.size===1&&this.firstSelectedEditor.shouldGetKeyboardEvents()}isActive(t){return this.#t===t}getActive(){return this.#t}getMode(){return this.#w}get imageManager(){return bn(this,"imageManager",new eN)}getSelectionBoxes(t){if(!t)return null;const r=document.getSelection();for(let u=0,p=r.rangeCount;u<p;u++)if(!t.contains(r.getRangeAt(u).commonAncestorContainer))return null;const{x:n,y:i,width:o,height:a}=t.getBoundingClientRect();let l;switch(t.getAttribute("data-main-rotation")){case"90":l=(u,p,h,f)=>({x:(p-i)/a,y:1-(u+h-n)/o,width:f/a,height:h/o});break;case"180":l=(u,p,h,f)=>({x:1-(u+h-n)/o,y:1-(p+f-i)/a,width:h/o,height:f/a});break;case"270":l=(u,p,h,f)=>({x:1-(p+f-i)/a,y:(u-n)/o,width:f/a,height:h/o});break;default:l=(u,p,h,f)=>({x:(u-n)/o,y:(p-i)/a,width:h/o,height:f/a});break}const d=[];for(let u=0,p=r.rangeCount;u<p;u++){const h=r.getRangeAt(u);if(!h.collapsed)for(const{x:f,y:g,width:y,height:v}of h.getClientRects())y===0||v===0||d.push(l(f,g,y,v))}return d.length===0?null:d}addChangedExistingAnnotation({annotationElementId:t,id:r}){(this.#o||=new Map).set(t,r)}removeChangedExistingAnnotation({annotationElementId:t}){this.#o?.delete(t)}renderAnnotationElement(t){const r=this.#o?.get(t.data.id);if(!r)return;const n=this.#n.getRawValue(r);n&&(this.#w===hn.NONE&&!n.hasBeenModified||n.renderAnnotationElement(t))}}class Vh{#e="";#t=!1;#r=null;#i=null;#s=null;#n=!1;#o=null;static _l10nPromise=null;constructor(t){this.#o=t}static initialize(t){Vh._l10nPromise||=t}async render(){const t=this.#r=document.createElement("button");t.className="altText";const r=await Vh._l10nPromise.get("pdfjs-editor-alt-text-button-label");t.textContent=r,t.setAttribute("aria-label",r),t.tabIndex="0";const n=this.#o._uiManager._signal;t.addEventListener("contextmenu",Ss,{signal:n}),t.addEventListener("pointerdown",o=>o.stopPropagation(),{signal:n});const i=o=>{o.preventDefault(),this.#o._uiManager.editAltText(this.#o)};return t.addEventListener("click",i,{capture:!0,signal:n}),t.addEventListener("keydown",o=>{o.target===t&&o.key==="Enter"&&(this.#n=!0,i(o))},{signal:n}),await this.#l(),t}finish(){this.#r&&(this.#r.focus({focusVisible:this.#n}),this.#n=!1)}isEmpty(){return!this.#e&&!this.#t}get data(){return{altText:this.#e,decorative:this.#t}}set data({altText:t,decorative:r}){this.#e===t&&this.#t===r||(this.#e=t,this.#t=r,this.#l())}toggle(t=!1){this.#r&&(!t&&this.#s&&(clearTimeout(this.#s),this.#s=null),this.#r.disabled=!t)}destroy(){this.#r?.remove(),this.#r=null,this.#i=null}async#l(){const t=this.#r;if(!t)return;if(!this.#e&&!this.#t){t.classList.remove("done"),this.#i?.remove();return}t.classList.add("done"),Vh._l10nPromise.get("pdfjs-editor-alt-text-edit-button-label").then(i=>{t.setAttribute("aria-label",i)});let r=this.#i;if(!r){this.#i=r=document.createElement("span"),r.className="tooltip",r.setAttribute("role","tooltip");const i=r.id=`alt-text-tooltip-${this.#o.id}`;t.setAttribute("aria-describedby",i);const o=100,a=this.#o._uiManager._signal;a.addEventListener("abort",()=>{clearTimeout(this.#s),this.#s=null},{once:!0}),t.addEventListener("mouseenter",()=>{this.#s=setTimeout(()=>{this.#s=null,this.#i.classList.add("show"),this.#o._reportTelemetry({action:"alt_text_tooltip"})},o)},{signal:a}),t.addEventListener("mouseleave",()=>{this.#s&&(clearTimeout(this.#s),this.#s=null),this.#i?.classList.remove("show")},{signal:a})}r.innerText=this.#t?await Vh._l10nPromise.get("pdfjs-editor-alt-text-decorative-tooltip"):this.#e,r.parentNode||t.append(r),this.#o.getImageForAltText()?.setAttribute("aria-describedby",r.id)}}class Ar{#e=null;#t=null;#r=null;#i=!1;#s=!1;#n=null;#o=null;#l=this.focusin.bind(this);#d=this.focusout.bind(this);#u=null;#h="";#c=!1;#a=null;#m=!1;#g=!1;#p=!1;#v=null;#f=0;#b=0;#x=null;_initialOptions=Object.create(null);_isVisible=!0;_uiManager=null;_focusEventsAllowed=!0;_l10nPromise=null;#$=!1;#k=Ar._zIndex++;static _borderLineWidth=-1;static _colorManager=new tN;static _zIndex=1;static _telemetryTimeout=1e3;static get _resizerKeyboardManager(){const t=Ar.prototype._resizeWithKeyboard,r=Mp.TRANSLATE_SMALL,n=Mp.TRANSLATE_BIG;return bn(this,"_resizerKeyboardManager",new v9([[["ArrowLeft","mac+ArrowLeft"],t,{args:[-r,0]}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t,{args:[-n,0]}],[["ArrowRight","mac+ArrowRight"],t,{args:[r,0]}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t,{args:[n,0]}],[["ArrowUp","mac+ArrowUp"],t,{args:[0,-r]}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t,{args:[0,-n]}],[["ArrowDown","mac+ArrowDown"],t,{args:[0,r]}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t,{args:[0,n]}],[["Escape","mac+Escape"],Ar.prototype._stopResizingWithKeyboard]]))}constructor(t){this.constructor===Ar&&Qn("Cannot initialize AnnotationEditor."),this.parent=t.parent,this.id=t.id,this.width=this.height=null,this.pageIndex=t.parent.pageIndex,this.name=t.name,this.div=null,this._uiManager=t.uiManager,this.annotationElementId=null,this._willKeepAspectRatio=!1,this._initialOptions.isCentered=t.isCentered,this._structTreeParentId=null;const{rotation:r,rawDims:{pageWidth:n,pageHeight:i,pageX:o,pageY:a}}=this.parent.viewport;this.rotation=r,this.pageRotation=(360+r-this._uiManager.viewParameters.rotation)%360,this.pageDimensions=[n,i],this.pageTranslation=[o,a];const[l,d]=this.parentDimensions;this.x=t.x/l,this.y=t.y/d,this.isAttachedToDOM=!1,this.deleted=!1}get editorType(){return Object.getPrototypeOf(this).constructor._type}static get _defaultLineColor(){return bn(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}static deleteAnnotationElement(t){const r=new Q1t({id:t.parent.getNextId(),parent:t.parent,uiManager:t._uiManager});r.annotationElementId=t.annotationElementId,r.deleted=!0,r._uiManager.addToAnnotationStorage(r)}static initialize(t,r,n){if(Ar._l10nPromise||=new Map(["pdfjs-editor-alt-text-button-label","pdfjs-editor-alt-text-edit-button-label","pdfjs-editor-alt-text-decorative-tooltip","pdfjs-editor-resizer-label-topLeft","pdfjs-editor-resizer-label-topMiddle","pdfjs-editor-resizer-label-topRight","pdfjs-editor-resizer-label-middleRight","pdfjs-editor-resizer-label-bottomRight","pdfjs-editor-resizer-label-bottomMiddle","pdfjs-editor-resizer-label-bottomLeft","pdfjs-editor-resizer-label-middleLeft"].map(o=>[o,t.get(o.replaceAll(/([A-Z])/g,a=>`-${a.toLowerCase()}`))])),n?.strings)for(const o of n.strings)Ar._l10nPromise.set(o,t.get(o));if(Ar._borderLineWidth!==-1)return;const i=getComputedStyle(document.documentElement);Ar._borderLineWidth=parseFloat(i.getPropertyValue("--outline-width"))||0}static updateDefaultParams(t,r){}static get defaultPropertiesToUpdate(){return[]}static isHandlingMimeForPasting(t){return!1}static paste(t,r){Qn("Not implemented")}get propertiesToUpdate(){return[]}get _isDraggable(){return this.#$}set _isDraggable(t){this.#$=t,this.div?.classList.toggle("draggable",t)}get isEnterHandled(){return!0}center(){const[t,r]=this.pageDimensions;switch(this.parentRotation){case 90:this.x-=this.height*r/(t*2),this.y+=this.width*t/(r*2);break;case 180:this.x+=this.width/2,this.y+=this.height/2;break;case 270:this.x+=this.height*r/(t*2),this.y-=this.width*t/(r*2);break;default:this.x-=this.width/2,this.y-=this.height/2;break}this.fixAndSetPosition()}addCommands(t){this._uiManager.addCommands(t)}get currentLayer(){return this._uiManager.currentLayer}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=this.#k}setParent(t){t!==null?(this.pageIndex=t.pageIndex,this.pageDimensions=t.pageDimensions):this.#I(),this.parent=t}focusin(t){this._focusEventsAllowed&&(this.#c?this.#c=!1:this.parent.setSelected(this))}focusout(t){!this._focusEventsAllowed||!this.isAttachedToDOM||t.relatedTarget?.closest(`#${this.id}`)||(t.preventDefault(),this.parent?.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.addToAnnotationStorage()}addToAnnotationStorage(){this._uiManager.addToAnnotationStorage(this)}setAt(t,r,n,i){const[o,a]=this.parentDimensions;[n,i]=this.screenToPageTranslation(n,i),this.x=(t+n)/o,this.y=(r+i)/a,this.fixAndSetPosition()}#E([t,r],n,i){[n,i]=this.screenToPageTranslation(n,i),this.x+=n/t,this.y+=i/r,this.fixAndSetPosition()}translate(t,r){this.#E(this.parentDimensions,t,r)}translateInPage(t,r){this.#a||=[this.x,this.y],this.#E(this.pageDimensions,t,r),this.div.scrollIntoView({block:"nearest"})}drag(t,r){this.#a||=[this.x,this.y];const[n,i]=this.parentDimensions;if(this.x+=t/n,this.y+=r/i,this.parent&&(this.x<0||this.x>1||this.y<0||this.y>1)){const{x:u,y:p}=this.div.getBoundingClientRect();this.parent.findNewParent(this,u,p)&&(this.x-=Math.floor(this.x),this.y-=Math.floor(this.y))}let{x:o,y:a}=this;const[l,d]=this.getBaseTranslation();o+=l,a+=d,this.div.style.left=`${(100*o).toFixed(2)}%`,this.div.style.top=`${(100*a).toFixed(2)}%`,this.div.scrollIntoView({block:"nearest"})}get _hasBeenMoved(){return!!this.#a&&(this.#a[0]!==this.x||this.#a[1]!==this.y)}getBaseTranslation(){const[t,r]=this.parentDimensions,{_borderLineWidth:n}=Ar,i=n/t,o=n/r;switch(this.rotation){case 90:return[-i,o];case 180:return[i,o];case 270:return[i,-o];default:return[-i,-o]}}get _mustFixPosition(){return!0}fixAndSetPosition(t=this.rotation){const[r,n]=this.pageDimensions;let{x:i,y:o,width:a,height:l}=this;if(a*=r,l*=n,i*=r,o*=n,this._mustFixPosition)switch(t){case 0:i=Math.max(0,Math.min(r-a,i)),o=Math.max(0,Math.min(n-l,o));break;case 90:i=Math.max(0,Math.min(r-l,i)),o=Math.min(n,Math.max(a,o));break;case 180:i=Math.min(r,Math.max(a,i)),o=Math.min(n,Math.max(l,o));break;case 270:i=Math.min(r,Math.max(l,i)),o=Math.max(0,Math.min(n-a,o));break}this.x=i/=r,this.y=o/=n;const[d,u]=this.getBaseTranslation();i+=d,o+=u;const{style:p}=this.div;p.left=`${(100*i).toFixed(2)}%`,p.top=`${(100*o).toFixed(2)}%`,this.moveInDOM()}static#L(t,r,n){switch(n){case 90:return[r,-t];case 180:return[-t,-r];case 270:return[-r,t];default:return[t,r]}}screenToPageTranslation(t,r){return Ar.#L(t,r,this.parentRotation)}pageTranslationToScreen(t,r){return Ar.#L(t,r,360-this.parentRotation)}#S(t){switch(t){case 90:{const[r,n]=this.pageDimensions;return[0,-r/n,n/r,0]}case 180:return[-1,0,0,-1];case 270:{const[r,n]=this.pageDimensions;return[0,r/n,-n/r,0]}default:return[1,0,0,1]}}get parentScale(){return this._uiManager.viewParameters.realScale}get parentRotation(){return(this._uiManager.viewParameters.rotation+this.pageRotation)%360}get parentDimensions(){const{parentScale:t,pageDimensions:[r,n]}=this,i=r*t,o=n*t;return ws.isCSSRoundSupported?[Math.round(i),Math.round(o)]:[i,o]}setDims(t,r){const[n,i]=this.parentDimensions;this.div.style.width=`${(100*t/n).toFixed(2)}%`,this.#s||(this.div.style.height=`${(100*r/i).toFixed(2)}%`)}fixDims(){const{style:t}=this.div,{height:r,width:n}=t,i=n.endsWith("%"),o=!this.#s&&r.endsWith("%");if(i&&o)return;const[a,l]=this.parentDimensions;i||(t.width=`${(100*parseFloat(n)/a).toFixed(2)}%`),!this.#s&&!o&&(t.height=`${(100*parseFloat(r)/l).toFixed(2)}%`)}getInitialTranslation(){return[0,0]}#w(){if(this.#n)return;this.#n=document.createElement("div"),this.#n.classList.add("resizers");const t=this._willKeepAspectRatio?["topLeft","topRight","bottomRight","bottomLeft"]:["topLeft","topMiddle","topRight","middleRight","bottomRight","bottomMiddle","bottomLeft","middleLeft"],r=this._uiManager._signal;for(const n of t){const i=document.createElement("div");this.#n.append(i),i.classList.add("resizer",n),i.setAttribute("data-resizer-name",n),i.addEventListener("pointerdown",this.#y.bind(this,n),{signal:r}),i.addEventListener("contextmenu",Ss,{signal:r}),i.tabIndex=-1}this.div.prepend(this.#n)}#y(t,r){r.preventDefault();const{isMac:n}=ws.platform;if(r.button!==0||r.ctrlKey&&n)return;this.#r?.toggle(!1);const i=this.#_.bind(this,t),o=this._isDraggable;this._isDraggable=!1;const a=this._uiManager._signal,l={passive:!0,capture:!0,signal:a};this.parent.togglePointerEvents(!1),window.addEventListener("pointermove",i,l),window.addEventListener("contextmenu",Ss,{signal:a});const d=this.x,u=this.y,p=this.width,h=this.height,f=this.parent.div.style.cursor,g=this.div.style.cursor;this.div.style.cursor=this.parent.div.style.cursor=window.getComputedStyle(r.target).cursor;const y=()=>{this.parent.togglePointerEvents(!0),this.#r?.toggle(!0),this._isDraggable=o,window.removeEventListener("pointerup",y),window.removeEventListener("blur",y),window.removeEventListener("pointermove",i,l),window.removeEventListener("contextmenu",Ss),this.parent.div.style.cursor=f,this.div.style.cursor=g,this.#C(d,u,p,h)};window.addEventListener("pointerup",y,{signal:a}),window.addEventListener("blur",y,{signal:a})}#C(t,r,n,i){const o=this.x,a=this.y,l=this.width,d=this.height;o===t&&a===r&&l===n&&d===i||this.addCommands({cmd:()=>{this.width=l,this.height=d,this.x=o,this.y=a;const[u,p]=this.parentDimensions;this.setDims(u*l,p*d),this.fixAndSetPosition()},undo:()=>{this.width=n,this.height=i,this.x=t,this.y=r;const[u,p]=this.parentDimensions;this.setDims(u*n,p*i),this.fixAndSetPosition()},mustExec:!0})}#_(t,r){const[n,i]=this.parentDimensions,o=this.x,a=this.y,l=this.width,d=this.height,u=Ar.MIN_SIZE/n,p=Ar.MIN_SIZE/i,h=j=>Math.round(j*1e4)/1e4,f=this.#S(this.rotation),g=(j,L)=>[f[0]*j+f[2]*L,f[1]*j+f[3]*L],y=this.#S(360-this.rotation),v=(j,L)=>[y[0]*j+y[2]*L,y[1]*j+y[3]*L];let w,x,C=!1,S=!1;switch(t){case"topLeft":C=!0,w=(j,L)=>[0,0],x=(j,L)=>[j,L];break;case"topMiddle":w=(j,L)=>[j/2,0],x=(j,L)=>[j/2,L];break;case"topRight":C=!0,w=(j,L)=>[j,0],x=(j,L)=>[0,L];break;case"middleRight":S=!0,w=(j,L)=>[j,L/2],x=(j,L)=>[0,L/2];break;case"bottomRight":C=!0,w=(j,L)=>[j,L],x=(j,L)=>[0,0];break;case"bottomMiddle":w=(j,L)=>[j/2,L],x=(j,L)=>[j/2,0];break;case"bottomLeft":C=!0,w=(j,L)=>[0,L],x=(j,L)=>[j,0];break;case"middleLeft":S=!0,w=(j,L)=>[0,L/2],x=(j,L)=>[j,L/2];break}const k=w(l,d),T=x(l,d);let E=g(...T);const D=h(o+E[0]),P=h(a+E[1]);let A=1,I=1,[H,R]=this.screenToPageTranslation(r.movementX,r.movementY);if([H,R]=v(H/n,R/i),C){const j=Math.hypot(l,d);A=I=Math.max(Math.min(Math.hypot(T[0]-k[0]-H,T[1]-k[1]-R)/j,1/l,1/d),u/l,p/d)}else S?A=Math.max(u,Math.min(1,Math.abs(T[0]-k[0]-H)))/l:I=Math.max(p,Math.min(1,Math.abs(T[1]-k[1]-R)))/d;const Z=h(l*A),Y=h(d*I);E=g(...x(Z,Y));const B=D-E[0],V=P-E[1];this.width=Z,this.height=Y,this.x=B,this.y=V,this.setDims(n*Z,i*Y),this.fixAndSetPosition()}altTextFinish(){this.#r?.finish()}async addEditToolbar(){return this.#u||this.#g?this.#u:(this.#u=new JO(this),this.div.append(this.#u.render()),this.#r&&this.#u.addAltTextButton(await this.#r.render()),this.#u)}removeEditToolbar(){this.#u&&(this.#u.remove(),this.#u=null,this.#r?.destroy())}getClientDimensions(){return this.div.getBoundingClientRect()}async addAltTextButton(){this.#r||(Vh.initialize(Ar._l10nPromise),this.#r=new Vh(this),this.#e&&(this.#r.data=this.#e,this.#e=null),await this.addEditToolbar())}get altTextData(){return this.#r?.data}set altTextData(t){this.#r&&(this.#r.data=t)}hasAltText(){return!this.#r?.isEmpty()}render(){this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.tabIndex=this.#i?-1:0,this._isVisible||this.div.classList.add("hidden"),this.setInForeground();const t=this._uiManager._signal;this.div.addEventListener("focusin",this.#l,{signal:t}),this.div.addEventListener("focusout",this.#d,{signal:t});const[r,n]=this.parentDimensions;this.parentRotation%180!==0&&(this.div.style.maxWidth=`${(100*n/r).toFixed(2)}%`,this.div.style.maxHeight=`${(100*r/n).toFixed(2)}%`);const[i,o]=this.getInitialTranslation();return this.translate(i,o),ub(this,this.div,["pointerdown"]),this.div}pointerdown(t){const{isMac:r}=ws.platform;if(t.button!==0||t.ctrlKey&&r){t.preventDefault();return}if(this.#c=!0,this._isDraggable){this.#P(t);return}this.#T(t)}#T(t){const{isMac:r}=ws.platform;t.ctrlKey&&!r||t.shiftKey||t.metaKey&&r?this.parent.toggleSelected(this):this.parent.setSelected(this)}#P(t){const r=this._uiManager.isSelected(this);this._uiManager.setUpDragSession();let n,i;const o=this._uiManager._signal;r&&(this.div.classList.add("moving"),n={passive:!0,capture:!0,signal:o},this.#f=t.clientX,this.#b=t.clientY,i=l=>{const{clientX:d,clientY:u}=l,[p,h]=this.screenToPageTranslation(d-this.#f,u-this.#b);this.#f=d,this.#b=u,this._uiManager.dragSelectedEditors(p,h)},window.addEventListener("pointermove",i,n));const a=()=>{window.removeEventListener("pointerup",a),window.removeEventListener("blur",a),r&&(this.div.classList.remove("moving"),window.removeEventListener("pointermove",i,n)),this.#c=!1,this._uiManager.endDragSession()||this.#T(t)};window.addEventListener("pointerup",a,{signal:o}),window.addEventListener("blur",a,{signal:o})}moveInDOM(){this.#v&&clearTimeout(this.#v),this.#v=setTimeout(()=>{this.#v=null,this.parent?.moveEditorInDOM(this)},0)}_setParentAndPosition(t,r,n){t.changeParent(this),this.x=r,this.y=n,this.fixAndSetPosition()}getRect(t,r,n=this.rotation){const i=this.parentScale,[o,a]=this.pageDimensions,[l,d]=this.pageTranslation,u=t/i,p=r/i,h=this.x*o,f=this.y*a,g=this.width*o,y=this.height*a;switch(n){case 0:return[h+u+l,a-f-p-y+d,h+u+g+l,a-f-p+d];case 90:return[h+p+l,a-f+u+d,h+p+y+l,a-f+u+g+d];case 180:return[h-u-g+l,a-f+p+d,h-u+l,a-f+p+y+d];case 270:return[h-p-y+l,a-f-u-g+d,h-p+l,a-f-u+d];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(t,r){const[n,i,o,a]=t,l=o-n,d=a-i;switch(this.rotation){case 0:return[n,r-a,l,d];case 90:return[n,r-i,d,l];case 180:return[o,r-i,l,d];case 270:return[o,r-a,d,l];default:throw new Error("Invalid rotation")}}onceAdded(){}isEmpty(){return!1}enableEditMode(){this.#g=!0}disableEditMode(){this.#g=!1}isInEditMode(){return this.#g}shouldGetKeyboardEvents(){return this.#p}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}rebuild(){const t=this._uiManager._signal;this.div?.addEventListener("focusin",this.#l,{signal:t}),this.div?.addEventListener("focusout",this.#d,{signal:t})}rotate(t){}serialize(t=!1,r=null){Qn("An editor must be serializable")}static deserialize(t,r,n){const i=new this.prototype.constructor({parent:r,id:r.getNextId(),uiManager:n});i.rotation=t.rotation,i.#e=t.accessibilityData;const[o,a]=i.pageDimensions,[l,d,u,p]=i.getRectInCurrentCoords(t.rect,a);return i.x=l/o,i.y=d/a,i.width=u/o,i.height=p/a,i}get hasBeenModified(){return!!this.annotationElementId&&(this.deleted||this.serialize()!==null)}remove(){if(this.div.removeEventListener("focusin",this.#l),this.div.removeEventListener("focusout",this.#d),this.isEmpty()||this.commit(),this.parent?this.parent.remove(this):this._uiManager.removeEditor(this),this.#v&&(clearTimeout(this.#v),this.#v=null),this.#I(),this.removeEditToolbar(),this.#x){for(const t of this.#x.values())clearTimeout(t);this.#x=null}this.parent=null}get isResizable(){return!1}makeResizable(){this.isResizable&&(this.#w(),this.#n.classList.remove("hidden"),ub(this,this.div,["keydown"]))}get toolbarPosition(){return null}keydown(t){if(!this.isResizable||t.target!==this.div||t.key!=="Enter")return;this._uiManager.setSelected(this),this.#o={savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height};const r=this.#n.children;if(!this.#t){this.#t=Array.from(r);const a=this.#D.bind(this),l=this.#j.bind(this),d=this._uiManager._signal;for(const u of this.#t){const p=u.getAttribute("data-resizer-name");u.setAttribute("role","spinbutton"),u.addEventListener("keydown",a,{signal:d}),u.addEventListener("blur",l,{signal:d}),u.addEventListener("focus",this.#M.bind(this,p),{signal:d}),Ar._l10nPromise.get(`pdfjs-editor-resizer-label-${p}`).then(h=>u.setAttribute("aria-label",h))}}const n=this.#t[0];let i=0;for(const a of r){if(a===n)break;i++}const o=(360-this.rotation+this.parentRotation)%360/90*(this.#t.length/4);if(o!==i){if(o<i)for(let l=0;l<i-o;l++)this.#n.append(this.#n.firstChild);else if(o>i)for(let l=0;l<o-i;l++)this.#n.firstChild.before(this.#n.lastChild);let a=0;for(const l of r){const u=this.#t[a++].getAttribute("data-resizer-name");Ar._l10nPromise.get(`pdfjs-editor-resizer-label-${u}`).then(p=>l.setAttribute("aria-label",p))}}this.#R(0),this.#p=!0,this.#n.firstChild.focus({focusVisible:!0}),t.preventDefault(),t.stopImmediatePropagation()}#D(t){Ar._resizerKeyboardManager.exec(this,t)}#j(t){this.#p&&t.relatedTarget?.parentNode!==this.#n&&this.#I()}#M(t){this.#h=this.#p?t:""}#R(t){if(this.#t)for(const r of this.#t)r.tabIndex=t}_resizeWithKeyboard(t,r){this.#p&&this.#_(this.#h,{movementX:t,movementY:r})}#I(){if(this.#p=!1,this.#R(-1),this.#o){const{savedX:t,savedY:r,savedWidth:n,savedHeight:i}=this.#o;this.#C(t,r,n,i),this.#o=null}}_stopResizingWithKeyboard(){this.#I(),this.div.focus()}select(){if(this.makeResizable(),this.div?.classList.add("selectedEditor"),!this.#u){this.addEditToolbar().then(()=>{this.div?.classList.contains("selectedEditor")&&this.#u?.show()});return}this.#u?.show()}unselect(){this.#n?.classList.add("hidden"),this.div?.classList.remove("selectedEditor"),this.div?.contains(document.activeElement)&&this._uiManager.currentLayer.div.focus({preventScroll:!0}),this.#u?.hide()}updateParams(t,r){}disableEditing(){}enableEditing(){}enterInEditMode(){}getImageForAltText(){return null}get contentDiv(){return this.div}get isEditing(){return this.#m}set isEditing(t){this.#m=t,this.parent&&(t?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null))}setAspectRatio(t,r){this.#s=!0;const n=t/r,{style:i}=this.div;i.aspectRatio=n,i.height="auto"}static get MIN_SIZE(){return 16}static canCreateNewEmptyEditor(){return!0}get telemetryInitialData(){return{action:"added"}}get telemetryFinalData(){return null}_reportTelemetry(t,r=!1){if(r){this.#x||=new Map;const{action:n}=t;let i=this.#x.get(n);i&&clearTimeout(i),i=setTimeout(()=>{this._reportTelemetry(t),this.#x.delete(n),this.#x.size===0&&(this.#x=null)},Ar._telemetryTimeout),this.#x.set(n,i);return}t.type||=this.editorType,this._uiManager._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:t}})}show(t=this._isVisible){this.div.classList.toggle("hidden",!t),this._isVisible=t}enable(){this.div&&(this.div.tabIndex=0),this.#i=!1}disable(){this.div&&(this.div.tabIndex=-1),this.#i=!0}renderAnnotationElement(t){let r=t.container.querySelector(".annotationContent");if(!r)r=document.createElement("div"),r.classList.add("annotationContent",this.editorType),t.container.prepend(r);else if(r.nodeName==="CANVAS"){const n=r;r=document.createElement("div"),r.classList.add("annotationContent",this.editorType),n.before(r)}return r}resetAnnotationElement(t){const{firstChild:r}=t.container;r.nodeName==="DIV"&&r.classList.contains("annotationContent")&&r.remove()}}class Q1t extends Ar{constructor(t){super(t),this.annotationElementId=t.annotationElementId,this.deleted=!0}serialize(){return{id:this.annotationElementId,deleted:!0,pageIndex:this.pageIndex}}}const ZX=3285377520,gl=4294901760,Yd=65535;class Jge{constructor(t){this.h1=t?t&4294967295:ZX,this.h2=t?t&4294967295:ZX}update(t){let r,n;if(typeof t=="string"){r=new Uint8Array(t.length*2),n=0;for(let v=0,w=t.length;v<w;v++){const x=t.charCodeAt(v);x<=255?r[n++]=x:(r[n++]=x>>>8,r[n++]=x&255)}}else if(ArrayBuffer.isView(t))r=t.slice(),n=r.byteLength;else throw new Error("Invalid data format, must be a string or TypedArray.");const i=n>>2,o=n-i*4,a=new Uint32Array(r.buffer,0,i);let l=0,d=0,u=this.h1,p=this.h2;const h=3432918353,f=461845907,g=h&Yd,y=f&Yd;for(let v=0;v<i;v++)v&1?(l=a[v],l=l*h&gl|l*g&Yd,l=l<<15|l>>>17,l=l*f&gl|l*y&Yd,u^=l,u=u<<13|u>>>19,u=u*5+3864292196):(d=a[v],d=d*h&gl|d*g&Yd,d=d<<15|d>>>17,d=d*f&gl|d*y&Yd,p^=d,p=p<<13|p>>>19,p=p*5+3864292196);switch(l=0,o){case 3:l^=r[i*4+2]<<16;case 2:l^=r[i*4+1]<<8;case 1:l^=r[i*4],l=l*h&gl|l*g&Yd,l=l<<15|l>>>17,l=l*f&gl|l*y&Yd,i&1?u^=l:p^=l}this.h1=u,this.h2=p}hexdigest(){let t=this.h1,r=this.h2;return t^=r>>>1,t=t*3981806797&gl|t*36045&Yd,r=r*4283543511&gl|((r<<16|t>>>16)*2950163797&gl)>>>16,t^=r>>>1,t=t*444984403&gl|t*60499&Yd,r=r*3301882366&gl|((r<<16|t>>>16)*3120437893&gl)>>>16,t^=r>>>1,(t>>>0).toString(16).padStart(8,"0")+(r>>>0).toString(16).padStart(8,"0")}}const pj=Object.freeze({map:null,hash:"",transfer:void 0});class rN{#e=!1;#t=new Map;constructor(){this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(t,r){const n=this.#t.get(t);return n===void 0?r:Object.assign(r,n)}getRawValue(t){return this.#t.get(t)}remove(t){if(this.#t.delete(t),this.#t.size===0&&this.resetModified(),typeof this.onAnnotationEditor=="function"){for(const r of this.#t.values())if(r instanceof Ar)return;this.onAnnotationEditor(null)}}setValue(t,r){const n=this.#t.get(t);let i=!1;if(n!==void 0)for(const[o,a]of Object.entries(r))n[o]!==a&&(i=!0,n[o]=a);else i=!0,this.#t.set(t,r);i&&this.#r(),r instanceof Ar&&typeof this.onAnnotationEditor=="function"&&this.onAnnotationEditor(r.constructor._type)}has(t){return this.#t.has(t)}getAll(){return this.#t.size>0?GO(this.#t):null}setAll(t){for(const[r,n]of Object.entries(t))this.setValue(r,n)}get size(){return this.#t.size}#r(){this.#e||(this.#e=!0,typeof this.onSetModified=="function"&&this.onSetModified())}resetModified(){this.#e&&(this.#e=!1,typeof this.onResetModified=="function"&&this.onResetModified())}get print(){return new e4e(this)}get serializable(){if(this.#t.size===0)return pj;const t=new Map,r=new Jge,n=[],i=Object.create(null);let o=!1;for(const[a,l]of this.#t){const d=l instanceof Ar?l.serialize(!1,i):l;d&&(t.set(a,d),r.update(`${a}:${JSON.stringify(d)}`),o||=!!d.bitmap)}if(o)for(const a of t.values())a.bitmap&&n.push(a.bitmap);return t.size>0?{map:t,hash:r.hexdigest(),transfer:n}:pj}get editorStats(){let t=null;const r=new Map;for(const n of this.#t.values()){if(!(n instanceof Ar))continue;const i=n.telemetryFinalData;if(!i)continue;const{type:o}=i;r.has(o)||r.set(o,Object.getPrototypeOf(n).constructor),t||=Object.create(null);const a=t[o]||=new Map;for(const[l,d]of Object.entries(i)){if(l==="type")continue;let u=a.get(l);u||(u=new Map,a.set(l,u));const p=u.get(d)??0;u.set(d,p+1)}}for(const[n,i]of r)t[n]=i.computeTelemetryFinalData(t[n]);return t}}class e4e extends rN{#e;constructor(t){super();const{map:r,hash:n,transfer:i}=t.serializable,o=structuredClone(r,i?{transfer:i}:null);this.#e={map:o,hash:n,transfer:i}}get print(){Qn("Should not call PrintAnnotationStorage.print")}get serializable(){return this.#e}}class X1t{#e=new Set;constructor({ownerDocument:t=globalThis.document,styleElement:r=null}){this._document=t,this.nativeFontFaces=new Set,this.styleElement=null,this.loadingRequests=[],this.loadTestFontId=0}addNativeFontFace(t){this.nativeFontFaces.add(t),this._document.fonts.add(t)}removeNativeFontFace(t){this.nativeFontFaces.delete(t),this._document.fonts.delete(t)}insertRule(t){this.styleElement||(this.styleElement=this._document.createElement("style"),this._document.documentElement.getElementsByTagName("head")[0].append(this.styleElement));const r=this.styleElement.sheet;r.insertRule(t,r.cssRules.length)}clear(){for(const t of this.nativeFontFaces)this._document.fonts.delete(t);this.nativeFontFaces.clear(),this.#e.clear(),this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}async loadSystemFont({systemFontInfo:t,_inspectFont:r}){if(!(!t||this.#e.has(t.loadedName))){if(Lo(!this.disableFontFace,"loadSystemFont shouldn't be called when `disableFontFace` is set."),this.isFontLoadingAPISupported){const{loadedName:n,src:i,style:o}=t,a=new FontFace(n,i,o);this.addNativeFontFace(a);try{await a.load(),this.#e.add(n),r?.(t)}catch{Jr(`Cannot load system font: ${t.baseFontName}, installing it could help to improve PDF rendering.`),this.removeNativeFontFace(a)}return}Qn("Not implemented: loadSystemFont without the Font Loading API.")}}async bind(t){if(t.attached||t.missingFile&&!t.systemFontInfo)return;if(t.attached=!0,t.systemFontInfo){await this.loadSystemFont(t);return}if(this.isFontLoadingAPISupported){const n=t.createNativeFontFace();if(n){this.addNativeFontFace(n);try{await n.loaded}catch(i){throw Jr(`Failed to load font '${n.family}': '${i}'.`),t.disableFontFace=!0,i}}return}const r=t.createFontFaceRule();if(r){if(this.insertRule(r),this.isSyncFontLoadingSupported)return;await new Promise(n=>{const i=this._queueLoadingCallback(n);this._prepareFontLoadEvent(t,i)})}}get isFontLoadingAPISupported(){const t=!!this._document?.fonts;return bn(this,"isFontLoadingAPISupported",t)}get isSyncFontLoadingSupported(){let t=!1;return(Ea||typeof navigator<"u"&&typeof navigator?.userAgent=="string"&&/Mozilla\/5.0.*?rv:\d+.*? Gecko/.test(navigator.userAgent))&&(t=!0),bn(this,"isSyncFontLoadingSupported",t)}_queueLoadingCallback(t){function r(){for(Lo(!i.done,"completeRequest() cannot be called twice."),i.done=!0;n.length>0&&n[0].done;){const o=n.shift();setTimeout(o.callback,0)}}const{loadingRequests:n}=this,i={done:!1,complete:r,callback:t};return n.push(i),i}get _loadTestFont(){const t=atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA==");return bn(this,"_loadTestFont",t)}_prepareFontLoadEvent(t,r){function n(k,T){return k.charCodeAt(T)<<24|k.charCodeAt(T+1)<<16|k.charCodeAt(T+2)<<8|k.charCodeAt(T+3)&255}function i(k,T,E,D){const P=k.substring(0,T),A=k.substring(T+E);return P+D+A}let o,a;const l=this._document.createElement("canvas");l.width=1,l.height=1;const d=l.getContext("2d");let u=0;function p(k,T){if(++u>30){Jr("Load test font never loaded."),T();return}if(d.font="30px "+k,d.fillText(".",0,20),d.getImageData(0,0,1,1).data[3]>0){T();return}setTimeout(p.bind(null,k,T))}const h=`lt${Date.now()}${this.loadTestFontId++}`;let f=this._loadTestFont;f=i(f,976,h.length,h);const y=16,v=1482184792;let w=n(f,y);for(o=0,a=h.length-3;o<a;o+=4)w=w-v+n(h,o)|0;o<h.length&&(w=w-v+n(h+"XXX",o)|0),f=i(f,y,4,j1t(w));const x=`url(data:font/opentype;base64,${btoa(f)});`,C=`@font-face {font-family:"${h}";src:${x}}`;this.insertRule(C);const S=this._document.createElement("div");S.style.visibility="hidden",S.style.width=S.style.height="10px",S.style.position="absolute",S.style.top=S.style.left="0px";for(const k of[t.loadedName,h]){const T=this._document.createElement("span");T.textContent="Hi",T.style.fontFamily=k,S.append(T)}this._document.body.append(S),p(h,()=>{S.remove(),r.complete()})}}class J1t{constructor(t,{disableFontFace:r=!1,inspectFont:n=null}){this.compiledGlyphs=Object.create(null);for(const i in t)this[i]=t[i];this.disableFontFace=r===!0,this._inspectFont=n}createNativeFontFace(){if(!this.data||this.disableFontFace)return null;let t;if(!this.cssFontInfo)t=new FontFace(this.loadedName,this.data,{});else{const r={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(r.style=`oblique ${this.cssFontInfo.italicAngle}deg`),t=new FontFace(this.cssFontInfo.fontFamily,this.data,r)}return this._inspectFont?.(this),t}createFontFaceRule(){if(!this.data||this.disableFontFace)return null;const t=Yge(this.data),r=`url(data:${this.mimetype};base64,${btoa(t)});`;let n;if(!this.cssFontInfo)n=`@font-face {font-family:"${this.loadedName}";src:${r}}`;else{let i=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(i+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),n=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${i}src:${r}}`}return this._inspectFont?.(this,r),n}getPathGenerator(t,r){if(this.compiledGlyphs[r]!==void 0)return this.compiledGlyphs[r];let n;try{n=t.get(this.loadedName+"_path_"+r)}catch(o){Jr(`getPathGenerator - ignoring character: "${o}".`)}if(!Array.isArray(n)||n.length===0)return this.compiledGlyphs[r]=function(o,a){};const i=[];for(let o=0,a=n.length;o<a;)switch(n[o++]){case mu.BEZIER_CURVE_TO:{const[l,d,u,p,h,f]=n.slice(o,o+6);i.push(g=>g.bezierCurveTo(l,d,u,p,h,f)),o+=6}break;case mu.MOVE_TO:{const[l,d]=n.slice(o,o+2);i.push(u=>u.moveTo(l,d)),o+=2}break;case mu.LINE_TO:{const[l,d]=n.slice(o,o+2);i.push(u=>u.lineTo(l,d)),o+=2}break;case mu.QUADRATIC_CURVE_TO:{const[l,d,u,p]=n.slice(o,o+4);i.push(h=>h.quadraticCurveTo(l,d,u,p)),o+=4}break;case mu.RESTORE:i.push(l=>l.restore());break;case mu.SAVE:i.push(l=>l.save());break;case mu.SCALE:Lo(i.length===2,"Scale command is only valid at the third position.");break;case mu.TRANSFORM:{const[l,d,u,p,h,f]=n.slice(o,o+6);i.push(g=>g.transform(l,d,u,p,h,f)),o+=6}break;case mu.TRANSLATE:{const[l,d]=n.slice(o,o+2);i.push(u=>u.translate(l,d)),o+=2}break}return this.compiledGlyphs[r]=function(a,l){i[0](a),i[1](a),a.scale(l,-l);for(let d=2,u=i.length;d<u;d++)i[d](a)}}}if(Ea){var hj=Promise.withResolvers(),mj=null;(async()=>{const t=await bt(()=>import("./empty-9h6tGMxX.js").then(l=>l.e),__vite__mapDeps([0,1,2])),r=await bt(()=>import("./index-CTllXPEB.js").then(l=>l.i),__vite__mapDeps([3,1,4,5,6,7,8,9,10])),n=await bt(()=>import("./index-DA1Z8sqg.js").then(l=>l.i),__vite__mapDeps([11,1,12,4,5,6,7,8,9,10])),i=await bt(()=>import("./url-DdD720VJ.js").then(l=>l.u),__vite__mapDeps([13,1,10,7,5,6,8,9]));let o,a;return new Map(Object.entries({fs:t,http:r,https:n,url:i,canvas:o,path2d:a}))})().then(t=>{mj=t,hj.resolve()},t=>{Jr(`loadPackages: ${t}`),mj=new Map,hj.resolve()})}class j1{static get promise(){return hj.promise}static get(t){return mj?.get(t)}}const t4e=function(e){return j1.get("fs").promises.readFile(e).then(r=>new Uint8Array(r))};class eut extends Dx{}class tut extends Px{_createCanvas(t,r){return j1.get("canvas").createCanvas(t,r)}}class rut extends Mx{_fetchData(t,r){return t4e(t).then(n=>({cMapData:n,compressionType:r}))}}class nut extends Ix{_fetchData(t){return t4e(t)}}const Wa={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};function fj(e,t){if(!t)return;const r=t[2]-t[0],n=t[3]-t[1],i=new Path2D;i.rect(t[0],t[1],r,n),e.clip(i)}class b9{constructor(){this.constructor===b9&&Qn("Cannot initialize BaseShadingPattern.")}getPattern(){Qn("Abstract method `getPattern` called.")}}class iut extends b9{constructor(t){super(),this._type=t[1],this._bbox=t[2],this._colorStops=t[3],this._p0=t[4],this._p1=t[5],this._r0=t[6],this._r1=t[7],this.matrix=null}_createGradient(t){let r;this._type==="axial"?r=t.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):this._type==="radial"&&(r=t.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const n of this._colorStops)r.addColorStop(n[0],n[1]);return r}getPattern(t,r,n,i){let o;if(i===Wa.STROKE||i===Wa.FILL){const a=r.current.getClippedPathBoundingBox(i,Ii(t))||[0,0,0,0],l=Math.ceil(a[2]-a[0])||1,d=Math.ceil(a[3]-a[1])||1,u=r.cachedCanvases.getCanvas("pattern",l,d,!0),p=u.context;p.clearRect(0,0,p.canvas.width,p.canvas.height),p.beginPath(),p.rect(0,0,p.canvas.width,p.canvas.height),p.translate(-a[0],-a[1]),n=lr.transform(n,[1,0,0,1,a[0],a[1]]),p.transform(...r.baseTransform),this.matrix&&p.transform(...this.matrix),fj(p,this._bbox),p.fillStyle=this._createGradient(p),p.fill(),o=t.createPattern(u.canvas,"no-repeat");const h=new DOMMatrix(n);o.setTransform(h)}else fj(t,this._bbox),o=this._createGradient(t);return o}}function uL(e,t,r,n,i,o,a,l){const d=t.coords,u=t.colors,p=e.data,h=e.width*4;let f;d[r+1]>d[n+1]&&(f=r,r=n,n=f,f=o,o=a,a=f),d[n+1]>d[i+1]&&(f=n,n=i,i=f,f=a,a=l,l=f),d[r+1]>d[n+1]&&(f=r,r=n,n=f,f=o,o=a,a=f);const g=(d[r]+t.offsetX)*t.scaleX,y=(d[r+1]+t.offsetY)*t.scaleY,v=(d[n]+t.offsetX)*t.scaleX,w=(d[n+1]+t.offsetY)*t.scaleY,x=(d[i]+t.offsetX)*t.scaleX,C=(d[i+1]+t.offsetY)*t.scaleY;if(y>=C)return;const S=u[o],k=u[o+1],T=u[o+2],E=u[a],D=u[a+1],P=u[a+2],A=u[l],I=u[l+1],H=u[l+2],R=Math.round(y),Z=Math.round(C);let Y,B,V,j,L,N,z,J;for(let q=R;q<=Z;q++){if(q<w){const xe=q<y?0:(y-q)/(y-w);Y=g-(g-v)*xe,B=S-(S-E)*xe,V=k-(k-D)*xe,j=T-(T-P)*xe}else{let xe;q>C?xe=1:w===C?xe=0:xe=(w-q)/(w-C),Y=v-(v-x)*xe,B=E-(E-A)*xe,V=D-(D-I)*xe,j=P-(P-H)*xe}let U;q<y?U=0:q>C?U=1:U=(y-q)/(y-C),L=g-(g-x)*U,N=S-(S-A)*U,z=k-(k-I)*U,J=T-(T-H)*U;const Q=Math.round(Math.min(Y,L)),X=Math.round(Math.max(Y,L));let oe=h*q+Q*4;for(let xe=Q;xe<=X;xe++)U=(Y-xe)/(Y-L),U<0?U=0:U>1&&(U=1),p[oe++]=B-(B-N)*U|0,p[oe++]=V-(V-z)*U|0,p[oe++]=j-(j-J)*U|0,p[oe++]=255}}function out(e,t,r){const n=t.coords,i=t.colors;let o,a;switch(t.type){case"lattice":const l=t.verticesPerRow,d=Math.floor(n.length/l)-1,u=l-1;for(o=0;o<d;o++){let p=o*l;for(let h=0;h<u;h++,p++)uL(e,r,n[p],n[p+1],n[p+l],i[p],i[p+1],i[p+l]),uL(e,r,n[p+l+1],n[p+1],n[p+l],i[p+l+1],i[p+1],i[p+l])}break;case"triangles":for(o=0,a=n.length;o<a;o+=3)uL(e,r,n[o],n[o+1],n[o+2],i[o],i[o+1],i[o+2]);break;default:throw new Error("illegal figure")}}class aut extends b9{constructor(t){super(),this._coords=t[2],this._colors=t[3],this._figures=t[4],this._bounds=t[5],this._bbox=t[7],this._background=t[8],this.matrix=null}_createMeshCanvas(t,r,n){const l=Math.floor(this._bounds[0]),d=Math.floor(this._bounds[1]),u=Math.ceil(this._bounds[2])-l,p=Math.ceil(this._bounds[3])-d,h=Math.min(Math.ceil(Math.abs(u*t[0]*1.1)),3e3),f=Math.min(Math.ceil(Math.abs(p*t[1]*1.1)),3e3),g=u/h,y=p/f,v={coords:this._coords,colors:this._colors,offsetX:-l,offsetY:-d,scaleX:1/g,scaleY:1/y},w=h+2*2,x=f+2*2,C=n.getCanvas("mesh",w,x,!1),S=C.context,k=S.createImageData(h,f);if(r){const E=k.data;for(let D=0,P=E.length;D<P;D+=4)E[D]=r[0],E[D+1]=r[1],E[D+2]=r[2],E[D+3]=255}for(const E of this._figures)out(k,E,v);return S.putImageData(k,2,2),{canvas:C.canvas,offsetX:l-2*g,offsetY:d-2*y,scaleX:g,scaleY:y}}getPattern(t,r,n,i){fj(t,this._bbox);let o;if(i===Wa.SHADING)o=lr.singularValueDecompose2dScale(Ii(t));else if(o=lr.singularValueDecompose2dScale(r.baseTransform),this.matrix){const l=lr.singularValueDecompose2dScale(this.matrix);o=[o[0]*l[0],o[1]*l[1]]}const a=this._createMeshCanvas(o,i===Wa.SHADING?null:this._background,r.cachedCanvases);return i!==Wa.SHADING&&(t.setTransform(...r.baseTransform),this.matrix&&t.transform(...this.matrix)),t.translate(a.offsetX,a.offsetY),t.scale(a.scaleX,a.scaleY),t.createPattern(a.canvas,"no-repeat")}}class sut extends b9{getPattern(){return"hotpink"}}function lut(e){switch(e[0]){case"RadialAxial":return new iut(e);case"Mesh":return new aut(e);case"Dummy":return new sut}throw new Error(`Unknown IR type: ${e[0]}`)}const KX={COLORED:1,UNCOLORED:2};class nN{static MAX_PATTERN_SIZE=3e3;constructor(t,r,n,i,o){this.operatorList=t[2],this.matrix=t[3],this.bbox=t[4],this.xstep=t[5],this.ystep=t[6],this.paintType=t[7],this.tilingType=t[8],this.color=r,this.ctx=n,this.canvasGraphicsFactory=i,this.baseTransform=o}createPatternCanvas(t){const r=this.operatorList,n=this.bbox,i=this.xstep,o=this.ystep,a=this.paintType,l=this.tilingType,d=this.color,u=this.canvasGraphicsFactory;Tx("TilingType: "+l);const p=n[0],h=n[1],f=n[2],g=n[3],y=lr.singularValueDecompose2dScale(this.matrix),v=lr.singularValueDecompose2dScale(this.baseTransform),w=[y[0]*v[0],y[1]*v[1]],x=this.getSizeAndScale(i,this.ctx.canvas.width,w[0]),C=this.getSizeAndScale(o,this.ctx.canvas.height,w[1]),S=t.cachedCanvases.getCanvas("pattern",x.size,C.size,!0),k=S.context,T=u.createCanvasGraphics(k);T.groupLevel=t.groupLevel,this.setFillAndStrokeStyleToContext(T,a,d);let E=p,D=h,P=f,A=g;return p<0&&(E=0,P+=Math.abs(p)),h<0&&(D=0,A+=Math.abs(h)),k.translate(-(x.scale*E),-(C.scale*D)),T.transform(x.scale,0,0,C.scale,0,0),k.save(),this.clipBbox(T,E,D,P,A),T.baseTransform=Ii(T.ctx),T.executeOperatorList(r),T.endDrawing(),{canvas:S.canvas,scaleX:x.scale,scaleY:C.scale,offsetX:E,offsetY:D}}getSizeAndScale(t,r,n){t=Math.abs(t);const i=Math.max(nN.MAX_PATTERN_SIZE,r);let o=Math.ceil(t*n);return o>=i?o=i:n=o/t,{scale:n,size:o}}clipBbox(t,r,n,i,o){const a=i-r,l=o-n;t.ctx.rect(r,n,a,l),t.current.updateRectMinMax(Ii(t.ctx),[r,n,i,o]),t.clip(),t.endPath()}setFillAndStrokeStyleToContext(t,r,n){const i=t.ctx,o=t.current;switch(r){case KX.COLORED:const a=this.ctx;i.fillStyle=a.fillStyle,i.strokeStyle=a.strokeStyle,o.fillColor=a.fillStyle,o.strokeColor=a.strokeStyle;break;case KX.UNCOLORED:const l=lr.makeHexColor(n[0],n[1],n[2]);i.fillStyle=l,i.strokeStyle=l,o.fillColor=l,o.strokeColor=l;break;default:throw new I1t(`Unsupported paint type: ${r}`)}}getPattern(t,r,n,i){let o=n;i!==Wa.SHADING&&(o=lr.transform(o,r.baseTransform),this.matrix&&(o=lr.transform(o,this.matrix)));const a=this.createPatternCanvas(r);let l=new DOMMatrix(o);l=l.translate(a.offsetX,a.offsetY),l=l.scale(1/a.scaleX,1/a.scaleY);const d=t.createPattern(a.canvas,"repeat");return d.setTransform(l),d}}function cut({src:e,srcPos:t=0,dest:r,width:n,height:i,nonBlackColor:o=4294967295,inverseDecode:a=!1}){const l=ws.isLittleEndian?4278190080:255,[d,u]=a?[o,l]:[l,o],p=n>>3,h=n&7,f=e.length;r=new Uint32Array(r.buffer);let g=0;for(let y=0;y<i;y++){for(const w=t+p;t<w;t++){const x=t<f?e[t]:255;r[g++]=x&128?u:d,r[g++]=x&64?u:d,r[g++]=x&32?u:d,r[g++]=x&16?u:d,r[g++]=x&8?u:d,r[g++]=x&4?u:d,r[g++]=x&2?u:d,r[g++]=x&1?u:d}if(h===0)continue;const v=t<f?e[t++]:255;for(let w=0;w<h;w++)r[g++]=v&1<<7-w?u:d}return{srcPos:t,destPos:g}}const QX=16,XX=100,dut=15,JX=10,eJ=1e3,ps=16;function uut(e,t){if(e._removeMirroring)throw new Error("Context is already forwarding operations.");e.__originalSave=e.save,e.__originalRestore=e.restore,e.__originalRotate=e.rotate,e.__originalScale=e.scale,e.__originalTranslate=e.translate,e.__originalTransform=e.transform,e.__originalSetTransform=e.setTransform,e.__originalResetTransform=e.resetTransform,e.__originalClip=e.clip,e.__originalMoveTo=e.moveTo,e.__originalLineTo=e.lineTo,e.__originalBezierCurveTo=e.bezierCurveTo,e.__originalRect=e.rect,e.__originalClosePath=e.closePath,e.__originalBeginPath=e.beginPath,e._removeMirroring=()=>{e.save=e.__originalSave,e.restore=e.__originalRestore,e.rotate=e.__originalRotate,e.scale=e.__originalScale,e.translate=e.__originalTranslate,e.transform=e.__originalTransform,e.setTransform=e.__originalSetTransform,e.resetTransform=e.__originalResetTransform,e.clip=e.__originalClip,e.moveTo=e.__originalMoveTo,e.lineTo=e.__originalLineTo,e.bezierCurveTo=e.__originalBezierCurveTo,e.rect=e.__originalRect,e.closePath=e.__originalClosePath,e.beginPath=e.__originalBeginPath,delete e._removeMirroring},e.save=function(){t.save(),this.__originalSave()},e.restore=function(){t.restore(),this.__originalRestore()},e.translate=function(n,i){t.translate(n,i),this.__originalTranslate(n,i)},e.scale=function(n,i){t.scale(n,i),this.__originalScale(n,i)},e.transform=function(n,i,o,a,l,d){t.transform(n,i,o,a,l,d),this.__originalTransform(n,i,o,a,l,d)},e.setTransform=function(n,i,o,a,l,d){t.setTransform(n,i,o,a,l,d),this.__originalSetTransform(n,i,o,a,l,d)},e.resetTransform=function(){t.resetTransform(),this.__originalResetTransform()},e.rotate=function(n){t.rotate(n),this.__originalRotate(n)},e.clip=function(n){t.clip(n),this.__originalClip(n)},e.moveTo=function(r,n){t.moveTo(r,n),this.__originalMoveTo(r,n)},e.lineTo=function(r,n){t.lineTo(r,n),this.__originalLineTo(r,n)},e.bezierCurveTo=function(r,n,i,o,a,l){t.bezierCurveTo(r,n,i,o,a,l),this.__originalBezierCurveTo(r,n,i,o,a,l)},e.rect=function(r,n,i,o){t.rect(r,n,i,o),this.__originalRect(r,n,i,o)},e.closePath=function(){t.closePath(),this.__originalClosePath()},e.beginPath=function(){t.beginPath(),this.__originalBeginPath()}}class put{constructor(t){this.canvasFactory=t,this.cache=Object.create(null)}getCanvas(t,r,n){let i;return this.cache[t]!==void 0?(i=this.cache[t],this.canvasFactory.reset(i,r,n)):(i=this.canvasFactory.create(r,n),this.cache[t]=i),i}delete(t){delete this.cache[t]}clear(){for(const t in this.cache){const r=this.cache[t];this.canvasFactory.destroy(r),delete this.cache[t]}}}function F6(e,t,r,n,i,o,a,l,d,u){const[p,h,f,g,y,v]=Ii(e);if(h===0&&f===0){const C=a*p+y,S=Math.round(C),k=l*g+v,T=Math.round(k),E=(a+d)*p+y,D=Math.abs(Math.round(E)-S)||1,P=(l+u)*g+v,A=Math.abs(Math.round(P)-T)||1;return e.setTransform(Math.sign(p),0,0,Math.sign(g),S,T),e.drawImage(t,r,n,i,o,0,0,D,A),e.setTransform(p,h,f,g,y,v),[D,A]}if(p===0&&g===0){const C=l*f+y,S=Math.round(C),k=a*h+v,T=Math.round(k),E=(l+u)*f+y,D=Math.abs(Math.round(E)-S)||1,P=(a+d)*h+v,A=Math.abs(Math.round(P)-T)||1;return e.setTransform(0,Math.sign(h),Math.sign(f),0,S,T),e.drawImage(t,r,n,i,o,0,0,A,D),e.setTransform(p,h,f,g,y,v),[A,D]}e.drawImage(t,r,n,i,o,a,l,d,u);const w=Math.hypot(p,h),x=Math.hypot(f,g);return[w*d,x*u]}function hut(e){const{width:t,height:r}=e;if(t>eJ||r>eJ)return null;const n=1e3,i=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),o=t+1;let a=new Uint8Array(o*(r+1)),l,d,u;const p=t+7&-8;let h=new Uint8Array(p*r),f=0;for(const x of e.data){let C=128;for(;C>0;)h[f++]=x&C?0:255,C>>=1}let g=0;for(f=0,h[f]!==0&&(a[0]=1,++g),d=1;d<t;d++)h[f]!==h[f+1]&&(a[d]=h[f]?2:1,++g),f++;for(h[f]!==0&&(a[d]=2,++g),l=1;l<r;l++){f=l*p,u=l*o,h[f-p]!==h[f]&&(a[u]=h[f]?1:8,++g);let x=(h[f]?4:0)+(h[f-p]?8:0);for(d=1;d<t;d++)x=(x>>2)+(h[f+1]?4:0)+(h[f-p+1]?8:0),i[x]&&(a[u+d]=i[x],++g),f++;if(h[f-p]!==h[f]&&(a[u+d]=h[f]?2:4,++g),g>n)return null}for(f=p*(r-1),u=l*o,h[f]!==0&&(a[u]=8,++g),d=1;d<t;d++)h[f]!==h[f+1]&&(a[u+d]=h[f]?4:8,++g),f++;if(h[f]!==0&&(a[u+d]=4,++g),g>n)return null;const y=new Int32Array([0,o,-1,0,-o,0,0,0,1]),v=new Path2D;for(l=0;g&&l<=r;l++){let x=l*o;const C=x+t;for(;x<C&&!a[x];)x++;if(x===C)continue;v.moveTo(x%o,l);const S=x;let k=a[x];do{const T=y[k];do x+=T;while(!a[x]);const E=a[x];E!==5&&E!==10?(k=E,a[x]=0):(k=E&51*k>>4,a[x]&=k>>2|k<<2),v.lineTo(x%o,x/o|0),a[x]||--g}while(S!==x);--l}return h=null,a=null,function(x){x.save(),x.scale(1/t,-1/r),x.translate(0,-r),x.fill(v),x.beginPath(),x.restore()}}class tJ{constructor(t,r){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=Wge,this.textMatrixScale=1,this.fontMatrix=lj,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=xa.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps="none",this.startNewPathAndClipBox([0,0,t,r])}clone(){const t=Object.create(this);return t.clipBox=this.clipBox.slice(),t}setCurrentPoint(t,r){this.x=t,this.y=r}updatePathMinMax(t,r,n){[r,n]=lr.applyTransform([r,n],t),this.minX=Math.min(this.minX,r),this.minY=Math.min(this.minY,n),this.maxX=Math.max(this.maxX,r),this.maxY=Math.max(this.maxY,n)}updateRectMinMax(t,r){const n=lr.applyTransform(r,t),i=lr.applyTransform(r.slice(2),t),o=lr.applyTransform([r[0],r[3]],t),a=lr.applyTransform([r[2],r[1]],t);this.minX=Math.min(this.minX,n[0],i[0],o[0],a[0]),this.minY=Math.min(this.minY,n[1],i[1],o[1],a[1]),this.maxX=Math.max(this.maxX,n[0],i[0],o[0],a[0]),this.maxY=Math.max(this.maxY,n[1],i[1],o[1],a[1])}updateScalingPathMinMax(t,r){lr.scaleMinMax(t,r),this.minX=Math.min(this.minX,r[0]),this.minY=Math.min(this.minY,r[1]),this.maxX=Math.max(this.maxX,r[2]),this.maxY=Math.max(this.maxY,r[3])}updateCurvePathMinMax(t,r,n,i,o,a,l,d,u,p){const h=lr.bezierBoundingBox(r,n,i,o,a,l,d,u,p);p||this.updateRectMinMax(t,h)}getPathBoundingBox(t=Wa.FILL,r=null){const n=[this.minX,this.minY,this.maxX,this.maxY];if(t===Wa.STROKE){r||Qn("Stroke bounding box must include transform.");const i=lr.singularValueDecompose2dScale(r),o=i[0]*this.lineWidth/2,a=i[1]*this.lineWidth/2;n[0]-=o,n[1]-=a,n[2]+=o,n[3]+=a}return n}updateClipFromPath(){const t=lr.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(t||[0,0,0,0])}isEmptyClip(){return this.minX===1/0}startNewPathAndClipBox(t){this.clipBox=t,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}getClippedPathBoundingBox(t=Wa.FILL,r=null){return lr.intersect(this.clipBox,this.getPathBoundingBox(t,r))}}function rJ(e,t){if(typeof ImageData<"u"&&t instanceof ImageData){e.putImageData(t,0,0);return}const r=t.height,n=t.width,i=r%ps,o=(r-i)/ps,a=i===0?o:o+1,l=e.createImageData(n,ps);let d=0,u;const p=t.data,h=l.data;let f,g,y,v;if(t.kind===Ry.GRAYSCALE_1BPP){const w=p.byteLength,x=new Uint32Array(h.buffer,0,h.byteLength>>2),C=x.length,S=n+7>>3,k=4294967295,T=ws.isLittleEndian?4278190080:255;for(f=0;f<a;f++){for(y=f<o?ps:i,u=0,g=0;g<y;g++){const E=w-d;let D=0;const P=E>S?n:E*8-7,A=P&-8;let I=0,H=0;for(;D<A;D+=8)H=p[d++],x[u++]=H&128?k:T,x[u++]=H&64?k:T,x[u++]=H&32?k:T,x[u++]=H&16?k:T,x[u++]=H&8?k:T,x[u++]=H&4?k:T,x[u++]=H&2?k:T,x[u++]=H&1?k:T;for(;D<P;D++)I===0&&(H=p[d++],I=128),x[u++]=H&I?k:T,I>>=1}for(;u<C;)x[u++]=0;e.putImageData(l,0,f*ps)}}else if(t.kind===Ry.RGBA_32BPP){for(g=0,v=n*ps*4,f=0;f<o;f++)h.set(p.subarray(d,d+v)),d+=v,e.putImageData(l,0,g),g+=ps;f<a&&(v=n*i*4,h.set(p.subarray(d,d+v)),e.putImageData(l,0,g))}else if(t.kind===Ry.RGB_24BPP)for(y=ps,v=n*y,f=0;f<a;f++){for(f>=o&&(y=i,v=n*y),u=0,g=v;g--;)h[u++]=p[d++],h[u++]=p[d++],h[u++]=p[d++],h[u++]=255;e.putImageData(l,0,f*ps)}else throw new Error(`bad image kind: ${t.kind}`)}function nJ(e,t){if(t.bitmap){e.drawImage(t.bitmap,0,0);return}const r=t.height,n=t.width,i=r%ps,o=(r-i)/ps,a=i===0?o:o+1,l=e.createImageData(n,ps);let d=0;const u=t.data,p=l.data;for(let h=0;h<a;h++){const f=h<o?ps:i;({srcPos:d}=cut({src:u,srcPos:d,dest:p,width:n,height:f,nonBlackColor:0})),e.putImageData(l,0,h*ps)}}function V4(e,t){const r=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font","filter"];for(const n of r)e[n]!==void 0&&(t[n]=e[n]);e.setLineDash!==void 0&&(t.setLineDash(e.getLineDash()),t.lineDashOffset=e.lineDashOffset)}function O6(e){if(e.strokeStyle=e.fillStyle="#000000",e.fillRule="nonzero",e.globalAlpha=1,e.lineWidth=1,e.lineCap="butt",e.lineJoin="miter",e.miterLimit=10,e.globalCompositeOperation="source-over",e.font="10px sans-serif",e.setLineDash!==void 0&&(e.setLineDash([]),e.lineDashOffset=0),!Ea){const{filter:t}=e;t!=="none"&&t!==""&&(e.filter="none")}}function iJ(e,t){if(t)return!0;const r=lr.singularValueDecompose2dScale(e);r[0]=Math.fround(r[0]),r[1]=Math.fround(r[1]);const n=Math.fround((globalThis.devicePixelRatio||1)*Xf.PDF_TO_CSS_UNITS);return r[0]<=n&&r[1]<=n}const mut=["butt","round","square"],fut=["miter","round","bevel"],gut={},oJ={};class Ef{constructor(t,r,n,i,o,{optionalContentConfig:a,markedContentStack:l=null},d,u){this.ctx=t,this.current=new tJ(this.ctx.canvas.width,this.ctx.canvas.height),this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=r,this.objs=n,this.canvasFactory=i,this.filterFactory=o,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.suspendedCtx=null,this.contentVisible=!0,this.markedContentStack=l||[],this.optionalContentConfig=a,this.cachedCanvases=new put(this.canvasFactory),this.cachedPatterns=new Map,this.annotationCanvasMap=d,this.viewportScale=1,this.outputScaleX=1,this.outputScaleY=1,this.pageColors=u,this._cachedScaleForStroking=[-1,0],this._cachedGetSinglePixelWidth=null,this._cachedBitmapsMap=new Map}getObject(t,r=null){return typeof t=="string"?t.startsWith("g_")?this.commonObjs.get(t):this.objs.get(t):r}beginDrawing({transform:t,viewport:r,transparency:n=!1,background:i=null}){const o=this.ctx.canvas.width,a=this.ctx.canvas.height,l=this.ctx.fillStyle;if(this.ctx.fillStyle=i||"#ffffff",this.ctx.fillRect(0,0,o,a),this.ctx.fillStyle=l,n){const d=this.cachedCanvases.getCanvas("transparent",o,a);this.compositeCtx=this.ctx,this.transparentCanvas=d.canvas,this.ctx=d.context,this.ctx.save(),this.ctx.transform(...Ii(this.compositeCtx))}this.ctx.save(),O6(this.ctx),t&&(this.ctx.transform(...t),this.outputScaleX=t[0],this.outputScaleY=t[0]),this.ctx.transform(...r.transform),this.viewportScale=r.scale,this.baseTransform=Ii(this.ctx)}executeOperatorList(t,r,n,i){const o=t.argsArray,a=t.fnArray;let l=r||0;const d=o.length;if(d===l)return l;const u=d-l>JX&&typeof n=="function",p=u?Date.now()+dut:0;let h=0;const f=this.commonObjs,g=this.objs;let y;for(;;){if(i!==void 0&&l===i.nextBreakPoint)return i.breakIt(l,n),l;if(y=a[l],y!==kc.dependency)this[y].apply(this,o[l]);else for(const v of o[l]){const w=v.startsWith("g_")?f:g;if(!w.has(v))return w.get(v,n),l}if(l++,l===d)return l;if(u&&++h>JX){if(Date.now()>p)return n(),l;h=0}}}#e(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null)}endDrawing(){this.#e(),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(const t of this._cachedBitmapsMap.values()){for(const r of t.values())typeof HTMLCanvasElement<"u"&&r instanceof HTMLCanvasElement&&(r.width=r.height=0);t.clear()}this._cachedBitmapsMap.clear(),this.#t()}#t(){if(this.pageColors){const t=this.filterFactory.addHCMFilter(this.pageColors.foreground,this.pageColors.background);if(t!=="none"){const r=this.ctx.filter;this.ctx.filter=t,this.ctx.drawImage(this.ctx.canvas,0,0),this.ctx.filter=r}}}_scaleImage(t,r){const n=t.width,i=t.height;let o=Math.max(Math.hypot(r[0],r[1]),1),a=Math.max(Math.hypot(r[2],r[3]),1),l=n,d=i,u="prescale1",p,h;for(;o>2&&l>1||a>2&&d>1;){let f=l,g=d;o>2&&l>1&&(f=l>=16384?Math.floor(l/2)-1||1:Math.ceil(l/2),o/=l/f),a>2&&d>1&&(g=d>=16384?Math.floor(d/2)-1||1:Math.ceil(d)/2,a/=d/g),p=this.cachedCanvases.getCanvas(u,f,g),h=p.context,h.clearRect(0,0,f,g),h.drawImage(t,0,0,l,d,0,0,f,g),t=p.canvas,l=f,d=g,u=u==="prescale1"?"prescale2":"prescale1"}return{img:t,paintWidth:l,paintHeight:d}}_createMaskCanvas(t){const r=this.ctx,{width:n,height:i}=t,o=this.current.fillColor,a=this.current.patternFill,l=Ii(r);let d,u,p,h;if((t.bitmap||t.data)&&t.count>1){const P=t.bitmap||t.data.buffer;u=JSON.stringify(a?l:[l.slice(0,4),o]),d=this._cachedBitmapsMap.get(P),d||(d=new Map,this._cachedBitmapsMap.set(P,d));const A=d.get(u);if(A&&!a){const I=Math.round(Math.min(l[0],l[2])+l[4]),H=Math.round(Math.min(l[1],l[3])+l[5]);return{canvas:A,offsetX:I,offsetY:H}}p=A}p||(h=this.cachedCanvases.getCanvas("maskCanvas",n,i),nJ(h.context,t));let f=lr.transform(l,[1/n,0,0,-1/i,0,0]);f=lr.transform(f,[1,0,0,1,0,-i]);const[g,y,v,w]=lr.getAxialAlignedBoundingBox([0,0,n,i],f),x=Math.round(v-g)||1,C=Math.round(w-y)||1,S=this.cachedCanvases.getCanvas("fillCanvas",x,C),k=S.context,T=g,E=y;k.translate(-T,-E),k.transform(...f),p||(p=this._scaleImage(h.canvas,fu(k)),p=p.img,d&&a&&d.set(u,p)),k.imageSmoothingEnabled=iJ(Ii(k),t.interpolate),F6(k,p,0,0,p.width,p.height,0,0,n,i),k.globalCompositeOperation="source-in";const D=lr.transform(fu(k),[1,0,0,1,-T,-E]);return k.fillStyle=a?o.getPattern(r,this,D,Wa.FILL):o,k.fillRect(0,0,n,i),d&&!a&&(this.cachedCanvases.delete("fillCanvas"),d.set(u,S.canvas)),{canvas:S.canvas,offsetX:Math.round(T),offsetY:Math.round(E)}}setLineWidth(t){t!==this.current.lineWidth&&(this._cachedScaleForStroking[0]=-1),this.current.lineWidth=t,this.ctx.lineWidth=t}setLineCap(t){this.ctx.lineCap=mut[t]}setLineJoin(t){this.ctx.lineJoin=fut[t]}setMiterLimit(t){this.ctx.miterLimit=t}setDash(t,r){const n=this.ctx;n.setLineDash!==void 0&&(n.setLineDash(t),n.lineDashOffset=r)}setRenderingIntent(t){}setFlatness(t){}setGState(t){for(const[r,n]of t)switch(r){case"LW":this.setLineWidth(n);break;case"LC":this.setLineCap(n);break;case"LJ":this.setLineJoin(n);break;case"ML":this.setMiterLimit(n);break;case"D":this.setDash(n[0],n[1]);break;case"RI":this.setRenderingIntent(n);break;case"FL":this.setFlatness(n);break;case"Font":this.setFont(n[0],n[1]);break;case"CA":this.current.strokeAlpha=n;break;case"ca":this.current.fillAlpha=n,this.ctx.globalAlpha=n;break;case"BM":this.ctx.globalCompositeOperation=n;break;case"SMask":this.current.activeSMask=n?this.tempSMask:null,this.tempSMask=null,this.checkSMaskState();break;case"TR":this.ctx.filter=this.current.transferMaps=this.filterFactory.addFilter(n);break}}get inSMaskMode(){return!!this.suspendedCtx}checkSMaskState(){const t=this.inSMaskMode;this.current.activeSMask&&!t?this.beginSMaskMode():!this.current.activeSMask&&t&&this.endSMaskMode()}beginSMaskMode(){if(this.inSMaskMode)throw new Error("beginSMaskMode called while already in smask mode");const t=this.ctx.canvas.width,r=this.ctx.canvas.height,n="smaskGroupAt"+this.groupLevel,i=this.cachedCanvases.getCanvas(n,t,r);this.suspendedCtx=this.ctx,this.ctx=i.context;const o=this.ctx;o.setTransform(...Ii(this.suspendedCtx)),V4(this.suspendedCtx,o),uut(o,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}endSMaskMode(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),V4(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}compose(t){if(!this.current.activeSMask)return;t?(t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.ceil(t[2]),t[3]=Math.ceil(t[3])):t=[0,0,this.ctx.canvas.width,this.ctx.canvas.height];const r=this.current.activeSMask,n=this.suspendedCtx;this.composeSMask(n,r,this.ctx,t),this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.ctx.canvas.width,this.ctx.canvas.height),this.ctx.restore()}composeSMask(t,r,n,i){const o=i[0],a=i[1],l=i[2]-o,d=i[3]-a;l===0||d===0||(this.genericComposeSMask(r.context,n,l,d,r.subtype,r.backdrop,r.transferMap,o,a,r.offsetX,r.offsetY),t.save(),t.globalAlpha=1,t.globalCompositeOperation="source-over",t.setTransform(1,0,0,1,0,0),t.drawImage(n.canvas,0,0),t.restore())}genericComposeSMask(t,r,n,i,o,a,l,d,u,p,h){let f=t.canvas,g=d-p,y=u-h;if(a){if(g<0||y<0||g+n>f.width||y+i>f.height){const w=this.cachedCanvases.getCanvas("maskExtension",n,i),x=w.context;x.drawImage(f,-g,-y),a.some(C=>C!==0)&&(x.globalCompositeOperation="destination-atop",x.fillStyle=lr.makeHexColor(...a),x.fillRect(0,0,n,i),x.globalCompositeOperation="source-over"),f=w.canvas,g=y=0}else if(a.some(w=>w!==0)){t.save(),t.globalAlpha=1,t.setTransform(1,0,0,1,0,0);const w=new Path2D;w.rect(g,y,n,i),t.clip(w),t.globalCompositeOperation="destination-atop",t.fillStyle=lr.makeHexColor(...a),t.fillRect(g,y,n,i),t.restore()}}r.save(),r.globalAlpha=1,r.setTransform(1,0,0,1,0,0),o==="Alpha"&&l?r.filter=this.filterFactory.addAlphaFilter(l):o==="Luminosity"&&(r.filter=this.filterFactory.addLuminosityFilter(l));const v=new Path2D;v.rect(d,u,n,i),r.clip(v),r.globalCompositeOperation="destination-in",r.drawImage(f,g,y,n,i,d,u,n,i),r.restore()}save(){this.inSMaskMode?(V4(this.ctx,this.suspendedCtx),this.suspendedCtx.save()):this.ctx.save();const t=this.current;this.stateStack.push(t),this.current=t.clone()}restore(){this.stateStack.length===0&&this.inSMaskMode&&this.endSMaskMode(),this.stateStack.length!==0&&(this.current=this.stateStack.pop(),this.inSMaskMode?(this.suspendedCtx.restore(),V4(this.suspendedCtx,this.ctx)):this.ctx.restore(),this.checkSMaskState(),this.pendingClip=null,this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null)}transform(t,r,n,i,o,a){this.ctx.transform(t,r,n,i,o,a),this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null}constructPath(t,r,n){const i=this.ctx,o=this.current;let a=o.x,l=o.y,d,u;const p=Ii(i),h=p[0]===0&&p[3]===0||p[1]===0&&p[2]===0,f=h?n.slice(0):null;for(let g=0,y=0,v=t.length;g<v;g++)switch(t[g]|0){case kc.rectangle:a=r[y++],l=r[y++];const w=r[y++],x=r[y++],C=a+w,S=l+x;i.moveTo(a,l),w===0||x===0?i.lineTo(C,S):(i.lineTo(C,l),i.lineTo(C,S),i.lineTo(a,S)),h||o.updateRectMinMax(p,[a,l,C,S]),i.closePath();break;case kc.moveTo:a=r[y++],l=r[y++],i.moveTo(a,l),h||o.updatePathMinMax(p,a,l);break;case kc.lineTo:a=r[y++],l=r[y++],i.lineTo(a,l),h||o.updatePathMinMax(p,a,l);break;case kc.curveTo:d=a,u=l,a=r[y+4],l=r[y+5],i.bezierCurveTo(r[y],r[y+1],r[y+2],r[y+3],a,l),o.updateCurvePathMinMax(p,d,u,r[y],r[y+1],r[y+2],r[y+3],a,l,f),y+=6;break;case kc.curveTo2:d=a,u=l,i.bezierCurveTo(a,l,r[y],r[y+1],r[y+2],r[y+3]),o.updateCurvePathMinMax(p,d,u,a,l,r[y],r[y+1],r[y+2],r[y+3],f),a=r[y+2],l=r[y+3],y+=4;break;case kc.curveTo3:d=a,u=l,a=r[y+2],l=r[y+3],i.bezierCurveTo(r[y],r[y+1],a,l,a,l),o.updateCurvePathMinMax(p,d,u,r[y],r[y+1],a,l,a,l,f),y+=4;break;case kc.closePath:i.closePath();break}h&&o.updateScalingPathMinMax(p,f),o.setCurrentPoint(a,l)}closePath(){this.ctx.closePath()}stroke(t=!0){const r=this.ctx,n=this.current.strokeColor;r.globalAlpha=this.current.strokeAlpha,this.contentVisible&&(typeof n=="object"&&n?.getPattern?(r.save(),r.strokeStyle=n.getPattern(r,this,fu(r),Wa.STROKE),this.rescaleAndStroke(!1),r.restore()):this.rescaleAndStroke(!0)),t&&this.consumePath(this.current.getClippedPathBoundingBox()),r.globalAlpha=this.current.fillAlpha}closeStroke(){this.closePath(),this.stroke()}fill(t=!0){const r=this.ctx,n=this.current.fillColor,i=this.current.patternFill;let o=!1;i&&(r.save(),r.fillStyle=n.getPattern(r,this,fu(r),Wa.FILL),o=!0);const a=this.current.getClippedPathBoundingBox();this.contentVisible&&a!==null&&(this.pendingEOFill?(r.fill("evenodd"),this.pendingEOFill=!1):r.fill()),o&&r.restore(),t&&this.consumePath(a)}eoFill(){this.pendingEOFill=!0,this.fill()}fillStroke(){this.fill(!1),this.stroke(!1),this.consumePath()}eoFillStroke(){this.pendingEOFill=!0,this.fillStroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()}endPath(){this.consumePath()}clip(){this.pendingClip=gut}eoClip(){this.pendingClip=oJ}beginText(){this.current.textMatrix=Wge,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}endText(){const t=this.pendingTextPaths,r=this.ctx;if(t===void 0){r.beginPath();return}r.save(),r.beginPath();for(const n of t)r.setTransform(...n.transform),r.translate(n.x,n.y),n.addToPath(r,n.fontSize);r.restore(),r.clip(),r.beginPath(),delete this.pendingTextPaths}setCharSpacing(t){this.current.charSpacing=t}setWordSpacing(t){this.current.wordSpacing=t}setHScale(t){this.current.textHScale=t/100}setLeading(t){this.current.leading=-t}setFont(t,r){const n=this.commonObjs.get(t),i=this.current;if(!n)throw new Error(`Can't find font for ${t}`);if(i.fontMatrix=n.fontMatrix||lj,(i.fontMatrix[0]===0||i.fontMatrix[3]===0)&&Jr("Invalid font matrix for font "+t),r<0?(r=-r,i.fontDirection=-1):i.fontDirection=1,this.current.font=n,this.current.fontSize=r,n.isType3Font)return;const o=n.loadedName||"sans-serif",a=n.systemFontInfo?.css||`"${o}", ${n.fallbackName}`;let l="normal";n.black?l="900":n.bold&&(l="bold");const d=n.italic?"italic":"normal";let u=r;r<QX?u=QX:r>XX&&(u=XX),this.current.fontSizeScale=r/u,this.ctx.font=`${d} ${l} ${u}px ${a}`}setTextRenderingMode(t){this.current.textRenderingMode=t}setTextRise(t){this.current.textRise=t}moveText(t,r){this.current.x=this.current.lineX+=t,this.current.y=this.current.lineY+=r}setLeadingMoveText(t,r){this.setLeading(-r),this.moveText(t,r)}setTextMatrix(t,r,n,i,o,a){this.current.textMatrix=[t,r,n,i,o,a],this.current.textMatrixScale=Math.hypot(t,r),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(t,r,n,i){const o=this.ctx,a=this.current,l=a.font,d=a.textRenderingMode,u=a.fontSize/a.fontSizeScale,p=d&xa.FILL_STROKE_MASK,h=!!(d&xa.ADD_TO_PATH_FLAG),f=a.patternFill&&!l.missingFile;let g;(l.disableFontFace||h||f)&&(g=l.getPathGenerator(this.commonObjs,t)),l.disableFontFace||f?(o.save(),o.translate(r,n),o.beginPath(),g(o,u),i&&o.setTransform(...i),(p===xa.FILL||p===xa.FILL_STROKE)&&o.fill(),(p===xa.STROKE||p===xa.FILL_STROKE)&&o.stroke(),o.restore()):((p===xa.FILL||p===xa.FILL_STROKE)&&o.fillText(t,r,n),(p===xa.STROKE||p===xa.FILL_STROKE)&&o.strokeText(t,r,n)),h&&(this.pendingTextPaths||=[]).push({transform:Ii(o),x:r,y:n,fontSize:u,addToPath:g})}get isFontSubpixelAAEnabled(){const{context:t}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);t.scale(1.5,1),t.fillText("I",0,10);const r=t.getImageData(0,0,10,10).data;let n=!1;for(let i=3;i<r.length;i+=4)if(r[i]>0&&r[i]<255){n=!0;break}return bn(this,"isFontSubpixelAAEnabled",n)}showText(t){const r=this.current,n=r.font;if(n.isType3Font)return this.showType3Text(t);const i=r.fontSize;if(i===0)return;const o=this.ctx,a=r.fontSizeScale,l=r.charSpacing,d=r.wordSpacing,u=r.fontDirection,p=r.textHScale*u,h=t.length,f=n.vertical,g=f?1:-1,y=n.defaultVMetrics,v=i*r.fontMatrix[0],w=r.textRenderingMode===xa.FILL&&!n.disableFontFace&&!r.patternFill;o.save(),o.transform(...r.textMatrix),o.translate(r.x,r.y+r.textRise),u>0?o.scale(p,-1):o.scale(p,1);let x;if(r.patternFill){o.save();const E=r.fillColor.getPattern(o,this,fu(o),Wa.FILL);x=Ii(o),o.restore(),o.fillStyle=E}let C=r.lineWidth;const S=r.textMatrixScale;if(S===0||C===0){const E=r.textRenderingMode&xa.FILL_STROKE_MASK;(E===xa.STROKE||E===xa.FILL_STROKE)&&(C=this.getSinglePixelWidth())}else C/=S;if(a!==1&&(o.scale(a,a),C/=a),o.lineWidth=C,n.isInvalidPDFjsFont){const E=[];let D=0;for(const P of t)E.push(P.unicode),D+=P.width;o.fillText(E.join(""),0,0),r.x+=D*v*p,o.restore(),this.compose();return}let k=0,T;for(T=0;T<h;++T){const E=t[T];if(typeof E=="number"){k+=g*E*i/1e3;continue}let D=!1;const P=(E.isSpace?d:0)+l,A=E.fontChar,I=E.accent;let H,R,Z=E.width;if(f){const B=E.vmetric||y,V=-(E.vmetric?B[1]:Z*.5)*v,j=B[2]*v;Z=B?-B[0]:Z,H=V/a,R=(k+j)/a}else H=k/a,R=0;if(n.remeasure&&Z>0){const B=o.measureText(A).width*1e3/i*a;if(Z<B&&this.isFontSubpixelAAEnabled){const V=Z/B;D=!0,o.save(),o.scale(V,1),H/=V}else Z!==B&&(H+=(Z-B)/2e3*i/a)}if(this.contentVisible&&(E.isInFont||n.missingFile)){if(w&&!I)o.fillText(A,H,R);else if(this.paintChar(A,H,R,x),I){const B=H+i*I.offset.x/a,V=R-i*I.offset.y/a;this.paintChar(I.fontChar,B,V,x)}}const Y=f?Z*v-P*u:Z*v+P*u;k+=Y,D&&o.restore()}f?r.y-=k:r.x+=k*p,o.restore(),this.compose()}showType3Text(t){const r=this.ctx,n=this.current,i=n.font,o=n.fontSize,a=n.fontDirection,l=i.vertical?1:-1,d=n.charSpacing,u=n.wordSpacing,p=n.textHScale*a,h=n.fontMatrix||lj,f=t.length,g=n.textRenderingMode===xa.INVISIBLE;let y,v,w,x;if(!(g||o===0)){for(this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null,r.save(),r.transform(...n.textMatrix),r.translate(n.x,n.y),r.scale(p,a),y=0;y<f;++y){if(v=t[y],typeof v=="number"){x=l*v*o/1e3,this.ctx.translate(x,0),n.x+=x*p;continue}const C=(v.isSpace?u:0)+d,S=i.charProcOperatorList[v.operatorListId];if(!S){Jr(`Type3 character "${v.operatorListId}" is not available.`);continue}this.contentVisible&&(this.processingType3=v,this.save(),r.scale(o,o),r.transform(...h),this.executeOperatorList(S),this.restore()),w=lr.applyTransform([v.width,0],h)[0]*o+C,r.translate(w,0),n.x+=w*p}r.restore(),this.processingType3=null}}setCharWidth(t,r){}setCharWidthAndBounds(t,r,n,i,o,a){this.ctx.rect(n,i,o-n,a-i),this.ctx.clip(),this.endPath()}getColorN_Pattern(t){let r;if(t[0]==="TilingPattern"){const n=t[1],i=this.baseTransform||Ii(this.ctx),o={createCanvasGraphics:a=>new Ef(a,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:this.optionalContentConfig,markedContentStack:this.markedContentStack})};r=new nN(t,n,this.ctx,o,i)}else r=this._getPattern(t[1],t[2]);return r}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments)}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(t,r,n){const i=lr.makeHexColor(t,r,n);this.ctx.strokeStyle=i,this.current.strokeColor=i}setFillRGBColor(t,r,n){const i=lr.makeHexColor(t,r,n);this.ctx.fillStyle=i,this.current.fillColor=i,this.current.patternFill=!1}_getPattern(t,r=null){let n;return this.cachedPatterns.has(t)?n=this.cachedPatterns.get(t):(n=lut(this.getObject(t)),this.cachedPatterns.set(t,n)),r&&(n.matrix=r),n}shadingFill(t){if(!this.contentVisible)return;const r=this.ctx;this.save();const n=this._getPattern(t);r.fillStyle=n.getPattern(r,this,fu(r),Wa.SHADING);const i=fu(r);if(i){const{width:o,height:a}=r.canvas,[l,d,u,p]=lr.getAxialAlignedBoundingBox([0,0,o,a],i);this.ctx.fillRect(l,d,u-l,p-d)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){Qn("Should not call beginInlineImage")}beginImageData(){Qn("Should not call beginImageData")}paintFormXObjectBegin(t,r){if(this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),t&&this.transform(...t),this.baseTransform=Ii(this.ctx),r)){const n=r[2]-r[0],i=r[3]-r[1];this.ctx.rect(r[0],r[1],n,i),this.current.updateRectMinMax(Ii(this.ctx),r),this.clip(),this.endPath()}}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(t){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const r=this.ctx;t.isolated||Tx("TODO: Support non-isolated groups."),t.knockout&&Jr("Knockout groups not supported.");const n=Ii(r);if(t.matrix&&r.transform(...t.matrix),!t.bbox)throw new Error("Bounding box is required.");let i=lr.getAxialAlignedBoundingBox(t.bbox,Ii(r));const o=[0,0,r.canvas.width,r.canvas.height];i=lr.intersect(i,o)||[0,0,0,0];const a=Math.floor(i[0]),l=Math.floor(i[1]),d=Math.max(Math.ceil(i[2])-a,1),u=Math.max(Math.ceil(i[3])-l,1);this.current.startNewPathAndClipBox([0,0,d,u]);let p="groupAt"+this.groupLevel;t.smask&&(p+="_smask_"+this.smaskCounter++%2);const h=this.cachedCanvases.getCanvas(p,d,u),f=h.context;f.translate(-a,-l),f.transform(...n),t.smask?this.smaskStack.push({canvas:h.canvas,context:f,offsetX:a,offsetY:l,subtype:t.smask.subtype,backdrop:t.smask.backdrop,transferMap:t.smask.transferMap||null,startTransformInverse:null}):(r.setTransform(1,0,0,1,0,0),r.translate(a,l),r.save()),V4(r,f),this.ctx=f,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(r),this.groupLevel++}endGroup(t){if(!this.contentVisible)return;this.groupLevel--;const r=this.ctx,n=this.groupStack.pop();if(this.ctx=n,this.ctx.imageSmoothingEnabled=!1,t.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();const i=Ii(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...i);const o=lr.getAxialAlignedBoundingBox([0,0,r.canvas.width,r.canvas.height],i);this.ctx.drawImage(r.canvas,0,0),this.ctx.restore(),this.compose(o)}}beginAnnotation(t,r,n,i,o){if(this.#e(),O6(this.ctx),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),r){const a=r[2]-r[0],l=r[3]-r[1];if(o&&this.annotationCanvasMap){n=n.slice(),n[4]-=r[0],n[5]-=r[1],r=r.slice(),r[0]=r[1]=0,r[2]=a,r[3]=l;const[d,u]=lr.singularValueDecompose2dScale(Ii(this.ctx)),{viewportScale:p}=this,h=Math.ceil(a*this.outputScaleX*p),f=Math.ceil(l*this.outputScaleY*p);this.annotationCanvas=this.canvasFactory.create(h,f);const{canvas:g,context:y}=this.annotationCanvas;this.annotationCanvasMap.set(t,g),this.annotationCanvas.savedCtx=this.ctx,this.ctx=y,this.ctx.save(),this.ctx.setTransform(d,0,0,-u,0,l*u),O6(this.ctx)}else O6(this.ctx),this.ctx.rect(r[0],r[1],a,l),this.ctx.clip(),this.endPath()}this.current=new tJ(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...n),this.transform(...i)}endAnnotation(){this.annotationCanvas&&(this.ctx.restore(),this.#t(),this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(t){if(!this.contentVisible)return;const r=t.count;t=this.getObject(t.data,t),t.count=r;const n=this.ctx,i=this.processingType3;if(i&&(i.compiled===void 0&&(i.compiled=hut(t)),i.compiled)){i.compiled(n);return}const o=this._createMaskCanvas(t),a=o.canvas;n.save(),n.setTransform(1,0,0,1,0,0),n.drawImage(a,o.offsetX,o.offsetY),n.restore(),this.compose()}paintImageMaskXObjectRepeat(t,r,n=0,i=0,o,a){if(!this.contentVisible)return;t=this.getObject(t.data,t);const l=this.ctx;l.save();const d=Ii(l);l.transform(r,n,i,o,0,0);const u=this._createMaskCanvas(t);l.setTransform(1,0,0,1,u.offsetX-d[4],u.offsetY-d[5]);for(let p=0,h=a.length;p<h;p+=2){const f=lr.transform(d,[r,n,i,o,a[p],a[p+1]]),[g,y]=lr.applyTransform([0,0],f);l.drawImage(u.canvas,g,y)}l.restore(),this.compose()}paintImageMaskXObjectGroup(t){if(!this.contentVisible)return;const r=this.ctx,n=this.current.fillColor,i=this.current.patternFill;for(const o of t){const{data:a,width:l,height:d,transform:u}=o,p=this.cachedCanvases.getCanvas("maskCanvas",l,d),h=p.context;h.save();const f=this.getObject(a,o);nJ(h,f),h.globalCompositeOperation="source-in",h.fillStyle=i?n.getPattern(h,this,fu(r),Wa.FILL):n,h.fillRect(0,0,l,d),h.restore(),r.save(),r.transform(...u),r.scale(1,-1),F6(r,p.canvas,0,0,l,d,0,-1,1,1),r.restore()}this.compose()}paintImageXObject(t){if(!this.contentVisible)return;const r=this.getObject(t);if(!r){Jr("Dependent image isn't ready yet");return}this.paintInlineImageXObject(r)}paintImageXObjectRepeat(t,r,n,i){if(!this.contentVisible)return;const o=this.getObject(t);if(!o){Jr("Dependent image isn't ready yet");return}const a=o.width,l=o.height,d=[];for(let u=0,p=i.length;u<p;u+=2)d.push({transform:[r,0,0,n,i[u],i[u+1]],x:0,y:0,w:a,h:l});this.paintInlineImageXObjectGroup(o,d)}applyTransferMapsToCanvas(t){return this.current.transferMaps!=="none"&&(t.filter=this.current.transferMaps,t.drawImage(t.canvas,0,0),t.filter="none"),t.canvas}applyTransferMapsToBitmap(t){if(this.current.transferMaps==="none")return t.bitmap;const{bitmap:r,width:n,height:i}=t,o=this.cachedCanvases.getCanvas("inlineImage",n,i),a=o.context;return a.filter=this.current.transferMaps,a.drawImage(r,0,0),a.filter="none",o.canvas}paintInlineImageXObject(t){if(!this.contentVisible)return;const r=t.width,n=t.height,i=this.ctx;if(this.save(),!Ea){const{filter:l}=i;l!=="none"&&l!==""&&(i.filter="none")}i.scale(1/r,-1/n);let o;if(t.bitmap)o=this.applyTransferMapsToBitmap(t);else if(typeof HTMLElement=="function"&&t instanceof HTMLElement||!t.data)o=t;else{const d=this.cachedCanvases.getCanvas("inlineImage",r,n).context;rJ(d,t),o=this.applyTransferMapsToCanvas(d)}const a=this._scaleImage(o,fu(i));i.imageSmoothingEnabled=iJ(Ii(i),t.interpolate),F6(i,a.img,0,0,a.paintWidth,a.paintHeight,0,-n,r,n),this.compose(),this.restore()}paintInlineImageXObjectGroup(t,r){if(!this.contentVisible)return;const n=this.ctx;let i;if(t.bitmap)i=t.bitmap;else{const o=t.width,a=t.height,d=this.cachedCanvases.getCanvas("inlineImage",o,a).context;rJ(d,t),i=this.applyTransferMapsToCanvas(d)}for(const o of r)n.save(),n.transform(...o.transform),n.scale(1,-1),F6(n,i,o.x,o.y,o.w,o.h,0,-1,1,1),n.restore();this.compose()}paintSolidColorImageMask(){this.contentVisible&&(this.ctx.fillRect(0,0,1,1),this.compose())}markPoint(t){}markPointProps(t,r){}beginMarkedContent(t){this.markedContentStack.push({visible:!0})}beginMarkedContentProps(t,r){t==="OC"?this.markedContentStack.push({visible:this.optionalContentConfig.isVisible(r)}):this.markedContentStack.push({visible:!0}),this.contentVisible=this.isContentVisible()}endMarkedContent(){this.markedContentStack.pop(),this.contentVisible=this.isContentVisible()}beginCompat(){}endCompat(){}consumePath(t){const r=this.current.isEmptyClip();this.pendingClip&&this.current.updateClipFromPath(),this.pendingClip||this.compose(t);const n=this.ctx;this.pendingClip&&(r||(this.pendingClip===oJ?n.clip("evenodd"):n.clip()),this.pendingClip=null),this.current.startNewPathAndClipBox(this.current.clipBox),n.beginPath()}getSinglePixelWidth(){if(!this._cachedGetSinglePixelWidth){const t=Ii(this.ctx);if(t[1]===0&&t[2]===0)this._cachedGetSinglePixelWidth=1/Math.min(Math.abs(t[0]),Math.abs(t[3]));else{const r=Math.abs(t[0]*t[3]-t[2]*t[1]),n=Math.hypot(t[0],t[2]),i=Math.hypot(t[1],t[3]);this._cachedGetSinglePixelWidth=Math.max(n,i)/r}}return this._cachedGetSinglePixelWidth}getScaleForStroking(){if(this._cachedScaleForStroking[0]===-1){const{lineWidth:t}=this.current,{a:r,b:n,c:i,d:o}=this.ctx.getTransform();let a,l;if(n===0&&i===0){const d=Math.abs(r),u=Math.abs(o);if(d===u)if(t===0)a=l=1/d;else{const p=d*t;a=l=p<1?1/p:1}else if(t===0)a=1/d,l=1/u;else{const p=d*t,h=u*t;a=p<1?1/p:1,l=h<1?1/h:1}}else{const d=Math.abs(r*o-n*i),u=Math.hypot(r,n),p=Math.hypot(i,o);if(t===0)a=p/d,l=u/d;else{const h=t*d;a=p>h?p/h:1,l=u>h?u/h:1}}this._cachedScaleForStroking[0]=a,this._cachedScaleForStroking[1]=l}return this._cachedScaleForStroking}rescaleAndStroke(t){const{ctx:r}=this,{lineWidth:n}=this.current,[i,o]=this.getScaleForStroking();if(r.lineWidth=n||1,i===1&&o===1){r.stroke();return}const a=r.getLineDash();if(t&&r.save(),r.scale(i,o),a.length>0){const l=Math.max(i,o);r.setLineDash(a.map(d=>d/l)),r.lineDashOffset/=l}r.stroke(),t&&r.restore()}isContentVisible(){for(let t=this.markedContentStack.length-1;t>=0;t--)if(!this.markedContentStack[t].visible)return!1;return!0}}for(const e in kc)Ef.prototype[e]!==void 0&&(Ef.prototype[kc[e]]=Ef.prototype[e]);class L7{static#e=null;static#t="";static get workerPort(){return this.#e}static set workerPort(t){if(!(typeof Worker<"u"&&t instanceof Worker)&&t!==null)throw new Error("Invalid `workerPort` type.");this.#e=t}static get workerSrc(){return this.#t}static set workerSrc(t){if(typeof t!="string")throw new Error("Invalid `workerSrc` type.");this.#t=t}}const N6={DATA:1,ERROR:2},ao={CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function Is(e){switch(e instanceof Error||typeof e=="object"&&e!==null||Qn('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e.name){case"AbortException":return new Am(e.message);case"MissingPDFException":return new Tm(e.message);case"PasswordException":return new dj(e.message,e.code);case"UnexpectedResponseException":return new Ax(e.message,e.status);case"UnknownErrorException":return new uj(e.message,e.details);default:return new uj(e.message,e.toString())}}class j5{constructor(t,r,n){this.sourceName=t,this.targetName=r,this.comObj=n,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=i=>{const o=i.data;if(o.targetName!==this.sourceName)return;if(o.stream){this.#t(o);return}if(o.callback){const l=o.callbackId,d=this.callbackCapabilities[l];if(!d)throw new Error(`Cannot resolve callback ${l}`);if(delete this.callbackCapabilities[l],o.callback===N6.DATA)d.resolve(o.data);else if(o.callback===N6.ERROR)d.reject(Is(o.reason));else throw new Error("Unexpected callback case");return}const a=this.actionHandler[o.action];if(!a)throw new Error(`Unknown action from worker: ${o.action}`);if(o.callbackId){const l=this.sourceName,d=o.sourceName;new Promise(function(u){u(a(o.data))}).then(function(u){n.postMessage({sourceName:l,targetName:d,callback:N6.DATA,callbackId:o.callbackId,data:u})},function(u){n.postMessage({sourceName:l,targetName:d,callback:N6.ERROR,callbackId:o.callbackId,reason:Is(u)})});return}if(o.streamId){this.#e(o);return}a(o.data)},n.addEventListener("message",this._onComObjOnMessage)}on(t,r){const n=this.actionHandler;if(n[t])throw new Error(`There is already an actionName called "${t}"`);n[t]=r}send(t,r,n){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,data:r},n)}sendWithPromise(t,r,n){const i=this.callbackId++,o=Promise.withResolvers();this.callbackCapabilities[i]=o;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,callbackId:i,data:r},n)}catch(a){o.reject(a)}return o.promise}sendWithStream(t,r,n,i){const o=this.streamId++,a=this.sourceName,l=this.targetName,d=this.comObj;return new ReadableStream({start:u=>{const p=Promise.withResolvers();return this.streamControllers[o]={controller:u,startCall:p,pullCall:null,cancelCall:null,isClosed:!1},d.postMessage({sourceName:a,targetName:l,action:t,streamId:o,data:r,desiredSize:u.desiredSize},i),p.promise},pull:u=>{const p=Promise.withResolvers();return this.streamControllers[o].pullCall=p,d.postMessage({sourceName:a,targetName:l,stream:ao.PULL,streamId:o,desiredSize:u.desiredSize}),p.promise},cancel:u=>{Lo(u instanceof Error,"cancel must have a valid reason");const p=Promise.withResolvers();return this.streamControllers[o].cancelCall=p,this.streamControllers[o].isClosed=!0,d.postMessage({sourceName:a,targetName:l,stream:ao.CANCEL,streamId:o,reason:Is(u)}),p.promise}},n)}#e(t){const r=t.streamId,n=this.sourceName,i=t.sourceName,o=this.comObj,a=this,l=this.actionHandler[t.action],d={enqueue(u,p=1,h){if(this.isCancelled)return;const f=this.desiredSize;this.desiredSize-=p,f>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),o.postMessage({sourceName:n,targetName:i,stream:ao.ENQUEUE,streamId:r,chunk:u},h)},close(){this.isCancelled||(this.isCancelled=!0,o.postMessage({sourceName:n,targetName:i,stream:ao.CLOSE,streamId:r}),delete a.streamSinks[r])},error(u){Lo(u instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,o.postMessage({sourceName:n,targetName:i,stream:ao.ERROR,streamId:r,reason:Is(u)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:t.desiredSize,ready:null};d.sinkCapability.resolve(),d.ready=d.sinkCapability.promise,this.streamSinks[r]=d,new Promise(function(u){u(l(t.data,d))}).then(function(){o.postMessage({sourceName:n,targetName:i,stream:ao.START_COMPLETE,streamId:r,success:!0})},function(u){o.postMessage({sourceName:n,targetName:i,stream:ao.START_COMPLETE,streamId:r,reason:Is(u)})})}#t(t){const r=t.streamId,n=this.sourceName,i=t.sourceName,o=this.comObj,a=this.streamControllers[r],l=this.streamSinks[r];switch(t.stream){case ao.START_COMPLETE:t.success?a.startCall.resolve():a.startCall.reject(Is(t.reason));break;case ao.PULL_COMPLETE:t.success?a.pullCall.resolve():a.pullCall.reject(Is(t.reason));break;case ao.PULL:if(!l){o.postMessage({sourceName:n,targetName:i,stream:ao.PULL_COMPLETE,streamId:r,success:!0});break}l.desiredSize<=0&&t.desiredSize>0&&l.sinkCapability.resolve(),l.desiredSize=t.desiredSize,new Promise(function(d){d(l.onPull?.())}).then(function(){o.postMessage({sourceName:n,targetName:i,stream:ao.PULL_COMPLETE,streamId:r,success:!0})},function(d){o.postMessage({sourceName:n,targetName:i,stream:ao.PULL_COMPLETE,streamId:r,reason:Is(d)})});break;case ao.ENQUEUE:if(Lo(a,"enqueue should have stream controller"),a.isClosed)break;a.controller.enqueue(t.chunk);break;case ao.CLOSE:if(Lo(a,"close should have stream controller"),a.isClosed)break;a.isClosed=!0,a.controller.close(),this.#r(a,r);break;case ao.ERROR:Lo(a,"error should have stream controller"),a.controller.error(Is(t.reason)),this.#r(a,r);break;case ao.CANCEL_COMPLETE:t.success?a.cancelCall.resolve():a.cancelCall.reject(Is(t.reason)),this.#r(a,r);break;case ao.CANCEL:if(!l)break;new Promise(function(d){d(l.onCancel?.(Is(t.reason)))}).then(function(){o.postMessage({sourceName:n,targetName:i,stream:ao.CANCEL_COMPLETE,streamId:r,success:!0})},function(d){o.postMessage({sourceName:n,targetName:i,stream:ao.CANCEL_COMPLETE,streamId:r,reason:Is(d)})}),l.sinkCapability.reject(Is(t.reason)),l.isCancelled=!0,delete this.streamSinks[r];break;default:throw new Error("Unexpected stream case")}}async#r(t,r){await Promise.allSettled([t.startCall?.promise,t.pullCall?.promise,t.cancelCall?.promise]),delete this.streamControllers[r]}destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}class yut{#e;#t;constructor({parsedData:t,rawData:r}){this.#e=t,this.#t=r}getRaw(){return this.#t}get(t){return this.#e.get(t)??null}getAll(){return GO(this.#e)}has(t){return this.#e.has(t)}}const H2=Symbol("INTERNAL");class vut{#e=!1;#t=!1;#r=!1;#i=!0;constructor(t,{name:r,intent:n,usage:i}){this.#e=!!(t&$l.DISPLAY),this.#t=!!(t&$l.PRINT),this.name=r,this.intent=n,this.usage=i}get visible(){if(this.#r)return this.#i;if(!this.#i)return!1;const{print:t,view:r}=this.usage;return this.#e?r?.viewState!=="OFF":this.#t?t?.printState!=="OFF":!0}_setVisible(t,r,n=!1){t!==H2&&Qn("Internal method `_setVisible` called."),this.#r=n,this.#i=r}}class but{#e=null;#t=new Map;#r=null;#i=null;constructor(t,r=$l.DISPLAY){if(this.renderingIntent=r,this.name=null,this.creator=null,t!==null){this.name=t.name,this.creator=t.creator,this.#i=t.order;for(const n of t.groups)this.#t.set(n.id,new vut(r,n));if(t.baseState==="OFF")for(const n of this.#t.values())n._setVisible(H2,!1);for(const n of t.on)this.#t.get(n)._setVisible(H2,!0);for(const n of t.off)this.#t.get(n)._setVisible(H2,!1);this.#r=this.getHash()}}#s(t){const r=t.length;if(r<2)return!0;const n=t[0];for(let i=1;i<r;i++){const o=t[i];let a;if(Array.isArray(o))a=this.#s(o);else if(this.#t.has(o))a=this.#t.get(o).visible;else return Jr(`Optional content group not found: ${o}`),!0;switch(n){case"And":if(!a)return!1;break;case"Or":if(a)return!0;break;case"Not":return!a;default:return!0}}return n==="And"}isVisible(t){if(this.#t.size===0)return!0;if(!t)return Tx("Optional content group not defined."),!0;if(t.type==="OCG")return this.#t.has(t.id)?this.#t.get(t.id).visible:(Jr(`Optional content group not found: ${t.id}`),!0);if(t.type==="OCMD"){if(t.expression)return this.#s(t.expression);if(!t.policy||t.policy==="AnyOn"){for(const r of t.ids){if(!this.#t.has(r))return Jr(`Optional content group not found: ${r}`),!0;if(this.#t.get(r).visible)return!0}return!1}else if(t.policy==="AllOn"){for(const r of t.ids){if(!this.#t.has(r))return Jr(`Optional content group not found: ${r}`),!0;if(!this.#t.get(r).visible)return!1}return!0}else if(t.policy==="AnyOff"){for(const r of t.ids){if(!this.#t.has(r))return Jr(`Optional content group not found: ${r}`),!0;if(!this.#t.get(r).visible)return!0}return!1}else if(t.policy==="AllOff"){for(const r of t.ids){if(!this.#t.has(r))return Jr(`Optional content group not found: ${r}`),!0;if(this.#t.get(r).visible)return!1}return!0}return Jr(`Unknown optional content policy ${t.policy}.`),!0}return Jr(`Unknown group type ${t.type}.`),!0}setVisibility(t,r=!0){const n=this.#t.get(t);if(!n){Jr(`Optional content group not found: ${t}`);return}n._setVisible(H2,!!r,!0),this.#e=null}setOCGState({state:t,preserveRB:r}){let n;for(const i of t){switch(i){case"ON":case"OFF":case"Toggle":n=i;continue}const o=this.#t.get(i);if(o)switch(n){case"ON":o._setVisible(H2,!0);break;case"OFF":o._setVisible(H2,!1);break;case"Toggle":o._setVisible(H2,!o.visible);break}}this.#e=null}get hasInitialVisibility(){return this.#r===null||this.getHash()===this.#r}getOrder(){return this.#t.size?this.#i?this.#i.slice():[...this.#t.keys()]:null}getGroups(){return this.#t.size>0?GO(this.#t):null}getGroup(t){return this.#t.get(t)||null}getHash(){if(this.#e!==null)return this.#e;const t=new Jge;for(const[r,n]of this.#t)t.update(`${r}:${n.visible}`);return this.#e=t.hexdigest()}}class wut{constructor(t,{disableRange:r=!1,disableStream:n=!1}){Lo(t,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.');const{length:i,initialData:o,progressiveDone:a,contentDispositionFilename:l}=t;if(this._queuedChunks=[],this._progressiveDone=a,this._contentDispositionFilename=l,o?.length>0){const d=o instanceof Uint8Array&&o.byteLength===o.buffer.byteLength?o.buffer:new Uint8Array(o).buffer;this._queuedChunks.push(d)}this._pdfDataRangeTransport=t,this._isStreamingSupported=!n,this._isRangeSupported=!r,this._contentLength=i,this._fullRequestReader=null,this._rangeReaders=[],t.addRangeListener((d,u)=>{this._onReceiveData({begin:d,chunk:u})}),t.addProgressListener((d,u)=>{this._onProgress({loaded:d,total:u})}),t.addProgressiveReadListener(d=>{this._onReceiveData({chunk:d})}),t.addProgressiveDoneListener(()=>{this._onProgressiveDone()}),t.transportReady()}_onReceiveData({begin:t,chunk:r}){const n=r instanceof Uint8Array&&r.byteLength===r.buffer.byteLength?r.buffer:new Uint8Array(r).buffer;if(t===void 0)this._fullRequestReader?this._fullRequestReader._enqueue(n):this._queuedChunks.push(n);else{const i=this._rangeReaders.some(function(o){return o._begin!==t?!1:(o._enqueue(n),!0)});Lo(i,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}_onProgress(t){t.total===void 0?this._rangeReaders[0]?.onProgress?.({loaded:t.loaded}):this._fullRequestReader?.onProgress?.({loaded:t.loaded,total:t.total})}_onProgressiveDone(){this._fullRequestReader?.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(t){const r=this._rangeReaders.indexOf(t);r>=0&&this._rangeReaders.splice(r,1)}getFullReader(){Lo(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const t=this._queuedChunks;return this._queuedChunks=null,new xut(this,t,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(t,r){if(r<=this._progressiveDataLength)return null;const n=new Cut(this,t,r);return this._pdfDataRangeTransport.requestDataRange(t,r),this._rangeReaders.push(n),n}cancelAllRequests(t){this._fullRequestReader?.cancel(t);for(const r of this._rangeReaders.slice(0))r.cancel(t);this._pdfDataRangeTransport.abort()}}class xut{constructor(t,r,n=!1,i=null){this._stream=t,this._done=n||!1,this._filename=QO(i)?i:null,this._queuedChunks=r||[],this._loaded=0;for(const o of this._queuedChunks)this._loaded+=o.byteLength;this._requests=[],this._headersReady=Promise.resolve(),t._fullRequestReader=this,this.onProgress=null}_enqueue(t){this._done||(this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunks.push(t),this._loaded+=t.byteLength)}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}async read(){if(this._queuedChunks.length>0)return{value:this._queuedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0;for(const r of this._requests)r.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class Cut{constructor(t,r,n){this._stream=t,this._begin=r,this._end=n,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(t){if(!this._done){if(this._requests.length===0)this._queuedChunk=t;else{this._requests.shift().resolve({value:t,done:!1});for(const n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}async read(){if(this._queuedChunk){const r=this._queuedChunk;return this._queuedChunk=null,{value:r,done:!1}}if(this._done)return{value:void 0,done:!0};const t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0;for(const r of this._requests)r.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}function $ut(e){let t=!0,r=n("filename\\*","i").exec(e);if(r){r=r[1];let p=l(r);return p=unescape(p),p=d(p),p=u(p),o(p)}if(r=a(e),r){const p=u(r);return o(p)}if(r=n("filename","i").exec(e),r){r=r[1];let p=l(r);return p=u(p),o(p)}function n(p,h){return new RegExp("(?:^|;)\\s*"+p+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',h)}function i(p,h){if(p){if(!/^[\x00-\xFF]+$/.test(h))return h;try{const f=new TextDecoder(p,{fatal:!0}),g=Lx(h);h=f.decode(g),t=!1}catch{}}return h}function o(p){return t&&/[\x80-\xff]/.test(p)&&(p=i("utf-8",p),t&&(p=i("iso-8859-1",p))),p}function a(p){const h=[];let f;const g=n("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;(f=g.exec(p))!==null;){let[,v,w,x]=f;if(v=parseInt(v,10),v in h){if(v===0)break;continue}h[v]=[w,x]}const y=[];for(let v=0;v<h.length&&v in h;++v){let[w,x]=h[v];x=l(x),w&&(x=unescape(x),v===0&&(x=d(x))),y.push(x)}return y.join("")}function l(p){if(p.startsWith('"')){const h=p.slice(1).split('\\"');for(let f=0;f<h.length;++f){const g=h[f].indexOf('"');g!==-1&&(h[f]=h[f].slice(0,g),h.length=f+1),h[f]=h[f].replaceAll(/\\(.)/g,"$1")}p=h.join('"')}return p}function d(p){const h=p.indexOf("'");if(h===-1)return p;const f=p.slice(0,h),y=p.slice(h+1).replace(/^[^']*'/,"");return i(f,y)}function u(p){return!p.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(p)?p:p.replaceAll(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,function(h,f,g,y){if(g==="q"||g==="Q")return y=y.replaceAll("_"," "),y=y.replaceAll(/=([0-9a-fA-F]{2})/g,function(v,w){return String.fromCharCode(parseInt(w,16))}),i(f,y);try{y=atob(y)}catch{}return i(f,y)})}return""}function iN({getResponseHeader:e,isHttp:t,rangeChunkSize:r,disableRange:n}){const i={allowRangeRequests:!1,suggestedLength:void 0},o=parseInt(e("Content-Length"),10);return!Number.isInteger(o)||(i.suggestedLength=o,o<=2*r)||n||!t||e("Accept-Ranges")!=="bytes"||(e("Content-Encoding")||"identity")!=="identity"||(i.allowRangeRequests=!0),i}function oN(e){const t=e("Content-Disposition");if(t){let r=$ut(t);if(r.includes("%"))try{r=decodeURIComponent(r)}catch{}if(QO(r))return r}return null}function Rx(e,t){return e===404||e===0&&t.startsWith("file:")?new Tm('Missing PDF "'+t+'".'):new Ax(`Unexpected server response (${e}) while retrieving PDF "${t}".`,e)}function r4e(e){return e===200||e===206}function n4e(e,t,r){return{method:"GET",headers:e,signal:r.signal,mode:"cors",credentials:t?"include":"same-origin",redirect:"follow"}}function i4e(e){const t=new Headers;for(const r in e){const n=e[r];n!==void 0&&t.append(r,n)}return t}function o4e(e){return e instanceof Uint8Array?e.buffer:e instanceof ArrayBuffer?e:(Jr(`getArrayBuffer - unexpected data format: ${e}`),new Uint8Array(e).buffer)}class aJ{constructor(t){this.source=t,this.isHttp=/^https?:/i.test(t.url),this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return Lo(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new Sut(this),this._fullRequestReader}getRangeReader(t,r){if(r<=this._progressiveDataLength)return null;const n=new kut(this,t,r);return this._rangeRequestReaders.push(n),n}cancelAllRequests(t){this._fullRequestReader?.cancel(t);for(const r of this._rangeRequestReaders.slice(0))r.cancel(t)}}class Sut{constructor(t){this._stream=t,this._reader=null,this._loaded=0,this._filename=null;const r=t.source;this._withCredentials=r.withCredentials||!1,this._contentLength=r.length,this._headersCapability=Promise.withResolvers(),this._disableRange=r.disableRange||!1,this._rangeChunkSize=r.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._abortController=new AbortController,this._isStreamingSupported=!r.disableStream,this._isRangeSupported=!r.disableRange,this._headers=i4e(this._stream.httpHeaders);const n=r.url;fetch(n,n4e(this._headers,this._withCredentials,this._abortController)).then(i=>{if(!r4e(i.status))throw Rx(i.status,n);this._reader=i.body.getReader(),this._headersCapability.resolve();const o=d=>i.headers.get(d),{allowRangeRequests:a,suggestedLength:l}=iN({getResponseHeader:o,isHttp:this._stream.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=a,this._contentLength=l||this._contentLength,this._filename=oN(o),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new Am("Streaming is disabled."))}).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){await this._headersCapability.promise;const{value:t,done:r}=await this._reader.read();return r?{value:t,done:r}:(this._loaded+=t.byteLength,this.onProgress?.({loaded:this._loaded,total:this._contentLength}),{value:o4e(t),done:!1})}cancel(t){this._reader?.cancel(t),this._abortController.abort()}}class kut{constructor(t,r,n){this._stream=t,this._reader=null,this._loaded=0;const i=t.source;this._withCredentials=i.withCredentials||!1,this._readCapability=Promise.withResolvers(),this._isStreamingSupported=!i.disableStream,this._abortController=new AbortController,this._headers=i4e(this._stream.httpHeaders),this._headers.append("Range",`bytes=${r}-${n-1}`);const o=i.url;fetch(o,n4e(this._headers,this._withCredentials,this._abortController)).then(a=>{if(!r4e(a.status))throw Rx(a.status,o);this._readCapability.resolve(),this._reader=a.body.getReader()}).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}async read(){await this._readCapability.promise;const{value:t,done:r}=await this._reader.read();return r?{value:t,done:r}:(this._loaded+=t.byteLength,this.onProgress?.({loaded:this._loaded}),{value:o4e(t),done:!1})}cancel(t){this._reader?.cancel(t),this._abortController.abort()}}const pL=200,hL=206;function Eut(e){const t=e.response;return typeof t!="string"?t:Lx(t).buffer}class _ut{constructor(t,r={}){this.url=t,this.isHttp=/^https?:/i.test(t),this.httpHeaders=this.isHttp&&r.httpHeaders||Object.create(null),this.withCredentials=r.withCredentials||!1,this.currXhrId=0,this.pendingRequests=Object.create(null)}requestRange(t,r,n){const i={begin:t,end:r};for(const o in n)i[o]=n[o];return this.request(i)}requestFull(t){return this.request(t)}request(t){const r=new XMLHttpRequest,n=this.currXhrId++,i=this.pendingRequests[n]={xhr:r};r.open("GET",this.url),r.withCredentials=this.withCredentials;for(const o in this.httpHeaders){const a=this.httpHeaders[o];a!==void 0&&r.setRequestHeader(o,a)}return this.isHttp&&"begin"in t&&"end"in t?(r.setRequestHeader("Range",`bytes=${t.begin}-${t.end-1}`),i.expectedStatus=hL):i.expectedStatus=pL,r.responseType="arraybuffer",t.onError&&(r.onerror=function(o){t.onError(r.status)}),r.onreadystatechange=this.onStateChange.bind(this,n),r.onprogress=this.onProgress.bind(this,n),i.onHeadersReceived=t.onHeadersReceived,i.onDone=t.onDone,i.onError=t.onError,i.onProgress=t.onProgress,r.send(null),n}onProgress(t,r){const n=this.pendingRequests[t];n&&n.onProgress?.(r)}onStateChange(t,r){const n=this.pendingRequests[t];if(!n)return;const i=n.xhr;if(i.readyState>=2&&n.onHeadersReceived&&(n.onHeadersReceived(),delete n.onHeadersReceived),i.readyState!==4||!(t in this.pendingRequests))return;if(delete this.pendingRequests[t],i.status===0&&this.isHttp){n.onError?.(i.status);return}const o=i.status||pL;if(!(o===pL&&n.expectedStatus===hL)&&o!==n.expectedStatus){n.onError?.(i.status);return}const l=Eut(i);if(o===hL){const d=i.getResponseHeader("Content-Range"),u=/bytes (\d+)-(\d+)\/(\d+)/.exec(d);n.onDone({begin:parseInt(u[1],10),chunk:l})}else l?n.onDone({begin:0,chunk:l}):n.onError?.(i.status)}getRequestXhr(t){return this.pendingRequests[t].xhr}isPendingRequest(t){return t in this.pendingRequests}abortRequest(t){const r=this.pendingRequests[t].xhr;delete this.pendingRequests[t],r.abort()}}class Tut{constructor(t){this._source=t,this._manager=new _ut(t.url,{httpHeaders:t.httpHeaders,withCredentials:t.withCredentials}),this._rangeChunkSize=t.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(t){const r=this._rangeRequestReaders.indexOf(t);r>=0&&this._rangeRequestReaders.splice(r,1)}getFullReader(){return Lo(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new Aut(this._manager,this._source),this._fullRequestReader}getRangeReader(t,r){const n=new Lut(this._manager,t,r);return n.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(n),n}cancelAllRequests(t){this._fullRequestReader?.cancel(t);for(const r of this._rangeRequestReaders.slice(0))r.cancel(t)}}class Aut{constructor(t,r){this._manager=t;const n={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=r.url,this._fullRequestId=t.requestFull(n),this._headersReceivedCapability=Promise.withResolvers(),this._disableRange=r.disableRange||!1,this._contentLength=r.length,this._rangeChunkSize=r.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){const t=this._fullRequestId,r=this._manager.getRequestXhr(t),n=a=>r.getResponseHeader(a),{allowRangeRequests:i,suggestedLength:o}=iN({getResponseHeader:n,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});i&&(this._isRangeSupported=!0),this._contentLength=o||this._contentLength,this._filename=oN(n),this._isRangeSupported&&this._manager.abortRequest(t),this._headersReceivedCapability.resolve()}_onDone(t){if(t&&(this._requests.length>0?this._requests.shift().resolve({value:t.chunk,done:!1}):this._cachedChunks.push(t.chunk)),this._done=!0,!(this._cachedChunks.length>0)){for(const r of this._requests)r.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(t){this._storedError=Rx(t,this._url),this._headersReceivedCapability.reject(this._storedError);for(const r of this._requests)r.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(t){this.onProgress?.({loaded:t.loaded,total:t.lengthComputable?t.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersReceivedCapability.promise}async read(){if(this._storedError)throw this._storedError;if(this._cachedChunks.length>0)return{value:this._cachedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0,this._headersReceivedCapability.reject(t);for(const r of this._requests)r.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class Lut{constructor(t,r,n){this._manager=t;const i={onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=t.url,this._requestId=t.requestRange(r,n,i),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_close(){this.onClosed?.(this)}_onDone(t){const r=t.chunk;this._requests.length>0?this._requests.shift().resolve({value:r,done:!1}):this._queuedChunk=r,this._done=!0;for(const n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(t){this._storedError=Rx(t,this._url);for(const r of this._requests)r.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(t){this.isStreamingSupported||this.onProgress?.({loaded:t.loaded})}get isStreamingSupported(){return!1}async read(){if(this._storedError)throw this._storedError;if(this._queuedChunk!==null){const r=this._queuedChunk;return this._queuedChunk=null,{value:r,done:!1}}if(this._done)return{value:void 0,done:!0};const t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0;for(const r of this._requests)r.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}const a4e=/^file:\/\/\/[a-zA-Z]:\//;function Dut(e){const t=j1.get("url"),r=t.parse(e);return r.protocol==="file:"||r.host?r:/^[a-z]:[/\\]/i.test(e)?t.parse(`file:///${e}`):(r.host||(r.protocol="file:"),r)}class Put{constructor(t){this.source=t,this.url=Dut(t.url),this.isHttp=this.url.protocol==="http:"||this.url.protocol==="https:",this.isFsUrl=this.url.protocol==="file:",this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return Lo(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new jut(this):new Mut(this),this._fullRequestReader}getRangeReader(t,r){if(r<=this._progressiveDataLength)return null;const n=this.isFsUrl?new Rut(this,t,r):new Iut(this,t,r);return this._rangeRequestReaders.push(n),n}cancelAllRequests(t){this._fullRequestReader?.cancel(t);for(const r of this._rangeRequestReaders.slice(0))r.cancel(t)}}class s4e{constructor(t){this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null;const r=t.source;this._contentLength=r.length,this._loaded=0,this._filename=null,this._disableRange=r.disableRange||!1,this._rangeChunkSize=r.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!r.disableStream,this._isRangeSupported=!r.disableRange,this._readableStream=null,this._readCapability=Promise.withResolvers(),this._headersCapability=Promise.withResolvers()}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const t=this._readableStream.read();return t===null?(this._readCapability=Promise.withResolvers(),this.read()):(this._loaded+=t.length,this.onProgress?.({loaded:this._loaded,total:this._contentLength}),{value:new Uint8Array(t).buffer,done:!1})}cancel(t){if(!this._readableStream){this._error(t);return}this._readableStream.destroy(t)}_error(t){this._storedError=t,this._readCapability.resolve()}_setReadableStream(t){this._readableStream=t,t.on("readable",()=>{this._readCapability.resolve()}),t.on("end",()=>{t.destroy(),this._done=!0,this._readCapability.resolve()}),t.on("error",r=>{this._error(r)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new Am("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class l4e{constructor(t){this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=Promise.withResolvers();const r=t.source;this._isStreamingSupported=!r.disableStream}get isStreamingSupported(){return this._isStreamingSupported}async read(){if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const t=this._readableStream.read();return t===null?(this._readCapability=Promise.withResolvers(),this.read()):(this._loaded+=t.length,this.onProgress?.({loaded:this._loaded}),{value:new Uint8Array(t).buffer,done:!1})}cancel(t){if(!this._readableStream){this._error(t);return}this._readableStream.destroy(t)}_error(t){this._storedError=t,this._readCapability.resolve()}_setReadableStream(t){this._readableStream=t,t.on("readable",()=>{this._readCapability.resolve()}),t.on("end",()=>{t.destroy(),this._done=!0,this._readCapability.resolve()}),t.on("error",r=>{this._error(r)}),this._storedError&&this._readableStream.destroy(this._storedError)}}function pb(e,t){return{protocol:e.protocol,auth:e.auth,host:e.hostname,port:e.port,path:e.path,method:"GET",headers:t}}class Mut extends s4e{constructor(t){super(t);const r=n=>{if(n.statusCode===404){const l=new Tm(`Missing PDF "${this._url}".`);this._storedError=l,this._headersCapability.reject(l);return}this._headersCapability.resolve(),this._setReadableStream(n);const i=l=>this._readableStream.headers[l.toLowerCase()],{allowRangeRequests:o,suggestedLength:a}=iN({getResponseHeader:i,isHttp:t.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=o,this._contentLength=a||this._contentLength,this._filename=oN(i)};if(this._request=null,this._url.protocol==="http:"){const n=j1.get("http");this._request=n.request(pb(this._url,t.httpHeaders),r)}else{const n=j1.get("https");this._request=n.request(pb(this._url,t.httpHeaders),r)}this._request.on("error",n=>{this._storedError=n,this._headersCapability.reject(n)}),this._request.end()}}class Iut extends l4e{constructor(t,r,n){super(t),this._httpHeaders={};for(const o in t.httpHeaders){const a=t.httpHeaders[o];a!==void 0&&(this._httpHeaders[o]=a)}this._httpHeaders.Range=`bytes=${r}-${n-1}`;const i=o=>{if(o.statusCode===404){const a=new Tm(`Missing PDF "${this._url}".`);this._storedError=a;return}this._setReadableStream(o)};if(this._request=null,this._url.protocol==="http:"){const o=j1.get("http");this._request=o.request(pb(this._url,this._httpHeaders),i)}else{const o=j1.get("https");this._request=o.request(pb(this._url,this._httpHeaders),i)}this._request.on("error",o=>{this._storedError=o}),this._request.end()}}class jut extends s4e{constructor(t){super(t);let r=decodeURIComponent(this._url.path);a4e.test(this._url.href)&&(r=r.replace(/^\//,""));const n=j1.get("fs");n.promises.lstat(r).then(i=>{this._contentLength=i.size,this._setReadableStream(n.createReadStream(r)),this._headersCapability.resolve()},i=>{i.code==="ENOENT"&&(i=new Tm(`Missing PDF "${r}".`)),this._storedError=i,this._headersCapability.reject(i)})}}class Rut extends l4e{constructor(t,r,n){super(t);let i=decodeURIComponent(this._url.path);a4e.test(this._url.href)&&(i=i.replace(/^\//,""));const o=j1.get("fs");this._setReadableStream(o.createReadStream(i,{start:r,end:n-1}))}}const Fut=1e5,ss=30,Out=.8;let hb=class Qd{#e=Promise.withResolvers();#t=null;#r=!1;#i=!!globalThis.FontInspector?.enabled;#s=null;#n=null;#o=0;#l=0;#d=null;#u=null;#h=0;#c=0;#a=Object.create(null);#m=[];#g=null;#p=[];#v=new WeakMap;#f=null;static#b=new Map;static#x=new Map;static#$=null;static#k=new Set;constructor({textContentSource:t,container:r,viewport:n}){if(t instanceof ReadableStream)this.#g=t;else if(typeof t=="object")this.#g=new ReadableStream({start(d){d.enqueue(t),d.close()}});else throw new Error('No "textContentSource" parameter specified.');this.#t=this.#u=r,this.#c=n.scale*(globalThis.devicePixelRatio||1),this.#h=n.rotation,this.#n={prevFontSize:null,prevFontFamily:null,div:null,properties:null,ctx:null};const{pageWidth:i,pageHeight:o,pageX:a,pageY:l}=n.rawDims;this.#f=[1,0,0,-1,-a,l+o],this.#l=i,this.#o=o,Qd.#y(),cm(r,n),this.#e.promise.catch(()=>{}).then(()=>{Qd.#k.delete(this),this.#n=null,this.#a=null})}render(){const t=()=>{this.#d.read().then(({value:r,done:n})=>{if(n){this.#e.resolve();return}this.#s??=r.lang,Object.assign(this.#a,r.styles),this.#E(r.items),t()},this.#e.reject)};return this.#d=this.#g.getReader(),Qd.#k.add(this),t(),this.#e.promise}update({viewport:t,onBefore:r=null}){const n=t.scale*(globalThis.devicePixelRatio||1),i=t.rotation;if(i!==this.#h&&(r?.(),this.#h=i,cm(this.#u,{rotation:i})),n!==this.#c){r?.(),this.#c=n;const o={prevFontSize:null,prevFontFamily:null,div:null,properties:null,ctx:Qd.#w(this.#s)};for(const a of this.#p)o.properties=this.#v.get(a),o.div=a,this.#S(o)}}cancel(){const t=new Am("TextLayer task cancelled.");this.#d?.cancel(t).catch(()=>{}),this.#d=null,this.#e.reject(t)}get textDivs(){return this.#p}get textContentItemsStr(){return this.#m}#E(t){if(this.#r)return;this.#n.ctx??=Qd.#w(this.#s);const r=this.#p,n=this.#m;for(const i of t){if(r.length>Fut){Jr("Ignoring additional textDivs for performance reasons."),this.#r=!0;return}if(i.str===void 0){if(i.type==="beginMarkedContentProps"||i.type==="beginMarkedContent"){const o=this.#t;this.#t=document.createElement("span"),this.#t.classList.add("markedContent"),i.id!==null&&this.#t.setAttribute("id",`${i.id}`),o.append(this.#t)}else i.type==="endMarkedContent"&&(this.#t=this.#t.parentNode);continue}n.push(i.str),this.#L(i)}}#L(t){const r=document.createElement("span"),n={angle:0,canvasWidth:0,hasText:t.str!=="",hasEOL:t.hasEOL,fontSize:0};this.#p.push(r);const i=lr.transform(this.#f,t.transform);let o=Math.atan2(i[1],i[0]);const a=this.#a[t.fontName];a.vertical&&(o+=Math.PI/2);const l=this.#i&&a.fontSubstitution||a.fontFamily,d=Math.hypot(i[2],i[3]),u=d*Qd.#C(l,this.#s);let p,h;o===0?(p=i[4],h=i[5]-u):(p=i[4]+u*Math.sin(o),h=i[5]-u*Math.cos(o));const f="calc(var(--scale-factor)*",g=r.style;this.#t===this.#u?(g.left=`${(100*p/this.#l).toFixed(2)}%`,g.top=`${(100*h/this.#o).toFixed(2)}%`):(g.left=`${f}${p.toFixed(2)}px)`,g.top=`${f}${h.toFixed(2)}px)`),g.fontSize=`${f}${(Qd.#$*d).toFixed(2)}px)`,g.fontFamily=l,n.fontSize=d,r.setAttribute("role","presentation"),r.textContent=t.str,r.dir=t.dir,this.#i&&(r.dataset.fontName=a.fontSubstitutionLoadedName||t.fontName),o!==0&&(n.angle=o*(180/Math.PI));let y=!1;if(t.str.length>1)y=!0;else if(t.str!==" "&&t.transform[0]!==t.transform[3]){const v=Math.abs(t.transform[0]),w=Math.abs(t.transform[3]);v!==w&&Math.max(v,w)/Math.min(v,w)>1.5&&(y=!0)}if(y&&(n.canvasWidth=a.vertical?t.height:t.width),this.#v.set(r,n),this.#n.div=r,this.#n.properties=n,this.#S(this.#n),n.hasText&&this.#t.append(r),n.hasEOL){const v=document.createElement("br");v.setAttribute("role","presentation"),this.#t.append(v)}}#S(t){const{div:r,properties:n,ctx:i,prevFontSize:o,prevFontFamily:a}=t,{style:l}=r;let d="";if(Qd.#$>1&&(d=`scale(${1/Qd.#$})`),n.canvasWidth!==0&&n.hasText){const{fontFamily:u}=l,{canvasWidth:p,fontSize:h}=n;(o!==h||a!==u)&&(i.font=`${h*this.#c}px ${u}`,t.prevFontSize=h,t.prevFontFamily=u);const{width:f}=i.measureText(r.textContent);f>0&&(d=`scaleX(${p*this.#c/f}) ${d}`)}n.angle!==0&&(d=`rotate(${n.angle}deg) ${d}`),d.length>0&&(l.transform=d)}static cleanup(){if(!(this.#k.size>0)){this.#b.clear();for(const{canvas:t}of this.#x.values())t.remove();this.#x.clear()}}static#w(t=null){let r=this.#x.get(t||="");if(!r){const n=document.createElement("canvas");n.className="hiddenCanvasElement",n.lang=t,document.body.append(n),r=n.getContext("2d",{alpha:!1,willReadFrequently:!0}),this.#x.set(t,r)}return r}static#y(){if(this.#$!==null)return;const t=document.createElement("div");t.style.opacity=0,t.style.lineHeight=1,t.style.fontSize="1px",t.textContent="X",document.body.append(t),this.#$=t.getBoundingClientRect().height,t.remove()}static#C(t,r){const n=this.#b.get(t);if(n)return n;const i=this.#w(r),o=i.font;i.canvas.width=i.canvas.height=ss,i.font=`${ss}px ${t}`;const a=i.measureText("");let l=a.fontBoundingBoxAscent,d=Math.abs(a.fontBoundingBoxDescent);if(l){const h=l/(l+d);return this.#b.set(t,h),i.canvas.width=i.canvas.height=0,i.font=o,h}i.strokeStyle="red",i.clearRect(0,0,ss,ss),i.strokeText("g",0,0);let u=i.getImageData(0,0,ss,ss).data;d=0;for(let h=u.length-1-3;h>=0;h-=4)if(u[h]>0){d=Math.ceil(h/4/ss);break}i.clearRect(0,0,ss,ss),i.strokeText("A",0,ss),u=i.getImageData(0,0,ss,ss).data,l=0;for(let h=0,f=u.length;h<f;h+=4)if(u[h]>0){l=ss-Math.floor(h/4/ss);break}i.canvas.width=i.canvas.height=0,i.font=o;const p=l?l/(l+d):Out;return this.#b.set(t,p),p}};function Nut(){Qge("`renderTextLayer`, please use `TextLayer` instead.");const{textContentSource:e,container:t,viewport:r,...n}=arguments[0],i=Object.keys(n);i.length>0&&Jr("Ignoring `renderTextLayer` parameters: "+i.join(", "));const o=new hb({textContentSource:e,container:t,viewport:r}),{textDivs:a,textContentItemsStr:l}=o;return{promise:o.render(),textDivs:a,textContentItemsStr:l}}function zut(){Qge("`updateTextLayer`, please use `TextLayer` instead.")}class D7{static textContent(t){const r=[],n={items:r,styles:Object.create(null)};function i(o){if(!o)return;let a=null;const l=o.name;if(l==="#text")a=o.value;else if(D7.shouldBuildText(l))o?.attributes?.textContent?a=o.attributes.textContent:o.value&&(a=o.value);else return;if(a!==null&&r.push({str:a}),!!o.children)for(const d of o.children)i(d)}return i(t),n}static shouldBuildText(t){return!(t==="textarea"||t==="input"||t==="option"||t==="select")}}const But=65536,Hut=100,Vut=5e3,Uut=Ea?tut:H1t,Wut=Ea?rut:Zge,Gut=Ea?eut:B1t,Yut=Ea?nut:Kge;function qut(e={}){typeof e=="string"||e instanceof URL?e={url:e}:(e instanceof ArrayBuffer||ArrayBuffer.isView(e))&&(e={data:e});const t=new aN,{docId:r}=t,n=e.url?Zut(e.url):null,i=e.data?Kut(e.data):null,o=e.httpHeaders||null,a=e.withCredentials===!0,l=e.password??null,d=e.range instanceof c4e?e.range:null,u=Number.isInteger(e.rangeChunkSize)&&e.rangeChunkSize>0?e.rangeChunkSize:But;let p=e.worker instanceof kl?e.worker:null;const h=e.verbosity,f=typeof e.docBaseUrl=="string"&&!KO(e.docBaseUrl)?e.docBaseUrl:null,g=typeof e.cMapUrl=="string"?e.cMapUrl:null,y=e.cMapPacked!==!1,v=e.CMapReaderFactory||Wut,w=typeof e.standardFontDataUrl=="string"?e.standardFontDataUrl:null,x=e.StandardFontDataFactory||Yut,C=e.stopAtErrors!==!0,S=Number.isInteger(e.maxImageSize)&&e.maxImageSize>-1?e.maxImageSize:-1,k=e.isEvalSupported!==!1,T=typeof e.isOffscreenCanvasSupported=="boolean"?e.isOffscreenCanvasSupported:!Ea,E=Number.isInteger(e.canvasMaxAreaInBytes)?e.canvasMaxAreaInBytes:-1,D=typeof e.disableFontFace=="boolean"?e.disableFontFace:Ea,P=e.fontExtraProperties===!0,A=e.enableXfa===!0,I=e.ownerDocument||globalThis.document,H=e.disableRange===!0,R=e.disableStream===!0,Z=e.disableAutoFetch===!0,Y=e.pdfBug===!0,B=e.enableHWA===!0,V=d?d.length:e.length??NaN,j=typeof e.useSystemFonts=="boolean"?e.useSystemFonts:!Ea&&!D,L=typeof e.useWorkerFetch=="boolean"?e.useWorkerFetch:v===Zge&&x===Kge&&g&&w&&I5(g,document.baseURI)&&I5(w,document.baseURI),N=e.canvasFactory||new Uut({ownerDocument:I,enableHWA:B}),z=e.filterFactory||new Gut({docId:r,ownerDocument:I}),J=null;L1t(h);const q={canvasFactory:N,filterFactory:z};if(L||(q.cMapReaderFactory=new v({baseUrl:g,isCompressed:y}),q.standardFontDataFactory=new x({baseUrl:w})),!p){const X={verbosity:h,port:L7.workerPort};p=X.port?kl.fromPort(X):new kl(X),t._worker=p}const U={docId:r,apiVersion:"4.4.168",data:i,password:l,disableAutoFetch:Z,rangeChunkSize:u,length:V,docBaseUrl:f,enableXfa:A,evaluatorOptions:{maxImageSize:S,disableFontFace:D,ignoreErrors:C,isEvalSupported:k,isOffscreenCanvasSupported:T,canvasMaxAreaInBytes:E,fontExtraProperties:P,useSystemFonts:j,cMapUrl:L?g:null,standardFontDataUrl:L?w:null}},Q={disableFontFace:D,fontExtraProperties:P,ownerDocument:I,pdfBug:Y,styleElement:J,loadingParams:{disableAutoFetch:Z,enableXfa:A}};return p.promise.then(function(){if(t.destroyed)throw new Error("Loading aborted");if(p.destroyed)throw new Error("Worker was destroyed");const X=p.messageHandler.sendWithPromise("GetDocRequest",U,i?[i.buffer]:null);let oe;if(d)oe=new wut(d,{disableRange:H,disableStream:R});else if(!i){if(!n)throw new Error("getDocument - no `url` parameter provided.");oe=(ue=>Ea?function(){return typeof fetch<"u"&&typeof Response<"u"&&"body"in Response.prototype}()&&I5(ue.url)?new aJ(ue):new Put(ue):I5(ue.url)?new aJ(ue):new Tut(ue))({url:n,length:V,httpHeaders:o,withCredentials:a,rangeChunkSize:u,disableRange:H,disableStream:R})}return X.then(xe=>{if(t.destroyed)throw new Error("Loading aborted");if(p.destroyed)throw new Error("Worker was destroyed");const ue=new j5(r,xe,p.port),le=new e2t(ue,t,oe,Q,q);t._transport=le,ue.send("Ready",null)})}).catch(t._capability.reject),t}function Zut(e){if(e instanceof URL)return e.href;try{return new URL(e,window.location).href}catch{if(Ea&&typeof e=="string")return e}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.")}function Kut(e){if(Ea&&typeof lv<"u"&&e instanceof lv)throw new Error("Please provide binary data as `Uint8Array`, rather than `Buffer`.");if(e instanceof Uint8Array&&e.byteLength===e.buffer.byteLength)return e;if(typeof e=="string")return Lx(e);if(e instanceof ArrayBuffer||ArrayBuffer.isView(e)||typeof e=="object"&&!isNaN(e?.length))return new Uint8Array(e);throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.")}function sJ(e){return typeof e=="object"&&Number.isInteger(e?.num)&&e.num>=0&&Number.isInteger(e?.gen)&&e.gen>=0}class aN{static#e=0;constructor(){this._capability=Promise.withResolvers(),this._transport=null,this._worker=null,this.docId=`d${aN.#e++}`,this.destroyed=!1,this.onPassword=null,this.onProgress=null}get promise(){return this._capability.promise}async destroy(){this.destroyed=!0;try{this._worker?.port&&(this._worker._pendingDestroy=!0),await this._transport?.destroy()}catch(t){throw this._worker?.port&&delete this._worker._pendingDestroy,t}this._transport=null,this._worker&&(this._worker.destroy(),this._worker=null)}}let c4e=class{constructor(t,r,n=!1,i=null){this.length=t,this.initialData=r,this.progressiveDone=n,this.contentDispositionFilename=i,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=Promise.withResolvers()}addRangeListener(t){this._rangeListeners.push(t)}addProgressListener(t){this._progressListeners.push(t)}addProgressiveReadListener(t){this._progressiveReadListeners.push(t)}addProgressiveDoneListener(t){this._progressiveDoneListeners.push(t)}onDataRange(t,r){for(const n of this._rangeListeners)n(t,r)}onDataProgress(t,r){this._readyCapability.promise.then(()=>{for(const n of this._progressListeners)n(t,r)})}onDataProgressiveRead(t){this._readyCapability.promise.then(()=>{for(const r of this._progressiveReadListeners)r(t)})}onDataProgressiveDone(){this._readyCapability.promise.then(()=>{for(const t of this._progressiveDoneListeners)t()})}transportReady(){this._readyCapability.resolve()}requestDataRange(t,r){Qn("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}};class Qut{constructor(t,r){this._pdfInfo=t,this._transport=r}get annotationStorage(){return this._transport.annotationStorage}get filterFactory(){return this._transport.filterFactory}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get isPureXfa(){return bn(this,"isPureXfa",!!this._transport._htmlForXfa)}get allXfaHtml(){return this._transport._htmlForXfa}getPage(t){return this._transport.getPage(t)}getPageIndex(t){return this._transport.getPageIndex(t)}getDestinations(){return this._transport.getDestinations()}getDestination(t){return this._transport.getDestination(t)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig({intent:t="display"}={}){const{renderingIntent:r}=this._transport.getRenderingIntent(t);return this._transport.getOptionalContentConfig(r)}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}saveDocument(){return this._transport.saveDocument()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(t=!1){return this._transport.startCleanup(t||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}cachedPageNumber(t){return this._transport.cachedPageNumber(t)}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}class Xut{#e=null;#t=!1;constructor(t,r,n,i=!1){this._pageIndex=t,this._pageInfo=r,this._transport=n,this._stats=i?new YX:null,this._pdfBug=i,this.commonObjs=n.commonObjs,this.objs=new d4e,this._maybeCleanupAfterRender=!1,this._intentStates=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:t,rotation:r=this.rotate,offsetX:n=0,offsetY:i=0,dontFlip:o=!1}={}){return new y9({viewBox:this.view,scale:t,rotation:r,offsetX:n,offsetY:i,dontFlip:o})}getAnnotations({intent:t="display"}={}){const{renderingIntent:r}=this._transport.getRenderingIntent(t);return this._transport.getAnnotations(this._pageIndex,r)}getJSActions(){return this._transport.getPageJSActions(this._pageIndex)}get filterFactory(){return this._transport.filterFactory}get isPureXfa(){return bn(this,"isPureXfa",!!this._transport._htmlForXfa)}async getXfa(){return this._transport._htmlForXfa?.children[this._pageIndex]||null}render({canvasContext:t,viewport:r,intent:n="display",annotationMode:i=K2.ENABLE,transform:o=null,background:a=null,optionalContentConfigPromise:l=null,annotationCanvasMap:d=null,pageColors:u=null,printAnnotationStorage:p=null}){this._stats?.time("Overall");const h=this._transport.getRenderingIntent(n,i,p),{renderingIntent:f,cacheKey:g}=h;this.#t=!1,this.#i(),l||=this._transport.getOptionalContentConfig(f);let y=this._intentStates.get(g);y||(y=Object.create(null),this._intentStates.set(g,y)),y.streamReaderCancelTimeout&&(clearTimeout(y.streamReaderCancelTimeout),y.streamReaderCancelTimeout=null);const v=!!(f&$l.PRINT);y.displayReadyCapability||(y.displayReadyCapability=Promise.withResolvers(),y.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats?.time("Page Request"),this._pumpOperatorList(h));const w=S=>{y.renderTasks.delete(x),(this._maybeCleanupAfterRender||v)&&(this.#t=!0),this.#r(!v),S?(x.capability.reject(S),this._abortOperatorList({intentState:y,reason:S instanceof Error?S:new Error(S)})):x.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"),globalThis.Stats?.enabled&&globalThis.Stats.add(this.pageNumber,this._stats))},x=new hf({callback:w,params:{canvasContext:t,viewport:r,transform:o,background:a},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:d,operatorList:y.operatorList,pageIndex:this._pageIndex,canvasFactory:this._transport.canvasFactory,filterFactory:this._transport.filterFactory,useRequestAnimationFrame:!v,pdfBug:this._pdfBug,pageColors:u});(y.renderTasks||=new Set).add(x);const C=x.task;return Promise.all([y.displayReadyCapability.promise,l]).then(([S,k])=>{if(this.destroyed){w();return}if(this._stats?.time("Rendering"),!(k.renderingIntent&f))throw new Error("Must use the same `intent`-argument when calling the `PDFPageProxy.render` and `PDFDocumentProxy.getOptionalContentConfig` methods.");x.initializeGraphics({transparency:S,optionalContentConfig:k}),x.operatorListChanged()}).catch(w),C}getOperatorList({intent:t="display",annotationMode:r=K2.ENABLE,printAnnotationStorage:n=null}={}){function i(){a.operatorList.lastChunk&&(a.opListReadCapability.resolve(a.operatorList),a.renderTasks.delete(l))}const o=this._transport.getRenderingIntent(t,r,n,!0);let a=this._intentStates.get(o.cacheKey);a||(a=Object.create(null),this._intentStates.set(o.cacheKey,a));let l;return a.opListReadCapability||(l=Object.create(null),l.operatorListChanged=i,a.opListReadCapability=Promise.withResolvers(),(a.renderTasks||=new Set).add(l),a.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats?.time("Page Request"),this._pumpOperatorList(o)),a.opListReadCapability.promise}streamTextContent({includeMarkedContent:t=!1,disableNormalization:r=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,includeMarkedContent:t===!0,disableNormalization:r===!0},{highWaterMark:100,size(i){return i.items.length}})}getTextContent(t={}){if(this._transport._htmlForXfa)return this.getXfa().then(n=>D7.textContent(n));const r=this.streamTextContent(t);return new Promise(function(n,i){function o(){a.read().then(function({value:d,done:u}){if(u){n(l);return}l.lang??=d.lang,Object.assign(l.styles,d.styles),l.items.push(...d.items),o()},i)}const a=r.getReader(),l={items:[],styles:Object.create(null),lang:null};o()})}getStructTree(){return this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;const t=[];for(const r of this._intentStates.values())if(this._abortOperatorList({intentState:r,reason:new Error("Page was destroyed."),force:!0}),!r.opListReadCapability)for(const n of r.renderTasks)t.push(n.completed),n.cancel();return this.objs.clear(),this.#t=!1,this.#i(),Promise.all(t)}cleanup(t=!1){this.#t=!0;const r=this.#r(!1);return t&&r&&(this._stats&&=new YX),r}#r(t=!1){if(this.#i(),!this.#t||this.destroyed)return!1;if(t)return this.#e=setTimeout(()=>{this.#e=null,this.#r(!1)},Vut),!1;for(const{renderTasks:r,operatorList:n}of this._intentStates.values())if(r.size>0||!n.lastChunk)return!1;return this._intentStates.clear(),this.objs.clear(),this.#t=!1,!0}#i(){this.#e&&(clearTimeout(this.#e),this.#e=null)}_startRenderPage(t,r){const n=this._intentStates.get(r);n&&(this._stats?.timeEnd("Page Request"),n.displayReadyCapability?.resolve(t))}_renderPageChunk(t,r){for(let n=0,i=t.length;n<i;n++)r.operatorList.fnArray.push(t.fnArray[n]),r.operatorList.argsArray.push(t.argsArray[n]);r.operatorList.lastChunk=t.lastChunk,r.operatorList.separateAnnots=t.separateAnnots;for(const n of r.renderTasks)n.operatorListChanged();t.lastChunk&&this.#r(!0)}_pumpOperatorList({renderingIntent:t,cacheKey:r,annotationStorageSerializable:n}){const{map:i,transfer:o}=n,l=this._transport.messageHandler.sendWithStream("GetOperatorList",{pageIndex:this._pageIndex,intent:t,cacheKey:r,annotationStorage:i},o).getReader(),d=this._intentStates.get(r);d.streamReader=l;const u=()=>{l.read().then(({value:p,done:h})=>{if(h){d.streamReader=null;return}this._transport.destroyed||(this._renderPageChunk(p,d),u())},p=>{if(d.streamReader=null,!this._transport.destroyed){if(d.operatorList){d.operatorList.lastChunk=!0;for(const h of d.renderTasks)h.operatorListChanged();this.#r(!0)}if(d.displayReadyCapability)d.displayReadyCapability.reject(p);else if(d.opListReadCapability)d.opListReadCapability.reject(p);else throw p}})};u()}_abortOperatorList({intentState:t,reason:r,force:n=!1}){if(t.streamReader){if(t.streamReaderCancelTimeout&&(clearTimeout(t.streamReaderCancelTimeout),t.streamReaderCancelTimeout=null),!n){if(t.renderTasks.size>0)return;if(r instanceof ZO){let i=Hut;r.extraDelay>0&&r.extraDelay<1e3&&(i+=r.extraDelay),t.streamReaderCancelTimeout=setTimeout(()=>{t.streamReaderCancelTimeout=null,this._abortOperatorList({intentState:t,reason:r,force:!0})},i);return}}if(t.streamReader.cancel(new Am(r.message)).catch(()=>{}),t.streamReader=null,!this._transport.destroyed){for(const[i,o]of this._intentStates)if(o===t){this._intentStates.delete(i);break}this.cleanup()}}}get stats(){return this._stats}}class Jut{#e=new Set;#t=Promise.resolve();postMessage(t,r){const n={data:structuredClone(t,r?{transfer:r}:null)};this.#t.then(()=>{for(const i of this.#e)i.call(this,n)})}addEventListener(t,r){this.#e.add(r)}removeEventListener(t,r){this.#e.delete(r)}terminate(){this.#e.clear()}}const Mu={isWorkerDisabled:!1,fakeWorkerId:0};Ea&&(Mu.isWorkerDisabled=!0,L7.workerSrc||="./pdf.worker.mjs"),Mu.isSameOrigin=function(e,t){let r;try{if(r=new URL(e),!r.origin||r.origin==="null")return!1}catch{return!1}const n=new URL(t,r);return r.origin===n.origin},Mu.createCDNWrapper=function(e){const t=`await import("${e}");`;return URL.createObjectURL(new Blob([t],{type:"text/javascript"}))};class kl{static#e;constructor({name:t=null,port:r=null,verbosity:n=D1t()}={}){if(this.name=t,this.destroyed=!1,this.verbosity=n,this._readyCapability=Promise.withResolvers(),this._port=null,this._webWorker=null,this._messageHandler=null,r){if(kl.#e?.has(r))throw new Error("Cannot use more than one PDFWorker per port.");(kl.#e||=new WeakMap).set(r,this),this._initializeFromPort(r);return}this._initialize()}get promise(){return Ea?Promise.all([j1.promise,this._readyCapability.promise]):this._readyCapability.promise}#t(){this._readyCapability.resolve(),this._messageHandler.send("configure",{verbosity:this.verbosity})}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(t){this._port=t,this._messageHandler=new j5("main","worker",t),this._messageHandler.on("ready",function(){}),this.#t()}_initialize(){if(Mu.isWorkerDisabled||kl.#r){this._setupFakeWorker();return}let{workerSrc:t}=kl;try{Mu.isSameOrigin(window.location.href,t)||(t=Mu.createCDNWrapper(new URL(t,window.location).href));const r=new Worker(t,{type:"module"}),n=new j5("main","worker",r),i=()=>{o.abort(),n.destroy(),r.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},o=new AbortController;r.addEventListener("error",()=>{this._webWorker||i()},{signal:o.signal}),n.on("test",l=>{if(o.abort(),this.destroyed||!l){i();return}this._messageHandler=n,this._port=r,this._webWorker=r,this.#t()}),n.on("ready",l=>{if(o.abort(),this.destroyed){i();return}try{a()}catch{this._setupFakeWorker()}});const a=()=>{const l=new Uint8Array;n.send("test",l,[l.buffer])};a();return}catch{Tx("The worker has been disabled.")}this._setupFakeWorker()}_setupFakeWorker(){Mu.isWorkerDisabled||(Jr("Setting up fake worker."),Mu.isWorkerDisabled=!0),kl._setupFakeWorkerGlobal.then(t=>{if(this.destroyed){this._readyCapability.reject(new Error("Worker was destroyed"));return}const r=new Jut;this._port=r;const n=`fake${Mu.fakeWorkerId++}`,i=new j5(n+"_worker",n,r);t.setup(i,r),this._messageHandler=new j5(n,n+"_worker",r),this.#t()}).catch(t=>{this._readyCapability.reject(new Error(`Setting up fake worker failed: "${t.message}".`))})}destroy(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),kl.#e?.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}static fromPort(t){if(!t?.port)throw new Error("PDFWorker.fromPort - invalid method signature.");const r=this.#e?.get(t.port);if(r){if(r._pendingDestroy)throw new Error("PDFWorker.fromPort - the worker is being destroyed.\nPlease remember to await `PDFDocumentLoadingTask.destroy()`-calls.");return r}return new kl(t)}static get workerSrc(){if(L7.workerSrc)return L7.workerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get#r(){try{return globalThis.pdfjsWorker?.WorkerMessageHandler||null}catch{return null}}static get _setupFakeWorkerGlobal(){return bn(this,"_setupFakeWorkerGlobal",(async()=>this.#r?this.#r:(await import(this.workerSrc)).WorkerMessageHandler)())}}class e2t{#e=new Map;#t=new Map;#r=new Map;#i=new Map;#s=null;constructor(t,r,n,i,o){this.messageHandler=t,this.loadingTask=r,this.commonObjs=new d4e,this.fontLoader=new X1t({ownerDocument:i.ownerDocument,styleElement:i.styleElement}),this.loadingParams=i.loadingParams,this._params=i,this.canvasFactory=o.canvasFactory,this.filterFactory=o.filterFactory,this.cMapReaderFactory=o.cMapReaderFactory,this.standardFontDataFactory=o.standardFontDataFactory,this.destroyed=!1,this.destroyCapability=null,this._networkStream=n,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=Promise.withResolvers(),this.setupMessageHandler()}#n(t,r=null){const n=this.#e.get(t);if(n)return n;const i=this.messageHandler.sendWithPromise(t,r);return this.#e.set(t,i),i}get annotationStorage(){return bn(this,"annotationStorage",new rN)}getRenderingIntent(t,r=K2.ENABLE,n=null,i=!1){let o=$l.DISPLAY,a=pj;switch(t){case"any":o=$l.ANY;break;case"display":break;case"print":o=$l.PRINT;break;default:Jr(`getRenderingIntent - invalid intent: ${t}`)}switch(r){case K2.DISABLE:o+=$l.ANNOTATIONS_DISABLE;break;case K2.ENABLE:break;case K2.ENABLE_FORMS:o+=$l.ANNOTATIONS_FORMS;break;case K2.ENABLE_STORAGE:o+=$l.ANNOTATIONS_STORAGE,a=(o&$l.PRINT&&n instanceof e4e?n:this.annotationStorage).serializable;break;default:Jr(`getRenderingIntent - invalid annotationMode: ${r}`)}return i&&(o+=$l.OPLIST),{renderingIntent:o,cacheKey:`${o}_${a.hash}`,annotationStorageSerializable:a}}destroy(){if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=Promise.withResolvers(),this.#s?.reject(new Error("Worker was destroyed during onPassword callback"));const t=[];for(const n of this.#t.values())t.push(n._destroy());this.#t.clear(),this.#r.clear(),this.#i.clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const r=this.messageHandler.sendWithPromise("Terminate",null);return t.push(r),Promise.all(t).then(()=>{this.commonObjs.clear(),this.fontLoader.clear(),this.#e.clear(),this.filterFactory.destroy(),hb.cleanup(),this._networkStream?.cancelAllRequests(new Am("Worker was terminated.")),this.messageHandler&&(this.messageHandler.destroy(),this.messageHandler=null),this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:t,loadingTask:r}=this;t.on("GetReader",(n,i)=>{Lo(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=o=>{this._lastProgress={loaded:o.loaded,total:o.total}},i.onPull=()=>{this._fullReader.read().then(function({value:o,done:a}){if(a){i.close();return}Lo(o instanceof ArrayBuffer,"GetReader - expected an ArrayBuffer."),i.enqueue(new Uint8Array(o),1,[o])}).catch(o=>{i.error(o)})},i.onCancel=o=>{this._fullReader.cancel(o),i.ready.catch(a=>{if(!this.destroyed)throw a})}}),t.on("ReaderHeadersReady",n=>{const i=Promise.withResolvers(),o=this._fullReader;return o.headersReady.then(()=>{(!o.isStreamingSupported||!o.isRangeSupported)&&(this._lastProgress&&r.onProgress?.(this._lastProgress),o.onProgress=a=>{r.onProgress?.({loaded:a.loaded,total:a.total})}),i.resolve({isStreamingSupported:o.isStreamingSupported,isRangeSupported:o.isRangeSupported,contentLength:o.contentLength})},i.reject),i.promise}),t.on("GetRangeReader",(n,i)=>{Lo(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const o=this._networkStream.getRangeReader(n.begin,n.end);if(!o){i.close();return}i.onPull=()=>{o.read().then(function({value:a,done:l}){if(l){i.close();return}Lo(a instanceof ArrayBuffer,"GetRangeReader - expected an ArrayBuffer."),i.enqueue(new Uint8Array(a),1,[a])}).catch(a=>{i.error(a)})},i.onCancel=a=>{o.cancel(a),i.ready.catch(l=>{if(!this.destroyed)throw l})}}),t.on("GetDoc",({pdfInfo:n})=>{this._numPages=n.numPages,this._htmlForXfa=n.htmlForXfa,delete n.htmlForXfa,r._capability.resolve(new Qut(n,this))}),t.on("DocException",function(n){let i;switch(n.name){case"PasswordException":i=new dj(n.message,n.code);break;case"InvalidPDFException":i=new Gge(n.message);break;case"MissingPDFException":i=new Tm(n.message);break;case"UnexpectedResponseException":i=new Ax(n.message,n.status);break;case"UnknownErrorException":i=new uj(n.message,n.details);break;default:Qn("DocException - expected a valid Error.")}r._capability.reject(i)}),t.on("PasswordRequest",n=>{if(this.#s=Promise.withResolvers(),r.onPassword){const i=o=>{o instanceof Error?this.#s.reject(o):this.#s.resolve({password:o})};try{r.onPassword(i,n.code)}catch(o){this.#s.reject(o)}}else this.#s.reject(new dj(n.message,n.code));return this.#s.promise}),t.on("DataLoaded",n=>{r.onProgress?.({loaded:n.length,total:n.length}),this.downloadInfoCapability.resolve(n)}),t.on("StartRenderPage",n=>{if(this.destroyed)return;this.#t.get(n.pageIndex)._startRenderPage(n.transparency,n.cacheKey)}),t.on("commonobj",([n,i,o])=>{if(this.destroyed||this.commonObjs.has(n))return null;switch(i){case"Font":const{disableFontFace:a,fontExtraProperties:l,pdfBug:d}=this._params;if("error"in o){const f=o.error;Jr(`Error during font loading: ${f}`),this.commonObjs.resolve(n,f);break}const u=d&&globalThis.FontInspector?.enabled?(f,g)=>globalThis.FontInspector.fontAdded(f,g):null,p=new J1t(o,{disableFontFace:a,inspectFont:u});this.fontLoader.bind(p).catch(()=>t.sendWithPromise("FontFallback",{id:n})).finally(()=>{!l&&p.data&&(p.data=null),this.commonObjs.resolve(n,p)});break;case"CopyLocalImage":const{imageRef:h}=o;Lo(h,"The imageRef must be defined.");for(const f of this.#t.values())for(const[,g]of f.objs)if(g?.ref===h)return g.dataLen?(this.commonObjs.resolve(n,structuredClone(g)),g.dataLen):null;break;case"FontPath":case"Image":case"Pattern":this.commonObjs.resolve(n,o);break;default:throw new Error(`Got unknown common object type ${i}`)}return null}),t.on("obj",([n,i,o,a])=>{if(this.destroyed)return;const l=this.#t.get(i);if(!l.objs.has(n)){if(l._intentStates.size===0){a?.bitmap?.close();return}switch(o){case"Image":l.objs.resolve(n,a),a?.dataLen>E1t&&(l._maybeCleanupAfterRender=!0);break;case"Pattern":l.objs.resolve(n,a);break;default:throw new Error(`Got unknown object type ${o}`)}}}),t.on("DocProgress",n=>{this.destroyed||r.onProgress?.({loaded:n.loaded,total:n.total})}),t.on("FetchBuiltInCMap",n=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.cMapReaderFactory?this.cMapReaderFactory.fetch(n):Promise.reject(new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter."))),t.on("FetchStandardFontData",n=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.standardFontDataFactory?this.standardFontDataFactory.fetch(n):Promise.reject(new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.")))}getData(){return this.messageHandler.sendWithPromise("GetData",null)}saveDocument(){this.annotationStorage.size<=0&&Jr("saveDocument called while `annotationStorage` is empty, please use the getData-method instead.");const{map:t,transfer:r}=this.annotationStorage.serializable;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:t,filename:this._fullReader?.filename??null},r).finally(()=>{this.annotationStorage.resetModified()})}getPage(t){if(!Number.isInteger(t)||t<=0||t>this._numPages)return Promise.reject(new Error("Invalid page request."));const r=t-1,n=this.#r.get(r);if(n)return n;const i=this.messageHandler.sendWithPromise("GetPage",{pageIndex:r}).then(o=>{if(this.destroyed)throw new Error("Transport destroyed");o.refStr&&this.#i.set(o.refStr,t);const a=new Xut(r,o,this,this._params.pdfBug);return this.#t.set(r,a),a});return this.#r.set(r,i),i}getPageIndex(t){return sJ(t)?this.messageHandler.sendWithPromise("GetPageIndex",{num:t.num,gen:t.gen}):Promise.reject(new Error("Invalid pageIndex request."))}getAnnotations(t,r){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:t,intent:r})}getFieldObjects(){return this.#n("GetFieldObjects")}hasJSActions(){return this.#n("HasJSActions")}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(t){return typeof t!="string"?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:t})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getDocJSActions(){return this.#n("GetDocJSActions")}getPageJSActions(t){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:t})}getStructTree(t){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:t})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(t){return this.#n("GetOptionalContentConfig").then(r=>new but(r,t))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){const t="GetMetadata",r=this.#e.get(t);if(r)return r;const n=this.messageHandler.sendWithPromise(t,null).then(i=>({info:i[0],metadata:i[1]?new yut(i[1]):null,contentDispositionFilename:this._fullReader?.filename??null,contentLength:this._fullReader?.contentLength??null}));return this.#e.set(t,n),n}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}async startCleanup(t=!1){if(!this.destroyed){await this.messageHandler.sendWithPromise("Cleanup",null);for(const r of this.#t.values())if(!r.cleanup())throw new Error(`startCleanup: Page ${r.pageNumber} is currently rendering.`);this.commonObjs.clear(),t||this.fontLoader.clear(),this.#e.clear(),this.filterFactory.destroy(!0),hb.cleanup()}}cachedPageNumber(t){if(!sJ(t))return null;const r=t.gen===0?`${t.num}R`:`${t.num}R${t.gen}`;return this.#i.get(r)??null}}const z6=Symbol("INITIAL_DATA");class d4e{#e=Object.create(null);#t(t){return this.#e[t]||={...Promise.withResolvers(),data:z6}}get(t,r=null){if(r){const i=this.#t(t);return i.promise.then(()=>r(i.data)),null}const n=this.#e[t];if(!n||n.data===z6)throw new Error(`Requesting object that isn't resolved yet ${t}.`);return n.data}has(t){const r=this.#e[t];return!!r&&r.data!==z6}resolve(t,r=null){const n=this.#t(t);n.data=r,n.resolve()}clear(){for(const t in this.#e){const{data:r}=this.#e[t];r?.bitmap?.close()}this.#e=Object.create(null)}*[Symbol.iterator](){for(const t in this.#e){const{data:r}=this.#e[t];r!==z6&&(yield[t,r])}}}class t2t{#e=null;constructor(t){this.#e=t,this.onContinue=null}get promise(){return this.#e.capability.promise}cancel(t=0){this.#e.cancel(null,t)}get separateAnnots(){const{separateAnnots:t}=this.#e.operatorList;if(!t)return!1;const{annotationCanvasMap:r}=this.#e;return t.form||t.canvas&&r?.size>0}}class hf{#e=null;static#t=new WeakSet;constructor({callback:t,params:r,objs:n,commonObjs:i,annotationCanvasMap:o,operatorList:a,pageIndex:l,canvasFactory:d,filterFactory:u,useRequestAnimationFrame:p=!1,pdfBug:h=!1,pageColors:f=null}){this.callback=t,this.params=r,this.objs=n,this.commonObjs=i,this.annotationCanvasMap=o,this.operatorListIdx=null,this.operatorList=a,this._pageIndex=l,this.canvasFactory=d,this.filterFactory=u,this._pdfBug=h,this.pageColors=f,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=p===!0&&typeof window<"u",this.cancelled=!1,this.capability=Promise.withResolvers(),this.task=new t2t(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=r.canvasContext.canvas}get completed(){return this.capability.promise.catch(function(){})}initializeGraphics({transparency:t=!1,optionalContentConfig:r}){if(this.cancelled)return;if(this._canvas){if(hf.#t.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");hf.#t.add(this._canvas)}this._pdfBug&&globalThis.StepperManager?.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:n,viewport:i,transform:o,background:a}=this.params;this.gfx=new Ef(n,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:r},this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:o,viewport:i,transparency:t,background:a}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback?.()}cancel(t=null,r=0){this.running=!1,this.cancelled=!0,this.gfx?.endDrawing(),this.#e&&(window.cancelAnimationFrame(this.#e),this.#e=null),hf.#t.delete(this._canvas),this.callback(t||new ZO(`Rendering cancelled, page ${this._pageIndex+1}`,r))}operatorListChanged(){if(!this.graphicsReady){this.graphicsReadyCallback||=this._continueBound;return}this.stepper?.updateOperatorList(this.operatorList),!this.running&&this._continue()}_continue(){this.running=!0,!this.cancelled&&(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?this.#e=window.requestAnimationFrame(()=>{this.#e=null,this._nextBound().catch(this._cancelBound)}):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}async _next(){this.cancelled||(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),hf.#t.delete(this._canvas),this.callback())))}}const r2t="4.4.168",n2t="19fbc8998";function lJ(e){return Math.floor(Math.max(0,Math.min(1,e))*255).toString(16).padStart(2,"0")}function U4(e){return Math.max(0,Math.min(255,255*e))}class cJ{static CMYK_G([t,r,n,i]){return["G",1-Math.min(1,.3*t+.59*n+.11*r+i)]}static G_CMYK([t]){return["CMYK",0,0,0,1-t]}static G_RGB([t]){return["RGB",t,t,t]}static G_rgb([t]){return t=U4(t),[t,t,t]}static G_HTML([t]){const r=lJ(t);return`#${r}${r}${r}`}static RGB_G([t,r,n]){return["G",.3*t+.59*r+.11*n]}static RGB_rgb(t){return t.map(U4)}static RGB_HTML(t){return`#${t.map(lJ).join("")}`}static T_HTML(){return"#00000000"}static T_rgb(){return[null]}static CMYK_RGB([t,r,n,i]){return["RGB",1-Math.min(1,t+i),1-Math.min(1,n+i),1-Math.min(1,r+i)]}static CMYK_rgb([t,r,n,i]){return[U4(1-Math.min(1,t+i)),U4(1-Math.min(1,n+i)),U4(1-Math.min(1,r+i))]}static CMYK_HTML(t){const r=this.CMYK_RGB(t).slice(1);return this.RGB_HTML(r)}static RGB_CMYK([t,r,n]){const i=1-t,o=1-r,a=1-n,l=Math.min(i,o,a);return["CMYK",i,o,a,l]}}class u4e{static setupStorage(t,r,n,i,o){const a=i.getValue(r,{value:null});switch(n.name){case"textarea":if(a.value!==null&&(t.textContent=a.value),o==="print")break;t.addEventListener("input",l=>{i.setValue(r,{value:l.target.value})});break;case"input":if(n.attributes.type==="radio"||n.attributes.type==="checkbox"){if(a.value===n.attributes.xfaOn?t.setAttribute("checked",!0):a.value===n.attributes.xfaOff&&t.removeAttribute("checked"),o==="print")break;t.addEventListener("change",l=>{i.setValue(r,{value:l.target.checked?l.target.getAttribute("xfaOn"):l.target.getAttribute("xfaOff")})})}else{if(a.value!==null&&t.setAttribute("value",a.value),o==="print")break;t.addEventListener("input",l=>{i.setValue(r,{value:l.target.value})})}break;case"select":if(a.value!==null){t.setAttribute("value",a.value);for(const l of n.children)l.attributes.value===a.value?l.attributes.selected=!0:l.attributes.hasOwnProperty("selected")&&delete l.attributes.selected}t.addEventListener("input",l=>{const d=l.target.options,u=d.selectedIndex===-1?"":d[d.selectedIndex].value;i.setValue(r,{value:u})});break}}static setAttributes({html:t,element:r,storage:n=null,intent:i,linkService:o}){const{attributes:a}=r,l=t instanceof HTMLAnchorElement;a.type==="radio"&&(a.name=`${a.name}-${i}`);for(const[d,u]of Object.entries(a))if(u!=null)switch(d){case"class":u.length&&t.setAttribute(d,u.join(" "));break;case"dataId":break;case"id":t.setAttribute("data-element-id",u);break;case"style":Object.assign(t.style,u);break;case"textContent":t.textContent=u;break;default:(!l||d!=="href"&&d!=="newWindow")&&t.setAttribute(d,u)}l&&o.addLinkAttributes(t,a.href,a.newWindow),n&&a.dataId&&this.setupStorage(t,a.dataId,r,n)}static render(t){const r=t.annotationStorage,n=t.linkService,i=t.xfaHtml,o=t.intent||"display",a=document.createElement(i.name);i.attributes&&this.setAttributes({html:a,element:i,intent:o,linkService:n});const l=o!=="richText",d=t.div;if(d.append(a),t.viewport){const h=`matrix(${t.viewport.transform.join(",")})`;d.style.transform=h}l&&d.setAttribute("class","xfaLayer xfaFont");const u=[];if(i.children.length===0){if(i.value){const h=document.createTextNode(i.value);a.append(h),l&&D7.shouldBuildText(i.name)&&u.push(h)}return{textDivs:u}}const p=[[i,-1,a]];for(;p.length>0;){const[h,f,g]=p.at(-1);if(f+1===h.children.length){p.pop();continue}const y=h.children[++p.at(-1)[1]];if(y===null)continue;const{name:v}=y;if(v==="#text"){const x=document.createTextNode(y.value);u.push(x),g.append(x);continue}const w=y?.attributes?.xmlns?document.createElementNS(y.attributes.xmlns,v):document.createElement(v);if(g.append(w),y.attributes&&this.setAttributes({html:w,element:y,storage:r,intent:o,linkService:n}),y.children?.length>0)p.push([y,-1,w]);else if(y.value){const x=document.createTextNode(y.value);l&&D7.shouldBuildText(v)&&u.push(x),w.append(x)}}for(const h of d.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))h.setAttribute("readOnly",!0);return{textDivs:u}}static update(t){const r=`matrix(${t.viewport.transform.join(",")})`;t.div.style.transform=r,t.div.hidden=!1}}const w9=1e3,i2t=9,dm=new WeakSet;function e2(e){return{width:e[2]-e[0],height:e[3]-e[1]}}class o2t{static create(t){switch(t.data.annotationType){case ko.LINK:return new p4e(t);case ko.TEXT:return new a2t(t);case ko.WIDGET:switch(t.data.fieldType){case"Tx":return new s2t(t);case"Btn":return t.data.radioButton?new h4e(t):t.data.checkBox?new c2t(t):new d2t(t);case"Ch":return new u2t(t);case"Sig":return new l2t(t)}return new Lm(t);case ko.POPUP:return new gj(t);case ko.FREETEXT:return new m4e(t);case ko.LINE:return new h2t(t);case ko.SQUARE:return new m2t(t);case ko.CIRCLE:return new f2t(t);case ko.POLYLINE:return new f4e(t);case ko.CARET:return new y2t(t);case ko.INK:return new g4e(t);case ko.POLYGON:return new g2t(t);case ko.HIGHLIGHT:return new v2t(t);case ko.UNDERLINE:return new b2t(t);case ko.SQUIGGLY:return new w2t(t);case ko.STRIKEOUT:return new x2t(t);case ko.STAMP:return new y4e(t);case ko.FILEATTACHMENT:return new C2t(t);default:return new to(t)}}}class to{#e=null;#t=!1;#r=null;constructor(t,{isRenderable:r=!1,ignoreBorder:n=!1,createQuadrilaterals:i=!1}={}){this.isRenderable=r,this.data=t.data,this.layer=t.layer,this.linkService=t.linkService,this.downloadManager=t.downloadManager,this.imageResourcesPath=t.imageResourcesPath,this.renderForms=t.renderForms,this.svgFactory=t.svgFactory,this.annotationStorage=t.annotationStorage,this.enableScripting=t.enableScripting,this.hasJSActions=t.hasJSActions,this._fieldObjects=t.fieldObjects,this.parent=t.parent,r&&(this.container=this._createContainer(n)),i&&this._createQuadrilaterals()}static _hasPopupData({titleObj:t,contentsObj:r,richText:n}){return!!(t?.str||r?.str||n?.str)}get hasPopupData(){return to._hasPopupData(this.data)}updateEdited(t){if(!this.container)return;this.#e||={rect:this.data.rect.slice(0)};const{rect:r}=t;r&&this.#i(r),this.#r?.popup.updateEdited(t)}resetEdited(){this.#e&&(this.#i(this.#e.rect),this.#r?.popup.resetEdited(),this.#e=null)}#i(t){const{container:{style:r},data:{rect:n,rotation:i},parent:{viewport:{rawDims:{pageWidth:o,pageHeight:a,pageX:l,pageY:d}}}}=this;n?.splice(0,4,...t);const{width:u,height:p}=e2(t);r.left=`${100*(t[0]-l)/o}%`,r.top=`${100*(a-t[3]+d)/a}%`,i===0?(r.width=`${100*u/o}%`,r.height=`${100*p/a}%`):this.setRotation(i)}_createContainer(t){const{data:r,parent:{page:n,viewport:i}}=this,o=document.createElement("section");o.setAttribute("data-annotation-id",r.id),this instanceof Lm||(o.tabIndex=w9);const{style:a}=o;if(a.zIndex=this.parent.zIndex++,r.popupRef&&o.setAttribute("aria-haspopup","dialog"),r.alternativeText&&(o.title=r.alternativeText),r.noRotate&&o.classList.add("norotate"),!r.rect||this instanceof gj){const{rotation:v}=r;return!r.hasOwnCanvas&&v!==0&&this.setRotation(v,o),o}const{width:l,height:d}=e2(r.rect);if(!t&&r.borderStyle.width>0){a.borderWidth=`${r.borderStyle.width}px`;const v=r.borderStyle.horizontalCornerRadius,w=r.borderStyle.verticalCornerRadius;if(v>0||w>0){const C=`calc(${v}px * var(--scale-factor)) / calc(${w}px * var(--scale-factor))`;a.borderRadius=C}else if(this instanceof h4e){const C=`calc(${l}px * var(--scale-factor)) / calc(${d}px * var(--scale-factor))`;a.borderRadius=C}switch(r.borderStyle.style){case H4.SOLID:a.borderStyle="solid";break;case H4.DASHED:a.borderStyle="dashed";break;case H4.BEVELED:Jr("Unimplemented border style: beveled");break;case H4.INSET:Jr("Unimplemented border style: inset");break;case H4.UNDERLINE:a.borderBottomStyle="solid";break}const x=r.borderColor||null;x?(this.#t=!0,a.borderColor=lr.makeHexColor(x[0]|0,x[1]|0,x[2]|0)):a.borderWidth=0}const u=lr.normalizeRect([r.rect[0],n.view[3]-r.rect[1]+n.view[1],r.rect[2],n.view[3]-r.rect[3]+n.view[1]]),{pageWidth:p,pageHeight:h,pageX:f,pageY:g}=i.rawDims;a.left=`${100*(u[0]-f)/p}%`,a.top=`${100*(u[1]-g)/h}%`;const{rotation:y}=r;return r.hasOwnCanvas||y===0?(a.width=`${100*l/p}%`,a.height=`${100*d/h}%`):this.setRotation(y,o),o}setRotation(t,r=this.container){if(!this.data.rect)return;const{pageWidth:n,pageHeight:i}=this.parent.viewport.rawDims,{width:o,height:a}=e2(this.data.rect);let l,d;t%180===0?(l=100*o/n,d=100*a/i):(l=100*a/n,d=100*o/i),r.style.width=`${l}%`,r.style.height=`${d}%`,r.setAttribute("data-main-rotation",(360-t)%360)}get _commonActions(){const t=(r,n,i)=>{const o=i.detail[r],a=o[0],l=o.slice(1);i.target.style[n]=cJ[`${a}_HTML`](l),this.annotationStorage.setValue(this.data.id,{[n]:cJ[`${a}_rgb`](l)})};return bn(this,"_commonActions",{display:r=>{const{display:n}=r.detail,i=n%2===1;this.container.style.visibility=i?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noView:i,noPrint:n===1||n===2})},print:r=>{this.annotationStorage.setValue(this.data.id,{noPrint:!r.detail.print})},hidden:r=>{const{hidden:n}=r.detail;this.container.style.visibility=n?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noPrint:n,noView:n})},focus:r=>{setTimeout(()=>r.target.focus({preventScroll:!1}),0)},userName:r=>{r.target.title=r.detail.userName},readonly:r=>{r.target.disabled=r.detail.readonly},required:r=>{this._setRequired(r.target,r.detail.required)},bgColor:r=>{t("bgColor","backgroundColor",r)},fillColor:r=>{t("fillColor","backgroundColor",r)},fgColor:r=>{t("fgColor","color",r)},textColor:r=>{t("textColor","color",r)},borderColor:r=>{t("borderColor","borderColor",r)},strokeColor:r=>{t("strokeColor","borderColor",r)},rotation:r=>{const n=r.detail.rotation;this.setRotation(n),this.annotationStorage.setValue(this.data.id,{rotation:n})}})}_dispatchEventFromSandbox(t,r){const n=this._commonActions;for(const i of Object.keys(r.detail))(t[i]||n[i])?.(r)}_setDefaultPropertiesFromJS(t){if(!this.enableScripting)return;const r=this.annotationStorage.getRawValue(this.data.id);if(!r)return;const n=this._commonActions;for(const[i,o]of Object.entries(r)){const a=n[i];if(a){const l={detail:{[i]:o},target:t};a(l),delete r[i]}}}_createQuadrilaterals(){if(!this.container)return;const{quadPoints:t}=this.data;if(!t)return;const[r,n,i,o]=this.data.rect.map(v=>Math.fround(v));if(t.length===8){const[v,w,x,C]=t.subarray(2,6);if(i===v&&o===w&&r===x&&n===C)return}const{style:a}=this.container;let l;if(this.#t){const{borderColor:v,borderWidth:w}=a;a.borderWidth=0,l=["url('data:image/svg+xml;utf8,",'<svg xmlns="http://www.w3.org/2000/svg"',' preserveAspectRatio="none" viewBox="0 0 1 1">',`<g fill="transparent" stroke="${v}" stroke-width="${w}">`],this.container.classList.add("hasBorder")}const d=i-r,u=o-n,{svgFactory:p}=this,h=p.createElement("svg");h.classList.add("quadrilateralsContainer"),h.setAttribute("width",0),h.setAttribute("height",0);const f=p.createElement("defs");h.append(f);const g=p.createElement("clipPath"),y=`clippath_${this.data.id}`;g.setAttribute("id",y),g.setAttribute("clipPathUnits","objectBoundingBox"),f.append(g);for(let v=2,w=t.length;v<w;v+=8){const x=t[v],C=t[v+1],S=t[v+2],k=t[v+3],T=p.createElement("rect"),E=(S-r)/d,D=(o-C)/u,P=(x-S)/d,A=(C-k)/u;T.setAttribute("x",E),T.setAttribute("y",D),T.setAttribute("width",P),T.setAttribute("height",A),g.append(T),l?.push(`<rect vector-effect="non-scaling-stroke" x="${E}" y="${D}" width="${P}" height="${A}"/>`)}this.#t&&(l.push("</g></svg>')"),a.backgroundImage=l.join("")),this.container.append(h),this.container.style.clipPath=`url(#${y})`}_createPopup(){const{container:t,data:r}=this;t.setAttribute("aria-haspopup","dialog");const n=this.#r=new gj({data:{color:r.color,titleObj:r.titleObj,modificationDate:r.modificationDate,contentsObj:r.contentsObj,richText:r.richText,parentRect:r.rect,borderStyle:0,id:`popup_${r.id}`,rotation:r.rotation},parent:this.parent,elements:[this]});this.parent.div.append(n.render())}render(){Qn("Abstract method `AnnotationElement.render` called")}_getElementsByName(t,r=null){const n=[];if(this._fieldObjects){const i=this._fieldObjects[t];if(i)for(const{page:o,id:a,exportValues:l}of i){if(o===-1||a===r)continue;const d=typeof l=="string"?l:null,u=document.querySelector(`[data-element-id="${a}"]`);if(u&&!dm.has(u)){Jr(`_getElementsByName - element not allowed: ${a}`);continue}n.push({id:a,exportValue:d,domElement:u})}return n}for(const i of document.getElementsByName(t)){const{exportValue:o}=i,a=i.getAttribute("data-element-id");a!==r&&dm.has(i)&&n.push({id:a,exportValue:o,domElement:i})}return n}show(){this.container&&(this.container.hidden=!1),this.popup?.maybeShow()}hide(){this.container&&(this.container.hidden=!0),this.popup?.forceHide()}getElementsToTriggerPopup(){return this.container}addHighlightArea(){const t=this.getElementsToTriggerPopup();if(Array.isArray(t))for(const r of t)r.classList.add("highlightArea");else t.classList.add("highlightArea")}get _isEditable(){return!1}_editOnDoubleClick(){if(!this._isEditable)return;const{annotationEditorType:t,data:{id:r}}=this;this.container.addEventListener("dblclick",()=>{this.linkService.eventBus?.dispatch("switchannotationeditormode",{source:this,mode:t,editId:r})})}}class p4e extends to{constructor(t,r=null){super(t,{isRenderable:!0,ignoreBorder:!!r?.ignoreBorder,createQuadrilaterals:!0}),this.isTooltipOnly=t.data.isTooltipOnly}render(){const{data:t,linkService:r}=this,n=document.createElement("a");n.setAttribute("data-element-id",t.id);let i=!1;return t.url?(r.addLinkAttributes(n,t.url,t.newWindow),i=!0):t.action?(this._bindNamedAction(n,t.action),i=!0):t.attachment?(this.#t(n,t.attachment,t.attachmentDest),i=!0):t.setOCGState?(this.#r(n,t.setOCGState),i=!0):t.dest?(this._bindLink(n,t.dest),i=!0):(t.actions&&(t.actions.Action||t.actions["Mouse Up"]||t.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(n,t),i=!0),t.resetForm?(this._bindResetFormAction(n,t.resetForm),i=!0):this.isTooltipOnly&&!i&&(this._bindLink(n,""),i=!0)),this.container.classList.add("linkAnnotation"),i&&this.container.append(n),this.container}#e(){this.container.setAttribute("data-internal-link","")}_bindLink(t,r){t.href=this.linkService.getDestinationHash(r),t.onclick=()=>(r&&this.linkService.goToDestination(r),!1),(r||r==="")&&this.#e()}_bindNamedAction(t,r){t.href=this.linkService.getAnchorUrl(""),t.onclick=()=>(this.linkService.executeNamedAction(r),!1),this.#e()}#t(t,r,n=null){t.href=this.linkService.getAnchorUrl(""),r.description&&(t.title=r.description),t.onclick=()=>(this.downloadManager?.openOrDownloadData(r.content,r.filename,n),!1),this.#e()}#r(t,r){t.href=this.linkService.getAnchorUrl(""),t.onclick=()=>(this.linkService.executeSetOCGState(r),!1),this.#e()}_bindJSAction(t,r){t.href=this.linkService.getAnchorUrl("");const n=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const i of Object.keys(r.actions)){const o=n.get(i);o&&(t[o]=()=>(this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:r.id,name:i}}),!1))}t.onclick||(t.onclick=()=>!1),this.#e()}_bindResetFormAction(t,r){const n=t.onclick;if(n||(t.href=this.linkService.getAnchorUrl("")),this.#e(),!this._fieldObjects){Jr('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),n||(t.onclick=()=>!1);return}t.onclick=()=>{n?.();const{fields:i,refs:o,include:a}=r,l=[];if(i.length!==0||o.length!==0){const p=new Set(o);for(const h of i){const f=this._fieldObjects[h]||[];for(const{id:g}of f)p.add(g)}for(const h of Object.values(this._fieldObjects))for(const f of h)p.has(f.id)===a&&l.push(f)}else for(const p of Object.values(this._fieldObjects))l.push(...p);const d=this.annotationStorage,u=[];for(const p of l){const{id:h}=p;switch(u.push(h),p.type){case"text":{const g=p.defaultValue||"";d.setValue(h,{value:g});break}case"checkbox":case"radiobutton":{const g=p.defaultValue===p.exportValues;d.setValue(h,{value:g});break}case"combobox":case"listbox":{const g=p.defaultValue||"";d.setValue(h,{value:g});break}default:continue}const f=document.querySelector(`[data-element-id="${h}"]`);if(f){if(!dm.has(f)){Jr(`_bindResetFormAction - element not allowed: ${h}`);continue}}else continue;f.dispatchEvent(new Event("resetform"))}return this.enableScripting&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:u,name:"ResetForm"}}),!1}}}class a2t extends to{constructor(t){super(t,{isRenderable:!0})}render(){this.container.classList.add("textAnnotation");const t=document.createElement("img");return t.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",t.setAttribute("data-l10n-id","pdfjs-text-annotation-type"),t.setAttribute("data-l10n-args",JSON.stringify({type:this.data.name})),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.append(t),this.container}}class Lm extends to{render(){return this.container}showElementAndHideCanvas(t){this.data.hasOwnCanvas&&(t.previousSibling?.nodeName==="CANVAS"&&(t.previousSibling.hidden=!0),t.hidden=!1)}_getKeyModifier(t){return ws.platform.isMac?t.metaKey:t.ctrlKey}_setEventListener(t,r,n,i,o){n.includes("mouse")?t.addEventListener(n,a=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:i,value:o(a),shift:a.shiftKey,modifier:this._getKeyModifier(a)}})}):t.addEventListener(n,a=>{if(n==="blur"){if(!r.focused||!a.relatedTarget)return;r.focused=!1}else if(n==="focus"){if(r.focused)return;r.focused=!0}o&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:i,value:o(a)}})})}_setEventListeners(t,r,n,i){for(const[o,a]of n)(a==="Action"||this.data.actions?.[a])&&((a==="Focus"||a==="Blur")&&(r||={focused:!1}),this._setEventListener(t,r,o,a,i),a==="Focus"&&!this.data.actions?.Blur?this._setEventListener(t,r,"blur","Blur",null):a==="Blur"&&!this.data.actions?.Focus&&this._setEventListener(t,r,"focus","Focus",null))}_setBackgroundColor(t){const r=this.data.backgroundColor||null;t.style.backgroundColor=r===null?"transparent":lr.makeHexColor(r[0],r[1],r[2])}_setTextStyle(t){const r=["left","center","right"],{fontColor:n}=this.data.defaultAppearanceData,i=this.data.defaultAppearanceData.fontSize||i2t,o=t.style;let a;const l=2,d=u=>Math.round(10*u)/10;if(this.data.multiLine){const u=Math.abs(this.data.rect[3]-this.data.rect[1]-l),p=Math.round(u/(lL*i))||1,h=u/p;a=Math.min(i,d(h/lL))}else{const u=Math.abs(this.data.rect[3]-this.data.rect[1]-l);a=Math.min(i,d(u/lL))}o.fontSize=`calc(${a}px * var(--scale-factor))`,o.color=lr.makeHexColor(n[0],n[1],n[2]),this.data.textAlignment!==null&&(o.textAlign=r[this.data.textAlignment])}_setRequired(t,r){r?t.setAttribute("required",!0):t.removeAttribute("required"),t.setAttribute("aria-required",r)}}class s2t extends Lm{constructor(t){const r=t.renderForms||t.data.hasOwnCanvas||!t.data.hasAppearance&&!!t.data.fieldValue;super(t,{isRenderable:r})}setPropertyOnSiblings(t,r,n,i){const o=this.annotationStorage;for(const a of this._getElementsByName(t.name,t.id))a.domElement&&(a.domElement[r]=n),o.setValue(a.id,{[i]:n})}render(){const t=this.annotationStorage,r=this.data.id;this.container.classList.add("textWidgetAnnotation");let n=null;if(this.renderForms){const i=t.getValue(r,{value:this.data.fieldValue});let o=i.value||"";const a=t.getValue(r,{charLimit:this.data.maxLen}).charLimit;a&&o.length>a&&(o=o.slice(0,a));let l=i.formattedValue||this.data.textContent?.join(`
212
+ `);return t.join("")}}function I5(e,t){try{const{protocol:r}=t?new URL(e,t):new URL(e);return r==="http:"||r==="https:"}catch{return!1}}function Ss(e){e.preventDefault()}function Qge(e){console.log("Deprecated API usage: "+e)}let qX;class Xge{static toDateObject(t){if(!t||typeof t!="string")return null;qX||=new RegExp("^D:(\\d{4})(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?(\\d{2})?([Z|+|-])?(\\d{2})?'?(\\d{2})?'?");const r=qX.exec(t);if(!r)return null;const n=parseInt(r[1],10);let i=parseInt(r[2],10);i=i>=1&&i<=12?i-1:0;let o=parseInt(r[3],10);o=o>=1&&o<=31?o:1;let a=parseInt(r[4],10);a=a>=0&&a<=23?a:0;let l=parseInt(r[5],10);l=l>=0&&l<=59?l:0;let d=parseInt(r[6],10);d=d>=0&&d<=59?d:0;const u=r[7]||"Z";let p=parseInt(r[8],10);p=p>=0&&p<=23?p:0;let h=parseInt(r[9],10)||0;return h=h>=0&&h<=59?h:0,u==="-"?(a+=p,l+=h):u==="+"&&(a-=p,l-=h),new Date(Date.UTC(n,i,o,a,l,d))}}function W1t(e,{scale:t=1,rotation:r=0}){const{width:n,height:i}=e.attributes.style,o=[0,0,parseInt(n),parseInt(i)];return new y9({viewBox:o,scale:t,rotation:r})}function XO(e){if(e.startsWith("#")){const t=parseInt(e.slice(1),16);return[(t&16711680)>>16,(t&65280)>>8,t&255]}return e.startsWith("rgb(")?e.slice(4,-1).split(",").map(t=>parseInt(t)):e.startsWith("rgba(")?e.slice(5,-1).split(",").map(t=>parseInt(t)).slice(0,3):(Jr(`Not a valid color format: "${e}"`),[0,0,0])}function G1t(e){const t=document.createElement("span");t.style.visibility="hidden",document.body.append(t);for(const r of e.keys()){t.style.color=r;const n=window.getComputedStyle(t).color;e.set(r,XO(n))}t.remove()}function Ii(e){const{a:t,b:r,c:n,d:i,e:o,f:a}=e.getTransform();return[t,r,n,i,o,a]}function fu(e){const{a:t,b:r,c:n,d:i,e:o,f:a}=e.getTransform().invertSelf();return[t,r,n,i,o,a]}function cm(e,t,r=!1,n=!0){if(t instanceof y9){const{pageWidth:i,pageHeight:o}=t.rawDims,{style:a}=e,l=ws.isCSSRoundSupported,d=`var(--scale-factor) * ${i}px`,u=`var(--scale-factor) * ${o}px`,p=l?`round(${d}, 1px)`:`calc(${d})`,h=l?`round(${u}, 1px)`:`calc(${u})`;!r||t.rotation%180===0?(a.width=p,a.height=h):(a.width=h,a.height=p)}n&&e.setAttribute("data-main-rotation",t.rotation)}class JO{#e=null;#t=null;#r;#i=null;constructor(t){this.#r=t}render(){const t=this.#e=document.createElement("div");t.className="editToolbar",t.setAttribute("role","toolbar");const r=this.#r._uiManager._signal;t.addEventListener("contextmenu",Ss,{signal:r}),t.addEventListener("pointerdown",JO.#s,{signal:r});const n=this.#i=document.createElement("div");n.className="buttons",t.append(n);const i=this.#r.toolbarPosition;if(i){const{style:o}=t,a=this.#r._uiManager.direction==="ltr"?1-i[0]:i[0];o.insetInlineEnd=`${100*a}%`,o.top=`calc(${100*i[1]}% + var(--editor-toolbar-vert-offset))`}return this.#d(),t}static#s(t){t.stopPropagation()}#n(t){this.#r._focusEventsAllowed=!1,t.preventDefault(),t.stopPropagation()}#o(t){this.#r._focusEventsAllowed=!0,t.preventDefault(),t.stopPropagation()}#l(t){const r=this.#r._uiManager._signal;t.addEventListener("focusin",this.#n.bind(this),{capture:!0,signal:r}),t.addEventListener("focusout",this.#o.bind(this),{capture:!0,signal:r}),t.addEventListener("contextmenu",Ss,{signal:r})}hide(){this.#e.classList.add("hidden"),this.#t?.hideDropdown()}show(){this.#e.classList.remove("hidden")}#d(){const t=document.createElement("button");t.className="delete",t.tabIndex=0,t.setAttribute("data-l10n-id",`pdfjs-editor-remove-${this.#r.editorType}-button`),this.#l(t),t.addEventListener("click",r=>{this.#r._uiManager.delete()},{signal:this.#r._uiManager._signal}),this.#i.append(t)}get#u(){const t=document.createElement("div");return t.className="divider",t}addAltTextButton(t){this.#l(t),this.#i.prepend(t,this.#u)}addColorPicker(t){this.#t=t;const r=t.renderButton();this.#l(r),this.#i.prepend(r,this.#u)}remove(){this.#e.remove(),this.#t?.destroy(),this.#t=null}}class Y1t{#e=null;#t=null;#r;constructor(t){this.#r=t}#i(){const t=this.#t=document.createElement("div");t.className="editToolbar",t.setAttribute("role","toolbar"),t.addEventListener("contextmenu",Ss,{signal:this.#r._signal});const r=this.#e=document.createElement("div");return r.className="buttons",t.append(r),this.#n(),t}#s(t,r){let n=0,i=0;for(const o of t){const a=o.y+o.height;if(a<n)continue;const l=o.x+(r?o.width:0);if(a>n){i=l,n=a;continue}r?l>i&&(i=l):l<i&&(i=l)}return[r?1-i:i,n]}show(t,r,n){const[i,o]=this.#s(r,n),{style:a}=this.#t||=this.#i();t.append(this.#t),a.insetInlineEnd=`${100*i}%`,a.top=`calc(${100*o}% + var(--editor-toolbar-vert-offset))`}hide(){this.#t.remove()}#n(){const t=document.createElement("button");t.className="highlightButton",t.tabIndex=0,t.setAttribute("data-l10n-id","pdfjs-highlight-floating-button1");const r=document.createElement("span");t.append(r),r.className="visuallyHidden",r.setAttribute("data-l10n-id","pdfjs-highlight-floating-button-label");const n=this.#r._signal;t.addEventListener("contextmenu",Ss,{signal:n}),t.addEventListener("click",()=>{this.#r.highlightSelection("floating_button")},{signal:n}),this.#e.append(t)}}function ub(e,t,r){for(const n of r)t.addEventListener(n,e[n].bind(e))}function q1t(e){return Math.round(Math.min(255,Math.max(1,255*e))).toString(16).padStart(2,"0")}class Z1t{#e=0;get id(){return`${_1t}${this.#e++}`}}class eN{#e=z1t();#t=0;#r=null;static get _isSVGFittingCanvas(){const t='data:image/svg+xml;charset=UTF-8,<svg viewBox="0 0 1 1" width="1" height="1" xmlns="http://www.w3.org/2000/svg"><rect width="1" height="1" style="fill:red;"/></svg>',n=new OffscreenCanvas(1,3).getContext("2d",{willReadFrequently:!0}),i=new Image;i.src=t;const o=i.decode().then(()=>(n.drawImage(i,0,0,1,1,0,0,1,3),new Uint32Array(n.getImageData(0,0,1,1).data.buffer)[0]===0));return bn(this,"_isSVGFittingCanvas",o)}async#i(t,r){this.#r||=new Map;let n=this.#r.get(t);if(n===null)return null;if(n?.bitmap)return n.refCounter+=1,n;try{n||={bitmap:null,id:`image_${this.#e}_${this.#t++}`,refCounter:0,isSvg:!1};let i;if(typeof r=="string"?(n.url=r,i=await jx(r,"blob")):i=n.file=r,i.type==="image/svg+xml"){const o=eN._isSVGFittingCanvas,a=new FileReader,l=new Image,d=new Promise((u,p)=>{l.onload=()=>{n.bitmap=l,n.isSvg=!0,u()},a.onload=async()=>{const h=n.svgUrl=a.result;l.src=await o?`${h}#svgView(preserveAspectRatio(none))`:h},l.onerror=a.onerror=p});a.readAsDataURL(i),await d}else n.bitmap=await createImageBitmap(i);n.refCounter=1}catch(i){console.error(i),n=null}return this.#r.set(t,n),n&&this.#r.set(n.id,n),n}async getFromFile(t){const{lastModified:r,name:n,size:i,type:o}=t;return this.#i(`${r}_${n}_${i}_${o}`,t)}async getFromUrl(t){return this.#i(t,t)}async getFromId(t){this.#r||=new Map;const r=this.#r.get(t);return r?r.bitmap?(r.refCounter+=1,r):r.file?this.getFromFile(r.file):this.getFromUrl(r.url):null}getSvgUrl(t){const r=this.#r.get(t);return r?.isSvg?r.svgUrl:null}deleteId(t){this.#r||=new Map;const r=this.#r.get(t);r&&(r.refCounter-=1,r.refCounter===0&&(r.bitmap=null))}isValidId(t){return t.startsWith(`image_${this.#e}_`)}}class K1t{#e=[];#t=!1;#r;#i=-1;constructor(t=128){this.#r=t}add({cmd:t,undo:r,post:n,mustExec:i,type:o=NaN,overwriteIfSameType:a=!1,keepUndo:l=!1}){if(i&&t(),this.#t)return;const d={cmd:t,undo:r,post:n,type:o};if(this.#i===-1){this.#e.length>0&&(this.#e.length=0),this.#i=0,this.#e.push(d);return}if(a&&this.#e[this.#i].type===o){l&&(d.undo=this.#e[this.#i].undo),this.#e[this.#i]=d;return}const u=this.#i+1;u===this.#r?this.#e.splice(0,1):(this.#i=u,u<this.#e.length&&this.#e.splice(u)),this.#e.push(d)}undo(){if(this.#i===-1)return;this.#t=!0;const{undo:t,post:r}=this.#e[this.#i];t(),r?.(),this.#t=!1,this.#i-=1}redo(){if(this.#i<this.#e.length-1){this.#i+=1,this.#t=!0;const{cmd:t,post:r}=this.#e[this.#i];t(),r?.(),this.#t=!1}}hasSomethingToUndo(){return this.#i!==-1}hasSomethingToRedo(){return this.#i<this.#e.length-1}destroy(){this.#e=null}}class v9{constructor(t){this.buffer=[],this.callbacks=new Map,this.allKeys=new Set;const{isMac:r}=ws.platform;for(const[n,i,o={}]of t)for(const a of n){const l=a.startsWith("mac+");r&&l?(this.callbacks.set(a.slice(4),{callback:i,options:o}),this.allKeys.add(a.split("+").at(-1))):!r&&!l&&(this.callbacks.set(a,{callback:i,options:o}),this.allKeys.add(a.split("+").at(-1)))}}#e(t){t.altKey&&this.buffer.push("alt"),t.ctrlKey&&this.buffer.push("ctrl"),t.metaKey&&this.buffer.push("meta"),t.shiftKey&&this.buffer.push("shift"),this.buffer.push(t.key);const r=this.buffer.join("+");return this.buffer.length=0,r}exec(t,r){if(!this.allKeys.has(r.key))return;const n=this.callbacks.get(this.#e(r));if(!n)return;const{callback:i,options:{bubbles:o=!1,args:a=[],checker:l=null}}=n;l&&!l(t,r)||(i.bind(t,...a,r)(),o||(r.stopPropagation(),r.preventDefault()))}}class tN{static _colorsMapping=new Map([["CanvasText",[0,0,0]],["Canvas",[255,255,255]]]);get _colors(){const t=new Map([["CanvasText",null],["Canvas",null]]);return G1t(t),bn(this,"_colors",t)}convert(t){const r=XO(t);if(!window.matchMedia("(forced-colors: active)").matches)return r;for(const[n,i]of this._colors)if(i.every((o,a)=>o===r[a]))return tN._colorsMapping.get(n);return r}getHexCode(t){const r=this._colors.get(t);return r?lr.makeHexColor(...r):t}}class Mp{#e=new AbortController;#t=null;#r=new Map;#i=new Map;#s=null;#n=null;#o=null;#l=new K1t;#d=0;#u=new Set;#h=null;#c=null;#a=new Set;#m=!1;#g=null;#p=null;#v=null;#f=!1;#b=null;#x=new Z1t;#$=!1;#k=!1;#E=null;#L=null;#S=null;#w=hn.NONE;#y=new Set;#C=null;#_=null;#T=null;#P=this.blur.bind(this);#D=this.focus.bind(this);#j=this.copy.bind(this);#M=this.cut.bind(this);#R=this.paste.bind(this);#I=this.keydown.bind(this);#U=this.keyup.bind(this);#W=this.onEditingAction.bind(this);#H=this.onPageChanging.bind(this);#z=this.onScaleChanging.bind(this);#F=this.onRotationChanging.bind(this);#Z={isEditing:!1,isEmpty:!0,hasSomethingToUndo:!1,hasSomethingToRedo:!1,hasSelectedEditor:!1,hasSelectedText:!1};#V=[0,0];#O=null;#B=null;#K=null;static TRANSLATE_SMALL=1;static TRANSLATE_BIG=10;static get _keyboardManager(){const t=Mp.prototype,r=a=>a.#B.contains(document.activeElement)&&document.activeElement.tagName!=="BUTTON"&&a.hasSomethingToControl(),n=(a,{target:l})=>{if(l instanceof HTMLInputElement){const{type:d}=l;return d!=="text"&&d!=="number"}return!0},i=this.TRANSLATE_SMALL,o=this.TRANSLATE_BIG;return bn(this,"_keyboardManager",new v9([[["ctrl+a","mac+meta+a"],t.selectAll,{checker:n}],[["ctrl+z","mac+meta+z"],t.undo,{checker:n}],[["ctrl+y","ctrl+shift+z","mac+meta+shift+z","ctrl+shift+Z","mac+meta+shift+Z"],t.redo,{checker:n}],[["Backspace","alt+Backspace","ctrl+Backspace","shift+Backspace","mac+Backspace","mac+alt+Backspace","mac+ctrl+Backspace","Delete","ctrl+Delete","shift+Delete","mac+Delete"],t.delete,{checker:n}],[["Enter","mac+Enter"],t.addNewEditorFromKeyboard,{checker:(a,{target:l})=>!(l instanceof HTMLButtonElement)&&a.#B.contains(l)&&!a.isEnterHandled}],[[" ","mac+ "],t.addNewEditorFromKeyboard,{checker:(a,{target:l})=>!(l instanceof HTMLButtonElement)&&a.#B.contains(document.activeElement)}],[["Escape","mac+Escape"],t.unselectAll],[["ArrowLeft","mac+ArrowLeft"],t.translateSelectedEditors,{args:[-i,0],checker:r}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t.translateSelectedEditors,{args:[-o,0],checker:r}],[["ArrowRight","mac+ArrowRight"],t.translateSelectedEditors,{args:[i,0],checker:r}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t.translateSelectedEditors,{args:[o,0],checker:r}],[["ArrowUp","mac+ArrowUp"],t.translateSelectedEditors,{args:[0,-i],checker:r}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t.translateSelectedEditors,{args:[0,-o],checker:r}],[["ArrowDown","mac+ArrowDown"],t.translateSelectedEditors,{args:[0,i],checker:r}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t.translateSelectedEditors,{args:[0,o],checker:r}]]))}constructor(t,r,n,i,o,a,l,d,u){this._signal=this.#e.signal,this.#B=t,this.#K=r,this.#s=n,this._eventBus=i,this._eventBus._on("editingaction",this.#W),this._eventBus._on("pagechanging",this.#H),this._eventBus._on("scalechanging",this.#z),this._eventBus._on("rotationchanging",this.#F),this.#ie(),this.#le(),this.#Q(),this.#n=o.annotationStorage,this.#g=o.filterFactory,this.#_=a,this.#v=l||null,this.#m=d,this.#S=u||null,this.viewParameters={realScale:Xf.PDF_TO_CSS_UNITS,rotation:0},this.isShiftKeyDown=!1}destroy(){this.#e?.abort(),this.#e=null,this._signal=null,this._eventBus._off("editingaction",this.#W),this._eventBus._off("pagechanging",this.#H),this._eventBus._off("scalechanging",this.#z),this._eventBus._off("rotationchanging",this.#F);for(const t of this.#i.values())t.destroy();this.#i.clear(),this.#r.clear(),this.#a.clear(),this.#t=null,this.#y.clear(),this.#l.destroy(),this.#s?.destroy(),this.#b?.hide(),this.#b=null,this.#p&&(clearTimeout(this.#p),this.#p=null),this.#O&&(clearTimeout(this.#O),this.#O=null)}async mlGuess(t){return this.#S?.guess(t)||null}get hasMLManager(){return!!this.#S}get hcmFilter(){return bn(this,"hcmFilter",this.#_?this.#g.addHCMFilter(this.#_.foreground,this.#_.background):"none")}get direction(){return bn(this,"direction",getComputedStyle(this.#B).direction)}get highlightColors(){return bn(this,"highlightColors",this.#v?new Map(this.#v.split(",").map(t=>t.split("=").map(r=>r.trim()))):null)}get highlightColorNames(){return bn(this,"highlightColorNames",this.highlightColors?new Map(Array.from(this.highlightColors,t=>t.reverse())):null)}setMainHighlightColorPicker(t){this.#L=t}editAltText(t){this.#s?.editAltText(this,t)}onPageChanging({pageNumber:t}){this.#d=t-1}focusMainContainer(){this.#B.focus()}findParent(t,r){for(const n of this.#i.values()){const{x:i,y:o,width:a,height:l}=n.div.getBoundingClientRect();if(t>=i&&t<=i+a&&r>=o&&r<=o+l)return n}return null}disableUserSelect(t=!1){this.#K.classList.toggle("noUserSelect",t)}addShouldRescale(t){this.#a.add(t)}removeShouldRescale(t){this.#a.delete(t)}onScaleChanging({scale:t}){this.commitOrRemove(),this.viewParameters.realScale=t*Xf.PDF_TO_CSS_UNITS;for(const r of this.#a)r.onScaleChanging()}onRotationChanging({pagesRotation:t}){this.commitOrRemove(),this.viewParameters.rotation=t}#Y({anchorNode:t}){return t.nodeType===Node.TEXT_NODE?t.parentElement:t}highlightSelection(t=""){const r=document.getSelection();if(!r||r.isCollapsed)return;const{anchorNode:n,anchorOffset:i,focusNode:o,focusOffset:a}=r,l=r.toString(),u=this.#Y(r).closest(".textLayer"),p=this.getSelectionBoxes(u);if(p){r.empty(),this.#w===hn.NONE&&(this._eventBus.dispatch("showannotationeditorui",{source:this,mode:hn.HIGHLIGHT}),this.showAllEditors("highlight",!0,!0));for(const h of this.#i.values())if(h.hasTextLayer(u)){h.createAndAddNewEditor({x:0,y:0},!1,{methodOfCreation:t,boxes:p,anchorNode:n,anchorOffset:i,focusNode:o,focusOffset:a,text:l});break}}}#re(){const t=document.getSelection();if(!t||t.isCollapsed)return;const n=this.#Y(t).closest(".textLayer"),i=this.getSelectionBoxes(n);i&&(this.#b||=new Y1t(this),this.#b.show(n,i,this.direction==="ltr"))}addToAnnotationStorage(t){!t.isEmpty()&&this.#n&&!this.#n.has(t.id)&&this.#n.setValue(t.id,t)}#ne(){const t=document.getSelection();if(!t||t.isCollapsed){this.#C&&(this.#b?.hide(),this.#C=null,this.#A({hasSelectedText:!1}));return}const{anchorNode:r}=t;if(r===this.#C)return;if(!this.#Y(t).closest(".textLayer")){this.#C&&(this.#b?.hide(),this.#C=null,this.#A({hasSelectedText:!1}));return}if(this.#b?.hide(),this.#C=r,this.#A({hasSelectedText:!0}),!(this.#w!==hn.HIGHLIGHT&&this.#w!==hn.NONE)&&(this.#w===hn.HIGHLIGHT&&this.showAllEditors("highlight",!0,!0),this.#f=this.isShiftKeyDown,!this.isShiftKeyDown)){const o=this._signal,a=l=>{l.type==="pointerup"&&l.button!==0||(window.removeEventListener("pointerup",a),window.removeEventListener("blur",a),l.type==="pointerup"&&this.#q("main_toolbar"))};window.addEventListener("pointerup",a,{signal:o}),window.addEventListener("blur",a,{signal:o})}}#q(t=""){this.#w===hn.HIGHLIGHT?this.highlightSelection(t):this.#m&&this.#re()}#ie(){document.addEventListener("selectionchange",this.#ne.bind(this),{signal:this._signal})}#oe(){const t=this._signal;window.addEventListener("focus",this.#D,{signal:t}),window.addEventListener("blur",this.#P,{signal:t})}#ae(){window.removeEventListener("focus",this.#D),window.removeEventListener("blur",this.#P)}blur(){if(this.isShiftKeyDown=!1,this.#f&&(this.#f=!1,this.#q("main_toolbar")),!this.hasSelection)return;const{activeElement:t}=document;for(const r of this.#y)if(r.div.contains(t)){this.#E=[r,t],r._focusEventsAllowed=!1;break}}focus(){if(!this.#E)return;const[t,r]=this.#E;this.#E=null,r.addEventListener("focusin",()=>{t._focusEventsAllowed=!0},{once:!0,signal:this._signal}),r.focus()}#Q(){const t=this._signal;window.addEventListener("keydown",this.#I,{signal:t}),window.addEventListener("keyup",this.#U,{signal:t})}#se(){window.removeEventListener("keydown",this.#I),window.removeEventListener("keyup",this.#U)}#X(){const t=this._signal;document.addEventListener("copy",this.#j,{signal:t}),document.addEventListener("cut",this.#M,{signal:t}),document.addEventListener("paste",this.#R,{signal:t})}#J(){document.removeEventListener("copy",this.#j),document.removeEventListener("cut",this.#M),document.removeEventListener("paste",this.#R)}#le(){const t=this._signal;document.addEventListener("dragover",this.dragOver.bind(this),{signal:t}),document.addEventListener("drop",this.drop.bind(this),{signal:t})}addEditListeners(){this.#Q(),this.#X()}removeEditListeners(){this.#se(),this.#J()}dragOver(t){for(const{type:r}of t.dataTransfer.items)for(const n of this.#c)if(n.isHandlingMimeForPasting(r)){t.dataTransfer.dropEffect="copy",t.preventDefault();return}}drop(t){for(const r of t.dataTransfer.items)for(const n of this.#c)if(n.isHandlingMimeForPasting(r.type)){n.paste(r,this.currentLayer),t.preventDefault();return}}copy(t){if(t.preventDefault(),this.#t?.commitOrRemove(),!this.hasSelection)return;const r=[];for(const n of this.#y){const i=n.serialize(!0);i&&r.push(i)}r.length!==0&&t.clipboardData.setData("application/pdfjs",JSON.stringify(r))}cut(t){this.copy(t),this.delete()}paste(t){t.preventDefault();const{clipboardData:r}=t;for(const o of r.items)for(const a of this.#c)if(a.isHandlingMimeForPasting(o.type)){a.paste(o,this.currentLayer);return}let n=r.getData("application/pdfjs");if(!n)return;try{n=JSON.parse(n)}catch(o){Jr(`paste: "${o.message}".`);return}if(!Array.isArray(n))return;this.unselectAll();const i=this.currentLayer;try{const o=[];for(const d of n){const u=i.deserialize(d);if(!u)return;o.push(u)}const a=()=>{for(const d of o)this.#ee(d);this.#te(o)},l=()=>{for(const d of o)d.remove()};this.addCommands({cmd:a,undo:l,mustExec:!0})}catch(o){Jr(`paste: "${o.message}".`)}}keydown(t){!this.isShiftKeyDown&&t.key==="Shift"&&(this.isShiftKeyDown=!0),this.#w!==hn.NONE&&!this.isEditorHandlingKeyboard&&Mp._keyboardManager.exec(this,t)}keyup(t){this.isShiftKeyDown&&t.key==="Shift"&&(this.isShiftKeyDown=!1,this.#f&&(this.#f=!1,this.#q("main_toolbar")))}onEditingAction({name:t}){switch(t){case"undo":case"redo":case"delete":case"selectAll":this[t]();break;case"highlightSelection":this.highlightSelection("context_menu");break}}#A(t){Object.entries(t).some(([n,i])=>this.#Z[n]!==i)&&(this._eventBus.dispatch("annotationeditorstateschanged",{source:this,details:Object.assign(this.#Z,t)}),this.#w===hn.HIGHLIGHT&&t.hasSelectedEditor===!1&&this.#N([[Lr.HIGHLIGHT_FREE,!0]]))}#N(t){this._eventBus.dispatch("annotationeditorparamschanged",{source:this,details:t})}setEditingState(t){t?(this.#oe(),this.#X(),this.#A({isEditing:this.#w!==hn.NONE,isEmpty:this.#G(),hasSomethingToUndo:this.#l.hasSomethingToUndo(),hasSomethingToRedo:this.#l.hasSomethingToRedo(),hasSelectedEditor:!1})):(this.#ae(),this.#J(),this.#A({isEditing:!1}),this.disableUserSelect(!1))}registerEditorTypes(t){if(!this.#c){this.#c=t;for(const r of this.#c)this.#N(r.defaultPropertiesToUpdate)}}getId(){return this.#x.id}get currentLayer(){return this.#i.get(this.#d)}getLayer(t){return this.#i.get(t)}get currentPageIndex(){return this.#d}addLayer(t){this.#i.set(t.pageIndex,t),this.#$?t.enable():t.disable()}removeLayer(t){this.#i.delete(t.pageIndex)}updateMode(t,r=null,n=!1){if(this.#w!==t){if(this.#w=t,t===hn.NONE){this.setEditingState(!1),this.#de();return}this.setEditingState(!0),this.#ce(),this.unselectAll();for(const i of this.#i.values())i.updateMode(t);if(!r&&n){this.addNewEditorFromKeyboard();return}if(r){for(const i of this.#r.values())if(i.annotationElementId===r){this.setSelected(i),i.enterInEditMode();break}}}}addNewEditorFromKeyboard(){this.currentLayer.canCreateNewEmptyEditor()&&this.currentLayer.addNewEditor()}updateToolbar(t){t!==this.#w&&this._eventBus.dispatch("switchannotationeditormode",{source:this,mode:t})}updateParams(t,r){if(this.#c){switch(t){case Lr.CREATE:this.currentLayer.addNewEditor();return;case Lr.HIGHLIGHT_DEFAULT_COLOR:this.#L?.updateColor(r);break;case Lr.HIGHLIGHT_SHOW_ALL:this._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:{type:"highlight",action:"toggle_visibility"}}}),(this.#T||=new Map).set(t,r),this.showAllEditors("highlight",r);break}for(const n of this.#y)n.updateParams(t,r);for(const n of this.#c)n.updateDefaultParams(t,r)}}showAllEditors(t,r,n=!1){for(const o of this.#r.values())o.editorType===t&&o.show(r);(this.#T?.get(Lr.HIGHLIGHT_SHOW_ALL)??!0)!==r&&this.#N([[Lr.HIGHLIGHT_SHOW_ALL,r]])}enableWaiting(t=!1){if(this.#k!==t){this.#k=t;for(const r of this.#i.values())t?r.disableClick():r.enableClick(),r.div.classList.toggle("waiting",t)}}#ce(){if(!this.#$){this.#$=!0;for(const t of this.#i.values())t.enable();for(const t of this.#r.values())t.enable()}}#de(){if(this.unselectAll(),this.#$){this.#$=!1;for(const t of this.#i.values())t.disable();for(const t of this.#r.values())t.disable()}}getEditors(t){const r=[];for(const n of this.#r.values())n.pageIndex===t&&r.push(n);return r}getEditor(t){return this.#r.get(t)}addEditor(t){this.#r.set(t.id,t)}removeEditor(t){t.div.contains(document.activeElement)&&(this.#p&&clearTimeout(this.#p),this.#p=setTimeout(()=>{this.focusMainContainer(),this.#p=null},0)),this.#r.delete(t.id),this.unselect(t),(!t.annotationElementId||!this.#u.has(t.annotationElementId))&&this.#n?.remove(t.id)}addDeletedAnnotationElement(t){this.#u.add(t.annotationElementId),this.addChangedExistingAnnotation(t),t.deleted=!0}isDeletedAnnotationElement(t){return this.#u.has(t)}removeDeletedAnnotationElement(t){this.#u.delete(t.annotationElementId),this.removeChangedExistingAnnotation(t),t.deleted=!1}#ee(t){const r=this.#i.get(t.pageIndex);r?r.addOrRebuild(t):(this.addEditor(t),this.addToAnnotationStorage(t))}setActiveEditor(t){this.#t!==t&&(this.#t=t,t&&this.#N(t.propertiesToUpdate))}get#ue(){let t=null;for(t of this.#y);return t}updateUI(t){this.#ue===t&&this.#N(t.propertiesToUpdate)}toggleSelected(t){if(this.#y.has(t)){this.#y.delete(t),t.unselect(),this.#A({hasSelectedEditor:this.hasSelection});return}this.#y.add(t),t.select(),this.#N(t.propertiesToUpdate),this.#A({hasSelectedEditor:!0})}setSelected(t){for(const r of this.#y)r!==t&&r.unselect();this.#y.clear(),this.#y.add(t),t.select(),this.#N(t.propertiesToUpdate),this.#A({hasSelectedEditor:!0})}isSelected(t){return this.#y.has(t)}get firstSelectedEditor(){return this.#y.values().next().value}unselect(t){t.unselect(),this.#y.delete(t),this.#A({hasSelectedEditor:this.hasSelection})}get hasSelection(){return this.#y.size!==0}get isEnterHandled(){return this.#y.size===1&&this.firstSelectedEditor.isEnterHandled}undo(){this.#l.undo(),this.#A({hasSomethingToUndo:this.#l.hasSomethingToUndo(),hasSomethingToRedo:!0,isEmpty:this.#G()})}redo(){this.#l.redo(),this.#A({hasSomethingToUndo:!0,hasSomethingToRedo:this.#l.hasSomethingToRedo(),isEmpty:this.#G()})}addCommands(t){this.#l.add(t),this.#A({hasSomethingToUndo:!0,hasSomethingToRedo:!1,isEmpty:this.#G()})}#G(){if(this.#r.size===0)return!0;if(this.#r.size===1)for(const t of this.#r.values())return t.isEmpty();return!1}delete(){if(this.commitOrRemove(),!this.hasSelection)return;const t=[...this.#y],r=()=>{for(const i of t)i.remove()},n=()=>{for(const i of t)this.#ee(i)};this.addCommands({cmd:r,undo:n,mustExec:!0})}commitOrRemove(){this.#t?.commitOrRemove()}hasSomethingToControl(){return this.#t||this.hasSelection}#te(t){for(const r of this.#y)r.unselect();this.#y.clear();for(const r of t)r.isEmpty()||(this.#y.add(r),r.select());this.#A({hasSelectedEditor:this.hasSelection})}selectAll(){for(const t of this.#y)t.commit();this.#te(this.#r.values())}unselectAll(){if(!(this.#t&&(this.#t.commitOrRemove(),this.#w!==hn.NONE))&&this.hasSelection){for(const t of this.#y)t.unselect();this.#y.clear(),this.#A({hasSelectedEditor:!1})}}translateSelectedEditors(t,r,n=!1){if(n||this.commitOrRemove(),!this.hasSelection)return;this.#V[0]+=t,this.#V[1]+=r;const[i,o]=this.#V,a=[...this.#y],l=1e3;this.#O&&clearTimeout(this.#O),this.#O=setTimeout(()=>{this.#O=null,this.#V[0]=this.#V[1]=0,this.addCommands({cmd:()=>{for(const d of a)this.#r.has(d.id)&&d.translateInPage(i,o)},undo:()=>{for(const d of a)this.#r.has(d.id)&&d.translateInPage(-i,-o)},mustExec:!1})},l);for(const d of a)d.translateInPage(t,r)}setUpDragSession(){if(this.hasSelection){this.disableUserSelect(!0),this.#h=new Map;for(const t of this.#y)this.#h.set(t,{savedX:t.x,savedY:t.y,savedPageIndex:t.pageIndex,newX:0,newY:0,newPageIndex:-1})}}endDragSession(){if(!this.#h)return!1;this.disableUserSelect(!1);const t=this.#h;this.#h=null;let r=!1;for(const[{x:i,y:o,pageIndex:a},l]of t)l.newX=i,l.newY=o,l.newPageIndex=a,r||=i!==l.savedX||o!==l.savedY||a!==l.savedPageIndex;if(!r)return!1;const n=(i,o,a,l)=>{if(this.#r.has(i.id)){const d=this.#i.get(l);d?i._setParentAndPosition(d,o,a):(i.pageIndex=l,i.x=o,i.y=a)}};return this.addCommands({cmd:()=>{for(const[i,{newX:o,newY:a,newPageIndex:l}]of t)n(i,o,a,l)},undo:()=>{for(const[i,{savedX:o,savedY:a,savedPageIndex:l}]of t)n(i,o,a,l)},mustExec:!0}),!0}dragSelectedEditors(t,r){if(this.#h)for(const n of this.#h.keys())n.drag(t,r)}rebuild(t){if(t.parent===null){const r=this.getLayer(t.pageIndex);r?(r.changeParent(t),r.addOrRebuild(t)):(this.addEditor(t),this.addToAnnotationStorage(t),t.rebuild())}else t.parent.addOrRebuild(t)}get isEditorHandlingKeyboard(){return this.getActive()?.shouldGetKeyboardEvents()||this.#y.size===1&&this.firstSelectedEditor.shouldGetKeyboardEvents()}isActive(t){return this.#t===t}getActive(){return this.#t}getMode(){return this.#w}get imageManager(){return bn(this,"imageManager",new eN)}getSelectionBoxes(t){if(!t)return null;const r=document.getSelection();for(let u=0,p=r.rangeCount;u<p;u++)if(!t.contains(r.getRangeAt(u).commonAncestorContainer))return null;const{x:n,y:i,width:o,height:a}=t.getBoundingClientRect();let l;switch(t.getAttribute("data-main-rotation")){case"90":l=(u,p,h,f)=>({x:(p-i)/a,y:1-(u+h-n)/o,width:f/a,height:h/o});break;case"180":l=(u,p,h,f)=>({x:1-(u+h-n)/o,y:1-(p+f-i)/a,width:h/o,height:f/a});break;case"270":l=(u,p,h,f)=>({x:1-(p+f-i)/a,y:(u-n)/o,width:f/a,height:h/o});break;default:l=(u,p,h,f)=>({x:(u-n)/o,y:(p-i)/a,width:h/o,height:f/a});break}const d=[];for(let u=0,p=r.rangeCount;u<p;u++){const h=r.getRangeAt(u);if(!h.collapsed)for(const{x:f,y:g,width:y,height:v}of h.getClientRects())y===0||v===0||d.push(l(f,g,y,v))}return d.length===0?null:d}addChangedExistingAnnotation({annotationElementId:t,id:r}){(this.#o||=new Map).set(t,r)}removeChangedExistingAnnotation({annotationElementId:t}){this.#o?.delete(t)}renderAnnotationElement(t){const r=this.#o?.get(t.data.id);if(!r)return;const n=this.#n.getRawValue(r);n&&(this.#w===hn.NONE&&!n.hasBeenModified||n.renderAnnotationElement(t))}}class Vh{#e="";#t=!1;#r=null;#i=null;#s=null;#n=!1;#o=null;static _l10nPromise=null;constructor(t){this.#o=t}static initialize(t){Vh._l10nPromise||=t}async render(){const t=this.#r=document.createElement("button");t.className="altText";const r=await Vh._l10nPromise.get("pdfjs-editor-alt-text-button-label");t.textContent=r,t.setAttribute("aria-label",r),t.tabIndex="0";const n=this.#o._uiManager._signal;t.addEventListener("contextmenu",Ss,{signal:n}),t.addEventListener("pointerdown",o=>o.stopPropagation(),{signal:n});const i=o=>{o.preventDefault(),this.#o._uiManager.editAltText(this.#o)};return t.addEventListener("click",i,{capture:!0,signal:n}),t.addEventListener("keydown",o=>{o.target===t&&o.key==="Enter"&&(this.#n=!0,i(o))},{signal:n}),await this.#l(),t}finish(){this.#r&&(this.#r.focus({focusVisible:this.#n}),this.#n=!1)}isEmpty(){return!this.#e&&!this.#t}get data(){return{altText:this.#e,decorative:this.#t}}set data({altText:t,decorative:r}){this.#e===t&&this.#t===r||(this.#e=t,this.#t=r,this.#l())}toggle(t=!1){this.#r&&(!t&&this.#s&&(clearTimeout(this.#s),this.#s=null),this.#r.disabled=!t)}destroy(){this.#r?.remove(),this.#r=null,this.#i=null}async#l(){const t=this.#r;if(!t)return;if(!this.#e&&!this.#t){t.classList.remove("done"),this.#i?.remove();return}t.classList.add("done"),Vh._l10nPromise.get("pdfjs-editor-alt-text-edit-button-label").then(i=>{t.setAttribute("aria-label",i)});let r=this.#i;if(!r){this.#i=r=document.createElement("span"),r.className="tooltip",r.setAttribute("role","tooltip");const i=r.id=`alt-text-tooltip-${this.#o.id}`;t.setAttribute("aria-describedby",i);const o=100,a=this.#o._uiManager._signal;a.addEventListener("abort",()=>{clearTimeout(this.#s),this.#s=null},{once:!0}),t.addEventListener("mouseenter",()=>{this.#s=setTimeout(()=>{this.#s=null,this.#i.classList.add("show"),this.#o._reportTelemetry({action:"alt_text_tooltip"})},o)},{signal:a}),t.addEventListener("mouseleave",()=>{this.#s&&(clearTimeout(this.#s),this.#s=null),this.#i?.classList.remove("show")},{signal:a})}r.innerText=this.#t?await Vh._l10nPromise.get("pdfjs-editor-alt-text-decorative-tooltip"):this.#e,r.parentNode||t.append(r),this.#o.getImageForAltText()?.setAttribute("aria-describedby",r.id)}}class Ar{#e=null;#t=null;#r=null;#i=!1;#s=!1;#n=null;#o=null;#l=this.focusin.bind(this);#d=this.focusout.bind(this);#u=null;#h="";#c=!1;#a=null;#m=!1;#g=!1;#p=!1;#v=null;#f=0;#b=0;#x=null;_initialOptions=Object.create(null);_isVisible=!0;_uiManager=null;_focusEventsAllowed=!0;_l10nPromise=null;#$=!1;#k=Ar._zIndex++;static _borderLineWidth=-1;static _colorManager=new tN;static _zIndex=1;static _telemetryTimeout=1e3;static get _resizerKeyboardManager(){const t=Ar.prototype._resizeWithKeyboard,r=Mp.TRANSLATE_SMALL,n=Mp.TRANSLATE_BIG;return bn(this,"_resizerKeyboardManager",new v9([[["ArrowLeft","mac+ArrowLeft"],t,{args:[-r,0]}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t,{args:[-n,0]}],[["ArrowRight","mac+ArrowRight"],t,{args:[r,0]}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t,{args:[n,0]}],[["ArrowUp","mac+ArrowUp"],t,{args:[0,-r]}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t,{args:[0,-n]}],[["ArrowDown","mac+ArrowDown"],t,{args:[0,r]}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t,{args:[0,n]}],[["Escape","mac+Escape"],Ar.prototype._stopResizingWithKeyboard]]))}constructor(t){this.constructor===Ar&&Qn("Cannot initialize AnnotationEditor."),this.parent=t.parent,this.id=t.id,this.width=this.height=null,this.pageIndex=t.parent.pageIndex,this.name=t.name,this.div=null,this._uiManager=t.uiManager,this.annotationElementId=null,this._willKeepAspectRatio=!1,this._initialOptions.isCentered=t.isCentered,this._structTreeParentId=null;const{rotation:r,rawDims:{pageWidth:n,pageHeight:i,pageX:o,pageY:a}}=this.parent.viewport;this.rotation=r,this.pageRotation=(360+r-this._uiManager.viewParameters.rotation)%360,this.pageDimensions=[n,i],this.pageTranslation=[o,a];const[l,d]=this.parentDimensions;this.x=t.x/l,this.y=t.y/d,this.isAttachedToDOM=!1,this.deleted=!1}get editorType(){return Object.getPrototypeOf(this).constructor._type}static get _defaultLineColor(){return bn(this,"_defaultLineColor",this._colorManager.getHexCode("CanvasText"))}static deleteAnnotationElement(t){const r=new Q1t({id:t.parent.getNextId(),parent:t.parent,uiManager:t._uiManager});r.annotationElementId=t.annotationElementId,r.deleted=!0,r._uiManager.addToAnnotationStorage(r)}static initialize(t,r,n){if(Ar._l10nPromise||=new Map(["pdfjs-editor-alt-text-button-label","pdfjs-editor-alt-text-edit-button-label","pdfjs-editor-alt-text-decorative-tooltip","pdfjs-editor-resizer-label-topLeft","pdfjs-editor-resizer-label-topMiddle","pdfjs-editor-resizer-label-topRight","pdfjs-editor-resizer-label-middleRight","pdfjs-editor-resizer-label-bottomRight","pdfjs-editor-resizer-label-bottomMiddle","pdfjs-editor-resizer-label-bottomLeft","pdfjs-editor-resizer-label-middleLeft"].map(o=>[o,t.get(o.replaceAll(/([A-Z])/g,a=>`-${a.toLowerCase()}`))])),n?.strings)for(const o of n.strings)Ar._l10nPromise.set(o,t.get(o));if(Ar._borderLineWidth!==-1)return;const i=getComputedStyle(document.documentElement);Ar._borderLineWidth=parseFloat(i.getPropertyValue("--outline-width"))||0}static updateDefaultParams(t,r){}static get defaultPropertiesToUpdate(){return[]}static isHandlingMimeForPasting(t){return!1}static paste(t,r){Qn("Not implemented")}get propertiesToUpdate(){return[]}get _isDraggable(){return this.#$}set _isDraggable(t){this.#$=t,this.div?.classList.toggle("draggable",t)}get isEnterHandled(){return!0}center(){const[t,r]=this.pageDimensions;switch(this.parentRotation){case 90:this.x-=this.height*r/(t*2),this.y+=this.width*t/(r*2);break;case 180:this.x+=this.width/2,this.y+=this.height/2;break;case 270:this.x+=this.height*r/(t*2),this.y-=this.width*t/(r*2);break;default:this.x-=this.width/2,this.y-=this.height/2;break}this.fixAndSetPosition()}addCommands(t){this._uiManager.addCommands(t)}get currentLayer(){return this._uiManager.currentLayer}setInBackground(){this.div.style.zIndex=0}setInForeground(){this.div.style.zIndex=this.#k}setParent(t){t!==null?(this.pageIndex=t.pageIndex,this.pageDimensions=t.pageDimensions):this.#I(),this.parent=t}focusin(t){this._focusEventsAllowed&&(this.#c?this.#c=!1:this.parent.setSelected(this))}focusout(t){!this._focusEventsAllowed||!this.isAttachedToDOM||t.relatedTarget?.closest(`#${this.id}`)||(t.preventDefault(),this.parent?.isMultipleSelection||this.commitOrRemove())}commitOrRemove(){this.isEmpty()?this.remove():this.commit()}commit(){this.addToAnnotationStorage()}addToAnnotationStorage(){this._uiManager.addToAnnotationStorage(this)}setAt(t,r,n,i){const[o,a]=this.parentDimensions;[n,i]=this.screenToPageTranslation(n,i),this.x=(t+n)/o,this.y=(r+i)/a,this.fixAndSetPosition()}#E([t,r],n,i){[n,i]=this.screenToPageTranslation(n,i),this.x+=n/t,this.y+=i/r,this.fixAndSetPosition()}translate(t,r){this.#E(this.parentDimensions,t,r)}translateInPage(t,r){this.#a||=[this.x,this.y],this.#E(this.pageDimensions,t,r),this.div.scrollIntoView({block:"nearest"})}drag(t,r){this.#a||=[this.x,this.y];const[n,i]=this.parentDimensions;if(this.x+=t/n,this.y+=r/i,this.parent&&(this.x<0||this.x>1||this.y<0||this.y>1)){const{x:u,y:p}=this.div.getBoundingClientRect();this.parent.findNewParent(this,u,p)&&(this.x-=Math.floor(this.x),this.y-=Math.floor(this.y))}let{x:o,y:a}=this;const[l,d]=this.getBaseTranslation();o+=l,a+=d,this.div.style.left=`${(100*o).toFixed(2)}%`,this.div.style.top=`${(100*a).toFixed(2)}%`,this.div.scrollIntoView({block:"nearest"})}get _hasBeenMoved(){return!!this.#a&&(this.#a[0]!==this.x||this.#a[1]!==this.y)}getBaseTranslation(){const[t,r]=this.parentDimensions,{_borderLineWidth:n}=Ar,i=n/t,o=n/r;switch(this.rotation){case 90:return[-i,o];case 180:return[i,o];case 270:return[i,-o];default:return[-i,-o]}}get _mustFixPosition(){return!0}fixAndSetPosition(t=this.rotation){const[r,n]=this.pageDimensions;let{x:i,y:o,width:a,height:l}=this;if(a*=r,l*=n,i*=r,o*=n,this._mustFixPosition)switch(t){case 0:i=Math.max(0,Math.min(r-a,i)),o=Math.max(0,Math.min(n-l,o));break;case 90:i=Math.max(0,Math.min(r-l,i)),o=Math.min(n,Math.max(a,o));break;case 180:i=Math.min(r,Math.max(a,i)),o=Math.min(n,Math.max(l,o));break;case 270:i=Math.min(r,Math.max(l,i)),o=Math.max(0,Math.min(n-a,o));break}this.x=i/=r,this.y=o/=n;const[d,u]=this.getBaseTranslation();i+=d,o+=u;const{style:p}=this.div;p.left=`${(100*i).toFixed(2)}%`,p.top=`${(100*o).toFixed(2)}%`,this.moveInDOM()}static#L(t,r,n){switch(n){case 90:return[r,-t];case 180:return[-t,-r];case 270:return[-r,t];default:return[t,r]}}screenToPageTranslation(t,r){return Ar.#L(t,r,this.parentRotation)}pageTranslationToScreen(t,r){return Ar.#L(t,r,360-this.parentRotation)}#S(t){switch(t){case 90:{const[r,n]=this.pageDimensions;return[0,-r/n,n/r,0]}case 180:return[-1,0,0,-1];case 270:{const[r,n]=this.pageDimensions;return[0,r/n,-n/r,0]}default:return[1,0,0,1]}}get parentScale(){return this._uiManager.viewParameters.realScale}get parentRotation(){return(this._uiManager.viewParameters.rotation+this.pageRotation)%360}get parentDimensions(){const{parentScale:t,pageDimensions:[r,n]}=this,i=r*t,o=n*t;return ws.isCSSRoundSupported?[Math.round(i),Math.round(o)]:[i,o]}setDims(t,r){const[n,i]=this.parentDimensions;this.div.style.width=`${(100*t/n).toFixed(2)}%`,this.#s||(this.div.style.height=`${(100*r/i).toFixed(2)}%`)}fixDims(){const{style:t}=this.div,{height:r,width:n}=t,i=n.endsWith("%"),o=!this.#s&&r.endsWith("%");if(i&&o)return;const[a,l]=this.parentDimensions;i||(t.width=`${(100*parseFloat(n)/a).toFixed(2)}%`),!this.#s&&!o&&(t.height=`${(100*parseFloat(r)/l).toFixed(2)}%`)}getInitialTranslation(){return[0,0]}#w(){if(this.#n)return;this.#n=document.createElement("div"),this.#n.classList.add("resizers");const t=this._willKeepAspectRatio?["topLeft","topRight","bottomRight","bottomLeft"]:["topLeft","topMiddle","topRight","middleRight","bottomRight","bottomMiddle","bottomLeft","middleLeft"],r=this._uiManager._signal;for(const n of t){const i=document.createElement("div");this.#n.append(i),i.classList.add("resizer",n),i.setAttribute("data-resizer-name",n),i.addEventListener("pointerdown",this.#y.bind(this,n),{signal:r}),i.addEventListener("contextmenu",Ss,{signal:r}),i.tabIndex=-1}this.div.prepend(this.#n)}#y(t,r){r.preventDefault();const{isMac:n}=ws.platform;if(r.button!==0||r.ctrlKey&&n)return;this.#r?.toggle(!1);const i=this.#_.bind(this,t),o=this._isDraggable;this._isDraggable=!1;const a=this._uiManager._signal,l={passive:!0,capture:!0,signal:a};this.parent.togglePointerEvents(!1),window.addEventListener("pointermove",i,l),window.addEventListener("contextmenu",Ss,{signal:a});const d=this.x,u=this.y,p=this.width,h=this.height,f=this.parent.div.style.cursor,g=this.div.style.cursor;this.div.style.cursor=this.parent.div.style.cursor=window.getComputedStyle(r.target).cursor;const y=()=>{this.parent.togglePointerEvents(!0),this.#r?.toggle(!0),this._isDraggable=o,window.removeEventListener("pointerup",y),window.removeEventListener("blur",y),window.removeEventListener("pointermove",i,l),window.removeEventListener("contextmenu",Ss),this.parent.div.style.cursor=f,this.div.style.cursor=g,this.#C(d,u,p,h)};window.addEventListener("pointerup",y,{signal:a}),window.addEventListener("blur",y,{signal:a})}#C(t,r,n,i){const o=this.x,a=this.y,l=this.width,d=this.height;o===t&&a===r&&l===n&&d===i||this.addCommands({cmd:()=>{this.width=l,this.height=d,this.x=o,this.y=a;const[u,p]=this.parentDimensions;this.setDims(u*l,p*d),this.fixAndSetPosition()},undo:()=>{this.width=n,this.height=i,this.x=t,this.y=r;const[u,p]=this.parentDimensions;this.setDims(u*n,p*i),this.fixAndSetPosition()},mustExec:!0})}#_(t,r){const[n,i]=this.parentDimensions,o=this.x,a=this.y,l=this.width,d=this.height,u=Ar.MIN_SIZE/n,p=Ar.MIN_SIZE/i,h=j=>Math.round(j*1e4)/1e4,f=this.#S(this.rotation),g=(j,L)=>[f[0]*j+f[2]*L,f[1]*j+f[3]*L],y=this.#S(360-this.rotation),v=(j,L)=>[y[0]*j+y[2]*L,y[1]*j+y[3]*L];let w,x,C=!1,S=!1;switch(t){case"topLeft":C=!0,w=(j,L)=>[0,0],x=(j,L)=>[j,L];break;case"topMiddle":w=(j,L)=>[j/2,0],x=(j,L)=>[j/2,L];break;case"topRight":C=!0,w=(j,L)=>[j,0],x=(j,L)=>[0,L];break;case"middleRight":S=!0,w=(j,L)=>[j,L/2],x=(j,L)=>[0,L/2];break;case"bottomRight":C=!0,w=(j,L)=>[j,L],x=(j,L)=>[0,0];break;case"bottomMiddle":w=(j,L)=>[j/2,L],x=(j,L)=>[j/2,0];break;case"bottomLeft":C=!0,w=(j,L)=>[0,L],x=(j,L)=>[j,0];break;case"middleLeft":S=!0,w=(j,L)=>[0,L/2],x=(j,L)=>[j,L/2];break}const k=w(l,d),T=x(l,d);let E=g(...T);const D=h(o+E[0]),P=h(a+E[1]);let A=1,I=1,[H,R]=this.screenToPageTranslation(r.movementX,r.movementY);if([H,R]=v(H/n,R/i),C){const j=Math.hypot(l,d);A=I=Math.max(Math.min(Math.hypot(T[0]-k[0]-H,T[1]-k[1]-R)/j,1/l,1/d),u/l,p/d)}else S?A=Math.max(u,Math.min(1,Math.abs(T[0]-k[0]-H)))/l:I=Math.max(p,Math.min(1,Math.abs(T[1]-k[1]-R)))/d;const Z=h(l*A),Y=h(d*I);E=g(...x(Z,Y));const B=D-E[0],V=P-E[1];this.width=Z,this.height=Y,this.x=B,this.y=V,this.setDims(n*Z,i*Y),this.fixAndSetPosition()}altTextFinish(){this.#r?.finish()}async addEditToolbar(){return this.#u||this.#g?this.#u:(this.#u=new JO(this),this.div.append(this.#u.render()),this.#r&&this.#u.addAltTextButton(await this.#r.render()),this.#u)}removeEditToolbar(){this.#u&&(this.#u.remove(),this.#u=null,this.#r?.destroy())}getClientDimensions(){return this.div.getBoundingClientRect()}async addAltTextButton(){this.#r||(Vh.initialize(Ar._l10nPromise),this.#r=new Vh(this),this.#e&&(this.#r.data=this.#e,this.#e=null),await this.addEditToolbar())}get altTextData(){return this.#r?.data}set altTextData(t){this.#r&&(this.#r.data=t)}hasAltText(){return!this.#r?.isEmpty()}render(){this.div=document.createElement("div"),this.div.setAttribute("data-editor-rotation",(360-this.rotation)%360),this.div.className=this.name,this.div.setAttribute("id",this.id),this.div.tabIndex=this.#i?-1:0,this._isVisible||this.div.classList.add("hidden"),this.setInForeground();const t=this._uiManager._signal;this.div.addEventListener("focusin",this.#l,{signal:t}),this.div.addEventListener("focusout",this.#d,{signal:t});const[r,n]=this.parentDimensions;this.parentRotation%180!==0&&(this.div.style.maxWidth=`${(100*n/r).toFixed(2)}%`,this.div.style.maxHeight=`${(100*r/n).toFixed(2)}%`);const[i,o]=this.getInitialTranslation();return this.translate(i,o),ub(this,this.div,["pointerdown"]),this.div}pointerdown(t){const{isMac:r}=ws.platform;if(t.button!==0||t.ctrlKey&&r){t.preventDefault();return}if(this.#c=!0,this._isDraggable){this.#P(t);return}this.#T(t)}#T(t){const{isMac:r}=ws.platform;t.ctrlKey&&!r||t.shiftKey||t.metaKey&&r?this.parent.toggleSelected(this):this.parent.setSelected(this)}#P(t){const r=this._uiManager.isSelected(this);this._uiManager.setUpDragSession();let n,i;const o=this._uiManager._signal;r&&(this.div.classList.add("moving"),n={passive:!0,capture:!0,signal:o},this.#f=t.clientX,this.#b=t.clientY,i=l=>{const{clientX:d,clientY:u}=l,[p,h]=this.screenToPageTranslation(d-this.#f,u-this.#b);this.#f=d,this.#b=u,this._uiManager.dragSelectedEditors(p,h)},window.addEventListener("pointermove",i,n));const a=()=>{window.removeEventListener("pointerup",a),window.removeEventListener("blur",a),r&&(this.div.classList.remove("moving"),window.removeEventListener("pointermove",i,n)),this.#c=!1,this._uiManager.endDragSession()||this.#T(t)};window.addEventListener("pointerup",a,{signal:o}),window.addEventListener("blur",a,{signal:o})}moveInDOM(){this.#v&&clearTimeout(this.#v),this.#v=setTimeout(()=>{this.#v=null,this.parent?.moveEditorInDOM(this)},0)}_setParentAndPosition(t,r,n){t.changeParent(this),this.x=r,this.y=n,this.fixAndSetPosition()}getRect(t,r,n=this.rotation){const i=this.parentScale,[o,a]=this.pageDimensions,[l,d]=this.pageTranslation,u=t/i,p=r/i,h=this.x*o,f=this.y*a,g=this.width*o,y=this.height*a;switch(n){case 0:return[h+u+l,a-f-p-y+d,h+u+g+l,a-f-p+d];case 90:return[h+p+l,a-f+u+d,h+p+y+l,a-f+u+g+d];case 180:return[h-u-g+l,a-f+p+d,h-u+l,a-f+p+y+d];case 270:return[h-p-y+l,a-f-u-g+d,h-p+l,a-f-u+d];default:throw new Error("Invalid rotation")}}getRectInCurrentCoords(t,r){const[n,i,o,a]=t,l=o-n,d=a-i;switch(this.rotation){case 0:return[n,r-a,l,d];case 90:return[n,r-i,d,l];case 180:return[o,r-i,l,d];case 270:return[o,r-a,d,l];default:throw new Error("Invalid rotation")}}onceAdded(){}isEmpty(){return!1}enableEditMode(){this.#g=!0}disableEditMode(){this.#g=!1}isInEditMode(){return this.#g}shouldGetKeyboardEvents(){return this.#p}needsToBeRebuilt(){return this.div&&!this.isAttachedToDOM}rebuild(){const t=this._uiManager._signal;this.div?.addEventListener("focusin",this.#l,{signal:t}),this.div?.addEventListener("focusout",this.#d,{signal:t})}rotate(t){}serialize(t=!1,r=null){Qn("An editor must be serializable")}static deserialize(t,r,n){const i=new this.prototype.constructor({parent:r,id:r.getNextId(),uiManager:n});i.rotation=t.rotation,i.#e=t.accessibilityData;const[o,a]=i.pageDimensions,[l,d,u,p]=i.getRectInCurrentCoords(t.rect,a);return i.x=l/o,i.y=d/a,i.width=u/o,i.height=p/a,i}get hasBeenModified(){return!!this.annotationElementId&&(this.deleted||this.serialize()!==null)}remove(){if(this.div.removeEventListener("focusin",this.#l),this.div.removeEventListener("focusout",this.#d),this.isEmpty()||this.commit(),this.parent?this.parent.remove(this):this._uiManager.removeEditor(this),this.#v&&(clearTimeout(this.#v),this.#v=null),this.#I(),this.removeEditToolbar(),this.#x){for(const t of this.#x.values())clearTimeout(t);this.#x=null}this.parent=null}get isResizable(){return!1}makeResizable(){this.isResizable&&(this.#w(),this.#n.classList.remove("hidden"),ub(this,this.div,["keydown"]))}get toolbarPosition(){return null}keydown(t){if(!this.isResizable||t.target!==this.div||t.key!=="Enter")return;this._uiManager.setSelected(this),this.#o={savedX:this.x,savedY:this.y,savedWidth:this.width,savedHeight:this.height};const r=this.#n.children;if(!this.#t){this.#t=Array.from(r);const a=this.#D.bind(this),l=this.#j.bind(this),d=this._uiManager._signal;for(const u of this.#t){const p=u.getAttribute("data-resizer-name");u.setAttribute("role","spinbutton"),u.addEventListener("keydown",a,{signal:d}),u.addEventListener("blur",l,{signal:d}),u.addEventListener("focus",this.#M.bind(this,p),{signal:d}),Ar._l10nPromise.get(`pdfjs-editor-resizer-label-${p}`).then(h=>u.setAttribute("aria-label",h))}}const n=this.#t[0];let i=0;for(const a of r){if(a===n)break;i++}const o=(360-this.rotation+this.parentRotation)%360/90*(this.#t.length/4);if(o!==i){if(o<i)for(let l=0;l<i-o;l++)this.#n.append(this.#n.firstChild);else if(o>i)for(let l=0;l<o-i;l++)this.#n.firstChild.before(this.#n.lastChild);let a=0;for(const l of r){const u=this.#t[a++].getAttribute("data-resizer-name");Ar._l10nPromise.get(`pdfjs-editor-resizer-label-${u}`).then(p=>l.setAttribute("aria-label",p))}}this.#R(0),this.#p=!0,this.#n.firstChild.focus({focusVisible:!0}),t.preventDefault(),t.stopImmediatePropagation()}#D(t){Ar._resizerKeyboardManager.exec(this,t)}#j(t){this.#p&&t.relatedTarget?.parentNode!==this.#n&&this.#I()}#M(t){this.#h=this.#p?t:""}#R(t){if(this.#t)for(const r of this.#t)r.tabIndex=t}_resizeWithKeyboard(t,r){this.#p&&this.#_(this.#h,{movementX:t,movementY:r})}#I(){if(this.#p=!1,this.#R(-1),this.#o){const{savedX:t,savedY:r,savedWidth:n,savedHeight:i}=this.#o;this.#C(t,r,n,i),this.#o=null}}_stopResizingWithKeyboard(){this.#I(),this.div.focus()}select(){if(this.makeResizable(),this.div?.classList.add("selectedEditor"),!this.#u){this.addEditToolbar().then(()=>{this.div?.classList.contains("selectedEditor")&&this.#u?.show()});return}this.#u?.show()}unselect(){this.#n?.classList.add("hidden"),this.div?.classList.remove("selectedEditor"),this.div?.contains(document.activeElement)&&this._uiManager.currentLayer.div.focus({preventScroll:!0}),this.#u?.hide()}updateParams(t,r){}disableEditing(){}enableEditing(){}enterInEditMode(){}getImageForAltText(){return null}get contentDiv(){return this.div}get isEditing(){return this.#m}set isEditing(t){this.#m=t,this.parent&&(t?(this.parent.setSelected(this),this.parent.setActiveEditor(this)):this.parent.setActiveEditor(null))}setAspectRatio(t,r){this.#s=!0;const n=t/r,{style:i}=this.div;i.aspectRatio=n,i.height="auto"}static get MIN_SIZE(){return 16}static canCreateNewEmptyEditor(){return!0}get telemetryInitialData(){return{action:"added"}}get telemetryFinalData(){return null}_reportTelemetry(t,r=!1){if(r){this.#x||=new Map;const{action:n}=t;let i=this.#x.get(n);i&&clearTimeout(i),i=setTimeout(()=>{this._reportTelemetry(t),this.#x.delete(n),this.#x.size===0&&(this.#x=null)},Ar._telemetryTimeout),this.#x.set(n,i);return}t.type||=this.editorType,this._uiManager._eventBus.dispatch("reporttelemetry",{source:this,details:{type:"editing",data:t}})}show(t=this._isVisible){this.div.classList.toggle("hidden",!t),this._isVisible=t}enable(){this.div&&(this.div.tabIndex=0),this.#i=!1}disable(){this.div&&(this.div.tabIndex=-1),this.#i=!0}renderAnnotationElement(t){let r=t.container.querySelector(".annotationContent");if(!r)r=document.createElement("div"),r.classList.add("annotationContent",this.editorType),t.container.prepend(r);else if(r.nodeName==="CANVAS"){const n=r;r=document.createElement("div"),r.classList.add("annotationContent",this.editorType),n.before(r)}return r}resetAnnotationElement(t){const{firstChild:r}=t.container;r.nodeName==="DIV"&&r.classList.contains("annotationContent")&&r.remove()}}class Q1t extends Ar{constructor(t){super(t),this.annotationElementId=t.annotationElementId,this.deleted=!0}serialize(){return{id:this.annotationElementId,deleted:!0,pageIndex:this.pageIndex}}}const ZX=3285377520,gl=4294901760,Yd=65535;class Jge{constructor(t){this.h1=t?t&4294967295:ZX,this.h2=t?t&4294967295:ZX}update(t){let r,n;if(typeof t=="string"){r=new Uint8Array(t.length*2),n=0;for(let v=0,w=t.length;v<w;v++){const x=t.charCodeAt(v);x<=255?r[n++]=x:(r[n++]=x>>>8,r[n++]=x&255)}}else if(ArrayBuffer.isView(t))r=t.slice(),n=r.byteLength;else throw new Error("Invalid data format, must be a string or TypedArray.");const i=n>>2,o=n-i*4,a=new Uint32Array(r.buffer,0,i);let l=0,d=0,u=this.h1,p=this.h2;const h=3432918353,f=461845907,g=h&Yd,y=f&Yd;for(let v=0;v<i;v++)v&1?(l=a[v],l=l*h&gl|l*g&Yd,l=l<<15|l>>>17,l=l*f&gl|l*y&Yd,u^=l,u=u<<13|u>>>19,u=u*5+3864292196):(d=a[v],d=d*h&gl|d*g&Yd,d=d<<15|d>>>17,d=d*f&gl|d*y&Yd,p^=d,p=p<<13|p>>>19,p=p*5+3864292196);switch(l=0,o){case 3:l^=r[i*4+2]<<16;case 2:l^=r[i*4+1]<<8;case 1:l^=r[i*4],l=l*h&gl|l*g&Yd,l=l<<15|l>>>17,l=l*f&gl|l*y&Yd,i&1?u^=l:p^=l}this.h1=u,this.h2=p}hexdigest(){let t=this.h1,r=this.h2;return t^=r>>>1,t=t*3981806797&gl|t*36045&Yd,r=r*4283543511&gl|((r<<16|t>>>16)*2950163797&gl)>>>16,t^=r>>>1,t=t*444984403&gl|t*60499&Yd,r=r*3301882366&gl|((r<<16|t>>>16)*3120437893&gl)>>>16,t^=r>>>1,(t>>>0).toString(16).padStart(8,"0")+(r>>>0).toString(16).padStart(8,"0")}}const pj=Object.freeze({map:null,hash:"",transfer:void 0});class rN{#e=!1;#t=new Map;constructor(){this.onSetModified=null,this.onResetModified=null,this.onAnnotationEditor=null}getValue(t,r){const n=this.#t.get(t);return n===void 0?r:Object.assign(r,n)}getRawValue(t){return this.#t.get(t)}remove(t){if(this.#t.delete(t),this.#t.size===0&&this.resetModified(),typeof this.onAnnotationEditor=="function"){for(const r of this.#t.values())if(r instanceof Ar)return;this.onAnnotationEditor(null)}}setValue(t,r){const n=this.#t.get(t);let i=!1;if(n!==void 0)for(const[o,a]of Object.entries(r))n[o]!==a&&(i=!0,n[o]=a);else i=!0,this.#t.set(t,r);i&&this.#r(),r instanceof Ar&&typeof this.onAnnotationEditor=="function"&&this.onAnnotationEditor(r.constructor._type)}has(t){return this.#t.has(t)}getAll(){return this.#t.size>0?GO(this.#t):null}setAll(t){for(const[r,n]of Object.entries(t))this.setValue(r,n)}get size(){return this.#t.size}#r(){this.#e||(this.#e=!0,typeof this.onSetModified=="function"&&this.onSetModified())}resetModified(){this.#e&&(this.#e=!1,typeof this.onResetModified=="function"&&this.onResetModified())}get print(){return new e4e(this)}get serializable(){if(this.#t.size===0)return pj;const t=new Map,r=new Jge,n=[],i=Object.create(null);let o=!1;for(const[a,l]of this.#t){const d=l instanceof Ar?l.serialize(!1,i):l;d&&(t.set(a,d),r.update(`${a}:${JSON.stringify(d)}`),o||=!!d.bitmap)}if(o)for(const a of t.values())a.bitmap&&n.push(a.bitmap);return t.size>0?{map:t,hash:r.hexdigest(),transfer:n}:pj}get editorStats(){let t=null;const r=new Map;for(const n of this.#t.values()){if(!(n instanceof Ar))continue;const i=n.telemetryFinalData;if(!i)continue;const{type:o}=i;r.has(o)||r.set(o,Object.getPrototypeOf(n).constructor),t||=Object.create(null);const a=t[o]||=new Map;for(const[l,d]of Object.entries(i)){if(l==="type")continue;let u=a.get(l);u||(u=new Map,a.set(l,u));const p=u.get(d)??0;u.set(d,p+1)}}for(const[n,i]of r)t[n]=i.computeTelemetryFinalData(t[n]);return t}}class e4e extends rN{#e;constructor(t){super();const{map:r,hash:n,transfer:i}=t.serializable,o=structuredClone(r,i?{transfer:i}:null);this.#e={map:o,hash:n,transfer:i}}get print(){Qn("Should not call PrintAnnotationStorage.print")}get serializable(){return this.#e}}class X1t{#e=new Set;constructor({ownerDocument:t=globalThis.document,styleElement:r=null}){this._document=t,this.nativeFontFaces=new Set,this.styleElement=null,this.loadingRequests=[],this.loadTestFontId=0}addNativeFontFace(t){this.nativeFontFaces.add(t),this._document.fonts.add(t)}removeNativeFontFace(t){this.nativeFontFaces.delete(t),this._document.fonts.delete(t)}insertRule(t){this.styleElement||(this.styleElement=this._document.createElement("style"),this._document.documentElement.getElementsByTagName("head")[0].append(this.styleElement));const r=this.styleElement.sheet;r.insertRule(t,r.cssRules.length)}clear(){for(const t of this.nativeFontFaces)this._document.fonts.delete(t);this.nativeFontFaces.clear(),this.#e.clear(),this.styleElement&&(this.styleElement.remove(),this.styleElement=null)}async loadSystemFont({systemFontInfo:t,_inspectFont:r}){if(!(!t||this.#e.has(t.loadedName))){if(Lo(!this.disableFontFace,"loadSystemFont shouldn't be called when `disableFontFace` is set."),this.isFontLoadingAPISupported){const{loadedName:n,src:i,style:o}=t,a=new FontFace(n,i,o);this.addNativeFontFace(a);try{await a.load(),this.#e.add(n),r?.(t)}catch{Jr(`Cannot load system font: ${t.baseFontName}, installing it could help to improve PDF rendering.`),this.removeNativeFontFace(a)}return}Qn("Not implemented: loadSystemFont without the Font Loading API.")}}async bind(t){if(t.attached||t.missingFile&&!t.systemFontInfo)return;if(t.attached=!0,t.systemFontInfo){await this.loadSystemFont(t);return}if(this.isFontLoadingAPISupported){const n=t.createNativeFontFace();if(n){this.addNativeFontFace(n);try{await n.loaded}catch(i){throw Jr(`Failed to load font '${n.family}': '${i}'.`),t.disableFontFace=!0,i}}return}const r=t.createFontFaceRule();if(r){if(this.insertRule(r),this.isSyncFontLoadingSupported)return;await new Promise(n=>{const i=this._queueLoadingCallback(n);this._prepareFontLoadEvent(t,i)})}}get isFontLoadingAPISupported(){const t=!!this._document?.fonts;return bn(this,"isFontLoadingAPISupported",t)}get isSyncFontLoadingSupported(){let t=!1;return(Ea||typeof navigator<"u"&&typeof navigator?.userAgent=="string"&&/Mozilla\/5.0.*?rv:\d+.*? Gecko/.test(navigator.userAgent))&&(t=!0),bn(this,"isSyncFontLoadingSupported",t)}_queueLoadingCallback(t){function r(){for(Lo(!i.done,"completeRequest() cannot be called twice."),i.done=!0;n.length>0&&n[0].done;){const o=n.shift();setTimeout(o.callback,0)}}const{loadingRequests:n}=this,i={done:!1,complete:r,callback:t};return n.push(i),i}get _loadTestFont(){const t=atob("T1RUTwALAIAAAwAwQ0ZGIDHtZg4AAAOYAAAAgUZGVE1lkzZwAAAEHAAAABxHREVGABQAFQAABDgAAAAeT1MvMlYNYwkAAAEgAAAAYGNtYXABDQLUAAACNAAAAUJoZWFk/xVFDQAAALwAAAA2aGhlYQdkA+oAAAD0AAAAJGhtdHgD6AAAAAAEWAAAAAZtYXhwAAJQAAAAARgAAAAGbmFtZVjmdH4AAAGAAAAAsXBvc3T/hgAzAAADeAAAACAAAQAAAAEAALZRFsRfDzz1AAsD6AAAAADOBOTLAAAAAM4KHDwAAAAAA+gDIQAAAAgAAgAAAAAAAAABAAADIQAAAFoD6AAAAAAD6AABAAAAAAAAAAAAAAAAAAAAAQAAUAAAAgAAAAQD6AH0AAUAAAKKArwAAACMAooCvAAAAeAAMQECAAACAAYJAAAAAAAAAAAAAQAAAAAAAAAAAAAAAFBmRWQAwAAuAC4DIP84AFoDIQAAAAAAAQAAAAAAAAAAACAAIAABAAAADgCuAAEAAAAAAAAAAQAAAAEAAAAAAAEAAQAAAAEAAAAAAAIAAQAAAAEAAAAAAAMAAQAAAAEAAAAAAAQAAQAAAAEAAAAAAAUAAQAAAAEAAAAAAAYAAQAAAAMAAQQJAAAAAgABAAMAAQQJAAEAAgABAAMAAQQJAAIAAgABAAMAAQQJAAMAAgABAAMAAQQJAAQAAgABAAMAAQQJAAUAAgABAAMAAQQJAAYAAgABWABYAAAAAAAAAwAAAAMAAAAcAAEAAAAAADwAAwABAAAAHAAEACAAAAAEAAQAAQAAAC7//wAAAC7////TAAEAAAAAAAABBgAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMAAAAAAAD/gwAyAAAAAQAAAAAAAAAAAAAAAAAAAAABAAQEAAEBAQJYAAEBASH4DwD4GwHEAvgcA/gXBIwMAYuL+nz5tQXkD5j3CBLnEQACAQEBIVhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYWFhYAAABAQAADwACAQEEE/t3Dov6fAH6fAT+fPp8+nwHDosMCvm1Cvm1DAz6fBQAAAAAAAABAAAAAMmJbzEAAAAAzgTjFQAAAADOBOQpAAEAAAAAAAAADAAUAAQAAAABAAAAAgABAAAAAAAAAAAD6AAAAAAAAA==");return bn(this,"_loadTestFont",t)}_prepareFontLoadEvent(t,r){function n(k,T){return k.charCodeAt(T)<<24|k.charCodeAt(T+1)<<16|k.charCodeAt(T+2)<<8|k.charCodeAt(T+3)&255}function i(k,T,E,D){const P=k.substring(0,T),A=k.substring(T+E);return P+D+A}let o,a;const l=this._document.createElement("canvas");l.width=1,l.height=1;const d=l.getContext("2d");let u=0;function p(k,T){if(++u>30){Jr("Load test font never loaded."),T();return}if(d.font="30px "+k,d.fillText(".",0,20),d.getImageData(0,0,1,1).data[3]>0){T();return}setTimeout(p.bind(null,k,T))}const h=`lt${Date.now()}${this.loadTestFontId++}`;let f=this._loadTestFont;f=i(f,976,h.length,h);const y=16,v=1482184792;let w=n(f,y);for(o=0,a=h.length-3;o<a;o+=4)w=w-v+n(h,o)|0;o<h.length&&(w=w-v+n(h+"XXX",o)|0),f=i(f,y,4,j1t(w));const x=`url(data:font/opentype;base64,${btoa(f)});`,C=`@font-face {font-family:"${h}";src:${x}}`;this.insertRule(C);const S=this._document.createElement("div");S.style.visibility="hidden",S.style.width=S.style.height="10px",S.style.position="absolute",S.style.top=S.style.left="0px";for(const k of[t.loadedName,h]){const T=this._document.createElement("span");T.textContent="Hi",T.style.fontFamily=k,S.append(T)}this._document.body.append(S),p(h,()=>{S.remove(),r.complete()})}}class J1t{constructor(t,{disableFontFace:r=!1,inspectFont:n=null}){this.compiledGlyphs=Object.create(null);for(const i in t)this[i]=t[i];this.disableFontFace=r===!0,this._inspectFont=n}createNativeFontFace(){if(!this.data||this.disableFontFace)return null;let t;if(!this.cssFontInfo)t=new FontFace(this.loadedName,this.data,{});else{const r={weight:this.cssFontInfo.fontWeight};this.cssFontInfo.italicAngle&&(r.style=`oblique ${this.cssFontInfo.italicAngle}deg`),t=new FontFace(this.cssFontInfo.fontFamily,this.data,r)}return this._inspectFont?.(this),t}createFontFaceRule(){if(!this.data||this.disableFontFace)return null;const t=Yge(this.data),r=`url(data:${this.mimetype};base64,${btoa(t)});`;let n;if(!this.cssFontInfo)n=`@font-face {font-family:"${this.loadedName}";src:${r}}`;else{let i=`font-weight: ${this.cssFontInfo.fontWeight};`;this.cssFontInfo.italicAngle&&(i+=`font-style: oblique ${this.cssFontInfo.italicAngle}deg;`),n=`@font-face {font-family:"${this.cssFontInfo.fontFamily}";${i}src:${r}}`}return this._inspectFont?.(this,r),n}getPathGenerator(t,r){if(this.compiledGlyphs[r]!==void 0)return this.compiledGlyphs[r];let n;try{n=t.get(this.loadedName+"_path_"+r)}catch(o){Jr(`getPathGenerator - ignoring character: "${o}".`)}if(!Array.isArray(n)||n.length===0)return this.compiledGlyphs[r]=function(o,a){};const i=[];for(let o=0,a=n.length;o<a;)switch(n[o++]){case mu.BEZIER_CURVE_TO:{const[l,d,u,p,h,f]=n.slice(o,o+6);i.push(g=>g.bezierCurveTo(l,d,u,p,h,f)),o+=6}break;case mu.MOVE_TO:{const[l,d]=n.slice(o,o+2);i.push(u=>u.moveTo(l,d)),o+=2}break;case mu.LINE_TO:{const[l,d]=n.slice(o,o+2);i.push(u=>u.lineTo(l,d)),o+=2}break;case mu.QUADRATIC_CURVE_TO:{const[l,d,u,p]=n.slice(o,o+4);i.push(h=>h.quadraticCurveTo(l,d,u,p)),o+=4}break;case mu.RESTORE:i.push(l=>l.restore());break;case mu.SAVE:i.push(l=>l.save());break;case mu.SCALE:Lo(i.length===2,"Scale command is only valid at the third position.");break;case mu.TRANSFORM:{const[l,d,u,p,h,f]=n.slice(o,o+6);i.push(g=>g.transform(l,d,u,p,h,f)),o+=6}break;case mu.TRANSLATE:{const[l,d]=n.slice(o,o+2);i.push(u=>u.translate(l,d)),o+=2}break}return this.compiledGlyphs[r]=function(a,l){i[0](a),i[1](a),a.scale(l,-l);for(let d=2,u=i.length;d<u;d++)i[d](a)}}}if(Ea){var hj=Promise.withResolvers(),mj=null;(async()=>{const t=await bt(()=>import("./empty-CvQ9mfdA.js").then(l=>l.e),__vite__mapDeps([0,1,2])),r=await bt(()=>import("./index-BSFE83ps.js").then(l=>l.i),__vite__mapDeps([3,1,4,5,6,7,8,9,10])),n=await bt(()=>import("./index-C2tYLV1-.js").then(l=>l.i),__vite__mapDeps([11,1,12,4,5,6,7,8,9,10])),i=await bt(()=>import("./url-3bnwMjsG.js").then(l=>l.u),__vite__mapDeps([13,1,10,7,5,6,8,9]));let o,a;return new Map(Object.entries({fs:t,http:r,https:n,url:i,canvas:o,path2d:a}))})().then(t=>{mj=t,hj.resolve()},t=>{Jr(`loadPackages: ${t}`),mj=new Map,hj.resolve()})}class j1{static get promise(){return hj.promise}static get(t){return mj?.get(t)}}const t4e=function(e){return j1.get("fs").promises.readFile(e).then(r=>new Uint8Array(r))};class eut extends Dx{}class tut extends Px{_createCanvas(t,r){return j1.get("canvas").createCanvas(t,r)}}class rut extends Mx{_fetchData(t,r){return t4e(t).then(n=>({cMapData:n,compressionType:r}))}}class nut extends Ix{_fetchData(t){return t4e(t)}}const Wa={FILL:"Fill",STROKE:"Stroke",SHADING:"Shading"};function fj(e,t){if(!t)return;const r=t[2]-t[0],n=t[3]-t[1],i=new Path2D;i.rect(t[0],t[1],r,n),e.clip(i)}class b9{constructor(){this.constructor===b9&&Qn("Cannot initialize BaseShadingPattern.")}getPattern(){Qn("Abstract method `getPattern` called.")}}class iut extends b9{constructor(t){super(),this._type=t[1],this._bbox=t[2],this._colorStops=t[3],this._p0=t[4],this._p1=t[5],this._r0=t[6],this._r1=t[7],this.matrix=null}_createGradient(t){let r;this._type==="axial"?r=t.createLinearGradient(this._p0[0],this._p0[1],this._p1[0],this._p1[1]):this._type==="radial"&&(r=t.createRadialGradient(this._p0[0],this._p0[1],this._r0,this._p1[0],this._p1[1],this._r1));for(const n of this._colorStops)r.addColorStop(n[0],n[1]);return r}getPattern(t,r,n,i){let o;if(i===Wa.STROKE||i===Wa.FILL){const a=r.current.getClippedPathBoundingBox(i,Ii(t))||[0,0,0,0],l=Math.ceil(a[2]-a[0])||1,d=Math.ceil(a[3]-a[1])||1,u=r.cachedCanvases.getCanvas("pattern",l,d,!0),p=u.context;p.clearRect(0,0,p.canvas.width,p.canvas.height),p.beginPath(),p.rect(0,0,p.canvas.width,p.canvas.height),p.translate(-a[0],-a[1]),n=lr.transform(n,[1,0,0,1,a[0],a[1]]),p.transform(...r.baseTransform),this.matrix&&p.transform(...this.matrix),fj(p,this._bbox),p.fillStyle=this._createGradient(p),p.fill(),o=t.createPattern(u.canvas,"no-repeat");const h=new DOMMatrix(n);o.setTransform(h)}else fj(t,this._bbox),o=this._createGradient(t);return o}}function uL(e,t,r,n,i,o,a,l){const d=t.coords,u=t.colors,p=e.data,h=e.width*4;let f;d[r+1]>d[n+1]&&(f=r,r=n,n=f,f=o,o=a,a=f),d[n+1]>d[i+1]&&(f=n,n=i,i=f,f=a,a=l,l=f),d[r+1]>d[n+1]&&(f=r,r=n,n=f,f=o,o=a,a=f);const g=(d[r]+t.offsetX)*t.scaleX,y=(d[r+1]+t.offsetY)*t.scaleY,v=(d[n]+t.offsetX)*t.scaleX,w=(d[n+1]+t.offsetY)*t.scaleY,x=(d[i]+t.offsetX)*t.scaleX,C=(d[i+1]+t.offsetY)*t.scaleY;if(y>=C)return;const S=u[o],k=u[o+1],T=u[o+2],E=u[a],D=u[a+1],P=u[a+2],A=u[l],I=u[l+1],H=u[l+2],R=Math.round(y),Z=Math.round(C);let Y,B,V,j,L,N,z,J;for(let q=R;q<=Z;q++){if(q<w){const xe=q<y?0:(y-q)/(y-w);Y=g-(g-v)*xe,B=S-(S-E)*xe,V=k-(k-D)*xe,j=T-(T-P)*xe}else{let xe;q>C?xe=1:w===C?xe=0:xe=(w-q)/(w-C),Y=v-(v-x)*xe,B=E-(E-A)*xe,V=D-(D-I)*xe,j=P-(P-H)*xe}let U;q<y?U=0:q>C?U=1:U=(y-q)/(y-C),L=g-(g-x)*U,N=S-(S-A)*U,z=k-(k-I)*U,J=T-(T-H)*U;const Q=Math.round(Math.min(Y,L)),X=Math.round(Math.max(Y,L));let oe=h*q+Q*4;for(let xe=Q;xe<=X;xe++)U=(Y-xe)/(Y-L),U<0?U=0:U>1&&(U=1),p[oe++]=B-(B-N)*U|0,p[oe++]=V-(V-z)*U|0,p[oe++]=j-(j-J)*U|0,p[oe++]=255}}function out(e,t,r){const n=t.coords,i=t.colors;let o,a;switch(t.type){case"lattice":const l=t.verticesPerRow,d=Math.floor(n.length/l)-1,u=l-1;for(o=0;o<d;o++){let p=o*l;for(let h=0;h<u;h++,p++)uL(e,r,n[p],n[p+1],n[p+l],i[p],i[p+1],i[p+l]),uL(e,r,n[p+l+1],n[p+1],n[p+l],i[p+l+1],i[p+1],i[p+l])}break;case"triangles":for(o=0,a=n.length;o<a;o+=3)uL(e,r,n[o],n[o+1],n[o+2],i[o],i[o+1],i[o+2]);break;default:throw new Error("illegal figure")}}class aut extends b9{constructor(t){super(),this._coords=t[2],this._colors=t[3],this._figures=t[4],this._bounds=t[5],this._bbox=t[7],this._background=t[8],this.matrix=null}_createMeshCanvas(t,r,n){const l=Math.floor(this._bounds[0]),d=Math.floor(this._bounds[1]),u=Math.ceil(this._bounds[2])-l,p=Math.ceil(this._bounds[3])-d,h=Math.min(Math.ceil(Math.abs(u*t[0]*1.1)),3e3),f=Math.min(Math.ceil(Math.abs(p*t[1]*1.1)),3e3),g=u/h,y=p/f,v={coords:this._coords,colors:this._colors,offsetX:-l,offsetY:-d,scaleX:1/g,scaleY:1/y},w=h+2*2,x=f+2*2,C=n.getCanvas("mesh",w,x,!1),S=C.context,k=S.createImageData(h,f);if(r){const E=k.data;for(let D=0,P=E.length;D<P;D+=4)E[D]=r[0],E[D+1]=r[1],E[D+2]=r[2],E[D+3]=255}for(const E of this._figures)out(k,E,v);return S.putImageData(k,2,2),{canvas:C.canvas,offsetX:l-2*g,offsetY:d-2*y,scaleX:g,scaleY:y}}getPattern(t,r,n,i){fj(t,this._bbox);let o;if(i===Wa.SHADING)o=lr.singularValueDecompose2dScale(Ii(t));else if(o=lr.singularValueDecompose2dScale(r.baseTransform),this.matrix){const l=lr.singularValueDecompose2dScale(this.matrix);o=[o[0]*l[0],o[1]*l[1]]}const a=this._createMeshCanvas(o,i===Wa.SHADING?null:this._background,r.cachedCanvases);return i!==Wa.SHADING&&(t.setTransform(...r.baseTransform),this.matrix&&t.transform(...this.matrix)),t.translate(a.offsetX,a.offsetY),t.scale(a.scaleX,a.scaleY),t.createPattern(a.canvas,"no-repeat")}}class sut extends b9{getPattern(){return"hotpink"}}function lut(e){switch(e[0]){case"RadialAxial":return new iut(e);case"Mesh":return new aut(e);case"Dummy":return new sut}throw new Error(`Unknown IR type: ${e[0]}`)}const KX={COLORED:1,UNCOLORED:2};class nN{static MAX_PATTERN_SIZE=3e3;constructor(t,r,n,i,o){this.operatorList=t[2],this.matrix=t[3],this.bbox=t[4],this.xstep=t[5],this.ystep=t[6],this.paintType=t[7],this.tilingType=t[8],this.color=r,this.ctx=n,this.canvasGraphicsFactory=i,this.baseTransform=o}createPatternCanvas(t){const r=this.operatorList,n=this.bbox,i=this.xstep,o=this.ystep,a=this.paintType,l=this.tilingType,d=this.color,u=this.canvasGraphicsFactory;Tx("TilingType: "+l);const p=n[0],h=n[1],f=n[2],g=n[3],y=lr.singularValueDecompose2dScale(this.matrix),v=lr.singularValueDecompose2dScale(this.baseTransform),w=[y[0]*v[0],y[1]*v[1]],x=this.getSizeAndScale(i,this.ctx.canvas.width,w[0]),C=this.getSizeAndScale(o,this.ctx.canvas.height,w[1]),S=t.cachedCanvases.getCanvas("pattern",x.size,C.size,!0),k=S.context,T=u.createCanvasGraphics(k);T.groupLevel=t.groupLevel,this.setFillAndStrokeStyleToContext(T,a,d);let E=p,D=h,P=f,A=g;return p<0&&(E=0,P+=Math.abs(p)),h<0&&(D=0,A+=Math.abs(h)),k.translate(-(x.scale*E),-(C.scale*D)),T.transform(x.scale,0,0,C.scale,0,0),k.save(),this.clipBbox(T,E,D,P,A),T.baseTransform=Ii(T.ctx),T.executeOperatorList(r),T.endDrawing(),{canvas:S.canvas,scaleX:x.scale,scaleY:C.scale,offsetX:E,offsetY:D}}getSizeAndScale(t,r,n){t=Math.abs(t);const i=Math.max(nN.MAX_PATTERN_SIZE,r);let o=Math.ceil(t*n);return o>=i?o=i:n=o/t,{scale:n,size:o}}clipBbox(t,r,n,i,o){const a=i-r,l=o-n;t.ctx.rect(r,n,a,l),t.current.updateRectMinMax(Ii(t.ctx),[r,n,i,o]),t.clip(),t.endPath()}setFillAndStrokeStyleToContext(t,r,n){const i=t.ctx,o=t.current;switch(r){case KX.COLORED:const a=this.ctx;i.fillStyle=a.fillStyle,i.strokeStyle=a.strokeStyle,o.fillColor=a.fillStyle,o.strokeColor=a.strokeStyle;break;case KX.UNCOLORED:const l=lr.makeHexColor(n[0],n[1],n[2]);i.fillStyle=l,i.strokeStyle=l,o.fillColor=l,o.strokeColor=l;break;default:throw new I1t(`Unsupported paint type: ${r}`)}}getPattern(t,r,n,i){let o=n;i!==Wa.SHADING&&(o=lr.transform(o,r.baseTransform),this.matrix&&(o=lr.transform(o,this.matrix)));const a=this.createPatternCanvas(r);let l=new DOMMatrix(o);l=l.translate(a.offsetX,a.offsetY),l=l.scale(1/a.scaleX,1/a.scaleY);const d=t.createPattern(a.canvas,"repeat");return d.setTransform(l),d}}function cut({src:e,srcPos:t=0,dest:r,width:n,height:i,nonBlackColor:o=4294967295,inverseDecode:a=!1}){const l=ws.isLittleEndian?4278190080:255,[d,u]=a?[o,l]:[l,o],p=n>>3,h=n&7,f=e.length;r=new Uint32Array(r.buffer);let g=0;for(let y=0;y<i;y++){for(const w=t+p;t<w;t++){const x=t<f?e[t]:255;r[g++]=x&128?u:d,r[g++]=x&64?u:d,r[g++]=x&32?u:d,r[g++]=x&16?u:d,r[g++]=x&8?u:d,r[g++]=x&4?u:d,r[g++]=x&2?u:d,r[g++]=x&1?u:d}if(h===0)continue;const v=t<f?e[t++]:255;for(let w=0;w<h;w++)r[g++]=v&1<<7-w?u:d}return{srcPos:t,destPos:g}}const QX=16,XX=100,dut=15,JX=10,eJ=1e3,ps=16;function uut(e,t){if(e._removeMirroring)throw new Error("Context is already forwarding operations.");e.__originalSave=e.save,e.__originalRestore=e.restore,e.__originalRotate=e.rotate,e.__originalScale=e.scale,e.__originalTranslate=e.translate,e.__originalTransform=e.transform,e.__originalSetTransform=e.setTransform,e.__originalResetTransform=e.resetTransform,e.__originalClip=e.clip,e.__originalMoveTo=e.moveTo,e.__originalLineTo=e.lineTo,e.__originalBezierCurveTo=e.bezierCurveTo,e.__originalRect=e.rect,e.__originalClosePath=e.closePath,e.__originalBeginPath=e.beginPath,e._removeMirroring=()=>{e.save=e.__originalSave,e.restore=e.__originalRestore,e.rotate=e.__originalRotate,e.scale=e.__originalScale,e.translate=e.__originalTranslate,e.transform=e.__originalTransform,e.setTransform=e.__originalSetTransform,e.resetTransform=e.__originalResetTransform,e.clip=e.__originalClip,e.moveTo=e.__originalMoveTo,e.lineTo=e.__originalLineTo,e.bezierCurveTo=e.__originalBezierCurveTo,e.rect=e.__originalRect,e.closePath=e.__originalClosePath,e.beginPath=e.__originalBeginPath,delete e._removeMirroring},e.save=function(){t.save(),this.__originalSave()},e.restore=function(){t.restore(),this.__originalRestore()},e.translate=function(n,i){t.translate(n,i),this.__originalTranslate(n,i)},e.scale=function(n,i){t.scale(n,i),this.__originalScale(n,i)},e.transform=function(n,i,o,a,l,d){t.transform(n,i,o,a,l,d),this.__originalTransform(n,i,o,a,l,d)},e.setTransform=function(n,i,o,a,l,d){t.setTransform(n,i,o,a,l,d),this.__originalSetTransform(n,i,o,a,l,d)},e.resetTransform=function(){t.resetTransform(),this.__originalResetTransform()},e.rotate=function(n){t.rotate(n),this.__originalRotate(n)},e.clip=function(n){t.clip(n),this.__originalClip(n)},e.moveTo=function(r,n){t.moveTo(r,n),this.__originalMoveTo(r,n)},e.lineTo=function(r,n){t.lineTo(r,n),this.__originalLineTo(r,n)},e.bezierCurveTo=function(r,n,i,o,a,l){t.bezierCurveTo(r,n,i,o,a,l),this.__originalBezierCurveTo(r,n,i,o,a,l)},e.rect=function(r,n,i,o){t.rect(r,n,i,o),this.__originalRect(r,n,i,o)},e.closePath=function(){t.closePath(),this.__originalClosePath()},e.beginPath=function(){t.beginPath(),this.__originalBeginPath()}}class put{constructor(t){this.canvasFactory=t,this.cache=Object.create(null)}getCanvas(t,r,n){let i;return this.cache[t]!==void 0?(i=this.cache[t],this.canvasFactory.reset(i,r,n)):(i=this.canvasFactory.create(r,n),this.cache[t]=i),i}delete(t){delete this.cache[t]}clear(){for(const t in this.cache){const r=this.cache[t];this.canvasFactory.destroy(r),delete this.cache[t]}}}function F6(e,t,r,n,i,o,a,l,d,u){const[p,h,f,g,y,v]=Ii(e);if(h===0&&f===0){const C=a*p+y,S=Math.round(C),k=l*g+v,T=Math.round(k),E=(a+d)*p+y,D=Math.abs(Math.round(E)-S)||1,P=(l+u)*g+v,A=Math.abs(Math.round(P)-T)||1;return e.setTransform(Math.sign(p),0,0,Math.sign(g),S,T),e.drawImage(t,r,n,i,o,0,0,D,A),e.setTransform(p,h,f,g,y,v),[D,A]}if(p===0&&g===0){const C=l*f+y,S=Math.round(C),k=a*h+v,T=Math.round(k),E=(l+u)*f+y,D=Math.abs(Math.round(E)-S)||1,P=(a+d)*h+v,A=Math.abs(Math.round(P)-T)||1;return e.setTransform(0,Math.sign(h),Math.sign(f),0,S,T),e.drawImage(t,r,n,i,o,0,0,A,D),e.setTransform(p,h,f,g,y,v),[A,D]}e.drawImage(t,r,n,i,o,a,l,d,u);const w=Math.hypot(p,h),x=Math.hypot(f,g);return[w*d,x*u]}function hut(e){const{width:t,height:r}=e;if(t>eJ||r>eJ)return null;const n=1e3,i=new Uint8Array([0,2,4,0,1,0,5,4,8,10,0,8,0,2,1,0]),o=t+1;let a=new Uint8Array(o*(r+1)),l,d,u;const p=t+7&-8;let h=new Uint8Array(p*r),f=0;for(const x of e.data){let C=128;for(;C>0;)h[f++]=x&C?0:255,C>>=1}let g=0;for(f=0,h[f]!==0&&(a[0]=1,++g),d=1;d<t;d++)h[f]!==h[f+1]&&(a[d]=h[f]?2:1,++g),f++;for(h[f]!==0&&(a[d]=2,++g),l=1;l<r;l++){f=l*p,u=l*o,h[f-p]!==h[f]&&(a[u]=h[f]?1:8,++g);let x=(h[f]?4:0)+(h[f-p]?8:0);for(d=1;d<t;d++)x=(x>>2)+(h[f+1]?4:0)+(h[f-p+1]?8:0),i[x]&&(a[u+d]=i[x],++g),f++;if(h[f-p]!==h[f]&&(a[u+d]=h[f]?2:4,++g),g>n)return null}for(f=p*(r-1),u=l*o,h[f]!==0&&(a[u]=8,++g),d=1;d<t;d++)h[f]!==h[f+1]&&(a[u+d]=h[f]?4:8,++g),f++;if(h[f]!==0&&(a[u+d]=4,++g),g>n)return null;const y=new Int32Array([0,o,-1,0,-o,0,0,0,1]),v=new Path2D;for(l=0;g&&l<=r;l++){let x=l*o;const C=x+t;for(;x<C&&!a[x];)x++;if(x===C)continue;v.moveTo(x%o,l);const S=x;let k=a[x];do{const T=y[k];do x+=T;while(!a[x]);const E=a[x];E!==5&&E!==10?(k=E,a[x]=0):(k=E&51*k>>4,a[x]&=k>>2|k<<2),v.lineTo(x%o,x/o|0),a[x]||--g}while(S!==x);--l}return h=null,a=null,function(x){x.save(),x.scale(1/t,-1/r),x.translate(0,-r),x.fill(v),x.beginPath(),x.restore()}}class tJ{constructor(t,r){this.alphaIsShape=!1,this.fontSize=0,this.fontSizeScale=1,this.textMatrix=Wge,this.textMatrixScale=1,this.fontMatrix=lj,this.leading=0,this.x=0,this.y=0,this.lineX=0,this.lineY=0,this.charSpacing=0,this.wordSpacing=0,this.textHScale=1,this.textRenderingMode=xa.FILL,this.textRise=0,this.fillColor="#000000",this.strokeColor="#000000",this.patternFill=!1,this.fillAlpha=1,this.strokeAlpha=1,this.lineWidth=1,this.activeSMask=null,this.transferMaps="none",this.startNewPathAndClipBox([0,0,t,r])}clone(){const t=Object.create(this);return t.clipBox=this.clipBox.slice(),t}setCurrentPoint(t,r){this.x=t,this.y=r}updatePathMinMax(t,r,n){[r,n]=lr.applyTransform([r,n],t),this.minX=Math.min(this.minX,r),this.minY=Math.min(this.minY,n),this.maxX=Math.max(this.maxX,r),this.maxY=Math.max(this.maxY,n)}updateRectMinMax(t,r){const n=lr.applyTransform(r,t),i=lr.applyTransform(r.slice(2),t),o=lr.applyTransform([r[0],r[3]],t),a=lr.applyTransform([r[2],r[1]],t);this.minX=Math.min(this.minX,n[0],i[0],o[0],a[0]),this.minY=Math.min(this.minY,n[1],i[1],o[1],a[1]),this.maxX=Math.max(this.maxX,n[0],i[0],o[0],a[0]),this.maxY=Math.max(this.maxY,n[1],i[1],o[1],a[1])}updateScalingPathMinMax(t,r){lr.scaleMinMax(t,r),this.minX=Math.min(this.minX,r[0]),this.minY=Math.min(this.minY,r[1]),this.maxX=Math.max(this.maxX,r[2]),this.maxY=Math.max(this.maxY,r[3])}updateCurvePathMinMax(t,r,n,i,o,a,l,d,u,p){const h=lr.bezierBoundingBox(r,n,i,o,a,l,d,u,p);p||this.updateRectMinMax(t,h)}getPathBoundingBox(t=Wa.FILL,r=null){const n=[this.minX,this.minY,this.maxX,this.maxY];if(t===Wa.STROKE){r||Qn("Stroke bounding box must include transform.");const i=lr.singularValueDecompose2dScale(r),o=i[0]*this.lineWidth/2,a=i[1]*this.lineWidth/2;n[0]-=o,n[1]-=a,n[2]+=o,n[3]+=a}return n}updateClipFromPath(){const t=lr.intersect(this.clipBox,this.getPathBoundingBox());this.startNewPathAndClipBox(t||[0,0,0,0])}isEmptyClip(){return this.minX===1/0}startNewPathAndClipBox(t){this.clipBox=t,this.minX=1/0,this.minY=1/0,this.maxX=0,this.maxY=0}getClippedPathBoundingBox(t=Wa.FILL,r=null){return lr.intersect(this.clipBox,this.getPathBoundingBox(t,r))}}function rJ(e,t){if(typeof ImageData<"u"&&t instanceof ImageData){e.putImageData(t,0,0);return}const r=t.height,n=t.width,i=r%ps,o=(r-i)/ps,a=i===0?o:o+1,l=e.createImageData(n,ps);let d=0,u;const p=t.data,h=l.data;let f,g,y,v;if(t.kind===Ry.GRAYSCALE_1BPP){const w=p.byteLength,x=new Uint32Array(h.buffer,0,h.byteLength>>2),C=x.length,S=n+7>>3,k=4294967295,T=ws.isLittleEndian?4278190080:255;for(f=0;f<a;f++){for(y=f<o?ps:i,u=0,g=0;g<y;g++){const E=w-d;let D=0;const P=E>S?n:E*8-7,A=P&-8;let I=0,H=0;for(;D<A;D+=8)H=p[d++],x[u++]=H&128?k:T,x[u++]=H&64?k:T,x[u++]=H&32?k:T,x[u++]=H&16?k:T,x[u++]=H&8?k:T,x[u++]=H&4?k:T,x[u++]=H&2?k:T,x[u++]=H&1?k:T;for(;D<P;D++)I===0&&(H=p[d++],I=128),x[u++]=H&I?k:T,I>>=1}for(;u<C;)x[u++]=0;e.putImageData(l,0,f*ps)}}else if(t.kind===Ry.RGBA_32BPP){for(g=0,v=n*ps*4,f=0;f<o;f++)h.set(p.subarray(d,d+v)),d+=v,e.putImageData(l,0,g),g+=ps;f<a&&(v=n*i*4,h.set(p.subarray(d,d+v)),e.putImageData(l,0,g))}else if(t.kind===Ry.RGB_24BPP)for(y=ps,v=n*y,f=0;f<a;f++){for(f>=o&&(y=i,v=n*y),u=0,g=v;g--;)h[u++]=p[d++],h[u++]=p[d++],h[u++]=p[d++],h[u++]=255;e.putImageData(l,0,f*ps)}else throw new Error(`bad image kind: ${t.kind}`)}function nJ(e,t){if(t.bitmap){e.drawImage(t.bitmap,0,0);return}const r=t.height,n=t.width,i=r%ps,o=(r-i)/ps,a=i===0?o:o+1,l=e.createImageData(n,ps);let d=0;const u=t.data,p=l.data;for(let h=0;h<a;h++){const f=h<o?ps:i;({srcPos:d}=cut({src:u,srcPos:d,dest:p,width:n,height:f,nonBlackColor:0})),e.putImageData(l,0,h*ps)}}function V4(e,t){const r=["strokeStyle","fillStyle","fillRule","globalAlpha","lineWidth","lineCap","lineJoin","miterLimit","globalCompositeOperation","font","filter"];for(const n of r)e[n]!==void 0&&(t[n]=e[n]);e.setLineDash!==void 0&&(t.setLineDash(e.getLineDash()),t.lineDashOffset=e.lineDashOffset)}function O6(e){if(e.strokeStyle=e.fillStyle="#000000",e.fillRule="nonzero",e.globalAlpha=1,e.lineWidth=1,e.lineCap="butt",e.lineJoin="miter",e.miterLimit=10,e.globalCompositeOperation="source-over",e.font="10px sans-serif",e.setLineDash!==void 0&&(e.setLineDash([]),e.lineDashOffset=0),!Ea){const{filter:t}=e;t!=="none"&&t!==""&&(e.filter="none")}}function iJ(e,t){if(t)return!0;const r=lr.singularValueDecompose2dScale(e);r[0]=Math.fround(r[0]),r[1]=Math.fround(r[1]);const n=Math.fround((globalThis.devicePixelRatio||1)*Xf.PDF_TO_CSS_UNITS);return r[0]<=n&&r[1]<=n}const mut=["butt","round","square"],fut=["miter","round","bevel"],gut={},oJ={};class Ef{constructor(t,r,n,i,o,{optionalContentConfig:a,markedContentStack:l=null},d,u){this.ctx=t,this.current=new tJ(this.ctx.canvas.width,this.ctx.canvas.height),this.stateStack=[],this.pendingClip=null,this.pendingEOFill=!1,this.res=null,this.xobjs=null,this.commonObjs=r,this.objs=n,this.canvasFactory=i,this.filterFactory=o,this.groupStack=[],this.processingType3=null,this.baseTransform=null,this.baseTransformStack=[],this.groupLevel=0,this.smaskStack=[],this.smaskCounter=0,this.tempSMask=null,this.suspendedCtx=null,this.contentVisible=!0,this.markedContentStack=l||[],this.optionalContentConfig=a,this.cachedCanvases=new put(this.canvasFactory),this.cachedPatterns=new Map,this.annotationCanvasMap=d,this.viewportScale=1,this.outputScaleX=1,this.outputScaleY=1,this.pageColors=u,this._cachedScaleForStroking=[-1,0],this._cachedGetSinglePixelWidth=null,this._cachedBitmapsMap=new Map}getObject(t,r=null){return typeof t=="string"?t.startsWith("g_")?this.commonObjs.get(t):this.objs.get(t):r}beginDrawing({transform:t,viewport:r,transparency:n=!1,background:i=null}){const o=this.ctx.canvas.width,a=this.ctx.canvas.height,l=this.ctx.fillStyle;if(this.ctx.fillStyle=i||"#ffffff",this.ctx.fillRect(0,0,o,a),this.ctx.fillStyle=l,n){const d=this.cachedCanvases.getCanvas("transparent",o,a);this.compositeCtx=this.ctx,this.transparentCanvas=d.canvas,this.ctx=d.context,this.ctx.save(),this.ctx.transform(...Ii(this.compositeCtx))}this.ctx.save(),O6(this.ctx),t&&(this.ctx.transform(...t),this.outputScaleX=t[0],this.outputScaleY=t[0]),this.ctx.transform(...r.transform),this.viewportScale=r.scale,this.baseTransform=Ii(this.ctx)}executeOperatorList(t,r,n,i){const o=t.argsArray,a=t.fnArray;let l=r||0;const d=o.length;if(d===l)return l;const u=d-l>JX&&typeof n=="function",p=u?Date.now()+dut:0;let h=0;const f=this.commonObjs,g=this.objs;let y;for(;;){if(i!==void 0&&l===i.nextBreakPoint)return i.breakIt(l,n),l;if(y=a[l],y!==kc.dependency)this[y].apply(this,o[l]);else for(const v of o[l]){const w=v.startsWith("g_")?f:g;if(!w.has(v))return w.get(v,n),l}if(l++,l===d)return l;if(u&&++h>JX){if(Date.now()>p)return n(),l;h=0}}}#e(){for(;this.stateStack.length||this.inSMaskMode;)this.restore();this.ctx.restore(),this.transparentCanvas&&(this.ctx=this.compositeCtx,this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.drawImage(this.transparentCanvas,0,0),this.ctx.restore(),this.transparentCanvas=null)}endDrawing(){this.#e(),this.cachedCanvases.clear(),this.cachedPatterns.clear();for(const t of this._cachedBitmapsMap.values()){for(const r of t.values())typeof HTMLCanvasElement<"u"&&r instanceof HTMLCanvasElement&&(r.width=r.height=0);t.clear()}this._cachedBitmapsMap.clear(),this.#t()}#t(){if(this.pageColors){const t=this.filterFactory.addHCMFilter(this.pageColors.foreground,this.pageColors.background);if(t!=="none"){const r=this.ctx.filter;this.ctx.filter=t,this.ctx.drawImage(this.ctx.canvas,0,0),this.ctx.filter=r}}}_scaleImage(t,r){const n=t.width,i=t.height;let o=Math.max(Math.hypot(r[0],r[1]),1),a=Math.max(Math.hypot(r[2],r[3]),1),l=n,d=i,u="prescale1",p,h;for(;o>2&&l>1||a>2&&d>1;){let f=l,g=d;o>2&&l>1&&(f=l>=16384?Math.floor(l/2)-1||1:Math.ceil(l/2),o/=l/f),a>2&&d>1&&(g=d>=16384?Math.floor(d/2)-1||1:Math.ceil(d)/2,a/=d/g),p=this.cachedCanvases.getCanvas(u,f,g),h=p.context,h.clearRect(0,0,f,g),h.drawImage(t,0,0,l,d,0,0,f,g),t=p.canvas,l=f,d=g,u=u==="prescale1"?"prescale2":"prescale1"}return{img:t,paintWidth:l,paintHeight:d}}_createMaskCanvas(t){const r=this.ctx,{width:n,height:i}=t,o=this.current.fillColor,a=this.current.patternFill,l=Ii(r);let d,u,p,h;if((t.bitmap||t.data)&&t.count>1){const P=t.bitmap||t.data.buffer;u=JSON.stringify(a?l:[l.slice(0,4),o]),d=this._cachedBitmapsMap.get(P),d||(d=new Map,this._cachedBitmapsMap.set(P,d));const A=d.get(u);if(A&&!a){const I=Math.round(Math.min(l[0],l[2])+l[4]),H=Math.round(Math.min(l[1],l[3])+l[5]);return{canvas:A,offsetX:I,offsetY:H}}p=A}p||(h=this.cachedCanvases.getCanvas("maskCanvas",n,i),nJ(h.context,t));let f=lr.transform(l,[1/n,0,0,-1/i,0,0]);f=lr.transform(f,[1,0,0,1,0,-i]);const[g,y,v,w]=lr.getAxialAlignedBoundingBox([0,0,n,i],f),x=Math.round(v-g)||1,C=Math.round(w-y)||1,S=this.cachedCanvases.getCanvas("fillCanvas",x,C),k=S.context,T=g,E=y;k.translate(-T,-E),k.transform(...f),p||(p=this._scaleImage(h.canvas,fu(k)),p=p.img,d&&a&&d.set(u,p)),k.imageSmoothingEnabled=iJ(Ii(k),t.interpolate),F6(k,p,0,0,p.width,p.height,0,0,n,i),k.globalCompositeOperation="source-in";const D=lr.transform(fu(k),[1,0,0,1,-T,-E]);return k.fillStyle=a?o.getPattern(r,this,D,Wa.FILL):o,k.fillRect(0,0,n,i),d&&!a&&(this.cachedCanvases.delete("fillCanvas"),d.set(u,S.canvas)),{canvas:S.canvas,offsetX:Math.round(T),offsetY:Math.round(E)}}setLineWidth(t){t!==this.current.lineWidth&&(this._cachedScaleForStroking[0]=-1),this.current.lineWidth=t,this.ctx.lineWidth=t}setLineCap(t){this.ctx.lineCap=mut[t]}setLineJoin(t){this.ctx.lineJoin=fut[t]}setMiterLimit(t){this.ctx.miterLimit=t}setDash(t,r){const n=this.ctx;n.setLineDash!==void 0&&(n.setLineDash(t),n.lineDashOffset=r)}setRenderingIntent(t){}setFlatness(t){}setGState(t){for(const[r,n]of t)switch(r){case"LW":this.setLineWidth(n);break;case"LC":this.setLineCap(n);break;case"LJ":this.setLineJoin(n);break;case"ML":this.setMiterLimit(n);break;case"D":this.setDash(n[0],n[1]);break;case"RI":this.setRenderingIntent(n);break;case"FL":this.setFlatness(n);break;case"Font":this.setFont(n[0],n[1]);break;case"CA":this.current.strokeAlpha=n;break;case"ca":this.current.fillAlpha=n,this.ctx.globalAlpha=n;break;case"BM":this.ctx.globalCompositeOperation=n;break;case"SMask":this.current.activeSMask=n?this.tempSMask:null,this.tempSMask=null,this.checkSMaskState();break;case"TR":this.ctx.filter=this.current.transferMaps=this.filterFactory.addFilter(n);break}}get inSMaskMode(){return!!this.suspendedCtx}checkSMaskState(){const t=this.inSMaskMode;this.current.activeSMask&&!t?this.beginSMaskMode():!this.current.activeSMask&&t&&this.endSMaskMode()}beginSMaskMode(){if(this.inSMaskMode)throw new Error("beginSMaskMode called while already in smask mode");const t=this.ctx.canvas.width,r=this.ctx.canvas.height,n="smaskGroupAt"+this.groupLevel,i=this.cachedCanvases.getCanvas(n,t,r);this.suspendedCtx=this.ctx,this.ctx=i.context;const o=this.ctx;o.setTransform(...Ii(this.suspendedCtx)),V4(this.suspendedCtx,o),uut(o,this.suspendedCtx),this.setGState([["BM","source-over"],["ca",1],["CA",1]])}endSMaskMode(){if(!this.inSMaskMode)throw new Error("endSMaskMode called while not in smask mode");this.ctx._removeMirroring(),V4(this.ctx,this.suspendedCtx),this.ctx=this.suspendedCtx,this.suspendedCtx=null}compose(t){if(!this.current.activeSMask)return;t?(t[0]=Math.floor(t[0]),t[1]=Math.floor(t[1]),t[2]=Math.ceil(t[2]),t[3]=Math.ceil(t[3])):t=[0,0,this.ctx.canvas.width,this.ctx.canvas.height];const r=this.current.activeSMask,n=this.suspendedCtx;this.composeSMask(n,r,this.ctx,t),this.ctx.save(),this.ctx.setTransform(1,0,0,1,0,0),this.ctx.clearRect(0,0,this.ctx.canvas.width,this.ctx.canvas.height),this.ctx.restore()}composeSMask(t,r,n,i){const o=i[0],a=i[1],l=i[2]-o,d=i[3]-a;l===0||d===0||(this.genericComposeSMask(r.context,n,l,d,r.subtype,r.backdrop,r.transferMap,o,a,r.offsetX,r.offsetY),t.save(),t.globalAlpha=1,t.globalCompositeOperation="source-over",t.setTransform(1,0,0,1,0,0),t.drawImage(n.canvas,0,0),t.restore())}genericComposeSMask(t,r,n,i,o,a,l,d,u,p,h){let f=t.canvas,g=d-p,y=u-h;if(a){if(g<0||y<0||g+n>f.width||y+i>f.height){const w=this.cachedCanvases.getCanvas("maskExtension",n,i),x=w.context;x.drawImage(f,-g,-y),a.some(C=>C!==0)&&(x.globalCompositeOperation="destination-atop",x.fillStyle=lr.makeHexColor(...a),x.fillRect(0,0,n,i),x.globalCompositeOperation="source-over"),f=w.canvas,g=y=0}else if(a.some(w=>w!==0)){t.save(),t.globalAlpha=1,t.setTransform(1,0,0,1,0,0);const w=new Path2D;w.rect(g,y,n,i),t.clip(w),t.globalCompositeOperation="destination-atop",t.fillStyle=lr.makeHexColor(...a),t.fillRect(g,y,n,i),t.restore()}}r.save(),r.globalAlpha=1,r.setTransform(1,0,0,1,0,0),o==="Alpha"&&l?r.filter=this.filterFactory.addAlphaFilter(l):o==="Luminosity"&&(r.filter=this.filterFactory.addLuminosityFilter(l));const v=new Path2D;v.rect(d,u,n,i),r.clip(v),r.globalCompositeOperation="destination-in",r.drawImage(f,g,y,n,i,d,u,n,i),r.restore()}save(){this.inSMaskMode?(V4(this.ctx,this.suspendedCtx),this.suspendedCtx.save()):this.ctx.save();const t=this.current;this.stateStack.push(t),this.current=t.clone()}restore(){this.stateStack.length===0&&this.inSMaskMode&&this.endSMaskMode(),this.stateStack.length!==0&&(this.current=this.stateStack.pop(),this.inSMaskMode?(this.suspendedCtx.restore(),V4(this.suspendedCtx,this.ctx)):this.ctx.restore(),this.checkSMaskState(),this.pendingClip=null,this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null)}transform(t,r,n,i,o,a){this.ctx.transform(t,r,n,i,o,a),this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null}constructPath(t,r,n){const i=this.ctx,o=this.current;let a=o.x,l=o.y,d,u;const p=Ii(i),h=p[0]===0&&p[3]===0||p[1]===0&&p[2]===0,f=h?n.slice(0):null;for(let g=0,y=0,v=t.length;g<v;g++)switch(t[g]|0){case kc.rectangle:a=r[y++],l=r[y++];const w=r[y++],x=r[y++],C=a+w,S=l+x;i.moveTo(a,l),w===0||x===0?i.lineTo(C,S):(i.lineTo(C,l),i.lineTo(C,S),i.lineTo(a,S)),h||o.updateRectMinMax(p,[a,l,C,S]),i.closePath();break;case kc.moveTo:a=r[y++],l=r[y++],i.moveTo(a,l),h||o.updatePathMinMax(p,a,l);break;case kc.lineTo:a=r[y++],l=r[y++],i.lineTo(a,l),h||o.updatePathMinMax(p,a,l);break;case kc.curveTo:d=a,u=l,a=r[y+4],l=r[y+5],i.bezierCurveTo(r[y],r[y+1],r[y+2],r[y+3],a,l),o.updateCurvePathMinMax(p,d,u,r[y],r[y+1],r[y+2],r[y+3],a,l,f),y+=6;break;case kc.curveTo2:d=a,u=l,i.bezierCurveTo(a,l,r[y],r[y+1],r[y+2],r[y+3]),o.updateCurvePathMinMax(p,d,u,a,l,r[y],r[y+1],r[y+2],r[y+3],f),a=r[y+2],l=r[y+3],y+=4;break;case kc.curveTo3:d=a,u=l,a=r[y+2],l=r[y+3],i.bezierCurveTo(r[y],r[y+1],a,l,a,l),o.updateCurvePathMinMax(p,d,u,r[y],r[y+1],a,l,a,l,f),y+=4;break;case kc.closePath:i.closePath();break}h&&o.updateScalingPathMinMax(p,f),o.setCurrentPoint(a,l)}closePath(){this.ctx.closePath()}stroke(t=!0){const r=this.ctx,n=this.current.strokeColor;r.globalAlpha=this.current.strokeAlpha,this.contentVisible&&(typeof n=="object"&&n?.getPattern?(r.save(),r.strokeStyle=n.getPattern(r,this,fu(r),Wa.STROKE),this.rescaleAndStroke(!1),r.restore()):this.rescaleAndStroke(!0)),t&&this.consumePath(this.current.getClippedPathBoundingBox()),r.globalAlpha=this.current.fillAlpha}closeStroke(){this.closePath(),this.stroke()}fill(t=!0){const r=this.ctx,n=this.current.fillColor,i=this.current.patternFill;let o=!1;i&&(r.save(),r.fillStyle=n.getPattern(r,this,fu(r),Wa.FILL),o=!0);const a=this.current.getClippedPathBoundingBox();this.contentVisible&&a!==null&&(this.pendingEOFill?(r.fill("evenodd"),this.pendingEOFill=!1):r.fill()),o&&r.restore(),t&&this.consumePath(a)}eoFill(){this.pendingEOFill=!0,this.fill()}fillStroke(){this.fill(!1),this.stroke(!1),this.consumePath()}eoFillStroke(){this.pendingEOFill=!0,this.fillStroke()}closeFillStroke(){this.closePath(),this.fillStroke()}closeEOFillStroke(){this.pendingEOFill=!0,this.closePath(),this.fillStroke()}endPath(){this.consumePath()}clip(){this.pendingClip=gut}eoClip(){this.pendingClip=oJ}beginText(){this.current.textMatrix=Wge,this.current.textMatrixScale=1,this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}endText(){const t=this.pendingTextPaths,r=this.ctx;if(t===void 0){r.beginPath();return}r.save(),r.beginPath();for(const n of t)r.setTransform(...n.transform),r.translate(n.x,n.y),n.addToPath(r,n.fontSize);r.restore(),r.clip(),r.beginPath(),delete this.pendingTextPaths}setCharSpacing(t){this.current.charSpacing=t}setWordSpacing(t){this.current.wordSpacing=t}setHScale(t){this.current.textHScale=t/100}setLeading(t){this.current.leading=-t}setFont(t,r){const n=this.commonObjs.get(t),i=this.current;if(!n)throw new Error(`Can't find font for ${t}`);if(i.fontMatrix=n.fontMatrix||lj,(i.fontMatrix[0]===0||i.fontMatrix[3]===0)&&Jr("Invalid font matrix for font "+t),r<0?(r=-r,i.fontDirection=-1):i.fontDirection=1,this.current.font=n,this.current.fontSize=r,n.isType3Font)return;const o=n.loadedName||"sans-serif",a=n.systemFontInfo?.css||`"${o}", ${n.fallbackName}`;let l="normal";n.black?l="900":n.bold&&(l="bold");const d=n.italic?"italic":"normal";let u=r;r<QX?u=QX:r>XX&&(u=XX),this.current.fontSizeScale=r/u,this.ctx.font=`${d} ${l} ${u}px ${a}`}setTextRenderingMode(t){this.current.textRenderingMode=t}setTextRise(t){this.current.textRise=t}moveText(t,r){this.current.x=this.current.lineX+=t,this.current.y=this.current.lineY+=r}setLeadingMoveText(t,r){this.setLeading(-r),this.moveText(t,r)}setTextMatrix(t,r,n,i,o,a){this.current.textMatrix=[t,r,n,i,o,a],this.current.textMatrixScale=Math.hypot(t,r),this.current.x=this.current.lineX=0,this.current.y=this.current.lineY=0}nextLine(){this.moveText(0,this.current.leading)}paintChar(t,r,n,i){const o=this.ctx,a=this.current,l=a.font,d=a.textRenderingMode,u=a.fontSize/a.fontSizeScale,p=d&xa.FILL_STROKE_MASK,h=!!(d&xa.ADD_TO_PATH_FLAG),f=a.patternFill&&!l.missingFile;let g;(l.disableFontFace||h||f)&&(g=l.getPathGenerator(this.commonObjs,t)),l.disableFontFace||f?(o.save(),o.translate(r,n),o.beginPath(),g(o,u),i&&o.setTransform(...i),(p===xa.FILL||p===xa.FILL_STROKE)&&o.fill(),(p===xa.STROKE||p===xa.FILL_STROKE)&&o.stroke(),o.restore()):((p===xa.FILL||p===xa.FILL_STROKE)&&o.fillText(t,r,n),(p===xa.STROKE||p===xa.FILL_STROKE)&&o.strokeText(t,r,n)),h&&(this.pendingTextPaths||=[]).push({transform:Ii(o),x:r,y:n,fontSize:u,addToPath:g})}get isFontSubpixelAAEnabled(){const{context:t}=this.cachedCanvases.getCanvas("isFontSubpixelAAEnabled",10,10);t.scale(1.5,1),t.fillText("I",0,10);const r=t.getImageData(0,0,10,10).data;let n=!1;for(let i=3;i<r.length;i+=4)if(r[i]>0&&r[i]<255){n=!0;break}return bn(this,"isFontSubpixelAAEnabled",n)}showText(t){const r=this.current,n=r.font;if(n.isType3Font)return this.showType3Text(t);const i=r.fontSize;if(i===0)return;const o=this.ctx,a=r.fontSizeScale,l=r.charSpacing,d=r.wordSpacing,u=r.fontDirection,p=r.textHScale*u,h=t.length,f=n.vertical,g=f?1:-1,y=n.defaultVMetrics,v=i*r.fontMatrix[0],w=r.textRenderingMode===xa.FILL&&!n.disableFontFace&&!r.patternFill;o.save(),o.transform(...r.textMatrix),o.translate(r.x,r.y+r.textRise),u>0?o.scale(p,-1):o.scale(p,1);let x;if(r.patternFill){o.save();const E=r.fillColor.getPattern(o,this,fu(o),Wa.FILL);x=Ii(o),o.restore(),o.fillStyle=E}let C=r.lineWidth;const S=r.textMatrixScale;if(S===0||C===0){const E=r.textRenderingMode&xa.FILL_STROKE_MASK;(E===xa.STROKE||E===xa.FILL_STROKE)&&(C=this.getSinglePixelWidth())}else C/=S;if(a!==1&&(o.scale(a,a),C/=a),o.lineWidth=C,n.isInvalidPDFjsFont){const E=[];let D=0;for(const P of t)E.push(P.unicode),D+=P.width;o.fillText(E.join(""),0,0),r.x+=D*v*p,o.restore(),this.compose();return}let k=0,T;for(T=0;T<h;++T){const E=t[T];if(typeof E=="number"){k+=g*E*i/1e3;continue}let D=!1;const P=(E.isSpace?d:0)+l,A=E.fontChar,I=E.accent;let H,R,Z=E.width;if(f){const B=E.vmetric||y,V=-(E.vmetric?B[1]:Z*.5)*v,j=B[2]*v;Z=B?-B[0]:Z,H=V/a,R=(k+j)/a}else H=k/a,R=0;if(n.remeasure&&Z>0){const B=o.measureText(A).width*1e3/i*a;if(Z<B&&this.isFontSubpixelAAEnabled){const V=Z/B;D=!0,o.save(),o.scale(V,1),H/=V}else Z!==B&&(H+=(Z-B)/2e3*i/a)}if(this.contentVisible&&(E.isInFont||n.missingFile)){if(w&&!I)o.fillText(A,H,R);else if(this.paintChar(A,H,R,x),I){const B=H+i*I.offset.x/a,V=R-i*I.offset.y/a;this.paintChar(I.fontChar,B,V,x)}}const Y=f?Z*v-P*u:Z*v+P*u;k+=Y,D&&o.restore()}f?r.y-=k:r.x+=k*p,o.restore(),this.compose()}showType3Text(t){const r=this.ctx,n=this.current,i=n.font,o=n.fontSize,a=n.fontDirection,l=i.vertical?1:-1,d=n.charSpacing,u=n.wordSpacing,p=n.textHScale*a,h=n.fontMatrix||lj,f=t.length,g=n.textRenderingMode===xa.INVISIBLE;let y,v,w,x;if(!(g||o===0)){for(this._cachedScaleForStroking[0]=-1,this._cachedGetSinglePixelWidth=null,r.save(),r.transform(...n.textMatrix),r.translate(n.x,n.y),r.scale(p,a),y=0;y<f;++y){if(v=t[y],typeof v=="number"){x=l*v*o/1e3,this.ctx.translate(x,0),n.x+=x*p;continue}const C=(v.isSpace?u:0)+d,S=i.charProcOperatorList[v.operatorListId];if(!S){Jr(`Type3 character "${v.operatorListId}" is not available.`);continue}this.contentVisible&&(this.processingType3=v,this.save(),r.scale(o,o),r.transform(...h),this.executeOperatorList(S),this.restore()),w=lr.applyTransform([v.width,0],h)[0]*o+C,r.translate(w,0),n.x+=w*p}r.restore(),this.processingType3=null}}setCharWidth(t,r){}setCharWidthAndBounds(t,r,n,i,o,a){this.ctx.rect(n,i,o-n,a-i),this.ctx.clip(),this.endPath()}getColorN_Pattern(t){let r;if(t[0]==="TilingPattern"){const n=t[1],i=this.baseTransform||Ii(this.ctx),o={createCanvasGraphics:a=>new Ef(a,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:this.optionalContentConfig,markedContentStack:this.markedContentStack})};r=new nN(t,n,this.ctx,o,i)}else r=this._getPattern(t[1],t[2]);return r}setStrokeColorN(){this.current.strokeColor=this.getColorN_Pattern(arguments)}setFillColorN(){this.current.fillColor=this.getColorN_Pattern(arguments),this.current.patternFill=!0}setStrokeRGBColor(t,r,n){const i=lr.makeHexColor(t,r,n);this.ctx.strokeStyle=i,this.current.strokeColor=i}setFillRGBColor(t,r,n){const i=lr.makeHexColor(t,r,n);this.ctx.fillStyle=i,this.current.fillColor=i,this.current.patternFill=!1}_getPattern(t,r=null){let n;return this.cachedPatterns.has(t)?n=this.cachedPatterns.get(t):(n=lut(this.getObject(t)),this.cachedPatterns.set(t,n)),r&&(n.matrix=r),n}shadingFill(t){if(!this.contentVisible)return;const r=this.ctx;this.save();const n=this._getPattern(t);r.fillStyle=n.getPattern(r,this,fu(r),Wa.SHADING);const i=fu(r);if(i){const{width:o,height:a}=r.canvas,[l,d,u,p]=lr.getAxialAlignedBoundingBox([0,0,o,a],i);this.ctx.fillRect(l,d,u-l,p-d)}else this.ctx.fillRect(-1e10,-1e10,2e10,2e10);this.compose(this.current.getClippedPathBoundingBox()),this.restore()}beginInlineImage(){Qn("Should not call beginInlineImage")}beginImageData(){Qn("Should not call beginImageData")}paintFormXObjectBegin(t,r){if(this.contentVisible&&(this.save(),this.baseTransformStack.push(this.baseTransform),t&&this.transform(...t),this.baseTransform=Ii(this.ctx),r)){const n=r[2]-r[0],i=r[3]-r[1];this.ctx.rect(r[0],r[1],n,i),this.current.updateRectMinMax(Ii(this.ctx),r),this.clip(),this.endPath()}}paintFormXObjectEnd(){this.contentVisible&&(this.restore(),this.baseTransform=this.baseTransformStack.pop())}beginGroup(t){if(!this.contentVisible)return;this.save(),this.inSMaskMode&&(this.endSMaskMode(),this.current.activeSMask=null);const r=this.ctx;t.isolated||Tx("TODO: Support non-isolated groups."),t.knockout&&Jr("Knockout groups not supported.");const n=Ii(r);if(t.matrix&&r.transform(...t.matrix),!t.bbox)throw new Error("Bounding box is required.");let i=lr.getAxialAlignedBoundingBox(t.bbox,Ii(r));const o=[0,0,r.canvas.width,r.canvas.height];i=lr.intersect(i,o)||[0,0,0,0];const a=Math.floor(i[0]),l=Math.floor(i[1]),d=Math.max(Math.ceil(i[2])-a,1),u=Math.max(Math.ceil(i[3])-l,1);this.current.startNewPathAndClipBox([0,0,d,u]);let p="groupAt"+this.groupLevel;t.smask&&(p+="_smask_"+this.smaskCounter++%2);const h=this.cachedCanvases.getCanvas(p,d,u),f=h.context;f.translate(-a,-l),f.transform(...n),t.smask?this.smaskStack.push({canvas:h.canvas,context:f,offsetX:a,offsetY:l,subtype:t.smask.subtype,backdrop:t.smask.backdrop,transferMap:t.smask.transferMap||null,startTransformInverse:null}):(r.setTransform(1,0,0,1,0,0),r.translate(a,l),r.save()),V4(r,f),this.ctx=f,this.setGState([["BM","source-over"],["ca",1],["CA",1]]),this.groupStack.push(r),this.groupLevel++}endGroup(t){if(!this.contentVisible)return;this.groupLevel--;const r=this.ctx,n=this.groupStack.pop();if(this.ctx=n,this.ctx.imageSmoothingEnabled=!1,t.smask)this.tempSMask=this.smaskStack.pop(),this.restore();else{this.ctx.restore();const i=Ii(this.ctx);this.restore(),this.ctx.save(),this.ctx.setTransform(...i);const o=lr.getAxialAlignedBoundingBox([0,0,r.canvas.width,r.canvas.height],i);this.ctx.drawImage(r.canvas,0,0),this.ctx.restore(),this.compose(o)}}beginAnnotation(t,r,n,i,o){if(this.#e(),O6(this.ctx),this.ctx.save(),this.save(),this.baseTransform&&this.ctx.setTransform(...this.baseTransform),r){const a=r[2]-r[0],l=r[3]-r[1];if(o&&this.annotationCanvasMap){n=n.slice(),n[4]-=r[0],n[5]-=r[1],r=r.slice(),r[0]=r[1]=0,r[2]=a,r[3]=l;const[d,u]=lr.singularValueDecompose2dScale(Ii(this.ctx)),{viewportScale:p}=this,h=Math.ceil(a*this.outputScaleX*p),f=Math.ceil(l*this.outputScaleY*p);this.annotationCanvas=this.canvasFactory.create(h,f);const{canvas:g,context:y}=this.annotationCanvas;this.annotationCanvasMap.set(t,g),this.annotationCanvas.savedCtx=this.ctx,this.ctx=y,this.ctx.save(),this.ctx.setTransform(d,0,0,-u,0,l*u),O6(this.ctx)}else O6(this.ctx),this.ctx.rect(r[0],r[1],a,l),this.ctx.clip(),this.endPath()}this.current=new tJ(this.ctx.canvas.width,this.ctx.canvas.height),this.transform(...n),this.transform(...i)}endAnnotation(){this.annotationCanvas&&(this.ctx.restore(),this.#t(),this.ctx=this.annotationCanvas.savedCtx,delete this.annotationCanvas.savedCtx,delete this.annotationCanvas)}paintImageMaskXObject(t){if(!this.contentVisible)return;const r=t.count;t=this.getObject(t.data,t),t.count=r;const n=this.ctx,i=this.processingType3;if(i&&(i.compiled===void 0&&(i.compiled=hut(t)),i.compiled)){i.compiled(n);return}const o=this._createMaskCanvas(t),a=o.canvas;n.save(),n.setTransform(1,0,0,1,0,0),n.drawImage(a,o.offsetX,o.offsetY),n.restore(),this.compose()}paintImageMaskXObjectRepeat(t,r,n=0,i=0,o,a){if(!this.contentVisible)return;t=this.getObject(t.data,t);const l=this.ctx;l.save();const d=Ii(l);l.transform(r,n,i,o,0,0);const u=this._createMaskCanvas(t);l.setTransform(1,0,0,1,u.offsetX-d[4],u.offsetY-d[5]);for(let p=0,h=a.length;p<h;p+=2){const f=lr.transform(d,[r,n,i,o,a[p],a[p+1]]),[g,y]=lr.applyTransform([0,0],f);l.drawImage(u.canvas,g,y)}l.restore(),this.compose()}paintImageMaskXObjectGroup(t){if(!this.contentVisible)return;const r=this.ctx,n=this.current.fillColor,i=this.current.patternFill;for(const o of t){const{data:a,width:l,height:d,transform:u}=o,p=this.cachedCanvases.getCanvas("maskCanvas",l,d),h=p.context;h.save();const f=this.getObject(a,o);nJ(h,f),h.globalCompositeOperation="source-in",h.fillStyle=i?n.getPattern(h,this,fu(r),Wa.FILL):n,h.fillRect(0,0,l,d),h.restore(),r.save(),r.transform(...u),r.scale(1,-1),F6(r,p.canvas,0,0,l,d,0,-1,1,1),r.restore()}this.compose()}paintImageXObject(t){if(!this.contentVisible)return;const r=this.getObject(t);if(!r){Jr("Dependent image isn't ready yet");return}this.paintInlineImageXObject(r)}paintImageXObjectRepeat(t,r,n,i){if(!this.contentVisible)return;const o=this.getObject(t);if(!o){Jr("Dependent image isn't ready yet");return}const a=o.width,l=o.height,d=[];for(let u=0,p=i.length;u<p;u+=2)d.push({transform:[r,0,0,n,i[u],i[u+1]],x:0,y:0,w:a,h:l});this.paintInlineImageXObjectGroup(o,d)}applyTransferMapsToCanvas(t){return this.current.transferMaps!=="none"&&(t.filter=this.current.transferMaps,t.drawImage(t.canvas,0,0),t.filter="none"),t.canvas}applyTransferMapsToBitmap(t){if(this.current.transferMaps==="none")return t.bitmap;const{bitmap:r,width:n,height:i}=t,o=this.cachedCanvases.getCanvas("inlineImage",n,i),a=o.context;return a.filter=this.current.transferMaps,a.drawImage(r,0,0),a.filter="none",o.canvas}paintInlineImageXObject(t){if(!this.contentVisible)return;const r=t.width,n=t.height,i=this.ctx;if(this.save(),!Ea){const{filter:l}=i;l!=="none"&&l!==""&&(i.filter="none")}i.scale(1/r,-1/n);let o;if(t.bitmap)o=this.applyTransferMapsToBitmap(t);else if(typeof HTMLElement=="function"&&t instanceof HTMLElement||!t.data)o=t;else{const d=this.cachedCanvases.getCanvas("inlineImage",r,n).context;rJ(d,t),o=this.applyTransferMapsToCanvas(d)}const a=this._scaleImage(o,fu(i));i.imageSmoothingEnabled=iJ(Ii(i),t.interpolate),F6(i,a.img,0,0,a.paintWidth,a.paintHeight,0,-n,r,n),this.compose(),this.restore()}paintInlineImageXObjectGroup(t,r){if(!this.contentVisible)return;const n=this.ctx;let i;if(t.bitmap)i=t.bitmap;else{const o=t.width,a=t.height,d=this.cachedCanvases.getCanvas("inlineImage",o,a).context;rJ(d,t),i=this.applyTransferMapsToCanvas(d)}for(const o of r)n.save(),n.transform(...o.transform),n.scale(1,-1),F6(n,i,o.x,o.y,o.w,o.h,0,-1,1,1),n.restore();this.compose()}paintSolidColorImageMask(){this.contentVisible&&(this.ctx.fillRect(0,0,1,1),this.compose())}markPoint(t){}markPointProps(t,r){}beginMarkedContent(t){this.markedContentStack.push({visible:!0})}beginMarkedContentProps(t,r){t==="OC"?this.markedContentStack.push({visible:this.optionalContentConfig.isVisible(r)}):this.markedContentStack.push({visible:!0}),this.contentVisible=this.isContentVisible()}endMarkedContent(){this.markedContentStack.pop(),this.contentVisible=this.isContentVisible()}beginCompat(){}endCompat(){}consumePath(t){const r=this.current.isEmptyClip();this.pendingClip&&this.current.updateClipFromPath(),this.pendingClip||this.compose(t);const n=this.ctx;this.pendingClip&&(r||(this.pendingClip===oJ?n.clip("evenodd"):n.clip()),this.pendingClip=null),this.current.startNewPathAndClipBox(this.current.clipBox),n.beginPath()}getSinglePixelWidth(){if(!this._cachedGetSinglePixelWidth){const t=Ii(this.ctx);if(t[1]===0&&t[2]===0)this._cachedGetSinglePixelWidth=1/Math.min(Math.abs(t[0]),Math.abs(t[3]));else{const r=Math.abs(t[0]*t[3]-t[2]*t[1]),n=Math.hypot(t[0],t[2]),i=Math.hypot(t[1],t[3]);this._cachedGetSinglePixelWidth=Math.max(n,i)/r}}return this._cachedGetSinglePixelWidth}getScaleForStroking(){if(this._cachedScaleForStroking[0]===-1){const{lineWidth:t}=this.current,{a:r,b:n,c:i,d:o}=this.ctx.getTransform();let a,l;if(n===0&&i===0){const d=Math.abs(r),u=Math.abs(o);if(d===u)if(t===0)a=l=1/d;else{const p=d*t;a=l=p<1?1/p:1}else if(t===0)a=1/d,l=1/u;else{const p=d*t,h=u*t;a=p<1?1/p:1,l=h<1?1/h:1}}else{const d=Math.abs(r*o-n*i),u=Math.hypot(r,n),p=Math.hypot(i,o);if(t===0)a=p/d,l=u/d;else{const h=t*d;a=p>h?p/h:1,l=u>h?u/h:1}}this._cachedScaleForStroking[0]=a,this._cachedScaleForStroking[1]=l}return this._cachedScaleForStroking}rescaleAndStroke(t){const{ctx:r}=this,{lineWidth:n}=this.current,[i,o]=this.getScaleForStroking();if(r.lineWidth=n||1,i===1&&o===1){r.stroke();return}const a=r.getLineDash();if(t&&r.save(),r.scale(i,o),a.length>0){const l=Math.max(i,o);r.setLineDash(a.map(d=>d/l)),r.lineDashOffset/=l}r.stroke(),t&&r.restore()}isContentVisible(){for(let t=this.markedContentStack.length-1;t>=0;t--)if(!this.markedContentStack[t].visible)return!1;return!0}}for(const e in kc)Ef.prototype[e]!==void 0&&(Ef.prototype[kc[e]]=Ef.prototype[e]);class L7{static#e=null;static#t="";static get workerPort(){return this.#e}static set workerPort(t){if(!(typeof Worker<"u"&&t instanceof Worker)&&t!==null)throw new Error("Invalid `workerPort` type.");this.#e=t}static get workerSrc(){return this.#t}static set workerSrc(t){if(typeof t!="string")throw new Error("Invalid `workerSrc` type.");this.#t=t}}const N6={DATA:1,ERROR:2},ao={CANCEL:1,CANCEL_COMPLETE:2,CLOSE:3,ENQUEUE:4,ERROR:5,PULL:6,PULL_COMPLETE:7,START_COMPLETE:8};function Is(e){switch(e instanceof Error||typeof e=="object"&&e!==null||Qn('wrapReason: Expected "reason" to be a (possibly cloned) Error.'),e.name){case"AbortException":return new Am(e.message);case"MissingPDFException":return new Tm(e.message);case"PasswordException":return new dj(e.message,e.code);case"UnexpectedResponseException":return new Ax(e.message,e.status);case"UnknownErrorException":return new uj(e.message,e.details);default:return new uj(e.message,e.toString())}}class j5{constructor(t,r,n){this.sourceName=t,this.targetName=r,this.comObj=n,this.callbackId=1,this.streamId=1,this.streamSinks=Object.create(null),this.streamControllers=Object.create(null),this.callbackCapabilities=Object.create(null),this.actionHandler=Object.create(null),this._onComObjOnMessage=i=>{const o=i.data;if(o.targetName!==this.sourceName)return;if(o.stream){this.#t(o);return}if(o.callback){const l=o.callbackId,d=this.callbackCapabilities[l];if(!d)throw new Error(`Cannot resolve callback ${l}`);if(delete this.callbackCapabilities[l],o.callback===N6.DATA)d.resolve(o.data);else if(o.callback===N6.ERROR)d.reject(Is(o.reason));else throw new Error("Unexpected callback case");return}const a=this.actionHandler[o.action];if(!a)throw new Error(`Unknown action from worker: ${o.action}`);if(o.callbackId){const l=this.sourceName,d=o.sourceName;new Promise(function(u){u(a(o.data))}).then(function(u){n.postMessage({sourceName:l,targetName:d,callback:N6.DATA,callbackId:o.callbackId,data:u})},function(u){n.postMessage({sourceName:l,targetName:d,callback:N6.ERROR,callbackId:o.callbackId,reason:Is(u)})});return}if(o.streamId){this.#e(o);return}a(o.data)},n.addEventListener("message",this._onComObjOnMessage)}on(t,r){const n=this.actionHandler;if(n[t])throw new Error(`There is already an actionName called "${t}"`);n[t]=r}send(t,r,n){this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,data:r},n)}sendWithPromise(t,r,n){const i=this.callbackId++,o=Promise.withResolvers();this.callbackCapabilities[i]=o;try{this.comObj.postMessage({sourceName:this.sourceName,targetName:this.targetName,action:t,callbackId:i,data:r},n)}catch(a){o.reject(a)}return o.promise}sendWithStream(t,r,n,i){const o=this.streamId++,a=this.sourceName,l=this.targetName,d=this.comObj;return new ReadableStream({start:u=>{const p=Promise.withResolvers();return this.streamControllers[o]={controller:u,startCall:p,pullCall:null,cancelCall:null,isClosed:!1},d.postMessage({sourceName:a,targetName:l,action:t,streamId:o,data:r,desiredSize:u.desiredSize},i),p.promise},pull:u=>{const p=Promise.withResolvers();return this.streamControllers[o].pullCall=p,d.postMessage({sourceName:a,targetName:l,stream:ao.PULL,streamId:o,desiredSize:u.desiredSize}),p.promise},cancel:u=>{Lo(u instanceof Error,"cancel must have a valid reason");const p=Promise.withResolvers();return this.streamControllers[o].cancelCall=p,this.streamControllers[o].isClosed=!0,d.postMessage({sourceName:a,targetName:l,stream:ao.CANCEL,streamId:o,reason:Is(u)}),p.promise}},n)}#e(t){const r=t.streamId,n=this.sourceName,i=t.sourceName,o=this.comObj,a=this,l=this.actionHandler[t.action],d={enqueue(u,p=1,h){if(this.isCancelled)return;const f=this.desiredSize;this.desiredSize-=p,f>0&&this.desiredSize<=0&&(this.sinkCapability=Promise.withResolvers(),this.ready=this.sinkCapability.promise),o.postMessage({sourceName:n,targetName:i,stream:ao.ENQUEUE,streamId:r,chunk:u},h)},close(){this.isCancelled||(this.isCancelled=!0,o.postMessage({sourceName:n,targetName:i,stream:ao.CLOSE,streamId:r}),delete a.streamSinks[r])},error(u){Lo(u instanceof Error,"error must have a valid reason"),!this.isCancelled&&(this.isCancelled=!0,o.postMessage({sourceName:n,targetName:i,stream:ao.ERROR,streamId:r,reason:Is(u)}))},sinkCapability:Promise.withResolvers(),onPull:null,onCancel:null,isCancelled:!1,desiredSize:t.desiredSize,ready:null};d.sinkCapability.resolve(),d.ready=d.sinkCapability.promise,this.streamSinks[r]=d,new Promise(function(u){u(l(t.data,d))}).then(function(){o.postMessage({sourceName:n,targetName:i,stream:ao.START_COMPLETE,streamId:r,success:!0})},function(u){o.postMessage({sourceName:n,targetName:i,stream:ao.START_COMPLETE,streamId:r,reason:Is(u)})})}#t(t){const r=t.streamId,n=this.sourceName,i=t.sourceName,o=this.comObj,a=this.streamControllers[r],l=this.streamSinks[r];switch(t.stream){case ao.START_COMPLETE:t.success?a.startCall.resolve():a.startCall.reject(Is(t.reason));break;case ao.PULL_COMPLETE:t.success?a.pullCall.resolve():a.pullCall.reject(Is(t.reason));break;case ao.PULL:if(!l){o.postMessage({sourceName:n,targetName:i,stream:ao.PULL_COMPLETE,streamId:r,success:!0});break}l.desiredSize<=0&&t.desiredSize>0&&l.sinkCapability.resolve(),l.desiredSize=t.desiredSize,new Promise(function(d){d(l.onPull?.())}).then(function(){o.postMessage({sourceName:n,targetName:i,stream:ao.PULL_COMPLETE,streamId:r,success:!0})},function(d){o.postMessage({sourceName:n,targetName:i,stream:ao.PULL_COMPLETE,streamId:r,reason:Is(d)})});break;case ao.ENQUEUE:if(Lo(a,"enqueue should have stream controller"),a.isClosed)break;a.controller.enqueue(t.chunk);break;case ao.CLOSE:if(Lo(a,"close should have stream controller"),a.isClosed)break;a.isClosed=!0,a.controller.close(),this.#r(a,r);break;case ao.ERROR:Lo(a,"error should have stream controller"),a.controller.error(Is(t.reason)),this.#r(a,r);break;case ao.CANCEL_COMPLETE:t.success?a.cancelCall.resolve():a.cancelCall.reject(Is(t.reason)),this.#r(a,r);break;case ao.CANCEL:if(!l)break;new Promise(function(d){d(l.onCancel?.(Is(t.reason)))}).then(function(){o.postMessage({sourceName:n,targetName:i,stream:ao.CANCEL_COMPLETE,streamId:r,success:!0})},function(d){o.postMessage({sourceName:n,targetName:i,stream:ao.CANCEL_COMPLETE,streamId:r,reason:Is(d)})}),l.sinkCapability.reject(Is(t.reason)),l.isCancelled=!0,delete this.streamSinks[r];break;default:throw new Error("Unexpected stream case")}}async#r(t,r){await Promise.allSettled([t.startCall?.promise,t.pullCall?.promise,t.cancelCall?.promise]),delete this.streamControllers[r]}destroy(){this.comObj.removeEventListener("message",this._onComObjOnMessage)}}class yut{#e;#t;constructor({parsedData:t,rawData:r}){this.#e=t,this.#t=r}getRaw(){return this.#t}get(t){return this.#e.get(t)??null}getAll(){return GO(this.#e)}has(t){return this.#e.has(t)}}const H2=Symbol("INTERNAL");class vut{#e=!1;#t=!1;#r=!1;#i=!0;constructor(t,{name:r,intent:n,usage:i}){this.#e=!!(t&$l.DISPLAY),this.#t=!!(t&$l.PRINT),this.name=r,this.intent=n,this.usage=i}get visible(){if(this.#r)return this.#i;if(!this.#i)return!1;const{print:t,view:r}=this.usage;return this.#e?r?.viewState!=="OFF":this.#t?t?.printState!=="OFF":!0}_setVisible(t,r,n=!1){t!==H2&&Qn("Internal method `_setVisible` called."),this.#r=n,this.#i=r}}class but{#e=null;#t=new Map;#r=null;#i=null;constructor(t,r=$l.DISPLAY){if(this.renderingIntent=r,this.name=null,this.creator=null,t!==null){this.name=t.name,this.creator=t.creator,this.#i=t.order;for(const n of t.groups)this.#t.set(n.id,new vut(r,n));if(t.baseState==="OFF")for(const n of this.#t.values())n._setVisible(H2,!1);for(const n of t.on)this.#t.get(n)._setVisible(H2,!0);for(const n of t.off)this.#t.get(n)._setVisible(H2,!1);this.#r=this.getHash()}}#s(t){const r=t.length;if(r<2)return!0;const n=t[0];for(let i=1;i<r;i++){const o=t[i];let a;if(Array.isArray(o))a=this.#s(o);else if(this.#t.has(o))a=this.#t.get(o).visible;else return Jr(`Optional content group not found: ${o}`),!0;switch(n){case"And":if(!a)return!1;break;case"Or":if(a)return!0;break;case"Not":return!a;default:return!0}}return n==="And"}isVisible(t){if(this.#t.size===0)return!0;if(!t)return Tx("Optional content group not defined."),!0;if(t.type==="OCG")return this.#t.has(t.id)?this.#t.get(t.id).visible:(Jr(`Optional content group not found: ${t.id}`),!0);if(t.type==="OCMD"){if(t.expression)return this.#s(t.expression);if(!t.policy||t.policy==="AnyOn"){for(const r of t.ids){if(!this.#t.has(r))return Jr(`Optional content group not found: ${r}`),!0;if(this.#t.get(r).visible)return!0}return!1}else if(t.policy==="AllOn"){for(const r of t.ids){if(!this.#t.has(r))return Jr(`Optional content group not found: ${r}`),!0;if(!this.#t.get(r).visible)return!1}return!0}else if(t.policy==="AnyOff"){for(const r of t.ids){if(!this.#t.has(r))return Jr(`Optional content group not found: ${r}`),!0;if(!this.#t.get(r).visible)return!0}return!1}else if(t.policy==="AllOff"){for(const r of t.ids){if(!this.#t.has(r))return Jr(`Optional content group not found: ${r}`),!0;if(this.#t.get(r).visible)return!1}return!0}return Jr(`Unknown optional content policy ${t.policy}.`),!0}return Jr(`Unknown group type ${t.type}.`),!0}setVisibility(t,r=!0){const n=this.#t.get(t);if(!n){Jr(`Optional content group not found: ${t}`);return}n._setVisible(H2,!!r,!0),this.#e=null}setOCGState({state:t,preserveRB:r}){let n;for(const i of t){switch(i){case"ON":case"OFF":case"Toggle":n=i;continue}const o=this.#t.get(i);if(o)switch(n){case"ON":o._setVisible(H2,!0);break;case"OFF":o._setVisible(H2,!1);break;case"Toggle":o._setVisible(H2,!o.visible);break}}this.#e=null}get hasInitialVisibility(){return this.#r===null||this.getHash()===this.#r}getOrder(){return this.#t.size?this.#i?this.#i.slice():[...this.#t.keys()]:null}getGroups(){return this.#t.size>0?GO(this.#t):null}getGroup(t){return this.#t.get(t)||null}getHash(){if(this.#e!==null)return this.#e;const t=new Jge;for(const[r,n]of this.#t)t.update(`${r}:${n.visible}`);return this.#e=t.hexdigest()}}class wut{constructor(t,{disableRange:r=!1,disableStream:n=!1}){Lo(t,'PDFDataTransportStream - missing required "pdfDataRangeTransport" argument.');const{length:i,initialData:o,progressiveDone:a,contentDispositionFilename:l}=t;if(this._queuedChunks=[],this._progressiveDone=a,this._contentDispositionFilename=l,o?.length>0){const d=o instanceof Uint8Array&&o.byteLength===o.buffer.byteLength?o.buffer:new Uint8Array(o).buffer;this._queuedChunks.push(d)}this._pdfDataRangeTransport=t,this._isStreamingSupported=!n,this._isRangeSupported=!r,this._contentLength=i,this._fullRequestReader=null,this._rangeReaders=[],t.addRangeListener((d,u)=>{this._onReceiveData({begin:d,chunk:u})}),t.addProgressListener((d,u)=>{this._onProgress({loaded:d,total:u})}),t.addProgressiveReadListener(d=>{this._onReceiveData({chunk:d})}),t.addProgressiveDoneListener(()=>{this._onProgressiveDone()}),t.transportReady()}_onReceiveData({begin:t,chunk:r}){const n=r instanceof Uint8Array&&r.byteLength===r.buffer.byteLength?r.buffer:new Uint8Array(r).buffer;if(t===void 0)this._fullRequestReader?this._fullRequestReader._enqueue(n):this._queuedChunks.push(n);else{const i=this._rangeReaders.some(function(o){return o._begin!==t?!1:(o._enqueue(n),!0)});Lo(i,"_onReceiveData - no `PDFDataTransportStreamRangeReader` instance found.")}}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}_onProgress(t){t.total===void 0?this._rangeReaders[0]?.onProgress?.({loaded:t.loaded}):this._fullRequestReader?.onProgress?.({loaded:t.loaded,total:t.total})}_onProgressiveDone(){this._fullRequestReader?.progressiveDone(),this._progressiveDone=!0}_removeRangeReader(t){const r=this._rangeReaders.indexOf(t);r>=0&&this._rangeReaders.splice(r,1)}getFullReader(){Lo(!this._fullRequestReader,"PDFDataTransportStream.getFullReader can only be called once.");const t=this._queuedChunks;return this._queuedChunks=null,new xut(this,t,this._progressiveDone,this._contentDispositionFilename)}getRangeReader(t,r){if(r<=this._progressiveDataLength)return null;const n=new Cut(this,t,r);return this._pdfDataRangeTransport.requestDataRange(t,r),this._rangeReaders.push(n),n}cancelAllRequests(t){this._fullRequestReader?.cancel(t);for(const r of this._rangeReaders.slice(0))r.cancel(t);this._pdfDataRangeTransport.abort()}}class xut{constructor(t,r,n=!1,i=null){this._stream=t,this._done=n||!1,this._filename=QO(i)?i:null,this._queuedChunks=r||[],this._loaded=0;for(const o of this._queuedChunks)this._loaded+=o.byteLength;this._requests=[],this._headersReady=Promise.resolve(),t._fullRequestReader=this,this.onProgress=null}_enqueue(t){this._done||(this._requests.length>0?this._requests.shift().resolve({value:t,done:!1}):this._queuedChunks.push(t),this._loaded+=t.byteLength)}get headersReady(){return this._headersReady}get filename(){return this._filename}get isRangeSupported(){return this._stream._isRangeSupported}get isStreamingSupported(){return this._stream._isStreamingSupported}get contentLength(){return this._stream._contentLength}async read(){if(this._queuedChunks.length>0)return{value:this._queuedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0;for(const r of this._requests)r.resolve({value:void 0,done:!0});this._requests.length=0}progressiveDone(){this._done||(this._done=!0)}}class Cut{constructor(t,r,n){this._stream=t,this._begin=r,this._end=n,this._queuedChunk=null,this._requests=[],this._done=!1,this.onProgress=null}_enqueue(t){if(!this._done){if(this._requests.length===0)this._queuedChunk=t;else{this._requests.shift().resolve({value:t,done:!1});for(const n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0}this._done=!0,this._stream._removeRangeReader(this)}}get isStreamingSupported(){return!1}async read(){if(this._queuedChunk){const r=this._queuedChunk;return this._queuedChunk=null,{value:r,done:!1}}if(this._done)return{value:void 0,done:!0};const t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0;for(const r of this._requests)r.resolve({value:void 0,done:!0});this._requests.length=0,this._stream._removeRangeReader(this)}}function $ut(e){let t=!0,r=n("filename\\*","i").exec(e);if(r){r=r[1];let p=l(r);return p=unescape(p),p=d(p),p=u(p),o(p)}if(r=a(e),r){const p=u(r);return o(p)}if(r=n("filename","i").exec(e),r){r=r[1];let p=l(r);return p=u(p),o(p)}function n(p,h){return new RegExp("(?:^|;)\\s*"+p+'\\s*=\\s*([^";\\s][^;\\s]*|"(?:[^"\\\\]|\\\\"?)+"?)',h)}function i(p,h){if(p){if(!/^[\x00-\xFF]+$/.test(h))return h;try{const f=new TextDecoder(p,{fatal:!0}),g=Lx(h);h=f.decode(g),t=!1}catch{}}return h}function o(p){return t&&/[\x80-\xff]/.test(p)&&(p=i("utf-8",p),t&&(p=i("iso-8859-1",p))),p}function a(p){const h=[];let f;const g=n("filename\\*((?!0\\d)\\d+)(\\*?)","ig");for(;(f=g.exec(p))!==null;){let[,v,w,x]=f;if(v=parseInt(v,10),v in h){if(v===0)break;continue}h[v]=[w,x]}const y=[];for(let v=0;v<h.length&&v in h;++v){let[w,x]=h[v];x=l(x),w&&(x=unescape(x),v===0&&(x=d(x))),y.push(x)}return y.join("")}function l(p){if(p.startsWith('"')){const h=p.slice(1).split('\\"');for(let f=0;f<h.length;++f){const g=h[f].indexOf('"');g!==-1&&(h[f]=h[f].slice(0,g),h.length=f+1),h[f]=h[f].replaceAll(/\\(.)/g,"$1")}p=h.join('"')}return p}function d(p){const h=p.indexOf("'");if(h===-1)return p;const f=p.slice(0,h),y=p.slice(h+1).replace(/^[^']*'/,"");return i(f,y)}function u(p){return!p.startsWith("=?")||/[\x00-\x19\x80-\xff]/.test(p)?p:p.replaceAll(/=\?([\w-]*)\?([QqBb])\?((?:[^?]|\?(?!=))*)\?=/g,function(h,f,g,y){if(g==="q"||g==="Q")return y=y.replaceAll("_"," "),y=y.replaceAll(/=([0-9a-fA-F]{2})/g,function(v,w){return String.fromCharCode(parseInt(w,16))}),i(f,y);try{y=atob(y)}catch{}return i(f,y)})}return""}function iN({getResponseHeader:e,isHttp:t,rangeChunkSize:r,disableRange:n}){const i={allowRangeRequests:!1,suggestedLength:void 0},o=parseInt(e("Content-Length"),10);return!Number.isInteger(o)||(i.suggestedLength=o,o<=2*r)||n||!t||e("Accept-Ranges")!=="bytes"||(e("Content-Encoding")||"identity")!=="identity"||(i.allowRangeRequests=!0),i}function oN(e){const t=e("Content-Disposition");if(t){let r=$ut(t);if(r.includes("%"))try{r=decodeURIComponent(r)}catch{}if(QO(r))return r}return null}function Rx(e,t){return e===404||e===0&&t.startsWith("file:")?new Tm('Missing PDF "'+t+'".'):new Ax(`Unexpected server response (${e}) while retrieving PDF "${t}".`,e)}function r4e(e){return e===200||e===206}function n4e(e,t,r){return{method:"GET",headers:e,signal:r.signal,mode:"cors",credentials:t?"include":"same-origin",redirect:"follow"}}function i4e(e){const t=new Headers;for(const r in e){const n=e[r];n!==void 0&&t.append(r,n)}return t}function o4e(e){return e instanceof Uint8Array?e.buffer:e instanceof ArrayBuffer?e:(Jr(`getArrayBuffer - unexpected data format: ${e}`),new Uint8Array(e).buffer)}class aJ{constructor(t){this.source=t,this.isHttp=/^https?:/i.test(t.url),this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return Lo(!this._fullRequestReader,"PDFFetchStream.getFullReader can only be called once."),this._fullRequestReader=new Sut(this),this._fullRequestReader}getRangeReader(t,r){if(r<=this._progressiveDataLength)return null;const n=new kut(this,t,r);return this._rangeRequestReaders.push(n),n}cancelAllRequests(t){this._fullRequestReader?.cancel(t);for(const r of this._rangeRequestReaders.slice(0))r.cancel(t)}}class Sut{constructor(t){this._stream=t,this._reader=null,this._loaded=0,this._filename=null;const r=t.source;this._withCredentials=r.withCredentials||!1,this._contentLength=r.length,this._headersCapability=Promise.withResolvers(),this._disableRange=r.disableRange||!1,this._rangeChunkSize=r.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._abortController=new AbortController,this._isStreamingSupported=!r.disableStream,this._isRangeSupported=!r.disableRange,this._headers=i4e(this._stream.httpHeaders);const n=r.url;fetch(n,n4e(this._headers,this._withCredentials,this._abortController)).then(i=>{if(!r4e(i.status))throw Rx(i.status,n);this._reader=i.body.getReader(),this._headersCapability.resolve();const o=d=>i.headers.get(d),{allowRangeRequests:a,suggestedLength:l}=iN({getResponseHeader:o,isHttp:this._stream.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=a,this._contentLength=l||this._contentLength,this._filename=oN(o),!this._isStreamingSupported&&this._isRangeSupported&&this.cancel(new Am("Streaming is disabled."))}).catch(this._headersCapability.reject),this.onProgress=null}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){await this._headersCapability.promise;const{value:t,done:r}=await this._reader.read();return r?{value:t,done:r}:(this._loaded+=t.byteLength,this.onProgress?.({loaded:this._loaded,total:this._contentLength}),{value:o4e(t),done:!1})}cancel(t){this._reader?.cancel(t),this._abortController.abort()}}class kut{constructor(t,r,n){this._stream=t,this._reader=null,this._loaded=0;const i=t.source;this._withCredentials=i.withCredentials||!1,this._readCapability=Promise.withResolvers(),this._isStreamingSupported=!i.disableStream,this._abortController=new AbortController,this._headers=i4e(this._stream.httpHeaders),this._headers.append("Range",`bytes=${r}-${n-1}`);const o=i.url;fetch(o,n4e(this._headers,this._withCredentials,this._abortController)).then(a=>{if(!r4e(a.status))throw Rx(a.status,o);this._readCapability.resolve(),this._reader=a.body.getReader()}).catch(this._readCapability.reject),this.onProgress=null}get isStreamingSupported(){return this._isStreamingSupported}async read(){await this._readCapability.promise;const{value:t,done:r}=await this._reader.read();return r?{value:t,done:r}:(this._loaded+=t.byteLength,this.onProgress?.({loaded:this._loaded}),{value:o4e(t),done:!1})}cancel(t){this._reader?.cancel(t),this._abortController.abort()}}const pL=200,hL=206;function Eut(e){const t=e.response;return typeof t!="string"?t:Lx(t).buffer}class _ut{constructor(t,r={}){this.url=t,this.isHttp=/^https?:/i.test(t),this.httpHeaders=this.isHttp&&r.httpHeaders||Object.create(null),this.withCredentials=r.withCredentials||!1,this.currXhrId=0,this.pendingRequests=Object.create(null)}requestRange(t,r,n){const i={begin:t,end:r};for(const o in n)i[o]=n[o];return this.request(i)}requestFull(t){return this.request(t)}request(t){const r=new XMLHttpRequest,n=this.currXhrId++,i=this.pendingRequests[n]={xhr:r};r.open("GET",this.url),r.withCredentials=this.withCredentials;for(const o in this.httpHeaders){const a=this.httpHeaders[o];a!==void 0&&r.setRequestHeader(o,a)}return this.isHttp&&"begin"in t&&"end"in t?(r.setRequestHeader("Range",`bytes=${t.begin}-${t.end-1}`),i.expectedStatus=hL):i.expectedStatus=pL,r.responseType="arraybuffer",t.onError&&(r.onerror=function(o){t.onError(r.status)}),r.onreadystatechange=this.onStateChange.bind(this,n),r.onprogress=this.onProgress.bind(this,n),i.onHeadersReceived=t.onHeadersReceived,i.onDone=t.onDone,i.onError=t.onError,i.onProgress=t.onProgress,r.send(null),n}onProgress(t,r){const n=this.pendingRequests[t];n&&n.onProgress?.(r)}onStateChange(t,r){const n=this.pendingRequests[t];if(!n)return;const i=n.xhr;if(i.readyState>=2&&n.onHeadersReceived&&(n.onHeadersReceived(),delete n.onHeadersReceived),i.readyState!==4||!(t in this.pendingRequests))return;if(delete this.pendingRequests[t],i.status===0&&this.isHttp){n.onError?.(i.status);return}const o=i.status||pL;if(!(o===pL&&n.expectedStatus===hL)&&o!==n.expectedStatus){n.onError?.(i.status);return}const l=Eut(i);if(o===hL){const d=i.getResponseHeader("Content-Range"),u=/bytes (\d+)-(\d+)\/(\d+)/.exec(d);n.onDone({begin:parseInt(u[1],10),chunk:l})}else l?n.onDone({begin:0,chunk:l}):n.onError?.(i.status)}getRequestXhr(t){return this.pendingRequests[t].xhr}isPendingRequest(t){return t in this.pendingRequests}abortRequest(t){const r=this.pendingRequests[t].xhr;delete this.pendingRequests[t],r.abort()}}class Tut{constructor(t){this._source=t,this._manager=new _ut(t.url,{httpHeaders:t.httpHeaders,withCredentials:t.withCredentials}),this._rangeChunkSize=t.rangeChunkSize,this._fullRequestReader=null,this._rangeRequestReaders=[]}_onRangeRequestReaderClosed(t){const r=this._rangeRequestReaders.indexOf(t);r>=0&&this._rangeRequestReaders.splice(r,1)}getFullReader(){return Lo(!this._fullRequestReader,"PDFNetworkStream.getFullReader can only be called once."),this._fullRequestReader=new Aut(this._manager,this._source),this._fullRequestReader}getRangeReader(t,r){const n=new Lut(this._manager,t,r);return n.onClosed=this._onRangeRequestReaderClosed.bind(this),this._rangeRequestReaders.push(n),n}cancelAllRequests(t){this._fullRequestReader?.cancel(t);for(const r of this._rangeRequestReaders.slice(0))r.cancel(t)}}class Aut{constructor(t,r){this._manager=t;const n={onHeadersReceived:this._onHeadersReceived.bind(this),onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=r.url,this._fullRequestId=t.requestFull(n),this._headersReceivedCapability=Promise.withResolvers(),this._disableRange=r.disableRange||!1,this._contentLength=r.length,this._rangeChunkSize=r.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!1,this._isRangeSupported=!1,this._cachedChunks=[],this._requests=[],this._done=!1,this._storedError=void 0,this._filename=null,this.onProgress=null}_onHeadersReceived(){const t=this._fullRequestId,r=this._manager.getRequestXhr(t),n=a=>r.getResponseHeader(a),{allowRangeRequests:i,suggestedLength:o}=iN({getResponseHeader:n,isHttp:this._manager.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});i&&(this._isRangeSupported=!0),this._contentLength=o||this._contentLength,this._filename=oN(n),this._isRangeSupported&&this._manager.abortRequest(t),this._headersReceivedCapability.resolve()}_onDone(t){if(t&&(this._requests.length>0?this._requests.shift().resolve({value:t.chunk,done:!1}):this._cachedChunks.push(t.chunk)),this._done=!0,!(this._cachedChunks.length>0)){for(const r of this._requests)r.resolve({value:void 0,done:!0});this._requests.length=0}}_onError(t){this._storedError=Rx(t,this._url),this._headersReceivedCapability.reject(this._storedError);for(const r of this._requests)r.reject(this._storedError);this._requests.length=0,this._cachedChunks.length=0}_onProgress(t){this.onProgress?.({loaded:t.loaded,total:t.lengthComputable?t.total:this._contentLength})}get filename(){return this._filename}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}get contentLength(){return this._contentLength}get headersReady(){return this._headersReceivedCapability.promise}async read(){if(this._storedError)throw this._storedError;if(this._cachedChunks.length>0)return{value:this._cachedChunks.shift(),done:!1};if(this._done)return{value:void 0,done:!0};const t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0,this._headersReceivedCapability.reject(t);for(const r of this._requests)r.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._fullRequestId)&&this._manager.abortRequest(this._fullRequestId),this._fullRequestReader=null}}class Lut{constructor(t,r,n){this._manager=t;const i={onDone:this._onDone.bind(this),onError:this._onError.bind(this),onProgress:this._onProgress.bind(this)};this._url=t.url,this._requestId=t.requestRange(r,n,i),this._requests=[],this._queuedChunk=null,this._done=!1,this._storedError=void 0,this.onProgress=null,this.onClosed=null}_close(){this.onClosed?.(this)}_onDone(t){const r=t.chunk;this._requests.length>0?this._requests.shift().resolve({value:r,done:!1}):this._queuedChunk=r,this._done=!0;for(const n of this._requests)n.resolve({value:void 0,done:!0});this._requests.length=0,this._close()}_onError(t){this._storedError=Rx(t,this._url);for(const r of this._requests)r.reject(this._storedError);this._requests.length=0,this._queuedChunk=null}_onProgress(t){this.isStreamingSupported||this.onProgress?.({loaded:t.loaded})}get isStreamingSupported(){return!1}async read(){if(this._storedError)throw this._storedError;if(this._queuedChunk!==null){const r=this._queuedChunk;return this._queuedChunk=null,{value:r,done:!1}}if(this._done)return{value:void 0,done:!0};const t=Promise.withResolvers();return this._requests.push(t),t.promise}cancel(t){this._done=!0;for(const r of this._requests)r.resolve({value:void 0,done:!0});this._requests.length=0,this._manager.isPendingRequest(this._requestId)&&this._manager.abortRequest(this._requestId),this._close()}}const a4e=/^file:\/\/\/[a-zA-Z]:\//;function Dut(e){const t=j1.get("url"),r=t.parse(e);return r.protocol==="file:"||r.host?r:/^[a-z]:[/\\]/i.test(e)?t.parse(`file:///${e}`):(r.host||(r.protocol="file:"),r)}class Put{constructor(t){this.source=t,this.url=Dut(t.url),this.isHttp=this.url.protocol==="http:"||this.url.protocol==="https:",this.isFsUrl=this.url.protocol==="file:",this.httpHeaders=this.isHttp&&t.httpHeaders||{},this._fullRequestReader=null,this._rangeRequestReaders=[]}get _progressiveDataLength(){return this._fullRequestReader?._loaded??0}getFullReader(){return Lo(!this._fullRequestReader,"PDFNodeStream.getFullReader can only be called once."),this._fullRequestReader=this.isFsUrl?new jut(this):new Mut(this),this._fullRequestReader}getRangeReader(t,r){if(r<=this._progressiveDataLength)return null;const n=this.isFsUrl?new Rut(this,t,r):new Iut(this,t,r);return this._rangeRequestReaders.push(n),n}cancelAllRequests(t){this._fullRequestReader?.cancel(t);for(const r of this._rangeRequestReaders.slice(0))r.cancel(t)}}class s4e{constructor(t){this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null;const r=t.source;this._contentLength=r.length,this._loaded=0,this._filename=null,this._disableRange=r.disableRange||!1,this._rangeChunkSize=r.rangeChunkSize,!this._rangeChunkSize&&!this._disableRange&&(this._disableRange=!0),this._isStreamingSupported=!r.disableStream,this._isRangeSupported=!r.disableRange,this._readableStream=null,this._readCapability=Promise.withResolvers(),this._headersCapability=Promise.withResolvers()}get headersReady(){return this._headersCapability.promise}get filename(){return this._filename}get contentLength(){return this._contentLength}get isRangeSupported(){return this._isRangeSupported}get isStreamingSupported(){return this._isStreamingSupported}async read(){if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const t=this._readableStream.read();return t===null?(this._readCapability=Promise.withResolvers(),this.read()):(this._loaded+=t.length,this.onProgress?.({loaded:this._loaded,total:this._contentLength}),{value:new Uint8Array(t).buffer,done:!1})}cancel(t){if(!this._readableStream){this._error(t);return}this._readableStream.destroy(t)}_error(t){this._storedError=t,this._readCapability.resolve()}_setReadableStream(t){this._readableStream=t,t.on("readable",()=>{this._readCapability.resolve()}),t.on("end",()=>{t.destroy(),this._done=!0,this._readCapability.resolve()}),t.on("error",r=>{this._error(r)}),!this._isStreamingSupported&&this._isRangeSupported&&this._error(new Am("streaming is disabled")),this._storedError&&this._readableStream.destroy(this._storedError)}}class l4e{constructor(t){this._url=t.url,this._done=!1,this._storedError=null,this.onProgress=null,this._loaded=0,this._readableStream=null,this._readCapability=Promise.withResolvers();const r=t.source;this._isStreamingSupported=!r.disableStream}get isStreamingSupported(){return this._isStreamingSupported}async read(){if(await this._readCapability.promise,this._done)return{value:void 0,done:!0};if(this._storedError)throw this._storedError;const t=this._readableStream.read();return t===null?(this._readCapability=Promise.withResolvers(),this.read()):(this._loaded+=t.length,this.onProgress?.({loaded:this._loaded}),{value:new Uint8Array(t).buffer,done:!1})}cancel(t){if(!this._readableStream){this._error(t);return}this._readableStream.destroy(t)}_error(t){this._storedError=t,this._readCapability.resolve()}_setReadableStream(t){this._readableStream=t,t.on("readable",()=>{this._readCapability.resolve()}),t.on("end",()=>{t.destroy(),this._done=!0,this._readCapability.resolve()}),t.on("error",r=>{this._error(r)}),this._storedError&&this._readableStream.destroy(this._storedError)}}function pb(e,t){return{protocol:e.protocol,auth:e.auth,host:e.hostname,port:e.port,path:e.path,method:"GET",headers:t}}class Mut extends s4e{constructor(t){super(t);const r=n=>{if(n.statusCode===404){const l=new Tm(`Missing PDF "${this._url}".`);this._storedError=l,this._headersCapability.reject(l);return}this._headersCapability.resolve(),this._setReadableStream(n);const i=l=>this._readableStream.headers[l.toLowerCase()],{allowRangeRequests:o,suggestedLength:a}=iN({getResponseHeader:i,isHttp:t.isHttp,rangeChunkSize:this._rangeChunkSize,disableRange:this._disableRange});this._isRangeSupported=o,this._contentLength=a||this._contentLength,this._filename=oN(i)};if(this._request=null,this._url.protocol==="http:"){const n=j1.get("http");this._request=n.request(pb(this._url,t.httpHeaders),r)}else{const n=j1.get("https");this._request=n.request(pb(this._url,t.httpHeaders),r)}this._request.on("error",n=>{this._storedError=n,this._headersCapability.reject(n)}),this._request.end()}}class Iut extends l4e{constructor(t,r,n){super(t),this._httpHeaders={};for(const o in t.httpHeaders){const a=t.httpHeaders[o];a!==void 0&&(this._httpHeaders[o]=a)}this._httpHeaders.Range=`bytes=${r}-${n-1}`;const i=o=>{if(o.statusCode===404){const a=new Tm(`Missing PDF "${this._url}".`);this._storedError=a;return}this._setReadableStream(o)};if(this._request=null,this._url.protocol==="http:"){const o=j1.get("http");this._request=o.request(pb(this._url,this._httpHeaders),i)}else{const o=j1.get("https");this._request=o.request(pb(this._url,this._httpHeaders),i)}this._request.on("error",o=>{this._storedError=o}),this._request.end()}}class jut extends s4e{constructor(t){super(t);let r=decodeURIComponent(this._url.path);a4e.test(this._url.href)&&(r=r.replace(/^\//,""));const n=j1.get("fs");n.promises.lstat(r).then(i=>{this._contentLength=i.size,this._setReadableStream(n.createReadStream(r)),this._headersCapability.resolve()},i=>{i.code==="ENOENT"&&(i=new Tm(`Missing PDF "${r}".`)),this._storedError=i,this._headersCapability.reject(i)})}}class Rut extends l4e{constructor(t,r,n){super(t);let i=decodeURIComponent(this._url.path);a4e.test(this._url.href)&&(i=i.replace(/^\//,""));const o=j1.get("fs");this._setReadableStream(o.createReadStream(i,{start:r,end:n-1}))}}const Fut=1e5,ss=30,Out=.8;let hb=class Qd{#e=Promise.withResolvers();#t=null;#r=!1;#i=!!globalThis.FontInspector?.enabled;#s=null;#n=null;#o=0;#l=0;#d=null;#u=null;#h=0;#c=0;#a=Object.create(null);#m=[];#g=null;#p=[];#v=new WeakMap;#f=null;static#b=new Map;static#x=new Map;static#$=null;static#k=new Set;constructor({textContentSource:t,container:r,viewport:n}){if(t instanceof ReadableStream)this.#g=t;else if(typeof t=="object")this.#g=new ReadableStream({start(d){d.enqueue(t),d.close()}});else throw new Error('No "textContentSource" parameter specified.');this.#t=this.#u=r,this.#c=n.scale*(globalThis.devicePixelRatio||1),this.#h=n.rotation,this.#n={prevFontSize:null,prevFontFamily:null,div:null,properties:null,ctx:null};const{pageWidth:i,pageHeight:o,pageX:a,pageY:l}=n.rawDims;this.#f=[1,0,0,-1,-a,l+o],this.#l=i,this.#o=o,Qd.#y(),cm(r,n),this.#e.promise.catch(()=>{}).then(()=>{Qd.#k.delete(this),this.#n=null,this.#a=null})}render(){const t=()=>{this.#d.read().then(({value:r,done:n})=>{if(n){this.#e.resolve();return}this.#s??=r.lang,Object.assign(this.#a,r.styles),this.#E(r.items),t()},this.#e.reject)};return this.#d=this.#g.getReader(),Qd.#k.add(this),t(),this.#e.promise}update({viewport:t,onBefore:r=null}){const n=t.scale*(globalThis.devicePixelRatio||1),i=t.rotation;if(i!==this.#h&&(r?.(),this.#h=i,cm(this.#u,{rotation:i})),n!==this.#c){r?.(),this.#c=n;const o={prevFontSize:null,prevFontFamily:null,div:null,properties:null,ctx:Qd.#w(this.#s)};for(const a of this.#p)o.properties=this.#v.get(a),o.div=a,this.#S(o)}}cancel(){const t=new Am("TextLayer task cancelled.");this.#d?.cancel(t).catch(()=>{}),this.#d=null,this.#e.reject(t)}get textDivs(){return this.#p}get textContentItemsStr(){return this.#m}#E(t){if(this.#r)return;this.#n.ctx??=Qd.#w(this.#s);const r=this.#p,n=this.#m;for(const i of t){if(r.length>Fut){Jr("Ignoring additional textDivs for performance reasons."),this.#r=!0;return}if(i.str===void 0){if(i.type==="beginMarkedContentProps"||i.type==="beginMarkedContent"){const o=this.#t;this.#t=document.createElement("span"),this.#t.classList.add("markedContent"),i.id!==null&&this.#t.setAttribute("id",`${i.id}`),o.append(this.#t)}else i.type==="endMarkedContent"&&(this.#t=this.#t.parentNode);continue}n.push(i.str),this.#L(i)}}#L(t){const r=document.createElement("span"),n={angle:0,canvasWidth:0,hasText:t.str!=="",hasEOL:t.hasEOL,fontSize:0};this.#p.push(r);const i=lr.transform(this.#f,t.transform);let o=Math.atan2(i[1],i[0]);const a=this.#a[t.fontName];a.vertical&&(o+=Math.PI/2);const l=this.#i&&a.fontSubstitution||a.fontFamily,d=Math.hypot(i[2],i[3]),u=d*Qd.#C(l,this.#s);let p,h;o===0?(p=i[4],h=i[5]-u):(p=i[4]+u*Math.sin(o),h=i[5]-u*Math.cos(o));const f="calc(var(--scale-factor)*",g=r.style;this.#t===this.#u?(g.left=`${(100*p/this.#l).toFixed(2)}%`,g.top=`${(100*h/this.#o).toFixed(2)}%`):(g.left=`${f}${p.toFixed(2)}px)`,g.top=`${f}${h.toFixed(2)}px)`),g.fontSize=`${f}${(Qd.#$*d).toFixed(2)}px)`,g.fontFamily=l,n.fontSize=d,r.setAttribute("role","presentation"),r.textContent=t.str,r.dir=t.dir,this.#i&&(r.dataset.fontName=a.fontSubstitutionLoadedName||t.fontName),o!==0&&(n.angle=o*(180/Math.PI));let y=!1;if(t.str.length>1)y=!0;else if(t.str!==" "&&t.transform[0]!==t.transform[3]){const v=Math.abs(t.transform[0]),w=Math.abs(t.transform[3]);v!==w&&Math.max(v,w)/Math.min(v,w)>1.5&&(y=!0)}if(y&&(n.canvasWidth=a.vertical?t.height:t.width),this.#v.set(r,n),this.#n.div=r,this.#n.properties=n,this.#S(this.#n),n.hasText&&this.#t.append(r),n.hasEOL){const v=document.createElement("br");v.setAttribute("role","presentation"),this.#t.append(v)}}#S(t){const{div:r,properties:n,ctx:i,prevFontSize:o,prevFontFamily:a}=t,{style:l}=r;let d="";if(Qd.#$>1&&(d=`scale(${1/Qd.#$})`),n.canvasWidth!==0&&n.hasText){const{fontFamily:u}=l,{canvasWidth:p,fontSize:h}=n;(o!==h||a!==u)&&(i.font=`${h*this.#c}px ${u}`,t.prevFontSize=h,t.prevFontFamily=u);const{width:f}=i.measureText(r.textContent);f>0&&(d=`scaleX(${p*this.#c/f}) ${d}`)}n.angle!==0&&(d=`rotate(${n.angle}deg) ${d}`),d.length>0&&(l.transform=d)}static cleanup(){if(!(this.#k.size>0)){this.#b.clear();for(const{canvas:t}of this.#x.values())t.remove();this.#x.clear()}}static#w(t=null){let r=this.#x.get(t||="");if(!r){const n=document.createElement("canvas");n.className="hiddenCanvasElement",n.lang=t,document.body.append(n),r=n.getContext("2d",{alpha:!1,willReadFrequently:!0}),this.#x.set(t,r)}return r}static#y(){if(this.#$!==null)return;const t=document.createElement("div");t.style.opacity=0,t.style.lineHeight=1,t.style.fontSize="1px",t.textContent="X",document.body.append(t),this.#$=t.getBoundingClientRect().height,t.remove()}static#C(t,r){const n=this.#b.get(t);if(n)return n;const i=this.#w(r),o=i.font;i.canvas.width=i.canvas.height=ss,i.font=`${ss}px ${t}`;const a=i.measureText("");let l=a.fontBoundingBoxAscent,d=Math.abs(a.fontBoundingBoxDescent);if(l){const h=l/(l+d);return this.#b.set(t,h),i.canvas.width=i.canvas.height=0,i.font=o,h}i.strokeStyle="red",i.clearRect(0,0,ss,ss),i.strokeText("g",0,0);let u=i.getImageData(0,0,ss,ss).data;d=0;for(let h=u.length-1-3;h>=0;h-=4)if(u[h]>0){d=Math.ceil(h/4/ss);break}i.clearRect(0,0,ss,ss),i.strokeText("A",0,ss),u=i.getImageData(0,0,ss,ss).data,l=0;for(let h=0,f=u.length;h<f;h+=4)if(u[h]>0){l=ss-Math.floor(h/4/ss);break}i.canvas.width=i.canvas.height=0,i.font=o;const p=l?l/(l+d):Out;return this.#b.set(t,p),p}};function Nut(){Qge("`renderTextLayer`, please use `TextLayer` instead.");const{textContentSource:e,container:t,viewport:r,...n}=arguments[0],i=Object.keys(n);i.length>0&&Jr("Ignoring `renderTextLayer` parameters: "+i.join(", "));const o=new hb({textContentSource:e,container:t,viewport:r}),{textDivs:a,textContentItemsStr:l}=o;return{promise:o.render(),textDivs:a,textContentItemsStr:l}}function zut(){Qge("`updateTextLayer`, please use `TextLayer` instead.")}class D7{static textContent(t){const r=[],n={items:r,styles:Object.create(null)};function i(o){if(!o)return;let a=null;const l=o.name;if(l==="#text")a=o.value;else if(D7.shouldBuildText(l))o?.attributes?.textContent?a=o.attributes.textContent:o.value&&(a=o.value);else return;if(a!==null&&r.push({str:a}),!!o.children)for(const d of o.children)i(d)}return i(t),n}static shouldBuildText(t){return!(t==="textarea"||t==="input"||t==="option"||t==="select")}}const But=65536,Hut=100,Vut=5e3,Uut=Ea?tut:H1t,Wut=Ea?rut:Zge,Gut=Ea?eut:B1t,Yut=Ea?nut:Kge;function qut(e={}){typeof e=="string"||e instanceof URL?e={url:e}:(e instanceof ArrayBuffer||ArrayBuffer.isView(e))&&(e={data:e});const t=new aN,{docId:r}=t,n=e.url?Zut(e.url):null,i=e.data?Kut(e.data):null,o=e.httpHeaders||null,a=e.withCredentials===!0,l=e.password??null,d=e.range instanceof c4e?e.range:null,u=Number.isInteger(e.rangeChunkSize)&&e.rangeChunkSize>0?e.rangeChunkSize:But;let p=e.worker instanceof kl?e.worker:null;const h=e.verbosity,f=typeof e.docBaseUrl=="string"&&!KO(e.docBaseUrl)?e.docBaseUrl:null,g=typeof e.cMapUrl=="string"?e.cMapUrl:null,y=e.cMapPacked!==!1,v=e.CMapReaderFactory||Wut,w=typeof e.standardFontDataUrl=="string"?e.standardFontDataUrl:null,x=e.StandardFontDataFactory||Yut,C=e.stopAtErrors!==!0,S=Number.isInteger(e.maxImageSize)&&e.maxImageSize>-1?e.maxImageSize:-1,k=e.isEvalSupported!==!1,T=typeof e.isOffscreenCanvasSupported=="boolean"?e.isOffscreenCanvasSupported:!Ea,E=Number.isInteger(e.canvasMaxAreaInBytes)?e.canvasMaxAreaInBytes:-1,D=typeof e.disableFontFace=="boolean"?e.disableFontFace:Ea,P=e.fontExtraProperties===!0,A=e.enableXfa===!0,I=e.ownerDocument||globalThis.document,H=e.disableRange===!0,R=e.disableStream===!0,Z=e.disableAutoFetch===!0,Y=e.pdfBug===!0,B=e.enableHWA===!0,V=d?d.length:e.length??NaN,j=typeof e.useSystemFonts=="boolean"?e.useSystemFonts:!Ea&&!D,L=typeof e.useWorkerFetch=="boolean"?e.useWorkerFetch:v===Zge&&x===Kge&&g&&w&&I5(g,document.baseURI)&&I5(w,document.baseURI),N=e.canvasFactory||new Uut({ownerDocument:I,enableHWA:B}),z=e.filterFactory||new Gut({docId:r,ownerDocument:I}),J=null;L1t(h);const q={canvasFactory:N,filterFactory:z};if(L||(q.cMapReaderFactory=new v({baseUrl:g,isCompressed:y}),q.standardFontDataFactory=new x({baseUrl:w})),!p){const X={verbosity:h,port:L7.workerPort};p=X.port?kl.fromPort(X):new kl(X),t._worker=p}const U={docId:r,apiVersion:"4.4.168",data:i,password:l,disableAutoFetch:Z,rangeChunkSize:u,length:V,docBaseUrl:f,enableXfa:A,evaluatorOptions:{maxImageSize:S,disableFontFace:D,ignoreErrors:C,isEvalSupported:k,isOffscreenCanvasSupported:T,canvasMaxAreaInBytes:E,fontExtraProperties:P,useSystemFonts:j,cMapUrl:L?g:null,standardFontDataUrl:L?w:null}},Q={disableFontFace:D,fontExtraProperties:P,ownerDocument:I,pdfBug:Y,styleElement:J,loadingParams:{disableAutoFetch:Z,enableXfa:A}};return p.promise.then(function(){if(t.destroyed)throw new Error("Loading aborted");if(p.destroyed)throw new Error("Worker was destroyed");const X=p.messageHandler.sendWithPromise("GetDocRequest",U,i?[i.buffer]:null);let oe;if(d)oe=new wut(d,{disableRange:H,disableStream:R});else if(!i){if(!n)throw new Error("getDocument - no `url` parameter provided.");oe=(ue=>Ea?function(){return typeof fetch<"u"&&typeof Response<"u"&&"body"in Response.prototype}()&&I5(ue.url)?new aJ(ue):new Put(ue):I5(ue.url)?new aJ(ue):new Tut(ue))({url:n,length:V,httpHeaders:o,withCredentials:a,rangeChunkSize:u,disableRange:H,disableStream:R})}return X.then(xe=>{if(t.destroyed)throw new Error("Loading aborted");if(p.destroyed)throw new Error("Worker was destroyed");const ue=new j5(r,xe,p.port),le=new e2t(ue,t,oe,Q,q);t._transport=le,ue.send("Ready",null)})}).catch(t._capability.reject),t}function Zut(e){if(e instanceof URL)return e.href;try{return new URL(e,window.location).href}catch{if(Ea&&typeof e=="string")return e}throw new Error("Invalid PDF url data: either string or URL-object is expected in the url property.")}function Kut(e){if(Ea&&typeof lv<"u"&&e instanceof lv)throw new Error("Please provide binary data as `Uint8Array`, rather than `Buffer`.");if(e instanceof Uint8Array&&e.byteLength===e.buffer.byteLength)return e;if(typeof e=="string")return Lx(e);if(e instanceof ArrayBuffer||ArrayBuffer.isView(e)||typeof e=="object"&&!isNaN(e?.length))return new Uint8Array(e);throw new Error("Invalid PDF binary data: either TypedArray, string, or array-like object is expected in the data property.")}function sJ(e){return typeof e=="object"&&Number.isInteger(e?.num)&&e.num>=0&&Number.isInteger(e?.gen)&&e.gen>=0}class aN{static#e=0;constructor(){this._capability=Promise.withResolvers(),this._transport=null,this._worker=null,this.docId=`d${aN.#e++}`,this.destroyed=!1,this.onPassword=null,this.onProgress=null}get promise(){return this._capability.promise}async destroy(){this.destroyed=!0;try{this._worker?.port&&(this._worker._pendingDestroy=!0),await this._transport?.destroy()}catch(t){throw this._worker?.port&&delete this._worker._pendingDestroy,t}this._transport=null,this._worker&&(this._worker.destroy(),this._worker=null)}}let c4e=class{constructor(t,r,n=!1,i=null){this.length=t,this.initialData=r,this.progressiveDone=n,this.contentDispositionFilename=i,this._rangeListeners=[],this._progressListeners=[],this._progressiveReadListeners=[],this._progressiveDoneListeners=[],this._readyCapability=Promise.withResolvers()}addRangeListener(t){this._rangeListeners.push(t)}addProgressListener(t){this._progressListeners.push(t)}addProgressiveReadListener(t){this._progressiveReadListeners.push(t)}addProgressiveDoneListener(t){this._progressiveDoneListeners.push(t)}onDataRange(t,r){for(const n of this._rangeListeners)n(t,r)}onDataProgress(t,r){this._readyCapability.promise.then(()=>{for(const n of this._progressListeners)n(t,r)})}onDataProgressiveRead(t){this._readyCapability.promise.then(()=>{for(const r of this._progressiveReadListeners)r(t)})}onDataProgressiveDone(){this._readyCapability.promise.then(()=>{for(const t of this._progressiveDoneListeners)t()})}transportReady(){this._readyCapability.resolve()}requestDataRange(t,r){Qn("Abstract method PDFDataRangeTransport.requestDataRange")}abort(){}};class Qut{constructor(t,r){this._pdfInfo=t,this._transport=r}get annotationStorage(){return this._transport.annotationStorage}get filterFactory(){return this._transport.filterFactory}get numPages(){return this._pdfInfo.numPages}get fingerprints(){return this._pdfInfo.fingerprints}get isPureXfa(){return bn(this,"isPureXfa",!!this._transport._htmlForXfa)}get allXfaHtml(){return this._transport._htmlForXfa}getPage(t){return this._transport.getPage(t)}getPageIndex(t){return this._transport.getPageIndex(t)}getDestinations(){return this._transport.getDestinations()}getDestination(t){return this._transport.getDestination(t)}getPageLabels(){return this._transport.getPageLabels()}getPageLayout(){return this._transport.getPageLayout()}getPageMode(){return this._transport.getPageMode()}getViewerPreferences(){return this._transport.getViewerPreferences()}getOpenAction(){return this._transport.getOpenAction()}getAttachments(){return this._transport.getAttachments()}getJSActions(){return this._transport.getDocJSActions()}getOutline(){return this._transport.getOutline()}getOptionalContentConfig({intent:t="display"}={}){const{renderingIntent:r}=this._transport.getRenderingIntent(t);return this._transport.getOptionalContentConfig(r)}getPermissions(){return this._transport.getPermissions()}getMetadata(){return this._transport.getMetadata()}getMarkInfo(){return this._transport.getMarkInfo()}getData(){return this._transport.getData()}saveDocument(){return this._transport.saveDocument()}getDownloadInfo(){return this._transport.downloadInfoCapability.promise}cleanup(t=!1){return this._transport.startCleanup(t||this.isPureXfa)}destroy(){return this.loadingTask.destroy()}cachedPageNumber(t){return this._transport.cachedPageNumber(t)}get loadingParams(){return this._transport.loadingParams}get loadingTask(){return this._transport.loadingTask}getFieldObjects(){return this._transport.getFieldObjects()}hasJSActions(){return this._transport.hasJSActions()}getCalculationOrderIds(){return this._transport.getCalculationOrderIds()}}class Xut{#e=null;#t=!1;constructor(t,r,n,i=!1){this._pageIndex=t,this._pageInfo=r,this._transport=n,this._stats=i?new YX:null,this._pdfBug=i,this.commonObjs=n.commonObjs,this.objs=new d4e,this._maybeCleanupAfterRender=!1,this._intentStates=new Map,this.destroyed=!1}get pageNumber(){return this._pageIndex+1}get rotate(){return this._pageInfo.rotate}get ref(){return this._pageInfo.ref}get userUnit(){return this._pageInfo.userUnit}get view(){return this._pageInfo.view}getViewport({scale:t,rotation:r=this.rotate,offsetX:n=0,offsetY:i=0,dontFlip:o=!1}={}){return new y9({viewBox:this.view,scale:t,rotation:r,offsetX:n,offsetY:i,dontFlip:o})}getAnnotations({intent:t="display"}={}){const{renderingIntent:r}=this._transport.getRenderingIntent(t);return this._transport.getAnnotations(this._pageIndex,r)}getJSActions(){return this._transport.getPageJSActions(this._pageIndex)}get filterFactory(){return this._transport.filterFactory}get isPureXfa(){return bn(this,"isPureXfa",!!this._transport._htmlForXfa)}async getXfa(){return this._transport._htmlForXfa?.children[this._pageIndex]||null}render({canvasContext:t,viewport:r,intent:n="display",annotationMode:i=K2.ENABLE,transform:o=null,background:a=null,optionalContentConfigPromise:l=null,annotationCanvasMap:d=null,pageColors:u=null,printAnnotationStorage:p=null}){this._stats?.time("Overall");const h=this._transport.getRenderingIntent(n,i,p),{renderingIntent:f,cacheKey:g}=h;this.#t=!1,this.#i(),l||=this._transport.getOptionalContentConfig(f);let y=this._intentStates.get(g);y||(y=Object.create(null),this._intentStates.set(g,y)),y.streamReaderCancelTimeout&&(clearTimeout(y.streamReaderCancelTimeout),y.streamReaderCancelTimeout=null);const v=!!(f&$l.PRINT);y.displayReadyCapability||(y.displayReadyCapability=Promise.withResolvers(),y.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats?.time("Page Request"),this._pumpOperatorList(h));const w=S=>{y.renderTasks.delete(x),(this._maybeCleanupAfterRender||v)&&(this.#t=!0),this.#r(!v),S?(x.capability.reject(S),this._abortOperatorList({intentState:y,reason:S instanceof Error?S:new Error(S)})):x.capability.resolve(),this._stats&&(this._stats.timeEnd("Rendering"),this._stats.timeEnd("Overall"),globalThis.Stats?.enabled&&globalThis.Stats.add(this.pageNumber,this._stats))},x=new hf({callback:w,params:{canvasContext:t,viewport:r,transform:o,background:a},objs:this.objs,commonObjs:this.commonObjs,annotationCanvasMap:d,operatorList:y.operatorList,pageIndex:this._pageIndex,canvasFactory:this._transport.canvasFactory,filterFactory:this._transport.filterFactory,useRequestAnimationFrame:!v,pdfBug:this._pdfBug,pageColors:u});(y.renderTasks||=new Set).add(x);const C=x.task;return Promise.all([y.displayReadyCapability.promise,l]).then(([S,k])=>{if(this.destroyed){w();return}if(this._stats?.time("Rendering"),!(k.renderingIntent&f))throw new Error("Must use the same `intent`-argument when calling the `PDFPageProxy.render` and `PDFDocumentProxy.getOptionalContentConfig` methods.");x.initializeGraphics({transparency:S,optionalContentConfig:k}),x.operatorListChanged()}).catch(w),C}getOperatorList({intent:t="display",annotationMode:r=K2.ENABLE,printAnnotationStorage:n=null}={}){function i(){a.operatorList.lastChunk&&(a.opListReadCapability.resolve(a.operatorList),a.renderTasks.delete(l))}const o=this._transport.getRenderingIntent(t,r,n,!0);let a=this._intentStates.get(o.cacheKey);a||(a=Object.create(null),this._intentStates.set(o.cacheKey,a));let l;return a.opListReadCapability||(l=Object.create(null),l.operatorListChanged=i,a.opListReadCapability=Promise.withResolvers(),(a.renderTasks||=new Set).add(l),a.operatorList={fnArray:[],argsArray:[],lastChunk:!1,separateAnnots:null},this._stats?.time("Page Request"),this._pumpOperatorList(o)),a.opListReadCapability.promise}streamTextContent({includeMarkedContent:t=!1,disableNormalization:r=!1}={}){return this._transport.messageHandler.sendWithStream("GetTextContent",{pageIndex:this._pageIndex,includeMarkedContent:t===!0,disableNormalization:r===!0},{highWaterMark:100,size(i){return i.items.length}})}getTextContent(t={}){if(this._transport._htmlForXfa)return this.getXfa().then(n=>D7.textContent(n));const r=this.streamTextContent(t);return new Promise(function(n,i){function o(){a.read().then(function({value:d,done:u}){if(u){n(l);return}l.lang??=d.lang,Object.assign(l.styles,d.styles),l.items.push(...d.items),o()},i)}const a=r.getReader(),l={items:[],styles:Object.create(null),lang:null};o()})}getStructTree(){return this._transport.getStructTree(this._pageIndex)}_destroy(){this.destroyed=!0;const t=[];for(const r of this._intentStates.values())if(this._abortOperatorList({intentState:r,reason:new Error("Page was destroyed."),force:!0}),!r.opListReadCapability)for(const n of r.renderTasks)t.push(n.completed),n.cancel();return this.objs.clear(),this.#t=!1,this.#i(),Promise.all(t)}cleanup(t=!1){this.#t=!0;const r=this.#r(!1);return t&&r&&(this._stats&&=new YX),r}#r(t=!1){if(this.#i(),!this.#t||this.destroyed)return!1;if(t)return this.#e=setTimeout(()=>{this.#e=null,this.#r(!1)},Vut),!1;for(const{renderTasks:r,operatorList:n}of this._intentStates.values())if(r.size>0||!n.lastChunk)return!1;return this._intentStates.clear(),this.objs.clear(),this.#t=!1,!0}#i(){this.#e&&(clearTimeout(this.#e),this.#e=null)}_startRenderPage(t,r){const n=this._intentStates.get(r);n&&(this._stats?.timeEnd("Page Request"),n.displayReadyCapability?.resolve(t))}_renderPageChunk(t,r){for(let n=0,i=t.length;n<i;n++)r.operatorList.fnArray.push(t.fnArray[n]),r.operatorList.argsArray.push(t.argsArray[n]);r.operatorList.lastChunk=t.lastChunk,r.operatorList.separateAnnots=t.separateAnnots;for(const n of r.renderTasks)n.operatorListChanged();t.lastChunk&&this.#r(!0)}_pumpOperatorList({renderingIntent:t,cacheKey:r,annotationStorageSerializable:n}){const{map:i,transfer:o}=n,l=this._transport.messageHandler.sendWithStream("GetOperatorList",{pageIndex:this._pageIndex,intent:t,cacheKey:r,annotationStorage:i},o).getReader(),d=this._intentStates.get(r);d.streamReader=l;const u=()=>{l.read().then(({value:p,done:h})=>{if(h){d.streamReader=null;return}this._transport.destroyed||(this._renderPageChunk(p,d),u())},p=>{if(d.streamReader=null,!this._transport.destroyed){if(d.operatorList){d.operatorList.lastChunk=!0;for(const h of d.renderTasks)h.operatorListChanged();this.#r(!0)}if(d.displayReadyCapability)d.displayReadyCapability.reject(p);else if(d.opListReadCapability)d.opListReadCapability.reject(p);else throw p}})};u()}_abortOperatorList({intentState:t,reason:r,force:n=!1}){if(t.streamReader){if(t.streamReaderCancelTimeout&&(clearTimeout(t.streamReaderCancelTimeout),t.streamReaderCancelTimeout=null),!n){if(t.renderTasks.size>0)return;if(r instanceof ZO){let i=Hut;r.extraDelay>0&&r.extraDelay<1e3&&(i+=r.extraDelay),t.streamReaderCancelTimeout=setTimeout(()=>{t.streamReaderCancelTimeout=null,this._abortOperatorList({intentState:t,reason:r,force:!0})},i);return}}if(t.streamReader.cancel(new Am(r.message)).catch(()=>{}),t.streamReader=null,!this._transport.destroyed){for(const[i,o]of this._intentStates)if(o===t){this._intentStates.delete(i);break}this.cleanup()}}}get stats(){return this._stats}}class Jut{#e=new Set;#t=Promise.resolve();postMessage(t,r){const n={data:structuredClone(t,r?{transfer:r}:null)};this.#t.then(()=>{for(const i of this.#e)i.call(this,n)})}addEventListener(t,r){this.#e.add(r)}removeEventListener(t,r){this.#e.delete(r)}terminate(){this.#e.clear()}}const Mu={isWorkerDisabled:!1,fakeWorkerId:0};Ea&&(Mu.isWorkerDisabled=!0,L7.workerSrc||="./pdf.worker.mjs"),Mu.isSameOrigin=function(e,t){let r;try{if(r=new URL(e),!r.origin||r.origin==="null")return!1}catch{return!1}const n=new URL(t,r);return r.origin===n.origin},Mu.createCDNWrapper=function(e){const t=`await import("${e}");`;return URL.createObjectURL(new Blob([t],{type:"text/javascript"}))};class kl{static#e;constructor({name:t=null,port:r=null,verbosity:n=D1t()}={}){if(this.name=t,this.destroyed=!1,this.verbosity=n,this._readyCapability=Promise.withResolvers(),this._port=null,this._webWorker=null,this._messageHandler=null,r){if(kl.#e?.has(r))throw new Error("Cannot use more than one PDFWorker per port.");(kl.#e||=new WeakMap).set(r,this),this._initializeFromPort(r);return}this._initialize()}get promise(){return Ea?Promise.all([j1.promise,this._readyCapability.promise]):this._readyCapability.promise}#t(){this._readyCapability.resolve(),this._messageHandler.send("configure",{verbosity:this.verbosity})}get port(){return this._port}get messageHandler(){return this._messageHandler}_initializeFromPort(t){this._port=t,this._messageHandler=new j5("main","worker",t),this._messageHandler.on("ready",function(){}),this.#t()}_initialize(){if(Mu.isWorkerDisabled||kl.#r){this._setupFakeWorker();return}let{workerSrc:t}=kl;try{Mu.isSameOrigin(window.location.href,t)||(t=Mu.createCDNWrapper(new URL(t,window.location).href));const r=new Worker(t,{type:"module"}),n=new j5("main","worker",r),i=()=>{o.abort(),n.destroy(),r.terminate(),this.destroyed?this._readyCapability.reject(new Error("Worker was destroyed")):this._setupFakeWorker()},o=new AbortController;r.addEventListener("error",()=>{this._webWorker||i()},{signal:o.signal}),n.on("test",l=>{if(o.abort(),this.destroyed||!l){i();return}this._messageHandler=n,this._port=r,this._webWorker=r,this.#t()}),n.on("ready",l=>{if(o.abort(),this.destroyed){i();return}try{a()}catch{this._setupFakeWorker()}});const a=()=>{const l=new Uint8Array;n.send("test",l,[l.buffer])};a();return}catch{Tx("The worker has been disabled.")}this._setupFakeWorker()}_setupFakeWorker(){Mu.isWorkerDisabled||(Jr("Setting up fake worker."),Mu.isWorkerDisabled=!0),kl._setupFakeWorkerGlobal.then(t=>{if(this.destroyed){this._readyCapability.reject(new Error("Worker was destroyed"));return}const r=new Jut;this._port=r;const n=`fake${Mu.fakeWorkerId++}`,i=new j5(n+"_worker",n,r);t.setup(i,r),this._messageHandler=new j5(n,n+"_worker",r),this.#t()}).catch(t=>{this._readyCapability.reject(new Error(`Setting up fake worker failed: "${t.message}".`))})}destroy(){this.destroyed=!0,this._webWorker&&(this._webWorker.terminate(),this._webWorker=null),kl.#e?.delete(this._port),this._port=null,this._messageHandler&&(this._messageHandler.destroy(),this._messageHandler=null)}static fromPort(t){if(!t?.port)throw new Error("PDFWorker.fromPort - invalid method signature.");const r=this.#e?.get(t.port);if(r){if(r._pendingDestroy)throw new Error("PDFWorker.fromPort - the worker is being destroyed.\nPlease remember to await `PDFDocumentLoadingTask.destroy()`-calls.");return r}return new kl(t)}static get workerSrc(){if(L7.workerSrc)return L7.workerSrc;throw new Error('No "GlobalWorkerOptions.workerSrc" specified.')}static get#r(){try{return globalThis.pdfjsWorker?.WorkerMessageHandler||null}catch{return null}}static get _setupFakeWorkerGlobal(){return bn(this,"_setupFakeWorkerGlobal",(async()=>this.#r?this.#r:(await import(this.workerSrc)).WorkerMessageHandler)())}}class e2t{#e=new Map;#t=new Map;#r=new Map;#i=new Map;#s=null;constructor(t,r,n,i,o){this.messageHandler=t,this.loadingTask=r,this.commonObjs=new d4e,this.fontLoader=new X1t({ownerDocument:i.ownerDocument,styleElement:i.styleElement}),this.loadingParams=i.loadingParams,this._params=i,this.canvasFactory=o.canvasFactory,this.filterFactory=o.filterFactory,this.cMapReaderFactory=o.cMapReaderFactory,this.standardFontDataFactory=o.standardFontDataFactory,this.destroyed=!1,this.destroyCapability=null,this._networkStream=n,this._fullReader=null,this._lastProgress=null,this.downloadInfoCapability=Promise.withResolvers(),this.setupMessageHandler()}#n(t,r=null){const n=this.#e.get(t);if(n)return n;const i=this.messageHandler.sendWithPromise(t,r);return this.#e.set(t,i),i}get annotationStorage(){return bn(this,"annotationStorage",new rN)}getRenderingIntent(t,r=K2.ENABLE,n=null,i=!1){let o=$l.DISPLAY,a=pj;switch(t){case"any":o=$l.ANY;break;case"display":break;case"print":o=$l.PRINT;break;default:Jr(`getRenderingIntent - invalid intent: ${t}`)}switch(r){case K2.DISABLE:o+=$l.ANNOTATIONS_DISABLE;break;case K2.ENABLE:break;case K2.ENABLE_FORMS:o+=$l.ANNOTATIONS_FORMS;break;case K2.ENABLE_STORAGE:o+=$l.ANNOTATIONS_STORAGE,a=(o&$l.PRINT&&n instanceof e4e?n:this.annotationStorage).serializable;break;default:Jr(`getRenderingIntent - invalid annotationMode: ${r}`)}return i&&(o+=$l.OPLIST),{renderingIntent:o,cacheKey:`${o}_${a.hash}`,annotationStorageSerializable:a}}destroy(){if(this.destroyCapability)return this.destroyCapability.promise;this.destroyed=!0,this.destroyCapability=Promise.withResolvers(),this.#s?.reject(new Error("Worker was destroyed during onPassword callback"));const t=[];for(const n of this.#t.values())t.push(n._destroy());this.#t.clear(),this.#r.clear(),this.#i.clear(),this.hasOwnProperty("annotationStorage")&&this.annotationStorage.resetModified();const r=this.messageHandler.sendWithPromise("Terminate",null);return t.push(r),Promise.all(t).then(()=>{this.commonObjs.clear(),this.fontLoader.clear(),this.#e.clear(),this.filterFactory.destroy(),hb.cleanup(),this._networkStream?.cancelAllRequests(new Am("Worker was terminated.")),this.messageHandler&&(this.messageHandler.destroy(),this.messageHandler=null),this.destroyCapability.resolve()},this.destroyCapability.reject),this.destroyCapability.promise}setupMessageHandler(){const{messageHandler:t,loadingTask:r}=this;t.on("GetReader",(n,i)=>{Lo(this._networkStream,"GetReader - no `IPDFStream` instance available."),this._fullReader=this._networkStream.getFullReader(),this._fullReader.onProgress=o=>{this._lastProgress={loaded:o.loaded,total:o.total}},i.onPull=()=>{this._fullReader.read().then(function({value:o,done:a}){if(a){i.close();return}Lo(o instanceof ArrayBuffer,"GetReader - expected an ArrayBuffer."),i.enqueue(new Uint8Array(o),1,[o])}).catch(o=>{i.error(o)})},i.onCancel=o=>{this._fullReader.cancel(o),i.ready.catch(a=>{if(!this.destroyed)throw a})}}),t.on("ReaderHeadersReady",n=>{const i=Promise.withResolvers(),o=this._fullReader;return o.headersReady.then(()=>{(!o.isStreamingSupported||!o.isRangeSupported)&&(this._lastProgress&&r.onProgress?.(this._lastProgress),o.onProgress=a=>{r.onProgress?.({loaded:a.loaded,total:a.total})}),i.resolve({isStreamingSupported:o.isStreamingSupported,isRangeSupported:o.isRangeSupported,contentLength:o.contentLength})},i.reject),i.promise}),t.on("GetRangeReader",(n,i)=>{Lo(this._networkStream,"GetRangeReader - no `IPDFStream` instance available.");const o=this._networkStream.getRangeReader(n.begin,n.end);if(!o){i.close();return}i.onPull=()=>{o.read().then(function({value:a,done:l}){if(l){i.close();return}Lo(a instanceof ArrayBuffer,"GetRangeReader - expected an ArrayBuffer."),i.enqueue(new Uint8Array(a),1,[a])}).catch(a=>{i.error(a)})},i.onCancel=a=>{o.cancel(a),i.ready.catch(l=>{if(!this.destroyed)throw l})}}),t.on("GetDoc",({pdfInfo:n})=>{this._numPages=n.numPages,this._htmlForXfa=n.htmlForXfa,delete n.htmlForXfa,r._capability.resolve(new Qut(n,this))}),t.on("DocException",function(n){let i;switch(n.name){case"PasswordException":i=new dj(n.message,n.code);break;case"InvalidPDFException":i=new Gge(n.message);break;case"MissingPDFException":i=new Tm(n.message);break;case"UnexpectedResponseException":i=new Ax(n.message,n.status);break;case"UnknownErrorException":i=new uj(n.message,n.details);break;default:Qn("DocException - expected a valid Error.")}r._capability.reject(i)}),t.on("PasswordRequest",n=>{if(this.#s=Promise.withResolvers(),r.onPassword){const i=o=>{o instanceof Error?this.#s.reject(o):this.#s.resolve({password:o})};try{r.onPassword(i,n.code)}catch(o){this.#s.reject(o)}}else this.#s.reject(new dj(n.message,n.code));return this.#s.promise}),t.on("DataLoaded",n=>{r.onProgress?.({loaded:n.length,total:n.length}),this.downloadInfoCapability.resolve(n)}),t.on("StartRenderPage",n=>{if(this.destroyed)return;this.#t.get(n.pageIndex)._startRenderPage(n.transparency,n.cacheKey)}),t.on("commonobj",([n,i,o])=>{if(this.destroyed||this.commonObjs.has(n))return null;switch(i){case"Font":const{disableFontFace:a,fontExtraProperties:l,pdfBug:d}=this._params;if("error"in o){const f=o.error;Jr(`Error during font loading: ${f}`),this.commonObjs.resolve(n,f);break}const u=d&&globalThis.FontInspector?.enabled?(f,g)=>globalThis.FontInspector.fontAdded(f,g):null,p=new J1t(o,{disableFontFace:a,inspectFont:u});this.fontLoader.bind(p).catch(()=>t.sendWithPromise("FontFallback",{id:n})).finally(()=>{!l&&p.data&&(p.data=null),this.commonObjs.resolve(n,p)});break;case"CopyLocalImage":const{imageRef:h}=o;Lo(h,"The imageRef must be defined.");for(const f of this.#t.values())for(const[,g]of f.objs)if(g?.ref===h)return g.dataLen?(this.commonObjs.resolve(n,structuredClone(g)),g.dataLen):null;break;case"FontPath":case"Image":case"Pattern":this.commonObjs.resolve(n,o);break;default:throw new Error(`Got unknown common object type ${i}`)}return null}),t.on("obj",([n,i,o,a])=>{if(this.destroyed)return;const l=this.#t.get(i);if(!l.objs.has(n)){if(l._intentStates.size===0){a?.bitmap?.close();return}switch(o){case"Image":l.objs.resolve(n,a),a?.dataLen>E1t&&(l._maybeCleanupAfterRender=!0);break;case"Pattern":l.objs.resolve(n,a);break;default:throw new Error(`Got unknown object type ${o}`)}}}),t.on("DocProgress",n=>{this.destroyed||r.onProgress?.({loaded:n.loaded,total:n.total})}),t.on("FetchBuiltInCMap",n=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.cMapReaderFactory?this.cMapReaderFactory.fetch(n):Promise.reject(new Error("CMapReaderFactory not initialized, see the `useWorkerFetch` parameter."))),t.on("FetchStandardFontData",n=>this.destroyed?Promise.reject(new Error("Worker was destroyed.")):this.standardFontDataFactory?this.standardFontDataFactory.fetch(n):Promise.reject(new Error("StandardFontDataFactory not initialized, see the `useWorkerFetch` parameter.")))}getData(){return this.messageHandler.sendWithPromise("GetData",null)}saveDocument(){this.annotationStorage.size<=0&&Jr("saveDocument called while `annotationStorage` is empty, please use the getData-method instead.");const{map:t,transfer:r}=this.annotationStorage.serializable;return this.messageHandler.sendWithPromise("SaveDocument",{isPureXfa:!!this._htmlForXfa,numPages:this._numPages,annotationStorage:t,filename:this._fullReader?.filename??null},r).finally(()=>{this.annotationStorage.resetModified()})}getPage(t){if(!Number.isInteger(t)||t<=0||t>this._numPages)return Promise.reject(new Error("Invalid page request."));const r=t-1,n=this.#r.get(r);if(n)return n;const i=this.messageHandler.sendWithPromise("GetPage",{pageIndex:r}).then(o=>{if(this.destroyed)throw new Error("Transport destroyed");o.refStr&&this.#i.set(o.refStr,t);const a=new Xut(r,o,this,this._params.pdfBug);return this.#t.set(r,a),a});return this.#r.set(r,i),i}getPageIndex(t){return sJ(t)?this.messageHandler.sendWithPromise("GetPageIndex",{num:t.num,gen:t.gen}):Promise.reject(new Error("Invalid pageIndex request."))}getAnnotations(t,r){return this.messageHandler.sendWithPromise("GetAnnotations",{pageIndex:t,intent:r})}getFieldObjects(){return this.#n("GetFieldObjects")}hasJSActions(){return this.#n("HasJSActions")}getCalculationOrderIds(){return this.messageHandler.sendWithPromise("GetCalculationOrderIds",null)}getDestinations(){return this.messageHandler.sendWithPromise("GetDestinations",null)}getDestination(t){return typeof t!="string"?Promise.reject(new Error("Invalid destination request.")):this.messageHandler.sendWithPromise("GetDestination",{id:t})}getPageLabels(){return this.messageHandler.sendWithPromise("GetPageLabels",null)}getPageLayout(){return this.messageHandler.sendWithPromise("GetPageLayout",null)}getPageMode(){return this.messageHandler.sendWithPromise("GetPageMode",null)}getViewerPreferences(){return this.messageHandler.sendWithPromise("GetViewerPreferences",null)}getOpenAction(){return this.messageHandler.sendWithPromise("GetOpenAction",null)}getAttachments(){return this.messageHandler.sendWithPromise("GetAttachments",null)}getDocJSActions(){return this.#n("GetDocJSActions")}getPageJSActions(t){return this.messageHandler.sendWithPromise("GetPageJSActions",{pageIndex:t})}getStructTree(t){return this.messageHandler.sendWithPromise("GetStructTree",{pageIndex:t})}getOutline(){return this.messageHandler.sendWithPromise("GetOutline",null)}getOptionalContentConfig(t){return this.#n("GetOptionalContentConfig").then(r=>new but(r,t))}getPermissions(){return this.messageHandler.sendWithPromise("GetPermissions",null)}getMetadata(){const t="GetMetadata",r=this.#e.get(t);if(r)return r;const n=this.messageHandler.sendWithPromise(t,null).then(i=>({info:i[0],metadata:i[1]?new yut(i[1]):null,contentDispositionFilename:this._fullReader?.filename??null,contentLength:this._fullReader?.contentLength??null}));return this.#e.set(t,n),n}getMarkInfo(){return this.messageHandler.sendWithPromise("GetMarkInfo",null)}async startCleanup(t=!1){if(!this.destroyed){await this.messageHandler.sendWithPromise("Cleanup",null);for(const r of this.#t.values())if(!r.cleanup())throw new Error(`startCleanup: Page ${r.pageNumber} is currently rendering.`);this.commonObjs.clear(),t||this.fontLoader.clear(),this.#e.clear(),this.filterFactory.destroy(!0),hb.cleanup()}}cachedPageNumber(t){if(!sJ(t))return null;const r=t.gen===0?`${t.num}R`:`${t.num}R${t.gen}`;return this.#i.get(r)??null}}const z6=Symbol("INITIAL_DATA");class d4e{#e=Object.create(null);#t(t){return this.#e[t]||={...Promise.withResolvers(),data:z6}}get(t,r=null){if(r){const i=this.#t(t);return i.promise.then(()=>r(i.data)),null}const n=this.#e[t];if(!n||n.data===z6)throw new Error(`Requesting object that isn't resolved yet ${t}.`);return n.data}has(t){const r=this.#e[t];return!!r&&r.data!==z6}resolve(t,r=null){const n=this.#t(t);n.data=r,n.resolve()}clear(){for(const t in this.#e){const{data:r}=this.#e[t];r?.bitmap?.close()}this.#e=Object.create(null)}*[Symbol.iterator](){for(const t in this.#e){const{data:r}=this.#e[t];r!==z6&&(yield[t,r])}}}class t2t{#e=null;constructor(t){this.#e=t,this.onContinue=null}get promise(){return this.#e.capability.promise}cancel(t=0){this.#e.cancel(null,t)}get separateAnnots(){const{separateAnnots:t}=this.#e.operatorList;if(!t)return!1;const{annotationCanvasMap:r}=this.#e;return t.form||t.canvas&&r?.size>0}}class hf{#e=null;static#t=new WeakSet;constructor({callback:t,params:r,objs:n,commonObjs:i,annotationCanvasMap:o,operatorList:a,pageIndex:l,canvasFactory:d,filterFactory:u,useRequestAnimationFrame:p=!1,pdfBug:h=!1,pageColors:f=null}){this.callback=t,this.params=r,this.objs=n,this.commonObjs=i,this.annotationCanvasMap=o,this.operatorListIdx=null,this.operatorList=a,this._pageIndex=l,this.canvasFactory=d,this.filterFactory=u,this._pdfBug=h,this.pageColors=f,this.running=!1,this.graphicsReadyCallback=null,this.graphicsReady=!1,this._useRequestAnimationFrame=p===!0&&typeof window<"u",this.cancelled=!1,this.capability=Promise.withResolvers(),this.task=new t2t(this),this._cancelBound=this.cancel.bind(this),this._continueBound=this._continue.bind(this),this._scheduleNextBound=this._scheduleNext.bind(this),this._nextBound=this._next.bind(this),this._canvas=r.canvasContext.canvas}get completed(){return this.capability.promise.catch(function(){})}initializeGraphics({transparency:t=!1,optionalContentConfig:r}){if(this.cancelled)return;if(this._canvas){if(hf.#t.has(this._canvas))throw new Error("Cannot use the same canvas during multiple render() operations. Use different canvas or ensure previous operations were cancelled or completed.");hf.#t.add(this._canvas)}this._pdfBug&&globalThis.StepperManager?.enabled&&(this.stepper=globalThis.StepperManager.create(this._pageIndex),this.stepper.init(this.operatorList),this.stepper.nextBreakPoint=this.stepper.getNextBreakPoint());const{canvasContext:n,viewport:i,transform:o,background:a}=this.params;this.gfx=new Ef(n,this.commonObjs,this.objs,this.canvasFactory,this.filterFactory,{optionalContentConfig:r},this.annotationCanvasMap,this.pageColors),this.gfx.beginDrawing({transform:o,viewport:i,transparency:t,background:a}),this.operatorListIdx=0,this.graphicsReady=!0,this.graphicsReadyCallback?.()}cancel(t=null,r=0){this.running=!1,this.cancelled=!0,this.gfx?.endDrawing(),this.#e&&(window.cancelAnimationFrame(this.#e),this.#e=null),hf.#t.delete(this._canvas),this.callback(t||new ZO(`Rendering cancelled, page ${this._pageIndex+1}`,r))}operatorListChanged(){if(!this.graphicsReady){this.graphicsReadyCallback||=this._continueBound;return}this.stepper?.updateOperatorList(this.operatorList),!this.running&&this._continue()}_continue(){this.running=!0,!this.cancelled&&(this.task.onContinue?this.task.onContinue(this._scheduleNextBound):this._scheduleNext())}_scheduleNext(){this._useRequestAnimationFrame?this.#e=window.requestAnimationFrame(()=>{this.#e=null,this._nextBound().catch(this._cancelBound)}):Promise.resolve().then(this._nextBound).catch(this._cancelBound)}async _next(){this.cancelled||(this.operatorListIdx=this.gfx.executeOperatorList(this.operatorList,this.operatorListIdx,this._continueBound,this.stepper),this.operatorListIdx===this.operatorList.argsArray.length&&(this.running=!1,this.operatorList.lastChunk&&(this.gfx.endDrawing(),hf.#t.delete(this._canvas),this.callback())))}}const r2t="4.4.168",n2t="19fbc8998";function lJ(e){return Math.floor(Math.max(0,Math.min(1,e))*255).toString(16).padStart(2,"0")}function U4(e){return Math.max(0,Math.min(255,255*e))}class cJ{static CMYK_G([t,r,n,i]){return["G",1-Math.min(1,.3*t+.59*n+.11*r+i)]}static G_CMYK([t]){return["CMYK",0,0,0,1-t]}static G_RGB([t]){return["RGB",t,t,t]}static G_rgb([t]){return t=U4(t),[t,t,t]}static G_HTML([t]){const r=lJ(t);return`#${r}${r}${r}`}static RGB_G([t,r,n]){return["G",.3*t+.59*r+.11*n]}static RGB_rgb(t){return t.map(U4)}static RGB_HTML(t){return`#${t.map(lJ).join("")}`}static T_HTML(){return"#00000000"}static T_rgb(){return[null]}static CMYK_RGB([t,r,n,i]){return["RGB",1-Math.min(1,t+i),1-Math.min(1,n+i),1-Math.min(1,r+i)]}static CMYK_rgb([t,r,n,i]){return[U4(1-Math.min(1,t+i)),U4(1-Math.min(1,n+i)),U4(1-Math.min(1,r+i))]}static CMYK_HTML(t){const r=this.CMYK_RGB(t).slice(1);return this.RGB_HTML(r)}static RGB_CMYK([t,r,n]){const i=1-t,o=1-r,a=1-n,l=Math.min(i,o,a);return["CMYK",i,o,a,l]}}class u4e{static setupStorage(t,r,n,i,o){const a=i.getValue(r,{value:null});switch(n.name){case"textarea":if(a.value!==null&&(t.textContent=a.value),o==="print")break;t.addEventListener("input",l=>{i.setValue(r,{value:l.target.value})});break;case"input":if(n.attributes.type==="radio"||n.attributes.type==="checkbox"){if(a.value===n.attributes.xfaOn?t.setAttribute("checked",!0):a.value===n.attributes.xfaOff&&t.removeAttribute("checked"),o==="print")break;t.addEventListener("change",l=>{i.setValue(r,{value:l.target.checked?l.target.getAttribute("xfaOn"):l.target.getAttribute("xfaOff")})})}else{if(a.value!==null&&t.setAttribute("value",a.value),o==="print")break;t.addEventListener("input",l=>{i.setValue(r,{value:l.target.value})})}break;case"select":if(a.value!==null){t.setAttribute("value",a.value);for(const l of n.children)l.attributes.value===a.value?l.attributes.selected=!0:l.attributes.hasOwnProperty("selected")&&delete l.attributes.selected}t.addEventListener("input",l=>{const d=l.target.options,u=d.selectedIndex===-1?"":d[d.selectedIndex].value;i.setValue(r,{value:u})});break}}static setAttributes({html:t,element:r,storage:n=null,intent:i,linkService:o}){const{attributes:a}=r,l=t instanceof HTMLAnchorElement;a.type==="radio"&&(a.name=`${a.name}-${i}`);for(const[d,u]of Object.entries(a))if(u!=null)switch(d){case"class":u.length&&t.setAttribute(d,u.join(" "));break;case"dataId":break;case"id":t.setAttribute("data-element-id",u);break;case"style":Object.assign(t.style,u);break;case"textContent":t.textContent=u;break;default:(!l||d!=="href"&&d!=="newWindow")&&t.setAttribute(d,u)}l&&o.addLinkAttributes(t,a.href,a.newWindow),n&&a.dataId&&this.setupStorage(t,a.dataId,r,n)}static render(t){const r=t.annotationStorage,n=t.linkService,i=t.xfaHtml,o=t.intent||"display",a=document.createElement(i.name);i.attributes&&this.setAttributes({html:a,element:i,intent:o,linkService:n});const l=o!=="richText",d=t.div;if(d.append(a),t.viewport){const h=`matrix(${t.viewport.transform.join(",")})`;d.style.transform=h}l&&d.setAttribute("class","xfaLayer xfaFont");const u=[];if(i.children.length===0){if(i.value){const h=document.createTextNode(i.value);a.append(h),l&&D7.shouldBuildText(i.name)&&u.push(h)}return{textDivs:u}}const p=[[i,-1,a]];for(;p.length>0;){const[h,f,g]=p.at(-1);if(f+1===h.children.length){p.pop();continue}const y=h.children[++p.at(-1)[1]];if(y===null)continue;const{name:v}=y;if(v==="#text"){const x=document.createTextNode(y.value);u.push(x),g.append(x);continue}const w=y?.attributes?.xmlns?document.createElementNS(y.attributes.xmlns,v):document.createElement(v);if(g.append(w),y.attributes&&this.setAttributes({html:w,element:y,storage:r,intent:o,linkService:n}),y.children?.length>0)p.push([y,-1,w]);else if(y.value){const x=document.createTextNode(y.value);l&&D7.shouldBuildText(v)&&u.push(x),w.append(x)}}for(const h of d.querySelectorAll(".xfaNonInteractive input, .xfaNonInteractive textarea"))h.setAttribute("readOnly",!0);return{textDivs:u}}static update(t){const r=`matrix(${t.viewport.transform.join(",")})`;t.div.style.transform=r,t.div.hidden=!1}}const w9=1e3,i2t=9,dm=new WeakSet;function e2(e){return{width:e[2]-e[0],height:e[3]-e[1]}}class o2t{static create(t){switch(t.data.annotationType){case ko.LINK:return new p4e(t);case ko.TEXT:return new a2t(t);case ko.WIDGET:switch(t.data.fieldType){case"Tx":return new s2t(t);case"Btn":return t.data.radioButton?new h4e(t):t.data.checkBox?new c2t(t):new d2t(t);case"Ch":return new u2t(t);case"Sig":return new l2t(t)}return new Lm(t);case ko.POPUP:return new gj(t);case ko.FREETEXT:return new m4e(t);case ko.LINE:return new h2t(t);case ko.SQUARE:return new m2t(t);case ko.CIRCLE:return new f2t(t);case ko.POLYLINE:return new f4e(t);case ko.CARET:return new y2t(t);case ko.INK:return new g4e(t);case ko.POLYGON:return new g2t(t);case ko.HIGHLIGHT:return new v2t(t);case ko.UNDERLINE:return new b2t(t);case ko.SQUIGGLY:return new w2t(t);case ko.STRIKEOUT:return new x2t(t);case ko.STAMP:return new y4e(t);case ko.FILEATTACHMENT:return new C2t(t);default:return new to(t)}}}class to{#e=null;#t=!1;#r=null;constructor(t,{isRenderable:r=!1,ignoreBorder:n=!1,createQuadrilaterals:i=!1}={}){this.isRenderable=r,this.data=t.data,this.layer=t.layer,this.linkService=t.linkService,this.downloadManager=t.downloadManager,this.imageResourcesPath=t.imageResourcesPath,this.renderForms=t.renderForms,this.svgFactory=t.svgFactory,this.annotationStorage=t.annotationStorage,this.enableScripting=t.enableScripting,this.hasJSActions=t.hasJSActions,this._fieldObjects=t.fieldObjects,this.parent=t.parent,r&&(this.container=this._createContainer(n)),i&&this._createQuadrilaterals()}static _hasPopupData({titleObj:t,contentsObj:r,richText:n}){return!!(t?.str||r?.str||n?.str)}get hasPopupData(){return to._hasPopupData(this.data)}updateEdited(t){if(!this.container)return;this.#e||={rect:this.data.rect.slice(0)};const{rect:r}=t;r&&this.#i(r),this.#r?.popup.updateEdited(t)}resetEdited(){this.#e&&(this.#i(this.#e.rect),this.#r?.popup.resetEdited(),this.#e=null)}#i(t){const{container:{style:r},data:{rect:n,rotation:i},parent:{viewport:{rawDims:{pageWidth:o,pageHeight:a,pageX:l,pageY:d}}}}=this;n?.splice(0,4,...t);const{width:u,height:p}=e2(t);r.left=`${100*(t[0]-l)/o}%`,r.top=`${100*(a-t[3]+d)/a}%`,i===0?(r.width=`${100*u/o}%`,r.height=`${100*p/a}%`):this.setRotation(i)}_createContainer(t){const{data:r,parent:{page:n,viewport:i}}=this,o=document.createElement("section");o.setAttribute("data-annotation-id",r.id),this instanceof Lm||(o.tabIndex=w9);const{style:a}=o;if(a.zIndex=this.parent.zIndex++,r.popupRef&&o.setAttribute("aria-haspopup","dialog"),r.alternativeText&&(o.title=r.alternativeText),r.noRotate&&o.classList.add("norotate"),!r.rect||this instanceof gj){const{rotation:v}=r;return!r.hasOwnCanvas&&v!==0&&this.setRotation(v,o),o}const{width:l,height:d}=e2(r.rect);if(!t&&r.borderStyle.width>0){a.borderWidth=`${r.borderStyle.width}px`;const v=r.borderStyle.horizontalCornerRadius,w=r.borderStyle.verticalCornerRadius;if(v>0||w>0){const C=`calc(${v}px * var(--scale-factor)) / calc(${w}px * var(--scale-factor))`;a.borderRadius=C}else if(this instanceof h4e){const C=`calc(${l}px * var(--scale-factor)) / calc(${d}px * var(--scale-factor))`;a.borderRadius=C}switch(r.borderStyle.style){case H4.SOLID:a.borderStyle="solid";break;case H4.DASHED:a.borderStyle="dashed";break;case H4.BEVELED:Jr("Unimplemented border style: beveled");break;case H4.INSET:Jr("Unimplemented border style: inset");break;case H4.UNDERLINE:a.borderBottomStyle="solid";break}const x=r.borderColor||null;x?(this.#t=!0,a.borderColor=lr.makeHexColor(x[0]|0,x[1]|0,x[2]|0)):a.borderWidth=0}const u=lr.normalizeRect([r.rect[0],n.view[3]-r.rect[1]+n.view[1],r.rect[2],n.view[3]-r.rect[3]+n.view[1]]),{pageWidth:p,pageHeight:h,pageX:f,pageY:g}=i.rawDims;a.left=`${100*(u[0]-f)/p}%`,a.top=`${100*(u[1]-g)/h}%`;const{rotation:y}=r;return r.hasOwnCanvas||y===0?(a.width=`${100*l/p}%`,a.height=`${100*d/h}%`):this.setRotation(y,o),o}setRotation(t,r=this.container){if(!this.data.rect)return;const{pageWidth:n,pageHeight:i}=this.parent.viewport.rawDims,{width:o,height:a}=e2(this.data.rect);let l,d;t%180===0?(l=100*o/n,d=100*a/i):(l=100*a/n,d=100*o/i),r.style.width=`${l}%`,r.style.height=`${d}%`,r.setAttribute("data-main-rotation",(360-t)%360)}get _commonActions(){const t=(r,n,i)=>{const o=i.detail[r],a=o[0],l=o.slice(1);i.target.style[n]=cJ[`${a}_HTML`](l),this.annotationStorage.setValue(this.data.id,{[n]:cJ[`${a}_rgb`](l)})};return bn(this,"_commonActions",{display:r=>{const{display:n}=r.detail,i=n%2===1;this.container.style.visibility=i?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noView:i,noPrint:n===1||n===2})},print:r=>{this.annotationStorage.setValue(this.data.id,{noPrint:!r.detail.print})},hidden:r=>{const{hidden:n}=r.detail;this.container.style.visibility=n?"hidden":"visible",this.annotationStorage.setValue(this.data.id,{noPrint:n,noView:n})},focus:r=>{setTimeout(()=>r.target.focus({preventScroll:!1}),0)},userName:r=>{r.target.title=r.detail.userName},readonly:r=>{r.target.disabled=r.detail.readonly},required:r=>{this._setRequired(r.target,r.detail.required)},bgColor:r=>{t("bgColor","backgroundColor",r)},fillColor:r=>{t("fillColor","backgroundColor",r)},fgColor:r=>{t("fgColor","color",r)},textColor:r=>{t("textColor","color",r)},borderColor:r=>{t("borderColor","borderColor",r)},strokeColor:r=>{t("strokeColor","borderColor",r)},rotation:r=>{const n=r.detail.rotation;this.setRotation(n),this.annotationStorage.setValue(this.data.id,{rotation:n})}})}_dispatchEventFromSandbox(t,r){const n=this._commonActions;for(const i of Object.keys(r.detail))(t[i]||n[i])?.(r)}_setDefaultPropertiesFromJS(t){if(!this.enableScripting)return;const r=this.annotationStorage.getRawValue(this.data.id);if(!r)return;const n=this._commonActions;for(const[i,o]of Object.entries(r)){const a=n[i];if(a){const l={detail:{[i]:o},target:t};a(l),delete r[i]}}}_createQuadrilaterals(){if(!this.container)return;const{quadPoints:t}=this.data;if(!t)return;const[r,n,i,o]=this.data.rect.map(v=>Math.fround(v));if(t.length===8){const[v,w,x,C]=t.subarray(2,6);if(i===v&&o===w&&r===x&&n===C)return}const{style:a}=this.container;let l;if(this.#t){const{borderColor:v,borderWidth:w}=a;a.borderWidth=0,l=["url('data:image/svg+xml;utf8,",'<svg xmlns="http://www.w3.org/2000/svg"',' preserveAspectRatio="none" viewBox="0 0 1 1">',`<g fill="transparent" stroke="${v}" stroke-width="${w}">`],this.container.classList.add("hasBorder")}const d=i-r,u=o-n,{svgFactory:p}=this,h=p.createElement("svg");h.classList.add("quadrilateralsContainer"),h.setAttribute("width",0),h.setAttribute("height",0);const f=p.createElement("defs");h.append(f);const g=p.createElement("clipPath"),y=`clippath_${this.data.id}`;g.setAttribute("id",y),g.setAttribute("clipPathUnits","objectBoundingBox"),f.append(g);for(let v=2,w=t.length;v<w;v+=8){const x=t[v],C=t[v+1],S=t[v+2],k=t[v+3],T=p.createElement("rect"),E=(S-r)/d,D=(o-C)/u,P=(x-S)/d,A=(C-k)/u;T.setAttribute("x",E),T.setAttribute("y",D),T.setAttribute("width",P),T.setAttribute("height",A),g.append(T),l?.push(`<rect vector-effect="non-scaling-stroke" x="${E}" y="${D}" width="${P}" height="${A}"/>`)}this.#t&&(l.push("</g></svg>')"),a.backgroundImage=l.join("")),this.container.append(h),this.container.style.clipPath=`url(#${y})`}_createPopup(){const{container:t,data:r}=this;t.setAttribute("aria-haspopup","dialog");const n=this.#r=new gj({data:{color:r.color,titleObj:r.titleObj,modificationDate:r.modificationDate,contentsObj:r.contentsObj,richText:r.richText,parentRect:r.rect,borderStyle:0,id:`popup_${r.id}`,rotation:r.rotation},parent:this.parent,elements:[this]});this.parent.div.append(n.render())}render(){Qn("Abstract method `AnnotationElement.render` called")}_getElementsByName(t,r=null){const n=[];if(this._fieldObjects){const i=this._fieldObjects[t];if(i)for(const{page:o,id:a,exportValues:l}of i){if(o===-1||a===r)continue;const d=typeof l=="string"?l:null,u=document.querySelector(`[data-element-id="${a}"]`);if(u&&!dm.has(u)){Jr(`_getElementsByName - element not allowed: ${a}`);continue}n.push({id:a,exportValue:d,domElement:u})}return n}for(const i of document.getElementsByName(t)){const{exportValue:o}=i,a=i.getAttribute("data-element-id");a!==r&&dm.has(i)&&n.push({id:a,exportValue:o,domElement:i})}return n}show(){this.container&&(this.container.hidden=!1),this.popup?.maybeShow()}hide(){this.container&&(this.container.hidden=!0),this.popup?.forceHide()}getElementsToTriggerPopup(){return this.container}addHighlightArea(){const t=this.getElementsToTriggerPopup();if(Array.isArray(t))for(const r of t)r.classList.add("highlightArea");else t.classList.add("highlightArea")}get _isEditable(){return!1}_editOnDoubleClick(){if(!this._isEditable)return;const{annotationEditorType:t,data:{id:r}}=this;this.container.addEventListener("dblclick",()=>{this.linkService.eventBus?.dispatch("switchannotationeditormode",{source:this,mode:t,editId:r})})}}class p4e extends to{constructor(t,r=null){super(t,{isRenderable:!0,ignoreBorder:!!r?.ignoreBorder,createQuadrilaterals:!0}),this.isTooltipOnly=t.data.isTooltipOnly}render(){const{data:t,linkService:r}=this,n=document.createElement("a");n.setAttribute("data-element-id",t.id);let i=!1;return t.url?(r.addLinkAttributes(n,t.url,t.newWindow),i=!0):t.action?(this._bindNamedAction(n,t.action),i=!0):t.attachment?(this.#t(n,t.attachment,t.attachmentDest),i=!0):t.setOCGState?(this.#r(n,t.setOCGState),i=!0):t.dest?(this._bindLink(n,t.dest),i=!0):(t.actions&&(t.actions.Action||t.actions["Mouse Up"]||t.actions["Mouse Down"])&&this.enableScripting&&this.hasJSActions&&(this._bindJSAction(n,t),i=!0),t.resetForm?(this._bindResetFormAction(n,t.resetForm),i=!0):this.isTooltipOnly&&!i&&(this._bindLink(n,""),i=!0)),this.container.classList.add("linkAnnotation"),i&&this.container.append(n),this.container}#e(){this.container.setAttribute("data-internal-link","")}_bindLink(t,r){t.href=this.linkService.getDestinationHash(r),t.onclick=()=>(r&&this.linkService.goToDestination(r),!1),(r||r==="")&&this.#e()}_bindNamedAction(t,r){t.href=this.linkService.getAnchorUrl(""),t.onclick=()=>(this.linkService.executeNamedAction(r),!1),this.#e()}#t(t,r,n=null){t.href=this.linkService.getAnchorUrl(""),r.description&&(t.title=r.description),t.onclick=()=>(this.downloadManager?.openOrDownloadData(r.content,r.filename,n),!1),this.#e()}#r(t,r){t.href=this.linkService.getAnchorUrl(""),t.onclick=()=>(this.linkService.executeSetOCGState(r),!1),this.#e()}_bindJSAction(t,r){t.href=this.linkService.getAnchorUrl("");const n=new Map([["Action","onclick"],["Mouse Up","onmouseup"],["Mouse Down","onmousedown"]]);for(const i of Object.keys(r.actions)){const o=n.get(i);o&&(t[o]=()=>(this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:r.id,name:i}}),!1))}t.onclick||(t.onclick=()=>!1),this.#e()}_bindResetFormAction(t,r){const n=t.onclick;if(n||(t.href=this.linkService.getAnchorUrl("")),this.#e(),!this._fieldObjects){Jr('_bindResetFormAction - "resetForm" action not supported, ensure that the `fieldObjects` parameter is provided.'),n||(t.onclick=()=>!1);return}t.onclick=()=>{n?.();const{fields:i,refs:o,include:a}=r,l=[];if(i.length!==0||o.length!==0){const p=new Set(o);for(const h of i){const f=this._fieldObjects[h]||[];for(const{id:g}of f)p.add(g)}for(const h of Object.values(this._fieldObjects))for(const f of h)p.has(f.id)===a&&l.push(f)}else for(const p of Object.values(this._fieldObjects))l.push(...p);const d=this.annotationStorage,u=[];for(const p of l){const{id:h}=p;switch(u.push(h),p.type){case"text":{const g=p.defaultValue||"";d.setValue(h,{value:g});break}case"checkbox":case"radiobutton":{const g=p.defaultValue===p.exportValues;d.setValue(h,{value:g});break}case"combobox":case"listbox":{const g=p.defaultValue||"";d.setValue(h,{value:g});break}default:continue}const f=document.querySelector(`[data-element-id="${h}"]`);if(f){if(!dm.has(f)){Jr(`_bindResetFormAction - element not allowed: ${h}`);continue}}else continue;f.dispatchEvent(new Event("resetform"))}return this.enableScripting&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:"app",ids:u,name:"ResetForm"}}),!1}}}class a2t extends to{constructor(t){super(t,{isRenderable:!0})}render(){this.container.classList.add("textAnnotation");const t=document.createElement("img");return t.src=this.imageResourcesPath+"annotation-"+this.data.name.toLowerCase()+".svg",t.setAttribute("data-l10n-id","pdfjs-text-annotation-type"),t.setAttribute("data-l10n-args",JSON.stringify({type:this.data.name})),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.append(t),this.container}}class Lm extends to{render(){return this.container}showElementAndHideCanvas(t){this.data.hasOwnCanvas&&(t.previousSibling?.nodeName==="CANVAS"&&(t.previousSibling.hidden=!0),t.hidden=!1)}_getKeyModifier(t){return ws.platform.isMac?t.metaKey:t.ctrlKey}_setEventListener(t,r,n,i,o){n.includes("mouse")?t.addEventListener(n,a=>{this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:i,value:o(a),shift:a.shiftKey,modifier:this._getKeyModifier(a)}})}):t.addEventListener(n,a=>{if(n==="blur"){if(!r.focused||!a.relatedTarget)return;r.focused=!1}else if(n==="focus"){if(r.focused)return;r.focused=!0}o&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:this.data.id,name:i,value:o(a)}})})}_setEventListeners(t,r,n,i){for(const[o,a]of n)(a==="Action"||this.data.actions?.[a])&&((a==="Focus"||a==="Blur")&&(r||={focused:!1}),this._setEventListener(t,r,o,a,i),a==="Focus"&&!this.data.actions?.Blur?this._setEventListener(t,r,"blur","Blur",null):a==="Blur"&&!this.data.actions?.Focus&&this._setEventListener(t,r,"focus","Focus",null))}_setBackgroundColor(t){const r=this.data.backgroundColor||null;t.style.backgroundColor=r===null?"transparent":lr.makeHexColor(r[0],r[1],r[2])}_setTextStyle(t){const r=["left","center","right"],{fontColor:n}=this.data.defaultAppearanceData,i=this.data.defaultAppearanceData.fontSize||i2t,o=t.style;let a;const l=2,d=u=>Math.round(10*u)/10;if(this.data.multiLine){const u=Math.abs(this.data.rect[3]-this.data.rect[1]-l),p=Math.round(u/(lL*i))||1,h=u/p;a=Math.min(i,d(h/lL))}else{const u=Math.abs(this.data.rect[3]-this.data.rect[1]-l);a=Math.min(i,d(u/lL))}o.fontSize=`calc(${a}px * var(--scale-factor))`,o.color=lr.makeHexColor(n[0],n[1],n[2]),this.data.textAlignment!==null&&(o.textAlign=r[this.data.textAlignment])}_setRequired(t,r){r?t.setAttribute("required",!0):t.removeAttribute("required"),t.setAttribute("aria-required",r)}}class s2t extends Lm{constructor(t){const r=t.renderForms||t.data.hasOwnCanvas||!t.data.hasAppearance&&!!t.data.fieldValue;super(t,{isRenderable:r})}setPropertyOnSiblings(t,r,n,i){const o=this.annotationStorage;for(const a of this._getElementsByName(t.name,t.id))a.domElement&&(a.domElement[r]=n),o.setValue(a.id,{[i]:n})}render(){const t=this.annotationStorage,r=this.data.id;this.container.classList.add("textWidgetAnnotation");let n=null;if(this.renderForms){const i=t.getValue(r,{value:this.data.fieldValue});let o=i.value||"";const a=t.getValue(r,{charLimit:this.data.maxLen}).charLimit;a&&o.length>a&&(o=o.slice(0,a));let l=i.formattedValue||this.data.textContent?.join(`
213
213
  `)||null;l&&this.data.comb&&(l=l.replaceAll(/\s+/g,""));const d={userValue:o,formattedValue:l,lastCommittedValue:null,commitKey:1,focused:!1};this.data.multiLine?(n=document.createElement("textarea"),n.textContent=l??o,this.data.doNotScroll&&(n.style.overflowY="hidden")):(n=document.createElement("input"),n.type="text",n.setAttribute("value",l??o),this.data.doNotScroll&&(n.style.overflowX="hidden")),this.data.hasOwnCanvas&&(n.hidden=!0),dm.add(n),n.setAttribute("data-element-id",r),n.disabled=this.data.readOnly,n.name=this.data.fieldName,n.tabIndex=w9,this._setRequired(n,this.data.required),a&&(n.maxLength=a),n.addEventListener("input",p=>{t.setValue(r,{value:p.target.value}),this.setPropertyOnSiblings(n,"value",p.target.value,"value"),d.formattedValue=null}),n.addEventListener("resetform",p=>{const h=this.data.defaultFieldValue??"";n.value=d.userValue=h,d.formattedValue=null});let u=p=>{const{formattedValue:h}=d;h!=null&&(p.target.value=h),p.target.scrollLeft=0};if(this.enableScripting&&this.hasJSActions){n.addEventListener("focus",h=>{if(d.focused)return;const{target:f}=h;d.userValue&&(f.value=d.userValue),d.lastCommittedValue=f.value,d.commitKey=1,this.data.actions?.Focus||(d.focused=!0)}),n.addEventListener("updatefromsandbox",h=>{this.showElementAndHideCanvas(h.target);const f={value(g){d.userValue=g.detail.value??"",t.setValue(r,{value:d.userValue.toString()}),g.target.value=d.userValue},formattedValue(g){const{formattedValue:y}=g.detail;d.formattedValue=y,y!=null&&g.target!==document.activeElement&&(g.target.value=y),t.setValue(r,{formattedValue:y})},selRange(g){g.target.setSelectionRange(...g.detail.selRange)},charLimit:g=>{const{charLimit:y}=g.detail,{target:v}=g;if(y===0){v.removeAttribute("maxLength");return}v.setAttribute("maxLength",y);let w=d.userValue;!w||w.length<=y||(w=w.slice(0,y),v.value=d.userValue=w,t.setValue(r,{value:w}),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:r,name:"Keystroke",value:w,willCommit:!0,commitKey:1,selStart:v.selectionStart,selEnd:v.selectionEnd}}))}};this._dispatchEventFromSandbox(f,h)}),n.addEventListener("keydown",h=>{d.commitKey=1;let f=-1;if(h.key==="Escape"?f=0:h.key==="Enter"&&!this.data.multiLine?f=2:h.key==="Tab"&&(d.commitKey=3),f===-1)return;const{value:g}=h.target;d.lastCommittedValue!==g&&(d.lastCommittedValue=g,d.userValue=g,this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:r,name:"Keystroke",value:g,willCommit:!0,commitKey:f,selStart:h.target.selectionStart,selEnd:h.target.selectionEnd}}))});const p=u;u=null,n.addEventListener("blur",h=>{if(!d.focused||!h.relatedTarget)return;this.data.actions?.Blur||(d.focused=!1);const{value:f}=h.target;d.userValue=f,d.lastCommittedValue!==f&&this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:r,name:"Keystroke",value:f,willCommit:!0,commitKey:d.commitKey,selStart:h.target.selectionStart,selEnd:h.target.selectionEnd}}),p(h)}),this.data.actions?.Keystroke&&n.addEventListener("beforeinput",h=>{d.lastCommittedValue=null;const{data:f,target:g}=h,{value:y,selectionStart:v,selectionEnd:w}=g;let x=v,C=w;switch(h.inputType){case"deleteWordBackward":{const S=y.substring(0,v).match(/\w*[^\w]*$/);S&&(x-=S[0].length);break}case"deleteWordForward":{const S=y.substring(v).match(/^[^\w]*\w*/);S&&(C+=S[0].length);break}case"deleteContentBackward":v===w&&(x-=1);break;case"deleteContentForward":v===w&&(C+=1);break}h.preventDefault(),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:r,name:"Keystroke",value:y,change:f||"",willCommit:!1,selStart:x,selEnd:C}})}),this._setEventListeners(n,d,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],h=>h.target.value)}if(u&&n.addEventListener("blur",u),this.data.comb){const h=(this.data.rect[2]-this.data.rect[0])/a;n.classList.add("comb"),n.style.letterSpacing=`calc(${h}px * var(--scale-factor) - 1ch)`}}else n=document.createElement("div"),n.textContent=this.data.fieldValue,n.style.verticalAlign="middle",n.style.display="table-cell",this.data.hasOwnCanvas&&(n.hidden=!0);return this._setTextStyle(n),this._setBackgroundColor(n),this._setDefaultPropertiesFromJS(n),this.container.append(n),this.container}}class l2t extends Lm{constructor(t){super(t,{isRenderable:!!t.data.hasOwnCanvas})}}class c2t extends Lm{constructor(t){super(t,{isRenderable:t.renderForms})}render(){const t=this.annotationStorage,r=this.data,n=r.id;let i=t.getValue(n,{value:r.exportValue===r.fieldValue}).value;typeof i=="string"&&(i=i!=="Off",t.setValue(n,{value:i})),this.container.classList.add("buttonWidgetAnnotation","checkBox");const o=document.createElement("input");return dm.add(o),o.setAttribute("data-element-id",n),o.disabled=r.readOnly,this._setRequired(o,this.data.required),o.type="checkbox",o.name=r.fieldName,i&&o.setAttribute("checked",!0),o.setAttribute("exportValue",r.exportValue),o.tabIndex=w9,o.addEventListener("change",a=>{const{name:l,checked:d}=a.target;for(const u of this._getElementsByName(l,n)){const p=d&&u.exportValue===r.exportValue;u.domElement&&(u.domElement.checked=p),t.setValue(u.id,{value:p})}t.setValue(n,{value:d})}),o.addEventListener("resetform",a=>{const l=r.defaultFieldValue||"Off";a.target.checked=l===r.exportValue}),this.enableScripting&&this.hasJSActions&&(o.addEventListener("updatefromsandbox",a=>{const l={value(d){d.target.checked=d.detail.value!=="Off",t.setValue(n,{value:d.target.checked})}};this._dispatchEventFromSandbox(l,a)}),this._setEventListeners(o,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],a=>a.target.checked)),this._setBackgroundColor(o),this._setDefaultPropertiesFromJS(o),this.container.append(o),this.container}}class h4e extends Lm{constructor(t){super(t,{isRenderable:t.renderForms})}render(){this.container.classList.add("buttonWidgetAnnotation","radioButton");const t=this.annotationStorage,r=this.data,n=r.id;let i=t.getValue(n,{value:r.fieldValue===r.buttonValue}).value;if(typeof i=="string"&&(i=i!==r.buttonValue,t.setValue(n,{value:i})),i)for(const a of this._getElementsByName(r.fieldName,n))t.setValue(a.id,{value:!1});const o=document.createElement("input");if(dm.add(o),o.setAttribute("data-element-id",n),o.disabled=r.readOnly,this._setRequired(o,this.data.required),o.type="radio",o.name=r.fieldName,i&&o.setAttribute("checked",!0),o.tabIndex=w9,o.addEventListener("change",a=>{const{name:l,checked:d}=a.target;for(const u of this._getElementsByName(l,n))t.setValue(u.id,{value:!1});t.setValue(n,{value:d})}),o.addEventListener("resetform",a=>{const l=r.defaultFieldValue;a.target.checked=l!=null&&l===r.buttonValue}),this.enableScripting&&this.hasJSActions){const a=r.buttonValue;o.addEventListener("updatefromsandbox",l=>{const d={value:u=>{const p=a===u.detail.value;for(const h of this._getElementsByName(u.target.name)){const f=p&&h.id===n;h.domElement&&(h.domElement.checked=f),t.setValue(h.id,{value:f})}}};this._dispatchEventFromSandbox(d,l)}),this._setEventListeners(o,null,[["change","Validate"],["change","Action"],["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"]],l=>l.target.checked)}return this._setBackgroundColor(o),this._setDefaultPropertiesFromJS(o),this.container.append(o),this.container}}class d2t extends p4e{constructor(t){super(t,{ignoreBorder:t.data.hasAppearance})}render(){const t=super.render();t.classList.add("buttonWidgetAnnotation","pushButton");const r=t.lastChild;return this.enableScripting&&this.hasJSActions&&r&&(this._setDefaultPropertiesFromJS(r),r.addEventListener("updatefromsandbox",n=>{this._dispatchEventFromSandbox({},n)})),t}}class u2t extends Lm{constructor(t){super(t,{isRenderable:t.renderForms})}render(){this.container.classList.add("choiceWidgetAnnotation");const t=this.annotationStorage,r=this.data.id,n=t.getValue(r,{value:this.data.fieldValue}),i=document.createElement("select");dm.add(i),i.setAttribute("data-element-id",r),i.disabled=this.data.readOnly,this._setRequired(i,this.data.required),i.name=this.data.fieldName,i.tabIndex=w9;let o=this.data.combo&&this.data.options.length>0;this.data.combo||(i.size=this.data.options.length,this.data.multiSelect&&(i.multiple=!0)),i.addEventListener("resetform",p=>{const h=this.data.defaultFieldValue;for(const f of i.options)f.selected=f.value===h});for(const p of this.data.options){const h=document.createElement("option");h.textContent=p.displayValue,h.value=p.exportValue,n.value.includes(p.exportValue)&&(h.setAttribute("selected",!0),o=!1),i.append(h)}let a=null;if(o){const p=document.createElement("option");p.value=" ",p.setAttribute("hidden",!0),p.setAttribute("selected",!0),i.prepend(p),a=()=>{p.remove(),i.removeEventListener("input",a),a=null},i.addEventListener("input",a)}const l=p=>{const h=p?"value":"textContent",{options:f,multiple:g}=i;return g?Array.prototype.filter.call(f,y=>y.selected).map(y=>y[h]):f.selectedIndex===-1?null:f[f.selectedIndex][h]};let d=l(!1);const u=p=>{const h=p.target.options;return Array.prototype.map.call(h,f=>({displayValue:f.textContent,exportValue:f.value}))};return this.enableScripting&&this.hasJSActions?(i.addEventListener("updatefromsandbox",p=>{const h={value(f){a?.();const g=f.detail.value,y=new Set(Array.isArray(g)?g:[g]);for(const v of i.options)v.selected=y.has(v.value);t.setValue(r,{value:l(!0)}),d=l(!1)},multipleSelection(f){i.multiple=!0},remove(f){const g=i.options,y=f.detail.remove;g[y].selected=!1,i.remove(y),g.length>0&&Array.prototype.findIndex.call(g,w=>w.selected)===-1&&(g[0].selected=!0),t.setValue(r,{value:l(!0),items:u(f)}),d=l(!1)},clear(f){for(;i.length!==0;)i.remove(0);t.setValue(r,{value:null,items:[]}),d=l(!1)},insert(f){const{index:g,displayValue:y,exportValue:v}=f.detail.insert,w=i.children[g],x=document.createElement("option");x.textContent=y,x.value=v,w?w.before(x):i.append(x),t.setValue(r,{value:l(!0),items:u(f)}),d=l(!1)},items(f){const{items:g}=f.detail;for(;i.length!==0;)i.remove(0);for(const y of g){const{displayValue:v,exportValue:w}=y,x=document.createElement("option");x.textContent=v,x.value=w,i.append(x)}i.options.length>0&&(i.options[0].selected=!0),t.setValue(r,{value:l(!0),items:u(f)}),d=l(!1)},indices(f){const g=new Set(f.detail.indices);for(const y of f.target.options)y.selected=g.has(y.index);t.setValue(r,{value:l(!0)}),d=l(!1)},editable(f){f.target.disabled=!f.detail.editable}};this._dispatchEventFromSandbox(h,p)}),i.addEventListener("input",p=>{const h=l(!0),f=l(!1);t.setValue(r,{value:h}),p.preventDefault(),this.linkService.eventBus?.dispatch("dispatcheventinsandbox",{source:this,detail:{id:r,name:"Keystroke",value:d,change:f,changeEx:h,willCommit:!1,commitKey:1,keyDown:!1}})}),this._setEventListeners(i,null,[["focus","Focus"],["blur","Blur"],["mousedown","Mouse Down"],["mouseenter","Mouse Enter"],["mouseleave","Mouse Exit"],["mouseup","Mouse Up"],["input","Action"],["input","Validate"]],p=>p.target.value)):i.addEventListener("input",function(p){t.setValue(r,{value:l(!0)})}),this.data.combo&&this._setTextStyle(i),this._setBackgroundColor(i),this._setDefaultPropertiesFromJS(i),this.container.append(i),this.container}}class gj extends to{constructor(t){const{data:r,elements:n}=t;super(t,{isRenderable:to._hasPopupData(r)}),this.elements=n,this.popup=null}render(){this.container.classList.add("popupAnnotation");const t=this.popup=new p2t({container:this.container,color:this.data.color,titleObj:this.data.titleObj,modificationDate:this.data.modificationDate,contentsObj:this.data.contentsObj,richText:this.data.richText,rect:this.data.rect,parentRect:this.data.parentRect||null,parent:this.parent,elements:this.elements,open:this.data.open}),r=[];for(const n of this.elements)n.popup=t,r.push(n.data.id),n.addHighlightArea();return this.container.setAttribute("aria-controls",r.map(n=>`${qge}${n}`).join(",")),this.container}}class p2t{#e=this.#L.bind(this);#t=this.#C.bind(this);#r=this.#y.bind(this);#i=this.#w.bind(this);#s=null;#n=null;#o=null;#l=null;#d=null;#u=null;#h=null;#c=!1;#a=null;#m=null;#g=null;#p=null;#v=null;#f=null;#b=!1;constructor({container:t,color:r,elements:n,titleObj:i,modificationDate:o,contentsObj:a,richText:l,parent:d,rect:u,parentRect:p,open:h}){this.#n=t,this.#v=i,this.#o=a,this.#p=l,this.#u=d,this.#s=r,this.#g=u,this.#h=p,this.#d=n,this.#l=Xge.toDateObject(o),this.trigger=n.flatMap(f=>f.getElementsToTriggerPopup());for(const f of this.trigger)f.addEventListener("click",this.#i),f.addEventListener("mouseenter",this.#r),f.addEventListener("mouseleave",this.#t),f.classList.add("popupTriggerArea");for(const f of n)f.container?.addEventListener("keydown",this.#e);this.#n.hidden=!0,h&&this.#w()}render(){if(this.#a)return;const t=this.#a=document.createElement("div");if(t.className="popup",this.#s){const o=t.style.outlineColor=lr.makeHexColor(...this.#s);CSS.supports("background-color","color-mix(in srgb, red 30%, white)")?t.style.backgroundColor=`color-mix(in srgb, ${o} 30%, white)`:t.style.backgroundColor=lr.makeHexColor(...this.#s.map(l=>Math.floor(.7*(255-l)+l)))}const r=document.createElement("span");r.className="header";const n=document.createElement("h1");if(r.append(n),{dir:n.dir,str:n.textContent}=this.#v,t.append(r),this.#l){const o=document.createElement("span");o.classList.add("popupDate"),o.setAttribute("data-l10n-id","pdfjs-annotation-date-string"),o.setAttribute("data-l10n-args",JSON.stringify({date:this.#l.toLocaleDateString(),time:this.#l.toLocaleTimeString()})),r.append(o)}const i=this.#x;if(i)u4e.render({xfaHtml:i,intent:"richText",div:t}),t.lastChild.classList.add("richText","popupContent");else{const o=this._formatContents(this.#o);t.append(o)}this.#n.append(t)}get#x(){const t=this.#p,r=this.#o;return t?.str&&(!r?.str||r.str===t.str)&&this.#p.html||null}get#$(){return this.#x?.attributes?.style?.fontSize||0}get#k(){return this.#x?.attributes?.style?.color||null}#E(t){const r=[],n={str:t,html:{name:"div",attributes:{dir:"auto"},children:[{name:"p",children:r}]}},i={style:{color:this.#k,fontSize:this.#$?`calc(${this.#$}px * var(--scale-factor))`:""}};for(const o of t.split(`
214
214
  `))r.push({name:"span",value:o,attributes:i});return n}_formatContents({str:t,dir:r}){const n=document.createElement("p");n.classList.add("popupContent"),n.dir=r;const i=t.split(/(?:\r\n?|\n)/);for(let o=0,a=i.length;o<a;++o){const l=i[o];n.append(document.createTextNode(l)),o<a-1&&n.append(document.createElement("br"))}return n}#L(t){t.altKey||t.shiftKey||t.ctrlKey||t.metaKey||(t.key==="Enter"||t.key==="Escape"&&this.#c)&&this.#w()}updateEdited({rect:t,popupContent:r}){this.#f||={contentsObj:this.#o,richText:this.#p},t&&(this.#m=null),r&&(this.#p=this.#E(r),this.#o=null),this.#a?.remove(),this.#a=null}resetEdited(){this.#f&&({contentsObj:this.#o,richText:this.#p}=this.#f,this.#f=null,this.#a?.remove(),this.#a=null,this.#m=null)}#S(){if(this.#m!==null)return;const{page:{view:t},viewport:{rawDims:{pageWidth:r,pageHeight:n,pageX:i,pageY:o}}}=this.#u;let a=!!this.#h,l=a?this.#h:this.#g;for(const y of this.#d)if(!l||lr.intersect(y.data.rect,l)!==null){l=y.data.rect,a=!0;break}const d=lr.normalizeRect([l[0],t[3]-l[1]+t[1],l[2],t[3]-l[3]+t[1]]),p=a?l[2]-l[0]+5:0,h=d[0]+p,f=d[1];this.#m=[100*(h-i)/r,100*(f-o)/n];const{style:g}=this.#n;g.left=`${this.#m[0]}%`,g.top=`${this.#m[1]}%`}#w(){this.#c=!this.#c,this.#c?(this.#y(),this.#n.addEventListener("click",this.#i),this.#n.addEventListener("keydown",this.#e)):(this.#C(),this.#n.removeEventListener("click",this.#i),this.#n.removeEventListener("keydown",this.#e))}#y(){this.#a||this.render(),this.isVisible?this.#c&&this.#n.classList.add("focused"):(this.#S(),this.#n.hidden=!1,this.#n.style.zIndex=parseInt(this.#n.style.zIndex)+1e3)}#C(){this.#n.classList.remove("focused"),!(this.#c||!this.isVisible)&&(this.#n.hidden=!0,this.#n.style.zIndex=parseInt(this.#n.style.zIndex)-1e3)}forceHide(){this.#b=this.isVisible,this.#b&&(this.#n.hidden=!0)}maybeShow(){this.#b&&(this.#a||this.#y(),this.#b=!1,this.#n.hidden=!1)}get isVisible(){return this.#n.hidden===!1}}class m4e extends to{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0}),this.textContent=t.data.textContent,this.textPosition=t.data.textPosition,this.annotationEditorType=hn.FREETEXT}render(){if(this.container.classList.add("freeTextAnnotation"),this.textContent){const t=document.createElement("div");t.classList.add("annotationTextContent"),t.setAttribute("role","comment");for(const r of this.textContent){const n=document.createElement("span");n.textContent=r,t.append(n)}this.container.append(t)}return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this._editOnDoubleClick(),this.container}get _isEditable(){return this.data.hasOwnCanvas}}class h2t extends to{#e=null;constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0})}render(){this.container.classList.add("lineAnnotation");const t=this.data,{width:r,height:n}=e2(t.rect),i=this.svgFactory.create(r,n,!0),o=this.#e=this.svgFactory.createElement("svg:line");return o.setAttribute("x1",t.rect[2]-t.lineCoordinates[0]),o.setAttribute("y1",t.rect[3]-t.lineCoordinates[1]),o.setAttribute("x2",t.rect[2]-t.lineCoordinates[2]),o.setAttribute("y2",t.rect[3]-t.lineCoordinates[3]),o.setAttribute("stroke-width",t.borderStyle.width||1),o.setAttribute("stroke","transparent"),o.setAttribute("fill","transparent"),i.append(o),this.container.append(i),!t.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add("highlightArea")}}class m2t extends to{#e=null;constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0})}render(){this.container.classList.add("squareAnnotation");const t=this.data,{width:r,height:n}=e2(t.rect),i=this.svgFactory.create(r,n,!0),o=t.borderStyle.width,a=this.#e=this.svgFactory.createElement("svg:rect");return a.setAttribute("x",o/2),a.setAttribute("y",o/2),a.setAttribute("width",r-o),a.setAttribute("height",n-o),a.setAttribute("stroke-width",o||1),a.setAttribute("stroke","transparent"),a.setAttribute("fill","transparent"),i.append(a),this.container.append(i),!t.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add("highlightArea")}}class f2t extends to{#e=null;constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0})}render(){this.container.classList.add("circleAnnotation");const t=this.data,{width:r,height:n}=e2(t.rect),i=this.svgFactory.create(r,n,!0),o=t.borderStyle.width,a=this.#e=this.svgFactory.createElement("svg:ellipse");return a.setAttribute("cx",r/2),a.setAttribute("cy",n/2),a.setAttribute("rx",r/2-o/2),a.setAttribute("ry",n/2-o/2),a.setAttribute("stroke-width",o||1),a.setAttribute("stroke","transparent"),a.setAttribute("fill","transparent"),i.append(a),this.container.append(i),!t.popupRef&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add("highlightArea")}}class f4e extends to{#e=null;constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0}),this.containerClassName="polylineAnnotation",this.svgElementName="svg:polyline"}render(){this.container.classList.add(this.containerClassName);const{data:{rect:t,vertices:r,borderStyle:n,popupRef:i}}=this;if(!r)return this.container;const{width:o,height:a}=e2(t),l=this.svgFactory.create(o,a,!0);let d=[];for(let p=0,h=r.length;p<h;p+=2){const f=r[p]-t[0],g=t[3]-r[p+1];d.push(`${f},${g}`)}d=d.join(" ");const u=this.#e=this.svgFactory.createElement(this.svgElementName);return u.setAttribute("points",d),u.setAttribute("stroke-width",n.width||1),u.setAttribute("stroke","transparent"),u.setAttribute("fill","transparent"),l.append(u),this.container.append(l),!i&&this.hasPopupData&&this._createPopup(),this.container}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add("highlightArea")}}class g2t extends f4e{constructor(t){super(t),this.containerClassName="polygonAnnotation",this.svgElementName="svg:polygon"}}class y2t extends to{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0})}render(){return this.container.classList.add("caretAnnotation"),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container}}class g4e extends to{#e=[];constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0}),this.containerClassName="inkAnnotation",this.svgElementName="svg:polyline",this.annotationEditorType=hn.INK}render(){this.container.classList.add(this.containerClassName);const{data:{rect:t,inkLists:r,borderStyle:n,popupRef:i}}=this,{width:o,height:a}=e2(t),l=this.svgFactory.create(o,a,!0);for(const d of r){let u=[];for(let h=0,f=d.length;h<f;h+=2){const g=d[h]-t[0],y=t[3]-d[h+1];u.push(`${g},${y}`)}u=u.join(" ");const p=this.svgFactory.createElement(this.svgElementName);this.#e.push(p),p.setAttribute("points",u),p.setAttribute("stroke-width",n.width||1),p.setAttribute("stroke","transparent"),p.setAttribute("fill","transparent"),!i&&this.hasPopupData&&this._createPopup(),l.append(p)}return this.container.append(l),this.container}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add("highlightArea")}}class v2t extends to{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("highlightAnnotation"),this.container}}class b2t extends to{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("underlineAnnotation"),this.container}}class w2t extends to{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("squigglyAnnotation"),this.container}}class x2t extends to{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0,createQuadrilaterals:!0})}render(){return!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container.classList.add("strikeoutAnnotation"),this.container}}class y4e extends to{constructor(t){super(t,{isRenderable:!0,ignoreBorder:!0})}render(){return this.container.classList.add("stampAnnotation"),!this.data.popupRef&&this.hasPopupData&&this._createPopup(),this.container}}class C2t extends to{#e=null;constructor(t){super(t,{isRenderable:!0});const{file:r}=this.data;this.filename=r.filename,this.content=r.content,this.linkService.eventBus?.dispatch("fileattachmentannotation",{source:this,...r})}render(){this.container.classList.add("fileAttachmentAnnotation");const{container:t,data:r}=this;let n;r.hasAppearance||r.fillAlpha===0?n=document.createElement("div"):(n=document.createElement("img"),n.src=`${this.imageResourcesPath}annotation-${/paperclip/i.test(r.name)?"paperclip":"pushpin"}.svg`,r.fillAlpha&&r.fillAlpha<1&&(n.style=`filter: opacity(${Math.round(r.fillAlpha*100)}%);`)),n.addEventListener("dblclick",this.#t.bind(this)),this.#e=n;const{isMac:i}=ws.platform;return t.addEventListener("keydown",o=>{o.key==="Enter"&&(i?o.metaKey:o.ctrlKey)&&this.#t()}),!r.popupRef&&this.hasPopupData?this._createPopup():n.classList.add("popupTriggerArea"),t.append(n),t}getElementsToTriggerPopup(){return this.#e}addHighlightArea(){this.container.classList.add("highlightArea")}#t(){this.downloadManager?.openOrDownloadData(this.content,this.filename)}}let $2t=class{#e=null;#t=null;#r=new Map;constructor({div:t,accessibilityManager:r,annotationCanvasMap:n,annotationEditorUIManager:i,page:o,viewport:a}){this.div=t,this.#e=r,this.#t=n,this.page=o,this.viewport=a,this.zIndex=0,this._annotationEditorUIManager=i}#i(t,r){const n=t.firstChild||t;n.id=`${qge}${r}`,this.div.append(t),this.#e?.moveElementInDOM(this.div,t,n,!1)}async render(t){const{annotations:r}=t,n=this.div;cm(n,this.viewport);const i=new Map,o={data:null,layer:n,linkService:t.linkService,downloadManager:t.downloadManager,imageResourcesPath:t.imageResourcesPath||"",renderForms:t.renderForms!==!1,svgFactory:new qO,annotationStorage:t.annotationStorage||new rN,enableScripting:t.enableScripting===!0,hasJSActions:t.hasJSActions,fieldObjects:t.fieldObjects,parent:this,elements:null};for(const a of r){if(a.noHTML)continue;const l=a.annotationType===ko.POPUP;if(l){const p=i.get(a.id);if(!p)continue;o.elements=p}else{const{width:p,height:h}=e2(a.rect);if(p<=0||h<=0)continue}o.data=a;const d=o2t.create(o);if(!d.isRenderable)continue;if(!l&&a.popupRef){const p=i.get(a.popupRef);p?p.push(d):i.set(a.popupRef,[d])}const u=d.render();a.hidden&&(u.style.visibility="hidden"),this.#i(u,a.id),d.annotationEditorType>0&&(this.#r.set(d.data.id,d),this._annotationEditorUIManager?.renderAnnotationElement(d))}this.#s()}update({viewport:t}){const r=this.div;this.viewport=t,cm(r,{rotation:t.rotation}),this.#s(),r.hidden=!1}#s(){if(!this.#t)return;const t=this.div;for(const[r,n]of this.#t){const i=t.querySelector(`[data-annotation-id="${r}"]`);if(!i)continue;n.className="annotationContent";const{firstChild:o}=i;o?o.nodeName==="CANVAS"?o.replaceWith(n):o.classList.contains("annotationContent")?o.after(n):o.before(n):i.append(n)}this.#t.clear()}getEditableAnnotations(){return Array.from(this.#r.values())}getEditableAnnotation(t){return this.#r.get(t)}};const B6=/\r\n?|\n/g;class _o extends Ar{#e=this.editorDivBlur.bind(this);#t=this.editorDivFocus.bind(this);#r=this.editorDivInput.bind(this);#i=this.editorDivKeydown.bind(this);#s=this.editorDivPaste.bind(this);#n;#o="";#l=`${this.id}-editor`;#d;#u=null;static _freeTextDefaultContent="";static _internalPadding=0;static _defaultColor=null;static _defaultFontSize=10;static get _keyboardManager(){const t=_o.prototype,r=o=>o.isEmpty(),n=Mp.TRANSLATE_SMALL,i=Mp.TRANSLATE_BIG;return bn(this,"_keyboardManager",new v9([[["ctrl+s","mac+meta+s","ctrl+p","mac+meta+p"],t.commitOrRemove,{bubbles:!0}],[["ctrl+Enter","mac+meta+Enter","Escape","mac+Escape"],t.commitOrRemove],[["ArrowLeft","mac+ArrowLeft"],t._translateEmpty,{args:[-n,0],checker:r}],[["ctrl+ArrowLeft","mac+shift+ArrowLeft"],t._translateEmpty,{args:[-i,0],checker:r}],[["ArrowRight","mac+ArrowRight"],t._translateEmpty,{args:[n,0],checker:r}],[["ctrl+ArrowRight","mac+shift+ArrowRight"],t._translateEmpty,{args:[i,0],checker:r}],[["ArrowUp","mac+ArrowUp"],t._translateEmpty,{args:[0,-n],checker:r}],[["ctrl+ArrowUp","mac+shift+ArrowUp"],t._translateEmpty,{args:[0,-i],checker:r}],[["ArrowDown","mac+ArrowDown"],t._translateEmpty,{args:[0,n],checker:r}],[["ctrl+ArrowDown","mac+shift+ArrowDown"],t._translateEmpty,{args:[0,i],checker:r}]]))}static _type="freetext";static _editorType=hn.FREETEXT;constructor(t){super({...t,name:"freeTextEditor"}),this.#n=t.color||_o._defaultColor||Ar._defaultLineColor,this.#d=t.fontSize||_o._defaultFontSize}static initialize(t,r){Ar.initialize(t,r,{strings:["pdfjs-free-text-default-content"]});const n=getComputedStyle(document.documentElement);this._internalPadding=parseFloat(n.getPropertyValue("--freetext-padding"))}static updateDefaultParams(t,r){switch(t){case Lr.FREETEXT_SIZE:_o._defaultFontSize=r;break;case Lr.FREETEXT_COLOR:_o._defaultColor=r;break}}updateParams(t,r){switch(t){case Lr.FREETEXT_SIZE:this.#h(r);break;case Lr.FREETEXT_COLOR:this.#c(r);break}}static get defaultPropertiesToUpdate(){return[[Lr.FREETEXT_SIZE,_o._defaultFontSize],[Lr.FREETEXT_COLOR,_o._defaultColor||Ar._defaultLineColor]]}get propertiesToUpdate(){return[[Lr.FREETEXT_SIZE,this.#d],[Lr.FREETEXT_COLOR,this.#n]]}#h(t){const r=i=>{this.editorDiv.style.fontSize=`calc(${i}px * var(--scale-factor))`,this.translate(0,-(i-this.#d)*this.parentScale),this.#d=i,this.#m()},n=this.#d;this.addCommands({cmd:r.bind(this,t),undo:r.bind(this,n),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:Lr.FREETEXT_SIZE,overwriteIfSameType:!0,keepUndo:!0})}#c(t){const r=i=>{this.#n=this.editorDiv.style.color=i},n=this.#n;this.addCommands({cmd:r.bind(this,t),undo:r.bind(this,n),post:this._uiManager.updateUI.bind(this._uiManager,this),mustExec:!0,type:Lr.FREETEXT_COLOR,overwriteIfSameType:!0,keepUndo:!0})}_translateEmpty(t,r){this._uiManager.translateSelectedEditors(t,r,!0)}getInitialTranslation(){const t=this.parentScale;return[-_o._internalPadding*t,-(_o._internalPadding+this.#d)*t]}rebuild(){this.parent&&(super.rebuild(),this.div!==null&&(this.isAttachedToDOM||this.parent.add(this)))}enableEditMode(){if(this.isInEditMode())return;this.parent.setEditingState(!1),this.parent.updateToolbar(hn.FREETEXT),super.enableEditMode(),this.overlayDiv.classList.remove("enabled"),this.editorDiv.contentEditable=!0,this._isDraggable=!1,this.div.removeAttribute("aria-activedescendant");const t=this._uiManager._signal;this.editorDiv.addEventListener("keydown",this.#i,{signal:t}),this.editorDiv.addEventListener("focus",this.#t,{signal:t}),this.editorDiv.addEventListener("blur",this.#e,{signal:t}),this.editorDiv.addEventListener("input",this.#r,{signal:t}),this.editorDiv.addEventListener("paste",this.#s,{signal:t})}disableEditMode(){this.isInEditMode()&&(this.parent.setEditingState(!0),super.disableEditMode(),this.overlayDiv.classList.add("enabled"),this.editorDiv.contentEditable=!1,this.div.setAttribute("aria-activedescendant",this.#l),this._isDraggable=!0,this.editorDiv.removeEventListener("keydown",this.#i),this.editorDiv.removeEventListener("focus",this.#t),this.editorDiv.removeEventListener("blur",this.#e),this.editorDiv.removeEventListener("input",this.#r),this.editorDiv.removeEventListener("paste",this.#s),this.div.focus({preventScroll:!0}),this.isEditing=!1,this.parent.div.classList.add("freetextEditing"))}focusin(t){this._focusEventsAllowed&&(super.focusin(t),t.target!==this.editorDiv&&this.editorDiv.focus())}onceAdded(){this.width||(this.enableEditMode(),this.editorDiv.focus(),this._initialOptions?.isCentered&&this.center(),this._initialOptions=null)}isEmpty(){return!this.editorDiv||this.editorDiv.innerText.trim()===""}remove(){this.isEditing=!1,this.parent&&(this.parent.setEditingState(!0),this.parent.div.classList.add("freetextEditing")),super.remove()}#a(){const t=[];this.editorDiv.normalize();for(const r of this.editorDiv.childNodes)t.push(_o.#g(r));return t.join(`
215
215
  `)}#m(){const[t,r]=this.parentDimensions;let n;if(this.isAttachedToDOM)n=this.div.getBoundingClientRect();else{const{currentLayer:i,div:o}=this,a=o.style.display,l=o.classList.contains("hidden");o.classList.remove("hidden"),o.style.display="hidden",i.div.append(this.div),n=o.getBoundingClientRect(),o.remove(),o.style.display=a,o.classList.toggle("hidden",l)}this.rotation%180===this.parentRotation%180?(this.width=n.width/t,this.height=n.height/r):(this.width=n.height/t,this.height=n.width/r),this.fixAndSetPosition()}commit(){if(!this.isInEditMode())return;super.commit(),this.disableEditMode();const t=this.#o,r=this.#o=this.#a().trimEnd();if(t===r)return;const n=i=>{if(this.#o=i,!i){this.remove();return}this.#p(),this._uiManager.rebuild(this),this.#m()};this.addCommands({cmd:()=>{n(r)},undo:()=>{n(t)},mustExec:!1}),this.#m()}shouldGetKeyboardEvents(){return this.isInEditMode()}enterInEditMode(){this.enableEditMode(),this.editorDiv.focus()}dblclick(t){this.enterInEditMode()}keydown(t){t.target===this.div&&t.key==="Enter"&&(this.enterInEditMode(),t.preventDefault())}editorDivKeydown(t){_o._keyboardManager.exec(this,t)}editorDivFocus(t){this.isEditing=!0}editorDivBlur(t){this.isEditing=!1}editorDivInput(t){this.parent.div.classList.toggle("freetextEditing",this.isEmpty())}disableEditing(){this.editorDiv.setAttribute("role","comment"),this.editorDiv.removeAttribute("aria-multiline")}enableEditing(){this.editorDiv.setAttribute("role","textbox"),this.editorDiv.setAttribute("aria-multiline",!0)}render(){if(this.div)return this.div;let t,r;this.width&&(t=this.x,r=this.y),super.render(),this.editorDiv=document.createElement("div"),this.editorDiv.className="internal",this.editorDiv.setAttribute("id",this.#l),this.editorDiv.setAttribute("data-l10n-id","pdfjs-free-text"),this.enableEditing(),Ar._l10nPromise.get("pdfjs-free-text-default-content").then(i=>this.editorDiv?.setAttribute("default-content",i)),this.editorDiv.contentEditable=!0;const{style:n}=this.editorDiv;if(n.fontSize=`calc(${this.#d}px * var(--scale-factor))`,n.color=this.#n,this.div.append(this.editorDiv),this.overlayDiv=document.createElement("div"),this.overlayDiv.classList.add("overlay","enabled"),this.div.append(this.overlayDiv),ub(this,this.div,["dblclick","keydown"]),this.width){const[i,o]=this.parentDimensions;if(this.annotationElementId){const{position:a}=this.#u;let[l,d]=this.getInitialTranslation();[l,d]=this.pageTranslationToScreen(l,d);const[u,p]=this.pageDimensions,[h,f]=this.pageTranslation;let g,y;switch(this.rotation){case 0:g=t+(a[0]-h)/u,y=r+this.height-(a[1]-f)/p;break;case 90:g=t+(a[0]-h)/u,y=r-(a[1]-f)/p,[l,d]=[d,-l];break;case 180:g=t-this.width+(a[0]-h)/u,y=r-(a[1]-f)/p,[l,d]=[-l,-d];break;case 270:g=t+(a[0]-h-this.height*p)/u,y=r+(a[1]-f-this.width*u)/p,[l,d]=[-d,l];break}this.setAt(g*i,y*o,l,d)}else this.setAt(t*i,r*o,this.width*i,this.height*o);this.#p(),this._isDraggable=!0,this.editorDiv.contentEditable=!1}else this._isDraggable=!1,this.editorDiv.contentEditable=!0;return this.div}static#g(t){return(t.nodeType===Node.TEXT_NODE?t.nodeValue:t.innerText).replaceAll(B6,"")}editorDivPaste(t){const r=t.clipboardData||window.clipboardData,{types:n}=r;if(n.length===1&&n[0]==="text/plain")return;t.preventDefault();const i=_o.#f(r.getData("text")||"").replaceAll(B6,`
@@ -6096,7 +6096,7 @@ Initiate your first transfer to start earning yield.`,insuredFundsTooltip:"Secur
6096
6096
  padding-top: ${e=>Es.ButtonContainerPaddingTop.valuePx(e.windowSize)};
6097
6097
  `,sWt=m.div``,lWt=m(HUt)`
6098
6098
  transform: scale(1, 0.9);
6099
- `,cWt=m(Xa)``,r9e="application/pdf",n9e=["image/jpg","image/jpeg","image/png","image/webp","image/bmp"],dWt={useWebWorker:!0,maxWidthOrHeight:1920,initialQuality:.92,maxSizeMB:2},uWt=async(e,t)=>{if(n9e.includes(e.type)===!1)return e;const r=await oa(e,{useWebWorker:!0,maxWidthOrHeight:900,initialQuality:1,maxSizeMB:1.4}),n=r.lastModified,i=r.type.split("/")[1];let o=`image_${n}.${i}`;return t!=null&&(o=`${t}.${i}`),new File([r],o,{lastModified:n,type:r.type})},pWt=async(e,t)=>{if(n9e.includes(e.type)===!1)return e;const r=await oa(e,dWt),n=r.type.split("/")[1],i=`${t.replace(/\.[^.]+$/,"")||"image"}.${n}`;return new File([r],i,{lastModified:e.lastModified,type:r.type})},hWt=1.5,mWt=.7;function fWt(e,t){return new Promise((r,n)=>{e.toBlob(i=>{if(i==null){n(new Error("canvas.toBlob returned null"));return}r(i)},"image/jpeg",t)})}async function gWt(e,t,r){const n=e.getViewport({scale:t}),i=document.createElement("canvas");i.width=Math.floor(n.width),i.height=Math.floor(n.height);const o=i.getContext("2d");if(o==null)throw new Error("Could not get canvas 2d context");return await e.render({canvasContext:o,viewport:n}).promise,(await fWt(i,r)).arrayBuffer()}async function yWt(e,t){const[{PDFDocument:r},n]=await Promise.all([bt(()=>import("./index-BRlvHWYX.js"),__vite__mapDeps([14,5,1,6,15])),bt(()=>Promise.resolve().then(()=>s0t),void 0).then(p=>p.pdfjs)]),i=await e.arrayBuffer(),o=await n.getDocument({data:new Uint8Array(i)}).promise,a=o.numPages,l=await r.create();for(let p=1;p<=a;p++){const h=await o.getPage(p),f=await gWt(h,hWt,mWt),g=await l.embedJpg(new Uint8Array(f)),y=g.scale(1);l.addPage([y.width,y.height]).drawImage(g,{x:0,y:0,width:y.width,height:y.height})}const d=await l.save(),u=t.toLowerCase().endsWith(".pdf")?t:`${t}.pdf`;return new File([d],u,{type:r9e,lastModified:e.lastModified})}async function vWt(e,t){const r=e instanceof File?e:new File([e],t,{type:e.type});if(e.type===r9e){const i=await yWt(r,t);return i.size<r.size?{blob:i,name:i.name}:{blob:e,name:t}}const n=await pWt(r,t);return{blob:n,name:n.name}}async function SXr(e,t){const r=await Promise.all(e.map((n,i)=>{const o=t[i]??`file_${i}`;return vWt(n,o).catch(a=>(console.warn("[compressReceiptFiles] compression failed, using original:",a instanceof Error?a.message:a),{blob:n,name:o}))}));return{blobs:r.map(n=>n.blob),names:r.map(n=>n.name)}}const bWt=({fileType:e="file",fileRef:t,name:r,value:n="",multiple:i=!1,acceptableTypes:o,onFileSizeError:a,onImageChange:l})=>s.jsx("input",{type:e,ref:t,name:r,value:n,size:1e3,"data-testid":ce("input-file-element-mobile",r),onChange:async d=>{const u=d.target.files?.[0],p=u?.size;u!=null&&p!=null?(a?.(!1),l(u),d.target.value=""):(a?.(!0),d.target.value="")},style:{display:"none"},accept:`${(o??"image/jpg, image/jpeg").toString()}`,multiple:i,capture:!0}),i9e=({shouldDisplay:e,width:t=30,height:r=30,styles:n,animationInLoop:i=!1})=>{const[,o]=_5e(T5e),[a]=R1("MoneyTransferSuccess");return $.useEffect(()=>{e&&o(!0)},[e,o]),e&&a!=null?s.jsx(i2,{style:{width:t,height:r,...n},play:!0,animationData:a,loop:i,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null},wWt=e=>tn`
6099
+ `,cWt=m(Xa)``,r9e="application/pdf",n9e=["image/jpg","image/jpeg","image/png","image/webp","image/bmp"],dWt={useWebWorker:!0,maxWidthOrHeight:1920,initialQuality:.92,maxSizeMB:2},uWt=async(e,t)=>{if(n9e.includes(e.type)===!1)return e;const r=await oa(e,{useWebWorker:!0,maxWidthOrHeight:900,initialQuality:1,maxSizeMB:1.4}),n=r.lastModified,i=r.type.split("/")[1];let o=`image_${n}.${i}`;return t!=null&&(o=`${t}.${i}`),new File([r],o,{lastModified:n,type:r.type})},pWt=async(e,t)=>{if(n9e.includes(e.type)===!1)return e;const r=await oa(e,dWt),n=r.type.split("/")[1],i=`${t.replace(/\.[^.]+$/,"")||"image"}.${n}`;return new File([r],i,{lastModified:e.lastModified,type:r.type})},hWt=1.5,mWt=.7;function fWt(e,t){return new Promise((r,n)=>{e.toBlob(i=>{if(i==null){n(new Error("canvas.toBlob returned null"));return}r(i)},"image/jpeg",t)})}async function gWt(e,t,r){const n=e.getViewport({scale:t}),i=document.createElement("canvas");i.width=Math.floor(n.width),i.height=Math.floor(n.height);const o=i.getContext("2d");if(o==null)throw new Error("Could not get canvas 2d context");return await e.render({canvasContext:o,viewport:n}).promise,(await fWt(i,r)).arrayBuffer()}async function yWt(e,t){const[{PDFDocument:r},n]=await Promise.all([bt(()=>import("./index-Co5CHcL-.js"),__vite__mapDeps([14,5,1,6,15])),bt(()=>Promise.resolve().then(()=>s0t),void 0).then(p=>p.pdfjs)]),i=await e.arrayBuffer(),o=await n.getDocument({data:new Uint8Array(i)}).promise,a=o.numPages,l=await r.create();for(let p=1;p<=a;p++){const h=await o.getPage(p),f=await gWt(h,hWt,mWt),g=await l.embedJpg(new Uint8Array(f)),y=g.scale(1);l.addPage([y.width,y.height]).drawImage(g,{x:0,y:0,width:y.width,height:y.height})}const d=await l.save(),u=t.toLowerCase().endsWith(".pdf")?t:`${t}.pdf`;return new File([d],u,{type:r9e,lastModified:e.lastModified})}async function vWt(e,t){const r=e instanceof File?e:new File([e],t,{type:e.type});if(e.type===r9e){const i=await yWt(r,t);return i.size<r.size?{blob:i,name:i.name}:{blob:e,name:t}}const n=await pWt(r,t);return{blob:n,name:n.name}}async function SXr(e,t){const r=await Promise.all(e.map((n,i)=>{const o=t[i]??`file_${i}`;return vWt(n,o).catch(a=>(console.warn("[compressReceiptFiles] compression failed, using original:",a instanceof Error?a.message:a),{blob:n,name:o}))}));return{blobs:r.map(n=>n.blob),names:r.map(n=>n.name)}}const bWt=({fileType:e="file",fileRef:t,name:r,value:n="",multiple:i=!1,acceptableTypes:o,onFileSizeError:a,onImageChange:l})=>s.jsx("input",{type:e,ref:t,name:r,value:n,size:1e3,"data-testid":ce("input-file-element-mobile",r),onChange:async d=>{const u=d.target.files?.[0],p=u?.size;u!=null&&p!=null?(a?.(!1),l(u),d.target.value=""):(a?.(!0),d.target.value="")},style:{display:"none"},accept:`${(o??"image/jpg, image/jpeg").toString()}`,multiple:i,capture:!0}),i9e=({shouldDisplay:e,width:t=30,height:r=30,styles:n,animationInLoop:i=!1})=>{const[,o]=_5e(T5e),[a]=R1("MoneyTransferSuccess");return $.useEffect(()=>{e&&o(!0)},[e,o]),e&&a!=null?s.jsx(i2,{style:{width:t,height:r,...n},play:!0,animationData:a,loop:i,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null},wWt=e=>tn`
6100
6100
  0% {
6101
6101
  width: 0%;
6102
6102
  }
@@ -21969,7 +21969,7 @@ to {
21969
21969
  display: flex;
21970
21970
  flex-direction: column;
21971
21971
  row-gap: ${e=>El.sectionRowGap.valuePx(e.windowSize)};
21972
- `,o8e=e=>`${e}_form`,wvr=Object.freeze(Object.defineProperty({__proto__:null,default:mvr,trackTreasuryTransferAnalytics:Xy,uniqueName:o8e},Symbol.toStringTag,{value:"Module"}));vt(()=>Promise.resolve().then(()=>djt));const otn=vt(()=>bt(()=>import("./OverlayContainerPage-CkUYOhlh-ChB_ia4V.js"),__vite__mapDeps([16,17,1,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./ConfettiBurst-duD341Gp-Bb3-s_zN.js"),__vite__mapDeps([21,1,9,6,5,17,8,18,19,20,7])));vt(()=>Promise.resolve().then(()=>EGt));const atn=vt(()=>bt(()=>import("./SignIn-CUJkZb3S-DEoVYbuM.js"),__vite__mapDeps([22,1,17,9,6,5,8,23,24,25,18,19,20,7])));vt(()=>bt(()=>import("./Dashboard-DReG_aaf-C4aSoq3o.js"),__vite__mapDeps([26,1,17,9,6,5,8,18,27,28,29,30,31,32,33,34,35,36,37,38,39,40,19,20,7,41,42,43,44,45,46,47,21])));vt(()=>bt(()=>import("./AppDrawerContent-D9Q8ir0T-BlV3y7qg.js"),__vite__mapDeps([48,1,17,9,6,5,8,27,18,19,20,7])));vt(()=>bt(()=>import("./TransactionListBig-BrDWayQS-C0zQ3f5X.js"),__vite__mapDeps([49,1,17,9,6,5,8,41,37,30,38,39,50,18,19,20,7])));vt(()=>bt(()=>import("./TransactionListPage-C-Z62y2d-DnIWNXku.js"),__vite__mapDeps([51,1,17,9,6,5,8,52,50,53,54,55,56,18,19,20,7])));vt(()=>bt(()=>import("./DashboardReportPage-BXSlwsR7-4jSB_qXZ.js"),__vite__mapDeps([57,1,17,9,6,5,8,58,59,60,61,62,39,63,64,33,29,34,35,65,66,67,68,69,32,70,71,18,19,20,7])));vt(()=>bt(()=>import("./ReportsPage-CRAVAUTO-D_QRWGM1.js"),__vite__mapDeps([72,1,17,9,6,5,8,73,60,61,58,59,64,74,67,75,56,18,19,20,7,68,70,71])));vt(()=>bt(()=>import("./TopExDetailPage-C0uHdU7N-CkEVyz2B.js"),__vite__mapDeps([76,17,1,9,6,5,8,31,30,32,67,69,18,19,20,7])));vt(()=>bt(()=>import("./TransactionDetailPage-D-NR_yZG-DdONq5Tf.js"),__vite__mapDeps([77,1,17,9,6,5,8,78,79,80,29,34,35,18,19,20,7,65,62,39,52,50,53,54,55,81,82])));vt(()=>bt(()=>import("./QBOConnectionDialog-CJsIrEZq-Djdbh1G7.js"),__vite__mapDeps([83,17,1,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./VerifyDevice-DeHW4GAi-COYWduJ8.js"),__vite__mapDeps([84,1,17,9,6,5,8,85,25,18,19,20,7])));vt(()=>bt(()=>import("./AccountLockedInfoModal-c30P9O_3-BXRFFhii.js"),__vite__mapDeps([85,17,1,9,6,5,8,25,18,19,20,7])).then(e=>e.a));vt(()=>bt(()=>import("./InsightsCardStack-uJWMkIZL-k2gW7JtA.js"),__vite__mapDeps([36,1,37,30,17,9,6,5,8,38,39,40,18,19,20,7])));vt(()=>bt(()=>import("./InformationCardStack-rx0fypl3-C50dsns2.js"),__vite__mapDeps([44,1,37,30,17,9,6,5,8,38,39,18,19,20,7])));vt(()=>bt(()=>import("./DownloadOverlay-BpRKCn-0-GQtzMlpD.js"),__vite__mapDeps([75,1,17,9,6,5,8,58,59,60,61,56,18,19,20,7])));vt(()=>bt(()=>import("./PeoplePage-DcGqWtAP-CfVqJS-U.js"),__vite__mapDeps([86,1,17,9,6,5,8,87,18,19,20,7])));vt(()=>bt(()=>import("./PandLWithForecastPage-Cj3UWjG4-Ufv6uGVt.js"),__vite__mapDeps([88,1,17,9,6,5,8,73,60,61,89,58,74,67,90,68,18,19,20,7])));vt(()=>bt(()=>import("./TrendChart-fFlHCvNx-DADa9lxz.js"),__vite__mapDeps([80,1,5,6,29,17,9,8,34,35,18,19,20,7])));vt(()=>bt(()=>import("./EntityDetailPage-fmWuxHTZ-BEOMoyTE.js"),__vite__mapDeps([91,17,1,9,6,5,8,79,80,29,34,35,18,19,20,7,65,62,39,52,50,53,54,55])));const stn=vt(()=>bt(()=>import("./NotFoundPage-4mPhXD5--Dq1iR5VQ.js"),__vite__mapDeps([92,17,1,9,6,5,8,23,18,19,20,7]))),ltn=vt(()=>Promise.resolve().then(()=>rZt));vt(()=>bt(()=>import("./CompanyPassportCard-DF9LFrFD-DjueOJ3s.js"),__vite__mapDeps([42,17,1,9,6,5,8,37,30,18,19,20,7])));vt(()=>bt(()=>import("./CompanyPassportPage-BtAopyLq-DbU6xdRd.js"),__vite__mapDeps([93,1,17,9,6,5,8,94,95,96,97,98,99,18,19,20,7])));vt(()=>bt(()=>import("./CreateOrEditVendorPage-C2xU6c51-DT9rwnbq.js"),__vite__mapDeps([100,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./VendorACHDetailsPage-By2Ya2bv-CjVBmCig.js"),__vite__mapDeps([101,1,102,17,9,6,5,8,103,104,105,18,19,20,7])));vt(()=>bt(()=>import("./VendorDomesticWireDetailsPage-uIDE-n5v-CEtT0uGT.js"),__vite__mapDeps([106,1,107,17,9,6,5,8,105,104,103,108,109,18,19,20,7])));vt(()=>bt(()=>import("./VendorInternationalWireDetailsPage-DJeI-ZFW-DlATitk5.js"),__vite__mapDeps([110,1,17,9,6,5,8,103,108,109,111,18,19,20,7])));vt(()=>bt(()=>import("./ReviewDetailsPage-vui4TqeA-gjxKkEYH.js"),__vite__mapDeps([112,1,17,9,6,5,8,113,114,18,19,20,7])));vt(()=>bt(()=>import("./BillPayPromoPage-Dgpz2TLG-BFCcBeGF.js"),__vite__mapDeps([115,1,17,9,6,5,8,116,47,90,18,19,20,7])));vt(()=>bt(()=>import("./BillPaySetUpPage-B6Pd_eBf-BC27u6lI.js"),__vite__mapDeps([117,1,17,9,6,5,8,118,18,19,20,7])));vt(()=>bt(()=>import("./ApprovalRulesSettingsPage-DVGvJsQG-g3c3aBsx.js"),__vite__mapDeps([119,17,1,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./BankConnectionsSettingsPage-CQWy9jvt-B-n6frCU.js"),__vite__mapDeps([120,1,17,9,6,5,8,121,18,19,20,7])));vt(()=>bt(()=>import("./MyBankConnectionsSettingsPage-CBNYcuP4-DwZ11Kbp.js"),__vite__mapDeps([122,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./MyProfileSettingsPage-BUMIjZYc-CtFmjBIE.js"),__vite__mapDeps([123,1,17,9,6,5,8,109,124,87,125,18,19,20,7])));vt(()=>bt(()=>import("./NotificationSettingsPage-BTxCoB_b-BHZscHCj.js"),__vite__mapDeps([126,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./BusinessVerificationPage-Dgk5gyMv-BdAKTgt0.js"),__vite__mapDeps([127,1,17,9,6,5,8,128,98,109,97,94,95,96,18,19,20,7])));vt(()=>bt(()=>import("./ReimbursementPromoPage-Df5QmXzC-CzrrekBH.js"),__vite__mapDeps([129,1,17,9,6,5,8,116,47,90,18,19,20,7])));vt(()=>bt(()=>import("./ReimbursementSetUpPage-D450RVsP-BNS45RtV.js"),__vite__mapDeps([130,1,17,9,6,5,8,118,18,19,20,7])));vt(()=>Promise.resolve().then(()=>Glr));vt(()=>bt(()=>import("./BillDetailPage-pt1k5AQf-BM9-GtkV.js"),__vite__mapDeps([131,1,17,9,6,5,8,113,18,19,20,7])));vt(()=>bt(()=>import("./InvoiceUploadSection-Dg1-uunA-DejmnF3G.js"),__vite__mapDeps([132,1,17,9,6,5,8,133,18,19,20,7,134,135])));vt(()=>bt(()=>import("./BillPayApprovalRulesPage-Cmyo59xB-pg1tP0xq.js"),__vite__mapDeps([136,17,1,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./BillPayApprovalRuleDetailPage-Drh7Bhi8-CDpJ0g2R.js"),__vite__mapDeps([137,1,17,9,6,5,8,138,18,19,20,7])));vt(()=>bt(()=>import("./ReimbursementApprovalRulesPage-C2zNa8dT-CGtrNpR7.js"),__vite__mapDeps([139,17,1,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./ReimbursementApprovalRuleDetailPage-BMZnKpsk-CX5NlTL7.js"),__vite__mapDeps([140,1,17,9,6,5,8,138,18,19,20,7])));const ctn=vt(()=>Promise.resolve().then(()=>sFt));vt(()=>bt(()=>import("./EditReimbursementDetailPage-CC2BjMkR-BrDBl4Nx.js"),__vite__mapDeps([141,1,17,9,6,5,8,132,133,18,19,20,7,134,135,142,94,111,105,103,82])));vt(()=>bt(()=>import("./ReimbursementDetailPage-B1o8ea57-BrBovHlf.js"),__vite__mapDeps([143,1,17,9,6,5,8,132,133,18,19,20,7,134,135,142])));vt(()=>bt(()=>import("./InvitePeoplePage-BT_YVCP4-yRtlk6wv.js"),__vite__mapDeps([144,1,17,9,6,5,8,145,124,87,125,18,19,20,7])));vt(()=>bt(()=>import("./CompleteProfile-CsbsHQ0p-BLF2mnNn.js"),__vite__mapDeps([146,1,17,9,6,5,8,99,18,19,20,7])));vt(()=>bt(()=>import("./EditPeoplePage-8DalSMWH-BO--FbCf.js"),__vite__mapDeps([147,1,17,9,6,5,8,145,124,87,125,18,19,20,7])));const xvr=vt(()=>bt(()=>import("./AppBasePage-B5sDynhi-B6PJcirc.js"),__vite__mapDeps([148,17,1,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./SpendManagementListViewPage-BieufnDb-DWfo1rZv.js"),__vite__mapDeps([149,5,1,6,17,9,8,150,151,18,19,20,7])).then(e=>e.S));vt(()=>bt(()=>import("./VendorDetailPage-jci1LqX3-QbESQx0s.js"),__vite__mapDeps([152,1,17,9,6,5,8,153,52,50,53,54,55,79,80,29,34,35,18,19,20,7,65,62,39,40,109,154])));vt(()=>bt(()=>import("./VendorFiling1099EditablePage-8pYT3u-X-D-wgniGH.js"),__vite__mapDeps([155,1,17,9,6,5,8,154,18,19,20,7])));vt(()=>bt(()=>import("./ZeniAccountListViewPage-B-cs_xnc-yymuGC8c.js"),__vite__mapDeps([156,1,17,9,6,5,8,157,158,159,160,18,19,20,7])));vt(()=>bt(()=>import("./ZeniAccountDetailPage-7NdkdSg3-DUqxr3Vg.js"),__vite__mapDeps([161,1,17,9,6,5,8,53,54,162,163,159,18,19,20,7])));vt(()=>bt(()=>import("./AccountInfoPage-B8upbXj9-DVCxjo1L.js"),__vite__mapDeps([164,1,17,9,6,5,8,151,165,162,54,18,19,20,7])));vt(()=>bt(()=>import("./TransferDrawerPage-DfFm-1-3-Dp1b_ezH.js"),__vite__mapDeps([166,1,17,9,6,5,8,160,165,162,54,18,19,20,7])));vt(()=>bt(()=>import("./CreditCardPaymentDrawerPage-CeagMaCu-D6hhhd3N.js"),__vite__mapDeps([167,17,1,9,6,5,8,78,18,19,20,7])));vt(()=>bt(()=>import("./CheckDepositDrawerPage-D7_usOVn-C_GuSSOC.js"),__vite__mapDeps([168,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./ZeniAccountPromoPage-BikXtkeH-CZNOzkma.js"),__vite__mapDeps([169,1,17,9,6,5,8,90,18,19,20,7])));vt(()=>bt(()=>import("./ZeniAccountSetupPage-BRBsijVt-4J2hs6F_.js"),__vite__mapDeps([170,1,17,9,6,5,8,118,18,19,20,7])));vt(()=>bt(()=>import("./DepositAccTransactionListPage-C-FAvZwD-5kKsnSxM.js"),__vite__mapDeps([171,1,17,9,6,5,8,53,54,163,18,19,20,7])));vt(()=>bt(()=>import("./StatementsPage-CbtnJM5y-COycJvfL.js"),__vite__mapDeps([172,1,17,9,6,5,8,53,54,173,162,18,19,20,7])));vt(()=>bt(()=>import("./TransactionVendorDetailPage-CQQuAR6V-Dt6j0ppt.js"),__vite__mapDeps([174,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./CustomerOnboardingPage-Dm2Si769-DsN6K-ie.js"),__vite__mapDeps([175,1,17,9,6,5,8,176,96,121,177,128,98,109,97,94,95,178,83,18,19,20,7])));vt(()=>bt(()=>import("./CustomerOnboardingContainerPage-DVL4s-eV-Betf7XiO.js"),__vite__mapDeps([179,180,17,1,9,6,5,8,176,96,121,177,18,19,20,7,175,128,98,109,97,94,95,178,83])));vt(()=>bt(()=>import("./CustomerOnboardingNoStepsPage-Br0jy7Pu-C04-tCb6.js"),__vite__mapDeps([180,17,1,9,6,5,8,176,96,121,177,18,19,20,7])));vt(()=>bt(()=>import("./CustomerOnboardingProductSuitePage-Cz81Q5jC-eSuGAIqK.js"),__vite__mapDeps([181,1,17,9,6,5,8,21,18,19,20,7,24])));vt(()=>bt(()=>import("./CustomerOnboardingActivationPage-CIeR2XvU-B59q7JSL.js"),__vite__mapDeps([182,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./BillingSettingsPage-CYsvBrFV-BWO0QWBs.js"),__vite__mapDeps([183,1,17,9,6,5,8,176,96,121,18,19,20,7])));vt(()=>bt(()=>import("./UncategorizedAccountsMappingPage-BxBz2Ce0-BSZYER7A.js"),__vite__mapDeps([184,1,17,9,6,5,8,185,18,19,20,7])));vt(()=>bt(()=>import("./IntegrationsSettingsPage-Cj01Nub6-JLccDpyu.js"),__vite__mapDeps([186,17,1,9,6,5,8,178,83,18,19,20,7])));vt(()=>bt(()=>import("./UnitIntegrationPage-gVgsk2ji-Dz79ORBq.js"),__vite__mapDeps([187,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./MagicLinkACHDetailsPage-lAAwAtH7-SJ0jUK4M.js"),__vite__mapDeps([188,102,1,17,9,6,5,8,103,104,105,18,19,20,7])));vt(()=>bt(()=>import("./MagicLinkDomesticWireDetailsPage-cv823ASo-DimLQOFo.js"),__vite__mapDeps([189,107,1,17,9,6,5,8,105,104,103,108,109,18,19,20,7])));vt(()=>bt(()=>import("./MagicLinkInternationalWireDetailsPage-C_SjsgC9-Bvgil6AB.js"),__vite__mapDeps([190,191,1,17,9,6,5,8,103,108,109,104,18,19,20,7])));vt(()=>bt(()=>import("./AttachmentView-CiYfninr-BohG7XjP.js"),__vite__mapDeps([133,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./MagicLinkSuccessPage-B1LBYM2F-BYLLbXss.js"),__vite__mapDeps([192,17,1,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./Vendor2FAPopup-DRwBzOwn-C-SwMKWw.js"),__vite__mapDeps([193,1,9,6,5,17,8,18,19,20,7])));vt(()=>bt(()=>import("./AgingReportsPage-D9I9afnB-j70-fH52.js"),__vite__mapDeps([194,1,17,9,6,5,8,66,28,29,65,60,61,69,32,195,196,18,19,20,7])));vt(()=>bt(()=>import("./ApAgingDetailPage-Z5JgfH-e-DlNnTpGB.js"),__vite__mapDeps([197,1,17,9,6,5,8,198,196,18,19,20,7])));vt(()=>bt(()=>import("./ArAgingDetailPage-B5vqkc3v-xHE7Qc0m.js"),__vite__mapDeps([199,1,17,9,6,5,8,198,196,18,19,20,7])));vt(()=>bt(()=>import("./OpExByVendorPage-BV_uJSCh-BHuftqJi.js"),__vite__mapDeps([200,1,17,9,6,5,8,29,35,58,64,60,61,74,67,65,69,32,63,66,201,71,195,18,19,20,7])));vt(()=>bt(()=>import("./VendorInternationalWireSwiftDetailsPage-Co-5nTam-Dq9Sjb3M.js"),__vite__mapDeps([202,1,191,17,9,6,5,8,103,108,109,104,18,19,20,7])));vt(()=>bt(()=>import("./VendorFirstReviewPage-CafakxA1-CDJXyRr2.js"),__vite__mapDeps([203,1,17,9,6,5,8,18,19,20,7])));const dtn=vt(()=>bt(()=>import("./NewGlobalMerchantPage-B10sY6Q_-Owh-T5As.js"),__vite__mapDeps([204,1,17,9,6,5,8,18,19,20,7]))),utn=vt(()=>bt(()=>import("./GlobalReviewListPage-VRq_gimm-D4JxkgEf.js"),__vite__mapDeps([205,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./ScheduleDetailsPage-DmSLuM8g-5vyMikmE.js"),__vite__mapDeps([206,1,17,9,6,5,8,207,18,19,20,7])));vt(()=>bt(()=>import("./ScheduleDetailsFixedAssetsPage-D_Cls2jC-CNWyfY4t.js"),__vite__mapDeps([208,1,17,9,6,5,8,207,18,19,20,7])));vt(()=>bt(()=>import("./LinkJETransactionPage-Bvbqpltz-Bc-21K8g.js"),__vite__mapDeps([209,1,17,9,6,5,8,77,78,79,80,29,34,35,18,19,20,7,65,62,39,52,50,53,54,55,81,82])));vt(()=>bt(()=>import("./ChargeCardPromoPage-Cz3rNFwM-N71PCrPp.js"),__vite__mapDeps([210,1,17,9,6,5,8,39,46,90,18,19,20,7])));vt(()=>bt(()=>import("./ChargeCardSetupPage-BcTB9Yy5-DkE42DK5.js"),__vite__mapDeps([211,1,17,9,6,5,8,78,118,18,19,20,7])));vt(()=>bt(()=>import("./ChargeCardListPage-C-RTGkKK-Bb-QwUsn.js"),__vite__mapDeps([212,1,17,9,6,5,8,150,213,87,214,210,39,46,90,18,19,20,7,215,45,40])));vt(()=>bt(()=>import("./MyPendingActivationChargeCardListPage-n71n40uQ-DzAksyAj.js"),__vite__mapDeps([216,17,1,9,6,5,8,213,87,214,18,19,20,7])));vt(()=>bt(()=>import("./ChargeCardDetailPage-Diwf-gwZ-DmopcUlO.js"),__vite__mapDeps([217,1,17,9,6,5,8,39,218,18,214,55,134,215,87,19,20,7])));vt(()=>bt(()=>import("./CashbackDetailPage-5eysaHGf-qWx0m6gR.js"),__vite__mapDeps([219,17,1,9,6,5,8,62,39,18,19,20,7])));vt(()=>bt(()=>import("./ChargeCardStatementsPage-B_ERvgmB-DFHNpOVz.js"),__vite__mapDeps([220,17,1,9,6,5,8,53,54,162,18,19,20,7])));vt(()=>bt(()=>import("./ChargeCardPaymentHistoryPage-Cu-zT5tO-C6SEcidH.js"),__vite__mapDeps([221,1,17,9,6,5,8,150,149,151,18,19,20,7,157])));vt(()=>bt(()=>import("./IssueChargeCardPage-CyF9wrb0-DIt_LpMY.js"),__vite__mapDeps([222,1,17,9,6,5,8,124,87,18,19,20,7])));vt(()=>bt(()=>import("./AddToWalletPage-CsOmzC7v-XA_Ukf0G.js"),__vite__mapDeps([223,1,17,9,6,5,8,218,18,19,20,7])));vt(()=>bt(()=>import("./AddAddressForCardDrawer-riOPLnxb-hTaoKUhW.js"),__vite__mapDeps([224,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./TaskManagementPage-ucVAdv7x-AkXJlFwQ.js"),__vite__mapDeps([225,1,17,9,6,5,8,150,226,149,151,18,19,20,7])));vt(()=>bt(()=>Promise.resolve().then(()=>qCr),void 0).then(e=>e.m));vt(()=>bt(()=>import("./InvitePageListView-e7vGSbFa-wcp0OLc4.js"),__vite__mapDeps([227,1,17,9,6,5,8,43,18,19,20,7])));vt(()=>bt(()=>import("./InviteFormPage-dsMpScvq-CF55W3d2.js"),__vite__mapDeps([228,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./DrawerPage-DQ3Xuekx-71bFG_xW.js"),__vite__mapDeps([229,17,1,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./NotificationsPage-D41h0mS6-Dzdq9z4a.js"),__vite__mapDeps([230,1,17,9,6,5,8,153,231,226,18,19,20,7])));vt(()=>bt(()=>import("./FeaturePreviewPage-DSv61BhF-rk5VNvfQ.js"),__vite__mapDeps([232,17,1,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./BillsBulkReviewDrawerPage-DNnAmqWz-BQr-aBSF.js"),__vite__mapDeps([233,1,5,6,234,17,9,8,18,19,20,7])));vt(()=>bt(()=>import("./ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-BYy6jU6w.js"),__vite__mapDeps([235,1,5,6,234,17,9,8,18,19,20,7])));vt(()=>bt(()=>import("./ExpenseAutomationOverviewPage-B3HPfIsK-4ZtjmO8G.js"),__vite__mapDeps([236,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./AIPerformancePage-CFErwUsE-BYOi4eif.js"),__vite__mapDeps([237,1,17,9,6,5,8,89,18,19,20,7])));vt(()=>bt(()=>import("./ExpenseAutomationPage-4LJefgNh-YH8canW3.js"),__vite__mapDeps([238,1,17,9,6,5,8,55,60,61,201,71,185,81,135,18,19,20,7])));vt(()=>bt(()=>import("./AccountReconDetailsDrawerPage-CO9BYPWm-Det_iJaE.js"),__vite__mapDeps([239,1,17,9,6,5,8,61,18,19,20,7])));vt(()=>bt(()=>import("./InternationalWireVerificationPage-Cr3sDrT--Bq6HNEU0.js"),__vite__mapDeps([240,1,17,9,6,5,8,97,95,18,19,20,7])));vt(()=>bt(()=>import("./ExpressPayPage-BH7oCW_F-HW0llOdu.js"),__vite__mapDeps([241,1,17,9,6,5,8,95,114,18,19,20,7])));vt(()=>bt(()=>import("./TreasuryPromoPage-Dyip3H10-ClQVvPZy.js"),__vite__mapDeps([242,1,17,9,6,5,8,47,157,158,18,19,20,7])));vt(()=>Promise.resolve().then(()=>wvr));vt(()=>Promise.resolve().then(()=>lvr));vt(()=>Promise.resolve().then(()=>h8r));vt(()=>bt(()=>import("./TreasuryOverviewPage-CKSanlUG-BJ3RsJkb.js"),__vite__mapDeps([243,1,17,9,6,5,8,54,53,158,18,19,20,7])));vt(()=>bt(()=>import("./TreasuryStatementsPage-mljf2Van-DInZXjo_.js"),__vite__mapDeps([244,1,17,9,6,5,8,53,54,173,162,18,19,20,7])));vt(()=>bt(()=>import("./TreasuryTaxLetterPage-D3cV3a-8-CcMHT6vj.js"),__vite__mapDeps([245,1,17,9,6,5,8,53,54,173,162,18,19,20,7])));vt(()=>bt(()=>import("./TransactionActivityLogPage-CqYb19tY-v__opMvt.js"),__vite__mapDeps([246,1,17,9,6,5,8,18,19,20,7])));const Cvr=e=>b.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},b.createElement("rect",{x:3.16187,y:4.9248,width:16,height:16,rx:2,stroke:"currentColor",strokeWidth:1.5}),b.createElement("path",{d:"M9.75 1.9248H18.1619C20.371 1.9248 22.1619 3.71567 22.1619 5.9248V15",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round"}),b.createElement("path",{d:"M15.4644 10.7257L10.4607 15.494C10.3977 15.5542 10.3231 15.6009 10.2415 15.6314C10.1598 15.6619 10.0728 15.6754 9.98577 15.6712C9.8999 15.6671 9.81573 15.6459 9.73823 15.6087C9.66073 15.5715 9.59148 15.5191 9.53459 15.4546L7.2569 12.8672",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),$vr=e=>b.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},b.createElement("path",{d:"M1.40002 7H22.5756",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),b.createElement("path",{d:"M8.065 17.29H15.9105",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),b.createElement("path",{d:"M4.26514 12.1444H19.7104",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Svr=FR(new Date().getFullYear(),0),kvr=[...Array(12)].map((e,t)=>Svr.add(t,"month").format(de.getLocalizedStrings().dateFormat.visual.MMMMFormat)),a8e=()=>Ft().subtract(1,"quarter").endOf("quarter"),s8e=()=>Ft().subtract(1,"month").endOf("month"),ptn=({options:e,selectedDate:t})=>{const r=de.getLocalizedStrings().dateFormat.analytics.MMSlashDDSlashYYYYFormat;return e.find(n=>n.value==="month"?t.format(r)===s8e().format(r):n.value==="quarter"?t.format(r)===a8e().format(r):!1)?.value},Evr=e=>e==="month"?s8e():a8e(),l8e=e=>kvr.findIndex(t=>t===e)+1,_vr=m(y5e)`
21972
+ `,o8e=e=>`${e}_form`,wvr=Object.freeze(Object.defineProperty({__proto__:null,default:mvr,trackTreasuryTransferAnalytics:Xy,uniqueName:o8e},Symbol.toStringTag,{value:"Module"}));vt(()=>Promise.resolve().then(()=>djt));const otn=vt(()=>bt(()=>import("./OverlayContainerPage-CkUYOhlh-BnCo9_OT.js"),__vite__mapDeps([16,17,1,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./ConfettiBurst-duD341Gp-CRM9LgmA.js"),__vite__mapDeps([21,1,9,6,5,17,8,18,19,20,7])));vt(()=>Promise.resolve().then(()=>EGt));const atn=vt(()=>bt(()=>import("./SignIn-CUJkZb3S-BQ5cYlKz.js"),__vite__mapDeps([22,1,17,9,6,5,8,23,24,25,18,19,20,7])));vt(()=>bt(()=>import("./Dashboard-DReG_aaf-DwSOFg0b.js"),__vite__mapDeps([26,1,17,9,6,5,8,18,27,28,29,30,31,32,33,34,35,36,37,38,39,40,19,20,7,41,42,43,44,45,46,47,21])));vt(()=>bt(()=>import("./AppDrawerContent-D9Q8ir0T-CV--mref.js"),__vite__mapDeps([48,1,17,9,6,5,8,27,18,19,20,7])));vt(()=>bt(()=>import("./TransactionListBig-BrDWayQS-DsH6Jycs.js"),__vite__mapDeps([49,1,17,9,6,5,8,41,37,30,38,39,50,18,19,20,7])));vt(()=>bt(()=>import("./TransactionListPage-C-Z62y2d-BZTkx2mc.js"),__vite__mapDeps([51,1,17,9,6,5,8,52,50,53,54,55,56,18,19,20,7])));vt(()=>bt(()=>import("./DashboardReportPage-BXSlwsR7-CQ7UXe-C.js"),__vite__mapDeps([57,1,17,9,6,5,8,58,59,60,61,62,39,63,64,33,29,34,35,65,66,67,68,69,32,70,71,18,19,20,7])));vt(()=>bt(()=>import("./ReportsPage-CRAVAUTO-Cw7xKvAS.js"),__vite__mapDeps([72,1,17,9,6,5,8,73,60,61,58,59,64,74,67,75,56,18,19,20,7,68,70,71])));vt(()=>bt(()=>import("./TopExDetailPage-C0uHdU7N-D9KWDen5.js"),__vite__mapDeps([76,17,1,9,6,5,8,31,30,32,67,69,18,19,20,7])));vt(()=>bt(()=>import("./TransactionDetailPage-D-NR_yZG-DLNp0Ym3.js"),__vite__mapDeps([77,1,17,9,6,5,8,78,79,80,29,34,35,18,19,20,7,65,62,39,52,50,53,54,55,81,82])));vt(()=>bt(()=>import("./QBOConnectionDialog-CJsIrEZq-Cv6iSpTz.js"),__vite__mapDeps([83,17,1,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./VerifyDevice-DeHW4GAi-BrrxSvi2.js"),__vite__mapDeps([84,1,17,9,6,5,8,85,25,18,19,20,7])));vt(()=>bt(()=>import("./AccountLockedInfoModal-c30P9O_3-n0xGj_zZ.js"),__vite__mapDeps([85,17,1,9,6,5,8,25,18,19,20,7])).then(e=>e.a));vt(()=>bt(()=>import("./InsightsCardStack-uJWMkIZL-BMcef6eP.js"),__vite__mapDeps([36,1,37,30,17,9,6,5,8,38,39,40,18,19,20,7])));vt(()=>bt(()=>import("./InformationCardStack-rx0fypl3-PVL5sP4g.js"),__vite__mapDeps([44,1,37,30,17,9,6,5,8,38,39,18,19,20,7])));vt(()=>bt(()=>import("./DownloadOverlay-BpRKCn-0-CHKRQCgV.js"),__vite__mapDeps([75,1,17,9,6,5,8,58,59,60,61,56,18,19,20,7])));vt(()=>bt(()=>import("./PeoplePage-DcGqWtAP-DkPagYKu.js"),__vite__mapDeps([86,1,17,9,6,5,8,87,18,19,20,7])));vt(()=>bt(()=>import("./PandLWithForecastPage-Cj3UWjG4-Daok_AzA.js"),__vite__mapDeps([88,1,17,9,6,5,8,73,60,61,89,58,74,67,90,68,18,19,20,7])));vt(()=>bt(()=>import("./TrendChart-fFlHCvNx--8jxSfa_.js"),__vite__mapDeps([80,1,5,6,29,17,9,8,34,35,18,19,20,7])));vt(()=>bt(()=>import("./EntityDetailPage-fmWuxHTZ-DJDbCj57.js"),__vite__mapDeps([91,17,1,9,6,5,8,79,80,29,34,35,18,19,20,7,65,62,39,52,50,53,54,55])));const stn=vt(()=>bt(()=>import("./NotFoundPage-4mPhXD5--D8Xe2RH2.js"),__vite__mapDeps([92,17,1,9,6,5,8,23,18,19,20,7]))),ltn=vt(()=>Promise.resolve().then(()=>rZt));vt(()=>bt(()=>import("./CompanyPassportCard-DF9LFrFD-nY8e_5Nd.js"),__vite__mapDeps([42,17,1,9,6,5,8,37,30,18,19,20,7])));vt(()=>bt(()=>import("./CompanyPassportPage-BtAopyLq-BcF__FaA.js"),__vite__mapDeps([93,1,17,9,6,5,8,94,95,96,97,98,99,18,19,20,7])));vt(()=>bt(()=>import("./CreateOrEditVendorPage-C2xU6c51-B-kxLo4f.js"),__vite__mapDeps([100,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./VendorACHDetailsPage-By2Ya2bv-q_tye6Vo.js"),__vite__mapDeps([101,1,102,17,9,6,5,8,103,104,105,18,19,20,7])));vt(()=>bt(()=>import("./VendorDomesticWireDetailsPage-uIDE-n5v-CXJb5J3y.js"),__vite__mapDeps([106,1,107,17,9,6,5,8,105,104,103,108,109,18,19,20,7])));vt(()=>bt(()=>import("./VendorInternationalWireDetailsPage-DJeI-ZFW-Y_m9RvHt.js"),__vite__mapDeps([110,1,17,9,6,5,8,103,108,109,111,18,19,20,7])));vt(()=>bt(()=>import("./ReviewDetailsPage-vui4TqeA-D-XziIJQ.js"),__vite__mapDeps([112,1,17,9,6,5,8,113,114,18,19,20,7])));vt(()=>bt(()=>import("./BillPayPromoPage-Dgpz2TLG-RoPtYKEQ.js"),__vite__mapDeps([115,1,17,9,6,5,8,116,47,90,18,19,20,7])));vt(()=>bt(()=>import("./BillPaySetUpPage-B6Pd_eBf-CWUn729m.js"),__vite__mapDeps([117,1,17,9,6,5,8,118,18,19,20,7])));vt(()=>bt(()=>import("./ApprovalRulesSettingsPage-DVGvJsQG-COBJqCxP.js"),__vite__mapDeps([119,17,1,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./BankConnectionsSettingsPage-CQWy9jvt-BdLZIBvy.js"),__vite__mapDeps([120,1,17,9,6,5,8,121,18,19,20,7])));vt(()=>bt(()=>import("./MyBankConnectionsSettingsPage-CBNYcuP4-JphRdcv2.js"),__vite__mapDeps([122,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./MyProfileSettingsPage-BUMIjZYc-Bnuq---Y.js"),__vite__mapDeps([123,1,17,9,6,5,8,109,124,87,125,18,19,20,7])));vt(()=>bt(()=>import("./NotificationSettingsPage-BTxCoB_b-EQULZcKC.js"),__vite__mapDeps([126,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./BusinessVerificationPage-Dgk5gyMv-BKMYH8C3.js"),__vite__mapDeps([127,1,17,9,6,5,8,128,98,109,97,94,95,96,18,19,20,7])));vt(()=>bt(()=>import("./ReimbursementPromoPage-Df5QmXzC-CiqDm3oM.js"),__vite__mapDeps([129,1,17,9,6,5,8,116,47,90,18,19,20,7])));vt(()=>bt(()=>import("./ReimbursementSetUpPage-D450RVsP-CoGf8qvT.js"),__vite__mapDeps([130,1,17,9,6,5,8,118,18,19,20,7])));vt(()=>Promise.resolve().then(()=>Glr));vt(()=>bt(()=>import("./BillDetailPage-pt1k5AQf-BjT4Ihsm.js"),__vite__mapDeps([131,1,17,9,6,5,8,113,18,19,20,7])));vt(()=>bt(()=>import("./InvoiceUploadSection-Dg1-uunA-CW2z21hh.js"),__vite__mapDeps([132,1,17,9,6,5,8,133,18,19,20,7,134,135])));vt(()=>bt(()=>import("./BillPayApprovalRulesPage-Cmyo59xB-Bc1FlC0c.js"),__vite__mapDeps([136,17,1,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./BillPayApprovalRuleDetailPage-Drh7Bhi8-091yCGF7.js"),__vite__mapDeps([137,1,17,9,6,5,8,138,18,19,20,7])));vt(()=>bt(()=>import("./ReimbursementApprovalRulesPage-C2zNa8dT-BewT1FOV.js"),__vite__mapDeps([139,17,1,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./ReimbursementApprovalRuleDetailPage-BMZnKpsk-C2eUzL_F.js"),__vite__mapDeps([140,1,17,9,6,5,8,138,18,19,20,7])));const ctn=vt(()=>Promise.resolve().then(()=>sFt));vt(()=>bt(()=>import("./EditReimbursementDetailPage-CC2BjMkR-CV9Xwg25.js"),__vite__mapDeps([141,1,17,9,6,5,8,132,133,18,19,20,7,134,135,142,94,111,105,103,82])));vt(()=>bt(()=>import("./ReimbursementDetailPage-B1o8ea57-DRCLvjWj.js"),__vite__mapDeps([143,1,17,9,6,5,8,132,133,18,19,20,7,134,135,142])));vt(()=>bt(()=>import("./InvitePeoplePage-BT_YVCP4-CgT1m3Z3.js"),__vite__mapDeps([144,1,17,9,6,5,8,145,124,87,125,18,19,20,7])));vt(()=>bt(()=>import("./CompleteProfile-CsbsHQ0p-Da1z9Z7H.js"),__vite__mapDeps([146,1,17,9,6,5,8,99,18,19,20,7])));vt(()=>bt(()=>import("./EditPeoplePage-8DalSMWH-Ckh9exV5.js"),__vite__mapDeps([147,1,17,9,6,5,8,145,124,87,125,18,19,20,7])));const xvr=vt(()=>bt(()=>import("./AppBasePage-B5sDynhi-CUXe21st.js"),__vite__mapDeps([148,17,1,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./SpendManagementListViewPage-BieufnDb-DsSgx26K.js"),__vite__mapDeps([149,5,1,6,17,9,8,150,151,18,19,20,7])).then(e=>e.S));vt(()=>bt(()=>import("./VendorDetailPage-jci1LqX3-BiOnbd3f.js"),__vite__mapDeps([152,1,17,9,6,5,8,153,52,50,53,54,55,79,80,29,34,35,18,19,20,7,65,62,39,40,109,154])));vt(()=>bt(()=>import("./VendorFiling1099EditablePage-8pYT3u-X-D_UDyuhP.js"),__vite__mapDeps([155,1,17,9,6,5,8,154,18,19,20,7])));vt(()=>bt(()=>import("./ZeniAccountListViewPage-B-cs_xnc-CitANkcs.js"),__vite__mapDeps([156,1,17,9,6,5,8,157,158,159,160,18,19,20,7])));vt(()=>bt(()=>import("./ZeniAccountDetailPage-7NdkdSg3-CzyDTlLy.js"),__vite__mapDeps([161,1,17,9,6,5,8,53,54,162,163,159,18,19,20,7])));vt(()=>bt(()=>import("./AccountInfoPage-B8upbXj9-Dtz8WQyO.js"),__vite__mapDeps([164,1,17,9,6,5,8,151,165,162,54,18,19,20,7])));vt(()=>bt(()=>import("./TransferDrawerPage-DfFm-1-3-DcsnoXjo.js"),__vite__mapDeps([166,1,17,9,6,5,8,160,165,162,54,18,19,20,7])));vt(()=>bt(()=>import("./CreditCardPaymentDrawerPage-CeagMaCu-tu_QZ5if.js"),__vite__mapDeps([167,17,1,9,6,5,8,78,18,19,20,7])));vt(()=>bt(()=>import("./CheckDepositDrawerPage-D7_usOVn-B0KdoA_b.js"),__vite__mapDeps([168,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./ZeniAccountPromoPage-BikXtkeH-DjpOin1U.js"),__vite__mapDeps([169,1,17,9,6,5,8,90,18,19,20,7])));vt(()=>bt(()=>import("./ZeniAccountSetupPage-BRBsijVt-CVgD2Uf6.js"),__vite__mapDeps([170,1,17,9,6,5,8,118,18,19,20,7])));vt(()=>bt(()=>import("./DepositAccTransactionListPage-C-FAvZwD-BbAq4nWD.js"),__vite__mapDeps([171,1,17,9,6,5,8,53,54,163,18,19,20,7])));vt(()=>bt(()=>import("./StatementsPage-CbtnJM5y-D7odQb22.js"),__vite__mapDeps([172,1,17,9,6,5,8,53,54,173,162,18,19,20,7])));vt(()=>bt(()=>import("./TransactionVendorDetailPage-CQQuAR6V-D21ZQKzj.js"),__vite__mapDeps([174,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./CustomerOnboardingPage-Dm2Si769-D58-iBoA.js"),__vite__mapDeps([175,1,17,9,6,5,8,176,96,121,177,128,98,109,97,94,95,178,83,18,19,20,7])));vt(()=>bt(()=>import("./CustomerOnboardingContainerPage-DVL4s-eV-BLPiI0Mv.js"),__vite__mapDeps([179,180,17,1,9,6,5,8,176,96,121,177,18,19,20,7,175,128,98,109,97,94,95,178,83])));vt(()=>bt(()=>import("./CustomerOnboardingNoStepsPage-Br0jy7Pu-ChmYYCLk.js"),__vite__mapDeps([180,17,1,9,6,5,8,176,96,121,177,18,19,20,7])));vt(()=>bt(()=>import("./CustomerOnboardingProductSuitePage-Cz81Q5jC-n81ts80h.js"),__vite__mapDeps([181,1,17,9,6,5,8,21,18,19,20,7,24])));vt(()=>bt(()=>import("./CustomerOnboardingActivationPage-CIeR2XvU-CK8C5kkD.js"),__vite__mapDeps([182,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./BillingSettingsPage-CYsvBrFV-DtV08_g9.js"),__vite__mapDeps([183,1,17,9,6,5,8,176,96,121,18,19,20,7])));vt(()=>bt(()=>import("./UncategorizedAccountsMappingPage-BxBz2Ce0-CNPxhzU9.js"),__vite__mapDeps([184,1,17,9,6,5,8,185,18,19,20,7])));vt(()=>bt(()=>import("./IntegrationsSettingsPage-Cj01Nub6-Ckk6jPFc.js"),__vite__mapDeps([186,17,1,9,6,5,8,178,83,18,19,20,7])));vt(()=>bt(()=>import("./UnitIntegrationPage-gVgsk2ji-COCsJfhk.js"),__vite__mapDeps([187,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./MagicLinkACHDetailsPage-lAAwAtH7-Ck-bBlpT.js"),__vite__mapDeps([188,102,1,17,9,6,5,8,103,104,105,18,19,20,7])));vt(()=>bt(()=>import("./MagicLinkDomesticWireDetailsPage-cv823ASo-o8N9E1Vn.js"),__vite__mapDeps([189,107,1,17,9,6,5,8,105,104,103,108,109,18,19,20,7])));vt(()=>bt(()=>import("./MagicLinkInternationalWireDetailsPage-C_SjsgC9-VMrnWF1u.js"),__vite__mapDeps([190,191,1,17,9,6,5,8,103,108,109,104,18,19,20,7])));vt(()=>bt(()=>import("./AttachmentView-CiYfninr-76W0iAd5.js"),__vite__mapDeps([133,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./MagicLinkSuccessPage-B1LBYM2F-6icyR0Uu.js"),__vite__mapDeps([192,17,1,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./Vendor2FAPopup-DRwBzOwn-DhtM-fsI.js"),__vite__mapDeps([193,1,9,6,5,17,8,18,19,20,7])));vt(()=>bt(()=>import("./AgingReportsPage-D9I9afnB-Pr6LqJHU.js"),__vite__mapDeps([194,1,17,9,6,5,8,66,28,29,65,60,61,69,32,195,196,18,19,20,7])));vt(()=>bt(()=>import("./ApAgingDetailPage-Z5JgfH-e-BCqAdteh.js"),__vite__mapDeps([197,1,17,9,6,5,8,198,196,18,19,20,7])));vt(()=>bt(()=>import("./ArAgingDetailPage-B5vqkc3v-DkiCuj_D.js"),__vite__mapDeps([199,1,17,9,6,5,8,198,196,18,19,20,7])));vt(()=>bt(()=>import("./OpExByVendorPage-BV_uJSCh-DSWgiZdt.js"),__vite__mapDeps([200,1,17,9,6,5,8,29,35,58,64,60,61,74,67,65,69,32,63,66,201,71,195,18,19,20,7])));vt(()=>bt(()=>import("./VendorInternationalWireSwiftDetailsPage-Co-5nTam-2AgQI36C.js"),__vite__mapDeps([202,1,191,17,9,6,5,8,103,108,109,104,18,19,20,7])));vt(()=>bt(()=>import("./VendorFirstReviewPage-CafakxA1-DLht7hvz.js"),__vite__mapDeps([203,1,17,9,6,5,8,18,19,20,7])));const dtn=vt(()=>bt(()=>import("./NewGlobalMerchantPage-B10sY6Q_-VgMXWXS2.js"),__vite__mapDeps([204,1,17,9,6,5,8,18,19,20,7]))),utn=vt(()=>bt(()=>import("./GlobalReviewListPage-VRq_gimm-BJViyoax.js"),__vite__mapDeps([205,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./ScheduleDetailsPage-DmSLuM8g-DYOZWouJ.js"),__vite__mapDeps([206,1,17,9,6,5,8,207,18,19,20,7])));vt(()=>bt(()=>import("./ScheduleDetailsFixedAssetsPage-D_Cls2jC-BwmKM1Tl.js"),__vite__mapDeps([208,1,17,9,6,5,8,207,18,19,20,7])));vt(()=>bt(()=>import("./LinkJETransactionPage-Bvbqpltz-HF3tsHRK.js"),__vite__mapDeps([209,1,17,9,6,5,8,77,78,79,80,29,34,35,18,19,20,7,65,62,39,52,50,53,54,55,81,82])));vt(()=>bt(()=>import("./ChargeCardPromoPage-Cz3rNFwM-D_0OzJRZ.js"),__vite__mapDeps([210,1,17,9,6,5,8,39,46,90,18,19,20,7])));vt(()=>bt(()=>import("./ChargeCardSetupPage-BcTB9Yy5-BOaP0LVe.js"),__vite__mapDeps([211,1,17,9,6,5,8,78,118,18,19,20,7])));vt(()=>bt(()=>import("./ChargeCardListPage-C-RTGkKK-DLkixTq5.js"),__vite__mapDeps([212,1,17,9,6,5,8,150,213,87,214,210,39,46,90,18,19,20,7,215,45,40])));vt(()=>bt(()=>import("./MyPendingActivationChargeCardListPage-n71n40uQ-Dl2qH7gb.js"),__vite__mapDeps([216,17,1,9,6,5,8,213,87,214,18,19,20,7])));vt(()=>bt(()=>import("./ChargeCardDetailPage-Diwf-gwZ-BUyvgd6i.js"),__vite__mapDeps([217,1,17,9,6,5,8,39,218,18,214,55,134,215,87,19,20,7])));vt(()=>bt(()=>import("./CashbackDetailPage-5eysaHGf-O2irFEC3.js"),__vite__mapDeps([219,17,1,9,6,5,8,62,39,18,19,20,7])));vt(()=>bt(()=>import("./ChargeCardStatementsPage-B_ERvgmB-DjHyNuHd.js"),__vite__mapDeps([220,17,1,9,6,5,8,53,54,162,18,19,20,7])));vt(()=>bt(()=>import("./ChargeCardPaymentHistoryPage-Cu-zT5tO-CNtnC-O7.js"),__vite__mapDeps([221,1,17,9,6,5,8,150,149,151,18,19,20,7,157])));vt(()=>bt(()=>import("./IssueChargeCardPage-CyF9wrb0-CEZ2-O-B.js"),__vite__mapDeps([222,1,17,9,6,5,8,124,87,18,19,20,7])));vt(()=>bt(()=>import("./AddToWalletPage-CsOmzC7v-DDekkTcs.js"),__vite__mapDeps([223,1,17,9,6,5,8,218,18,19,20,7])));vt(()=>bt(()=>import("./AddAddressForCardDrawer-riOPLnxb-4wUmSook.js"),__vite__mapDeps([224,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./TaskManagementPage-ucVAdv7x-DzPLVMfi.js"),__vite__mapDeps([225,1,17,9,6,5,8,150,226,149,151,18,19,20,7])));vt(()=>bt(()=>Promise.resolve().then(()=>qCr),void 0).then(e=>e.m));vt(()=>bt(()=>import("./InvitePageListView-e7vGSbFa-DcUjhdI-.js"),__vite__mapDeps([227,1,17,9,6,5,8,43,18,19,20,7])));vt(()=>bt(()=>import("./InviteFormPage-dsMpScvq-CwRYtYza.js"),__vite__mapDeps([228,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./DrawerPage-DQ3Xuekx-B9p3dBku.js"),__vite__mapDeps([229,17,1,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./NotificationsPage-D41h0mS6-Bb6S9Jk3.js"),__vite__mapDeps([230,1,17,9,6,5,8,153,231,226,18,19,20,7])));vt(()=>bt(()=>import("./FeaturePreviewPage-DSv61BhF-D3bUAc_I.js"),__vite__mapDeps([232,17,1,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./BillsBulkReviewDrawerPage-DNnAmqWz-CEdBVzVe.js"),__vite__mapDeps([233,1,5,6,234,17,9,8,18,19,20,7])));vt(()=>bt(()=>import("./ReimbursementsBulkReviewDrawerPage-DwgKrhlQ-qH0UNUqD.js"),__vite__mapDeps([235,1,5,6,234,17,9,8,18,19,20,7])));vt(()=>bt(()=>import("./ExpenseAutomationOverviewPage-B3HPfIsK-CWN4kP2X.js"),__vite__mapDeps([236,1,17,9,6,5,8,18,19,20,7])));vt(()=>bt(()=>import("./AIPerformancePage-CFErwUsE-C9puPCCO.js"),__vite__mapDeps([237,1,17,9,6,5,8,89,18,19,20,7])));vt(()=>bt(()=>import("./ExpenseAutomationPage-4LJefgNh-isL_Jc14.js"),__vite__mapDeps([238,1,17,9,6,5,8,55,60,61,201,71,185,81,135,18,19,20,7])));vt(()=>bt(()=>import("./AccountReconDetailsDrawerPage-CO9BYPWm-Mg0FsDRd.js"),__vite__mapDeps([239,1,17,9,6,5,8,61,18,19,20,7])));vt(()=>bt(()=>import("./InternationalWireVerificationPage-Cr3sDrT--DP2ZfrSL.js"),__vite__mapDeps([240,1,17,9,6,5,8,97,95,18,19,20,7])));vt(()=>bt(()=>import("./ExpressPayPage-BH7oCW_F-ls2gqEkj.js"),__vite__mapDeps([241,1,17,9,6,5,8,95,114,18,19,20,7])));vt(()=>bt(()=>import("./TreasuryPromoPage-Dyip3H10-BFjPECcI.js"),__vite__mapDeps([242,1,17,9,6,5,8,47,157,158,18,19,20,7])));vt(()=>Promise.resolve().then(()=>wvr));vt(()=>Promise.resolve().then(()=>lvr));vt(()=>Promise.resolve().then(()=>h8r));vt(()=>bt(()=>import("./TreasuryOverviewPage-CKSanlUG-CsJ07wXK.js"),__vite__mapDeps([243,1,17,9,6,5,8,54,53,158,18,19,20,7])));vt(()=>bt(()=>import("./TreasuryStatementsPage-mljf2Van-CKwUR6NQ.js"),__vite__mapDeps([244,1,17,9,6,5,8,53,54,173,162,18,19,20,7])));vt(()=>bt(()=>import("./TreasuryTaxLetterPage-D3cV3a-8-L4BwstYA.js"),__vite__mapDeps([245,1,17,9,6,5,8,53,54,173,162,18,19,20,7])));vt(()=>bt(()=>import("./TransactionActivityLogPage-CqYb19tY-BvG_2MHQ.js"),__vite__mapDeps([246,1,17,9,6,5,8,18,19,20,7])));const Cvr=e=>b.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},b.createElement("rect",{x:3.16187,y:4.9248,width:16,height:16,rx:2,stroke:"currentColor",strokeWidth:1.5}),b.createElement("path",{d:"M9.75 1.9248H18.1619C20.371 1.9248 22.1619 3.71567 22.1619 5.9248V15",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round"}),b.createElement("path",{d:"M15.4644 10.7257L10.4607 15.494C10.3977 15.5542 10.3231 15.6009 10.2415 15.6314C10.1598 15.6619 10.0728 15.6754 9.98577 15.6712C9.8999 15.6671 9.81573 15.6459 9.73823 15.6087C9.66073 15.5715 9.59148 15.5191 9.53459 15.4546L7.2569 12.8672",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),$vr=e=>b.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},b.createElement("path",{d:"M1.40002 7H22.5756",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),b.createElement("path",{d:"M8.065 17.29H15.9105",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),b.createElement("path",{d:"M4.26514 12.1444H19.7104",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),Svr=FR(new Date().getFullYear(),0),kvr=[...Array(12)].map((e,t)=>Svr.add(t,"month").format(de.getLocalizedStrings().dateFormat.visual.MMMMFormat)),a8e=()=>Ft().subtract(1,"quarter").endOf("quarter"),s8e=()=>Ft().subtract(1,"month").endOf("month"),ptn=({options:e,selectedDate:t})=>{const r=de.getLocalizedStrings().dateFormat.analytics.MMSlashDDSlashYYYYFormat;return e.find(n=>n.value==="month"?t.format(r)===s8e().format(r):n.value==="quarter"?t.format(r)===a8e().format(r):!1)?.value},Evr=e=>e==="month"?s8e():a8e(),l8e=e=>kvr.findIndex(t=>t===e)+1,_vr=m(y5e)`
21973
21973
  border: none;
21974
21974
  background-color: ${e=>e.theme.colors.grey5};
21975
21975
  width: 105px;
@@ -29861,7 +29861,7 @@ ${e}`,yPr=e=>b.createElement("svg",{width:38,height:39,viewBox:"0 0 38 39",fill:
29861
29861
  &:hover {
29862
29862
  color: ${e=>e.theme.colors.primary};
29863
29863
  }
29864
- `,jtn=vt(()=>bt(()=>import("./WarningsDrawerPage--s6b380L-kLxITMYx.js"),__vite__mapDeps([247,17,1,9,6,5,8,18,19,20,7])));var DYr=uwe();const h7=gw(DYr);class PYr{getSignedInUser(){const t=window.localStorage.getItem(this.ZENI_SESSION_ID),r=window.localStorage.getItem(this.ZENI_SIGNED_IN_USER);if(r!=null&&t!=null)return JSON.parse(this.decrypt(r,t))}getShowNegativeAmountInParenthesis(){const t=window.localStorage.getItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS),r=window.localStorage.getItem(this.ZENI_SESSION_ID);return t!=null&&r!=null?JSON.parse(this.decrypt(t,r)):!1}getShowNegativeAmountInParenthesisPDF(){const t=window.localStorage.getItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF),r=window.localStorage.getItem(this.ZENI_SESSION_ID);return t!=null&&r!=null?JSON.parse(this.decrypt(t,r)):!0}getSignedInUserTenant(t){const r=window.localStorage.getItem(this.ZENI_SIGNED_IN_USER_TENANTS),n=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null&&n!=null)return JSON.parse(this.decrypt(r,n)).find(o=>o.tenantEmailDomain===t)}getSignedInUserTenantWithId(t){const r=window.localStorage.getItem(this.ZENI_SIGNED_IN_USER_TENANTS),n=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null&&n!=null)return JSON.parse(this.decrypt(r,n)).find(o=>o.tenantId===t)}getForceRefreshedComponents(){const t=window.localStorage.getItem(this.ZENI_SESSION_ID),r=window.localStorage.getItem(this.ZENI_FORCE_REFRESHED_COMPONENTS);if(r&&t!=null){const n=this.decrypt(r,t);return n?JSON.parse(n):[]}return[]}saveForceRefreshedComponents(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);r!=null?window.localStorage.setItem(this.ZENI_FORCE_REFRESHED_COMPONENTS,this.encrypt(JSON.stringify(t),r)):console.warn("Can't update the force refreshed components when the user is logged out!")}saveSignedInUserWithSession(t,r){if(t==null||r==null)throw new Error("Can't accept nil for user or session Id");window.localStorage.setItem(this.ZENI_SESSION_ID,r),window.localStorage.setItem(this.ZENI_SIGNED_IN_USER,this.encrypt(JSON.stringify(t),r))}saveSignedInUserTenants(t,r){const n=r??window.localStorage.getItem(this.ZENI_SESSION_ID);n!=null?window.localStorage.setItem(this.ZENI_SIGNED_IN_USER_TENANTS,this.encrypt(JSON.stringify(t),n)):console.warn("Can't update the setting when the user is logged out!")}saveShowNegativeAmountInParenthesis(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null)window.localStorage.setItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS,this.encrypt(JSON.stringify(t),r));else throw new Error("Can't update the setting when the user is logged out!")}saveShowNegativeAmountInParenthesisPDF(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null)window.localStorage.setItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF,this.encrypt(JSON.stringify(t),r));else throw new Error("Can't update the setting when the user is logged out!")}isSignedIn(){return[this.ZENI_SESSION_ID,this.ZENI_SIGNED_IN_USER].map(r=>window.localStorage.getItem(r)!=null).reduce((r,n)=>r&&n)}clearAll(){this.ALL_IDs.forEach(t=>window.localStorage.removeItem(t))}setTheme(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);r!=null&&window.localStorage.setItem(this.ZENI_THEME,this.encrypt(t,r))}getTheme(){const t=window.localStorage.getItem(this.ZENI_THEME),r=window.localStorage.getItem(this.ZENI_SESSION_ID);if(t!=null&&r!==null)return this.decrypt(t,r)}encrypt(t,r){return h7.AES.encrypt(t,r).toString()}decrypt(t,r){return h7.AES.decrypt(t,r).toString(h7.enc.Utf8)}ZENI_SESSION_ID="ZENI_SESSION_ID";ZENI_SIGNED_IN_USER="ZENI_SIGNED_IN_USER";ZENI_SIGNED_IN_USER_TENANTS="ZENI_SIGNED_IN_USER_TENANTS";ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS="ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS";ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF="ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF";ZENI_THEME="ZENI_THEME";ZENI_FORCE_REFRESHED_COMPONENTS="ZENI_FORCE_REFRESHED_COMPONENTS";ALL_IDs=[this.ZENI_SESSION_ID,this.ZENI_SIGNED_IN_USER,this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS,this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF,this.ZENI_SIGNED_IN_USER_TENANTS,this.ZENI_THEME,this.ZENI_FORCE_REFRESHED_COMPONENTS]}const ha=new PYr,MYr=({children:e})=>{const t=lwe("(prefers-color-scheme: dark)"),[r,n]=$.useState({dark:t});b.useEffect(()=>{const a=ha.getTheme()==null?t:ha.getTheme()==="dark";r.dark!==a&&n({dark:a})},[r,t]);const i=()=>{const a=!r.dark;ha.setTheme(a?"dark":"light"),n({...r,dark:a})},o=r.dark?y2r():g2r();return Wt.jsx(d2r,{dark:r.dark,webAppTheme:o,toggle:i,children:e})},IYr=["sandbox","production"],jYr=e=>zp(e,IYr),RYr=e=>{switch(e){case"DEV":case"QA":case"PUNE":case"SUNNYVALE":case"DELHI":case"MOHALI":return"sandbox";case"PROD":case"NEXT":return"production";default:return"sandbox"}},FYr=["development","staging","production"],OYr=e=>zp(e,FYr),NYr=e=>{switch(e){case"QA":case"PUNE":case"SUNNYVALE":case"DELHI":case"MOHALI":return"staging";case"PROD":case"NEXT":return"production";case"DEV":default:return"development"}},zYr=["DEV","QA","PUNE","SUNNYVALE","DELHI","MOHALI","PROD","NEXT"],BYr=e=>zp(e,zYr),Dl=BYr("DEV"),Z7=()=>Dl==="DEV"||Dl==="QA"||Dl==="PUNE"||Dl==="SUNNYVALE"||Dl==="DELHI"||Dl==="MOHALI",Az="https://zeni-webapp-dev.uc.r.appspot.com",HYr="63d3a2406505a5737a2b4debdb513f20",Rtn=jYr(RYr(Dl)),VYr=OYr(NYr(Dl));function UYr(e,t){return h7.AES.decrypt(e,t).toString(h7.enc.Utf8)}const WYr="ZENI-WEB-APP-",Xye=Dl==="DEV"||Dl==="QA"?.2:.8,uo={sentryDsn:"",sentryTraceSamplingRate:Xye,googleClientId:"",googleMapsAPIKey:"",microsoftClientId:"",mixpanelToken:"",pusherClientSecret:"",pusherCluster:"",quickbooksKey:"",appUrl:"",featureClientSecret:"",featureClientSecretCockpit:"",cardVaultId:"",stripeKey:"",qboRedirectionUrl:"",mixpanelUrl:"",mixpanelHMUrl:""};let wm,Lz;function GYr(e){uo.sentryDsn=e.keys.SENTRY_DSN,uo.sentryTraceSamplingRate=e.keys.SENTRY_TRACE_SAMPLE_RATES!=null?parseInt(e.keys.SENTRY_TRACE_SAMPLE_RATES):Xye,uo.googleClientId=e.keys.GOOGLE_CLIENT_ID,uo.googleMapsAPIKey=e.keys.GOOGLE_MAP_KEY,uo.microsoftClientId=e.keys.MICROSOFT_CLIENT_ID,uo.mixpanelToken=e.keys.MIXPANEL_TOKEN,uo.pusherClientSecret=e.keys.PUSHER_CLIENT_SECRET,uo.pusherCluster=e.keys.PUSHER_CLUSTER,uo.quickbooksKey=e.keys.QUICKBOOK_TOKEN,uo.appUrl=e.keys.WEB_ENDPOINT,uo.featureClientSecret=e.keys.STATSIG_CLIENT_SECRET,uo.featureClientSecretCockpit=e.keys.STATSIG_CLIENT_SECRET_COCKPIT,uo.cardVaultId=e.keys.UNIT_VAULT_ID,uo.stripeKey=e.keys.STRIPE_KEY,uo.qboRedirectionUrl=e.keys.QBO_URL,uo.mixpanelUrl=e.keys.MIXPANEL_URL,uo.mixpanelHMUrl=e.keys.MIXPANEL_HM_URL,Lz=e.externalEndPoints,wm=e.apiEndPoints,YYr()}function YYr(){try{const e=new Set;if(wm!=null){for(const t of Object.values(wm))if(typeof t=="string"&&t.startsWith("http"))try{e.add(new URL(t).origin)}catch{}}for(const t of e){const r=document.createElement("link");r.rel="preconnect",r.href=t,r.crossOrigin="anonymous",document.head.appendChild(r)}}catch{}}async function qYr(){const t=encodeURIComponent(JSON.stringify({environment:Dl}));try{const r=await fetch(`${Az}/api/keys?query=${t}`);if(!r.ok)throw new Error(`HTTP error! status: ${r.status}`);return await r.json()}catch(r){return console.error("Error fetching details:",r),null}}let Ace=!1;function U5(){Ace||(a1.init(HYr,{api_host:Lz.mixpanelBaseUrl,ignore_dnt:!0,store_google:!1,track_marketing:!1}),Ace=!0)}let Lce=!1,Dce=!1;function Jye(){if(Lce)return;Lce=!0,U5();const e=yn.extractUtmParamsFromUrl();Object.keys(e).length>0&&a1.register(e),Z7()&&console.log(`[UTM] first-touch bootstrap: ${JSON.stringify(e)}`)}function ZYr(){return a1?.persistence?.props??null}const KYr=new Set(["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"]);function QYr(){const e=ZYr();if(e==null)return;const t=Object.keys(e).filter(r=>r.startsWith("utm_")||KYr.has(r));for(const r of t)a1.unregister(r);Z7()&&t.length>0&&console.log(`[UTM] cleared from cookie: ${JSON.stringify(t)}`)}function XYr(){Dce||(Dce=!0,QYr())}class Ih{identify(t,r){if(U5(),this.#r=t,t!=null&&r!=null&&(Ih.#t==null||qbe({userId:t,traits:r},Ih.#t)!==!0)){const{$email:n,...i}={...r};a1.identify(t),n&&n!=null&&a1.people.set_once({$email:n}),a1.people.set(i),Ih.#t={userId:t,traits:r},Z7()&&console.log(`*** Called people set with userId ${t} traits ${JSON.stringify(r)} `)}}identifyUserAndCompany(t,r,n,i,o){throw Error("Use identify in the web-app!!")}track(t,r){if(U5(),this.#r==null){console.error("user is not identified :(, so can not fire event");return}Jye();const n={distinct_id:this.#r,...r};a1.track(t,n),XYr(),Z7()&&console.log(`*** firing ${t} with props ${JSON.stringify(r)}`)}alias(t,r){U5(),a1.alias(t,r)}reset(){U5(),a1.reset(),this.#r=void 0,Ih.#t=void 0}static get analytics(){return this.#e}static#e=new yn.Analytics(new Ih);static#t;#r}const Y$=Ih.analytics;function JYr(){Jye()}const eqr=()=>{const e=yw(),t=v1(r=>r.companyState);if(e.pathname.includes("/management/parent/")){const r=e.pathname.split("/")[3],n=t.companiesById[r];if(n!=null)return`${n.companyInfo.name} ${de.getLocalizedStrings().cockpit.cockpitHeaderSubsidiaryText}`}if(e.pathname.includes("management/month-end-report/company/")){const r=e.pathname.split("/")[4],n=t.companiesById[r];if(n!=null)return n.companyInfo.name}},Pce=e=>{switch(e){case"healthMonitor":return"health-monitor";case"taskManager":return"task-manager";default:return e}},Ftn=e=>{switch(e){case"healthMonitor":return"health monitor";case"taskManager":return"task manager";default:return e}};function tqr(e,t){return{updateDownloadStateHandler:r=>{e(Zbe(r))},onZeniLogoClick:()=>{t.themeState.toggle()},onLogOutClick:()=>{e(ide()),e(ode(!1)),ha.clearAll();const r=t.locationHook.state?.origin??"/";t.navigate(r,{replace:!0})},onNewCustomerClick:()=>{t.navigate("/onboarding/new"),Y$?.trackOnboardingNewCustomerStarted()},onThreadClick:(r,n,i)=>{const o=r.entityType.split(".");if(o.length===2){const a=Xse(o[0]);if(a!=null){const l=Pce(a);t.navigate(`/${l}`),i(r,n)}else console.warn(`Invalid navigation target in thread: ${o[0]}`)}},onNotificationClick:(r,n,i)=>{const o=r.entityType.split(".");if(r.isGlobalComment&&o.length===2){const a=Xse(o[0]);if(a!=null){const l=Pce(a);t.navigate(`/${l}`),i(r,n)}else console.warn(`Invalid navigation target in notification: ${o[0]}`)}}}}function rqr(e,t){const{signedInUser:r,cockpitHeader:n}=t,i=e.tenantState.currentTenantId,a=xw(e)?.companyName??"",l={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:i??""};return{signedInUser:r,cockpitHeader:n,downloadState:e.companyViewState.downloadState,downloadParams:{currentTenantCompanyName:a,cockpitEndPoint:`${Az}/cockpitTabs`,authParams:l}}}const nqr=Vve(rqr,tqr)(hLr);function iqr(){const e=c2r(),t=ha.getSignedInUser(),r=RR(),n=yw(),i=eqr(),o=v1(d=>Kbe(d)),a={tabsFileType:"excel",tabs:["management","subscription","portfolio","onboarding","healthMonitor"],filterByTabs:o.filterByTabs,timezone:Qbe()},l=n.pathname.split("/")[1];return Wt.jsx(nqr,{locationHook:n,themeState:e,signedInUser:t,cockpitHeader:i,allTabsViews:o,defaultOptions:a,analytics:Y$,currentTab:l,navigate:r})}const oqr=["/management/*","/subscription/*","/onboarding/*","/portfolio/*","/audit/*","/health-monitor/*","/task-manager/*"];function aqr({appContent:e}){const t=oqr.filter(r=>Uve(r)).length===0;return Wt.jsxs(Wt.Fragment,{children:[t?null:Wt.jsx(iqr,{}),Wt.jsx(Wt.Fragment,{children:e})]})}const sqr="cockpit",eve="init-enter";function lqr({location:e,visitedUrl:t}){const{pathname:r}=e;return b.useLayoutEffect(()=>{const n=t.get(r||eve);Mce(n!==void 0?n:0)}),null}const cqr=b.memo(lqr,(e,t)=>{const{location:r,visitedUrl:n}=e,{location:i}=t,o=r.pathname||eve,a=dqr();return n.set(o,a),!((i.pathname!==r.pathname||i.search!==r.search)&&i.hash==="")}),Mce=(e=0)=>window.requestAnimationFrame(()=>{window.scrollTo(0,e)}),dqr=()=>{let e=0;return document!=null&&document.documentElement!==null&&(e=document.documentElement.scrollTop),window.pageYOffset||e},tve=e=>b.lazy(async()=>{const t=e.toString(),r=ha.getForceRefreshedComponents(),n=new Set(r),i=n.has(t);try{const o=await e();return n.delete(t),ha.saveForceRefreshedComponents(Array.from(n)),o}catch(o){throw i||(n.add(t),ha.saveForceRefreshedComponents(Array.from(n)),location.reload()),o}}),uqr=tve(()=>bt(()=>import("./ScreenRoutes-ziq-yiHW.js"),__vite__mapDeps([248,5,1,6,9,249,17,8,7,2,15,4,10,12,18,19,20]))),pqr=tve(()=>bt(()=>import("./SignInScreen-CMKiwyNN.js"),__vite__mapDeps([250,9,1,6,5,249,17,8,18,19,20,7])));function hqr(){const e=b.useRef();e.current==null&&(e.current=new Map);const t=RR(),r=yw();return b.useEffect(()=>{JYr()},[]),b.useEffect(()=>{const n="signin/auth";ha.isSignedIn()===!1&&!r.pathname.includes(n)&&t(n,{replace:!0,state:{...r.state,message:"...",origin:r.pathname}})}),Wt.jsxs(gqr,{children:[Wt.jsx(cqr,{visitedUrl:e.current,location:r}),Wt.jsx(mqr,{})]})}const mqr=()=>{const e=ha.isSignedIn(),t=ha.getSignedInUser(),r=e&&vw(t),n=v1(d=>xw(d)),i={userId:t?.userId??"",sessionId:t?.zeniSessionId??"",tenantId:n.tenantId??""},o=v1(d=>Xbe(d)),l=v1(d=>Jbe(d)).map(d=>({companyId:d.companyId,tenantId:d.tenantId,companyName:d.name}));return Wt.jsx(C4r,{roomId:sqr,authParams:i,users:o,companies:l,authUrlEndPoint:`${wm.tenantMicroServiceBaseUrl}/1.0/commenting/auth`,fetchZeniUsers:!1,commentingUsersUrlEndPoint:`${wm.tenantMicroServiceBaseUrl}/1.0/users/zeni-users`,autoConnect:r,withRoomProvider:!1,loggedInUser:t,withThreadsProvider:!0,filter:{application:"cockpit"},children:Wt.jsx(fqr,{})})},fqr=()=>Wt.jsx(b.Suspense,{fallback:Wt.jsx(yqr,{children:Wt.jsx(vr,{size:"Large",start:!0})}),children:Wt.jsxs(Wve,{children:[Wt.jsx(rS,{path:"/",element:Wt.jsx(Gve,{to:"management",replace:!0})}),Wt.jsx(rS,{path:"/signin/auth",element:Wt.jsx(pqr,{})}),Wt.jsx(rS,{path:"*",element:Wt.jsx(aqr,{appContent:Wt.jsx(uqr,{})})})]})}),gqr=qt("div")``,yqr=qt("div")`
29864
+ `,jtn=vt(()=>bt(()=>import("./WarningsDrawerPage--s6b380L-BvzCi6Jk.js"),__vite__mapDeps([247,17,1,9,6,5,8,18,19,20,7])));var DYr=uwe();const h7=gw(DYr);class PYr{getSignedInUser(){const t=window.localStorage.getItem(this.ZENI_SESSION_ID),r=window.localStorage.getItem(this.ZENI_SIGNED_IN_USER);if(r!=null&&t!=null)return JSON.parse(this.decrypt(r,t))}getShowNegativeAmountInParenthesis(){const t=window.localStorage.getItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS),r=window.localStorage.getItem(this.ZENI_SESSION_ID);return t!=null&&r!=null?JSON.parse(this.decrypt(t,r)):!1}getShowNegativeAmountInParenthesisPDF(){const t=window.localStorage.getItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF),r=window.localStorage.getItem(this.ZENI_SESSION_ID);return t!=null&&r!=null?JSON.parse(this.decrypt(t,r)):!0}getSignedInUserTenant(t){const r=window.localStorage.getItem(this.ZENI_SIGNED_IN_USER_TENANTS),n=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null&&n!=null)return JSON.parse(this.decrypt(r,n)).find(o=>o.tenantEmailDomain===t)}getSignedInUserTenantWithId(t){const r=window.localStorage.getItem(this.ZENI_SIGNED_IN_USER_TENANTS),n=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null&&n!=null)return JSON.parse(this.decrypt(r,n)).find(o=>o.tenantId===t)}getForceRefreshedComponents(){const t=window.localStorage.getItem(this.ZENI_SESSION_ID),r=window.localStorage.getItem(this.ZENI_FORCE_REFRESHED_COMPONENTS);if(r&&t!=null){const n=this.decrypt(r,t);return n?JSON.parse(n):[]}return[]}saveForceRefreshedComponents(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);r!=null?window.localStorage.setItem(this.ZENI_FORCE_REFRESHED_COMPONENTS,this.encrypt(JSON.stringify(t),r)):console.warn("Can't update the force refreshed components when the user is logged out!")}saveSignedInUserWithSession(t,r){if(t==null||r==null)throw new Error("Can't accept nil for user or session Id");window.localStorage.setItem(this.ZENI_SESSION_ID,r),window.localStorage.setItem(this.ZENI_SIGNED_IN_USER,this.encrypt(JSON.stringify(t),r))}saveSignedInUserTenants(t,r){const n=r??window.localStorage.getItem(this.ZENI_SESSION_ID);n!=null?window.localStorage.setItem(this.ZENI_SIGNED_IN_USER_TENANTS,this.encrypt(JSON.stringify(t),n)):console.warn("Can't update the setting when the user is logged out!")}saveShowNegativeAmountInParenthesis(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null)window.localStorage.setItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS,this.encrypt(JSON.stringify(t),r));else throw new Error("Can't update the setting when the user is logged out!")}saveShowNegativeAmountInParenthesisPDF(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);if(r!=null)window.localStorage.setItem(this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF,this.encrypt(JSON.stringify(t),r));else throw new Error("Can't update the setting when the user is logged out!")}isSignedIn(){return[this.ZENI_SESSION_ID,this.ZENI_SIGNED_IN_USER].map(r=>window.localStorage.getItem(r)!=null).reduce((r,n)=>r&&n)}clearAll(){this.ALL_IDs.forEach(t=>window.localStorage.removeItem(t))}setTheme(t){const r=window.localStorage.getItem(this.ZENI_SESSION_ID);r!=null&&window.localStorage.setItem(this.ZENI_THEME,this.encrypt(t,r))}getTheme(){const t=window.localStorage.getItem(this.ZENI_THEME),r=window.localStorage.getItem(this.ZENI_SESSION_ID);if(t!=null&&r!==null)return this.decrypt(t,r)}encrypt(t,r){return h7.AES.encrypt(t,r).toString()}decrypt(t,r){return h7.AES.decrypt(t,r).toString(h7.enc.Utf8)}ZENI_SESSION_ID="ZENI_SESSION_ID";ZENI_SIGNED_IN_USER="ZENI_SIGNED_IN_USER";ZENI_SIGNED_IN_USER_TENANTS="ZENI_SIGNED_IN_USER_TENANTS";ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS="ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS";ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF="ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF";ZENI_THEME="ZENI_THEME";ZENI_FORCE_REFRESHED_COMPONENTS="ZENI_FORCE_REFRESHED_COMPONENTS";ALL_IDs=[this.ZENI_SESSION_ID,this.ZENI_SIGNED_IN_USER,this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS,this.ZENI_SHOW_NEGATIVE_AMOUNT_IN_PARENTHESIS_PDF,this.ZENI_SIGNED_IN_USER_TENANTS,this.ZENI_THEME,this.ZENI_FORCE_REFRESHED_COMPONENTS]}const ha=new PYr,MYr=({children:e})=>{const t=lwe("(prefers-color-scheme: dark)"),[r,n]=$.useState({dark:t});b.useEffect(()=>{const a=ha.getTheme()==null?t:ha.getTheme()==="dark";r.dark!==a&&n({dark:a})},[r,t]);const i=()=>{const a=!r.dark;ha.setTheme(a?"dark":"light"),n({...r,dark:a})},o=r.dark?y2r():g2r();return Wt.jsx(d2r,{dark:r.dark,webAppTheme:o,toggle:i,children:e})},IYr=["sandbox","production"],jYr=e=>zp(e,IYr),RYr=e=>{switch(e){case"DEV":case"QA":case"PUNE":case"SUNNYVALE":case"DELHI":case"MOHALI":return"sandbox";case"PROD":case"NEXT":return"production";default:return"sandbox"}},FYr=["development","staging","production"],OYr=e=>zp(e,FYr),NYr=e=>{switch(e){case"QA":case"PUNE":case"SUNNYVALE":case"DELHI":case"MOHALI":return"staging";case"PROD":case"NEXT":return"production";case"DEV":default:return"development"}},zYr=["DEV","QA","PUNE","SUNNYVALE","DELHI","MOHALI","PROD","NEXT"],BYr=e=>zp(e,zYr),Dl=BYr("DEV"),Z7=()=>Dl==="DEV"||Dl==="QA"||Dl==="PUNE"||Dl==="SUNNYVALE"||Dl==="DELHI"||Dl==="MOHALI",Az="https://zeni-webapp-dev.uc.r.appspot.com",HYr="63d3a2406505a5737a2b4debdb513f20",Rtn=jYr(RYr(Dl)),VYr=OYr(NYr(Dl));function UYr(e,t){return h7.AES.decrypt(e,t).toString(h7.enc.Utf8)}const WYr="ZENI-WEB-APP-",Xye=Dl==="DEV"||Dl==="QA"?.2:.8,uo={sentryDsn:"",sentryTraceSamplingRate:Xye,googleClientId:"",googleMapsAPIKey:"",microsoftClientId:"",mixpanelToken:"",pusherClientSecret:"",pusherCluster:"",quickbooksKey:"",appUrl:"",featureClientSecret:"",featureClientSecretCockpit:"",cardVaultId:"",stripeKey:"",qboRedirectionUrl:"",mixpanelUrl:"",mixpanelHMUrl:""};let wm,Lz;function GYr(e){uo.sentryDsn=e.keys.SENTRY_DSN,uo.sentryTraceSamplingRate=e.keys.SENTRY_TRACE_SAMPLE_RATES!=null?parseInt(e.keys.SENTRY_TRACE_SAMPLE_RATES):Xye,uo.googleClientId=e.keys.GOOGLE_CLIENT_ID,uo.googleMapsAPIKey=e.keys.GOOGLE_MAP_KEY,uo.microsoftClientId=e.keys.MICROSOFT_CLIENT_ID,uo.mixpanelToken=e.keys.MIXPANEL_TOKEN,uo.pusherClientSecret=e.keys.PUSHER_CLIENT_SECRET,uo.pusherCluster=e.keys.PUSHER_CLUSTER,uo.quickbooksKey=e.keys.QUICKBOOK_TOKEN,uo.appUrl=e.keys.WEB_ENDPOINT,uo.featureClientSecret=e.keys.STATSIG_CLIENT_SECRET,uo.featureClientSecretCockpit=e.keys.STATSIG_CLIENT_SECRET_COCKPIT,uo.cardVaultId=e.keys.UNIT_VAULT_ID,uo.stripeKey=e.keys.STRIPE_KEY,uo.qboRedirectionUrl=e.keys.QBO_URL,uo.mixpanelUrl=e.keys.MIXPANEL_URL,uo.mixpanelHMUrl=e.keys.MIXPANEL_HM_URL,Lz=e.externalEndPoints,wm=e.apiEndPoints,YYr()}function YYr(){try{const e=new Set;if(wm!=null){for(const t of Object.values(wm))if(typeof t=="string"&&t.startsWith("http"))try{e.add(new URL(t).origin)}catch{}}for(const t of e){const r=document.createElement("link");r.rel="preconnect",r.href=t,r.crossOrigin="anonymous",document.head.appendChild(r)}}catch{}}async function qYr(){const t=encodeURIComponent(JSON.stringify({environment:Dl}));try{const r=await fetch(`${Az}/api/keys?query=${t}`);if(!r.ok)throw new Error(`HTTP error! status: ${r.status}`);return await r.json()}catch(r){return console.error("Error fetching details:",r),null}}let Ace=!1;function U5(){Ace||(a1.init(HYr,{api_host:Lz.mixpanelBaseUrl,ignore_dnt:!0,store_google:!1,track_marketing:!1}),Ace=!0)}let Lce=!1,Dce=!1;function Jye(){if(Lce)return;Lce=!0,U5();const e=yn.extractUtmParamsFromUrl();Object.keys(e).length>0&&a1.register(e),Z7()&&console.log(`[UTM] first-touch bootstrap: ${JSON.stringify(e)}`)}function ZYr(){return a1?.persistence?.props??null}const KYr=new Set(["dclid","fbclid","gclid","ko_click_id","li_fat_id","msclkid","sccid","ttclid","twclid","wbraid"]);function QYr(){const e=ZYr();if(e==null)return;const t=Object.keys(e).filter(r=>r.startsWith("utm_")||KYr.has(r));for(const r of t)a1.unregister(r);Z7()&&t.length>0&&console.log(`[UTM] cleared from cookie: ${JSON.stringify(t)}`)}function XYr(){Dce||(Dce=!0,QYr())}class Ih{identify(t,r){if(U5(),this.#r=t,t!=null&&r!=null&&(Ih.#t==null||qbe({userId:t,traits:r},Ih.#t)!==!0)){const{$email:n,...i}={...r};a1.identify(t),n&&n!=null&&a1.people.set_once({$email:n}),a1.people.set(i),Ih.#t={userId:t,traits:r},Z7()&&console.log(`*** Called people set with userId ${t} traits ${JSON.stringify(r)} `)}}identifyUserAndCompany(t,r,n,i,o){throw Error("Use identify in the web-app!!")}track(t,r){if(U5(),this.#r==null){console.error("user is not identified :(, so can not fire event");return}Jye();const n={distinct_id:this.#r,...r};a1.track(t,n),XYr(),Z7()&&console.log(`*** firing ${t} with props ${JSON.stringify(r)}`)}alias(t,r){U5(),a1.alias(t,r)}reset(){U5(),a1.reset(),this.#r=void 0,Ih.#t=void 0}static get analytics(){return this.#e}static#e=new yn.Analytics(new Ih);static#t;#r}const Y$=Ih.analytics;function JYr(){Jye()}const eqr=()=>{const e=yw(),t=v1(r=>r.companyState);if(e.pathname.includes("/management/parent/")){const r=e.pathname.split("/")[3],n=t.companiesById[r];if(n!=null)return`${n.companyInfo.name} ${de.getLocalizedStrings().cockpit.cockpitHeaderSubsidiaryText}`}if(e.pathname.includes("management/month-end-report/company/")){const r=e.pathname.split("/")[4],n=t.companiesById[r];if(n!=null)return n.companyInfo.name}},Pce=e=>{switch(e){case"healthMonitor":return"health-monitor";case"taskManager":return"task-manager";default:return e}},Ftn=e=>{switch(e){case"healthMonitor":return"health monitor";case"taskManager":return"task manager";default:return e}};function tqr(e,t){return{updateDownloadStateHandler:r=>{e(Zbe(r))},onZeniLogoClick:()=>{t.themeState.toggle()},onLogOutClick:()=>{e(ide()),e(ode(!1)),ha.clearAll();const r=t.locationHook.state?.origin??"/";t.navigate(r,{replace:!0})},onNewCustomerClick:()=>{t.navigate("/onboarding/new"),Y$?.trackOnboardingNewCustomerStarted()},onThreadClick:(r,n,i)=>{const o=r.entityType.split(".");if(o.length===2){const a=Xse(o[0]);if(a!=null){const l=Pce(a);t.navigate(`/${l}`),i(r,n)}else console.warn(`Invalid navigation target in thread: ${o[0]}`)}},onNotificationClick:(r,n,i)=>{const o=r.entityType.split(".");if(r.isGlobalComment&&o.length===2){const a=Xse(o[0]);if(a!=null){const l=Pce(a);t.navigate(`/${l}`),i(r,n)}else console.warn(`Invalid navigation target in notification: ${o[0]}`)}}}}function rqr(e,t){const{signedInUser:r,cockpitHeader:n}=t,i=e.tenantState.currentTenantId,a=xw(e)?.companyName??"",l={userId:r?.userId??"",sessionId:r?.zeniSessionId??"",tenantId:i??""};return{signedInUser:r,cockpitHeader:n,downloadState:e.companyViewState.downloadState,downloadParams:{currentTenantCompanyName:a,cockpitEndPoint:`${Az}/cockpitTabs`,authParams:l}}}const nqr=Vve(rqr,tqr)(hLr);function iqr(){const e=c2r(),t=ha.getSignedInUser(),r=RR(),n=yw(),i=eqr(),o=v1(d=>Kbe(d)),a={tabsFileType:"excel",tabs:["management","subscription","portfolio","onboarding","healthMonitor"],filterByTabs:o.filterByTabs,timezone:Qbe()},l=n.pathname.split("/")[1];return Wt.jsx(nqr,{locationHook:n,themeState:e,signedInUser:t,cockpitHeader:i,allTabsViews:o,defaultOptions:a,analytics:Y$,currentTab:l,navigate:r})}const oqr=["/management/*","/subscription/*","/onboarding/*","/portfolio/*","/audit/*","/health-monitor/*","/task-manager/*"];function aqr({appContent:e}){const t=oqr.filter(r=>Uve(r)).length===0;return Wt.jsxs(Wt.Fragment,{children:[t?null:Wt.jsx(iqr,{}),Wt.jsx(Wt.Fragment,{children:e})]})}const sqr="cockpit",eve="init-enter";function lqr({location:e,visitedUrl:t}){const{pathname:r}=e;return b.useLayoutEffect(()=>{const n=t.get(r||eve);Mce(n!==void 0?n:0)}),null}const cqr=b.memo(lqr,(e,t)=>{const{location:r,visitedUrl:n}=e,{location:i}=t,o=r.pathname||eve,a=dqr();return n.set(o,a),!((i.pathname!==r.pathname||i.search!==r.search)&&i.hash==="")}),Mce=(e=0)=>window.requestAnimationFrame(()=>{window.scrollTo(0,e)}),dqr=()=>{let e=0;return document!=null&&document.documentElement!==null&&(e=document.documentElement.scrollTop),window.pageYOffset||e},tve=e=>b.lazy(async()=>{const t=e.toString(),r=ha.getForceRefreshedComponents(),n=new Set(r),i=n.has(t);try{const o=await e();return n.delete(t),ha.saveForceRefreshedComponents(Array.from(n)),o}catch(o){throw i||(n.add(t),ha.saveForceRefreshedComponents(Array.from(n)),location.reload()),o}}),uqr=tve(()=>bt(()=>import("./ScreenRoutes-VDuiXW2A.js"),__vite__mapDeps([248,5,1,6,9,249,17,8,7,2,15,4,10,12,18,19,20]))),pqr=tve(()=>bt(()=>import("./SignInScreen-BxnvlP3D.js"),__vite__mapDeps([250,9,1,6,5,249,17,8,18,19,20,7])));function hqr(){const e=b.useRef();e.current==null&&(e.current=new Map);const t=RR(),r=yw();return b.useEffect(()=>{JYr()},[]),b.useEffect(()=>{const n="signin/auth";ha.isSignedIn()===!1&&!r.pathname.includes(n)&&t(n,{replace:!0,state:{...r.state,message:"...",origin:r.pathname}})}),Wt.jsxs(gqr,{children:[Wt.jsx(cqr,{visitedUrl:e.current,location:r}),Wt.jsx(mqr,{})]})}const mqr=()=>{const e=ha.isSignedIn(),t=ha.getSignedInUser(),r=e&&vw(t),n=v1(d=>xw(d)),i={userId:t?.userId??"",sessionId:t?.zeniSessionId??"",tenantId:n.tenantId??""},o=v1(d=>Xbe(d)),l=v1(d=>Jbe(d)).map(d=>({companyId:d.companyId,tenantId:d.tenantId,companyName:d.name}));return Wt.jsx(C4r,{roomId:sqr,authParams:i,users:o,companies:l,authUrlEndPoint:`${wm.tenantMicroServiceBaseUrl}/1.0/commenting/auth`,fetchZeniUsers:!1,commentingUsersUrlEndPoint:`${wm.tenantMicroServiceBaseUrl}/1.0/users/zeni-users`,autoConnect:r,withRoomProvider:!1,loggedInUser:t,withThreadsProvider:!0,filter:{application:"cockpit"},children:Wt.jsx(fqr,{})})},fqr=()=>Wt.jsx(b.Suspense,{fallback:Wt.jsx(yqr,{children:Wt.jsx(vr,{size:"Large",start:!0})}),children:Wt.jsxs(Wve,{children:[Wt.jsx(rS,{path:"/",element:Wt.jsx(Gve,{to:"management",replace:!0})}),Wt.jsx(rS,{path:"/signin/auth",element:Wt.jsx(pqr,{})}),Wt.jsx(rS,{path:"*",element:Wt.jsx(aqr,{appContent:Wt.jsx(uqr,{})})})]})}),gqr=qt("div")``,yqr=qt("div")`
29865
29865
  display: flex;
29866
29866
  flex: 1 1 auto;
29867
29867
  flex-direction: row;