@zeniai/web-app-ui 4.14.31-dev → 4.14.31-qa

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 (279) hide show
  1. package/dist/assets/{ACHDetailsPage-CFhoboVe-JodbwPsQ.js → ACHDetailsPage-CFhoboVe-DcRe2nTt.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DB-fTWME-CgGQsnV1.js → AIPerformancePage-DB-fTWME-DYZeuOnD.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-pEEhPqOb-BzcKyQfW.js → AccountInfoPage-pEEhPqOb-B-Hd8VtG.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-eYEsv7ac-vCK7G4bh.js → AccountInfoPageContent-eYEsv7ac-DDYvpmDy.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-jYWr_8TD-q_Ikf2Tn.js → AccountLockedInfoModal-jYWr_8TD-DcOOzUkE.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-3Q0EPYhL-BH4of7uu.js → AccountReconDetailsDrawerPage-3Q0EPYhL-27wJMTjD.js} +1 -1
  7. package/dist/assets/{AccountRow-CdgvnPG8-Cz30EYLJ.js → AccountRow-CdgvnPG8-BR1hQ4Zy.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-DHo59LLN-SJuuNn3m.js → AccountsPromoCardStack-DHo59LLN-ChbxyMzd.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-BzO1FXUa-Fyg_NOS1.js → AddAddressForCardDrawer-BzO1FXUa-kLdLeGkd.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BfXFbHjk-CMzYyYW2.js → AddToWalletPage-BfXFbHjk-CYPGe181.js} +1 -1
  11. package/dist/assets/{AddressRoutes-B6KyTWyT.js → AddressRoutes-XcDMlDlS.js} +1 -1
  12. package/dist/assets/{AddressScreen-ZPcySSaO.js → AddressScreen-DPPx0MfK.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-C1hFq4KH-Zi5GTQ1z.js → AgingReportsPage-C1hFq4KH-DN--gN3O.js} +1 -1
  14. package/dist/assets/{AiCfoScreen-C7jQo3LZ.js → AiCfoScreen-30SW2q3w.js} +1 -1
  15. package/dist/assets/{AllUserItems-B6pnKByY-z-llp8Ld.js → AllUserItems-B6pnKByY-DyP7v-cA.js} +1 -1
  16. package/dist/assets/{ApAgingDetailPage-CxLVGnpY-BrZpRxc6.js → ApAgingDetailPage-CxLVGnpY-BYGcfd1t.js} +1 -1
  17. package/dist/assets/{AppBasePage-DiVxF606-DEIAJtmX.js → AppBasePage-DiVxF606-AXI0aqhJ.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-B_EWsf8O-nCzxlMlY.js → AppDrawerContent-B_EWsf8O-CMysKcTU.js} +1 -1
  19. package/dist/assets/{ApprovalRulesSettingsPage-HHjDp_NQ-Dk_su188.js → ApprovalRulesSettingsPage-HHjDp_NQ-jrLhlHCF.js} +1 -1
  20. package/dist/assets/{ArAgingChart-Ba4A-i2N-DVKxnxLC.js → ArAgingChart-Ba4A-i2N-PODxdvyn.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-prgcvsS4-B6KvY1N_.js → ArAgingDetailPage-prgcvsS4-BsTAVwTa.js} +1 -1
  22. package/dist/assets/{AttachmentView-SsWJw4A8-CiFA7Mtk.js → AttachmentView-SsWJw4A8-RJr9hQhO.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-DE6gDjGA-CuriAdQu.js → BalancesInsightWithToolTip-DE6gDjGA-e_65zoZY.js} +1 -1
  24. package/dist/assets/{BankAccountSection-B4jmT0lb-D2VaI5gJ.js → BankAccountSection-B4jmT0lb-zwPodZbw.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-Bz2itMx0-EQdFts4P.js → BankAccountWarningSection-Bz2itMx0-BfZtVATK.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-BcVk7bTt-CcJ2zW2K.js → BankConnectionsSettingsPage-BcVk7bTt-C3Wp_iZl.js} +1 -1
  27. package/dist/assets/{BillDetailPage-Dkqmi4H1-BFTmBvTz.js → BillDetailPage-Dkqmi4H1-C6mDNSc2.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-CB_WVdNG.js → BillPayApprovalRoutes-CaSA1uSR.js} +1 -1
  29. package/dist/assets/{BillPayApprovalRuleDetailPage-Blxlv3pa-NuWc5jPY.js → BillPayApprovalRuleDetailPage-Blxlv3pa-BYAGbgwQ.js} +1 -1
  30. package/dist/assets/{BillPayApprovalRulesPage-B_QwggJS-Csxvsi8z.js → BillPayApprovalRulesPage-B_QwggJS-BveqhBul.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-Bx2AXpWe-DWku5Qhm.js → BillPayPromoPage-Bx2AXpWe-BrIbmhut.js} +1 -1
  32. package/dist/assets/{BillPayRoutes-9FjXpkgQ.js → BillPayRoutes-CMdKHc5T.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-CM7_DkHC-B8MycdyA.js → BillPaySetUpPage-CM7_DkHC-Bt5CjJNs.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-DM0OIfxa-B3DQmXkS.js → BillingSettingsPage-DM0OIfxa-CKHUmPAw.js} +1 -1
  35. package/dist/assets/{BillsBulkReviewDrawerPage-C3xmQ7wz-DgU-ZFK3.js → BillsBulkReviewDrawerPage-C3xmQ7wz-Cf_j4N1J.js} +1 -1
  36. package/dist/assets/{BoxItem-CvCo0wr6-QhJ82HMO.js → BoxItem-CvCo0wr6-BAtsmvg4.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-BAZmkR4a-DKUcO_Rf.js → BusinessVerificationPage-BAZmkR4a-BbYTLnZH.js} +1 -1
  38. package/dist/assets/{BusinessVerificationPageScreen-BKBP5CJh.js → BusinessVerificationPageScreen-DVGxc_kT.js} +1 -1
  39. package/dist/assets/{BusyIndication-Cp8KWKB2-C3oZ8Ini.js → BusyIndication-Cp8KWKB2-paVspSd6.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-DHtSIcZZ-kHFdQu5S.js → CardNumberSubText-DHtSIcZZ-CJNkVpEB.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-CNS1FA6b-Clcw1gL0.js → CashbackDetailPage-CNS1FA6b-DNPbsy8R.js} +1 -1
  42. package/dist/assets/{ChargeCardDetailPage-C4NeG7IM-CcgpSGTB.js → ChargeCardDetailPage-C4NeG7IM-Bqzrs3Tx.js} +1 -1
  43. package/dist/assets/{ChargeCardListPage-DNYiWaEf-BZBAcxPe.js → ChargeCardListPage-DNYiWaEf-D4WPR4qJ.js} +1 -1
  44. package/dist/assets/{ChargeCardListTable-DdnyzdFf-D27zGMD0.js → ChargeCardListTable-DdnyzdFf-BLIVQeNK.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-CXlqzaUt-Cw-q5fHs.js → ChargeCardPaymentHistoryPage-CXlqzaUt-nlgSDdhG.js} +1 -1
  46. package/dist/assets/{ChargeCardPromoPage-D4canPX9-B2gMZ94L.js → ChargeCardPromoPage-D4canPX9-CjFFR5oK.js} +1 -1
  47. package/dist/assets/{ChargeCardRoutes-B9ifIaPD.js → ChargeCardRoutes-DipRg107.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-BtikPFOq-B1Q5Q-k4.js → ChargeCardSetupPage-BtikPFOq-Ci06zFqY.js} +1 -1
  49. package/dist/assets/{ChargeCardStatementsPage-RepWBbvJ-BeTG3xG9.js → ChargeCardStatementsPage-RepWBbvJ-qZhzfjJs.js} +1 -1
  50. package/dist/assets/{CheckDepositDrawerPage-BCqg3irO-LJQj-9cr.js → CheckDepositDrawerPage-BCqg3irO-CU861UMl.js} +1 -1
  51. package/dist/assets/{CollapsableReportTable-gy7Ue_fk-xkuj86hA.js → CollapsableReportTable-gy7Ue_fk-Cp0GdxMJ.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-BsCx7q-g-C5hfQprP.js → CompanyOfficerDetailsSection-BsCx7q-g-Bqu05vNe.js} +1 -1
  53. package/dist/assets/{CompanyPassportCard-BbUWOs1U-Dw1HMrsN.js → CompanyPassportCard-BbUWOs1U-CQapOMzG.js} +1 -1
  54. package/dist/assets/{CompanyPassportPage-BnP2oA1U-BahIQeuB.js → CompanyPassportPage-BnP2oA1U-DG-ray3n.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-CT9c7lvA.js → CompanyPassportScreen-Bsk4iSLd.js} +1 -1
  56. package/dist/assets/{CompleteProfile-TiRsm2Fm-fE1NUszo.js → CompleteProfile-TiRsm2Fm-Dmw9B9gd.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-D7J36hZf-CSVT9V2q.js → ConfettiBurst-D7J36hZf-DAmXS8qh.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-D6BkdM1l.js → ConnectionAuthScreen-CdbJnza-.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-vBI13ZbI.js → ConstrainedInnerElement-CgdnMeoA-CpoLys2G.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-Dihzr1D5-BUR2QFLa.js → CreateOrEditVendorPage-Dihzr1D5-Df0a--du.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-CZGzDuxC-BUIdND4_.js → CreditCardPaymentDrawerPage-CZGzDuxC-CG7xBUFZ.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-BTAmIqPa-rlZjvsTh.js → CurrencySelectField-BTAmIqPa-BOvsicp3.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-MVI7kqIh-JD8ZqQ1I.js → CustomerOnboardingActivationPage-MVI7kqIh-B52EVUog.js} +1 -1
  64. package/dist/assets/{CustomerOnboardingAuthScreen-DsZqZ3Im.js → CustomerOnboardingAuthScreen-DO7d0gIb.js} +1 -1
  65. package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--CSEqEIM8.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CaI_0pCb-D_9R8ntI.js → CustomerOnboardingDetailPageSkeleton-CaI_0pCb-Dx2c__Yb.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-CO_c2COV-CTf7zsp5.js → CustomerOnboardingNoStepsPage-CO_c2COV-CcNi7DUF.js} +1 -1
  68. package/dist/assets/{CustomerOnboardingPage-BF0vuYaJ-DB-M7FrJ.js → CustomerOnboardingPage-BF0vuYaJ-CpeT13Rn.js} +1 -1
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-BGFdLX1i-C8cOT0zx.js → CustomerOnboardingProductSuitePage-BGFdLX1i-C7qSBsYV.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-BiogvBuq.js → CustomerOnboardingRoutes-BqTX1iyW.js} +1 -1
  71. package/dist/assets/{Dashboard-Qjedd4r--CRbsfODt.js → Dashboard-Qjedd4r--DdmcDs7e.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-Deith_ON-D8fEi8Zc.js → DashboardReportPage-Deith_ON-BYNIuWwI.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-BQeGUCAH.js → DashboardRoutes-C3tqy16Q.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-C7DfUDio-C16c7XTp.js → DashboardSidebarBackgroundAnimation-C7DfUDio-CXRw7JSP.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-DDgedZUJ.js → DefaultTenantHome-DTL7QcJH.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-7kYotKov-QpJvWZ45.js → DepositAccTransactionItem-7kYotKov-C07q_etT.js} +1 -1
  77. package/dist/assets/{DepositAccTransactionListPage-Bop4Uj5w-oeif2Id9.js → DepositAccTransactionListPage-Bop4Uj5w-DYSx2RBP.js} +1 -1
  78. package/dist/assets/{DomesticWireDetailScreen-6HCK_7TE.js → DomesticWireDetailScreen-D_BfoPLh.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-_TyXsqEx-BYHoiTtM.js → DomesticWireDetailsPage-_TyXsqEx-jkwnoEUE.js} +1 -1
  80. package/dist/assets/{DownloadOverlay-Cmd727bN-C-PzxP5F.js → DownloadOverlay-Cmd727bN-CUU7ZY9L.js} +1 -1
  81. package/dist/assets/{DrawerPage-DmGwfnGp-soZmQNN_.js → DrawerPage-DmGwfnGp-LTv4sDcy.js} +1 -1
  82. package/dist/assets/{DrawerScreen-C_1QezB2.js → DrawerScreen-DtF71b7B.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-YyluIC6R-B0i1VKsb.js → EditPeoplePage-YyluIC6R-CXdaDa7G.js} +1 -1
  84. package/dist/assets/{EditReimbursementDetailPage-DeMid2Ko-B5ltV9Cy.js → EditReimbursementDetailPage-DeMid2Ko-Bv-8Xabp.js} +1 -1
  85. package/dist/assets/{EntityDetailPage-DPTSSZdS-CPjJOO2E.js → EntityDetailPage-DPTSSZdS-oHoyHWu0.js} +1 -1
  86. package/dist/assets/{EntityDetailRoutes--mZVfECz.js → EntityDetailRoutes-DYnivlwX.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-5NbutA8l-DL6jpdFo.js → EntitySummarySection-5NbutA8l-CQbl1YIH.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-CQ_3WluW-CCAAzH1q.js → ExpenseAutomationOverviewPage-CQ_3WluW-CLWld5W7.js} +1 -1
  89. package/dist/assets/{ExpenseAutomationPage-VuU4acYd-BNMHy7wa.js → ExpenseAutomationPage-VuU4acYd-B7T-Dg4p.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-DyeVLVvz.js → ExpenseAutomationRoutes-BlW2sTwn.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-DhoNmyC2-BM7D8t94.js → ExpressPayPage-DhoNmyC2-Bd-YVNzq.js} +1 -1
  92. package/dist/assets/{FeaturePreviewPage-GSwhPxgP-CknFQRpv.js → FeaturePreviewPage-GSwhPxgP-CXXTQoUA.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-DcXxWeeZ.js → FeaturePreviewScreen-CpHWA-St.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-DaueHRo4-R5WhFSRV.js → FollowStepsSection-DaueHRo4-FQso0zsG.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-DG7_1HOT-BY_P61_d.js → GlobalReviewListPage-DG7_1HOT-_eh0o3Lh.js} +1 -1
  96. package/dist/assets/{InformationCardStack-zc-BxR7F-Dc1qaC3e.js → InformationCardStack-zc-BxR7F-CH328-RF.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-DxCA5sFh-BcClR9fT.js → InsightsCardStack-DxCA5sFh-Y8l4503l.js} +1 -1
  98. package/dist/assets/{InsightsSection-BdFG3j3R-D7JeFV31.js → InsightsSection-BdFG3j3R-DjHyJY78.js} +1 -1
  99. package/dist/assets/{IntegrationsSettingsPage-CaiL3kqS-BK30afn3.js → IntegrationsSettingsPage-CaiL3kqS-CiO2l-pg.js} +1 -1
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-BrQVSzeS-BpNTGybF.js → InternationalWireSwiftDetailsPage-BrQVSzeS-B8g9fXts.js} +1 -1
  101. package/dist/assets/{InternationalWireVerificationPage-NaLnhW9C-xEbEY4G_.js → InternationalWireVerificationPage-NaLnhW9C-Be5m5GNN.js} +1 -1
  102. package/dist/assets/{InviteFormPage-fjqv2l7h-CN7vzCNz.js → InviteFormPage-fjqv2l7h-CLLSBMJ2.js} +1 -1
  103. package/dist/assets/{InvitePageListView-CQecQhxr-D7nG5RDJ.js → InvitePageListView-CQecQhxr-DHxSXSin.js} +1 -1
  104. package/dist/assets/{InvitePeoplePage-DAEBuOnk-etA_btSE.js → InvitePeoplePage-DAEBuOnk-CNuAu3aA.js} +1 -1
  105. package/dist/assets/{InvoiceUploadSection-58l6ePuH-DGEZcLC_.js → InvoiceUploadSection-58l6ePuH-CbCDsLyQ.js} +1 -1
  106. package/dist/assets/{IssueChargeCardPage-Bkxqsgax-BZ-SKXi3.js → IssueChargeCardPage-Bkxqsgax-B2E0w7s1.js} +1 -1
  107. package/dist/assets/{LabeledAddressValue-CZfFV97h-Bb57sB9z.js → LabeledAddressValue-CZfFV97h-D0qxrk9o.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-D66XOhMx-DAzGEgKS.js → LabeledAddressValueField-D66XOhMx-BL2wLyLH.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-BtnsqE4D-pO3EStbM.js → LabeledControlledCheckBoxField-BtnsqE4D-B85xoPON.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-kopByxLB-CVmx734o.js → LabeledCountryMultiSelectField-kopByxLB-1-3v1UQa.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-B6An-cwq-ZwV4dPE-.js → LabeledCreatableSingleSelectField-B6An-cwq-DFSBA92N.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-D_ZD8JTn-EgNCcbbj.js → LabeledDocumentField-D_ZD8JTn-vKeq6vm6.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-CJ7ncCzH-yHUhBReW.js → LabeledDropDownFormattedTextField-CJ7ncCzH-B0WjHFnN.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-CSfzMDYO-Ccf6Bxv0.js → LabeledEmailInputField-CSfzMDYO-CWt52Wcv.js} +1 -1
  115. package/dist/assets/{LabeledNameField-DZJXGYR9-C9Z5T7ep.js → LabeledNameField-DZJXGYR9-BrTXKAba.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-D_LoOMiZ-CAsbCcep.js → LabeledSingleSelectField-D_LoOMiZ-BMpo-aMs.js} +1 -1
  117. package/dist/assets/{LabeledText-A1h_ionS-CcjmiFmI.js → LabeledText-A1h_ionS-CFl8s8G-.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-EIyuSMIG.js → LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-Q6YssO3g.js} +1 -1
  119. package/dist/assets/{LabeledZeniRolesDropDownField-DmynBXbJ-DglcXxDL.js → LabeledZeniRolesDropDownField-DmynBXbJ-B4T-A7Cu.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-D6-fL4a6-DlR8vjGO.js → LinkJETransactionPage-D6-fL4a6-tCaqs9Yj.js} +1 -1
  121. package/dist/assets/{LockCardPage-BDlnh_zf-64lzFlF5.js → LockCardPage-BDlnh_zf-cKP8zIxD.js} +1 -1
  122. package/dist/assets/{LowBalancePopup-CBPl_udd-Nqllub28.js → LowBalancePopup-CBPl_udd-BorudEL4.js} +1 -1
  123. package/dist/assets/{MagicLinkACHDetailsPage-eq8wlXQr-DwBTA9or.js → MagicLinkACHDetailsPage-eq8wlXQr-C2vI5jVH.js} +1 -1
  124. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BcNOhJgL-M9e4wRPN.js → MagicLinkDomesticWireDetailsPage-BcNOhJgL-mWcNcIhr.js} +1 -1
  125. package/dist/assets/{MagicLinkInternationalWireDetailsPage-Df8XYlkg-BKUO0J46.js → MagicLinkInternationalWireDetailsPage-Df8XYlkg-bsxOE2QI.js} +1 -1
  126. package/dist/assets/{MagicLinkRoutes-B4rSGEA5.js → MagicLinkRoutes-CcsKjkce.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-DL54w9kv.js → MagicLinkSignInScreen-Dw8ViAP-.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-Cl461HWp-DrFI3SFX.js → MagicLinkSuccessPage-Cl461HWp-01GdAVLj.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-DoIMYrRv-BmkYYs3S.js → MagicLinkTitleSection-DoIMYrRv-wUyCV4b7.js} +1 -1
  130. package/dist/assets/{MailingDetailsSection-NdwWGQ88-M0GYvrro.js → MailingDetailsSection-NdwWGQ88-ChhAh-Lq.js} +1 -1
  131. package/dist/assets/{MobileAppDrawer-D4KAg1N8.js → MobileAppDrawer-D7V2koAX.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-CkkW1atP-BhjeSlOV.js → MoreMenuButton-CkkW1atP-CT7ietod.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-BU6TBzI1-D2Qaudqr.js → MyBankConnectionsSettingsPage-BU6TBzI1-DURfzXrx.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-DcunCDU6-NjjjBd7F.js → MyPendingActivationChargeCardListPage-DcunCDU6-CQIAZ-Ax.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-DF7ahyXE-BjXkIrz2.js → MyProfileSettingsPage-DF7ahyXE-BEXIytCm.js} +1 -1
  136. package/dist/assets/{NavBarWithPicker-D2v1fhLS-CH1wdNXM.js → NavBarWithPicker-D2v1fhLS-CGpIi67k.js} +1 -1
  137. package/dist/assets/{NavigationArrow-CWUL-6kN-DVve579d.js → NavigationArrow-CWUL-6kN-CRVEGy5S.js} +1 -1
  138. package/dist/assets/{NavigationDots-c-XSrFzE-eujVKwdH.js → NavigationDots-c-XSrFzE-Bl0Sm_Ng.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-FGEO68I8-XZyzhNzP.js → NewGlobalMerchantPage-FGEO68I8-BKtwnvr_.js} +1 -1
  140. package/dist/assets/{NoDataChart-DJhSgtLu-BSak9fMr.js → NoDataChart-DJhSgtLu-BO4-72hz.js} +1 -1
  141. package/dist/assets/{NoDataTable-BZiwo2qK-Cb8q0aH6.js → NoDataTable-BZiwo2qK-CJLZnBQL.js} +1 -1
  142. package/dist/assets/{NotFoundPage-BN5unYX8-CqJlv_oy.js → NotFoundPage-BN5unYX8-B80hQ8eO.js} +1 -1
  143. package/dist/assets/{NotFoundScreen-DxyQKnff.js → NotFoundScreen-BBbILNsa.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-DqG-dvkw.js → NotificationRoutes-BH_Amwk1.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-d8kHDj0M-Beqgksyi.js → NotificationSettingsPage-d8kHDj0M-2vIf0BRe.js} +1 -1
  146. package/dist/assets/{NotificationsListConfig-ThKLok_w-B2H6cGPA.js → NotificationsListConfig-ThKLok_w-Bx-0LQ4e.js} +1 -1
  147. package/dist/assets/{NotificationsPage-Uvu6XESA-B1Rgn8VW.js → NotificationsPage-Uvu6XESA-D1y42vLB.js} +1 -1
  148. package/dist/assets/{OpExByVendorPage-QyqRkD2_-D5R40Gs5.js → OpExByVendorPage-QyqRkD2_-h8x1NnCW.js} +1 -1
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-C7rxXRm5.js → OverlayContainerPage-BG9y5C0t-B8rQHhtN.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-DJ2v5qbE-BEs_yDo8.js → PandLWithForecastPage-DJ2v5qbE-BgEHjFpy.js} +1 -1
  151. package/dist/assets/{PandLWithForecastRoutes-CRImnf0E.js → PandLWithForecastRoutes-CCN_Dopf.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-q5z8XZFC-DgyJWqIO.js → PaymentAccountSetupBillingAddressSection-q5z8XZFC-IYhUlGT-.js} +1 -1
  153. package/dist/assets/{PeoplePage-C5ZdpVyR-DYtjpv4S.js → PeoplePage-C5ZdpVyR-DA1lsmrN.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-BODLG-b6.js → PeopleRoutes-BLNrKR-x.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-BqLOjKSO.js → PerformanceRoutes-BBydKp8A.js} +1 -1
  156. package/dist/assets/{ProductsCarousel-CXjLTOLy-BLUY71s0.js → ProductsCarousel-CXjLTOLy-2QbHSm9u.js} +1 -1
  157. package/dist/assets/{PromoBaseCards-CN9uZfG4-BbNgX9Bb.js → PromoBaseCards-CN9uZfG4-CB2JkJIv.js} +1 -1
  158. package/dist/assets/{QBOConnectionDialog-CXSi1Pd9-dALyjXGw.js → QBOConnectionDialog-CXSi1Pd9-CSvewQW2.js} +1 -1
  159. package/dist/assets/{QBOConnectionScreen-Ac9DU04j.js → QBOConnectionScreen-tSJfFhQn.js} +1 -1
  160. package/dist/assets/{QBOSetupSection-BrtLMvEP-DHfwqwJo.js → QBOSetupSection-BrtLMvEP-D5Os1BGx.js} +1 -1
  161. package/dist/assets/{ReferralListScreen-BaUv0jQW.js → ReferralListScreen-CJqU7RxZ.js} +1 -1
  162. package/dist/assets/{ReimbursementApprovalRoutes-B3As-zjk.js → ReimbursementApprovalRoutes-BHsHN-u_.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CS1BQ7pL-DnepdUba.js → ReimbursementApprovalRuleDetailPage-CS1BQ7pL-_lY11RDq.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-gUYecGxU.js → ReimbursementApprovalRuleDetailScreen-Bs2ple33.js} +1 -1
  165. package/dist/assets/{ReimbursementApprovalRulesPage-aLRkhkZB-BEmJZKcM.js → ReimbursementApprovalRulesPage-aLRkhkZB-CV07eSYp.js} +1 -1
  166. package/dist/assets/{ReimbursementDetailPage-Dr5BTvEq-mnlxt9h1.js → ReimbursementDetailPage-Dr5BTvEq-DM2tEzQB.js} +1 -1
  167. package/dist/assets/{ReimbursementPromoPage-C5Z0mVhQ-nERw0M4a.js → ReimbursementPromoPage-C5Z0mVhQ-Dq3UPRZ3.js} +1 -1
  168. package/dist/assets/{ReimbursementRoutes-vASJxFJ_.js → ReimbursementRoutes-iv71wb2Z.js} +1 -1
  169. package/dist/assets/{ReimbursementSetUpPage-CXhOBErm-CR6Shq7r.js → ReimbursementSetUpPage-CXhOBErm-BnZZWQ1W.js} +1 -1
  170. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CA0n0mau-Dwnq8e4l.js → ReimbursementsBulkReviewDrawerPage-CA0n0mau-Bq7X2QJa.js} +1 -1
  171. package/dist/assets/{ReloadCard-Bjp8ygC2-fExG7Dij.js → ReloadCard-Bjp8ygC2-DsEbxw3o.js} +1 -1
  172. package/dist/assets/{ReportTableViewSelector-DTk1dNWC-tS3w4hoK.js → ReportTableViewSelector-DTk1dNWC-QFtHZK4J.js} +1 -1
  173. package/dist/assets/{ReportsPage-DrjOGopt-CEvm9-2-.js → ReportsPage-DrjOGopt-xwTAFZ82.js} +1 -1
  174. package/dist/assets/{ReportsRoutes-DYYeCY0N.js → ReportsRoutes-BhpH3vEG.js} +1 -1
  175. package/dist/assets/{RevenueChart-CqGvXDr4-BYM89H6k.js → RevenueChart-CqGvXDr4-BDXPrwnC.js} +1 -1
  176. package/dist/assets/{ReviewDetailsPage-CWBP7FBN-D5XTlGGP.js → ReviewDetailsPage-CWBP7FBN-XuXg3BcA.js} +1 -1
  177. package/dist/assets/{ReviewOverlay-Cxkp85Kw-DWi1LLwl.js → ReviewOverlay-Cxkp85Kw-BxuvLEpC.js} +1 -1
  178. package/dist/assets/{RewardsRoutes-BcQjimjg.js → RewardsRoutes-CGI6v1LD.js} +1 -1
  179. package/dist/assets/{RoleWithToolTip-CqLxmtj6-BxFgYmxI.js → RoleWithToolTip-CqLxmtj6-Rnjw9i_g.js} +1 -1
  180. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CYvlB3Nf-BjmGalLA.js → ScheduleDetailsFixedAssetsPage-CYvlB3Nf-DLsNuhIe.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsPage-CZXJ15tN-Cvz9LjHh.js → ScheduleDetailsPage-CZXJ15tN-DK-Vvm5e.js} +1 -1
  182. package/dist/assets/{ScheduleSequenceTable-DNPID_7F-Dpy7XGsr.js → ScheduleSequenceTable-DNPID_7F-Bz8d2Fhy.js} +1 -1
  183. package/dist/assets/{ScreenRoutes-DMiG7sGl.js → ScreenRoutes-B0gKACTz.js} +2 -2
  184. package/dist/assets/{SetUpAccountSection-_WPR-q2V-D1in60I8.js → SetUpAccountSection-_WPR-q2V-BVzNpUbf.js} +1 -1
  185. package/dist/assets/{SettingsRoutes-Cq0IT0xM.js → SettingsRoutes-BrokioTP.js} +1 -1
  186. package/dist/assets/{SetupPagesScreen-By_64UnM.js → SetupPagesScreen-BiJM7znn.js} +1 -1
  187. package/dist/assets/{SignIn-CDEsZw_T-CdZG3KKx.js → SignIn-CDEsZw_T-BhKsIiWi.js} +1 -1
  188. package/dist/assets/{SignInScreen-BbMIUMVO.js → SignInScreen-CRHQkOWq.js} +1 -1
  189. package/dist/assets/{SignOutScreen-D0CN7EZM.js → SignOutScreen-CSmP5G0L.js} +1 -1
  190. package/dist/assets/{SpendManagementListViewPage-MOCWuROI-B6XDQZbP.js → SpendManagementListViewPage-MOCWuROI-DdkFjcW6.js} +3 -3
  191. package/dist/assets/{SpendManagementPerTabPage-BeK0SCeE-uu94FLdi.js → SpendManagementPerTabPage-BeK0SCeE-DPZd4om4.js} +1 -1
  192. package/dist/assets/{SpendManagementSection-DZFPfKNi-a6NNMz0d.js → SpendManagementSection-DZFPfKNi-DT0rYb2P.js} +1 -1
  193. package/dist/assets/{StatementItem-DjvU5wiI-BbvkEOCR.js → StatementItem-DjvU5wiI-DmQsj9gw.js} +1 -1
  194. package/dist/assets/{StatementsPage-DYLp_e7W-DQJFRbex.js → StatementsPage-DYLp_e7W-CYuAqH_I.js} +1 -1
  195. package/dist/assets/{StatusSwitcher-jxaonB4S-BRWCrppB.js → StatusSwitcher-jxaonB4S-Cxq2Q9_V.js} +1 -1
  196. package/dist/assets/{SubTabSwitcher-CudjNlsi-B0ZvqQ02.js → SubTabSwitcher-CudjNlsi-D6kvvomf.js} +1 -1
  197. package/dist/assets/{SuccessAnimation-DE_x1Zz_-CSRw6QzL.js → SuccessAnimation-DE_x1Zz_-AQ5Y5JIA.js} +1 -1
  198. package/dist/assets/{SummaryCard-DPOhBmkr-Bkvd2_eX.js → SummaryCard-DPOhBmkr-Cv-w5fsm.js} +1 -1
  199. package/dist/assets/{TaskDetailPage-CXexRKAY-PJYd8Hc8.js → TaskDetailPage-CXexRKAY-BOPspi-s.js} +1 -1
  200. package/dist/assets/{TaskListScreen-D5r5oVZW.js → TaskListScreen-B0RVzFet.js} +1 -1
  201. package/dist/assets/{TaskManagementPage-CTMoHv0R-DqoYVk-e.js → TaskManagementPage-CTMoHv0R-BGb6WsaA.js} +1 -1
  202. package/dist/assets/{TaskRoutes-ByOGwdlB.js → TaskRoutes-vmd5uItQ.js} +1 -1
  203. package/dist/assets/{TimeRangeSwitcher-SqY2MHGs-vaeYYQAs.js → TimeRangeSwitcher-SqY2MHGs-ChpZHeuG.js} +1 -1
  204. package/dist/assets/{TimeframeSwitcher-BlJ2fuHy-C0bwk8vS.js → TimeframeSwitcher-BlJ2fuHy-JP2UlRBY.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcherWithToggle-Dgc1odUH-6AO25YrU.js → TimeframeSwitcherWithToggle-Dgc1odUH-ChrHPbvN.js} +1 -1
  206. package/dist/assets/{TopExCard-CG8YLsYe-Dhi0dyPE.js → TopExCard-CG8YLsYe-B5wqJJSw.js} +1 -1
  207. package/dist/assets/{TopExDetailPage-TvYCbzSP-CwBViHGc.js → TopExDetailPage-TvYCbzSP-CTOCVsET.js} +1 -1
  208. package/dist/assets/{TransactionActivityLogPage-BL3vEAdU-CS7vD3qG.js → TransactionActivityLogPage-BL3vEAdU-Bk3OacNa.js} +1 -1
  209. package/dist/assets/{TransactionDetailPage-DUouBL0o-BaXoqvey.js → TransactionDetailPage-DUouBL0o-DkOa5f2H.js} +1 -1
  210. package/dist/assets/{TransactionDetailRoutes-B-UBtWLp.js → TransactionDetailRoutes-D5_-HF2Q.js} +1 -1
  211. package/dist/assets/{TransactionDetailScreen-B7XWRVbF.js → TransactionDetailScreen-DHwJH1ZP.js} +1 -1
  212. package/dist/assets/{TransactionList-B16NONME-CRFiM4VM.js → TransactionList-B16NONME-xM0VK0uD.js} +1 -1
  213. package/dist/assets/{TransactionListBig-CItPbTRV-UNSverIa.js → TransactionListBig-CItPbTRV-BpUwrWyu.js} +1 -1
  214. package/dist/assets/{TransactionListPage-DNecYY8M-BHlckINI.js → TransactionListPage-DNecYY8M-ptahFcY0.js} +1 -1
  215. package/dist/assets/{TransactionListRoutes-CMu9kV3q.js → TransactionListRoutes-DIJ_fkWS.js} +1 -1
  216. package/dist/assets/{TransactionVendorDetailPage-DpqisXN8-D2bHcxtn.js → TransactionVendorDetailPage-DpqisXN8-wU2wHv2K.js} +1 -1
  217. package/dist/assets/{TransferDrawerPage-Dsmbswu0-uDwjyCTF.js → TransferDrawerPage-Dsmbswu0-DFQDwnPy.js} +1 -1
  218. package/dist/assets/{TreasuryOverviewPage-BcRpcYmB-OKQJLbcE.js → TreasuryOverviewPage-BcRpcYmB-DwdLr4Xt.js} +1 -1
  219. package/dist/assets/{TreasuryPromoPage-DOO_OMRa-8BGrxptq.js → TreasuryPromoPage-DOO_OMRa-uzWYBUzW.js} +1 -1
  220. package/dist/assets/{TreasuryRoutes-Cb-myn_k.js → TreasuryRoutes-BfRwxvKx.js} +1 -1
  221. package/dist/assets/{TreasuryStatementsPage-A_U7bEy5-CYr3tH5Z.js → TreasuryStatementsPage-A_U7bEy5-C1uv8XvN.js} +1 -1
  222. package/dist/assets/{TreasuryTaxLetterPage-BsJn-BgX-D1G4s_HP.js → TreasuryTaxLetterPage-BsJn-BgX-Dcdm_qTO.js} +1 -1
  223. package/dist/assets/{TrendChart-GMMat-NG-DkIjx5iX.js → TrendChart-GMMat-NG-BewK0MCc.js} +1 -1
  224. package/dist/assets/{TrendWithTransactions-CrA4opNV-BCS_tNQW.js → TrendWithTransactions-CrA4opNV-B_vQq65J.js} +1 -1
  225. package/dist/assets/{UncategorizedAccountsMappingPage-CrzbFGOi-7c9nQkHm.js → UncategorizedAccountsMappingPage-CrzbFGOi-BDtcuYej.js} +1 -1
  226. package/dist/assets/{UnitIntegrationPage-XZY6zJa7-Bog6bLZs.js → UnitIntegrationPage-XZY6zJa7-D8B46vcm.js} +1 -1
  227. package/dist/assets/{UploadAdditionalDocumentOverlay-eqwSLigx-Cfv8NRXy.js → UploadAdditionalDocumentOverlay-eqwSLigx-kRVMQYF-.js} +1 -1
  228. package/dist/assets/{Vendor2FAPopup-BHDivuPB-CB8oiip3.js → Vendor2FAPopup-BHDivuPB-D7ySxcXF.js} +1 -1
  229. package/dist/assets/{VendorACHDetailsPage-DJ4Crnr0-ChbQ_fot.js → VendorACHDetailsPage-DJ4Crnr0-BgbOpk55.js} +1 -1
  230. package/dist/assets/{VendorDetailPage-DEu-yS8w-BHxBRvla.js → VendorDetailPage-DEu-yS8w-BhFmuJot.js} +1 -1
  231. package/dist/assets/{VendorDomesticWireDetailsPage-WFcOmpiN-0MxyPK7N.js → VendorDomesticWireDetailsPage-WFcOmpiN-DCXCuX-V.js} +1 -1
  232. package/dist/assets/{VendorFiling1099EditablePage-C461SzO0-Cw1duzzR.js → VendorFiling1099EditablePage-C461SzO0-CCIZoPU6.js} +1 -1
  233. package/dist/assets/{VendorFirstReviewPage-klbCHS04-yDjeltgT.js → VendorFirstReviewPage-klbCHS04-UP-04u7X.js} +1 -1
  234. package/dist/assets/{VendorInternationalWireDetailsPage-DY0V-VbO-BJcPP-gp.js → VendorInternationalWireDetailsPage-DY0V-VbO-Dl3hBhoD.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-B8sx02I_-CFJY5gem.js → VendorInternationalWireSwiftDetailsPage-B8sx02I_-h6qnY29-.js} +1 -1
  236. package/dist/assets/{VendorsAccountsSection-Cqcr-ArD-BIHA7sqx.js → VendorsAccountsSection-Cqcr-ArD-CzW5lMfP.js} +1 -1
  237. package/dist/assets/{VendorsRoutes-CgJOnYMS.js → VendorsRoutes-DLnvF6hR.js} +1 -1
  238. package/dist/assets/{VerifyDevice-Dhu5iywf-CpE-kgrB.js → VerifyDevice-Dhu5iywf-cUES-VE2.js} +1 -1
  239. package/dist/assets/{VideoPlayer-ZGjx_Hp7-BHgQYkml.js → VideoPlayer-ZGjx_Hp7-CjY3r1rL.js} +1 -1
  240. package/dist/assets/{VideoPopup-R3u0N_if-SR7jlWFi.js → VideoPopup-R3u0N_if-CaG3EJQq.js} +1 -1
  241. package/dist/assets/{WiseConfirmationScreen-BTkxegx5.js → WiseConfirmationScreen-CT86mZ0i.js} +1 -1
  242. package/dist/assets/{ZeniAccountDetailPage-DQB7sXU9-ZmSVhLSw.js → ZeniAccountDetailPage-DQB7sXU9-CZEM5xVV.js} +1 -1
  243. package/dist/assets/{ZeniAccountListViewPage-BwXKgf6g-Ctizh7he.js → ZeniAccountListViewPage-BwXKgf6g-FfpOzmd6.js} +1 -1
  244. package/dist/assets/{ZeniAccountNavBarPieces-CHUTFAWG-BmLRxXwk.js → ZeniAccountNavBarPieces-CHUTFAWG-v671evv-.js} +1 -1
  245. package/dist/assets/{ZeniAccountPromoPage-BkfJuMNV-Ckl9m4pN.js → ZeniAccountPromoPage-BkfJuMNV-CmI6f_1i.js} +1 -1
  246. package/dist/assets/{ZeniAccountRoutes-D71bZRux.js → ZeniAccountRoutes-bnzTspvl.js} +1 -1
  247. package/dist/assets/{ZeniAccountSetupPage-C3drM4Zs-B_sQz9qJ.js → ZeniAccountSetupPage-C3drM4Zs-CvpINFn4.js} +1 -1
  248. package/dist/assets/{ZeniAccountStatementScreen-BI6AQKJr.js → ZeniAccountStatementScreen-B5KsFobU.js} +1 -1
  249. package/dist/assets/{ZeniAvatar-C38T0-5--BSN8GGLN.js → ZeniAvatar-C38T0-5--BM3XjRcp.js} +1 -1
  250. package/dist/assets/{ZeniCopyright-CznSgVJF-B8RRSTgM.js → ZeniCopyright-CznSgVJF-BhclYMa4.js} +1 -1
  251. package/dist/assets/{ZeniDatePicker-Bw9RlgoL-BmT27weB.js → ZeniDatePicker-Bw9RlgoL-DDQaNsVY.js} +1 -1
  252. package/dist/assets/{ZeniTransferAmountSlider-C77DEl-C-CruP3RMa.js → ZeniTransferAmountSlider-C77DEl-C-CYKYiLaT.js} +1 -1
  253. package/dist/assets/{analyticsHelper-Bh8o1v3y-DbxZaMDt.js → analyticsHelper-Bh8o1v3y-erbhoWbk.js} +1 -1
  254. package/dist/assets/{analyticsHelper-BtB7CtC3.js → analyticsHelper-CsyUSML_.js} +1 -1
  255. package/dist/assets/{calculateSize-QoQyn_Ku-BQL_mWcG.js → calculateSize-QoQyn_Ku-j5kLdf_t.js} +1 -1
  256. package/dist/assets/{chartTypes-C14YY2Rq--XZc2xV6.js → chartTypes-C14YY2Rq-mIXPNQxz.js} +1 -1
  257. package/dist/assets/{common-Cu5K0AJk-Cxd55kqL.js → common-Cu5K0AJk-BihNw_Do.js} +1 -1
  258. package/dist/assets/{commonDimensions-CVpc-NCw-CA0m656N.js → commonDimensions-CVpc-NCw-xOjrok2-.js} +1 -1
  259. package/dist/assets/{commonTypes-Ec-PxfpT-DzRDGsuT.js → commonTypes-Ec-PxfpT-DZ1xbinn.js} +1 -1
  260. package/dist/assets/{downloadPdf-BuPJ6cfr-Bn04BzVs.js → downloadPdf-BuPJ6cfr-Cy2ZBk4z.js} +1 -1
  261. package/dist/assets/{getLocaleForTenant-dwEXf4rX.js → getLocaleForTenant-DLrlmQCo.js} +1 -1
  262. package/dist/assets/{helper-AgH8nJln-BDBxe9FK.js → helper-AgH8nJln-DNDXfXpF.js} +1 -1
  263. package/dist/assets/{index-CuxRoVvZ.js → index-mhb15COx.js} +458 -458
  264. package/dist/assets/{mapLoadingInProgressToTreeNode-DTyQHWMc-tj_AEx0m.js → mapLoadingInProgressToTreeNode-DTyQHWMc-BqMSzUiy.js} +1 -1
  265. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D7pjBGp6-bV4CDhWS.js → mapSectionWithAcOnlyToTreeNode-D7pjBGp6-BMY0vZTn.js} +1 -1
  266. package/dist/assets/{mapSpacerToTreeNode-Cd4FCXAf-9PB61B4X.js → mapSpacerToTreeNode-Cd4FCXAf-C6nWwAzP.js} +1 -1
  267. package/dist/assets/{mapTimeframeBalancesToTreeNode-Drhl_lnP-DCqw81Fp.js → mapTimeframeBalancesToTreeNode-Drhl_lnP-BDA52mbW.js} +1 -1
  268. package/dist/assets/{mapTimeframeBalancesToTreeNode-UsawmMLa-CPc-fd5T.js → mapTimeframeBalancesToTreeNode-UsawmMLa-DrvNkcA6.js} +1 -1
  269. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-BaY2mTy_.js → mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-DHD18LN5.js} +1 -1
  270. package/dist/assets/{routePaths-CkO80-xL.js → routePaths-CDVBEe6a.js} +1 -1
  271. package/dist/assets/{toCOABalancesWithID-wh35N3no-D_L2t0iR.js → toCOABalancesWithID-wh35N3no-2SjovFHm.js} +1 -1
  272. package/dist/assets/{toChartData-G5y-N82I-CpDZEMyX.js → toChartData-G5y-N82I-HPFXqzd4.js} +1 -1
  273. package/dist/assets/{uploadAttachment-RbkIBMGO-DWkpV7gc.js → uploadAttachment-RbkIBMGO-BHEoxgsX.js} +1 -1
  274. package/dist/assets/{uploadReceipts-CIgkuVpu-BxCHb2mc.js → uploadReceipts-CIgkuVpu-BPECKX43.js} +1 -1
  275. package/dist/assets/{useInitialThreadRequest-CtiCksTW.js → useInitialThreadRequest-Dldme96o.js} +1 -1
  276. package/dist/assets/{withTransactionSidePanel-DXYKCsTM.js → withTransactionSidePanel-DBF40Qih.js} +1 -1
  277. package/dist/index.html +1 -1
  278. package/package.json +1 -1
  279. package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--zNlFTkjO.js +0 -1
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-BeK0SCeE-uu94FLdi.js","assets/index-CuxRoVvZ.js","assets/sentry-Cm8I7E9J.js","assets/pdf-DwfifS04.js","assets/zeni-epic-state-lC5X-sam.js","assets/core-CaikJZHD.js","assets/mui-G2MlMTlr.js","assets/recharts-3tylCZU1.js","assets/lottie-D86WIi_0.js","assets/liveblocks--AdozwCz.js","assets/dnd-CzsffKNn.js","assets/analytics-Qgv3Fhaa.js","assets/plaid-CcxzSXZd.js","assets/utils-BhOlvYO8.js","assets/index-D-vub4_t.css","assets/BusyIndication-Cp8KWKB2-C3oZ8Ini.js","assets/StatusSwitcher-jxaonB4S-BRWCrppB.js","assets/common-Cu5K0AJk-Cxd55kqL.js","assets/calculateSize-QoQyn_Ku-BQL_mWcG.js","assets/useLongPress-GCK2COYQ-BgmUYGJ7.js"])))=>i.map(i=>d[i]);
2
- import{G9 as ze,Ga as Ge,Gb as Ue,Gc as G,Gd as He,F3 as Ve,Ge as We,Gf as qe,Gg as Je,FY as Xe,FX as Ye,G5 as Ze,_ as Qe}from"./zeni-epic-state-lC5X-sam.js";import{V as n,y as Ke,_ as U,e as H,ba as et,g2 as tt,a_ as ot,w as at,o as t,cX as nt,gj as N,aD as it,O as V,gk as rt,gl as st,gm as lt,gn as ct,f as $,k as dt,go as ut,be as pt,x as S,fi as mt,gp as ht,a8 as bt,bp as yt,l as gt,bH as ft,gq as wt,aA as Ct,H as vt,m as k}from"./index-CuxRoVvZ.js";import{a as h}from"./sentry-Cm8I7E9J.js";import{n as d,k as W}from"./mui-G2MlMTlr.js";import{_ as xt}from"./liveblocks--AdozwCz.js";import{t as Tt}from"./SpendManagementSection-DZFPfKNi-a6NNMz0d.js";import{K as St}from"./StatusSwitcher-jxaonB4S-BRWCrppB.js";import"./core-CaikJZHD.js";import"./pdf-DwfifS04.js";import"./lottie-D86WIi_0.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./recharts-3tylCZU1.js";import"./utils-BhOlvYO8.js";import"./MoreMenuButton-CkkW1atP-BhjeSlOV.js";import"./bank-letter-BOcVjN6J-DhC6VHDB.js";import"./spend-limit-D6SyboD4-d-tIWfnn.js";import"./dollar-round-D18u7nlm-BF4Thvjs.js";import"./money-2cg1MuG4-CfgKOIyt.js";import"./page-summary-D7_VQHwN-CaK_VLEF.js";import"./transaction-placeholder-CpOwZAMG-CXIruzlf.js";import"./unlock-BPWn2I5L-8UNw8MhM.js";import"./filter-cZIFUNvj-CWbeOwgA.js";import"./ZeniDatePicker-Bw9RlgoL-BmT27weB.js";import"./avatar-Dz7aEm3d-CxU8IzEu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="babe01d8-2adb-456f-8d3f-dab113e1fdf1",e._sentryDebugIdIdentifier="sentry-dbid-babe01d8-2adb-456f-8d3f-dab113e1fdf1")}catch{}})();const F=e=>h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},h.createElement("path",{d:"M22.781 11.8215C22.7883 14.6988 21.6612 17.4629 19.6441 19.5146C17.627 21.5664 14.8825 22.7404 12.0055 22.7822C10.6005 22.8033 9.20515 22.5453 7.90056 22.023C6.59596 21.5008 5.40804 20.7247 4.40567 19.7399C3.40331 18.755 2.60645 17.5809 2.06132 16.2857C1.51619 14.9905 1.23362 13.6 1.23002 12.1948C1.22199 9.31703 2.34875 6.55215 4.36593 4.49975C6.38312 2.44735 9.1281 1.27292 12.0055 1.23117C13.4108 1.21016 14.8063 1.46837 16.111 1.99085C17.4158 2.51332 18.6038 3.28965 19.6061 4.27481C20.6085 5.25996 21.4053 6.43433 21.9503 7.72981C22.4953 9.02529 22.7777 10.4161 22.781 11.8215Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M17.1573 10.374H9.83934C9.05979 10.374 8.31216 10.6766 7.76093 11.2151C7.2097 11.7537 6.90002 12.4841 6.90002 13.2457C6.90002 14.0074 7.2097 14.7378 7.76093 15.2764C8.31216 15.8149 9.05979 16.1175 9.83934 16.1175H11.309",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M14.2151 13.2434L17.1544 10.3717L14.2151 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),kt=d.div`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-BeK0SCeE-DPZd4om4.js","assets/index-mhb15COx.js","assets/sentry-Cm8I7E9J.js","assets/pdf-DwfifS04.js","assets/zeni-epic-state-lC5X-sam.js","assets/core-CaikJZHD.js","assets/mui-G2MlMTlr.js","assets/recharts-3tylCZU1.js","assets/lottie-D86WIi_0.js","assets/liveblocks--AdozwCz.js","assets/dnd-CzsffKNn.js","assets/analytics-Qgv3Fhaa.js","assets/plaid-CcxzSXZd.js","assets/utils-BhOlvYO8.js","assets/index-D-vub4_t.css","assets/BusyIndication-Cp8KWKB2-paVspSd6.js","assets/StatusSwitcher-jxaonB4S-Cxq2Q9_V.js","assets/common-Cu5K0AJk-BihNw_Do.js","assets/calculateSize-QoQyn_Ku-j5kLdf_t.js","assets/useLongPress-GCK2COYQ-BgmUYGJ7.js"])))=>i.map(i=>d[i]);
2
+ import{G9 as ze,Ga as Ge,Gb as Ue,Gc as G,Gd as He,F3 as Ve,Ge as We,Gf as qe,Gg as Je,FY as Xe,FX as Ye,G5 as Ze,_ as Qe}from"./zeni-epic-state-lC5X-sam.js";import{V as n,y as Ke,_ as U,e as H,ba as et,g2 as tt,a_ as ot,w as at,o as t,cX as nt,gj as N,aD as it,O as V,gk as rt,gl as st,gm as lt,gn as ct,f as $,k as dt,go as ut,be as pt,x as S,fi as mt,gp as ht,a8 as bt,bp as yt,l as gt,bH as ft,gq as wt,aA as Ct,H as vt,m as k}from"./index-mhb15COx.js";import{a as h}from"./sentry-Cm8I7E9J.js";import{n as d,k as W}from"./mui-G2MlMTlr.js";import{_ as xt}from"./liveblocks--AdozwCz.js";import{t as Tt}from"./SpendManagementSection-DZFPfKNi-DT0rYb2P.js";import{K as St}from"./StatusSwitcher-jxaonB4S-Cxq2Q9_V.js";import"./core-CaikJZHD.js";import"./pdf-DwfifS04.js";import"./lottie-D86WIi_0.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./recharts-3tylCZU1.js";import"./utils-BhOlvYO8.js";import"./MoreMenuButton-CkkW1atP-CT7ietod.js";import"./bank-letter-BOcVjN6J-DhC6VHDB.js";import"./spend-limit-D6SyboD4-d-tIWfnn.js";import"./dollar-round-D18u7nlm-BF4Thvjs.js";import"./money-2cg1MuG4-CfgKOIyt.js";import"./page-summary-D7_VQHwN-CaK_VLEF.js";import"./transaction-placeholder-CpOwZAMG-CXIruzlf.js";import"./unlock-BPWn2I5L-8UNw8MhM.js";import"./filter-cZIFUNvj-CWbeOwgA.js";import"./ZeniDatePicker-Bw9RlgoL-DDQaNsVY.js";import"./avatar-Dz7aEm3d-CxU8IzEu.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="babe01d8-2adb-456f-8d3f-dab113e1fdf1",e._sentryDebugIdIdentifier="sentry-dbid-babe01d8-2adb-456f-8d3f-dab113e1fdf1")}catch{}})();const F=e=>h.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},h.createElement("path",{d:"M22.781 11.8215C22.7883 14.6988 21.6612 17.4629 19.6441 19.5146C17.627 21.5664 14.8825 22.7404 12.0055 22.7822C10.6005 22.8033 9.20515 22.5453 7.90056 22.023C6.59596 21.5008 5.40804 20.7247 4.40567 19.7399C3.40331 18.755 2.60645 17.5809 2.06132 16.2857C1.51619 14.9905 1.23362 13.6 1.23002 12.1948C1.22199 9.31703 2.34875 6.55215 4.36593 4.49975C6.38312 2.44735 9.1281 1.27292 12.0055 1.23117C13.4108 1.21016 14.8063 1.46837 16.111 1.99085C17.4158 2.51332 18.6038 3.28965 19.6061 4.27481C20.6085 5.25996 21.4053 6.43433 21.9503 7.72981C22.4953 9.02529 22.7777 10.4161 22.781 11.8215Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M17.1573 10.374H9.83934C9.05979 10.374 8.31216 10.6766 7.76093 11.2151C7.2097 11.7537 6.90002 12.4841 6.90002 13.2457C6.90002 14.0074 7.2097 14.7378 7.76093 15.2764C8.31216 15.8149 9.05979 16.1175 9.83934 16.1175H11.309",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),h.createElement("path",{d:"M14.2151 13.2434L17.1544 10.3717L14.2151 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),kt=d.div`
3
3
  min-width: ${t.sp3};
4
4
  width: ${t.sp3};
5
5
  height: ${t.sp3};
@@ -117,7 +117,7 @@ import{G9 as ze,Ga as Ge,Gb as Ue,Gc as G,Gd as He,F3 as Ve,Ge as We,Gf as qe,Gg
117
117
  color: ${e=>e.theme.colors.primary};
118
118
  position: absolute;
119
119
  bottom: 22px;
120
- `,M=V.getLocalizedStrings().common.copyToClipBoard;function Ut(e){const r=H(),[,u]=lt(),[p,g]=h.useState(!0),[l,i]=h.useState(!1),[o,s]=h.useState(!1),{isMobileOrTabletScreen:a}=ct();return h.useEffect(()=>{p===!1&&setTimeout(()=>{g(!0)},2e3)},[p]),n.jsx(At,{windowSize:r,role:"presentation",style:{background:$.overlayDark,...e.style},children:n.jsx(dt,{onClickAway:()=>{s(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:n.jsxs(jt,{windowSize:r,className:o?"fade":"",fade:o,children:[n.jsx(Mt,{onClick:()=>{s(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),n.jsx(Lt,{children:e.title}),n.jsx(zt,{children:e.descriptionLines.map((b,C)=>n.jsxs(Pt,{children:[n.jsx(Dt,{children:b.icon}),n.jsx(Et,{windowSize:r,children:b.text})]},C))}),n.jsxs(Ot,{onClick:()=>{if(p){const b=e.botEmail;u(b),g(!1)}},onMouseOver:()=>{i(!0)},onMouseLeave:()=>{i(!1)},showCopyIcon:p,showCopyText:l,children:[n.jsx(Nt,{showCopyText:l,children:e.botEmail}),p?n.jsx(Rt,{windowSize:r,showCopyText:l&&!a,children:n.jsx(_t,{})}):n.jsx(Ft,{})]}),n.jsx(Gt,{children:p?l&&!a?M.copy:null:M.copied})]})})})}const q=V.getLocalizedStrings(),m=q.spendManagement,{common:{texts:{comments:Ht}},collaboration:{threads:{placeholder:{addANewComment:Vt,replyAComment:Wt},tooltip:{resolveComment:qt,unResolveComment:Jt}}}}=q,Xt={drawerSectionPaddingLeftRight:new S(k[4],k[5])},Yt=({threadData:e,collaborationTab:r,isThreadsOpen:u,setIsThreadsOpen:p,handleThreadClick:g,windowSize:l,backgroundColor:i})=>{const o=U(),s=h.useMemo(()=>({application:"dashboard",companyId:o.currentTenant?.companyId,tab:r,entityId:e?.entityId,isGlobalComment:!1}),[o.currentTenant?.companyId,r,e?.entityId]),{threads:a,isLoading:b}=ut({filter:s});return n.jsx(pt,{isDrawerOpen:u,allowComposer:!1,drawerTitle:Ht,threads:a,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:o.currentTenant?.companyId,isGlobalComment:!1,tab:r},isLoading:b,textOverrides:{composerPlaceholder:Vt,replyComposerPlaceholder:Wt,threadResolve:qt,threadUnResolve:Jt},onThreadClick:(C,f)=>g(C,f),onCloseAllThreadsDrawer:()=>p(!1),drawerSectionStyle:{width:l==="small"?"100%":"400px",boxSizing:l==="small"?"border-box":"content-box",padding:`${t.sp0} ${Xt.drawerSectionPaddingLeftRight.valuePx(l)}`,backgroundColor:i},collapsibleThreadStyle:{width:l==="small"?"100%":"360px"}})},Zt=ht(()=>Qe(()=>import("./SpendManagementPerTabPage-BeK0SCeE-uu94FLdi.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]))),Qt=e=>e.base64!==void 0?`${mt}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",z=(e,r,u,p,g)=>{const l=m.filters.filterOptions;return e==="bill_pay"?ze.reduce((i,o)=>{switch(o.value){case"amount":return{...i,[o.value]:l.billAmountOptions};case"paymentMethod":return{...i,[o.value]:l.paymentMethodOptions};case"status":return{...i,[o.value]:[...l.commonStatusOptions,...l.billStatusOptions]};case"paymentType":return{...i,[o.value]:l.billPaymentTypeOptions};default:return{...i,[o.value]:[]}}},{}):e==="reimbursement"?(G(u)?Ge:Ue).reduce((i,o)=>{switch(o.value){case"createdBy":{if(r?.length===0)return{...i,[o.value]:[]};const s=r.map(a=>({label:a?.firstName||a?.lastName?`${a?.firstName} ${a?.lastName}`:a?.email??"",value:a.userId,photo:a?.photo,email:a?.email}));return{...i,[o.value]:s}}case"paymentMethod":return{...i,[o.value]:l.paymentMethodOptions};case"status":return{...i,[o.value]:l.commonStatusOptions};case"amount":return{...i,[o.value]:l.reimbursementAmountOptions};default:return{...i,[o.value]:[]}}},{}):e==="charge_card_payment_history"?(He??[]).reduce((i,o)=>{switch(o.value){case"status":return{...i,[o.value]:l.paymentHistoryStatusOptions};case"initiatedBy":{if(r?.length===0)return{...i,[o.value]:[]};const s=r.map(a=>({label:a?.firstName||a?.lastName?`${a?.firstName} ${a?.lastName}`:a?.email??"",value:a.userId,photo:a?.photo,email:a?.email}));return{...i,[o.value]:[{label:"Autopay",value:"autopay"},...s]}}case"sourceAccount":{const s=g?Object.entries(g).map(([a,b])=>{const C=It(b.depositAccountName,b.depositAccountLast4,m.chargeCard.paymentHistory.sourceAccountUnknown),f=function(y,A){if(y.accountType==="depositAccount"&&y.depositAccountName!=null&&y.depositAccountName!=="")return{iconType:"zeniChecking",iconColor:rt(0)};if(y.accountType==="paymentAccount"&&y.accountLogo!=null&&(y.accountLogo.base64||y.accountLogo.url)){const T=A(y.accountLogo);if(T!=="")return{photo:T}}return{}}(b,Qt),x=f.iconType!=null&&f.iconColor!=null,c=f.photo,I=c!=null&&c!=="";return{label:C,value:a,...x&&{iconType:f.iconType,iconColor:f.iconColor},...I&&{photo:Ve(c)}}}):[];return{...i,[o.value]:s}}case"repaymentDate":return{...i,[o.value]:[]};default:return{...i,[o.value]:[]}}},{}):We.reduce((i,o)=>{switch(o.value){case"assignee":{if(r?.length===0)return{...i,[o.value]:[]};const s=r.map(a=>({label:a?.firstName||a?.lastName?`${a?.firstName} ${a?.lastName}`:a?.email??"",value:a.userId,photo:a?.photo,email:a?.email}));return{...i,[o.value]:s}}case"status":return{...i,[o.value]:[...Je.map(s=>({label:s.name,value:s.code}))]};case"priority":return{...i,[o.value]:[...qe.map(s=>({label:s.name,value:s.code}))]};case"tag":return{...i,[o.value]:[...p.map(s=>({label:s.name,value:s.tagId}))]};default:return{...i,[o.value]:[]}}},{})},Kt=d.div`
120
+ `,M=V.getLocalizedStrings().common.copyToClipBoard;function Ut(e){const r=H(),[,u]=lt(),[p,g]=h.useState(!0),[l,i]=h.useState(!1),[o,s]=h.useState(!1),{isMobileOrTabletScreen:a}=ct();return h.useEffect(()=>{p===!1&&setTimeout(()=>{g(!0)},2e3)},[p]),n.jsx(At,{windowSize:r,role:"presentation",style:{background:$.overlayDark,...e.style},children:n.jsx(dt,{onClickAway:()=>{s(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:n.jsxs(jt,{windowSize:r,className:o?"fade":"",fade:o,children:[n.jsx(Mt,{onClick:()=>{s(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),n.jsx(Lt,{children:e.title}),n.jsx(zt,{children:e.descriptionLines.map((b,C)=>n.jsxs(Pt,{children:[n.jsx(Dt,{children:b.icon}),n.jsx(Et,{windowSize:r,children:b.text})]},C))}),n.jsxs(Ot,{onClick:()=>{if(p){const b=e.botEmail;u(b),g(!1)}},onMouseOver:()=>{i(!0)},onMouseLeave:()=>{i(!1)},showCopyIcon:p,showCopyText:l,children:[n.jsx(Nt,{showCopyText:l,children:e.botEmail}),p?n.jsx(Rt,{windowSize:r,showCopyText:l&&!a,children:n.jsx(_t,{})}):n.jsx(Ft,{})]}),n.jsx(Gt,{children:p?l&&!a?M.copy:null:M.copied})]})})})}const q=V.getLocalizedStrings(),m=q.spendManagement,{common:{texts:{comments:Ht}},collaboration:{threads:{placeholder:{addANewComment:Vt,replyAComment:Wt},tooltip:{resolveComment:qt,unResolveComment:Jt}}}}=q,Xt={drawerSectionPaddingLeftRight:new S(k[4],k[5])},Yt=({threadData:e,collaborationTab:r,isThreadsOpen:u,setIsThreadsOpen:p,handleThreadClick:g,windowSize:l,backgroundColor:i})=>{const o=U(),s=h.useMemo(()=>({application:"dashboard",companyId:o.currentTenant?.companyId,tab:r,entityId:e?.entityId,isGlobalComment:!1}),[o.currentTenant?.companyId,r,e?.entityId]),{threads:a,isLoading:b}=ut({filter:s});return n.jsx(pt,{isDrawerOpen:u,allowComposer:!1,drawerTitle:Ht,threads:a,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:o.currentTenant?.companyId,isGlobalComment:!1,tab:r},isLoading:b,textOverrides:{composerPlaceholder:Vt,replyComposerPlaceholder:Wt,threadResolve:qt,threadUnResolve:Jt},onThreadClick:(C,f)=>g(C,f),onCloseAllThreadsDrawer:()=>p(!1),drawerSectionStyle:{width:l==="small"?"100%":"400px",boxSizing:l==="small"?"border-box":"content-box",padding:`${t.sp0} ${Xt.drawerSectionPaddingLeftRight.valuePx(l)}`,backgroundColor:i},collapsibleThreadStyle:{width:l==="small"?"100%":"360px"}})},Zt=ht(()=>Qe(()=>import("./SpendManagementPerTabPage-BeK0SCeE-DPZd4om4.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19]))),Qt=e=>e.base64!==void 0?`${mt}${e.base64.toString()}`:e.url!==void 0?e.url.toString():"",z=(e,r,u,p,g)=>{const l=m.filters.filterOptions;return e==="bill_pay"?ze.reduce((i,o)=>{switch(o.value){case"amount":return{...i,[o.value]:l.billAmountOptions};case"paymentMethod":return{...i,[o.value]:l.paymentMethodOptions};case"status":return{...i,[o.value]:[...l.commonStatusOptions,...l.billStatusOptions]};case"paymentType":return{...i,[o.value]:l.billPaymentTypeOptions};default:return{...i,[o.value]:[]}}},{}):e==="reimbursement"?(G(u)?Ge:Ue).reduce((i,o)=>{switch(o.value){case"createdBy":{if(r?.length===0)return{...i,[o.value]:[]};const s=r.map(a=>({label:a?.firstName||a?.lastName?`${a?.firstName} ${a?.lastName}`:a?.email??"",value:a.userId,photo:a?.photo,email:a?.email}));return{...i,[o.value]:s}}case"paymentMethod":return{...i,[o.value]:l.paymentMethodOptions};case"status":return{...i,[o.value]:l.commonStatusOptions};case"amount":return{...i,[o.value]:l.reimbursementAmountOptions};default:return{...i,[o.value]:[]}}},{}):e==="charge_card_payment_history"?(He??[]).reduce((i,o)=>{switch(o.value){case"status":return{...i,[o.value]:l.paymentHistoryStatusOptions};case"initiatedBy":{if(r?.length===0)return{...i,[o.value]:[]};const s=r.map(a=>({label:a?.firstName||a?.lastName?`${a?.firstName} ${a?.lastName}`:a?.email??"",value:a.userId,photo:a?.photo,email:a?.email}));return{...i,[o.value]:[{label:"Autopay",value:"autopay"},...s]}}case"sourceAccount":{const s=g?Object.entries(g).map(([a,b])=>{const C=It(b.depositAccountName,b.depositAccountLast4,m.chargeCard.paymentHistory.sourceAccountUnknown),f=function(y,A){if(y.accountType==="depositAccount"&&y.depositAccountName!=null&&y.depositAccountName!=="")return{iconType:"zeniChecking",iconColor:rt(0)};if(y.accountType==="paymentAccount"&&y.accountLogo!=null&&(y.accountLogo.base64||y.accountLogo.url)){const T=A(y.accountLogo);if(T!=="")return{photo:T}}return{}}(b,Qt),x=f.iconType!=null&&f.iconColor!=null,c=f.photo,I=c!=null&&c!=="";return{label:C,value:a,...x&&{iconType:f.iconType,iconColor:f.iconColor},...I&&{photo:Ve(c)}}}):[];return{...i,[o.value]:s}}case"repaymentDate":return{...i,[o.value]:[]};default:return{...i,[o.value]:[]}}},{}):We.reduce((i,o)=>{switch(o.value){case"assignee":{if(r?.length===0)return{...i,[o.value]:[]};const s=r.map(a=>({label:a?.firstName||a?.lastName?`${a?.firstName} ${a?.lastName}`:a?.email??"",value:a.userId,photo:a?.photo,email:a?.email}));return{...i,[o.value]:s}}case"status":return{...i,[o.value]:[...Je.map(s=>({label:s.name,value:s.code}))]};case"priority":return{...i,[o.value]:[...qe.map(s=>({label:s.name,value:s.code}))]};case"tag":return{...i,[o.value]:[...p.map(s=>({label:s.name,value:s.tagId}))]};default:return{...i,[o.value]:[]}}},{})},Kt=d.div`
121
121
  display: flex;
122
122
  min-height: 100%;
123
123
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{T as Vt,c8 as Nt,e as J,jU as Wt,V as t,A as Kt,bR as Ut,bS as Ht,bT as Gt,a9 as Zt,o as i,O as ee,bF as Xt,bN as ot,an as Yt,bV as qt,L as Jt,bn as Y,bd as Qt,ab as ei,x as h,y as Ze,fy as ti,f as q,cp as ii,H as N,l as O,C as se,jV as oi,eH as li,jW as ni,jX as yt,jY as bt,_ as Ie,fm as ri,iU as si,jZ as ai,j_ as di,bl as xt,w as _e,b as Q,g6 as Xe,h as Ye,gU as qe,cc as wt,j$ as ft,k0 as ze,a5 as Ae,gW as Je,a1 as fe,ib as $t,b_ as vt,c1 as St,k1 as E,fT as kt,co as Tt,cR as Qe,m as p}from"./index-CuxRoVvZ.js";import{a as B,b as Ct}from"./sentry-Cm8I7E9J.js";import{n as o,c as G}from"./mui-G2MlMTlr.js";import{Hz as Te,GK as Ce,G6 as Le,cm as jt}from"./zeni-epic-state-lC5X-sam.js";import{m as ci}from"./BusyIndication-Cp8KWKB2-C3oZ8Ini.js";import{K as pi,L as mi,_ as ui}from"./StatusSwitcher-jxaonB4S-BRWCrppB.js";import{L as hi,_ as gi,r as yi,M as Pt,S as Bt,i as _t,I as It}from"./common-Cu5K0AJk-Cxd55kqL.js";import{d as zt}from"./useLongPress-GCK2COYQ-BgmUYGJ7.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./calculateSize-QoQyn_Ku-BQL_mWcG.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="bc35fcd7-34e4-4299-879b-46c97ec1dadb",e._sentryDebugIdIdentifier="sentry-dbid-bc35fcd7-34e4-4299-879b-46c97ec1dadb")}catch{}})();const he=ee.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,De={key:"name",value:he.name,sortOrder:"ascending",width:new h(p[5],p[5])},Re={key:"invoiceDate",value:he.invoiceDate,sortOrder:"ascending",width:new h(20,20)},bi={key:"dueDate",value:he.dueDate,sortOrder:"ascending",width:new h(20,20)},et={key:"dueDate",value:he.paymentDate,sortOrder:"ascending",width:new h(20,20)},tt={key:"status",value:he.status,sortOrder:"ascending",width:new h(18,18)},xi={key:"paymentMethod",value:he.paymentMethod,sortOrder:"ascending",width:new h(18,18)},Ee={key:"amount",value:he.amount,sortOrder:"ascending",width:new h(10,10)},xe=[De,Re,bi,tt,Ee],wi=[De,Re,et,tt,Ee],fi=[De,Re,et,tt,Ee],$i=[De,Re,et,xi,Ee],be={headerLastColumnTopPadding:new h(p[0],p[4]),headerLastColumnRightPadding:new h(p[3],p[11]),headerLastColumnBottomPadding:new h(p[0],p[4]),headerLastColumnLeftPadding:new h(p[0],p[4]),headerHeight:new h(Pt,Bt)},vi=Ct.memo(function({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r}){const s=Ze(),g=J(),[y,x]=B.useState(Ii(l));B.useEffect(()=>{const a=[...y];for(const n of a)n.key===r.sortKey?n.sortOrder=r.sortOrder:n.sortOrder="ascending";x(a)},[r.sortKey,r.sortOrder]);const $=(a,n)=>{let c=n;r.sortKey===a&&(c=n==="ascending"?"descending":"ascending"),d?.(a,c)},w=y.find(a=>a.key===r.sortKey)??y[0],b=y.map(a=>a.key),u=ee.getLocalizedStrings().spendManagement.billPay.billsByTabs;return g==="small"?t.jsxs(lt,{windowSize:g,companyNameSticky:!1,children:[t.jsxs(Ti,{children:[t.jsx(ji,{children:t.jsx(Ci,{})}),t.jsx(xt,{title:u.sortBy,placeholder:u.sortBy,pickerValues:b,valueToLabel:a=>y.find(n=>n.key===a)?.value??"",selectedValue:r.sortKey,onPickerSelectionChanged:a=>{$(a,"ascending")},optionTextStyle:_e.smallRegular,titleTextStyle:_e.smallRegular,titleColor:s.colors.primary,selectedOptionColor:s.colors.hero,optionBackgroundColor:s.colors.grey5,downChevronVisible:!1,backgroundColor:s.colors.background})]}),t.jsxs(_i,{onClick:()=>$(w.key,w.sortOrder),"data-testid":Q("bill-pay-list-header-mobile",r.sortKey),children:[t.jsx(se,{children:w.value}),t.jsx(nt,{sortDataValue:r.sortKey,headerdata:w,children:t.jsx(rt,{})})]})]}):t.jsx(lt,{companyNameSticky:e,windowSize:g,children:y.map(a=>t.jsxs(Si,{companyNameSticky:e&&a.key==="name",sortDataValue:r.sortKey,actualDataValue:a.key,wrapperWidth:a.width,windowSize:g,children:[t.jsxs(Bi,{onClick:()=>$(a.key,a.sortOrder),"data-testid":Q("bill-pay-list-header",r.sortKey),children:[t.jsx(se,{children:a.value}),t.jsx(nt,{sortDataValue:r.sortKey,headerdata:a,children:t.jsx(rt,{})})]}),t.jsx(Pi,{sortDataValue:r.sortKey,windowSize:g,isVisible:r.sortKey===a.key&&a.key!=="dueDate",children:t.jsx(ki,{onClick:()=>$("dueDate","ascending"),"data-testid":Q("bill-pay-list-header-sort-close",r.sortKey)})})]},a.key))})}),lt=o(se)`
1
+ import{T as Vt,c8 as Nt,e as J,jU as Wt,V as t,A as Kt,bR as Ut,bS as Ht,bT as Gt,a9 as Zt,o as i,O as ee,bF as Xt,bN as ot,an as Yt,bV as qt,L as Jt,bn as Y,bd as Qt,ab as ei,x as h,y as Ze,fy as ti,f as q,cp as ii,H as N,l as O,C as se,jV as oi,eH as li,jW as ni,jX as yt,jY as bt,_ as Ie,fm as ri,iU as si,jZ as ai,j_ as di,bl as xt,w as _e,b as Q,g6 as Xe,h as Ye,gU as qe,cc as wt,j$ as ft,k0 as ze,a5 as Ae,gW as Je,a1 as fe,ib as $t,b_ as vt,c1 as St,k1 as E,fT as kt,co as Tt,cR as Qe,m as p}from"./index-mhb15COx.js";import{a as B,b as Ct}from"./sentry-Cm8I7E9J.js";import{n as o,c as G}from"./mui-G2MlMTlr.js";import{Hz as Te,GK as Ce,G6 as Le,cm as jt}from"./zeni-epic-state-lC5X-sam.js";import{m as ci}from"./BusyIndication-Cp8KWKB2-paVspSd6.js";import{K as pi,L as mi,_ as ui}from"./StatusSwitcher-jxaonB4S-Cxq2Q9_V.js";import{L as hi,_ as gi,r as yi,M as Pt,S as Bt,i as _t,I as It}from"./common-Cu5K0AJk-BihNw_Do.js";import{d as zt}from"./useLongPress-GCK2COYQ-BgmUYGJ7.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./calculateSize-QoQyn_Ku-j5kLdf_t.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="bc35fcd7-34e4-4299-879b-46c97ec1dadb",e._sentryDebugIdIdentifier="sentry-dbid-bc35fcd7-34e4-4299-879b-46c97ec1dadb")}catch{}})();const he=ee.getLocalizedStrings().spendManagement.billPay.billsByTabs.header,De={key:"name",value:he.name,sortOrder:"ascending",width:new h(p[5],p[5])},Re={key:"invoiceDate",value:he.invoiceDate,sortOrder:"ascending",width:new h(20,20)},bi={key:"dueDate",value:he.dueDate,sortOrder:"ascending",width:new h(20,20)},et={key:"dueDate",value:he.paymentDate,sortOrder:"ascending",width:new h(20,20)},tt={key:"status",value:he.status,sortOrder:"ascending",width:new h(18,18)},xi={key:"paymentMethod",value:he.paymentMethod,sortOrder:"ascending",width:new h(18,18)},Ee={key:"amount",value:he.amount,sortOrder:"ascending",width:new h(10,10)},xe=[De,Re,bi,tt,Ee],wi=[De,Re,et,tt,Ee],fi=[De,Re,et,tt,Ee],$i=[De,Re,et,xi,Ee],be={headerLastColumnTopPadding:new h(p[0],p[4]),headerLastColumnRightPadding:new h(p[3],p[11]),headerLastColumnBottomPadding:new h(p[0],p[4]),headerLastColumnLeftPadding:new h(p[0],p[4]),headerHeight:new h(Pt,Bt)},vi=Ct.memo(function({companyNameSticky:e,currentTab:l,onColumnSortConfigChanged:d,sortConfig:r}){const s=Ze(),g=J(),[y,x]=B.useState(Ii(l));B.useEffect(()=>{const a=[...y];for(const n of a)n.key===r.sortKey?n.sortOrder=r.sortOrder:n.sortOrder="ascending";x(a)},[r.sortKey,r.sortOrder]);const $=(a,n)=>{let c=n;r.sortKey===a&&(c=n==="ascending"?"descending":"ascending"),d?.(a,c)},w=y.find(a=>a.key===r.sortKey)??y[0],b=y.map(a=>a.key),u=ee.getLocalizedStrings().spendManagement.billPay.billsByTabs;return g==="small"?t.jsxs(lt,{windowSize:g,companyNameSticky:!1,children:[t.jsxs(Ti,{children:[t.jsx(ji,{children:t.jsx(Ci,{})}),t.jsx(xt,{title:u.sortBy,placeholder:u.sortBy,pickerValues:b,valueToLabel:a=>y.find(n=>n.key===a)?.value??"",selectedValue:r.sortKey,onPickerSelectionChanged:a=>{$(a,"ascending")},optionTextStyle:_e.smallRegular,titleTextStyle:_e.smallRegular,titleColor:s.colors.primary,selectedOptionColor:s.colors.hero,optionBackgroundColor:s.colors.grey5,downChevronVisible:!1,backgroundColor:s.colors.background})]}),t.jsxs(_i,{onClick:()=>$(w.key,w.sortOrder),"data-testid":Q("bill-pay-list-header-mobile",r.sortKey),children:[t.jsx(se,{children:w.value}),t.jsx(nt,{sortDataValue:r.sortKey,headerdata:w,children:t.jsx(rt,{})})]})]}):t.jsx(lt,{companyNameSticky:e,windowSize:g,children:y.map(a=>t.jsxs(Si,{companyNameSticky:e&&a.key==="name",sortDataValue:r.sortKey,actualDataValue:a.key,wrapperWidth:a.width,windowSize:g,children:[t.jsxs(Bi,{onClick:()=>$(a.key,a.sortOrder),"data-testid":Q("bill-pay-list-header",r.sortKey),children:[t.jsx(se,{children:a.value}),t.jsx(nt,{sortDataValue:r.sortKey,headerdata:a,children:t.jsx(rt,{})})]}),t.jsx(Pi,{sortDataValue:r.sortKey,windowSize:g,isVisible:r.sortKey===a.key&&a.key!=="dueDate",children:t.jsx(ki,{onClick:()=>$("dueDate","ascending"),"data-testid":Q("bill-pay-list-header-sort-close",r.sortKey)})})]},a.key))})}),lt=o(se)`
2
2
  width: 100%;
3
3
  top: ${i.sp0};
4
4
  left: ${i.sp0};
@@ -1,4 +1,4 @@
1
- import{V as r,gr as be,o,b as I,gs as ye,j as fe,y as _,gt as ve,au as W,b3 as G,w as z,O,b4 as F,C as U,e as E,bE as $e,b2 as Y,l as V,bP as J,L as pe,m as N,a as Ce,x as he,bx as we,gu as je,cq as ue,_ as ke,at as Se,gv as Oe,B as Le,f as De,cp as Ie,bd as Ae,M as X,a8 as Me,fw as ze,ab as Fe}from"./index-CuxRoVvZ.js";import{a as l}from"./sentry-Cm8I7E9J.js";import{n as s,k as _e}from"./mui-G2MlMTlr.js";import{y as Be}from"./MoreMenuButton-CkkW1atP-BhjeSlOV.js";import{t as Ee}from"./filter-cZIFUNvj-CWbeOwgA.js";import{g as K}from"./ZeniDatePicker-Bw9RlgoL-BmT27weB.js";import{r as Re}from"./avatar-Dz7aEm3d-CxU8IzEu.js";import{Gd as Pe,Ge as He,Ga as Te,Gb as Ve,Gc as Ne,G9 as We}from"./zeni-epic-state-lC5X-sam.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="56c91d6b-5d79-4d8a-add4-2fa11662d6b3",e._sentryDebugIdIdentifier="sentry-dbid-56c91d6b-5d79-4d8a-add4-2fa11662d6b3")}catch{}})();const Ge=s.div`
1
+ import{V as r,gr as be,o,b as I,gs as ye,j as fe,y as _,gt as ve,au as W,b3 as G,w as z,O,b4 as F,C as U,e as E,bE as $e,b2 as Y,l as V,bP as J,L as pe,m as N,a as Ce,x as he,bx as we,gu as je,cq as ue,_ as ke,at as Se,gv as Oe,B as Le,f as De,cp as Ie,bd as Ae,M as X,a8 as Me,fw as ze,ab as Fe}from"./index-mhb15COx.js";import{a as l}from"./sentry-Cm8I7E9J.js";import{n as s,k as _e}from"./mui-G2MlMTlr.js";import{y as Be}from"./MoreMenuButton-CkkW1atP-CT7ietod.js";import{t as Ee}from"./filter-cZIFUNvj-CWbeOwgA.js";import{g as K}from"./ZeniDatePicker-Bw9RlgoL-DDQaNsVY.js";import{r as Re}from"./avatar-Dz7aEm3d-CxU8IzEu.js";import{Gd as Pe,Ge as He,Ga as Te,Gb as Ve,Gc as Ne,G9 as We}from"./zeni-epic-state-lC5X-sam.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="56c91d6b-5d79-4d8a-add4-2fa11662d6b3",e._sentryDebugIdIdentifier="sentry-dbid-56c91d6b-5d79-4d8a-add4-2fa11662d6b3")}catch{}})();const Ge=s.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  height: ${o.sp6};
@@ -1,4 +1,4 @@
1
- import{e as $,h9 as b,V as o,O as g,L as S,o as s,l as v,x as z,bx as j,m as k}from"./index-CuxRoVvZ.js";import{a as I}from"./sentry-Cm8I7E9J.js";import{n}from"./mui-G2MlMTlr.js";import{g as L}from"./BoxItem-CvCo0wr6-QhJ82HMO.js";import{w as T}from"./downloadPdf-BuPJ6cfr-Bn04BzVs.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="677d54e4-7947-4f8c-97e0-53f864ed5d7a",e._sentryDebugIdIdentifier="sentry-dbid-677d54e4-7947-4f8c-97e0-53f864ed5d7a")}catch{}})();const l=g.getLocalizedStrings().months,d={downloadButtonSize:new z(k[4],20)},D=n.div`
1
+ import{e as $,h9 as b,V as o,O as g,L as S,o as s,l as v,x as z,bx as j,m as k}from"./index-mhb15COx.js";import{a as I}from"./sentry-Cm8I7E9J.js";import{n}from"./mui-G2MlMTlr.js";import{g as L}from"./BoxItem-CvCo0wr6-BAtsmvg4.js";import{w as T}from"./downloadPdf-BuPJ6cfr-Cy2ZBk4z.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="677d54e4-7947-4f8c-97e0-53f864ed5d7a",e._sentryDebugIdIdentifier="sentry-dbid-677d54e4-7947-4f8c-97e0-53f864ed5d7a")}catch{}})();const l=g.getLocalizedStrings().months,d={downloadButtonSize:new z(k[4],20)},D=n.div`
2
2
  display: flex;
3
3
  padding: ${s.sp3} ${s.sp4};
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{y as I,e as S,V as e,a_ as z,an as C,o as r,O as P,f as p,bV as B,x as T,m as b,l as _}from"./index-CuxRoVvZ.js";import{a as u}from"./sentry-Cm8I7E9J.js";import{n as o}from"./mui-G2MlMTlr.js";import{$ as D}from"./BoxItem-CvCo0wr6-QhJ82HMO.js";import{o as L}from"./commonDimensions-CVpc-NCw-CA0m656N.js";import{O as M}from"./StatementItem-DjvU5wiI-BbvkEOCR.js";import"./pdf-DwfifS04.js";import"./zeni-epic-state-lC5X-sam.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./downloadPdf-BuPJ6cfr-Bn04BzVs.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="003c3448-048f-40b3-8920-973d9edc0241",t._sentryDebugIdIdentifier="sentry-dbid-003c3448-048f-40b3-8920-973d9edc0241")}catch{}})();const g=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,x={listItemMargin:new T(b[3],b[8])},it=({currentTenantCompanyName:t,authParams:n,downloadEndPoint:m,statementListView:i,accountLast4:w,onBackClick:y})=>{const k=I(),d=S(),$=u.createRef(),c=u.useRef(null),h=i.statements.length===0,j=()=>h===!1?L.transactionItemHeight:24,v=({index:a,style:s})=>{const l=i.statements[a];return h===!1?e.jsx(f,{windowSize:d,style:{...s,width:`calc(100% - 2*${x.listItemMargin.valuePx(d)})`},children:e.jsx(M,{currentTenantCompanyName:t,accountLast4:w,data:l,authParams:n,downloadEndPoint:m,boxType:D(a,i.statements.length)},l.id)}):e.jsx(E,{style:{...s},children:e.jsx(O,{children:e.jsx(f,{windowSize:d,children:e.jsx(V,{children:g.noStatements})})})})};return e.jsxs(R,{children:[e.jsx(z,{title:g.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),e.jsx(N,{children:e.jsx(C,{children:({height:a,width:s})=>e.jsx(A,{ref:$,height:a,width:s,outerRef:c,itemKey:l=>l,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},E=o.div``,f=o.div`
1
+ import{y as I,e as S,V as e,a_ as z,an as C,o as r,O as P,f as p,bV as B,x as T,m as b,l as _}from"./index-mhb15COx.js";import{a as u}from"./sentry-Cm8I7E9J.js";import{n as o}from"./mui-G2MlMTlr.js";import{$ as D}from"./BoxItem-CvCo0wr6-BAtsmvg4.js";import{o as L}from"./commonDimensions-CVpc-NCw-xOjrok2-.js";import{O as M}from"./StatementItem-DjvU5wiI-DmQsj9gw.js";import"./pdf-DwfifS04.js";import"./zeni-epic-state-lC5X-sam.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./downloadPdf-BuPJ6cfr-Cy2ZBk4z.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new t.Error().stack;n&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[n]="003c3448-048f-40b3-8920-973d9edc0241",t._sentryDebugIdIdentifier="sentry-dbid-003c3448-048f-40b3-8920-973d9edc0241")}catch{}})();const g=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,x={listItemMargin:new T(b[3],b[8])},it=({currentTenantCompanyName:t,authParams:n,downloadEndPoint:m,statementListView:i,accountLast4:w,onBackClick:y})=>{const k=I(),d=S(),$=u.createRef(),c=u.useRef(null),h=i.statements.length===0,j=()=>h===!1?L.transactionItemHeight:24,v=({index:a,style:s})=>{const l=i.statements[a];return h===!1?e.jsx(f,{windowSize:d,style:{...s,width:`calc(100% - 2*${x.listItemMargin.valuePx(d)})`},children:e.jsx(M,{currentTenantCompanyName:t,accountLast4:w,data:l,authParams:n,downloadEndPoint:m,boxType:D(a,i.statements.length)},l.id)}):e.jsx(E,{style:{...s},children:e.jsx(O,{children:e.jsx(f,{windowSize:d,children:e.jsx(V,{children:g.noStatements})})})})};return e.jsxs(R,{children:[e.jsx(z,{title:g.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),e.jsx(N,{children:e.jsx(C,{children:({height:a,width:s})=>e.jsx(A,{ref:$,height:a,width:s,outerRef:c,itemKey:l=>l,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},E=o.div``,f=o.div`
2
2
  margin: ${t=>`${r.sp0} ${x.listItemMargin.valuePx(t.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{e as x,bF as T,V as p,O as $,x as f,o as n,m as l,C as _}from"./index-CuxRoVvZ.js";import{n as d,c as w}from"./mui-G2MlMTlr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="48d5da12-bacf-412a-9c10-fa0bf7abebbc",e._sentryDebugIdIdentifier="sentry-dbid-48d5da12-bacf-412a-9c10-fa0bf7abebbc")}catch{}})();function h(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(i=>i.charAt(0).toUpperCase()+i.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function c(e,i,s){const o=e[i];return o!=null?function(r,a){if(typeof r=="string")return r;if(r!=null&&typeof r=="object"){const t=Object.values(r)[0];return typeof t=="string"?t:h(a)}return h(a)}(o,s):null}const L=(e,i)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:s}},reimbursement:{reimbursementByTabs:{tabsById:o}},zeniAccounts:{zeniAccountList:{tabsById:r}}}}=$.getLocalizedStrings(),a=String(e);if(i)switch(i){case"bill_pay":{const t=c(s,a,a);if(t!=null)return t.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const t=c(o,a,a);if(t!=null)return t.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const t=c(r,a,a);if(t!=null)return t.replace(/\s+/g,"_").toLowerCase();break}}return(c(s,a,a)??c(o,a,a)??c(r,a,a)??h(a)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:m}},reimbursement:{reimbursementByTabs:{tabsById:y}},zeniAccounts:{zeniAccountList:{tabsById:A}}}}=$.getLocalizedStrings(),g={containerMarginLeft:new f(l[4],l[8]),containerMarginRight:new f(l[4],l[8]),segmentContainerMarginLeft:new f(l[4],l[8])},D=d.div`
1
+ import{e as x,bF as T,V as p,O as $,x as f,o as n,m as l,C as _}from"./index-mhb15COx.js";import{n as d,c as w}from"./mui-G2MlMTlr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="48d5da12-bacf-412a-9c10-fa0bf7abebbc",e._sentryDebugIdIdentifier="sentry-dbid-48d5da12-bacf-412a-9c10-fa0bf7abebbc")}catch{}})();function h(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(i=>i.charAt(0).toUpperCase()+i.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function c(e,i,s){const o=e[i];return o!=null?function(r,a){if(typeof r=="string")return r;if(r!=null&&typeof r=="object"){const t=Object.values(r)[0];return typeof t=="string"?t:h(a)}return h(a)}(o,s):null}const L=(e,i)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:s}},reimbursement:{reimbursementByTabs:{tabsById:o}},zeniAccounts:{zeniAccountList:{tabsById:r}}}}=$.getLocalizedStrings(),a=String(e);if(i)switch(i){case"bill_pay":{const t=c(s,a,a);if(t!=null)return t.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const t=c(o,a,a);if(t!=null)return t.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const t=c(r,a,a);if(t!=null)return t.replace(/\s+/g,"_").toLowerCase();break}}return(c(s,a,a)??c(o,a,a)??c(r,a,a)??h(a)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:m}},reimbursement:{reimbursementByTabs:{tabsById:y}},zeniAccounts:{zeniAccountList:{tabsById:A}}}}=$.getLocalizedStrings(),g={containerMarginLeft:new f(l[4],l[8]),containerMarginRight:new f(l[4],l[8]),segmentContainerMarginLeft:new f(l[4],l[8])},D=d.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{V as t,L as u,b,o as i,C as g,ah as f}from"./index-CuxRoVvZ.js";import{n as r,c}from"./mui-G2MlMTlr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5ed45d61-5e6a-4b14-b681-6bba9de18f8b",e._sentryDebugIdIdentifier="sentry-dbid-5ed45d61-5e6a-4b14-b681-6bba9de18f8b")}catch{}})();function S({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return t.jsxs(y,{style:o,hasRightComponent:h,children:[t.jsx(m,{children:e.map(s=>{const a=s.id===n,d=s.isDisabled!=null;return t.jsxs($,{onClick:()=>{a===!1&&!d&&p(s)},isSelected:a,isDisabled:d,"data-testid":b("sub-tab-switcher",String(s.id)),children:[t.jsx(x,{children:s.label}),s.countDetails?.count!=null?t.jsx(w,{children:t.jsx(D,{isCircular:s.countDetails.count==null||s.countDetails.count<10,children:t.jsx(j,{children:s.countDetails.isFetching?t.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):s.countDetails.count})})}):null]},s.id)})}),l]})}const y=r.div`
1
+ import{V as t,L as u,b,o as i,C as g,ah as f}from"./index-mhb15COx.js";import{n as r,c}from"./mui-G2MlMTlr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5ed45d61-5e6a-4b14-b681-6bba9de18f8b",e._sentryDebugIdIdentifier="sentry-dbid-5ed45d61-5e6a-4b14-b681-6bba9de18f8b")}catch{}})();function S({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return t.jsxs(y,{style:o,hasRightComponent:h,children:[t.jsx(m,{children:e.map(s=>{const a=s.id===n,d=s.isDisabled!=null;return t.jsxs($,{onClick:()=>{a===!1&&!d&&p(s)},isSelected:a,isDisabled:d,"data-testid":b("sub-tab-switcher",String(s.id)),children:[t.jsx(x,{children:s.label}),s.countDetails?.count!=null?t.jsx(w,{children:t.jsx(D,{isCircular:s.countDetails.count==null||s.countDetails.count<10,children:t.jsx(j,{children:s.countDetails.isFetching?t.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):s.countDetails.count})})}):null]},s.id)})}),l]})}const y=r.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
@@ -1,4 +1,4 @@
1
- import{cx as c,h7 as u,z as p,V as n,ap as y}from"./index-CuxRoVvZ.js";import{a as m,b}from"./sentry-Cm8I7E9J.js";import{c as h,n as g,k as w}from"./mui-G2MlMTlr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1eaba43a-29f2-4999-83e9-1475de7780c8",e._sentryDebugIdIdentifier="sentry-dbid-1eaba43a-29f2-4999-83e9-1475de7780c8")}catch{}})();const x=w`
1
+ import{cx as c,h7 as u,z as p,V as n,ap as y}from"./index-mhb15COx.js";import{a as m,b}from"./sentry-Cm8I7E9J.js";import{c as h,n as g,k as w}from"./mui-G2MlMTlr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1eaba43a-29f2-4999-83e9-1475de7780c8",e._sentryDebugIdIdentifier="sentry-dbid-1eaba43a-29f2-4999-83e9-1475de7780c8")}catch{}})();const x=w`
2
2
  from {
3
3
  opacity: 1;
4
4
  }
@@ -1 +1 @@
1
- import{V as d}from"./index-CuxRoVvZ.js";import{E as n,T as r}from"./ReloadCard-Bjp8ygC2-fExG7Dij.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="cea74f7a-ca85-4d8f-ac66-7634cbba31ca",a._sentryDebugIdIdentifier="sentry-dbid-cea74f7a-ca85-4d8f-ac66-7634cbba31ca")}catch{}})();const o=a=>d.jsx("div",{children:a.card.fetchState==="In-Progress"||a.card.fetchState==="Not-Started"?d.jsx(n,{dimension:a.card.dimension,animated:!a.card.disableAnimations}):a.card.fetchState==="Error"?d.jsx(r,{dimension:a.card.dimension,cardType:a.card.cardType,cardIndex:a.card.cardIndex,onReloadData:a.actions.onReloadData}):d.jsx("div",{children:a.children})});export{o as c};
1
+ import{V as d}from"./index-mhb15COx.js";import{E as n,T as r}from"./ReloadCard-Bjp8ygC2-DsEbxw3o.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="cea74f7a-ca85-4d8f-ac66-7634cbba31ca",a._sentryDebugIdIdentifier="sentry-dbid-cea74f7a-ca85-4d8f-ac66-7634cbba31ca")}catch{}})();const o=a=>d.jsx("div",{children:a.card.fetchState==="In-Progress"||a.card.fetchState==="Not-Started"?d.jsx(n,{dimension:a.card.dimension,animated:!a.card.disableAnimations}):a.card.fetchState==="Error"?d.jsx(r,{dimension:a.card.dimension,cardType:a.card.cardType,cardIndex:a.card.cardIndex,onReloadData:a.actions.onReloadData}):d.jsx("div",{children:a.children})});export{o as c};
@@ -1,4 +1,4 @@
1
- import{cc as ce,y as at,dX as ge,V as t,e4 as lt,ej as Ct,o as i,f as b,fH as Lt,b4 as H,bn as ze,O as oe,C as ot,H as st,e as me,x as $,a7 as ue,gm as Ot,T as It,c8 as Et,E as Tt,m as c,A as Pt,dS as Ft,c6 as We,fz as zt,fA as Vt,ci as nt,iI as Bt,a9 as Mt,j as dt,l as ct,w as de,cp as Rt,b2 as Nt,a8 as pt,aV as _t,t as At,aA as qt,bd as Wt,ab as Ut,fT as Gt,ar as Ht,ex as Yt,iJ as Kt,dP as Xt,el as Jt,cj as Zt,iK as Qt,L as ei,iL as ti,D as ii,iM as ri,d as ut,at as ai,bs as li}from"./index-CuxRoVvZ.js";import{a as E}from"./sentry-Cm8I7E9J.js";import{n as r,c as oi}from"./mui-G2MlMTlr.js";import{a as ht,e as si,f as ni}from"./liveblocks--AdozwCz.js";import{Gf as Ue,Gg as Ge,bs as ye,BK as di,bG as Ve,GB as Be,GC as ci,GD as pi}from"./zeni-epic-state-lC5X-sam.js";import{e as gt}from"./LabeledSingleSelectField-D_LoOMiZ-CAsbCcep.js";import{y as ui}from"./MoreMenuButton-CkkW1atP-BhjeSlOV.js";import{t as hi}from"./hyperlink-DQyCeXx2-Bwqrw7ES.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./recharts-3tylCZU1.js";import"./utils-BhOlvYO8.js";import"./bank-letter-BOcVjN6J-DhC6VHDB.js";import"./spend-limit-D6SyboD4-d-tIWfnn.js";import"./dollar-round-D18u7nlm-BF4Thvjs.js";import"./money-2cg1MuG4-CfgKOIyt.js";import"./page-summary-D7_VQHwN-CaK_VLEF.js";import"./transaction-placeholder-CpOwZAMG-CXIruzlf.js";import"./unlock-BPWn2I5L-8UNw8MhM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="04f0066d-235c-46ab-90b4-4030bbe400de",e._sentryDebugIdIdentifier="sentry-dbid-04f0066d-235c-46ab-90b4-4030bbe400de")}catch{}})();const{collaboration:{threads:{placeholder:{addANewComment:gi}}}}=oe.getLocalizedStrings(),mi=e=>{const l=E.useRef(null),{allowComposer:o=!0,filter:s,initialScrollToThreadId:p,showDeleted:m=!1,showReactions:n=!0,showAttachments:u=!0,autoExpand:k=!1,autoFocus:S=!1,showActions:y="hover",indentContent:v=!0,textOverrides:L,threadMetadata:I,style:z,composerContainerStyle:G,threadsContainerStyle:V,threadStyle:W,onThreadClick:_}=e,{composerPlaceholder:Z=gi}=L,Y=si(),{threads:T,isLoading:Q,hasFetchedAll:ee,isFetchingMore:te,fetchMore:x}=ht({query:{metadata:s}});E.useEffect(()=>{const P=setTimeout(()=>x?.(),0);return()=>clearTimeout(P)});const d=Q||te===!0||ee!==!0,h=E.useMemo(()=>T?Qt(T):[],[T]);E.useEffect(()=>{d===!1&&p!=null&&p!==""&&l.current!=null&&l.current.querySelector(`[data-thread-id="${p}"]`)?.scrollIntoView({behavior:"smooth",block:"center"})},[d,p]);const D=E.useCallback(({body:P},U)=>{U.preventDefault(),U.stopPropagation(),I!=null&&(Y({body:P,metadata:I}),l.current?.scrollTo({top:0}))},[Y,I]);return t.jsxs(fi,{style:z,children:[d===!0?t.jsx(yi,{children:t.jsx(ei,{size:"Standard",style:{color:"inherit"},start:!0})}):t.jsx(bi,{style:V,ref:l,children:h.map(P=>t.jsx(ti,{thread:P,dataThreadId:P.id,showDeleted:m,showActions:y,autoExpand:k,autoFocus:S,showReactions:n,indentContent:v,textOverrides:L,showAttachments:u,style:W,onThreadClick:U=>_(U)},P.id))}),o&&I!=null&&d===!1?t.jsx(xi,{style:G,children:t.jsx(ni,{onComposerSubmit:D,overrides:{COMPOSER_PLACEHOLDER:Z},defaultCollapsed:!0,showAttachments:u,autoFocus:!1})}):null]})},fi=r.div`
1
+ import{cc as ce,y as at,dX as ge,V as t,e4 as lt,ej as Ct,o as i,f as b,fH as Lt,b4 as H,bn as ze,O as oe,C as ot,H as st,e as me,x as $,a7 as ue,gm as Ot,T as It,c8 as Et,E as Tt,m as c,A as Pt,dS as Ft,c6 as We,fz as zt,fA as Vt,ci as nt,iI as Bt,a9 as Mt,j as dt,l as ct,w as de,cp as Rt,b2 as Nt,a8 as pt,aV as _t,t as At,aA as qt,bd as Wt,ab as Ut,fT as Gt,ar as Ht,ex as Yt,iJ as Kt,dP as Xt,el as Jt,cj as Zt,iK as Qt,L as ei,iL as ti,D as ii,iM as ri,d as ut,at as ai,bs as li}from"./index-mhb15COx.js";import{a as E}from"./sentry-Cm8I7E9J.js";import{n as r,c as oi}from"./mui-G2MlMTlr.js";import{a as ht,e as si,f as ni}from"./liveblocks--AdozwCz.js";import{Gf as Ue,Gg as Ge,bs as ye,BK as di,bG as Ve,GB as Be,GC as ci,GD as pi}from"./zeni-epic-state-lC5X-sam.js";import{e as gt}from"./LabeledSingleSelectField-D_LoOMiZ-BMpo-aMs.js";import{y as ui}from"./MoreMenuButton-CkkW1atP-CT7ietod.js";import{t as hi}from"./hyperlink-DQyCeXx2-Bwqrw7ES.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./recharts-3tylCZU1.js";import"./utils-BhOlvYO8.js";import"./bank-letter-BOcVjN6J-DhC6VHDB.js";import"./spend-limit-D6SyboD4-d-tIWfnn.js";import"./dollar-round-D18u7nlm-BF4Thvjs.js";import"./money-2cg1MuG4-CfgKOIyt.js";import"./page-summary-D7_VQHwN-CaK_VLEF.js";import"./transaction-placeholder-CpOwZAMG-CXIruzlf.js";import"./unlock-BPWn2I5L-8UNw8MhM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="04f0066d-235c-46ab-90b4-4030bbe400de",e._sentryDebugIdIdentifier="sentry-dbid-04f0066d-235c-46ab-90b4-4030bbe400de")}catch{}})();const{collaboration:{threads:{placeholder:{addANewComment:gi}}}}=oe.getLocalizedStrings(),mi=e=>{const l=E.useRef(null),{allowComposer:o=!0,filter:s,initialScrollToThreadId:p,showDeleted:m=!1,showReactions:n=!0,showAttachments:u=!0,autoExpand:k=!1,autoFocus:S=!1,showActions:y="hover",indentContent:v=!0,textOverrides:L,threadMetadata:I,style:z,composerContainerStyle:G,threadsContainerStyle:V,threadStyle:W,onThreadClick:_}=e,{composerPlaceholder:Z=gi}=L,Y=si(),{threads:T,isLoading:Q,hasFetchedAll:ee,isFetchingMore:te,fetchMore:x}=ht({query:{metadata:s}});E.useEffect(()=>{const P=setTimeout(()=>x?.(),0);return()=>clearTimeout(P)});const d=Q||te===!0||ee!==!0,h=E.useMemo(()=>T?Qt(T):[],[T]);E.useEffect(()=>{d===!1&&p!=null&&p!==""&&l.current!=null&&l.current.querySelector(`[data-thread-id="${p}"]`)?.scrollIntoView({behavior:"smooth",block:"center"})},[d,p]);const D=E.useCallback(({body:P},U)=>{U.preventDefault(),U.stopPropagation(),I!=null&&(Y({body:P,metadata:I}),l.current?.scrollTo({top:0}))},[Y,I]);return t.jsxs(fi,{style:z,children:[d===!0?t.jsx(yi,{children:t.jsx(ei,{size:"Standard",style:{color:"inherit"},start:!0})}):t.jsx(bi,{style:V,ref:l,children:h.map(P=>t.jsx(ti,{thread:P,dataThreadId:P.id,showDeleted:m,showActions:y,autoExpand:k,autoFocus:S,showReactions:n,indentContent:v,textOverrides:L,showAttachments:u,style:W,onThreadClick:U=>_(U)},P.id))}),o&&I!=null&&d===!1?t.jsx(xi,{style:G,children:t.jsx(ni,{onComposerSubmit:D,overrides:{COMPOSER_PLACEHOLDER:Z},defaultCollapsed:!0,showAttachments:u,autoFocus:!1})}):null]})},fi=r.div`
2
2
  width: 100%;
3
3
  height: 100%;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{j as p}from"./pdf-DwfifS04.js";import{a as T}from"./sentry-Cm8I7E9J.js";import{j as E,i as O,h as x,u as G,l as F,k as N}from"./core-CaikJZHD.js";import{js as $,aE as P,aG as v,bj as K,jz as R,jQ as _,J as M,ml as U,jO as g,jM as V}from"./index-CuxRoVvZ.js";import{ct as z,Oa as b,Cg as S,Ob as w,O6 as A,BG as B,Oc as W,BL as C,Bj as J,Ch as I,Od as L,eg as Q,C6 as Y,Cb as q,B_ as H,BY as X,Cc as Z,BV as aa,Oe as ta,Of as ea,Og as sa,Oh as d,Gy as oa,Oi as na,Oj as la}from"./zeni-epic-state-lC5X-sam.js";import{n as ra}from"./mui-G2MlMTlr.js";import{M as ia}from"./MobileAppDrawer-D4KAg1N8.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="042268ae-1fec-4c52-8c24-ffc89accc454",t._sentryDebugIdIdentifier="sentry-dbid-042268ae-1fec-4c52-8c24-ffc89accc454")}catch{}})();const ca=ra.div`
1
+ import{j as p}from"./pdf-DwfifS04.js";import{a as T}from"./sentry-Cm8I7E9J.js";import{j as E,i as O,h as x,u as G,l as F,k as N}from"./core-CaikJZHD.js";import{js as $,aE as P,aG as v,bj as K,jz as R,jQ as _,J as M,ml as U,jO as g,jM as V}from"./index-mhb15COx.js";import{ct as z,Oa as b,Cg as S,Ob as w,O6 as A,BG as B,Oc as W,BL as C,Bj as J,Ch as I,Od as L,eg as Q,C6 as Y,Cb as q,B_ as H,BY as X,Cc as Z,BV as aa,Oe as ta,Of as ea,Og as sa,Oh as d,Gy as oa,Oi as na,Oj as la}from"./zeni-epic-state-lC5X-sam.js";import{n as ra}from"./mui-G2MlMTlr.js";import{M as ia}from"./MobileAppDrawer-D7V2koAX.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="042268ae-1fec-4c52-8c24-ffc89accc454",t._sentryDebugIdIdentifier="sentry-dbid-042268ae-1fec-4c52-8c24-ffc89accc454")}catch{}})();const ca=ra.div`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{e as ye,cc as Me,f as we,V as t,E as U,dS as Et,w as ce,o as s,bn as fe,fy as Pt,gt as nt,C as E,x as Q,ee as He,O as D,s as Wt,fw as Rt,fW as Bt,f5 as xt,l as ee,bU as ls,t as At,aR as as,cp as ds,iF as cs,m as B,ar as ps,H as Oe,y as _e,a1 as We,bl as us,fT as Ft,e4 as Ut,b as je,cq as lt,ib as hs,b_ as ms,c1 as Vt,k as gs,b3 as xs,b4 as De,bi as ks,cs as ws,j as Ht,b2 as fs,gr as _t,_ as $s,a_ as ys,bR as bs,D as vs,bH as tt,bN as Cs,at as js,bd as Kt,ab as Ss,bF as Ts,T as Ls,c8 as Gs,A as zs,an as Is,bV as Ds,a9 as Ns,a as at,iG as Ms,gs as Os,a8 as Es,iH as Ps,cB as Ws}from"./index-CuxRoVvZ.js";import{a as n,b as st}from"./sentry-Cm8I7E9J.js";import{n as o,c as J}from"./mui-G2MlMTlr.js";import{Gx as Rs,Gv as Bs,Gg as dt,Gf as Ke,bs as As,BK as Yt,Gy as Fs,Gz as Us,GA as kt}from"./zeni-epic-state-lC5X-sam.js";import{m as Vs}from"./BusyIndication-Cp8KWKB2-C3oZ8Ini.js";import{J as Hs,t as _s}from"./SpendManagementSection-DZFPfKNi-a6NNMz0d.js";import{A as Ks,t as Ys,a as qs,E as Zs}from"./NotificationsListConfig-ThKLok_w-B2H6cGPA.js";import{a as Js}from"./SpendManagementListViewPage-MOCWuROI-B6XDQZbP.js";import{M as Xs,S as Qs,L as eo,_ as to}from"./common-Cu5K0AJk-Cxd55kqL.js";import{b as Ce,c as ct,a as ot,C as so,d as qt,T as Zt,M as Jt,t as be,g as oo,S as ro,e as Ne,s as pt,p as ut,f as ht,h as mt,i as gt,j as Re,n as ke,k as wt,l as pe}from"./TaskDetailPage-CXexRKAY-PJYd8Hc8.js";import{r as io}from"./avatar-Dz7aEm3d-CxU8IzEu.js";import{g as no}from"./ZeniDatePicker-Bw9RlgoL-BmT27weB.js";import{d as lo}from"./ZeniAvatar-C38T0-5--BSN8GGLN.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./MoreMenuButton-CkkW1atP-BhjeSlOV.js";import"./bank-letter-BOcVjN6J-DhC6VHDB.js";import"./spend-limit-D6SyboD4-d-tIWfnn.js";import"./dollar-round-D18u7nlm-BF4Thvjs.js";import"./money-2cg1MuG4-CfgKOIyt.js";import"./page-summary-D7_VQHwN-CaK_VLEF.js";import"./transaction-placeholder-CpOwZAMG-CXIruzlf.js";import"./unlock-BPWn2I5L-8UNw8MhM.js";import"./filter-cZIFUNvj-CWbeOwgA.js";import"./StatusSwitcher-jxaonB4S-BRWCrppB.js";import"./calculateSize-QoQyn_Ku-BQL_mWcG.js";import"./LabeledSingleSelectField-D_LoOMiZ-CAsbCcep.js";import"./hyperlink-DQyCeXx2-Bwqrw7ES.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="0f33faec-acc9-4915-b3b8-aea9244e1c14",e._sentryDebugIdIdentifier="sentry-dbid-0f33faec-acc9-4915-b3b8-aea9244e1c14")}catch{}})();const ao=({name:e,defaultValue:i,registerOptions:r,dateFormat:l,style:p,inputStyles:d,minDate:a})=>{const{control:c}=Me();return t.jsx(Ut,{name:e,control:c,defaultValue:i,rules:r,render:({field:{value:h,onChange:g}})=>t.jsx(no,{selectedDate:{date:h.date,businessDay:h.businessDay},onSelectedDateChanged:(x,m)=>g({date:x,businessDay:m,showBusinessDay:i.showBusinessDay,maxDate:i.maxDate}),showBusinessDay:i.showBusinessDay,maxDate:i.maxDate,style:p,dateFormat:l,inputStyles:d,minDate:a})})},co={controller:D.getLocalizedStrings().cockpit.userMultiSelectHeaders.selectedControllers,preparer:D.getLocalizedStrings().cockpit.userMultiSelectHeaders.selectedPreparers,reviewer:D.getLocalizedStrings().cockpit.userMultiSelectHeaders.selectedReviewers,apAnalyst:D.getLocalizedStrings().cockpit.userMultiSelectHeaders.selectedAPAnalysts,taxLead:D.getLocalizedStrings().cockpit.userMultiSelectHeaders.selectedTaxLeads},po=(e="")=>{const i=e?.replace(/^companyData\./,"");return co[i]||D.getLocalizedStrings().cockpit.userMultiSelectHeaders.selectedUsers},uo=o.div`
1
+ import{e as ye,cc as Me,f as we,V as t,E as U,dS as Et,w as ce,o as s,bn as fe,fy as Pt,gt as nt,C as E,x as Q,ee as He,O as D,s as Wt,fw as Rt,fW as Bt,f5 as xt,l as ee,bU as ls,t as At,aR as as,cp as ds,iF as cs,m as B,ar as ps,H as Oe,y as _e,a1 as We,bl as us,fT as Ft,e4 as Ut,b as je,cq as lt,ib as hs,b_ as ms,c1 as Vt,k as gs,b3 as xs,b4 as De,bi as ks,cs as ws,j as Ht,b2 as fs,gr as _t,_ as $s,a_ as ys,bR as bs,D as vs,bH as tt,bN as Cs,at as js,bd as Kt,ab as Ss,bF as Ts,T as Ls,c8 as Gs,A as zs,an as Is,bV as Ds,a9 as Ns,a as at,iG as Ms,gs as Os,a8 as Es,iH as Ps,cB as Ws}from"./index-mhb15COx.js";import{a as n,b as st}from"./sentry-Cm8I7E9J.js";import{n as o,c as J}from"./mui-G2MlMTlr.js";import{Gx as Rs,Gv as Bs,Gg as dt,Gf as Ke,bs as As,BK as Yt,Gy as Fs,Gz as Us,GA as kt}from"./zeni-epic-state-lC5X-sam.js";import{m as Vs}from"./BusyIndication-Cp8KWKB2-paVspSd6.js";import{J as Hs,t as _s}from"./SpendManagementSection-DZFPfKNi-DT0rYb2P.js";import{A as Ks,t as Ys,a as qs,E as Zs}from"./NotificationsListConfig-ThKLok_w-Bx-0LQ4e.js";import{a as Js}from"./SpendManagementListViewPage-MOCWuROI-DdkFjcW6.js";import{M as Xs,S as Qs,L as eo,_ as to}from"./common-Cu5K0AJk-BihNw_Do.js";import{b as Ce,c as ct,a as ot,C as so,d as qt,T as Zt,M as Jt,t as be,g as oo,S as ro,e as Ne,s as pt,p as ut,f as ht,h as mt,i as gt,j as Re,n as ke,k as wt,l as pe}from"./TaskDetailPage-CXexRKAY-BOPspi-s.js";import{r as io}from"./avatar-Dz7aEm3d-CxU8IzEu.js";import{g as no}from"./ZeniDatePicker-Bw9RlgoL-DDQaNsVY.js";import{d as lo}from"./ZeniAvatar-C38T0-5--BM3XjRcp.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./MoreMenuButton-CkkW1atP-CT7ietod.js";import"./bank-letter-BOcVjN6J-DhC6VHDB.js";import"./spend-limit-D6SyboD4-d-tIWfnn.js";import"./dollar-round-D18u7nlm-BF4Thvjs.js";import"./money-2cg1MuG4-CfgKOIyt.js";import"./page-summary-D7_VQHwN-CaK_VLEF.js";import"./transaction-placeholder-CpOwZAMG-CXIruzlf.js";import"./unlock-BPWn2I5L-8UNw8MhM.js";import"./filter-cZIFUNvj-CWbeOwgA.js";import"./StatusSwitcher-jxaonB4S-Cxq2Q9_V.js";import"./calculateSize-QoQyn_Ku-j5kLdf_t.js";import"./LabeledSingleSelectField-D_LoOMiZ-BMpo-aMs.js";import"./hyperlink-DQyCeXx2-Bwqrw7ES.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="0f33faec-acc9-4915-b3b8-aea9244e1c14",e._sentryDebugIdIdentifier="sentry-dbid-0f33faec-acc9-4915-b3b8-aea9244e1c14")}catch{}})();const ao=({name:e,defaultValue:i,registerOptions:r,dateFormat:l,style:p,inputStyles:d,minDate:a})=>{const{control:c}=Me();return t.jsx(Ut,{name:e,control:c,defaultValue:i,rules:r,render:({field:{value:h,onChange:g}})=>t.jsx(no,{selectedDate:{date:h.date,businessDay:h.businessDay},onSelectedDateChanged:(x,m)=>g({date:x,businessDay:m,showBusinessDay:i.showBusinessDay,maxDate:i.maxDate}),showBusinessDay:i.showBusinessDay,maxDate:i.maxDate,style:p,dateFormat:l,inputStyles:d,minDate:a})})},co={controller:D.getLocalizedStrings().cockpit.userMultiSelectHeaders.selectedControllers,preparer:D.getLocalizedStrings().cockpit.userMultiSelectHeaders.selectedPreparers,reviewer:D.getLocalizedStrings().cockpit.userMultiSelectHeaders.selectedReviewers,apAnalyst:D.getLocalizedStrings().cockpit.userMultiSelectHeaders.selectedAPAnalysts,taxLead:D.getLocalizedStrings().cockpit.userMultiSelectHeaders.selectedTaxLeads},po=(e="")=>{const i=e?.replace(/^companyData\./,"");return co[i]||D.getLocalizedStrings().cockpit.userMultiSelectHeaders.selectedUsers},uo=o.div`
2
2
  height: ${s.sp4};
3
3
  display: flex;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{j as s}from"./pdf-DwfifS04.js";import F from"./NotFoundScreen-DxyQKnff.js";import{a as d}from"./sentry-Cm8I7E9J.js";import{j as $,i as M,h as R,l as A,u as g,N as V,k as _,R as q,m as k}from"./core-CaikJZHD.js";import{N as z,js as w,jO as b,bj as H,jz as C,jQ as J,J as K,mk as Q,jD as Z,kv as W,jM as X}from"./index-CuxRoVvZ.js";import{ct as B,O6 as G,BC as E,Bq as Y,C3 as ee,O7 as v,O8 as te,Bm as ae,Bj as se,mK as ne,my as oe,hj as re,Bw as ie,O9 as ce,Bt as le,BH as me,BG as de}from"./zeni-epic-state-lC5X-sam.js";import{n as pe}from"./mui-G2MlMTlr.js";import{u as ue}from"./useInitialThreadRequest-CtiCksTW.js";import{M as ke}from"./MobileAppDrawer-D4KAg1N8.js";import fe from"./TaskListScreen-D5r5oVZW.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1f1d8c54-5977-47bf-bc45-3445c8c167a0",e._sentryDebugIdIdentifier="sentry-dbid-1f1d8c54-5977-47bf-bc45-3445c8c167a0")}catch{}})();const ge=_(function(e,a){const{location:n,taskGroupId:c}=a,m=v(e,a.taskId),l=B(e),r=c!=null?te(e.taskGroupState,c):void 0,p=w.getSignedInUser(),t=l.tenantId,i={userId:p?.userId??"",sessionId:p?.zeniSessionId??"",tenantId:t??""},f=G(e);return{taskDetailSelectorView:m,authParams:i,isNewClicked:n.state?.message==="comingFromTaskListPage",filesEndPoint:W.fileMicroServiceBaseUrl,companyName:a.currentTenant.companyName,companyId:a.currentTenant.companyId,currentUrl:`${Z.appUrl}${a.location.pathname}`,tagListView:f,taskGroupName:c!=null&&r!=null&&r.isDefault===!1?r.name:void 0}},function(e,a){const{taskId:n,navigate:c,currentTenant:m,location:l,taskGroupId:r}=a,{tenantEmailDomain:p}=m;return{onSaveChangesToLocalStore:t=>{e(de({taskDetailLocalData:t,taskId:n}))},onSaveDetailClick:()=>{e(me(n,r))},onArchiveTaskClick:()=>{a.taskId!=null&&e(le(a.taskId))},onDismissClick:()=>{if(l.state?.message==="triggerBackClick"){const t=X(l.state?.pathnameStackToGoBack),i=t.poppedPathname??"../../dashboard";c(i,{state:{pathnameStackToGoBack:t.newStack}})}else{const t=L(p),i=b(l.state?.pathnameStackToGoBack,l.pathname);c(t,{state:{pathnameStackToGoBack:i}})}e(ce({taskId:n}))},onDeleteTaskClick:()=>{e(ie(n))},updateFilesEntity:t=>{e(re({files:t}))},onDeleteFile:t=>{e(oe(t))},onEditFileName:(t,i)=>{e(ne(t,i.split(".")[0]))},onReloadTaskDetailPage:()=>{e(E(!1,n))},onCreateTagClick:t=>{e(se(t,n))},onDeleteTagClick:t=>{e(ae(t,n))}}})(Q);function I(){const e=$(),a=M(),n=R(),c=z(),{taskId:m,taskGroupId:l}=A(),r=g(o=>B(o)),p=ue(r?.companyId),[t,i]=d.useState(!1),[f,N]=d.useState(!1),[j,O]=d.useState(!1),[S,P]=d.useState(!1),x=g(o=>G(o)),T=g(o=>o.taskGroupViewState.fetchState);d.useEffect(()=>{f||(N(!0),a(E(!1,m)))},[f,a]),d.useEffect(()=>{j||x.fetchState==="Completed"||(O(!0),a(Y()))},[j,a,x.fetchState]),d.useEffect(()=>{S||T==="Completed"||(P(!0),a(ee()))},[S,a,T]);const y=g(o=>v(o,m)),u=y.fetchState,D=w.getSignedInUser();if(D==null)throw Error("Can't access task detail page without signing in...");if(u==="Error"&&y.error?.code===400){const{tenantEmailDomain:o}=r,h=L(o),U=b(n.state?.pathnameStackToGoBack,n.pathname);return s.jsx(V,{to:h,state:{pathnameStackToGoBack:U}})}return s.jsxs(s.Fragment,{children:[u==="Completed"?s.jsx(H,{analytics:C,onLoad:o=>(h=>h.trackPageLoaded(K.Event.taskDetailPage))(o)}):null,u==="Completed"||u==="Error"?s.jsxs(he,{children:[s.jsx(ke,{isAppContentDrawerOpen:t,handleDrawerToggle:o=>{i(o)}}),s.jsx(ge,{analytics:C,currentTenant:r,handleZeniLogoClick:()=>{c.toggle()},initialOpenThreadRequest:p,location:n,loggedInUser:D,navigate:e,taskGroupId:l,taskId:m})]}):s.jsx(J,{fetchState:u})]})}const he=pe.div`
1
+ import{j as s}from"./pdf-DwfifS04.js";import F from"./NotFoundScreen-BBbILNsa.js";import{a as d}from"./sentry-Cm8I7E9J.js";import{j as $,i as M,h as R,l as A,u as g,N as V,k as _,R as q,m as k}from"./core-CaikJZHD.js";import{N as z,js as w,jO as b,bj as H,jz as C,jQ as J,J as K,mk as Q,jD as Z,kv as W,jM as X}from"./index-mhb15COx.js";import{ct as B,O6 as G,BC as E,Bq as Y,C3 as ee,O7 as v,O8 as te,Bm as ae,Bj as se,mK as ne,my as oe,hj as re,Bw as ie,O9 as ce,Bt as le,BH as me,BG as de}from"./zeni-epic-state-lC5X-sam.js";import{n as pe}from"./mui-G2MlMTlr.js";import{u as ue}from"./useInitialThreadRequest-Dldme96o.js";import{M as ke}from"./MobileAppDrawer-D7V2koAX.js";import fe from"./TaskListScreen-B0RVzFet.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="1f1d8c54-5977-47bf-bc45-3445c8c167a0",e._sentryDebugIdIdentifier="sentry-dbid-1f1d8c54-5977-47bf-bc45-3445c8c167a0")}catch{}})();const ge=_(function(e,a){const{location:n,taskGroupId:c}=a,m=v(e,a.taskId),l=B(e),r=c!=null?te(e.taskGroupState,c):void 0,p=w.getSignedInUser(),t=l.tenantId,i={userId:p?.userId??"",sessionId:p?.zeniSessionId??"",tenantId:t??""},f=G(e);return{taskDetailSelectorView:m,authParams:i,isNewClicked:n.state?.message==="comingFromTaskListPage",filesEndPoint:W.fileMicroServiceBaseUrl,companyName:a.currentTenant.companyName,companyId:a.currentTenant.companyId,currentUrl:`${Z.appUrl}${a.location.pathname}`,tagListView:f,taskGroupName:c!=null&&r!=null&&r.isDefault===!1?r.name:void 0}},function(e,a){const{taskId:n,navigate:c,currentTenant:m,location:l,taskGroupId:r}=a,{tenantEmailDomain:p}=m;return{onSaveChangesToLocalStore:t=>{e(de({taskDetailLocalData:t,taskId:n}))},onSaveDetailClick:()=>{e(me(n,r))},onArchiveTaskClick:()=>{a.taskId!=null&&e(le(a.taskId))},onDismissClick:()=>{if(l.state?.message==="triggerBackClick"){const t=X(l.state?.pathnameStackToGoBack),i=t.poppedPathname??"../../dashboard";c(i,{state:{pathnameStackToGoBack:t.newStack}})}else{const t=L(p),i=b(l.state?.pathnameStackToGoBack,l.pathname);c(t,{state:{pathnameStackToGoBack:i}})}e(ce({taskId:n}))},onDeleteTaskClick:()=>{e(ie(n))},updateFilesEntity:t=>{e(re({files:t}))},onDeleteFile:t=>{e(oe(t))},onEditFileName:(t,i)=>{e(ne(t,i.split(".")[0]))},onReloadTaskDetailPage:()=>{e(E(!1,n))},onCreateTagClick:t=>{e(se(t,n))},onDeleteTagClick:t=>{e(ae(t,n))}}})(Q);function I(){const e=$(),a=M(),n=R(),c=z(),{taskId:m,taskGroupId:l}=A(),r=g(o=>B(o)),p=ue(r?.companyId),[t,i]=d.useState(!1),[f,N]=d.useState(!1),[j,O]=d.useState(!1),[S,P]=d.useState(!1),x=g(o=>G(o)),T=g(o=>o.taskGroupViewState.fetchState);d.useEffect(()=>{f||(N(!0),a(E(!1,m)))},[f,a]),d.useEffect(()=>{j||x.fetchState==="Completed"||(O(!0),a(Y()))},[j,a,x.fetchState]),d.useEffect(()=>{S||T==="Completed"||(P(!0),a(ee()))},[S,a,T]);const y=g(o=>v(o,m)),u=y.fetchState,D=w.getSignedInUser();if(D==null)throw Error("Can't access task detail page without signing in...");if(u==="Error"&&y.error?.code===400){const{tenantEmailDomain:o}=r,h=L(o),U=b(n.state?.pathnameStackToGoBack,n.pathname);return s.jsx(V,{to:h,state:{pathnameStackToGoBack:U}})}return s.jsxs(s.Fragment,{children:[u==="Completed"?s.jsx(H,{analytics:C,onLoad:o=>(h=>h.trackPageLoaded(K.Event.taskDetailPage))(o)}):null,u==="Completed"||u==="Error"?s.jsxs(he,{children:[s.jsx(ke,{isAppContentDrawerOpen:t,handleDrawerToggle:o=>{i(o)}}),s.jsx(ge,{analytics:C,currentTenant:r,handleZeniLogoClick:()=>{c.toggle()},initialOpenThreadRequest:p,location:n,loggedInUser:D,navigate:e,taskGroupId:l,taskId:m})]}):s.jsx(J,{fetchState:u})]})}const he=pe.div`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{V as o,an as q,b as C,S as z,cL as A,aP as G,o as c,C as J,O as K}from"./index-CuxRoVvZ.js";import{a as i}from"./sentry-Cm8I7E9J.js";import{n as m}from"./mui-G2MlMTlr.js";import{X as Q}from"./core-CaikJZHD.js";import{Z as U}from"./CollapsableReportTable-gy7Ue_fk-xkuj86hA.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="5468c6a3-dc1f-4873-8cac-42bee64cb938",e._sentryDebugIdIdentifier="sentry-dbid-5468c6a3-dc1f-4873-8cac-42bee64cb938")}catch{}})();const{dateFormat:x}=K.getLocalizedStrings(),xe=(e,r)=>{const{startDate:n,endDate:t}=e;return r&&n.month()!==t.month()?`in ${n.format(x.visual.MMMYYFormat)} - ${t.format(x.visual.MMMYYFormat)}`:n.month()===t.month()?`in ${n.format(x.visual.MMMDFormat)} - ${t.format(x.visual.MMMDCommaYYFormat)}`:`in ${n.format(x.visual.MMMDCommaYYFormat)} - ${t.format(x.visual.MMMDCommaYYFormat)}`},pe=(e,r)=>{if(r.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let n=e.length-1;if(r.thisPeriod!=null){const t=r.thisPeriod;let d=e.findIndex(l=>l.startDate.isSame(t.startDate,"date")&&l.endDate.isSameOrBefore(t.endDate));d<0&&(d=e.findIndex(l=>l.startDate.isSame(t.startDate,"month")&&l.startDate.isSame(t.startDate,"year"))),d>=0&&(n=d)}return{startIndex:Math.max(n+1-r.numberOfPeriods,0),length:r.numberOfPeriods}},be=(e,r)=>({thisPeriod:e[e.length-1-r.offsetFromEnd],numberOfPeriods:r.length,orderBy:"ascending_date"}),ye=(e,r)=>({thisPeriod:e[r.startIndex+r.length-1>e.length?e.length-1:r.startIndex+r.length-1],numberOfPeriods:r.length,orderBy:"ascending_date"}),W=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),i.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),ee=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),i.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),b=40,f=90,te=m.div`
1
+ import{V as o,an as q,b as C,S as z,cL as A,aP as G,o as c,C as J,O as K}from"./index-mhb15COx.js";import{a as i}from"./sentry-Cm8I7E9J.js";import{n as m}from"./mui-G2MlMTlr.js";import{X as Q}from"./core-CaikJZHD.js";import{Z as U}from"./CollapsableReportTable-gy7Ue_fk-Cp0GdxMJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="5468c6a3-dc1f-4873-8cac-42bee64cb938",e._sentryDebugIdIdentifier="sentry-dbid-5468c6a3-dc1f-4873-8cac-42bee64cb938")}catch{}})();const{dateFormat:x}=K.getLocalizedStrings(),xe=(e,r)=>{const{startDate:n,endDate:t}=e;return r&&n.month()!==t.month()?`in ${n.format(x.visual.MMMYYFormat)} - ${t.format(x.visual.MMMYYFormat)}`:n.month()===t.month()?`in ${n.format(x.visual.MMMDFormat)} - ${t.format(x.visual.MMMDCommaYYFormat)}`:`in ${n.format(x.visual.MMMDCommaYYFormat)} - ${t.format(x.visual.MMMDCommaYYFormat)}`},pe=(e,r)=>{if(r.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let n=e.length-1;if(r.thisPeriod!=null){const t=r.thisPeriod;let d=e.findIndex(l=>l.startDate.isSame(t.startDate,"date")&&l.endDate.isSameOrBefore(t.endDate));d<0&&(d=e.findIndex(l=>l.startDate.isSame(t.startDate,"month")&&l.startDate.isSame(t.startDate,"year"))),d>=0&&(n=d)}return{startIndex:Math.max(n+1-r.numberOfPeriods,0),length:r.numberOfPeriods}},be=(e,r)=>({thisPeriod:e[e.length-1-r.offsetFromEnd],numberOfPeriods:r.length,orderBy:"ascending_date"}),ye=(e,r)=>({thisPeriod:e[r.startIndex+r.length-1>e.length?e.length-1:r.startIndex+r.length-1],numberOfPeriods:r.length,orderBy:"ascending_date"}),W=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),i.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),ee=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),i.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),b=40,f=90,te=m.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: flex-start;
@@ -1,4 +1,4 @@
1
- import{V as o,b as m,o as t,C as p,O as u}from"./index-CuxRoVvZ.js";import{n as i}from"./mui-G2MlMTlr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="1ceb6cb0-882f-431f-8956-b8d99c7cfb8d",e._sentryDebugIdIdentifier="sentry-dbid-1ceb6cb0-882f-431f-8956-b8d99c7cfb8d")}catch{}})();const b=i.div`
1
+ import{V as o,b as m,o as t,C as p,O as u}from"./index-mhb15COx.js";import{n as i}from"./mui-G2MlMTlr.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="1ceb6cb0-882f-431f-8956-b8d99c7cfb8d",e._sentryDebugIdIdentifier="sentry-dbid-1ceb6cb0-882f-431f-8956-b8d99c7cfb8d")}catch{}})();const b=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{e as c,V as i,b as g,x as m,o as n,C as u,b5 as x}from"./index-CuxRoVvZ.js";import{n as r}from"./mui-G2MlMTlr.js";import{T as f}from"./TimeframeSwitcher-BlJ2fuHy-C0bwk8vS.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="24c36a3c-4864-4125-b827-10101b69669c",e._sentryDebugIdIdentifier="sentry-dbid-24c36a3c-4864-4125-b827-10101b69669c")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},w=r(({className:e,...o})=>i.jsx(x,{...o,className:e,classes:{...t}}))(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),y=e=>i.jsx(w,{...e}),l={timeframePaddingLeft:new m(0,0,125),timeframePaddingBottom:new m(8,8,0)},b=r.div`
1
+ import{e as c,V as i,b as g,x as m,o as n,C as u,b5 as x}from"./index-mhb15COx.js";import{n as r}from"./mui-G2MlMTlr.js";import{T as f}from"./TimeframeSwitcher-BlJ2fuHy-JP2UlRBY.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="24c36a3c-4864-4125-b827-10101b69669c",e._sentryDebugIdIdentifier="sentry-dbid-24c36a3c-4864-4125-b827-10101b69669c")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},w=r(({className:e,...o})=>i.jsx(x,{...o,className:e,classes:{...t}}))(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),y=e=>i.jsx(w,{...e}),l={timeframePaddingLeft:new m(0,0,125),timeframePaddingBottom:new m(8,8,0)},b=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{V as t,a3 as K,O as j,a4 as P,aa as w,m as f,am as B,an as V,b as _,y as x,o as g,S as z,ab as M,bl as H,C as I,e as R,w as v,ag as q,a5 as F,at as G,l as J}from"./index-CuxRoVvZ.js";import{a as N,b as y}from"./sentry-Cm8I7E9J.js";import{Fq as U}from"./zeni-epic-state-lC5X-sam.js";import{n as u}from"./mui-G2MlMTlr.js";import{I as X,T as Y}from"./ReloadCard-Bjp8ygC2-fExG7Dij.js";import{o as Q,r as W}from"./graphic-no-data-l-DU4J8fDt-DEuKmvBU.js";import{J as D,X as T,Y as C,K as S,I as k,U as Z,V as ee}from"./recharts-3tylCZU1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="4ea34afa-1d43-4250-8ade-890a3bab2d47",e._sentryDebugIdIdentifier="sentry-dbid-4ea34afa-1d43-4250-8ade-890a3bab2d47")}catch{}})();const te=u(w)`
1
+ import{V as t,a3 as K,O as j,a4 as P,aa as w,m as f,am as B,an as V,b as _,y as x,o as g,S as z,ab as M,bl as H,C as I,e as R,w as v,ag as q,a5 as F,at as G,l as J}from"./index-mhb15COx.js";import{a as N,b as y}from"./sentry-Cm8I7E9J.js";import{Fq as U}from"./zeni-epic-state-lC5X-sam.js";import{n as u}from"./mui-G2MlMTlr.js";import{I as X,T as Y}from"./ReloadCard-Bjp8ygC2-DsEbxw3o.js";import{o as Q,r as W}from"./graphic-no-data-l-DU4J8fDt-DEuKmvBU.js";import{J as D,X as T,Y as C,K as S,I as k,U as Z,V as ee}from"./recharts-3tylCZU1.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="4ea34afa-1d43-4250-8ade-890a3bab2d47",e._sentryDebugIdIdentifier="sentry-dbid-4ea34afa-1d43-4250-8ade-890a3bab2d47")}catch{}})();const te=u(w)`
2
2
  justify-content: space-between;
3
3
  margin: 0;
4
4
  height: ${e=>e.height!=null?e.height+"px":"auto"};
@@ -1,4 +1,4 @@
1
- import{y as v,e as k,V as t,a_ as A,O as x,a5 as b,an as B,J as S,o as i,x as $,bk as H,aQ as z,m as d,f as F,l as C,b as P,aj as V}from"./index-CuxRoVvZ.js";import{n}from"./mui-G2MlMTlr.js";import{Fq as D}from"./zeni-epic-state-lC5X-sam.js";import{E as T,I as _}from"./TopExCard-CG8YLsYe-Dhi0dyPE.js";import{T as M}from"./TimeframeSwitcher-BlJ2fuHy-C0bwk8vS.js";import{d as I}from"./NoDataTable-BZiwo2qK-Cb8q0aH6.js";import{b as L,a as o}from"./sentry-Cm8I7E9J.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./ReloadCard-Bjp8ygC2-fExG7Dij.js";import"./graphic-no-data-l-DU4J8fDt-DEuKmvBU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="29637c90-fa74-4aa5-b755-9734fb0620a9",e._sentryDebugIdIdentifier="sentry-dbid-29637c90-fa74-4aa5-b755-9734fb0620a9")}catch{}})();const j="141px",Z=i.sp4,N=n(V)`
1
+ import{y as v,e as k,V as t,a_ as A,O as x,a5 as b,an as B,J as S,o as i,x as $,bk as H,aQ as z,m as d,f as F,l as C,b as P,aj as V}from"./index-mhb15COx.js";import{n}from"./mui-G2MlMTlr.js";import{Fq as D}from"./zeni-epic-state-lC5X-sam.js";import{E as T,I as _}from"./TopExCard-CG8YLsYe-B5wqJJSw.js";import{T as M}from"./TimeframeSwitcher-BlJ2fuHy-JP2UlRBY.js";import{d as I}from"./NoDataTable-BZiwo2qK-CJLZnBQL.js";import{b as L,a as o}from"./sentry-Cm8I7E9J.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./ReloadCard-Bjp8ygC2-DsEbxw3o.js";import"./graphic-no-data-l-DU4J8fDt-DEuKmvBU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="29637c90-fa74-4aa5-b755-9734fb0620a9",e._sentryDebugIdIdentifier="sentry-dbid-29637c90-fa74-4aa5-b755-9734fb0620a9")}catch{}})();const j="141px",Z=i.sp4,N=n(V)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{V as n,L as W,o as s,ar as q,O as G,l as B,a8 as J,e6 as K,H as Q,aB as U,aA as R,C as X,bi as Z,ah as ee}from"./index-CuxRoVvZ.js";import{a as ne}from"./sentry-Cm8I7E9J.js";import{n as r}from"./mui-G2MlMTlr.js";import"./pdf-DwfifS04.js";import"./zeni-epic-state-lC5X-sam.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3a45544e-fa02-4291-b399-aad949114639",e._sentryDebugIdIdentifier="sentry-dbid-3a45544e-fa02-4291-b399-aad949114639")}catch{}})();const P=G.getLocalizedStrings(),{transactionActivityLog:p}=P.expenseAutomation.transactions,{dateFormat:N}=P,w={"transaction_line.vendor.updated":p.fields.vendor,"transaction_line.vendor.matched":p.fields.vendor,"transaction_line.account.updated":p.fields.category,"transaction_line.class.updated":p.fields.class,"transaction_line.vendor.user_update":p.fields.vendor,"transaction_line.customer.user_update":p.fields.customer,"transaction_line.memo.user_update":p.fields.memo,"transaction_line.description.user_update":p.fields.description,"transaction_line.account.user_update":p.fields.category,"transaction_line.class.user_update":p.fields.class},b=p.linePrefix;function T(e){return e.data?.transaction?.lineId??null}function O(e){return e.length>0&&function(t){return t.endsWith(".user_update")}(e[0].eventType)}function te(e){const t=e.data?.transaction?.originalLine;if(t==null)return;const c=e.eventType;return c==="transaction_line.account.user_update"?t.account?.accountName:c==="transaction_line.class.user_update"?t.class?.className:c==="transaction_line.vendor.user_update"?t.vendor?.name:c==="transaction_line.customer.user_update"?t.customer?.name:c==="transaction_line.memo.user_update"?t.memo:c==="transaction_line.description.user_update"?t.description:void 0}function re(e){const t=e.data?.transaction?.updatedLine;if(t==null)return;const c=e.eventType;return c==="transaction_line.account.user_update"?t.account?.accountName:c==="transaction_line.class.user_update"?t.class?.className:c==="transaction_line.vendor.user_update"?t.vendor?.name:c==="transaction_line.customer.user_update"?t.customer?.name:c==="transaction_line.memo.user_update"?t.memo:c==="transaction_line.description.user_update"?t.description:void 0}function k(e){return e.map(t=>`${t.fieldName}|${t.oldValue??""}|${t.newValue??""}`).join(";;")}function L(e){return e.map(t=>`${t.fieldName}|${t.newValue??""}|${t.reasoning}`).join(";;")}function ie(e){if(e.length===1&&e[0].eventType==="transaction.sync_database")return p.transactionIngested;if(O(e)){const a=e[0].data?.user;if(a!=null){const f=p.userUpdatedDetails.charAt(0).toLowerCase()+p.userUpdatedDetails.slice(1);return`${a.firstName} ${a.lastName} ${f}`}return p.userUpdatedDetails}const t=[...new Set(e.map(a=>w[a.eventType]).filter(a=>a!=null))];if(t.length===0)return e[0].eventType;if(t.length===1)return`${p.aiBookkeeperAdded} ${t[0]}.`;const c=t.at(-1),y=t.slice(0,-1);return`${p.aiBookkeeperAdded} ${y.join(", ")} and ${c}.`}function V(e){const t=e.data?.transaction?.updatedLine;if(t!=null&&e.eventType!=="transaction.sync_database"){if(e.eventType==="transaction_line.vendor.updated"||e.eventType==="transaction_line.vendor.matched")return t.vendor?.name;if(e.eventType==="transaction_line.account.updated")return t.account?.accountName;if(e.eventType==="transaction_line.class.updated")return t.class?.className;if(e.eventType==="transaction_line.customer.updated")return t.customer?.name}}const Qe=({transactionActivityLogSelectorView:e,onClose:t})=>{const{transactionActivityLogs:c}=e,y=function(a){const f=[];let v=0;for(;v<a.length;){const _=a[v],d=[_],l=_.data?.transaction?.correlationId;let i=v+1;if(l!=null)for(;i<a.length&&a[i].data?.transaction?.correlationId===l;)d.push(a[i]),i++;else for(;i<a.length&&a[i].createTime.format("DD MM YYYY HH:mm:ss")===_.createTime.format("DD MM YYYY HH:mm:ss");)d.push(a[i]),i++;f.push(d),v=i}return f}(c);return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?n.jsxs(oe,{children:[n.jsx(W,{size:"ExtraLarge",start:!0}),";"]}):e.fetchState==="Completed"&&y.length===0?n.jsxs(D,{children:[n.jsx(S,{children:n.jsx(M,{children:p.title})}),n.jsx(Ye,{children:n.jsx(Ce,{children:p.noLogsFound})})]}):n.jsxs(D,{children:[n.jsxs(S,{children:[n.jsx(M,{children:p.title}),n.jsx(ae,{onClick:t,children:n.jsx(le,{})})]}),n.jsx(de,{children:y.map((a,f)=>n.jsx(se,{isLast:f===y.length-1,group:a},a[0].id))})]})},se=({group:e,isLast:t})=>{const[c,y]=ne.useState(!1),a=O(e),f=a?[]:function(d){const l=new Map;for(const o of d){if(o.data==null)continue;const u=T(o);if(u==null)continue;const j=V(o),h=w[o.eventType]??o.eventType,g=o.data.aiSummaries[0];if(g!=null){const $=l.get(u)??[];$.push({fieldName:h,newValue:j,reasoning:g.reasoning}),l.set(u,$)}}const i=Array.from(l.keys()).sort((o,u)=>Number(o)-Number(u)||String(o).localeCompare(String(u)));if(i.length===0)return[];const m=[];let x=0;for(;x<i.length;){const o=i[x],u=l.get(o)??[],j=L(u);let h=x;for(;h+1<i.length&&L(l.get(i[h+1])??[])===j;)h+=1;const g=i[h],$=o===g?`${b}${o}`:`${b}${o} - ${b}${g}`;m.push({details:u,lineDisplayLabel:$}),x=h+1}return m}(e),v=a?function(d){const l=new Map;for(const o of d){if(o.data==null)continue;const u=T(o);if(u==null)continue;const j=w[o.eventType]??o.eventType,h=te(o),g=re(o),$=l.get(u)??[];$.push({fieldName:j,oldValue:h,newValue:g}),l.set(u,$)}const i=Array.from(l.keys()).sort((o,u)=>Number(o)-Number(u)||String(o).localeCompare(String(u)));if(i.length===0)return[];const m=[];let x=0;for(;x<i.length;){const o=i[x],u=l.get(o)??[],j=k(u);let h=x;for(;h+1<i.length&&k(l.get(i[h+1])??[])===j;)h+=1;const g=i[h],$=o===g?`${b}${o}`:`${b}${o} - ${b}${g}`;m.push({details:u,lineDisplayLabel:$}),x=h+1}return m}(e):[],_=a?[]:function(d){return d.flatMap(l=>{if(l.data==null)return[];const i=l.data.aiSummaries[0];if(i==null)return[];const m=V(l);return[{fieldName:w[l.eventType]??l.eventType,newValue:m,reasoning:i.reasoning}]})}(e);return n.jsxs(me,{children:[n.jsxs(fe,{children:[n.jsx(ge,{children:a?n.jsx($e,{}):n.jsx(xe,{})}),!t&&n.jsx(ye,{})]}),n.jsxs(ve,{children:[n.jsx(je,{children:ie(e)}),n.jsxs(_e,{children:[n.jsx(F,{children:e[0].createTime.format(N.visual.MMMDFormat)}),n.jsx(be,{}),n.jsx(F,{children:e[0].createTime.format(N.visual.HHMMFormat)})]}),a&&v.length>0&&n.jsx(A,{children:v.map((d,l)=>n.jsxs(I,{children:[n.jsxs(Y,{children:[n.jsx(C,{children:d.lineDisplayLabel}),n.jsx(H,{"aria-hidden":!0,children:"#"})]}),n.jsx(Ve,{children:d.details.map((i,m)=>n.jsxs(De,{children:[n.jsxs(Se,{children:[i.fieldName,":"," "]}),i.oldValue!=null&&n.jsx(Me,{children:i.oldValue}),i.oldValue!=null&&i.newValue!=null&&n.jsx(Ae,{children:" → "}),i.newValue!=null&&n.jsx(Ie,{children:i.newValue})]},`${i.fieldName}-${m}`))})]},`${d.lineDisplayLabel}-${l}`))}),!a&&f.length>0&&n.jsx(A,{children:f.map((d,l)=>n.jsxs(I,{children:[n.jsxs(Y,{children:[n.jsxs(ce,{children:[n.jsx(pe,{}),n.jsx(C,{children:d.lineDisplayLabel})]}),n.jsx(H,{"aria-hidden":!0,children:"#"})]}),n.jsx(ue,{children:d.details.map((i,m)=>n.jsxs(he,{children:[n.jsxs(E,{children:[i.fieldName,i.newValue!=null&&`: ${i.newValue}`]}),n.jsx(z,{children:i.reasoning})]},`${i.fieldName}-${m}`))})]},`${d.lineDisplayLabel}-${l}`))}),!a&&f.length===0&&_.length>0&&n.jsxs(n.Fragment,{children:[n.jsxs(we,{onClick:()=>y(d=>!d),children:[n.jsx(Ne,{isExpanded:c}),n.jsx(Te,{children:p.details})]}),c&&n.jsx(ke,{children:_.map((d,l)=>n.jsxs(Le,{children:[n.jsxs(E,{children:[d.fieldName,d.newValue!=null&&`: ${d.newValue}`]}),n.jsx(z,{children:d.reasoning})]},`${d.fieldName}-${l}`))})]})]})]})},oe=r.div`
1
+ import{V as n,L as W,o as s,ar as q,O as G,l as B,a8 as J,e6 as K,H as Q,aB as U,aA as R,C as X,bi as Z,ah as ee}from"./index-mhb15COx.js";import{a as ne}from"./sentry-Cm8I7E9J.js";import{n as r}from"./mui-G2MlMTlr.js";import"./pdf-DwfifS04.js";import"./zeni-epic-state-lC5X-sam.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="3a45544e-fa02-4291-b399-aad949114639",e._sentryDebugIdIdentifier="sentry-dbid-3a45544e-fa02-4291-b399-aad949114639")}catch{}})();const P=G.getLocalizedStrings(),{transactionActivityLog:p}=P.expenseAutomation.transactions,{dateFormat:N}=P,w={"transaction_line.vendor.updated":p.fields.vendor,"transaction_line.vendor.matched":p.fields.vendor,"transaction_line.account.updated":p.fields.category,"transaction_line.class.updated":p.fields.class,"transaction_line.vendor.user_update":p.fields.vendor,"transaction_line.customer.user_update":p.fields.customer,"transaction_line.memo.user_update":p.fields.memo,"transaction_line.description.user_update":p.fields.description,"transaction_line.account.user_update":p.fields.category,"transaction_line.class.user_update":p.fields.class},b=p.linePrefix;function T(e){return e.data?.transaction?.lineId??null}function O(e){return e.length>0&&function(t){return t.endsWith(".user_update")}(e[0].eventType)}function te(e){const t=e.data?.transaction?.originalLine;if(t==null)return;const c=e.eventType;return c==="transaction_line.account.user_update"?t.account?.accountName:c==="transaction_line.class.user_update"?t.class?.className:c==="transaction_line.vendor.user_update"?t.vendor?.name:c==="transaction_line.customer.user_update"?t.customer?.name:c==="transaction_line.memo.user_update"?t.memo:c==="transaction_line.description.user_update"?t.description:void 0}function re(e){const t=e.data?.transaction?.updatedLine;if(t==null)return;const c=e.eventType;return c==="transaction_line.account.user_update"?t.account?.accountName:c==="transaction_line.class.user_update"?t.class?.className:c==="transaction_line.vendor.user_update"?t.vendor?.name:c==="transaction_line.customer.user_update"?t.customer?.name:c==="transaction_line.memo.user_update"?t.memo:c==="transaction_line.description.user_update"?t.description:void 0}function k(e){return e.map(t=>`${t.fieldName}|${t.oldValue??""}|${t.newValue??""}`).join(";;")}function L(e){return e.map(t=>`${t.fieldName}|${t.newValue??""}|${t.reasoning}`).join(";;")}function ie(e){if(e.length===1&&e[0].eventType==="transaction.sync_database")return p.transactionIngested;if(O(e)){const a=e[0].data?.user;if(a!=null){const f=p.userUpdatedDetails.charAt(0).toLowerCase()+p.userUpdatedDetails.slice(1);return`${a.firstName} ${a.lastName} ${f}`}return p.userUpdatedDetails}const t=[...new Set(e.map(a=>w[a.eventType]).filter(a=>a!=null))];if(t.length===0)return e[0].eventType;if(t.length===1)return`${p.aiBookkeeperAdded} ${t[0]}.`;const c=t.at(-1),y=t.slice(0,-1);return`${p.aiBookkeeperAdded} ${y.join(", ")} and ${c}.`}function V(e){const t=e.data?.transaction?.updatedLine;if(t!=null&&e.eventType!=="transaction.sync_database"){if(e.eventType==="transaction_line.vendor.updated"||e.eventType==="transaction_line.vendor.matched")return t.vendor?.name;if(e.eventType==="transaction_line.account.updated")return t.account?.accountName;if(e.eventType==="transaction_line.class.updated")return t.class?.className;if(e.eventType==="transaction_line.customer.updated")return t.customer?.name}}const Qe=({transactionActivityLogSelectorView:e,onClose:t})=>{const{transactionActivityLogs:c}=e,y=function(a){const f=[];let v=0;for(;v<a.length;){const _=a[v],d=[_],l=_.data?.transaction?.correlationId;let i=v+1;if(l!=null)for(;i<a.length&&a[i].data?.transaction?.correlationId===l;)d.push(a[i]),i++;else for(;i<a.length&&a[i].createTime.format("DD MM YYYY HH:mm:ss")===_.createTime.format("DD MM YYYY HH:mm:ss");)d.push(a[i]),i++;f.push(d),v=i}return f}(c);return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?n.jsxs(oe,{children:[n.jsx(W,{size:"ExtraLarge",start:!0}),";"]}):e.fetchState==="Completed"&&y.length===0?n.jsxs(D,{children:[n.jsx(S,{children:n.jsx(M,{children:p.title})}),n.jsx(Ye,{children:n.jsx(Ce,{children:p.noLogsFound})})]}):n.jsxs(D,{children:[n.jsxs(S,{children:[n.jsx(M,{children:p.title}),n.jsx(ae,{onClick:t,children:n.jsx(le,{})})]}),n.jsx(de,{children:y.map((a,f)=>n.jsx(se,{isLast:f===y.length-1,group:a},a[0].id))})]})},se=({group:e,isLast:t})=>{const[c,y]=ne.useState(!1),a=O(e),f=a?[]:function(d){const l=new Map;for(const o of d){if(o.data==null)continue;const u=T(o);if(u==null)continue;const j=V(o),h=w[o.eventType]??o.eventType,g=o.data.aiSummaries[0];if(g!=null){const $=l.get(u)??[];$.push({fieldName:h,newValue:j,reasoning:g.reasoning}),l.set(u,$)}}const i=Array.from(l.keys()).sort((o,u)=>Number(o)-Number(u)||String(o).localeCompare(String(u)));if(i.length===0)return[];const m=[];let x=0;for(;x<i.length;){const o=i[x],u=l.get(o)??[],j=L(u);let h=x;for(;h+1<i.length&&L(l.get(i[h+1])??[])===j;)h+=1;const g=i[h],$=o===g?`${b}${o}`:`${b}${o} - ${b}${g}`;m.push({details:u,lineDisplayLabel:$}),x=h+1}return m}(e),v=a?function(d){const l=new Map;for(const o of d){if(o.data==null)continue;const u=T(o);if(u==null)continue;const j=w[o.eventType]??o.eventType,h=te(o),g=re(o),$=l.get(u)??[];$.push({fieldName:j,oldValue:h,newValue:g}),l.set(u,$)}const i=Array.from(l.keys()).sort((o,u)=>Number(o)-Number(u)||String(o).localeCompare(String(u)));if(i.length===0)return[];const m=[];let x=0;for(;x<i.length;){const o=i[x],u=l.get(o)??[],j=k(u);let h=x;for(;h+1<i.length&&k(l.get(i[h+1])??[])===j;)h+=1;const g=i[h],$=o===g?`${b}${o}`:`${b}${o} - ${b}${g}`;m.push({details:u,lineDisplayLabel:$}),x=h+1}return m}(e):[],_=a?[]:function(d){return d.flatMap(l=>{if(l.data==null)return[];const i=l.data.aiSummaries[0];if(i==null)return[];const m=V(l);return[{fieldName:w[l.eventType]??l.eventType,newValue:m,reasoning:i.reasoning}]})}(e);return n.jsxs(me,{children:[n.jsxs(fe,{children:[n.jsx(ge,{children:a?n.jsx($e,{}):n.jsx(xe,{})}),!t&&n.jsx(ye,{})]}),n.jsxs(ve,{children:[n.jsx(je,{children:ie(e)}),n.jsxs(_e,{children:[n.jsx(F,{children:e[0].createTime.format(N.visual.MMMDFormat)}),n.jsx(be,{}),n.jsx(F,{children:e[0].createTime.format(N.visual.HHMMFormat)})]}),a&&v.length>0&&n.jsx(A,{children:v.map((d,l)=>n.jsxs(I,{children:[n.jsxs(Y,{children:[n.jsx(C,{children:d.lineDisplayLabel}),n.jsx(H,{"aria-hidden":!0,children:"#"})]}),n.jsx(Ve,{children:d.details.map((i,m)=>n.jsxs(De,{children:[n.jsxs(Se,{children:[i.fieldName,":"," "]}),i.oldValue!=null&&n.jsx(Me,{children:i.oldValue}),i.oldValue!=null&&i.newValue!=null&&n.jsx(Ae,{children:" → "}),i.newValue!=null&&n.jsx(Ie,{children:i.newValue})]},`${i.fieldName}-${m}`))})]},`${d.lineDisplayLabel}-${l}`))}),!a&&f.length>0&&n.jsx(A,{children:f.map((d,l)=>n.jsxs(I,{children:[n.jsxs(Y,{children:[n.jsxs(ce,{children:[n.jsx(pe,{}),n.jsx(C,{children:d.lineDisplayLabel})]}),n.jsx(H,{"aria-hidden":!0,children:"#"})]}),n.jsx(ue,{children:d.details.map((i,m)=>n.jsxs(he,{children:[n.jsxs(E,{children:[i.fieldName,i.newValue!=null&&`: ${i.newValue}`]}),n.jsx(z,{children:i.reasoning})]},`${i.fieldName}-${m}`))})]},`${d.lineDisplayLabel}-${l}`))}),!a&&f.length===0&&_.length>0&&n.jsxs(n.Fragment,{children:[n.jsxs(we,{onClick:()=>y(d=>!d),children:[n.jsx(Ne,{isExpanded:c}),n.jsx(Te,{children:p.details})]}),c&&n.jsx(ke,{children:_.map((d,l)=>n.jsxs(Le,{children:[n.jsxs(E,{children:[d.fieldName,d.newValue!=null&&`: ${d.newValue}`]}),n.jsx(z,{children:d.reasoning})]},`${d.fieldName}-${l}`))})]})]})]})},oe=r.div`
2
2
  display: flex;
3
3
  justify-content: center;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{df as zn,dg as Rn,aE as An,aF as Vn,y as zt,T as En,e as ae,O as W,a7 as Wt,dh as Pn,di as _n,c8 as Nn,S as Un,dj as tn,dk as Bn,V as i,A as Mn,a_ as Fn,dl as qn,dm as Wn,dn as Hn,dp as zi,a9 as Gn,x as B,b as I,dq as nn,dr as $e,ds as Ce,dt as _e,du as Ze,dv as Qe,dw as Tt,dx as jt,dy as Xe,dz as mt,dA as Ot,dB as Lt,dC as Ht,dD as ne,dE as Yn,dF as Jt,dG as pe,dH as on,dI as ue,dJ as an,a1 as Jn,dK as wt,dL as Ri,dM as Kn,a as Zn,bR as Qn,L as Ci,o,bF as Xn,dN as eo,m as j,J as xi,f as le,D as Ii,au as ei,aA as to,dO as io,bI as no,bH as ti,cc as at,dP as oo,dQ as Bt,ac as sn,co as ao,dR as so,bK as lo,bL as ro,a5 as je,l as fe,aj as co,dS as po,dT as ln,dU as Gt,dV as Yt,dW as pi,cG as uo,an as mo,bV as ho,dX as Ti,h as rn,dY as Kt,dZ as Zt,d_ as dn,c6 as cn,bn as ji,d$ as ui,cM as mi,e0 as go,aQ as yo,e1 as Ai,e2 as bo,e3 as fo,B as xo,e4 as wo,e5 as vo,d as pn,e6 as un,b6 as $o,e7 as Vi,e8 as mn,e9 as hn,ea as gn,b4 as st,$ as Co,t as Io,bi as To,w as yn,eb as jo,b2 as Oo,a8 as Lo,H as So,ec as ko,ae as hi}from"./index-CuxRoVvZ.js";import{a as w,b as vt}from"./sentry-Cm8I7E9J.js";import{n as l}from"./mui-G2MlMTlr.js";import{FV as Do,vz as zo,bT as kt,bS as Dt,bU as Ro,c8 as Ao,mg as Vo,bs as Eo}from"./zeni-epic-state-lC5X-sam.js";import{x as Ei}from"./LabeledControlledCheckBoxField-BtnsqE4D-pO3EStbM.js";import{R as Po}from"./TrendWithTransactions-CrA4opNV-BCS_tNQW.js";import{u as _o,c as No,d as Uo,m as Bo}from"./uploadAttachment-RbkIBMGO-DWkpV7gc.js";import{o as Mo}from"./radio-default-CiSgisfh-CF7OSKL1.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./TrendChart-GMMat-NG-DkIjx5iX.js";import"./chartTypes-C14YY2Rq--XZc2xV6.js";import"./toCOABalancesWithID-wh35N3no-D_L2t0iR.js";import"./toChartData-G5y-N82I-CpDZEMyX.js";import"./NoDataChart-DJhSgtLu-BSak9fMr.js";import"./InsightsSection-BdFG3j3R-D7JeFV31.js";import"./NavigationDots-c-XSrFzE-eujVKwdH.js";import"./TransactionList-B16NONME-CRFiM4VM.js";import"./ConstrainedInnerElement-CgdnMeoA-vBI13ZbI.js";import"./BoxItem-CvCo0wr6-QhJ82HMO.js";import"./commonDimensions-CVpc-NCw-CA0m656N.js";import"./panelSelectedMixin-Cddsb26L-XfdQwEMM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="46b44517-c885-41cb-abf5-82a9fd52c49b",e._sentryDebugIdIdentifier="sentry-dbid-46b44517-c885-41cb-abf5-82a9fd52c49b")}catch{}})();const Fo={headerMarginTop:new B(j[7],j[8])},qo=l(fe)`
1
+ import{df as zn,dg as Rn,aE as An,aF as Vn,y as zt,T as En,e as ae,O as W,a7 as Wt,dh as Pn,di as _n,c8 as Nn,S as Un,dj as tn,dk as Bn,V as i,A as Mn,a_ as Fn,dl as qn,dm as Wn,dn as Hn,dp as zi,a9 as Gn,x as B,b as I,dq as nn,dr as $e,ds as Ce,dt as _e,du as Ze,dv as Qe,dw as Tt,dx as jt,dy as Xe,dz as mt,dA as Ot,dB as Lt,dC as Ht,dD as ne,dE as Yn,dF as Jt,dG as pe,dH as on,dI as ue,dJ as an,a1 as Jn,dK as wt,dL as Ri,dM as Kn,a as Zn,bR as Qn,L as Ci,o,bF as Xn,dN as eo,m as j,J as xi,f as le,D as Ii,au as ei,aA as to,dO as io,bI as no,bH as ti,cc as at,dP as oo,dQ as Bt,ac as sn,co as ao,dR as so,bK as lo,bL as ro,a5 as je,l as fe,aj as co,dS as po,dT as ln,dU as Gt,dV as Yt,dW as pi,cG as uo,an as mo,bV as ho,dX as Ti,h as rn,dY as Kt,dZ as Zt,d_ as dn,c6 as cn,bn as ji,d$ as ui,cM as mi,e0 as go,aQ as yo,e1 as Ai,e2 as bo,e3 as fo,B as xo,e4 as wo,e5 as vo,d as pn,e6 as un,b6 as $o,e7 as Vi,e8 as mn,e9 as hn,ea as gn,b4 as st,$ as Co,t as Io,bi as To,w as yn,eb as jo,b2 as Oo,a8 as Lo,H as So,ec as ko,ae as hi}from"./index-mhb15COx.js";import{a as w,b as vt}from"./sentry-Cm8I7E9J.js";import{n as l}from"./mui-G2MlMTlr.js";import{FV as Do,vz as zo,bT as kt,bS as Dt,bU as Ro,c8 as Ao,mg as Vo,bs as Eo}from"./zeni-epic-state-lC5X-sam.js";import{x as Ei}from"./LabeledControlledCheckBoxField-BtnsqE4D-B85xoPON.js";import{R as Po}from"./TrendWithTransactions-CrA4opNV-B_vQq65J.js";import{u as _o,c as No,d as Uo,m as Bo}from"./uploadAttachment-RbkIBMGO-BHEoxgsX.js";import{o as Mo}from"./radio-default-CiSgisfh-CF7OSKL1.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./TrendChart-GMMat-NG-BewK0MCc.js";import"./chartTypes-C14YY2Rq-mIXPNQxz.js";import"./toCOABalancesWithID-wh35N3no-2SjovFHm.js";import"./toChartData-G5y-N82I-HPFXqzd4.js";import"./NoDataChart-DJhSgtLu-BO4-72hz.js";import"./InsightsSection-BdFG3j3R-DjHyJY78.js";import"./NavigationDots-c-XSrFzE-Bl0Sm_Ng.js";import"./TransactionList-B16NONME-xM0VK0uD.js";import"./ConstrainedInnerElement-CgdnMeoA-CpoLys2G.js";import"./BoxItem-CvCo0wr6-BAtsmvg4.js";import"./commonDimensions-CVpc-NCw-xOjrok2-.js";import"./panelSelectedMixin-Cddsb26L-XfdQwEMM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="46b44517-c885-41cb-abf5-82a9fd52c49b",e._sentryDebugIdIdentifier="sentry-dbid-46b44517-c885-41cb-abf5-82a9fd52c49b")}catch{}})();const Fo={headerMarginTop:new B(j[7],j[8])},qo=l(fe)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Wo=l(fe)`
4
4
  margin-right: ${o.sp1};
@@ -1 +1 @@
1
- import{j as t}from"./pdf-DwfifS04.js";import i from"./NotFoundScreen-DxyQKnff.js";import{T as n}from"./TransactionDetailScreen-B7XWRVbF.js";import"./sentry-Cm8I7E9J.js";import{R as s,m as o}from"./core-CaikJZHD.js";import"./zeni-epic-state-lC5X-sam.js";import"./index-CuxRoVvZ.js";import"./mui-G2MlMTlr.js";import"./recharts-3tylCZU1.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./decodeURIComponentSafe-DcEFJStp.js";import"./routePaths-CkO80-xL.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="6dc46347-19fe-4751-ab33-797006093161",e._sentryDebugIdIdentifier="sentry-dbid-6dc46347-19fe-4751-ab33-797006093161")}catch{}})();function E(){return t.jsxs(s,{children:[t.jsx(o,{path:"/:transactionTypeEncoded/:transactionId",element:t.jsx(n,{})}),t.jsx(o,{path:"/:transactionTypeEncoded/:transactionId/page-not-found",element:t.jsx(i,{})}),t.jsx(o,{path:"/:transactionTypeEncoded/:transactionId/vendor/create",element:t.jsx(n,{})}),t.jsx(o,{path:"/*",element:t.jsx(n,{})})]})}export{E as default};
1
+ import{j as t}from"./pdf-DwfifS04.js";import i from"./NotFoundScreen-BBbILNsa.js";import{T as n}from"./TransactionDetailScreen-DHwJH1ZP.js";import"./sentry-Cm8I7E9J.js";import{R as s,m as o}from"./core-CaikJZHD.js";import"./zeni-epic-state-lC5X-sam.js";import"./index-mhb15COx.js";import"./mui-G2MlMTlr.js";import"./recharts-3tylCZU1.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./decodeURIComponentSafe-DcEFJStp.js";import"./routePaths-CDVBEe6a.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="6dc46347-19fe-4751-ab33-797006093161",e._sentryDebugIdIdentifier="sentry-dbid-6dc46347-19fe-4751-ab33-797006093161")}catch{}})();function E(){return t.jsxs(s,{children:[t.jsx(o,{path:"/:transactionTypeEncoded/:transactionId",element:t.jsx(n,{})}),t.jsx(o,{path:"/:transactionTypeEncoded/:transactionId/page-not-found",element:t.jsx(i,{})}),t.jsx(o,{path:"/:transactionTypeEncoded/:transactionId/vendor/create",element:t.jsx(n,{})}),t.jsx(o,{path:"/*",element:t.jsx(n,{})})]})}export{E as default};
@@ -1,4 +1,4 @@
1
- import{j as C}from"./pdf-DwfifS04.js";import{a as u}from"./sentry-Cm8I7E9J.js";import{i as N,u as S,h as ce,j as re,l as le,N as Le,k as Fe}from"./core-CaikJZHD.js";import{bm as Oe,ct as H,bP as de,bt as ue,mp as Y,Ig as P,Jh as me,Ji as K,IG as pe,gW as he,Jj as ge,IL as Q,IM as Z,hL as fe,Dn as X,Ia as x,gQ as Se,gO as ve,g_ as ze,Jk as Re,Jl as Ne,qb as R,gV as Te,CK as ye,bS as Ge,bT as Je,Jm as je,I9 as $e,Jn as Me,qf as qe,Jo as We,Jp as He,Jq as Ye,Jr as Ke,Js as Qe,gZ as Ze,Jt as Xe,Ju as ea,Ib as aa,Jv as ta,Jw as na,Jx as oa,CE as sa,Cs as ia,CW as ca,g$ as ra,Do as se,CB as la}from"./zeni-epic-state-lC5X-sam.js";import{js as De,aE as ee,aG as w,aF as Ee,y as da,e as ua,kN as ma,x as pa,jM as q,_ as ha,kO as ga,jO as W,jz as Ie,kP as fa,kv as Sa,k4 as M}from"./index-CuxRoVvZ.js";import{n as va,S as Ta,D as ya}from"./mui-G2MlMTlr.js";import{d as be}from"./decodeURIComponentSafe-DcEFJStp.js";import{h as Ce,g as Da,d as Ea,b as Ia}from"./routePaths-CkO80-xL.js";import{t as ba}from"./utils-BhOlvYO8.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="8532561c-9b79-4ca4-acaf-2683cc0ac6f6",a._sentryDebugIdIdentifier="sentry-dbid-8532561c-9b79-4ca4-acaf-2683cc0ac6f6")}catch{}})();const ae=()=>{const a=De.getSignedInUser(),{useFeatureGate:e}=ee(),{isFeatureEnabled:s}=e(w.isChainOfThoughtEnabled);return u.useMemo(()=>Oe(a)&&s,[a,s])};function ke(a){if(a!=null){if("customer"in a&&a.customer!=null){const{customer:e}=a;return{id:e.id,name:e.name,logo:e.logo,type:"customer",zeniId:e.id,qboId:e.id}}if("vendor"in a&&a.vendor!=null){const{vendor:e}=a;return{id:e.id,name:e.name,logo:e.logo,type:"vendor",zeniId:e.id,qboId:e.id}}}}function Ga(a,e){const s=N(),{useFeatureGate:t,useDynamicConfig:n}=ee(),o=S(d=>H(d)),i=o.userRole.includes("charge_card_user")||o.userRole.includes("charge_card_admin"),l=o.userRole!=null&&de(o.userRole),f=o.userRole!=null&&ue(o.userRole),{isFeatureEnabled:v}=t(w.isVendorBulkUpdateOnTransactionEnabled),{isFeatureEnabled:b}=t(w.isExpenseAutomationEnabled),{configValue:h}=n(Ee.enableUncategorizedExpenseCategory),g=h?.uncategorized_expense_category_enabled===!0,U=ae(),y=u.useMemo(()=>({id:a,type:Y(e)}),[a,e]),m=S(d=>P(d,y)),I=S(d=>{const O=P(d,y)?.transactionDetailLocalData.vendorUpdates?.id;return O==null?"Not-Started":d.transactionVendorViewState.editVendorStateById[O]?.saveStatus.fetchState??"Not-Started"}),p=u.useMemo(()=>m?.fetchState==="Completed"?ke(m?.transaction):void 0,[m?.fetchState,m?.transaction]),D=S(d=>{if(p!=null)return me(d.customerIncomeState,d.vendorExpenseState,d.trendState,p,"month")}),_=S(d=>K(d)),V=S(d=>{if(p!=null)return pe(d.trendWithTransactionsState,p,"TransactionDetail")}),G=o.company?.companyInfo.firstMonthOfFY??1,J=S(d=>he(d.accountState,d.accountListState,"accountList")),[E,c]=u.useState(!1),[L,T]=u.useState(!1),[k,A]=u.useState(!1);u.useEffect(()=>{c(!1),T(!1),A(!1)},[a,e]);const j=u.useCallback(()=>{c(!1),T(!1)},[]),[$,B]=u.useState(!1),F=V?.selectedPeriod?.timePeriod;return u.useEffect(()=>{k||m==null||m.transaction==null||(s(ge({id:m.transaction.id,type:m.transaction.type})),A(!0)),p!=null&&(!i||l&&f===!1)&&(E?L||D==null||(T(!0),s(X(p,"TransactionDetail",{timeframe:"month",timePeriod:F??D}))):(s(Q()),s(Z()),c(!0),s(fe(p))))},[s,k,m?.fetchState,m?.transaction,p,i,l,f,E,L,D,F]),u.useEffect(()=>{_.newVendorState?.vendorDetailLocalData?.vendorName!=null?B(!0):B(!1)},[_.newVendorState?.vendorDetailLocalData?.vendorName]),u.useEffect(()=>()=>{s(x("common"))},[s]),{currentTenant:o,loggedInUserHasCardUserOrAdminRole:i,isUserHasDashboardAccess:l,isUserHasInvestorOrBankerAccess:f,isVendorBulkUpdateOnTransactionEnabled:v,isExpenseAutomationEnabled:b,isUncategorizedExpenseCategoryEnabled:g,isChainOfThoughtEnabled:U,selectedTransaction:y,transactionDetail:m,vendorSaveStatus:I,tranEntity:p,defaultTrendTransactionTimePeriod:D,vendorViewDetails:_,uiState:V,firstMonthOfFY:G,uncategorizedAccounts:J,resetTrendIsFetchedStates:j,isCreateVendorDrawerOpen:$,setIsCreateVendorDrawerOpen:B}}const Ca={overlayWidth:new pa(100,100,58)},ka=({isOpen:a,onSaveVendor:e,onSaveSuccess:s,onCancel:t,vendorViewDetails:n})=>{const o=da(),i=ua(),l=N(),f=S(h=>K(h)),v=()=>{t()},b={vendorDetailView:n??f,onSaveSuccess:()=>{l(ve()),l(ze("Not-Started")),s()},onSaveVendor:e,onCancelClick:v,saveVendorDetailLocalData:h=>{l(Se({vendorId:void 0,localData:h}))}};return C.jsx(ya,{anchor:"right",open:a,PaperProps:{style:{width:Ca.overlayWidth.valuePercentage(i),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:o.colors.black,opacity:.4,cursor:"pointer"}}},onClose:v,children:C.jsx(Ua,{onClick:h=>h.stopPropagation(),children:C.jsx(ma,{...b})})})},Ua=va(Ta)`
1
+ import{j as C}from"./pdf-DwfifS04.js";import{a as u}from"./sentry-Cm8I7E9J.js";import{i as N,u as S,h as ce,j as re,l as le,N as Le,k as Fe}from"./core-CaikJZHD.js";import{bm as Oe,ct as H,bP as de,bt as ue,mp as Y,Ig as P,Jh as me,Ji as K,IG as pe,gW as he,Jj as ge,IL as Q,IM as Z,hL as fe,Dn as X,Ia as x,gQ as Se,gO as ve,g_ as ze,Jk as Re,Jl as Ne,qb as R,gV as Te,CK as ye,bS as Ge,bT as Je,Jm as je,I9 as $e,Jn as Me,qf as qe,Jo as We,Jp as He,Jq as Ye,Jr as Ke,Js as Qe,gZ as Ze,Jt as Xe,Ju as ea,Ib as aa,Jv as ta,Jw as na,Jx as oa,CE as sa,Cs as ia,CW as ca,g$ as ra,Do as se,CB as la}from"./zeni-epic-state-lC5X-sam.js";import{js as De,aE as ee,aG as w,aF as Ee,y as da,e as ua,kN as ma,x as pa,jM as q,_ as ha,kO as ga,jO as W,jz as Ie,kP as fa,kv as Sa,k4 as M}from"./index-mhb15COx.js";import{n as va,S as Ta,D as ya}from"./mui-G2MlMTlr.js";import{d as be}from"./decodeURIComponentSafe-DcEFJStp.js";import{h as Ce,g as Da,d as Ea,b as Ia}from"./routePaths-CDVBEe6a.js";import{t as ba}from"./utils-BhOlvYO8.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="8532561c-9b79-4ca4-acaf-2683cc0ac6f6",a._sentryDebugIdIdentifier="sentry-dbid-8532561c-9b79-4ca4-acaf-2683cc0ac6f6")}catch{}})();const ae=()=>{const a=De.getSignedInUser(),{useFeatureGate:e}=ee(),{isFeatureEnabled:s}=e(w.isChainOfThoughtEnabled);return u.useMemo(()=>Oe(a)&&s,[a,s])};function ke(a){if(a!=null){if("customer"in a&&a.customer!=null){const{customer:e}=a;return{id:e.id,name:e.name,logo:e.logo,type:"customer",zeniId:e.id,qboId:e.id}}if("vendor"in a&&a.vendor!=null){const{vendor:e}=a;return{id:e.id,name:e.name,logo:e.logo,type:"vendor",zeniId:e.id,qboId:e.id}}}}function Ga(a,e){const s=N(),{useFeatureGate:t,useDynamicConfig:n}=ee(),o=S(d=>H(d)),i=o.userRole.includes("charge_card_user")||o.userRole.includes("charge_card_admin"),l=o.userRole!=null&&de(o.userRole),f=o.userRole!=null&&ue(o.userRole),{isFeatureEnabled:v}=t(w.isVendorBulkUpdateOnTransactionEnabled),{isFeatureEnabled:b}=t(w.isExpenseAutomationEnabled),{configValue:h}=n(Ee.enableUncategorizedExpenseCategory),g=h?.uncategorized_expense_category_enabled===!0,U=ae(),y=u.useMemo(()=>({id:a,type:Y(e)}),[a,e]),m=S(d=>P(d,y)),I=S(d=>{const O=P(d,y)?.transactionDetailLocalData.vendorUpdates?.id;return O==null?"Not-Started":d.transactionVendorViewState.editVendorStateById[O]?.saveStatus.fetchState??"Not-Started"}),p=u.useMemo(()=>m?.fetchState==="Completed"?ke(m?.transaction):void 0,[m?.fetchState,m?.transaction]),D=S(d=>{if(p!=null)return me(d.customerIncomeState,d.vendorExpenseState,d.trendState,p,"month")}),_=S(d=>K(d)),V=S(d=>{if(p!=null)return pe(d.trendWithTransactionsState,p,"TransactionDetail")}),G=o.company?.companyInfo.firstMonthOfFY??1,J=S(d=>he(d.accountState,d.accountListState,"accountList")),[E,c]=u.useState(!1),[L,T]=u.useState(!1),[k,A]=u.useState(!1);u.useEffect(()=>{c(!1),T(!1),A(!1)},[a,e]);const j=u.useCallback(()=>{c(!1),T(!1)},[]),[$,B]=u.useState(!1),F=V?.selectedPeriod?.timePeriod;return u.useEffect(()=>{k||m==null||m.transaction==null||(s(ge({id:m.transaction.id,type:m.transaction.type})),A(!0)),p!=null&&(!i||l&&f===!1)&&(E?L||D==null||(T(!0),s(X(p,"TransactionDetail",{timeframe:"month",timePeriod:F??D}))):(s(Q()),s(Z()),c(!0),s(fe(p))))},[s,k,m?.fetchState,m?.transaction,p,i,l,f,E,L,D,F]),u.useEffect(()=>{_.newVendorState?.vendorDetailLocalData?.vendorName!=null?B(!0):B(!1)},[_.newVendorState?.vendorDetailLocalData?.vendorName]),u.useEffect(()=>()=>{s(x("common"))},[s]),{currentTenant:o,loggedInUserHasCardUserOrAdminRole:i,isUserHasDashboardAccess:l,isUserHasInvestorOrBankerAccess:f,isVendorBulkUpdateOnTransactionEnabled:v,isExpenseAutomationEnabled:b,isUncategorizedExpenseCategoryEnabled:g,isChainOfThoughtEnabled:U,selectedTransaction:y,transactionDetail:m,vendorSaveStatus:I,tranEntity:p,defaultTrendTransactionTimePeriod:D,vendorViewDetails:_,uiState:V,firstMonthOfFY:G,uncategorizedAccounts:J,resetTrendIsFetchedStates:j,isCreateVendorDrawerOpen:$,setIsCreateVendorDrawerOpen:B}}const Ca={overlayWidth:new pa(100,100,58)},ka=({isOpen:a,onSaveVendor:e,onSaveSuccess:s,onCancel:t,vendorViewDetails:n})=>{const o=da(),i=ua(),l=N(),f=S(h=>K(h)),v=()=>{t()},b={vendorDetailView:n??f,onSaveSuccess:()=>{l(ve()),l(ze("Not-Started")),s()},onSaveVendor:e,onCancelClick:v,saveVendorDetailLocalData:h=>{l(Se({vendorId:void 0,localData:h}))}};return C.jsx(ya,{anchor:"right",open:a,PaperProps:{style:{width:Ca.overlayWidth.valuePercentage(i),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:o.colors.black,opacity:.4,cursor:"pointer"}}},onClose:v,children:C.jsx(Ua,{onClick:h=>h.stopPropagation(),children:C.jsx(ma,{...b})})})},Ua=va(Ta)`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{bF as xt,e as B,V as e,an as ht,b as f,cG as ut,cH as pt,cB as gt,cI as bt,o as a,f as A,bV as wt,O as j,x as K,L as yt,l as Y,m as y,C as $t,cJ as vt,cK as X,cs as Z,a5 as tt,H as kt}from"./index-CuxRoVvZ.js";import{a as b,b as jt}from"./sentry-Cm8I7E9J.js";import{n as l,c as Yt}from"./mui-G2MlMTlr.js";import{a as Lt}from"./ConstrainedInnerElement-CgdnMeoA-vBI13ZbI.js";import{Fr as _,Fs as q,Ft as U,Fu as I,bs as Mt,FL as et,bT as it}from"./zeni-epic-state-lC5X-sam.js";import{g as at}from"./BoxItem-CvCo0wr6-QhJ82HMO.js";import{t as It}from"./panelSelectedMixin-Cddsb26L-XfdQwEMM.js";import{o as H}from"./commonDimensions-CVpc-NCw-CA0m656N.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="599e2f7a-e53c-4a12-bd66-9f0c2ed4f557",t._sentryDebugIdIdentifier="sentry-dbid-599e2f7a-e53c-4a12-bd66-9f0c2ed4f557")}catch{}})();const F=t=>t?24:125,Pt={containerPaddingBottom:new K(y[9],y[8])},W=l.div`
1
+ import{bF as xt,e as B,V as e,an as ht,b as f,cG as ut,cH as pt,cB as gt,cI as bt,o as a,f as A,bV as wt,O as j,x as K,L as yt,l as Y,m as y,C as $t,cJ as vt,cK as X,cs as Z,a5 as tt,H as kt}from"./index-mhb15COx.js";import{a as b,b as jt}from"./sentry-Cm8I7E9J.js";import{n as l,c as Yt}from"./mui-G2MlMTlr.js";import{a as Lt}from"./ConstrainedInnerElement-CgdnMeoA-CpoLys2G.js";import{Fr as _,Fs as q,Ft as U,Fu as I,bs as Mt,FL as et,bT as it}from"./zeni-epic-state-lC5X-sam.js";import{g as at}from"./BoxItem-CvCo0wr6-BAtsmvg4.js";import{t as It}from"./panelSelectedMixin-Cddsb26L-XfdQwEMM.js";import{o as H}from"./commonDimensions-CVpc-NCw-xOjrok2-.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="599e2f7a-e53c-4a12-bd66-9f0c2ed4f557",t._sentryDebugIdIdentifier="sentry-dbid-599e2f7a-e53c-4a12-bd66-9f0c2ed4f557")}catch{}})();const F=t=>t?24:125,Pt={containerPaddingBottom:new K(y[9],y[8])},W=l.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{x as a,e as _,_ as W,U as q,ag as X,V as t,an as ee,b as w,m as n,w as te,f as A,o,d as k,M as G,O as $,aO as oe,aP as ie,C as ne,D as re,a5 as ae,aQ as se,k as le,L as de,J as N,aR as J,a as O,ab as K}from"./index-CuxRoVvZ.js";import{a as B,b as z}from"./sentry-Cm8I7E9J.js";import{n as i,c as ce}from"./mui-G2MlMTlr.js";import{F5 as me,bt as pe,bE as U}from"./zeni-epic-state-lC5X-sam.js";import{G as he,c as ge}from"./AccountsPromoCardStack-DHo59LLN-SJuuNn3m.js";import{a as ue}from"./ConstrainedInnerElement-CgdnMeoA-vBI13ZbI.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./SummaryCard-DPOhBmkr-Bkvd2_eX.js";import"./ReloadCard-Bjp8ygC2-fExG7Dij.js";import"./NavigationArrow-CWUL-6kN-DVve579d.js";import"./NavigationDots-c-XSrFzE-eujVKwdH.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="72138a01-ce71-4240-be8b-77fce376c348",e._sentryDebugIdIdentifier="sentry-dbid-72138a01-ce71-4240-be8b-77fce376c348")}catch{}})();const xe={textContainer:new k("extraSmallRegular","smallRegular")},we=i.div`
1
+ import{x as a,e as _,_ as W,U as q,ag as X,V as t,an as ee,b as w,m as n,w as te,f as A,o,d as k,M as G,O as $,aO as oe,aP as ie,C as ne,D as re,a5 as ae,aQ as se,k as le,L as de,J as N,aR as J,a as O,ab as K}from"./index-mhb15COx.js";import{a as B,b as z}from"./sentry-Cm8I7E9J.js";import{n as i,c as ce}from"./mui-G2MlMTlr.js";import{F5 as me,bt as pe,bE as U}from"./zeni-epic-state-lC5X-sam.js";import{G as he,c as ge}from"./AccountsPromoCardStack-DHo59LLN-ChbxyMzd.js";import{a as ue}from"./ConstrainedInnerElement-CgdnMeoA-CpoLys2G.js";import"./pdf-DwfifS04.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./SummaryCard-DPOhBmkr-Cv-w5fsm.js";import"./ReloadCard-Bjp8ygC2-DsEbxw3o.js";import"./NavigationArrow-CWUL-6kN-CRVEGy5S.js";import"./NavigationDots-c-XSrFzE-Bl0Sm_Ng.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="72138a01-ce71-4240-be8b-77fce376c348",e._sentryDebugIdIdentifier="sentry-dbid-72138a01-ce71-4240-be8b-77fce376c348")}catch{}})();const xe={textContainer:new k("extraSmallRegular","smallRegular")},we=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,$e=i.div`
@@ -1,4 +1,4 @@
1
- import{y as M,aX as R,aY as z,V as e,aZ as X,L as Z,b as h,a_ as q,o as s,l as G}from"./index-CuxRoVvZ.js";import{a as r,o as W}from"./sentry-Cm8I7E9J.js";import{n as l}from"./mui-G2MlMTlr.js";import{D as H}from"./TransactionList-B16NONME-CRFiM4VM.js";import{t as J}from"./page-detail-CWX5S47F-CWJ8fnGp.js";import"./pdf-DwfifS04.js";import"./zeni-epic-state-lC5X-sam.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./ConstrainedInnerElement-CgdnMeoA-vBI13ZbI.js";import"./BoxItem-CvCo0wr6-QhJ82HMO.js";import"./commonDimensions-CVpc-NCw-CA0m656N.js";import"./panelSelectedMixin-Cddsb26L-XfdQwEMM.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new t.Error().stack;c&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[c]="c15824a6-a701-433d-a9e5-e3dbd9b0b59a",t._sentryDebugIdIdentifier="sentry-dbid-c15824a6-a701-433d-a9e5-e3dbd9b0b59a")}catch{}})();const K=l.div`
1
+ import{y as M,aX as R,aY as z,V as e,aZ as X,L as Z,b as h,a_ as q,o as s,l as G}from"./index-mhb15COx.js";import{a as r,o as W}from"./sentry-Cm8I7E9J.js";import{n as l}from"./mui-G2MlMTlr.js";import{D as H}from"./TransactionList-B16NONME-xM0VK0uD.js";import{t as J}from"./page-detail-CWX5S47F-CWJ8fnGp.js";import"./pdf-DwfifS04.js";import"./zeni-epic-state-lC5X-sam.js";import"./core-CaikJZHD.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./utils-BhOlvYO8.js";import"./ConstrainedInnerElement-CgdnMeoA-CpoLys2G.js";import"./BoxItem-CvCo0wr6-BAtsmvg4.js";import"./commonDimensions-CVpc-NCw-xOjrok2-.js";import"./panelSelectedMixin-Cddsb26L-XfdQwEMM.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new t.Error().stack;c&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[c]="c15824a6-a701-433d-a9e5-e3dbd9b0b59a",t._sentryDebugIdIdentifier="sentry-dbid-c15824a6-a701-433d-a9e5-e3dbd9b0b59a")}catch{}})();const K=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 0;
@@ -1 +1 @@
1
- import{j as i}from"./pdf-DwfifS04.js";import{j as J,h as R,i as U,l as q,u as L,N as B,k as H,R as Te,m as v}from"./core-CaikJZHD.js";import{ct as $,ga as T,MC as K,De as de,bs as ne,MD as De,II as W,ME as ce,MF as ge,bG as x,Db as le,MG as ye,MH as oe,MI as Ae,MJ as ue,MK as he,ML as Se,MM as ie,Er as ke,bm as Ie}from"./zeni-epic-state-lC5X-sam.js";import{O as Z,jz as O,lW as Q,jO as w,jM as X,k2 as be,js as ve,aE as Ye,aG as se}from"./index-CuxRoVvZ.js";import"./mui-G2MlMTlr.js";import{a as A}from"./sentry-Cm8I7E9J.js";import{w as ee}from"./withTransactionSidePanel-DXYKCsTM.js";import{p as te,b as ae}from"./routePaths-CkO80-xL.js";import{u as xe}from"./utils-BhOlvYO8.js";import{d as M}from"./decodeURIComponentSafe-DcEFJStp.js";import{Z as Pe}from"./ZeniAccountStatementScreen-BI6AQKJr.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./TransactionDetailScreen-B7XWRVbF.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="12391f5e-7f7f-4565-9a66-ebfc8c44ba14",a._sentryDebugIdIdentifier="sentry-dbid-12391f5e-7f7f-4565-9a66-ebfc8c44ba14")}catch{}})();const G=a=>xe(a),Me=H(function(a,e){const t=De(a.transactionState,a.transactionListState,e.selectedAccount.period,e.selectedAccount.timeframe,G(e.selectedAccount.tranListType));return{title:e.selectedAccount.title,subTitle:e.selectedAccount.subTitle,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:e.dataAvailableForPeriod,report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??"../../";e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();const o=Z.getLocalizedStrings(),r=G(e.selectedAccount.tranListType),s=je(t,n,c,r,e.bookCloseDate);O.trackTransactionList(void 0,void 0,void 0,e.selectedAccount.title,void 0,!0),a(ce({uiState:{dateRange:s},type:G(e.selectedAccount.tranListType)})),a(de(r,T(s),!1,r==="missingReceipts"?o.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0)),e.onSelectedTimePeriodChange(T(s))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ce({uiState:{scrollYOffset:t},type:G(e.selectedAccount.tranListType)}))}}})(Q),F=ee(function({...a}){const e=J(),t=R(),n=U(),c=t.pathname.substring(t.pathname.lastIndexOf("/")+1),{tenantEmailDomain:o}=q(),r=Z.getLocalizedStrings(),{accountType:s,title:u,subTitle:h}=Le(c),D="month",g=L(p=>$(p)),Y=g.company?.companyInfo.firstMonthOfFY??1,{dataAvailable:y,initialTimeframeTick:S}=Ee(c,Y,g.bookCloseDate),[k,E]=A.useState(!1),[j,P]=A.useState(void 0),m=A.useMemo(()=>{const p=T(S);return{tranListType:c,accountType:K(s),title:u,subTitle:h,timeframe:D,period:p}},[c,D,s,y]);A.useEffect(()=>{if(!k&&m!=null){E(!0),O.trackTransactionList(void 0,void 0,void 0,m.title);const p=G(m.tranListType);n(de(p,m.period,!0,p==="missingReceipts"?r.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0))}},[k,m,n]);let I=m;return m!=null&&j!=null&&(I={...m,period:j}),I==null?i.jsx(B,{to:"../"}):i.jsx(Me,{firstMonthOfFY:Y,tenantEmailDomain:o,location:t,useFixedPeriod:{timeframe:"month",numberOfPeriods:12},dataAvailableForPeriod:y,navigate:e,selectedAccount:I,referrerType:c,bookCloseDate:g.bookCloseDate,onSelectedTimePeriodChange:p=>P(p),...a})}),Le=a=>{let e="",t="",n="";const c=Z.getLocalizedStrings();switch(a){case"uncategorized-income":e="income",t=c.uncategorizedTransactionList.income.title,n=c.uncategorizedTransactionList.income.subTitle;break;case"uncategorized-expense":e="expenses",t=c.uncategorizedTransactionList.expense.title,n=c.uncategorizedTransactionList.expense.subTitle;break;case"miscategorized-expense":e="expenses",t=c.miscategorizedTransactionList.expense.title,n=c.miscategorizedTransactionList.expense.subTitle;break;case"miscategorized-income":e="income",t=c.miscategorizedTransactionList.income.title,n=c.miscategorizedTransactionList.income.subTitle;break;case"missing-receipts":t=c.uncategorizedTransactionList.missingReceipt.title,n=c.uncategorizedTransactionList.missingReceipt.subTitle}return{accountType:e,title:t,subTitle:n}},Ee=(a,e,t)=>{const n=ne();let c=ne().startOf("month").subtract(11,"month");return t!=null&&a!=="missing-receipts"?t.add(1,"day").isBefore(c)?{dataAvailable:{startDate:t.add(1,"day"),endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}:(c=t.add(1,"day"),{dataAvailable:{startDate:c,endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}):{dataAvailable:te(5,e),initialTimeframeTick:{startDate:c,endDate:n}}},je=(a,e,t,n,c)=>{let o=e;return n==="missingReceipts"||c==null?a.startDate.isBefore(e.startDate,t)?o={startDate:a.startDate,endDate:e.endDate}:a.startDate.isAfter(e.endDate,t)?o={startDate:e.startDate,endDate:a.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(a)}`):o=a.startDate.isBefore(c,t)?{startDate:c.add(1,"day"),endDate:e.endDate}:{startDate:a.startDate,endDate:e.endDate},o},ze=H(function(a,e){const t=ye(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,e.selectedAccount.timeframe,e.selectedAccount.period);return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??me();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{dateRange:o}})),a(le(e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{scrollYOffset:t}}))}}})(Q),Be=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,classIdEncoded:u,timeframe:h,startDate:D,endDate:g,titleEncoded:Y}=q(),y=M(r??""),S=M(s??""),k=M(u??""),E=M(Y??""),j=L(f=>ge(f.transactionListState,S,y,k)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(f=>$(f)),V=_.company?.companyInfo.firstMonthOfFY??1;let d;const l=Oe(y,S,k,h,D,g,E);if(l){const f={startDate:x(D,"YYYY-MM-DD"),endDate:x(g,"YYYY-MM-DD")},N=Ce(j?.dateRange,f);d={accountId:S,accountType:K(y),classId:k,title:E,timeframe:h,period:N}}A.useEffect(()=>{P||d==null||(m(!0),O.trackTransactionList(d.accountId,void 0,a,d.title),c(le(d.accountId,d.accountType,d.classId,d.period)))},[P,d,c]);let z=d;d!=null&&I!=null&&(z={...d,period:I});const C=[r,s,u,h,D,g,Y].filter(f=>f!=null);return l&&z!=null?i.jsx(ze,{firstMonthOfFY:V,tenantEmailDomain:o,location:n,navigate:t,selectedAccount:z,referrerType:a,onSelectedTimePeriodChange:f=>p(f),...e}):i.jsx(B,{to:me(C.length)})}),me=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Oe=(a,e,t,n,c,o,r)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&o!=null&&(n==="month"||n==="quarter")&&x(c,"YYYY-MM-DD").isValid()&&x(o,"YYYY-MM-DD").isValid()&&r!=null,Ce=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),Fe=H(function(a,e){const t=he(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.timeframe,e.selectedAccount.period),n=t.account?.coaId,c=e.isConnectedAccountProviderUnit&&Se(n??"");return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0,showStatementPageIcon:c}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??pe();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{dateRange:o}})),a(ue(e.selectedAccount.accountId,e.selectedAccount.accountType,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{scrollYOffset:t}}))},onStatementPageIconClick:()=>{const t=we(e.tenantEmailDomain),n=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(t,{state:{pathnameStackToGoBack:n}})}}})(Q),re=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,timeframe:u,startDate:h,endDate:D,titleEncoded:g,excludeSubAccounts:Y}=q(),y=M(r??""),S=M(s??""),k=M(g??""),E=!(Y!=null&&Y==="exclude_subaccounts"),j=L(b=>Ae(b.transactionListState,S,y)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(b=>$(b)),V=_.company?.featuresActivationInfo.connectedAccountProvider==="unit",d=_.company?.companyInfo.firstMonthOfFY??1;let l;const z=Ge(y,S,u,h,D,k);if(z){const b={startDate:x(h,"YYYY-MM-DD"),endDate:x(D,"YYYY-MM-DD")},fe=_e(j?.dateRange,b);l={accountId:S,accountType:K(y),title:k,timeframe:u,period:fe}}let C=l;l!=null&&I!=null&&(C={...l,period:I});const{areTenantIdsInSync:f}=be();A.useEffect(()=>{!P&&l!=null&&f&&(m(!0),O.trackTransactionList(l.accountId,void 0,a,l.title),c(ue(l.accountId,l.accountType,l.period,void 0,!1,E)))},[P,l,c,f]);const N=[r,s,u,h,D,g].filter(b=>b!=null);return z&&C!=null?i.jsx(Fe,{firstMonthOfFY:d,tenantEmailDomain:o,location:n,navigate:t,isConnectedAccountProviderUnit:V,selectedAccount:C,referrerType:a,onSelectedTimePeriodChange:b=>p(b),...e}):i.jsx(B,{to:pe(N.length)})}),pe=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Ge=(a,e,t,n,c,o)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&(t==="month"||t==="quarter")&&x(n,"YYYY-MM-DD").isValid()&&x(c,"YYYY-MM-DD").isValid()&&o!=null,_e=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),we=a=>`/${a}/transactions/${ke}/statements`;function ot(){const a=R().state?.referrer,e=ve.getSignedInUser(),t=Ie(e),{useFeatureGate:n}=Ye(),{isFeatureEnabled:c}=n(se.isExpenseAutomationEnabled),o=L(u=>u.expenseAutomationViewState.selectedPeriodByTenantId)[L(u=>$(u)).tenantId],{isFeatureEnabled:r}=n(se.isExpenseAutomationEnabledV2),s=r||c&&t;return i.jsxs(Te,{children:[i.jsx(v,{path:"/:accountTypeEncoded/:accountIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/:excludeSubAccounts/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/zeni-clearing-account/statements",element:i.jsx(Pe,{})}),i.jsx(v,{path:"/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/uncategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/uncategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/missing-receipts/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/missing_receipts/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/by-class/:accountTypeEncoded/:accountIdEncoded/:classIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/*",element:i.jsx(Be,{referrerType:a})})]})}export{ot as default};
1
+ import{j as i}from"./pdf-DwfifS04.js";import{j as J,h as R,i as U,l as q,u as L,N as B,k as H,R as Te,m as v}from"./core-CaikJZHD.js";import{ct as $,ga as T,MC as K,De as de,bs as ne,MD as De,II as W,ME as ce,MF as ge,bG as x,Db as le,MG as ye,MH as oe,MI as Ae,MJ as ue,MK as he,ML as Se,MM as ie,Er as ke,bm as Ie}from"./zeni-epic-state-lC5X-sam.js";import{O as Z,jz as O,lW as Q,jO as w,jM as X,k2 as be,js as ve,aE as Ye,aG as se}from"./index-mhb15COx.js";import"./mui-G2MlMTlr.js";import{a as A}from"./sentry-Cm8I7E9J.js";import{w as ee}from"./withTransactionSidePanel-DBF40Qih.js";import{p as te,b as ae}from"./routePaths-CDVBEe6a.js";import{u as xe}from"./utils-BhOlvYO8.js";import{d as M}from"./decodeURIComponentSafe-DcEFJStp.js";import{Z as Pe}from"./ZeniAccountStatementScreen-B5KsFobU.js";import"./lottie-D86WIi_0.js";import"./liveblocks--AdozwCz.js";import"./recharts-3tylCZU1.js";import"./dnd-CzsffKNn.js";import"./analytics-Qgv3Fhaa.js";import"./plaid-CcxzSXZd.js";import"./TransactionDetailScreen-DHwJH1ZP.js";(function(){try{var a=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new a.Error().stack;e&&(a._sentryDebugIds=a._sentryDebugIds||{},a._sentryDebugIds[e]="12391f5e-7f7f-4565-9a66-ebfc8c44ba14",a._sentryDebugIdIdentifier="sentry-dbid-12391f5e-7f7f-4565-9a66-ebfc8c44ba14")}catch{}})();const G=a=>xe(a),Me=H(function(a,e){const t=De(a.transactionState,a.transactionListState,e.selectedAccount.period,e.selectedAccount.timeframe,G(e.selectedAccount.tranListType));return{title:e.selectedAccount.title,subTitle:e.selectedAccount.subTitle,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:e.dataAvailableForPeriod,report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??"../../";e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();const o=Z.getLocalizedStrings(),r=G(e.selectedAccount.tranListType),s=je(t,n,c,r,e.bookCloseDate);O.trackTransactionList(void 0,void 0,void 0,e.selectedAccount.title,void 0,!0),a(ce({uiState:{dateRange:s},type:G(e.selectedAccount.tranListType)})),a(de(r,T(s),!1,r==="missingReceipts"?o.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0)),e.onSelectedTimePeriodChange(T(s))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ce({uiState:{scrollYOffset:t},type:G(e.selectedAccount.tranListType)}))}}})(Q),F=ee(function({...a}){const e=J(),t=R(),n=U(),c=t.pathname.substring(t.pathname.lastIndexOf("/")+1),{tenantEmailDomain:o}=q(),r=Z.getLocalizedStrings(),{accountType:s,title:u,subTitle:h}=Le(c),D="month",g=L(p=>$(p)),Y=g.company?.companyInfo.firstMonthOfFY??1,{dataAvailable:y,initialTimeframeTick:S}=Ee(c,Y,g.bookCloseDate),[k,E]=A.useState(!1),[j,P]=A.useState(void 0),m=A.useMemo(()=>{const p=T(S);return{tranListType:c,accountType:K(s),title:u,subTitle:h,timeframe:D,period:p}},[c,D,s,y]);A.useEffect(()=>{if(!k&&m!=null){E(!0),O.trackTransactionList(void 0,void 0,void 0,m.title);const p=G(m.tranListType);n(de(p,m.period,!0,p==="missingReceipts"?r.uncategorizedTransactionList.missingReceipt.missingReceiptMinAmount:void 0))}},[k,m,n]);let I=m;return m!=null&&j!=null&&(I={...m,period:j}),I==null?i.jsx(B,{to:"../"}):i.jsx(Me,{firstMonthOfFY:Y,tenantEmailDomain:o,location:t,useFixedPeriod:{timeframe:"month",numberOfPeriods:12},dataAvailableForPeriod:y,navigate:e,selectedAccount:I,referrerType:c,bookCloseDate:g.bookCloseDate,onSelectedTimePeriodChange:p=>P(p),...a})}),Le=a=>{let e="",t="",n="";const c=Z.getLocalizedStrings();switch(a){case"uncategorized-income":e="income",t=c.uncategorizedTransactionList.income.title,n=c.uncategorizedTransactionList.income.subTitle;break;case"uncategorized-expense":e="expenses",t=c.uncategorizedTransactionList.expense.title,n=c.uncategorizedTransactionList.expense.subTitle;break;case"miscategorized-expense":e="expenses",t=c.miscategorizedTransactionList.expense.title,n=c.miscategorizedTransactionList.expense.subTitle;break;case"miscategorized-income":e="income",t=c.miscategorizedTransactionList.income.title,n=c.miscategorizedTransactionList.income.subTitle;break;case"missing-receipts":t=c.uncategorizedTransactionList.missingReceipt.title,n=c.uncategorizedTransactionList.missingReceipt.subTitle}return{accountType:e,title:t,subTitle:n}},Ee=(a,e,t)=>{const n=ne();let c=ne().startOf("month").subtract(11,"month");return t!=null&&a!=="missing-receipts"?t.add(1,"day").isBefore(c)?{dataAvailable:{startDate:t.add(1,"day"),endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}:(c=t.add(1,"day"),{dataAvailable:{startDate:c,endDate:n},initialTimeframeTick:{startDate:c,endDate:n}}):{dataAvailable:te(5,e),initialTimeframeTick:{startDate:c,endDate:n}}},je=(a,e,t,n,c)=>{let o=e;return n==="missingReceipts"||c==null?a.startDate.isBefore(e.startDate,t)?o={startDate:a.startDate,endDate:e.endDate}:a.startDate.isAfter(e.endDate,t)?o={startDate:e.startDate,endDate:a.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(a)}`):o=a.startDate.isBefore(c,t)?{startDate:c.add(1,"day"),endDate:e.endDate}:{startDate:a.startDate,endDate:e.endDate},o},ze=H(function(a,e){const t=ye(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,e.selectedAccount.timeframe,e.selectedAccount.period);return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??me();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{dateRange:o}})),a(le(e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.classId,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(oe({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,classId:e.selectedAccount.classId,uiState:{scrollYOffset:t}}))}}})(Q),Be=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,classIdEncoded:u,timeframe:h,startDate:D,endDate:g,titleEncoded:Y}=q(),y=M(r??""),S=M(s??""),k=M(u??""),E=M(Y??""),j=L(f=>ge(f.transactionListState,S,y,k)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(f=>$(f)),V=_.company?.companyInfo.firstMonthOfFY??1;let d;const l=Oe(y,S,k,h,D,g,E);if(l){const f={startDate:x(D,"YYYY-MM-DD"),endDate:x(g,"YYYY-MM-DD")},N=Ce(j?.dateRange,f);d={accountId:S,accountType:K(y),classId:k,title:E,timeframe:h,period:N}}A.useEffect(()=>{P||d==null||(m(!0),O.trackTransactionList(d.accountId,void 0,a,d.title),c(le(d.accountId,d.accountType,d.classId,d.period)))},[P,d,c]);let z=d;d!=null&&I!=null&&(z={...d,period:I});const C=[r,s,u,h,D,g,Y].filter(f=>f!=null);return l&&z!=null?i.jsx(ze,{firstMonthOfFY:V,tenantEmailDomain:o,location:n,navigate:t,selectedAccount:z,referrerType:a,onSelectedTimePeriodChange:f=>p(f),...e}):i.jsx(B,{to:me(C.length)})}),me=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Oe=(a,e,t,n,c,o,r)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&o!=null&&(n==="month"||n==="quarter")&&x(c,"YYYY-MM-DD").isValid()&&x(o,"YYYY-MM-DD").isValid()&&r!=null,Ce=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),Fe=H(function(a,e){const t=he(a.transactionState,a.transactionListState,e.selectedAccount.accountId,e.selectedAccount.accountType,e.selectedAccount.timeframe,e.selectedAccount.period),n=t.account?.coaId,c=e.isConnectedAccountProviderUnit&&Se(n??"");return{accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,title:e.selectedAccount.title,timeframe:e.selectedAccount.timeframe,timePeriod:W(e.selectedAccount.period),dataAvailableForPeriod:te(5,e.firstMonthOfFY),report:t,currentScrollYOffset:t.uiState?.scrollYOffset??0,showStatementPageIcon:c}},function(a,e){return{onBackClick:()=>{const t=X(e.location.state?.pathnameStackToGoBack),n=t.poppedPathname??pe();e.navigate(n,{state:{pathnameStackToGoBack:t.newStack}})},onTimePeriodChange:(t,n,c)=>{e.closeSidePanel?.();let o=n;t.startDate.isBefore(n.startDate,c)?o={startDate:t.startDate,endDate:n.endDate}:t.startDate.isAfter(n.endDate,c)?o={startDate:n.startDate,endDate:t.endDate}:console.error(`Invalid addTimePeriod ${JSON.stringify(t)}`),O.trackTransactionList(e.selectedAccount.accountId,void 0,e.referrerType,e.selectedAccount.title,void 0,!0),a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{dateRange:o}})),a(ue(e.selectedAccount.accountId,e.selectedAccount.accountType,T(o))),e.onSelectedTimePeriodChange(T(o))},onTransactionItemClick:t=>{if(e.openTransactionPanel)return void e.openTransactionPanel(t.id,t.type);const n=ae(t,e.tenantEmailDomain),c=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(n,{state:{pathnameStackToGoBack:c}})},onTransactionListScroll:t=>{a(ie({accountId:e.selectedAccount.accountId,accountType:e.selectedAccount.accountType,uiState:{scrollYOffset:t}}))},onStatementPageIconClick:()=>{const t=we(e.tenantEmailDomain),n=w(e.location.state?.pathnameStackToGoBack,e.location.pathname);e.navigate(t,{state:{pathnameStackToGoBack:n}})}}})(Q),re=ee(function({referrerType:a,...e}){const t=J(),n=R(),c=U(),{tenantEmailDomain:o,accountTypeEncoded:r,accountIdEncoded:s,timeframe:u,startDate:h,endDate:D,titleEncoded:g,excludeSubAccounts:Y}=q(),y=M(r??""),S=M(s??""),k=M(g??""),E=!(Y!=null&&Y==="exclude_subaccounts"),j=L(b=>Ae(b.transactionListState,S,y)),[P,m]=A.useState(!1),[I,p]=A.useState(void 0),_=L(b=>$(b)),V=_.company?.featuresActivationInfo.connectedAccountProvider==="unit",d=_.company?.companyInfo.firstMonthOfFY??1;let l;const z=Ge(y,S,u,h,D,k);if(z){const b={startDate:x(h,"YYYY-MM-DD"),endDate:x(D,"YYYY-MM-DD")},fe=_e(j?.dateRange,b);l={accountId:S,accountType:K(y),title:k,timeframe:u,period:fe}}let C=l;l!=null&&I!=null&&(C={...l,period:I});const{areTenantIdsInSync:f}=be();A.useEffect(()=>{!P&&l!=null&&f&&(m(!0),O.trackTransactionList(l.accountId,void 0,a,l.title),c(ue(l.accountId,l.accountType,l.period,void 0,!1,E)))},[P,l,c,f]);const N=[r,s,u,h,D,g].filter(b=>b!=null);return z&&C!=null?i.jsx(Fe,{firstMonthOfFY:d,tenantEmailDomain:o,location:n,navigate:t,isConnectedAccountProviderUnit:V,selectedAccount:C,referrerType:a,onSelectedTimePeriodChange:b=>p(b),...e}):i.jsx(B,{to:pe(N.length)})}),pe=(a=7)=>{let e="../";for(let t=0;t<a;t++)e=`${e}../`;return e},Ge=(a,e,t,n,c,o)=>a!=null&&e!=null&&t!=null&&n!=null&&c!=null&&(t==="month"||t==="quarter")&&x(n,"YYYY-MM-DD").isValid()&&x(c,"YYYY-MM-DD").isValid()&&o!=null,_e=(a,e)=>a!=null&&a.endDate.isSame(e.endDate,"day")&&a.startDate.isBefore(e.startDate,"day")?T(a):T(e),we=a=>`/${a}/transactions/${ke}/statements`;function ot(){const a=R().state?.referrer,e=ve.getSignedInUser(),t=Ie(e),{useFeatureGate:n}=Ye(),{isFeatureEnabled:c}=n(se.isExpenseAutomationEnabled),o=L(u=>u.expenseAutomationViewState.selectedPeriodByTenantId)[L(u=>$(u)).tenantId],{isFeatureEnabled:r}=n(se.isExpenseAutomationEnabledV2),s=r||c&&t;return i.jsxs(Te,{children:[i.jsx(v,{path:"/:accountTypeEncoded/:accountIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/:excludeSubAccounts/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/zeni-clearing-account/statements",element:i.jsx(Pe,{})}),i.jsx(v,{path:"/*",element:i.jsx(re,{referrerType:a})}),i.jsx(v,{path:"/uncategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/uncategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-income/*",element:i.jsx(F,{})}),i.jsx(v,{path:"/miscategorized-expense/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/transaction_categorization/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/missing-receipts/*",element:s?i.jsx(B,{to:`../../month_end_close_checks/review/missing_receipts/${o.month}-${o.year}`}):i.jsx(F,{})}),i.jsx(v,{path:"/by-class/:accountTypeEncoded/:accountIdEncoded/:classIdEncoded/:timeframe/:startDate/:endDate/:titleEncoded/*",element:i.jsx(Be,{referrerType:a})})]})}export{ot as default};