@zeniai/web-cockpit-ui 1.14.17-prod → 1.14.18-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. package/dist/assets/ACHDetailsPage-DDccOBrQ-xtRCcN-J.js +21 -0
  2. package/dist/assets/{AIPerformancePage-4oC8MJWN-CnZuazuh.js → AIPerformancePage-u3qF__mF-Cwmno93h.js} +42 -42
  3. package/dist/assets/{AccountInfoPage-mOPytffA-Bb_0HfAI.js → AccountInfoPage-vDWC6AMf-DzR0-3Io.js} +2 -2
  4. package/dist/assets/{AccountInfoPageContent-VULusDEd-B6jGNgpa.js → AccountInfoPageContent-0PqU7bCV-D6wFAbY2.js} +13 -13
  5. package/dist/assets/{AccountReconDetailsDrawerPage-89APlrhb-Bn5bJkKR.js → AccountReconDetailsDrawerPage-DEqtU-rh-Deoo-ctA.js} +19 -19
  6. package/dist/assets/{AccountRow-DJd-IAIl-CphVozdW.js → AccountRow-DTQ6Qoyr-_b2APADd.js} +25 -25
  7. package/dist/assets/{AccountsPromoCardStack-DE39TpIu-DddyJFZU.js → AccountsPromoCardStack-DkYqKp1i-mDnDl8sy.js} +33 -33
  8. package/dist/assets/{AddAddressForCardDrawer-CKdcU_pi-Cru8pian.js → AddAddressForCardDrawer-DB3HtvgV-DDm-Yx81.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-DPXW2fbY-DpUkWVOQ.js → AddToWalletPage-DvgM0-kj-TsEzz5fI.js} +22 -22
  10. package/dist/assets/{AgingReportsPage--CLUwcIa-Df3CNo1p.js → AgingReportsPage-BP6-oG6W-DRhLxK4p.js} +16 -16
  11. package/dist/assets/{AllUserItems-CC9l-O5G-CIqB0NVu.js → AllUserItems-w6M8k5yU-DRpE6VjZ.js} +9 -9
  12. package/dist/assets/ApAgingDetailPage-BZuNGMx_-DRH7p0_b.js +46 -0
  13. package/dist/assets/{AppBasePage-CgHKYFmd-D_Q-scFo.js → AppBasePage-l_TUUps8-K0ozDeR0.js} +10 -10
  14. package/dist/assets/{AppDrawerContent-Cofo0-5p-C2SMJMAF.js → AppDrawerContent-_gInVeZf-CqHabOEw.js} +19 -19
  15. package/dist/assets/{ApprovalRulesSettingsPage-DsshEbzW-MDJUC8F8.js → ApprovalRulesSettingsPage-CKRde9he-CmSQRugq.js} +7 -7
  16. package/dist/assets/{ArAgingChart-K2LSe8mo-DOPhX4_p.js → ArAgingChart-Dg0oBo5K-CF9AvFJC.js} +1 -1
  17. package/dist/assets/{ArAgingDetailPage-DCFL9YAy-B1OHW5_X.js → ArAgingDetailPage-CNizMSbt-CgouefYI.js} +4 -4
  18. package/dist/assets/{AttachmentView-Cn3VnVyO-DO8fl7Lg.js → AttachmentView-B8hloBca-DRZOHo7x.js} +7 -7
  19. package/dist/assets/{BankAccountSection-Au9_D0Ji-BBXMunsx.js → BankAccountSection-4HNC0ypd-BpuQrkpU.js} +8 -8
  20. package/dist/assets/{BankAccountWarningSection-927iR_QB-BtJVaVYW.js → BankAccountWarningSection-BqgTMjDy-DwldrkYy.js} +7 -7
  21. package/dist/assets/{BankConnectionsSettingsPage-CXab8fzD-CR1SLWcp.js → BankConnectionsSettingsPage-BBQh1oT8-CYERxE0e.js} +26 -26
  22. package/dist/assets/{BillDetailPage-yIdrE7YG-mSNBPVBH.js → BillDetailPage-R4oRrdsm-Bhl-v3vo.js} +20 -20
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-BJl_-eJN-DfRKnShy.js → BillPayApprovalRuleDetailPage-d_A1-Gv_-D0vt2nJT.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-rXaFCSLp-cxxlZdoV.js → BillPayApprovalRulesPage-5q5b2drs-DNrIHclU.js} +8 -8
  25. package/dist/assets/{BillPayPromoPage-BLi_wIbj-DG-GObEW.js → BillPayPromoPage-Dz_R3Vd_-D4VHTD7W.js} +10 -10
  26. package/dist/assets/{BillPaySetUpPage-BFmpWT_x-DZ1bn6xG.js → BillPaySetUpPage-CwTRrElO-Dy2xJbwX.js} +2 -2
  27. package/dist/assets/{BillingSettingsPage-Da01aYql--XoIQE9r.js → BillingSettingsPage-_XJCl2yq-D0rAMBJt.js} +5 -5
  28. package/dist/assets/{BillsBulkReviewDrawerPage-J2kO9_8C-CrGFgMQq.js → BillsBulkReviewDrawerPage-B_S35aKX-pMNSaHSP.js} +1 -1
  29. package/dist/assets/{BoxItem-CQlEDklH-D0f8uekU.js → BoxItem-9JmA6QqI-D4hhkbCR.js} +4 -4
  30. package/dist/assets/{BusinessVerificationPage-DWhXCuG5-CIyaCpTi.js → BusinessVerificationPage-DJKOIC1M-BEeGVZ1S.js} +11 -11
  31. package/dist/assets/{CardNumberSubText-BTjxrF3b-DCQPgxX5.js → CardNumberSubText-CewmMWju-DJiRPNiZ.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-qcMtGUQ0-Dz_yXoTf.js → CashbackDetailPage-HtjAmPa8-DEVbhkAr.js} +26 -26
  33. package/dist/assets/{ChargeCardDetailPage-BurpUHl9-Ciqrx0hJ.js → ChargeCardDetailPage-D_5vb_92-DYjdXqRv.js} +27 -27
  34. package/dist/assets/{ChargeCardListPage-CBIYOllB-D1mmmMlz.js → ChargeCardListPage-BT-8bueF-C8QRxzgr.js} +23 -23
  35. package/dist/assets/{ChargeCardListTable-BTZu7ldI-DaxCsUOF.js → ChargeCardListTable-oJTQcOkc-HAou4pja.js} +104 -104
  36. package/dist/assets/ChargeCardPromoPage-Dp01F4cn-Br2kcjZo.js +222 -0
  37. package/dist/assets/{ChargeCardSetupPage-QOdjFcsr-HqJ0CY43.js → ChargeCardSetupPage-cqydgFPZ-KP5FKJ0i.js} +2 -2
  38. package/dist/assets/{ChargeCardStatementsPage-C1UmjyIW-t-HeuD0G.js → ChargeCardStatementsPage-URwhXATj-BVz6_ztr.js} +8 -8
  39. package/dist/assets/{ChargeCardUtils-C3fhOMpV-CxA3bvB_.js → ChargeCardUtils-DBEgXAMc-DYsQMmpv.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-RPex2o5e-D5Pnk6_2.js → ChaseOverlay-HTpWDuLt-D0qtM7hD.js} +10 -10
  41. package/dist/assets/CheckDepositDrawerPage-DLc3qfVH-Dq_DIMy3.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-Ds0h8x1N-D9fMaQRX.js → CollapsableReportTable-PpQgBBRC-BpxIl-X-.js} +93 -93
  43. package/dist/assets/{CompanyOfficerDetailsSection-B8yGAFVj-C_nLkKUv.js → CompanyOfficerDetailsSection-C1aPsDga-DX0GYxxu.js} +35 -35
  44. package/dist/assets/{CompanyPassportCard-BDei9Pfp-BpecpsWG.js → CompanyPassportCard-DMKqBgwh-20YLIkOw.js} +6 -6
  45. package/dist/assets/{CompanyPassportPage-DFA733vS-B2zKe1Pz.js → CompanyPassportPage-CHHPIqN_-CQsnT2Hp.js} +37 -37
  46. package/dist/assets/CompleteProfile-D6jHfaC2-Cwowcy8N.js +36 -0
  47. package/dist/assets/{ConfettiBurst-97CCPVCH-BD_XmOVp.js → ConfettiBurst-14a5kaEE-D-oFz-sG.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-BSi6pOXN-DB5j0ELP.js → CreateOrEditVendorPage-K5rhe_y3-6e_B7drg.js} +11 -11
  49. package/dist/assets/{CreditCardPaymentDrawerPage-ZletyeGG-CBseyU9r.js → CreditCardPaymentDrawerPage-LQ--HUI9-Ct-Z_PH4.js} +20 -20
  50. package/dist/assets/{CreditCardPaymentPlgSection-BE982atG-BhAoucSV.js → CreditCardPaymentPlgSection-BM05WC-i-Bk08bY1j.js} +12 -12
  51. package/dist/assets/{CurrencySelectField-cnP09xH2-Bqd53-DL.js → CurrencySelectField-bhkJTNUW-TAA9r3NA.js} +4 -4
  52. package/dist/assets/{CustomerOnboardingActivationPage-DhcKiTJ_-p0-cJZJZ.js → CustomerOnboardingActivationPage-BHD1irjF-BuHM5vzQ.js} +9 -9
  53. package/dist/assets/CustomerOnboardingContainerPage-BhS5NmVt-CloO5_fX.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-jguCmaVx-hiDye2lr.js → CustomerOnboardingDetailPageSkeleton-B--kAA3i-BtWP8-CX.js} +11 -11
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-xakP7IDr-DoZL-q4V.js → CustomerOnboardingNoStepsPage-sHKAos8m-1qMzs8BU.js} +5 -5
  56. package/dist/assets/{CustomerOnboardingPage-Ct5YbyHs-hceBe625.js → CustomerOnboardingPage-B_S5G-6o-Cv0ITZ4_.js} +10 -10
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-CugfvMkw-CeReM7po.js → CustomerOnboardingProductSuitePage-CVi8WuQY-DZMQtVHo.js} +12 -12
  58. package/dist/assets/{Dashboard-XbVGCnvI-CRdBErKY.js → Dashboard-CIMiF6eU-SPzOaUuR.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-OeEPg2kx-BRZthuDb.js → DashboardReportPage-6z6qBQSB-C79wD_Nr.js} +21 -21
  60. package/dist/assets/{DepositAccTransactionItem-Dy6qzuSL-DPoAonWw.js → DepositAccTransactionItem-BQYFrzDW-VNbpp2iU.js} +10 -10
  61. package/dist/assets/DepositAccTransactionListPage-xSNsUwS4-DJcgYerm.js +66 -0
  62. package/dist/assets/{DomesticWireDetailsPage-B0tbjNLO-N6WWRyiF.js → DomesticWireDetailsPage-b1iB1HBM-CrTulX9A.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-BKKO1nm1-BBPGQxTo.js → DownloadOverlay-C3oy6eq7-CCVozCSE.js} +12 -12
  64. package/dist/assets/{DrawerPage-osM8gPVn-oFq0Mi3x.js → DrawerPage-DLVTld-y-Cb3VyNgX.js} +12 -12
  65. package/dist/assets/EditPeoplePage-DKJNf1oJ-6CdgkITi.js +55 -0
  66. package/dist/assets/{EditReimbursementDetailPage-DvLeCixY-a8i3cgCY.js → EditReimbursementDetailPage-zgUt303N-BpiV7KXr.js} +80 -80
  67. package/dist/assets/{EntityDetailPage-BzJbAOSj-C2me2h-9.js → EntityDetailPage-DY4i6GZK-DN-UWde9.js} +3 -3
  68. package/dist/assets/{EntitySummarySection-Drj07P9h-BB10Ph6X.js → EntitySummarySection-BbxeYdm8-Bf_NXajy.js} +13 -13
  69. package/dist/assets/{ExpenseAutomationOverviewPage-BQ9dwGkq-Dd5Wu1Oq.js → ExpenseAutomationOverviewPage-D3x3XpmU-fjM7OZCO.js} +31 -30
  70. package/dist/assets/{ExpenseAutomationPage-DLld6Lux-CU8XbJdU.js → ExpenseAutomationPage-BTAjM6yZ-yDXqzAOJ.js} +56 -56
  71. package/dist/assets/{ExpressPayPage-QBNV0dC8-CiKLiNx-.js → ExpressPayPage-C30-lVTo-C8uKTmQz.js} +11 -11
  72. package/dist/assets/FeaturePreviewPage-BRqSxk9H-D2VfZkvq.js +11 -0
  73. package/dist/assets/{FollowStepsSection-1RCO2W7K-BM-qYKhG.js → FollowStepsSection-B171fPtM-D2ueI9DZ.js} +28 -28
  74. package/dist/assets/{GlobalReviewListPage-ByMZFe7Y-DFTTsWiV.js → GlobalReviewListPage-BaZx32sB-CsLBtCph.js} +14 -14
  75. package/dist/assets/HelpButton-ewiNuwlj-a7BLQVoR.js +28 -0
  76. package/dist/assets/{InformationCardStack-C0AmMOu2-DYhd3hfJ.js → InformationCardStack-BtxneVKK-CvEQzEwX.js} +6 -6
  77. package/dist/assets/{InsightsCardStack-BiIDBYY8-2xqS770j.js → InsightsCardStack-CCee6pLA-D-hqWx-q.js} +7 -7
  78. package/dist/assets/InsightsSection-BZNwdoG4-BHWxrsk5.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-7wAnV8kG-DrGJO8v7.js → IntegrationsSettingsPage-CsY38-LI-tUcaBNIE.js} +9 -9
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-C7D15jtK-DB-bqxLJ.js → InternationalWireSwiftDetailsPage-sSSgjYdh-CECQrN0I.js} +17 -17
  81. package/dist/assets/{InternationalWireVerificationPage-GDKPXtU--BuWSY4mt.js → InternationalWireVerificationPage-zv0FIhUz-BUPdBF6w.js} +14 -14
  82. package/dist/assets/{InviteFormPage-CKGJHYWa-CVTJzGcr.js → InviteFormPage-DxszbbOJ-CJWqS0tA.js} +19 -19
  83. package/dist/assets/{InvitePageListView-CWXyDZU2-BrT7iR9u.js → InvitePageListView-BYVWTwTc-Dq61wzB9.js} +46 -46
  84. package/dist/assets/InvitePeoplePage-CJ4KyyxI-Ci7vEwdq.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-Dy_H9a8Y-CvpINn7W.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-DLX44XaR-DFyVTb1t.js → IssueChargeCardPage-CPmj_trJ-CTV2OfvE.js} +19 -19
  87. package/dist/assets/LabeledAddressValue-BVpwGdA2-5vfMRzOg.js +49 -0
  88. package/dist/assets/LabeledAddressValueField-Eka4fXzu-BSJMd52k.js +45 -0
  89. package/dist/assets/{LabeledControlledCheckBoxField-B6cLYSmS-DZ07Eb4a.js → LabeledControlledCheckBoxField-BnfJ3gKr-7p5KdXvW.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-CV4GQQ7F-BUa9hT46.js → LabeledCreatableSingleSelectField-CJT-CuQl-C0rlBcX2.js} +4 -4
  91. package/dist/assets/{LabeledDocumentField-BFhyNqP8-BDvJv_kZ.js → LabeledDocumentField-BoraKtTI-BRERXK8W.js} +6 -6
  92. package/dist/assets/{LabeledDropDownFormattedTextField-gE3aWP_T-6PD3W-AE.js → LabeledDropDownFormattedTextField-elNvxcOB-BPm7rTz8.js} +7 -7
  93. package/dist/assets/{LabeledText-0pRIcJw5-r2ZCEVQ7.js → LabeledText-DhZgeQqu-Dz4gRnMS.js} +1 -1
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-C-32ySGI-DQOygX87.js → LabeledUserSingleSelectWithSubtitlesField-D63Z4SE5-Hunv1W3n.js} +16 -16
  95. package/dist/assets/{LabeledZeniRolesDropDownField--l6D29VX-B6DyGDEy.js → LabeledZeniRolesDropDownField-MwrQ9tKT-DwAqMpNU.js} +11 -11
  96. package/dist/assets/{LinkJETransactionPage-DLcpx9ns-Bh9TF_MD.js → LinkJETransactionPage-BpQXs8JH-CczVuOJd.js} +6 -6
  97. package/dist/assets/{LowBalancePopup-BuelKDeS-CSLx6wJV.js → LowBalancePopup-DPbr0gUO-BMtDcyj7.js} +7 -7
  98. package/dist/assets/{MagicLinkACHDetailsPage-NIkquHvv-yh6XMQtL.js → MagicLinkACHDetailsPage-D11FRh9u-CA4ESgf_.js} +1 -1
  99. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CdaNz396-yCrWXvxr.js → MagicLinkDomesticWireDetailsPage-CG7yqz6X-CxkGJZaJ.js} +1 -1
  100. package/dist/assets/{MagicLinkInternationalWireDetailsPage-CnEhS5PP-B5MwqJ-A.js → MagicLinkInternationalWireDetailsPage-PkDENzkO-BALvlHZZ.js} +1 -1
  101. package/dist/assets/{MagicLinkSuccessPage-D_VJZV0O-DPuvz2hP.js → MagicLinkSuccessPage-BS9ddhQA-DfzVlezu.js} +2 -2
  102. package/dist/assets/MagicLinkTitleSection-CBYkZ8RD-DOnIUCAU.js +17 -0
  103. package/dist/assets/{MailingDetailsSection-CTrx1xoB-C-u8Huuq.js → MailingDetailsSection-Cx1s77og-DXexyF-i.js} +1 -1
  104. package/dist/assets/{MeetingCalenderPopup-DWvpTRQJ-zZIl1j3H.js → MeetingCalenderPopup-DNthMj1J-DCVu9x9-.js} +1 -1
  105. package/dist/assets/{Menu-CbQ6Zkdp-BweiK2nA.js → Menu-CIjXHu3p-BVUzW_3W.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-9dQLb8iw-Cj5yJXwt.js → MyBankConnectionsSettingsPage-D77Axpyj-Dsr9teql.js} +15 -15
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-B2-YthuF-VM5npBIO.js → MyPendingActivationChargeCardListPage-CnZZJsMY-KyflajTT.js} +2 -2
  108. package/dist/assets/{MyProfileSettingsPage-CfmYPv4_-CIgxbDkF.js → MyProfileSettingsPage-iXkYV9nQ-C8PmA-Fq.js} +6 -6
  109. package/dist/assets/NavBarWithPicker-D8Mx-0SS-CQTf4kGi.js +30 -0
  110. package/dist/assets/{NavigationArrow-9pvhzLz8-DVcM928l.js → NavigationArrow-DOvptaEZ-B1BrtWg6.js} +2 -2
  111. package/dist/assets/{NavigationDots-CXPwKFh1-CrC7B7FZ.js → NavigationDots-HukimDRY-BSdcE3Mo.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-D6ZpP6J1-Ddado9Ux.js → NewGlobalMerchantPage-BlOMnHda-Cw8vvr0B.js} +12 -12
  113. package/dist/assets/{NoDataChart-BUR7CF8w-DuHnCUpX.js → NoDataChart-DyGfwFNo-Bpe0xKgS.js} +1 -1
  114. package/dist/assets/{NoDataTable-3L4pbKR0-BTgZwbfH.js → NoDataTable-CJseWuln-x_ccMVrT.js} +1 -1
  115. package/dist/assets/{NotFoundPage-CgZfmKbj-CphquTAk.js → NotFoundPage-UG00-OBF-BoQnjyIO.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-BwYT3Tdc-DgiFqwCF.js → NotificationSettingsPage-COyRIY7z-B69eM29f.js} +17 -17
  117. package/dist/assets/NotificationsListConfig-BR7QDiGp-CoZ9cxNa.js +1 -0
  118. package/dist/assets/{NotificationsPage-6qNQYQK4-Cp_wAk4A.js → NotificationsPage-DNSiZHw_-DhSCbYyU.js} +38 -38
  119. package/dist/assets/{OpExByVendorPage-C28MBvmW-CBPzAPyp.js → OpExByVendorPage-DmSYppgo-B8QxoNs0.js} +7 -7
  120. package/dist/assets/{OverlayContainerPage-9K5jaX8Z-Cd7_J73p.js → OverlayContainerPage-DB42kFLd-BB8Mm-uG.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-onJJ3Fh4-D0Ni0A1f.js → PandLWithForecastPage-Cvpj3Rx7-BBqZBlne.js} +12 -12
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-nGuJ5fbq-Dddw_6qi.js → PaymentAccountSetupBillingAddressSection-CsldB-k7-VgWcdB9R.js} +9 -9
  123. package/dist/assets/{PeoplePage-CKzezKqB-B4QnLpIu.js → PeoplePage-CZhJF86l-BUJerLay.js} +33 -33
  124. package/dist/assets/PortfolioAllocationFormPage-9GM9dOrM-B8ssUltJ.js +207 -0
  125. package/dist/assets/{PortfolioDetails-CIv1yXo2-DlYUzm0Y.js → PortfolioDetails-BmAHjCVw-CsG6lf5x.js} +42 -42
  126. package/dist/assets/{ProductsCarousel-CSUQ6rVw-Dq7KRKaA.js → ProductsCarousel-DnbMUIHf-CibvwP8L.js} +7 -7
  127. package/dist/assets/{PromoBaseCards-2L1JfY-v-BRtC8pzf.js → PromoBaseCards-BC5rOok_-CbjLwgXv.js} +1 -1
  128. package/dist/assets/{QBOConnectionDialog-DNP_b7aK-CAIkgcbW.js → QBOConnectionDialog-Ci5zNza5-6_E7GkKa.js} +4 -4
  129. package/dist/assets/{QBOSetupSection-CGrGCC2j-ClZ3tkq4.js → QBOSetupSection-BTOCiyES-BQ9iHLEQ.js} +12 -12
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DqxyCfuQ-6J_ZREq6.js → ReimbursementApprovalRuleDetailPage-BfU-6jeB-4BEDb2U8.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRulesPage-D_RMSSoW-CMxgtEwF.js → ReimbursementApprovalRulesPage-M8JZSUOE-C8eBggiH.js} +32 -32
  132. package/dist/assets/{ReimbursementDetailPage-BkT7zJoE-L1Yuetx5.js → ReimbursementDetailPage-D54RyrP4-DTi4hKLb.js} +23 -23
  133. package/dist/assets/ReimbursementPromoPage-B2uVT4md-CMAH_EoV.js +112 -0
  134. package/dist/assets/{ReimbursementSetUpPage-lH4Z7Lqi-CerDtxfZ.js → ReimbursementSetUpPage-DgZLqhEv-7jHyoRwK.js} +13 -13
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Bvh4mRws-CJIomqpb.js → ReimbursementsBulkReviewDrawerPage-DdaqWcd4-DhSMDa4E.js} +1 -1
  136. package/dist/assets/{ReloadCard-BQKVLlzZ-CMEhPfYG.js → ReloadCard-Brl4XdzV-avg2x7k6.js} +5 -5
  137. package/dist/assets/{ReportTableViewSelector-Cvk4LxRf-DCkfwUK_.js → ReportTableViewSelector-BUwsckE_-Cr50tsiY.js} +9 -9
  138. package/dist/assets/{ReportsPage-C2cIfu51-B7K6BN2I.js → ReportsPage-B_p1fu0v-DX66zZ_7.js} +4 -4
  139. package/dist/assets/{RevenueChart-ByCekdyG-Db6fZ8Z0.js → RevenueChart-Wm8uOprY-DjqKlnHO.js} +17 -17
  140. package/dist/assets/{ReviewDetailsPage-DGyfz9q5-P_BYWYwL.js → ReviewDetailsPage-KBHsF8bJ-BZe7KZL0.js} +26 -26
  141. package/dist/assets/{ReviewOverlay-Dp5yLAdR-ppQTrb43.js → ReviewOverlay-Dw0qj7TA-qOb8xPV_.js} +21 -21
  142. package/dist/assets/{RoleWithToolTip-B7xRZ-3a-B3ckgpb9.js → RoleWithToolTip-XfK92pcD-DtUyDW-U.js} +4 -4
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BvJX-G-F-kKNu4fRT.js → ScheduleDetailsFixedAssetsPage-BWlIEli5-C8Xnu1wF.js} +8 -8
  144. package/dist/assets/{ScheduleDetailsPage-CNpkuW7O-CkNLmYrd.js → ScheduleDetailsPage-C1xCJX3o-Cpr_7FVH.js} +3 -3
  145. package/dist/assets/{ScheduleSequenceTable-B_90qPjE-CplVycAS.js → ScheduleSequenceTable-BprYPV37-CbJbmsNz.js} +48 -48
  146. package/dist/assets/{ScreenRoutes-CV0gC1Wk.js → ScreenRoutes--7yT1DKW.js} +62 -62
  147. package/dist/assets/{SetUpAccountSection-D5x8PZG1-B9kF2QnD.js → SetUpAccountSection-Dr1TfnG_-Cel5DtZp.js} +24 -24
  148. package/dist/assets/{SetUpDefaultSection-BsOdnADR-Bh52uE6Z.js → SetUpDefaultSection-Be5NU_Em-BdXA12e3.js} +9 -9
  149. package/dist/assets/{SignIn-Bt7hCYjV-D4UP94Cn.js → SignIn-CE6RYJOs-ty2bYK-D.js} +20 -20
  150. package/dist/assets/{SignInScreen-Bv_81haj.js → SignInScreen-B_Dlksbi.js} +1 -1
  151. package/dist/assets/{SpendManagementListViewPage-C5cJKuRq-B2Zd7jIc.js → SpendManagementListViewPage-BESddx6p-DEy09jpS.js} +11 -11
  152. package/dist/assets/{SpendManagementPerTabPage-IBAw8wc4-0AzTQ-pL.js → SpendManagementPerTabPage-BzOooEMS-CS5nadJ3.js} +56 -56
  153. package/dist/assets/{SpendManagementSection-yNP3swb6-BT4nw0il.js → SpendManagementSection-CczioNZH-D_OdnYKx.js} +12 -12
  154. package/dist/assets/{SpendMgmtSetupAccountSection-CYxt9dN8-Qj7YKaTJ.js → SpendMgmtSetupAccountSection-CVFRXVhZ-KbAbVozh.js} +22 -22
  155. package/dist/assets/{StatementItem-q9U89Htr-CZ3EdqOI.js → StatementItem-Cptht91w-CXR-Xt2m.js} +8 -8
  156. package/dist/assets/StatementsPage-Bk_DWBsO-D9kCpcdC.js +58 -0
  157. package/dist/assets/{StatusSwitcher-CtuL5COG-4YMPvI5d.js → StatusSwitcher-B3gZD4Xk-Bh4cnysY.js} +4 -4
  158. package/dist/assets/{SubTabSwitcher-DHiC-mOv-DIvwMpAe.js → SubTabSwitcher-ymwMdmPQ-Bui2S7lB.js} +3 -3
  159. package/dist/assets/{SummaryCard-D4Me-qWU-BZE9_yds.js → SummaryCard-CVO_hW5i-BNIAsEAp.js} +1 -1
  160. package/dist/assets/{TaskManagementPage-D-F7ufTD-Comcimqq.js → TaskManagementPage-C8FiHas2-CSgpx3sK.js} +38 -38
  161. package/dist/assets/{TimeRangeSwitcher-CGN9Hq2L-KXKr4hV-.js → TimeRangeSwitcher-CPklgWMn-CIOi92rx.js} +2 -2
  162. package/dist/assets/{TimeframeSwitcher-BN4-ACoQ-kWUcnD9f.js → TimeframeSwitcher-Do-13K0C-DY9TYA6Y.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcherWithToggle-BkzCFclG-ugdDHTt1.js → TimeframeSwitcherWithToggle-CtVJiYRA-BFfeCNSf.js} +2 -2
  164. package/dist/assets/{TopExCard-Wuzj4gLV-Cn6UEqNm.js → TopExCard-CAbVMarX-DzMoRGlM.js} +5 -5
  165. package/dist/assets/{TopExDetailPage-DMYNc-gj-Dz38ydtK.js → TopExDetailPage-CN49s925-BpBrFgHR.js} +10 -10
  166. package/dist/assets/{TransactionDetailPage-CcryBjJ4-DoUjClk8.js → TransactionDetailPage-Q9XC1VgP-B1t0fuZa.js} +35 -35
  167. package/dist/assets/{TransactionList-BrOpzi25-BSonELX4.js → TransactionList-Pn-voMDJ-cxv4xlA8.js} +12 -12
  168. package/dist/assets/{TransactionListBig-D6QMNaV6-D7d8aB_1.js → TransactionListBig-D4U1VfMP-q6KLDBuW.js} +25 -25
  169. package/dist/assets/{TransactionListPage-BB_LkPKR-DcfLw_bc.js → TransactionListPage-Dcr5n_hs-BCiA3wu6.js} +4 -4
  170. package/dist/assets/TransactionVendorDetailPage-DxDXndQ6-Cuilftgh.js +80 -0
  171. package/dist/assets/TransferDrawerPage-CuQct69A-B079B2IU.js +362 -0
  172. package/dist/assets/{TreasuryOverviewPage-EDaXKMNQ-wuIbjLRl.js → TreasuryOverviewPage-BDYqKBrS-CScokRvu.js} +56 -56
  173. package/dist/assets/{TreasuryPromoPage-Brja4nGR-DT0IH0vP.js → TreasuryPromoPage-CTkEFZ57-BEp9DAWk.js} +22 -23
  174. package/dist/assets/{TreasurySetupPage-8ZXXBvyU-C-JVco00.js → TreasurySetupPage-KI_5DQnD-D9S_zLnk.js} +3 -3
  175. package/dist/assets/{TreasuryStatementsPage-BjT1FVfa-RL5yYEKk.js → TreasuryStatementsPage-DB1KkguP-BSv5nFQ9.js} +5 -5
  176. package/dist/assets/{TreasuryTaxLetterPage-Cxk8TjrI-BVz73cPQ.js → TreasuryTaxLetterPage-DbHBl6-e-B10fxK69.js} +5 -5
  177. package/dist/assets/TreasuryTransferOrReviewPage-CLJ2x2M1-Q00AAxLj.js +506 -0
  178. package/dist/assets/{TrendChart-D2B0mwGW-LdF7kbJS.js → TrendChart-Ck4SVLtn-DxCRoE-5.js} +5 -5
  179. package/dist/assets/{TrendWithTransactions-Ch8smOOz-DvkVv9Dh.js → TrendWithTransactions-BiWHzfIf-CM8I_QYq.js} +6 -6
  180. package/dist/assets/{UncategorizedAccountsMappingPage-CCIn9g7v-B7z-zFAl.js → UncategorizedAccountsMappingPage-BEbiQMPB-P5OqOc0G.js} +8 -8
  181. package/dist/assets/{UnitIntegrationPage-SY0L_D7Z-vUoLCexN.js → UnitIntegrationPage-DghvgER8-G5psF27e.js} +5 -5
  182. package/dist/assets/{UploadAdditionalDocumentOverlay-BowxerPw-D8DEcBeU.js → UploadAdditionalDocumentOverlay-BasudeQ3-BthiTAoM.js} +2 -2
  183. package/dist/assets/Vendor2FAPopup-BVYQk2Yt-C9WsXmh_.js +1 -0
  184. package/dist/assets/{VendorACHDetailsPage-Ba1oMHkp-oJ6TiKqn.js → VendorACHDetailsPage-DYwQERlH-B1gQMIfP.js} +1 -1
  185. package/dist/assets/{VendorDetailPage-CjBeVAkw-B20qcm9f.js → VendorDetailPage-D-Mcnqod-jIU9WO5F.js} +13 -13
  186. package/dist/assets/{VendorDomesticWireDetailsPage-DJcyNUun-DUFWlPtJ.js → VendorDomesticWireDetailsPage-sx958z_p-CRI6ZI2U.js} +1 -1
  187. package/dist/assets/{VendorFiling1099EditablePage-CUWkLY0f-C3N9pQgD.js → VendorFiling1099EditablePage-D0AAdqa3-D6a_Y5gP.js} +11 -11
  188. package/dist/assets/{VendorFirstReviewPage-XUgEai-M-BVmvihBk.js → VendorFirstReviewPage-DS7Qb6O_-DE9J3Hnv.js} +30 -30
  189. package/dist/assets/{VendorInternationalWireDetailsPage-BgHCBv0S-BuT_JBAg.js → VendorInternationalWireDetailsPage-CUw0lbm5-B48sIzNH.js} +13 -13
  190. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-axseacZL-CKuxxytA.js → VendorInternationalWireSwiftDetailsPage-2BGGr3aV-bgtv6P0O.js} +1 -1
  191. package/dist/assets/{VendorsAccountsSection-oYghWvs6-CRDf25av.js → VendorsAccountsSection-D5-r6xWp-BXiiVWTo.js} +4 -4
  192. package/dist/assets/{WarningsDrawerPage-B1his2AN-sSgMawun.js → WarningsDrawerPage-BEuiclea-2arBaAmM.js} +9 -9
  193. package/dist/assets/{ZeniAccountDetailPage-B21kawRR-DrYitpWf.js → ZeniAccountDetailPage-DvUTbTBC-BePzTP3_.js} +31 -31
  194. package/dist/assets/{ZeniAccountListViewPage-D9lefqbT-DQW5qz6U.js → ZeniAccountListViewPage-BpAa6XZc-xCgx2LuK.js} +22 -22
  195. package/dist/assets/ZeniAccountNavBarPieces-CBRZuAIU-D4DE3sLv.js +14 -0
  196. package/dist/assets/{ZeniAccountPromoPage-B8aWqCOQ-BOtOia7W.js → ZeniAccountPromoPage-BDzkOGum-ucUtzXa7.js} +22 -22
  197. package/dist/assets/{ZeniAccountSetupPage-BmFF5yvk-DibbYm5H.js → ZeniAccountSetupPage-B6ExD1mo-DRJ8Xy53.js} +1 -1
  198. package/dist/assets/{ZeniCopyright-eQoaUH08-9LhzFsYE.js → ZeniCopyright-BcpJPWHG-DnS0u_xy.js} +1 -1
  199. package/dist/assets/{ZeniTransferAmountSlider-B6ftMZ_m-C5TbZ-pE.js → ZeniTransferAmountSlider-BQDqgNKJ-Buxspfp3.js} +2 -2
  200. package/dist/assets/{analyticsHelper-Bns4muDg-CTVv7wZj.js → analyticsHelper-BP6myd2z-CsiFRwZa.js} +1 -1
  201. package/dist/assets/{analyticsHelper-CR1CL5UR.js → analyticsHelper-CL3ebWyT.js} +1 -1
  202. package/dist/assets/{chartTypes-ZJYcsh-k-DHtgcYfN.js → chartTypes-BU-pRq_m-4W1rDqui.js} +1 -1
  203. package/dist/assets/{commonDimensions-NUQEpowf-CStGzLLl.js → commonDimensions-BpaqG_u8-Hm0X7sCE.js} +1 -1
  204. package/dist/assets/{detailCommon-DMKakaa6-BTVbM1MP.js → detailCommon-dG26UIR2-hMVwnMUq.js} +6 -6
  205. package/dist/assets/{downloadPdf-CNrmv_yZ-Bfu7BMOK.js → downloadPdf-B5Tb5dp_-Ct6A3VYi.js} +1 -1
  206. package/dist/assets/{index-Brv5pz8V.js → index-C5chxI3W.js} +4203 -4371
  207. package/dist/assets/{mapLoadingInProgressToTreeNode-CwLhcXcQ-Bnwlw2M8.js → mapLoadingInProgressToTreeNode-DOBKyY4b-Cji_pzGZ.js} +1 -1
  208. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-D8iLkGEE-DfMwm5-y.js → mapSectionWithAcOnlyToTreeNode-Bja0zC1h-BgIeww8r.js} +1 -1
  209. package/dist/assets/{mapSpacerToTreeNode-CF_gEYDy-RcbX1U5k.js → mapSpacerToTreeNode-BnX1Qa3P-BdNPRcx1.js} +1 -1
  210. package/dist/assets/{mapTimeframeBalancesToTreeNode-Dp2QmYvb-CHh4RoQN.js → mapTimeframeBalancesToTreeNode-BTMBlZfj-BF58Lu6L.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-B672MK55-BYMcR76x.js → mapTimeframeBalancesToTreeNode-DRU0rg28-CA6THCw5.js} +1 -1
  212. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BaEMd-vj-Z1CengjV.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CafUd-oV-Xm435fDX.js} +1 -1
  213. package/dist/assets/{play-icon-CgWP2Myd-BcbDsqNd.js → play-icon-CwzVvYsB-Do7CqLGc.js} +1 -1
  214. package/dist/assets/{toCOABalancesWithID-DJNZCEmi-Ba1UoXC9.js → toCOABalancesWithID-CTIZoP69-DeVrMVx4.js} +1 -1
  215. package/dist/assets/{toChartData-HYsxUPzh-Cw5iczWw.js → toChartData-yWFIkpKX-RS3uH3U9.js} +1 -1
  216. package/dist/assets/{treasuryColorHelper-BgV2H9Kv-DqJwHecP.js → treasuryColorHelper-I90KNlm_-BYEIYIdA.js} +1 -1
  217. package/dist/assets/{uploadAttachment-BgjFjkkw-BbDLjMJx.js → uploadAttachment-BIyTb3QF-DLfW32Gd.js} +35 -35
  218. package/dist/assets/{uploadReceipts-CwjPukNh-DpNYAzaK.js → uploadReceipts-CB79ouJi-D3aL_mpJ.js} +1 -1
  219. package/dist/index.html +1 -1
  220. package/package.json +4 -4
  221. package/dist/assets/ACHDetailsPage-BwrF_fEr-pbNmirlx.js +0 -21
  222. package/dist/assets/ApAgingDetailPage-CsQ3DujX-DRJxl7yD.js +0 -46
  223. package/dist/assets/ChargeCardPromoPage-us_v89rV-5UKWLQde.js +0 -222
  224. package/dist/assets/CheckDepositDrawerPage-XZJ1F0aC-BIEAAJrT.js +0 -206
  225. package/dist/assets/CompleteProfile-BpX6H4vJ-BMsnQRr0.js +0 -52
  226. package/dist/assets/CustomerOnboardingContainerPage-C1higvpq-jnleJ9YW.js +0 -1
  227. package/dist/assets/DepositAccTransactionListPage-BisaE6sH-D9G-Pd3w.js +0 -66
  228. package/dist/assets/EditPeoplePage-ixJkT03_-CPKwogul.js +0 -55
  229. package/dist/assets/FeaturePreviewPage-CpBX-Xic-i1vjRSe0.js +0 -11
  230. package/dist/assets/HelpButton-CzTfBZQj-BDPl7xid.js +0 -28
  231. package/dist/assets/InsightsSection-C-kpIvRH-DgYlsT5C.js +0 -27
  232. package/dist/assets/InvitePeoplePage-CPBMZNa--D8pSJrFO.js +0 -12
  233. package/dist/assets/InvoiceUploadSection-C0WzT0uv-B-3uv6I5.js +0 -140
  234. package/dist/assets/LabeledAddressValue-B8awEVKI-CVKgfd6H.js +0 -49
  235. package/dist/assets/LabeledAddressValueField-Dl5yKg2N-C-bThI-t.js +0 -45
  236. package/dist/assets/MagicLinkTitleSection-tHh2d5Ld-BW-9uqQ_.js +0 -17
  237. package/dist/assets/NavBarWithPicker-Bzkl4W0x-DJHwrAaG.js +0 -30
  238. package/dist/assets/NotificationsListConfig-CeeJpJ2p-Bji1yCr-.js +0 -1
  239. package/dist/assets/PortfolioAllocationFormPage-28Rg5Um0-CPdlBb8e.js +0 -207
  240. package/dist/assets/ReimbursementPromoPage-DQsLI50f-4sQmccDO.js +0 -112
  241. package/dist/assets/StatementsPage-BM5Glizw-DZquF5cW.js +0 -58
  242. package/dist/assets/TransactionVendorDetailPage-RajWBB1I-CDBAFShp.js +0 -80
  243. package/dist/assets/TransferDrawerPage-D-KFK0BM-D--7B2FN.js +0 -362
  244. package/dist/assets/TreasuryTransferOrReviewPage-DrNld8H2-MZyJT8Nm.js +0 -506
  245. package/dist/assets/Vendor2FAPopup-DvWVDx58-BHhhnyb9.js +0 -1
  246. package/dist/assets/VerifyDevice-XUExnmR9-BOqGq0NP.js +0 -67
  247. package/dist/assets/ZeniAccountNavBarPieces-5yZFq-zt-BN3FRsNa.js +0 -14
@@ -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,g,I 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-Brv5pz8V.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-ZJYcsh-k-DHtgcYfN.js";import{i as K,h as se,c as G}from"./toCOABalancesWithID-DJNZCEmi-Ba1UoXC9.js";import{V as Z}from"./toChartData-HYsxUPzh-Cw5iczWw.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,M as S,X as de,_ as Ae,aj as Q,b6 as Te,q as E,b7 as J,aw as ee,f as M,av as ae,ab as re,b8 as oe,b9 as ge,o as m,ba as te,g,H as Fe,bb as pe,bc as me,C as xe,bd as fe,e as R,be as F,ap as V}from"./index-C5chxI3W.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-BU-pRq_m-4W1rDqui.js";import{i as K,h as se,c as I}from"./toCOABalancesWithID-CTIZoP69-DeVrMVx4.js";import{V as Z}from"./toChartData-yWFIkpKX-RS3uH3U9.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};
@@ -19,17 +19,17 @@ 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 a
19
19
  display: flex;
20
20
  align-items: center;
21
21
  justify-content: space-between;
22
- `,Ue=x(R)`
22
+ `,Xe=x(R)`
23
23
  background-color: ${e=>e.color};
24
24
  height: 12px;
25
25
  width: 12px;
26
26
  display: inline-block;
27
27
  margin-right: ${m.sp2};
28
- `,Xe=x(R)`
28
+ `,Ue=x(R)`
29
29
  text-align: left;
30
30
  `,Ze=x(R)`
31
31
  text-align: right;
32
- `,Qe=({active:e,payload:r})=>{const t=[];return r?.forEach(n=>{const o=n.name;if(e===!0){const l=n.payload,i=n.color,h=o!=null&&l.record[o]!=null?l.record[o].amount:void 0;t.push({barName:S.getLocalizedStrings().chartCard.cashInCashOut[N(o)],value:h,color:i})}}),t},be=e=>e.map((r,t)=>a.jsxs(qe,{color:r.color,children:[a.jsxs(Xe,{children:[a.jsx(Ue,{color:r.color}),`${r.barName}:`]}),a.jsx(Ze,{children:`${T(r.value)}`})]},r.barName+t)),Je=e=>{const r=Qe({...e});return r.length===0?null:a.jsx(Ve,{children:a.jsxs(Ye,{children:[be(r.slice(0,r.length-1)),r.length?a.jsx(He,{}):null,be(r.slice(-1))]})})},ea=le.memo(Je),aa=(e,r,t,n,o)=>{let l=[],i=[],h=[];t!=null&&t.balances.length>0&&(l=K("cash_in","actual",t)),n!=null&&n.balances.length>0&&(i=K("cash_out","actual",n)),o!=null&&o.balances.length>0&&(h=se("net_cash_flow","actual",o));const s=b("cash_in","actual"),c=b("cash_out","actual"),f=b("net_cash_flow","actual"),p=l.length>0?s:i.length>0?c:void 0,d={};return d[s]=l,d[c]=i,d[f]=h,p!=null?Z(e,r,p,d):void 0},ye=[b("cash_in","actual"),b("cash_out","actual"),b("net_cash_flow","actual")],ra=x.div`
32
+ `,Qe=({active:e,payload:r})=>{const t=[];return r?.forEach(n=>{const o=n.name;if(e===!0){const l=n.payload,i=n.color,h=o!=null&&l.record[o]!=null?l.record[o].amount:void 0;t.push({barName:S.getLocalizedStrings().chartCard.cashInCashOut[N(o)],value:h,color:i})}}),t},be=e=>e.map((r,t)=>a.jsxs(qe,{color:r.color,children:[a.jsxs(Ue,{children:[a.jsx(Xe,{color:r.color}),`${r.barName}:`]}),a.jsx(Ze,{children:`${T(r.value)}`})]},r.barName+t)),Je=e=>{const r=Qe({...e});return r.length===0?null:a.jsx(Ve,{children:a.jsxs(Ye,{children:[be(r.slice(0,r.length-1)),r.length?a.jsx(He,{}):null,be(r.slice(-1))]})})},ea=le.memo(Je),aa=(e,r,t,n,o)=>{let l=[],i=[],h=[];t!=null&&t.balances.length>0&&(l=K("cash_in","actual",t)),n!=null&&n.balances.length>0&&(i=K("cash_out","actual",n)),o!=null&&o.balances.length>0&&(h=se("net_cash_flow","actual",o));const s=b("cash_in","actual"),c=b("cash_out","actual"),f=b("net_cash_flow","actual"),p=l.length>0?s:i.length>0?c:void 0,d={};return d[s]=l,d[c]=i,d[f]=h,p!=null?Z(e,r,p,d):void 0},ye=[b("cash_in","actual"),b("cash_out","actual"),b("net_cash_flow","actual")],ra=x.div`
33
33
  width: ${e=>e.width}px;
34
34
  height: ${e=>e.height}px;
35
35
 
@@ -57,7 +57,7 @@ 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 a
57
57
  display: flex;
58
58
  align-items: center;
59
59
  justify-content: space-between;
60
- `,sa=({active:e,payload:r})=>{const t=[];return r?.forEach(n=>{const o=n.name;if(e===!0){const l=n.payload,i=n.color,h=o!=null&&l.record[o]!=null?l.record[o].amount:void 0;t.push({barName:S.getLocalizedStrings().reportTitleById.cash_position,value:h,color:i})}}),t},ia=e=>{const r=sa(e);return r.length===0?null:a.jsx(la,{children:a.jsx(na,{children:r.map((t,n)=>a.jsx(ca,{color:t.color,children:`${t.barName}: ${T(t.value)}`},t.barName+n))})})},ua=le.memo(ia),ha=(e,r,t)=>{let n=[];t!=null&&t.balances.length>0&&(n=G("cash_position","actual",t));const o=b("cash_position","actual"),l={};return l[o]=n,n.length>0?Z(e,r,o,l):void 0},da=x.div`
60
+ `,sa=({active:e,payload:r})=>{const t=[];return r?.forEach(n=>{const o=n.name;if(e===!0){const l=n.payload,i=n.color,h=o!=null&&l.record[o]!=null?l.record[o].amount:void 0;t.push({barName:S.getLocalizedStrings().reportTitleById.cash_position,value:h,color:i})}}),t},ia=e=>{const r=sa(e);return r.length===0?null:a.jsx(la,{children:a.jsx(na,{children:r.map((t,n)=>a.jsx(ca,{color:t.color,children:`${t.barName}: ${T(t.value)}`},t.barName+n))})})},ua=le.memo(ia),ha=(e,r,t)=>{let n=[];t!=null&&t.balances.length>0&&(n=I("cash_position","actual",t));const o=b("cash_position","actual"),l={};return l[o]=n,n.length>0?Z(e,r,o,l):void 0},da=x.div`
61
61
  width: ${e=>e.width}px;
62
62
  height: ${e=>e.height}px;
63
63
  `,Ce=[b("cash_position","actual")];function Rr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,onCOABalancesRangeChanged:h}){const s=A(),c=P.useRef(!1);P.useEffect(()=>{c.current=!0},[]);const f=ha(e.firstMonthOfFY,Ce,e.cashPosition),p=()=>{const d=[];return Ce.forEach(y=>{const _=i===!0&&!c.current;d.push(a.jsx(te,{name:y,animationDuration:_?500:void 0,style:{cursor:"pointer"},dataKey:w=>{const C=w.record;return(C[y]!=null&&C[y].amount!=null?C[y].amount:void 0)?.amount??0},fill:s.colors.graphColor17},y))}),d};return f==null?null:a.jsx(ga,{chartData:f,timeframe:r,showBarHoverBackground:l,barElements:p(),customToolTipContent:({active:d,payload:y})=>a.jsx(ua,{active:d,payload:y}),width:n,height:o,onCOABalancesRangeChanged:h,highlightedRange:t,isDetailPage:i===!0})}const ga=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const f=A(),p=e.timeseries,d=ne(e),y=p.map(L=>L.label),_=h!==!1,w=L=>{if(!s||L?.activePayload==null||L?.activePayload.length===0)return;const $=L.activePayload[0];if($?.payload?.timeLabel?.label==null)return;const k=L.activeTooltipIndex,v=$.payload.timeLabel.label;if(o==null)return;const O=ce(v,y,o.numberOfPeriods),u=O[1]===void 0?y.length-1:y.indexOf(O[1]),j={...o,thisPeriod:{startDate:p[u].startDate,endDate:p[u].endDate}};c?.(p[k],r,j)},C=s?(l-60)/W.cash_position*(W.cash_position-e.recordByTimeseries.length):20;return a.jsx(da,{width:l,height:i,children:a.jsx(Q,{children:({height:L,width:$})=>a.jsxs(Te,{width:$,height:L,data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:s?E[10]:30,margin:{top:5,right:C,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},onClick:w,children:[a.jsx(J,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:f.colors.grey3}),a.jsx(ee,{dataKey:k=>k.timeLabel.label,type:"category",axisLine:{stroke:f.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:f.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ae,{type:"number",axisLine:!1,tickLine:!1,tick:{color:f.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:k=>re("0,0.[00]a",k,d)}),a.jsx(oe,{wrapperStyle:{zIndex:2},cursor:_?{stroke:f.colors.background,strokeDasharray:"1, 1",strokeWidth:1,fill:f.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t]})})})},pa=x.div`
@@ -128,7 +128,7 @@ 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 a
128
128
  `,ve=x(V)`
129
129
  display: flex;
130
130
  flex-direction: column;
131
- `,ke=x(H)``,ka=(e,r)=>{const t=b(N(e),"forecast");if(r.record[t]==null)return;const n=r.record[e].amount,o=r.record[t].amount,l=Math.floor((n.amount-o.amount)*100/100),i={...n,amount:l},h=o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:i,percent:h,forecastPercent:r.record[t].percentValue}},$a=({active:e,payload:r,mode:t})=>{const n=[],o={barName:S.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn,actual:void 0,color:g.neutralGrey2Dark,forecast:void 0};let l={amount:0,currencyCode:"",currencySymbol:""},i={amount:0,currencyCode:"",currencySymbol:""};const h=b("income","actual"),s=b("cogs","actual"),c=b("expenses","actual"),f=b("net_burn_or_income","actual");return r?.forEach(p=>{const d=p.name;if(e===!0){const y=p.payload,_=p.color,w=d!=null&&y.record[d]!=null?y.record[d].amount:void 0;let C;if(d.includes("forecast")!==!0)switch(t==="forecast_mode"&&(C=y.record[d]!=null?ka(d,y):void 0),d){case s:case c:w!=null&&(l.currencyCode===""?l={...w}:l.amount=l.amount+w.amount),C!=null&&(i.currencyCode===""?i={...C.value}:i.amount=i.amount+C.value.amount),n.push({barName:S.getLocalizedStrings().chartCard.netBurnOrIncome[N(d)],actual:w,forecast:C,color:_});break;case f:{const L=w!=null&&w.amount>=0?S.getLocalizedStrings().chartCard.netBurnOrIncome.net_income:S.getLocalizedStrings().chartCard.netBurnOrIncome.net_burn;n.push({barName:L,actual:w,color:_,percent:y.record[d]?.percentValue,forecast:C});break}case h:default:n.push({barName:S.getLocalizedStrings().chartCard.netBurnOrIncome[N(d)],actual:w,color:_,forecast:C})}}}),o.actual=l,o.forecast=i!=null&&l!=null?{value:i,change:{...l,amount:Math.floor((l.amount-i.amount)*100/100)},percent:i.amount!==0?Math.floor((l.amount-i.amount)/i.amount*100)/100:0}:void 0,e===!0&&n.splice(n.length-1,0,o),n},$e=e=>e.map((r,t)=>a.jsxs(Ne,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(Ca,{children:[a.jsx(Ee,{color:r.barName===S.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn?"transparent":r.color}),`${r.barName}:`]}),a.jsxs(va,{children:[a.jsx(je,{children:`${T(r.actual)}`}),r.percent!=null?a.jsx(je,{children:F("0,0.0%",r.percent)}):null]})]},r.barName+t)),we=e=>e.map((r,t)=>a.jsxs(Ne,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(ja,{children:[a.jsx(Ee,{color:r.barName===S.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn?"transparent":r.color}),`${r.barName}:`]}),a.jsx(H,{children:a.jsxs(ve,{children:[r.actual!=null?`${T(r.actual)}`:"-",a.jsx(ke,{children:r.percent!=null?F("0,0.0%",r.percent):null})]})}),a.jsx(H,{children:a.jsxs(ve,{children:[r.forecast!=null?`${T(r.forecast.value)}`:"-",a.jsx(ke,{children:r.forecast!=null&&r.forecast.forecastPercent!=null?F("0,0.0%",r.forecast.forecastPercent):null})]})}),r.forecast!=null?a.jsx(H,{isChange:!0,children:`${T(r.forecast.change)}`}):a.jsx(H,{children:"-"}),r.forecast!=null?a.jsx(H,{isChange:!0,children:F("0,0.0%",r.forecast.percent)}):a.jsx(H,{children:"-"})]},r.barName+t)),wa=e=>{if(e.length>0){for(const r of e)if(r.actual!=null)return r.actual.currencySymbol}return""},_a=({barLabelsWithValues:e})=>a.jsxs(ma,{children:[a.jsxs(fa,{children:[a.jsx(xa,{}),a.jsx(ie,{children:S.getLocalizedStrings().chartCard.tooltip.actual}),a.jsx(ie,{children:S.getLocalizedStrings().chartCard.tooltip.forecast}),a.jsxs(ie,{children:[S.getLocalizedStrings().chartCard.tooltip.change," ",wa(e)]}),a.jsx(ie,{children:S.getLocalizedStrings().chartCard.tooltip.change_percent})]}),a.jsxs(ya,{children:[we(e.slice(0,e.length-2)),e.length?a.jsx(We,{}):null,we(e.slice(-2))]})]}),La=({barLabelsWithValues:e})=>a.jsx(pa,{children:a.jsxs(ba,{children:[$e(e.slice(0,e.length-2)),e.length?a.jsx(We,{}):null,$e(e.slice(-2))]})}),Sa=e=>{const r=$a({...e});return r.length===0?null:a.jsx(a.Fragment,{children:e.mode==="forecast_mode"?a.jsx(_a,{barLabelsWithValues:r}):a.jsx(La,{barLabelsWithValues:r})})},Da=le.memo(Sa),Ba=(e,r,t,n,o,l,i)=>{let h=[],s=[],c=[],f=[];n!=null&&n.balances.length>0&&(h=K("income","actual",n)),o!=null&&o.balances.length>0&&(s=K("cogs","actual",o)),l!=null&&l.balances.length>0&&(c=G("expenses","actual",l)),i!=null&&i.balances.length>0&&(f=se("net_burn_or_income","actual",i));const p=b("income","actual"),d=b("cogs","actual"),y=b("expenses","actual"),_=b("net_burn_or_income","actual"),w=h.length>0?p:s.length>0?d:c.length>0?y:void 0,C={};return C[p]=h,C[d]=s,C[y]=c,C[_]=f,t==="forecast_mode"&&Object.assign(C,Oa(n,o,l,i)),w!=null?Z(e,r,w,C):void 0},Oa=(e,r,t,n)=>{let o=[],l=[],i=[],h=[];e!=null&&e.balances.length>0&&(o=K("income","forecast",e)),r!=null&&r.balances.length>0&&(l=K("cogs","forecast",r)),t!=null&&t.balances.length>0&&(i=G("expenses","forecast",t)),n!=null&&n.balances.length>0&&(h=se("net_burn_or_income","forecast",n));const s=b("income","forecast"),c=b("cogs","forecast"),f=b("expenses","forecast"),p=b("net_burn_or_income","forecast"),d={};return d[s]=o,d[c]=l,d[f]=i,d[p]=h,d},za=[b("income","actual"),b("cogs","actual"),b("expenses","actual"),b("net_burn_or_income","actual")],Pa=[b("income","actual"),b("cogs","actual"),b("expenses","actual"),b("net_burn_or_income","actual"),b("income","forecast"),b("cogs","forecast"),b("expenses","forecast"),b("net_burn_or_income","forecast")],Ra=x.div`
131
+ `,ke=x(H)``,ka=(e,r)=>{const t=b(N(e),"forecast");if(r.record[t]==null)return;const n=r.record[e].amount,o=r.record[t].amount,l=Math.floor((n.amount-o.amount)*100/100),i={...n,amount:l},h=o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:i,percent:h,forecastPercent:r.record[t].percentValue}},$a=({active:e,payload:r,mode:t})=>{const n=[],o={barName:S.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn,actual:void 0,color:g.neutralGrey2Dark,forecast:void 0};let l={amount:0,currencyCode:"",currencySymbol:""},i={amount:0,currencyCode:"",currencySymbol:""};const h=b("income","actual"),s=b("cogs","actual"),c=b("expenses","actual"),f=b("net_burn_or_income","actual");return r?.forEach(p=>{const d=p.name;if(e===!0){const y=p.payload,_=p.color,w=d!=null&&y.record[d]!=null?y.record[d].amount:void 0;let C;if(d.includes("forecast")!==!0)switch(t==="forecast_mode"&&(C=y.record[d]!=null?ka(d,y):void 0),d){case s:case c:w!=null&&(l.currencyCode===""?l={...w}:l.amount=l.amount+w.amount),C!=null&&(i.currencyCode===""?i={...C.value}:i.amount=i.amount+C.value.amount),n.push({barName:S.getLocalizedStrings().chartCard.netBurnOrIncome[N(d)],actual:w,forecast:C,color:_});break;case f:{const L=w!=null&&w.amount>=0?S.getLocalizedStrings().chartCard.netBurnOrIncome.net_income:S.getLocalizedStrings().chartCard.netBurnOrIncome.net_burn;n.push({barName:L,actual:w,color:_,percent:y.record[d]?.percentValue,forecast:C});break}case h:default:n.push({barName:S.getLocalizedStrings().chartCard.netBurnOrIncome[N(d)],actual:w,color:_,forecast:C})}}}),o.actual=l,o.forecast=i!=null&&l!=null?{value:i,change:{...l,amount:Math.floor((l.amount-i.amount)*100/100)},percent:i.amount!==0?Math.floor((l.amount-i.amount)/i.amount*100)/100:0}:void 0,e===!0&&n.splice(n.length-1,0,o),n},$e=e=>e.map((r,t)=>a.jsxs(Ne,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(Ca,{children:[a.jsx(Ee,{color:r.barName===S.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn?"transparent":r.color}),`${r.barName}:`]}),a.jsxs(va,{children:[a.jsx(je,{children:`${T(r.actual)}`}),r.percent!=null?a.jsx(je,{children:F("0,0.0%",r.percent)}):null]})]},r.barName+t)),we=e=>e.map((r,t)=>a.jsxs(Ne,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(ja,{children:[a.jsx(Ee,{color:r.barName===S.getLocalizedStrings().chartCard.netBurnOrIncome.gross_burn?"transparent":r.color}),`${r.barName}:`]}),a.jsx(H,{children:a.jsxs(ve,{children:[r.actual!=null?`${T(r.actual)}`:"-",a.jsx(ke,{children:r.percent!=null?F("0,0.0%",r.percent):null})]})}),a.jsx(H,{children:a.jsxs(ve,{children:[r.forecast!=null?`${T(r.forecast.value)}`:"-",a.jsx(ke,{children:r.forecast!=null&&r.forecast.forecastPercent!=null?F("0,0.0%",r.forecast.forecastPercent):null})]})}),r.forecast!=null?a.jsx(H,{isChange:!0,children:`${T(r.forecast.change)}`}):a.jsx(H,{children:"-"}),r.forecast!=null?a.jsx(H,{isChange:!0,children:F("0,0.0%",r.forecast.percent)}):a.jsx(H,{children:"-"})]},r.barName+t)),wa=e=>{if(e.length>0){for(const r of e)if(r.actual!=null)return r.actual.currencySymbol}return""},_a=({barLabelsWithValues:e})=>a.jsxs(ma,{children:[a.jsxs(fa,{children:[a.jsx(xa,{}),a.jsx(ie,{children:S.getLocalizedStrings().chartCard.tooltip.actual}),a.jsx(ie,{children:S.getLocalizedStrings().chartCard.tooltip.forecast}),a.jsxs(ie,{children:[S.getLocalizedStrings().chartCard.tooltip.change," ",wa(e)]}),a.jsx(ie,{children:S.getLocalizedStrings().chartCard.tooltip.change_percent})]}),a.jsxs(ya,{children:[we(e.slice(0,e.length-2)),e.length?a.jsx(We,{}):null,we(e.slice(-2))]})]}),La=({barLabelsWithValues:e})=>a.jsx(pa,{children:a.jsxs(ba,{children:[$e(e.slice(0,e.length-2)),e.length?a.jsx(We,{}):null,$e(e.slice(-2))]})}),Sa=e=>{const r=$a({...e});return r.length===0?null:a.jsx(a.Fragment,{children:e.mode==="forecast_mode"?a.jsx(_a,{barLabelsWithValues:r}):a.jsx(La,{barLabelsWithValues:r})})},Da=le.memo(Sa),Ba=(e,r,t,n,o,l,i)=>{let h=[],s=[],c=[],f=[];n!=null&&n.balances.length>0&&(h=K("income","actual",n)),o!=null&&o.balances.length>0&&(s=K("cogs","actual",o)),l!=null&&l.balances.length>0&&(c=I("expenses","actual",l)),i!=null&&i.balances.length>0&&(f=se("net_burn_or_income","actual",i));const p=b("income","actual"),d=b("cogs","actual"),y=b("expenses","actual"),_=b("net_burn_or_income","actual"),w=h.length>0?p:s.length>0?d:c.length>0?y:void 0,C={};return C[p]=h,C[d]=s,C[y]=c,C[_]=f,t==="forecast_mode"&&Object.assign(C,Oa(n,o,l,i)),w!=null?Z(e,r,w,C):void 0},Oa=(e,r,t,n)=>{let o=[],l=[],i=[],h=[];e!=null&&e.balances.length>0&&(o=K("income","forecast",e)),r!=null&&r.balances.length>0&&(l=K("cogs","forecast",r)),t!=null&&t.balances.length>0&&(i=I("expenses","forecast",t)),n!=null&&n.balances.length>0&&(h=se("net_burn_or_income","forecast",n));const s=b("income","forecast"),c=b("cogs","forecast"),f=b("expenses","forecast"),p=b("net_burn_or_income","forecast"),d={};return d[s]=o,d[c]=l,d[f]=i,d[p]=h,d},za=[b("income","actual"),b("cogs","actual"),b("expenses","actual"),b("net_burn_or_income","actual")],Pa=[b("income","actual"),b("cogs","actual"),b("expenses","actual"),b("net_burn_or_income","actual"),b("income","forecast"),b("cogs","forecast"),b("expenses","forecast"),b("net_burn_or_income","forecast")],Ra=x.div`
132
132
  width: ${e=>e.width}px;
133
133
  height: ${e=>e.height}px;
134
134
 
@@ -141,7 +141,7 @@ 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 a
141
141
  `,Ta=x(fe)`
142
142
  margin-left: ${e=>q.legendLabelMarginLeft.valuePx(e.windowSize)};
143
143
  color: ${e=>e.theme.colors.primary};
144
- `;function Tr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:s}){const c=A(),f=P.useRef(!1);P.useEffect(()=>{f.current=!0},[]);const p=[c.colors.graphColor36,c.colors.graphColor06,c.colors.graphColor31,c.colors.graphColor12],d=[c.colors.graphColor04,c.colors.graphColor10,c.colors.graphColor32,c.colors.graphColor13,c.colors.graphColor04Dark,c.colors.graphColor10Dark,c.colors.graphColor32Dark,c.colors.graphColor13Dark],y=h==="forecast_mode"?d:p,_=h==="forecast_mode"?Pa:za,w=(u,j=c.colors.graphColor04)=>u<y.length?y[u]:j,C=(e.reportId,Ba(e.firstMonthOfFY,_,h,e.sections.income,e.sections.cogs,e.sections.expenses,e.calculatedSections.netBurnOrIncome)),L=u=>{const{cx:j,cy:D,fill:B,stroke:z,value:I}=u;return I==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:D,r:4,stroke:B,strokeWidth:2,fill:z})},$=u=>{const{cx:j,cy:D,fill:B,stroke:z,value:I}=u;return I==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:D,r:5,stroke:z,strokeWidth:2,fill:B})},k=(u,j)=>a.jsx(pe,{name:u,type:"monotone",legendType:"plainline",isAnimationActive:!1,dataKey:D=>{const B=D.record;return(B[u]!=null&&B[u].amount!=null?B[u].amount:void 0)?.amount},dot:a.jsx(L,{}),strokeWidth:1.5,stroke:w(j),strokeDasharray:"3 3",activeDot:a.jsx($,{})},u),v=(u,j,D)=>a.jsx(te,{name:u,animationDuration:D?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:B=>{const z=B.record;return(z[u]!=null&&z[u].amount!=null?z[u].amount:void 0)?.amount??0},fill:w(j)},u),O=()=>{const u=[];return _.forEach((j,D)=>{const B=i===!0&&!f.current;j.endsWith("_forecast")?u.push(k(j,D)):u.push(v(j,D,B))}),u};return C==null?null:a.jsx(Wa,{chartData:C,timeframe:r,showBarHoverBackground:l,barElements:O(),customToolTipContent:({active:u,payload:j})=>a.jsx(Da,{active:u,payload:j,mode:h}),width:n,height:o,onCOABalancesRangeChanged:s,highlightedRange:t,isDetailPage:i===!0})}const Wa=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const f=de(),p=A(),d=ne(e),y=e.timeseries,_=y.map($=>$.label),w=h!==!1,C=$=>{if(!s||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const v=$.activeTooltipIndex,O=k.payload.timeLabel.label;if(o==null)return;const u=ce(O,_,o.numberOfPeriods),j=u[1]===void 0?_.length-1:_.indexOf(u[1]),D={...o,thisPeriod:{startDate:y[j].startDate,endDate:y[j].endDate}};c?.(y[v],r,D)},L=s?(l-60)/W.net_burn_or_income*(W.net_burn_or_income-e.recordByTimeseries.length):20;return a.jsx(Ra,{width:l,height:i,windowSize:f,children:a.jsx(Q,{children:({height:$,width:k})=>a.jsxs(me,{data:e.recordByTimeseries,barCategoryGap:s?void 0:"12%",maxBarSize:s?E[10]:22,barGap:s?void 0:2,margin:{top:5,right:L,left:0,bottom:E[4]},height:$,width:k,style:{display:"flex",flex:"1 1 auto"},onClick:C,children:[a.jsx(J,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:p.colors.grey3}),a.jsx(ee,{dataKey:v=>v.timeLabel.label,type:"category",axisLine:{stroke:p.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ae,{type:"number",axisLine:!1,tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:v=>re("0,0.[00]a",v,d)}),a.jsx(oe,{wrapperStyle:{zIndex:2},cursor:w?{stroke:p.colors.background,strokeWidth:(k-60)/W.net_burn_or_income,fill:p.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t,s?a.jsx(ge,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:m.sp0},iconSize:E[3],formatter:v=>a.jsx(Ta,{windowSize:f,children:v.endsWith("_forecast")===!0?S.getLocalizedStrings().chartCard.netBurnOrIncome[v]:S.getLocalizedStrings().chartCard.netBurnOrIncome[N(v)]})}):null]})})})},Na=x.div`
144
+ `;function Tr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:s}){const c=A(),f=P.useRef(!1);P.useEffect(()=>{f.current=!0},[]);const p=[c.colors.graphColor36,c.colors.graphColor06,c.colors.graphColor31,c.colors.graphColor12],d=[c.colors.graphColor04,c.colors.graphColor10,c.colors.graphColor32,c.colors.graphColor13,c.colors.graphColor04Dark,c.colors.graphColor10Dark,c.colors.graphColor32Dark,c.colors.graphColor13Dark],y=h==="forecast_mode"?d:p,_=h==="forecast_mode"?Pa:za,w=(u,j=c.colors.graphColor04)=>u<y.length?y[u]:j,C=(e.reportId,Ba(e.firstMonthOfFY,_,h,e.sections.income,e.sections.cogs,e.sections.expenses,e.calculatedSections.netBurnOrIncome)),L=u=>{const{cx:j,cy:D,fill:B,stroke:z,value:G}=u;return G==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:D,r:4,stroke:B,strokeWidth:2,fill:z})},$=u=>{const{cx:j,cy:D,fill:B,stroke:z,value:G}=u;return G==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:D,r:5,stroke:z,strokeWidth:2,fill:B})},k=(u,j)=>a.jsx(pe,{name:u,type:"monotone",legendType:"plainline",isAnimationActive:!1,dataKey:D=>{const B=D.record;return(B[u]!=null&&B[u].amount!=null?B[u].amount:void 0)?.amount},dot:a.jsx(L,{}),strokeWidth:1.5,stroke:w(j),strokeDasharray:"3 3",activeDot:a.jsx($,{})},u),v=(u,j,D)=>a.jsx(te,{name:u,animationDuration:D?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:B=>{const z=B.record;return(z[u]!=null&&z[u].amount!=null?z[u].amount:void 0)?.amount??0},fill:w(j)},u),O=()=>{const u=[];return _.forEach((j,D)=>{const B=i===!0&&!f.current;j.endsWith("_forecast")?u.push(k(j,D)):u.push(v(j,D,B))}),u};return C==null?null:a.jsx(Wa,{chartData:C,timeframe:r,showBarHoverBackground:l,barElements:O(),customToolTipContent:({active:u,payload:j})=>a.jsx(Da,{active:u,payload:j,mode:h}),width:n,height:o,onCOABalancesRangeChanged:s,highlightedRange:t,isDetailPage:i===!0})}const Wa=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const f=de(),p=A(),d=ne(e),y=e.timeseries,_=y.map($=>$.label),w=h!==!1,C=$=>{if(!s||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const v=$.activeTooltipIndex,O=k.payload.timeLabel.label;if(o==null)return;const u=ce(O,_,o.numberOfPeriods),j=u[1]===void 0?_.length-1:_.indexOf(u[1]),D={...o,thisPeriod:{startDate:y[j].startDate,endDate:y[j].endDate}};c?.(y[v],r,D)},L=s?(l-60)/W.net_burn_or_income*(W.net_burn_or_income-e.recordByTimeseries.length):20;return a.jsx(Ra,{width:l,height:i,windowSize:f,children:a.jsx(Q,{children:({height:$,width:k})=>a.jsxs(me,{data:e.recordByTimeseries,barCategoryGap:s?void 0:"12%",maxBarSize:s?E[10]:22,barGap:s?void 0:2,margin:{top:5,right:L,left:0,bottom:E[4]},height:$,width:k,style:{display:"flex",flex:"1 1 auto"},onClick:C,children:[a.jsx(J,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:p.colors.grey3}),a.jsx(ee,{dataKey:v=>v.timeLabel.label,type:"category",axisLine:{stroke:p.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ae,{type:"number",axisLine:!1,tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:v=>re("0,0.[00]a",v,d)}),a.jsx(oe,{wrapperStyle:{zIndex:2},cursor:w?{stroke:p.colors.background,strokeWidth:(k-60)/W.net_burn_or_income,fill:p.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t,s?a.jsx(ge,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:m.sp0},iconSize:E[3],formatter:v=>a.jsx(Ta,{windowSize:f,children:v.endsWith("_forecast")===!0?S.getLocalizedStrings().chartCard.netBurnOrIncome[v]:S.getLocalizedStrings().chartCard.netBurnOrIncome[N(v)]})}):null]})})})},Na=x.div`
145
145
  display: flex;
146
146
  `,Ea=x.div`
147
147
  flex: display;
@@ -156,14 +156,14 @@ 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 a
156
156
  `,ue=x.div`
157
157
  flex: 1;
158
158
  text-align: right;
159
- `,Ia=x.div`
159
+ `,Ga=x.div`
160
160
  width: 162px;
161
- `,Ie=x.div`
161
+ `,Ge=x.div`
162
162
  margin: ${m.sp2} ${m.sp0} ${m.sp2} ${m.sp0};
163
163
  width: 100%;
164
164
  height: 1px;
165
165
  background-color: ${g.neutralGrey3Dark};
166
- `,Ga=x(R)`
166
+ `,Ia=x(R)`
167
167
  color: ${e=>e.color??g.neutralGrey2Light};
168
168
  text-align: left;
169
169
  display: flex;
@@ -189,13 +189,13 @@ 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 a
189
189
  `,Fa=x(R)`
190
190
  text-align: left;
191
191
  width: 162px;
192
- `,U=x(V)`
192
+ `,X=x(V)`
193
193
  text-align: right;
194
194
  flex: 1;
195
- `,Va=({active:e,payload:r,barName:t})=>{const n=[];if(r!=null&&e===!0){const o=r.filter(s=>s.name==t)[0],l=o.payload,i=o.color,h=t!=null&&l.record[t]!=null?l.record[t].amount:void 0;if(!t?.endsWith("_forecast")){let s;if(t.includes("forecast")!==!0){s=l.record[t]!=null?Ha(t,l):void 0;const c={amount:0,currencyCode:"",currencySymbol:""},f={amount:0,currencyCode:"",currencySymbol:""};let p;for(p in l.record){const C=l.record[p].amount;p.endsWith("_actual")?(c.amount+=l.record[p].amount?.amount??0,c.currencyCode=C!=null?C.currencyCode:c.currencyCode,c.currencySymbol=C!=null?C.currencySymbol:c.currencySymbol):p.endsWith("_forecast")&&(f.amount+=l.record[p].amount?.amount??0,f.currencyCode=C!=null?C.currencyCode:f.currencyCode,f.currencySymbol=C!=null?C.currencySymbol:f.currencySymbol)}const d=Math.floor((c?.amount-f?.amount)*100/100),y={...c,amount:d},_=f.amount!==0?Math.floor((c.amount-f.amount)/f.amount*100)/100:0,w={value:f,change:y,percent:_};n.push({barName:N(t),actual:h,forecast:s,color:i}),n.push({barName:S.getLocalizedStrings().chartCard.total,actual:c,forecast:w,color:g.neutralGrey1Light})}}}return n},Ha=(e,r)=>{const t=b(N(e),"forecast");if(r.record[t]==null)return;const n=r.record[e].amount,o=r.record[t].amount,l={...n,amount:o!=null?Math.floor((n.amount-o.amount)*100/100):n.amount},i=o!=null&&o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:l,percent:i}},Le=e=>a.jsxs(Ga,{color:e.color,children:[a.jsx(Fa,{children:`${e.barName}:`}),a.jsx(U,{children:e.actual!=null?`${T(e.actual)}`:"-"}),a.jsx(U,{children:e.forecast!=null?`${T(e.forecast.value)}`:"-"}),e.forecast!=null?a.jsx(U,{isChange:!0,children:`${T(e.forecast.change)}`}):a.jsx(U,{children:"-"}),e.forecast!=null?a.jsx(U,{isChange:!0,children:F("0,0.0%",e.forecast.percent)}):a.jsx(U,{children:"-"})]}),Ya=e=>{if(e.length>0){for(const r of e)if(r.actual!=null)return r.actual.currencySymbol}return""},qa=({barLabelsWithValues:e})=>a.jsx(Na,{children:a.jsxs(Ea,{children:[a.jsx(_e,{color:e[0].color,children:`${e[0].barName}: ${T(e[0].actual)}`}),a.jsx(Ie,{}),a.jsx(_e,{children:`${S.getLocalizedStrings().chartCard.total}: ${T(e[1].actual)}`})]})}),Ua=({barLabelsWithValues:e})=>a.jsxs(Ma,{children:[a.jsxs(Ka,{children:[a.jsx(Ia,{}),a.jsx(ue,{children:S.getLocalizedStrings().chartCard.tooltip.actual}),a.jsx(ue,{children:S.getLocalizedStrings().chartCard.tooltip.forecast}),a.jsxs(ue,{children:[S.getLocalizedStrings().chartCard.tooltip.change," ",Ya(e)]}),a.jsx(ue,{children:S.getLocalizedStrings().chartCard.tooltip.change_percent})]}),a.jsxs(Aa,{children:[Le(e[0]),a.jsx(Ie,{}),Le(e[1])]})]}),Xa=e=>{const r=Va({...e});return r.length===0?null:a.jsx(a.Fragment,{children:e.mode==="forecast_mode"?a.jsx(Ua,{barLabelsWithValues:r}):a.jsx(qa,{barLabelsWithValues:r})})},Za=le.memo(Xa),Qa=(e,r)=>{const t=[],n={};let o;return r!=null&&r.classes.length!=0&&r.classes.forEach(l=>{const i=G(l.class.className,"actual",l.childrenBalancesTotal),h=b(l.class.className,"actual");n[h]=i,t.push(h),o==null&&i.length>0&&(o=b(l.class.className,"actual"))}),o!=null?Z(e,t,o,n):void 0},Se=[g.graphColor34,g.graphColor05,g.graphColor08,g.graphColor11,g.graphColor13,g.graphColor19,g.graphColor29,g.graphColor28,g.graphColor20,g.graphColor21,g.graphColor22,g.graphColor14,g.graphColor35,g.graphColor31,g.graphColor33,g.graphColor32,g.graphColor36,g.graphColor02,g.graphColor06,g.graphColor04,g.graphColor10,g.graphColor12,g.graphColor15,g.graphColor18,g.graphColor17,g.graphColor07,g.graphColor34Dark,g.graphColor05Dark,g.graphColor08Dark,g.graphColor11Dark,g.graphColor13Dark,g.graphColor19Dark,g.graphColor29Dark,g.graphColor28Dark,g.graphColor20Dark,g.graphColor21Dark,g.graphColor22Dark,g.graphColor14Dark,g.graphColor35Dark,g.graphColor31Dark,g.graphColor33Dark,g.graphColor32Dark,g.graphColor36Dark,g.graphColor02Dark,g.graphColor06Dark,g.graphColor04Dark,g.graphColor10Dark,g.graphColor12Dark,g.graphColor15Dark,g.graphColor18Dark,g.graphColor17Dark,g.graphColor07Dark];class Y{_barColors;_barColorsKeyWise;_defaultColor;constructor(){this._defaultColor=g.graphColor34,this._barColors=Se.slice(),this._barColorsKeyWise=new Map}static#e=new Y;getBarColor(r){const t=Y.instance();return t._barColorsKeyWise.has(r)||(t._barColors.length===0&&(t._barColors=Se.slice()),t._barColorsKeyWise.set(r,t._barColors.shift()??t._defaultColor)),t._barColorsKeyWise.get(r)}shouldUpdate(r){const t=Y.instance(),n=Array.from(t._barColorsKeyWise.keys()).sort();return!Fe(n,r)}static init(){return this.#e=new Y,this.#e}static instance(){return this.#e}}const Ja=Y.instance(),er=(e,r,t)=>{const n=[],o={};let l,i=!1;if(t!=null&&t.accountGroups.length!=0?t.accountGroups.forEach(h=>{const s=G(h.accountGroupName,"actual",h),c=b(h.accountGroupName,"actual");o[c]=s,n.push(c),l==null&&s.length>0&&(l=b(h.accountGroupName,"actual"))}):t!=null&&t.accounts.length!=0&&(i=!0,t.accounts.forEach(h=>{const s=G(h.account.accountName,"actual",h.account.balancesInTimeframe),c=b(h.account.accountName,"actual");o[c]=s,n.push(c),l==null&&s.length>0&&(l=b(h.account.accountName,"actual"))})),t!=null&&t.accountGroups.length===0&&t.accounts.length===0){const h=S.getLocalizedStrings().chartCard.total,s=G(h,"actual",t);if(s.length!==0){const c=b(h,"actual");o[c]=s,l=c,n.push(c)}}return r==="forecast_mode"&&Object.assign(o,ar(n,t)),l!=null?Z(e,n,l,o,i):void 0},ar=(e,r)=>{const t={};let n;if(r!=null&&r.accountGroups.length!=0?r.accountGroups.forEach(o=>{const l=G(o.accountGroupName,"forecast",o),i=b(o.accountGroupName,"forecast");t[i]=l,e.push(i),n==null&&l.length>0&&(n=b(o.accountGroupName,"forecast"))}):r!=null&&r.accounts.length!=0&&r.accounts.forEach(o=>{const l=G(o.account.accountName,"forecast",o.account.balancesInTimeframe),i=b(o.account.accountName,"forecast");t[i]=l,e.push(i),n==null&&l.length>0&&(n=b(o.account.accountName,"forecast"))}),r!=null&&r.accountGroups.length===0&&r.accounts.length===0){const o=S.getLocalizedStrings().chartCard.total,l=G(o,"forecast",r);if(l.length!==0){const i=b(o,"forecast");t[i]=l,n=i,e.push(i)}}return t},rr=x.div`
195
+ `,Va=({active:e,payload:r,barName:t})=>{const n=[];if(r!=null&&e===!0){const o=r.filter(s=>s.name==t)[0],l=o.payload,i=o.color,h=t!=null&&l.record[t]!=null?l.record[t].amount:void 0;if(!t?.endsWith("_forecast")){let s;if(t.includes("forecast")!==!0){s=l.record[t]!=null?Ha(t,l):void 0;const c={amount:0,currencyCode:"",currencySymbol:""},f={amount:0,currencyCode:"",currencySymbol:""};let p;for(p in l.record){const C=l.record[p].amount;p.endsWith("_actual")?(c.amount+=l.record[p].amount?.amount??0,c.currencyCode=C!=null?C.currencyCode:c.currencyCode,c.currencySymbol=C!=null?C.currencySymbol:c.currencySymbol):p.endsWith("_forecast")&&(f.amount+=l.record[p].amount?.amount??0,f.currencyCode=C!=null?C.currencyCode:f.currencyCode,f.currencySymbol=C!=null?C.currencySymbol:f.currencySymbol)}const d=Math.floor((c?.amount-f?.amount)*100/100),y={...c,amount:d},_=f.amount!==0?Math.floor((c.amount-f.amount)/f.amount*100)/100:0,w={value:f,change:y,percent:_};n.push({barName:N(t),actual:h,forecast:s,color:i}),n.push({barName:S.getLocalizedStrings().chartCard.total,actual:c,forecast:w,color:g.neutralGrey1Light})}}}return n},Ha=(e,r)=>{const t=b(N(e),"forecast");if(r.record[t]==null)return;const n=r.record[e].amount,o=r.record[t].amount,l={...n,amount:o!=null?Math.floor((n.amount-o.amount)*100/100):n.amount},i=o!=null&&o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:l,percent:i}},Le=e=>a.jsxs(Ia,{color:e.color,children:[a.jsx(Fa,{children:`${e.barName}:`}),a.jsx(X,{children:e.actual!=null?`${T(e.actual)}`:"-"}),a.jsx(X,{children:e.forecast!=null?`${T(e.forecast.value)}`:"-"}),e.forecast!=null?a.jsx(X,{isChange:!0,children:`${T(e.forecast.change)}`}):a.jsx(X,{children:"-"}),e.forecast!=null?a.jsx(X,{isChange:!0,children:F("0,0.0%",e.forecast.percent)}):a.jsx(X,{children:"-"})]}),Ya=e=>{if(e.length>0){for(const r of e)if(r.actual!=null)return r.actual.currencySymbol}return""},qa=({barLabelsWithValues:e})=>a.jsx(Na,{children:a.jsxs(Ea,{children:[a.jsx(_e,{color:e[0].color,children:`${e[0].barName}: ${T(e[0].actual)}`}),a.jsx(Ge,{}),a.jsx(_e,{children:`${S.getLocalizedStrings().chartCard.total}: ${T(e[1].actual)}`})]})}),Xa=({barLabelsWithValues:e})=>a.jsxs(Ma,{children:[a.jsxs(Ka,{children:[a.jsx(Ga,{}),a.jsx(ue,{children:S.getLocalizedStrings().chartCard.tooltip.actual}),a.jsx(ue,{children:S.getLocalizedStrings().chartCard.tooltip.forecast}),a.jsxs(ue,{children:[S.getLocalizedStrings().chartCard.tooltip.change," ",Ya(e)]}),a.jsx(ue,{children:S.getLocalizedStrings().chartCard.tooltip.change_percent})]}),a.jsxs(Aa,{children:[Le(e[0]),a.jsx(Ge,{}),Le(e[1])]})]}),Ua=e=>{const r=Va({...e});return r.length===0?null:a.jsx(a.Fragment,{children:e.mode==="forecast_mode"?a.jsx(Xa,{barLabelsWithValues:r}):a.jsx(qa,{barLabelsWithValues:r})})},Za=le.memo(Ua),Qa=(e,r)=>{const t=[],n={};let o;return r!=null&&r.classes.length!=0&&r.classes.forEach(l=>{const i=I(l.class.className,"actual",l.childrenBalancesTotal),h=b(l.class.className,"actual");n[h]=i,t.push(h),o==null&&i.length>0&&(o=b(l.class.className,"actual"))}),o!=null?Z(e,t,o,n):void 0},Se=[g.graphColor34,g.graphColor05,g.graphColor08,g.graphColor11,g.graphColor13,g.graphColor19,g.graphColor29,g.graphColor28,g.graphColor20,g.graphColor21,g.graphColor22,g.graphColor14,g.graphColor35,g.graphColor31,g.graphColor33,g.graphColor32,g.graphColor36,g.graphColor02,g.graphColor06,g.graphColor04,g.graphColor10,g.graphColor12,g.graphColor15,g.graphColor18,g.graphColor17,g.graphColor07,g.graphColor34Dark,g.graphColor05Dark,g.graphColor08Dark,g.graphColor11Dark,g.graphColor13Dark,g.graphColor19Dark,g.graphColor29Dark,g.graphColor28Dark,g.graphColor20Dark,g.graphColor21Dark,g.graphColor22Dark,g.graphColor14Dark,g.graphColor35Dark,g.graphColor31Dark,g.graphColor33Dark,g.graphColor32Dark,g.graphColor36Dark,g.graphColor02Dark,g.graphColor06Dark,g.graphColor04Dark,g.graphColor10Dark,g.graphColor12Dark,g.graphColor15Dark,g.graphColor18Dark,g.graphColor17Dark,g.graphColor07Dark];class Y{_barColors;_barColorsKeyWise;_defaultColor;constructor(){this._defaultColor=g.graphColor34,this._barColors=Se.slice(),this._barColorsKeyWise=new Map}static#e=new Y;getBarColor(r){const t=Y.instance();return t._barColorsKeyWise.has(r)||(t._barColors.length===0&&(t._barColors=Se.slice()),t._barColorsKeyWise.set(r,t._barColors.shift()??t._defaultColor)),t._barColorsKeyWise.get(r)}shouldUpdate(r){const t=Y.instance(),n=Array.from(t._barColorsKeyWise.keys()).sort();return!Fe(n,r)}static init(){return this.#e=new Y,this.#e}static instance(){return this.#e}}const Ja=Y.instance(),er=(e,r,t)=>{const n=[],o={};let l,i=!1;if(t!=null&&t.accountGroups.length!=0?t.accountGroups.forEach(h=>{const s=I(h.accountGroupName,"actual",h),c=b(h.accountGroupName,"actual");o[c]=s,n.push(c),l==null&&s.length>0&&(l=b(h.accountGroupName,"actual"))}):t!=null&&t.accounts.length!=0&&(i=!0,t.accounts.forEach(h=>{const s=I(h.account.accountName,"actual",h.account.balancesInTimeframe),c=b(h.account.accountName,"actual");o[c]=s,n.push(c),l==null&&s.length>0&&(l=b(h.account.accountName,"actual"))})),t!=null&&t.accountGroups.length===0&&t.accounts.length===0){const h=S.getLocalizedStrings().chartCard.total,s=I(h,"actual",t);if(s.length!==0){const c=b(h,"actual");o[c]=s,l=c,n.push(c)}}return r==="forecast_mode"&&Object.assign(o,ar(n,t)),l!=null?Z(e,n,l,o,i):void 0},ar=(e,r)=>{const t={};let n;if(r!=null&&r.accountGroups.length!=0?r.accountGroups.forEach(o=>{const l=I(o.accountGroupName,"forecast",o),i=b(o.accountGroupName,"forecast");t[i]=l,e.push(i),n==null&&l.length>0&&(n=b(o.accountGroupName,"forecast"))}):r!=null&&r.accounts.length!=0&&r.accounts.forEach(o=>{const l=I(o.account.accountName,"forecast",o.account.balancesInTimeframe),i=b(o.account.accountName,"forecast");t[i]=l,e.push(i),n==null&&l.length>0&&(n=b(o.account.accountName,"forecast"))}),r!=null&&r.accountGroups.length===0&&r.accounts.length===0){const o=S.getLocalizedStrings().chartCard.total,l=I(o,"forecast",r);if(l.length!==0){const i=b(o,"forecast");t[i]=l,n=i,e.push(i)}}return t},rr=x.div`
196
196
  width: ${e=>e.width}px;
197
197
  height: ${e=>e.height}px;
198
- `,or=e=>{const{cx:r,cy:t,fill:n,stroke:o,value:l}=e;return l==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:r,cy:t,r:4,stroke:n,strokeWidth:2,fill:o})},tr=e=>{const{cx:r,cy:t,fill:n,stroke:o,value:l}=e;return l==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:r,cy:t,r:5,stroke:o,strokeWidth:2,fill:n})};function Wr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:s}){const c=P.useRef(!1),[f,p]=P.useState(Ja),[d,y]=P.useState(void 0),_=A(),w=P.useRef([]);P.useEffect(()=>{c.current=!0},[]),P.useEffect(()=>{f.shouldUpdate(w.current)===!0&&p(Y.init())},[]),P.useEffect(()=>{let k=[];if(e.reportId==="operating_expenses"){const v=e.sections.expenses;v.accountGroups.length===0&&v.accounts.length===0?k.push(S.getLocalizedStrings().chartCard.total):v.accountGroups.length!=0?k=v.accountGroups.map(O=>O.accountGroupName).sort():k=v.accounts.map(O=>O.account).map(O=>O.accountName).sort()}else k=e.sections.expenses.classes.map(v=>v.class.className).sort();w.current=k},[e,f]);const C=P.useMemo(()=>e.reportId==="operating_expenses"?er(e.firstMonthOfFY,h,e.sections.expenses):Qa(e.firstMonthOfFY,e.sections.expenses),[e,h]),L=P.useCallback(()=>{const k=u=>a.jsx(pe,{name:u,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:a.jsx(or,{}),activeDot:a.jsx(tr,{}),dataKey:j=>{const D=j.record;let B,z;for(z in D)if(z.endsWith("_forecast")){const I=D[z].amount;I!=null&&(B==null?B={...I}:B.amount+=I.amount)}return B?.amount},stroke:_.colors.grey1,strokeDasharray:"3 3",strokeWidth:1.5},u),v=(u,j)=>a.jsx(te,{name:u,animationDuration:j?500:void 0,style:{cursor:"pointer"},dataKey:D=>{const B=D.record;return(B[u]!=null&&B[u].amount!=null?B[u].amount:void 0)?.amount??0},stackId:"a",fill:f.getBarColor(N(u)),onMouseEnter:()=>{d!==u&&y(u)},onMouseLeave:()=>{d!=null&&y(void 0)}},u),O=[];return C?.orderedKeys.forEach(u=>{const j=!c.current;u.endsWith("_forecast")?O.push(k(u)):O.push(v(u,j))}),O},[C]),$=({active:k,payload:v})=>v?.find(O=>O.name===d)!=null&&d!=null&&k===!0?a.jsx(Za,{active:k,payload:v,mode:h,barName:d}):null;return C==null?null:a.jsx(lr,{chartData:C,timeframe:r,showBarHoverBackground:l,barElements:L(),customToolTipContent:a.jsx($,{}),width:n,height:o,onCOABalancesRangeChanged:s,highlightedRange:t,isDetailPage:i===!0})}const lr=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const f=A(),p=ne(e),d=e.timeseries,y=d.map(L=>L.label),_=h!==!1,w=L=>{if(!s||L?.activePayload==null||L?.activePayload.length===0)return;const $=L.activePayload[0];if($?.payload?.timeLabel?.label==null)return;const k=L.activeTooltipIndex,v=$.payload.timeLabel.label;if(o==null)return;const O=ce(v,y,o.numberOfPeriods),u=O[1]===void 0?y.length-1:y.indexOf(O[1]),j={...o,thisPeriod:{startDate:d[u].startDate,endDate:d[u].endDate}};c?.(d[k],r,j)},C=s?(l-60)/W.operating_expenses*(W.operating_expenses-e.recordByTimeseries.length):20;return a.jsx(rr,{width:l,height:i,children:a.jsx(Q,{children:({height:L,width:$})=>a.jsxs(me,{width:$,height:L,stackOffset:"sign",data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:s?E[10]:30,margin:{top:5,right:C,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},onClick:w,children:[a.jsx(J,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:f.colors.grey3}),a.jsx(ee,{dataKey:k=>k.timeLabel.label,type:"category",axisLine:{stroke:f.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:f.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ae,{type:"number",axisLine:!1,tickLine:!1,tick:{color:f.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:k=>re("0,0.[00]a",k,p)}),a.jsx(oe,{wrapperStyle:{zIndex:2},cursor:_?{stroke:f.colors.background,strokeWidth:($-60)/W.operating_expenses,fill:f.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t]})})})},nr=x.div`
198
+ `,or=e=>{const{cx:r,cy:t,fill:n,stroke:o,value:l}=e;return l==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:r,cy:t,r:4,stroke:n,strokeWidth:2,fill:o})},tr=e=>{const{cx:r,cy:t,fill:n,stroke:o,value:l}=e;return l==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:r,cy:t,r:5,stroke:o,strokeWidth:2,fill:n})};function Wr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:s}){const c=P.useRef(!1),[f,p]=P.useState(Ja),[d,y]=P.useState(void 0),_=A(),w=P.useRef([]);P.useEffect(()=>{c.current=!0},[]),P.useEffect(()=>{f.shouldUpdate(w.current)===!0&&p(Y.init())},[]),P.useEffect(()=>{let k=[];if(e.reportId==="operating_expenses"){const v=e.sections.expenses;v.accountGroups.length===0&&v.accounts.length===0?k.push(S.getLocalizedStrings().chartCard.total):v.accountGroups.length!=0?k=v.accountGroups.map(O=>O.accountGroupName).sort():k=v.accounts.map(O=>O.account).map(O=>O.accountName).sort()}else k=e.sections.expenses.classes.map(v=>v.class.className).sort();w.current=k},[e,f]);const C=P.useMemo(()=>e.reportId==="operating_expenses"?er(e.firstMonthOfFY,h,e.sections.expenses):Qa(e.firstMonthOfFY,e.sections.expenses),[e,h]),L=P.useCallback(()=>{const k=u=>a.jsx(pe,{name:u,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:a.jsx(or,{}),activeDot:a.jsx(tr,{}),dataKey:j=>{const D=j.record;let B,z;for(z in D)if(z.endsWith("_forecast")){const G=D[z].amount;G!=null&&(B==null?B={...G}:B.amount+=G.amount)}return B?.amount},stroke:_.colors.grey1,strokeDasharray:"3 3",strokeWidth:1.5},u),v=(u,j)=>a.jsx(te,{name:u,animationDuration:j?500:void 0,style:{cursor:"pointer"},dataKey:D=>{const B=D.record;return(B[u]!=null&&B[u].amount!=null?B[u].amount:void 0)?.amount??0},stackId:"a",fill:f.getBarColor(N(u)),onMouseEnter:()=>{d!==u&&y(u)},onMouseLeave:()=>{d!=null&&y(void 0)}},u),O=[];return C?.orderedKeys.forEach(u=>{const j=!c.current;u.endsWith("_forecast")?O.push(k(u)):O.push(v(u,j))}),O},[C]),$=({active:k,payload:v})=>v?.find(O=>O.name===d)!=null&&d!=null&&k===!0?a.jsx(Za,{active:k,payload:v,mode:h,barName:d}):null;return C==null?null:a.jsx(lr,{chartData:C,timeframe:r,showBarHoverBackground:l,barElements:L(),customToolTipContent:a.jsx($,{}),width:n,height:o,onCOABalancesRangeChanged:s,highlightedRange:t,isDetailPage:i===!0})}const lr=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const f=A(),p=ne(e),d=e.timeseries,y=d.map(L=>L.label),_=h!==!1,w=L=>{if(!s||L?.activePayload==null||L?.activePayload.length===0)return;const $=L.activePayload[0];if($?.payload?.timeLabel?.label==null)return;const k=L.activeTooltipIndex,v=$.payload.timeLabel.label;if(o==null)return;const O=ce(v,y,o.numberOfPeriods),u=O[1]===void 0?y.length-1:y.indexOf(O[1]),j={...o,thisPeriod:{startDate:d[u].startDate,endDate:d[u].endDate}};c?.(d[k],r,j)},C=s?(l-60)/W.operating_expenses*(W.operating_expenses-e.recordByTimeseries.length):20;return a.jsx(rr,{width:l,height:i,children:a.jsx(Q,{children:({height:L,width:$})=>a.jsxs(me,{width:$,height:L,stackOffset:"sign",data:e.recordByTimeseries,barCategoryGap:"25%",maxBarSize:s?E[10]:30,margin:{top:5,right:C,left:0,bottom:5},style:{display:"flex",flex:"1 1 auto"},onClick:w,children:[a.jsx(J,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:f.colors.grey3}),a.jsx(ee,{dataKey:k=>k.timeLabel.label,type:"category",axisLine:{stroke:f.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:f.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ae,{type:"number",axisLine:!1,tickLine:!1,tick:{color:f.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:k=>re("0,0.[00]a",k,p)}),a.jsx(oe,{wrapperStyle:{zIndex:2},cursor:_?{stroke:f.colors.background,strokeWidth:($-60)/W.operating_expenses,fill:f.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t]})})})},nr=x.div`
199
199
  display: flex;
200
200
  `,cr=x.div`
201
201
  display: flex;
@@ -223,7 +223,7 @@ 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 a
223
223
  `,hr=x(R)`
224
224
  text-align: left;
225
225
  width: 120px;
226
- `,Ge=x.div`
226
+ `,Ie=x.div`
227
227
  margin: ${m.sp2} ${m.sp0} ${m.sp2} ${m.sp0};
228
228
  width: 100%;
229
229
  height: 1px;
@@ -256,14 +256,14 @@ 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 a
256
256
  text-align: right;
257
257
  `,De=x(V)`
258
258
  text-align: right;
259
- `,X=x(V)`
259
+ `,U=x(V)`
260
260
  text-align: right;
261
261
  flex: 1;
262
262
  color: ${e=>e.isChange!=null&&e.isChange===!0?g.important:null};
263
263
  `,Be=x(V)`
264
264
  display: flex;
265
265
  flex-direction: column;
266
- `,Oe=x(V)``,mr=(e,r)=>{const t=b(N(e),"forecast");if(r.record[t]==null)return;const n=r.record[e].amount,o=r.record[t].amount,l={...n,amount:Math.floor((n.amount-o.amount)*100/100)},i=o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:l,percent:i,forecastPercent:r.record[t].percentValue}},fr=({active:e,payload:r,mode:t})=>{const n=[];let o={amount:0,currencyCode:""},l={amount:0,currencyCode:""};const i=b("gross_margin","actual");return r?.forEach(h=>{const s=h.name;if(e===!0){const c=h.payload,f=h.color,p=s!=null&&c.record[s]!=null?c.record[s].amount:void 0;let d;if(s.includes("forecast")!==!0)switch(t==="forecast_mode"&&(d=c.record[s]!=null?mr(s,c):void 0),s){case i:p!=null&&(o.currencyCode===""?o={...p}:o.amount=o.amount+p.amount),d!=null&&(l.currencyCode===""?l={...d.value}:l.amount=l.amount+d.value.amount),n.push({barName:S.getLocalizedStrings().chartCard.revenue[N(s)],actual:p,forecast:d,percent:c.record[s]!=null?c.record[s].percentValue??0:0,color:f});break;default:n.push({barName:S.getLocalizedStrings().chartCard.revenue[N(s)],actual:p,color:f,forecast:d});break}}}),n},ze=e=>e.map((r,t)=>a.jsxs(Me,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(gr,{children:[a.jsx(Ke,{color:r.color}),`${r.barName}:`]}),a.jsxs(pr,{children:[a.jsx(De,{children:`${T(r.actual)}`}),r.percent!=null?a.jsx(De,{children:F("0,0.0%",r.percent)}):null]})]},r.barName+t)),Pe=e=>e.map((r,t)=>a.jsxs(Me,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(hr,{children:[a.jsx(Ke,{color:r.color}),`${r.barName}:`]}),a.jsx(X,{children:a.jsxs(Be,{children:[r.actual!=null?`${T(r.actual)}`:"-",a.jsx(Oe,{children:r.percent!=null?F("0,0.0%",r.percent):null})]})}),a.jsx(X,{children:a.jsxs(Be,{children:[r.forecast!=null?`${T(r.forecast.value)}`:"-",a.jsx(Oe,{children:r.forecast!=null&&r.forecast.forecastPercent!=null?F("0,0.0%",r.forecast.forecastPercent):null})]})}),r.forecast!=null?a.jsx(X,{isChange:!0,children:`${T(r.forecast.change)}`}):a.jsx(X,{children:"-"}),r.forecast!=null?a.jsx(X,{isChange:!0,children:F("0,0.0%",r.forecast.percent)}):a.jsx(X,{children:"-"})]},r.barName+t)),xr=e=>{if(e.length>0){for(const r of e)if(r.actual!=null)return r.actual.currencySymbol}return""},br=({barLabelsWithValues:e})=>a.jsxs(cr,{children:[a.jsxs(sr,{children:[a.jsx(ir,{}),a.jsx(he,{children:S.getLocalizedStrings().chartCard.tooltip.actual}),a.jsx(he,{children:S.getLocalizedStrings().chartCard.tooltip.forecast}),a.jsxs(he,{children:[S.getLocalizedStrings().chartCard.tooltip.change," ",xr(e)]}),a.jsx(he,{children:S.getLocalizedStrings().chartCard.tooltip.change_percent})]}),a.jsxs(ur,{children:[Pe(e.slice(0,e.length-1)),e.length?a.jsx(Ge,{}):null,Pe(e.slice(-1))]})]}),yr=({barLabelsWithValues:e})=>a.jsx(nr,{children:a.jsxs(dr,{children:[ze(e.slice(0,e.length-1)),e.length?a.jsx(Ge,{}):null,ze(e.slice(-1))]})}),Cr=e=>{const r=fr({...e});return r.length===0?null:a.jsx(a.Fragment,{children:e.mode==="forecast_mode"?a.jsx(br,{barLabelsWithValues:r}):a.jsx(yr,{barLabelsWithValues:r})})},jr=le.memo(Cr),Re=(e,r,t,n,o,l)=>{let i=[],h=[],s=[];n!=null&&n.balances.length>0&&(i=K("income","actual",n)),o!=null&&o.balances.length>0&&(h=K("cogs","actual",o)),l!=null&&l.balances.length>0&&(s=se("gross_margin","actual",l));const c=b("income","actual"),f=b("cogs","actual"),p=b("gross_margin","actual"),d=i.length>0?c:h.length>0?f:p,y={};return y[c]=i,y[f]=h,y[p]=s,t==="forecast_mode"&&Object.assign(y,vr(n,o,l)),d!=null?Z(e,r,d,y):void 0},vr=(e,r,t)=>{let n=[],o=[],l=[];e!=null&&e.balances.length>0&&(n=K("income","forecast",e)),r!=null&&r.balances.length>0&&(o=K("cogs","forecast",r)),t!=null&&t.balances.length>0&&(l=se("gross_margin","forecast",t));const i=b("income","forecast"),h=b("cogs","forecast"),s=b("gross_margin","forecast"),c={};return c[i]=n,c[h]=o,c[s]=l,c},kr=[b("income","actual"),b("cogs","actual"),b("gross_margin","actual")],$r=[b("income","actual"),b("cogs","actual"),b("gross_margin","actual"),b("income","forecast"),b("cogs","forecast"),b("gross_margin","forecast")],wr=x.div`
266
+ `,Oe=x(V)``,mr=(e,r)=>{const t=b(N(e),"forecast");if(r.record[t]==null)return;const n=r.record[e].amount,o=r.record[t].amount,l={...n,amount:Math.floor((n.amount-o.amount)*100/100)},i=o.amount!==0?Math.floor((n.amount-o.amount)/o.amount*100)/100:void 0;return{value:o,change:l,percent:i,forecastPercent:r.record[t].percentValue}},fr=({active:e,payload:r,mode:t})=>{const n=[];let o={amount:0,currencyCode:""},l={amount:0,currencyCode:""};const i=b("gross_margin","actual");return r?.forEach(h=>{const s=h.name;if(e===!0){const c=h.payload,f=h.color,p=s!=null&&c.record[s]!=null?c.record[s].amount:void 0;let d;if(s.includes("forecast")!==!0)switch(t==="forecast_mode"&&(d=c.record[s]!=null?mr(s,c):void 0),s){case i:p!=null&&(o.currencyCode===""?o={...p}:o.amount=o.amount+p.amount),d!=null&&(l.currencyCode===""?l={...d.value}:l.amount=l.amount+d.value.amount),n.push({barName:S.getLocalizedStrings().chartCard.revenue[N(s)],actual:p,forecast:d,percent:c.record[s]!=null?c.record[s].percentValue??0:0,color:f});break;default:n.push({barName:S.getLocalizedStrings().chartCard.revenue[N(s)],actual:p,color:f,forecast:d});break}}}),n},ze=e=>e.map((r,t)=>a.jsxs(Me,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(gr,{children:[a.jsx(Ke,{color:r.color}),`${r.barName}:`]}),a.jsxs(pr,{children:[a.jsx(De,{children:`${T(r.actual)}`}),r.percent!=null?a.jsx(De,{children:F("0,0.0%",r.percent)}):null]})]},r.barName+t)),Pe=e=>e.map((r,t)=>a.jsxs(Me,{color:r.color,showPercent:r.percent!=null,children:[a.jsxs(hr,{children:[a.jsx(Ke,{color:r.color}),`${r.barName}:`]}),a.jsx(U,{children:a.jsxs(Be,{children:[r.actual!=null?`${T(r.actual)}`:"-",a.jsx(Oe,{children:r.percent!=null?F("0,0.0%",r.percent):null})]})}),a.jsx(U,{children:a.jsxs(Be,{children:[r.forecast!=null?`${T(r.forecast.value)}`:"-",a.jsx(Oe,{children:r.forecast!=null&&r.forecast.forecastPercent!=null?F("0,0.0%",r.forecast.forecastPercent):null})]})}),r.forecast!=null?a.jsx(U,{isChange:!0,children:`${T(r.forecast.change)}`}):a.jsx(U,{children:"-"}),r.forecast!=null?a.jsx(U,{isChange:!0,children:F("0,0.0%",r.forecast.percent)}):a.jsx(U,{children:"-"})]},r.barName+t)),xr=e=>{if(e.length>0){for(const r of e)if(r.actual!=null)return r.actual.currencySymbol}return""},br=({barLabelsWithValues:e})=>a.jsxs(cr,{children:[a.jsxs(sr,{children:[a.jsx(ir,{}),a.jsx(he,{children:S.getLocalizedStrings().chartCard.tooltip.actual}),a.jsx(he,{children:S.getLocalizedStrings().chartCard.tooltip.forecast}),a.jsxs(he,{children:[S.getLocalizedStrings().chartCard.tooltip.change," ",xr(e)]}),a.jsx(he,{children:S.getLocalizedStrings().chartCard.tooltip.change_percent})]}),a.jsxs(ur,{children:[Pe(e.slice(0,e.length-1)),e.length?a.jsx(Ie,{}):null,Pe(e.slice(-1))]})]}),yr=({barLabelsWithValues:e})=>a.jsx(nr,{children:a.jsxs(dr,{children:[ze(e.slice(0,e.length-1)),e.length?a.jsx(Ie,{}):null,ze(e.slice(-1))]})}),Cr=e=>{const r=fr({...e});return r.length===0?null:a.jsx(a.Fragment,{children:e.mode==="forecast_mode"?a.jsx(br,{barLabelsWithValues:r}):a.jsx(yr,{barLabelsWithValues:r})})},jr=le.memo(Cr),Re=(e,r,t,n,o,l)=>{let i=[],h=[],s=[];n!=null&&n.balances.length>0&&(i=K("income","actual",n)),o!=null&&o.balances.length>0&&(h=K("cogs","actual",o)),l!=null&&l.balances.length>0&&(s=se("gross_margin","actual",l));const c=b("income","actual"),f=b("cogs","actual"),p=b("gross_margin","actual"),d=i.length>0?c:h.length>0?f:p,y={};return y[c]=i,y[f]=h,y[p]=s,t==="forecast_mode"&&Object.assign(y,vr(n,o,l)),d!=null?Z(e,r,d,y):void 0},vr=(e,r,t)=>{let n=[],o=[],l=[];e!=null&&e.balances.length>0&&(n=K("income","forecast",e)),r!=null&&r.balances.length>0&&(o=K("cogs","forecast",r)),t!=null&&t.balances.length>0&&(l=se("gross_margin","forecast",t));const i=b("income","forecast"),h=b("cogs","forecast"),s=b("gross_margin","forecast"),c={};return c[i]=n,c[h]=o,c[s]=l,c},kr=[b("income","actual"),b("cogs","actual"),b("gross_margin","actual")],$r=[b("income","actual"),b("cogs","actual"),b("gross_margin","actual"),b("income","forecast"),b("cogs","forecast"),b("gross_margin","forecast")],wr=x.div`
267
267
  width: ${e=>e.width}px;
268
268
  height: ${e=>e.height}px;
269
269
 
@@ -277,4 +277,4 @@ 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 a
277
277
  margin-left: ${e=>q.legendLabelMarginLeft.valuePx(e.windowSize)};
278
278
  margin-right: ${e=>q.legendLabelMarginRight.valuePx(e.windowSize)};
279
279
  color: ${e=>e.theme.colors.primary};
280
- `;function Nr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:s}){const c=A(),f=P.useRef(!1);P.useEffect(()=>{f.current=!0},[]);const p=[c.colors.graphColor26,c.colors.graphColor17,c.colors.graphColor12],d=[c.colors.graphColor28,c.colors.graphColor17,c.colors.graphColor10,c.colors.graphColor28Dark,c.colors.graphColor17Dark,c.colors.graphColor10Dark],y=h==="forecast_mode"?d:p,_=h==="forecast_mode"?$r:kr,w=(u,j=c.colors.graphColor28)=>u<y.length?y[u]:j,C=e.reportId==="revenue"?Re(e.firstMonthOfFY,_,h,e.sections?.income,e.sections?.cogs,e.calculatedSections?.grossMargin):Re(e.firstMonthOfFY,_,h,e.sections.income,e.sections.cogs,e.calculatedSections.grossMargin),L=u=>{const{cx:j,cy:D,fill:B,stroke:z,value:I}=u;return I==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:D,r:4,stroke:B,strokeWidth:2,fill:z})},$=u=>{const{cx:j,cy:D,fill:B,stroke:z,value:I}=u;return I==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:D,r:5,stroke:z,strokeWidth:2,fill:B})},k=(u,j)=>a.jsx(pe,{name:u,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:a.jsx(L,{}),activeDot:a.jsx($,{}),dataKey:D=>{const B=D.record;return(B[u]!=null&&B[u].amount!=null?B[u].amount:void 0)?.amount},stroke:w(j),strokeDasharray:"3 3",strokeWidth:1.5},u),v=(u,j,D)=>a.jsx(te,{name:u,animationDuration:D?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:B=>{const z=B.record;return(z[u]!=null&&z[u].amount!=null?z[u].amount:void 0)?.amount??0},fill:w(j)},u),O=()=>{const u=[];return _.forEach((j,D)=>{const B=i===!0&&!f.current;j.endsWith("_forecast")?u.push(k(j,D)):u.push(v(j,D,B))}),u};return C==null?null:a.jsx(Lr,{chartData:C,timeframe:r,showBarHoverBackground:l,barElements:O(),customToolTipContent:({active:u,payload:j})=>a.jsx(jr,{active:u,payload:j,mode:h}),width:n,height:o,onCOABalancesRangeChanged:s,highlightedRange:t,isDetailPage:i===!0})}const Lr=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const f=de(),p=A(),d=ne(e),y=e.timeseries,_=y.map($=>$.label),w=h!==!1,C=$=>{if(!s||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const v=$.activeTooltipIndex,O=k.payload.timeLabel.label;if(o==null)return;const u=ce(O,_,o.numberOfPeriods),j=u[1]===void 0?_.length-1:_.indexOf(u[1]),D={...o,thisPeriod:{startDate:y[j].startDate,endDate:y[j].endDate}};c?.(y[v],r,D)},L=s?(l-60)/W.revenue*(W.revenue-e.recordByTimeseries.length):20;return a.jsx(wr,{width:l,height:i,windowSize:f,children:a.jsx(Q,{children:({height:$,width:k})=>a.jsxs(me,{data:e.recordByTimeseries,barCategoryGap:s?void 0:"12%",maxBarSize:s?E[10]:22,barGap:s?void 0:2,margin:{top:5,right:L,left:0,bottom:E[4]},height:$,width:k,style:{display:"flex",flex:"1 1 auto"},onClick:C,children:[a.jsx(J,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:p.colors.grey3}),a.jsx(ee,{dataKey:v=>v.timeLabel.label,type:"category",axisLine:{stroke:p.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ae,{type:"number",axisLine:!1,tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:v=>re("0,0.[00]a",v,d)}),a.jsx(oe,{wrapperStyle:{zIndex:2},cursor:w?{stroke:p.colors.background,strokeWidth:(k-60)/W.revenue,fill:p.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t,s?a.jsx(ge,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:m.sp0},iconSize:E[3],formatter:v=>a.jsx(_r,{windowSize:f,children:v.endsWith("_forecast")===!0?S.getLocalizedStrings().chartCard.revenue[v]:S.getLocalizedStrings().chartCard.revenue[N(v)]})}):null]})})})};export{Rr as G,Wr as H,Pr as N,Tr as P,Nr as Y};
280
+ `;function Nr({selectedRangeReport:e,timeframe:r,highlightedRange:t,width:n,height:o,showBarHoverBackground:l,isDetailPage:i,mode:h,onCOABalancesRangeChanged:s}){const c=A(),f=P.useRef(!1);P.useEffect(()=>{f.current=!0},[]);const p=[c.colors.graphColor26,c.colors.graphColor17,c.colors.graphColor12],d=[c.colors.graphColor28,c.colors.graphColor17,c.colors.graphColor10,c.colors.graphColor28Dark,c.colors.graphColor17Dark,c.colors.graphColor10Dark],y=h==="forecast_mode"?d:p,_=h==="forecast_mode"?$r:kr,w=(u,j=c.colors.graphColor28)=>u<y.length?y[u]:j,C=e.reportId==="revenue"?Re(e.firstMonthOfFY,_,h,e.sections?.income,e.sections?.cogs,e.calculatedSections?.grossMargin):Re(e.firstMonthOfFY,_,h,e.sections.income,e.sections.cogs,e.calculatedSections.grossMargin),L=u=>{const{cx:j,cy:D,fill:B,stroke:z,value:G}=u;return G==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:D,r:4,stroke:B,strokeWidth:2,fill:z})},$=u=>{const{cx:j,cy:D,fill:B,stroke:z,value:G}=u;return G==null?a.jsx(a.Fragment,{}):a.jsx("circle",{cx:j,cy:D,r:5,stroke:z,strokeWidth:2,fill:B})},k=(u,j)=>a.jsx(pe,{name:u,type:"monotone",legendType:"plainline",isAnimationActive:!1,dot:a.jsx(L,{}),activeDot:a.jsx($,{}),dataKey:D=>{const B=D.record;return(B[u]!=null&&B[u].amount!=null?B[u].amount:void 0)?.amount},stroke:w(j),strokeDasharray:"3 3",strokeWidth:1.5},u),v=(u,j,D)=>a.jsx(te,{name:u,animationDuration:D?500:void 0,style:{cursor:"pointer"},legendType:"square",dataKey:B=>{const z=B.record;return(z[u]!=null&&z[u].amount!=null?z[u].amount:void 0)?.amount??0},fill:w(j)},u),O=()=>{const u=[];return _.forEach((j,D)=>{const B=i===!0&&!f.current;j.endsWith("_forecast")?u.push(k(j,D)):u.push(v(j,D,B))}),u};return C==null?null:a.jsx(Lr,{chartData:C,timeframe:r,showBarHoverBackground:l,barElements:O(),customToolTipContent:({active:u,payload:j})=>a.jsx(jr,{active:u,payload:j,mode:h}),width:n,height:o,onCOABalancesRangeChanged:s,highlightedRange:t,isDetailPage:i===!0})}const Lr=({chartData:e,timeframe:r,barElements:t,customToolTipContent:n,highlightedRange:o,width:l,height:i,showBarHoverBackground:h,isDetailPage:s,onCOABalancesRangeChanged:c})=>{const f=de(),p=A(),d=ne(e),y=e.timeseries,_=y.map($=>$.label),w=h!==!1,C=$=>{if(!s||$?.activePayload==null||$?.activePayload.length===0)return;const k=$.activePayload[0];if(k?.payload?.timeLabel?.label==null)return;const v=$.activeTooltipIndex,O=k.payload.timeLabel.label;if(o==null)return;const u=ce(O,_,o.numberOfPeriods),j=u[1]===void 0?_.length-1:_.indexOf(u[1]),D={...o,thisPeriod:{startDate:y[j].startDate,endDate:y[j].endDate}};c?.(y[v],r,D)},L=s?(l-60)/W.revenue*(W.revenue-e.recordByTimeseries.length):20;return a.jsx(wr,{width:l,height:i,windowSize:f,children:a.jsx(Q,{children:({height:$,width:k})=>a.jsxs(me,{data:e.recordByTimeseries,barCategoryGap:s?void 0:"12%",maxBarSize:s?E[10]:22,barGap:s?void 0:2,margin:{top:5,right:L,left:0,bottom:E[4]},height:$,width:k,style:{display:"flex",flex:"1 1 auto"},onClick:C,children:[a.jsx(J,{horizontal:!0,vertical:!1,strokeWidth:.5,stroke:p.colors.grey3}),a.jsx(ee,{dataKey:v=>v.timeLabel.label,type:"category",axisLine:{stroke:p.colors.grey3,strokeWidth:.5},tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject}}),a.jsx(ae,{type:"number",axisLine:!1,tickLine:!1,tick:{color:p.colors.hero,...M.extraSmallRegular.cssObject},tickFormatter:v=>re("0,0.[00]a",v,d)}),a.jsx(oe,{wrapperStyle:{zIndex:2},cursor:w?{stroke:p.colors.background,strokeWidth:(k-60)/W.revenue,fill:p.colors.background}:!1,content:n,allowEscapeViewBox:{x:!1,y:!0}}),t,s?a.jsx(ge,{verticalAlign:"bottom",wrapperStyle:{width:"100%",display:"flex",justifyContent:"center",left:"initial",bottom:m.sp0},iconSize:E[3],formatter:v=>a.jsx(_r,{windowSize:f,children:v.endsWith("_forecast")===!0?S.getLocalizedStrings().chartCard.revenue[v]:S.getLocalizedStrings().chartCard.revenue[N(v)]})}):null]})})})};export{Rr as G,Wr as H,Pr as N,Tr as P,Nr as Y};
@@ -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 s,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 X,cT as O,cU as z,cV as _,g as S,cW as Lt,cX as Rt,cY as Et,cZ as Ft,bx as Ne,o as n,a4 as Ot,q as c,f as zt,bt as _t,X as Wt,h as Ut,c_ as Ht,bL as Yt,n as de,B as se,c$ as Zt,d0 as Vt,aC as Xt,L as qt,ao as Gt,s as Ke,b5 as Kt,d as Je,aP as Jt,d1 as Qt}from"./index-Brv5pz8V.js";import{b as U,n as i}from"./vendor-CnQcJ2Lu.js";import{t as en,o as tn}from"./LowBalancePopup-BuelKDeS-CSLx6wJV.js";import{S as W}from"./LabeledText-0pRIcJw5-r2ZCEVQ7.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:Re,edit:an,strings:{empty:h}},spendManagement:{billPay:ln}}=St.getLocalizedStrings(),{billDetails:a,paymentDetails:Ee}=ln,Fe=({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 d=Tt(),m=vt(),B={application:"dashboard",companyId:m.currentTenant?.companyId,tab:"bill",entityId:f},N=x&&f!=null,L=`dashboard_${m.currentTenant?.companyId}`,R=p.largeLabelWidth.value(d),E=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},F={amount:o?.method.includes("international")===!0?Dt(he,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[rt,ge]=U.useState(!1),[dt,xe]=U.useState(!1),fe=()=>ge(!1),st=()=>{$.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ct=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(kn,{size:d,children:t.jsx(Pn,{})})]}):It(e.paymentDetailsSection?.paymentTo);U.useEffect(()=>{(E?.fetchState==="Completed"||Q?.fetchState==="Completed")&&(me(),ue(),ye())},[E,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:st}):a.addedByZeni,Z=w.allApprovalRules.length>0,yt=s.toAmount(o?.method!=null&&(o.method.includes(s.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?u.amount-F.amount:u.amount,o?.fee.currencyCode??s.defaultVendorCurrency.currencyCode,o?.fee.currencySymbol??s.defaultVendorCurrency.currencySymbol),g=s.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(s.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&C&&ee===v.currencyCode?Rt(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:s.zeniDate(I?.startDate?.toString()??"").format(D),endDate:s.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=s.checkIfCreatorIsApprover(u.amount,w.allApprovalRules,m.loggedInUser),[je,V]=U.useState(!1);return t.jsxs(hn,{children:[dt?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:()=>{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:d,style:tt,children:[d==="small"?t.jsxs(In,{windowSize:d,children:[t.jsx(Ze,{onClick:be,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(We,{windowSize:d,children:a.oneLastLook})]}):t.jsx(Dn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ze,{onClick:be})}),d!=="small"?t.jsx(fn,{children:t.jsx(We,{windowSize:d,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(En,{children:[t.jsx(On,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Nt(l);return l!=null?t.jsx(Fn,{children:Qe.includes(d)?t.jsxs(Ue,{windowSize:d,children:[t.jsxs(jn,{children:[t.jsxs(Sn,{children:[l.attachments&&l.attachments.length>0?t.jsx(Fe,{attachment:l.attachments[0]}):t.jsx(Ve,{children:t.jsx(Xe,{})}),t.jsx(G,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(qe,{windowSize:d,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(G,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(Ge,{children:r!=null?Ae.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(K,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(K,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ue,{windowSize:d,children:[l.attachments&&l.attachments.length>0?t.jsx(Fe,{attachment:l.attachments[0]}):t.jsx(Ve,{children:t.jsx(Xe,{})}),t.jsxs(Rn,{"data-testid":j("review-detail-info"),onClick:()=>J(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(qe,{style:{width:"25%"},windowSize:d,children:A("0,0[.]00",l.amount)})]}),t.jsx(Ge,{children:r!=null?Ae.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(K,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(K,{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:X.largeMedium.cssObject,decimalStyles:X.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:R},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?Lt(e.paymentDetailsSection.withdrawFrom,d):h,infoLabelStyle:{textAlign:d==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(d),marginTop:p.infoLabelMarginTop.valuePx(d),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(q,{})]}),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:R},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:xt()})}),t.jsx(q,{}),!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:R},style:{width:"auto"},value:Y.format(D),additionalInfoLabel:`${a.estimatedArrival}${s.zeniDate(s.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(q,{})]}):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:R},style:{width:"auto"},value:ct??"",additionalInfoLabel:ut})}),g||nt?t.jsxs(t.Fragment,{children:[t.jsx(q,{}),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:R},style:{width:"auto"},value:Ft(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Et(d,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(s.NEW_INTERNATIONAL_METHOD_SUBTEXT)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(mn,{children:t.jsxs(pn,{windowSize:d,children:[t.jsxs(un,{children:[t.jsx(dn,{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(s.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&ee!==v.currencyCode?Ee.conversionAmountColon:Re.invoiceAmount}),t.jsx(oe,{children:A("0,0[.]00",{amount:u.amount-F.amount,currencySymbol:F.currencySymbol})})]}),t.jsxs(_e,{children:[t.jsx(re,{children:Ee.transactionFee}),t.jsx(oe,{children:A("0,0[.]00",{amount:F.amount,currencySymbol:F.currencySymbol})})]}),t.jsx(sn,{}),t.jsxs(rn,{children:[t.jsx(re,{children:Re.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:s.toAmount(u.amount,u.currencyCode,u.currencySymbol),integerStyles:X.h6Medium.cssObject,decimalStyles:X.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,d)}},primaryBtn:{label:Oe(b,Z,e.isBillMarkedForRetry),isLoading:E?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress",onClick:b?$e:()=>{bt&&ae!=null?V(!0):ve()},style:{width:ze(!0,k,b,Z,d)}},rightSideComponent:k&&!b&&E.fetchState!=="In-Progress"?t.jsx(_n,{windowSize:d,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(s.NEW_INTERNATIONAL_METHOD_SUBTEXT)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(s.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(s.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(Kt)`
1
+ import{X as vt,w as Tt,C as y,cC as jt,M as St,cD as Ct,cE as Dt,j as t,cF as It,cG as le,cH as Pt,l as d,cI as kt,cJ as At,_ as j,cK as Mt,a0 as A,cL as Bt,cM as Nt,cN as Ae,cO as Me,cP as Be,f as G,cQ as O,cR as z,cS as _,g as S,cT as Rt,cU as Ft,cV as Et,cW as Lt,bt as Ne,o as n,a4 as Ot,q as c,r as zt,bp as _t,Q as Wt,h as Ut,cX as Zt,bI as Ht,e as se,m as de,cY as Vt,cZ as Yt,aC as Gt,k as Kt,ao as Xt,Z as qe,b5 as qt,v as Qe,aP as Qt,c_ as Jt}from"./index-C5chxI3W.js";import{b as U,n as i}from"./vendor-CnQcJ2Lu.js";import{t as en,o as tn}from"./LowBalancePopup-DPbr0gUO-BMtDcyj7.js";import{S as W}from"./LabeledText-DhZgeQqu-Dz4gRnMS.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 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:T,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(Vt,{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=vt(),m=Tt(),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:T.currencyCode,currencySymbol:T.currencySymbol},u={amount:o?.method.includes("international")===!0?Ct(he,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:T.currencyCode,currencySymbol:T.currencySymbol},L={amount:o?.method.includes("international")===!0?Dt(he,o):o?.fee.amount??0,currencyCode:T.currencyCode,currencySymbol:T.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(()=>{(E?.fetchState==="Completed"||J?.fetchState==="Completed")&&(me(),ue(),ye())},[E,J,ye,me,ue]);const v=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,Z=e.billPayInfo?.billPaymentStatus,mt=e.billPayInfo?.billPaymentRefundStatus,te=v?.code==="paid"?v:P?.code=="approved"&&Z?.code?Z:P,pt=e.billPayInfo?.isRefundInitiated===!0?mt:P?.code=="approved"&&Z?.code?Z:P,ne=()=>{ce()},be=()=>{ce()},H=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),we=ie.replace("Same Day",""),ut=e.isCollectToAccountInfoFromVendorContact?t.jsx(Pt,{paymentTypeLabel:we,onClick:dt}):a.addedByZeni,V=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",v?.code??"draft",te?.code??""),pe(!0,l)},$e=()=>{xe(!0),$.trackBillPayMarkAsPaid(v?.code??"draft",te?.code??"")},gt=()=>{lt(),xe(!1)},k=g&&(v?.code!=null?v.code==="draft"||P?.code==="approved":!0),b=k&&!it,ve=Oe(b,V,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===T.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(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=v?.code??"draft",Ce=P?.code??"",De=e.isRecurring?["Recurring"]:["One-Time"],Ie=e.invoiceNumber??"",Pe=Jt(m.loggedInUser),ke=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";ve===a.scheduleBill?$.trackLowBalanceAccountSchedule(Se,Ce,De,Ie,Pe,ke):ve===a.sendForApproval&&$.trackLowBalanceAccountSentForApproval(Se,Ce,De,Ie,Pe,ke)}}},Te=()=>{je===!0&&Y(!1),e.isBillMarkedForRetry===!0?(ot(),$.trackRetryConfirmClick(te?.code??"",v?.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:Te,onCancelClick:()=>{Y(!1),ne()},onClickAway:()=>{Y(!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:H?.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(Ve,{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(Ve,{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(Tn,{children:a.duplicateBillPayWarning}),t.jsxs(vn,{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(Ge,{})}),t.jsx(X,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Ke,{windowSize:s,children:A("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(X,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(Xe,{children:r!=null?Ae.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(q,{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(Ge,{})}),t.jsxs(Fn,{"data-testid":j("review-detail-info"),onClick:()=>Q(l.id,l.billPayInfo.stage.code),children:[t.jsx(X,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(X,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(D)]}),t.jsx(Ke,{style:{width:"25%"},windowSize:s,children:A("0,0[.]00",l.amount)})]}),t.jsx(Xe,{children:r!=null?Ae.includes(r.code)?t.jsx(Me,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(q,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Cn,{children:[t.jsx(Ze,{children:a.pay}),t.jsx(He,{children:t.jsx(Be,{amount:yt,integerStyles:G.largeMedium.cssObject,decimalStyles:G.smallMedium.cssObject})}),t.jsx(Ze,{children:a.to}),t.jsx(He,{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&&H!=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:H.format(D),additionalInfoLabel:`${a.estimatedArrival}${d.zeniDate(d.getNextNthWorkingDay(H.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!==T.currencyCode?Ee.conversionAmountColon:Fe.invoiceAmount}),t.jsx(oe,{children:A("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:A("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: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:G.h6Medium.cssObject,decimalStyles:G.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,V,s)}},primaryBtn:{label:Oe(b,V,e.isBillMarkedForRetry),isLoading:E?.fetchState==="In-Progress"||J?.fetchState==="In-Progress",onClick:b?$e:()=>{bt&&ae!=null?Y(!0):Te()},style:{width:ze(!0,k,b,V,s)}},rightSideComponent:k&&!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(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(qt)`
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,11 +13,11 @@ 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};
20
- `,dn=i.div``,sn=i.div`
20
+ `,sn=i.div``,dn=i.div`
21
21
  background-color: ${S.neutralGrey3Dark};
22
22
  height: 1px;
23
23
  width: 280px;
@@ -36,13 +36,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
36
36
  border-radius: ${n.sp2};
37
37
  color: ${e=>e.theme.colors.hero};
38
38
  margin-bottom: ${n.sp2};
39
- `,un=i(Ke)`
39
+ `,un=i(qe)`
40
40
  gap: ${n.sp1};
41
41
  display: flex;
42
42
  width: 100%;
43
43
  color: ${e=>e.theme.colors.primary};
44
44
  align-items: center;
45
- `,yn=i(Ke)`
45
+ `,yn=i(qe)`
46
46
  display: flex;
47
47
  width: calc(100% - 176px);
48
48
  justify-content: flex-end;
@@ -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
- `,q=i.div`
71
+ `,K=i.div`
72
72
  display: flex;
73
73
  flex: 1;
74
74
  background-color: ${e=>e.theme.colors.grey3};
@@ -99,15 +99,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
99
99
  display: flex;
100
100
  flex-direction: column;
101
101
  padding-left: ${n.sp2};
102
- `,Tn=i(de)`
102
+ `,vn=i(se)`
103
103
  padding-bottom: ${n.sp3};
104
104
  color: ${S.brandColorGoldDark};
105
- `,vn=i(Yt)`
105
+ `,Tn=i(Ht)`
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(qt)`
124
+ `,Ze=i(Kt)`
125
125
  display: flex;
126
126
  color: ${e=>e.theme.colors.hero};
127
127
  margin-right: ${n.sp1};
128
- `,Ye=i(Gt)`
128
+ `,He=i(Xt)`
129
129
  display: flex;
130
130
  color: ${e=>e.theme.colors.primary};
131
131
  margin-right: ${n.sp1};
132
- `,Ze=i(_t)`
132
+ `,Ve=i(_t)`
133
133
  cursor: pointer;
134
134
  color: ${e=>e.theme.colors.hero};
135
135
  width: 20px;
@@ -162,7 +162,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
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(se)`
165
+ `,An=i(de)`
166
166
  color: ${e=>e.theme.colors.grey1};
167
167
  display: flex;
168
168
  flex-wrap: wrap;
@@ -193,45 +193,45 @@ 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;
200
200
  margin-right: ${n.sp1};
201
- `,Xe=i(Xt)`
201
+ `,Ge=i(Gt)`
202
202
  cursor: pointer;
203
203
  width: ${n.sp4};
204
204
  height: ${n.sp4};
205
205
  color: ${e=>e.theme.colors.hero};
206
- `,G=i(de)`
206
+ `,X=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
- `,qe=i(de)`
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
- `,Ge=i.div`
224
+ `,Xe=i.div`
225
225
  width: 120px;
226
226
  display: flex;
227
227
  justify-content: flex-end;
228
228
  align-items: center;
229
- `,Rn=i.div`
229
+ `,Fn=i.div`
230
230
  display: flex;
231
231
  flex-grow: 1;
232
232
  cursor: pointer;
233
233
  width: 100%;
234
- `,K=i(se)`
234
+ `,q=i(de)`
235
235
  display: flex;
236
236
  color: ${e=>e.borderColor};
237
237
  height: 20px;
@@ -250,17 +250,17 @@ 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
250
250
  `,En=i.div`
251
251
  display: flex;
252
252
  flex-direction: column;
253
- `,Fn=i.div`
253
+ `,Ln=i.div`
254
254
  display: flex;
255
255
  width: 100%;
256
256
  flex-flow: column;
257
257
  padding-top: ${n.sp2};
258
258
  padding-bottom: ${n.sp2};
259
259
  border-bottom: ${e=>`1px solid ${e.theme.colors.grey3}`};
260
- `,On=i(se)`
260
+ `,On=i(de)`
261
261
  margin-top: ${n.sp3};
262
262
  color: ${S.alert};
263
- `,zn=i(Ht)`
263
+ `,zn=i(Zt)`
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};
@@ -1,40 +1,40 @@
1
- import{e as B,j as e,$ as m,o as r,a4 as L,C as d,a3 as M,X as C,h as W,g as s,n as y,c3 as R,m as I,d as j,aB as D,q as n,eh as G,az as A,jg as F,jh as J}from"./index-Brv5pz8V.js";import{n as t}from"./vendor-CnQcJ2Lu.js";const l={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])},X={title:new C("h6Regular","h5Regular")},mi=({title:i,description:p,reviewItems:S,showFooter:b,footerProps:{primaryButton:z,cancelButton:T,hideCancel:E},onCloseOverlay:k,onCloseReviewItem:P})=>{const a=B();return e.jsxs(H,{children:[e.jsx(V,{windowSize:a,children:e.jsx(Y,{children:e.jsx(Z,{windowSize:a,children:e.jsx(ii,{children:e.jsx(ei,{onClick:k,"data-testid":m("review-overlay-close",i)})})})})}),e.jsxs(O,{windowSize:a,children:[e.jsxs(Q,{windowSize:a,children:[e.jsx(_,{children:e.jsx(K,{windowSize:a,children:i})}),e.jsx(N,{isError:p.isError,windowSize:a,children:p.content})]}),e.jsx(U,{windowSize:a,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:()=>P(o.id),"data-testid":m("review-close",o.id)}):null,e.jsxs(ti,{children:[e.jsxs(ni,{children:[e.jsx(di,{children:q(o)}),e.jsxs(oi,{children:[e.jsxs(x,{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(x,{children:[e.jsx(si,{style:{marginLeft:r.sp2},children:o.leftSideText.subTitle}),a!=="small"?e.jsxs(w,{windowSize:a,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]})]})]}),a==="small"?e.jsxs(w,{windowSize:a,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]})},q=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(ai,{}):i.reviewStatus.code==="low-balance"?e.jsx(hi,{}):e.jsx(li,{}),H=t.div`
1
+ import{X as B,j as e,_ as x,o as r,a4 as L,C as d,a3 as M,Q as C,h as W,g as s,e as y,c0 as R,c as I,v as j,aB as D,q as n,ee as G,az as A,jd as F,je as H}from"./index-C5chxI3W.js";import{n as t}from"./vendor-CnQcJ2Lu.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")},xi=({title:i,description:p,reviewItems:S,showFooter:b,footerProps:{primaryButton:z,cancelButton:T,hideCancel:E},onCloseOverlay:k,onCloseReviewItem:P})=>{const l=B();return e.jsxs(X,{children:[e.jsx(V,{windowSize:l,children:e.jsx(Y,{children:e.jsx(Z,{windowSize:l,children:e.jsx(ii,{children:e.jsx(ei,{onClick:k,"data-testid":x("review-overlay-close",i)})})})})}),e.jsxs(q,{windowSize:l,children:[e.jsxs(K,{windowSize:l,children:[e.jsx(O,{children:e.jsx(_,{windowSize:l,children:i})}),e.jsx(N,{isError:p.isError,windowSize:l,children:p.content})]}),e.jsx(U,{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:()=>P(o.id),"data-testid":x("review-close",o.id)}):null,e.jsxs(ti,{children:[e.jsxs(ni,{children:[e.jsx(di,{children:Q(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]})},Q=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,{}),X=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${i=>i.theme.colors.grey4};
5
- `,O=t.div`
5
+ `,q=t.div`
6
6
  min-height: 100vh;
7
7
  display: flex;
8
8
  flex-direction: column;
9
- margin-top: ${i=>l.containerMarginTop.valuePx(i.windowSize)};
9
+ margin-top: ${i=>a.containerMarginTop.valuePx(i.windowSize)};
10
10
  margin-bottom: ${r.sp8};
11
- `,Q=t.div`
11
+ `,K=t.div`
12
12
  position: sticky;
13
13
  top: ${r.sp0};
14
14
  background-color: ${i=>i.theme.colors.grey4};
15
15
  z-index: 1;
16
- padding-left: ${i=>l.containerMarginLeft.valuePx(i.windowSize)};
17
- padding-right: ${i=>l.containerMarginRight.valuePx(i.windowSize)};
18
- `,_=t.div`
16
+ padding-left: ${i=>a.containerMarginLeft.valuePx(i.windowSize)};
17
+ padding-right: ${i=>a.containerMarginRight.valuePx(i.windowSize)};
18
+ `,O=t.div`
19
19
  display: flex;
20
20
  align-items: center;
21
- `,K=t(W)`
22
- ${i=>`${X.title.style(i.windowSize)}`};
21
+ `,_=t(W)`
22
+ ${i=>`${J.title.style(i.windowSize)}`};
23
23
  color: ${i=>i.theme.colors.primary};
24
24
  margin-top: ${r.sp2};
25
- margin-bottom: ${i=>l.titleMarginBotom.valuePx(i.windowSize)};
26
- margin-right: ${i=>l.titleMarginRight.valuePx(i.windowSize)};
25
+ margin-bottom: ${i=>a.titleMarginBotom.valuePx(i.windowSize)};
26
+ margin-right: ${i=>a.titleMarginRight.valuePx(i.windowSize)};
27
27
  `,N=t(y)`
28
- margin-bottom: ${i=>l.subTitleMarginBottom.valuePx(i.windowSize)};
28
+ margin-bottom: ${i=>a.subTitleMarginBottom.valuePx(i.windowSize)};
29
29
  color: ${i=>i.isError?s.important:i.theme.colors.hero};
30
30
  `,U=t.div`
31
31
  display: flex;
32
32
  flex-direction: column;
33
33
  margin-top: ${r.sp3};
34
- margin-left: ${i=>l.containerMarginLeft.valuePx(i.windowSize)};
35
- margin-right: ${i=>l.containerMarginRight.valuePx(i.windowSize)};
34
+ margin-left: ${i=>a.containerMarginLeft.valuePx(i.windowSize)};
35
+ margin-right: ${i=>a.containerMarginRight.valuePx(i.windowSize)};
36
36
  `,V=t.div`
37
- min-height: ${i=>l.navBarHeight.valuePx(i.windowSize)};
37
+ min-height: ${i=>a.navBarHeight.valuePx(i.windowSize)};
38
38
  position: sticky;
39
39
  border-bottom: 1px solid transparent;
40
40
  z-index: 2;
@@ -52,8 +52,8 @@ import{e as B,j as e,$ as m,o as r,a4 as L,C as d,a3 as M,X as C,h as W,g as s,n
52
52
  top: ${r.sp0};
53
53
  left: ${r.sp0};
54
54
  right: ${r.sp0};
55
- padding-right: ${i=>l.navBarPaddingRight.valuePx(i.windowSize)};
56
- padding-left: ${i=>l.navBarPaddingLeft.valuePx(i.windowSize)};
55
+ padding-right: ${i=>a.navBarPaddingRight.valuePx(i.windowSize)};
56
+ padding-left: ${i=>a.navBarPaddingLeft.valuePx(i.windowSize)};
57
57
  height: 100%;
58
58
  `,ii=t.div`
59
59
  display: flex;
@@ -88,7 +88,7 @@ import{e as B,j as e,$ as m,o as r,a4 as L,C as d,a3 as M,X as C,h as W,g as s,n
88
88
  flex-direction: column;
89
89
  width: 100%;
90
90
  align-items: center;
91
- `,x=t.div`
91
+ `,m=t.div`
92
92
  display: flex;
93
93
  width: 100%;
94
94
  justify-content: space-between;
@@ -109,11 +109,11 @@ import{e as B,j as e,$ as m,o as r,a4 as L,C as d,a3 as M,X as C,h as W,g as s,n
109
109
  width: ${r.sp4};
110
110
  height: ${r.sp4};
111
111
  color: ${i=>i.isError?s.important:s.brandColorGoldDark};
112
- `,ai=t(A)`
112
+ `,li=t(A)`
113
113
  width: ${r.sp4};
114
114
  height: ${r.sp4};
115
115
  color: ${s.success};
116
- `,li=t(J)`
116
+ `,ai=t(H)`
117
117
  width: ${r.sp4};
118
118
  height: ${r.sp4};
119
119
  color: ${i=>i.theme.colors.grey2};
@@ -149,4 +149,4 @@ import{e as B,j as e,$ as m,o as r,a4 as L,C as d,a3 as M,X as C,h as W,g as s,n
149
149
  color: ${i=>i.theme.colors.brandColorGoldDark};
150
150
  width: ${r.sp4};
151
151
  height: ${r.sp4};
152
- `;export{mi as m};
152
+ `;export{xi as m};