@zeniai/web-cockpit-ui 1.14.19-dev → 1.14.19-dev-betaSK01

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 (371) hide show
  1. package/dist/assets/ACHDetailsPage-TewccRkX-DetITKOl.js +21 -0
  2. package/dist/assets/{AIPerformancePage-BuQApbEf-iP9bvKhu.js → AIPerformancePage-CJ0myi1p-CyCBKn16.js} +63 -63
  3. package/dist/assets/AccountInfoPage-CuytgM09-DMWlq-IF.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-DQJFmREl-DoaILqqU.js → AccountInfoPageContent-CVV20YhW-q-TI4Dr6.js} +18 -18
  5. package/dist/assets/{AccountReconDetailsDrawerPage-D2B9Na3--BPjptdtd.js → AccountReconDetailsDrawerPage-CNT6qZyD-ZHVZJgF9.js} +17 -17
  6. package/dist/assets/{AccountRow-ZcS_RTJN-DNHX6IR1.js → AccountRow-COaolUm5-Bsrm5YYV.js} +40 -40
  7. package/dist/assets/{AccountsPromoCardStack-Bh2D-mXh-Yx4rUExR.js → AccountsPromoCardStack-BOmk5qYk-Bnozn1QW.js} +37 -37
  8. package/dist/assets/{AddAddressForCardDrawer-Ds2V5DyG-D2Tq6L1d.js → AddAddressForCardDrawer-DQN-6ztS-C4C6h_V9.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-DQ_gwAcu-Bv5nxp9i.js → AddToWalletPage-CT9nivqI-BnXCEk6P.js} +122 -122
  10. package/dist/assets/{AgingReportsPage-BU_tqV13-C2Yi_y38.js → AgingReportsPage-DGzFK69_-DgqwpnRI.js} +15 -15
  11. package/dist/assets/{AllUserItems-DBXzXO61-sIPVSbAT.js → AllUserItems-diZQlFqb-DwUtiew2.js} +17 -17
  12. package/dist/assets/{ApAgingDetailPage-Crv9EDe5-Dm92urnR.js → ApAgingDetailPage-CtXSUVGC-DdWwytoq.js} +3 -3
  13. package/dist/assets/AppBasePage-D6MgS-da-2jH4Fzgr.js +70 -0
  14. package/dist/assets/{AppDrawerContent-rw39Hn3s-Aoghs5SQ.js → AppDrawerContent-Z3Hny9GH-BBS5jJHD.js} +59 -46
  15. package/dist/assets/ApprovalRulesSettingsPage-BwnaDPqA-BMHJ2n3v.js +47 -0
  16. package/dist/assets/ArAgingChart-BvG_iPlt-BYubF9ZD.js +24 -0
  17. package/dist/assets/ArAgingDetailPage-Sm4672LS-o1itnQt5.js +46 -0
  18. package/dist/assets/{AttachmentView-BTAMhgXU-BizBD4c6.js → AttachmentView-ChlYn2cr-DueA245P.js} +8 -8
  19. package/dist/assets/AuditReportDrawerPage-CaFo0k9s-NaTvWx96.js +369 -0
  20. package/dist/assets/{BankAccountSection-DVO3xzgl-BbF3_Xvy.js → BankAccountSection-DdvqFTBS-3WhABy0l.js} +7 -7
  21. package/dist/assets/{BankAccountWarningSection-CQsqUFKg-CEwje_vW.js → BankAccountWarningSection-VrRQxdkB-DFivrjf8.js} +10 -10
  22. package/dist/assets/{BankConnectionsSettingsPage-CEyhk8v--D1MZcFK5.js → BankConnectionsSettingsPage-D1Y3V93C-Bfvr_pF_.js} +23 -23
  23. package/dist/assets/{BillDetailPage-CP6QCrla-C-q234bH.js → BillDetailPage-XL8GxSiQ-Cxb-3w9d.js} +18 -18
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-Bem5LvtY-ByYY2uP-.js → BillPayApprovalRuleDetailPage-wIEW2R5G-CC_GZTsX.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-DhDaCfQa-cqstNfVf.js → BillPayApprovalRulesPage-kGddvG8V-rTKT6DIU.js} +9 -9
  26. package/dist/assets/{BillPayPromoPage-BjH9lvnR-7aNAb2i3.js → BillPayPromoPage-VBLYqFtx-CSmxPHYz.js} +10 -10
  27. package/dist/assets/BillPaySetUpPage-CTNtHQBM-CpoUfnMM.js +42 -0
  28. package/dist/assets/BillingSettingsPage-CR0doM6R-DRs8JS8S.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-B0ebreRX-D7v6qOnU.js +1 -0
  30. package/dist/assets/{BoxItem-BL-UVx2X-CDUWJCC4.js → BoxItem-DJq3mny1-nPTLB__B.js} +4 -4
  31. package/dist/assets/BusinessVerificationPage-B6lyqGIK-BfLlNZ0a.js +140 -0
  32. package/dist/assets/BusyIndication-_H8LL7GJ-BjR55KdD.js +9 -0
  33. package/dist/assets/{CardNumberSubText-CNMNL0y--CRLH2YxV.js → CardNumberSubText-Bo_ZeAR0-DocU3odv.js} +4 -4
  34. package/dist/assets/{CashbackDetailPage-Cj26I5CB-DNKm6NdF.js → CashbackDetailPage-0Yl3lHzq-CJUtuV5y.js} +31 -31
  35. package/dist/assets/{ChargeCardDetailPage-herJK06r-Jj0sML3r.js → ChargeCardDetailPage-BaceF_92-G63YAG6z.js} +78 -78
  36. package/dist/assets/{ChargeCardListPage-LYVKm-0u-CGVPXLUW.js → ChargeCardListPage-_YORyJOy-uqdfjUZk.js} +37 -37
  37. package/dist/assets/{ChargeCardListTable-DxE-nRR4-Dc_afx90.js → ChargeCardListTable-DE1xnRyd-D2F1GAJW.js} +62 -62
  38. package/dist/assets/ChargeCardPromoPage-DO2UJyXm-Dwx7STGG.js +222 -0
  39. package/dist/assets/ChargeCardSetupPage-De5jDB3D-CMdmpmLu.js +36 -0
  40. package/dist/assets/{ChargeCardStatementsPage-DkCHd5c6-y_ZysAG_.js → ChargeCardStatementsPage-bpyamxR5-WxHdE5xc.js} +9 -9
  41. package/dist/assets/ChargeCardUtils-DYpmF85C-qBaPG14m.js +1 -0
  42. package/dist/assets/{ChaseOverlay-N7gGQaMQ-Bh9lkzpe.js → ChaseOverlay-YVpKSII6-BIyjTgCz.js} +10 -10
  43. package/dist/assets/CheckDepositDrawerPage-Dj2do0Un-DCNBKUNr.js +206 -0
  44. package/dist/assets/{CollapsableReportTable-NSlKGCNZ-9GlkRzVX.js → CollapsableReportTable-CDe76ha7-3Q7qsS_e.js} +18 -18
  45. package/dist/assets/{CompanyOfficerDetailsSection-C1IpMsWw-4riCbcJi.js → CompanyOfficerDetailsSection-CeVdKqY7-DWrcELqw.js} +25 -25
  46. package/dist/assets/{CompanyPassportCard-D5gkzDNU-DdCNWaie.js → CompanyPassportCard-O7LbMSSb-D53wb0da.js} +8 -8
  47. package/dist/assets/{CompanyPassportPage-6_6yWHxX-BzKkvM2X.js → CompanyPassportPage-B05q2F4S-DiyGLc2N.js} +154 -154
  48. package/dist/assets/CompleteProfile-B_dl9xEx-DFZ3KU15.js +52 -0
  49. package/dist/assets/ConfettiBurst-ChCmpiHq-BBDSx_jo.js +1 -0
  50. package/dist/assets/ControlledCheckBoxField-BIqM2o6X-Ml88Uf7U.js +74 -0
  51. package/dist/assets/{CreateOrEditVendorPage-DQW4Wobx-CiIXGaQB.js → CreateOrEditVendorPage-BZ6ZfaSo-Dn1DLrma.js} +15 -15
  52. package/dist/assets/{CreditCardPaymentDrawerPage-BEpQXn9g-DzfCHeLI.js → CreditCardPaymentDrawerPage-cABpaIqh-BIRd807Z.js} +16 -16
  53. package/dist/assets/{CreditCardPaymentPlgSection-BGh2TJeK-DFQxSPk-.js → CreditCardPaymentPlgSection-BgJ074tY-CfzZdzTd.js} +11 -11
  54. package/dist/assets/{CurrencySelectField-C2if0NUa-ChKY5K5U.js → CurrencySelectField-BfgtNimH-BYHOS_CH.js} +6 -6
  55. package/dist/assets/{CustomerOnboardingActivationPage-_zjv9RZY-5MkPCW8D.js → CustomerOnboardingActivationPage-Czg8rmEW-YInlsWzY.js} +4 -4
  56. package/dist/assets/CustomerOnboardingContainerPage-Ciaw11Nw-O_DtjvXM.js +1 -0
  57. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CXApNm6A-BSR-PhTi.js → CustomerOnboardingDetailPageSkeleton-DtYTYPnO-DzMzbH73.js} +17 -17
  58. package/dist/assets/CustomerOnboardingNoStepsPage-CdOEZjmC-HqvGWI7K.js +66 -0
  59. package/dist/assets/{CustomerOnboardingPage-CWpmMXrh-CRkiPpz7.js → CustomerOnboardingPage-CXZCAc_N-BfMJFDq7.js} +10 -10
  60. package/dist/assets/{CustomerOnboardingProductSuitePage-CGYRoz3v-BhEGdWj7.js → CustomerOnboardingProductSuitePage-ucFJ1PHr-BwZiAWEx.js} +10 -10
  61. package/dist/assets/{Dashboard-Dyt4nvyG-CkNduEQV.js → Dashboard-CAWL19Rr-CvQLInkH.js} +229 -229
  62. package/dist/assets/{DashboardReportPage-BSbTlRwW-gHAkcokq.js → DashboardReportPage-DYgKY1Ns-_VZzH9Ck.js} +27 -27
  63. package/dist/assets/DashboardSidebarBackgroundAnimation-CblfOXOJ-B4cbMZpc.js +12 -0
  64. package/dist/assets/{DepositAccTransactionItem-CuTp6qxI-Ce2SFbUX.js → DepositAccTransactionItem-DeOMizAI-BUL1onQj.js} +10 -10
  65. package/dist/assets/DepositAccTransactionListPage-2kpIHXLb-j8eQ9Syw.js +66 -0
  66. package/dist/assets/{DomesticWireDetailsPage-C5hxxGsr-D-EvElMb.js → DomesticWireDetailsPage-FsJvVULE-cMWuJpE8.js} +1 -1
  67. package/dist/assets/{DownloadOverlay-B9O7jf-4-BeIpOSC8.js → DownloadOverlay-CVCKyDWO-CyzPCm3f.js} +40 -40
  68. package/dist/assets/{DrawerPage-Dpd6lRf7-l9nV_5N2.js → DrawerPage-l697kk-T-C0lMqvCR.js} +14 -14
  69. package/dist/assets/EditPeoplePage-CwhUp4W2-CnFSjC3L.js +55 -0
  70. package/dist/assets/{EditReimbursementDetailPage-BL-W1hPs-D4iR-8Yt.js → EditReimbursementDetailPage-COuH1JPm-DF1XIZnj.js} +68 -68
  71. package/dist/assets/EmptySearchResults-CB9-FwYT-DCczU5qh.js +46 -0
  72. package/dist/assets/EntityDetailPage-BqjWJTDI-qcUtYQZh.js +18 -0
  73. package/dist/assets/{EntitySummarySection-eNxIwvHt-CkeObU85.js → EntitySummarySection-B1zP9dKH-kkSLVqaS.js} +10 -10
  74. package/dist/assets/ExpenseAutomationOverviewPage-CKokJTC4-C9VvWXen.js +222 -0
  75. package/dist/assets/{ExpenseAutomationPage-LPWPrpwm-T8iyqKP1.js → ExpenseAutomationPage-DP0P07VH-DhP4-CZe.js} +91 -91
  76. package/dist/assets/{ExpressPayPage-COQrt-KL-sn6b2-XB.js → ExpressPayPage-CuuS2EDn-D3uvvYo2.js} +9 -9
  77. package/dist/assets/{FeaturePreviewPage-Coe53hoK-Doq3zPCz.js → FeaturePreviewPage-D90G_5Q8-CnQvTfz2.js} +2 -2
  78. package/dist/assets/{FollowStepsSection-BJFJzQrz-CGmrm9Lr.js → FollowStepsSection-DbS5XlIB--DgM9Akw.js} +10 -10
  79. package/dist/assets/{GlobalReviewListPage-DDQb-plt-B7MJAdcL.js → GlobalReviewListPage-D1a2gbca-BjGUSD3w.js} +13 -13
  80. package/dist/assets/Header-DLZFUQF8-BI2bQ6MH.js +226 -0
  81. package/dist/assets/HealthListRow-iF093_lw-DegqmjBi.js +210 -0
  82. package/dist/assets/HealthMonitorDetailDrawer-BJRgJJOH-BzVkHFE6.js +401 -0
  83. package/dist/assets/HealthMonitorPage-BT0gIPV6-BAgQvawR.js +108 -0
  84. package/dist/assets/{HelpButton-BT_HyQ5k-B4E1vZtk.js → HelpButton-Dw0OujKs-8AApGgt1.js} +7 -7
  85. package/dist/assets/{InformationCardStack-B9E29_zj-DokGK6g8.js → InformationCardStack-QA9nEJlH-BHcB9j6E.js} +4 -4
  86. package/dist/assets/{InsightsCardStack-7XbkZ-A3-BxqeB-iN.js → InsightsCardStack-DKM6Xigy-B12rMXAv.js} +13 -13
  87. package/dist/assets/InsightsSection-DxpsNIIy-D73VhmA2.js +27 -0
  88. package/dist/assets/IntegrationsSettingsPage-DEOHHrS4-xD8BgFGo.js +57 -0
  89. package/dist/assets/{InternationalWireSwiftDetailsPage-BeSYu2Dm-y3Tu_Xyi.js → InternationalWireSwiftDetailsPage-KC-9TwlR-DtVQ4upN.js} +17 -17
  90. package/dist/assets/{InternationalWireVerificationPage-Ctcaggen-Cihfrd35.js → InternationalWireVerificationPage-D59omOr2-BqyFDoPr.js} +17 -17
  91. package/dist/assets/InviteFormPage-CU5_JoYd-DtlUlrhp.js +312 -0
  92. package/dist/assets/{InvitePageListView-BMMOpM9O-B8oUxVru.js → InvitePageListView-BO-RmmHm-B9WEWx8n.js} +55 -55
  93. package/dist/assets/InvitePeoplePage-Btu9ayOz-bG-WZTzF.js +12 -0
  94. package/dist/assets/{InvoiceUploadSection-C6Dx8Web-CBeOBAnd.js → InvoiceUploadSection-CibgDVMW-Ct_Yqg-6.js} +9 -9
  95. package/dist/assets/{IssueChargeCardPage-DWRhiOzj-DCnENqBq.js → IssueChargeCardPage-CB5DhzQb-Dowc3uml.js} +75 -75
  96. package/dist/assets/LabeledAddressValue-tO6Kg-ki-DIZXgDEF.js +49 -0
  97. package/dist/assets/LabeledAddressValueField-CkveEJJG-BEvwzrCB.js +45 -0
  98. package/dist/assets/LabeledControlledCheckBoxField-B50HdRDc-BPCXXpG-.js +16 -0
  99. package/dist/assets/{LabeledCreatableSingleSelectField-CTwToXIo-Cle-L6Nt.js → LabeledCreatableSingleSelectField-CIhXQBns-C3KOt5qj.js} +5 -5
  100. package/dist/assets/LabeledDocumentField-B8uyJA2N-B3iZ1bpr.js +41 -0
  101. package/dist/assets/{LabeledDropDownFormattedTextField-mOxkCT-G-CFeF0x5h.js → LabeledDropDownFormattedTextField-pClUx8A9-Dtg8BoKW.js} +4 -4
  102. package/dist/assets/LabeledEmailInputField-D5OBo0RU-Cn7DEiyr.js +182 -0
  103. package/dist/assets/LabeledGroupedCheckBoxField-DLSgfRui-CIvqEp4U.js +82 -0
  104. package/dist/assets/LabeledItemWithButton-CNlRAl-1-D8RdmCNz.js +21 -0
  105. package/dist/assets/LabeledNameField-B73hOD1K-DrzOl55q.js +141 -0
  106. package/dist/assets/LabeledSingleSelectField-nPVDbcr0-DXhzL0iF.js +136 -0
  107. package/dist/assets/LabeledSingleSelectWithoutClearableField-DgT7faZC-Or3zfyeO.js +38 -0
  108. package/dist/assets/{LabeledText-CExeogkg-361xlNV7.js → LabeledText-CW-bei7--hAClqsQN.js} +3 -3
  109. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DrloYoze-DB50WeN3.js → LabeledUserSingleSelectWithSubtitlesField-DZUt2T7b-B09ph3mF.js} +15 -15
  110. package/dist/assets/{LabeledZeniRolesDropDownField-BZKMSlzI-B3-a-Sde.js → LabeledZeniRolesDropDownField-DNZUBYDP-ltAbPko_.js} +11 -11
  111. package/dist/assets/LinkJETransactionPage-ChyKb7xl-LR_CFAXE.js +98 -0
  112. package/dist/assets/Loader-Cqmoylhp-CKPikayq.js +32 -0
  113. package/dist/assets/{LowBalancePopup-DqY0lHvk-Bg-BhJJe.js → LowBalancePopup-DcVkWdb3-vRNfAVIB.js} +6 -6
  114. package/dist/assets/{MagicLinkACHDetailsPage-BctRnNGY-DEYW76Ne.js → MagicLinkACHDetailsPage-B3NEKP0z-DUbPO0xw.js} +1 -1
  115. package/dist/assets/{MagicLinkDomesticWireDetailsPage-UjO7TGNI-jNwBg57q.js → MagicLinkDomesticWireDetailsPage-SvX8hE_J-6LOmcKRH.js} +1 -1
  116. package/dist/assets/{MagicLinkInternationalWireDetailsPage-ex7nPlxc-Cv717ajH.js → MagicLinkInternationalWireDetailsPage-DnrUY7JS-nyREbLmz.js} +1 -1
  117. package/dist/assets/MagicLinkSuccessPage-7bTkYgEa-CPPkAGGs.js +31 -0
  118. package/dist/assets/MagicLinkTitleSection-BlxCsth7-BHITpmKu.js +17 -0
  119. package/dist/assets/{MailingDetailsSection-D7d7fV5j-Cs19YBt0.js → MailingDetailsSection-DFxnpK8F-CiXDBg4h.js} +1 -1
  120. package/dist/assets/ManagementPage-D5egEDwP-uTkBBFJq.js +556 -0
  121. package/dist/assets/MatchingOperatorDropdown-C5zSNKmV-DBpzsPUC.js +130 -0
  122. package/dist/assets/{MeetingCalenderPopup-C-Ca0puH-BuYhTZNY.js → MeetingCalenderPopup-LNaVbSrR-TEQEw5Mb.js} +3 -3
  123. package/dist/assets/{Menu-FcKyIIWS-5DaRICk4.js → Menu-BCNEnlpd-D3With3F.js} +3 -3
  124. package/dist/assets/MonthEndEmailDrawerCustomerRequestPage-CK7yjkYx-Dj2GK4HO.js +39 -0
  125. package/dist/assets/MonthEndReportHistoricDataPage-BuRBd_9k-DDKlEI2q.js +124 -0
  126. package/dist/assets/MonthEndReportPage-DOTCU96W-VybM2w9h.js +28 -0
  127. package/dist/assets/MoreMenuButton-Cj6SIPVt-CYCCFBqM.js +134 -0
  128. package/dist/assets/{MyBankConnectionsSettingsPage-B4NuqJVI-C5C-Tkbz.js → MyBankConnectionsSettingsPage-DCURGC-R-BMFNqNjE.js} +13 -13
  129. package/dist/assets/MyPendingActivationChargeCardListPage-BFe1hoDt-CfBCldAO.js +6 -0
  130. package/dist/assets/MyProfileSettingsPage-B7zND-Ux-BN19QlhA.js +85 -0
  131. package/dist/assets/NavBar-BjyxKUvF-gwYjTp7H.js +189 -0
  132. package/dist/assets/{NavBarWithPicker-Bu03gVw7-BBANsf51.js → NavBarWithPicker-CBOGjIl3-ajX8qLcM.js} +6 -6
  133. package/dist/assets/NavHeader-9VET6uub-DBlTa1KF.js +236 -0
  134. package/dist/assets/{NavigationArrow-D7Eb-FlF-DFK_OGPD.js → NavigationArrow-C6KDDKXh-BuGIAK_3.js} +2 -2
  135. package/dist/assets/{NavigationDots-CFjUchuX-BbVX67wD.js → NavigationDots-CGOsNTLj-ZRX96j5F.js} +1 -1
  136. package/dist/assets/{NewGlobalMerchantPage-rhhm0o-f-DpBge9cX.js → NewGlobalMerchantPage-C478pZIu-cHWkOmAB.js} +11 -11
  137. package/dist/assets/{NoDataChart-D5DKMqIS-BEaaizBY.js → NoDataChart-BSoXaJD0-JxM1S3Cy.js} +8 -8
  138. package/dist/assets/{NoDataTable-CPEKYH-4-ChRW7vff.js → NoDataTable-iH1r029I-DLkBIcoK.js} +1 -1
  139. package/dist/assets/{NotFoundPage-Cfk62GPw-D375IgXA.js → NotFoundPage-BQLKWvT9-wlLCbXww.js} +6 -6
  140. package/dist/assets/{NotificationSettingsPage-BZtsKPBO-AXQQWsyF.js → NotificationSettingsPage-R7veJvze-BqnLD-ld.js} +25 -25
  141. package/dist/assets/NotificationsListConfig-CyQxEQ13-D7e4Z7fR.js +1 -0
  142. package/dist/assets/{NotificationsPage-CgABP7O1-BFGmWSCt.js → NotificationsPage-D_vooxhV-BtfMVNB5.js} +60 -60
  143. package/dist/assets/OnboardingCustomerPage-jmb-3M9K-C-4WzmwX.js +476 -0
  144. package/dist/assets/OnboardingPage-LCaIErMj-Bhag4ahh.js +408 -0
  145. package/dist/assets/{OpExByVendorPage-CMEokGbw-5aOd51kS.js → OpExByVendorPage-DWCdLRPc-peo3zX7H.js} +14 -14
  146. package/dist/assets/{OverlayContainerPage-9K5jaX8Z-DmDVJorJ.js → OverlayContainerPage-1M2CZQoK-DROfCTrK.js} +1 -1
  147. package/dist/assets/PandLWithForecastPage-3h8Q4kZg-CZgSqzQW.js +107 -0
  148. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D6cW0hFS-DO3Osr4s.js → PaymentAccountSetupBillingAddressSection-YLuS3VUf-CaBoPPAw.js} +10 -10
  149. package/dist/assets/{PeoplePage-lD4QPAkF-28PZT7ir.js → PeoplePage-CRZ7ywRU-CZLazd8w.js} +36 -36
  150. package/dist/assets/{PortfolioAllocationFormPage-pynkIQMX-BFz04Oo7.js → PortfolioAllocationFormPage-QP1Aoj30-7H62H89u.js} +13 -13
  151. package/dist/assets/{PortfolioDetails-Cs8o8xzm-bO5l1T7Z.js → PortfolioDetails-DOlYfVij-TNjtwW2_.js} +42 -42
  152. package/dist/assets/PortfolioPage-BfNGByGB-ea6OEgaP.js +237 -0
  153. package/dist/assets/{ProductsCarousel-vPy7zk53-DjiVBmpl.js → ProductsCarousel-CzJnAk3w-MortVhyi.js} +10 -10
  154. package/dist/assets/{PromoBaseCards-CWGpTa57-Bj-bRm1l.js → PromoBaseCards-CLKhsYfl-BEkL1oHo.js} +4 -4
  155. package/dist/assets/{QBOConnectionDialog-66XnPKaW-8EXYy72U.js → QBOConnectionDialog-CiAUTeD2-D061mOJX.js} +10 -10
  156. package/dist/assets/QBOSetupSection-D-Q_DVva-q5JlqA-2.js +79 -0
  157. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BSI9Lg6a-wX6i8H_B.js → ReimbursementApprovalRuleDetailPage-DCzX_1-a-BNW7pXC_.js} +1 -1
  158. package/dist/assets/{ReimbursementApprovalRulesPage-XxC6pXqt-Bzz5uq1t.js → ReimbursementApprovalRulesPage-DfHVzdAB-hV-2mfna.js} +9 -9
  159. package/dist/assets/{ReimbursementDetailPage-BwtY21D5-BOkbylET.js → ReimbursementDetailPage-Di8XpCvg-B7b0ZH64.js} +17 -17
  160. package/dist/assets/{ReimbursementPromoPage-CmO1DP-8-DpBTbSy4.js → ReimbursementPromoPage-CJSuqONm-DlocTKyV.js} +24 -24
  161. package/dist/assets/ReimbursementSetUpPage-5OtsfDPV-DQz8dNtG.js +140 -0
  162. package/dist/assets/ReimbursementsBulkReviewDrawerPage-BX722SXa-YTQZVgWe.js +1 -0
  163. package/dist/assets/{ReloadCard-CJfjUA_Q-iqgRrGxj.js → ReloadCard-BuBuLupE-Cty15m_t.js} +5 -5
  164. package/dist/assets/ReloadContainer-BRXUxBxu-BAp5l7-f.js +13 -0
  165. package/dist/assets/ReloadContainer-fx3kImdJ-D2lKf-Yd.js +17 -0
  166. package/dist/assets/ReportTableViewSelector-W7zYmKIW-BpJdvlc6.js +150 -0
  167. package/dist/assets/{ReportsPage-BJqldqjR-p6MwUSO1.js → ReportsPage-R29_iuow-B4_GPbvP.js} +6 -6
  168. package/dist/assets/{RevenueChart-BUnSkoUN-CWdeY5GO.js → RevenueChart-D3r_Mgmm-XyYx-Hfz.js} +1 -1
  169. package/dist/assets/{ReviewDetailsPage-8I09Puca-B9BkrydV.js → ReviewDetailsPage-Cimq9su3-CRN9WHDV.js} +20 -20
  170. package/dist/assets/ReviewOverlay-Bz1kr6zu-Dw4JE5ud.js +152 -0
  171. package/dist/assets/ReviewPage-Cel3qzEQ-DiaZxW5f.js +306 -0
  172. package/dist/assets/RoleWithToolTip-CUogd8qi-BfjjZiS9.js +22 -0
  173. package/dist/assets/{ScheduleDetailsFixedAssetsPage-1Y1ZylI7-BDsLy1RB.js → ScheduleDetailsFixedAssetsPage-Cbe0zp9o-DxmW_LFp.js} +13 -13
  174. package/dist/assets/{ScheduleDetailsPage-BcRuA_7y-mmMtrxsU.js → ScheduleDetailsPage-DxmJdx3I-Bant9wup.js} +3 -3
  175. package/dist/assets/{ScheduleSequenceTable-DC75D2Dx-BSdJrIG_.js → ScheduleSequenceTable-srpDx2n6-l1UT781V.js} +28 -28
  176. package/dist/assets/{ScreenRoutes-DRpA2l4T.js → ScreenRoutes-DPjLo75W.js} +1 -1
  177. package/dist/assets/SetUpAccountSection-2UGQI7fx-D_tNKXyG.js +378 -0
  178. package/dist/assets/{SetUpDefaultSection-a6NTauck-C-i38hil.js → SetUpDefaultSection-BWt_kYKx-Dc8telSj.js} +15 -15
  179. package/dist/assets/{SignIn-_ZPdER_K-0cn49L67.js → SignIn-BF4ojxcy-ignSyaGW.js} +21 -21
  180. package/dist/assets/SignInScreen-DjQXT0cG.js +1 -0
  181. package/dist/assets/SpendManagementListViewPage-DbfQ_jzA-sW1BTRjR.js +123 -0
  182. package/dist/assets/{SpendManagementPerTabPage-CbjC0IBF-BthyUtDp.js → SpendManagementPerTabPage-CZaPjNjx-Bhxn4ZLQ.js} +64 -64
  183. package/dist/assets/{SpendManagementSection-BKTkeRK6-DIa3Rn7O.js → SpendManagementSection-atmLAM4T-DeXVF-9S.js} +22 -22
  184. package/dist/assets/{SpendMgmtSetupAccountSection-D8Yv-Jng-D3WoppPf.js → SpendMgmtSetupAccountSection-h6duObCp-PJLwXWd-.js} +21 -21
  185. package/dist/assets/{StatementItem-DSJvKpAv-DV7N47r3.js → StatementItem-DgZtQdC5-CijP321B.js} +4 -4
  186. package/dist/assets/StatementsPage-Az4ZzxA6-CY7Q-Hv-.js +58 -0
  187. package/dist/assets/{StatusSwitcher-CTDNbKqC-Bv4PZo8C.js → StatusSwitcher-BTTEP3yZ-DwSqL8zG.js} +2 -2
  188. package/dist/assets/StatusTag-MQXQGj2--SPp-Hljk.js +38 -0
  189. package/dist/assets/{SubTabSwitcher-D33kV-tw-BTeEHhHa.js → SubTabSwitcher-BedfItte-C-XhL99Y.js} +6 -6
  190. package/dist/assets/SubscriptionAddPlanPage-Bn4CUx_v-BcoEoxy8.js +59 -0
  191. package/dist/assets/SubscriptionDetailPage-BZDJEjR1-DavSO9K8.js +216 -0
  192. package/dist/assets/SubscriptionPage-Tpj1RZco-CfI0x1AO.js +282 -0
  193. package/dist/assets/SubscriptionSnackBar-CwdSE1Xz-BYx3vQ0D.js +57 -0
  194. package/dist/assets/SubscriptionSummaryPage-Dep_cm58-D3JscAEe.js +176 -0
  195. package/dist/assets/SubscriptionUpdatePlanPage-5_wWKxme-CSTH4683.js +408 -0
  196. package/dist/assets/SuccessAnimation-BtFsm6Oj-BU_bae75.js +13 -0
  197. package/dist/assets/{SummaryCard-tsJZnge3-DE5AVV4x.js → SummaryCard--FoJZECU-DjUF26i-.js} +1 -1
  198. package/dist/assets/TaskDetailPage-aleDjLBo-DJGRUSEM.js +775 -0
  199. package/dist/assets/TaskListRow-xLyzXOYn-CLZGelcY.js +403 -0
  200. package/dist/assets/{TaskManagementPage-BW9M6AQs-DyLPADr6.js → TaskManagementPage-DchOWpNF-n_asmH-l.js} +41 -41
  201. package/dist/assets/TaskManagerPage-Dye8P0ua-jLCJwLcT.js +176 -0
  202. package/dist/assets/TextHighlightSection-Y0L_w9RR-D8_NKTqM.js +584 -0
  203. package/dist/assets/{TimeRangeSwitcher-CkXysnFa-BxX2v8T-.js → TimeRangeSwitcher-RLCCDvSp-DYQOEgth.js} +2 -2
  204. package/dist/assets/{TimeframeSwitcher-B-S09J4A-MdxeQVLH.js → TimeframeSwitcher-DABwUJSm-DPkuAUy9.js} +4 -4
  205. package/dist/assets/{TimeframeSwitcherWithToggle-B9Lo2-pD-oHueEdHK.js → TimeframeSwitcherWithToggle-DMblyoo8-ize9yIra.js} +2 -2
  206. package/dist/assets/{TopExCard-DwP8Cppq-BA7R-fYL.js → TopExCard-BwOpZFuj-CBPfgwzP.js} +7 -7
  207. package/dist/assets/{TopExDetailPage-CIMSDSxd-DWJg2Rhe.js → TopExDetailPage-BLaZA-dy-BH7Jcbvo.js} +19 -19
  208. package/dist/assets/{TransactionDetailPage-rwzAZT-Q-kE9Vj_Gw.js → TransactionDetailPage-BSDcUBWF-RsUJuQC6.js} +54 -54
  209. package/dist/assets/TransactionList-CnOj_LA1-DJxHv2ky.js +147 -0
  210. package/dist/assets/{TransactionListBig-BidYBgz3-mdU3i6TS.js → TransactionListBig-vNVdUmc6-C0TF6R2i.js} +26 -26
  211. package/dist/assets/TransactionListPage-CrUtG598-DR2tdFwA.js +35 -0
  212. package/dist/assets/TransactionVendorDetailPage-DjuFdK9S-Bn1DMv6P.js +80 -0
  213. package/dist/assets/{TransferDrawerPage-CztFCYxm-CBCCBWte.js → TransferDrawerPage-BMfeqbNy-BPjvRE9M.js} +46 -46
  214. package/dist/assets/{TreasuryOverviewPage-E5E5Gr3g-D2CrCBTV.js → TreasuryOverviewPage-B0vqbfmt-Cncu2g9Z.js} +47 -47
  215. package/dist/assets/{TreasuryPromoPage-D2F4Y8gV-CYlJ3kU9.js → TreasuryPromoPage-CQDA9os9-W40fA_vr.js} +28 -28
  216. package/dist/assets/{TreasurySetupPage-Dxa4l6Ec-D8eLBdo9.js → TreasurySetupPage-ChKM9npc-DNsYbGBz.js} +9 -9
  217. package/dist/assets/TreasuryStatementsPage-C0oRa1nh-BiT4V4PF.js +58 -0
  218. package/dist/assets/TreasuryTaxLetterPage-BuGFH3YF-BkeOYDmd.js +58 -0
  219. package/dist/assets/{TreasuryTransferOrReviewPage-BfReLw_V-7MLhWFB6.js → TreasuryTransferOrReviewPage-wt-8Okdj-CDylzOrV.js} +96 -96
  220. package/dist/assets/TrendChart-a95Aii8O-Crc1NrOm.js +16 -0
  221. package/dist/assets/{TrendWithTransactions-BslpnJTN-CCs7L3oP.js → TrendWithTransactions-CaExMJVA-C_0n3oh-.js} +13 -13
  222. package/dist/assets/{UncategorizedAccountsMappingPage-Brm7fcuy-1WMghiUv.js → UncategorizedAccountsMappingPage-CEHiflWp-D5pq-zY_.js} +5 -5
  223. package/dist/assets/{UnitIntegrationPage-DhiEmm9g-CyoCc7wN.js → UnitIntegrationPage-CNZbRdtN-B7b4N3wp.js} +4 -4
  224. package/dist/assets/{UploadAdditionalDocumentOverlay-Dq1ToFCn-BQjCguyB.js → UploadAdditionalDocumentOverlay-Bxc2MMx0-Cpl1vzGP.js} +2 -2
  225. package/dist/assets/UserMultiSelectField-UsIy6n-8-DdaF7B7O.js +154 -0
  226. package/dist/assets/UserWithTimestamp-i09mOCAu-Cw5lsbIN.js +38 -0
  227. package/dist/assets/{Vendor2FAPopup-Brg14-Cw-BfoPqsuP.js → Vendor2FAPopup-CqQOI5F6-CXSUTyq5.js} +1 -1
  228. package/dist/assets/{VendorACHDetailsPage-mk0vAyqE-BSy-kLup.js → VendorACHDetailsPage-BwYEhxJe-BB1a4fFU.js} +1 -1
  229. package/dist/assets/{VendorDetailPage-CRhCXEsq-qmv0EtV4.js → VendorDetailPage-C5zTkWhA-Uj3MwLUr.js} +23 -23
  230. package/dist/assets/{VendorDomesticWireDetailsPage-DhWkYV9N-CfYo0l4g.js → VendorDomesticWireDetailsPage-DrwX_ukC-DBWePN-A.js} +1 -1
  231. package/dist/assets/VendorFiling1099EditablePage-C3wjgkez-Dr8QyAeR.js +175 -0
  232. package/dist/assets/{VendorFirstReviewPage-XHOyQIOp-D3qnz2ww.js → VendorFirstReviewPage-BmRvA38Y-B_gKBGgZ.js} +45 -45
  233. package/dist/assets/{VendorInternationalWireDetailsPage-B13qu8u3-XGuYC0bw.js → VendorInternationalWireDetailsPage-DtG2HQ0g-WjpK5qgH.js} +15 -15
  234. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dtgusj3r-lncQfKmQ.js → VendorInternationalWireSwiftDetailsPage-DLSMDEiO-DSuW-yyD.js} +1 -1
  235. package/dist/assets/{VendorsAccountsSection-B-qorJ8x-D7fZrn7B.js → VendorsAccountsSection-5QJEJeCr-ovimcD6K.js} +6 -6
  236. package/dist/assets/{VerifyDevice-CBO1Uzra-0Sdb0n5n.js → VerifyDevice-DBnFzHim-C-LQbPfS.js} +13 -13
  237. package/dist/assets/{WarningsDrawerPage-B4Nic3gX-jDmAJMW0.js → WarningsDrawerPage-rcWR2KXe-BgEVT8fd.js} +8 -8
  238. package/dist/assets/{ZeniAccountDetailPage-IDGYSZVs-DmZJYRcm.js → ZeniAccountDetailPage-i8C1YB1W-CGdZ9Fyc.js} +22 -22
  239. package/dist/assets/{ZeniAccountListViewPage-IlPP8Yit-dH-QXkwU.js → ZeniAccountListViewPage-DyHxeqvW-CBT4R7Fd.js} +22 -22
  240. package/dist/assets/ZeniAccountNavBarPieces-CsSdfTKg-5k_P9-6W.js +14 -0
  241. package/dist/assets/{ZeniAccountPromoPage-BhFf42Fz-TRhbuR-7.js → ZeniAccountPromoPage-C5icpLpX-DtIf5jxs.js} +21 -21
  242. package/dist/assets/ZeniAccountSetupPage-BXHIQxgf-DcysatW3.js +36 -0
  243. package/dist/assets/ZeniAvatar-Cendj_Bv-Dp3oXY0H.js +13 -0
  244. package/dist/assets/{ZeniCopyright-C4Ze2E8o-C33E_V5I.js → ZeniCopyright-BX1-vpnA-B9MOS9At.js} +1 -1
  245. package/dist/assets/ZeniDatePicker-El_phkQ0-z80YcUbm.js +187 -0
  246. package/dist/assets/ZeniDatePickerField-3DaqcxMB-QK1YG1pI.js +1 -0
  247. package/dist/assets/ZeniTransferAmountSlider-CxxqQPB_-BqeHyBds.js +63 -0
  248. package/dist/assets/add-C0nqJFLa-C2eApjPK.js +1 -0
  249. package/dist/assets/{add-to-wallet-DgdBD8_G-DcfyMc0W.js → add-to-wallet-DgdBD8_G-XP_wmSR7.js} +1 -1
  250. package/dist/assets/{analyticsHelper-CsfdC0kT-BpVlkMRS.js → analyticsHelper-B3JHS_Qr-D08xKZsr.js} +1 -1
  251. package/dist/assets/{analyticsHelper-BuNdZ9jh.js → analyticsHelper-BFpl-Msc.js} +1 -1
  252. package/dist/assets/{arrow-south-east-round-PEovUgvH-DBLhwZXJ.js → arrow-south-east-round-PEovUgvH-DnzbA_s-.js} +1 -1
  253. package/dist/assets/{auto-transfer-rule-mbafm5D3-D6YoufI_.js → auto-transfer-rule-mbafm5D3-BA0iOPjL.js} +1 -1
  254. package/dist/assets/avatar-Dz7aEm3d-D64JGSQG.js +1 -0
  255. package/dist/assets/calculateSize-BUfcd-gF-DqmEdKsX.js +1 -0
  256. package/dist/assets/{chartTypes-CPj7oOMJ-Cv2ANOse.js → chartTypes-CICM6xJ3-DAE7LSQz.js} +1 -1
  257. package/dist/assets/clock-CJkylEKt-CJ3FIZ_o.js +1 -0
  258. package/dist/assets/cockpitConstants-CT7OARAT-C430UcjZ.js +1 -0
  259. package/dist/assets/cockpitHelpers-CSVzBgeI-BARdDEyf.js +1 -0
  260. package/dist/assets/cockpitHelpers-Y5_CbmvR-BhJ5C_6h.js +1 -0
  261. package/dist/assets/common-CU4uS1La-DdHnWUCD.js +1 -0
  262. package/dist/assets/{commonDimensions-CKs-7p-V-CmlPem1Z.js → commonDimensions-EDu7gcyc-DiuxcTjp.js} +1 -1
  263. package/dist/assets/{crypto-BURQLTgV.js → crypto-DPjkCRYF.js} +1 -1
  264. package/dist/assets/{detailCommon-BJ8iCchG-CdCS4VPM.js → detailCommon-DAG_rX2o-B0QDOSIy.js} +9 -9
  265. package/dist/assets/dollar-round-D18u7nlm-CXc5TAek.js +1 -0
  266. package/dist/assets/double-tick-D6s_OvsM-DFvZDijg.js +1 -0
  267. package/dist/assets/{downloadPdf-hPck-AA1-CD5ZG46J.js → downloadPdf-DCmFpTS--B48gcxsA.js} +1 -1
  268. package/dist/assets/filter-cZIFUNvj-B9dfJXS9.js +1 -0
  269. package/dist/assets/getCockpitColor-YYDF6h1T-D0_aeMEA.js +1 -0
  270. package/dist/assets/{gift-box-Cmt9OgIZ-DKWN92w0.js → gift-box-Cmt9OgIZ-Bnh-gm_T.js} +1 -1
  271. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BalbEtqQ.js → graphic-no-data-l-DU4J8fDt-DTLZpyxa.js} +1 -1
  272. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DR-LfIWY.js → graphic-no-data-net-burn-l-CzmycA0m-W-GGrHSF.js} +1 -1
  273. package/dist/assets/groupHelper-CTA_J_U7-CPJTcSSg.js +1 -0
  274. package/dist/assets/hyperlink-DQyCeXx2-ChMvASRu.js +1 -0
  275. package/dist/assets/{index-CyJdCOlu.js → index-D9zAXs3-.js} +5886 -14388
  276. package/dist/assets/index-DVThwdcI.css +1 -0
  277. package/dist/assets/intuit-quick-books-logo-qyL3_3cm-Cj0LgD2I.js +1 -0
  278. package/dist/assets/{liveblocks-DZpRS25q.js → liveblocks-C2xecagE.js} +2 -2
  279. package/dist/assets/loader-BwDk7JSW-DoE-nOgh.js +1 -0
  280. package/dist/assets/{lodash-Dq_mKlGB.js → lodash-D52QloPU.js} +1 -1
  281. package/dist/assets/{mapLoadingInProgressToTreeNode-R394S2in-pIplKgrn.js → mapLoadingInProgressToTreeNode-CtvSoL64-CS0Ie6NV.js} +1 -1
  282. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-B20NECa8-DENXzcIZ.js → mapSectionWithAcOnlyToTreeNode-BujdmE12-MD1XTXUW.js} +1 -1
  283. package/dist/assets/{mapSpacerToTreeNode-CLYF1Foh-BkgQTnh2.js → mapSpacerToTreeNode-CY5XRFK--DC8NIrxN.js} +1 -1
  284. package/dist/assets/{mapTimeframeBalancesToTreeNode-fLAswzPX-uvgKr4WV.js → mapTimeframeBalancesToTreeNode-DLd8jhti-Bxl7AnhE.js} +1 -1
  285. package/dist/assets/{mapTimeframeBalancesToTreeNode-B-iRb2_j-BOYVHL5U.js → mapTimeframeBalancesToTreeNode-DVzQl7Bb-DDS_OBZQ.js} +1 -1
  286. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CTmIxkdn-rpNZ4fKa.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CnZa-P_--DVtFUdDi.js} +1 -1
  287. package/dist/assets/money-2cg1MuG4-BaDu1jFd.js +1 -0
  288. package/dist/assets/{mui-Bi8r7UDG.js → mui-Ty75qFQF.js} +1 -1
  289. package/dist/assets/note-DCtChU1T-DArfpxk4.js +1 -0
  290. package/dist/assets/{page-detail-CWX5S47F-B6DjZ3Gi.js → page-detail-CWX5S47F-lMo0MYzU.js} +1 -1
  291. package/dist/assets/page-summary-D7_VQHwN-DEY33DNc.js +1 -0
  292. package/dist/assets/{play-icon-BZYr9mDs-DofqQFSd.js → play-icon-KtJH-UgF-Bm3lFkFZ.js} +3 -3
  293. package/dist/assets/{radio-default-CiSgisfh-ub7QGXr8.js → radio-default-CiSgisfh-Cuu8ymvq.js} +1 -1
  294. package/dist/assets/{redux-CC-tnuv1.js → redux-CEhZD0hA.js} +1 -1
  295. package/dist/assets/{routing-CxYXTKiv.js → routing-lj7oVq6C.js} +1 -1
  296. package/dist/assets/sectionColor-euXcOIkp-Cmmp8esL.js +1 -0
  297. package/dist/assets/{sentry-HDxG13yk.js → sentry-BE5FTzpq.js} +1 -1
  298. package/dist/assets/{shield-DOlUxcFf-BCUrujod.js → shield-DOlUxcFf-CDkNAu2o.js} +1 -1
  299. package/dist/assets/tick-round-CPC394H5-C8roQJBa.js +1 -0
  300. package/dist/assets/{toCOABalancesWithID-Dsa-tGTi-Bmzakp6x.js → toCOABalancesWithID-B0F8-Lgv-mwB6oBaM.js} +1 -1
  301. package/dist/assets/{toChartData-Cp_80Bi6-Dfd3dSx4.js → toChartData-D_8GUwpP-CFofR1sw.js} +1 -1
  302. package/dist/assets/{transaction-placeholder-CpOwZAMG-CJJQqrcA.js → transaction-placeholder-CpOwZAMG-CGEA36Na.js} +1 -1
  303. package/dist/assets/{treasuryColorHelper-CnKoJBRW-CDwAxole.js → treasuryColorHelper-C2d7wCjK-BWDQfCvz.js} +1 -1
  304. package/dist/assets/undo-b_3XZ5CX-Xpx_MAU7.js +1 -0
  305. package/dist/assets/{uploadAttachment-Cx3LGzsg-DDC6BFL5.js → uploadAttachment-CxwBrcm3-DDVTRYQ0.js} +29 -29
  306. package/dist/assets/{uploadReceipts-CwjPukNh-BNp5wSMb.js → uploadReceipts-DIYsXeyf-_3VvjCR-.js} +1 -1
  307. package/dist/assets/{useLongPress-GCK2COYQ-gxLtL5O4.js → useLongPress-GCK2COYQ-B0RUPzZV.js} +1 -1
  308. package/dist/assets/{usp-line-BBd1wKwW-CgKq8-Xn.js → usp-line-BBd1wKwW-ZlUrfnG1.js} +1 -1
  309. package/dist/assets/{vendor-CnQcJ2Lu.js → vendor-Bs1fkIUX.js} +7 -7
  310. package/dist/assets/{verification-CW6uEyev-DdkqedMU.js → verification-CW6uEyev-CQXAdM_w.js} +1 -1
  311. package/dist/assets/zeniDatePicker.helpers-Bv0wGqkO-0jS7nOtw.js +1 -0
  312. package/dist/index.html +1 -1
  313. package/package.json +2 -2
  314. package/dist/assets/ACHDetailsPage-BahbefPk-CJUwOp-5.js +0 -21
  315. package/dist/assets/AccountInfoPage-TD30edES-B2dxCd6A.js +0 -18
  316. package/dist/assets/AppBasePage-BK_b0fFf-DXr3P5KV.js +0 -70
  317. package/dist/assets/ApprovalRulesSettingsPage-C6jxuvhu-S4p-j-Jr.js +0 -47
  318. package/dist/assets/ArAgingChart-DVMlvNTF-DuCGC2Pt.js +0 -24
  319. package/dist/assets/ArAgingDetailPage-CbmOL5tx-Bg8YQJ9n.js +0 -46
  320. package/dist/assets/BillPaySetUpPage-X8X9gq1a-DvsjYi7w.js +0 -42
  321. package/dist/assets/BillingSettingsPage-CyyR8GW1-3x2HPXEj.js +0 -44
  322. package/dist/assets/BillsBulkReviewDrawerPage-D_xxZjcU-M0WKN8pE.js +0 -1
  323. package/dist/assets/BusinessVerificationPage-Tr-N_rHo-BFVLh_Kq.js +0 -140
  324. package/dist/assets/ChargeCardPromoPage-LVuaSVsQ-xG3b-_Ag.js +0 -222
  325. package/dist/assets/ChargeCardSetupPage-CWoHclOr-CLs_UkHN.js +0 -36
  326. package/dist/assets/ChargeCardUtils-6kq_92Ri-BhC-mlU5.js +0 -1
  327. package/dist/assets/CheckDepositDrawerPage-w7IziUHI-DeTxsGVS.js +0 -206
  328. package/dist/assets/CompleteProfile-1xeOWkGT-CSILrADl.js +0 -52
  329. package/dist/assets/ConfettiBurst-b1-NNKbl-Dk_0sV_i.js +0 -1
  330. package/dist/assets/CustomerOnboardingContainerPage-BXSxGbv8-CIUqDhfe.js +0 -1
  331. package/dist/assets/CustomerOnboardingNoStepsPage-BaBxG1Yn-DqlQrhK_.js +0 -66
  332. package/dist/assets/DepositAccTransactionListPage-CrQrOyrm-LYbEgddo.js +0 -66
  333. package/dist/assets/EditPeoplePage-C7uOWg9F-BdboEEOc.js +0 -55
  334. package/dist/assets/EntityDetailPage-BsQ9bSpC-Do5rjOCb.js +0 -18
  335. package/dist/assets/ExpenseAutomationOverviewPage-CKBACgsI-pcAU6Tzl.js +0 -222
  336. package/dist/assets/InsightsSection-DtBq9eII-CGUvYjY9.js +0 -27
  337. package/dist/assets/IntegrationsSettingsPage-TjdF0ahh-BOCCfb_h.js +0 -57
  338. package/dist/assets/InviteFormPage-DEDBu0OO-Dsi8hwhI.js +0 -312
  339. package/dist/assets/InvitePeoplePage-BzPRCgA6-C4LT3zxO.js +0 -12
  340. package/dist/assets/LabeledAddressValue-CSb0EGEx-owkgfzr7.js +0 -49
  341. package/dist/assets/LabeledAddressValueField-DJHY_wPN-ChfMLz4N.js +0 -45
  342. package/dist/assets/LabeledControlledCheckBoxField-rRmtlmRJ-ZOoy4ee7.js +0 -16
  343. package/dist/assets/LabeledDocumentField-sIz4Fhet-CBqe5ksA.js +0 -41
  344. package/dist/assets/LinkJETransactionPage-D9Kae7Qd-CXNveZ-N.js +0 -98
  345. package/dist/assets/MagicLinkSuccessPage-D3ORpbmL-DiCQcMcn.js +0 -31
  346. package/dist/assets/MagicLinkTitleSection-Di20DmsJ-Dweea4Ge.js +0 -17
  347. package/dist/assets/MyPendingActivationChargeCardListPage-C4eMpxAr-CvtH5135.js +0 -6
  348. package/dist/assets/MyProfileSettingsPage-D0ALOEls-D9BtQ_Rr.js +0 -85
  349. package/dist/assets/NotificationsListConfig-DiJLl-YW-Be2lRZvs.js +0 -1
  350. package/dist/assets/PandLWithForecastPage-IizA8WJN-C3H0uMBf.js +0 -107
  351. package/dist/assets/QBOSetupSection-T0b8qjoq-C3lySFCv.js +0 -79
  352. package/dist/assets/ReimbursementSetUpPage-CrCsRxAy-Bpo-Mk0A.js +0 -140
  353. package/dist/assets/ReimbursementsBulkReviewDrawerPage-Ct-lvcR1-DC9qwxGH.js +0 -1
  354. package/dist/assets/ReportTableViewSelector-CkuvvlJm-btt9uZlN.js +0 -150
  355. package/dist/assets/ReviewOverlay-Czmj4HG0-BLH60HLe.js +0 -152
  356. package/dist/assets/RoleWithToolTip-CNQZHC7h-LUv0Jw-2.js +0 -22
  357. package/dist/assets/SetUpAccountSection-CaLxl4l3-BRnWdFeV.js +0 -378
  358. package/dist/assets/SignInScreen-BGUfMUqo.js +0 -1
  359. package/dist/assets/SpendManagementListViewPage-Cvev9izU-BZzSvbIK.js +0 -123
  360. package/dist/assets/StatementsPage-Bhk6u845-C7EltSZm.js +0 -58
  361. package/dist/assets/TransactionList-CFYj7bYL-GEiFuum0.js +0 -147
  362. package/dist/assets/TransactionListPage-CImIYabg-BI9Hn9ZN.js +0 -35
  363. package/dist/assets/TransactionVendorDetailPage-LzIzQGZ1-NlBjctZ1.js +0 -80
  364. package/dist/assets/TreasuryStatementsPage-DEhWu0S0-CbB6wAo4.js +0 -58
  365. package/dist/assets/TreasuryTaxLetterPage-CEMU2CI9-BGxkDpux.js +0 -58
  366. package/dist/assets/TrendChart-D1gtjDe3-DWpkP03z.js +0 -16
  367. package/dist/assets/VendorFiling1099EditablePage-Bp5FgSiJ-DJr2e5wU.js +0 -175
  368. package/dist/assets/ZeniAccountNavBarPieces-2j-ZQRIF-DhfLCa9V.js +0 -14
  369. package/dist/assets/ZeniAccountSetupPage-DcYDO3x8-DOdNLBlO.js +0 -36
  370. package/dist/assets/ZeniTransferAmountSlider-DFB0ntiR-IB41czFT.js +0 -63
  371. package/dist/assets/index-BAKoUD4u.css +0 -1
@@ -1,9 +1,9 @@
1
- import{e as U,u as G,M as y,Y as he,l as _,j as r,_ as k,bf as fe,aY as me,aW as ge,C as v,o as C,a6 as _e,m as be,bg as Se,q as w,D as B,E as Q,bh as we,a8 as Ce,aD as ye,a$ as xe}from"./index-CyJdCOlu.js";import{b as P,f as X,n as b}from"./vendor-CnQcJ2Lu.js";import{m as z,l as Z}from"./analyticsHelper-CsfdC0kT-BpVlkMRS.js";import{h as Oe}from"./ReportTableViewSelector-CkuvvlJm-btt9uZlN.js";import{a as K,p as Re}from"./TimeRangeSwitcher-CkXysnFa-BxX2v8T-.js";import{M as Ae}from"./TimeframeSwitcherWithToggle-B9Lo2-pD-oHueEdHK.js";import{DownloadOverlayButton as Be}from"./DownloadOverlay-B9O7jf-4-BeIpOSC8.js";import{R as ve,W as F,x as ee}from"./CollapsableReportTable-NSlKGCNZ-9GlkRzVX.js";import{T as te,I as se,L as j,D as Le,g as ne}from"./mapSectionWithAcOnlyToTreeNode-B20NECa8-DENXzcIZ.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-fLAswzPX-uvgKr4WV.js";import{d as Te,l as Pe}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-CTmIxkdn-rpNZ4fKa.js";import{d as ke}from"./mapLoadingInProgressToTreeNode-R394S2in-pIplKgrn.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";import"./TimeframeSwitcher-B-S09J4A-MdxeQVLH.js";import"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./AccountRow-ZcS_RTJN-DNHX6IR1.js";function oe({section:e,sectionId:t,numOfBalances:o,config:a}){return ee("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(n=>Ie({accountGroup:n,sectionType:t,numOfBalances:o,title:n.accountGroupName,isLastNode:!0,config:a}))}function Ie({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:d}){const p=F("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ee("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,h)=>ne({account:g,sectionType:t,numOfBalances:o,title:g.account.accountName,config:d,isLastNode:h===i.length-1,parentNodeIDs:[p],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:i.length>1,hasChildren:g.children.length>0,isLastNode:h===i.length-1}]}}));return l.children.push(...u),l}function ae({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((n,d)=>ne({account:n,sectionType:t,numOfBalances:o,title:n.account.accountName,config:a,isLastNode:d===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:n.children.length>0,isLastNode:d===e.accounts.length-1}]}}))}function ie({balances:e,config:t,nodeId:o}){return{children:[],id:o??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function Ne(e,t,o,a=!0){Object.assign(e.config,t);const n=ce(o),d=Y({balances:n,config:t});return{config:t,headerNodes:a?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const ce=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let o=[];return Object.keys(t.sections).forEach(a=>{t.sections[a].balances.length>0&&(o=[...t.sections[a].balances,...t.sections[a].additionalBalances])}),o}default:return[]}};function Me(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.balanceSheet,d=ce(e),p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=ie({balances:d,config:t}),i=[];return i.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(_.isBalanceSheetReportViewSectionID(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const c=oe({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else i.push(te({section:e.sections[s],sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}));else if(s==="equity"){const c=ae({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else{const c=e.sections[s];i.push(se({sectionWithAcOnly:c,sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}))}else _.isBalanceSheetReportViewCalculatedSectionID(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:i}}function Fe({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:n}){return{children:[],id:F("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function $e(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.cashFlow,d=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=ie({balances:d,config:t}),i=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(_.isCashFlowReportViewSectionID(s)===!0)if(e.sections[s].accountGroups.length>0){const c=oe({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else{const c=ae({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else _.isCashFlowReportViewCalculatedSectionType1ID(s)===!0?i.push(Fe({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):_.isCashFlowReportViewCalculatedSectionID(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:[l,...i]}}function je(e,t,o=!0,a=!1){const n=y.getLocalizedStrings().reports,d=y.getLocalizedStrings().common;let p=[];const l=[];let i=[];if(a===!0){const u=Te({title:d.loading,balances:[],config:t});u.reportElementData.element.numOfBalances=6,o&&(i=[u]),l.push(u),[...Array(8)].forEach((g,h)=>{const s=h%4;let c=Pe[s];const x=ke({title:`${h}+${c}`,balances:p,config:t});x.reportElementData.element.numOfBalances=6,l.push(x)})}else{const u=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],g=Y({balances:u,config:t}),h=t.mode!=null&&t.mode==="this_period_vs_period_before"&&u.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;l.push(g),o&&(i=[g]),e.idsInOrder.forEach(s=>{if(_.isPandLReportViewSectionID(s)===!0){const c=e.sections[s];c!=null&&l.push(Le({section:c,sectionType:s,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}else if(_.isPandLReportViewCalculatedSectionID(s)===!0){const c=e.calculatedSections[s];c!=null&&l.push(j({calculatedSection:c,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:i,contentNodes:l}}function Ee(e,t,o=!0){const a=y.getLocalizedStrings().reports,n=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],d=t.mode!=null&&t.mode==="this_period_vs_period_before"&&n.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=Y({balances:n,config:t}),l=[];return l.push(p),e.idsInOrder.forEach(i=>{if(_.isPandLReportViewSectionID(i)===!0&&(e.sections[i].accountGroups.length>0?l.push(te({section:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t})):l.push(se({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))),_.isPandLReportViewCalculatedSectionID(i)===!0){const u=e.calculatedSections[i];u!=null&&l.push(j({calculatedSection:u,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}const q={contentPaddingLeft:new v(w[0],w[0],w[0]),contentPaddingRight:new v(w[3],w[3],w[8])},Ve=b.div`
1
+ import{K as U,u as G,F as y,z as he,l as _,j as r,Z as k,bf as fe,aY as me,aW as ge,x as v,o as C,a6 as _e,i as be,bg as Se,n as w,H as B,I as K,bh as we,a8 as Ce,aD as ye,a$ as xe}from"./index-D9zAXs3-.js";import{b as P,w as Q,n as b}from"./vendor-Bs1fkIUX.js";import{m as z,l as Z}from"./analyticsHelper-B3JHS_Qr-D08xKZsr.js";import{u as Oe}from"./ReportTableViewSelector-W7zYmKIW-BpJdvlc6.js";import{a as X,p as Re}from"./TimeRangeSwitcher-RLCCDvSp-DYQOEgth.js";import{M as Ae}from"./TimeframeSwitcherWithToggle-DMblyoo8-ize9yIra.js";import{DownloadOverlayButton as Be}from"./DownloadOverlay-CVCKyDWO-CyzPCm3f.js";import{T as ve,I as F,x as ee}from"./CollapsableReportTable-CDe76ha7-3Q7qsS_e.js";import{T as te,I as se,L as j,D as Te,g as ne}from"./mapSectionWithAcOnlyToTreeNode-BujdmE12-MD1XTXUW.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-DLd8jhti-Bxl7AnhE.js";import{d as Le,l as Pe}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-CnZa-P_--DVtFUdDi.js";import{d as ke}from"./mapLoadingInProgressToTreeNode-CtvSoL64-CS0Ie6NV.js";import"./mui-Ty75qFQF.js";import"./analytics-CBL_L82S.js";import"./routing-lj7oVq6C.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-C2xecagE.js";import"./crypto-DPjkCRYF.js";import"./filter-cZIFUNvj-B9dfJXS9.js";import"./TimeframeSwitcher-DABwUJSm-DPkuAUy9.js";import"./page-detail-CWX5S47F-lMo0MYzU.js";import"./page-summary-D7_VQHwN-DEY33DNc.js";import"./AccountRow-COaolUm5-Bsrm5YYV.js";import"./clock-CJkylEKt-CJ3FIZ_o.js";import"./Loader-Cqmoylhp-CKPikayq.js";import"./sectionColor-euXcOIkp-Cmmp8esL.js";function oe({section:e,sectionId:t,numOfBalances:o,config:a}){return ee("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(n=>Ie({accountGroup:n,sectionType:t,numOfBalances:o,title:n.accountGroupName,isLastNode:!0,config:a}))}function Ie({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:d}){const p=F("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ee("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,h)=>ne({account:g,sectionType:t,numOfBalances:o,title:g.account.accountName,config:d,isLastNode:h===i.length-1,parentNodeIDs:[p],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:i.length>1,hasChildren:g.children.length>0,isLastNode:h===i.length-1}]}}));return l.children.push(...u),l}function ae({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((n,d)=>ne({account:n,sectionType:t,numOfBalances:o,title:n.account.accountName,config:a,isLastNode:d===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:n.children.length>0,isLastNode:d===e.accounts.length-1}]}}))}function ie({balances:e,config:t,nodeId:o}){return{children:[],id:o??F("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function Ne(e,t,o,a=!0){Object.assign(e.config,t);const n=ce(o),d=Y({balances:n,config:t});return{config:t,headerNodes:a?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const ce=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let o=[];return Object.keys(t.sections).forEach(a=>{t.sections[a].balances.length>0&&(o=[...t.sections[a].balances,...t.sections[a].additionalBalances])}),o}default:return[]}};function Me(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.balanceSheet,d=ce(e),p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=ie({balances:d,config:t}),i=[];return i.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(_.isBalanceSheetReportViewSectionID(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const c=oe({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else i.push(te({section:e.sections[s],sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}));else if(s==="equity"){const c=ae({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else{const c=e.sections[s];i.push(se({sectionWithAcOnly:c,sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}))}else _.isBalanceSheetReportViewCalculatedSectionID(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:i}}function Fe({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:n}){return{children:[],id:F("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function $e(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.cashFlow,d=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=ie({balances:d,config:t}),i=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=F("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(_.isCashFlowReportViewSectionID(s)===!0)if(e.sections[s].accountGroups.length>0){const c=oe({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else{const c=ae({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else _.isCashFlowReportViewCalculatedSectionType1ID(s)===!0?i.push(Fe({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):_.isCashFlowReportViewCalculatedSectionID(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:[l,...i]}}function je(e,t,o=!0,a=!1){const n=y.getLocalizedStrings().reports,d=y.getLocalizedStrings().common;let p=[];const l=[];let i=[];if(a===!0){const u=Le({title:d.loading,balances:[],config:t});u.reportElementData.element.numOfBalances=6,o&&(i=[u]),l.push(u),[...Array(8)].forEach((g,h)=>{const s=h%4;let c=Pe[s];const x=ke({title:`${h}+${c}`,balances:p,config:t});x.reportElementData.element.numOfBalances=6,l.push(x)})}else{const u=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],g=Y({balances:u,config:t}),h=t.mode!=null&&t.mode==="this_period_vs_period_before"&&u.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;l.push(g),o&&(i=[g]),e.idsInOrder.forEach(s=>{if(_.isPandLReportViewSectionID(s)===!0){const c=e.sections[s];c!=null&&l.push(Te({section:c,sectionType:s,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}else if(_.isPandLReportViewCalculatedSectionID(s)===!0){const c=e.calculatedSections[s];c!=null&&l.push(j({calculatedSection:c,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:i,contentNodes:l}}function Ee(e,t,o=!0){const a=y.getLocalizedStrings().reports,n=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],d=t.mode!=null&&t.mode==="this_period_vs_period_before"&&n.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=Y({balances:n,config:t}),l=[];return l.push(p),e.idsInOrder.forEach(i=>{if(_.isPandLReportViewSectionID(i)===!0&&(e.sections[i].accountGroups.length>0?l.push(te({section:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t})):l.push(se({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))),_.isPandLReportViewCalculatedSectionID(i)===!0){const u=e.calculatedSections[i];u!=null&&l.push(j({calculatedSection:u,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}const q={contentPaddingLeft:new v(w[0],w[0],w[0]),contentPaddingRight:new v(w[3],w[3],w[8])},Ve=b.div`
2
2
  height: ${e=>e.height}px;
3
3
  width: 99.9%;
4
4
  margin-top: ${C.sp2};
5
5
  background-color: ${e=>e.theme.colors.grey4};
6
- `;function De({report:e,displayOrder:t,reportFormat:o,analytics:a,isZeniUser:n,onAdditionalBalanceSelectionChanged:d,onAccountBalanceClick:p,onTableScroll:l,onElementCollapseStateChanged:i,isCompareModeOn:u,isPageFetchInProgress:g=!1}){const h=U(),s=G(),[c,x]=P.useState(void 0),[O,E]=P.useState(void 0),L=!(h==="small"||h==="medium-compact"),V="name+balances_actual",$=u===!0?"this_period_vs_period_before":"none",R=()=>{let m=[];switch(e.reportId){case"profit_and_loss":{const f=e;m=(f.sections.expenses.balances.length>0?f.sections.expenses:f.sections.income).additionalBalances.map(D=>_.toTimeframeTick(D));break}case"profit_and_loss_by_classes":{const f=e,D=(f.sections.expenses?.balances?.length??0)>0?f.sections.expenses:null,pe=(f.sections.income?.balances?.length??0)>0?f.sections.income:null,H=D??pe;H?.additionalBalances!=null&&(m=H.additionalBalances.map(ue=>_.toTimeframeTick(ue)));break}case"cash_flow":{m=e.calculatedSections.investingActivitiesTotal.additionalBalances.map(f=>_.toTimeframeTick(f));break}case"balance_sheet":{m=e.sections.equity.additionalBalances.map(f=>_.toTimeframeTick(f));break}}return m.length>0&&m.find(f=>f.balanceType==="this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent"};P.useEffect(()=>{const m={reportId:e.reportId,bookCloseDate:e.bookCloseDate,mode:$,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",displayOrder:t,reportFormat:o,dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:xe(),showClassAccountNumber:n};if(c==null||!Q(O,e)||g===!0){const f=ze(e,m,L,g);E(e),x(f)}else{const f=Ne(c,m,e,L);x(f)}},[u,e,g]);const[A,N]=P.useState(5),M=m=>{const f=m+135;N(f)},de=m=>m?.trackPageLoaded(We(e));return c!=null?r.jsxs(r.Fragment,{children:[r.jsx(we,{analytics:a,onLoad:de}),r.jsx(Ve,{height:A,children:r.jsx(ve,{backgroundColor:new Ce(s.colors.grey4),rootNodes:c,type:V,compareMode:R(),isSticky:{isStickyHeader:L,isStickyName:L},treeNodePadding:{left:q.contentPaddingLeft.value(h),right:q.contentPaddingRight.value(h)},onAccountClick:p==null?void 0:(m,f)=>{p(m,f)},nodeOpenStatus:e.uiState.nodeCollapseState,scrollPosition:e.uiState.scrollPosition,onCompareModeChanged:m=>d?.(m==="compare_mode_amount"?"this_period_vs_last_period":"this_period_vs_last_period_percent","dropdown"),onNodeCollapseToggled:(m,f)=>i?.(e.reportId,m,f),onReportTableHeightChanged:M,onScroll:m=>l?.(e.reportId,m)})})]}):null}const ze=(e,t,o=!0,a=!1)=>{switch(e.reportId){case"profit_and_loss":return Ee(e,t,o);case"profit_and_loss_by_classes":return je(e,t,o,a);case"cash_flow":return $e(e,t,o);case"balance_sheet":return Me(e,t,o);default:return}},We=e=>{switch(e.reportId){case"profit_and_loss":case"profit_and_loss_by_classes":return B.Event.profitAndLoss;case"cash_flow":return B.Event.cashFlow;case"balance_sheet":return B.Event.balanceSheet;default:return B.Event.reports}},Ue=b.div`
6
+ `;function De({report:e,displayOrder:t,reportFormat:o,analytics:a,isZeniUser:n,onAdditionalBalanceSelectionChanged:d,onAccountBalanceClick:p,onTableScroll:l,onElementCollapseStateChanged:i,isCompareModeOn:u,isPageFetchInProgress:g=!1}){const h=U(),s=G(),[c,x]=P.useState(void 0),[O,E]=P.useState(void 0),T=!(h==="small"||h==="medium-compact"),V="name+balances_actual",$=u===!0?"this_period_vs_period_before":"none",R=()=>{let m=[];switch(e.reportId){case"profit_and_loss":{const f=e;m=(f.sections.expenses.balances.length>0?f.sections.expenses:f.sections.income).additionalBalances.map(D=>_.toTimeframeTick(D));break}case"profit_and_loss_by_classes":{const f=e,D=(f.sections.expenses?.balances?.length??0)>0?f.sections.expenses:null,pe=(f.sections.income?.balances?.length??0)>0?f.sections.income:null,H=D??pe;H?.additionalBalances!=null&&(m=H.additionalBalances.map(ue=>_.toTimeframeTick(ue)));break}case"cash_flow":{m=e.calculatedSections.investingActivitiesTotal.additionalBalances.map(f=>_.toTimeframeTick(f));break}case"balance_sheet":{m=e.sections.equity.additionalBalances.map(f=>_.toTimeframeTick(f));break}}return m.length>0&&m.find(f=>f.balanceType==="this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent"};P.useEffect(()=>{const m={reportId:e.reportId,bookCloseDate:e.bookCloseDate,mode:$,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",displayOrder:t,reportFormat:o,dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:xe(),showClassAccountNumber:n};if(c==null||!K(O,e)||g===!0){const f=ze(e,m,T,g);E(e),x(f)}else{const f=Ne(c,m,e,T);x(f)}},[u,e,g]);const[A,N]=P.useState(5),M=m=>{const f=m+135;N(f)},de=m=>m?.trackPageLoaded(We(e));return c!=null?r.jsxs(r.Fragment,{children:[r.jsx(we,{analytics:a,onLoad:de}),r.jsx(Ve,{height:A,children:r.jsx(ve,{backgroundColor:new Ce(s.colors.grey4),rootNodes:c,type:V,compareMode:R(),isSticky:{isStickyHeader:T,isStickyName:T},treeNodePadding:{left:q.contentPaddingLeft.value(h),right:q.contentPaddingRight.value(h)},onAccountClick:p==null?void 0:(m,f)=>{p(m,f)},nodeOpenStatus:e.uiState.nodeCollapseState,scrollPosition:e.uiState.scrollPosition,onCompareModeChanged:m=>d?.(m==="compare_mode_amount"?"this_period_vs_last_period":"this_period_vs_last_period_percent","dropdown"),onNodeCollapseToggled:(m,f)=>i?.(e.reportId,m,f),onReportTableHeightChanged:M,onScroll:m=>l?.(e.reportId,m)})})]}):null}const ze=(e,t,o=!0,a=!1)=>{switch(e.reportId){case"profit_and_loss":return Ee(e,t,o);case"profit_and_loss_by_classes":return je(e,t,o,a);case"cash_flow":return $e(e,t,o);case"balance_sheet":return Me(e,t,o);default:return}},We=e=>{switch(e.reportId){case"profit_and_loss":case"profit_and_loss_by_classes":return B.Event.profitAndLoss;case"cash_flow":return B.Event.cashFlow;case"balance_sheet":return B.Event.balanceSheet;default:return B.Event.reports}},Ue=b.div`
7
7
  display: flex;
8
8
  flex-direction: row;
9
9
  border-bottom: 1px solid ${e=>e.theme.colors.grey3};
@@ -49,7 +49,7 @@ import{e as U,u as G,M as y,Y as he,l as _,j as r,_ as k,bf as fe,aY as me,aW as
49
49
  width: 160px;
50
50
  left: 63%;
51
51
  }
52
- `;function Ze({reportId:e,isSelected:t,onClick:o}){const a=n=>{switch(n){case"profit_and_loss":case"profit_and_loss_by_classes":case"balance_sheet":case"cash_flow":return y.getLocalizedStrings().reportTitleById[n];default:return console.warn("Unsupported report"),""}};return r.jsx(Ye,{"data-testid":k("reportSwitcher",e),onClick:()=>{t===!1&&o(e)},isSelected:t,spaceAround:e==="balance_sheet",children:a(e)})}function qe({reportIds:e,selectedReport:t,onReportSelectionChanged:o}){const a=n=>{o?.(n)};return r.jsx(Ue,{"data-testid":k("report-switcher-container"),children:r.jsx(Ge,{"data-testid":k("report-switcher-content"),children:e.map(n=>n!=="profit_and_loss_by_classes"&&r.jsxs("div",{children:[r.jsx(Ze,{reportId:n,isSelected:t===n,onClick:a}),r.jsx(He,{className:`Slider ${t}`})]},`reportSegment-${n}`))})})}const I={contentContainerLeftRightMargin:new v(w[3],w[3],w[8]),contentRightPadding:new v(w[3],w[3],w[8]),tickSkelectionContainerWidth:new v(343,600,905,1240)},Je=new v(4,4),Qe=new v(4,4),Xe={selectedNumberOfPeriods:(e,t)=>e?Qe.value(t):Je.value(t)},Ke=b.div`
52
+ `;function Ze({reportId:e,isSelected:t,onClick:o}){const a=n=>{switch(n){case"profit_and_loss":case"profit_and_loss_by_classes":case"balance_sheet":case"cash_flow":return y.getLocalizedStrings().reportTitleById[n];default:return console.warn("Unsupported report"),""}};return r.jsx(Ye,{"data-testid":k("reportSwitcher",e),onClick:()=>{t===!1&&o(e)},isSelected:t,spaceAround:e==="balance_sheet",children:a(e)})}function qe({reportIds:e,selectedReport:t,onReportSelectionChanged:o}){const a=n=>{o?.(n)};return r.jsx(Ue,{"data-testid":k("report-switcher-container"),children:r.jsx(Ge,{"data-testid":k("report-switcher-content"),children:e.map(n=>n!=="profit_and_loss_by_classes"&&r.jsxs("div",{children:[r.jsx(Ze,{reportId:n,isSelected:t===n,onClick:a}),r.jsx(He,{className:`Slider ${t}`})]},`reportSegment-${n}`))})})}const I={contentContainerLeftRightMargin:new v(w[3],w[3],w[8]),contentRightPadding:new v(w[3],w[3],w[8]),tickSkelectionContainerWidth:new v(343,600,905,1240)},Je=new v(4,4),Ke=new v(4,4),Qe={selectedNumberOfPeriods:(e,t)=>e?Ke.value(t):Je.value(t)},Xe=b.div`
53
53
  display: flex;
54
54
  flex: 1 1 auto;
55
55
  min-height: 100%;
@@ -98,7 +98,7 @@ import{e as U,u as G,M as y,Y as he,l as _,j as r,_ as k,bf as fe,aY as me,aW as
98
98
  `,at=b(_e)`
99
99
  margin-top: ${C.sp3};
100
100
  color: ${e=>e.theme.colors.hero};
101
- `,re=({style:e,isLoading:t})=>t?r.jsx(tt,{style:e,children:r.jsx(be,{size:"ExtraLarge",start:!0})}):null,S=e=>{switch(e.selectedReport){case"cash_flow":return e.cashFlowReport;case"balance_sheet":return e.balanceSheetReport;case"profit_and_loss_by_classes":return e.profitAndLossClassesViewReport;case"profit_and_loss":default:return e.profitAndLossReport}},W=({selectedReport:e,isCompareModeOn:t,windowSize:o})=>{const a=e.availableNumberOfPeriods;let n=Xe.selectedNumberOfPeriods(t,o);return a!=null&&(n=Math.min(n,a)),n};function jt(e){const t=U(),o=G(),{onUpdateAccountViewMode:a,onUpdateClassesToFilterOut:n,onAdditionalBalanceSelectionChanged:d,onTimeframeSelectionChanged:p,isCompareMode:l,selectedReportAndTimeframeFetchState:i,onClickMenuIcon:u}=e,g=(R,A)=>{R!==h?.accountViewMode&&a?.(R),A&&n?.(A)};P.useEffect(()=>{if(e.fetchState==="Completed"){const R=S(e).filter.additionalBalances;e.onUpdateHighlightedNumberOfPeriods?.(R,e.isCompareMode,W({selectedReport:S(e),isCompareModeOn:e.isCompareMode,windowSize:t}),e.balancesInTimeframe)}},[t,e.fetchState]);const h=rt(e),s=y.getLocalizedStrings().reports.common,c=he(),x=c!=null&&_.hasInvestorBankerLevelAccess(c.loggedInUserRole)?"detailed":"more_detailed",O=c!=null&&_.hasInvestorBankerLevelAccess(c.loggedInUserRole)?["more_detailed"]:[];e.showAccountGroups===!1&&h?.accountViewMode==="account_group"&&O.push("detailed");const[E,L]=X.useState(O.includes("more_detailed")?"detailed":"more_detailed"),V={selectedFormat:E,disabledFormatForRole:O,roleBasedClassesSelectedFormat:x,setSelectedFormat:L};if(i.fetchState==="Error"||e.fetchState==="Error")return r.jsxs(nt,{"data-testid":k("report-page-error-reload-page"),children:[r.jsx(ot,{"data-testid":k("report-page-error-reload-icon"),onClick:e.onReloadReport,children:r.jsx(fe,{})}),r.jsx(at,{children:s.failed})]});const $=e.fetchState;if(i.fetchState!=="Completed"&&($==="In-Progress"||$==="Not-Started"))return r.jsx(re,{isLoading:!0});{const R=r.jsx(me,{downloadReportOptions:{type:"detailed_menu",downloadMenu:{detailedMenu:h!=null&&e.dataAvailable!=null?r.jsx(Be,{defaultOptions:h,analytics:e.analytics,referrer:T(e.selectedReport),dataAvailable:e.dataAvailable,downloadState:e.downloadState,statementEndPoint:e.statementEndPoint,authParams:e.authParams,currentTenantCompanyName:e.currentTenantCompanyName,classesFetchState:e.profitAndLossClassesViewReport.fetchState,showAccountGroups:e.showAccountGroups,reportFormatProps:V,updateDownloadStateHandler:e.updateDownloadStateHandler,onUpdateDisplayOrder:e.onUpdateDisplayOrder,onUpdateReportFormat:e.onUpdateReportFormat,onClose:()=>null,onOpenAccountViewMode:e.onOpenAccountViewMode,onSaveClickHandler:g,onThisPeriodChanged:e.onThisPeriodChanged,onAdditionalBalanceSelectionChanged:(A,N,M)=>{d(l,A,N,M)},onTimeframeSelectionChanged:(A,N,M)=>{p?.(A,N,M)}}):r.jsx(r.Fragment,{})}}});return r.jsxs(Ke,{children:[r.jsx(ge,{title:y.getLocalizedStrings().reports.title,backgroundColor:o.colors.grey4,onBackClick:e.onBackClick,showMenuIcon:t==="medium-compact"||t==="small",onClickMenuIcon:u,rightSideComponent:R,downloadPresent:!0,source:"ReportsPage",hideSearchBtn:!0}),r.jsx(it,{...e})]})}}function it(e){const t=U(),o=G(),a=P.useRef(null),{selectedReportAndTimeframeFetchState:n}=e,d=["month","quarter","year"],p=(s,c)=>{e.analytics?.trackCompareFilterChange(s==="this_period_vs_last_period_percent"?"percentage":"amount",T(e.selectedReport),z(e.selectedTimeframe),c);const x=Array.from(new Set(s==="this_period_vs_last_period_percent"?[...S(e).filter.additionalBalances,"this_period_vs_last_period_percent"].filter(O=>O!=="this_period_vs_last_period"):[...S(e).filter.additionalBalances,"this_period_vs_last_period"].filter(O=>O!=="this_period_vs_last_period_percent")));e.onAdditionalBalanceSelectionChanged?.(e.isCompareMode,x,W({selectedReport:S(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},l=(s,c)=>{s!==e.profitAndLossClassesViewReport?.uiState.accountViewMode&&e.onUpdateAccountViewMode?.(s),c&&e.onUpdateClassesToFilterOut?.(c)},i=S(e),u=a.current?.clientWidth??I.tickSkelectionContainerWidth.value(t),g=_.reduceAllFetchState([e.reportsResyncFetchState,e.profitAndLossClassesViewReport]).fetchState==="In-Progress"&&e.profitAndLossClassesViewReport.uiState.accountViewMode==="classes",h=n.fetchState==="In-Progress";return r.jsxs(et,{windowSize:t,"data-testid":k("reports-page-content-container"),children:[r.jsx(pt,{windowSize:t,ref:a,children:r.jsx(Ae,{timeframe:{allowedTimeframes:d,selectedTimeframe:e.selectedTimeframe,onTimeframeSelectionChanged:s=>{e.analytics?.trackTimeframeSwitch(z(s),T(e.selectedReport)),e.onTimeframeSelectionChanged?.(s,!0)}},toggle:{label:y.getLocalizedStrings().compareSwitchLabel,isOn:e.isCompareMode,onValueChanged:s=>{e.analytics?.trackCompareMode(s,T(e.selectedReport),z(e.selectedTimeframe));const c=S(e).filter;e.onAdditionalBalanceSelectionChanged?.(s,c.additionalBalances,c.balancesRange.numberOfPeriods)}}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(ht,{windowSize:t,children:r.jsx(ft,{children:r.jsx(Se,{width:u,height:K-w[2],backgroundColor:o.colors.grey3,style:{borderRadius:C.sp2}})})}):r.jsx(ut,{windowSize:t,children:r.jsx(Re,{firstMonthOfFY:i.firstMonthOfFY,timeframe:e.selectedTimeframe,timeframeTicks:e.allTimeframeTicks,selection:{selectedTicks:J(e.allTimeframeTicks,e.selectedCOABalancesRange),highlightedOfSelectedTicks:J(e.allTimeframeTicks,e.selectedCOABalancesRange)},onClick:(s,c)=>{e.analytics?.trackDateRangeFilterChange(T(e.selectedReport),"range filter",e.isCompareMode,Z(i.firstMonthOfFY,e.selectedTimeframe,c)),e.onThisPeriodChanged?.(c,W({selectedReport:S(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},onSelectionChanged:s=>{const c=ct(e.allTimeframeTicks,s.fromEnd);e.analytics?.trackDateRangeFilterChange(T(e.selectedReport),"range filter",e.isCompareMode,Z(i.firstMonthOfFY,e.selectedTimeframe,c.thisPeriod)),e.onCOABalancesRangeChanged?.(c)}})}),r.jsx(mt,{windowSize:t,children:r.jsx(qe,{reportIds:["profit_and_loss","balance_sheet","cash_flow","profit_and_loss_by_classes"],selectedReport:e.selectedReport,onReportSelectionChanged:s=>{e.analytics?.trackPageLoaded(lt(s)),s==="profit_and_loss"&&e.profitAndLossClassesViewReport?.uiState.accountViewMode==="classes"?e.onReportSelectionChanged?.("profit_and_loss_by_classes"):e.onReportSelectionChanged?.(s)}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(re,{style:{boxShadow:"none",backgroundColor:"inherit"},isLoading:h}):r.jsxs(r.Fragment,{children:[r.jsx(le,{report:S(e),displayOrder:e.displayOrder,reportFormat:e.reportFormat,analytics:e.analytics,onAdditionalBalanceSelectionChanged:p,onAccountBalanceClick:e.onAccountBalanceClick,onElementCollapseStateChanged:e.onElementCollapseStateChanged,onTableScroll:e.onTableScroll,isCompareModeOn:e.isCompareMode,isZeniUser:e.isZeniUser,isPageFetchInProgress:g}),_.isPAndLReport(e.selectedReport)?r.jsx(st,{windowSize:t,children:r.jsx(Oe,{reportId:e.selectedReport,firstMonthOfFY:e.profitAndLossClassesViewReport.firstMonthOfFY,nodes:e.profitAndLossClassesViewReport?.classHierarchy,classesListFetchState:e.profitAndLossClassesViewReport?.fetchState,selectedView:e.profitAndLossClassesViewReport?.uiState.accountViewMode,showClassAccountNumber:e.isZeniUser,showAccountGroups:e.showAccountGroups,onSaveClick:l,classesToBeFilteredOut:e.profitAndLossClassesViewReport?.classesToFilterOut,onOpenAccountViewMode:e.onOpenAccountViewMode,onResyncReports:e.onResyncReports,isPageFetchInProgress:g,lastRefreshSuccessTime:e.profitAndLossClassesViewReport?.status?.lastRefreshSuccessTime})}):null]})]})}const J=(e,t)=>{if(t.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let o=e.length-1;return t.thisPeriod!=null&&(o=e.findIndex(a=>a.startDate.isSame(t.thisPeriod.startDate,"date")&&a.endDate.isSameOrBefore(t.thisPeriod.endDate))),{startIndex:Math.max(o+1-t.numberOfPeriods,0),length:t.numberOfPeriods}},ct=(e,t)=>{const o=e.length-1-t.offsetFromEnd;return{thisPeriod:e[o],numberOfPeriods:t.length,orderBy:"ascending_date"}};function rt(e){let t=e.selectedCOABalancesRange.thisPeriod;if(t==null){const p=e.displayOrder,l=e.profitAndLossReport.sections.expenses!=null&&e.profitAndLossReport.sections.expenses.balances.length>0?e.profitAndLossReport.sections.expenses:e.profitAndLossReport.sections.income;if(l!=null&&l.balances.length>0){const i=p==="ascending_date"?l.balances.length-1:0;t=l.balances[i]}}const o=S(e).firstMonthOfFY,a=S(e).bookCloseDate,n=S(e).dataAvailable,d=S(e).filter.additionalBalances;if(t!=null)return{localeId:y.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:"pdf",statements:e.profitAndLossClassesViewReport.uiState.accountViewMode==="account_group"?["profit_and_loss","balance_sheet","cash_flow"]:["profit_and_loss_by_classes","balance_sheet","cash_flow"],firstMonthOfFY:o,bookCloseDate:a,dataAvailable:n,timeframe:e.selectedTimeframe,additionalBalances:d,format:e.reportFormat,balancesFilter:{thisPeriod:t,numberOfPeriods:e.selectedCOABalancesRange.numberOfPeriods,orderBy:e.displayOrder},accountViewMode:e.profitAndLossClassesViewReport.uiState.accountViewMode,nestedClassHierarchy:e.profitAndLossClassesViewReport?.classHierarchy,classesToFilterOut:e.profitAndLossClassesViewReport.classesToFilterOut,showClassAccountNumber:e.isZeniUser,isZeniCOAUsed:e.isZeniCOAUsed}}const T=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return"Profit & Loss";case"balance_sheet":return"Balance Sheet";case"cash_flow":return"Cash Flow";default:return"Reports"}},lt=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return B.Event.profitAndLoss;case"cash_flow":return B.Event.cashFlow;case"balance_sheet":return B.Event.balanceSheet;default:return B.Event.reports}},le=X.memo(De,(e,t)=>dt(e,t,["report","analytics","isCompareModeOn","isZeniUser","isPageFetchInProgress"]));le.displayName="Reports table";const dt=(e,t,o)=>o.reduce((a,n)=>a===!0&&Q(e[`${n}`],t[`${n}`]),!0),pt=b.div`
101
+ `,re=({style:e,isLoading:t})=>t?r.jsx(tt,{style:e,children:r.jsx(be,{size:"ExtraLarge",start:!0})}):null,S=e=>{switch(e.selectedReport){case"cash_flow":return e.cashFlowReport;case"balance_sheet":return e.balanceSheetReport;case"profit_and_loss_by_classes":return e.profitAndLossClassesViewReport;case"profit_and_loss":default:return e.profitAndLossReport}},W=({selectedReport:e,isCompareModeOn:t,windowSize:o})=>{const a=e.availableNumberOfPeriods;let n=Qe.selectedNumberOfPeriods(t,o);return a!=null&&(n=Math.min(n,a)),n};function Wt(e){const t=U(),o=G(),{onUpdateAccountViewMode:a,onUpdateClassesToFilterOut:n,onAdditionalBalanceSelectionChanged:d,onTimeframeSelectionChanged:p,isCompareMode:l,selectedReportAndTimeframeFetchState:i,onClickMenuIcon:u}=e,g=(R,A)=>{R!==h?.accountViewMode&&a?.(R),A&&n?.(A)};P.useEffect(()=>{if(e.fetchState==="Completed"){const R=S(e).filter.additionalBalances;e.onUpdateHighlightedNumberOfPeriods?.(R,e.isCompareMode,W({selectedReport:S(e),isCompareModeOn:e.isCompareMode,windowSize:t}),e.balancesInTimeframe)}},[t,e.fetchState]);const h=rt(e),s=y.getLocalizedStrings().reports.common,c=he(),x=c!=null&&_.hasInvestorBankerLevelAccess(c.loggedInUserRole)?"detailed":"more_detailed",O=c!=null&&_.hasInvestorBankerLevelAccess(c.loggedInUserRole)?["more_detailed"]:[];e.showAccountGroups===!1&&h?.accountViewMode==="account_group"&&O.push("detailed");const[E,T]=Q.useState(O.includes("more_detailed")?"detailed":"more_detailed"),V={selectedFormat:E,disabledFormatForRole:O,roleBasedClassesSelectedFormat:x,setSelectedFormat:T};if(i.fetchState==="Error"||e.fetchState==="Error")return r.jsxs(nt,{"data-testid":k("report-page-error-reload-page"),children:[r.jsx(ot,{"data-testid":k("report-page-error-reload-icon"),onClick:e.onReloadReport,children:r.jsx(fe,{})}),r.jsx(at,{children:s.failed})]});const $=e.fetchState;if(i.fetchState!=="Completed"&&($==="In-Progress"||$==="Not-Started"))return r.jsx(re,{isLoading:!0});{const R=r.jsx(me,{downloadReportOptions:{type:"detailed_menu",downloadMenu:{detailedMenu:h!=null&&e.dataAvailable!=null?r.jsx(Be,{defaultOptions:h,analytics:e.analytics,referrer:L(e.selectedReport),dataAvailable:e.dataAvailable,downloadState:e.downloadState,statementEndPoint:e.statementEndPoint,authParams:e.authParams,currentTenantCompanyName:e.currentTenantCompanyName,classesFetchState:e.profitAndLossClassesViewReport.fetchState,showAccountGroups:e.showAccountGroups,reportFormatProps:V,updateDownloadStateHandler:e.updateDownloadStateHandler,onUpdateDisplayOrder:e.onUpdateDisplayOrder,onUpdateReportFormat:e.onUpdateReportFormat,onClose:()=>null,onOpenAccountViewMode:e.onOpenAccountViewMode,onSaveClickHandler:g,onThisPeriodChanged:e.onThisPeriodChanged,onAdditionalBalanceSelectionChanged:(A,N,M)=>{d(l,A,N,M)},onTimeframeSelectionChanged:(A,N,M)=>{p?.(A,N,M)}}):r.jsx(r.Fragment,{})}}});return r.jsxs(Xe,{children:[r.jsx(ge,{title:y.getLocalizedStrings().reports.title,backgroundColor:o.colors.grey4,onBackClick:e.onBackClick,showMenuIcon:t==="medium-compact"||t==="small",onClickMenuIcon:u,rightSideComponent:R,downloadPresent:!0,source:"ReportsPage",hideSearchBtn:!0}),r.jsx(it,{...e})]})}}function it(e){const t=U(),o=G(),a=P.useRef(null),{selectedReportAndTimeframeFetchState:n}=e,d=["month","quarter","year"],p=(s,c)=>{e.analytics?.trackCompareFilterChange(s==="this_period_vs_last_period_percent"?"percentage":"amount",L(e.selectedReport),z(e.selectedTimeframe),c);const x=Array.from(new Set(s==="this_period_vs_last_period_percent"?[...S(e).filter.additionalBalances,"this_period_vs_last_period_percent"].filter(O=>O!=="this_period_vs_last_period"):[...S(e).filter.additionalBalances,"this_period_vs_last_period"].filter(O=>O!=="this_period_vs_last_period_percent")));e.onAdditionalBalanceSelectionChanged?.(e.isCompareMode,x,W({selectedReport:S(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},l=(s,c)=>{s!==e.profitAndLossClassesViewReport?.uiState.accountViewMode&&e.onUpdateAccountViewMode?.(s),c&&e.onUpdateClassesToFilterOut?.(c)},i=S(e),u=a.current?.clientWidth??I.tickSkelectionContainerWidth.value(t),g=_.reduceAllFetchState([e.reportsResyncFetchState,e.profitAndLossClassesViewReport]).fetchState==="In-Progress"&&e.profitAndLossClassesViewReport.uiState.accountViewMode==="classes",h=n.fetchState==="In-Progress";return r.jsxs(et,{windowSize:t,"data-testid":k("reports-page-content-container"),children:[r.jsx(pt,{windowSize:t,ref:a,children:r.jsx(Ae,{timeframe:{allowedTimeframes:d,selectedTimeframe:e.selectedTimeframe,onTimeframeSelectionChanged:s=>{e.analytics?.trackTimeframeSwitch(z(s),L(e.selectedReport)),e.onTimeframeSelectionChanged?.(s,!0)}},toggle:{label:y.getLocalizedStrings().compareSwitchLabel,isOn:e.isCompareMode,onValueChanged:s=>{e.analytics?.trackCompareMode(s,L(e.selectedReport),z(e.selectedTimeframe));const c=S(e).filter;e.onAdditionalBalanceSelectionChanged?.(s,c.additionalBalances,c.balancesRange.numberOfPeriods)}}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(ht,{windowSize:t,children:r.jsx(ft,{children:r.jsx(Se,{width:u,height:X-w[2],backgroundColor:o.colors.grey3,style:{borderRadius:C.sp2}})})}):r.jsx(ut,{windowSize:t,children:r.jsx(Re,{firstMonthOfFY:i.firstMonthOfFY,timeframe:e.selectedTimeframe,timeframeTicks:e.allTimeframeTicks,selection:{selectedTicks:J(e.allTimeframeTicks,e.selectedCOABalancesRange),highlightedOfSelectedTicks:J(e.allTimeframeTicks,e.selectedCOABalancesRange)},onClick:(s,c)=>{e.analytics?.trackDateRangeFilterChange(L(e.selectedReport),"range filter",e.isCompareMode,Z(i.firstMonthOfFY,e.selectedTimeframe,c)),e.onThisPeriodChanged?.(c,W({selectedReport:S(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},onSelectionChanged:s=>{const c=ct(e.allTimeframeTicks,s.fromEnd);e.analytics?.trackDateRangeFilterChange(L(e.selectedReport),"range filter",e.isCompareMode,Z(i.firstMonthOfFY,e.selectedTimeframe,c.thisPeriod)),e.onCOABalancesRangeChanged?.(c)}})}),r.jsx(mt,{windowSize:t,children:r.jsx(qe,{reportIds:["profit_and_loss","balance_sheet","cash_flow","profit_and_loss_by_classes"],selectedReport:e.selectedReport,onReportSelectionChanged:s=>{e.analytics?.trackPageLoaded(lt(s)),s==="profit_and_loss"&&e.profitAndLossClassesViewReport?.uiState.accountViewMode==="classes"?e.onReportSelectionChanged?.("profit_and_loss_by_classes"):e.onReportSelectionChanged?.(s)}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(re,{style:{boxShadow:"none",backgroundColor:"inherit"},isLoading:h}):r.jsxs(r.Fragment,{children:[r.jsx(le,{report:S(e),displayOrder:e.displayOrder,reportFormat:e.reportFormat,analytics:e.analytics,onAdditionalBalanceSelectionChanged:p,onAccountBalanceClick:e.onAccountBalanceClick,onElementCollapseStateChanged:e.onElementCollapseStateChanged,onTableScroll:e.onTableScroll,isCompareModeOn:e.isCompareMode,isZeniUser:e.isZeniUser,isPageFetchInProgress:g}),_.isPAndLReport(e.selectedReport)?r.jsx(st,{windowSize:t,children:r.jsx(Oe,{reportId:e.selectedReport,firstMonthOfFY:e.profitAndLossClassesViewReport.firstMonthOfFY,nodes:e.profitAndLossClassesViewReport?.classHierarchy,classesListFetchState:e.profitAndLossClassesViewReport?.fetchState,selectedView:e.profitAndLossClassesViewReport?.uiState.accountViewMode,showClassAccountNumber:e.isZeniUser,showAccountGroups:e.showAccountGroups,onSaveClick:l,classesToBeFilteredOut:e.profitAndLossClassesViewReport?.classesToFilterOut,onOpenAccountViewMode:e.onOpenAccountViewMode,onResyncReports:e.onResyncReports,isPageFetchInProgress:g,lastRefreshSuccessTime:e.profitAndLossClassesViewReport?.status?.lastRefreshSuccessTime})}):null]})]})}const J=(e,t)=>{if(t.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let o=e.length-1;return t.thisPeriod!=null&&(o=e.findIndex(a=>a.startDate.isSame(t.thisPeriod.startDate,"date")&&a.endDate.isSameOrBefore(t.thisPeriod.endDate))),{startIndex:Math.max(o+1-t.numberOfPeriods,0),length:t.numberOfPeriods}},ct=(e,t)=>{const o=e.length-1-t.offsetFromEnd;return{thisPeriod:e[o],numberOfPeriods:t.length,orderBy:"ascending_date"}};function rt(e){let t=e.selectedCOABalancesRange.thisPeriod;if(t==null){const p=e.displayOrder,l=e.profitAndLossReport.sections.expenses!=null&&e.profitAndLossReport.sections.expenses.balances.length>0?e.profitAndLossReport.sections.expenses:e.profitAndLossReport.sections.income;if(l!=null&&l.balances.length>0){const i=p==="ascending_date"?l.balances.length-1:0;t=l.balances[i]}}const o=S(e).firstMonthOfFY,a=S(e).bookCloseDate,n=S(e).dataAvailable,d=S(e).filter.additionalBalances;if(t!=null)return{localeId:y.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:"pdf",statements:e.profitAndLossClassesViewReport.uiState.accountViewMode==="account_group"?["profit_and_loss","balance_sheet","cash_flow"]:["profit_and_loss_by_classes","balance_sheet","cash_flow"],firstMonthOfFY:o,bookCloseDate:a,dataAvailable:n,timeframe:e.selectedTimeframe,additionalBalances:d,format:e.reportFormat,balancesFilter:{thisPeriod:t,numberOfPeriods:e.selectedCOABalancesRange.numberOfPeriods,orderBy:e.displayOrder},accountViewMode:e.profitAndLossClassesViewReport.uiState.accountViewMode,nestedClassHierarchy:e.profitAndLossClassesViewReport?.classHierarchy,classesToFilterOut:e.profitAndLossClassesViewReport.classesToFilterOut,showClassAccountNumber:e.isZeniUser,isZeniCOAUsed:e.isZeniCOAUsed}}const L=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return"Profit & Loss";case"balance_sheet":return"Balance Sheet";case"cash_flow":return"Cash Flow";default:return"Reports"}},lt=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return B.Event.profitAndLoss;case"cash_flow":return B.Event.cashFlow;case"balance_sheet":return B.Event.balanceSheet;default:return B.Event.reports}},le=Q.memo(De,(e,t)=>dt(e,t,["report","analytics","isCompareModeOn","isZeniUser","isPageFetchInProgress"]));le.displayName="Reports table";const dt=(e,t,o)=>o.reduce((a,n)=>a===!0&&K(e[`${n}`],t[`${n}`]),!0),pt=b.div`
102
102
  padding-right: ${e=>I.contentRightPadding.valuePx(e.windowSize)};
103
103
  `,ut=b.div`
104
104
  margin-top: ${C.sp3};
@@ -110,7 +110,7 @@ import{e as U,u as G,M as y,Y as he,l as _,j as r,_ as k,bf as fe,aY as me,aW as
110
110
  display: flex;
111
111
  flex-direction: row;
112
112
  justify-content: flex-start;
113
- min-height: ${K}px;
113
+ min-height: ${X}px;
114
114
  box-sizing: content-box;
115
115
  width: 100%;
116
116
  align-items: center;
@@ -118,4 +118,4 @@ import{e as U,u as G,M as y,Y as he,l as _,j as r,_ as k,bf as fe,aY as me,aW as
118
118
  `,mt=b.div`
119
119
  margin-top: ${C.sp4};
120
120
  padding-right: ${e=>I.contentRightPadding.valuePx(e.windowSize)};
121
- `;export{jt as default};
121
+ `;export{Wt as default};
@@ -1,4 +1,4 @@
1
- import{u as A,j as a,M as S,e as de,_ as Ae,aj as Q,b6 as Te,q as E,b7 as J,aw as ee,v as M,av as ae,ab as re,b8 as oe,b9 as ge,o as m,ba as te,c as g,E as Fe,bb as pe,bc as me,C as xe,bd as fe,n as R,be as F,ap as V}from"./index-CyJdCOlu.js";import{b as P,f as le,n as x}from"./vendor-CnQcJ2Lu.js";import{p as b,d as ne,y as W,b as N,g as ce,u as T}from"./chartTypes-CPj7oOMJ-Cv2ANOse.js";import{i as K,h as se,c as I}from"./toCOABalancesWithID-Dsa-tGTi-Bmzakp6x.js";import{V as Z}from"./toChartData-Cp_80Bi6-Dfd3dSx4.js";const q={legendLabelMarginLeft:new xe(2,2),legendLabelMarginRight:new xe(E[3],E[4])},Ve=x.div`
1
+ import{u as A,j as a,F as S,K as de,Z as Ae,aj as Q,b6 as Te,n as E,b7 as J,aw as ee,y as M,av as ae,ab as re,b8 as oe,b9 as ge,o as m,ba as te,h as g,I as Fe,bb as pe,bc as me,x as xe,bd as fe,k as R,be as F,ap as V}from"./index-D9zAXs3-.js";import{b as P,w as le,n as x}from"./vendor-Bs1fkIUX.js";import{p as b,d as ne,y as W,b as N,g as ce,u as T}from"./chartTypes-CICM6xJ3-DAE7LSQz.js";import{i as K,h as se,c as I}from"./toCOABalancesWithID-B0F8-Lgv-mwB6oBaM.js";import{V as Z}from"./toChartData-D_8GUwpP-CFofR1sw.js";const q={legendLabelMarginLeft:new xe(2,2),legendLabelMarginRight:new xe(E[3],E[4])},Ve=x.div`
2
2
  display: flex;
3
3
  `,He=x.div`
4
4
  margin: ${m.sp2} ${m.sp0} ${m.sp2} ${m.sp0};
@@ -1,11 +1,11 @@
1
- import{e as Tt,Y as vt,C as y,cF as jt,M as St,cG as Ct,cH as Dt,j as t,cI as It,cJ as le,cK as Pt,l as d,cL as kt,cM as At,_ as j,cN as Mt,a0 as A,cO as Bt,cP as Nt,cQ as Ae,cR as Me,cS as Be,v as q,cT as O,cU as z,cV as _,c as S,cW as Lt,cX as Ft,cY as Rt,cZ as Et,bx as Ne,o as n,a4 as Ot,q as c,$ as zt,bt as _t,b as Wt,h as Ut,c_ as Ht,bL as Yt,n as se,B as de,c$ as Zt,d0 as Vt,aC as qt,L as Gt,ao as Kt,s as Xe,b5 as Xt,d as Je,aP as Jt,d1 as Qt}from"./index-CyJdCOlu.js";import{b as U,n as i}from"./vendor-CnQcJ2Lu.js";import{t as en,o as tn}from"./LowBalancePopup-DqY0lHvk-Bg-BhJJe.js";import{S as W}from"./LabeledText-CExeogkg-361xlNV7.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const Qe=["small","medium-compact","medium-regular"],p={largeLabelWidth:new y(150,215,215),infoMinWidth:new y(0,0,0,142,142),infoMarginRight:new y(0,0,0,c[2],c[2]),footerButtonWidth:new y(120,165),iconContainerMarginTop:new y(6,c[1]),navBarContainerPaddingTop:new y(10,c[3]),sectionTitleMarginLeft:new y(c[3],c[0]),reviewContainerMarginLeft:new y(c[3],c[6]),reviewContainerMarginRight:new y(c[3],c[8]),footerRightIconMarginRight:new y(c[0],c[0],c[7]),infoLabelPaddingRight:new y(c[0],c[3]),infoLabelMarginTop:new y(c[1],c[0])},nn={sectionTitle:new Wt("h6Medium","h5Medium")},{dateFormat:Le,common:{currency:v,labels:Fe,edit:an,strings:{empty:h}},spendManagement:{billPay:ln}}=St.getLocalizedStrings(),{billDetails:a,paymentDetails:Re}=ln,Ee=({attachment:e})=>{const[w,x]=U.useState(!1),M=()=>{x(!1)},C=e.fileId?.length===0;return t.jsxs(Bn,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>C===!1?x(!0):null,children:[w&&e?.fileDownloadUrl!=null?t.jsx(Zt,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:x}):null,t.jsx(Nn,{children:t.jsx(Vt,{contentType:e.contentType})})]})},ti=({billDetails:e,billpayApprovalView:w,isBillPayCommentingEnabled:x,currentTenant:M,isInternationalPaymentShaVsOurEnabled:C,isLocalCurrencyEnabled:et,style:tt,analytics:$,isRecurringBillsFeatureEnabled:nt,isApprovalRequiredForMarkAsPaid:it,isDetectInsufficientFundsEnabled:at,billId:f,onClickEdit:ce,discardBillDetailsFromLocalStore:me,saveBillDetails:pe,discardOutsideZeniPaymentData:lt,updateBillDetailSaveBillCode:ue,redirectToBillsScreen:ye,onAttachmentClick:J,retryPayment:ot})=>{const s=Tt(),m=vt(),B={application:"dashboard",companyId:m.currentTenant?.companyId,tab:"bill",entityId:f},N=x&&f!=null,L=`dashboard_${m.currentTenant?.companyId}`,F=p.largeLabelWidth.value(s),R=e.saveStatus,Q=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=jt(C,et,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),D=Le.visual.MMMDCommaYYYYformat,he={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},u={amount:o?.method.includes("international")===!0?Ct(he,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},E={amount:o?.method.includes("international")===!0?Dt(he,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[rt,ge]=U.useState(!1),[st,xe]=U.useState(!1),fe=()=>ge(!1),dt=()=>{$.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ct=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(kn,{size:s,children:t.jsx(Pn,{})})]}):It(e.paymentDetailsSection?.paymentTo);U.useEffect(()=>{(R?.fetchState==="Completed"||Q?.fetchState==="Completed")&&(me(),ue(),ye())},[R,Q,ye,me,ue]);const T=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,H=e.billPayInfo?.billPaymentStatus,mt=e.billPayInfo?.billPaymentRefundStatus,te=T?.code==="paid"?T:P?.code=="approved"&&H?.code?H:P,pt=e.billPayInfo?.isRefundInitiated===!0?mt:P?.code=="approved"&&H?.code?H:P,ne=()=>{ce()},be=()=>{ce()},Y=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),we=ie.replace("Same Day",""),ut=e.isCollectToAccountInfoFromVendorContact?t.jsx(Pt,{paymentTypeLabel:we,onClick:dt}):a.addedByZeni,Z=w.allApprovalRules.length>0,yt=d.toAmount(o?.method!=null&&(o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?u.amount-E.amount:u.amount,o?.fee.currencyCode??d.defaultVendorCurrency.currencyCode,o?.fee.currencySymbol??d.defaultVendorCurrency.currencySymbol),g=d.isPaymentMethodOutsideZeni(e.paymentDetailsSection?.paymentType?.method),ht=l=>{$.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",T?.code??"draft",te?.code??""),pe(!0,l)},$e=()=>{xe(!0),$.trackBillPayMarkAsPaid(T?.code??"draft",te?.code??"")},gt=()=>{lt(),xe(!1)},k=g&&(T?.code!=null?T.code==="draft"||P?.code==="approved":!0),b=k&&!it,Te=Oe(b,Z,e.isBillMarkedForRetry),xt=()=>g?b?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&C&&ee===v.currencyCode?Ft(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=at&&e.paymentDetailsSection!=null?kt(u,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,ft=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,I=e.recurringConfig,wt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&$.trackBillPayAutoDateChange(f??"new_bill"),o?.method!=null&&l!=null){const $t=g?a.paymentOutsideZeni.offline:le(o.method);if($.trackBillPaySendForApproval($t,l.format(Le.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,f,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:d.zeniDate(I?.startDate?.toString()??"").format(D),endDate:d.zeniDate(I?.endDate?.toString()??"").format(D),frequency:I?.frequency??"monthly",totalAmount:wt.amount,totalPaymentCycles:I?.totalPaymentCycles??0,isApprovalRequired:I?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?I?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?I?.updateRecurringBills==="all":void 0}),ae!=null){const Se=T?.code??"draft",Ce=P?.code??"",De=e.isRecurring?["Recurring"]:["One-Time"],Ie=e.invoiceNumber??"",Pe=Qt(m.loggedInUser),ke=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";Te===a.scheduleBill?$.trackLowBalanceAccountSchedule(Se,Ce,De,Ie,Pe,ke):Te===a.sendForApproval&&$.trackLowBalanceAccountSentForApproval(Se,Ce,De,Ie,Pe,ke)}}},ve=()=>{je===!0&&V(!1),e.isBillMarkedForRetry===!0?(ot(),$.trackRetryConfirmClick(te?.code??"",T?.code??"",pt?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&(ft(),pe(!1,{}))},bt=d.checkIfCreatorIsApprover(u.amount,w.allApprovalRules,m.loggedInUser),[je,V]=U.useState(!1);return t.jsxs(hn,{children:[st?t.jsx(en,{onCancel:gt,onProceedForMarkAsPaid:ht,saveDetailsFetchState:R?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,je?t.jsx(tn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:ve,onCancelClick:()=>{V(!1),ne()},onClickAway:()=>{V(!1)}}):null,t.jsx(At,{anchor:"right",open:rt,onClose:fe,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Mt,{companyName:Bt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Y?.format(D)??"",paymentType:we,amount:A("0,0[.]00",u),isInvoiceAttached:!!e.file,onClose:fe})}),t.jsxs(gn,{windowSize:s,style:tt,children:[s==="small"?t.jsxs(In,{windowSize:s,children:[t.jsx(Ze,{onClick:be,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(We,{windowSize:s,children:a.oneLastLook})]}):t.jsx(Dn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ze,{onClick:be})}),s!=="small"?t.jsx(fn,{children:t.jsx(We,{windowSize:s,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(bn,{children:[t.jsxs(wn,{children:[t.jsx(zn,{}),t.jsxs($n,{children:[t.jsx(vn,{children:a.duplicateBillPayWarning}),t.jsxs(Tn,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":j("review-detail-attachment-button"),onClick:()=>J(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Rn,{children:[t.jsx(On,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Nt(l);return l!=null?t.jsx(En,{children:Qe.includes(s)?t.jsxs(Ue,{windowSize:s,children:[t.jsxs(jn,{children:[t.jsxs(Sn,{children:[l.attachments&&l.attachments.length>0?t.jsx(Ee,{attachment:l.attachments[0]}):t.jsx(Ve,{children:t.jsx(qe,{})}),t.jsx(K,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Ge,{windowSize:s,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Ln,{"data-testid":j("review-detail-mobile-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsxs(K,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(Ke,{children:r!=null?Ae.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ue,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(Ee,{attachment:l.attachments[0]}):t.jsx(Ve,{children:t.jsx(qe,{})}),t.jsxs(Fn,{"data-testid":j("review-detail-info"),onClick:()=>J(l.id,l.billPayInfo.stage.code),children:[t.jsx(K,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(K,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(Ge,{style:{width:"25%"},windowSize:s,children:A("0,0[.]00",l.amount)})]}),t.jsx(Ke,{children:r!=null?Ae.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Cn,{children:[t.jsx(He,{children:a.pay}),t.jsx(Ye,{children:t.jsx(Be,{amount:yt,integerStyles:q.largeMedium.cssObject,decimalStyles:q.smallMedium.cssObject})}),t.jsx(He,{children:a.to}),t.jsx(Ye,{children:e.vendor?.name})]}),t.jsxs(xn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:L,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("withdrawFrom")}`},children:t.jsx(W,{label:{label:a.withdrawFrom,width:F},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?Lt(e.paymentDetailsSection.withdrawFrom,s):h,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(s),marginTop:p.infoLabelMarginTop.valuePx(s),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(G,{})]}),t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:L,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentType")}`},children:t.jsx(W,{label:{label:a.paymentMethod,width:F},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:xt()})}),t.jsx(G,{}),!g&&Y!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:L,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentDate")}`},children:t.jsx(W,{label:{label:a.paymentDate,width:F},style:{width:"auto"},value:Y.format(D),additionalInfoLabel:`${a.estimatedArrival}${d.zeniDate(d.getNextNthWorkingDay(Y.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(D)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(G,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:L,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentTo")}`},children:t.jsx(W,{label:{label:a.paymentTo,width:F},style:{width:"auto"},value:ct??"",additionalInfoLabel:ut})}),g||nt?t.jsxs(t.Fragment,{children:[t.jsx(G,{}),t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:L,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("recurringPaymentType")}`},children:t.jsx(W,{label:{label:a.paymentType,width:F},style:{width:"auto"},value:Et(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Rt(s,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(mn,{children:t.jsxs(pn,{windowSize:s,children:[t.jsxs(un,{children:[t.jsx(sn,{children:a.total}),t.jsx(Ne,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(cn,{children:[t.jsxs(_e,{children:[t.jsx(re,{children:o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&ee!==v.currencyCode?Re.conversionAmountColon:Fe.invoiceAmount}),t.jsx(oe,{children:A("0,0[.]00",{amount:u.amount-E.amount,currencySymbol:E.currencySymbol})})]}),t.jsxs(_e,{children:[t.jsx(re,{children:Re.transactionFee}),t.jsx(oe,{children:A("0,0[.]00",{amount:E.amount,currencySymbol:E.currencySymbol})})]}),t.jsx(dn,{}),t.jsxs(rn,{children:[t.jsx(re,{children:Fe.total}),t.jsx(oe,{children:A("0,0[.]00",{amount:u.amount,currencyCode:u.currencyCode,currencySymbol:u.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(on,{})})]}),t.jsx(yn,{children:t.jsx(Be,{amount:d.toAmount(u.amount,u.currencyCode,u.currencySymbol),integerStyles:q.h6Medium.cssObject,decimalStyles:q.standardMedium.cssObject})})]})}):null]}),t.jsx(Ot,{cancelBtn:{label:k&&!b?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:k&&!b?$e:ne,style:{width:ze(!1,k,b,Z,s)}},primaryBtn:{label:Oe(b,Z,e.isBillMarkedForRetry),isLoading:R?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress",onClick:b?$e:()=>{bt&&ae!=null?V(!0):ve()},style:{width:ze(!0,k,b,Z,s)}},rightSideComponent:k&&!b&&R.fetchState!=="In-Progress"?t.jsx(_n,{windowSize:s,children:t.jsx(Ne,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:an,placement:"top",children:t.jsx(Un,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Wn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)?t.jsxs(An,{children:[a.internationalText1,t.jsx(Mn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},Oe=(e,w,x)=>e?a.paymentOutsideZeni.markAsPaid:x===!0?a.retryPayment:w?a.sendForApproval:a.scheduleBill,ze=(e,w,x,M,C)=>x?128:w&&!e&&C==="small"?"auto":M?165:p.footerButtonWidth.value(C),on=i(Xt)`
1
+ import{K as Tt,z as vt,x as y,fh as jt,F as St,fi as Ct,fj as Dt,j as t,fk as It,fl as le,fm as Pt,l as d,fn as At,cs as kt,Z as j,fo as Mt,a0 as k,fp as Bt,fq as Nt,fr as ke,fs as Me,ft as Be,y as q,fu as O,fv as z,fw as _,h as S,fx as Rt,fy as Ft,fz as Et,fA as Lt,bw as Ne,o as n,a4 as Ot,n as c,w as zt,bt as _t,V as Wt,Q as Ut,eZ as Vt,bK as Zt,k as se,O as de,fB as Ht,fC as Yt,aC as qt,t as Kt,ao as Gt,p as Xe,b5 as Xt,$ as Qe,aP as Qt,fD as Jt}from"./index-D9zAXs3-.js";import{b as U,n as i}from"./vendor-Bs1fkIUX.js";import{t as en,o as tn}from"./LowBalancePopup-DcVkWdb3-vRNfAVIB.js";import{S as W}from"./LabeledText-CW-bei7--hAClqsQN.js";import"./mui-Ty75qFQF.js";import"./analytics-CBL_L82S.js";import"./routing-lj7oVq6C.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-C2xecagE.js";import"./crypto-DPjkCRYF.js";const Je=["small","medium-compact","medium-regular"],p={largeLabelWidth:new y(150,215,215),infoMinWidth:new y(0,0,0,142,142),infoMarginRight:new y(0,0,0,c[2],c[2]),footerButtonWidth:new y(120,165),iconContainerMarginTop:new y(6,c[1]),navBarContainerPaddingTop:new y(10,c[3]),sectionTitleMarginLeft:new y(c[3],c[0]),reviewContainerMarginLeft:new y(c[3],c[6]),reviewContainerMarginRight:new y(c[3],c[8]),footerRightIconMarginRight:new y(c[0],c[0],c[7]),infoLabelPaddingRight:new y(c[0],c[3]),infoLabelMarginTop:new y(c[1],c[0])},nn={sectionTitle:new Wt("h6Medium","h5Medium")},{dateFormat:Re,common:{currency:v,labels:Fe,edit:an,strings:{empty:h}},spendManagement:{billPay:ln}}=St.getLocalizedStrings(),{billDetails:a,paymentDetails:Ee}=ln,Le=({attachment:e})=>{const[w,x]=U.useState(!1),M=()=>{x(!1)},C=e.fileId?.length===0;return t.jsxs(Bn,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>C===!1?x(!0):null,children:[w&&e?.fileDownloadUrl!=null?t.jsx(Ht,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:x}):null,t.jsx(Nn,{children:t.jsx(Yt,{contentType:e.contentType})})]})},ti=({billDetails:e,billpayApprovalView:w,isBillPayCommentingEnabled:x,currentTenant:M,isInternationalPaymentShaVsOurEnabled:C,isLocalCurrencyEnabled:et,style:tt,analytics:$,isRecurringBillsFeatureEnabled:nt,isApprovalRequiredForMarkAsPaid:it,isDetectInsufficientFundsEnabled:at,billId:f,onClickEdit:ce,discardBillDetailsFromLocalStore:me,saveBillDetails:pe,discardOutsideZeniPaymentData:lt,updateBillDetailSaveBillCode:ue,redirectToBillsScreen:ye,onAttachmentClick:Q,retryPayment:ot})=>{const s=Tt(),m=vt(),B={application:"dashboard",companyId:m.currentTenant?.companyId,tab:"bill",entityId:f},N=x&&f!=null,R=`dashboard_${m.currentTenant?.companyId}`,F=p.largeLabelWidth.value(s),E=e.saveStatus,J=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=jt(C,et,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),D=Re.visual.MMMDCommaYYYYformat,he={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},u={amount:o?.method.includes("international")===!0?Ct(he,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},L={amount:o?.method.includes("international")===!0?Dt(he,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[rt,ge]=U.useState(!1),[st,xe]=U.useState(!1),fe=()=>ge(!1),dt=()=>{$.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ct=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(An,{size:s,children:t.jsx(Pn,{})})]}):It(e.paymentDetailsSection?.paymentTo);U.useEffect(()=>{(E?.fetchState==="Completed"||J?.fetchState==="Completed")&&(me(),ue(),ye())},[E,J,ye,me,ue]);const T=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,V=e.billPayInfo?.billPaymentStatus,mt=e.billPayInfo?.billPaymentRefundStatus,te=T?.code==="paid"?T:P?.code=="approved"&&V?.code?V:P,pt=e.billPayInfo?.isRefundInitiated===!0?mt:P?.code=="approved"&&V?.code?V:P,ne=()=>{ce()},be=()=>{ce()},Z=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),we=ie.replace("Same Day",""),ut=e.isCollectToAccountInfoFromVendorContact?t.jsx(Pt,{paymentTypeLabel:we,onClick:dt}):a.addedByZeni,H=w.allApprovalRules.length>0,yt=d.toAmount(o?.method!=null&&(o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?u.amount-L.amount:u.amount,o?.fee.currencyCode??d.defaultVendorCurrency.currencyCode,o?.fee.currencySymbol??d.defaultVendorCurrency.currencySymbol),g=d.isPaymentMethodOutsideZeni(e.paymentDetailsSection?.paymentType?.method),ht=l=>{$.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",T?.code??"draft",te?.code??""),pe(!0,l)},$e=()=>{xe(!0),$.trackBillPayMarkAsPaid(T?.code??"draft",te?.code??"")},gt=()=>{lt(),xe(!1)},A=g&&(T?.code!=null?T.code==="draft"||P?.code==="approved":!0),b=A&&!it,Te=Oe(b,H,e.isBillMarkedForRetry),xt=()=>g?b?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&C&&ee===v.currencyCode?Ft(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=at&&e.paymentDetailsSection!=null?At(u,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,ft=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,I=e.recurringConfig,wt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&$.trackBillPayAutoDateChange(f??"new_bill"),o?.method!=null&&l!=null){const $t=g?a.paymentOutsideZeni.offline:le(o.method);if($.trackBillPaySendForApproval($t,l.format(Re.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,f,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:d.zeniDate(I?.startDate?.toString()??"").format(D),endDate:d.zeniDate(I?.endDate?.toString()??"").format(D),frequency:I?.frequency??"monthly",totalAmount:wt.amount,totalPaymentCycles:I?.totalPaymentCycles??0,isApprovalRequired:I?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?I?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?I?.updateRecurringBills==="all":void 0}),ae!=null){const Se=T?.code??"draft",Ce=P?.code??"",De=e.isRecurring?["Recurring"]:["One-Time"],Ie=e.invoiceNumber??"",Pe=Jt(m.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";Te===a.scheduleBill?$.trackLowBalanceAccountSchedule(Se,Ce,De,Ie,Pe,Ae):Te===a.sendForApproval&&$.trackLowBalanceAccountSentForApproval(Se,Ce,De,Ie,Pe,Ae)}}},ve=()=>{je===!0&&Y(!1),e.isBillMarkedForRetry===!0?(ot(),$.trackRetryConfirmClick(te?.code??"",T?.code??"",pt?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&(ft(),pe(!1,{}))},bt=d.checkIfCreatorIsApprover(u.amount,w.allApprovalRules,m.loggedInUser),[je,Y]=U.useState(!1);return t.jsxs(hn,{children:[st?t.jsx(en,{onCancel:gt,onProceedForMarkAsPaid:ht,saveDetailsFetchState:E?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,je?t.jsx(tn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:ve,onCancelClick:()=>{Y(!1),ne()},onClickAway:()=>{Y(!1)}}):null,t.jsx(kt,{anchor:"right",open:rt,onClose:fe,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Mt,{companyName:Bt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:Z?.format(D)??"",paymentType:we,amount:k("0,0[.]00",u),isInvoiceAttached:!!e.file,onClose:fe})}),t.jsxs(gn,{windowSize:s,style:tt,children:[s==="small"?t.jsxs(In,{windowSize:s,children:[t.jsx(He,{onClick:be,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(We,{windowSize:s,children:a.oneLastLook})]}):t.jsx(Dn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(He,{onClick:be})}),s!=="small"?t.jsx(fn,{children:t.jsx(We,{windowSize:s,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(bn,{children:[t.jsxs(wn,{children:[t.jsx(zn,{}),t.jsxs($n,{children:[t.jsx(vn,{children:a.duplicateBillPayWarning}),t.jsxs(Tn,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":j("review-detail-attachment-button"),onClick:()=>Q(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(En,{children:[t.jsx(On,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Nt(l);return l!=null?t.jsx(Ln,{children:Je.includes(s)?t.jsxs(Ue,{windowSize:s,children:[t.jsxs(jn,{children:[t.jsxs(Sn,{children:[l.attachments&&l.attachments.length>0?t.jsx(Le,{attachment:l.attachments[0]}):t.jsx(Ye,{children:t.jsx(qe,{})}),t.jsx(G,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Ke,{windowSize:s,children:k("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Rn,{"data-testid":j("review-detail-mobile-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsxs(G,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(Ge,{children:r!=null?ke.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ue,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(Le,{attachment:l.attachments[0]}):t.jsx(Ye,{children:t.jsx(qe,{})}),t.jsxs(Fn,{"data-testid":j("review-detail-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsx(G,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(G,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(Ke,{style:{width:"25%"},windowSize:s,children:k("0,0[.]00",l.amount)})]}),t.jsx(Ge,{children:r!=null?ke.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(X,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Cn,{children:[t.jsx(Ve,{children:a.pay}),t.jsx(Ze,{children:t.jsx(Be,{amount:yt,integerStyles:q.largeMedium.cssObject,decimalStyles:q.smallMedium.cssObject})}),t.jsx(Ve,{children:a.to}),t.jsx(Ze,{children:e.vendor?.name})]}),t.jsxs(xn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"withdrawFrom"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("withdrawFrom")}`},children:t.jsx(W,{label:{label:a.withdrawFrom,width:F},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?Rt(e.paymentDetailsSection.withdrawFrom,s):h,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(s),marginTop:p.infoLabelMarginTop.valuePx(s),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(K,{})]}),t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentType"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentType")}`},children:t.jsx(W,{label:{label:a.paymentMethod,width:F},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:xt()})}),t.jsx(K,{}),!g&&Z!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentDate"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentDate")}`},children:t.jsx(W,{label:{label:a.paymentDate,width:F},style:{width:"auto"},value:Z.format(D),additionalInfoLabel:`${a.estimatedArrival}${d.zeniDate(d.getNextNthWorkingDay(Z.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(D)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(K,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"paymentTo"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("paymentTo")}`},children:t.jsx(W,{label:{label:a.paymentTo,width:F},style:{width:"auto"},value:ct??"",additionalInfoLabel:ut})}),g||nt?t.jsxs(t.Fragment,{children:[t.jsx(K,{}),t.jsx(O,{isThreadAllowed:N,entityId:f,dashboardTabKey:_({type:"details",key:"recurringPaymentType"}),roomId:R,companyId:m.currentTenant?.companyId??h,companyName:m.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${z("recurringPaymentType")}`},children:t.jsx(W,{label:{label:a.paymentType,width:F},style:{width:"auto"},value:Lt(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Et(s,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(mn,{children:t.jsxs(pn,{windowSize:s,children:[t.jsxs(un,{children:[t.jsx(sn,{children:a.total}),t.jsx(Ne,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(cn,{children:[t.jsxs(_e,{children:[t.jsx(re,{children:o.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&ee!==v.currencyCode?Ee.conversionAmountColon:Fe.invoiceAmount}),t.jsx(oe,{children:k("0,0[.]00",{amount:u.amount-L.amount,currencySymbol:L.currencySymbol})})]}),t.jsxs(_e,{children:[t.jsx(re,{children:Ee.transactionFee}),t.jsx(oe,{children:k("0,0[.]00",{amount:L.amount,currencySymbol:L.currencySymbol})})]}),t.jsx(dn,{}),t.jsxs(rn,{children:[t.jsx(re,{children:Fe.total}),t.jsx(oe,{children:k("0,0[.]00",{amount:u.amount,currencyCode:u.currencyCode,currencySymbol:u.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(on,{})})]}),t.jsx(yn,{children:t.jsx(Be,{amount:d.toAmount(u.amount,u.currencyCode,u.currencySymbol),integerStyles:q.h6Medium.cssObject,decimalStyles:q.standardMedium.cssObject})})]})}):null]}),t.jsx(Ot,{cancelBtn:{label:A&&!b?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:A&&!b?$e:ne,style:{width:ze(!1,A,b,H,s)}},primaryBtn:{label:Oe(b,H,e.isBillMarkedForRetry),isLoading:E?.fetchState==="In-Progress"||J?.fetchState==="In-Progress",onClick:b?$e:()=>{bt&&ae!=null?Y(!0):ve()},style:{width:ze(!0,A,b,H,s)}},rightSideComponent:A&&!b&&E.fetchState!=="In-Progress"?t.jsx(_n,{windowSize:s,children:t.jsx(Ne,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:an,placement:"top",children:t.jsx(Un,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Wn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(d.NEW_INTERNATIONAL_METHOD_SUBTEXT)?t.jsxs(kn,{children:[a.internationalText1,t.jsx(Mn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},Oe=(e,w,x)=>e?a.paymentOutsideZeni.markAsPaid:x===!0?a.retryPayment:w?a.sendForApproval:a.scheduleBill,ze=(e,w,x,M,C)=>x?128:w&&!e&&C==="small"?"auto":M?165:p.footerButtonWidth.value(C),on=i(Xt)`
2
2
  width: ${n.sp3};
3
3
  height: ${n.sp3};
4
4
  color: ${e=>e.theme.colors.hero};
5
5
  &:hover {
6
6
  color: ${e=>e.theme.colors.primary};
7
7
  }
8
- `,_e=i(Je)`
8
+ `,_e=i(Qe)`
9
9
  display: flex;
10
10
  justify-content: space-between;
11
11
  padding-bottom: ${n.sp1};
@@ -13,7 +13,7 @@ import{e as Tt,Y as vt,C as y,cF as jt,M as St,cG as Ct,cH as Dt,j as t,cI as It
13
13
  color: ${e=>e.theme.colors.brandColorPearl};
14
14
  `,re=i.div`
15
15
  color: ${e=>e.theme.colors.hero};
16
- `,rn=i(Je)`
16
+ `,rn=i(Qe)`
17
17
  display: flex;
18
18
  justify-content: space-between;
19
19
  padding-top: ${n.sp1};
@@ -68,7 +68,7 @@ import{e as Tt,Y as vt,C as y,cF as jt,M as St,cG as Ct,cH as Dt,j as t,cI as It
68
68
  border-radius: ${n.sp2};
69
69
  margin-bottom: ${n.sp3};
70
70
  margin-top: ${n.sp3};
71
- `,G=i.div`
71
+ `,K=i.div`
72
72
  display: flex;
73
73
  flex: 1;
74
74
  background-color: ${e=>e.theme.colors.grey3};
@@ -102,12 +102,12 @@ import{e as Tt,Y as vt,C as y,cF as jt,M as St,cG as Ct,cH as Dt,j as t,cI as It
102
102
  `,Tn=i(se)`
103
103
  padding-bottom: ${n.sp3};
104
104
  color: ${S.brandColorGoldDark};
105
- `,vn=i(Yt)`
105
+ `,vn=i(Zt)`
106
106
  padding-top: ${n.sp3};
107
107
  color: ${S.brandColorGoldDark};
108
108
  `,Ue=i.div`
109
109
  display: flex;
110
- flex-direction: ${e=>Qe.includes(e.windowSize)?"column":"row"};
110
+ flex-direction: ${e=>Je.includes(e.windowSize)?"column":"row"};
111
111
  width: 100%;
112
112
  `,jn=i.div`
113
113
  display: flex;
@@ -121,15 +121,15 @@ import{e as Tt,Y as vt,C as y,cF as jt,M as St,cG as Ct,cH as Dt,j as t,cI as It
121
121
  `,Cn=i.div`
122
122
  display: flex;
123
123
  padding-top: ${n.sp3};
124
- `,He=i(Gt)`
124
+ `,Ve=i(Kt)`
125
125
  display: flex;
126
126
  color: ${e=>e.theme.colors.hero};
127
127
  margin-right: ${n.sp1};
128
- `,Ye=i(Kt)`
128
+ `,Ze=i(Gt)`
129
129
  display: flex;
130
130
  color: ${e=>e.theme.colors.primary};
131
131
  margin-right: ${n.sp1};
132
- `,Ze=i(_t)`
132
+ `,He=i(_t)`
133
133
  cursor: pointer;
134
134
  color: ${e=>e.theme.colors.hero};
135
135
  width: 20px;
@@ -156,13 +156,13 @@ import{e as Tt,Y as vt,C as y,cF as jt,M as St,cG as Ct,cH as Dt,j as t,cI as It
156
156
  height: ${n.sp3};
157
157
  width: ${n.sp3};
158
158
  color: ${e=>e.theme.colors.hero};
159
- `,kn=i.span`
159
+ `,An=i.span`
160
160
  display: flex;
161
161
  align-items: center;
162
162
  margin-left: ${n.sp2};
163
163
  margin-top: ${e=>p.iconContainerMarginTop.valuePx(e.size)};
164
164
  align-self: ${e=>e.size==="small"?"baseline":"center"};
165
- `,An=i(de)`
165
+ `,kn=i(de)`
166
166
  color: ${e=>e.theme.colors.grey1};
167
167
  display: flex;
168
168
  flex-wrap: wrap;
@@ -193,7 +193,7 @@ import{e as Tt,Y as vt,C as y,cF as jt,M as St,cG as Ct,cH as Dt,j as t,cI as It
193
193
  width: ${n.sp4};
194
194
  height: ${n.sp4};
195
195
  display: flex;
196
- `,Ve=i.div`
196
+ `,Ye=i.div`
197
197
  cursor: default;
198
198
  display: flex;
199
199
  align-items: center;
@@ -203,25 +203,25 @@ import{e as Tt,Y as vt,C as y,cF as jt,M as St,cG as Ct,cH as Dt,j as t,cI as It
203
203
  width: ${n.sp4};
204
204
  height: ${n.sp4};
205
205
  color: ${e=>e.theme.colors.hero};
206
- `,K=i(se)`
206
+ `,G=i(se)`
207
207
  display: flex;
208
208
  color: ${e=>e.theme.colors.hero};
209
209
  align-items: center;
210
210
  min-width: 142px;
211
211
  flex-grow: 1;
212
- `,Ge=i(se)`
212
+ `,Ke=i(se)`
213
213
  display: flex;
214
214
  color: ${e=>e.theme.colors.primary};
215
215
  align-items: center;
216
216
  margin-right: ${e=>p.infoMarginRight.valuePx(e.windowSize)};
217
217
  min-width: ${e=>p.infoMinWidth.valuePx(e.windowSize)};
218
218
  justify-content: flex-end;
219
- `,Ln=i.div`
219
+ `,Rn=i.div`
220
220
  display: flex;
221
221
  cursor: pointer;
222
222
  column-gap: ${n.sp1};
223
223
  margin-left: ${n.sp5};
224
- `,Ke=i.div`
224
+ `,Ge=i.div`
225
225
  width: 120px;
226
226
  display: flex;
227
227
  justify-content: flex-end;
@@ -247,10 +247,10 @@ import{e as Tt,Y as vt,C as y,cF as jt,M as St,cG as Ct,cH as Dt,j as t,cI as It
247
247
  padding: 1px 6px;
248
248
  border: ${e=>`1px solid ${e.borderColor}`};
249
249
  border-radius: ${n.sp1};
250
- `,Rn=i.div`
250
+ `,En=i.div`
251
251
  display: flex;
252
252
  flex-direction: column;
253
- `,En=i.div`
253
+ `,Ln=i.div`
254
254
  display: flex;
255
255
  width: 100%;
256
256
  flex-flow: column;
@@ -260,7 +260,7 @@ import{e as Tt,Y as vt,C as y,cF as jt,M as St,cG as Ct,cH as Dt,j as t,cI as It
260
260
  `,On=i(de)`
261
261
  margin-top: ${n.sp3};
262
262
  color: ${S.alert};
263
- `,zn=i(Ht)`
263
+ `,zn=i(Vt)`
264
264
  min-width: ${n.sp4};
265
265
  height: ${n.sp4};
266
266
  width: ${n.sp4};
@@ -271,7 +271,7 @@ import{e as Tt,Y as vt,C as y,cF as jt,M as St,cG as Ct,cH as Dt,j as t,cI as It
271
271
  display: flex;
272
272
  justify-content: flex-end;
273
273
  margin-right: ${e=>p.footerRightIconMarginRight.valuePx(e.windowSize)};
274
- `,Wn=i(Jt)`
274
+ `,Wn=i(Qt)`
275
275
  cursor: pointer;
276
276
  color: ${e=>e.theme.colors.hero};
277
277
  width: ${n.sp4};
@@ -0,0 +1,152 @@
1
+ import{K as P,j as e,Z as x,o as r,a4 as L,x as d,a3 as M,V as C,Q as W,h as s,k as y,b_ as R,i as I,$ as j,aB as D,n,d_ as G,az as V,ji as A}from"./index-D9zAXs3-.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{t as F}from"./loader-BwDk7JSW-DoE-nOgh.js";const a={containerMarginTop:new d(0,n[2]),containerMarginLeft:new d(n[3],n[8]),containerMarginRight:new d(n[3],n[8]),subTitleMarginBottom:new d(n[2],n[2]),titleMarginBotom:new d(n[0],n[2]),titleMarginRight:new d(n[0],n[3]),navBarHeight:new d(62,62,62),navBarPaddingLeft:new d(n[3],n[3],n[8]),navBarPaddingRight:new d(n[3],n[3],n[8])},J={title:new C("h6Regular","h5Regular")},mi=({title:i,description:p,reviewItems:S,showFooter:b,footerProps:{primaryButton:z,cancelButton:T,hideCancel:E},onCloseOverlay:k,onCloseReviewItem:B})=>{const l=P();return e.jsxs(Q,{children:[e.jsx(N,{windowSize:l,children:e.jsx(U,{children:e.jsx(X,{windowSize:l,children:e.jsx(ii,{children:e.jsx(ei,{onClick:k,"data-testid":x("review-overlay-close",i)})})})})}),e.jsxs(_,{windowSize:l,children:[e.jsxs(H,{windowSize:l,children:[e.jsx(O,{children:e.jsx(Y,{windowSize:l,children:i})}),e.jsx(Z,{isError:p.isError,windowSize:l,children:p.content})]}),e.jsx(q,{windowSize:l,children:S.map(o=>{const h=o.reviewStatus.code==="error",c=o.reviewStatus.code==="warning"||o.reviewStatus.code==="low-balance";return e.jsxs(ri,{isLoading:!1,isActive:!0,isWarning:c,isError:h,children:[c?e.jsx(ci,{onClick:()=>B(o.id),"data-testid":x("review-close",o.id)}):null,e.jsxs(ti,{children:[e.jsxs(ni,{children:[e.jsx(di,{children:K(o)}),e.jsxs(oi,{children:[e.jsxs(m,{children:[e.jsx(u,{style:{marginLeft:r.sp2},isWarning:c,isError:h,children:o.leftSideText.title}),e.jsx(u,{isWarning:c,isError:h,children:o.rightSideText.title})]}),e.jsxs(m,{children:[e.jsx(si,{style:{marginLeft:r.sp2},children:o.leftSideText.subTitle}),l!=="small"?e.jsxs(w,{windowSize:l,children:[e.jsx(g,{isError:h,isWarning:c,children:e.jsxs(e.Fragment,{children:[o.rightSideText.showThunderIcon===!0?e.jsx(f,{children:e.jsx($,{})}):null,o.rightSideText.subTitle]})}),e.jsx(g,{isWarning:!0,isError:!1,children:o.rightSideText.additonalInfo})]}):null]})]})]}),l==="small"?e.jsxs(w,{windowSize:l,children:[e.jsx(g,{style:{marginLeft:r.sp5,marginTop:r.sp0},isError:h,isWarning:c,children:e.jsxs(e.Fragment,{children:[o.rightSideText.showThunderIcon===!0?e.jsx(f,{children:e.jsx($,{})}):null,o.rightSideText.subTitle]})}),e.jsx(g,{style:{marginLeft:r.sp5,marginTop:r.sp0},isWarning:c,isError:h,children:o.rightSideText.additonalInfo})]}):null]})]},o.id)})})]}),b?e.jsx(L,{primaryBtn:z,cancelBtn:T,showCancel:!E}):null]})},K=i=>i.reviewStatus.isLoading?e.jsx(I,{size:"Small",style:{display:"flex",width:r.sp4,height:r.sp4,alignItems:"center",justifyContent:"center"},start:!0}):i.reviewStatus.code==="error"?e.jsx(v,{isError:!0}):i.reviewStatus.code==="warning"?e.jsx(v,{isError:!1}):i.reviewStatus.code==="valid"?e.jsx(li,{}):i.reviewStatus.code==="low-balance"?e.jsx(hi,{}):e.jsx(ai,{}),Q=t.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ background-color: ${i=>i.theme.colors.grey4};
5
+ `,_=t.div`
6
+ min-height: 100vh;
7
+ display: flex;
8
+ flex-direction: column;
9
+ margin-top: ${i=>a.containerMarginTop.valuePx(i.windowSize)};
10
+ margin-bottom: ${r.sp8};
11
+ `,H=t.div`
12
+ position: sticky;
13
+ top: ${r.sp0};
14
+ background-color: ${i=>i.theme.colors.grey4};
15
+ z-index: 1;
16
+ padding-left: ${i=>a.containerMarginLeft.valuePx(i.windowSize)};
17
+ padding-right: ${i=>a.containerMarginRight.valuePx(i.windowSize)};
18
+ `,O=t.div`
19
+ display: flex;
20
+ align-items: center;
21
+ `,Y=t(W)`
22
+ ${i=>`${J.title.style(i.windowSize)}`};
23
+ color: ${i=>i.theme.colors.primary};
24
+ margin-top: ${r.sp2};
25
+ margin-bottom: ${i=>a.titleMarginBotom.valuePx(i.windowSize)};
26
+ margin-right: ${i=>a.titleMarginRight.valuePx(i.windowSize)};
27
+ `,Z=t(y)`
28
+ margin-bottom: ${i=>a.subTitleMarginBottom.valuePx(i.windowSize)};
29
+ color: ${i=>i.isError?s.important:i.theme.colors.hero};
30
+ `,q=t.div`
31
+ display: flex;
32
+ flex-direction: column;
33
+ margin-top: ${r.sp3};
34
+ margin-left: ${i=>a.containerMarginLeft.valuePx(i.windowSize)};
35
+ margin-right: ${i=>a.containerMarginRight.valuePx(i.windowSize)};
36
+ `,N=t.div`
37
+ min-height: ${i=>a.navBarHeight.valuePx(i.windowSize)};
38
+ position: sticky;
39
+ border-bottom: 1px solid transparent;
40
+ z-index: 2;
41
+ top: ${r.sp0};
42
+ width: 100%;
43
+ `,U=t.div`
44
+ position: relative;
45
+ min-height: 62px;
46
+ `,X=t.div`
47
+ display: flex;
48
+ flex-direction: row;
49
+ align-items: center;
50
+ justify-content: space-between;
51
+ position: absolute;
52
+ top: ${r.sp0};
53
+ left: ${r.sp0};
54
+ right: ${r.sp0};
55
+ padding-right: ${i=>a.navBarPaddingRight.valuePx(i.windowSize)};
56
+ padding-left: ${i=>a.navBarPaddingLeft.valuePx(i.windowSize)};
57
+ height: 100%;
58
+ `,ii=t.div`
59
+ display: flex;
60
+ flex: 1 1 0;
61
+ justify-content: flex-end;
62
+ `,ei=t(M)`
63
+ width: ${r.sp4};
64
+ height: ${r.sp4};
65
+ cursor: pointer;
66
+ color: ${i=>i.theme.colors.grey1};
67
+ &:hover {
68
+ color: ${i=>i.theme.colors.primary};
69
+ }
70
+ `,ri=t.div`
71
+ position: relative;
72
+ display: flex;
73
+ background-color: ${i=>i.isActive?i.isError?s.importantLight:i.isWarning?s.alertLight:i.theme.colors.grey5:i.theme.colors.grey5};
74
+ border: ${i=>`1px solid ${i.theme.colors.grey3}`};
75
+ border-radius: ${r.sp2};
76
+ margin-bottom: ${r.sp3};
77
+ border-color: ${i=>i.isActive?i.isError?s.important:i.isWarning?s.brandColorGoldDark:i.theme.colors.grey3:i.isLoading?i.theme.colors.primary:i.theme.colors.grey3};
78
+ flex-direction: column;
79
+ box-shadow: ${r.sp0} 1px 2px ${r.sp0} ${s.boxShadowElevation};
80
+ `,ti=t.div`
81
+ padding: ${r.sp3} ${r.sp4};
82
+ align-items: center;
83
+ `,ni=t.div`
84
+ display: flex;
85
+ width: 100%;
86
+ `,oi=t.div`
87
+ display: flex;
88
+ flex-direction: column;
89
+ width: 100%;
90
+ align-items: center;
91
+ `,m=t.div`
92
+ display: flex;
93
+ width: 100%;
94
+ justify-content: space-between;
95
+ `,w=t.div`
96
+ display: flex;
97
+ flex-direction: column;
98
+ align-items: ${i=>i.windowSize==="small"?"self-start":"self-end"};
99
+ `,u=t(y)`
100
+ color: ${i=>i.isError||i.isWarning?i.theme.mode==="dark"?s.neutralGrey4Dark:i.isWarning:i.theme.colors.primary};
101
+ `,si=t(j)`
102
+ margin-top: -5px;
103
+ color: ${i=>i.theme.mode==="dark"?s.neutralGrey1Dark:i.theme.colors.primary};
104
+ `,g=t(j)`
105
+ display: flex;
106
+ margin-top: -5px;
107
+ color: ${i=>i.isError?s.important:i.isWarning?s.brandColorGoldDark:i.theme.colors.primary};
108
+ `,v=t(G)`
109
+ width: ${r.sp4};
110
+ height: ${r.sp4};
111
+ color: ${i=>i.isError?s.important:s.brandColorGoldDark};
112
+ `,li=t(V)`
113
+ width: ${r.sp4};
114
+ height: ${r.sp4};
115
+ color: ${s.success};
116
+ `,ai=t(F)`
117
+ width: ${r.sp4};
118
+ height: ${r.sp4};
119
+ color: ${i=>i.theme.colors.grey2};
120
+ `,di=t.div`
121
+ margin-top: 2px;
122
+ display: flex;
123
+ `,ci=t(R)`
124
+ cursor: pointer;
125
+ color: ${i=>i.theme.colors.hero};
126
+ &:hover {
127
+ color: ${i=>i.theme.colors.primary};
128
+ }
129
+ position: absolute;
130
+ top: -12px;
131
+ right: -12px;
132
+ display: flex;
133
+ justify-content: center;
134
+ align-items: center;
135
+ width: ${r.sp4};
136
+ height: ${r.sp4};
137
+ border-radius: 50%;
138
+ background-color: ${i=>i.theme.colors.grey5};
139
+ `,f=t.div`
140
+ display: flex;
141
+ align-items: center;
142
+ justify-content: center;
143
+ margin-right: ${r.sp1};
144
+ `,$=t(D)`
145
+ color: ${i=>i.theme.colors.brandColorJade};
146
+ width: ${r.sp3};
147
+ height: ${r.sp3};
148
+ `,hi=t(A)`
149
+ color: ${i=>i.theme.colors.brandColorGoldDark};
150
+ width: ${r.sp4};
151
+ height: ${r.sp4};
152
+ `;export{mi as u};