@zeniai/web-cockpit-ui 1.15.35-qa → 1.15.36-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 (285) hide show
  1. package/dist/assets/{ACHDetailsPage-CdyuCPU8-Cc9AcSrc.js → ACHDetailsPage-MTECJ5f2-BdLHfYkw.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-GW2UlhRu-LCcni55-.js → AIPerformancePage-2DnUDrYW-DNI5xeF8.js} +21 -21
  3. package/dist/assets/AccountInfoPage-BDjC13Ii-CDV-bwh1.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-Dn6yodzf-CnavH9Km.js → AccountInfoPageContent-Uf69Ma0g-4oOZ211N.js} +7 -7
  5. package/dist/assets/{AccountLockedInfoModal-7MLTBsWb-D0R-VIax.js → AccountLockedInfoModal-BXcJh14l-Cm1Sq52s.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CUvBGVmt-BU4gFlYH.js → AccountReconDetailsDrawerPage-Cswyt1rh-8EGrj1WM.js} +6 -6
  7. package/dist/assets/{AccountRow-t-WESYF_-CAxThHrd.js → AccountRow-CwQ210NA-5WmGHDfQ.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-C0Ht_d_M-AWi1njok.js → AccountsPromoCardStack-DdAZdIl7-B1nFN92E.js} +15 -15
  9. package/dist/assets/{AddAddressForCardDrawer-CpDfjROc-NuYhekBS.js → AddAddressForCardDrawer-B2tfTCJl-DqVInXyI.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CPYp6JZP-4pViGsS0.js → AddToWalletPage-CYheOozR-CDrN1v1e.js} +6 -6
  11. package/dist/assets/{AgingReportsPage-BRChA3Xv-C_Zgtox3.js → AgingReportsPage-DzKHZ2gU-D4NK3bB8.js} +13 -13
  12. package/dist/assets/{AllUserItems-CUlWgl79-CPuh3MLd.js → AllUserItems-M13M7Dn--CMRF0XPg.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-D7u_ghQp-BO50wskp.js → ApAgingDetailPage-CeCfzyaW-xN1KSuw8.js} +6 -6
  14. package/dist/assets/{AppBasePage-bvoaHTtg-BZ9G1r1W.js → AppBasePage-lNsHzKPV-BUTBPJJ7.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-DYDi-djG-CB6Hm-0Q.js → AppDrawerContent-D7S-TGMT-BmwuU2JQ.js} +1 -1
  16. package/dist/assets/ApprovalRulesSettingsPage-CEb5R3Um-BCMBYXPC.js +47 -0
  17. package/dist/assets/{ArAgingChart-DBuqIeaR-bg4RQvn8.js → ArAgingChart-BtWnAFp_-C5Q_9k5d.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-ALGyVMJV-BZSF2nd3.js → ArAgingDetailPage-b4XNEmrz-DygKBFbD.js} +2 -2
  19. package/dist/assets/{AttachmentView-BIeDapyc-Dy-ghSP2.js → AttachmentView-BNh7psmU-Bbw5Dndi.js} +1 -1
  20. package/dist/assets/{BankAccountSection-BQKaKFnm-DXAkbQt8.js → BankAccountSection-DvxISEWF-B3bfDW0E.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-DeUkht1G-Dr6bgRCP.js → BankAccountWarningSection-BigSAlOf-giEPP_Qk.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-qldLiM1M-B7n052An.js → BankConnectionsSettingsPage-BmV84xpM-hAhHGA_U.js} +1 -1
  23. package/dist/assets/{BillDetailPage-BPqPHZcD-BLaS3lNQ.js → BillDetailPage-bGScpKo1-C8_DAvpa.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-FW3E7XSE-BuOLvGKr.js → BillPayApprovalRuleDetailPage-WL_3iqlY-CEGOsAwB.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-BGotlrLK-Dnlxb0ei.js → BillPayApprovalRulesPage-DzXO3OA3-CuNf74rj.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-DvoccD5_-BbvDxZBM.js → BillPayPromoPage-CWXg38Zn-QLqd2JeT.js} +4 -4
  27. package/dist/assets/{BillPaySetUpPage-DhjIDy8h-DjCT2F-Q.js → BillPaySetUpPage-S29c7luv-BjKkNycA.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-CmO4DZ-a-DfLL-3xJ.js → BillingSettingsPage-B4UuM5oI-CnNIbUJQ.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-4vzF3bG9-CYnUuRpA.js → BillsBulkReviewDrawerPage-DnU8hO98-C1ox6sAt.js} +1 -1
  30. package/dist/assets/{BoxItem-B6i9yx2h-BXmANcI9.js → BoxItem-BuOARLA6-BfKpH1iW.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-DuEh8MkZ-C6NEKtFI.js → BusinessVerificationPage-C-2WkF1k-BNJjkTCX.js} +8 -8
  32. package/dist/assets/{CardNumberSubText-BEVRq2PI-DDGQHtM7.js → CardNumberSubText-B5F6n20g-B4j-P-Yo.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage--SHtNWGE-B7q_3WKk.js → CashbackDetailPage-B8BWFurd-CEzxQv9t.js} +11 -11
  34. package/dist/assets/{ChargeCardDetailPage-EFRUpv7y-CRSyItBH.js → ChargeCardDetailPage-CUwelhv9-_Qmyewum.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-CFB5EHCZ-Q_LF4khU.js → ChargeCardListPage-OM6V0_w4-DmRwOrEA.js} +7 -7
  36. package/dist/assets/{ChargeCardListTable-DM_h-dzr-JfLZMhMV.js → ChargeCardListTable-BLQucs67-dVRRo8zw.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-CPZj9te2-D70Jr31B.js → ChargeCardPaymentHistoryPage-Ctli7jP9-Dv4R4N7Z.js} +7 -7
  38. package/dist/assets/{ChargeCardPromoPage-BWwBfycu-Dr4jE1df.js → ChargeCardPromoPage-87W_Pmcc-CL32Gm8l.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-Epn4xe2x-CtGXIQfR.js → ChargeCardSetupPage-C2ut28_d-oEr-F107.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-Bu7OdYhw-DLIqhr4K.js → ChargeCardStatementsPage-B0pW9c8L-BOQfbOjy.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-DQnqizMV-Das21vqy.js → CheckDepositDrawerPage-B6amchCs-DmayI2eG.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CSVzLWq_-CEaOtd9D.js → CollapsableReportTable-CKZMra2N-DVHlppQA.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-Pwtunf36-wXG4kPwP.js → CompanyOfficerDetailsSection-BaDN_HWQ-Df10Iqha.js} +13 -13
  44. package/dist/assets/{CompanyPassportCard-DfPPft95-DYon-nbO.js → CompanyPassportCard-CVmFwsYx-YUIsTO7p.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-aNL_m3a2-BNzT9aja.js → CompanyPassportPage-Bo-fHKTg-pFmh0JY_.js} +15 -15
  46. package/dist/assets/{CompleteProfile-DmeE0Xjt-Bu6rPbEQ.js → CompleteProfile-D8_3QPfk-Cc_sI1mw.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-s04ELXDS-BR_CtkF9.js → ConfettiBurst-BxK3gOov-DRtasWE2.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-TJzIXuNi.js → ConstrainedInnerElement-BeIpAPjB-BSv5CT9e.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-D3oCIz1P-3fRPViQO.js → CreateOrEditVendorPage-Cx-QXXom-B8MFa7Ua.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-DPXaPj4B-CIxVZ_ux.js → CreditCardPaymentDrawerPage-D_VntONF-BdSVEQJx.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-CtKQBmBI-_7Z7zjF5.js → CurrencySelectField-CvMIDpOa-D4F-_rjZ.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-DCQvUK8d-CwcuXdB6.js → CustomerOnboardingActivationPage-BNx_JIsl-C1rccu3S.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-Dbz1NTUm-D53gumsw.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BVJ6jsqR-BkC7DbU8.js → CustomerOnboardingDetailPageSkeleton-CDkqTFSM-Be1MlRsD.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-DQcf1Pyg-DmFCTQmR.js → CustomerOnboardingNoStepsPage-B7nn9pa6-kAh8a-Yt.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-CLNt38t0-CISsxaNz.js → CustomerOnboardingPage-B0UsbJ1P-CYm4CD54.js} +5 -5
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-SyWJAHJ5-BLo87ZGI.js → CustomerOnboardingProductSuitePage-CTHXj545-fzvlTLym.js} +2 -2
  58. package/dist/assets/{Dashboard-DW6P3oLC-JmOZT2AT.js → Dashboard-mxMZYpEW-DiLuYwxX.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-Cp04-QUV-iSoe8_J3.js → DashboardReportPage-Dy9QVA7Z-Cz6343vo.js} +25 -25
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-CKoyjUHm-wsCB2Mj1.js → DashboardSidebarBackgroundAnimation-Bp7cCBwN-DxhEIL5n.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-kZL4La9A-px-IlxCa.js → DepositAccTransactionItem-qG9GvyAi-Cn-YxRbF.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-C_GPoFDS-C20Qv67v.js → DepositAccTransactionListPage-DY6ckLcN-BoxQBeYY.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-CL-gGug5-CFzt84md.js → DomesticWireDetailsPage-DQDdpsym-DorJ__Th.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-JdIA_Qvk-C3WZFyzU.js → DownloadOverlay-Calb-h8P-CpaxI-5F.js} +29 -29
  65. package/dist/assets/{DrawerPage-_F2zRGIo-Bbd9X4eR.js → DrawerPage-CtJFKuFL-CYYKg7Ek.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-Cqd73zkA-Ch9gkw4G.js → EditPeoplePage-D6AHuPcm-7B9Bydt9.js} +3 -3
  67. package/dist/assets/{EditReimbursementDetailPage--T5T_fJG-DCRo-lmo.js → EditReimbursementDetailPage-D6_fdX7E-DuCCCgtB.js} +3 -3
  68. package/dist/assets/{EntityDetailPage-CAu9l8_o-BuX4TBGi.js → EntityDetailPage-8XBPRJ2z-Blkh-rZa.js} +4 -4
  69. package/dist/assets/{EntitySummarySection-D1QM7cY6-CCQcM2Q7.js → EntitySummarySection-CRobZFdA-5ICB6kMK.js} +6 -6
  70. package/dist/assets/{ExpenseAutomationOverviewPage-pciCiajG-Bavician.js → ExpenseAutomationOverviewPage-BJAWD2jM-D1xeNN02.js} +46 -46
  71. package/dist/assets/ExpenseAutomationPage-CUMFF1DE-qGZ-fhdP.js +3001 -0
  72. package/dist/assets/{ExpressPayPage-BCMf-60G-Baid2jkl.js → ExpressPayPage-nqBKZ3fl-GqF5wwC1.js} +10 -10
  73. package/dist/assets/{FeaturePreviewPage-Dj5OXPVN-C18ni9NB.js → FeaturePreviewPage-C_IsnbRF-CRsggv2B.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-ZwhfJWnC-DJAXwgDf.js → FollowStepsSection-3Pp2we-C-BklcQOfQ.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-AZtnVYVQ-DMam3PuI.js → GlobalReviewListPage-BmXesyUc-Bz2HEI-M.js} +1 -1
  76. package/dist/assets/{InformationCardStack-D8cmcS4k-bRtRxft3.js → InformationCardStack-DNpn0-gM-GyRbPKpL.js} +5 -5
  77. package/dist/assets/{InsightsCardStack-CRbYGyti-BvZbD4Jj.js → InsightsCardStack-B2WhxVyz-B8IW9DSU.js} +1 -1
  78. package/dist/assets/{InsightsSection-B7cEUOjq-C4wpk5vd.js → InsightsSection-C2CwZPel-DBGYdL2D.js} +5 -5
  79. package/dist/assets/{IntegrationsSettingsPage-Cu70a3gO-C_bOu9Zi.js → IntegrationsSettingsPage-DIaqGx79-DcwRlZ2W.js} +2 -2
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-D_RuMP2E-BR38wYj0.js → InternationalWireSwiftDetailsPage-COOKMFsG-CgyBiXO1.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-CqpE7nR5-Cxc90JyU.js → InternationalWireVerificationPage-DmEbE8mB-y7aFV84D.js} +1 -1
  82. package/dist/assets/{InviteFormPage-BU3bkjN3-GXBF_TIM.js → InviteFormPage-B25ubjDZ-rc60wJWK.js} +1 -1
  83. package/dist/assets/{InvitePageListView-BfRPKPse-CRF5Iqdy.js → InvitePageListView-VsLAIeB2-sN4Mjomj.js} +25 -25
  84. package/dist/assets/{InvitePeoplePage-DFfZPbsO-CxUypzJ8.js → InvitePeoplePage-CtsAK9qA-Cy85-R6z.js} +2 -2
  85. package/dist/assets/InvoiceUploadSection-CTWcHIik-Ch45PmQD.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-BB83Aeyd-DU83Twkc.js → IssueChargeCardPage-BjFDSjnT-B6eRPv5Y.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-CK-YJ1cO-C4LJb4Ec.js → LabeledAddressValue-DTtkpbQD-CqjAk_yZ.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-BppwMtJ1-T6lPuNrW.js → LabeledAddressValueField-CGnp-ruv-DcIYlcxL.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-zpbzob1x-De_sFAdL.js → LabeledControlledCheckBoxField-D59MWScK-u0D-4rtN.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField-DrZ69tWB-CbkU60Cq.js → LabeledCountryMultiSelectField-H2s6dgDh-Bk8gsi9y.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-D-rSPg1Y-BEoWM6os.js → LabeledCreatableSingleSelectField-DcMbc854-D5zvfJ8D.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-CBQeAeRc-CsNYjjwd.js → LabeledDocumentField-sF7Zoa0k-CZ654oCL.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-5t5k_pgq-3N767TYR.js → LabeledDropDownFormattedTextField-CQV1Uzgm-NA-GZk2j.js} +1 -1
  94. package/dist/assets/{LabeledText-tLPpd4Wp-Dn15jABZ.js → LabeledText-BacKeQ9P-B1Cd96zY.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D5zZUAVV-Uprdm1T5.js → LabeledUserSingleSelectWithSubtitlesField-BwgY-iwq-BfcihsXM.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-DZ9boJMt-Ddaj0gyJ.js → LabeledZeniRolesDropDownField-DckQcAsv-jt45kZxB.js} +18 -18
  97. package/dist/assets/{LinkJETransactionPage-C99UMrwp-DGyiLhz2.js → LinkJETransactionPage-CJh4FFpC-BBBjUecH.js} +5 -5
  98. package/dist/assets/{LockCardPage-DE5Zw1p--DDhMx2Zw.js → LockCardPage-CPcRTCZE-D_H0owTv.js} +8 -8
  99. package/dist/assets/{LowBalancePopup-BD9saCcf-Bd0FezoJ.js → LowBalancePopup-D8GK2H9h-hjWBZs2C.js} +2 -2
  100. package/dist/assets/MagicLinkACHDetailsPage-D25qjc2G-9NeAFmog.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-D8_ky1S0-jwkJvUEx.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-CvLwoWmx-CZ38-i1G.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-BxXyF-Sp-BLAQ6Wfq.js → MagicLinkSuccessPage-B_BENTTd-DbqViuOL.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-DajyP-ys-DhZ3lo9u.js → MagicLinkTitleSection-QKzoOrdi-Bpjf7BPR.js} +1 -1
  105. package/dist/assets/MailingDetailsSection-CAqhq5HH-B7PPRTQj.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-BE1pUnaR-rY5WmdmI.js → MyBankConnectionsSettingsPage-CLyQgTUj-BbnMCn1U.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-CviCM09N-TrpArtHh.js → MyPendingActivationChargeCardListPage-_Fkdh2qv-Sopb8zUc.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-iREvm7LK-aaE3zkBS.js → MyProfileSettingsPage-DxmJa0cf-DxXUJqnD.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-r-K_Pjsb-BM59aAtt.js → NavBarWithPicker-CV8HLA6I-BUWTCujT.js} +1 -1
  110. package/dist/assets/{NavigationArrow-CKhWji3v-DrK7JvGJ.js → NavigationArrow-C0hMKZ32-hISa84Ue.js} +1 -1
  111. package/dist/assets/{NavigationDots-OShASt5i-BCPaSs2y.js → NavigationDots-CjCXOKoW-CbK19jrp.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-2-kYqTDF-ClE9Trkz.js → NewGlobalMerchantPage-DbL_f9K3-BJU60EMT.js} +1 -1
  113. package/dist/assets/{NoDataChart-BN3zyJkX-d_10V5tE.js → NoDataChart-gYvI6yr8-viHJ3bQ-.js} +1 -1
  114. package/dist/assets/{NoDataTable-D0cyK_1j-CRU7hu0R.js → NoDataTable-BKZwVTXZ-T0eI1Zo0.js} +1 -1
  115. package/dist/assets/{NotFoundPage-yrt6kuPH-CTx1x3zQ.js → NotFoundPage-BYY5isHm-DDhBeJOV.js} +2 -2
  116. package/dist/assets/{NotificationSettingsPage-CX3Hkg6o-Bee4no-2.js → NotificationSettingsPage-DjW6to0g-1y2D4DgT.js} +16 -16
  117. package/dist/assets/{NotificationsListConfig-Cyzhla-8-29lmg0oi.js → NotificationsListConfig-CVq2sl6h-Bw-0i4Ig.js} +1 -1
  118. package/dist/assets/{NotificationsPage-O7M0pMnc-daR4laOH.js → NotificationsPage-CRP4cafk-C5rQyA0T.js} +21 -21
  119. package/dist/assets/{OpExByVendorPage-DpMGBmkQ-BofNUHsQ.js → OpExByVendorPage-DFhGNQND-Dk5383RE.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-BNxbiugm.js → OverlayContainerPage-D4QU0p4o-DKdfSoPP.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-Cbt0YlVL-CIaTrEzj.js → PandLWithForecastPage-C7HbHAwT-jbJyIaCy.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-B2xEqKKc-CBFbBa1P.js → PaymentAccountSetupBillingAddressSection-CrOLi3CM-uLcqJFNN.js} +7 -7
  123. package/dist/assets/{PeoplePage-CUr5cz1w-_V-Q3GTv.js → PeoplePage-C70ShoQt-BQS3GQ43.js} +13 -13
  124. package/dist/assets/{Preview-CEK51ZCO.js → Preview-CIzSWHQo.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-t8HIs4J6-BEITBT2Y.js → ProductsCarousel-CWjvhORp-CeSyV6gs.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-6Uh8eokP-CcA7wxXm.js → PromoBaseCards-C_MPWCdo-BQaVgUEA.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-BbmqcpYW-BQKok7bH.js → QBOConnectionDialog-DG8GBxXu-BOORcaKP.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-u5dKqaH8-HpPTyv_J.js → QBOSetupSection-D0xw7uYo-BIeky-6i.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DxSrYBkv-B54Dk5Is.js → ReimbursementApprovalRuleDetailPage-D7Nssw7C-DE7B3Va0.js} +6 -6
  130. package/dist/assets/{ReimbursementApprovalRulesPage-BL2GpJIG-DcDYMr7J.js → ReimbursementApprovalRulesPage-ALLu5Bn2-CwTr897n.js} +1 -1
  131. package/dist/assets/ReimbursementDetailPage-DtUem4gd-DWGZKWlX.js +314 -0
  132. package/dist/assets/{ReimbursementPromoPage-DuwxKGGm-CHsOOSFl.js → ReimbursementPromoPage-BMJx4mIG-DJbTDfJr.js} +4 -4
  133. package/dist/assets/{ReimbursementSetUpPage-Du4kRXbO-B-5X8hsi.js → ReimbursementSetUpPage-yEKRYNla-CFFoHhA6.js} +5 -5
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BmlYoVy4-B6mT_3wC.js → ReimbursementsBulkReviewDrawerPage-DuG_oVRd-DNVGALUa.js} +1 -1
  135. package/dist/assets/{ReloadCard-BSiXuJWg-BqlPHpin.js → ReloadCard-B1sDYISv-yIhOaL2x.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-KgvX6wt6-BZ_fbetO.js → ReportTableViewSelector-D0_bxxr3-CG8SHCRk.js} +1 -1
  137. package/dist/assets/{ReportsPage-Bt24BITW-DCtuAB8s.js → ReportsPage-8KbmzE10-CGdeSxTj.js} +4 -4
  138. package/dist/assets/{RevenueChart-iH_Xl63n-Drddpf_5.js → RevenueChart-DHaN9dID-BBTu7at-.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-CwPsM3uL-Dh04puOa.js → ReviewDetailsPage-CU1pEUH6-CJzA5XWq.js} +53 -53
  140. package/dist/assets/{ReviewOverlay-DOqgOSnM-uwLvPYee.js → ReviewOverlay-abE-6rKm-CJgH1hlM.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-D6q4Wd6X-Ba41qnE5.js → RoleWithToolTip-XCmNsd2N-DcGnYG_x.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-_bJob_HD-CAcW1WNd.js → ScheduleDetailsFixedAssetsPage-DdQ7n2jO-CJpvIQmk.js} +3 -3
  143. package/dist/assets/{ScheduleDetailsPage-BDZm6We--DqachKin.js → ScheduleDetailsPage-BT7nc-SK-BkKOCQn5.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-DgG11IBi-DHvVMS0K.js → ScheduleSequenceTable-DmNi0a_t-BRPd9MD_.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-DP1vvIFq.js → ScreenRoutes-ReV8hS5d.js} +33 -33
  146. package/dist/assets/{SetUpAccountSection-n5OCUAL3-BCPO4UYh.js → SetUpAccountSection-CF5-adzX-dA8yacgy.js} +1 -1
  147. package/dist/assets/{SignIn-uBHaDram-DeaAUvTZ.js → SignIn-BlqHQp_i-DiVgvIz3.js} +12 -12
  148. package/dist/assets/SignInScreen-DPbt8pK5.js +1 -0
  149. package/dist/assets/{SpendManagementListViewPage-ErBiPjGh-ZxpEEpcQ.js → SpendManagementListViewPage-Bw49YHTs-B7x-SLHw.js} +13 -13
  150. package/dist/assets/{SpendManagementPerTabPage-BIxGrbmz-iaE28oxr.js → SpendManagementPerTabPage-BBxTKG7D-DmW59dEk.js} +1 -1
  151. package/dist/assets/{SpendManagementSection-B01H6LCd-dV21F-9A.js → SpendManagementSection-C0tVpDka-7XRgMTMj.js} +19 -19
  152. package/dist/assets/{StatementItem-BJJHaw9s-29L7-ckn.js → StatementItem-CX-Vb6Yv-CQSzimr4.js} +5 -5
  153. package/dist/assets/{StatementsPage-rFpr0w_W-DNXmI_WC.js → StatementsPage-DIhLk0I0-CJFVRHXq.js} +2 -2
  154. package/dist/assets/{StatusSwitcher-DnuyzbQo-zsneBA5e.js → StatusSwitcher-2x-HpawS-rvUjyTH4.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-Bk10VIFM-CrNC5Y_x.js → SubTabSwitcher-3gCHG_2e-kbyMAwsf.js} +1 -1
  156. package/dist/assets/{SummaryCard-CHqc9QHC-Yq25xivx.js → SummaryCard-DDFWzeCH-DDL0LPzG.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-Cr_KAM2z-B2jYjFSR.js → TaskManagementPage-D4PHLunD-tt5TJWu-.js} +7 -7
  158. package/dist/assets/{TimeRangeSwitcher-DkNMcmBm-BKKiSxbO.js → TimeRangeSwitcher-CY0nV1h--J209OFZR.js} +11 -11
  159. package/dist/assets/{TimeframeSwitcher-CULpyCRj-B4sMqB1t.js → TimeframeSwitcher-ncxeqCrX-BswygR8z.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-BSx_ynUp-C4foPuxp.js → TimeframeSwitcherWithToggle-Ct5BEs_Q-BzganDVC.js} +4 -4
  161. package/dist/assets/{TopExCard-B29o-5e0-C1Xb1edv.js → TopExCard-COqnH-4I-BVvqNRP9.js} +3 -3
  162. package/dist/assets/{TopExDetailPage-TVxgKbn8-h1-M6BqE.js → TopExDetailPage-qgHjp5oB-CbVU9bNn.js} +15 -15
  163. package/dist/assets/{TransactionActivityLogPage-0wmqwFMQ-DpxBoViM.js → TransactionActivityLogPage-BcYHnlFq-GhckwPRW.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-B9pzvWO8-C4lfGaqD.js → TransactionDetailPage-BZU1QN3O-C4mwlffy.js} +1 -1
  165. package/dist/assets/TransactionList-AmUI5s8r-DfvxSOnm.js +153 -0
  166. package/dist/assets/{TransactionListBig-DMnQfRkS-20CPxACF.js → TransactionListBig-ByYlobcF-BhG5fg3c.js} +1 -1
  167. package/dist/assets/{TransactionListPage-BB452Nj4-Dgs9EM0f.js → TransactionListPage-BZtT0JVM-CMhzYu3G.js} +1 -1
  168. package/dist/assets/{TransactionVendorDetailPage-BCkXd3P2-Bl6s22Tw.js → TransactionVendorDetailPage-DVPBTIK5-B0IzCC6Z.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-6Rt1ZlJA-I2Skd8-A.js → TransferDrawerPage-CSHGPlKO-B6ir6T3C.js} +1 -1
  170. package/dist/assets/{TreasuryOverviewPage-CuSfgvcS-m6L9Jvdu.js → TreasuryOverviewPage-CWtloEcx-BI7fuqEe.js} +9 -9
  171. package/dist/assets/{TreasuryPromoPage-DUi2uBW8-B47B8ibo.js → TreasuryPromoPage-BkxayclQ-BD05BSZg.js} +1 -1
  172. package/dist/assets/{TreasuryStatementsPage-DNhwcfdJ-BaprS6U4.js → TreasuryStatementsPage-Bdo7eYMN-DYhvNV6I.js} +2 -2
  173. package/dist/assets/{TreasuryTaxLetterPage-BLIGs8oG-rs4DWgsu.js → TreasuryTaxLetterPage-C8ejdAk5-DByu-1LU.js} +2 -2
  174. package/dist/assets/{TrendChart-KoCvlYmC-C-jk3kXT.js → TrendChart-ZDj-xpm1-Jp3bnOcp.js} +1 -1
  175. package/dist/assets/{TrendWithTransactions-Vqr8x7E_-B9kpqnaG.js → TrendWithTransactions-qTLVjOfV-1Qq4W0Vf.js} +3 -3
  176. package/dist/assets/{UncategorizedAccountsMappingPage-BKdvN3Lh-DXsxrj_5.js → UncategorizedAccountsMappingPage-8Bzfc9-f-DSTdymGe.js} +5 -5
  177. package/dist/assets/{UnitIntegrationPage-CQ7270p--CQ6r0MVa.js → UnitIntegrationPage-B1S92bhM-YW7CpieK.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-CcH5BomT-DSbThaHM.js → UploadAdditionalDocumentOverlay-CBFoai8Q-D24u1z1-.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-DtT11B4h-CT6Xi_aF.js → Vendor2FAPopup-DAvl-0wR-CMmLV0gh.js} +1 -1
  180. package/dist/assets/VendorACHDetailsPage-kezd7VIg-_33VYhc_.js +1 -0
  181. package/dist/assets/{VendorDetailPage-2rTQcqZl-BvHWS2Gn.js → VendorDetailPage-Cq0ifHHj-X3Tmeucn.js} +1 -1
  182. package/dist/assets/VendorDomesticWireDetailsPage-DYCckZ0--2FN3v_yv.js +1 -0
  183. package/dist/assets/{VendorFiling1099EditablePage-Cgkipd6r-DlLW9ftw.js → VendorFiling1099EditablePage-DZ7w4hG9-0R5SyRKT.js} +32 -32
  184. package/dist/assets/{VendorFirstReviewPage-Va76j7QY-C_o-6JAB.js → VendorFirstReviewPage-DeTtH_3q-JOPrtxvQ.js} +16 -16
  185. package/dist/assets/{VendorInternationalWireDetailsPage-D0IeqYQZ-yCoXRdA4.js → VendorInternationalWireDetailsPage-oLPgqqXG-Cu-XiY9k.js} +1 -1
  186. package/dist/assets/VendorInternationalWireSwiftDetailsPage-C25-dQzU-CfUQEHr0.js +1 -0
  187. package/dist/assets/{VendorsAccountsSection-CTmdfJi_-CxsrtQCW.js → VendorsAccountsSection-CjtV6vnA-EPohtHXT.js} +1 -1
  188. package/dist/assets/{VerifyDevice-DFCNFtDD-B2l_EHpD.js → VerifyDevice-BKlM_EIQ-eKiK1Vh6.js} +8 -8
  189. package/dist/assets/{VideoPlayer-CIr6pCWx-BlGxtEbt.js → VideoPlayer-Cd6Z-m3O-CXV5kTHF.js} +2 -2
  190. package/dist/assets/{VideoPopup-CoeVMP5D-CkEoZJPU.js → VideoPopup-hzeQU5PD-DzEhicyc.js} +3 -3
  191. package/dist/assets/{WarningsDrawerPage-CNBphx6e-uyGjzkS6.js → WarningsDrawerPage-Bj1rv5Lm-DhSYjNx8.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-ysMCIpFe-B_7tw6sp.js → ZeniAccountDetailPage-XEP8Ax1n-Bk0f_d4B.js} +9 -9
  193. package/dist/assets/{ZeniAccountListViewPage-DUalD7AP-5wUXGfcR.js → ZeniAccountListViewPage-BFBLw9LX-YV6uT0to.js} +15 -15
  194. package/dist/assets/{ZeniAccountNavBarPieces-B8jILUl8-BBizFg1k.js → ZeniAccountNavBarPieces-DeAJa-tc-B5jGlBA5.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-CUJm-42a-BQnYMroZ.js → ZeniAccountPromoPage-tOAp0Gpx-BKu4Kphu.js} +1 -1
  196. package/dist/assets/{ZeniAccountSetupPage-BTurLFPN-ter0-uCW.js → ZeniAccountSetupPage-DMcEkRkC-C4uo8IPg.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-BTFZ48gh-w15_W74f.js → ZeniCopyright-DzbxtiXr-hH0_8XoH.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-f0nRZPzG-BLDyrypP.js → ZeniTransferAmountSlider-CjlubUnE-cQiE2SkE.js} +1 -1
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-D1teIsf6.js → add-to-wallet-DgdBD8_G-C2wVoVNZ.js} +1 -1
  200. package/dist/assets/{analytics-DvsRx7_o.js → analytics-6ukc1Do4.js} +1 -1
  201. package/dist/assets/{analyticsHelper-lunHUd8g-T6u0613Q.js → analyticsHelper--FI5ZNkP-C6nfDH6L.js} +1 -1
  202. package/dist/assets/{analyticsHelper-DeD9LR3c.js → analyticsHelper-Diz2KIDT.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-CIyEcJYf.js → arrow-south-east-round-PEovUgvH-BzdHTtYI.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-CtO92HdQ.js → auto-transfer-rule-mbafm5D3-DiSmmrWv.js} +1 -1
  205. package/dist/assets/{chartTypes-DESZubWD-J95DqIha.js → chartTypes-OhAs1JKI-bzHdDgZb.js} +1 -1
  206. package/dist/assets/{commonDimensions-Cpv8YIix-BXt5gzTm.js → commonDimensions-B2iVuJD5-CcSv5ZyJ.js} +1 -1
  207. package/dist/assets/{commonTypes-B1gKMzJK-DXXYZylr.js → commonTypes-cRbeH9rJ-Bb0mwy34.js} +1 -1
  208. package/dist/assets/{constants-B-YZmhKw.js → constants-DIDmrHxx.js} +1 -1
  209. package/dist/assets/{core-HDqpewC7.js → core-IgaX3lD-.js} +1 -1
  210. package/dist/assets/{dash.all.min-kOXiIFTN.js → dash.all.min-BZobhYiu.js} +1 -1
  211. package/dist/assets/{detailCommon-DyrMcL2E-Dkj1Ro3D.js → detailCommon-DHznXAh3-CiYpsfiB.js} +6 -6
  212. package/dist/assets/{downloadPdf-D2sIdMDR-CfGqGROi.js → downloadPdf-DCU64Gug-DSJFt5WV.js} +1 -1
  213. package/dist/assets/{empty-DfoIHPwJ.js → empty-7DTjA2wf.js} +1 -1
  214. package/dist/assets/{empty-Dx0imdfu.js → empty-C9jNhFru.js} +1 -1
  215. package/dist/assets/epic-CKkwCmL7.js +2 -0
  216. package/dist/assets/{gift-box-Cmt9OgIZ-xM5zrgW4.js → gift-box-Cmt9OgIZ-CBOUr4XW.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-B9Rqv9_n.js → graphic-no-data-l-DU4J8fDt-DMvuiJwA.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DYb8EeBA.js → graphic-no-data-net-burn-l-CzmycA0m-CSiSDw7r.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-B6X0918N.js → handshake-BPg58FML-DarHJSr3.js} +1 -1
  220. package/dist/assets/{helper-i78O9ew8-C81IjMdE.js → helper-CCCOsTBK-Dcm9G4A9.js} +1 -1
  221. package/dist/assets/{index-DAitESaL.js → index-B4YQ83K3.js} +1 -1
  222. package/dist/assets/{index-BmIGxAWd.js → index-BGxoQ0u8.js} +1 -1
  223. package/dist/assets/{index-Depa7Syu.js → index-Btm2GEQg.js} +1 -1
  224. package/dist/assets/{index-Bdy6x472.js → index-CN1ccabn.js} +1 -1
  225. package/dist/assets/{index-BPv2nRQb.js → index-D-BANbLd.js} +1308 -1308
  226. package/dist/assets/{index-B7uDjLxh.js → index-Dmn-uHPz.js} +1 -1
  227. package/dist/assets/{index-D0CQgP0w.js → index-tky71xjr.js} +1 -1
  228. package/dist/assets/{lexical-CWcQ8pGO.js → lexical-BOeaRQ5K.js} +1 -1
  229. package/dist/assets/{liveblocks-Dv7Vdu8a.js → liveblocks-Db4nLOvA.js} +1 -1
  230. package/dist/assets/{lottie-V1lTNkDB.js → lottie-D0yKu2h3.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-COG82OfJ-CSZlHYMI.js → mapLoadingInProgressToTreeNode-CDOEagKG-Bt_n3HLB.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CjVZw324-gPmnB93g.js → mapSectionWithAcOnlyToTreeNode-Bacgq6px-DuzaQwsM.js} +1 -1
  233. package/dist/assets/mapSpacerToTreeNode-Cq9WPd-3-BYJOxkkl.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-Bj3oqvNg-DZI1LYnG.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-C23h7gVe-DUIYJGbT.js +1 -0
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-40rewm2_-B5RLxn7A.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DoDPxRuC-BPkv0D6R.js} +1 -1
  237. package/dist/assets/{mui-DdxImnN0.js → mui-AW-QpJ2k.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-5PyHJMJh.js → page-detail-CWX5S47F-BA6JwERa.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-Cddsb26L-gr9HWaHB.js → panelSelectedMixin-Cddsb26L-DJsIAZn1.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-LTUMKU8Y.js → radio-default-CiSgisfh-CDrk92vz.js} +1 -1
  241. package/dist/assets/{react-DbLm8gms.js → react-B8x_i0jF.js} +1 -1
  242. package/dist/assets/{react-BNr0aXGm.js → react-BvaHfgqq.js} +1 -1
  243. package/dist/assets/{react-OxQ1eBeR.js → react-CLqhqUbJ.js} +1 -1
  244. package/dist/assets/{react-Cjks14mZ.js → react-CXJKef1G.js} +1 -1
  245. package/dist/assets/{react-omDkrKl-.js → react-D-FX3Miy.js} +2 -2
  246. package/dist/assets/{react-CUY5EDxC.js → react-DZazVKdi.js} +1 -1
  247. package/dist/assets/{react-DYqwvMeX.js → react-DfDeDzYP.js} +3 -3
  248. package/dist/assets/{react-pyJg34N2.js → react-DhnYk-ZG.js} +1 -1
  249. package/dist/assets/{recharts-Djp9a38d.js → recharts-DPPWeTqd.js} +1 -1
  250. package/dist/assets/{sentry-DBSEoG3b.js → sentry-OhwUF_66.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-BOPfGBnx.js → shield-DOlUxcFf-BUF5YtAM.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-BpgPOYod-D7bBPsum.js +1 -0
  253. package/dist/assets/toChartData-JpJ956nX-BgylJdL0.js +1 -0
  254. package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-Dfva9HF2.js +1 -0
  255. package/dist/assets/{uploadAttachment-C3cElL9m-DY215Q-d.js → uploadAttachment-DicjfBYA-DrkICKBo.js} +1 -1
  256. package/dist/assets/{uploadReceipts-Dge0cNF1-C8hVDRbs.js → uploadReceipts-Dge0cNF1-DlcReZJ-.js} +1 -1
  257. package/dist/assets/{url-DITb-guK.js → url-B-9pHqAG.js} +1 -1
  258. package/dist/assets/{url-BmxmWAZl.js → url-BnMPYMYO.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ-CaFh8omD.js → useLongPress-GCK2COYQ-CP00SKp4.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-CpqqX4MO.js → usp-line-BBd1wKwW-F_fmAFtY.js} +1 -1
  261. package/dist/assets/{utils-rIQAYtge.js → utils-Cv-cXrhn.js} +1 -1
  262. package/dist/assets/{zeni-epic-state-1oOVJQJ4.js → zeni-epic-state-DR0XRPUQ.js} +34 -34
  263. package/dist/index.html +1 -1
  264. package/package.json +3 -3
  265. package/dist/assets/AccountInfoPage-BQksD-qN-B6B4Peyk.js +0 -18
  266. package/dist/assets/ApprovalRulesSettingsPage-CGO_GK8B-BhyryZtC.js +0 -47
  267. package/dist/assets/CustomerOnboardingContainerPage-Dm4ySQZZ-BHJNR9KJ.js +0 -1
  268. package/dist/assets/ExpenseAutomationPage-CYKu1ufk-BzTo68eE.js +0 -1803
  269. package/dist/assets/InvoiceUploadSection-BwqSfbYC-DSYQ6WXZ.js +0 -140
  270. package/dist/assets/MagicLinkACHDetailsPage-pyI_8fZk-3BHiRs6S.js +0 -1
  271. package/dist/assets/MagicLinkDomesticWireDetailsPage-leEpcwab-O5PQVsff.js +0 -1
  272. package/dist/assets/MagicLinkInternationalWireDetailsPage-CJRYlkvp-Ch9Obw_s.js +0 -1
  273. package/dist/assets/MailingDetailsSection-F1i0rBkv-84yBXYZi.js +0 -21
  274. package/dist/assets/ReimbursementDetailPage-D3qTbpPg-DWqpvN4c.js +0 -314
  275. package/dist/assets/SignInScreen-B6DcJ3oU.js +0 -1
  276. package/dist/assets/TransactionList-dUcT29oF-CywtUBOF.js +0 -153
  277. package/dist/assets/VendorACHDetailsPage-Cvek1Tr4-CzzV3ORJ.js +0 -1
  278. package/dist/assets/VendorDomesticWireDetailsPage-j-06hvAA-DPFaoVLs.js +0 -1
  279. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DZusODVt-DtzcvocF.js +0 -1
  280. package/dist/assets/epic-BE_WS1px.js +0 -2
  281. package/dist/assets/mapSpacerToTreeNode-DZFRqtKk-CsPnOowL.js +0 -1
  282. package/dist/assets/mapTimeframeBalancesToTreeNode-Cm_MiRXt-CmRF5ht9.js +0 -1
  283. package/dist/assets/mapTimeframeBalancesToTreeNode-DnvhN4Go-qLT8aEp1.js +0 -1
  284. package/dist/assets/toCOABalancesWithID-DxETcMNK-Bj7EoGl7.js +0 -1
  285. package/dist/assets/toChartData-BQYX2C7n-Cm6krZ2M.js +0 -1
@@ -1,9 +1,9 @@
1
- import{J as W,y as G,F as y,ax as ge,V as r,bP as _e,ab as P,bE as be,bD as Se,o as w,aU as we,k as ye,x as B,bQ as Ce,u as S,A,aF as K,O as xe,aW as Oe,at as Re,bM as Ae}from"./index-BPv2nRQb.js";import{a as L,P as X}from"./sentry-DBSEoG3b.js";import{n as _}from"./mui-DdxImnN0.js";import{bg as Z,ET as Be,F0 as ve,F1 as $,F2 as Te,F3 as Le,F4 as Pe,F5 as Ie,F6 as ke,F7 as ee,F8 as te}from"./zeni-epic-state-1oOVJQJ4.js";import{m as z,l as q}from"./analyticsHelper-lunHUd8g-T6u0613Q.js";import{x as Fe}from"./ReportTableViewSelector-KgvX6wt6-BZ_fbetO.js";import{a as se,p as Ne}from"./TimeRangeSwitcher-DkNMcmBm-BKKiSxbO.js";import{I as Me}from"./TimeframeSwitcherWithToggle-BSx_ynUp-C4foPuxp.js";import{DownloadOverlayButton as $e}from"./DownloadOverlay-JdIA_Qvk-C3WZFyzU.js";import{I as Ee,R as N,p as ne}from"./CollapsableReportTable-CSVzLWq_-CEaOtd9D.js";import{D as oe,T as ae,C as E,L as je,g as ie}from"./mapSectionWithAcOnlyToTreeNode-CjVZw324-gPmnB93g.js";import{s as Y}from"./mapTimeframeBalancesToTreeNode-DnvhN4Go-qLT8aEp1.js";import{d as Ve,l as De}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-40rewm2_-B5RLxn7A.js";import{d as ze}from"./mapLoadingInProgressToTreeNode-COG82OfJ-CSZlHYMI.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";import"./TimeframeSwitcher-CULpyCRj-B4sMqB1t.js";import"./page-detail-CWX5S47F-5PyHJMJh.js";import"./AccountRow-t-WESYF_-CAxThHrd.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="d01299d1-6894-4bbc-90ec-fca031c9fcd3",e._sentryDebugIdIdentifier="sentry-dbid-d01299d1-6894-4bbc-90ec-fca031c9fcd3")}catch{}})();function ce({section:e,sectionId:t,numOfBalances:o,config:a}){return ne("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(n=>Ue({accountGroup:n,sectionType:t,numOfBalances:o,title:n.accountGroupName,isLastNode:!0,config:a}))}function Ue({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:d}){const p=N("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ne("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,h)=>ie({account:g,sectionType:t,numOfBalances:o,title:g.account.accountName,config:d,isLastNode:h===i.length-1,parentNodeIDs:[p],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:i.length>1,hasChildren:g.children.length>0,isLastNode:h===i.length-1}]}}));return l.children.push(...u),l}function re({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((n,d)=>ie({account:n,sectionType:t,numOfBalances:o,title:n.account.accountName,config:a,isLastNode:d===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:n.children.length>0,isLastNode:d===e.accounts.length-1}]}}))}function le({balances:e,config:t,nodeId:o}){return{children:[],id:o??N("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function We(e,t,o,a=!0){Object.assign(e.config,t);const n=de(o),d=Y({balances:n,config:t});return{config:t,headerNodes:a?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const de=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let o=[];return Object.keys(t.sections).forEach(a=>{t.sections[a].balances.length>0&&(o=[...t.sections[a].balances,...t.sections[a].additionalBalances])}),o}default:return[]}};function Ge(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.balanceSheet,d=de(e),p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=le({balances:d,config:t}),i=[];return i.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=N("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(Te(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else i.push(oe({section:e.sections[s],sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}));else if(s==="equity"){const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else{const c=e.sections[s];i.push(ae({sectionWithAcOnly:c,sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}))}else Le(s)===!0&&i.push(E({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:i}}function Ye({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:n}){return{children:[],id:N("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function He(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.cashFlow,d=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=le({balances:d,config:t}),i=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=N("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(Pe(s)===!0)if(e.sections[s].accountGroups.length>0){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else{const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else Ie(s)===!0?i.push(Ye({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):ke(s)===!0&&i.push(E({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:[l,...i]}}function Ze(e,t,o=!0,a=!1){const n=y.getLocalizedStrings().reports,d=y.getLocalizedStrings().common;let p=[];const l=[];let i=[];if(a===!0){const u=Ve({title:d.loading,balances:[],config:t});u.reportElementData.element.numOfBalances=6,o&&(i=[u]),l.push(u),[...Array(8)].forEach((g,h)=>{const s=h%4;let c=De[s];const C=ze({title:`${h}+${c}`,balances:p,config:t});C.reportElementData.element.numOfBalances=6,l.push(C)})}else{const u=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],g=Y({balances:u,config:t}),h=t.mode!=null&&t.mode==="this_period_vs_period_before"&&u.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;l.push(g),o&&(i=[g]),e.idsInOrder.forEach(s=>{if(ee(s)===!0){const c=e.sections[s];c!=null&&l.push(je({section:c,sectionType:s,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}else if(te(s)===!0){const c=e.calculatedSections[s];c!=null&&l.push(E({calculatedSection:c,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:i,contentNodes:l}}function qe(e,t,o=!0){const a=y.getLocalizedStrings().reports,n=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],d=t.mode!=null&&t.mode==="this_period_vs_period_before"&&n.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=Y({balances:n,config:t}),l=[];return l.push(p),e.idsInOrder.forEach(i=>{if(ee(i)===!0&&(e.sections[i].accountGroups.length>0?l.push(oe({section:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t})):l.push(ae({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))),te(i)===!0){const u=e.calculatedSections[i];u!=null&&l.push(E({calculatedSection:u,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}const J={contentPaddingLeft:new B(S[0],S[0],S[0]),contentPaddingRight:new B(S[3],S[3],S[8])},Je=_.div`
1
+ import{J as W,y as G,F as y,ax as ge,V as r,bP as _e,ab as T,bE as be,bD as Se,o as w,aU as we,k as ye,x as B,bQ as Ce,u as S,A,aF as Q,O as xe,aW as Oe,at as Re,bM as Ae}from"./index-D-BANbLd.js";import{a as P,P as X}from"./sentry-OhwUF_66.js";import{n as _}from"./mui-AW-QpJ2k.js";import{bg as Z,Fy as Be,FH as ve,FI as $,FJ as Le,FK as Pe,FL as Te,FM as Ie,FN as ke,FO as ee,FP as te}from"./zeni-epic-state-DR0XRPUQ.js";import{m as z,l as q}from"./analyticsHelper--FI5ZNkP-C6nfDH6L.js";import{x as Fe}from"./ReportTableViewSelector-D0_bxxr3-CG8SHCRk.js";import{a as se,p as Ne}from"./TimeRangeSwitcher-CY0nV1h--J209OFZR.js";import{I as Me}from"./TimeframeSwitcherWithToggle-Ct5BEs_Q-BzganDVC.js";import{DownloadOverlayButton as $e}from"./DownloadOverlay-Calb-h8P-CpaxI-5F.js";import{I as je,R as N,p as ne}from"./CollapsableReportTable-CKZMra2N-DVHlppQA.js";import{D as oe,T as ae,C as j,L as Ee,g as ie}from"./mapSectionWithAcOnlyToTreeNode-Bacgq6px-DuzaQwsM.js";import{s as H}from"./mapTimeframeBalancesToTreeNode-C23h7gVe-DUIYJGbT.js";import{d as Ve,l as De}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-DoDPxRuC-BPkv0D6R.js";import{d as ze}from"./mapLoadingInProgressToTreeNode-CDOEagKG-Bt_n3HLB.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.js";import"./TimeframeSwitcher-ncxeqCrX-BswygR8z.js";import"./page-detail-CWX5S47F-BA6JwERa.js";import"./AccountRow-CwQ210NA-5WmGHDfQ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="179de96e-a4a6-4a09-b93a-8c4e7eaa3e20",e._sentryDebugIdIdentifier="sentry-dbid-179de96e-a4a6-4a09-b93a-8c4e7eaa3e20")}catch{}})();function ce({section:e,sectionId:t,numOfBalances:o,config:a}){return ne("no_filter",a.filterAccountsWithNilBalances,a.filterAccountGroupsWithNilBalances).compactedAccountGroupsSelector(e.accountGroups).map(n=>Ue({accountGroup:n,sectionType:t,numOfBalances:o,title:n.accountGroupName,isLastNode:!0,config:a}))}function Ue({accountGroup:e,sectionType:t,numOfBalances:o,title:a,isLastNode:n,config:d}){const p=N("section",[],a+t),l={children:[],id:p,isLastNode:n,reportElementData:{element:{kind:"section",title:a,sectionType:t,data:e,numOfBalances:o},config:d}},i=ne("no_filter",d.filterAccountsWithNilBalances,d.filterAccountGroupsWithNilBalances).compactedAccountsSelectorVariant(e.accounts),u=i.map((g,h)=>ie({account:g,sectionType:t,numOfBalances:o,title:g.account.accountName,config:d,isLastNode:h===i.length-1,parentNodeIDs:[p],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:i.length>1,hasChildren:g.children.length>0,isLastNode:h===i.length-1}]}}));return l.children.push(...u),l}function re({sectionWithAcOnly:e,sectionType:t,numOfBalances:o,config:a}){return e.accounts.map((n,d)=>ie({account:n,sectionType:t,numOfBalances:o,title:n.account.accountName,config:a,isLastNode:d===e.accounts.length-1,parentNodeIDs:[],ancestorMetadata:{subAccountAncestorMetadata:[{depth:0,hasSibling:e.accounts.length>1,hasChildren:n.children.length>0,isLastNode:d===e.accounts.length-1}]}}))}function le({balances:e,config:t,nodeId:o}){return{children:[],id:o??N("timeframe_header",[]),isLastNode:!1,reportElementData:{element:{kind:t.mode==="actual_vs_forecast"?"timeframe_headers_with_forecast":"timeframe_headers",title:"",data:e,numOfBalances:e.length},config:t}}}function We(e,t,o,a=!0){Object.assign(e.config,t);const n=de(o),d=H({balances:n,config:t});return{config:t,headerNodes:a?[d]:[],contentNodes:[d,...e.contentNodes.slice(1)]}}const de=e=>{switch(e.reportId){case"profit_and_loss":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"profit_and_loss_by_classes":{const t=e;return t.sections.expenses.balances.length>0?[...t.sections.expenses.balances,...t.sections.expenses.additionalBalances]:[...t.sections.income.balances,...t.sections.income.additionalBalances]}case"cash_flow":{const t=e;return[...t.calculatedSections.operatingActivitiesTotal.balances,...t.calculatedSections.operatingActivitiesTotal.additionalBalances]}case"balance_sheet":{const t=e;let o=[];return Object.keys(t.sections).forEach(a=>{t.sections[a].balances.length>0&&(o=[...t.sections[a].balances,...t.sections[a].additionalBalances])}),o}default:return[]}};function Ge(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.balanceSheet,d=de(e),p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=le({balances:d,config:t}),i=[];return i.push(l),Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=N("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(Le(s)===!0)if(e.sections[s].accountGroups.length>0)if(s==="equity"){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else i.push(oe({section:e.sections[s],sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}));else if(s==="equity"){const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else{const c=e.sections[s];i.push(ae({sectionWithAcOnly:c,sectionType:s,numOfBalances:p,title:n[s],isLastNode:!0,config:t}))}else Pe(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:i}}function He({calculatedSection:e,numOfBalances:t,title:o,isLastNode:a,config:n}){return{children:[],id:N("calculated_section_type1",[],o),isLastNode:a,reportElementData:{element:{kind:"calculated_section_type1",title:o,data:e,numOfBalances:t},config:n}}}function Ye(e,t,o=!0){const a=y.getLocalizedStrings().reports.sections,n=y.getLocalizedStrings().reports.cashFlow,d=[...e.calculatedSections.operatingActivitiesTotal.balances,...e.calculatedSections.operatingActivitiesTotal.additionalBalances],p=t.mode!=null&&t.mode==="this_period_vs_period_before"&&d.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,l=le({balances:d,config:t}),i=[];return Object.keys(e.rootSectionsWithSubSectionIds).forEach(u=>{const g=N("title_string_only",[],u),h={children:[],id:g,isLastNode:!0,reportElementData:{element:{kind:"title_string_only",title:a[u],data:void 0,numOfBalances:0},config:t}};i.push(h),e.rootSectionsWithSubSectionIds[u].forEach(s=>{if(Te(s)===!0)if(e.sections[s].accountGroups.length>0){const c=ce({sectionId:s,section:e.sections[s],numOfBalances:p,config:t});i.push(...c)}else{const c=re({sectionWithAcOnly:e.sections[s],sectionType:s,numOfBalances:p,config:t});i.push(...c)}else Ie(s)===!0?i.push(He({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t})):ke(s)===!0&&i.push(j({calculatedSection:e.calculatedSections[s],numOfBalances:p,title:n[s],isLastNode:!0,config:t}))})}),{config:t,headerNodes:o?[l]:[],contentNodes:[l,...i]}}function Ze(e,t,o=!0,a=!1){const n=y.getLocalizedStrings().reports,d=y.getLocalizedStrings().common;let p=[];const l=[];let i=[];if(a===!0){const u=Ve({title:d.loading,balances:[],config:t});u.reportElementData.element.numOfBalances=6,o&&(i=[u]),l.push(u),[...Array(8)].forEach((g,h)=>{const s=h%4;let c=De[s];const C=ze({title:`${h}+${c}`,balances:p,config:t});C.reportElementData.element.numOfBalances=6,l.push(C)})}else{const u=e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],g=H({balances:u,config:t}),h=t.mode!=null&&t.mode==="this_period_vs_period_before"&&u.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1;l.push(g),o&&(i=[g]),e.idsInOrder.forEach(s=>{if(ee(s)===!0){const c=e.sections[s];c!=null&&l.push(Ee({section:c,sectionType:s,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}else if(te(s)===!0){const c=e.calculatedSections[s];c!=null&&l.push(j({calculatedSection:c,numOfBalances:h,title:n.sections[s],isLastNode:!0,config:t}))}})}return{config:t,headerNodes:i,contentNodes:l}}function qe(e,t,o=!0){const a=y.getLocalizedStrings().reports,n=e.sections.expenses!=null&&e.sections.expenses.balances.length>0?[...e.sections.expenses.balances,...e.sections.expenses.additionalBalances]:e.sections.income!=null&&e.sections.income.balances.length>0?[...e.sections.income.balances,...e.sections.income.additionalBalances]:e.sections.cogs!=null&&e.sections.cogs.balances.length>0?[...e.sections.cogs.balances,...e.sections.cogs.additionalBalances]:e.sections.otherIncome!=null&&e.sections.otherIncome.balances.length>0?[...e.sections.otherIncome.balances,...e.sections.otherIncome.additionalBalances]:e.sections.otherExpenses!=null&&e.sections.otherExpenses.balances.length>0?[...e.sections.otherExpenses.balances,...e.sections.otherExpenses.additionalBalances]:[],d=t.mode!=null&&t.mode==="this_period_vs_period_before"&&n.length>1?e.filter.balancesRange.numberOfPeriods+2:e.filter.balancesRange.numberOfPeriods+1,p=H({balances:n,config:t}),l=[];return l.push(p),e.idsInOrder.forEach(i=>{if(ee(i)===!0&&(e.sections[i].accountGroups.length>0?l.push(oe({section:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t})):l.push(ae({sectionWithAcOnly:e.sections[i],sectionType:i,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))),te(i)===!0){const u=e.calculatedSections[i];u!=null&&l.push(j({calculatedSection:u,numOfBalances:d,title:a.sections[i],isLastNode:!0,config:t}))}}),{config:t,headerNodes:o?[p]:[],contentNodes:l}}const J={contentPaddingLeft:new B(S[0],S[0],S[0]),contentPaddingRight:new B(S[3],S[3],S[8])},Je=_.div`
2
2
  height: ${e=>e.height}px;
3
3
  width: 99.9%;
4
4
  margin-top: ${w.sp2};
5
5
  background-color: ${e=>e.theme.colors.grey4};
6
- `;function Qe({report:e,displayOrder:t,reportFormat:o,analytics:a,isZeniUser:n,onAdditionalBalanceSelectionChanged:d,onAccountBalanceClick:p,onTableScroll:l,onElementCollapseStateChanged:i,isCompareModeOn:u,isPageFetchInProgress:g=!1}){const h=W(),s=G(),[c,C]=L.useState(void 0),[x,j]=L.useState(void 0),v=!(h==="small"||h==="medium-compact"),V="name+balances_actual",M=u===!0?"this_period_vs_period_before":"none",O=()=>{let m=[];switch(e.reportId){case"profit_and_loss":{const f=e;m=(f.sections.expenses.balances.length>0?f.sections.expenses:f.sections.income).additionalBalances.map(D=>$(D));break}case"profit_and_loss_by_classes":{const f=e,D=(f.sections.expenses?.balances?.length??0)>0?f.sections.expenses:null,fe=(f.sections.income?.balances?.length??0)>0?f.sections.income:null,H=D??fe;H?.additionalBalances!=null&&(m=H.additionalBalances.map(me=>$(me)));break}case"cash_flow":{m=e.calculatedSections.investingActivitiesTotal.additionalBalances.map(f=>$(f));break}case"balance_sheet":{m=e.sections.equity.additionalBalances.map(f=>$(f));break}}return m.length>0&&m.find(f=>f.balanceType==="this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent"};L.useEffect(()=>{const m={reportId:e.reportId,bookCloseDate:e.bookCloseDate,mode:M,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",displayOrder:t,reportFormat:o,dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:Ae(),showClassAccountNumber:n};if(c==null||!K(x,e)||g===!0){const f=Ke(e,m,v,g);j(e),C(f)}else{const f=We(c,m,e,v);C(f)}},[u,e,g]);const[R,k]=L.useState(5),F=m=>{const f=m+135;k(f)},he=m=>m?.trackPageLoaded(Xe(e));return c!=null?r.jsxs(r.Fragment,{children:[r.jsx(xe,{analytics:a,onLoad:he}),r.jsx(Je,{height:R,children:r.jsx(Ee,{backgroundColor:new Oe(s.colors.grey4),rootNodes:c,type:V,compareMode:O(),isSticky:{isStickyHeader:v,isStickyName:v},treeNodePadding:{left:J.contentPaddingLeft.value(h),right:J.contentPaddingRight.value(h)},onAccountClick:p==null?void 0:(m,f)=>{p(m,f)},nodeOpenStatus:e.uiState.nodeCollapseState,scrollPosition:e.uiState.scrollPosition,onCompareModeChanged:m=>d?.(m==="compare_mode_amount"?"this_period_vs_last_period":"this_period_vs_last_period_percent","dropdown"),onNodeCollapseToggled:(m,f)=>i?.(e.reportId,m,f),onReportTableHeightChanged:F,onScroll:m=>l?.(e.reportId,m)})})]}):null}const Ke=(e,t,o=!0,a=!1)=>{switch(e.reportId){case"profit_and_loss":return qe(e,t,o);case"profit_and_loss_by_classes":return Ze(e,t,o,a);case"cash_flow":return He(e,t,o);case"balance_sheet":return Ge(e,t,o);default:return}},Xe=e=>{switch(e.reportId){case"profit_and_loss":case"profit_and_loss_by_classes":return A.Event.profitAndLoss;case"cash_flow":return A.Event.cashFlow;case"balance_sheet":return A.Event.balanceSheet;default:return A.Event.reports}},et=_.div`
6
+ `;function Ke({report:e,displayOrder:t,reportFormat:o,analytics:a,isZeniUser:n,onAdditionalBalanceSelectionChanged:d,onAccountBalanceClick:p,onTableScroll:l,onElementCollapseStateChanged:i,isCompareModeOn:u,isPageFetchInProgress:g=!1}){const h=W(),s=G(),[c,C]=P.useState(void 0),[x,E]=P.useState(void 0),v=!(h==="small"||h==="medium-compact"),V="name+balances_actual",M=u===!0?"this_period_vs_period_before":"none",O=()=>{let m=[];switch(e.reportId){case"profit_and_loss":{const f=e;m=(f.sections.expenses.balances.length>0?f.sections.expenses:f.sections.income).additionalBalances.map(D=>$(D));break}case"profit_and_loss_by_classes":{const f=e,D=(f.sections.expenses?.balances?.length??0)>0?f.sections.expenses:null,fe=(f.sections.income?.balances?.length??0)>0?f.sections.income:null,Y=D??fe;Y?.additionalBalances!=null&&(m=Y.additionalBalances.map(me=>$(me)));break}case"cash_flow":{m=e.calculatedSections.investingActivitiesTotal.additionalBalances.map(f=>$(f));break}case"balance_sheet":{m=e.sections.equity.additionalBalances.map(f=>$(f));break}}return m.length>0&&m.find(f=>f.balanceType==="this_period_vs_last_period")?"compare_mode_amount":"compare_mode_percent"};P.useEffect(()=>{const m={reportId:e.reportId,bookCloseDate:e.bookCloseDate,mode:M,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",displayOrder:t,reportFormat:o,dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:Ae(),showClassAccountNumber:n};if(c==null||!Q(x,e)||g===!0){const f=Qe(e,m,v,g);E(e),C(f)}else{const f=We(c,m,e,v);C(f)}},[u,e,g]);const[R,k]=P.useState(5),F=m=>{const f=m+135;k(f)},he=m=>m?.trackPageLoaded(Xe(e));return c!=null?r.jsxs(r.Fragment,{children:[r.jsx(xe,{analytics:a,onLoad:he}),r.jsx(Je,{height:R,children:r.jsx(je,{backgroundColor:new Oe(s.colors.grey4),rootNodes:c,type:V,compareMode:O(),isSticky:{isStickyHeader:v,isStickyName:v},treeNodePadding:{left:J.contentPaddingLeft.value(h),right:J.contentPaddingRight.value(h)},onAccountClick:p==null?void 0:(m,f)=>{p(m,f)},nodeOpenStatus:e.uiState.nodeCollapseState,scrollPosition:e.uiState.scrollPosition,onCompareModeChanged:m=>d?.(m==="compare_mode_amount"?"this_period_vs_last_period":"this_period_vs_last_period_percent","dropdown"),onNodeCollapseToggled:(m,f)=>i?.(e.reportId,m,f),onReportTableHeightChanged:F,onScroll:m=>l?.(e.reportId,m)})})]}):null}const Qe=(e,t,o=!0,a=!1)=>{switch(e.reportId){case"profit_and_loss":return qe(e,t,o);case"profit_and_loss_by_classes":return Ze(e,t,o,a);case"cash_flow":return Ye(e,t,o);case"balance_sheet":return Ge(e,t,o);default:return}},Xe=e=>{switch(e.reportId){case"profit_and_loss":case"profit_and_loss_by_classes":return A.Event.profitAndLoss;case"cash_flow":return A.Event.cashFlow;case"balance_sheet":return A.Event.balanceSheet;default:return A.Event.reports}},et=_.div`
7
7
  display: flex;
8
8
  flex-direction: row;
9
9
  border-bottom: 1px solid ${e=>e.theme.colors.grey3};
@@ -49,7 +49,7 @@ import{J as W,y as G,F as y,ax as ge,V as r,bP as _e,ab as P,bE as be,bD as Se,o
49
49
  width: 160px;
50
50
  left: 63%;
51
51
  }
52
- `;function ot({reportId:e,isSelected:t,onClick:o}){const a=n=>{switch(n){case"profit_and_loss":case"profit_and_loss_by_classes":case"balance_sheet":case"cash_flow":return y.getLocalizedStrings().reportTitleById[n];default:return console.warn("Unsupported report"),""}};return r.jsx(st,{"data-testid":P("reportSwitcher",e),onClick:()=>{t===!1&&o(e)},isSelected:t,spaceAround:e==="balance_sheet",children:a(e)})}function at({reportIds:e,selectedReport:t,onReportSelectionChanged:o}){const a=n=>{o?.(n)};return r.jsx(et,{"data-testid":P("report-switcher-container"),children:r.jsx(tt,{"data-testid":P("report-switcher-content"),children:e.map(n=>n!=="profit_and_loss_by_classes"&&r.jsxs("div",{children:[r.jsx(ot,{reportId:n,isSelected:t===n,onClick:a}),r.jsx(nt,{className:`Slider ${t}`})]},`reportSegment-${n}`))})})}const I={contentContainerLeftRightMargin:new B(S[3],S[3],S[8]),contentRightPadding:new B(S[3],S[3],S[8]),tickSkelectionContainerWidth:new B(343,600,905,1240)},it=new B(4,4),ct=new B(4,4),rt={selectedNumberOfPeriods:(e,t)=>e?ct.value(t):it.value(t)},lt=_.div`
52
+ `;function ot({reportId:e,isSelected:t,onClick:o}){const a=n=>{switch(n){case"profit_and_loss":case"profit_and_loss_by_classes":case"balance_sheet":case"cash_flow":return y.getLocalizedStrings().reportTitleById[n];default:return console.warn("Unsupported report"),""}};return r.jsx(st,{"data-testid":T("reportSwitcher",e),onClick:()=>{t===!1&&o(e)},isSelected:t,spaceAround:e==="balance_sheet",children:a(e)})}function at({reportIds:e,selectedReport:t,onReportSelectionChanged:o}){const a=n=>{o?.(n)};return r.jsx(et,{"data-testid":T("report-switcher-container"),children:r.jsx(tt,{"data-testid":T("report-switcher-content"),children:e.map(n=>n!=="profit_and_loss_by_classes"&&r.jsxs("div",{children:[r.jsx(ot,{reportId:n,isSelected:t===n,onClick:a}),r.jsx(nt,{className:`Slider ${t}`})]},`reportSegment-${n}`))})})}const I={contentContainerLeftRightMargin:new B(S[3],S[3],S[8]),contentRightPadding:new B(S[3],S[3],S[8]),tickSkelectionContainerWidth:new B(343,600,905,1240)},it=new B(4,4),ct=new B(4,4),rt={selectedNumberOfPeriods:(e,t)=>e?ct.value(t):it.value(t)},lt=_.div`
53
53
  display: flex;
54
54
  flex: 1 1 auto;
55
55
  min-height: 100%;
@@ -98,7 +98,7 @@ import{J as W,y as G,F as y,ax as ge,V as r,bP as _e,ab as P,bE as be,bD as Se,o
98
98
  `,mt=_(we)`
99
99
  margin-top: ${w.sp3};
100
100
  color: ${e=>e.theme.colors.hero};
101
- `,pe=({style:e,isLoading:t})=>t?r.jsx(pt,{style:e,children:r.jsx(ye,{size:"ExtraLarge",start:!0})}):null,b=e=>{switch(e.selectedReport){case"cash_flow":return e.cashFlowReport;case"balance_sheet":return e.balanceSheetReport;case"profit_and_loss_by_classes":return e.profitAndLossClassesViewReport;case"profit_and_loss":default:return e.profitAndLossReport}},U=({selectedReport:e,isCompareModeOn:t,windowSize:o})=>{const a=e.availableNumberOfPeriods;let n=rt.selectedNumberOfPeriods(t,o);return a!=null&&(n=Math.min(n,a)),n};function Jt(e){const t=W(),o=G(),{onUpdateAccountViewMode:a,onUpdateClassesToFilterOut:n,onAdditionalBalanceSelectionChanged:d,onTimeframeSelectionChanged:p,isCompareMode:l,selectedReportAndTimeframeFetchState:i,onClickMenuIcon:u}=e,g=(O,R)=>{O!==h?.accountViewMode&&a?.(O),R&&n?.(R)};L.useEffect(()=>{if(e.fetchState==="Completed"){const O=b(e).filter.additionalBalances;e.onUpdateHighlightedNumberOfPeriods?.(O,e.isCompareMode,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}),e.balancesInTimeframe)}},[t,e.fetchState]);const h=bt(e),s=y.getLocalizedStrings().reports.common,c=ge(),C=c!=null&&Z(c.loggedInUserRole)?"detailed":"more_detailed",x=c!=null&&Z(c.loggedInUserRole)?["more_detailed"]:[];e.showAccountGroups===!1&&h?.accountViewMode==="account_group"&&x.push("detailed");const[j,v]=X.useState(x.includes("more_detailed")?"detailed":"more_detailed"),V={selectedFormat:j,disabledFormatForRole:x,roleBasedClassesSelectedFormat:C,setSelectedFormat:v};if(i.fetchState==="Error"||e.fetchState==="Error")return r.jsxs(ht,{"data-testid":P("report-page-error-reload-page"),children:[r.jsx(ft,{"data-testid":P("report-page-error-reload-icon"),onClick:e.onReloadReport,children:r.jsx(_e,{})}),r.jsx(mt,{children:s.failed})]});const M=e.fetchState;if(i.fetchState!=="Completed"&&(M==="In-Progress"||M==="Not-Started"))return r.jsx(pe,{isLoading:!0});{const O=r.jsx(be,{downloadReportOptions:{type:"detailed_menu",downloadMenu:{detailedMenu:h!=null&&e.dataAvailable!=null?r.jsx($e,{defaultOptions:h,analytics:e.analytics,referrer:T(e.selectedReport),dataAvailable:e.dataAvailable,downloadState:e.downloadState,statementEndPoint:e.statementEndPoint,authParams:e.authParams,currentTenantCompanyName:e.currentTenantCompanyName,classesFetchState:e.profitAndLossClassesViewReport.fetchState,showAccountGroups:e.showAccountGroups,reportFormatProps:V,updateDownloadStateHandler:e.updateDownloadStateHandler,onUpdateDisplayOrder:e.onUpdateDisplayOrder,onUpdateReportFormat:e.onUpdateReportFormat,onClose:()=>null,onOpenAccountViewMode:e.onOpenAccountViewMode,onSaveClickHandler:g,onThisPeriodChanged:e.onThisPeriodChanged,onAdditionalBalanceSelectionChanged:(R,k,F)=>{d(l,R,k,F)},onTimeframeSelectionChanged:(R,k,F)=>{p?.(R,k,F)}}):r.jsx(r.Fragment,{})}}});return r.jsxs(lt,{children:[r.jsx(Se,{title:y.getLocalizedStrings().reports.title,backgroundColor:o.colors.grey4,onBackClick:e.onBackClick,showMenuIcon:t==="medium-compact"||t==="small",onClickMenuIcon:u,rightSideComponent:O,downloadPresent:!0,source:"ReportsPage",hideSearchBtn:!0}),r.jsx(gt,{...e})]})}}function gt(e){const t=W(),o=G(),a=L.useRef(null),{selectedReportAndTimeframeFetchState:n}=e,d=["month","quarter","year"],p=(s,c)=>{e.analytics?.trackCompareFilterChange(s==="this_period_vs_last_period_percent"?"percentage":"amount",T(e.selectedReport),z(e.selectedTimeframe),c);const C=Array.from(new Set(s==="this_period_vs_last_period_percent"?[...b(e).filter.additionalBalances,"this_period_vs_last_period_percent"].filter(x=>x!=="this_period_vs_last_period"):[...b(e).filter.additionalBalances,"this_period_vs_last_period"].filter(x=>x!=="this_period_vs_last_period_percent")));e.onAdditionalBalanceSelectionChanged?.(e.isCompareMode,C,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},l=(s,c)=>{s!==e.profitAndLossClassesViewReport?.uiState.accountViewMode&&e.onUpdateAccountViewMode?.(s),c&&e.onUpdateClassesToFilterOut?.(c)},i=b(e),u=a.current?.clientWidth??I.tickSkelectionContainerWidth.value(t),g=Be([e.reportsResyncFetchState,e.profitAndLossClassesViewReport]).fetchState==="In-Progress"&&e.profitAndLossClassesViewReport.uiState.accountViewMode==="classes",h=n.fetchState==="In-Progress";return r.jsxs(dt,{windowSize:t,"data-testid":P("reports-page-content-container"),children:[r.jsx(yt,{windowSize:t,ref:a,children:r.jsx(Me,{timeframe:{allowedTimeframes:d,selectedTimeframe:e.selectedTimeframe,onTimeframeSelectionChanged:s=>{e.analytics?.trackTimeframeSwitch(z(s),T(e.selectedReport)),e.onTimeframeSelectionChanged?.(s,!0)}},toggle:{label:y.getLocalizedStrings().compareSwitchLabel,isOn:e.isCompareMode,onValueChanged:s=>{e.analytics?.trackCompareMode(s,T(e.selectedReport),z(e.selectedTimeframe));const c=b(e).filter;e.onAdditionalBalanceSelectionChanged?.(s,c.additionalBalances,c.balancesRange.numberOfPeriods)}}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(xt,{windowSize:t,children:r.jsx(Ot,{children:r.jsx(Ce,{width:u,height:se-S[2],backgroundColor:o.colors.grey3,style:{borderRadius:w.sp2}})})}):r.jsx(Ct,{windowSize:t,children:r.jsx(Ne,{firstMonthOfFY:i.firstMonthOfFY,timeframe:e.selectedTimeframe,timeframeTicks:e.allTimeframeTicks,selection:{selectedTicks:Q(e.allTimeframeTicks,e.selectedCOABalancesRange),highlightedOfSelectedTicks:Q(e.allTimeframeTicks,e.selectedCOABalancesRange)},onClick:(s,c)=>{e.analytics?.trackDateRangeFilterChange(T(e.selectedReport),"range filter",e.isCompareMode,q(i.firstMonthOfFY,e.selectedTimeframe,c)),e.onThisPeriodChanged?.(c,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},onSelectionChanged:s=>{const c=_t(e.allTimeframeTicks,s.fromEnd);e.analytics?.trackDateRangeFilterChange(T(e.selectedReport),"range filter",e.isCompareMode,q(i.firstMonthOfFY,e.selectedTimeframe,c.thisPeriod)),e.onCOABalancesRangeChanged?.(c)}})}),r.jsx(Rt,{windowSize:t,children:r.jsx(at,{reportIds:["profit_and_loss","balance_sheet","cash_flow","profit_and_loss_by_classes"],selectedReport:e.selectedReport,onReportSelectionChanged:s=>{e.analytics?.trackPageLoaded(St(s)),s==="profit_and_loss"&&e.profitAndLossClassesViewReport?.uiState.accountViewMode==="classes"?e.onReportSelectionChanged?.("profit_and_loss_by_classes"):e.onReportSelectionChanged?.(s)}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(pe,{style:{boxShadow:"none",backgroundColor:"inherit"},isLoading:h}):r.jsxs(r.Fragment,{children:[r.jsx(ue,{report:b(e),displayOrder:e.displayOrder,reportFormat:e.reportFormat,analytics:e.analytics,onAdditionalBalanceSelectionChanged:p,onAccountBalanceClick:e.onAccountBalanceClick,onElementCollapseStateChanged:e.onElementCollapseStateChanged,onTableScroll:e.onTableScroll,isCompareModeOn:e.isCompareMode,isZeniUser:e.isZeniUser,isPageFetchInProgress:g}),ve(e.selectedReport)?r.jsx(ut,{windowSize:t,children:r.jsx(Fe,{reportId:e.selectedReport,firstMonthOfFY:e.profitAndLossClassesViewReport.firstMonthOfFY,nodes:e.profitAndLossClassesViewReport?.classHierarchy,classesListFetchState:e.profitAndLossClassesViewReport?.fetchState,selectedView:e.profitAndLossClassesViewReport?.uiState.accountViewMode,showClassAccountNumber:e.isZeniUser,showAccountGroups:e.showAccountGroups,onSaveClick:l,classesToBeFilteredOut:e.profitAndLossClassesViewReport?.classesToFilterOut,onOpenAccountViewMode:e.onOpenAccountViewMode,onResyncReports:e.onResyncReports,isPageFetchInProgress:g,lastRefreshSuccessTime:e.profitAndLossClassesViewReport?.status?.lastRefreshSuccessTime})}):null]})]})}const Q=(e,t)=>{if(t.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let o=e.length-1;return t.thisPeriod!=null&&(o=e.findIndex(a=>a.startDate.isSame(t.thisPeriod.startDate,"date")&&a.endDate.isSameOrBefore(t.thisPeriod.endDate))),{startIndex:Math.max(o+1-t.numberOfPeriods,0),length:t.numberOfPeriods}},_t=(e,t)=>{const o=e.length-1-t.offsetFromEnd;return{thisPeriod:e[o],numberOfPeriods:t.length,orderBy:"ascending_date"}};function bt(e){let t=e.selectedCOABalancesRange.thisPeriod;if(t==null){const p=e.displayOrder,l=e.profitAndLossReport.sections.expenses!=null&&e.profitAndLossReport.sections.expenses.balances.length>0?e.profitAndLossReport.sections.expenses:e.profitAndLossReport.sections.income;if(l!=null&&l.balances.length>0){const i=p==="ascending_date"?l.balances.length-1:0;t=l.balances[i]}}const o=b(e).firstMonthOfFY,a=b(e).bookCloseDate,n=b(e).dataAvailable,d=b(e).filter.additionalBalances;if(t!=null)return{localeId:y.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:"pdf",statements:e.profitAndLossClassesViewReport.uiState.accountViewMode==="account_group"?["profit_and_loss","balance_sheet","cash_flow"]:["profit_and_loss_by_classes","balance_sheet","cash_flow"],firstMonthOfFY:o,bookCloseDate:a,dataAvailable:n,timeframe:e.selectedTimeframe,additionalBalances:d,format:e.reportFormat,balancesFilter:{thisPeriod:t,numberOfPeriods:e.selectedCOABalancesRange.numberOfPeriods,orderBy:e.displayOrder},accountViewMode:e.profitAndLossClassesViewReport.uiState.accountViewMode,nestedClassHierarchy:e.profitAndLossClassesViewReport?.classHierarchy,classesToFilterOut:e.profitAndLossClassesViewReport.classesToFilterOut,showClassAccountNumber:e.isZeniUser,isZeniCOAUsed:e.isZeniCOAUsed}}const T=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return"Profit & Loss";case"balance_sheet":return"Balance Sheet";case"cash_flow":return"Cash Flow";default:return"Reports"}},St=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return A.Event.profitAndLoss;case"cash_flow":return A.Event.cashFlow;case"balance_sheet":return A.Event.balanceSheet;default:return A.Event.reports}},ue=X.memo(Qe,(e,t)=>wt(e,t,["report","analytics","isCompareModeOn","isZeniUser","isPageFetchInProgress"]));ue.displayName="Reports table";const wt=(e,t,o)=>o.reduce((a,n)=>a===!0&&K(e[`${n}`],t[`${n}`]),!0),yt=_.div`
101
+ `,pe=({style:e,isLoading:t})=>t?r.jsx(pt,{style:e,children:r.jsx(ye,{size:"ExtraLarge",start:!0})}):null,b=e=>{switch(e.selectedReport){case"cash_flow":return e.cashFlowReport;case"balance_sheet":return e.balanceSheetReport;case"profit_and_loss_by_classes":return e.profitAndLossClassesViewReport;case"profit_and_loss":default:return e.profitAndLossReport}},U=({selectedReport:e,isCompareModeOn:t,windowSize:o})=>{const a=e.availableNumberOfPeriods;let n=rt.selectedNumberOfPeriods(t,o);return a!=null&&(n=Math.min(n,a)),n};function Jt(e){const t=W(),o=G(),{onUpdateAccountViewMode:a,onUpdateClassesToFilterOut:n,onAdditionalBalanceSelectionChanged:d,onTimeframeSelectionChanged:p,isCompareMode:l,selectedReportAndTimeframeFetchState:i,onClickMenuIcon:u}=e,g=(O,R)=>{O!==h?.accountViewMode&&a?.(O),R&&n?.(R)};P.useEffect(()=>{if(e.fetchState==="Completed"){const O=b(e).filter.additionalBalances;e.onUpdateHighlightedNumberOfPeriods?.(O,e.isCompareMode,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}),e.balancesInTimeframe)}},[t,e.fetchState]);const h=bt(e),s=y.getLocalizedStrings().reports.common,c=ge(),C=c!=null&&Z(c.loggedInUserRole)?"detailed":"more_detailed",x=c!=null&&Z(c.loggedInUserRole)?["more_detailed"]:[];e.showAccountGroups===!1&&h?.accountViewMode==="account_group"&&x.push("detailed");const[E,v]=X.useState(x.includes("more_detailed")?"detailed":"more_detailed"),V={selectedFormat:E,disabledFormatForRole:x,roleBasedClassesSelectedFormat:C,setSelectedFormat:v};if(i.fetchState==="Error"||e.fetchState==="Error")return r.jsxs(ht,{"data-testid":T("report-page-error-reload-page"),children:[r.jsx(ft,{"data-testid":T("report-page-error-reload-icon"),onClick:e.onReloadReport,children:r.jsx(_e,{})}),r.jsx(mt,{children:s.failed})]});const M=e.fetchState;if(i.fetchState!=="Completed"&&(M==="In-Progress"||M==="Not-Started"))return r.jsx(pe,{isLoading:!0});{const O=r.jsx(be,{downloadReportOptions:{type:"detailed_menu",downloadMenu:{detailedMenu:h!=null&&e.dataAvailable!=null?r.jsx($e,{defaultOptions:h,analytics:e.analytics,referrer:L(e.selectedReport),dataAvailable:e.dataAvailable,downloadState:e.downloadState,statementEndPoint:e.statementEndPoint,authParams:e.authParams,currentTenantCompanyName:e.currentTenantCompanyName,classesFetchState:e.profitAndLossClassesViewReport.fetchState,showAccountGroups:e.showAccountGroups,reportFormatProps:V,updateDownloadStateHandler:e.updateDownloadStateHandler,onUpdateDisplayOrder:e.onUpdateDisplayOrder,onUpdateReportFormat:e.onUpdateReportFormat,onClose:()=>null,onOpenAccountViewMode:e.onOpenAccountViewMode,onSaveClickHandler:g,onThisPeriodChanged:e.onThisPeriodChanged,onAdditionalBalanceSelectionChanged:(R,k,F)=>{d(l,R,k,F)},onTimeframeSelectionChanged:(R,k,F)=>{p?.(R,k,F)}}):r.jsx(r.Fragment,{})}}});return r.jsxs(lt,{children:[r.jsx(Se,{title:y.getLocalizedStrings().reports.title,backgroundColor:o.colors.grey4,onBackClick:e.onBackClick,showMenuIcon:t==="medium-compact"||t==="small",onClickMenuIcon:u,rightSideComponent:O,downloadPresent:!0,source:"ReportsPage",hideSearchBtn:!0}),r.jsx(gt,{...e})]})}}function gt(e){const t=W(),o=G(),a=P.useRef(null),{selectedReportAndTimeframeFetchState:n}=e,d=["month","quarter","year"],p=(s,c)=>{e.analytics?.trackCompareFilterChange(s==="this_period_vs_last_period_percent"?"percentage":"amount",L(e.selectedReport),z(e.selectedTimeframe),c);const C=Array.from(new Set(s==="this_period_vs_last_period_percent"?[...b(e).filter.additionalBalances,"this_period_vs_last_period_percent"].filter(x=>x!=="this_period_vs_last_period"):[...b(e).filter.additionalBalances,"this_period_vs_last_period"].filter(x=>x!=="this_period_vs_last_period_percent")));e.onAdditionalBalanceSelectionChanged?.(e.isCompareMode,C,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},l=(s,c)=>{s!==e.profitAndLossClassesViewReport?.uiState.accountViewMode&&e.onUpdateAccountViewMode?.(s),c&&e.onUpdateClassesToFilterOut?.(c)},i=b(e),u=a.current?.clientWidth??I.tickSkelectionContainerWidth.value(t),g=Be([e.reportsResyncFetchState,e.profitAndLossClassesViewReport]).fetchState==="In-Progress"&&e.profitAndLossClassesViewReport.uiState.accountViewMode==="classes",h=n.fetchState==="In-Progress";return r.jsxs(dt,{windowSize:t,"data-testid":T("reports-page-content-container"),children:[r.jsx(yt,{windowSize:t,ref:a,children:r.jsx(Me,{timeframe:{allowedTimeframes:d,selectedTimeframe:e.selectedTimeframe,onTimeframeSelectionChanged:s=>{e.analytics?.trackTimeframeSwitch(z(s),L(e.selectedReport)),e.onTimeframeSelectionChanged?.(s,!0)}},toggle:{label:y.getLocalizedStrings().compareSwitchLabel,isOn:e.isCompareMode,onValueChanged:s=>{e.analytics?.trackCompareMode(s,L(e.selectedReport),z(e.selectedTimeframe));const c=b(e).filter;e.onAdditionalBalanceSelectionChanged?.(s,c.additionalBalances,c.balancesRange.numberOfPeriods)}}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(xt,{windowSize:t,children:r.jsx(Ot,{children:r.jsx(Ce,{width:u,height:se-S[2],backgroundColor:o.colors.grey3,style:{borderRadius:w.sp2}})})}):r.jsx(Ct,{windowSize:t,children:r.jsx(Ne,{firstMonthOfFY:i.firstMonthOfFY,timeframe:e.selectedTimeframe,timeframeTicks:e.allTimeframeTicks,selection:{selectedTicks:K(e.allTimeframeTicks,e.selectedCOABalancesRange),highlightedOfSelectedTicks:K(e.allTimeframeTicks,e.selectedCOABalancesRange)},onClick:(s,c)=>{e.analytics?.trackDateRangeFilterChange(L(e.selectedReport),"range filter",e.isCompareMode,q(i.firstMonthOfFY,e.selectedTimeframe,c)),e.onThisPeriodChanged?.(c,U({selectedReport:b(e),isCompareModeOn:e.isCompareMode,windowSize:t}))},onSelectionChanged:s=>{const c=_t(e.allTimeframeTicks,s.fromEnd);e.analytics?.trackDateRangeFilterChange(L(e.selectedReport),"range filter",e.isCompareMode,q(i.firstMonthOfFY,e.selectedTimeframe,c.thisPeriod)),e.onCOABalancesRangeChanged?.(c)}})}),r.jsx(Rt,{windowSize:t,children:r.jsx(at,{reportIds:["profit_and_loss","balance_sheet","cash_flow","profit_and_loss_by_classes"],selectedReport:e.selectedReport,onReportSelectionChanged:s=>{e.analytics?.trackPageLoaded(St(s)),s==="profit_and_loss"&&e.profitAndLossClassesViewReport?.uiState.accountViewMode==="classes"?e.onReportSelectionChanged?.("profit_and_loss_by_classes"):e.onReportSelectionChanged?.(s)}})}),n.fetchState==="Not-Started"||n.fetchState==="In-Progress"?r.jsx(pe,{style:{boxShadow:"none",backgroundColor:"inherit"},isLoading:h}):r.jsxs(r.Fragment,{children:[r.jsx(ue,{report:b(e),displayOrder:e.displayOrder,reportFormat:e.reportFormat,analytics:e.analytics,onAdditionalBalanceSelectionChanged:p,onAccountBalanceClick:e.onAccountBalanceClick,onElementCollapseStateChanged:e.onElementCollapseStateChanged,onTableScroll:e.onTableScroll,isCompareModeOn:e.isCompareMode,isZeniUser:e.isZeniUser,isPageFetchInProgress:g}),ve(e.selectedReport)?r.jsx(ut,{windowSize:t,children:r.jsx(Fe,{reportId:e.selectedReport,firstMonthOfFY:e.profitAndLossClassesViewReport.firstMonthOfFY,nodes:e.profitAndLossClassesViewReport?.classHierarchy,classesListFetchState:e.profitAndLossClassesViewReport?.fetchState,selectedView:e.profitAndLossClassesViewReport?.uiState.accountViewMode,showClassAccountNumber:e.isZeniUser,showAccountGroups:e.showAccountGroups,onSaveClick:l,classesToBeFilteredOut:e.profitAndLossClassesViewReport?.classesToFilterOut,onOpenAccountViewMode:e.onOpenAccountViewMode,onResyncReports:e.onResyncReports,isPageFetchInProgress:g,lastRefreshSuccessTime:e.profitAndLossClassesViewReport?.status?.lastRefreshSuccessTime})}):null]})]})}const K=(e,t)=>{if(t.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let o=e.length-1;return t.thisPeriod!=null&&(o=e.findIndex(a=>a.startDate.isSame(t.thisPeriod.startDate,"date")&&a.endDate.isSameOrBefore(t.thisPeriod.endDate))),{startIndex:Math.max(o+1-t.numberOfPeriods,0),length:t.numberOfPeriods}},_t=(e,t)=>{const o=e.length-1-t.offsetFromEnd;return{thisPeriod:e[o],numberOfPeriods:t.length,orderBy:"ascending_date"}};function bt(e){let t=e.selectedCOABalancesRange.thisPeriod;if(t==null){const p=e.displayOrder,l=e.profitAndLossReport.sections.expenses!=null&&e.profitAndLossReport.sections.expenses.balances.length>0?e.profitAndLossReport.sections.expenses:e.profitAndLossReport.sections.income;if(l!=null&&l.balances.length>0){const i=p==="ascending_date"?l.balances.length-1:0;t=l.balances[i]}}const o=b(e).firstMonthOfFY,a=b(e).bookCloseDate,n=b(e).dataAvailable,d=b(e).filter.additionalBalances;if(t!=null)return{localeId:y.getAppLocaleID(),showNegativeAmountInParenthesis:!0,filterAccountsWithNilBalances:"filter_actual_nil_balances",filterAccountGroupsWithNilBalances:"filter_actual_forecast_empty_account_group_balances",includeCoverPage:!0,companyName:e.currentTenantCompanyName,statementFileType:"pdf",statements:e.profitAndLossClassesViewReport.uiState.accountViewMode==="account_group"?["profit_and_loss","balance_sheet","cash_flow"]:["profit_and_loss_by_classes","balance_sheet","cash_flow"],firstMonthOfFY:o,bookCloseDate:a,dataAvailable:n,timeframe:e.selectedTimeframe,additionalBalances:d,format:e.reportFormat,balancesFilter:{thisPeriod:t,numberOfPeriods:e.selectedCOABalancesRange.numberOfPeriods,orderBy:e.displayOrder},accountViewMode:e.profitAndLossClassesViewReport.uiState.accountViewMode,nestedClassHierarchy:e.profitAndLossClassesViewReport?.classHierarchy,classesToFilterOut:e.profitAndLossClassesViewReport.classesToFilterOut,showClassAccountNumber:e.isZeniUser,isZeniCOAUsed:e.isZeniCOAUsed}}const L=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return"Profit & Loss";case"balance_sheet":return"Balance Sheet";case"cash_flow":return"Cash Flow";default:return"Reports"}},St=e=>{switch(e){case"profit_and_loss":case"profit_and_loss_by_classes":return A.Event.profitAndLoss;case"cash_flow":return A.Event.cashFlow;case"balance_sheet":return A.Event.balanceSheet;default:return A.Event.reports}},ue=X.memo(Ke,(e,t)=>wt(e,t,["report","analytics","isCompareModeOn","isZeniUser","isPageFetchInProgress"]));ue.displayName="Reports table";const wt=(e,t,o)=>o.reduce((a,n)=>a===!0&&Q(e[`${n}`],t[`${n}`]),!0),yt=_.div`
102
102
  padding-right: ${e=>I.contentRightPadding.valuePx(e.windowSize)};
103
103
  `,Ct=_.div`
104
104
  margin-top: ${w.sp3};
@@ -1,4 +1,4 @@
1
- import{y as A,V as a,F as D,J as de,b4 as J,u as I,w as M,aZ as Q,o as m,ab as Ae,p as g,aF as Fe,x as xe,bN as ge,am as R,bO as F,bb as V}from"./index-BPv2nRQb.js";import{a as P,P as ee}from"./sentry-DBSEoG3b.js";import{n as x}from"./mui-DdxImnN0.js";import{p as b,d as ae,y as W,b as N,g as re,u as T}from"./chartTypes-DESZubWD-J95DqIha.js";import{i as K,h as oe,c as G}from"./toCOABalancesWithID-DxETcMNK-Bj7EoGl7.js";import{V as Z}from"./toChartData-BQYX2C7n-Cm6krZ2M.js";import{H as Te,I as te,X as le,Y as ne,J as se,L as pe,K as ce,M as me,N as fe}from"./recharts-Djp9a38d.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="2c4797d7-838e-4a71-8827-68e72d6881f9",e._sentryDebugIdIdentifier="sentry-dbid-2c4797d7-838e-4a71-8827-68e72d6881f9")}catch{}})();const X={legendLabelMarginLeft:new xe(2,2),legendLabelMarginRight:new xe(I[3],I[4])},Ve=x.div`
1
+ import{y as A,V as a,F as D,J as de,b4 as J,u as I,w as M,aZ as Q,o as m,ab as Ae,p as g,aF as Fe,x as xe,bN as ge,am as R,bO as F,bb as V}from"./index-D-BANbLd.js";import{a as P,P as ee}from"./sentry-OhwUF_66.js";import{n as x}from"./mui-AW-QpJ2k.js";import{p as b,d as ae,y as W,b as N,g as re,u as T}from"./chartTypes-OhAs1JKI-bzHdDgZb.js";import{i as K,h as oe,c as G}from"./toCOABalancesWithID-BpgPOYod-D7bBPsum.js";import{V as Z}from"./toChartData-JpJ956nX-BgylJdL0.js";import{H as Te,I as te,X as le,Y as ne,J as se,L as pe,K as ce,M as me,N as fe}from"./recharts-DPPWeTqd.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="b24e961d-29c9-4fa4-95a7-e01b7e1969b4",e._sentryDebugIdIdentifier="sentry-dbid-b24e961d-29c9-4fa4-95a7-e01b7e1969b4")}catch{}})();const X={legendLabelMarginLeft:new xe(2,2),legendLabelMarginRight:new xe(I[3],I[4])},Ve=x.div`
2
2
  display: flex;
3
3
  `,He=x.div`
4
4
  margin: ${m.sp2} ${m.sp0} ${m.sp2} ${m.sp0};
@@ -1,31 +1,31 @@
1
- import{J as Ct,ax as Tt,x as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as le,fd as At,fe as Mt,ff as Bt,fg as Ft,aP as A,fh as Lt,ab as j,fi as Rt,fj as Me,fk as Be,fl as Fe,w as K,fm as O,p as S,fn as zt,fo as E,fp as W,fq as Nt,fr as Ot,bU as Le,o as n,aS as Et,u as d,F as Wt,ah as _t,c3 as Zt,H as Ht,a as Vt,fs as Yt,cj as Gt,am as de,an as ce,ft as Kt,fu as Ut,bj as qt,c as Jt,ba as Xt,fv as Qt,ar as et,bL as en,aj as tt,bu as tn,fw as nn}from"./index-BPv2nRQb.js";import{a as Z}from"./sentry-DBSEoG3b.js";import{n as a}from"./mui-DdxImnN0.js";import{bo as Re,bm as ze,bH as I,bN as an,FH as ln,bL as oe,bP as on}from"./zeni-epic-state-1oOVJQJ4.js";import{t as rn,o as sn}from"./LowBalancePopup-BD9saCcf-Bd0FezoJ.js";import{S as _}from"./LabeledText-tLPpd4Wp-Dn15jABZ.js";import"./liveblocks-Dv7Vdu8a.js";import"./core-HDqpewC7.js";import"./recharts-Djp9a38d.js";import"./lottie-V1lTNkDB.js";import"./analytics-DvsRx7_o.js";import"./lexical-CWcQ8pGO.js";import"./utils-rIQAYtge.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="87a991cc-10ba-4b31-ba12-690c26bc2cdb",e._sentryDebugIdIdentifier="sentry-dbid-87a991cc-10ba-4b31-ba12-690c26bc2cdb")}catch{}})();const nt=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,d[2],d[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,d[1]),navBarContainerPaddingTop:new u(10,d[3]),sectionTitleMarginLeft:new u(d[3],d[0]),reviewContainerMarginLeft:new u(d[3],d[6]),reviewContainerMarginRight:new u(d[3],d[8]),footerRightIconMarginRight:new u(d[0],d[0],d[7]),infoLabelPaddingRight:new u(d[0],d[3]),infoLabelMarginTop:new u(d[1],d[0])},dn={sectionTitle:new Ht("h6Medium","h5Medium")},{dateFormat:Ne,common:{currency:v,labels:Oe,edit:cn,strings:{empty:h}},spendManagement:{billPay:mn}}=Wt.getLocalizedStrings(),{billDetails:i,paymentDetails:Ee}=mn,We=({attachment:e})=>{const[y,f]=Z.useState(!1),M=()=>{f(!1)},C=e.fileId?.length===0;return t.jsxs(On,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>C===!1?f(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Kt,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:f}):null,t.jsx(En,{children:t.jsx(Ut,{contentType:e.contentType})})]})},da=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:f,currentTenant:M,isInternationalPaymentShaVsOurEnabled:C,isLocalCurrencyEnabled:at,style:it,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:x,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:st,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:X,retryPayment:dt})=>{const s=Ct(),c=Tt(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:x},F=f&&x!=null,L=`dashboard_${c.currentTenant?.companyId}`,R=m.largeLabelWidth.value(s),z=e.saveStatus,Q=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=Dt(C,at,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),T=Ne.visual.MMMDCommaYYYYformat,fe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?It(fe,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},N={amount:o?.method.includes("international")===!0?Pt(fe,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,ge]=Z.useState(!1),[mt,xe]=Z.useState(!1),be=()=>ge(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${i.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Rn,{size:s,children:t.jsx(Ln,{})})]}):kt(e.paymentDetailsSection?.paymentTo);Z.useEffect(()=>{(z?.fetchState==="Completed"||Q?.fetchState==="Completed")&&(pe(),ye(),he())},[z,Q,he,pe,ye]);const $=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,H=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:P?.code=="approved"&&H?.code?H:P,ht=e.billPayInfo?.isRefundInitiated===!0?yt:P?.code=="approved"&&H?.code?H:P,ne=()=>{me()},we=()=>{me()},V=e.paymentDetailsSection?.paymentDate,ae=le(o?.method??""),$e=ae.replace("Same Day",""),ft=e.isCollectToAccountInfoFromVendorContact?t.jsx(At,{paymentTypeLabel:$e,onClick:pt}):i.addedByZeni,Y=y.allApprovalRules.length>0,gt=Re(o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?p.amount-N.amount:p.amount,o?.fee.currencyCode??ze.currencyCode,o?.fee.currencySymbol??ze.currencySymbol),g=an(e.paymentDetailsSection?.paymentType?.method),xt=l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",$?.code??"draft",te?.code??""),ue(!0,l)},ve=()=>{xe(!0),w.trackBillPayMarkAsPaid($?.code??"draft",te?.code??"")},bt=()=>{st(),xe(!1)},k=g&&($?.code!=null?$.code==="draft"||P?.code==="approved":!0),b=k&&!ot,je=_e(b,Y,e.isBillMarkedForRetry),wt=()=>g?b?void 0:i.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&C&&ee===v.currencyCode?Qt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ie=rt&&e.paymentDetailsSection!=null?Mt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,$t=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,D=e.recurringConfig,jt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(x??"new_bill"),o?.method!=null&&l!=null){const St=g?i.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(Ne.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,x,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:oe(D?.startDate?.toString()??"").format(T),endDate:oe(D?.endDate?.toString()??"").format(T),frequency:D?.frequency??"monthly",totalAmount:jt.amount,totalPaymentCycles:D?.totalPaymentCycles??0,isApprovalRequired:D?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?D?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?D?.updateRecurringBills==="all":void 0}),ie!=null){const Te=$?.code??"draft",De=P?.code??"",Ie=e.isRecurring?["Recurring"]:["One-Time"],Pe=e.invoiceNumber??"",ke=nn(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";je===i.scheduleBill?w.trackLowBalanceAccountSchedule(Te,De,Ie,Pe,ke,Ae):je===i.sendForApproval&&w.trackLowBalanceAccountSentForApproval(Te,De,Ie,Pe,ke,Ae)}}},Se=()=>{Ce===!0&&G(!1),e.isBillMarkedForRetry===!0?(dt(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,y.allApprovalRules,c.loggedInUser),[Ce,G]=Z.useState(!1);return t.jsxs($n,{children:[mt?t.jsx(rn,{onCancel:bt,onProceedForMarkAsPaid:xt,saveDetailsFetchState:z?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Ce?t.jsx(sn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{G(!1),ne()},onClickAway:()=>{G(!1)}}):null,t.jsx(Bt,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Ft,{companyName:Lt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:V?.format(T)??"",paymentType:$e,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:s,style:it,children:[s==="small"?t.jsxs(Fn,{windowSize:s,children:[t.jsx(Ue,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(Ve,{windowSize:s,children:i.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ue,{onClick:we})}),s!=="small"?t.jsx(Sn,{children:t.jsx(Ve,{windowSize:s,children:i.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Cn,{children:[t.jsxs(Tn,{children:[t.jsx(Yn,{}),t.jsxs(Dn,{children:[t.jsx(Pn,{children:i.duplicateBillPayWarning}),t.jsxs(In,{children:[i.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":j("review-detail-attachment-button"),onClick:()=>X(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[i.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Zn,{children:[t.jsx(Vn,{children:i.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Rt(l);return l!=null?t.jsx(Hn,{children:nt.includes(s)?t.jsxs(Ye,{windowSize:s,children:[t.jsxs(kn,{children:[t.jsxs(An,{children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(qe,{children:t.jsx(Je,{})}),t.jsx(q,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?i.invoiceNo:null,l.documentId]})})]}),t.jsx(Xe,{windowSize:s,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Wn,{"data-testid":j("review-detail-mobile-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsxs(q,{children:[l.dueDate!=null?i.due:null," ",l.dueDate?.format(T)]}),t.jsx(Qe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(Ye,{windowSize:s,children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(qe,{children:t.jsx(Je,{})}),t.jsxs(_n,{"data-testid":j("review-detail-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsx(q,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?i.invoiceNo:null," ",l.documentId]})}),t.jsxs(q,{style:{width:"25%"},children:[l.dueDate!=null?i.due:null," ",l.dueDate?.format(T)]}),t.jsx(Xe,{style:{width:"25%"},windowSize:s,children:A("0,0[.]00",l.amount)})]}),t.jsx(Qe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Mn,{children:[t.jsx(Ge,{children:i.pay}),t.jsx(Ke,{children:t.jsx(Fe,{amount:gt,integerStyles:K.largeMedium.cssObject,decimalStyles:K.smallMedium.cssObject})}),t.jsx(Ge,{children:i.to}),t.jsx(Ke,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"withdrawFrom"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(_,{label:{label:i.withdrawFrom,width:R},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?zt(e.paymentDetailsSection.withdrawFrom,s):h,infoLabelStyle:{textAlign:s==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(s),marginTop:m.infoLabelMarginTop.valuePx(s),color:S.brandColorGoldDark},additionalInfoLabel:ie})}),t.jsx(U,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"paymentType"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(_,{label:{label:i.paymentMethod,width:R},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(U,{}),!g&&V!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"paymentDate"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(_,{label:{label:i.paymentDate,width:R},style:{width:"auto"},value:V.format(T),additionalInfoLabel:`${i.estimatedArrival}${oe(on(V.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(T)} - (${ae.length>0?`${ae} `:""}${i.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${i.deliveryTimeUnits})`})}),t.jsx(U,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"paymentTo"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(_,{label:{label:i.paymentTo,width:R},style:{width:"auto"},value:ut??"",additionalInfoLabel:ft})}),g||lt?t.jsxs(t.Fragment,{children:[t.jsx(U,{}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"recurringPaymentType"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(_,{label:{label:i.paymentType,width:R},style:{width:"auto"},value:Ot(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Nt(s,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(gn,{children:t.jsxs(xn,{windowSize:s,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:i.total}),t.jsx(Le,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(fn,{children:[t.jsxs(He,{children:[t.jsx(se,{children:o.method.includes(I)&&ee!==v.currencyCode?Ee.conversionAmountColon:Oe.invoiceAmount}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount-N.amount,currencySymbol:N.currencySymbol})})]}),t.jsxs(He,{children:[t.jsx(se,{children:Ee.transactionFee}),t.jsx(re,{children:A("0,0[.]00",{amount:N.amount,currencySymbol:N.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(se,{children:Oe.total}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(pn,{})})]}),t.jsx(wn,{children:t.jsx(Fe,{amount:Re(p.amount,p.currencyCode,p.currencySymbol),integerStyles:K.h6Medium.cssObject,decimalStyles:K.standardMedium.cssObject})})]})}):null]}),t.jsx(Et,{cancelBtn:{label:k&&!b?i.paymentOutsideZeni.markAsPaid:i.editBill,onClick:k&&!b?ve:ne,style:{width:Ze(!1,k,b,Y,s)}},primaryBtn:{label:_e(b,Y,e.isBillMarkedForRetry),isLoading:z?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress",onClick:b?ve:()=>{vt&&ie!=null?G(!0):Se()},style:{width:Ze(!0,k,b,Y,s)}},rightSideComponent:k&&!b&&z.fetchState!=="In-Progress"?t.jsx(Gn,{windowSize:s,children:t.jsx(Le,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Un,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Kn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?t.jsxs(zn,{children:[i.internationalText1,t.jsx(Nn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:i.internationalTerms}),i.internationalText2]}):null})]})},_e=(e,y,f)=>e?i.paymentOutsideZeni.markAsPaid:f===!0?i.retryPayment:y?i.sendForApproval:i.scheduleBill,Ze=(e,y,f,M,C)=>f?128:y&&!e&&C==="small"?"auto":M?165:m.footerButtonWidth.value(C),pn=a(en)`
1
+ import{J as Ct,ax as Tt,x as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as le,fd as At,fe as Mt,ff as Bt,fg as Ft,aP as A,fh as Lt,ab as j,fi as Rt,fj as Me,fk as Be,fl as Fe,w as K,fm as O,p as S,fn as zt,fo as E,fp as W,fq as Nt,fr as Ot,bU as Le,o as n,aS as Et,u as s,F as Wt,ah as _t,c3 as Zt,H as Vt,a as Gt,fs as Ht,cj as Yt,am as se,an as ce,ft as Kt,fu as Ut,bj as qt,c as Jt,ba as Xt,fv as Qt,ar as et,bL as en,aj as tt,bu as tn,fw as nn}from"./index-D-BANbLd.js";import{a as Z}from"./sentry-OhwUF_66.js";import{n as i}from"./mui-AW-QpJ2k.js";import{bo as Re,bm as ze,bH as I,bN as an,Gm as ln,bL as oe,bP as on}from"./zeni-epic-state-DR0XRPUQ.js";import{t as rn,o as dn}from"./LowBalancePopup-D8GK2H9h-hjWBZs2C.js";import{S as _}from"./LabeledText-BacKeQ9P-B1Cd96zY.js";import"./liveblocks-Db4nLOvA.js";import"./core-IgaX3lD-.js";import"./recharts-DPPWeTqd.js";import"./lottie-D0yKu2h3.js";import"./analytics-6ukc1Do4.js";import"./lexical-BOeaRQ5K.js";import"./utils-Cv-cXrhn.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},y=new e.Error().stack;y&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[y]="e6c32838-3ccd-4626-8f4b-02b44d0c68f3",e._sentryDebugIdIdentifier="sentry-dbid-e6c32838-3ccd-4626-8f4b-02b44d0c68f3")}catch{}})();const nt=["small","medium-compact","medium-regular"],m={largeLabelWidth:new u(150,215,215),infoMinWidth:new u(0,0,0,142,142),infoMarginRight:new u(0,0,0,s[2],s[2]),footerButtonWidth:new u(120,165),iconContainerMarginTop:new u(6,s[1]),navBarContainerPaddingTop:new u(10,s[3]),sectionTitleMarginLeft:new u(s[3],s[0]),reviewContainerMarginLeft:new u(s[3],s[6]),reviewContainerMarginRight:new u(s[3],s[8]),footerRightIconMarginRight:new u(s[0],s[0],s[7]),infoLabelPaddingRight:new u(s[0],s[3]),infoLabelMarginTop:new u(s[1],s[0])},sn={sectionTitle:new Vt("h6Medium","h5Medium")},{dateFormat:Ne,common:{currency:v,labels:Oe,edit:cn,strings:{empty:h}},spendManagement:{billPay:mn}}=Wt.getLocalizedStrings(),{billDetails:a,paymentDetails:Ee}=mn,We=({attachment:e})=>{const[y,f]=Z.useState(!1),M=()=>{f(!1)},C=e.fileId?.length===0;return t.jsxs(On,{isDisabled:e.fileId?.length===0,"data-testid":j("attachment-tag",e.fileName),onClick:()=>C===!1?f(!0):null,children:[y&&e?.fileDownloadUrl!=null?t.jsx(Kt,{title:e.fileName,file:e,onCrossClick:()=>M(),setShowFullScreenView:f}):null,t.jsx(En,{children:t.jsx(Ut,{contentType:e.contentType})})]})},si=({billDetails:e,billpayApprovalView:y,isBillPayCommentingEnabled:f,currentTenant:M,isInternationalPaymentShaVsOurEnabled:C,isLocalCurrencyEnabled:it,style:at,analytics:w,isRecurringBillsFeatureEnabled:lt,isApprovalRequiredForMarkAsPaid:ot,isDetectInsufficientFundsEnabled:rt,billId:x,onClickEdit:me,discardBillDetailsFromLocalStore:pe,saveBillDetails:ue,discardOutsideZeniPaymentData:dt,updateBillDetailSaveBillCode:ye,redirectToBillsScreen:he,onAttachmentClick:X,retryPayment:st})=>{const d=Ct(),c=Tt(),B={application:"dashboard",companyId:c.currentTenant?.companyId,tab:"bill",entityId:x},F=f&&x!=null,L=`dashboard_${c.currentTenant?.companyId}`,R=m.largeLabelWidth.value(d),z=e.saveStatus,Q=e.zeniAssistRetryStatus,ee=e.vendor?.vendorCurrencyCode,o=Dt(C,it,e.billPayConfigList.filter(l=>l.method.includes(e.paymentDetailsSection?.withdrawFrom?.accType??"depositAccount")),e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,e.paymentDetailsSection?.paymentType,ee),T=Ne.visual.MMMDCommaYYYYformat,fe={amount:e.recipientTotalAmount.amount/(e.paymentDetailsSection?.conversionRate??1)*100/100,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},p={amount:o?.method.includes("international")===!0?It(fe,o):e.recipientTotalAmount.amount+(o?.fee.amount??0),currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},N={amount:o?.method.includes("international")===!0?Pt(fe,o):o?.fee.amount??0,currencyCode:v.currencyCode,currencySymbol:v.currencySymbol},[ct,ge]=Z.useState(!1),[mt,xe]=Z.useState(!1),be=()=>ge(!1),pt=()=>{w.trackBillPayMagicLinkPreviewEmail("review_bill"),ge(!0)},ut=e.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${a.magicLink.collectFrom} ${e.toAccountVendorEmail}`,t.jsx(Rn,{size:d,children:t.jsx(Ln,{})})]}):kt(e.paymentDetailsSection?.paymentTo);Z.useEffect(()=>{(z?.fetchState==="Completed"||Q?.fetchState==="Completed")&&(pe(),ye(),he())},[z,Q,he,pe,ye]);const $=e.billPayInfo?.stage,P=e.billPayInfo?.billStatus,V=e.billPayInfo?.billPaymentStatus,yt=e.billPayInfo?.billPaymentRefundStatus,te=$?.code==="paid"?$:P?.code=="approved"&&V?.code?V:P,ht=e.billPayInfo?.isRefundInitiated===!0?yt:P?.code=="approved"&&V?.code?V:P,ne=()=>{me()},we=()=>{me()},G=e.paymentDetailsSection?.paymentDate,ie=le(o?.method??""),$e=ie.replace("Same Day",""),ft=e.isCollectToAccountInfoFromVendorContact?t.jsx(At,{paymentTypeLabel:$e,onClick:pt}):a.addedByZeni,H=y.allApprovalRules.length>0,gt=Re(o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?p.amount-N.amount:p.amount,o?.fee.currencyCode??ze.currencyCode,o?.fee.currencySymbol??ze.currencySymbol),g=an(e.paymentDetailsSection?.paymentType?.method),xt=l=>{w.trackBillPayMarkAsPaidSubmit(l.paymentMode??"other",$?.code??"draft",te?.code??""),ue(!0,l)},ve=()=>{xe(!0),w.trackBillPayMarkAsPaid($?.code??"draft",te?.code??"")},bt=()=>{dt(),xe(!1)},k=g&&($?.code!=null?$.code==="draft"||P?.code==="approved":!0),b=k&&!ot,je=_e(b,H,e.isBillMarkedForRetry),wt=()=>g?b?void 0:a.paymentOutsideZeni.reviewInfo:o?.method!=null&&o.method.includes(I)&&e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod!=null&&C&&ee===v.currencyCode?Qt(e.paymentDetailsSection.internationalTransferFeeBearerPaymentMethod):void 0,ae=rt&&e.paymentDetailsSection!=null?Mt(p,e.paymentDetailsSection.withdrawFrom,e.paymentDetailsSection.paymentDate):void 0,$t=()=>{const l=e.paymentDetailsSection?.paymentDate,r=e.isCollectToAccountInfoFromVendorContact,D=e.recurringConfig,jt=e.recipientTotalAmount;if(e.isInvoiceDateAutoUpdated===!0&&w.trackBillPayAutoDateChange(x??"new_bill"),o?.method!=null&&l!=null){const St=g?a.paymentOutsideZeni.offline:le(o.method);if(w.trackBillPaySendForApproval(St,l.format(Ne.analytics.MMMDashDDDashYYYYFormat),r,e.isRecurring,x,e.paymentDetailsSection?.internationalTransferFeeBearerPaymentMethod,{startDate:oe(D?.startDate?.toString()??"").format(T),endDate:oe(D?.endDate?.toString()??"").format(T),frequency:D?.frequency??"monthly",totalAmount:jt.amount,totalPaymentCycles:D?.totalPaymentCycles??0,isApprovalRequired:D?.isApprovalRequired??!1,updateCurrentBill:e.recurringConfig?.id!=null?D?.updateRecurringBills==="current":void 0,updateFutureRecurringBills:e.recurringConfig?.id!=null?D?.updateRecurringBills==="all":void 0}),ae!=null){const Te=$?.code??"draft",De=P?.code??"",Ie=e.isRecurring?["Recurring"]:["One-Time"],Pe=e.invoiceNumber??"",ke=nn(c.loggedInUser),Ae=e.paymentDetailsSection?.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account";je===a.scheduleBill?w.trackLowBalanceAccountSchedule(Te,De,Ie,Pe,ke,Ae):je===a.sendForApproval&&w.trackLowBalanceAccountSentForApproval(Te,De,Ie,Pe,ke,Ae)}}},Se=()=>{Ce===!0&&Y(!1),e.isBillMarkedForRetry===!0?(st(),w.trackRetryConfirmClick(te?.code??"",$?.code??"",ht?.description??"",e.isRecurring?["Recurring"]:["One-Time"],e.invoiceNumber??"")):e.vendor!=null&&($t(),ue(!1,{}))},vt=ln(p.amount,y.allApprovalRules,c.loggedInUser),[Ce,Y]=Z.useState(!1);return t.jsxs($n,{children:[mt?t.jsx(rn,{onCancel:bt,onProceedForMarkAsPaid:xt,saveDetailsFetchState:z?.fetchState,paymentData:e.outsideZeniPaymentInfo}):null,Ce?t.jsx(dn,{withdrawFrom:e.paymentDetailsSection?.withdrawFrom,paymentDate:e.paymentDetailsSection?.paymentDate,onOkClick:Se,onCancelClick:()=>{Y(!1),ne()},onClickAway:()=>{Y(!1)}}):null,t.jsx(Bt,{anchor:"right",open:ct,onClose:be,transitionDuration:250,"data-testid":j("vendor-email-preview-drawer"),children:t.jsx(Ft,{companyName:Lt(M.company?.companyInfo),vendor:e.vendor?.name,paymentDate:G?.format(T)??"",paymentType:$e,amount:A("0,0[.]00",p),isInvoiceAttached:!!e.file,onClose:be})}),t.jsxs(vn,{windowSize:d,style:at,children:[d==="small"?t.jsxs(Fn,{windowSize:d,children:[t.jsx(Ue,{onClick:we,"data-testid":j("review-detail-nav-bar-small-back")}),t.jsx(Ge,{windowSize:d,children:a.oneLastLook})]}):t.jsx(Bn,{"data-testid":j("review-details-nav-bar-back"),children:t.jsx(Ue,{onClick:we})}),d!=="small"?t.jsx(Sn,{children:t.jsx(Ge,{windowSize:d,children:a.oneLastLook})}):null,e.duplicateBillTransactions.length>0?t.jsxs(Cn,{children:[t.jsxs(Tn,{children:[t.jsx(Hn,{}),t.jsxs(Dn,{children:[t.jsx(Pn,{children:a.duplicateBillPayWarning}),t.jsxs(In,{children:[a.duplicateBillPayWarningSubHeading,t.jsxs("span",{"data-testid":j("review-detail-attachment-button"),onClick:()=>X(e.duplicateBillTransactions[0].id,e.duplicateBillTransactions[0].billPayInfo.stage.code),style:{textDecoration:"underline",cursor:"pointer"},children:[a.viewBill,e.duplicateBillTransactions[0].documentId]})]})]})]}),t.jsxs(Zn,{children:[t.jsx(Gn,{children:a.duplicateInvoiceFound}),e.duplicateBillTransactions.map(l=>{const r=Rt(l);return l!=null?t.jsx(Vn,{children:nt.includes(d)?t.jsxs(He,{windowSize:d,children:[t.jsxs(kn,{children:[t.jsxs(An,{children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(qe,{children:t.jsx(Je,{})}),t.jsx(q,{children:t.jsxs(t.Fragment,{children:[l.documentId!=null?a.invoiceNo:null,l.documentId]})})]}),t.jsx(Xe,{windowSize:d,children:A("0,0[.]00",l.recipientTotalAmount)})]}),t.jsxs(Wn,{"data-testid":j("review-detail-mobile-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsxs(q,{children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(T)]}),t.jsx(Qe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})]}):t.jsxs(He,{windowSize:d,children:[l.attachments&&l.attachments.length>0?t.jsx(We,{attachment:l.attachments[0]}):t.jsx(qe,{children:t.jsx(Je,{})}),t.jsxs(_n,{"data-testid":j("review-detail-info"),onClick:()=>X(l.id,l.billPayInfo.stage.code),children:[t.jsx(q,{style:{width:"50%"},children:t.jsxs("div",{children:[l.documentId!=null?a.invoiceNo:null," ",l.documentId]})}),t.jsxs(q,{style:{width:"25%"},children:[l.dueDate!=null?a.due:null," ",l.dueDate?.format(T)]}),t.jsx(Xe,{style:{width:"25%"},windowSize:d,children:A("0,0[.]00",l.amount)})]}),t.jsx(Qe,{children:r!=null?Me.includes(r.code)?t.jsx(Be,{style:{padding:"2px 5px"},title:r.value,placement:"top",children:t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value})}):t.jsx(J,{color:r.color,bgColor:r.bgColor,borderColor:r.borderColor,children:r.value}):null})]})},l.id):null})]})]}):null,t.jsxs(Mn,{children:[t.jsx(Ye,{children:a.pay}),t.jsx(Ke,{children:t.jsx(Fe,{amount:gt,integerStyles:K.largeMedium.cssObject,decimalStyles:K.smallMedium.cssObject})}),t.jsx(Ye,{children:a.to}),t.jsx(Ke,{children:e.vendor?.name})]}),t.jsxs(jn,{children:[g?null:t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"withdrawFrom"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("withdrawFrom")}`},children:t.jsx(_,{label:{label:a.withdrawFrom,width:R},style:{width:"auto"},value:e.paymentDetailsSection?.withdrawFrom!=null?zt(e.paymentDetailsSection.withdrawFrom,d):h,infoLabelStyle:{textAlign:d==="small"?"left":"right",paddingRight:m.infoLabelPaddingRight.valuePx(d),marginTop:m.infoLabelMarginTop.valuePx(d),color:S.brandColorGoldDark},additionalInfoLabel:ae})}),t.jsx(U,{})]}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"paymentType"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentType")}`},children:t.jsx(_,{label:{label:a.paymentMethod,width:R},style:{width:"auto"},value:le(o?.method??""),additionalInfoLabel:wt()})}),t.jsx(U,{}),!g&&G!=null?t.jsxs(t.Fragment,{children:[t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"paymentDate"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentDate")}`},children:t.jsx(_,{label:{label:a.paymentDate,width:R},style:{width:"auto"},value:G.format(T),additionalInfoLabel:`${a.estimatedArrival}${oe(on(G.toDate(),[0,6],o?.maxPeriod.value??0).toDateString()).format(T)} - (${ie.length>0?`${ie} `:""}${a.deliveryTimeLabel} = ${o?.maxPeriod.value??"0"} ${a.deliveryTimeUnits})`})}),t.jsx(U,{})]}):null,g?null:t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"paymentTo"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("paymentTo")}`},children:t.jsx(_,{label:{label:a.paymentTo,width:R},style:{width:"auto"},value:ut??"",additionalInfoLabel:ft})}),g||lt?t.jsxs(t.Fragment,{children:[t.jsx(U,{}),t.jsx(O,{isThreadAllowed:F,entityId:x,dashboardTabKey:W({type:"details",key:"recurringPaymentType"}),roomId:L,companyId:c.currentTenant?.companyId??h,companyName:c.currentTenant?.companyName??h,dashboardOptionType:"bill",filterMetaData:{...B,entityType:`bill.details.${E("recurringPaymentType")}`},children:t.jsx(_,{label:{label:a.paymentType,width:R},style:{width:"auto"},value:Ot(e.isRecurring,g,e.recurringBillInstance??1,e.recurringConfig?.totalPaymentCycles??0),additionalInfoLabel:Nt(d,e.isRecurring,g,e.recurringConfig)})})]}):null]}),!g&&o?.method!=null&&(o.method.includes(I)||o?.fee.amount!=null&&o.fee.amount!==0)?t.jsx(gn,{children:t.jsxs(xn,{windowSize:d,children:[t.jsxs(bn,{children:[t.jsx(yn,{children:a.total}),t.jsx(Le,{style:{padding:`12px ${n.sp3}`,lineHeight:"18px"},maxWidth:"312px",title:t.jsxs(fn,{children:[t.jsxs(Ve,{children:[t.jsx(de,{children:o.method.includes(I)&&ee!==v.currencyCode?Ee.conversionAmountColon:Oe.invoiceAmount}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount-N.amount,currencySymbol:N.currencySymbol})})]}),t.jsxs(Ve,{children:[t.jsx(de,{children:Ee.transactionFee}),t.jsx(re,{children:A("0,0[.]00",{amount:N.amount,currencySymbol:N.currencySymbol})})]}),t.jsx(hn,{}),t.jsxs(un,{children:[t.jsx(de,{children:Oe.total}),t.jsx(re,{children:A("0,0[.]00",{amount:p.amount,currencyCode:p.currencyCode,currencySymbol:p.currencySymbol})})]})]}),placement:"top-end",children:t.jsx(pn,{})})]}),t.jsx(wn,{children:t.jsx(Fe,{amount:Re(p.amount,p.currencyCode,p.currencySymbol),integerStyles:K.h6Medium.cssObject,decimalStyles:K.standardMedium.cssObject})})]})}):null]}),t.jsx(Et,{cancelBtn:{label:k&&!b?a.paymentOutsideZeni.markAsPaid:a.editBill,onClick:k&&!b?ve:ne,style:{width:Ze(!1,k,b,H,d)}},primaryBtn:{label:_e(b,H,e.isBillMarkedForRetry),isLoading:z?.fetchState==="In-Progress"||Q?.fetchState==="In-Progress",onClick:b?ve:()=>{vt&&ae!=null?Y(!0):Se()},style:{width:Ze(!0,k,b,H,d)}},rightSideComponent:k&&!b&&z.fetchState!=="In-Progress"?t.jsx(Yn,{windowSize:d,children:t.jsx(Le,{style:{color:S.heroDark,padding:`2px ${n.sp2}`},display:"flex",title:cn,placement:"top",children:t.jsx(Un,{onClick:ne,"data-testid":j("review-detail-edit-bill-button"),children:t.jsx(Kn,{})})})}):null,style:{minHeight:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?127:62,...e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)&&{padding:n.sp3,rowGap:n.sp3}},children:e.paymentDetailsSection?.paymentType?.method!=null&&e.paymentDetailsSection.paymentType.method.includes(I)?t.jsxs(zn,{children:[a.internationalText1,t.jsx(Nn,{href:"https://www.nium.com/legal/end-customer-terms",target:"_Blank",rel:"noopener noreferrer",children:a.internationalTerms}),a.internationalText2]}):null})]})},_e=(e,y,f)=>e?a.paymentOutsideZeni.markAsPaid:f===!0?a.retryPayment:y?a.sendForApproval:a.scheduleBill,Ze=(e,y,f,M,C)=>f?128:y&&!e&&C==="small"?"auto":M?165:m.footerButtonWidth.value(C),pn=i(en)`
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
- `,He=a(tt)`
8
+ `,Ve=i(tt)`
9
9
  display: flex;
10
10
  justify-content: space-between;
11
11
  padding-bottom: ${n.sp1};
12
- `,re=a.div`
12
+ `,re=i.div`
13
13
  color: ${e=>e.theme.colors.brandColorPearl};
14
- `,se=a.div`
14
+ `,de=i.div`
15
15
  color: ${e=>e.theme.colors.hero};
16
- `,un=a(tt)`
16
+ `,un=i(tt)`
17
17
  display: flex;
18
18
  justify-content: space-between;
19
19
  padding-top: ${n.sp1};
20
- `,yn=a.div``,hn=a.div`
20
+ `,yn=i.div``,hn=i.div`
21
21
  background-color: ${S.neutralGrey3Dark};
22
22
  height: 1px;
23
23
  width: 280px;
24
- `,fn=a.div``,gn=a.div`
24
+ `,fn=i.div``,gn=i.div`
25
25
  display: flex;
26
26
  width: 100%;
27
27
  box-sizing: border-box;
28
- `,xn=a.div`
28
+ `,xn=i.div`
29
29
  width: 100%;
30
30
  padding: ${n.sp3};
31
31
  display: flex;
@@ -36,30 +36,30 @@ import{J as Ct,ax as Tt,x as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as
36
36
  border-radius: ${n.sp2};
37
37
  color: ${e=>e.theme.colors.hero};
38
38
  margin-bottom: ${n.sp2};
39
- `,bn=a(et)`
39
+ `,bn=i(et)`
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
- `,wn=a(et)`
45
+ `,wn=i(et)`
46
46
  display: flex;
47
47
  width: calc(100% - 176px);
48
48
  justify-content: flex-end;
49
49
  color: ${e=>e.theme.colors.primary};
50
- `,$n=a.div`
50
+ `,$n=i.div`
51
51
  display: flex;
52
52
  flex-direction: column;
53
53
  width: 100%;
54
54
  height: 100%;
55
- `,vn=a.div`
55
+ `,vn=i.div`
56
56
  display: flex;
57
57
  flex-grow: 1;
58
58
  flex-direction: column;
59
59
  margin-left: ${e=>m.reviewContainerMarginLeft.valuePx(e.windowSize)};
60
60
  margin-right: ${e=>m.reviewContainerMarginRight.valuePx(e.windowSize)};
61
61
  padding-top: ${n.sp3};
62
- `,jn=a.div`
62
+ `,jn=i.div`
63
63
  display: flex;
64
64
  flex-direction: column;
65
65
  background-color: ${e=>e.theme.colors.grey5};
@@ -68,21 +68,21 @@ import{J as Ct,ax as Tt,x as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as
68
68
  border-radius: ${n.sp2};
69
69
  margin-bottom: ${n.sp3};
70
70
  margin-top: ${n.sp3};
71
- `,U=a.div`
71
+ `,U=i.div`
72
72
  display: flex;
73
73
  flex: 1;
74
74
  background-color: ${e=>e.theme.colors.grey3};
75
75
  min-height: 1px;
76
76
  max-height: 1px;
77
- `,Ve=a(Vt)`
77
+ `,Ge=i(Gt)`
78
78
  color: ${e=>e.theme.colors.primary};
79
- ${e=>`${dn.sectionTitle.style(e.windowSize)}`};
79
+ ${e=>`${sn.sectionTitle.style(e.windowSize)}`};
80
80
  margin-left: ${e=>m.sectionTitleMarginLeft.valuePx(e.windowSize)};
81
- `,Sn=a.div`
81
+ `,Sn=i.div`
82
82
  display: flex;
83
83
  margin-bottom: ${n.sp3};
84
84
  margin-top: ${n.sp3};
85
- `,Cn=a.div`
85
+ `,Cn=i.div`
86
86
  display: flex;
87
87
  flex-direction: column;
88
88
  border-radius: ${n.sp2};
@@ -90,46 +90,46 @@ import{J as Ct,ax as Tt,x as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as
90
90
  background-color: ${e=>e.theme.colors.grey5};
91
91
  border: 1px solid ${e=>e.theme.colors.grey3};
92
92
  box-shadow: ${e=>`${n.sp0} 2px ${n.sp1} ${e.theme.colors.dropShadowNormal}`};
93
- `,Tn=a.div`
93
+ `,Tn=i.div`
94
94
  background-color: ${S.alertLight};
95
95
  border-radius: ${n.sp2};
96
96
  width: 100%;
97
97
  display: flex;
98
- `,Dn=a.div`
98
+ `,Dn=i.div`
99
99
  display: flex;
100
100
  flex-direction: column;
101
101
  padding-left: ${n.sp2};
102
- `,In=a(de)`
102
+ `,In=i(se)`
103
103
  padding-bottom: ${n.sp3};
104
104
  color: ${S.brandColorGoldDark};
105
- `,Pn=a(Gt)`
105
+ `,Pn=i(Yt)`
106
106
  padding-top: ${n.sp3};
107
107
  color: ${S.brandColorGoldDark};
108
- `,Ye=a.div`
108
+ `,He=i.div`
109
109
  display: flex;
110
110
  flex-direction: ${e=>nt.includes(e.windowSize)?"column":"row"};
111
111
  width: 100%;
112
- `,kn=a.div`
112
+ `,kn=i.div`
113
113
  display: flex;
114
114
  justify-content: space-between;
115
115
  align-items: center;
116
116
  column-gap: ${n.sp1};
117
- `,An=a.div`
117
+ `,An=i.div`
118
118
  display: flex;
119
119
  column-gap: ${n.sp2};
120
120
  align-items: center;
121
- `,Mn=a.div`
121
+ `,Mn=i.div`
122
122
  display: flex;
123
123
  padding-top: ${n.sp3};
124
- `,Ge=a(Jt)`
124
+ `,Ye=i(Jt)`
125
125
  display: flex;
126
126
  color: ${e=>e.theme.colors.hero};
127
127
  margin-right: ${n.sp1};
128
- `,Ke=a(Xt)`
128
+ `,Ke=i(Xt)`
129
129
  display: flex;
130
130
  color: ${e=>e.theme.colors.primary};
131
131
  margin-right: ${n.sp1};
132
- `,Ue=a(Zt)`
132
+ `,Ue=i(Zt)`
133
133
  cursor: pointer;
134
134
  color: ${e=>e.theme.colors.hero};
135
135
  width: 20px;
@@ -137,9 +137,9 @@ import{J as Ct,ax as Tt,x as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as
137
137
  &:hover {
138
138
  color: ${e=>e.theme.colors.primary};
139
139
  }
140
- `,Bn=a.div`
140
+ `,Bn=i.div`
141
141
  margin-bottom: ${n.sp3};
142
- `,Fn=a.div`
142
+ `,Fn=i.div`
143
143
  display: flex;
144
144
  align-items: center;
145
145
  margin-right: ${e=>e.showAutofill===!0?n.sp8:"unset"};
@@ -152,23 +152,23 @@ import{J as Ct,ax as Tt,x as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as
152
152
  padding-left: ${n.sp0};
153
153
  z-index: 2;
154
154
  background-color: ${e=>e.theme.colors.grey4};
155
- `,Ln=a(_t)`
155
+ `,Ln=i(_t)`
156
156
  height: ${n.sp3};
157
157
  width: ${n.sp3};
158
158
  color: ${e=>e.theme.colors.hero};
159
- `,Rn=a.span`
159
+ `,Rn=i.span`
160
160
  display: flex;
161
161
  align-items: center;
162
162
  margin-left: ${n.sp2};
163
163
  margin-top: ${e=>m.iconContainerMarginTop.valuePx(e.size)};
164
164
  align-self: ${e=>e.size==="small"?"baseline":"center"};
165
- `,zn=a(ce)`
165
+ `,zn=i(ce)`
166
166
  color: ${e=>e.theme.colors.grey1};
167
167
  display: flex;
168
168
  flex-wrap: wrap;
169
169
  justify-content: center;
170
170
  align-items: center;
171
- `,Nn=a.a`
171
+ `,Nn=i.a`
172
172
  color: ${e=>e.theme.colors.grey1};
173
173
  text-decoration: underline;
174
174
  margin-right: ${n.sp1};
@@ -176,7 +176,7 @@ import{J as Ct,ax as Tt,x as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as
176
176
  &:hover {
177
177
  color: ${e=>e.theme.colors.primary};
178
178
  }
179
- `,On=a.div`
179
+ `,On=i.div`
180
180
  cursor: ${e=>e.isDisabled?"default":"pointer"};
181
181
  display: flex;
182
182
  flex-direction: row;
@@ -189,49 +189,49 @@ import{J as Ct,ax as Tt,x as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as
189
189
  color: ${e=>e.isDisabled?e.theme.colors.hero:e.theme.colors.primary};
190
190
  }
191
191
  }
192
- `,En=a.div`
192
+ `,En=i.div`
193
193
  width: ${n.sp4};
194
194
  height: ${n.sp4};
195
195
  display: flex;
196
- `,qe=a.div`
196
+ `,qe=i.div`
197
197
  cursor: default;
198
198
  display: flex;
199
199
  align-items: center;
200
200
  margin-right: ${n.sp1};
201
- `,Je=a(qt)`
201
+ `,Je=i(qt)`
202
202
  cursor: pointer;
203
203
  width: ${n.sp4};
204
204
  height: ${n.sp4};
205
205
  color: ${e=>e.theme.colors.hero};
206
- `,q=a(de)`
206
+ `,q=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
- `,Xe=a(de)`
212
+ `,Xe=i(se)`
213
213
  display: flex;
214
214
  color: ${e=>e.theme.colors.primary};
215
215
  align-items: center;
216
216
  margin-right: ${e=>m.infoMarginRight.valuePx(e.windowSize)};
217
217
  min-width: ${e=>m.infoMinWidth.valuePx(e.windowSize)};
218
218
  justify-content: flex-end;
219
- `,Wn=a.div`
219
+ `,Wn=i.div`
220
220
  display: flex;
221
221
  cursor: pointer;
222
222
  column-gap: ${n.sp1};
223
223
  margin-left: ${n.sp5};
224
- `,Qe=a.div`
224
+ `,Qe=i.div`
225
225
  width: 120px;
226
226
  display: flex;
227
227
  justify-content: flex-end;
228
228
  align-items: center;
229
- `,_n=a.div`
229
+ `,_n=i.div`
230
230
  display: flex;
231
231
  flex-grow: 1;
232
232
  cursor: pointer;
233
233
  width: 100%;
234
- `,J=a(ce)`
234
+ `,J=i(ce)`
235
235
  display: flex;
236
236
  color: ${e=>e.borderColor};
237
237
  height: 20px;
@@ -247,31 +247,31 @@ import{J as Ct,ax as Tt,x as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as
247
247
  padding: 1px 6px;
248
248
  border: ${e=>`1px solid ${e.borderColor}`};
249
249
  border-radius: ${n.sp1};
250
- `,Zn=a.div`
250
+ `,Zn=i.div`
251
251
  display: flex;
252
252
  flex-direction: column;
253
- `,Hn=a.div`
253
+ `,Vn=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
- `,Vn=a(ce)`
260
+ `,Gn=i(ce)`
261
261
  margin-top: ${n.sp3};
262
262
  color: ${S.alert};
263
- `,Yn=a(Yt)`
263
+ `,Hn=i(Ht)`
264
264
  min-width: ${n.sp4};
265
265
  height: ${n.sp4};
266
266
  width: ${n.sp4};
267
267
  margin-top: ${n.sp3};
268
268
  margin-left: ${n.sp4};
269
269
  color: ${S.brandColorGoldDark};
270
- `,Gn=a.div`
270
+ `,Yn=i.div`
271
271
  display: flex;
272
272
  justify-content: flex-end;
273
273
  margin-right: ${e=>m.footerRightIconMarginRight.valuePx(e.windowSize)};
274
- `,Kn=a(tn)`
274
+ `,Kn=i(tn)`
275
275
  cursor: pointer;
276
276
  color: ${e=>e.theme.colors.hero};
277
277
  width: ${n.sp4};
@@ -279,7 +279,7 @@ import{J as Ct,ax as Tt,x as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as
279
279
  &:hover {
280
280
  color: ${e=>e.theme.colors.primary};
281
281
  }
282
- `,Un=a.div`
282
+ `,Un=i.div`
283
283
  display: flex;
284
284
  cursor: pointer;
285
285
  color: ${e=>e.theme.colors.grey1};
@@ -287,4 +287,4 @@ import{J as Ct,ax as Tt,x as u,f8 as Dt,f9 as It,fa as Pt,V as t,fb as kt,fc as
287
287
  &:hover {
288
288
  color: ${e=>e.theme.colors.primary};
289
289
  }
290
- `;export{da as default};
290
+ `;export{si as default};
@@ -1,4 +1,4 @@
1
- import{J as P,V as i,ab as m,o as r,aS as L,x as d,b as M,H as I,a as C,p as s,am as b,cE as W,k as D,aj as j,bi as R,u as n,eo as G,h as H,i$ as _,kc as J}from"./index-BPv2nRQb.js";import{n as t}from"./mui-DdxImnN0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="5931a5d6-f89b-43fd-9bc4-c82d28b11be4",e._sentryDebugIdIdentifier="sentry-dbid-5931a5d6-f89b-43fd-9bc4-c82d28b11be4")}catch{}})();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])},A={title:new I("h6Regular","h5Regular")},xe=({title:e,description:g,reviewItems:x,showFooter:S,footerProps:{primaryButton:z,cancelButton:T,hideCancel:E},onCloseOverlay:k,onCloseReviewItem:B})=>{const l=P();return i.jsxs(V,{children:[i.jsx(X,{windowSize:l,children:i.jsx(Y,{children:i.jsx(Z,{windowSize:l,children:i.jsx(ee,{children:i.jsx(ie,{onClick:k,"data-testid":m("review-overlay-close",e)})})})})}),i.jsxs(O,{windowSize:l,children:[i.jsxs(q,{windowSize:l,children:[i.jsx(K,{children:i.jsx(N,{windowSize:l,children:e})}),i.jsx(Q,{isError:g.isError,windowSize:l,children:g.content})]}),i.jsx(U,{windowSize:l,children:x.map(o=>{const h=o.reviewStatus.code==="error",c=o.reviewStatus.code==="warning"||o.reviewStatus.code==="low-balance";return i.jsxs(re,{isLoading:!1,isActive:!0,isWarning:c,isError:h,children:[c?i.jsx(ce,{onClick:()=>B(o.id),"data-testid":m("review-close",o.id)}):null,i.jsxs(te,{children:[i.jsxs(ne,{children:[i.jsx(de,{children:F(o)}),i.jsxs(oe,{children:[i.jsxs(w,{children:[i.jsx(f,{style:{marginLeft:r.sp2},isWarning:c,isError:h,children:o.leftSideText.title}),i.jsx(f,{isWarning:c,isError:h,children:o.rightSideText.title})]}),i.jsxs(w,{children:[i.jsx(se,{style:{marginLeft:r.sp2},children:o.leftSideText.subTitle}),l!=="small"?i.jsxs(u,{windowSize:l,children:[i.jsx(p,{isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[o.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx($,{})}):null,o.rightSideText.subTitle]})}),i.jsx(p,{isWarning:!0,isError:!1,children:o.rightSideText.additonalInfo})]}):null]})]})]}),l==="small"?i.jsxs(u,{windowSize:l,children:[i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[o.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx($,{})}):null,o.rightSideText.subTitle]})}),i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isWarning:c,isError:h,children:o.rightSideText.additonalInfo})]}):null]})]},o.id)})})]}),S?i.jsx(L,{primaryBtn:z,cancelBtn:T,showCancel:!E}):null]})},F=e=>e.reviewStatus.isLoading?i.jsx(D,{size:"Small",style:{display:"flex",width:r.sp4,height:r.sp4,alignItems:"center",justifyContent:"center"},start:!0}):e.reviewStatus.code==="error"?i.jsx(y,{isError:!0}):e.reviewStatus.code==="warning"?i.jsx(y,{isError:!1}):e.reviewStatus.code==="valid"?i.jsx(le,{}):e.reviewStatus.code==="low-balance"?i.jsx(he,{}):i.jsx(ae,{}),V=t.div`
1
+ import{J as P,V as i,ab as m,o as r,aS as L,x as d,b as M,H as I,a as C,p as s,am as b,cE as W,k as D,aj as j,bi as R,u as n,eo as G,h as H,i$ as _,kc as J}from"./index-D-BANbLd.js";import{n as t}from"./mui-AW-QpJ2k.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="5931a5d6-f89b-43fd-9bc4-c82d28b11be4",e._sentryDebugIdIdentifier="sentry-dbid-5931a5d6-f89b-43fd-9bc4-c82d28b11be4")}catch{}})();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])},A={title:new I("h6Regular","h5Regular")},xe=({title:e,description:g,reviewItems:x,showFooter:S,footerProps:{primaryButton:z,cancelButton:T,hideCancel:E},onCloseOverlay:k,onCloseReviewItem:B})=>{const l=P();return i.jsxs(V,{children:[i.jsx(X,{windowSize:l,children:i.jsx(Y,{children:i.jsx(Z,{windowSize:l,children:i.jsx(ee,{children:i.jsx(ie,{onClick:k,"data-testid":m("review-overlay-close",e)})})})})}),i.jsxs(O,{windowSize:l,children:[i.jsxs(q,{windowSize:l,children:[i.jsx(K,{children:i.jsx(N,{windowSize:l,children:e})}),i.jsx(Q,{isError:g.isError,windowSize:l,children:g.content})]}),i.jsx(U,{windowSize:l,children:x.map(o=>{const h=o.reviewStatus.code==="error",c=o.reviewStatus.code==="warning"||o.reviewStatus.code==="low-balance";return i.jsxs(re,{isLoading:!1,isActive:!0,isWarning:c,isError:h,children:[c?i.jsx(ce,{onClick:()=>B(o.id),"data-testid":m("review-close",o.id)}):null,i.jsxs(te,{children:[i.jsxs(ne,{children:[i.jsx(de,{children:F(o)}),i.jsxs(oe,{children:[i.jsxs(w,{children:[i.jsx(f,{style:{marginLeft:r.sp2},isWarning:c,isError:h,children:o.leftSideText.title}),i.jsx(f,{isWarning:c,isError:h,children:o.rightSideText.title})]}),i.jsxs(w,{children:[i.jsx(se,{style:{marginLeft:r.sp2},children:o.leftSideText.subTitle}),l!=="small"?i.jsxs(u,{windowSize:l,children:[i.jsx(p,{isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[o.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx($,{})}):null,o.rightSideText.subTitle]})}),i.jsx(p,{isWarning:!0,isError:!1,children:o.rightSideText.additonalInfo})]}):null]})]})]}),l==="small"?i.jsxs(u,{windowSize:l,children:[i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isError:h,isWarning:c,children:i.jsxs(i.Fragment,{children:[o.rightSideText.showThunderIcon===!0?i.jsx(v,{children:i.jsx($,{})}):null,o.rightSideText.subTitle]})}),i.jsx(p,{style:{marginLeft:r.sp5,marginTop:r.sp0},isWarning:c,isError:h,children:o.rightSideText.additonalInfo})]}):null]})]},o.id)})})]}),S?i.jsx(L,{primaryBtn:z,cancelBtn:T,showCancel:!E}):null]})},F=e=>e.reviewStatus.isLoading?i.jsx(D,{size:"Small",style:{display:"flex",width:r.sp4,height:r.sp4,alignItems:"center",justifyContent:"center"},start:!0}):e.reviewStatus.code==="error"?i.jsx(y,{isError:!0}):e.reviewStatus.code==="warning"?i.jsx(y,{isError:!1}):e.reviewStatus.code==="valid"?i.jsx(le,{}):e.reviewStatus.code==="low-balance"?i.jsx(he,{}):i.jsx(ae,{}),V=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{eT as f,eU as h,V as s,bU as g,o,ab as l,F as b,ao as x,aj as c}from"./index-BPv2nRQb.js";import{n as d}from"./mui-DdxImnN0.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="82007ed3-1f11-4cbe-9dcf-6bceed265128",e._sentryDebugIdIdentifier="sentry-dbid-82007ed3-1f11-4cbe-9dcf-6bceed265128")}catch{}})();const{hyphen:i}=b.getLocalizedStrings().common.strings,y=d.div``,m=d.div`
1
+ import{eT as f,eU as h,V as s,bU as g,o,ab as l,F as b,ao as x,aj as c}from"./index-D-BANbLd.js";import{n as d}from"./mui-AW-QpJ2k.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="82007ed3-1f11-4cbe-9dcf-6bceed265128",e._sentryDebugIdIdentifier="sentry-dbid-82007ed3-1f11-4cbe-9dcf-6bceed265128")}catch{}})();const{hyphen:i}=b.getLocalizedStrings().common.strings,y=d.div``,m=d.div`
2
2
  display: flex;
3
3
  min-width: 192px;
4
4
  justify-content: space-between;