@zeniai/web-cockpit-ui 1.14.19-dev-betaSK01 → 1.14.20-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 (378) hide show
  1. package/dist/assets/ACHDetailsPage-CVBRtacz-BEkwx2cM.js +21 -0
  2. package/dist/assets/{AIPerformancePage-CJ0myi1p-CyCBKn16.js → AIPerformancePage-DnOjd2BF-CRXsdl24.js} +52 -52
  3. package/dist/assets/AccountInfoPage-Bt-jShgf-CCHYq--w.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-CVV20YhW-q-TI4Dr6.js → AccountInfoPageContent-Cc80eQeo-579rUIpL.js} +20 -20
  5. package/dist/assets/AccountLockedInfoModal-B-Hn6_hG-B-4Dg7na.js +59 -0
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CNT6qZyD-ZHVZJgF9.js → AccountReconDetailsDrawerPage-Bz1Sk2du-CwztkqDE.js} +18 -18
  7. package/dist/assets/{AccountRow-COaolUm5-Bsrm5YYV.js → AccountRow-D01C0A0f-QA2NRq7R.js} +46 -46
  8. package/dist/assets/{AccountsPromoCardStack-BOmk5qYk-Bnozn1QW.js → AccountsPromoCardStack-DsjFJ8gZ-DjW6RsEa.js} +37 -37
  9. package/dist/assets/{AddAddressForCardDrawer-DQN-6ztS-C4C6h_V9.js → AddAddressForCardDrawer-DnoYIvUp-DRozqjCP.js} +2 -2
  10. package/dist/assets/{AddToWalletPage-CT9nivqI-BnXCEk6P.js → AddToWalletPage-BIiW9JxG-D9CD9wND.js} +122 -122
  11. package/dist/assets/{AgingReportsPage-DGzFK69_-DgqwpnRI.js → AgingReportsPage-WazD_3Z7-CoFeaJHD.js} +17 -17
  12. package/dist/assets/{AllUserItems-diZQlFqb-DwUtiew2.js → AllUserItems-CTSy4oBh-COmuQZqb.js} +18 -18
  13. package/dist/assets/ApAgingDetailPage--NGBXWsy-C8HiqI6Z.js +46 -0
  14. package/dist/assets/AppBasePage-B5br9UXD-BXEvz6Z3.js +70 -0
  15. package/dist/assets/{AppDrawerContent-Z3Hny9GH-BBS5jJHD.js → AppDrawerContent-vFeMNL3B-anFPhgeB.js} +13 -13
  16. package/dist/assets/ApprovalRulesSettingsPage-6j7VBBZ6-D1yZE3mH.js +47 -0
  17. package/dist/assets/ArAgingChart-BYWN3_Nl-CYX1U_rU.js +24 -0
  18. package/dist/assets/ArAgingDetailPage-B-hHa8A6-BrQATxNB.js +46 -0
  19. package/dist/assets/{AttachmentView-ChlYn2cr-DueA245P.js → AttachmentView-C2kWA5X5-XqMuBHHe.js} +8 -8
  20. package/dist/assets/{BankAccountSection-DdvqFTBS-3WhABy0l.js → BankAccountSection-B20IwpOn-dEqA-3oX.js} +7 -7
  21. package/dist/assets/{BankAccountWarningSection-VrRQxdkB-DFivrjf8.js → BankAccountWarningSection-GHO0P0IZ-jfpI3pUb.js} +10 -10
  22. package/dist/assets/{BankConnectionsSettingsPage-D1Y3V93C-Bfvr_pF_.js → BankConnectionsSettingsPage-Cpg1ObB6-DR3nDiYc.js} +33 -33
  23. package/dist/assets/{BillDetailPage-XL8GxSiQ-Cxb-3w9d.js → BillDetailPage-DOF5ibT6-Bat6GtFx.js} +17 -17
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-wIEW2R5G-CC_GZTsX.js → BillPayApprovalRuleDetailPage-BI1R1zT_-D9iKVE5j.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-kGddvG8V-rTKT6DIU.js → BillPayApprovalRulesPage-B3x4So_i-B5TxdAS5.js} +11 -11
  26. package/dist/assets/{BillPayPromoPage-VBLYqFtx-CSmxPHYz.js → BillPayPromoPage-BqzH5AIp-Bcp4yJP9.js} +10 -10
  27. package/dist/assets/BillPaySetUpPage-DqiNMnRE-abIQ9Tkf.js +42 -0
  28. package/dist/assets/BillingSettingsPage-BOAAGOLs-CdPqd8Hl.js +44 -0
  29. package/dist/assets/BillsBulkReviewDrawerPage-B76xXQJ9-CbXzjgOR.js +1 -0
  30. package/dist/assets/{BoxItem-DJq3mny1-nPTLB__B.js → BoxItem-DCsIK5bA-DrkhsCS_.js} +4 -4
  31. package/dist/assets/BusinessVerificationPage-hSVDM_Bi-eN7TBacX.js +140 -0
  32. package/dist/assets/{CardNumberSubText-Bo_ZeAR0-DocU3odv.js → CardNumberSubText-B_ZdgYVm-CRvH-CRy.js} +4 -4
  33. package/dist/assets/{CashbackDetailPage-0Yl3lHzq-CJUtuV5y.js → CashbackDetailPage-CNeEt6aE-CsctITKU.js} +32 -32
  34. package/dist/assets/{ChargeCardDetailPage-BaceF_92-G63YAG6z.js → ChargeCardDetailPage-C0a8jqCD-CUfhgRr0.js} +78 -78
  35. package/dist/assets/ChargeCardListPage-_3lJqIYP-iewbQ3J2.js +355 -0
  36. package/dist/assets/{ChargeCardListTable-DE1xnRyd-D2F1GAJW.js → ChargeCardListTable-Kx-_ZAZu-BvnPLhgK.js} +62 -62
  37. package/dist/assets/ChargeCardPromoPage-CKTkcQdI-B3wD2hqP.js +222 -0
  38. package/dist/assets/ChargeCardSetupPage-CGRMFERy-BQ8k2roy.js +36 -0
  39. package/dist/assets/{ChargeCardStatementsPage-bpyamxR5-WxHdE5xc.js → ChargeCardStatementsPage-B_7CdyKP-CMTrFXHN.js} +13 -13
  40. package/dist/assets/ChargeCardUtils-BcwLwgz7-DrE0N0EF.js +1 -0
  41. package/dist/assets/{ChaseOverlay-YVpKSII6-BIyjTgCz.js → ChaseOverlay-ClcKUdpT-Buerorcp.js} +12 -12
  42. package/dist/assets/CheckDepositDrawerPage-I3siSP2H-BrRdb26D.js +206 -0
  43. package/dist/assets/{CollapsableReportTable-CDe76ha7-3Q7qsS_e.js → CollapsableReportTable-ULd7PQST-DRS_mwem.js} +57 -57
  44. package/dist/assets/{CompanyOfficerDetailsSection-CeVdKqY7-DWrcELqw.js → CompanyOfficerDetailsSection-DLaAmVLG-9U29EMpY.js} +32 -32
  45. package/dist/assets/{CompanyPassportCard-O7LbMSSb-D53wb0da.js → CompanyPassportCard-CZQuAyI2-Du4zK6a2.js} +8 -8
  46. package/dist/assets/{CompanyPassportPage-B05q2F4S-DiyGLc2N.js → CompanyPassportPage-DqoVJfO--BezYa4q3.js} +154 -154
  47. package/dist/assets/CompleteProfile-BJV-xUlM-DoWTiT1k.js +52 -0
  48. package/dist/assets/ConfettiBurst-D4ga9TRN-DITQey3L.js +1 -0
  49. package/dist/assets/{CreateOrEditVendorPage-BZ6ZfaSo-Dn1DLrma.js → CreateOrEditVendorPage-C6efUMJu-BO_oyqIH.js} +13 -13
  50. package/dist/assets/{CreditCardPaymentDrawerPage-cABpaIqh-BIRd807Z.js → CreditCardPaymentDrawerPage-26ysDTts-B2nPMyDO.js} +16 -16
  51. package/dist/assets/{CreditCardPaymentPlgSection-BgJ074tY-CfzZdzTd.js → CreditCardPaymentPlgSection-8NQI5gcx-CtF_TfUM.js} +12 -12
  52. package/dist/assets/{CurrencySelectField-BfgtNimH-BYHOS_CH.js → CurrencySelectField-CVNn0XCq-DT36t2lI.js} +6 -6
  53. package/dist/assets/{CustomerOnboardingActivationPage-Czg8rmEW-YInlsWzY.js → CustomerOnboardingActivationPage-D0-sOxDl-Bm2kAKIU.js} +4 -4
  54. package/dist/assets/CustomerOnboardingContainerPage-DoibuhLN-8rsNTWNZ.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DtYTYPnO-DzMzbH73.js → CustomerOnboardingDetailPageSkeleton-B7hkzgkV-BXEF9ppx.js} +17 -17
  56. package/dist/assets/CustomerOnboardingNoStepsPage-CD1QldcG-CzeAfya1.js +66 -0
  57. package/dist/assets/{CustomerOnboardingPage-CXZCAc_N-BfMJFDq7.js → CustomerOnboardingPage-DB1gXgdD-CUHFehdd.js} +6 -6
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-ucFJ1PHr-BwZiAWEx.js → CustomerOnboardingProductSuitePage-DGMmLmq8-Cbgji3lL.js} +12 -12
  59. package/dist/assets/{Dashboard-CAWL19Rr-CvQLInkH.js → Dashboard-CU3UQhxj-VVHJwggZ.js} +25 -25
  60. package/dist/assets/{DashboardReportPage-DYgKY1Ns-_VZzH9Ck.js → DashboardReportPage-DMdKWPtx-DkAIriFg.js} +27 -27
  61. package/dist/assets/DashboardSidebarBackgroundAnimation-BMEqBAyh-vfJQWz_r.js +12 -0
  62. package/dist/assets/{DepositAccTransactionItem-DeOMizAI-BUL1onQj.js → DepositAccTransactionItem-C1-JGWD1-BMvGw-zQ.js} +10 -10
  63. package/dist/assets/DepositAccTransactionListPage-CfwhQ7mC-B3prPdix.js +66 -0
  64. package/dist/assets/{DomesticWireDetailsPage-FsJvVULE-cMWuJpE8.js → DomesticWireDetailsPage-D6fDbjcO-DHXj9Zdn.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-CVCKyDWO-CyzPCm3f.js → DownloadOverlay-CsX54puJ-DeWJ_bTZ.js} +39 -39
  66. package/dist/assets/{DrawerPage-l697kk-T-C0lMqvCR.js → DrawerPage-xYwGDHR6-Ch0S05SG.js} +17 -17
  67. package/dist/assets/EditPeoplePage-9SmQtrJz-Cw0-GcjG.js +55 -0
  68. package/dist/assets/{EditReimbursementDetailPage-COuH1JPm-DF1XIZnj.js → EditReimbursementDetailPage-EUO0BoRp-EVPPjvHX.js} +49 -49
  69. package/dist/assets/{EntityDetailPage-BqjWJTDI-qcUtYQZh.js → EntityDetailPage-CF6LS35a-CeBa6jKf.js} +3 -3
  70. package/dist/assets/{EntitySummarySection-B1zP9dKH-kkSLVqaS.js → EntitySummarySection-C0gR6pkr-AtoRf1sI.js} +11 -11
  71. package/dist/assets/ExpenseAutomationOverviewPage-B0I8v21w-C1ihD57y.js +222 -0
  72. package/dist/assets/{ExpenseAutomationPage-DP0P07VH-DhP4-CZe.js → ExpenseAutomationPage-BorzJM7G-DFmLOpV0.js} +88 -88
  73. package/dist/assets/{ExpressPayPage-CuuS2EDn-D3uvvYo2.js → ExpressPayPage-D0YWItIv-Bvps2LX7.js} +11 -11
  74. package/dist/assets/FeaturePreviewPage-yu8G5cHk-BxkuThqr.js +11 -0
  75. package/dist/assets/{FollowStepsSection-DbS5XlIB--DgM9Akw.js → FollowStepsSection-DRDFxA8H-Dg1nQMTR.js} +11 -11
  76. package/dist/assets/{GlobalReviewListPage-D1a2gbca-BjGUSD3w.js → GlobalReviewListPage-D80yv7U2-CfvcgDlu.js} +11 -11
  77. package/dist/assets/{HelpButton-Dw0OujKs-8AApGgt1.js → HelpButton-D9ONg6cm-CuNxHNm2.js} +7 -7
  78. package/dist/assets/{InformationCardStack-QA9nEJlH-BHcB9j6E.js → InformationCardStack-CbKQwtHm-B7yYvAdF.js} +4 -4
  79. package/dist/assets/{InsightsCardStack-DKM6Xigy-B12rMXAv.js → InsightsCardStack-BWsN9_G2-DemEieR0.js} +13 -13
  80. package/dist/assets/InsightsSection-WZo-AWJt-DohBwSi_.js +27 -0
  81. package/dist/assets/IntegrationsSettingsPage-BLjSJt9r-6t6Ass9f.js +57 -0
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-KC-9TwlR-DtVQ4upN.js → InternationalWireSwiftDetailsPage-BXNDZ1Mk-BO2f4UVV.js} +16 -16
  83. package/dist/assets/{InternationalWireVerificationPage-D59omOr2-BqyFDoPr.js → InternationalWireVerificationPage-BLgPJ1NJ-CMky3KEh.js} +12 -12
  84. package/dist/assets/InviteFormPage-DPQ4vL9--DIhY9xxd.js +312 -0
  85. package/dist/assets/{InvitePageListView-BO-RmmHm-B9WEWx8n.js → InvitePageListView-YUKxUGBn-CGJ_yirg.js} +58 -58
  86. package/dist/assets/InvitePeoplePage-C3vECRns-DBtYnb-4.js +12 -0
  87. package/dist/assets/{InvoiceUploadSection-CibgDVMW-Ct_Yqg-6.js → InvoiceUploadSection-Cx6pXJiN-CgRQkeV5.js} +10 -10
  88. package/dist/assets/{IssueChargeCardPage-CB5DhzQb-Dowc3uml.js → IssueChargeCardPage-DZVtocCO-B49QpSq-.js} +75 -75
  89. package/dist/assets/LabeledAddressValue-BrB2xQYz-B09yXjLA.js +49 -0
  90. package/dist/assets/LabeledAddressValueField-_35LG3OI-C2eHerzm.js +45 -0
  91. package/dist/assets/LabeledControlledCheckBoxField-o0K1dba0-BZipP4yv.js +16 -0
  92. package/dist/assets/{LabeledCreatableSingleSelectField-CIhXQBns-C3KOt5qj.js → LabeledCreatableSingleSelectField-DQwGH21a-D1Rth7u2.js} +8 -8
  93. package/dist/assets/LabeledDocumentField-CfgzkjDY-CbC276Lv.js +41 -0
  94. package/dist/assets/{LabeledDropDownFormattedTextField-pClUx8A9-Dtg8BoKW.js → LabeledDropDownFormattedTextField-DdaTvUbM-C4uCaUJ3.js} +10 -10
  95. package/dist/assets/{LabeledText-CW-bei7--hAClqsQN.js → LabeledText-Hi4MixDN-n_lfAbe7.js} +3 -3
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DZUt2T7b-B09ph3mF.js → LabeledUserSingleSelectWithSubtitlesField-BlVebvR7-CKRRo1Fi.js} +22 -22
  97. package/dist/assets/{LabeledZeniRolesDropDownField-DNZUBYDP-ltAbPko_.js → LabeledZeniRolesDropDownField-Bm7Emr_n-JLIDvMIU.js} +11 -11
  98. package/dist/assets/LinkJETransactionPage-ittEPbhi-BCWKpHna.js +98 -0
  99. package/dist/assets/{LowBalancePopup-DcVkWdb3-vRNfAVIB.js → LowBalancePopup-ChA83eFW-dErt1yuL.js} +6 -6
  100. package/dist/assets/{MagicLinkACHDetailsPage-B3NEKP0z-DUbPO0xw.js → MagicLinkACHDetailsPage-B4PPI06n-DFF50HiV.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-SvX8hE_J-6LOmcKRH.js → MagicLinkDomesticWireDetailsPage-DRK5ytSb-CTgdy9NG.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DnrUY7JS-nyREbLmz.js → MagicLinkInternationalWireDetailsPage-C2pn5xtm-DTn743zM.js} +1 -1
  103. package/dist/assets/MagicLinkSuccessPage-Bag5TE2J-DCGiU-tX.js +31 -0
  104. package/dist/assets/MagicLinkTitleSection-Ch72cLUN-CsTRlAex.js +17 -0
  105. package/dist/assets/{MailingDetailsSection-DFxnpK8F-CiXDBg4h.js → MailingDetailsSection-CrHHLtQN-loRqi7di.js} +1 -1
  106. package/dist/assets/{MeetingCalenderPopup-LNaVbSrR-TEQEw5Mb.js → MeetingCalenderPopup-B_KRQLwc-CemZcgIl.js} +3 -3
  107. package/dist/assets/{Menu-BCNEnlpd-D3With3F.js → Menu-Czq7AdhP-C-oEbm2f.js} +3 -3
  108. package/dist/assets/{MyBankConnectionsSettingsPage-DCURGC-R-BMFNqNjE.js → MyBankConnectionsSettingsPage-y3YOYnQr-BDn2GzBg.js} +13 -13
  109. package/dist/assets/MyPendingActivationChargeCardListPage-DJeYzaPj-Dm2kAILW.js +6 -0
  110. package/dist/assets/MyProfileSettingsPage-hQvoACAQ-DxTxhxW-.js +85 -0
  111. package/dist/assets/{NavBarWithPicker-CBOGjIl3-ajX8qLcM.js → NavBarWithPicker-DUaSGf4d-hMIZgUnq.js} +6 -6
  112. package/dist/assets/{NavigationArrow-C6KDDKXh-BuGIAK_3.js → NavigationArrow-ClEBtns--CBhi3Wa5.js} +5 -5
  113. package/dist/assets/{NavigationDots-CGOsNTLj-ZRX96j5F.js → NavigationDots-BsJyQWOZ-DQaJD5qn.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-C478pZIu-cHWkOmAB.js → NewGlobalMerchantPage-BKZGSrDk-Bj0fLOGG.js} +4 -4
  115. package/dist/assets/{NoDataChart-BSoXaJD0-JxM1S3Cy.js → NoDataChart-Bk9eWo52-DbkTpf0E.js} +8 -8
  116. package/dist/assets/{NoDataTable-iH1r029I-DLkBIcoK.js → NoDataTable-DCQbtvPN-DkrWdcTk.js} +1 -1
  117. package/dist/assets/{NotFoundPage-BQLKWvT9-wlLCbXww.js → NotFoundPage-CGx7FoiU-CZaJl2_e.js} +6 -6
  118. package/dist/assets/{NotificationSettingsPage-R7veJvze-BqnLD-ld.js → NotificationSettingsPage-CoD8eTUS-8OIZSyCr.js} +26 -26
  119. package/dist/assets/NotificationsListConfig-hyqVBWDA-BxI8wBvU.js +1 -0
  120. package/dist/assets/{NotificationsPage-D_vooxhV-BtfMVNB5.js → NotificationsPage-BavPSx1H-CVEnlnNl.js} +60 -60
  121. package/dist/assets/{OpExByVendorPage-DWCdLRPc-peo3zX7H.js → OpExByVendorPage-DD8tCc8E-DObB3ZyW.js} +15 -15
  122. package/dist/assets/{OverlayContainerPage-1M2CZQoK-DROfCTrK.js → OverlayContainerPage-Dg-aOJQU-XdQCUH0G.js} +1 -1
  123. package/dist/assets/PandLWithForecastPage-bSkidYRR-D-Y5VMs1.js +107 -0
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-YLuS3VUf-CaBoPPAw.js → PaymentAccountSetupBillingAddressSection-CGIC_vLw-BIusm93k.js} +12 -12
  125. package/dist/assets/{PeoplePage-CRZ7ywRU-CZLazd8w.js → PeoplePage-C-2NZJpQ-BbdMKhWr.js} +36 -36
  126. package/dist/assets/{PortfolioAllocationFormPage-QP1Aoj30-7H62H89u.js → PortfolioAllocationFormPage-B6JOvEvW-BSgeoBob.js} +12 -12
  127. package/dist/assets/{PortfolioDetails-DOlYfVij-TNjtwW2_.js → PortfolioDetails-Cpv5bi4_-C3K7fsrr.js} +40 -40
  128. package/dist/assets/{ProductsCarousel-CzJnAk3w-MortVhyi.js → ProductsCarousel-WDd37Mjn-NLHTDL58.js} +11 -11
  129. package/dist/assets/{PromoBaseCards-CLKhsYfl-BEkL1oHo.js → PromoBaseCards-BaFkKGkm-Bw-1QrdI.js} +4 -4
  130. package/dist/assets/{QBOConnectionDialog-CiAUTeD2-D061mOJX.js → QBOConnectionDialog-l3ThoJCI-BaUAxpz_.js} +10 -10
  131. package/dist/assets/QBOSetupSection-DSrxcrXI-CnwGvTKQ.js +79 -0
  132. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DCzX_1-a-BNW7pXC_.js → ReimbursementApprovalRuleDetailPage-hb8mPFw0-iXwT5wDy.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRulesPage-DfHVzdAB-hV-2mfna.js → ReimbursementApprovalRulesPage-fs4WqNUv-BvFXhzka.js} +10 -10
  134. package/dist/assets/{ReimbursementDetailPage-Di8XpCvg-B7b0ZH64.js → ReimbursementDetailPage-BYw6Mc2u-ZOQaZirb.js} +14 -14
  135. package/dist/assets/{ReimbursementPromoPage-CJSuqONm-DlocTKyV.js → ReimbursementPromoPage-DzDuwRxU-DEtJqrhv.js} +24 -24
  136. package/dist/assets/ReimbursementSetUpPage-DdT6uu1--I31J4BAO.js +140 -0
  137. package/dist/assets/ReimbursementsBulkReviewDrawerPage-CXvng56s-BxlZIO2c.js +1 -0
  138. package/dist/assets/{ReloadCard-BuBuLupE-Cty15m_t.js → ReloadCard-BPoOhxrs-D8lPs5qf.js} +5 -5
  139. package/dist/assets/ReportTableViewSelector-CkZW5TtX-I9C4FHDc.js +150 -0
  140. package/dist/assets/{ReportsPage-R29_iuow-B4_GPbvP.js → ReportsPage-C-ARKbIQ-CCoiMwuP.js} +6 -6
  141. package/dist/assets/{RevenueChart-D3r_Mgmm-XyYx-Hfz.js → RevenueChart-CuqZW-Jr-B_s8E_iU.js} +1 -1
  142. package/dist/assets/{ReviewDetailsPage-Cimq9su3-CRN9WHDV.js → ReviewDetailsPage-BVN_Uym2-d0L-TTpG.js} +17 -17
  143. package/dist/assets/ReviewOverlay-CIgtaUn1-wggYVp0Q.js +152 -0
  144. package/dist/assets/RoleWithToolTip-Dm4yIm31-3pGQtzkX.js +22 -0
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Cbe0zp9o-DxmW_LFp.js → ScheduleDetailsFixedAssetsPage-Ce3z1VPg-SvqdKcr4.js} +13 -13
  146. package/dist/assets/{ScheduleDetailsPage-DxmJdx3I-Bant9wup.js → ScheduleDetailsPage-O69iLj4h-CXnxPezp.js} +3 -3
  147. package/dist/assets/{ScheduleSequenceTable-srpDx2n6-l1UT781V.js → ScheduleSequenceTable-DMIzc2zC-3WngbgQC.js} +27 -27
  148. package/dist/assets/{ScreenRoutes-DPjLo75W.js → ScreenRoutes-D3pC7BH7.js} +1 -1
  149. package/dist/assets/SetUpAccountSection-C1_QjMwF-C_2yznzy.js +378 -0
  150. package/dist/assets/{SetUpDefaultSection-BWt_kYKx-Dc8telSj.js → SetUpDefaultSection-B-ZEHQUb-iLzGQnWH.js} +15 -15
  151. package/dist/assets/SignIn-CXQyYEJI-BbNAmrjc.js +408 -0
  152. package/dist/assets/SignInScreen-DtWV87E_.js +1 -0
  153. package/dist/assets/SpendManagementListViewPage-DEMLoStE-C1nPAYM8.js +123 -0
  154. package/dist/assets/{SpendManagementPerTabPage-CZaPjNjx-Bhxn4ZLQ.js → SpendManagementPerTabPage-CLf-7YyR-60GdYb7a.js} +68 -68
  155. package/dist/assets/{SpendManagementSection-atmLAM4T-DeXVF-9S.js → SpendManagementSection-DIVgOKWy-D35voP2u.js} +22 -22
  156. package/dist/assets/{SpendMgmtSetupAccountSection-h6duObCp-PJLwXWd-.js → SpendMgmtSetupAccountSection-DFyUBsg3-DRIU7IWr.js} +18 -18
  157. package/dist/assets/StatementItem-CSyEn4Pz-CIQDSk8U.js +31 -0
  158. package/dist/assets/StatementsPage-D34J2aZa-9jSr3LU8.js +58 -0
  159. package/dist/assets/{StatusSwitcher-BTTEP3yZ-DwSqL8zG.js → StatusSwitcher-B77NoO6o-CLTHQ9CP.js} +2 -2
  160. package/dist/assets/{SubTabSwitcher-BedfItte-C-XhL99Y.js → SubTabSwitcher-baJGHUgJ-BPKK4q6_.js} +6 -6
  161. package/dist/assets/{SummaryCard--FoJZECU-DjUF26i-.js → SummaryCard-BvuRZj8f-DCeFdYs2.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-DchOWpNF-n_asmH-l.js → TaskManagementPage-vG8GXEJA-DX4VWYkl.js} +50 -50
  163. package/dist/assets/{TimeRangeSwitcher-RLCCDvSp-DYQOEgth.js → TimeRangeSwitcher-CnoZ9Rqp-QTEqL6la.js} +2 -2
  164. package/dist/assets/{TimeframeSwitcher-DABwUJSm-DPkuAUy9.js → TimeframeSwitcher-W5kHnuHI-B5U_sUAn.js} +4 -4
  165. package/dist/assets/{TimeframeSwitcherWithToggle-DMblyoo8-ize9yIra.js → TimeframeSwitcherWithToggle-yLA5y4zJ-CFlsdObg.js} +2 -2
  166. package/dist/assets/{TopExCard-BwOpZFuj-CBPfgwzP.js → TopExCard-oyXmygm8-DV87vjZL.js} +7 -7
  167. package/dist/assets/{TopExDetailPage-BLaZA-dy-BH7Jcbvo.js → TopExDetailPage-4HMIURzm-ulBg6b5V.js} +19 -19
  168. package/dist/assets/{TransactionDetailPage-BSDcUBWF-RsUJuQC6.js → TransactionDetailPage-CIw_7B72-CcQHWkUG.js} +55 -55
  169. package/dist/assets/{TransactionList-CnOj_LA1-DJxHv2ky.js → TransactionList-B9M4ftBY-9Xoftl5l.js} +27 -27
  170. package/dist/assets/{TransactionListBig-vNVdUmc6-C0TF6R2i.js → TransactionListBig-D5SRFdH7-CUrzZcWs.js} +26 -26
  171. package/dist/assets/TransactionListPage-DCiIH4ES-DulMTWBW.js +35 -0
  172. package/dist/assets/TransactionVendorDetailPage-BNY3vBm0-Cw6AkzlK.js +80 -0
  173. package/dist/assets/{TransferDrawerPage-BMfeqbNy-BPjvRE9M.js → TransferDrawerPage-DdgfrrRM-BBEomNnq.js} +36 -36
  174. package/dist/assets/{TreasuryOverviewPage-B0vqbfmt-Cncu2g9Z.js → TreasuryOverviewPage-COFbWN48-DSaB6zFu.js} +48 -48
  175. package/dist/assets/{TreasuryPromoPage-CQDA9os9-W40fA_vr.js → TreasuryPromoPage-EYqV98OG-CvFj_oTJ.js} +22 -22
  176. package/dist/assets/{TreasurySetupPage-ChKM9npc-DNsYbGBz.js → TreasurySetupPage-DEz3fabz-BopnXkx6.js} +9 -9
  177. package/dist/assets/TreasuryStatementsPage-JSf4JXXI-CSff_RYi.js +58 -0
  178. package/dist/assets/TreasuryTaxLetterPage-Id6od0WY-D3YHLWYb.js +58 -0
  179. package/dist/assets/{TreasuryTransferOrReviewPage-wt-8Okdj-CDylzOrV.js → TreasuryTransferOrReviewPage-D25tiep8-CregJCyC.js} +96 -96
  180. package/dist/assets/TrendChart-xBdkrxjQ-BHwV7FvD.js +16 -0
  181. package/dist/assets/{TrendWithTransactions-CaExMJVA-C_0n3oh-.js → TrendWithTransactions-CQdqelNB-BxApJhmm.js} +10 -10
  182. package/dist/assets/{UncategorizedAccountsMappingPage-CEHiflWp-D5pq-zY_.js → UncategorizedAccountsMappingPage-DaSjSoeK-2h_6-Ko4.js} +12 -12
  183. package/dist/assets/{UnitIntegrationPage-CNZbRdtN-B7b4N3wp.js → UnitIntegrationPage-zM4qGyLV-CinH_PeY.js} +4 -4
  184. package/dist/assets/UploadAdditionalDocumentOverlay-Y64l7Rho-BebTHNkT.js +38 -0
  185. package/dist/assets/{Vendor2FAPopup-CqQOI5F6-CXSUTyq5.js → Vendor2FAPopup-DO-eL5Ot-DjhAlKT-.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-BwYEhxJe-BB1a4fFU.js → VendorACHDetailsPage-BDROr_dC-CAZxPDsT.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-C5zTkWhA-Uj3MwLUr.js → VendorDetailPage-B8S-gV53-DaZx1eZP.js} +19 -19
  188. package/dist/assets/{VendorDomesticWireDetailsPage-DrwX_ukC-DBWePN-A.js → VendorDomesticWireDetailsPage-BrxQuXus-DYcgNh9D.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-C3wjgkez-Dr8QyAeR.js → VendorFiling1099EditablePage-BK-XGzxl-CVlxfcrS.js} +16 -16
  190. package/dist/assets/{VendorFirstReviewPage-BmRvA38Y-B_gKBGgZ.js → VendorFirstReviewPage-CrSdEY-q-DsAt-Zva.js} +31 -31
  191. package/dist/assets/{VendorInternationalWireDetailsPage-DtG2HQ0g-WjpK5qgH.js → VendorInternationalWireDetailsPage-DuE2n00d-C0HY8jsi.js} +14 -14
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DLSMDEiO-DSuW-yyD.js → VendorInternationalWireSwiftDetailsPage-_0douojx-uTqjQvZ8.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-5QJEJeCr-ovimcD6K.js → VendorsAccountsSection-C2McA3-C-CAGlOz8b.js} +4 -4
  194. package/dist/assets/VerifyDevice-BOb4uKLq-B9iw9cGN.js +96 -0
  195. package/dist/assets/{WarningsDrawerPage-rcWR2KXe-BgEVT8fd.js → WarningsDrawerPage-f9lS8sCp-Yx0s05ZC.js} +11 -11
  196. package/dist/assets/{ZeniAccountDetailPage-i8C1YB1W-CGdZ9Fyc.js → ZeniAccountDetailPage-BnWDpR9g-BpHh2OhY.js} +27 -27
  197. package/dist/assets/{ZeniAccountListViewPage-DyHxeqvW-CBT4R7Fd.js → ZeniAccountListViewPage-D9ORn0_O-BQPutSAN.js} +26 -26
  198. package/dist/assets/ZeniAccountNavBarPieces-4jG3uNmW-B7nBCOPn.js +14 -0
  199. package/dist/assets/{ZeniAccountPromoPage-C5icpLpX-DtIf5jxs.js → ZeniAccountPromoPage-CswETXvx-DfER_hgz.js} +21 -21
  200. package/dist/assets/ZeniAccountSetupPage-7B6Vgmg6-DsByA6Pf.js +36 -0
  201. package/dist/assets/{ZeniCopyright-BX1-vpnA-B9MOS9At.js → ZeniCopyright-DrkcGEYL-D8qMh6Rn.js} +1 -1
  202. package/dist/assets/ZeniTransferAmountSlider-Bw5S2HTx-CfuKg8UT.js +63 -0
  203. package/dist/assets/{add-to-wallet-DgdBD8_G-XP_wmSR7.js → add-to-wallet-DgdBD8_G-y8nGTHEa.js} +1 -1
  204. package/dist/assets/{analyticsHelper-BFpl-Msc.js → analyticsHelper-B46gu6zH.js} +1 -1
  205. package/dist/assets/{analyticsHelper-B3JHS_Qr-D08xKZsr.js → analyticsHelper-C37dCyKv-Ci3W403B.js} +1 -1
  206. package/dist/assets/{arrow-south-east-round-PEovUgvH-DnzbA_s-.js → arrow-south-east-round-PEovUgvH-D6oVD1ix.js} +1 -1
  207. package/dist/assets/{auto-transfer-rule-mbafm5D3-BA0iOPjL.js → auto-transfer-rule-mbafm5D3-DsDlaCxy.js} +1 -1
  208. package/dist/assets/{chartTypes-CICM6xJ3-DAE7LSQz.js → chartTypes-Cknnnhq_-BKEap-MQ.js} +1 -1
  209. package/dist/assets/{commonDimensions-EDu7gcyc-DiuxcTjp.js → commonDimensions-D0ovCC4N-B0G2UdHm.js} +1 -1
  210. package/dist/assets/{crypto-DPjkCRYF.js → crypto-BDNqpTKX.js} +1 -1
  211. package/dist/assets/{detailCommon-DAG_rX2o-B0QDOSIy.js → detailCommon-CKa5_aP2-CTgqAfFe.js} +9 -9
  212. package/dist/assets/{downloadPdf-DCmFpTS--B48gcxsA.js → downloadPdf-BJozh7zE-M2Rp1JlQ.js} +1 -1
  213. package/dist/assets/{gift-box-Cmt9OgIZ-Bnh-gm_T.js → gift-box-Cmt9OgIZ-BqWjP_Ex.js} +1 -1
  214. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DTLZpyxa.js → graphic-no-data-l-DU4J8fDt-BBc6l6Au.js} +1 -1
  215. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-W-GGrHSF.js → graphic-no-data-net-burn-l-CzmycA0m-DANomItj.js} +1 -1
  216. package/dist/assets/handshake-BPg58FML-CVKh3Eii.js +1 -0
  217. package/dist/assets/index-BAKoUD4u.css +1 -0
  218. package/dist/assets/{index-D9zAXs3-.js → index-Cnh9fv8f.js} +14551 -6041
  219. package/dist/assets/{liveblocks-C2xecagE.js → liveblocks-CP09Cz-7.js} +2 -2
  220. package/dist/assets/{lodash-D52QloPU.js → lodash-BWJmwMit.js} +1 -1
  221. package/dist/assets/{mapLoadingInProgressToTreeNode-CtvSoL64-CS0Ie6NV.js → mapLoadingInProgressToTreeNode-DttwbPj7-BWaq84fe.js} +1 -1
  222. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BujdmE12-MD1XTXUW.js → mapSectionWithAcOnlyToTreeNode-CKUACdvT-96C16ahX.js} +1 -1
  223. package/dist/assets/{mapSpacerToTreeNode-CY5XRFK--DC8NIrxN.js → mapSpacerToTreeNode-CeH4tptC-BD7Zb85P.js} +1 -1
  224. package/dist/assets/{mapTimeframeBalancesToTreeNode-DVzQl7Bb-DDS_OBZQ.js → mapTimeframeBalancesToTreeNode-CElz2Cb0-CuxVDYys.js} +1 -1
  225. package/dist/assets/{mapTimeframeBalancesToTreeNode-DLd8jhti-Bxl7AnhE.js → mapTimeframeBalancesToTreeNode-TLHaVbTv-OZW2z0IX.js} +1 -1
  226. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CnZa-P_--DVtFUdDi.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D96sl236-Da50HxFS.js} +1 -1
  227. package/dist/assets/{mui-Ty75qFQF.js → mui-C42whWwM.js} +1 -1
  228. package/dist/assets/{page-detail-CWX5S47F-lMo0MYzU.js → page-detail-CWX5S47F-BBa5wfAm.js} +1 -1
  229. package/dist/assets/{play-icon-KtJH-UgF-Bm3lFkFZ.js → play-icon-XWt7iQeF-7dWJ4Dkg.js} +3 -3
  230. package/dist/assets/{radio-default-CiSgisfh-Cuu8ymvq.js → radio-default-CiSgisfh-Z5w0WcFM.js} +1 -1
  231. package/dist/assets/{redux-CEhZD0hA.js → redux-2gfZRks6.js} +1 -1
  232. package/dist/assets/{routing-lj7oVq6C.js → routing-VwiwPky5.js} +1 -1
  233. package/dist/assets/{sentry-BE5FTzpq.js → sentry-osuhWjvS.js} +1 -1
  234. package/dist/assets/{shield-DOlUxcFf-CDkNAu2o.js → shield-DOlUxcFf-bFVWRY1X.js} +1 -1
  235. package/dist/assets/{toCOABalancesWithID-B0F8-Lgv-mwB6oBaM.js → toCOABalancesWithID-DACfD5ZE-BgoTIDec.js} +1 -1
  236. package/dist/assets/{toChartData-D_8GUwpP-CFofR1sw.js → toChartData-C6ap15NT-ByCawuJX.js} +1 -1
  237. package/dist/assets/{transaction-placeholder-CpOwZAMG-CGEA36Na.js → transaction-placeholder-CpOwZAMG-DYG2_sCF.js} +1 -1
  238. package/dist/assets/{treasuryColorHelper-C2d7wCjK-BWDQfCvz.js → treasuryColorHelper-DmVCoHv9-Cx3TVoRp.js} +1 -1
  239. package/dist/assets/{uploadAttachment-CxwBrcm3-DDVTRYQ0.js → uploadAttachment-D1XtO8---B9AANbCr.js} +18 -18
  240. package/dist/assets/{uploadReceipts-DIYsXeyf-_3VvjCR-.js → uploadReceipts-Cl7e8jci-C-56lzXC.js} +1 -1
  241. package/dist/assets/{useLongPress-GCK2COYQ-B0RUPzZV.js → useLongPress-GCK2COYQ-BoJXFS3o.js} +1 -1
  242. package/dist/assets/{usp-line-BBd1wKwW-ZlUrfnG1.js → usp-line-BBd1wKwW-u-VMxix8.js} +1 -1
  243. package/dist/assets/{vendor-Bs1fkIUX.js → vendor-rkTZJa59.js} +1 -1
  244. package/dist/assets/{verification-CW6uEyev-CQXAdM_w.js → verification-CW6uEyev-BVrJsi0i.js} +1 -1
  245. package/dist/index.html +1 -1
  246. package/package.json +3 -3
  247. package/dist/assets/ACHDetailsPage-TewccRkX-DetITKOl.js +0 -21
  248. package/dist/assets/AccountInfoPage-CuytgM09-DMWlq-IF.js +0 -18
  249. package/dist/assets/ApAgingDetailPage-CtXSUVGC-DdWwytoq.js +0 -46
  250. package/dist/assets/AppBasePage-D6MgS-da-2jH4Fzgr.js +0 -70
  251. package/dist/assets/ApprovalRulesSettingsPage-BwnaDPqA-BMHJ2n3v.js +0 -47
  252. package/dist/assets/ArAgingChart-BvG_iPlt-BYubF9ZD.js +0 -24
  253. package/dist/assets/ArAgingDetailPage-Sm4672LS-o1itnQt5.js +0 -46
  254. package/dist/assets/AuditReportDrawerPage-CaFo0k9s-NaTvWx96.js +0 -369
  255. package/dist/assets/BillPaySetUpPage-CTNtHQBM-CpoUfnMM.js +0 -42
  256. package/dist/assets/BillingSettingsPage-CR0doM6R-DRs8JS8S.js +0 -44
  257. package/dist/assets/BillsBulkReviewDrawerPage-B0ebreRX-D7v6qOnU.js +0 -1
  258. package/dist/assets/BusinessVerificationPage-B6lyqGIK-BfLlNZ0a.js +0 -140
  259. package/dist/assets/BusyIndication-_H8LL7GJ-BjR55KdD.js +0 -9
  260. package/dist/assets/ChargeCardListPage-_YORyJOy-uqdfjUZk.js +0 -355
  261. package/dist/assets/ChargeCardPromoPage-DO2UJyXm-Dwx7STGG.js +0 -222
  262. package/dist/assets/ChargeCardSetupPage-De5jDB3D-CMdmpmLu.js +0 -36
  263. package/dist/assets/ChargeCardUtils-DYpmF85C-qBaPG14m.js +0 -1
  264. package/dist/assets/CheckDepositDrawerPage-Dj2do0Un-DCNBKUNr.js +0 -206
  265. package/dist/assets/CompleteProfile-B_dl9xEx-DFZ3KU15.js +0 -52
  266. package/dist/assets/ConfettiBurst-ChCmpiHq-BBDSx_jo.js +0 -1
  267. package/dist/assets/ControlledCheckBoxField-BIqM2o6X-Ml88Uf7U.js +0 -74
  268. package/dist/assets/CustomerOnboardingContainerPage-Ciaw11Nw-O_DtjvXM.js +0 -1
  269. package/dist/assets/CustomerOnboardingNoStepsPage-CdOEZjmC-HqvGWI7K.js +0 -66
  270. package/dist/assets/DashboardSidebarBackgroundAnimation-CblfOXOJ-B4cbMZpc.js +0 -12
  271. package/dist/assets/DepositAccTransactionListPage-2kpIHXLb-j8eQ9Syw.js +0 -66
  272. package/dist/assets/EditPeoplePage-CwhUp4W2-CnFSjC3L.js +0 -55
  273. package/dist/assets/EmptySearchResults-CB9-FwYT-DCczU5qh.js +0 -46
  274. package/dist/assets/ExpenseAutomationOverviewPage-CKokJTC4-C9VvWXen.js +0 -222
  275. package/dist/assets/FeaturePreviewPage-D90G_5Q8-CnQvTfz2.js +0 -11
  276. package/dist/assets/Header-DLZFUQF8-BI2bQ6MH.js +0 -226
  277. package/dist/assets/HealthListRow-iF093_lw-DegqmjBi.js +0 -210
  278. package/dist/assets/HealthMonitorDetailDrawer-BJRgJJOH-BzVkHFE6.js +0 -401
  279. package/dist/assets/HealthMonitorPage-BT0gIPV6-BAgQvawR.js +0 -108
  280. package/dist/assets/InsightsSection-DxpsNIIy-D73VhmA2.js +0 -27
  281. package/dist/assets/IntegrationsSettingsPage-DEOHHrS4-xD8BgFGo.js +0 -57
  282. package/dist/assets/InviteFormPage-CU5_JoYd-DtlUlrhp.js +0 -312
  283. package/dist/assets/InvitePeoplePage-Btu9ayOz-bG-WZTzF.js +0 -12
  284. package/dist/assets/LabeledAddressValue-tO6Kg-ki-DIZXgDEF.js +0 -49
  285. package/dist/assets/LabeledAddressValueField-CkveEJJG-BEvwzrCB.js +0 -45
  286. package/dist/assets/LabeledControlledCheckBoxField-B50HdRDc-BPCXXpG-.js +0 -16
  287. package/dist/assets/LabeledDocumentField-B8uyJA2N-B3iZ1bpr.js +0 -41
  288. package/dist/assets/LabeledEmailInputField-D5OBo0RU-Cn7DEiyr.js +0 -182
  289. package/dist/assets/LabeledGroupedCheckBoxField-DLSgfRui-CIvqEp4U.js +0 -82
  290. package/dist/assets/LabeledItemWithButton-CNlRAl-1-D8RdmCNz.js +0 -21
  291. package/dist/assets/LabeledNameField-B73hOD1K-DrzOl55q.js +0 -141
  292. package/dist/assets/LabeledSingleSelectField-nPVDbcr0-DXhzL0iF.js +0 -136
  293. package/dist/assets/LabeledSingleSelectWithoutClearableField-DgT7faZC-Or3zfyeO.js +0 -38
  294. package/dist/assets/LinkJETransactionPage-ChyKb7xl-LR_CFAXE.js +0 -98
  295. package/dist/assets/Loader-Cqmoylhp-CKPikayq.js +0 -32
  296. package/dist/assets/MagicLinkSuccessPage-7bTkYgEa-CPPkAGGs.js +0 -31
  297. package/dist/assets/MagicLinkTitleSection-BlxCsth7-BHITpmKu.js +0 -17
  298. package/dist/assets/ManagementPage-D5egEDwP-uTkBBFJq.js +0 -556
  299. package/dist/assets/MatchingOperatorDropdown-C5zSNKmV-DBpzsPUC.js +0 -130
  300. package/dist/assets/MonthEndEmailDrawerCustomerRequestPage-CK7yjkYx-Dj2GK4HO.js +0 -39
  301. package/dist/assets/MonthEndReportHistoricDataPage-BuRBd_9k-DDKlEI2q.js +0 -124
  302. package/dist/assets/MonthEndReportPage-DOTCU96W-VybM2w9h.js +0 -28
  303. package/dist/assets/MoreMenuButton-Cj6SIPVt-CYCCFBqM.js +0 -134
  304. package/dist/assets/MyPendingActivationChargeCardListPage-BFe1hoDt-CfBCldAO.js +0 -6
  305. package/dist/assets/MyProfileSettingsPage-B7zND-Ux-BN19QlhA.js +0 -85
  306. package/dist/assets/NavBar-BjyxKUvF-gwYjTp7H.js +0 -189
  307. package/dist/assets/NavHeader-9VET6uub-DBlTa1KF.js +0 -236
  308. package/dist/assets/NotificationsListConfig-CyQxEQ13-D7e4Z7fR.js +0 -1
  309. package/dist/assets/OnboardingCustomerPage-jmb-3M9K-C-4WzmwX.js +0 -476
  310. package/dist/assets/OnboardingPage-LCaIErMj-Bhag4ahh.js +0 -408
  311. package/dist/assets/PandLWithForecastPage-3h8Q4kZg-CZgSqzQW.js +0 -107
  312. package/dist/assets/PortfolioPage-BfNGByGB-ea6OEgaP.js +0 -237
  313. package/dist/assets/QBOSetupSection-D-Q_DVva-q5JlqA-2.js +0 -79
  314. package/dist/assets/ReimbursementSetUpPage-5OtsfDPV-DQz8dNtG.js +0 -140
  315. package/dist/assets/ReimbursementsBulkReviewDrawerPage-BX722SXa-YTQZVgWe.js +0 -1
  316. package/dist/assets/ReloadContainer-BRXUxBxu-BAp5l7-f.js +0 -13
  317. package/dist/assets/ReloadContainer-fx3kImdJ-D2lKf-Yd.js +0 -17
  318. package/dist/assets/ReportTableViewSelector-W7zYmKIW-BpJdvlc6.js +0 -150
  319. package/dist/assets/ReviewOverlay-Bz1kr6zu-Dw4JE5ud.js +0 -152
  320. package/dist/assets/ReviewPage-Cel3qzEQ-DiaZxW5f.js +0 -306
  321. package/dist/assets/RoleWithToolTip-CUogd8qi-BfjjZiS9.js +0 -22
  322. package/dist/assets/SetUpAccountSection-2UGQI7fx-D_tNKXyG.js +0 -378
  323. package/dist/assets/SignIn-BF4ojxcy-ignSyaGW.js +0 -408
  324. package/dist/assets/SignInScreen-DjQXT0cG.js +0 -1
  325. package/dist/assets/SpendManagementListViewPage-DbfQ_jzA-sW1BTRjR.js +0 -123
  326. package/dist/assets/StatementItem-DgZtQdC5-CijP321B.js +0 -31
  327. package/dist/assets/StatementsPage-Az4ZzxA6-CY7Q-Hv-.js +0 -58
  328. package/dist/assets/StatusTag-MQXQGj2--SPp-Hljk.js +0 -38
  329. package/dist/assets/SubscriptionAddPlanPage-Bn4CUx_v-BcoEoxy8.js +0 -59
  330. package/dist/assets/SubscriptionDetailPage-BZDJEjR1-DavSO9K8.js +0 -216
  331. package/dist/assets/SubscriptionPage-Tpj1RZco-CfI0x1AO.js +0 -282
  332. package/dist/assets/SubscriptionSnackBar-CwdSE1Xz-BYx3vQ0D.js +0 -57
  333. package/dist/assets/SubscriptionSummaryPage-Dep_cm58-D3JscAEe.js +0 -176
  334. package/dist/assets/SubscriptionUpdatePlanPage-5_wWKxme-CSTH4683.js +0 -408
  335. package/dist/assets/SuccessAnimation-BtFsm6Oj-BU_bae75.js +0 -13
  336. package/dist/assets/TaskDetailPage-aleDjLBo-DJGRUSEM.js +0 -775
  337. package/dist/assets/TaskListRow-xLyzXOYn-CLZGelcY.js +0 -403
  338. package/dist/assets/TaskManagerPage-Dye8P0ua-jLCJwLcT.js +0 -176
  339. package/dist/assets/TextHighlightSection-Y0L_w9RR-D8_NKTqM.js +0 -584
  340. package/dist/assets/TransactionListPage-CrUtG598-DR2tdFwA.js +0 -35
  341. package/dist/assets/TransactionVendorDetailPage-DjuFdK9S-Bn1DMv6P.js +0 -80
  342. package/dist/assets/TreasuryStatementsPage-C0oRa1nh-BiT4V4PF.js +0 -58
  343. package/dist/assets/TreasuryTaxLetterPage-BuGFH3YF-BkeOYDmd.js +0 -58
  344. package/dist/assets/TrendChart-a95Aii8O-Crc1NrOm.js +0 -16
  345. package/dist/assets/UploadAdditionalDocumentOverlay-Bxc2MMx0-Cpl1vzGP.js +0 -38
  346. package/dist/assets/UserMultiSelectField-UsIy6n-8-DdaF7B7O.js +0 -154
  347. package/dist/assets/UserWithTimestamp-i09mOCAu-Cw5lsbIN.js +0 -38
  348. package/dist/assets/VerifyDevice-DBnFzHim-C-LQbPfS.js +0 -67
  349. package/dist/assets/ZeniAccountNavBarPieces-CsSdfTKg-5k_P9-6W.js +0 -14
  350. package/dist/assets/ZeniAccountSetupPage-BXHIQxgf-DcysatW3.js +0 -36
  351. package/dist/assets/ZeniAvatar-Cendj_Bv-Dp3oXY0H.js +0 -13
  352. package/dist/assets/ZeniDatePicker-El_phkQ0-z80YcUbm.js +0 -187
  353. package/dist/assets/ZeniDatePickerField-3DaqcxMB-QK1YG1pI.js +0 -1
  354. package/dist/assets/ZeniTransferAmountSlider-CxxqQPB_-BqeHyBds.js +0 -63
  355. package/dist/assets/add-C0nqJFLa-C2eApjPK.js +0 -1
  356. package/dist/assets/avatar-Dz7aEm3d-D64JGSQG.js +0 -1
  357. package/dist/assets/calculateSize-BUfcd-gF-DqmEdKsX.js +0 -1
  358. package/dist/assets/clock-CJkylEKt-CJ3FIZ_o.js +0 -1
  359. package/dist/assets/cockpitConstants-CT7OARAT-C430UcjZ.js +0 -1
  360. package/dist/assets/cockpitHelpers-CSVzBgeI-BARdDEyf.js +0 -1
  361. package/dist/assets/cockpitHelpers-Y5_CbmvR-BhJ5C_6h.js +0 -1
  362. package/dist/assets/common-CU4uS1La-DdHnWUCD.js +0 -1
  363. package/dist/assets/dollar-round-D18u7nlm-CXc5TAek.js +0 -1
  364. package/dist/assets/double-tick-D6s_OvsM-DFvZDijg.js +0 -1
  365. package/dist/assets/filter-cZIFUNvj-B9dfJXS9.js +0 -1
  366. package/dist/assets/getCockpitColor-YYDF6h1T-D0_aeMEA.js +0 -1
  367. package/dist/assets/groupHelper-CTA_J_U7-CPJTcSSg.js +0 -1
  368. package/dist/assets/hyperlink-DQyCeXx2-ChMvASRu.js +0 -1
  369. package/dist/assets/index-DVThwdcI.css +0 -1
  370. package/dist/assets/intuit-quick-books-logo-qyL3_3cm-Cj0LgD2I.js +0 -1
  371. package/dist/assets/loader-BwDk7JSW-DoE-nOgh.js +0 -1
  372. package/dist/assets/money-2cg1MuG4-BaDu1jFd.js +0 -1
  373. package/dist/assets/note-DCtChU1T-DArfpxk4.js +0 -1
  374. package/dist/assets/page-summary-D7_VQHwN-DEY33DNc.js +0 -1
  375. package/dist/assets/sectionColor-euXcOIkp-Cmmp8esL.js +0 -1
  376. package/dist/assets/tick-round-CPC394H5-C8roQJBa.js +0 -1
  377. package/dist/assets/undo-b_3XZ5CX-Xpx_MAU7.js +0 -1
  378. package/dist/assets/zeniDatePicker.helpers-Bv0wGqkO-0jS7nOtw.js +0 -1
@@ -1,4 +1,4 @@
1
- import{u as ve,K as je,a as Xe,c2 as Ye,j as t,aW as Ze,F as re,o as i,i as se,bM as Qe,c as et,bw as tt,x as I,O as nt,k as D,ao as it,y as De,V as ot,cT as ze,cd as at,a2 as J,a8 as fe,fF as Te,l as G,cj as ct,aS as Ne,eT as qe,fM as lt,fN as st,bE as Oe,n as k,f4 as ge,fG as we,a0 as Se,bG as xe,Z as rt,b5 as dt,ds as He,h as ie,$ as B,fL as ut,fW as pt,fX as ht,aC as mt,fY as ft}from"./index-D9zAXs3-.js";import{b as r,n}from"./vendor-Bs1fkIUX.js";import{r as _e}from"./mui-Ty75qFQF.js";import{M as Pe}from"./ChaseOverlay-YVpKSII6-BIyjTgCz.js";import{a as gt}from"./SetUpAccountSection-2UGQI7fx-D_tNKXyG.js";import{z as wt,B as Ie}from"./SpendMgmtSetupAccountSection-h6duObCp-PJLwXWd-.js";import"./analytics-CBL_L82S.js";import"./routing-lj7oVq6C.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-C2xecagE.js";import"./crypto-DPjkCRYF.js";import"./Loader-Cqmoylhp-CKPikayq.js";import"./SetUpDefaultSection-BWt_kYKx-Dc8telSj.js";import"./ChargeCardUtils-DYpmF85C-qBaPG14m.js";import"./CreditCardPaymentPlgSection-BgJ074tY-CfzZdzTd.js";const{settings:{bankConnectionHeader:de}}=re.getLocalizedStrings().common,St={value:de.productType,width:new I(100,19)},xt={value:de.primaryAccount,width:new I(100,36)},yt={value:de.linkAccount,width:new I(100,22)},vt={value:de.status,width:new I(12,12)},kt={value:de.balance,width:new I(12,13)},N=[St,xt,yt,vt,kt],{common:{settings:Ee,strings:{hyphen:ke}},commonSetUp:{setUp:Fe}}=re.getLocalizedStrings(),T={containerPadding:new I(k[3],k[4]),containerRightPadding:new I(k[3],k[8]),iconContainerMaxWidthHeight:new I(k[6],k[7]),iconWidthHeight:new I(20,k[4]),iconPadding:new I(k[1],12),productTypeContainerMarginBottom:new I(k[3],k[0]),linkAccountContainerMarginTop:new I(k[3],k[0]),productTypeIconSize:new I(k[3],k[4])},bt="bankConnectionsSettingsPage",$t=({productType:e,windowSize:h})=>{switch(e){case"bill_pay":return t.jsx(Dt,{windowSize:h,children:t.jsx(mt,{})});case"reimbursement":return t.jsx(Nt,{windowSize:h,children:t.jsx(ht,{})});case"zeni_accounts":return t.jsx(qt,{windowSize:h,children:t.jsx(Ne,{})});case"zeni_treasury":return t.jsx(Gt,{windowSize:h,children:t.jsx(pt,{})});case"charge_cards":default:return t.jsx(Ht,{windowSize:h,children:t.jsx(ut,{})})}},Ct=({allBankAccounts:e,setupView:h,connectedAccountProvider:q,onFetchLinkTokenClick:R,onUpdatePaymentAccountStatus:_,onEstablishConnectionClick:P,onEstablishConnectionSuccess:V})=>{const C=ve(),c=je(),f=ze().analytics,{trigger:w,formState:{errors:M}}=at(),{plaidConnectionDetails:W,allFundingAccounts:a,primaryFundingAccount:o,productType:l}=h,m=W.link_account,b=W.update_account,[u,A]=r.useState(void 0),[H,v]=r.useState(!1),U=()=>{v(!0)},d=u==="update_account"?b:m,[S,L]=r.useState(d.linkToken??null),[$,z]=r.useState(!1),g=m.fetchStatus.fetchState==="In-Progress"||m.updateStatus.fetchState==="In-Progress";let p,O,s,j=!1;o!=null&&(o.accType==="depositAccount"?p={code:"verified",name:"Verified"}:(p=o.providerVerificationStatus,O=o?.institutionDetails,s=p?.code,j=o?.isLoginRequired??!1));const Y=J(m.updateStatus.fetchState),Z=J(b.updateStatus.fetchState),ee=J(b.fetchStatus.fetchState),E=C.mode==="light"?new fe(C.colors.brandColorJadeLight):new fe(C.colors.brandColorJadeDark),K=r.useCallback((x,X)=>{f.trackConnectBankSuccess(l,"Settings");const Le=X.accounts.find(Ke=>Ke.id===o?.providerAccountId)??X.accounts[0];o?.id!=null&&u==="update_account"&&Le?.verification_status!=null&&!j?_(Le?.verification_status,o.id,"update_account",y(l),l):P(x,y(l),l),A(void 0),z(!1)},[f,l,o?.id,o?.providerAccountId,u,j,_,P]),te=r.useCallback((x,X)=>{x!=null&&(f.trackConnectBankFailure(l,x.error_code+" "+x.error_message,"Settings"),x.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&o?.id!=null&&_("verification_failed",o.id,"update_account",y(l),l),console.log("Plaid Connection Error",x,X)),A(void 0),z(!1)},[f,l,o?.id,_]),{open:Q,ready:ue}=Te({token:S,onSuccess:K,onExit:te});r.useEffect(()=>{(Y==="In-Progress"&&m.updateStatus.fetchState==="Completed"||Z==="In-Progress"&&b.updateStatus.fetchState==="Completed")&&(G.isVerifiedPaymentAccountProviderStatusCode(s??"")||(R("link_account",y(l)),V(y(l),l)))},[m.updateStatus.fetchState,V,R,o?.providerVerificationStatus?.code,o?.id,Y,Z,b.updateStatus.fetchState,s,l]),r.useEffect(()=>{(G.isVerifiedStatusCode(s??"")||s==="verification_failed")&&!$&&u!=null&&d.linkToken===S&&d.fetchStatus.fetchState==="Completed"&&ue&&z(!0)},[ue,S,d.fetchStatus.fetchState,d.linkToken,s,u,$]);const oe=$e(bt,"primaryAccountSection"),F=ct(M,oe);r.useEffect(()=>{d.fetchStatus.fetchState==="Completed"&&d.linkToken!=null&&d.linkToken!==S&&L(d.linkToken)},[d.fetchStatus.fetchState,d.linkToken,S]),r.useEffect(()=>{$&&Q()},[$,Q]),r.useEffect(()=>{!o?.zeniAccountId&&!F&&w(oe)},[o?.id]),r.useEffect(()=>{(s==null||s==="verification_failed"||s==="verification_expired"||G.isVerifiedStatusCode(s))&&(G.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&R("link_account",y(l))},[]);const ne=()=>{f.trackConnectBankGetBalance(l,"Settings"),A("update_account"),R("update_account",y(l),o?.id)},ae=`${o?.accountSubType?.name!=null?o?.accountSubType?.name.substring(0,1).toUpperCase().concat(o?.accountSubType?.name.substring(1)):""} ${o?.maskedAccountNumber??""}`.trim(),pe=O?.zeniInstitutionId.toLowerCase()==="chase",Ge=a.findIndex(x=>x.id===o?.id),Je={element:t.jsx(Ne,{width:T.iconWidthHeight.valuePx(c)}),color:E};return t.jsxs(At,{windowSize:c,children:[H===!0?_e.createPortal(t.jsx(Pe,{connectedAccountProvider:q,action:{onBackClick:()=>v(!1)}}),document.body):null,t.jsxs(jt,{windowSize:c,wrapperWidth:N[0].width,children:[t.jsx(Tt,{windowSize:c,isDarkMode:C.mode==="dark",children:t.jsx($t,{productType:l,windowSize:c})}),t.jsx(zt,{children:Ee.productNameByType[l]})]}),t.jsx(_t,{windowSize:c,wrapperWidth:N[1].width,children:t.jsxs(Ft,{windowSize:c,children:[o!=null&&c!=="small"?t.jsx(Et,{isDisabled:j,children:wt(Je,c,C.mode==="dark",o,Ge,!1)}):null,t.jsxs(Bt,{windowSize:c,className:"fundingAccount",children:[t.jsx(qe,{style:{display:c==="small"?"block":"inherit",width:"-webkit-fill-available",color:C.colors.hero},customStyleConfig:{menu:()=>({width:c==="small"?"auto":510})},controlProperty:{controlHeight:k[4],fontWeight:Oe.medium,highlightOnHover:!1,leftRightMargin:!1,fieldWidth:c==="small"?240:300},customPlaceholder:{color:C.colors.hero,weight:Oe.medium},name:$e(l,"primaryAccountSection"),placeholder:Fe.selectAccountPlaceholder,capitalizeOptions:!0,appendSublabel:!1,showLogoInSingleValue:!1,isClearable:!1,maxMenuHeight:220,valueToLogo:(x,X)=>st(a,x,X),valueToSubLabels:(x,X)=>lt(a,x,X,!1),defaultValue:{selectedOption:o?.id,allOptions:a.map(x=>({label:x.label,value:x.id,isRecommended:x.accType==="depositAccount"}))},textAlignment:"left",showDownChevronIcon:!0,showTickIcon:!1,isOptionRemovable:!1,registerOptions:{required:!1},showCreateOption:!0,showEmptyState:!1,isDisabled:g?"disabled":void 0,showLoadingIcon:g,onClickCreateOption:()=>{f.trackConnectBank(l,"Settings"),A("link_account"),m.linkToken==null||G.zeniDate(new Date().toISOString()).isAfter(m.expiration)?R("link_account",y(l)):S!==m.linkToken?L(m.linkToken):$?Q():z(!0)}}),t.jsxs(Pt,{isDisabled:j,children:[ae?t.jsxs(t.Fragment,{children:[t.jsx(It,{children:ae}),c!=="small"&&(s!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification"||j||pe)?t.jsx(Ot,{}):null]}):null,c==="small"&&p!=null?t.jsx(ge,{style:{width:"max-content",padding:i.sp0,marginLeft:i.sp2},tagTitle:p.name,textColor:we(p.code)}):null,s!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification"||j||pe?t.jsx(Ie,{productType:l,isUpdateLinkClicked:u==="update_account",isLoginRequired:j,isPendingVerification:s!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification",fetchAndUpdateStatues:{fetchStatus:b.fetchStatus,updateStatus:b.updateStatus,linkFetchStatus:m.fetchStatus,linkUpdateStatus:m.updateStatus,prevFetchState:ee,prevUpdateState:Z},onUpdateLinkTokenClick:ne,onChaseInfoClick:U}):null]})]}),c==="small"?t.jsxs(Vt,{children:[o?.accountBalance?.available?t.jsx(Be,{className:"balanceLabel",children:Se("0,0[.]00",o?.accountBalance?.available)}):t.jsx(be,{children:ke}),o?.accountBalance?.lastRefreshTime?t.jsx(Re,{className:"balanceLabel",children:xe(o?.accountBalance?.lastRefreshTime)}):o?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})}),t.jsxs(Wt,{windowSize:c,isDisabled:j,wrapperWidth:N[2].width,onClick:x=>x.stopPropagation(),"data-testid":rt("bank-account-section",l),className:"qboLinkAcc",children:[c==="small"?t.jsx(Lt,{children:Ee.bankConnectionHeader.linkAccount}):null,t.jsx(Ut,{isDisabled:j?"disabled":void 0,name:$e(l,"bankAccountSection"),placeholder:Fe.zeniCashAccountPlaceholder,defaultValue:{selectedOption:o?.zeniAccountId??"",allOptions:e.map(x=>({label:x.accountName,value:x.accountId}))},controlProperty:{highlightOnHover:!0},isOptionRemovable:!1,textAlignment:"left",registerOptions:{required:!1},style:{width:c==="small"?"calc(100% - 135px)":"100%",marginLeft:c==="small"?i.sp0:`-${i.sp3}`}})]}),c!=="small"?t.jsx(Mt,{windowSize:c,wrapperWidth:N[3].width,children:p!=null?t.jsx(ge,{style:{width:"max-content",padding:0},tagTitle:p.name,textColor:we(p.code)}):t.jsx(be,{children:ke})}):null,c!=="small"?t.jsxs(Rt,{windowSize:c,wrapperWidth:N[4].width,children:[o?.accountBalance?.available?t.jsx(Be,{className:"balanceLabel",children:Se("0,0[.]00",o?.accountBalance?.available)}):t.jsx(be,{children:ke}),o?.accountBalance?.lastRefreshTime?t.jsx(Re,{className:"balanceLabel",children:xe(o?.accountBalance?.lastRefreshTime)}):o?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})},At=n.div`
1
+ import{u as ve,e as je,a as Ke,c9 as Ye,j as t,aW as Qe,M as re,o as i,m as se,bR as Xe,F as et,bA as tt,C as I,B as nt,n as D,ao as it,v as De,b as ot,d5 as ze,cm as at,a2 as G,a8 as fe,f0 as Te,l as J,cu as ct,aS as Ne,f8 as qe,f9 as lt,fa as st,bt as Ee,q as k,f1 as ge,f2 as we,a0 as Se,bJ as xe,_ as rt,b5 as dt,dL as He,c as ie,d as F,f7 as ut,fl as pt,fm as ht,aC as mt,fn as ft}from"./index-Cnh9fv8f.js";import{b as r,n}from"./vendor-rkTZJa59.js";import{r as _e}from"./mui-C42whWwM.js";import{M as Pe}from"./ChaseOverlay-ClcKUdpT-Buerorcp.js";import{a as gt}from"./SetUpAccountSection-C1_QjMwF-C_2yznzy.js";import{z as wt,B as Ie}from"./SpendMgmtSetupAccountSection-DFyUBsg3-DRIU7IWr.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./SetUpDefaultSection-B-ZEHQUb-iLzGQnWH.js";import"./ChargeCardUtils-BcwLwgz7-DrE0N0EF.js";import"./CreditCardPaymentPlgSection-8NQI5gcx-CtF_TfUM.js";const{settings:{bankConnectionHeader:de}}=re.getLocalizedStrings().common,St={value:de.productType,width:new I(100,19)},xt={value:de.primaryAccount,width:new I(100,36)},yt={value:de.linkAccount,width:new I(100,22)},vt={value:de.status,width:new I(12,12)},kt={value:de.balance,width:new I(12,13)},N=[St,xt,yt,vt,kt],{common:{settings:Oe,strings:{hyphen:ke}},commonSetUp:{setUp:Be}}=re.getLocalizedStrings(),T={containerPadding:new I(k[3],k[4]),containerRightPadding:new I(k[3],k[8]),iconContainerMaxWidthHeight:new I(k[6],k[7]),iconWidthHeight:new I(20,k[4]),iconPadding:new I(k[1],12),productTypeContainerMarginBottom:new I(k[3],k[0]),linkAccountContainerMarginTop:new I(k[3],k[0]),productTypeIconSize:new I(k[3],k[4])},bt="bankConnectionsSettingsPage",$t=({productType:e,windowSize:h})=>{switch(e){case"bill_pay":return t.jsx(Dt,{windowSize:h,children:t.jsx(mt,{})});case"reimbursement":return t.jsx(Nt,{windowSize:h,children:t.jsx(ht,{})});case"zeni_accounts":return t.jsx(qt,{windowSize:h,children:t.jsx(Ne,{})});case"zeni_treasury":return t.jsx(Jt,{windowSize:h,children:t.jsx(pt,{})});case"charge_cards":default:return t.jsx(Ht,{windowSize:h,children:t.jsx(ut,{})})}},Ct=({allBankAccounts:e,setupView:h,connectedAccountProvider:q,onFetchLinkTokenClick:R,onUpdatePaymentAccountStatus:_,onEstablishConnectionClick:P,onEstablishConnectionSuccess:M})=>{const C=ve(),c=je(),f=ze().analytics,{trigger:w,formState:{errors:V}}=at(),{plaidConnectionDetails:W,allFundingAccounts:a,primaryFundingAccount:o,productType:l}=h,m=W.link_account,b=W.update_account,[u,A]=r.useState(void 0),[H,v]=r.useState(!1),U=()=>{v(!0)},d=u==="update_account"?b:m,[S,L]=r.useState(d.linkToken??null),[$,z]=r.useState(!1),g=m.fetchStatus.fetchState==="In-Progress"||m.updateStatus.fetchState==="In-Progress";let p,E,s,j=!1;o!=null&&(o.accType==="depositAccount"?p={code:"verified",name:"Verified"}:(p=o.providerVerificationStatus,E=o?.institutionDetails,s=p?.code,j=o?.isLoginRequired??!1));const Y=G(m.updateStatus.fetchState),Q=G(b.updateStatus.fetchState),ee=G(b.fetchStatus.fetchState),O=C.mode==="light"?new fe(C.colors.brandColorJadeLight):new fe(C.colors.brandColorJadeDark),Z=r.useCallback((x,K)=>{f.trackConnectBankSuccess(l,"Settings");const Le=K.accounts.find(Ze=>Ze.id===o?.providerAccountId)??K.accounts[0];o?.id!=null&&u==="update_account"&&Le?.verification_status!=null&&!j?_(Le?.verification_status,o.id,"update_account",y(l),l):P(x,y(l),l),A(void 0),z(!1)},[f,l,o?.id,o?.providerAccountId,u,j,_,P]),te=r.useCallback((x,K)=>{x!=null&&(f.trackConnectBankFailure(l,x.error_code+" "+x.error_message,"Settings"),x.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&o?.id!=null&&_("verification_failed",o.id,"update_account",y(l),l),console.log("Plaid Connection Error",x,K)),A(void 0),z(!1)},[f,l,o?.id,_]),{open:X,ready:ue}=Te({token:S,onSuccess:Z,onExit:te});r.useEffect(()=>{(Y==="In-Progress"&&m.updateStatus.fetchState==="Completed"||Q==="In-Progress"&&b.updateStatus.fetchState==="Completed")&&(J.isVerifiedPaymentAccountProviderStatusCode(s??"")||(R("link_account",y(l)),M(y(l),l)))},[m.updateStatus.fetchState,M,R,o?.providerVerificationStatus?.code,o?.id,Y,Q,b.updateStatus.fetchState,s,l]),r.useEffect(()=>{(J.isVerifiedStatusCode(s??"")||s==="verification_failed")&&!$&&u!=null&&d.linkToken===S&&d.fetchStatus.fetchState==="Completed"&&ue&&z(!0)},[ue,S,d.fetchStatus.fetchState,d.linkToken,s,u,$]);const oe=$e(bt,"primaryAccountSection"),B=ct(V,oe);r.useEffect(()=>{d.fetchStatus.fetchState==="Completed"&&d.linkToken!=null&&d.linkToken!==S&&L(d.linkToken)},[d.fetchStatus.fetchState,d.linkToken,S]),r.useEffect(()=>{$&&X()},[$,X]),r.useEffect(()=>{!o?.zeniAccountId&&!B&&w(oe)},[o?.id]),r.useEffect(()=>{(s==null||s==="verification_failed"||s==="verification_expired"||J.isVerifiedStatusCode(s))&&(J.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&R("link_account",y(l))},[]);const ne=()=>{f.trackConnectBankGetBalance(l,"Settings"),A("update_account"),R("update_account",y(l),o?.id)},ae=`${o?.accountSubType?.name!=null?o?.accountSubType?.name.substring(0,1).toUpperCase().concat(o?.accountSubType?.name.substring(1)):""} ${o?.maskedAccountNumber??""}`.trim(),pe=E?.zeniInstitutionId.toLowerCase()==="chase",Je=a.findIndex(x=>x.id===o?.id),Ge={element:t.jsx(Ne,{width:T.iconWidthHeight.valuePx(c)}),color:O};return t.jsxs(At,{windowSize:c,children:[H===!0?_e.createPortal(t.jsx(Pe,{connectedAccountProvider:q,action:{onBackClick:()=>v(!1)}}),document.body):null,t.jsxs(jt,{windowSize:c,wrapperWidth:N[0].width,children:[t.jsx(Tt,{windowSize:c,isDarkMode:C.mode==="dark",children:t.jsx($t,{productType:l,windowSize:c})}),t.jsx(zt,{children:Oe.productNameByType[l]})]}),t.jsx(_t,{windowSize:c,wrapperWidth:N[1].width,children:t.jsxs(Bt,{windowSize:c,children:[o!=null&&c!=="small"?t.jsx(Ot,{isDisabled:j,children:wt(Ge,c,C.mode==="dark",o,Je,!1)}):null,t.jsxs(Ft,{windowSize:c,className:"fundingAccount",children:[t.jsx(qe,{style:{display:c==="small"?"block":"inherit",width:"-webkit-fill-available",color:C.colors.hero},customStyleConfig:{menu:()=>({width:c==="small"?"auto":510})},controlProperty:{controlHeight:k[4],fontWeight:Ee.medium,highlightOnHover:!1,leftRightMargin:!1,fieldWidth:c==="small"?240:300},customPlaceholder:{color:C.colors.hero,weight:Ee.medium},name:$e(l,"primaryAccountSection"),placeholder:Be.selectAccountPlaceholder,capitalizeOptions:!0,appendSublabel:!1,showLogoInSingleValue:!1,isClearable:!1,maxMenuHeight:220,valueToLogo:(x,K)=>st(a,x,K),valueToSubLabels:(x,K)=>lt(a,x,K,!1),defaultValue:{selectedOption:o?.id,allOptions:a.map(x=>({label:x.label,value:x.id,isRecommended:x.accType==="depositAccount"}))},textAlignment:"left",showDownChevronIcon:!0,showTickIcon:!1,isOptionRemovable:!1,registerOptions:{required:!1},showCreateOption:!0,showEmptyState:!1,isDisabled:g?"disabled":void 0,showLoadingIcon:g,onClickCreateOption:()=>{f.trackConnectBank(l,"Settings"),A("link_account"),m.linkToken==null||J.zeniDate(new Date().toISOString()).isAfter(m.expiration)?R("link_account",y(l)):S!==m.linkToken?L(m.linkToken):$?X():z(!0)}}),t.jsxs(Pt,{isDisabled:j,children:[ae?t.jsxs(t.Fragment,{children:[t.jsx(It,{children:ae}),c!=="small"&&(s!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification"||j||pe)?t.jsx(Et,{}):null]}):null,c==="small"&&p!=null?t.jsx(ge,{style:{width:"max-content",padding:i.sp0,marginLeft:i.sp2},tagTitle:p.name,textColor:we(p.code)}):null,s!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification"||j||pe?t.jsx(Ie,{productType:l,isUpdateLinkClicked:u==="update_account",isLoginRequired:j,isPendingVerification:s!=="verification_failed"&&o?.providerVerificationStatus?.code==="pending_manual_verification",fetchAndUpdateStatues:{fetchStatus:b.fetchStatus,updateStatus:b.updateStatus,linkFetchStatus:m.fetchStatus,linkUpdateStatus:m.updateStatus,prevFetchState:ee,prevUpdateState:Q},onUpdateLinkTokenClick:ne,onChaseInfoClick:U}):null]})]}),c==="small"?t.jsxs(Mt,{children:[o?.accountBalance?.available?t.jsx(Fe,{className:"balanceLabel",children:Se("0,0[.]00",o?.accountBalance?.available)}):t.jsx(be,{children:ke}),o?.accountBalance?.lastRefreshTime?t.jsx(Re,{className:"balanceLabel",children:xe(o?.accountBalance?.lastRefreshTime)}):o?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})}),t.jsxs(Wt,{windowSize:c,isDisabled:j,wrapperWidth:N[2].width,onClick:x=>x.stopPropagation(),"data-testid":rt("bank-account-section",l),className:"qboLinkAcc",children:[c==="small"?t.jsx(Lt,{children:Oe.bankConnectionHeader.linkAccount}):null,t.jsx(Ut,{isDisabled:j?"disabled":void 0,name:$e(l,"bankAccountSection"),placeholder:Be.zeniCashAccountPlaceholder,defaultValue:{selectedOption:o?.zeniAccountId??"",allOptions:e.map(x=>({label:x.accountName,value:x.accountId}))},controlProperty:{highlightOnHover:!0},isOptionRemovable:!1,textAlignment:"left",registerOptions:{required:!1},style:{width:c==="small"?"calc(100% - 135px)":"100%",marginLeft:c==="small"?i.sp0:`-${i.sp3}`}})]}),c!=="small"?t.jsx(Vt,{windowSize:c,wrapperWidth:N[3].width,children:p!=null?t.jsx(ge,{style:{width:"max-content",padding:0},tagTitle:p.name,textColor:we(p.code)}):t.jsx(be,{children:ke})}):null,c!=="small"?t.jsxs(Rt,{windowSize:c,wrapperWidth:N[4].width,children:[o?.accountBalance?.available?t.jsx(Fe,{className:"balanceLabel",children:Se("0,0[.]00",o?.accountBalance?.available)}):t.jsx(be,{children:ke}),o?.accountBalance?.lastRefreshTime?t.jsx(Re,{className:"balanceLabel",children:xe(o?.accountBalance?.lastRefreshTime)}):o?.balanceFetchStatus.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null]}):null]})},At=n.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-start":"center"};
@@ -38,22 +38,22 @@ import{u as ve,K as je,a as Xe,c2 as Ye,j as t,aW as Ze,F as re,o as i,i as se,b
38
38
  display: flex;
39
39
  flex-direction: column;
40
40
  width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
41
- `,Pt=n(B)`
41
+ `,Pt=n(F)`
42
42
  display: flex;
43
43
  align-items: center;
44
44
  color: ${e=>e.isDisabled?e.theme.colors.grey1:"inherit"};
45
45
  flex-wrap: wrap;
46
46
  `,It=n.div`
47
47
  display: flex;
48
- `,Be=n(D)`
48
+ `,Fe=n(D)`
49
49
  display: flex;
50
50
  justify-content: flex-end;
51
- `,Re=n(B)`
51
+ `,Re=n(F)`
52
52
  color: ${e=>e.theme.colors.hero};
53
- `,Lt=n(B)`
53
+ `,Lt=n(F)`
54
54
  color: ${e=>e.theme.colors.grey1};
55
55
  width: 135px;
56
- `,Ot=n.div`
56
+ `,Et=n.div`
57
57
  display: inline-block;
58
58
  border-radius: ${i.sp2};
59
59
  margin: ${i.sp0} ${i.sp2};
@@ -61,13 +61,13 @@ import{u as ve,K as je,a as Xe,c2 as Ye,j as t,aW as Ze,F as re,o as i,i as se,b
61
61
  height: ${i.sp1};
62
62
  cursor: inherit;
63
63
  background-color: ${e=>e.theme.colors.grey1};
64
- `,Et=n.div`
64
+ `,Ot=n.div`
65
65
  display: flex;
66
66
  opacity: ${e=>e.isDisabled?.8:1};
67
- `,Ft=n.div`
67
+ `,Bt=n.div`
68
68
  display: flex;
69
69
  justify-content: flex-start;
70
- `,Bt=n.div`
70
+ `,Ft=n.div`
71
71
  display: flex;
72
72
  flex-direction: column;
73
73
  width: ${e=>e.windowSize==="small"?"64%":"100%"};
@@ -77,13 +77,13 @@ import{u as ve,K as je,a as Xe,c2 as Ye,j as t,aW as Ze,F as re,o as i,i as se,b
77
77
  justify-content: center;
78
78
  align-items: flex-end;
79
79
  width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
80
- `,Vt=n.div`
80
+ `,Mt=n.div`
81
81
  display: flex;
82
82
  flex-direction: column;
83
83
  align-items: flex-end;
84
84
  justify-content: center;
85
85
  width: 36%;
86
- `,Mt=n.div`
86
+ `,Vt=n.div`
87
87
  width: ${e=>e.wrapperWidth.valuePercentage(e.windowSize)};
88
88
  `,Wt=n.div`
89
89
  display: flex;
@@ -136,7 +136,7 @@ import{u as ve,K as je,a as Xe,c2 as Ye,j as t,aW as Ze,F as re,o as i,i as se,b
136
136
  width: 100%;
137
137
  height: 100%;
138
138
  }
139
- `,Gt=n.div`
139
+ `,Jt=n.div`
140
140
  width: ${e=>T.productTypeIconSize.valuePx(e.windowSize)};
141
141
  height: ${e=>T.productTypeIconSize.valuePx(e.windowSize)};
142
142
  display: flex;
@@ -146,12 +146,12 @@ import{u as ve,K as je,a as Xe,c2 as Ye,j as t,aW as Ze,F as re,o as i,i as se,b
146
146
  width: 100%;
147
147
  height: 100%;
148
148
  }
149
- `,$e=(e,h)=>`${e}.${h}`,y=e=>{switch(e){case"zeni_accounts":return"account_setup";case"bill_pay":return"bill_pay_setup";case"charge_cards":return"charge_card_setup";case"reimbursement":return"reimbursement_setup";case"zeni_treasury":return"treasury_setup";case"other_connection":return"other_connection_setup"}},{common:{settings:Ce,strings:{empty:Jt,hyphen:Kt}}}=re.getLocalizedStrings(),he={paymentAccountIconSize:new I(k[6],k[7])},Xt=()=>null,Yt=({paymentAccount:e,bankAccountList:h,balanceFetchStatus:q,connectedAccountProvider:R,onRemoveConnection:_,onFetchLinkTokenClick:P,onEstablishConnectionClick:V,onEstablishConnectionSuccess:C,onUpdatePaymentAccountStatus:c})=>{const f=ve(),w=je(),M=ze().analytics,[W,a]=r.useState(!1),[o,l]=r.useState(!1),m=()=>{l(!0)},b=e.plaidConnectionDetails.link_account,u=e.plaidConnectionDetails.update_account,[A,H]=r.useState(void 0),v=A==="update_account"?u:b,[U,d]=r.useState(v.linkToken??null),[S,L]=r.useState(!1),$=J(b.updateStatus.fetchState),z=J(u.updateStatus.fetchState),g=J(u.fetchStatus.fetchState),p=e?.providerVerificationStatus,O=e?.isLoginRequired??!1,s="other_connection",j=p?.code,Y=r.useCallback((F,ne)=>{M.trackConnectBankSuccess(s,"Settings");const ae=ne.accounts.find(pe=>pe.id===e.providerAccountId)??ne.accounts[0];e.paymentAccountId!=null&&A==="update_account"&&ae?.verification_status!=null&&!O?c(ae?.verification_status,e.paymentAccountId,"update_account",y(s),s):V(F,y(s),s),H(void 0),L(!1)},[M,s,e.paymentAccountId,e.providerAccountId,A,O,c,V]),Z=r.useCallback((F,ne)=>{F!=null&&(M.trackConnectBankFailure(s,F.error_code+" "+F.error_message,"Settings"),F.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e.paymentAccountId!=null&&c("verification_failed",e.paymentAccountId,"update_account",y(s),s),console.log("Plaid Connection Error",F,ne)),H(void 0),L(!1)},[M,s,e.paymentAccountId,c]),{open:ee,ready:E}=Te({token:U,onSuccess:Y,onExit:Z});r.useEffect(()=>{v.fetchStatus.fetchState==="Completed"&&v.linkToken!=null&&v.linkToken!==U&&d(v.linkToken)},[v.fetchStatus.fetchState,v.linkToken,U]),r.useEffect(()=>{S&&ee()},[S,ee]),r.useEffect(()=>{($==="In-Progress"&&b.updateStatus.fetchState==="Completed"||z==="In-Progress"&&u.updateStatus.fetchState==="Completed")&&(G.isVerifiedStatusCode(j??"")||(P("link_account",y(s)),C(y(s),s)))},[b.updateStatus.fetchState,C,P,e?.providerVerificationStatus?.code,e?.paymentAccountId,$,z,u.updateStatus.fetchState,j,s]),r.useEffect(()=>{(G.isVerifiedStatusCode(j??"")||j==="verification_failed")&&!S&&A!=null&&v.linkToken===U&&v.fetchStatus.fetchState==="Completed"&&E&&L(!0)},[E,U,v.fetchStatus.fetchState,v.linkToken,j,A,S]);const K=()=>{M.trackConnectBankGetBalance(s,"Settings"),H("update_account"),P("update_account",y(s),e.paymentAccountId)},te=f.mode==="light"?new fe(f.colors.brandColorJadeLight):new fe(f.colors.brandColorJadeDark),Q={element:t.jsx(dn,{windowSize:w,children:t.jsx(ft,{})}),color:te},ue=h.find(F=>F.accountId===e.zeniAccountId),oe=()=>{a(F=>!F)};return t.jsxs(Zt,{onMouseEnter:oe,onMouseLeave:oe,children:[o===!0?_e.createPortal(t.jsx(Pe,{connectedAccountProvider:R,action:{onBackClick:()=>l(!1)}}),document.body):null,t.jsxs(Qt,{windowSize:w,wrapperWidth:N[0].width,children:[t.jsx(en,{children:Ce.otherAccount.title}),t.jsx(tn,{children:Ce.otherAccount.subTitle})]}),t.jsxs(nn,{windowSize:w,wrapperWidth:N[1].width,children:[gt(Q,w,f.mode==="dark",e,!0),t.jsxs(un,{children:[t.jsx(pn,{children:t.jsx(gn,{windowSize:w,children:e.institutionDetails.institutionName})}),t.jsxs(hn,{windowSize:w,children:[t.jsxs(wn,{children:[t.jsx(mn,{children:e.accountSubType?.name}),t.jsx(fn,{children:e.maskedAccountNumber}),O&&t.jsx(Sn,{})]}),O&&t.jsx(Ie,{productType:"other_connection",isUpdateLinkClicked:A==="update_account",isLoginRequired:O,isPendingVerification:!1,fetchAndUpdateStatues:{fetchStatus:u.fetchStatus,updateStatus:u.updateStatus,linkFetchStatus:b.fetchStatus,linkUpdateStatus:b.updateStatus,prevFetchState:g,prevUpdateState:z},onUpdateLinkTokenClick:K,onChaseInfoClick:m})]})]})]}),t.jsx(on,{windowSize:w,wrapperWidth:N[2].width,children:ue?.accountName??Jt}),t.jsx(an,{windowSize:w,wrapperWidth:N[3].width,children:p!=null?t.jsx(ge,{style:{width:"max-content",padding:0,marginTop:i.sp2},tagTitle:p.name,textColor:we(p.code)}):Kt}),t.jsxs(cn,{windowSize:w,wrapperWidth:N[4].width,children:[t.jsx(ln,{className:"balanceLabel",isRemoveHovered:W,children:Se("0,0.[00]",e.balances?.available)}),e.balances?.lastRefreshTime?t.jsx(sn,{className:"balanceLabel",isRemoveHovered:W,children:xe(e.balances?.lastRefreshTime)}):q?.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null,W&&t.jsx(rn,{children:t.jsx(He,{moreIconType:"plain",options:[{label:Ce.otherAccount.remove,value:"remove"}],customStyleConfig:{valueContainer:()=>({height:i.sp3,".more-icon":{width:i.sp3,height:i.sp3,color:f.colors.primary}}),container:()=>({marginLeft:i.sp0,position:"relative"}),control:()=>({background:"transparent"}),menu:()=>({position:"absolute",right:0,borderRadius:i.sp1,marginTop:i.sp2,background:f.colors.grey5,width:"162px",border:`1px solid ${f.colors.grey3}`,boxShadow:`${i.sp0} 1px 2px ${i.sp0} ${ie.boxShadowElevation}`}),option:()=>({height:i.sp6,paddingLeft:i.sp3,paddingRight:i.sp3,display:"flex",alignItems:"center",color:ie.important,":hover":{color:ie.important,backgroundColor:f.colors.background}})},menuPlacement:"bottom",onOptionSelection:F=>{F==="remove"&&_(e.paymentAccountId)},valueToIcon:Xt})})]})]})},Zt=n.div`
149
+ `,$e=(e,h)=>`${e}.${h}`,y=e=>{switch(e){case"zeni_accounts":return"account_setup";case"bill_pay":return"bill_pay_setup";case"charge_cards":return"charge_card_setup";case"reimbursement":return"reimbursement_setup";case"zeni_treasury":return"treasury_setup";case"other_connection":return"other_connection_setup"}},{common:{settings:Ce,strings:{empty:Gt,hyphen:Zt}}}=re.getLocalizedStrings(),he={paymentAccountIconSize:new I(k[6],k[7])},Kt=()=>null,Yt=({paymentAccount:e,bankAccountList:h,balanceFetchStatus:q,connectedAccountProvider:R,onRemoveConnection:_,onFetchLinkTokenClick:P,onEstablishConnectionClick:M,onEstablishConnectionSuccess:C,onUpdatePaymentAccountStatus:c})=>{const f=ve(),w=je(),V=ze().analytics,[W,a]=r.useState(!1),[o,l]=r.useState(!1),m=()=>{l(!0)},b=e.plaidConnectionDetails.link_account,u=e.plaidConnectionDetails.update_account,[A,H]=r.useState(void 0),v=A==="update_account"?u:b,[U,d]=r.useState(v.linkToken??null),[S,L]=r.useState(!1),$=G(b.updateStatus.fetchState),z=G(u.updateStatus.fetchState),g=G(u.fetchStatus.fetchState),p=e?.providerVerificationStatus,E=e?.isLoginRequired??!1,s="other_connection",j=p?.code,Y=r.useCallback((B,ne)=>{V.trackConnectBankSuccess(s,"Settings");const ae=ne.accounts.find(pe=>pe.id===e.providerAccountId)??ne.accounts[0];e.paymentAccountId!=null&&A==="update_account"&&ae?.verification_status!=null&&!E?c(ae?.verification_status,e.paymentAccountId,"update_account",y(s),s):M(B,y(s),s),H(void 0),L(!1)},[V,s,e.paymentAccountId,e.providerAccountId,A,E,c,M]),Q=r.useCallback((B,ne)=>{B!=null&&(V.trackConnectBankFailure(s,B.error_code+" "+B.error_message,"Settings"),B.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e.paymentAccountId!=null&&c("verification_failed",e.paymentAccountId,"update_account",y(s),s),console.log("Plaid Connection Error",B,ne)),H(void 0),L(!1)},[V,s,e.paymentAccountId,c]),{open:ee,ready:O}=Te({token:U,onSuccess:Y,onExit:Q});r.useEffect(()=>{v.fetchStatus.fetchState==="Completed"&&v.linkToken!=null&&v.linkToken!==U&&d(v.linkToken)},[v.fetchStatus.fetchState,v.linkToken,U]),r.useEffect(()=>{S&&ee()},[S,ee]),r.useEffect(()=>{($==="In-Progress"&&b.updateStatus.fetchState==="Completed"||z==="In-Progress"&&u.updateStatus.fetchState==="Completed")&&(J.isVerifiedStatusCode(j??"")||(P("link_account",y(s)),C(y(s),s)))},[b.updateStatus.fetchState,C,P,e?.providerVerificationStatus?.code,e?.paymentAccountId,$,z,u.updateStatus.fetchState,j,s]),r.useEffect(()=>{(J.isVerifiedStatusCode(j??"")||j==="verification_failed")&&!S&&A!=null&&v.linkToken===U&&v.fetchStatus.fetchState==="Completed"&&O&&L(!0)},[O,U,v.fetchStatus.fetchState,v.linkToken,j,A,S]);const Z=()=>{V.trackConnectBankGetBalance(s,"Settings"),H("update_account"),P("update_account",y(s),e.paymentAccountId)},te=f.mode==="light"?new fe(f.colors.brandColorJadeLight):new fe(f.colors.brandColorJadeDark),X={element:t.jsx(dn,{windowSize:w,children:t.jsx(ft,{})}),color:te},ue=h.find(B=>B.accountId===e.zeniAccountId),oe=()=>{a(B=>!B)};return t.jsxs(Qt,{onMouseEnter:oe,onMouseLeave:oe,children:[o===!0?_e.createPortal(t.jsx(Pe,{connectedAccountProvider:R,action:{onBackClick:()=>l(!1)}}),document.body):null,t.jsxs(Xt,{windowSize:w,wrapperWidth:N[0].width,children:[t.jsx(en,{children:Ce.otherAccount.title}),t.jsx(tn,{children:Ce.otherAccount.subTitle})]}),t.jsxs(nn,{windowSize:w,wrapperWidth:N[1].width,children:[gt(X,w,f.mode==="dark",e,!0),t.jsxs(un,{children:[t.jsx(pn,{children:t.jsx(gn,{windowSize:w,children:e.institutionDetails.institutionName})}),t.jsxs(hn,{windowSize:w,children:[t.jsxs(wn,{children:[t.jsx(mn,{children:e.accountSubType?.name}),t.jsx(fn,{children:e.maskedAccountNumber}),E&&t.jsx(Sn,{})]}),E&&t.jsx(Ie,{productType:"other_connection",isUpdateLinkClicked:A==="update_account",isLoginRequired:E,isPendingVerification:!1,fetchAndUpdateStatues:{fetchStatus:u.fetchStatus,updateStatus:u.updateStatus,linkFetchStatus:b.fetchStatus,linkUpdateStatus:b.updateStatus,prevFetchState:g,prevUpdateState:z},onUpdateLinkTokenClick:Z,onChaseInfoClick:m})]})]})]}),t.jsx(on,{windowSize:w,wrapperWidth:N[2].width,children:ue?.accountName??Gt}),t.jsx(an,{windowSize:w,wrapperWidth:N[3].width,children:p!=null?t.jsx(ge,{style:{width:"max-content",padding:0,marginTop:i.sp2},tagTitle:p.name,textColor:we(p.code)}):Zt}),t.jsxs(cn,{windowSize:w,wrapperWidth:N[4].width,children:[t.jsx(ln,{className:"balanceLabel",isRemoveHovered:W,children:Se("0,0.[00]",e.balances?.available)}),e.balances?.lastRefreshTime?t.jsx(sn,{className:"balanceLabel",isRemoveHovered:W,children:xe(e.balances?.lastRefreshTime)}):q?.fetchState==="In-Progress"?t.jsx(se,{size:"Small",start:!0}):null,W&&t.jsx(rn,{children:t.jsx(He,{moreIconType:"plain",options:[{label:Ce.otherAccount.remove,value:"remove"}],customStyleConfig:{valueContainer:()=>({height:i.sp3,".more-icon":{width:i.sp3,height:i.sp3,color:f.colors.primary}}),container:()=>({marginLeft:i.sp0,position:"relative"}),control:()=>({background:"transparent"}),menu:()=>({position:"absolute",right:0,borderRadius:i.sp1,marginTop:i.sp2,background:f.colors.grey5,width:"162px",border:`1px solid ${f.colors.grey3}`,boxShadow:`${i.sp0} 1px 2px ${i.sp0} ${ie.boxShadowElevation}`}),option:()=>({height:i.sp6,paddingLeft:i.sp3,paddingRight:i.sp3,display:"flex",alignItems:"center",color:ie.important,":hover":{color:ie.important,backgroundColor:f.colors.background}})},menuPlacement:"bottom",onOptionSelection:B=>{B==="remove"&&_(e.paymentAccountId)},valueToIcon:Kt})})]})]})},Qt=n.div`
150
150
  display: flex;
151
151
  padding: ${i.sp4};
152
152
  padding-right: ${i.sp8};
153
153
  position: relative;
154
- `,Qt=n.div`
154
+ `,Xt=n.div`
155
155
  display: flex;
156
156
  align-items: center;
157
157
  flex-direction: column;
@@ -161,7 +161,7 @@ import{u as ve,K as je,a as Xe,c2 as Ye,j as t,aW as Ze,F as re,o as i,i as se,b
161
161
  color: ${e=>e.theme.colors.grey1};
162
162
  display: flex;
163
163
  align-items: center;
164
- `,tn=n(B)`
164
+ `,tn=n(F)`
165
165
  color: ${e=>e.theme.colors.grey1};
166
166
  display: flex;
167
167
  align-items: center;
@@ -185,7 +185,7 @@ import{u as ve,K as je,a as Xe,c2 as Ye,j as t,aW as Ze,F as re,o as i,i as se,b
185
185
  align-items: flex-end;
186
186
  `,ln=n(D)`
187
187
  color: ${e=>e.theme.colors.hero};
188
- `,sn=n(B)`
188
+ `,sn=n(F)`
189
189
  color: ${e=>e.theme.colors.hero};
190
190
  `,rn=n.div`
191
191
  position: absolute;
@@ -210,10 +210,10 @@ import{u as ve,K as je,a as Xe,c2 as Ye,j as t,aW as Ze,F as re,o as i,i as se,b
210
210
  display: flex;
211
211
  flex-direction: ${e=>e.windowSize==="large"||e.windowSize==="extra-large"?"row":"column"};
212
212
  align-items: ${e=>e.windowSize==="large"||e.windowSize==="extra-large"?"center":"start"};
213
- `,mn=n(B)`
213
+ `,mn=n(F)`
214
214
  text-transform: capitalize;
215
215
  color: inherit;
216
- `,fn=n(B)`
216
+ `,fn=n(F)`
217
217
  margin-left: ${i.sp1};
218
218
  `,gn=n(D)`
219
219
  max-width: ${`calc(100% - ${i.sp3})`};
@@ -230,7 +230,7 @@ import{u as ve,K as je,a as Xe,c2 as Ye,j as t,aW as Ze,F as re,o as i,i as se,b
230
230
  height: ${i.sp1};
231
231
  cursor: inherit;
232
232
  background-color: ${e=>e.theme.colors.grey1};
233
- `,{common:{settings:me,strings:{empty:xn}}}=re.getLocalizedStrings(),yn=()=>null,vn=({paymentAccount:e,bankAccountList:h,balanceFetchStatus:q,connectedAccountProvider:R,onRemoveConnection:_,onFetchLinkTokenClick:P,onEstablishConnectionClick:V,onEstablishConnectionSuccess:C,onUpdatePaymentAccountStatus:c})=>{const f=ve(),w=ze().analytics,[M,W]=r.useState(!1),a=()=>{W(!0)},o=e.plaidConnectionDetails.link_account,l=e.plaidConnectionDetails.update_account,[m,b]=r.useState(void 0),u=m==="update_account"?l:o,[A,H]=r.useState(u.linkToken??null),[v,U]=r.useState(!1),d=J(o.updateStatus.fetchState),S=J(l.updateStatus.fetchState),L=J(l.fetchStatus.fetchState),$=e?.providerVerificationStatus,z=e?.isLoginRequired??!1,g="other_connection",p=$?.code,O=r.useCallback((E,K)=>{w.trackConnectBankSuccess(g,"Settings");const te=K.accounts.find(Q=>Q.id===e.providerAccountId)??K.accounts[0];e.paymentAccountId!=null&&m==="update_account"&&te?.verification_status!=null&&!z?c(te?.verification_status,e.paymentAccountId,"update_account",y(g),g):V(E,y(g),g),b(void 0),U(!1)},[w,g,e.paymentAccountId,e.providerAccountId,m,z,c,V]),s=r.useCallback((E,K)=>{E!=null&&(w.trackConnectBankFailure(g,E.error_code+" "+E.error_message,"Settings"),E.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e.paymentAccountId!=null&&c("verification_failed",e.paymentAccountId,"update_account",y(g),g),console.log("Plaid Connection Error",E,K)),b(void 0),U(!1)},[w,g,e.paymentAccountId,c]),{open:j,ready:Y}=Te({token:A,onSuccess:O,onExit:s});r.useEffect(()=>{u.fetchStatus.fetchState==="Completed"&&u.linkToken!=null&&u.linkToken!==A&&H(u.linkToken)},[u.fetchStatus.fetchState,u.linkToken,A]),r.useEffect(()=>{v&&j()},[v,j]),r.useEffect(()=>{(d==="In-Progress"&&o.updateStatus.fetchState==="Completed"||S==="In-Progress"&&l.updateStatus.fetchState==="Completed")&&(G.isVerifiedStatusCode(p??"")||(P("link_account",y(g)),C(y(g),g)))},[o.updateStatus.fetchState,C,P,e?.providerVerificationStatus?.code,e?.paymentAccountId,d,S,l.updateStatus.fetchState,p,g]),r.useEffect(()=>{(G.isVerifiedStatusCode(p??"")||p==="verification_failed")&&!v&&m!=null&&u.linkToken===A&&u.fetchStatus.fetchState==="Completed"&&Y&&U(!0)},[Y,A,u.fetchStatus.fetchState,u.linkToken,p,m,v]);const Z=()=>{w.trackConnectBankGetBalance(g,"Settings"),b("update_account"),P("update_account",y(g),e.paymentAccountId)},ee=h.find(E=>E.accountId===e.zeniAccountId);return t.jsxs(kn,{children:[M===!0?_e.createPortal(t.jsx(Pe,{connectedAccountProvider:R,action:{onBackClick:()=>W(!1)}}),document.body):null,t.jsxs(bn,{children:[t.jsx($n,{children:`${me.otherAccount.title} ${me.otherAccount.subTitleSmall}`}),t.jsx(He,{moreIconType:"plain",options:[{label:me.otherAccount.remove,value:"remove"}],customStyleConfig:{valueContainer:()=>({height:i.sp3,".more-icon":{width:i.sp3,height:i.sp3,color:f.colors.primary}}),container:()=>({marginLeft:i.sp0,position:"relative"}),control:()=>({background:"transparent"}),menu:()=>({position:"absolute",right:0,width:"158px",border:`1px solid ${f.colors.grey3}`,boxShadow:`${i.sp0} 1px 2px ${i.sp0} ${ie.boxShadowElevation}`}),option:()=>({color:f.colors.important,":hover":{color:f.colors.important,backgroundColor:f.colors.background}})},menuPlacement:"bottom",onOptionSelection:E=>{E==="remove"&&_(e.paymentAccountId)},valueToIcon:yn})]}),t.jsxs(Cn,{children:[t.jsxs(Ln,{children:[t.jsx(On,{children:t.jsx(Bn,{children:e.institutionDetails.institutionName})}),t.jsxs(Rn,{children:[t.jsx(En,{children:e.accountSubType?.name}),t.jsx(Fn,{children:e.maskedAccountNumber}),t.jsx(Tn,{children:$!=null?t.jsx(ge,{style:{width:"max-content",padding:0},tagTitle:$.name,textColor:we($.code)}):null}),z&&t.jsx(Ie,{productType:"other_connection",isUpdateLinkClicked:m==="update_account",isLoginRequired:z,isPendingVerification:!1,fetchAndUpdateStatues:{fetchStatus:l.fetchStatus,updateStatus:l.updateStatus,linkFetchStatus:o.fetchStatus,linkUpdateStatus:o.updateStatus,prevFetchState:L,prevUpdateState:S},onUpdateLinkTokenClick:Z,onChaseInfoClick:a})]})]}),t.jsxs(_n,{children:[t.jsx(Pn,{className:"balanceLabel",children:Se("0,0.[00]",e.balances?.available)}),e.balances?.lastRefreshTime?t.jsx(In,{className:"balanceLabel",children:xe(e.balances?.lastRefreshTime)}):q?.fetchState==="In-Progress"?t.jsx(se,{size:"ExtraSmall",start:!0}):null]})]}),t.jsxs(An,{children:[t.jsx(jn,{children:me.bankConnectionHeader.linkAccount}),t.jsx(zn,{children:ee?.accountName??xn})]})]})},kn=n.div`
233
+ `,{common:{settings:me,strings:{empty:xn}}}=re.getLocalizedStrings(),yn=()=>null,vn=({paymentAccount:e,bankAccountList:h,balanceFetchStatus:q,connectedAccountProvider:R,onRemoveConnection:_,onFetchLinkTokenClick:P,onEstablishConnectionClick:M,onEstablishConnectionSuccess:C,onUpdatePaymentAccountStatus:c})=>{const f=ve(),w=ze().analytics,[V,W]=r.useState(!1),a=()=>{W(!0)},o=e.plaidConnectionDetails.link_account,l=e.plaidConnectionDetails.update_account,[m,b]=r.useState(void 0),u=m==="update_account"?l:o,[A,H]=r.useState(u.linkToken??null),[v,U]=r.useState(!1),d=G(o.updateStatus.fetchState),S=G(l.updateStatus.fetchState),L=G(l.fetchStatus.fetchState),$=e?.providerVerificationStatus,z=e?.isLoginRequired??!1,g="other_connection",p=$?.code,E=r.useCallback((O,Z)=>{w.trackConnectBankSuccess(g,"Settings");const te=Z.accounts.find(X=>X.id===e.providerAccountId)??Z.accounts[0];e.paymentAccountId!=null&&m==="update_account"&&te?.verification_status!=null&&!z?c(te?.verification_status,e.paymentAccountId,"update_account",y(g),g):M(O,y(g),g),b(void 0),U(!1)},[w,g,e.paymentAccountId,e.providerAccountId,m,z,c,M]),s=r.useCallback((O,Z)=>{O!=null&&(w.trackConnectBankFailure(g,O.error_code+" "+O.error_message,"Settings"),O.error_code==="TOO_MANY_VERIFICATION_ATTEMPTS"&&e.paymentAccountId!=null&&c("verification_failed",e.paymentAccountId,"update_account",y(g),g),console.log("Plaid Connection Error",O,Z)),b(void 0),U(!1)},[w,g,e.paymentAccountId,c]),{open:j,ready:Y}=Te({token:A,onSuccess:E,onExit:s});r.useEffect(()=>{u.fetchStatus.fetchState==="Completed"&&u.linkToken!=null&&u.linkToken!==A&&H(u.linkToken)},[u.fetchStatus.fetchState,u.linkToken,A]),r.useEffect(()=>{v&&j()},[v,j]),r.useEffect(()=>{(d==="In-Progress"&&o.updateStatus.fetchState==="Completed"||S==="In-Progress"&&l.updateStatus.fetchState==="Completed")&&(J.isVerifiedStatusCode(p??"")||(P("link_account",y(g)),C(y(g),g)))},[o.updateStatus.fetchState,C,P,e?.providerVerificationStatus?.code,e?.paymentAccountId,d,S,l.updateStatus.fetchState,p,g]),r.useEffect(()=>{(J.isVerifiedStatusCode(p??"")||p==="verification_failed")&&!v&&m!=null&&u.linkToken===A&&u.fetchStatus.fetchState==="Completed"&&Y&&U(!0)},[Y,A,u.fetchStatus.fetchState,u.linkToken,p,m,v]);const Q=()=>{w.trackConnectBankGetBalance(g,"Settings"),b("update_account"),P("update_account",y(g),e.paymentAccountId)},ee=h.find(O=>O.accountId===e.zeniAccountId);return t.jsxs(kn,{children:[V===!0?_e.createPortal(t.jsx(Pe,{connectedAccountProvider:R,action:{onBackClick:()=>W(!1)}}),document.body):null,t.jsxs(bn,{children:[t.jsx($n,{children:`${me.otherAccount.title} ${me.otherAccount.subTitleSmall}`}),t.jsx(He,{moreIconType:"plain",options:[{label:me.otherAccount.remove,value:"remove"}],customStyleConfig:{valueContainer:()=>({height:i.sp3,".more-icon":{width:i.sp3,height:i.sp3,color:f.colors.primary}}),container:()=>({marginLeft:i.sp0,position:"relative"}),control:()=>({background:"transparent"}),menu:()=>({position:"absolute",right:0,width:"158px",border:`1px solid ${f.colors.grey3}`,boxShadow:`${i.sp0} 1px 2px ${i.sp0} ${ie.boxShadowElevation}`}),option:()=>({color:f.colors.important,":hover":{color:f.colors.important,backgroundColor:f.colors.background}})},menuPlacement:"bottom",onOptionSelection:O=>{O==="remove"&&_(e.paymentAccountId)},valueToIcon:yn})]}),t.jsxs(Cn,{children:[t.jsxs(Ln,{children:[t.jsx(En,{children:t.jsx(Fn,{children:e.institutionDetails.institutionName})}),t.jsxs(Rn,{children:[t.jsx(On,{children:e.accountSubType?.name}),t.jsx(Bn,{children:e.maskedAccountNumber}),t.jsx(Tn,{children:$!=null?t.jsx(ge,{style:{width:"max-content",padding:0},tagTitle:$.name,textColor:we($.code)}):null}),z&&t.jsx(Ie,{productType:"other_connection",isUpdateLinkClicked:m==="update_account",isLoginRequired:z,isPendingVerification:!1,fetchAndUpdateStatues:{fetchStatus:l.fetchStatus,updateStatus:l.updateStatus,linkFetchStatus:o.fetchStatus,linkUpdateStatus:o.updateStatus,prevFetchState:L,prevUpdateState:S},onUpdateLinkTokenClick:Q,onChaseInfoClick:a})]})]}),t.jsxs(_n,{children:[t.jsx(Pn,{className:"balanceLabel",children:Se("0,0.[00]",e.balances?.available)}),e.balances?.lastRefreshTime?t.jsx(In,{className:"balanceLabel",children:xe(e.balances?.lastRefreshTime)}):q?.fetchState==="In-Progress"?t.jsx(se,{size:"ExtraSmall",start:!0}):null]})]}),t.jsxs(An,{children:[t.jsx(jn,{children:me.bankConnectionHeader.linkAccount}),t.jsx(zn,{children:ee?.accountName??xn})]})]})},kn=n.div`
234
234
  display: flex;
235
235
  flex-direction: column;
236
236
  padding: ${i.sp3};
@@ -254,10 +254,10 @@ import{u as ve,K as je,a as Xe,c2 as Ye,j as t,aW as Ze,F as re,o as i,i as se,b
254
254
  `,An=n.div`
255
255
  display: flex;
256
256
  align-items: center;
257
- `,jn=n(B)`
257
+ `,jn=n(F)`
258
258
  color: ${e=>e.theme.colors.grey1};
259
259
  margin-right: ${i.sp2};
260
- `,zn=n(B)`
260
+ `,zn=n(F)`
261
261
  color: ${e=>e.theme.colors.hero};
262
262
  `,Tn=n(D)`
263
263
  display: flex;
@@ -269,19 +269,19 @@ import{u as ve,K as je,a as Xe,c2 as Ye,j as t,aW as Ze,F as re,o as i,i as se,b
269
269
  flex-direction: column;
270
270
  `,Pn=n(D)`
271
271
  color: ${e=>e.theme.colors.hero};
272
- `,In=n(B)`
272
+ `,In=n(F)`
273
273
  color: ${e=>e.theme.colors.hero};
274
- `,Ln=n.div``,On=n.div`
274
+ `,Ln=n.div``,En=n.div`
275
275
  display: flex;
276
276
  gap: ${i.sp2};
277
277
  align-items: center;
278
278
  white-space: nowrap;
279
279
  overflow: hidden;
280
- `,En=n(B)`
280
+ `,On=n(F)`
281
281
  text-transform: capitalize;
282
- `,Fn=n(B)`
282
+ `,Bn=n(F)`
283
283
  margin-left: ${i.sp1};
284
- `,Bn=n(D)`
284
+ `,Fn=n(D)`
285
285
  max-width: ${`calc(100% - ${i.sp3})`};
286
286
  text-transform: capitalize;
287
287
  overflow: hidden;
@@ -291,20 +291,20 @@ import{u as ve,K as je,a as Xe,c2 as Ye,j as t,aW as Ze,F as re,o as i,i as se,b
291
291
  align-items: center;
292
292
  flex-wrap: wrap;
293
293
  gap: ${i.sp2};
294
- `,{settings:{bankConnectionListHeader:Ae,title:Vn,infoText:Mn}}=re.getLocalizedStrings().common,ye={pageContentPadding:new I(k[4],k[8]),subtitleSectionWidth:new I(343,580,1200),subTitleBottomMargin:new I(k[0],k[5])},Wn={qboLinkAcc:new ot("smallRegular","standardRegular")},Un="bankConnectionsSettingsPage",ce="bankAccountSection",le="primaryAccountSection",Dn="bill_pay",Nn="reimbursement",qn="zeni_accounts",Hn="charge_cards",Gn="zeni_treasury",Ve=e=>t.jsx(Xn,{children:N.map(h=>t.jsx(Yn,{actualDataValue:h.value,wrapperWidth:h.width,windowSize:e,children:t.jsx(Zn,{children:h.value})},h.value))}),$i=({bankSetupView:e,connectedAccountProvider:h,onBackClick:q,onUpdateAccountClick:R,onFetchLinkTokenClick:_,onUpdatePaymentAccountStatus:P,onUpdatePaymentAccountLoginStatus:V,onEstablishConnectionClick:C,onEstablishConnectionSuccess:c,onClickMenuIcon:f,onUpdatePrimaryFundingAccount:w,onRemoveConnection:M})=>{const W=ve(),a=je(),{allFundingAccounts:o,primaryConnection:l}=e,m=Xe({mode:"all",reValidateMode:"onChange",defaultValues:Ue(e),values:Ue(e)}),b=m.handleSubmit(d=>{}),u=async(d,S)=>{const L=d.split("."),$=L[0],z=L[1],g=l.find(p=>p.productType===$);if($!=null&&z!=null){const p=S[$][z];if(z==="primaryAccountSection"){const O=o.find(s=>s.id===p.selectedOption)?.accType;p.selectedOption!=null&&O!=null&&w(p.selectedOption,y($),O)}else if(z==="bankAccountSection"&&g!=null&&g.primaryFundingAccount!=null&&p.selectedOption!=null){const O=g.primaryFundingAccount?.id,s=g.primaryFundingAccount?.accType;O!=null&&s!=null&&R(p.selectedOption,O,$,y($),s)}}};r.useEffect(()=>{const d=m.watch((S,{name:L})=>{L!=null&&S!=null&&Ye(()=>u(L,S))});return()=>{d.unsubscribe()}});const A=e.fetchState==="In-Progress"||e.fetchState==="Not-Started",H=e.fetchState==="Completed"&&e.allFundingAccounts.length===0,v=a==="small"?vn:Yt,U=()=>A?t.jsx(ti,{children:t.jsx(se,{size:"ExtraLarge",start:!0})}):H?t.jsx(Qe,{message:"No bank connections added."}):t.jsxs(Jn,{windowSize:a,children:[t.jsx(We,{children:Ae.primary}),a!=="small"?Ve(a):null,t.jsx(et,{...m,children:t.jsx("form",{id:li(Un),onSubmit:b,children:t.jsx(ni,{windowSize:a,children:e.primaryConnection.map(d=>d!=null?t.jsx(Me,{windowSize:a,children:t.jsx(Ct,{allBankAccounts:e.allBankAccounts,setupView:d,connectedAccountProvider:h,onFetchLinkTokenClick:_,onUpdatePaymentAccountStatus:P,onUpdatePaymentAccountLoginStatus:V,onEstablishConnectionClick:C,onEstablishConnectionSuccess:c})},d.productType):null)})})}),e.otherPaymentAccounts.length>0?t.jsxs(Qn,{children:[t.jsx(We,{children:Ae.other}),t.jsx(ai,{children:t.jsx(tt,{display:"flex",placement:"right",maxWidth:"340px",title:Ae.otherToolTip,style:{padding:`12px ${i.sp3}`},children:t.jsx(ci,{})})})]}):null,a!=="small"&&e.otherPaymentAccounts.length>0?Ve(a):null,e.otherPaymentAccounts.map(d=>{const S=o.find(L=>L.id===d.paymentAccountId)?.balanceFetchStatus;return t.jsx(Me,{windowSize:a,children:t.jsx(v,{paymentAccount:d,bankAccountList:e.allBankAccounts,balanceFetchStatus:S,connectedAccountProvider:h,onRemoveConnection:M,onFetchLinkTokenClick:_,onEstablishConnectionClick:C,onUpdatePaymentAccountStatus:P,onEstablishConnectionSuccess:c})},d.paymentAccountId)})]});return t.jsxs(Kn,{children:[t.jsx(Ze,{source:"BankConnectionsSettingsPage",title:Vn.bankConnections,backgroundColor:W.colors.grey4,style:{zIndex:3},onBackClick:q,showBackButton:!1,showMenuIcon:a==="medium-compact"||a==="small",onClickMenuIcon:f}),t.jsxs(ei,{windowSize:a,children:[t.jsx(ii,{windowSize:a,children:t.jsx(oi,{windowSize:a,children:Mn.bankConnections})}),U()]})]})},Jn=n.div`
294
+ `,{settings:{bankConnectionListHeader:Ae,title:Mn,infoText:Vn}}=re.getLocalizedStrings().common,ye={pageContentPadding:new I(k[4],k[8]),subtitleSectionWidth:new I(343,580,1200),subTitleBottomMargin:new I(k[0],k[5])},Wn={qboLinkAcc:new ot("smallRegular","standardRegular")},Un="bankConnectionsSettingsPage",ce="bankAccountSection",le="primaryAccountSection",Dn="bill_pay",Nn="reimbursement",qn="zeni_accounts",Hn="charge_cards",Jn="zeni_treasury",Me=e=>t.jsx(Kn,{children:N.map(h=>t.jsx(Yn,{actualDataValue:h.value,wrapperWidth:h.width,windowSize:e,children:t.jsx(Qn,{children:h.value})},h.value))}),bi=({bankSetupView:e,connectedAccountProvider:h,onBackClick:q,onUpdateAccountClick:R,onFetchLinkTokenClick:_,onUpdatePaymentAccountStatus:P,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionClick:C,onEstablishConnectionSuccess:c,onClickMenuIcon:f,onUpdatePrimaryFundingAccount:w,onRemoveConnection:V})=>{const W=ve(),a=je(),{allFundingAccounts:o,primaryConnection:l}=e,m=Ke({mode:"all",reValidateMode:"onChange",defaultValues:Ue(e),values:Ue(e)}),b=m.handleSubmit(d=>{}),u=async(d,S)=>{const L=d.split("."),$=L[0],z=L[1],g=l.find(p=>p.productType===$);if($!=null&&z!=null){const p=S[$][z];if(z==="primaryAccountSection"){const E=o.find(s=>s.id===p.selectedOption)?.accType;p.selectedOption!=null&&E!=null&&w(p.selectedOption,y($),E)}else if(z==="bankAccountSection"&&g!=null&&g.primaryFundingAccount!=null&&p.selectedOption!=null){const E=g.primaryFundingAccount?.id,s=g.primaryFundingAccount?.accType;E!=null&&s!=null&&R(p.selectedOption,E,$,y($),s)}}};r.useEffect(()=>{const d=m.watch((S,{name:L})=>{L!=null&&S!=null&&Ye(()=>u(L,S))});return()=>{d.unsubscribe()}});const A=e.fetchState==="In-Progress"||e.fetchState==="Not-Started",H=e.fetchState==="Completed"&&e.allFundingAccounts.length===0,v=a==="small"?vn:Yt,U=()=>A?t.jsx(ti,{children:t.jsx(se,{size:"ExtraLarge",start:!0})}):H?t.jsx(Xe,{message:"No bank connections added."}):t.jsxs(Gn,{windowSize:a,children:[t.jsx(We,{children:Ae.primary}),a!=="small"?Me(a):null,t.jsx(et,{...m,children:t.jsx("form",{id:li(Un),onSubmit:b,children:t.jsx(ni,{windowSize:a,children:e.primaryConnection.map(d=>d!=null?t.jsx(Ve,{windowSize:a,children:t.jsx(Ct,{allBankAccounts:e.allBankAccounts,setupView:d,connectedAccountProvider:h,onFetchLinkTokenClick:_,onUpdatePaymentAccountStatus:P,onUpdatePaymentAccountLoginStatus:M,onEstablishConnectionClick:C,onEstablishConnectionSuccess:c})},d.productType):null)})})}),e.otherPaymentAccounts.length>0?t.jsxs(Xn,{children:[t.jsx(We,{children:Ae.other}),t.jsx(ai,{children:t.jsx(tt,{display:"flex",placement:"right",maxWidth:"340px",title:Ae.otherToolTip,style:{padding:`12px ${i.sp3}`},children:t.jsx(ci,{})})})]}):null,a!=="small"&&e.otherPaymentAccounts.length>0?Me(a):null,e.otherPaymentAccounts.map(d=>{const S=o.find(L=>L.id===d.paymentAccountId)?.balanceFetchStatus;return t.jsx(Ve,{windowSize:a,children:t.jsx(v,{paymentAccount:d,bankAccountList:e.allBankAccounts,balanceFetchStatus:S,connectedAccountProvider:h,onRemoveConnection:V,onFetchLinkTokenClick:_,onEstablishConnectionClick:C,onUpdatePaymentAccountStatus:P,onEstablishConnectionSuccess:c})},d.paymentAccountId)})]});return t.jsxs(Zn,{children:[t.jsx(Qe,{source:"BankConnectionsSettingsPage",title:Mn.bankConnections,backgroundColor:W.colors.grey4,style:{zIndex:3},onBackClick:q,showBackButton:!1,showMenuIcon:a==="medium-compact"||a==="small",onClickMenuIcon:f}),t.jsxs(ei,{windowSize:a,children:[t.jsx(ii,{windowSize:a,children:t.jsx(oi,{windowSize:a,children:Vn.bankConnections})}),U()]})]})},Gn=n.div`
295
295
  display: flex;
296
296
  flex-direction: column;
297
297
  width: 100%;
298
298
  padding-left: ${e=>ye.pageContentPadding.valuePx(e.windowSize)};
299
299
  padding-right: ${e=>ye.pageContentPadding.valuePx(e.windowSize)};
300
- `,Kn=n.div`
300
+ `,Zn=n.div`
301
301
  display: flex;
302
302
  min-height: 100%;
303
303
  flex-direction: column;
304
304
  row-gap: ${i.sp3};
305
305
  width: 100%;
306
306
  background-color: ${e=>e.theme.colors.grey4};
307
- `,Xn=n(B)`
307
+ `,Kn=n(F)`
308
308
  top: ${i.sp0};
309
309
  left: ${i.sp0};
310
310
  min-height: ${i.sp8};
@@ -331,13 +331,13 @@ import{u as ve,K as je,a as Xe,c2 as Ye,j as t,aW as Ze,F as re,o as i,i as se,b
331
331
  padding-left: ${i.sp0};
332
332
  box-sizing: border-box;
333
333
  overflow: hidden;
334
- `,Zn=n(B)`
334
+ `,Qn=n(F)`
335
335
  display: flex;
336
336
  gap: 5px;
337
- `,Qn=n.div`
337
+ `,Xn=n.div`
338
338
  display: flex;
339
339
  align-items: center;
340
- `,Me=n.div`
340
+ `,Ve=n.div`
341
341
  display: flex;
342
342
  min-height: 96px;
343
343
  justify-content: center;
@@ -422,4 +422,4 @@ import{u as ve,K as je,a as Xe,c2 as Ye,j as t,aW as Ze,F as re,o as i,i as se,b
422
422
  width: ${i.sp3};
423
423
  height: ${i.sp3};
424
424
  color: ${e=>e.theme.colors.hero};
425
- `,Ue=e=>{const{primaryConnection:h,allBankAccounts:q,allFundingAccounts:R}=e,_=q.map(a=>({label:a.accountName,value:a.accountId})),P=R.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"})),V=h.find(a=>a.productType==="bill_pay"),C=h.find(a=>a.productType==="reimbursement"),c=h.find(a=>a.productType==="zeni_accounts"),f=h.find(a=>a.productType==="charge_cards"),w=h.find(a=>a.productType==="zeni_treasury"),M=c?.allFundingAccounts.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"}))??[],W=w?.allFundingAccounts.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="paymentAccount"}))??[];return{[Dn]:{[ce]:{selectedOption:V?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:V?.primaryFundingAccount?.id,allOptions:P}},[Nn]:{[ce]:{selectedOption:C?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:C?.primaryFundingAccount?.id,allOptions:P}},[qn]:{[ce]:{selectedOption:c?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:c?.primaryFundingAccount?.id,allOptions:M}},[Gn]:{[ce]:{selectedOption:w?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:w?.primaryFundingAccount?.id,allOptions:W}},[Hn]:{[ce]:{selectedOption:f?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:f?.primaryFundingAccount?.id,allOptions:P}}}},li=e=>`${e}_form`;export{$i as default,li as formUniqueName};
425
+ `,Ue=e=>{const{primaryConnection:h,allBankAccounts:q,allFundingAccounts:R}=e,_=q.map(a=>({label:a.accountName,value:a.accountId})),P=R.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"})),M=h.find(a=>a.productType==="bill_pay"),C=h.find(a=>a.productType==="reimbursement"),c=h.find(a=>a.productType==="zeni_accounts"),f=h.find(a=>a.productType==="charge_cards"),w=h.find(a=>a.productType==="zeni_treasury"),V=c?.allFundingAccounts.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="depositAccount"}))??[],W=w?.allFundingAccounts.map(a=>({label:a.label,value:a.id,isRecommended:a.accType==="paymentAccount"}))??[];return{[Dn]:{[ce]:{selectedOption:M?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:M?.primaryFundingAccount?.id,allOptions:P}},[Nn]:{[ce]:{selectedOption:C?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:C?.primaryFundingAccount?.id,allOptions:P}},[qn]:{[ce]:{selectedOption:c?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:c?.primaryFundingAccount?.id,allOptions:V}},[Jn]:{[ce]:{selectedOption:w?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:w?.primaryFundingAccount?.id,allOptions:W}},[Hn]:{[ce]:{selectedOption:f?.primaryFundingAccount?.zeniAccountId,allOptions:_},[le]:{selectedOption:f?.primaryFundingAccount?.id,allOptions:P}}}},li=e=>`${e}_form`;export{bi as default,li as formUniqueName};
@@ -1,8 +1,8 @@
1
- import{K as Nn,z as Fn,u as On,cp as En,ge as Ln,co as Wn,cu as _n,bF as Zn,a2 as Kn,F as Un,x as u,j as t,l as L,fl as it,fm as Vn,o as a,fn as qn,cs as Gn,Z as b,fo as Hn,a0 as Ae,fp as Yn,aW as lt,aK as ot,cQ as rt,bP as st,bR as dt,bS as ct,gf as Jn,gg as Qn,gh as Xn,gi as ea,fu as j,fv as I,fw as $,cN as A,ft as ta,y as pt,h as ie,fx as Rt,fy as na,fz as aa,fA as ia,gj as la,gk as oa,a4 as ra,C as mt,bw as Te,cq as sa,gl as F,n as r,w as da,bt as ca,cr as pa,a3 as ma,eO as ua,gm as ut,fD as yt,V as ya,f6 as ha,bK as ba,am as xa,ao as ga,t as fa,bq as zt,gn as wa,$ as Mt,ac as Ta,ak as va,aP as Da,eq as ja,k as Ia}from"./index-D9zAXs3-.js";import{b as p,n as i}from"./vendor-Bs1fkIUX.js";import{_ as $a}from"./liveblocks-C2xecagE.js";import{o as Aa,t as ka}from"./LowBalancePopup-DcVkWdb3-vRNfAVIB.js";import"./mui-Ty75qFQF.js";import"./analytics-CBL_L82S.js";import"./routing-lj7oVq6C.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./crypto-DPjkCRYF.js";const Sa=e=>p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",...e},p.createElement("g",{id:"Layer_1"},p.createElement("path",{fill:"none",stroke:"#757d7e",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M4.4,30.6l6-5.9c1,.6,2.1.9,3.3,1,1.1.1,2.3,0,3.4-.4,1.1-.4,2.1-.9,2.9-1.7.9-.8,1.5-1.7,2-2.7,0-.1,0-.2,0-.4,0-.1,0-.2-.1-.3,0-.1-.2-.2-.3-.2-.1,0-.2,0-.4,0h-4.6c-.8,0-1.6-.3-2.1-.9-.6-.6-.9-1.3-.9-2.1s.3-1.5.9-2.1c.6-.6,1.3-.9,2.1-.9h3.8c.1,0,.3,0,.4-.1s.2-.2.3-.3c0-.1,0-.3,0-.4,0-.1,0-.3-.1-.4-1.3-1.6-3.1-2.7-5.2-3.1-2.1-.4-4.2,0-5.9,1.2-1.8,1.1-3,2.8-3.5,4.8s-.2,4.1.8,5.9l-6.1,5.7,3.3,3.3Z"})),p.createElement("g",{id:"Layer_2"},p.createElement("g",null,p.createElement("path",{fill:"#c27419",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M31,8c0,1.9-.7,3.8-2.1,5.1-1.3,1.4-3.2,2.2-5.1,2.2-.9,0-1.9-.2-2.7-.5-.9-.3-1.7-.9-2.3-1.5-.7-.7-1.2-1.4-1.6-2.3-.4-.9-.6-1.8-.6-2.7,0-1.9.7-3.8,2.1-5.1,1.3-1.4,3.2-2.2,5.1-2.2.9,0,1.9.2,2.7.5.9.3,1.7.9,2.3,1.5.7.7,1.2,1.4,1.6,2.3.4.9.6,1.8.6,2.7Z"}),p.createElement("path",{fill:"none",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M23.8,9.4v-4.6"}),p.createElement("path",{fill:"none",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M23.8,11.4s0,0,0,0c0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1,0,0,0,0,.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0-.1,0,0,0,0-.1,0h0"})))),Ca={formTitle:new ya("h6Medium","h5Medium")},m={containerPaddingLeft:new u(r[3],r[6],r[6]),containerPaddingRight:new u(r[3],r[6],r[8]),marginBottom:new u(r[3],r[3]),labelWidth:new u(120,160,160),formTitlePaddingLeftRight:new u(30,0),marginTop:new u(r[1],0),rightIconsGap:new u(r[4],r[5]),closeContainerMarginTop:new u(r[1],0),formTitleMarginTopBottom:new u(0,0),footerButtonWidth:new u(120,120,120,165,165),right:new u(r[3],r[0]),actionsContainerRight:new u(r[0],r[3],r[3],r[6],r[6]),otherActionsIconContainerMarginLeft:new u(r[5],r[4],r[4],r[5]),otherActionsContainerBottom:new u(58,44),iconContainerMarginTop:new u(2,r[1]),recurringSchedulePaddingLeft:new u(r[2],0),paddingRight:new u(r[2],r[3]),labelMarginRight:new u(r[0],r[3]),textPadding:new u(r[0],r[3]),additionalTextMarginTop:new u(-4,0),refundPopupWidth:new u(300,420,420),drawerSectionPaddingLeftRight:new u(r[4],r[5]),infoLabelPaddingRight:new u(r[3],r[3]),infoLabelMarginTop:new u(r[1],r[0]),navBarHeight:new u(0,0,r[8]),navBarContainerWidth:new u(100,58)},{dateFormat:Pa,common:{noText:C,strings:{empty:d},currency:ht,via:Ba,more:Ra,edit:za},spendManagement:{billPay:{billDetails:n,billsByTabs:ke,bulkActions:bt,vendorCreation:xt,insufficientFunds:Nt}},collaboration:{threads:{placeholder:gt,tooltip:ft,title:{comments:Ma}}}}=Un.getLocalizedStrings(),ve=Pa.visual.MMMDCommaYYYYformat,ji=({billDetails:e,currentTenant:g,showApproveRejectBtns:x,isShowDeletedBillsEnabled:Z,signedInUser:le,isAdmin:Ft,isRealTimeApprovalEnabled:Ot,isInternationalPaymentShaVsOurEnabled:Et,hasZeniAssistAccess:Lt,analytics:z,showMarkAsPaidButtonToCreator:K,showMarkAsPaidButtonToApprover:Wt,isBillPayCommentingEnabled:Se,isZeniUser:_t,showBackButton:Ce=!0,isDetectInsufficientFundsEnabled:Zt,redirectToEditableBillScreen:Kt,redirectToBillsScreen:H,discardBillDetailsFromLocalStore:Pe,deleteBill:Ut,cancelAndDeleteBill:Be,approveOrRejectBill:Re,onAddNewRule:Vt,onAttachmentClick:ze,saveBillDetails:qt,discardOutsideZeniPaymentData:Gt,onBackClick:Me,updateEditRealTimeApproverClicked:Ht,onSaveRealTimeApprovals:Yt,onRetryPaymentClick:Jt,onRefundPaymentClick:Qt})=>{const l=Nn(),o=Fn(),Ne=On(),[Xt,U]=p.useState(!1),[Fe,oe]=p.useState(!1),[re,se]=p.useState(!1),[Oe,de]=p.useState(!1),[en,ce]=p.useState(!1),[Ee,Y]=p.useState(!1),y=e.transactionDetails?.id,tn=_t?En:Ln,{requestToOpenThread:pe,setRequestToOpenThread:Le,setOpenThread:J}=p.useContext(tn),[nn,V]=p.useState(!1),w={application:"dashboard",companyId:o.currentTenant?.companyId,tab:"bill",entityId:y,isGlobalComment:!1},{threads:q,isLoading:P}=Wn(w,"both",!1),f=Se&&y!=null,We=p.useMemo(()=>y==null?[]:q.filter(c=>c.resolved===!1&&!c.id.includes(_n)),[q,y]).length,T=`dashboard_${o.currentTenant?.companyId}`,an=p.useCallback((c,h)=>{J(h),V(!1)},[J,V]);p.useEffect(()=>{pe?.threadId!=null&&q.length>0&&!P&&(J(pe.threadId),Le(null))},[pe,q,P,J,Le]),Zn({componentName:"bill.details"});const[N,Q]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[_e,Ze]=p.useState("approved"),[ln,Ke]=p.useState(!1),[on,Ue]=p.useState(!1),[Ve,qe]=p.useState(!1),Ge=()=>Ke(!1),rn=()=>Ke(!0),He=Kn(e.zeniAssist?.refundStatus.fetchState),X=p.useCallback(()=>{H()},[H]);p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed"||e.billSaveStatus==="Completed")&&(Pe(),H())},[e,H,Pe]),p.useEffect(()=>{He==="In-Progress"&&(e.zeniAssist?.refundStatus.fetchState==="Completed"||e.zeniAssist?.refundStatus.fetchState==="Error")&&(se(!1),X())},[He,e.zeniAssist?.refundStatus,X]);const k=e.transactionDetails?.billPayInfo.stage,ee=e.transactionDetails?.billPayInfo.billStatus,G=e.transactionDetails?.billPayInfo.billPaymentStatus,sn=e.transactionDetails?.billPayInfo.billPaymentRefundStatus,me=k?.code==="paid",v=me?k:ee?.code=="approved"&&G?.code?G:ee,S=Na(v,e.transactionDetails),O=e.transactionDetails?.billPayInfo.isRefundInitiated===!0?sn:G?.code!=null&&(ee?.code=="approved"||G.code==="mark_as_paid")?G:ee,ue=e.transactionDetails?.vendor?.name,M=e.isRecurring,Ye=()=>{e.transactionDetails?.id!=null&&Kt(e.transactionDetails?.id??"")},dn=()=>{Q({title:M?n.recurringBill.deleteRecurringTitle:n.deleteBillTitle,description:M?n.recurringBill.deleteRecurringAlertText:n.deleteAlertDescription,primaryButtonText:n.delete,secondaryButtonText:n.cancel}),U(!0)},cn=()=>{Q({title:n.cancelBillTitle,description:n.cancelAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),U(!0)},pn=()=>{Q({title:M?n.recurringBill.cancelAndDeleteRecurringTitle:n.cancelAndDeleteBillTitle,description:M?n.recurringBill.cancelAndDeleteRecurringAlertText:n.cancelAndDeleteAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),U(!0)},mn=()=>{z.trackRefundClick(v?.code??"",k?.code??"",O?.description??"",M?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),Q({title:n.zeniAssist.refundTitle,description:n.zeniAssist.refundDescription,primaryButtonText:n.zeniAssist.proceed,secondaryButtonText:n.cancel}),se(!0)},un={onOkClick:()=>{U(!1),N.primaryButtonText===n.delete?Ut?.(e.isRecurring):N.title===n.cancelBillTitle?Be?.(e.isRecurring):N.title===n.cancelAndDeleteBillTitle||N.title===n.recurringBill.cancelAndDeleteRecurringTitle?Be?.(e.isRecurring,!0):N.primaryButtonText===n.zeniAssist.proceed&&(z.trackRefundConfirmClick(v?.code??"",k?.code??"",O?.description??"",M?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),Qt())},onCancelClick:()=>{U(!1),se(!1)}},yn={onOkClick:c=>{ce(!1),Re({billId:e.transactionDetails?.id??"",type:"rejected",description:c})},onCancelClick:()=>{ce(!1)}},hn=()=>{const[c]=Ta("ZeniAssist");return c!=null?t.jsx(va,{"data-testid":b("bill-details-zeni-assist-icon",y),onClick:()=>{de(!Oe),z.trackZeniAssistClick(v?.code??"",k?.code??"",O?.description??"",M?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"")},style:{width:`${a.sp5}`,height:`${a.sp5}`,marginBottom:`${a.sp2}`},animationData:c,loop:!0,play:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null},te={invoiceNumber:e.transactionDetails?.documentId??"",invoiceDate:e.transactionDetails?.date,billDueDate:e.transactionDetails?.dueDate,memo:e.transactionDetails?.memo,currencyCode:e.vendorCurrency??ht.currencyCode},ye=e.transactionDetails?.lines?.map((c,h)=>{const B=c;return{lineIndex:h,lineId:B.id,account:B.account,class:B.class,amount:B.amount.amount,billable:B.billable,customer:B.customer,lineDescription:B.lineDescription,recipientAmount:B.recipientAmount?.amount}})??[],bn=e.transactionDetails?.recipientTotalAmount.amount??0,he=e.transactionDetails?.recipientTotalAmount,s={paymentType:e.paymentMethodType,paymentDate:e.transactionDetails?.billPayInfo.paymentDate,internationalTransferFeeBearerPaymentMethod:e.transactionDetails?.billPayInfo.internationalTransferFeeBearerPaymentMethod,paymentToBankAccount:e.bankAccount,paymentToPI:e.paymentInstrument},D=m.labelWidth.value(l),xn=c=>c==="billable"||c==="has_been_billed"?n.yes:n.no,gn=s.paymentToBankAccount?.bankAccountNumber?s.paymentToBankAccount?.bankAccountNumber?.slice(s.paymentToBankAccount?.bankAccountNumber?.length-4):s.paymentType?.method?.includes("international")&&s.paymentToBankAccount?.bankAccountIban?s.paymentToBankAccount?.bankAccountIban?.slice(s.paymentToBankAccount?.bankAccountIban.length-4):"",fn=s.paymentToBankAccount?.bankAccountName!=null&&s.paymentToBankAccount?.bankAccountName!=""?s.paymentToBankAccount?.bankAccountName:`${e.transactionDetails?.vendor?.name} - ${s.paymentToBankAccount?.bankName} XXXX${gn}`,wn=e.transactionDetails?.billPayInfo?.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${n.magicLink.collectFrom} ${e.transactionDetails?.billPayInfo?.toAccountVendorEmail}`,t.jsx(ci,{windowSize:l,children:t.jsx(di,{})})]}):void 0,Je=e.transactionDetails?.date!=null&&e.transactionDetails.bookCloseDate!=null&&e.transactionDetails.date.isBefore(e.transactionDetails.bookCloseDate),Tn=()=>`${xt.achDetails.bankRoutingNumber} ${s?.paymentToBankAccount?.bankRoutingNumberAch}, ${s?.paymentToBankAccount?.bankName}
2
- ${xt.achDetails.bankAccountNumber} ${s?.paymentToBankAccount?.bankAccountNumber}`,ne=e.transactionDetails?.billPayInfo!=null?L.getActualPaymentDate(e.transactionDetails?.billPayInfo):void 0,vn=ne!=null&&e.paymentMethodType?.maxPeriod?.value!=null?L.zeniDate(L.getNextNthWorkingDay(ne?.toDate(),[0,6],e.paymentMethodType?.maxPeriod.value).toDateString()):void 0,Qe=e.transactionDetails?.billPayInfo.expectedDepositDate??vn,Xe=it(s?.paymentType?.method??"").replace("Same Day",""),Dn=(s?.paymentToBankAccount!=null||s?.paymentToPI)!=null?n.addedByZeni:e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact?t.jsx(Vn,{paymentTypeLabel:Xe,onClick:rn,style:{marginTop:`${l==="small"?a.sp2:a.sp0}`}}):void 0,jn=()=>s?.paymentToBankAccount==null&&s?.paymentToPI==null&&s?.paymentType?.method!=null&&e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact&&e.transactionDetails?.billPayInfo.paymentDate!=null?t.jsx(wa,{paymentType:s?.paymentType?.method,paymentDate:e.transactionDetails?.billPayInfo.paymentDate}):null,be=!(v?.code==="processing"||e.transactionDetails?.billPayInfo.isRefundInitiated===!0||e.transactionDetails?.billPayInfo.isRefundComplete===!0),xe=e.zeniAssist?.isEligibleForRetryIBT===!0||e.zeniAssist?.isEligibleForRetryOBP===!0,ge=e.zeniAssist?.isEligibleForRefund===!0,In=e?.transactionDetails?.billPayInfo.billPaymentMethodType.code==="wire"&&e?.transactionDetails?.billPayInfo.billPaymentMethodType.subCode==="international",$n=Lt&&e.transactionDetails?.billPayInfo.billPaymentStatus.code!=null&&["failed","cancelled","returned"].includes(e.transactionDetails.billPayInfo.billPaymentStatus.code)&&(xe||ge)&&In===!1,fe=xe||ge,An=e.transactionDetails?.billPayInfo.isRefundInitiated===!0&&e.transactionDetails?.billPayInfo.isRefundComplete===!1,we=v?.code,kn=!An&&(!Je||v?.code==="processing"&&!M),Sn=!Je,et=["small","medium-compact","medium-regular"].includes(l),ae=L.isBulkProcessing(e.transactionDetails?.bulkProcessingDetail?.type),E=L.isPaymentMethodOutsideZeni(e.paymentMethodType?.method),Cn=c=>{z.trackBillPayMarkAsPaidSubmit(c.paymentMode??"other",k?.code??"",v?.code??""),qt(!0,Ve,c)},tt=()=>{Ue(!0),z.trackBillPayMarkAsPaid(k?.code??"",v?.code??"")},Pn=()=>{qe(!0),tt()},Bn=()=>{Gt(),Ue(!1),Ve&&qe(!1)},Rn=p.useMemo(()=>({companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,entityType:"bill.details",entityId:y??d,isGlobalComment:!1,application:"dashboard",tab:"bill",url:window.location.href}),[o.currentTenant,y]),W=Zt&&e.transactionDetails?.totalAmountWithFeesInUSD!=null&&k?.code!=="paid"&&v?.code!=="failed"&&v?.code!=="processing"&&v?.code!=="cancelled"&&v?.code!=="returned"&&v?.code!=="rejected"?qn(e.transactionDetails?.totalAmountWithFeesInUSD,e.withdrawFrom,s.paymentDate):void 0,nt=()=>{Ze("approved"),Ee===!0&&Y(!1),W!=null&&z.trackLowBalanceAccountApprove(k?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",yt(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),Re({billId:e.transactionDetails?.id??"",type:"approved"})},zn=()=>{Ze("rejected"),W!=null&&z.trackLowBalanceAccountReject(k?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",yt(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),ce(!0)},at=p.useRef(null);return t.jsxs(Ya,{windowSize:l,ref:at,children:[t.jsx(Gn,{anchor:"right",open:ln,onClose:Ge,transitionDuration:250,"data-testid":b("vendor-email-preview-drawer"),children:t.jsx(Hn,{companyName:Yn(g.company?.companyInfo),vendor:e.transactionDetails?.vendor?.name,paymentDate:s.paymentDate?.format(ve)??"",paymentType:Xe,amount:Ae("0,0.[00]",he),isInvoiceAttached:!!e.transactionDetails?.attachments?.length,onClose:Ge})}),t.jsxs(ei,{windowSize:l,children:[t.jsx(ui,{windowSize:l,children:l==="small"?t.jsx(lt,{"data-testid":b("bill-detail-nav-bar-mobile"),title:t.jsxs(t.Fragment,{children:[ue,e.isRecurring?t.jsx($e,{width:a.sp4,height:a.sp4}):null]}),backgroundColor:Ne.colors.grey4,rightSideComponent:t.jsxs(It,{windowSize:l,children:[f?t.jsxs(Pt,{isDisabled:P,"data-testid":b("bill-comment-button"),onClick:P?()=>null:c=>{c.preventDefault(),c.stopPropagation(),V(!0),z.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(h=>rt(h)),void 0,void 0,"page icon")},children:[t.jsx(ot,{count:P?void 0:We,isLoading:P,style:{left:"12px"}}),t.jsx(Bt,{})]}):null,t.jsx($t,{onClick:()=>X(),"data-testid":b("bill-detail-nav-bar-small-close-button"),children:t.jsx(jt,{})})]}),leftSideComponent:t.jsx(Dt,{windowSize:l,onClick:Me,"data-testid":b("bill-detail-nav-bar-small-back-button"),style:{visibility:`${Ce?"visible":"hidden"}`},children:t.jsx(vt,{})}),source:"BillDetailPage"}):t.jsx(lt,{"data-testid":b("bill-detail-nav-bar"),title:t.jsxs(t.Fragment,{children:[ue,e.isRecurring?t.jsx($e,{width:a.sp4,height:a.sp4}):null]}),rightSideComponent:t.jsxs(It,{windowSize:l,children:[f?t.jsxs(Pt,{isDisabled:P,"data-testid":b("bill-comment-button"),onClick:P?()=>null:c=>{c.preventDefault(),c.stopPropagation(),V(!0),z.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(h=>rt(h)),void 0,void 0,"page icon")},children:[t.jsx(ot,{count:P?void 0:We,isLoading:P,style:{left:"12px"}}),t.jsx(Bt,{})]}):null,t.jsx($t,{onClick:()=>X(),"data-testid":b("bill-detail-nav-bar-close-button"),children:t.jsx(jt,{})})]}),leftSideComponent:t.jsx(Dt,{windowSize:l,onClick:Me,"data-testid":b("bill-detail-nav-bar-back-button"),style:{visibility:`${Ce?"visible":"hidden"}`},children:t.jsx(vt,{})}),enableTitleOnScroll:!0,scrollableContent:at,source:"BillDetailPage"})}),t.jsxs(ti,{windowSize:l,children:[Ee?t.jsx(Aa,{withdrawFrom:e.withdrawFrom,paymentDate:e?.transactionDetails?.billPayInfo.paymentDate,onOkClick:nt,onCancelClick:()=>{Y(!1),Ye()},onClickAway:()=>{Y(!1)}}):null,on?t.jsx(ka,{onCancel:Bn,onProceedForMarkAsPaid:Cn,saveDetailsFetchState:e.billSaveStatus,paymentData:e.outsideZeniPaymentInfo}):null,Xt||re?t.jsx(st,{titleComponent:t.jsx(ct,{children:N.title}),descriptionComponent:t.jsx(dt,{children:N.description}),primaryButtonText:N.primaryButtonText,proceedButtonVariant:re?"primary":"danger",secondaryButtonText:N.secondaryButtonText,action:un,isEditPopup:!0,isLoading:e.zeniAssist?.refundStatus.fetchState==="In-Progress",children:re?Fa(l,e):null}):null,en?t.jsx(st,{titleComponent:t.jsx(ct,{children:n.rejectBillTitlePrefix+" "+(e.transactionDetails?.vendor?.name!=null?e.transactionDetails.vendor.name:"")}),descriptionComponent:t.jsx(dt,{children:n.rejectBillDescription}),primaryButtonText:n.send,secondaryButtonText:n.cancel,action:yn,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:n.rejectBillReasonPlaceholder}):null,l!=="small"||S?t.jsxs(ai,{windowSize:l,children:[l!=="small"?t.jsxs(ii,{windowSize:l,children:[ue,e.isRecurring?t.jsx($e,{height:a.sp5,width:a.sp5}):null]}):null,Z&&S!=null&&S.code==="deleted"?t.jsx(At,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):S?.value===ke.tabsById.overdue?t.jsx(At,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):null]}):null,O!=null&&O.code?l==="small"?t.jsx(Jn,{progressSectionObj:O,createDate:e.transactionDetails?.createTime,paymentDate:Qe,scheduleDate:ne,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):t.jsx(Qn,{progressSectionObj:O,createDate:e.transactionDetails?.createTime,paymentDate:Qe,scheduleDate:ne,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):null,La(ae,e,W),t.jsx(Xn,{sectionId:ea,currentVendorOption:{defaultOptions:[]},billId:y,isBillPayCommentingEnabled:Se,isBillPaid:me,disableVendorActions:!0,vendor:e.transactionDetails?.vendor,prevBills:e.previousBills,onAttachmentClick:ze,isVendorRecommendationEnabled:!1,showVendorGptRecommendationText:!1}),s.paymentType?.method?.includes("ach"),t.jsxs(je,{children:[t.jsx(Ie,{children:n.whatForTitle}),t.jsxs(De,{children:[t.jsx(j,{isThreadAllowed:f,entityId:y,dashboardTabKey:$({type:"details",key:"invoiceNumber"}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${I("invoiceNumber")}`},children:t.jsx(A,{label:{label:n.invoiceNumber,width:D},text:te.invoiceNumber??C,style:{width:"auto"}})}),t.jsx(R,{}),t.jsx(j,{isThreadAllowed:f,entityId:y,dashboardTabKey:$({type:"details",key:"invoiceDate"}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${I("invoiceDate")}`},children:t.jsx(A,{label:{label:n.invoiceDate,width:D},text:te.invoiceDate?.format(ve)??C,style:{width:"auto"}})}),t.jsx(R,{}),t.jsx(j,{isThreadAllowed:f,entityId:y,dashboardTabKey:$({type:"details",key:"billDueDate"}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${I("billDueDate")}`},children:t.jsx(A,{label:{label:n.billDueDate,width:D},text:te.billDueDate?.format(ve)??C,style:{width:"auto"}})}),t.jsx(R,{}),t.jsx(j,{isThreadAllowed:f,entityId:y,dashboardTabKey:$({type:"details",key:"memo"}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${I("memo")}`},children:t.jsx(A,{label:{label:n.memo,width:D},text:te.memo??C,style:{width:"auto"}})})]})]}),t.jsxs(je,{children:[t.jsx(ni,{windowSize:l,children:t.jsx(Ie,{children:n.lineItemsTitle})}),ye.length>0?ye.map((c,h)=>{const B=e?.transactionDetails?.lines?.find(Mn=>Mn.id===c.lineId)?.recipientAmount;return t.jsxs(Ja,{children:[ye.length>1?t.jsx(Qa,{windowSize:l,children:t.jsx(Xa,{windowSize:l,children:`${n.line} # ${h+1}`})}):null,t.jsxs(De,{children:[t.jsx(j,{isThreadAllowed:f,entityId:y,dashboardTabKey:$({type:"details",key:`${h}.recipientAmount`}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${I("recipientAmount",h)}`},children:t.jsx(A,{label:{label:n.amount,width:D},text:B!=null?Ae("0,0[.]00",B):C,style:{width:"auto"}})}),t.jsx(R,{}),t.jsx(j,{isThreadAllowed:f,entityId:y,dashboardTabKey:$({type:"details",key:`${h}.lineDescription`}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${I("lineDescription",h)}`},children:t.jsx(A,{label:{label:n.description,width:D},text:c.lineDescription??C,style:{width:"auto"}})}),t.jsx(R,{}),t.jsx(j,{isThreadAllowed:f,entityId:y,dashboardTabKey:$({type:"details",key:`${h}.account`}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${I("account",h)}`},children:t.jsx(A,{label:{label:n.category,width:D},text:c.account?.accountName??C,style:{width:"auto"}})}),t.jsx(R,{}),t.jsx(j,{isThreadAllowed:f,entityId:y,dashboardTabKey:$({type:"details",key:`${h}.class`}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${I("class",h)}`},children:t.jsx(A,{label:{label:n.class,width:D},text:c.class?.className??C,style:{width:"auto"}})}),t.jsx(R,{}),t.jsx(j,{isThreadAllowed:f,entityId:y,dashboardTabKey:$({type:"details",key:`${h}.billable`}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${I("billable",h)}`},children:t.jsx(A,{label:{label:n.billable,width:D},text:c.billable!=null?xn(c.billable):C,style:{width:"auto"}})}),t.jsx(R,{}),t.jsx(j,{isThreadAllowed:f,entityId:y,dashboardTabKey:$({type:"details",key:`${h}.customer`}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${I("customer",h)}`},children:t.jsx(A,{label:{label:n.customer,width:D},text:c.customer?.name??C,style:{width:"auto"}})})]})]},h)}):null]}),t.jsxs(li,{windowSize:l,children:[t.jsx(oi,{children:n.total}),t.jsx(ri,{children:he!=null?t.jsx(ta,{amount:he,integerStyles:pt.h6Medium.cssObject,decimalStyles:pt.standardMedium.cssObject}):C})]}),t.jsxs(je,{children:[t.jsx(Ie,{children:n.paymentDetailsTitle}),t.jsxs(De,{children:[E?null:t.jsxs(t.Fragment,{children:[t.jsx(j,{isThreadAllowed:f,entityId:y,dashboardTabKey:$({type:"details",key:"withdrawFrom"}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${I("withdrawFrom")}`},children:t.jsx(A,{label:{label:n.withdrawFrom,width:D},text:e.withdrawFrom!=null?Rt(e.withdrawFrom,l):d,style:{width:"auto"},additionalInfoLabelStyles:{textAlign:"right",paddingRight:m.infoLabelPaddingRight.valuePx(l),marginTop:m.infoLabelMarginTop.valuePx(l),color:ie.brandColorGoldDark},additionalInfoLabel:W!=null&&k?.code==="pending_approval"?Nt.addMoney:W})}),t.jsx(R,{})]}),t.jsx(j,{isThreadAllowed:f,entityId:y,dashboardTabKey:$({type:"details",key:"paymentType"}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${I("paymentType")}`},children:t.jsx(A,{additionalInfoLabel:s.paymentType?.method!=null&&s.paymentType.method.includes(L.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&Et&&s.internationalTransferFeeBearerPaymentMethod!=null?t.jsx(_a,{children:na(s.internationalTransferFeeBearerPaymentMethod)}):void 0,label:{label:n.paymentMethod,width:D},text:E&&e.outsideZeniPaymentInfo!=null?Ea(e.outsideZeniPaymentInfo):it(s.paymentType?.method??""),style:{width:"auto"}})}),E?null:t.jsxs(t.Fragment,{children:[t.jsx(R,{}),t.jsx(j,{isThreadAllowed:f,entityId:y,dashboardTabKey:$({type:"details",key:"paymentTo"}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${I("paymentTo")}`},children:t.jsxs(t.Fragment,{children:[t.jsx(A,{label:{label:n.paymentTo,width:D},text:s.paymentToBankAccount!=null?fn:s.paymentToPI!=null?s.paymentToPI.displayText:wn,style:{width:"auto"},showEyeIcon:s.paymentToBankAccount!=null&&!!s.paymentType?.method?.includes("ach"),showAdditionalInfoLabel:!!e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact||s.paymentType?.method?.includes("ach"),tooltipText:Tn(),additionalInfoLabel:t.jsx(Wa,{children:Dn})}),jn()]})})]}),E||e.isRecurring?t.jsxs(t.Fragment,{children:[t.jsx(R,{}),t.jsx(j,{isThreadAllowed:f,entityId:y,dashboardTabKey:$({type:"details",key:"recurringPaymentType"}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${I("recurringPaymentType")}`},children:t.jsxs(t.Fragment,{children:[t.jsx(A,{label:{label:n.paymentType,width:D},labelStyles:{marginRight:m.labelMarginRight.valuePx(l)},style:{width:"auto"},text:ia(e.isRecurring,E,e.transactionDetails?.recurringBillInstance??1,e.recurringBillConfigDetail?.totalPaymentCycles??0),textStyles:{paddingLeft:m.textPadding.valuePx(l),paddingRight:m.textPadding.valuePx(l)},additionalInfoLabel:aa(l,e.isRecurring,E,e.recurringBillConfigDetail),additionalInfoLabelStyles:{paddingRight:m.paddingRight.valuePx(l),marginTop:m.additionalTextMarginTop.valuePx(l)}}),e.recurringBillInstances!=null&&e.recurringBillInstances.length>0?t.jsx(pi,{style:{paddingLeft:m.recurringSchedulePaddingLeft.valuePx(l)},children:t.jsx(la,{onAttachmentClick:ze,currencySymbol:e.transactionDetails?.recipientTotalAmount.currencySymbol??ht.currencySymbol,recurringBillInstances:e.recurringBillInstances})}):null]})})]}):null]})]}),e.transactionDetails&&e.transactionDetails.id&&t.jsx(oa,{amount:bn,activities:e.billActivities,stage:k?.code??"draft",onAddNewRule:Vt,entity:"bill_pay",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,allAccountingClass:e.allAccountingClasses,vendorOwnerId:e.vendorOwnerId??"",isAdmin:Ft,signedInUserId:le?.userId,showRealTimeApproval:Ot,entityApprovalId:e.billActivities[0]?.entityApprovalId??e.transactionDetails.entityApprovalId,updateEditMode:Ht,onSaveRealTimeApprovals:Yt},historicActivities:e.billHistory.activities}),t.jsx(si,{})]}),e.transactionDetails?.vendor!=null&&!me&&!e.transactionDetails.isDeleted?t.jsx(ra,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:K||x,showCancel:!K&&x,cancelBtn:{label:et?n.buttons.reject:n.buttons.rejectBill,isLoading:_e==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:zn,style:{width:m.footerButtonWidth.value(l)},reverseSpinnerColor:!1},primaryBtn:{label:Oa(K,et),isLoading:_e==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:K?tt:()=>{W!=null?Y(!0):nt()},isDisabled:e.billSaveStatus==="In-Progress"||e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0,style:{width:K?"auto":m.footerButtonWidth.value(l)}},rightSideComponent:t.jsx(Za,{children:t.jsxs(Ha,{windowSize:l,children:[!ae&&Fe?t.jsx(mt,{onClickAway:()=>{oe(!1),de(!1)},children:t.jsxs(Tt,{windowSize:l,"data-testid":b("bill-actions-container"),children:[we!=="processing"?t.jsx(_,{onClick:dn,"data-testid":b("delete-bill-action-item"),children:n.buttons.deleteBill}):null,we==="processing"&&!M?t.jsx(_,{onClick:cn,"data-testid":b("cancel-bill-action-item"),children:n.buttons.cancel}):null,we==="processing"&&Sn?t.jsx(_,{onClick:pn,"data-testid":b("cancel-and-delete-bill-action-item"),children:n.buttons.cancelAndDelete}):null,x&&E&&Wt?t.jsx(_,{onClick:Pn,"data-testid":b("mark-as-paid-action-item"),children:n.paymentOutsideZeni.markAsPaid}):null]})}):null,Oe?t.jsx(mt,{onClickAway:()=>{oe(!1),de(!1)},children:t.jsxs(Tt,{windowSize:l,"data-testid":b("bill-actions-with-zeni-assist-container"),children:[xe?t.jsx(_,{onClick:()=>{z.trackRetryClick(v?.code??"",k?.code??"",O?.description??"",M?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),Jt()},"data-testid":b("retry-bill-action-item"),children:n.buttons.retry}):null,ge?t.jsx(_,{onClick:mn,"data-testid":b("refund-bill-action-item"),children:n.buttons.refund}):null]})}):null,t.jsxs(Ga,{windowSize:l,children:[$n===!0?t.jsx(Te,{enterDelay:600,style:{color:ie.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:fe?n.zeniAssist.tooltip:n.zeniAssist.connectToTeamTooltip,placement:"top",maxWidth:"267px",children:t.jsx(wt,{windowSize:l,showEditIcon:be,isIconClickable:fe,"data-testid":b("other-actions-icon-container"),children:fe?t.jsx(hn,{}):t.jsx(Ua,{})})}):null,!ae&&be===!0?t.jsx(Te,{enterDelay:600,style:{color:ie.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:za,placement:"top",children:t.jsx(qa,{onClick:Ye,"data-testid":b("edit-bill-icon-container"),children:t.jsx(Va,{})})}):null,!ae&&kn===!0?t.jsx(Te,{enterDelay:600,style:{color:ie.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Ra,placement:"top",children:t.jsx(wt,{windowSize:l,showEditIcon:be,isIconClickable:!0,"data-testid":b("more-details-icon-container"),children:t.jsx(Ka,{onClick:()=>oe(!Fe)})})}):null]})]})}),style:{minHeight:62}}):null]}),f?t.jsx($a,{id:T,children:t.jsx(sa,{isDrawerOpen:nn,allowComposer:!0,drawerTitle:Ma,threads:q,filter:w,autoExpand:!0,autoFocus:!1,isLoading:P,textOverrides:{composerPlaceholder:gt.addANewComment,replyComposerPlaceholder:gt.replyAComment,threadResolve:ft.resolveComment,threadUnResolve:ft.unResolveComment},threadMetadata:Rn,onThreadClick:an,onCloseAllThreadsDrawer:()=>V(!1),drawerSectionStyle:{width:l==="small"?"100%":"400px",boxSizing:l==="small"?"border-box":"content-box",padding:`${a.sp0} ${m.drawerSectionPaddingLeftRight.valuePx(l)}`,backgroundColor:Ne.colors.background},collapsibleThreadStyle:{width:l==="small"?"100%":"360px"}})}):null]})},Na=(e,g)=>{const x=e?.code;if(e!=null&&x!=null)return g?.isDeleted===!0?{value:ke.tabsById.deleted,color:F.deleted.color,bgColor:F.deleted.bgColor,borderColor:F.deleted.borderColor,code:"deleted"}:x==="pending_approval"&&g?.dueDate?.isBefore(L.dateNow(),"date")===!0?{value:ke.tabsById.overdue,color:F.overdue.color,bgColor:F.overdue.bgColor,borderColor:F.overdue.borderColor}:{value:e.name,color:F[x].color,bgColor:F[x].bgColor,borderColor:F[x].borderColor}},Fa=(e,g)=>{const x=g.transactionDetails?.recipientTotalAmount;return t.jsxs(mi,{windowSize:e,children:[t.jsxs(kt,{windowSize:e,children:[t.jsx(St,{children:n.zeniAssist.accountNumber}),t.jsx(Ct,{children:g.withdrawFrom!=null?Rt(g.withdrawFrom,e):d})]}),t.jsxs(kt,{windowSize:e,children:[t.jsx(St,{children:n.zeniAssist.amount}),t.jsx(Ct,{children:x!=null?Ae("0,0[.]00",x):C})]})]})},Oa=(e,g)=>e?n.paymentOutsideZeni.markAsPaid:g?n.buttons.approve:n.buttons.approveBill,Ea=e=>{const g=e.paymentMode,x=n.paymentOutsideZeni.offline;if(g==null||g==="other")return x;const Z=n.paymentOutsideZeni.paymentModeOptions.find(le=>le.value===g)?.label;return`${x} ${Ba} ${Z}`},La=(e,g,x)=>{if(e)return t.jsx(ut,{variant:"warning",style:{marginTop:a.sp5,marginBottom:a.sp3},title:bt.duplicateWarning.title,description:bt.duplicateWarning.description});if(x!=null){const Z=`${g.withdrawFrom?.label??""} ${g.withdrawFrom?.maskedAccountNumber??""}`;return t.jsx(ut,{variant:"low-balance",style:{marginTop:a.sp2,marginBottom:a.sp3},title:`${Nt.lowBalanceIn.replace("__account__",Z)}`,description:x.replace("Low balance! ","")})}else return null},Wa=i.div``,_a=i.div``,Za=i.div`
1
+ import{e as Nn,Y as On,u as Fn,fN as Ln,fO as En,fP as Wn,fQ as Zn,bI as _n,a2 as Un,M as Kn,C as u,j as t,l as E,cL as it,cM as Vn,o as a,cN as Yn,cO as Gn,_ as b,cP as Hn,a0 as Ae,cQ as Qn,aW as lt,aK as ot,dt as rt,bU as st,bW as dt,bX as ct,fR as Xn,fS as qn,fT as Jn,fU as ea,cV as $,cW as j,cX as I,fV as A,cU as ta,v as pt,c as ie,cY as Rt,cZ as na,c_ as aa,c$ as ia,fW as la,fX as oa,a4 as ra,p as mt,bA as Te,fY as sa,fZ as O,q as r,$ as da,bw as ca,f_ as pa,a3 as ma,f$ as ua,g0 as ut,d3 as yt,b as ya,cA as ha,bN as ba,am as xa,ao as ga,L as fa,bp as zt,g1 as wa,d as Mt,ac as Ta,ak as va,aP as Da,eL as $a,n as ja}from"./index-Cnh9fv8f.js";import{b as p,n as i}from"./vendor-rkTZJa59.js";import{_ as Ia}from"./liveblocks-CP09Cz-7.js";import{o as Aa,t as ka}from"./LowBalancePopup-ChA83eFW-dErt1yuL.js";import"./mui-C42whWwM.js";import"./analytics-CBL_L82S.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./crypto-BDNqpTKX.js";const Sa=e=>p.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 32 32",...e},p.createElement("g",{id:"Layer_1"},p.createElement("path",{fill:"none",stroke:"#757d7e",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round",d:"M4.4,30.6l6-5.9c1,.6,2.1.9,3.3,1,1.1.1,2.3,0,3.4-.4,1.1-.4,2.1-.9,2.9-1.7.9-.8,1.5-1.7,2-2.7,0-.1,0-.2,0-.4,0-.1,0-.2-.1-.3,0-.1-.2-.2-.3-.2-.1,0-.2,0-.4,0h-4.6c-.8,0-1.6-.3-2.1-.9-.6-.6-.9-1.3-.9-2.1s.3-1.5.9-2.1c.6-.6,1.3-.9,2.1-.9h3.8c.1,0,.3,0,.4-.1s.2-.2.3-.3c0-.1,0-.3,0-.4,0-.1,0-.3-.1-.4-1.3-1.6-3.1-2.7-5.2-3.1-2.1-.4-4.2,0-5.9,1.2-1.8,1.1-3,2.8-3.5,4.8s-.2,4.1.8,5.9l-6.1,5.7,3.3,3.3Z"})),p.createElement("g",{id:"Layer_2"},p.createElement("g",null,p.createElement("path",{fill:"#c27419",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M31,8c0,1.9-.7,3.8-2.1,5.1-1.3,1.4-3.2,2.2-5.1,2.2-.9,0-1.9-.2-2.7-.5-.9-.3-1.7-.9-2.3-1.5-.7-.7-1.2-1.4-1.6-2.3-.4-.9-.6-1.8-.6-2.7,0-1.9.7-3.8,2.1-5.1,1.3-1.4,3.2-2.2,5.1-2.2.9,0,1.9.2,2.7.5.9.3,1.7.9,2.3,1.5.7.7,1.2,1.4,1.6,2.3.4.9.6,1.8.6,2.7Z"}),p.createElement("path",{fill:"none",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M23.8,9.4v-4.6"}),p.createElement("path",{fill:"none",stroke:"#f3f7f7",strokeWidth:1.2,strokeLinecap:"round",strokeLinejoin:"round",d:"M23.8,11.4s0,0,0,0c0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,.1,0,0,0,0,.1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0-.1,0,0,0,0-.1,0h0"})))),Ca={formTitle:new ya("h6Medium","h5Medium")},m={containerPaddingLeft:new u(r[3],r[6],r[6]),containerPaddingRight:new u(r[3],r[6],r[8]),marginBottom:new u(r[3],r[3]),labelWidth:new u(120,160,160),formTitlePaddingLeftRight:new u(30,0),marginTop:new u(r[1],0),rightIconsGap:new u(r[4],r[5]),closeContainerMarginTop:new u(r[1],0),formTitleMarginTopBottom:new u(0,0),footerButtonWidth:new u(120,120,120,165,165),right:new u(r[3],r[0]),actionsContainerRight:new u(r[0],r[3],r[3],r[6],r[6]),otherActionsIconContainerMarginLeft:new u(r[5],r[4],r[4],r[5]),otherActionsContainerBottom:new u(58,44),iconContainerMarginTop:new u(2,r[1]),recurringSchedulePaddingLeft:new u(r[2],0),paddingRight:new u(r[2],r[3]),labelMarginRight:new u(r[0],r[3]),textPadding:new u(r[0],r[3]),additionalTextMarginTop:new u(-4,0),refundPopupWidth:new u(300,420,420),drawerSectionPaddingLeftRight:new u(r[4],r[5]),infoLabelPaddingRight:new u(r[3],r[3]),infoLabelMarginTop:new u(r[1],r[0]),navBarHeight:new u(0,0,r[8]),navBarContainerWidth:new u(100,58)},{dateFormat:Pa,common:{noText:C,strings:{empty:d},currency:ht,via:Ba,more:Ra,edit:za},spendManagement:{billPay:{billDetails:n,billsByTabs:ke,bulkActions:bt,vendorCreation:xt,insufficientFunds:Nt}},collaboration:{threads:{placeholder:gt,tooltip:ft,title:{comments:Ma}}}}=Kn.getLocalizedStrings(),ve=Pa.visual.MMMDCommaYYYYformat,$i=({billDetails:e,currentTenant:g,showApproveRejectBtns:x,isShowDeletedBillsEnabled:_,signedInUser:le,isAdmin:Ot,isRealTimeApprovalEnabled:Ft,isInternationalPaymentShaVsOurEnabled:Lt,hasZeniAssistAccess:Et,analytics:z,showMarkAsPaidButtonToCreator:U,showMarkAsPaidButtonToApprover:Wt,isBillPayCommentingEnabled:Se,isZeniUser:Zt,showBackButton:Ce=!0,isDetectInsufficientFundsEnabled:_t,redirectToEditableBillScreen:Ut,redirectToBillsScreen:H,discardBillDetailsFromLocalStore:Pe,deleteBill:Kt,cancelAndDeleteBill:Be,approveOrRejectBill:Re,onAddNewRule:Vt,onAttachmentClick:ze,saveBillDetails:Yt,discardOutsideZeniPaymentData:Gt,onBackClick:Me,updateEditRealTimeApproverClicked:Ht,onSaveRealTimeApprovals:Qt,onRetryPaymentClick:Xt,onRefundPaymentClick:qt})=>{const l=Nn(),o=On(),Ne=Fn(),[Jt,K]=p.useState(!1),[Oe,oe]=p.useState(!1),[re,se]=p.useState(!1),[Fe,de]=p.useState(!1),[en,ce]=p.useState(!1),[Le,Q]=p.useState(!1),y=e.transactionDetails?.id,tn=Zt?Ln:En,{requestToOpenThread:pe,setRequestToOpenThread:Ee,setOpenThread:X}=p.useContext(tn),[nn,V]=p.useState(!1),w={application:"dashboard",companyId:o.currentTenant?.companyId,tab:"bill",entityId:y,isGlobalComment:!1},{threads:Y,isLoading:P}=Wn(w,"both",!1),f=Se&&y!=null,We=p.useMemo(()=>y==null?[]:Y.filter(c=>c.resolved===!1&&!c.id.includes(Zn)),[Y,y]).length,T=`dashboard_${o.currentTenant?.companyId}`,an=p.useCallback((c,h)=>{X(h),V(!1)},[X,V]);p.useEffect(()=>{pe?.threadId!=null&&Y.length>0&&!P&&(X(pe.threadId),Ee(null))},[pe,Y,P,X,Ee]),_n({componentName:"bill.details"});const[N,q]=p.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[Ze,_e]=p.useState("approved"),[ln,Ue]=p.useState(!1),[on,Ke]=p.useState(!1),[Ve,Ye]=p.useState(!1),Ge=()=>Ue(!1),rn=()=>Ue(!0),He=Un(e.zeniAssist?.refundStatus.fetchState),J=p.useCallback(()=>{H()},[H]);p.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed"||e.billSaveStatus==="Completed")&&(Pe(),H())},[e,H,Pe]),p.useEffect(()=>{He==="In-Progress"&&(e.zeniAssist?.refundStatus.fetchState==="Completed"||e.zeniAssist?.refundStatus.fetchState==="Error")&&(se(!1),J())},[He,e.zeniAssist?.refundStatus,J]);const k=e.transactionDetails?.billPayInfo.stage,ee=e.transactionDetails?.billPayInfo.billStatus,G=e.transactionDetails?.billPayInfo.billPaymentStatus,sn=e.transactionDetails?.billPayInfo.billPaymentRefundStatus,me=k?.code==="paid",v=me?k:ee?.code=="approved"&&G?.code?G:ee,S=Na(v,e.transactionDetails),F=e.transactionDetails?.billPayInfo.isRefundInitiated===!0?sn:G?.code!=null&&(ee?.code=="approved"||G.code==="mark_as_paid")?G:ee,ue=e.transactionDetails?.vendor?.name,M=e.isRecurring,Qe=()=>{e.transactionDetails?.id!=null&&Ut(e.transactionDetails?.id??"")},dn=()=>{q({title:M?n.recurringBill.deleteRecurringTitle:n.deleteBillTitle,description:M?n.recurringBill.deleteRecurringAlertText:n.deleteAlertDescription,primaryButtonText:n.delete,secondaryButtonText:n.cancel}),K(!0)},cn=()=>{q({title:n.cancelBillTitle,description:n.cancelAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),K(!0)},pn=()=>{q({title:M?n.recurringBill.cancelAndDeleteRecurringTitle:n.cancelAndDeleteBillTitle,description:M?n.recurringBill.cancelAndDeleteRecurringAlertText:n.cancelAndDeleteAlertDescription,primaryButtonText:n.yes,secondaryButtonText:n.no}),K(!0)},mn=()=>{z.trackRefundClick(v?.code??"",k?.code??"",F?.description??"",M?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),q({title:n.zeniAssist.refundTitle,description:n.zeniAssist.refundDescription,primaryButtonText:n.zeniAssist.proceed,secondaryButtonText:n.cancel}),se(!0)},un={onOkClick:()=>{K(!1),N.primaryButtonText===n.delete?Kt?.(e.isRecurring):N.title===n.cancelBillTitle?Be?.(e.isRecurring):N.title===n.cancelAndDeleteBillTitle||N.title===n.recurringBill.cancelAndDeleteRecurringTitle?Be?.(e.isRecurring,!0):N.primaryButtonText===n.zeniAssist.proceed&&(z.trackRefundConfirmClick(v?.code??"",k?.code??"",F?.description??"",M?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),qt())},onCancelClick:()=>{K(!1),se(!1)}},yn={onOkClick:c=>{ce(!1),Re({billId:e.transactionDetails?.id??"",type:"rejected",description:c})},onCancelClick:()=>{ce(!1)}},hn=()=>{const[c]=Ta("ZeniAssist");return c!=null?t.jsx(va,{"data-testid":b("bill-details-zeni-assist-icon",y),onClick:()=>{de(!Fe),z.trackZeniAssistClick(v?.code??"",k?.code??"",F?.description??"",M?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"")},style:{width:`${a.sp5}`,height:`${a.sp5}`,marginBottom:`${a.sp2}`},animationData:c,loop:!0,play:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}):null},te={invoiceNumber:e.transactionDetails?.documentId??"",invoiceDate:e.transactionDetails?.date,billDueDate:e.transactionDetails?.dueDate,memo:e.transactionDetails?.memo,currencyCode:e.vendorCurrency??ht.currencyCode},ye=e.transactionDetails?.lines?.map((c,h)=>{const B=c;return{lineIndex:h,lineId:B.id,account:B.account,class:B.class,amount:B.amount.amount,billable:B.billable,customer:B.customer,lineDescription:B.lineDescription,recipientAmount:B.recipientAmount?.amount}})??[],bn=e.transactionDetails?.recipientTotalAmount.amount??0,he=e.transactionDetails?.recipientTotalAmount,s={paymentType:e.paymentMethodType,paymentDate:e.transactionDetails?.billPayInfo.paymentDate,internationalTransferFeeBearerPaymentMethod:e.transactionDetails?.billPayInfo.internationalTransferFeeBearerPaymentMethod,paymentToBankAccount:e.bankAccount,paymentToPI:e.paymentInstrument},D=m.labelWidth.value(l),xn=c=>c==="billable"||c==="has_been_billed"?n.yes:n.no,gn=s.paymentToBankAccount?.bankAccountNumber?s.paymentToBankAccount?.bankAccountNumber?.slice(s.paymentToBankAccount?.bankAccountNumber?.length-4):s.paymentType?.method?.includes("international")&&s.paymentToBankAccount?.bankAccountIban?s.paymentToBankAccount?.bankAccountIban?.slice(s.paymentToBankAccount?.bankAccountIban.length-4):"",fn=s.paymentToBankAccount?.bankAccountName!=null&&s.paymentToBankAccount?.bankAccountName!=""?s.paymentToBankAccount?.bankAccountName:`${e.transactionDetails?.vendor?.name} - ${s.paymentToBankAccount?.bankName} XXXX${gn}`,wn=e.transactionDetails?.billPayInfo?.isCollectToAccountInfoFromVendorContact?t.jsxs(t.Fragment,{children:[`${n.magicLink.collectFrom} ${e.transactionDetails?.billPayInfo?.toAccountVendorEmail}`,t.jsx(ci,{windowSize:l,children:t.jsx(di,{})})]}):void 0,Xe=e.transactionDetails?.date!=null&&e.transactionDetails.bookCloseDate!=null&&e.transactionDetails.date.isBefore(e.transactionDetails.bookCloseDate),Tn=()=>`${xt.achDetails.bankRoutingNumber} ${s?.paymentToBankAccount?.bankRoutingNumberAch}, ${s?.paymentToBankAccount?.bankName}
2
+ ${xt.achDetails.bankAccountNumber} ${s?.paymentToBankAccount?.bankAccountNumber}`,ne=e.transactionDetails?.billPayInfo!=null?E.getActualPaymentDate(e.transactionDetails?.billPayInfo):void 0,vn=ne!=null&&e.paymentMethodType?.maxPeriod?.value!=null?E.zeniDate(E.getNextNthWorkingDay(ne?.toDate(),[0,6],e.paymentMethodType?.maxPeriod.value).toDateString()):void 0,qe=e.transactionDetails?.billPayInfo.expectedDepositDate??vn,Je=it(s?.paymentType?.method??"").replace("Same Day",""),Dn=(s?.paymentToBankAccount!=null||s?.paymentToPI)!=null?n.addedByZeni:e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact?t.jsx(Vn,{paymentTypeLabel:Je,onClick:rn,style:{marginTop:`${l==="small"?a.sp2:a.sp0}`}}):void 0,$n=()=>s?.paymentToBankAccount==null&&s?.paymentToPI==null&&s?.paymentType?.method!=null&&e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact&&e.transactionDetails?.billPayInfo.paymentDate!=null?t.jsx(wa,{paymentType:s?.paymentType?.method,paymentDate:e.transactionDetails?.billPayInfo.paymentDate}):null,be=!(v?.code==="processing"||e.transactionDetails?.billPayInfo.isRefundInitiated===!0||e.transactionDetails?.billPayInfo.isRefundComplete===!0),xe=e.zeniAssist?.isEligibleForRetryIBT===!0||e.zeniAssist?.isEligibleForRetryOBP===!0,ge=e.zeniAssist?.isEligibleForRefund===!0,jn=e?.transactionDetails?.billPayInfo.billPaymentMethodType.code==="wire"&&e?.transactionDetails?.billPayInfo.billPaymentMethodType.subCode==="international",In=Et&&e.transactionDetails?.billPayInfo.billPaymentStatus.code!=null&&["failed","cancelled","returned"].includes(e.transactionDetails.billPayInfo.billPaymentStatus.code)&&(xe||ge)&&jn===!1,fe=xe||ge,An=e.transactionDetails?.billPayInfo.isRefundInitiated===!0&&e.transactionDetails?.billPayInfo.isRefundComplete===!1,we=v?.code,kn=!An&&(!Xe||v?.code==="processing"&&!M),Sn=!Xe,et=["small","medium-compact","medium-regular"].includes(l),ae=E.isBulkProcessing(e.transactionDetails?.bulkProcessingDetail?.type),L=E.isPaymentMethodOutsideZeni(e.paymentMethodType?.method),Cn=c=>{z.trackBillPayMarkAsPaidSubmit(c.paymentMode??"other",k?.code??"",v?.code??""),Yt(!0,Ve,c)},tt=()=>{Ke(!0),z.trackBillPayMarkAsPaid(k?.code??"",v?.code??"")},Pn=()=>{Ye(!0),tt()},Bn=()=>{Gt(),Ke(!1),Ve&&Ye(!1)},Rn=p.useMemo(()=>({companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,entityType:"bill.details",entityId:y??d,isGlobalComment:!1,application:"dashboard",tab:"bill",url:window.location.href}),[o.currentTenant,y]),W=_t&&e.transactionDetails?.totalAmountWithFeesInUSD!=null&&k?.code!=="paid"&&v?.code!=="failed"&&v?.code!=="processing"&&v?.code!=="cancelled"&&v?.code!=="returned"&&v?.code!=="rejected"?Yn(e.transactionDetails?.totalAmountWithFeesInUSD,e.withdrawFrom,s.paymentDate):void 0,nt=()=>{_e("approved"),Le===!0&&Q(!1),W!=null&&z.trackLowBalanceAccountApprove(k?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",yt(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),Re({billId:e.transactionDetails?.id??"",type:"approved"})},zn=()=>{_e("rejected"),W!=null&&z.trackLowBalanceAccountReject(k?.code??"",e.transactionDetails?.billPayInfo.billPaymentStatus.code??"",e.isRecurring?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??"",yt(o.loggedInUser),e.withdrawFrom?.accType==="depositAccount"?"ZA":"External Account"),ce(!0)},at=p.useRef(null);return t.jsxs(Qa,{windowSize:l,ref:at,children:[t.jsx(Gn,{anchor:"right",open:ln,onClose:Ge,transitionDuration:250,"data-testid":b("vendor-email-preview-drawer"),children:t.jsx(Hn,{companyName:Qn(g.company?.companyInfo),vendor:e.transactionDetails?.vendor?.name,paymentDate:s.paymentDate?.format(ve)??"",paymentType:Je,amount:Ae("0,0.[00]",he),isInvoiceAttached:!!e.transactionDetails?.attachments?.length,onClose:Ge})}),t.jsxs(ei,{windowSize:l,children:[t.jsx(ui,{windowSize:l,children:l==="small"?t.jsx(lt,{"data-testid":b("bill-detail-nav-bar-mobile"),title:t.jsxs(t.Fragment,{children:[ue,e.isRecurring?t.jsx(Ie,{width:a.sp4,height:a.sp4}):null]}),backgroundColor:Ne.colors.grey4,rightSideComponent:t.jsxs(jt,{windowSize:l,children:[f?t.jsxs(Pt,{isDisabled:P,"data-testid":b("bill-comment-button"),onClick:P?()=>null:c=>{c.preventDefault(),c.stopPropagation(),V(!0),z.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(h=>rt(h)),void 0,void 0,"page icon")},children:[t.jsx(ot,{count:P?void 0:We,isLoading:P,style:{left:"12px"}}),t.jsx(Bt,{})]}):null,t.jsx(It,{onClick:()=>J(),"data-testid":b("bill-detail-nav-bar-small-close-button"),children:t.jsx($t,{})})]}),leftSideComponent:t.jsx(Dt,{windowSize:l,onClick:Me,"data-testid":b("bill-detail-nav-bar-small-back-button"),style:{visibility:`${Ce?"visible":"hidden"}`},children:t.jsx(vt,{})}),source:"BillDetailPage"}):t.jsx(lt,{"data-testid":b("bill-detail-nav-bar"),title:t.jsxs(t.Fragment,{children:[ue,e.isRecurring?t.jsx(Ie,{width:a.sp4,height:a.sp4}):null]}),rightSideComponent:t.jsxs(jt,{windowSize:l,children:[f?t.jsxs(Pt,{isDisabled:P,"data-testid":b("bill-comment-button"),onClick:P?()=>null:c=>{c.preventDefault(),c.stopPropagation(),V(!0),z.trackCommentActivity("bill","clicked",o.currentTenant?.companyName??"",o.controllersList.controllers.map(h=>rt(h)),void 0,void 0,"page icon")},children:[t.jsx(ot,{count:P?void 0:We,isLoading:P,style:{left:"12px"}}),t.jsx(Bt,{})]}):null,t.jsx(It,{onClick:()=>J(),"data-testid":b("bill-detail-nav-bar-close-button"),children:t.jsx($t,{})})]}),leftSideComponent:t.jsx(Dt,{windowSize:l,onClick:Me,"data-testid":b("bill-detail-nav-bar-back-button"),style:{visibility:`${Ce?"visible":"hidden"}`},children:t.jsx(vt,{})}),enableTitleOnScroll:!0,scrollableContent:at,source:"BillDetailPage"})}),t.jsxs(ti,{windowSize:l,children:[Le?t.jsx(Aa,{withdrawFrom:e.withdrawFrom,paymentDate:e?.transactionDetails?.billPayInfo.paymentDate,onOkClick:nt,onCancelClick:()=>{Q(!1),Qe()},onClickAway:()=>{Q(!1)}}):null,on?t.jsx(ka,{onCancel:Bn,onProceedForMarkAsPaid:Cn,saveDetailsFetchState:e.billSaveStatus,paymentData:e.outsideZeniPaymentInfo}):null,Jt||re?t.jsx(st,{titleComponent:t.jsx(ct,{children:N.title}),descriptionComponent:t.jsx(dt,{children:N.description}),primaryButtonText:N.primaryButtonText,proceedButtonVariant:re?"primary":"danger",secondaryButtonText:N.secondaryButtonText,action:un,isEditPopup:!0,isLoading:e.zeniAssist?.refundStatus.fetchState==="In-Progress",children:re?Oa(l,e):null}):null,en?t.jsx(st,{titleComponent:t.jsx(ct,{children:n.rejectBillTitlePrefix+" "+(e.transactionDetails?.vendor?.name!=null?e.transactionDetails.vendor.name:"")}),descriptionComponent:t.jsx(dt,{children:n.rejectBillDescription}),primaryButtonText:n.send,secondaryButtonText:n.cancel,action:yn,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:n.rejectBillReasonPlaceholder}):null,l!=="small"||S?t.jsxs(ai,{windowSize:l,children:[l!=="small"?t.jsxs(ii,{windowSize:l,children:[ue,e.isRecurring?t.jsx(Ie,{height:a.sp5,width:a.sp5}):null]}):null,_&&S!=null&&S.code==="deleted"?t.jsx(At,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):S?.value===ke.tabsById.overdue?t.jsx(At,{color:S.color,bgColor:S.bgColor,borderColor:S.borderColor,children:S.value}):null]}):null,F!=null&&F.code?l==="small"?t.jsx(Xn,{progressSectionObj:F,createDate:e.transactionDetails?.createTime,paymentDate:qe,scheduleDate:ne,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):t.jsx(qn,{progressSectionObj:F,createDate:e.transactionDetails?.createTime,paymentDate:qe,scheduleDate:ne,approvedDate:e.latestApprovedDate,isFrozen:e.transactionDetails?.isDeleted}):null,Ea(ae,e,W),t.jsx(Jn,{sectionId:ea,currentVendorOption:{defaultOptions:[]},billId:y,isBillPayCommentingEnabled:Se,isBillPaid:me,disableVendorActions:!0,vendor:e.transactionDetails?.vendor,prevBills:e.previousBills,onAttachmentClick:ze,isVendorRecommendationEnabled:!1,showVendorGptRecommendationText:!1}),s.paymentType?.method?.includes("ach"),t.jsxs($e,{children:[t.jsx(je,{children:n.whatForTitle}),t.jsxs(De,{children:[t.jsx($,{isThreadAllowed:f,entityId:y,dashboardTabKey:I({type:"details",key:"invoiceNumber"}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${j("invoiceNumber")}`},children:t.jsx(A,{label:{label:n.invoiceNumber,width:D},text:te.invoiceNumber??C,style:{width:"auto"}})}),t.jsx(R,{}),t.jsx($,{isThreadAllowed:f,entityId:y,dashboardTabKey:I({type:"details",key:"invoiceDate"}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${j("invoiceDate")}`},children:t.jsx(A,{label:{label:n.invoiceDate,width:D},text:te.invoiceDate?.format(ve)??C,style:{width:"auto"}})}),t.jsx(R,{}),t.jsx($,{isThreadAllowed:f,entityId:y,dashboardTabKey:I({type:"details",key:"billDueDate"}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${j("billDueDate")}`},children:t.jsx(A,{label:{label:n.billDueDate,width:D},text:te.billDueDate?.format(ve)??C,style:{width:"auto"}})}),t.jsx(R,{}),t.jsx($,{isThreadAllowed:f,entityId:y,dashboardTabKey:I({type:"details",key:"memo"}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${j("memo")}`},children:t.jsx(A,{label:{label:n.memo,width:D},text:te.memo??C,style:{width:"auto"}})})]})]}),t.jsxs($e,{children:[t.jsx(ni,{windowSize:l,children:t.jsx(je,{children:n.lineItemsTitle})}),ye.length>0?ye.map((c,h)=>{const B=e?.transactionDetails?.lines?.find(Mn=>Mn.id===c.lineId)?.recipientAmount;return t.jsxs(Xa,{children:[ye.length>1?t.jsx(qa,{windowSize:l,children:t.jsx(Ja,{windowSize:l,children:`${n.line} # ${h+1}`})}):null,t.jsxs(De,{children:[t.jsx($,{isThreadAllowed:f,entityId:y,dashboardTabKey:I({type:"details",key:`${h}.recipientAmount`}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${j("recipientAmount",h)}`},children:t.jsx(A,{label:{label:n.amount,width:D},text:B!=null?Ae("0,0[.]00",B):C,style:{width:"auto"}})}),t.jsx(R,{}),t.jsx($,{isThreadAllowed:f,entityId:y,dashboardTabKey:I({type:"details",key:`${h}.lineDescription`}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${j("lineDescription",h)}`},children:t.jsx(A,{label:{label:n.description,width:D},text:c.lineDescription??C,style:{width:"auto"}})}),t.jsx(R,{}),t.jsx($,{isThreadAllowed:f,entityId:y,dashboardTabKey:I({type:"details",key:`${h}.account`}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${j("account",h)}`},children:t.jsx(A,{label:{label:n.category,width:D},text:c.account?.accountName??C,style:{width:"auto"}})}),t.jsx(R,{}),t.jsx($,{isThreadAllowed:f,entityId:y,dashboardTabKey:I({type:"details",key:`${h}.class`}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${j("class",h)}`},children:t.jsx(A,{label:{label:n.class,width:D},text:c.class?.className??C,style:{width:"auto"}})}),t.jsx(R,{}),t.jsx($,{isThreadAllowed:f,entityId:y,dashboardTabKey:I({type:"details",key:`${h}.billable`}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${j("billable",h)}`},children:t.jsx(A,{label:{label:n.billable,width:D},text:c.billable!=null?xn(c.billable):C,style:{width:"auto"}})}),t.jsx(R,{}),t.jsx($,{isThreadAllowed:f,entityId:y,dashboardTabKey:I({type:"details",key:`${h}.customer`}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${j("customer",h)}`},children:t.jsx(A,{label:{label:n.customer,width:D},text:c.customer?.name??C,style:{width:"auto"}})})]})]},h)}):null]}),t.jsxs(li,{windowSize:l,children:[t.jsx(oi,{children:n.total}),t.jsx(ri,{children:he!=null?t.jsx(ta,{amount:he,integerStyles:pt.h6Medium.cssObject,decimalStyles:pt.standardMedium.cssObject}):C})]}),t.jsxs($e,{children:[t.jsx(je,{children:n.paymentDetailsTitle}),t.jsxs(De,{children:[L?null:t.jsxs(t.Fragment,{children:[t.jsx($,{isThreadAllowed:f,entityId:y,dashboardTabKey:I({type:"details",key:"withdrawFrom"}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${j("withdrawFrom")}`},children:t.jsx(A,{label:{label:n.withdrawFrom,width:D},text:e.withdrawFrom!=null?Rt(e.withdrawFrom,l):d,style:{width:"auto"},additionalInfoLabelStyles:{textAlign:"right",paddingRight:m.infoLabelPaddingRight.valuePx(l),marginTop:m.infoLabelMarginTop.valuePx(l),color:ie.brandColorGoldDark},additionalInfoLabel:W!=null&&k?.code==="pending_approval"?Nt.addMoney:W})}),t.jsx(R,{})]}),t.jsx($,{isThreadAllowed:f,entityId:y,dashboardTabKey:I({type:"details",key:"paymentType"}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${j("paymentType")}`},children:t.jsx(A,{additionalInfoLabel:s.paymentType?.method!=null&&s.paymentType.method.includes(E.NEW_INTERNATIONAL_METHOD_SUBTEXT)&&Lt&&s.internationalTransferFeeBearerPaymentMethod!=null?t.jsx(Za,{children:na(s.internationalTransferFeeBearerPaymentMethod)}):void 0,label:{label:n.paymentMethod,width:D},text:L&&e.outsideZeniPaymentInfo!=null?La(e.outsideZeniPaymentInfo):it(s.paymentType?.method??""),style:{width:"auto"}})}),L?null:t.jsxs(t.Fragment,{children:[t.jsx(R,{}),t.jsx($,{isThreadAllowed:f,entityId:y,dashboardTabKey:I({type:"details",key:"paymentTo"}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${j("paymentTo")}`},children:t.jsxs(t.Fragment,{children:[t.jsx(A,{label:{label:n.paymentTo,width:D},text:s.paymentToBankAccount!=null?fn:s.paymentToPI!=null?s.paymentToPI.displayText:wn,style:{width:"auto"},showEyeIcon:s.paymentToBankAccount!=null&&!!s.paymentType?.method?.includes("ach"),showAdditionalInfoLabel:!!e.transactionDetails?.billPayInfo.isCollectToAccountInfoFromVendorContact||s.paymentType?.method?.includes("ach"),tooltipText:Tn(),additionalInfoLabel:t.jsx(Wa,{children:Dn})}),$n()]})})]}),L||e.isRecurring?t.jsxs(t.Fragment,{children:[t.jsx(R,{}),t.jsx($,{isThreadAllowed:f,entityId:y,dashboardTabKey:I({type:"details",key:"recurringPaymentType"}),roomId:T,companyId:o.currentTenant?.companyId??d,companyName:o.currentTenant?.companyName??d,dashboardOptionType:"bill",filterMetaData:{...w,entityType:`bill.details.${j("recurringPaymentType")}`},children:t.jsxs(t.Fragment,{children:[t.jsx(A,{label:{label:n.paymentType,width:D},labelStyles:{marginRight:m.labelMarginRight.valuePx(l)},style:{width:"auto"},text:ia(e.isRecurring,L,e.transactionDetails?.recurringBillInstance??1,e.recurringBillConfigDetail?.totalPaymentCycles??0),textStyles:{paddingLeft:m.textPadding.valuePx(l),paddingRight:m.textPadding.valuePx(l)},additionalInfoLabel:aa(l,e.isRecurring,L,e.recurringBillConfigDetail),additionalInfoLabelStyles:{paddingRight:m.paddingRight.valuePx(l),marginTop:m.additionalTextMarginTop.valuePx(l)}}),e.recurringBillInstances!=null&&e.recurringBillInstances.length>0?t.jsx(pi,{style:{paddingLeft:m.recurringSchedulePaddingLeft.valuePx(l)},children:t.jsx(la,{onAttachmentClick:ze,currencySymbol:e.transactionDetails?.recipientTotalAmount.currencySymbol??ht.currencySymbol,recurringBillInstances:e.recurringBillInstances})}):null]})})]}):null]})]}),e.transactionDetails&&e.transactionDetails.id&&t.jsx(oa,{amount:bn,activities:e.billActivities,stage:k?.code??"draft",onAddNewRule:Vt,entity:"bill_pay",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,allAccountingClass:e.allAccountingClasses,vendorOwnerId:e.vendorOwnerId??"",isAdmin:Ot,signedInUserId:le?.userId,showRealTimeApproval:Ft,entityApprovalId:e.billActivities[0]?.entityApprovalId??e.transactionDetails.entityApprovalId,updateEditMode:Ht,onSaveRealTimeApprovals:Qt},historicActivities:e.billHistory.activities}),t.jsx(si,{})]}),e.transactionDetails?.vendor!=null&&!me&&!e.transactionDetails.isDeleted?t.jsx(ra,{separatorStyle:{marginRight:a.sp4},showPrimaryButton:U||x,showCancel:!U&&x,cancelBtn:{label:et?n.buttons.reject:n.buttons.rejectBill,isLoading:Ze==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:zn,style:{width:m.footerButtonWidth.value(l)},reverseSpinnerColor:!1},primaryBtn:{label:Fa(U,et),isLoading:Ze==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:U?tt:()=>{W!=null?Q(!0):nt()},isDisabled:e.billSaveStatus==="In-Progress"||e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0,style:{width:U?"auto":m.footerButtonWidth.value(l)}},rightSideComponent:t.jsx(_a,{children:t.jsxs(Ha,{windowSize:l,children:[!ae&&Oe?t.jsx(mt,{onClickAway:()=>{oe(!1),de(!1)},children:t.jsxs(Tt,{windowSize:l,"data-testid":b("bill-actions-container"),children:[we!=="processing"?t.jsx(Z,{onClick:dn,"data-testid":b("delete-bill-action-item"),children:n.buttons.deleteBill}):null,we==="processing"&&!M?t.jsx(Z,{onClick:cn,"data-testid":b("cancel-bill-action-item"),children:n.buttons.cancel}):null,we==="processing"&&Sn?t.jsx(Z,{onClick:pn,"data-testid":b("cancel-and-delete-bill-action-item"),children:n.buttons.cancelAndDelete}):null,x&&L&&Wt?t.jsx(Z,{onClick:Pn,"data-testid":b("mark-as-paid-action-item"),children:n.paymentOutsideZeni.markAsPaid}):null]})}):null,Fe?t.jsx(mt,{onClickAway:()=>{oe(!1),de(!1)},children:t.jsxs(Tt,{windowSize:l,"data-testid":b("bill-actions-with-zeni-assist-container"),children:[xe?t.jsx(Z,{onClick:()=>{z.trackRetryClick(v?.code??"",k?.code??"",F?.description??"",M?["Recurring"]:["One-Time"],e.transactionDetails?.documentId??""),Xt()},"data-testid":b("retry-bill-action-item"),children:n.buttons.retry}):null,ge?t.jsx(Z,{onClick:mn,"data-testid":b("refund-bill-action-item"),children:n.buttons.refund}):null]})}):null,t.jsxs(Ga,{windowSize:l,children:[In===!0?t.jsx(Te,{enterDelay:600,style:{color:ie.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:fe?n.zeniAssist.tooltip:n.zeniAssist.connectToTeamTooltip,placement:"top",maxWidth:"267px",children:t.jsx(wt,{windowSize:l,showEditIcon:be,isIconClickable:fe,"data-testid":b("other-actions-icon-container"),children:fe?t.jsx(hn,{}):t.jsx(Ka,{})})}):null,!ae&&be===!0?t.jsx(Te,{enterDelay:600,style:{color:ie.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:za,placement:"top",children:t.jsx(Ya,{onClick:Qe,"data-testid":b("edit-bill-icon-container"),children:t.jsx(Va,{})})}):null,!ae&&kn===!0?t.jsx(Te,{enterDelay:600,style:{color:ie.heroDark,padding:`2px ${a.sp2}`},display:"flex",title:Ra,placement:"top",children:t.jsx(wt,{windowSize:l,showEditIcon:be,isIconClickable:!0,"data-testid":b("more-details-icon-container"),children:t.jsx(Ua,{onClick:()=>oe(!Oe)})})}):null]})]})}),style:{minHeight:62}}):null]}),f?t.jsx(Ia,{id:T,children:t.jsx(sa,{isDrawerOpen:nn,allowComposer:!0,drawerTitle:Ma,threads:Y,filter:w,autoExpand:!0,autoFocus:!1,isLoading:P,textOverrides:{composerPlaceholder:gt.addANewComment,replyComposerPlaceholder:gt.replyAComment,threadResolve:ft.resolveComment,threadUnResolve:ft.unResolveComment},threadMetadata:Rn,onThreadClick:an,onCloseAllThreadsDrawer:()=>V(!1),drawerSectionStyle:{width:l==="small"?"100%":"400px",boxSizing:l==="small"?"border-box":"content-box",padding:`${a.sp0} ${m.drawerSectionPaddingLeftRight.valuePx(l)}`,backgroundColor:Ne.colors.background},collapsibleThreadStyle:{width:l==="small"?"100%":"360px"}})}):null]})},Na=(e,g)=>{const x=e?.code;if(e!=null&&x!=null)return g?.isDeleted===!0?{value:ke.tabsById.deleted,color:O.deleted.color,bgColor:O.deleted.bgColor,borderColor:O.deleted.borderColor,code:"deleted"}:x==="pending_approval"&&g?.dueDate?.isBefore(E.dateNow(),"date")===!0?{value:ke.tabsById.overdue,color:O.overdue.color,bgColor:O.overdue.bgColor,borderColor:O.overdue.borderColor}:{value:e.name,color:O[x].color,bgColor:O[x].bgColor,borderColor:O[x].borderColor}},Oa=(e,g)=>{const x=g.transactionDetails?.recipientTotalAmount;return t.jsxs(mi,{windowSize:e,children:[t.jsxs(kt,{windowSize:e,children:[t.jsx(St,{children:n.zeniAssist.accountNumber}),t.jsx(Ct,{children:g.withdrawFrom!=null?Rt(g.withdrawFrom,e):d})]}),t.jsxs(kt,{windowSize:e,children:[t.jsx(St,{children:n.zeniAssist.amount}),t.jsx(Ct,{children:x!=null?Ae("0,0[.]00",x):C})]})]})},Fa=(e,g)=>e?n.paymentOutsideZeni.markAsPaid:g?n.buttons.approve:n.buttons.approveBill,La=e=>{const g=e.paymentMode,x=n.paymentOutsideZeni.offline;if(g==null||g==="other")return x;const _=n.paymentOutsideZeni.paymentModeOptions.find(le=>le.value===g)?.label;return`${x} ${Ba} ${_}`},Ea=(e,g,x)=>{if(e)return t.jsx(ut,{variant:"warning",style:{marginTop:a.sp5,marginBottom:a.sp3},title:bt.duplicateWarning.title,description:bt.duplicateWarning.description});if(x!=null){const _=`${g.withdrawFrom?.label??""} ${g.withdrawFrom?.maskedAccountNumber??""}`;return t.jsx(ut,{variant:"low-balance",style:{marginTop:a.sp2,marginBottom:a.sp3},title:`${Nt.lowBalanceIn.replace("__account__",_)}`,description:x.replace("Low balance! ","")})}else return null},Wa=i.div``,Za=i.div``,_a=i.div`
3
3
  display: flex;
4
4
  justify-content: flex-end;
5
- `,Ka=i(ja)`
5
+ `,Ua=i($a)`
6
6
  cursor: pointer;
7
7
  color: ${e=>e.theme.colors.hero};
8
8
  width: ${a.sp4};
@@ -18,7 +18,7 @@ import{K as Nn,z as Fn,u as On,cp as En,ge as Ln,co as Wn,cu as _n,bF as Zn,a2 a
18
18
  &:hover {
19
19
  color: ${e=>e.theme.colors.primary};
20
20
  }
21
- `,Ua=i(Sa)`
21
+ `,Ka=i(Sa)`
22
22
  color: ${e=>e.theme.colors.hero};
23
23
  width: ${a.sp5};
24
24
  height: ${a.sp5};
@@ -34,7 +34,7 @@ import{K as Nn,z as Fn,u as On,cp as En,ge as Ln,co as Wn,cu as _n,bF as Zn,a2 a
34
34
  &:hover {
35
35
  color: ${e=>e.theme.colors.primary};
36
36
  }
37
- `,qa=i.div`
37
+ `,Ya=i.div`
38
38
  display: flex;
39
39
  cursor: pointer;
40
40
  color: ${e=>e.theme.colors.grey1};
@@ -71,7 +71,7 @@ import{K as Nn,z as Fn,u as On,cp as En,ge as Ln,co as Wn,cu as _n,bF as Zn,a2 a
71
71
  right: ${e=>m.actionsContainerRight.valuePx(e.windowSize)};
72
72
  height: 100%;
73
73
  display: flex;
74
- `,_=i(Mt)`
74
+ `,Z=i(Mt)`
75
75
  display: flex;
76
76
  align-items: center;
77
77
  width: 100%;
@@ -94,7 +94,7 @@ import{K as Nn,z as Fn,u as On,cp as En,ge as Ln,co as Wn,cu as _n,bF as Zn,a2 a
94
94
  margin-top: ${e=>m.marginTop.valuePx(e.windowSize)};
95
95
  display: flex;
96
96
  align-items: center;
97
- `,jt=i(ma)`
97
+ `,$t=i(ma)`
98
98
  cursor: pointer;
99
99
  width: ${a.sp4};
100
100
  height: ${a.sp4};
@@ -102,18 +102,18 @@ import{K as Nn,z as Fn,u as On,cp as En,ge as Ln,co as Wn,cu as _n,bF as Zn,a2 a
102
102
  &:hover {
103
103
  color: ${e=>e.theme.colors.primary};
104
104
  }
105
- `,It=i.div`
105
+ `,jt=i.div`
106
106
  display: flex;
107
107
  flex-direction: row;
108
108
  align-items: center;
109
109
  gap: ${e=>m.rightIconsGap.valuePx(e.windowSize)};
110
110
  margin-top: ${e=>m.closeContainerMarginTop.valuePx(e.windowSize)};
111
- `,$t=i.div`
111
+ `,It=i.div`
112
112
  float: right;
113
113
  width: ${a.sp4};
114
114
  height: ${a.sp4};
115
115
  display: flex;
116
- `,Ya=i.div`
116
+ `,Qa=i.div`
117
117
  height: 100%;
118
118
  overflow: scroll;
119
119
  `,De=i.div`
@@ -124,11 +124,11 @@ import{K as Nn,z as Fn,u as On,cp as En,ge as Ln,co as Wn,cu as _n,bF as Zn,a2 a
124
124
  box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
125
125
  border-radius: ${a.sp2};
126
126
  margin: ${a.sp3} 0;
127
- `,je=i.div`
127
+ `,$e=i.div`
128
128
  display: flex;
129
129
  flex-direction: column;
130
130
  padding-top: ${a.sp3};
131
- `,Ja=i.div``,Ie=i(xa)`
131
+ `,Xa=i.div``,je=i(xa)`
132
132
  color: ${e=>e.theme.colors.primary};
133
133
  `,R=i.div`
134
134
  display: flex;
@@ -136,14 +136,14 @@ import{K as Nn,z as Fn,u as On,cp as En,ge as Ln,co as Wn,cu as _n,bF as Zn,a2 a
136
136
  background-color: ${e=>e.theme.colors.grey3};
137
137
  min-height: 1px;
138
138
  max-height: 1px;
139
- `,Qa=i(ga)`
139
+ `,qa=i(ga)`
140
140
  display: flex;
141
141
  align-items: center;
142
142
  justify-content: space-between;
143
143
  color: ${e=>e.theme.colors.champion};
144
144
  margin-top: ${a.sp2};
145
145
  height: 31px;
146
- `,Xa=i(fa)`
146
+ `,Ja=i(fa)`
147
147
  color: ${e=>e.theme.colors.champion};
148
148
  `,ei=i.div`
149
149
  display: flex;
@@ -219,7 +219,7 @@ import{K as Nn,z as Fn,u as On,cp as En,ge as Ln,co as Wn,cu as _n,bF as Zn,a2 a
219
219
  margin-left: ${a.sp2};
220
220
  margin-top: ${e=>m.iconContainerMarginTop.valuePx(e.windowSize)};
221
221
  align-self: center;
222
- `,$e=i(ua)`
222
+ `,Ie=i(ua)`
223
223
  margin-left: ${a.sp2};
224
224
  color: ${e=>e.theme.colors.hero};
225
225
  `,pi=i.div``,mi=i.div`
@@ -234,7 +234,7 @@ import{K as Nn,z as Fn,u as On,cp as En,ge as Ln,co as Wn,cu as _n,bF as Zn,a2 a
234
234
  `,St=i(Mt)`
235
235
  text-align: left;
236
236
  color: ${e=>e.theme.colors.grey1};
237
- `,Ct=i(Ia)`
237
+ `,Ct=i(ja)`
238
238
  justify-content: end;
239
239
  display: flex;
240
240
  flex: 1;
@@ -263,4 +263,4 @@ import{K as Nn,z as Fn,u as On,cp as En,ge as Ln,co as Wn,cu as _n,bF as Zn,a2 a
263
263
  top: 0px;
264
264
  width: ${e=>m.navBarContainerWidth.valuePercentage(e.windowSize)};
265
265
  z-index: 3;
266
- `;export{ji as default};
266
+ `;export{$i as default};