@zeniai/web-cockpit-ui 1.13.86-dev → 1.13.86-next

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 (220) hide show
  1. package/dist/assets/{ACHDetailsPage-DGGeHZnW-CRRXdkuL.js → ACHDetailsPage-DGGeHZnW-DfPQU9W7.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BnFh61HC-DG1jrKEt.js → AIPerformancePage-BnFh61HC-BDJP7hKH.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-BoCzcaQW-DXC6zcEv.js → AccountInfoPage-BoCzcaQW-Cz54MNWe.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-C4VpFgc_-DvP6xZz-.js → AccountInfoPageContent-C4VpFgc_-ZkxufvWf.js} +1 -1
  5. package/dist/assets/{AccountReconDetailsDrawerPage-DJmFBJve-DvtbeSb_.js → AccountReconDetailsDrawerPage-DJmFBJve-DCUjPvUG.js} +1 -1
  6. package/dist/assets/{AccountRow-vtPa0PJn-DyxPucxT.js → AccountRow-vtPa0PJn-CzZFyOwn.js} +1 -1
  7. package/dist/assets/{AccountsPromoCardStack-D5elLwcD-DFP5ej-L.js → AccountsPromoCardStack-D5elLwcD-Gbgzn4YX.js} +1 -1
  8. package/dist/assets/{AddAddressForCardDrawer-D9uW1sU2-CyIurqG5.js → AddAddressForCardDrawer-D9uW1sU2-CXwxcVuW.js} +1 -1
  9. package/dist/assets/{AddToWalletPage-D3yOWwc3-Dt5WZtr8.js → AddToWalletPage-D3yOWwc3-DqzRClNK.js} +1 -1
  10. package/dist/assets/{AgingReportsPage-DlB02nzb-DT1hA1_s.js → AgingReportsPage-DlB02nzb-bxpHnPLL.js} +1 -1
  11. package/dist/assets/{AllUserItems-Bwbb5_fm-BcHqhbO0.js → AllUserItems-Bwbb5_fm-C2ZgB4xw.js} +1 -1
  12. package/dist/assets/{ApAgingDetailPage-Bhf_ygxm-DDVphjYY.js → ApAgingDetailPage-Bhf_ygxm-B3oFTQKO.js} +1 -1
  13. package/dist/assets/{AppBasePage-DyGLpjZ0-DttRVXyT.js → AppBasePage-DyGLpjZ0-D5aNLFI0.js} +1 -1
  14. package/dist/assets/{AppDrawerContent-D_dlUPFp-BL5bhrHC.js → AppDrawerContent-D_dlUPFp-Db89Wo3l.js} +1 -1
  15. package/dist/assets/{ApprovalRulesSettingsPage-DLvGE0ND-DjcwfHKU.js → ApprovalRulesSettingsPage-DLvGE0ND-BC_HaqvF.js} +1 -1
  16. package/dist/assets/{ArAgingChart-CR7dx7XY-Cx6fMjBH.js → ArAgingChart-CR7dx7XY-Bt2_fckx.js} +1 -1
  17. package/dist/assets/{ArAgingDetailPage-kU_SEimL-B5vhsKkP.js → ArAgingDetailPage-kU_SEimL-Dw_H2XjC.js} +1 -1
  18. package/dist/assets/{AttachmentView-ClQPirg--D1d3_Uda.js → AttachmentView-ClQPirg---cL7N64B.js} +1 -1
  19. package/dist/assets/{BankAccountSection-DLB1oftk-DEn9rP2e.js → BankAccountSection-DLB1oftk-BsGhlZhg.js} +1 -1
  20. package/dist/assets/{BankAccountWarningSection-ClrNHLqo-NpMhaSfC.js → BankAccountWarningSection-ClrNHLqo-CMD3PwFS.js} +1 -1
  21. package/dist/assets/{BankConnectionsSettingsPage-D1w10U35-B0hA0qGz.js → BankConnectionsSettingsPage-D1w10U35-BcqI53ax.js} +1 -1
  22. package/dist/assets/{BillDetailPage-Bfrn4oa6-D2E_Tt5J.js → BillDetailPage-Bfrn4oa6-DcVwmfzr.js} +1 -1
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-DIzv3Xu9-yMWl3cpx.js → BillPayApprovalRuleDetailPage-DIzv3Xu9-DJIy4wLN.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-CPBknTMQ-BwSnwQg8.js → BillPayApprovalRulesPage-CPBknTMQ-BjHl4fje.js} +1 -1
  25. package/dist/assets/{BillPayPromoPage-CKETeVet-WnOIT8cc.js → BillPayPromoPage-CKETeVet-DBy-WJSC.js} +1 -1
  26. package/dist/assets/{BillPaySetUpPage-DIz-RZih-CC05m-y7.js → BillPaySetUpPage-DIz-RZih-PtXfinV6.js} +1 -1
  27. package/dist/assets/{BillingSettingsPage-Bm-IF_p7-8u0bw5ku.js → BillingSettingsPage-Bm-IF_p7-BOd1wrdr.js} +1 -1
  28. package/dist/assets/{BillsBulkReviewDrawerPage-CVAG78EK-BwPRAmgg.js → BillsBulkReviewDrawerPage-CVAG78EK-3V62mXNa.js} +1 -1
  29. package/dist/assets/{BoxItem-B8KF3Skh-TmzJmYZc.js → BoxItem-B8KF3Skh-BFRCZLbn.js} +1 -1
  30. package/dist/assets/{BusinessVerificationPage-Ctqy7ZwA-J8d6V6lT.js → BusinessVerificationPage-Ctqy7ZwA-BiyZbTUO.js} +1 -1
  31. package/dist/assets/{CardNumberSubText-CNiPWVeO-OlxmvVJt.js → CardNumberSubText-CNiPWVeO-CwCqJdzd.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-BNWBGKHa-bIlWYuwv.js → CashbackDetailPage-BNWBGKHa-CyuwgosV.js} +1 -1
  33. package/dist/assets/{ChargeCardDetailPage-BuCwlpLH-7rCG_cYb.js → ChargeCardDetailPage-BuCwlpLH-BI8PLbKX.js} +1 -1
  34. package/dist/assets/{ChargeCardListPage-CXbTalVQ-D381djUW.js → ChargeCardListPage-CXbTalVQ-BaOGkptA.js} +1 -1
  35. package/dist/assets/{ChargeCardListTable-D4-Br785-DpvUrE9e.js → ChargeCardListTable-D4-Br785-Bn92SKTt.js} +1 -1
  36. package/dist/assets/{ChargeCardPromoPage-BTfg7L28-D2O1yFJS.js → ChargeCardPromoPage-BTfg7L28-s6d0OI65.js} +1 -1
  37. package/dist/assets/{ChargeCardSetupPage-fy0EpA-m-DvURpcVh.js → ChargeCardSetupPage-fy0EpA-m-B7qV_gqe.js} +1 -1
  38. package/dist/assets/{ChargeCardStatementsPage-B_rdiq_Y-BAKafx8N.js → ChargeCardStatementsPage-B_rdiq_Y-Ch4NlR0_.js} +1 -1
  39. package/dist/assets/{ChargeCardUtils-CtoTn6DQ-C3z4uZjJ.js → ChargeCardUtils-CtoTn6DQ-ChSz2yaB.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-DfjQ73Ie-BOsM74a7.js → ChaseOverlay-DfjQ73Ie-D3Unw4TX.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-yUzhTMSu-DalHOQf6.js → CheckDepositDrawerPage-yUzhTMSu-BCMnWG_3.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CHsJ-93l-CZG5w07A.js → CollapsableReportTable-CHsJ-93l-C7aAORiO.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-BlUCDRW6-r-0kIc8i.js → CompanyOfficerDetailsSection-BlUCDRW6-nCI3zufr.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-DSRRu6RZ-D8WUh8RF.js → CompanyPassportCard-DSRRu6RZ-CozlHiNN.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-DpeoVbLk-CGE5gjRB.js → CompanyPassportPage-DpeoVbLk-anLtjJQW.js} +1 -1
  46. package/dist/assets/{CompleteProfile-BaTEooSW-C9pQ1jcL.js → CompleteProfile-BaTEooSW-mcLky6qI.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-C2engbkN-OYjDPreK.js → ConfettiBurst-C2engbkN-eu0r5pSF.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-CaIc3Tib-CiLHzKjL.js → CreateOrEditVendorPage-CaIc3Tib-Dda2cjIf.js} +1 -1
  49. package/dist/assets/{CreditCardPaymentDrawerPage-DEFrzmkG-BYyXj2cB.js → CreditCardPaymentDrawerPage-DEFrzmkG-_y0q7c19.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentPlgSection-IeRxDnG7-iIog9fs2.js → CreditCardPaymentPlgSection-IeRxDnG7-BbkKq9r1.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-DDiCwLn7-OV5xt8fQ.js → CurrencySelectField-DDiCwLn7-e71UXU5a.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-976y8y35-B5nrrrGQ.js → CustomerOnboardingActivationPage-976y8y35-24GlSvMP.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-DzzvTpfs-D6ptZaN3.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DYfidx87-rFt8SrGg.js → CustomerOnboardingDetailPageSkeleton-DYfidx87-Czx8C3hr.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-DrLZ3k77-DwEaFPCU.js → CustomerOnboardingNoStepsPage-DrLZ3k77-Cq2RjlOy.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-BiUXryld-DwfZXjsS.js → CustomerOnboardingPage-BiUXryld-Bz1KH0zz.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-CmHltdpN-Cb45Wbg-.js → CustomerOnboardingProductSuitePage-CmHltdpN-DjKWPXbr.js} +1 -1
  58. package/dist/assets/{Dashboard-B1UeMAoF-D-P-pMiu.js → Dashboard-B1UeMAoF-BfBR5uFn.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-DULpVd6J-B_d0ak7a.js → DashboardReportPage-DULpVd6J-BnLuQBcS.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-BEs_Al_8-DryszVsJ.js → DepositAccTransactionItem-BEs_Al_8-CHrMvfhS.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionListPage-CL8Rr3I4-3mitujdt.js → DepositAccTransactionListPage-CL8Rr3I4-NcljzDIu.js} +1 -1
  62. package/dist/assets/{DocumentSecurityBanner-BgKXBGg3-gTBQRSLd.js → DocumentSecurityBanner-BgKXBGg3-C273xq_s.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-CVKheLW6-Cp0cNoH9.js → DomesticWireDetailsPage-CVKheLW6-CBbVsVGf.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-cne9_fIV-BGdaHI5P.js → DownloadOverlay-cne9_fIV-ZXHoqyLJ.js} +1 -1
  65. package/dist/assets/{DrawerPage-B0mgBHB5-CQtDXw_Q.js → DrawerPage-B0mgBHB5-Da8y7NOx.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-DgVDgYlm-Cq7SpjxR.js → EditPeoplePage-DgVDgYlm-lSscEaII.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-DWhSkrJ7-DXfnlGXX.js → EditReimbursementDetailPage-DWhSkrJ7-BjTrMXFw.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-wnOA1SH7-aYV-tRku.js → EntityDetailPage-wnOA1SH7-3b9j4IBF.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-Q_UUVBaU-B-zx_bhC.js → EntitySummarySection-Q_UUVBaU-B2EYKBtb.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-BumrdlGf-BlGx5F5V.js → ExpenseAutomationOverviewPage-BumrdlGf-CJL9dwBI.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-DKjInf-x-DBua7HMI.js → ExpenseAutomationPage-DKjInf-x-C-f5HZN8.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-wwfao-Tr-Cll3aRZR.js → ExpressPayPage-wwfao-Tr-CCtN3xu2.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-DriDr9id-IfgJ91nt.js → FeaturePreviewPage-DriDr9id-qGHOAYa1.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-5025urr9-BhQV5Gxg.js → FollowStepsSection-5025urr9-DEuV4DrQ.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-BFjOsp4u-dTOZQfQK.js → GlobalReviewListPage-BFjOsp4u-DFHzFXwd.js} +1 -1
  76. package/dist/assets/{HelpButton-CzonsAOi-CLT44ucP.js → HelpButton-CzonsAOi-m3FKXj16.js} +1 -1
  77. package/dist/assets/{InformationCardStack-DrD-sWV8-D-viV3aR.js → InformationCardStack-DrD-sWV8-gVk2Ay2l.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-CFqfiCOY-DSgzQkhY.js → InsightsCardStack-CFqfiCOY-DLNTIF72.js} +1 -1
  79. package/dist/assets/{InsightsSection-CN1BVvSr-DiHzw0Zr.js → InsightsSection-CN1BVvSr-DjvD2RGi.js} +1 -1
  80. package/dist/assets/{IntegrationsSettingsPage-BBlKuJxA-Ax55qhbj.js → IntegrationsSettingsPage-BBlKuJxA-DVfYKi6N.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-f4DZUYIx-CPv4IcAC.js → InternationalWireSwiftDetailsPage-f4DZUYIx-BrSJUPyA.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-5WpkXxPC-B_ootlBy.js → InternationalWireVerificationPage-5WpkXxPC-DLBlUsjo.js} +1 -1
  83. package/dist/assets/{InviteFormPage-Bw2ykerx-B8sj-JFN.js → InviteFormPage-Bw2ykerx-BUDdIJBS.js} +1 -1
  84. package/dist/assets/{InvitePageListView-BHp1m02Z-DMdwrgsX.js → InvitePageListView-BHp1m02Z-xgFQV7JH.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-BnlUrpPG-D5Pb0NSX.js → InvitePeoplePage-BnlUrpPG-C8mMNn0p.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-B8Xsz6dM-CaDnzQOR.js → InvoiceUploadSection-B8Xsz6dM-Do7p2kFC.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-DYrMWSZg-BXFdUqlA.js → IssueChargeCardPage-DYrMWSZg-DEPy75po.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-kKgzA0is-V3nWJqwH.js → LabeledAddressValue-kKgzA0is-Df54eNr6.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-Bey_bvyv-WhcVyZpQ.js → LabeledAddressValueField-Bey_bvyv-C6LU3rGD.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-CKrD5nfN-BLAx8CgU.js → LabeledControlledCheckBoxField-CKrD5nfN-K0T8lZ8z.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-B3x1MZJr-CT42c88y.js → LabeledCreatableSingleSelectField-B3x1MZJr-zQo-uSvu.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-BKPP0tRe-BoY3MkE4.js → LabeledDocumentField-BKPP0tRe-8_VpQPbU.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-NsCaPjuf-BLoARtnk.js → LabeledDropDownFormattedTextField-NsCaPjuf-BXUujUcl.js} +1 -1
  94. package/dist/assets/{LabeledText-BUZXeSSr-BNwrdOLI.js → LabeledText-BUZXeSSr-D-R7sA4Z.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField--jmAGQy--CMARKL0a.js → LabeledUserSingleSelectWithSubtitlesField--jmAGQy--aaFk9xL-.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-Dt5MOz8L-BzDt2F5s.js → LabeledZeniRolesDropDownField-Dt5MOz8L-QdG1yNqH.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-DZZORFZw-hfr5eK-6.js → LinkJETransactionPage-DZZORFZw-BHnF5iQe.js} +1 -1
  98. package/dist/assets/{LowBalancePopup-BQYkTR6v-Dpy5Y7Om.js → LowBalancePopup-BQYkTR6v-DcTi6lLA.js} +1 -1
  99. package/dist/assets/{MagicLinkACHDetailsPage-B2TCqv5k-BD7w19c6.js → MagicLinkACHDetailsPage-B2TCqv5k-By4hXdqq.js} +1 -1
  100. package/dist/assets/{MagicLinkDomesticWireDetailsPage-D0Fcshtr-WPQ-07p1.js → MagicLinkDomesticWireDetailsPage-D0Fcshtr-C-2DaSCr.js} +1 -1
  101. package/dist/assets/{MagicLinkInternationalWireDetailsPage-BfschSvJ-Dd4Vn3ER.js → MagicLinkInternationalWireDetailsPage-BfschSvJ-CkKYWunb.js} +1 -1
  102. package/dist/assets/{MagicLinkSuccessPage-CLkxou_Q-BueLZWGy.js → MagicLinkSuccessPage-CLkxou_Q-DvsHe0PR.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-BcnZtmCV-D3vo1-CC.js → MagicLinkTitleSection-BcnZtmCV-DU7ZJFya.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-B5PAttoo-Ia41UfJq.js → MailingDetailsSection-B5PAttoo-CIRvfrUO.js} +1 -1
  105. package/dist/assets/{MeetingCalenderPopup-DM1wkT0M-XWyjGw5S.js → MeetingCalenderPopup-DM1wkT0M-B0JJDTJP.js} +1 -1
  106. package/dist/assets/{Menu-teOpHszN-B4_aUeNn.js → Menu-teOpHszN-D5iRm71P.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-M74Mv2-V-BHyX40MK.js → MyBankConnectionsSettingsPage-M74Mv2-V-3ixIT5Yo.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-jv9dbM48-BfFprZCr.js → MyPendingActivationChargeCardListPage-jv9dbM48-agjm2LdW.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-CrhE1vfc-DJYn2Oif.js → MyProfileSettingsPage-CrhE1vfc-ZC2fdS9Y.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-w36OQzVq-8jrXgC9i.js → NavBarWithPicker-w36OQzVq-B6Ro5mZi.js} +1 -1
  111. package/dist/assets/{NavigationArrow-CUVjQXS6-1gU6OEpd.js → NavigationArrow-CUVjQXS6-CeIysH6Y.js} +1 -1
  112. package/dist/assets/{NavigationDots-Dt6TkUQ7-IyWw7xzb.js → NavigationDots-Dt6TkUQ7-q8kDyBXO.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-BAq_UQw1-op2GScme.js → NewGlobalMerchantPage-BAq_UQw1-Z5PJLm5_.js} +1 -1
  114. package/dist/assets/{NoDataChart-CydgbaO2-w_aLFoRL.js → NoDataChart-CydgbaO2-Byn79qBb.js} +1 -1
  115. package/dist/assets/{NoDataTable-Akc9VjuK-D6ZoPHVC.js → NoDataTable-Akc9VjuK-B03gxMPC.js} +1 -1
  116. package/dist/assets/{NotFoundPage-3pCYWZU4-D50jnl0_.js → NotFoundPage-3pCYWZU4-iWdOOQKr.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-BX5y9Bhs-COL29uYH.js → NotificationSettingsPage-BX5y9Bhs-B-8J71DG.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-BrTtuTMy-BDNvMhiy.js → NotificationsListConfig-BrTtuTMy-DNIJzwve.js} +1 -1
  119. package/dist/assets/{NotificationsPage-tre5LIJg-BF-9mVwv.js → NotificationsPage-tre5LIJg-Xr5Nmesg.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-Dagfjaza-DDld7cbG.js → OpExByVendorPage-Dagfjaza-CI3y2U_a.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-nhe7xtoR-DaSs4sBz.js → OverlayContainerPage-nhe7xtoR-C3oucdHn.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-B6BwG3ZF-_AvyqFlZ.js → PandLWithForecastPage-B6BwG3ZF-a7jOpqJq.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-w6QwL-c4-K3uFRIlc.js → PaymentAccountSetupBillingAddressSection-w6QwL-c4-Ddmm6Grn.js} +1 -1
  124. package/dist/assets/{PeoplePage-EFDCrYUk-T7-wlZTX.js → PeoplePage-EFDCrYUk-va0Ca1Yj.js} +1 -1
  125. package/dist/assets/{PortfolioAllocationFormPage-DbGLXM2D-BjP-OUR_.js → PortfolioAllocationFormPage-DbGLXM2D-iHwqk059.js} +1 -1
  126. package/dist/assets/{PortfolioDetails-D2RWl4uo-6RAVkUY_.js → PortfolioDetails-D2RWl4uo-Cg59OqzS.js} +1 -1
  127. package/dist/assets/{ProductsCarousel-o-YsHwnV-CGoV5eH1.js → ProductsCarousel-o-YsHwnV-DwWavOml.js} +1 -1
  128. package/dist/assets/{PromoBaseCards-D21UZaz1-BXsaJgOl.js → PromoBaseCards-D21UZaz1-CqW-h3Kx.js} +1 -1
  129. package/dist/assets/{QBOConnectionDialog-DOpuFcsk-C6MlbM5w.js → QBOConnectionDialog-DOpuFcsk-Ca3CXig3.js} +1 -1
  130. package/dist/assets/{QBOSetupSection-Dcf_Afvz-DJunnSBU.js → QBOSetupSection-Dcf_Afvz-n-4jgkTg.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DcDdM_Ss-CbDe9uVe.js → ReimbursementApprovalRuleDetailPage-DcDdM_Ss-BOdeEgpB.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRulesPage-BhdyXjR--DBfuKFGn.js → ReimbursementApprovalRulesPage-BhdyXjR--DhjUaoKp.js} +1 -1
  133. package/dist/assets/{ReimbursementDetailPage-BSWNsboq-4J24vWsJ.js → ReimbursementDetailPage-BSWNsboq-BVoRlNrp.js} +1 -1
  134. package/dist/assets/{ReimbursementPromoPage-DJTuXxOX-CzJgodWR.js → ReimbursementPromoPage-DJTuXxOX-DxB-YRoF.js} +1 -1
  135. package/dist/assets/{ReimbursementSetUpPage-DaIc03J9-CjkHrlyV.js → ReimbursementSetUpPage-DaIc03J9-BDmvqy9N.js} +1 -1
  136. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BW6yGqNG-BnVlwyav.js → ReimbursementsBulkReviewDrawerPage-BW6yGqNG-CAoQWvTF.js} +1 -1
  137. package/dist/assets/{ReloadCard-D3-WJk3W-D2s29SSN.js → ReloadCard-D3-WJk3W-DlHmNrPK.js} +1 -1
  138. package/dist/assets/{ReportTableViewSelector-ZI_K0-D2-By-m2UD1.js → ReportTableViewSelector-ZI_K0-D2-iwMWRFgd.js} +1 -1
  139. package/dist/assets/{ReportsPage-DsILNosH-D0tYLjKu.js → ReportsPage-DsILNosH-Cfw-73-d.js} +1 -1
  140. package/dist/assets/{RevenueChart-CKKeqpBi-UyvcWDiv.js → RevenueChart-CKKeqpBi-w8Ss2h17.js} +1 -1
  141. package/dist/assets/{ReviewDetailsPage-BTag8Rn9-DTmho_bj.js → ReviewDetailsPage-BTag8Rn9-916wfCDZ.js} +1 -1
  142. package/dist/assets/{ReviewOverlay-CmbxFXT5-Bn6N1v3T.js → ReviewOverlay-CmbxFXT5-94UD8LIg.js} +1 -1
  143. package/dist/assets/{RoleWithToolTip-D25NUL6y-DukVAPbK.js → RoleWithToolTip-D25NUL6y-Dw5kL02z.js} +1 -1
  144. package/dist/assets/{ScheduleDetailsFixedAssetsPage-svqtgWEw-BvVYPrVO.js → ScheduleDetailsFixedAssetsPage-svqtgWEw-C29e-URn.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsPage-ClifB2yP-CiC5Yaiv.js → ScheduleDetailsPage-ClifB2yP-YiRd17TD.js} +1 -1
  146. package/dist/assets/{ScheduleSequenceTable-Bzz4WFsb-D7hD25Ij.js → ScheduleSequenceTable-Bzz4WFsb-D9iEcaqE.js} +1 -1
  147. package/dist/assets/{ScreenRoutes-BxQ22zq-.js → ScreenRoutes-NwbDzY2g.js} +1 -1
  148. package/dist/assets/{SetUpAccountSection-DHHAhE7n-C6ADn3Xk.js → SetUpAccountSection-DHHAhE7n-Cl6BDLcX.js} +1 -1
  149. package/dist/assets/{SetUpDefaultSection-DkoRgSyp-BG63EHcf.js → SetUpDefaultSection-DkoRgSyp-ZckYWg9W.js} +1 -1
  150. package/dist/assets/{SignIn-DSJylxLB-TGzVh-Ox.js → SignIn-DSJylxLB-D5UVdPtF.js} +1 -1
  151. package/dist/assets/{SignInScreen-2ETG_qty.js → SignInScreen-QuEImDfY.js} +1 -1
  152. package/dist/assets/{SpendManagementListViewPage-NfjbjBOy-CNnp9KH1.js → SpendManagementListViewPage-NfjbjBOy-DBEbu8XD.js} +3 -3
  153. package/dist/assets/{SpendManagementPerTabPage-CJqqj2pl-vgdrFHgv.js → SpendManagementPerTabPage-CJqqj2pl-DUP4acGd.js} +1 -1
  154. package/dist/assets/{SpendManagementSection-C8jUu71n-DVI61rJT.js → SpendManagementSection-C8jUu71n-BdGbbePX.js} +1 -1
  155. package/dist/assets/{SpendMgmtSetupAccountSection-CNcWLqIc-Bk6Q5WZ8.js → SpendMgmtSetupAccountSection-CNcWLqIc-BNjyOv1A.js} +1 -1
  156. package/dist/assets/{StatementItem-CV3b0pVj-CWdkAyq6.js → StatementItem-CV3b0pVj-DkwqxGhJ.js} +1 -1
  157. package/dist/assets/{StatementsPage-ly5aBK2M-CeJNv0Uj.js → StatementsPage-ly5aBK2M-8oYE665a.js} +1 -1
  158. package/dist/assets/{StatusSwitcher-CxzYEzIO-Dl4oZKu3.js → StatusSwitcher-CxzYEzIO-DQ8yH4qx.js} +1 -1
  159. package/dist/assets/{SubTabSwitcher-_XBeoyd8-ky9GU4WA.js → SubTabSwitcher-_XBeoyd8-DUopAPcR.js} +1 -1
  160. package/dist/assets/{SummaryCard-egXz66_a-CFL2HKlw.js → SummaryCard-egXz66_a-ClEPLcY6.js} +1 -1
  161. package/dist/assets/{TaskManagementPage-CQL5Q6wr-B8c2_TIF.js → TaskManagementPage-CQL5Q6wr-BUDgiciy.js} +1 -1
  162. package/dist/assets/{TimeRangeSwitcher-DETvaZov-Jche-37U.js → TimeRangeSwitcher-DETvaZov-8hO08uXg.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcher-DRQZAZ8X-B_V6wn8a.js → TimeframeSwitcher-DRQZAZ8X-r86Yq0zb.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcherWithToggle-CuU7mRU9-lO7EaRwM.js → TimeframeSwitcherWithToggle-CuU7mRU9--N6Rd-E6.js} +1 -1
  165. package/dist/assets/{TopExCard-CtEulaIf-Brs7tS7N.js → TopExCard-CtEulaIf-ClRGpwd5.js} +1 -1
  166. package/dist/assets/{TopExDetailPage-O4MMssGR-CSX4CqC4.js → TopExDetailPage-O4MMssGR-B_--WxOx.js} +1 -1
  167. package/dist/assets/{TransactionDetailPage-CfY8i6QF-Bt2lSSKs.js → TransactionDetailPage-CfY8i6QF-Ojq9cW4X.js} +1 -1
  168. package/dist/assets/{TransactionList-BABUQprb-zMQcRTpf.js → TransactionList-BABUQprb-DwJtA6li.js} +1 -1
  169. package/dist/assets/{TransactionListBig-qJc1PM0U-P62ir1cv.js → TransactionListBig-qJc1PM0U-CyNu5sMU.js} +1 -1
  170. package/dist/assets/{TransactionListPage-DuAk6fJT-Bu8_Pd-_.js → TransactionListPage-DuAk6fJT-LpW4G_5U.js} +1 -1
  171. package/dist/assets/{TransactionVendorDetailPage-nHnLQdj7-C3egMB1p.js → TransactionVendorDetailPage-nHnLQdj7-CD3pkFzi.js} +1 -1
  172. package/dist/assets/{TransferDrawerPage-CkbHu9oQ-Bxv-yJF0.js → TransferDrawerPage-CkbHu9oQ-DQR116vt.js} +1 -1
  173. package/dist/assets/{TreasuryOverviewPage-D9qxqZOy-ZtRAjO03.js → TreasuryOverviewPage-D9qxqZOy-DGTVS8Td.js} +1 -1
  174. package/dist/assets/{TreasuryPromoPage-Bn_4ae7Q-q8C2bbYn.js → TreasuryPromoPage-Bn_4ae7Q-D69vD6-V.js} +1 -1
  175. package/dist/assets/{TreasurySetupPage-CpZDjXwu-BUhJXpTK.js → TreasurySetupPage-CpZDjXwu-C7QVZNfb.js} +1 -1
  176. package/dist/assets/{TreasuryStatementsPage-BXDwbrcC-37YEWdU6.js → TreasuryStatementsPage-BXDwbrcC-BZV_aBkS.js} +1 -1
  177. package/dist/assets/{TreasuryTaxLetterPage-Cwf-e3Jz-BL-Rfzdl.js → TreasuryTaxLetterPage-Cwf-e3Jz-9vFRPz2U.js} +1 -1
  178. package/dist/assets/{TreasuryTransferOrReviewPage-BSiDVjnO-CB9llwyL.js → TreasuryTransferOrReviewPage-BSiDVjnO-CilXvOG2.js} +1 -1
  179. package/dist/assets/{TrendChart-Dp3QrDED-8QXEOf_A.js → TrendChart-Dp3QrDED-CAJmNVfK.js} +1 -1
  180. package/dist/assets/{TrendWithTransactions-D8xzYG_f-De6kCbSg.js → TrendWithTransactions-D8xzYG_f-B0RTSnu8.js} +1 -1
  181. package/dist/assets/{UncategorizedAccountsMappingPage-CteEKVJk-pzEnrChq.js → UncategorizedAccountsMappingPage-CteEKVJk-DKgcvQkO.js} +1 -1
  182. package/dist/assets/{UnitIntegrationPage-BBAq4_81-C7oc8SpE.js → UnitIntegrationPage-BBAq4_81-BqAXXdno.js} +1 -1
  183. package/dist/assets/{UploadAdditionalDocumentOverlay-Drs2Czkg-B7FMUcdL.js → UploadAdditionalDocumentOverlay-Drs2Czkg-uMQaSYLp.js} +1 -1
  184. package/dist/assets/{Vendor2FAPopup-DKe-eMoF-BYQMXttT.js → Vendor2FAPopup-DKe-eMoF-GT79vSRG.js} +1 -1
  185. package/dist/assets/{VendorACHDetailsPage-CTeRlLgu-O3tAwPNR.js → VendorACHDetailsPage-CTeRlLgu-CksqXbZk.js} +1 -1
  186. package/dist/assets/{VendorDetailPage-Cw7Qe1rv-DwV1uxYo.js → VendorDetailPage-Cw7Qe1rv-Dh-O731X.js} +1 -1
  187. package/dist/assets/{VendorDomesticWireDetailsPage-CYkst1D5-CxFVsRJR.js → VendorDomesticWireDetailsPage-CYkst1D5-CHBkLbE7.js} +1 -1
  188. package/dist/assets/{VendorFiling1099EditablePage-CXQx0jJQ-Dym5ZEfd.js → VendorFiling1099EditablePage-CXQx0jJQ-B18AFF5q.js} +1 -1
  189. package/dist/assets/{VendorFirstReviewPage-C1yTYtW6-D8Hy4Plk.js → VendorFirstReviewPage-C1yTYtW6-ChghxDJi.js} +1 -1
  190. package/dist/assets/{VendorInternationalWireDetailsPage-CfbGRN9B-DYM9JMPH.js → VendorInternationalWireDetailsPage-CfbGRN9B-2fw_Su9Y.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DTxy0byj-B-9bRZPN.js → VendorInternationalWireSwiftDetailsPage-DTxy0byj-6PrVBfoi.js} +1 -1
  192. package/dist/assets/{VendorsAccountsSection-B_nDMJSn-DKF52Cpa.js → VendorsAccountsSection-B_nDMJSn-k1ygQ78-.js} +1 -1
  193. package/dist/assets/{WarningsDrawerPage-Dz3EM7AW-K261X__w.js → WarningsDrawerPage-Dz3EM7AW-Bbh0_Qsw.js} +1 -1
  194. package/dist/assets/{ZeniAccountDetailPage-C01gqJIN-5uHVG2CB.js → ZeniAccountDetailPage-C01gqJIN-BnAylUTm.js} +1 -1
  195. package/dist/assets/{ZeniAccountListViewPage-3DEdKuaM-BOxFOXWV.js → ZeniAccountListViewPage-3DEdKuaM-CuEWblED.js} +1 -1
  196. package/dist/assets/{ZeniAccountNavBarPieces-bthmMpbV-dLoPCb9S.js → ZeniAccountNavBarPieces-bthmMpbV-CbMA6iIW.js} +1 -1
  197. package/dist/assets/{ZeniAccountPromoPage-ClgIxS0H-CzsHHXnv.js → ZeniAccountPromoPage-ClgIxS0H-DBgPvYc0.js} +1 -1
  198. package/dist/assets/{ZeniAccountSetupPage-C-vwyHUJ-Dtwoz0CP.js → ZeniAccountSetupPage-C-vwyHUJ-CLhT7Ff4.js} +1 -1
  199. package/dist/assets/{ZeniCopyright-CqFabZnN-CJTGK5CO.js → ZeniCopyright-CqFabZnN-D4FGjDTB.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-BwHzq-qG-BAnmmq0F.js → ZeniTransferAmountSlider-BwHzq-qG-CnnvbRxC.js} +1 -1
  201. package/dist/assets/{analyticsHelper-CvW7m-EV-BpaeVAL0.js → analyticsHelper-CvW7m-EV-DHaN147Y.js} +1 -1
  202. package/dist/assets/{analyticsHelper-CA1CL3Na.js → analyticsHelper-Dbw8e3v7.js} +1 -1
  203. package/dist/assets/{chartTypes-0tTBFzPe-DXv2oVtL.js → chartTypes-0tTBFzPe-DfKjt0H-.js} +1 -1
  204. package/dist/assets/{commonDimensions-B68wSFi9-M2W23m0D.js → commonDimensions-B68wSFi9-ClIFAoDP.js} +1 -1
  205. package/dist/assets/{detailCommon-D2RAJL6g-DxVTL_IM.js → detailCommon-D2RAJL6g-sKSpd6dF.js} +1 -1
  206. package/dist/assets/{downloadPdf-IPGZ8YB9-DocjrP8U.js → downloadPdf-IPGZ8YB9-BvXaJnQG.js} +1 -1
  207. package/dist/assets/{index-GMJ2nuUF.js → index-7LZq8uFd.js} +3 -3
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-DhjVTksX-B_UltjeI.js → mapLoadingInProgressToTreeNode-DhjVTksX-B8UNbAYv.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-DtR1UNND-CApTkkfy.js → mapSectionWithAcOnlyToTreeNode-DtR1UNND-DBRJDxP7.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-oskKbJKo-DLY0eOf4.js → mapSpacerToTreeNode-oskKbJKo-sTHW73zM.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-BkUJJy_y-CDFowGsv.js → mapTimeframeBalancesToTreeNode-BkUJJy_y-Dq-GqRqG.js} +1 -1
  212. package/dist/assets/{play-icon-C_pnFd6Q-CegFata8.js → play-icon-C_pnFd6Q-BIOT-v4r.js} +1 -1
  213. package/dist/assets/{toCOABalancesWithID-e2ImXwdp-1SnM9fzu.js → toCOABalancesWithID-e2ImXwdp-DbYgG8Vn.js} +1 -1
  214. package/dist/assets/{toChartData-Dh91kb97-BMfM5MG4.js → toChartData-Dh91kb97-VDQJXs1O.js} +1 -1
  215. package/dist/assets/{treasuryColorHelper-D9SYrM7P-BaWaAPGH.js → treasuryColorHelper-D9SYrM7P-DGv1n4_a.js} +1 -1
  216. package/dist/assets/{uploadAttachment-BZTALP74-ypSfSLhV.js → uploadAttachment-BZTALP74-C6D9Ocdm.js} +1 -1
  217. package/dist/assets/{uploadReceipts-BH9fi3Vt-D-CW0ltI.js → uploadReceipts-BH9fi3Vt-BNXfmFwW.js} +1 -1
  218. package/dist/index.html +1 -1
  219. package/package.json +1 -1
  220. package/dist/assets/CustomerOnboardingContainerPage-DzzvTpfs-BL-GBLoz.js +0 -1
@@ -1,4 +1,4 @@
1
- import{X as y,M as S,h2 as b,j as o,d as g,o as n,s as j,C as v,br as z,p as k}from"./index-GMJ2nuUF.js";import{b as P,n as i}from"./vendor-CnQcJ2Lu.js";import{g as C}from"./BoxItem-B8KF3Skh-TmzJmYZc.js";import{w as L}from"./downloadPdf-IPGZ8YB9-DocjrP8U.js";const d=S.getLocalizedStrings().months,a={downloadButtonSize:new v(k[4],20)},B=i.div`
1
+ import{X as y,M as S,h2 as b,j as o,d as g,o as n,s as j,C as v,br as z,p as k}from"./index-7LZq8uFd.js";import{b as P,n as i}from"./vendor-CnQcJ2Lu.js";import{g as C}from"./BoxItem-B8KF3Skh-BFRCZLbn.js";import{w as L}from"./downloadPdf-IPGZ8YB9-BvXaJnQG.js";const d=S.getLocalizedStrings().months,a={downloadButtonSize:new v(k[4],20)},B=i.div`
2
2
  display: flex;
3
3
  padding: ${n.sp3} ${n.sp4};
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{u as v,X as z,j as t,aW as C,M as P,ao as I,o as r,g as m,bS as L,C as M,p as h,s as O}from"./index-GMJ2nuUF.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as B}from"./BoxItem-B8KF3Skh-TmzJmYZc.js";import{o as E}from"./commonDimensions-B68wSFi9-M2W23m0D.js";import{O as R}from"./StatementItem-CV3b0pVj-CWdkAyq6.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-IPGZ8YB9-DocjrP8U.js";const x=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,b={listItemMargin:new M(h[3],h[8])},et=({currentTenantCompanyName:e,authParams:g,downloadEndPoint:w,statementListView:i,accountLast4:f,onBackClick:y})=>{const k=v(),l=z(),$=p.createRef(),c=p.useRef(null),d=i.statements.length===0,j=()=>d===!1?E.transactionItemHeight:24,S=({index:a,style:n})=>{const s=i.statements[a];return d===!1?t.jsx(u,{windowSize:l,style:{...n,width:`calc(100% - 2*${b.listItemMargin.valuePx(l)})`},children:t.jsx(R,{currentTenantCompanyName:e,accountLast4:f,data:s,authParams:g,downloadEndPoint:w,boxType:B(a,i.statements.length)},s.id)}):t.jsx(T,{style:{...n},children:t.jsx(N,{children:t.jsx(u,{windowSize:l,children:t.jsx(H,{children:x.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(C,{title:x.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(K,{children:t.jsx(I,{children:({height:a,width:n})=>t.jsx(V,{ref:$,height:a,width:n,outerRef:c,itemKey:s=>s,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:S})})})]})},T=o.div``,u=o.div`
1
+ import{u as v,X as z,j as t,aW as C,M as P,ao as I,o as r,g as m,bS as L,C as M,p as h,s as O}from"./index-7LZq8uFd.js";import{b as p,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as B}from"./BoxItem-B8KF3Skh-BFRCZLbn.js";import{o as E}from"./commonDimensions-B68wSFi9-ClIFAoDP.js";import{O as R}from"./StatementItem-CV3b0pVj-DkwqxGhJ.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-IPGZ8YB9-BvXaJnQG.js";const x=P.getLocalizedStrings().spendManagement.zeniAccounts.statements,b={listItemMargin:new M(h[3],h[8])},et=({currentTenantCompanyName:e,authParams:g,downloadEndPoint:w,statementListView:i,accountLast4:f,onBackClick:y})=>{const k=v(),l=z(),$=p.createRef(),c=p.useRef(null),d=i.statements.length===0,j=()=>d===!1?E.transactionItemHeight:24,S=({index:a,style:n})=>{const s=i.statements[a];return d===!1?t.jsx(u,{windowSize:l,style:{...n,width:`calc(100% - 2*${b.listItemMargin.valuePx(l)})`},children:t.jsx(R,{currentTenantCompanyName:e,accountLast4:f,data:s,authParams:g,downloadEndPoint:w,boxType:B(a,i.statements.length)},s.id)}):t.jsx(T,{style:{...n},children:t.jsx(N,{children:t.jsx(u,{windowSize:l,children:t.jsx(H,{children:x.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(C,{title:x.title,backgroundColor:k.colors.grey4,style:{zIndex:3},onBackClick:y,scrollableContent:c.current!=null?c:void 0,source:"StatementsPage"}),t.jsx(K,{children:t.jsx(I,{children:({height:a,width:n})=>t.jsx(V,{ref:$,height:a,width:n,outerRef:c,itemKey:s=>s,itemCount:i.statements.length,itemSize:j,initialScrollOffset:0,children:S})})})]})},T=o.div``,u=o.div`
2
2
  margin: ${e=>`${r.sp0} ${b.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{X as y,j as d,aV as T,M as v,C as f,o as s,p as c,v as z}from"./index-GMJ2nuUF.js";import{n as u,j as g}from"./vendor-CnQcJ2Lu.js";function m(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const _=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:m(a)}return m(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??m(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:x}},reimbursement:{reimbursementByTabs:{tabsById:$}},zeniAccounts:{zeniAccountList:{tabsById:M}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new f(c[4],c[8]),containerMarginRight:new f(c[4],c[8]),segmentContainerMarginLeft:new f(c[4],c[8])},j=u.div`
1
+ import{X as y,j as d,aV as T,M as v,C as f,o as s,p as c,v as z}from"./index-7LZq8uFd.js";import{n as u,j as g}from"./vendor-CnQcJ2Lu.js";function m(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const _=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:m(a)}return m(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??m(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:x}},reimbursement:{reimbursementByTabs:{tabsById:$}},zeniAccounts:{zeniAccountList:{tabsById:M}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new f(c[4],c[8]),containerMarginRight:new f(c[4],c[8]),segmentContainerMarginLeft:new f(c[4],c[8])},j=u.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{j as r,d as u,o as s,v as g,aj as m}from"./index-GMJ2nuUF.js";import{n as i,j as a}from"./vendor-CnQcJ2Lu.js";function S({allTabs:e,selectedTab:c,containerStyle:d,rightComponent:o,onTabChange:p}){const h=o!=null;return r.jsxs(x,{style:d,hasRightComponent:h,children:[r.jsx($,{children:e.map(t=>{const n=t.id===c,l=t.isDisabled!=null;return r.jsxs(b,{onClick:()=>{n===!1&&!l&&p(t)},isSelected:n,isDisabled:l,children:[r.jsx(y,{children:t.label}),t.countDetails?.count!=null?r.jsx(j,{children:r.jsx(f,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:r.jsx(D,{children:t.countDetails.isFetching?r.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),o]})}const x=i.div`
1
+ import{j as r,d as u,o as s,v as g,aj as m}from"./index-7LZq8uFd.js";import{n as i,j as a}from"./vendor-CnQcJ2Lu.js";function S({allTabs:e,selectedTab:c,containerStyle:d,rightComponent:o,onTabChange:p}){const h=o!=null;return r.jsxs(x,{style:d,hasRightComponent:h,children:[r.jsx($,{children:e.map(t=>{const n=t.id===c,l=t.isDisabled!=null;return r.jsxs(b,{onClick:()=>{n===!1&&!l&&p(t)},isSelected:n,isDisabled:l,children:[r.jsx(y,{children:t.label}),t.countDetails?.count!=null?r.jsx(j,{children:r.jsx(f,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:r.jsx(D,{children:t.countDetails.isFetching?r.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),o]})}const x=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
@@ -1 +1 @@
1
- import{j as d}from"./index-GMJ2nuUF.js";import{E as n,T as t}from"./ReloadCard-D3-WJk3W-D2s29SSN.js";const o=r=>{function e(){return r.card.fetchState==="In-Progress"||r.card.fetchState==="Not-Started"?d.jsx(n,{dimension:r.card.dimension,animated:!r.card.disableAnimations}):r.card.fetchState==="Error"?d.jsx(t,{dimension:r.card.dimension,cardType:r.card.cardType,cardIndex:r.card.cardIndex,onReloadData:r.actions.onReloadData}):d.jsx("div",{children:r.children})}return d.jsx("div",{children:e()})};export{o as c};
1
+ import{j as d}from"./index-7LZq8uFd.js";import{E as n,T as t}from"./ReloadCard-D3-WJk3W-DlHmNrPK.js";const o=r=>{function e(){return r.card.fetchState==="In-Progress"||r.card.fetchState==="Not-Started"?d.jsx(n,{dimension:r.card.dimension,animated:!r.card.disableAnimations}):r.card.fetchState==="Error"?d.jsx(t,{dimension:r.card.dimension,cardType:r.card.cardType,cardIndex:r.card.cardIndex,onReloadData:r.actions.onReloadData}):d.jsx("div",{children:r.children})}return d.jsx("div",{children:e()})};export{o as c};
@@ -1,4 +1,4 @@
1
- import{w as ht,u as Ze,j as t,M as oe,iJ as Z,aW as mt,T as H,bN as gt,s as K,Z as kt,l as Q,o as s,eK as Ye,ah as Ne,bK as xt,fB as wt,as as ft,bg as qe,a9 as Ct,X as ie,a as Tt,C as Xe,c3 as $t,F as yt,ao as jt,bS as bt,id as vt,ie as St,iK as Me,a7 as Gt,K as Ee,bu as Ie,eG as Je,iL as Lt,cq as Qe,iM as ce,iN as ge,iO as Nt,iP as ke,iQ as et,iR as tt,iS as st,iT as ot,iU as at,iV as rt,iW as _,p as me,iX as re,v as ne,iY as It,iZ as Dt,a6 as Et,n as Mt,i_ as zt,d7 as Bt,i$ as Wt,cg as nt,cA as At,q as Ft,j0 as Rt,j1 as Pt,fC as Ot,eJ as Ut,j2 as Ht,j3 as X,j4 as ze,bU as Vt,j5 as _t,j6 as Kt,j7 as Be,j8 as Zt,g as We,fZ as Yt,f as qt}from"./index-GMJ2nuUF.js";import{b as a,n as o,j as xe}from"./vendor-CnQcJ2Lu.js";import{J as Xt,Y as Jt}from"./SpendManagementSection-C8jUu71n-DVI61rJT.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-BrTtuTMy-BDNvMhiy.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-NfjbjBOy-CNnp9KH1.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./StatusSwitcher-CxzYEzIO-Dl4oZKu3.js";const ve=oe.getLocalizedStrings(),it=({count:e})=>t.jsx(as,{isCircular:e<10,children:t.jsx(rs,{children:e>ve.common.numbers.maximumCount?`${ve.common.numbers.maximumCount}${ve.common.strings.plus}`:e})}),as=o.div`
1
+ import{w as ht,u as Ze,j as t,M as oe,iJ as Z,aW as mt,T as H,bN as gt,s as K,Z as kt,l as Q,o as s,eK as Ye,ah as Ne,bK as xt,fB as wt,as as ft,bg as qe,a9 as Ct,X as ie,a as Tt,C as Xe,c3 as $t,F as yt,ao as jt,bS as bt,id as vt,ie as St,iK as Me,a7 as Gt,K as Ee,bu as Ie,eG as Je,iL as Lt,cq as Qe,iM as ce,iN as ge,iO as Nt,iP as ke,iQ as et,iR as tt,iS as st,iT as ot,iU as at,iV as rt,iW as _,p as me,iX as re,v as ne,iY as It,iZ as Dt,a6 as Et,n as Mt,i_ as zt,d7 as Bt,i$ as Wt,cg as nt,cA as At,q as Ft,j0 as Rt,j1 as Pt,fC as Ot,eJ as Ut,j2 as Ht,j3 as X,j4 as ze,bU as Vt,j5 as _t,j6 as Kt,j7 as Be,j8 as Zt,g as We,fZ as Yt,f as qt}from"./index-7LZq8uFd.js";import{b as a,n as o,j as xe}from"./vendor-CnQcJ2Lu.js";import{J as Xt,Y as Jt}from"./SpendManagementSection-C8jUu71n-BdGbbePX.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-BrTtuTMy-DNIJzwve.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-NfjbjBOy-DBEbu8XD.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./StatusSwitcher-CxzYEzIO-DQ8yH4qx.js";const ve=oe.getLocalizedStrings(),it=({count:e})=>t.jsx(as,{isCircular:e<10,children:t.jsx(rs,{children:e>ve.common.numbers.maximumCount?`${ve.common.numbers.maximumCount}${ve.common.strings.plus}`:e})}),as=o.div`
2
2
  ${e=>e.isCircular?xe`
3
3
  height: 18px;
4
4
  width: 18px;
@@ -1,4 +1,4 @@
1
- import{j as t,ao as D,J as j,dg as H,aL as V,o as a,v as q}from"./index-GMJ2nuUF.js";import{n as g,b as n}from"./vendor-CnQcJ2Lu.js";import{R as A}from"./mui-BgvZYSo0.js";import{L as J}from"./CollapsableReportTable-CHsJ-93l-CZG5w07A.js";const U=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,X=g.div`
1
+ import{j as t,ao as D,J as j,dg as H,aL as V,o as a,v as q}from"./index-7LZq8uFd.js";import{n as g,b as n}from"./vendor-CnQcJ2Lu.js";import{R as A}from"./mui-BgvZYSo0.js";import{L as J}from"./CollapsableReportTable-CHsJ-93l-C7aAORiO.js";const U=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,X=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: flex-start;
@@ -1,4 +1,4 @@
1
- import{j as t,o,v as p,M as u}from"./index-GMJ2nuUF.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const f=i.div`
1
+ import{j as t,o,v as p,M as u}from"./index-7LZq8uFd.js";import{n as i}from"./vendor-CnQcJ2Lu.js";const f=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{X as c,j as i,C as n,v as w,a$ as x,b4 as u}from"./index-GMJ2nuUF.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{b as l}from"./TimeframeSwitcher-DRQZAZ8X-B_V6wn8a.js";const a="ZeniSwitch",t={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},p=({className:e,...o})=>i.jsx(u,{...o,className:e,classes:{...t}}),b=x(p)(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),$=e=>i.jsx(b,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=r.div`
1
+ import{X as c,j as i,C as n,v as w,a$ as x,b4 as u}from"./index-7LZq8uFd.js";import{n as r}from"./vendor-CnQcJ2Lu.js";import{b as l}from"./TimeframeSwitcher-DRQZAZ8X-r86Yq0zb.js";const a="ZeniSwitch",t={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},p=({className:e,...o})=>i.jsx(u,{...o,className:e,classes:{...t}}),b=x(p)(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),$=e=>i.jsx(b,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{J as V,X as _,j as t,u as f,b7 as T,aB as C,aA as S,bb as E,bk as k,p as x,aJ as R,q as $,bl as H,bm as q,_ as G,l as J,V as X,o as p,v as L,as as Y,s as F,M as A,W as N,Y as Q,a8 as O,an as W,ao as Z,a9 as U,bn as ee}from"./index-GMJ2nuUF.js";import{f as v,b as te,n as g}from"./vendor-CnQcJ2Lu.js";import{I as ae,T as re}from"./ReloadCard-D3-WJk3W-D2s29SSN.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const ie=g(O)`
1
+ import{J as V,X as _,j as t,u as f,b7 as T,aB as C,aA as S,bb as E,bk as k,p as x,aJ as R,q as $,bl as H,bm as q,_ as G,l as J,V as X,o as p,v as L,as as Y,s as F,M as A,W as N,Y as Q,a8 as O,an as W,ao as Z,a9 as U,bn as ee}from"./index-7LZq8uFd.js";import{f as v,b as te,n as g}from"./vendor-CnQcJ2Lu.js";import{I as ae,T as re}from"./ReloadCard-D3-WJk3W-DlHmNrPK.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const ie=g(O)`
2
2
  justify-content: space-between;
3
3
  margin: 0;
4
4
  height: ${e=>e.height!=null?e.height+"px":"auto"};
@@ -1,4 +1,4 @@
1
- import{u as v,X as S,l as A,j as t,aW as B,M as u,_ as k,ao as H,I as P,o as i,C as j,bj as z,aM as F,p as c,g as T,s as y,Y as V,ak as M}from"./index-GMJ2nuUF.js";import{n as l,f as D,b as o}from"./vendor-CnQcJ2Lu.js";import{E as _,I as Z}from"./TopExCard-CtEulaIf-Brs7tS7N.js";import{b as L}from"./TimeframeSwitcher-DRQZAZ8X-B_V6wn8a.js";import{d as I}from"./NoDataTable-Akc9VjuK-D6ZoPHVC.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-D3-WJk3W-D2s29SSN.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const E="141px",O=i.sp4,R="123px",X=l(M)`
1
+ import{u as v,X as S,l as A,j as t,aW as B,M as u,_ as k,ao as H,I as P,o as i,C as j,bj as z,aM as F,p as c,g as T,s as y,Y as V,ak as M}from"./index-7LZq8uFd.js";import{n as l,f as D,b as o}from"./vendor-CnQcJ2Lu.js";import{E as _,I as Z}from"./TopExCard-CtEulaIf-ClRGpwd5.js";import{b as L}from"./TimeframeSwitcher-DRQZAZ8X-r86Yq0zb.js";import{d as I}from"./NoDataTable-Akc9VjuK-B03gxMPC.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./ReloadCard-D3-WJk3W-DlHmNrPK.js";import"./graphic-no-data-l-DU4J8fDt-BalbEtqQ.js";const E="141px",O=i.sp4,R="123px",X=l(M)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{u as jt,a as zo,X as K,M as N,a5 as Rt,dL as Ao,dM as Vo,c3 as Ro,J as Po,dN as Gi,l as ue,dO as Eo,j as i,Y as B,F as _o,aW as No,dP as Bo,dQ as Mo,d as Bt,dR as Ii,a7 as Fo,C as R,dS as qo,dT as Xi,dU as Ji,dV as Ki,dW as Ie,dX as ve,dY as Ee,dZ as Ge,d_ as Xe,d$ as It,e0 as vt,e1 as Je,e2 as rt,e3 as Ct,e4 as Dt,e5 as Pt,e6 as re,e7 as Et,e8 as se,e9 as le,U as Wo,ea as bt,eb as vi,ec as Uo,K as Ho,bN as Yo,o as n,ed as Go,p as v,I as si,g as ie,Z as mi,av as Mt,ee as Xo,ef as Jo,eg as Ko,ah as Ft,_ as De,cg as Be,eh as Zo,ei as kt,aa as Zi,cl as Qo,ej as en,bF as tn,bG as on,s as he,ak as nn,cA as an,ek as Qi,el as li,em as ri,en as Qt,dc as sn,ao as ln,bS as rn,co as hi,cm as eo,d3 as cn,eo as Ci,ep as Di,eq as dn,bu as to,er as ei,dh as ti,es as un,aM as pn,et as mn,eu as Ti,ev as hn,z as gn,cp as fn,ew as yn,Q as io,ex as bn,b6 as xn,ey as ji,b3 as tt,ez as wn,eA as $n,eB as In,b1 as vn,b5 as Cn,dq as Dn,q as oo,eC as Tn,b0 as jn,a6 as Ln,f as On,eD as Sn,ac as ci}from"./index-GMJ2nuUF.js";import{b as T,n as l,f as xt}from"./vendor-CnQcJ2Lu.js";import{x as Li}from"./LabeledControlledCheckBoxField-CKrD5nfN-BLAx8CgU.js";import{R as kn}from"./TrendWithTransactions-D8xzYG_f-De6kCbSg.js";import{u as zn,c as An,d as Vn,m as Rn}from"./uploadAttachment-BZTALP74-ypSfSLhV.js";import{o as Pn}from"./radio-default-CiSgisfh-ub7QGXr8.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./TrendChart-Dp3QrDED-8QXEOf_A.js";import"./chartTypes-0tTBFzPe-DXv2oVtL.js";import"./toCOABalancesWithID-e2ImXwdp-1SnM9fzu.js";import"./toChartData-Dh91kb97-BMfM5MG4.js";import"./NoDataChart-CydgbaO2-w_aLFoRL.js";import"./InsightsSection-CN1BVvSr-DiHzw0Zr.js";import"./NavigationDots-Dt6TkUQ7-IyWw7xzb.js";import"./TransactionList-BABUQprb-zMQcRTpf.js";import"./BoxItem-B8KF3Skh-TmzJmYZc.js";import"./commonDimensions-B68wSFi9-M2W23m0D.js";const En={headerMarginTop:new R(v[7],v[8])},_n=l(he)`
1
+ import{u as jt,a as zo,X as K,M as N,a5 as Rt,dL as Ao,dM as Vo,c3 as Ro,J as Po,dN as Gi,l as ue,dO as Eo,j as i,Y as B,F as _o,aW as No,dP as Bo,dQ as Mo,d as Bt,dR as Ii,a7 as Fo,C as R,dS as qo,dT as Xi,dU as Ji,dV as Ki,dW as Ie,dX as ve,dY as Ee,dZ as Ge,d_ as Xe,d$ as It,e0 as vt,e1 as Je,e2 as rt,e3 as Ct,e4 as Dt,e5 as Pt,e6 as re,e7 as Et,e8 as se,e9 as le,U as Wo,ea as bt,eb as vi,ec as Uo,K as Ho,bN as Yo,o as n,ed as Go,p as v,I as si,g as ie,Z as mi,av as Mt,ee as Xo,ef as Jo,eg as Ko,ah as Ft,_ as De,cg as Be,eh as Zo,ei as kt,aa as Zi,cl as Qo,ej as en,bF as tn,bG as on,s as he,ak as nn,cA as an,ek as Qi,el as li,em as ri,en as Qt,dc as sn,ao as ln,bS as rn,co as hi,cm as eo,d3 as cn,eo as Ci,ep as Di,eq as dn,bu as to,er as ei,dh as ti,es as un,aM as pn,et as mn,eu as Ti,ev as hn,z as gn,cp as fn,ew as yn,Q as io,ex as bn,b6 as xn,ey as ji,b3 as tt,ez as wn,eA as $n,eB as In,b1 as vn,b5 as Cn,dq as Dn,q as oo,eC as Tn,b0 as jn,a6 as Ln,f as On,eD as Sn,ac as ci}from"./index-7LZq8uFd.js";import{b as T,n as l,f as xt}from"./vendor-CnQcJ2Lu.js";import{x as Li}from"./LabeledControlledCheckBoxField-CKrD5nfN-K0T8lZ8z.js";import{R as kn}from"./TrendWithTransactions-D8xzYG_f-B0RTSnu8.js";import{u as zn,c as An,d as Vn,m as Rn}from"./uploadAttachment-BZTALP74-C6D9Ocdm.js";import{o as Pn}from"./radio-default-CiSgisfh-ub7QGXr8.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./TrendChart-Dp3QrDED-CAJmNVfK.js";import"./chartTypes-0tTBFzPe-DfKjt0H-.js";import"./toCOABalancesWithID-e2ImXwdp-DbYgG8Vn.js";import"./toChartData-Dh91kb97-VDQJXs1O.js";import"./NoDataChart-CydgbaO2-Byn79qBb.js";import"./InsightsSection-CN1BVvSr-DjvD2RGi.js";import"./NavigationDots-Dt6TkUQ7-q8kDyBXO.js";import"./TransactionList-BABUQprb-DwJtA6li.js";import"./BoxItem-B8KF3Skh-BFRCZLbn.js";import"./commonDimensions-B68wSFi9-ClIFAoDP.js";const En={headerMarginTop:new R(v[7],v[8])},_n=l(he)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Nn=l(he)`
4
4
  margin-right: ${n.sp1};
@@ -1,4 +1,4 @@
1
- import{X as C,j as e,ao as tt,Y as u,dc as et,M as v,dd as it,d7 as at,de as ot,o as i,g as A,bS as rt,C as q,l as m,d as nt,s as y,p as g,v as st,df as Q,cs as V,_ as W,f as lt}from"./index-GMJ2nuUF.js";import{b as L,n,f as dt}from"./vendor-CnQcJ2Lu.js";import{g as U}from"./BoxItem-B8KF3Skh-TmzJmYZc.js";import{o as N}from"./commonDimensions-B68wSFi9-M2W23m0D.js";const D=t=>t?24:125,ct={containerPaddingBottom:new q(g[9],g[8])},E=n.div`
1
+ import{X as C,j as e,ao as tt,Y as u,dc as et,M as v,dd as it,d7 as at,de as ot,o as i,g as A,bS as rt,C as q,l as m,d as nt,s as y,p as g,v as st,df as Q,cs as V,_ as W,f as lt}from"./index-7LZq8uFd.js";import{b as L,n,f as dt}from"./vendor-CnQcJ2Lu.js";import{g as U}from"./BoxItem-B8KF3Skh-BFRCZLbn.js";import{o as N}from"./commonDimensions-B68wSFi9-ClIFAoDP.js";const D=t=>t?24:125,ct={containerPaddingBottom:new q(g[9],g[8])},E=n.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{C as a,X as R,w as W,L as ie,aJ as ne,l as B,j as t,Y as x,ao as re,M as w,p as n,q as ae,g as D,o,Q as j,h as Q,aK as se,aL as le,v as de,Z as ce,_ as me,aM as pe,m as he,d as ue,K as Y,I as G,aN as X,a9 as ee}from"./index-GMJ2nuUF.js";import{b as N,n as i,f,j as ge}from"./vendor-CnQcJ2Lu.js";import{G as xe,c as we}from"./AccountsPromoCardStack-D5elLwcD-DFP5ej-L.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./SummaryCard-egXz66_a-CFL2HKlw.js";import"./ReloadCard-D3-WJk3W-D2s29SSN.js";import"./NavigationArrow-CUVjQXS6-1gU6OEpd.js";import"./NavigationDots-Dt6TkUQ7-IyWw7xzb.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
1
+ import{C as a,X as R,w as W,L as ie,aJ as ne,l as B,j as t,Y as x,ao as re,M as w,p as n,q as ae,g as D,o,Q as j,h as Q,aK as se,aL as le,v as de,Z as ce,_ as me,aM as pe,m as he,d as ue,K as Y,I as G,aN as X,a9 as ee}from"./index-7LZq8uFd.js";import{b as N,n as i,f,j as ge}from"./vendor-CnQcJ2Lu.js";import{G as xe,c as we}from"./AccountsPromoCardStack-D5elLwcD-Gbgzn4YX.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./SummaryCard-egXz66_a-ClEPLcY6.js";import"./ReloadCard-D3-WJk3W-DlHmNrPK.js";import"./NavigationArrow-CUVjQXS6-CeIysH6Y.js";import"./NavigationDots-Dt6TkUQ7-q8kDyBXO.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,be=i.div`
@@ -1,4 +1,4 @@
1
- import{u as z,aT as A,aU as M,aV as q,j as o,Y as h,aW as J,d as K,aX as U,o as n,s as V}from"./index-GMJ2nuUF.js";import{b as r,n as l}from"./vendor-CnQcJ2Lu.js";import{l as W}from"./TransactionList-BABUQprb-zMQcRTpf.js";import{t as X}from"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./BoxItem-B8KF3Skh-TmzJmYZc.js";import"./commonDimensions-B68wSFi9-M2W23m0D.js";const _=l.div`
1
+ import{u as z,aT as A,aU as M,aV as q,j as o,Y as h,aW as J,d as K,aX as U,o as n,s as V}from"./index-7LZq8uFd.js";import{b as r,n as l}from"./vendor-CnQcJ2Lu.js";import{l as W}from"./TransactionList-BABUQprb-DwJtA6li.js";import{t as X}from"./page-detail-CWX5S47F-B6DjZ3Gi.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./BoxItem-B8KF3Skh-BFRCZLbn.js";import"./commonDimensions-B68wSFi9-ClIFAoDP.js";const _=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{X as A,M as F,j as o,d as B,Y as D,a7 as W,o as a,C as g,a6 as Q,Q as Y,cu as G,a as K,gw as k,gx as M,gy as R,c3 as U,F as X,p as r,u as Z,c6 as _,gb as z,gD as J,aq as ee,gH as oe,gI as te}from"./index-GMJ2nuUF.js";import{b as I,n as d}from"./vendor-CnQcJ2Lu.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=F.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:h,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=A(),S=Z(),$=N.labelWidth.value(l),j=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",y=n=>{const O=p.find(q=>q.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",v),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(_,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(v,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:M(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${S.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:h,allOptions:k(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${S.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(J,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:R(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},re=d.div`
1
+ import{X as A,M as F,j as o,d as B,Y as D,a7 as W,o as a,C as g,a6 as Q,Q as Y,cu as G,a as K,gw as k,gx as M,gy as R,c3 as U,F as X,p as r,u as Z,c6 as _,gb as z,gD as J,aq as ee,gH as oe,gI as te}from"./index-7LZq8uFd.js";import{b as I,n as d}from"./vendor-CnQcJ2Lu.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=F.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:h,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:v,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=A(),S=Z(),$=N.labelWidth.value(l),j=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",s=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",y=n=>{const O=p.find(q=>q.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":D("vendor-details-section",v),children:[o.jsx(se,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(_,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(v,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(v,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:M(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${S.colors.grey3}`},isDisabled:u,disableCurrentOption:y,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(v,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>s(n),defaultValue:{selectedOption:h,allOptions:k(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${S.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(J,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(v,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:R(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},re=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};
@@ -1,4 +1,4 @@
1
- import{j as t,X as de,Y as A,gQ as it,M as I,_ as Z,K as Ce,g_ as lt,d as We,a7 as we,o as a,C as c,a6 as Ye,k as st,as as ct,Z as dt,c0 as xe,v as $e,s as ue,a5 as pe,e_ as ut,a as Ve,l as ft,c3 as pt,aJ as mt,a0 as ht,g as U,F as Ne,f7 as Se,f8 as ve,fG as gt,bu as De,fB as wt,g$ as xt,p as o,cW as $t,ah as Xe,bo as Dt,cz as bt,b6 as Tt,f as qe,f3 as yt,dq as Ct,bq as Ze,fa as St,fc as vt}from"./index-GMJ2nuUF.js";import{b as u,n as r}from"./vendor-CnQcJ2Lu.js";import{v as kt}from"./ZeniTransferAmountSlider-BwHzq-qG-BAnmmq0F.js";import{r as At}from"./AccountInfoPageContent-C4VpFgc_-DvP6xZz-.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-IPGZ8YB9-DocjrP8U.js";import"./commonDimensions-B68wSFi9-M2W23m0D.js";const{common:ce,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ge="amount",Pt="transferTo",ke="transferFrom",k="transferDetails",Ue="transferDetailPage",me=(e,n)=>`${e}.${n}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function Lt({plaidConnectionDetails:e,transferDetails:n,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:y,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:K,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:Q}){const i=de(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,Y]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[V,N]=u.useState(!1),H=n.transferMoneyPartiesFetchState,oe=pe(H),X=n.transferDetailLocalData.transferFrom?.id,ee=n.transferDetailLocalData.transferTo?.id,ie=pe(X),be=pe(ee),Je=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),Qe=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=ut({token:v,onSuccess:Je,onExit:Qe}),le=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Ve({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Ae(n,le),[n])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&Y(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{V&&x&&q()},[V,q,x]),u.useEffect(()=>{(ft.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{(oe==="In-Progress"&&H==="Completed"||ie!==X||be!==ee)&&P.reset(Ae(n,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,H,ie,be,ee,X,P,n,q]);const{isValid:He}=P.formState,et=async(s,h)=>{if(s!=null){const B={...h},se={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};K(se)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const se=h[k]?.amount??0,ae=h[k]?.transferFrom,rt=h[k]?.transferTo,nt=n.transferMoneyParties.find(fe=>fe.id===ae?.selectedOption),ot=n.transferMoneyParties.find(fe=>fe.id===rt?.selectedOption);nt?.accType==="paymentAccount"&&ot?.accType==="depositAccount"&&se!==0?(y(!0),C(!0)):C(!1),S(se)}});return()=>{s.unsubscribe()}},[P,n.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&pt(()=>et(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const tt=P.handleSubmit(()=>{He&&(_("Review","Amount Details"),Q())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ke}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,le,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const Te=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,ye=Te[Te.length-1].annualPercentageYield.toString(),at=mt(ht(l),l,ce.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(Et,{}),t.jsxs(It,{children:[t.jsx(Ot,{children:n.reviewTransferDetail.error?.title}),t.jsx(_t,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:U.heroLight}})})]})}):null,t.jsx(Wt,{children:Z("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(Ne,{...P,children:t.jsxs(Bt,{id:Ke(Ue),onSubmit:tt,children:[t.jsxs(Ht,{children:[t.jsx(Fe,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:me(k,ke),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,le,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Be,{}),t.jsx(Fe,{size:i,children:t.jsx(ea,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:me(k,Pt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!1,le)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Be,{}),t.jsx(gt,{showAdditionalInfoLabel:!1,label:{label:ce.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:me(k,Ge),defaultValue:n.transferDetailLocalData.amount.amount===0?void 0:n.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Xt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Vt,{children:b.transferDrawer.calculator.heading.replace("__rate__",ye).replace("__amount__",at)}),t.jsx(kt,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(qt,{windowSize:i,children:[t.jsx(Ut,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(Zt,{children:[t.jsx(Le,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${Z("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(De,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Gt,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${Z("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(Le,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",ye)})}),$?t.jsxs(ze,{windowSize:i,onClick:()=>y(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Jt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(ze,{windowSize:i,onClick:()=>y(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(We,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,$=!1,T=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(n?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Ae=(e,n)=>({transferDetails:{[Ge]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:re(e,!0,n,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:re(e,!1,n,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=r.div`
1
+ import{j as t,X as de,Y as A,gQ as it,M as I,_ as Z,K as Ce,g_ as lt,d as We,a7 as we,o as a,C as c,a6 as Ye,k as st,as as ct,Z as dt,c0 as xe,v as $e,s as ue,a5 as pe,e_ as ut,a as Ve,l as ft,c3 as pt,aJ as mt,a0 as ht,g as U,F as Ne,f7 as Se,f8 as ve,fG as gt,bu as De,fB as wt,g$ as xt,p as o,cW as $t,ah as Xe,bo as Dt,cz as bt,b6 as Tt,f as qe,f3 as yt,dq as Ct,bq as Ze,fa as St,fc as vt}from"./index-7LZq8uFd.js";import{b as u,n as r}from"./vendor-CnQcJ2Lu.js";import{v as kt}from"./ZeniTransferAmountSlider-BwHzq-qG-CnnvbRxC.js";import{r as At}from"./AccountInfoPageContent-C4VpFgc_-ZkxufvWf.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-IPGZ8YB9-BvXaJnQG.js";import"./commonDimensions-B68wSFi9-ClIFAoDP.js";const{common:ce,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Ge="amount",Pt="transferTo",ke="transferFrom",k="transferDetails",Ue="transferDetailPage",me=(e,n)=>`${e}.${n}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function Lt({plaidConnectionDetails:e,transferDetails:n,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:y,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:K,onBackClick:R,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:J,onReviewClick:Q}){const i=de(),E=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,Y]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[V,N]=u.useState(!1),H=n.transferMoneyPartiesFetchState,oe=pe(H),X=n.transferDetailLocalData.transferFrom?.id,ee=n.transferDetailLocalData.transferTo?.id,ie=pe(X),be=pe(ee),Je=u.useCallback(s=>{O?.(s),R(),N(!1),z(!1)},[R,O]),Qe=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=ut({token:v,onSuccess:Je,onExit:Qe}),le=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Ve({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Ae(n,le),[n])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&Y(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{V&&x&&q()},[V,q,x]),u.useEffect(()=>{(ft.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&J?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{(oe==="In-Progress"&&H==="Completed"||ie!==X||be!==ee)&&P.reset(Ae(n,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,H,ie,be,ee,X,P,n,q]);const{isValid:He}=P.formState,et=async(s,h)=>{if(s!=null){const B={...h},se={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:n.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:n.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};K(se)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const se=h[k]?.amount??0,ae=h[k]?.transferFrom,rt=h[k]?.transferTo,nt=n.transferMoneyParties.find(fe=>fe.id===ae?.selectedOption),ot=n.transferMoneyParties.find(fe=>fe.id===rt?.selectedOption);nt?.accType==="paymentAccount"&&ot?.accType==="depositAccount"&&se!==0?(y(!0),C(!0)):C(!1),S(se)}});return()=>{s.unsubscribe()}},[P,n.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&pt(()=>et(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{n.reviewTransferDetail.error!=null?j(!0):j(!1)},[n.reviewTransferDetail.error]);const tt=P.handleSubmit(()=>{He&&(_("Review","Amount Details"),Q())});u.useEffect(()=>{n.transferDetailLocalData.transferTo?.accType==="depositAccount"&&n.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&n.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${ke}`,{selectedOption:n.primaryPaymentAccount?.paymentAccountId,allOptions:re(n,!0,le,!0,!0)})},[n.transferDetailLocalData.transferTo?.id]);const Te=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,ye=Te[Te.length-1].annualPercentageYield.toString(),at=mt(ht(l),l,ce.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(zt,{children:t.jsxs(Ft,{children:[t.jsxs(Mt,{children:[t.jsx(Et,{}),t.jsxs(It,{children:[t.jsx(Ot,{children:n.reviewTransferDetail.error?.title}),t.jsx(_t,{children:n.reviewTransferDetail.error?.message})]})]}),t.jsx(Rt,{children:t.jsx(ta,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:U.heroLight}})})]})}):null,t.jsx(Wt,{children:Z("0,0.[00]",n.transferDetailLocalData.amount)}),t.jsx(Ne,{...P,children:t.jsxs(Bt,{id:Ke(Ue),onSubmit:tt,children:[t.jsxs(Ht,{children:[t.jsx(Fe,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferFrom,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:me(k,ke),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferFrom?.id,allOptions:re(n,!0,le,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Be,{}),t.jsx(Fe,{size:i,children:t.jsx(ea,{size:i,children:t.jsx(Pe,{label:{label:ce.labels.transferTo,width:E,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:me(k,Pt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>ve(n.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>Se(n.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:n.transferDetailLocalData.transferTo?.id,allOptions:re(n,!1,le)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Be,{}),t.jsx(gt,{showAdditionalInfoLabel:!1,label:{label:ce.labels.amount,width:E},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:me(k,Ge),defaultValue:n.transferDetailLocalData.amount.amount===0?void 0:n.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Xt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Vt,{children:b.transferDrawer.calculator.heading.replace("__rate__",ye).replace("__amount__",at)}),t.jsx(kt,{minStep:.01,currentAccountBalance:n.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(qt,{windowSize:i,children:[t.jsx(Ut,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(Zt,{children:[t.jsx(Le,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${Z("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(De,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Nt,{})})]}),t.jsx(Gt,{windowSize:i}),t.jsx(Kt,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${Z("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(Le,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",ye)})}),$?t.jsxs(ze,{windowSize:i,onClick:()=>y(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Jt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(ze,{windowSize:i,onClick:()=>y(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(je,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(We,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const re=(e,n,g,$=!1,T=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(n?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Ae=(e,n)=>({transferDetails:{[Ge]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:re(e,!0,n,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:jt(e)},transferTo:{allOptions:re(e,!1,n,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),jt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,zt=r.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{X as C,u as M,d3 as Ye,j as t,M as L,_ as W,bu as ae,aW as Ne,q as ie,Y as E,d as Ke,o as i,v as k,g as w,b6 as Fe,C as u,cO as _,Q as R,l as V,p as h,gT as le,ay as de,aB as ce,aA as he,az as pe,b9 as Ve,bg as Le,a9 as Me,w as We,fn as Ee,gn as Ge,K as Ue,s as A,ak as Je,iE as Xe,jf as _e,kf as qe,eH as Qe,d5 as Ze,f3 as et,ao as tt,bS as it,id as ot,ie as rt,kg as at,bn as nt,f as G,bY as xe,ih as st,b$ as lt,ii as dt,ij as ct}from"./index-GMJ2nuUF.js";import{b as $,n as o,f as ht,j as ge}from"./vendor-CnQcJ2Lu.js";import{s as pt}from"./commonDimensions-B68wSFi9-M2W23m0D.js";import{g as me}from"./BoxItem-B8KF3Skh-TmzJmYZc.js";import{l as ne,d as xt}from"./treasuryColorHelper-D9SYrM7P-BaWaAPGH.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CJJQqrcA.js";import{o as mt}from"./shield-DOlUxcFf-BCUrujod.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(h[0],h[4]),headerLastColumnRightPadding:new u(h[3],h[11]),headerLastColumnBottomPadding:new u(h[0],h[4]),headerLastColumnLeftPadding:new u(h[3],h[11]),headerHeight:new u(dt,ct),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function wt({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const c=M(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const s of p)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,s)=>{let m=s;r.sortKey===p&&(m=s==="ascending"?"descending":"ascending"),n(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(s=>s.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(nt,{title:f.sortBy,placeholder:f.sortBy,pickerValues:j,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:p=>{d(p,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:a.map(p=>p.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:p.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:p,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===p.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const $t=ht.memo(wt),jt=o.div`
1
+ import{X as C,u as M,d3 as Ye,j as t,M as L,_ as W,bu as ae,aW as Ne,q as ie,Y as E,d as Ke,o as i,v as k,g as w,b6 as Fe,C as u,cO as _,Q as R,l as V,p as h,gT as le,ay as de,aB as ce,aA as he,az as pe,b9 as Ve,bg as Le,a9 as Me,w as We,fn as Ee,gn as Ge,K as Ue,s as A,ak as Je,iE as Xe,jf as _e,kf as qe,eH as Qe,d5 as Ze,f3 as et,ao as tt,bS as it,id as ot,ie as rt,kg as at,bn as nt,f as G,bY as xe,ih as st,b$ as lt,ii as dt,ij as ct}from"./index-7LZq8uFd.js";import{b as $,n as o,f as ht,j as ge}from"./vendor-CnQcJ2Lu.js";import{s as pt}from"./commonDimensions-B68wSFi9-ClIFAoDP.js";import{g as me}from"./BoxItem-B8KF3Skh-BFRCZLbn.js";import{l as ne,d as xt}from"./treasuryColorHelper-D9SYrM7P-DGv1n4_a.js";import{o as gt}from"./transaction-placeholder-CpOwZAMG-CJJQqrcA.js";import{o as mt}from"./shield-DOlUxcFf-BCUrujod.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,ut={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},yt={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},ft={key:"amount",value:se.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[ut,yt,ft],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(h[0],h[4]),headerLastColumnRightPadding:new u(h[3],h[11]),headerLastColumnBottomPadding:new u(h[0],h[4]),headerLastColumnLeftPadding:new u(h[3],h[11]),headerHeight:new u(dt,ct),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function wt({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const c=M(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const s of p)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,s)=>{let m=s;r.sortKey===p&&(m=s==="ascending"?"descending":"ascending"),n(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(s=>s.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(vt,{windowSize:l,children:[t.jsxs(Ct,{children:[t.jsx(Pt,{children:t.jsx(zt,{})}),t.jsx(nt,{title:f.sortBy,placeholder:f.sortBy,pickerValues:j,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:p=>{d(p,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4})]}),t.jsxs(Lt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(jt,{windowSize:l,children:t.jsx(bt,{children:a.map(p=>p.width.value(l)!==0&&t.jsxs(St,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Tt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(G,{children:p.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:p,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===p.key,children:t.jsx(xe,{})})})]}),t.jsx(Dt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(kt,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const $t=ht.memo(wt),jt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{u as ae,X as O,w as xe,d3 as we,a5 as $e,l as fe,M as F,j as r,aW as ye,o as i,iE as je,bu as be,v as S,K,Y as Z,Q as f,Z as V,C as v,g as t,s as _,d5 as Se,eZ as ke,k as ze,f as ve,cI as Ce,p as m,dJ as Le,ke as Pe,c0 as Te,a6 as De,q as Q,cu as Ie}from"./index-GMJ2nuUF.js";import{b as P,n as o,f as Me}from"./vendor-CnQcJ2Lu.js";import{x as Be}from"./MeetingCalenderPopup-DM1wkT0M-XWyjGw5S.js";import{l as Re}from"./treasuryColorHelper-D9SYrM7P-BaWaAPGH.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as Ge}from"./shield-DOlUxcFf-BCUrujod.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const _e=({isOpen:e,onClose:x})=>{const c=O(),u=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ce,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:x,style:{backgroundColor:t.drawerBackground},transitionDuration:250,children:r.jsxs(He,{children:[r.jsx(Ae,{children:r.jsx(Fe,{onClick:x})}),r.jsxs(Ee,{children:[r.jsx(Oe,{windowSize:c,children:u.agreementDrawer.title}),r.jsx(J,{children:u.agreementDrawer.intro}),r.jsx(A,{children:u.agreementDrawer.introBullets.map((d,w)=>r.jsx(re,{children:d},w))}),r.jsx(A,{children:u.agreementDrawer.documents.map((d,w)=>r.jsx(qe,{children:d.hasMultipleLinks===!0&&d.links?r.jsx(Ye,{children:d.links.map((h,$)=>r.jsx(Ue,{children:h.link!==""?r.jsx(ee,{href:h.link,target:"_blank",rel:"noopener noreferrer",children:h.text}):h.text},$))}):r.jsx(ee,{href:d.link,target:"_blank",rel:"noopener noreferrer",children:d.text})},w))}),r.jsx(J,{style:{marginTop:i.sp2},children:u.agreementDrawer.confirmTitle}),r.jsx(A,{children:u.agreementDrawer.confirmBullets.map((d,w)=>r.jsx(re,{children:d},w))})]})]})})},He=o.div`
1
+ import{u as ae,X as O,w as xe,d3 as we,a5 as $e,l as fe,M as F,j as r,aW as ye,o as i,iE as je,bu as be,v as S,K,Y as Z,Q as f,Z as V,C as v,g as t,s as _,d5 as Se,eZ as ke,k as ze,f as ve,cI as Ce,p as m,dJ as Le,ke as Pe,c0 as Te,a6 as De,q as Q,cu as Ie}from"./index-7LZq8uFd.js";import{b as P,n as o,f as Me}from"./vendor-CnQcJ2Lu.js";import{x as Be}from"./MeetingCalenderPopup-DM1wkT0M-B0JJDTJP.js";import{l as Re}from"./treasuryColorHelper-D9SYrM7P-DGv1n4_a.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-D6YoufI_.js";import{o as Ge}from"./shield-DOlUxcFf-BCUrujod.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const _e=({isOpen:e,onClose:x})=>{const c=O(),u=F.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Ce,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:x,style:{backgroundColor:t.drawerBackground},transitionDuration:250,children:r.jsxs(He,{children:[r.jsx(Ae,{children:r.jsx(Fe,{onClick:x})}),r.jsxs(Ee,{children:[r.jsx(Oe,{windowSize:c,children:u.agreementDrawer.title}),r.jsx(J,{children:u.agreementDrawer.intro}),r.jsx(A,{children:u.agreementDrawer.introBullets.map((d,w)=>r.jsx(re,{children:d},w))}),r.jsx(A,{children:u.agreementDrawer.documents.map((d,w)=>r.jsx(qe,{children:d.hasMultipleLinks===!0&&d.links?r.jsx(Ye,{children:d.links.map((h,$)=>r.jsx(Ue,{children:h.link!==""?r.jsx(ee,{href:h.link,target:"_blank",rel:"noopener noreferrer",children:h.text}):h.text},$))}):r.jsx(ee,{href:d.link,target:"_blank",rel:"noopener noreferrer",children:d.text})},w))}),r.jsx(J,{style:{marginTop:i.sp2},children:u.agreementDrawer.confirmTitle}),r.jsx(A,{children:u.agreementDrawer.confirmBullets.map((d,w)=>r.jsx(re,{children:d},w))})]})]})})},He=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{d3 as qe,u as Ge,X as pe,a5 as me,a as he,c3 as fe,M as ge,ab as le,j as t,cI as Je,g as Ye,C as r,aW as Qe,d as Xe,F as ye,c$ as Ke,aQ as Ze,p as n,l as et,K as tt,bu as it,Y as ot,cd as nt,c9 as at,a7 as st,o as i,s as xe,c0 as lt,a6 as rt,Q as ct,h as dt}from"./index-GMJ2nuUF.js";import{b as l,n as o}from"./vendor-CnQcJ2Lu.js";import{F as ut}from"./HelpButton-CzonsAOi-CLT44ucP.js";import{Y as pt}from"./LabeledDocumentField-BKPP0tRe-BoY3MkE4.js";import{P as mt}from"./DocumentSecurityBanner-BgKXBGg3-gTBQRSLd.js";import{r as ht}from"./verification-CW6uEyev-DdkqedMU.js";import{J as re}from"./SetUpDefaultSection-DkoRgSyp-BG63EHcf.js";import{p as ft}from"./SpendMgmtSetupAccountSection-CNcWLqIc-Bk6Q5WZ8.js";import gt from"./PortfolioAllocationFormPage-DbGLXM2D-BjP-OUR_.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-DM1wkT0M-XWyjGw5S.js";import"./ChargeCardUtils-CtoTn6DQ-C3z4uZjJ.js";import"./CreditCardPaymentPlgSection-IeRxDnG7-iIog9fs2.js";import"./ChaseOverlay-DfjQ73Ie-BOsM74a7.js";import"./PortfolioDetails-D2RWl4uo-6RAVkUY_.js";import"./treasuryColorHelper-D9SYrM7P-BaWaAPGH.js";const ce=(e,s)=>`${e}.${s}`,S={labelWidth:new r(145,155),largeLabelDocumentWidth:new r(210,252),marginBottom:new r(n[2],n[0]),navBarContainerPaddingYaxis:new r(10,n[3]),containerPaddingLeft:new r(n[3],n[6],n[8]),containerPaddingRight:new r(n[3],n[6],n[8])},yt={stepTitle:new ct("h6Regular","h5Regular")},we=ge.getLocalizedStrings(),{common:de}=we,p=we.commonSetUp.businessVerification,ee=p.sourceOfFundOptions,b="additionalVerificationFields",xt=({companyOfficer:e,companyDetails:s,updateStatus:h,fileProps:f,isDetailsSubmitted:g,onClose:F,onAdditionalVerificationFieldsChanged:B,onSendForVerificationClick:W,onCloseOverlay:$})=>{const c=pe(),_=S.labelWidth.value(c),k=S.largeLabelDocumentWidth.value(c),M=me(h.fetchState),C=he({mode:"all",reValidateMode:"onChange",defaultValues:l.useMemo(()=>({[b]:{sourceOfFunds:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(ee)},formationDocument:s?.companyFiles.find(a=>a.documentType==="company_formation_document")}}),[s?.sourceOfFunds,s?.companyFiles])}),U=a=>ee[a]??a,O=s?.deleteFileStatusById??{},A=s?.updateFileStatusById??{},N=Object.values(O??{}).filter(a=>a!=null),H=et.reduceAllFetchState(N),R=C.handleSubmit(()=>{H.fetchState!=="In-Progress"&&W(e?.officerType??"Officer_1")}),q=async(a,x)=>{B(x[b])};return l.useEffect(()=>{const a=C.watch((x,{name:T})=>{T!=null&&x!=null&&fe(()=>q(T,x))});return()=>{a.unsubscribe()}}),M==="In-Progress"&&h.fetchState==="Completed"||g===!0?t.jsxs(Pt,{children:[t.jsxs(Ft,{children:[t.jsx(ht,{}),t.jsx(St,{windowSize:c,children:p.submittedTitle}),t.jsx(kt,{children:p.submittedDescription})]}),t.jsx(tt,{label:p.submittedButton,onClick:$,variant:"primary"})]}):t.jsxs(wt,{windowSize:c,children:[t.jsx(bt,{windowSize:c,children:t.jsx(it,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(vt,{"data-testid":ot("nav-bar-back-portfolio-allocation"),onClick:$||F})})}),t.jsxs($t,{windowSize:c,children:[t.jsx(Ot,{windowSize:c,children:p.verifyBusinessDetails}),t.jsx(At,{children:t.jsxs(Tt,{children:[t.jsx(Et,{}),t.jsx(Lt,{})]})})]}),t.jsx(be,{children:p.verifyBusinessDetailsDescription}),t.jsx(ye,{...C,children:t.jsxs("form",{id:b,onSubmit:R,children:[t.jsxs(Ct,{children:[t.jsx(mt,{}),t.jsx(pt,{name:ce(b,"formationDocument"),sizeLimit:nt,filesEndPoint:f.filesEndPoint,authParams:f.authParams,label:{label:p.formationDocumentLabel,width:k,style:{marginBottom:S.marginBottom.valuePx(c)}},style:{width:"auto"},file:s?.companyFiles.find(a=>a.documentType==="company_formation_document"),filemetadataPayload:{documentType:"company_formation_document",purposeId:"business_verification",documentSide:"front"},acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!0},additionalInfoLabel:p.formationDocumentError.replace("_product_type_","business verification"),updateFilesEntity:f.updateFilesEntity,onEditFileName:f.onEditFileName,onDeleteFile:f.onDeleteFile,deleteFileStatusById:O,updateFileStatusById:A}),t.jsx(jt,{}),t.jsx(at,{label:{label:p.sourceOfFundsLabel,width:_},style:{width:"auto"},additionalInfoLabel:p.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:ce(b,"sourceOfFunds"),placeholder:p.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:U,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(ee)},registerOptions:{required:!0,validate:a=>!!a?.selectedOption}},isFunctional:!0,errorInfoLabel:p.sourceOfFundsError.replace("_product_type_","business verification")})]}),t.jsx(st,{formId:b,primaryBtn:{label:de.footer.submit,style:{width:"auto",minWidth:c==="small"?"auto":"83px"},isLoading:h.fetchState==="In-Progress"},cancelBtn:{label:de.footer.back,style:{width:c==="small"?"auto":"83px"},onClick:F},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},wt=o.div`
1
+ import{d3 as qe,u as Ge,X as pe,a5 as me,a as he,c3 as fe,M as ge,ab as le,j as t,cI as Je,g as Ye,C as r,aW as Qe,d as Xe,F as ye,c$ as Ke,aQ as Ze,p as n,l as et,K as tt,bu as it,Y as ot,cd as nt,c9 as at,a7 as st,o as i,s as xe,c0 as lt,a6 as rt,Q as ct,h as dt}from"./index-7LZq8uFd.js";import{b as l,n as o}from"./vendor-CnQcJ2Lu.js";import{F as ut}from"./HelpButton-CzonsAOi-m3FKXj16.js";import{Y as pt}from"./LabeledDocumentField-BKPP0tRe-8_VpQPbU.js";import{P as mt}from"./DocumentSecurityBanner-BgKXBGg3-C273xq_s.js";import{r as ht}from"./verification-CW6uEyev-DdkqedMU.js";import{J as re}from"./SetUpDefaultSection-DkoRgSyp-ZckYWg9W.js";import{p as ft}from"./SpendMgmtSetupAccountSection-CNcWLqIc-BNjyOv1A.js";import gt from"./PortfolioAllocationFormPage-DbGLXM2D-iHwqk059.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-DM1wkT0M-B0JJDTJP.js";import"./ChargeCardUtils-CtoTn6DQ-ChSz2yaB.js";import"./CreditCardPaymentPlgSection-IeRxDnG7-BbkKq9r1.js";import"./ChaseOverlay-DfjQ73Ie-D3Unw4TX.js";import"./PortfolioDetails-D2RWl4uo-Cg59OqzS.js";import"./treasuryColorHelper-D9SYrM7P-DGv1n4_a.js";const ce=(e,s)=>`${e}.${s}`,S={labelWidth:new r(145,155),largeLabelDocumentWidth:new r(210,252),marginBottom:new r(n[2],n[0]),navBarContainerPaddingYaxis:new r(10,n[3]),containerPaddingLeft:new r(n[3],n[6],n[8]),containerPaddingRight:new r(n[3],n[6],n[8])},yt={stepTitle:new ct("h6Regular","h5Regular")},we=ge.getLocalizedStrings(),{common:de}=we,p=we.commonSetUp.businessVerification,ee=p.sourceOfFundOptions,b="additionalVerificationFields",xt=({companyOfficer:e,companyDetails:s,updateStatus:h,fileProps:f,isDetailsSubmitted:g,onClose:F,onAdditionalVerificationFieldsChanged:B,onSendForVerificationClick:W,onCloseOverlay:$})=>{const c=pe(),_=S.labelWidth.value(c),k=S.largeLabelDocumentWidth.value(c),M=me(h.fetchState),C=he({mode:"all",reValidateMode:"onChange",defaultValues:l.useMemo(()=>({[b]:{sourceOfFunds:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(ee)},formationDocument:s?.companyFiles.find(a=>a.documentType==="company_formation_document")}}),[s?.sourceOfFunds,s?.companyFiles])}),U=a=>ee[a]??a,O=s?.deleteFileStatusById??{},A=s?.updateFileStatusById??{},N=Object.values(O??{}).filter(a=>a!=null),H=et.reduceAllFetchState(N),R=C.handleSubmit(()=>{H.fetchState!=="In-Progress"&&W(e?.officerType??"Officer_1")}),q=async(a,x)=>{B(x[b])};return l.useEffect(()=>{const a=C.watch((x,{name:T})=>{T!=null&&x!=null&&fe(()=>q(T,x))});return()=>{a.unsubscribe()}}),M==="In-Progress"&&h.fetchState==="Completed"||g===!0?t.jsxs(Pt,{children:[t.jsxs(Ft,{children:[t.jsx(ht,{}),t.jsx(St,{windowSize:c,children:p.submittedTitle}),t.jsx(kt,{children:p.submittedDescription})]}),t.jsx(tt,{label:p.submittedButton,onClick:$,variant:"primary"})]}):t.jsxs(wt,{windowSize:c,children:[t.jsx(bt,{windowSize:c,children:t.jsx(it,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(vt,{"data-testid":ot("nav-bar-back-portfolio-allocation"),onClick:$||F})})}),t.jsxs($t,{windowSize:c,children:[t.jsx(Ot,{windowSize:c,children:p.verifyBusinessDetails}),t.jsx(At,{children:t.jsxs(Tt,{children:[t.jsx(Et,{}),t.jsx(Lt,{})]})})]}),t.jsx(be,{children:p.verifyBusinessDetailsDescription}),t.jsx(ye,{...C,children:t.jsxs("form",{id:b,onSubmit:R,children:[t.jsxs(Ct,{children:[t.jsx(mt,{}),t.jsx(pt,{name:ce(b,"formationDocument"),sizeLimit:nt,filesEndPoint:f.filesEndPoint,authParams:f.authParams,label:{label:p.formationDocumentLabel,width:k,style:{marginBottom:S.marginBottom.valuePx(c)}},style:{width:"auto"},file:s?.companyFiles.find(a=>a.documentType==="company_formation_document"),filemetadataPayload:{documentType:"company_formation_document",purposeId:"business_verification",documentSide:"front"},acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!0},additionalInfoLabel:p.formationDocumentError.replace("_product_type_","business verification"),updateFilesEntity:f.updateFilesEntity,onEditFileName:f.onEditFileName,onDeleteFile:f.onDeleteFile,deleteFileStatusById:O,updateFileStatusById:A}),t.jsx(jt,{}),t.jsx(at,{label:{label:p.sourceOfFundsLabel,width:_},style:{width:"auto"},additionalInfoLabel:p.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:ce(b,"sourceOfFunds"),placeholder:p.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:U,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:s?.sourceOfFunds??"",allOptions:Object.keys(ee)},registerOptions:{required:!0,validate:a=>!!a?.selectedOption}},isFunctional:!0,errorInfoLabel:p.sourceOfFundsError.replace("_product_type_","business verification")})]}),t.jsx(st,{formId:b,primaryBtn:{label:de.footer.submit,style:{width:"auto",minWidth:c==="small"?"auto":"83px"},isLoading:h.fetchState==="In-Progress"},cancelBtn:{label:de.footer.back,style:{width:c==="small"?"auto":"83px"},onClick:F},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},wt=o.div`
2
2
  height: auto;
3
3
  padding-left: ${e=>`${S.containerPaddingLeft.valuePx(e.windowSize)}`};
4
4
  padding-right: ${e=>`${S.containerPaddingRight.valuePx(e.windowSize)}`};
@@ -1,4 +1,4 @@
1
- import{u as j,X as v,j as t,aW as z,M as C,ao as P,o as r,g as c,bS as I,C as M,p as d,s as R}from"./index-GMJ2nuUF.js";import{b as m,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as T}from"./BoxItem-B8KF3Skh-TmzJmYZc.js";import{o as B}from"./commonDimensions-B68wSFi9-M2W23m0D.js";import{O as E}from"./StatementItem-CV3b0pVj-CWdkAyq6.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-IPGZ8YB9-DocjrP8U.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new M(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:T(s,a.statements.length)},l.id)}):t.jsx(L,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(X,{children:h.noStatements})})})})};return t.jsxs(O,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(A,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,p=o.div`
1
+ import{u as j,X as v,j as t,aW as z,M as C,ao as P,o as r,g as c,bS as I,C as M,p as d,s as R}from"./index-7LZq8uFd.js";import{b as m,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as T}from"./BoxItem-B8KF3Skh-BFRCZLbn.js";import{o as B}from"./commonDimensions-B68wSFi9-ClIFAoDP.js";import{O as E}from"./StatementItem-CV3b0pVj-DkwqxGhJ.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-IPGZ8YB9-BvXaJnQG.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new M(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:a,onBackClick:b})=>{const g=j(),i=v(),f=m.createRef(),y=m.useRef(),$=a.statements.length===0,k=()=>B.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.statements[s];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:T(s,a.statements.length)},l.id)}):t.jsx(L,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(X,{children:h.noStatements})})})})};return t.jsxs(O,{children:[t.jsx(z,{title:h.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(A,{windowSize:i,children:t.jsx(P,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,p=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{u as j,X as v,j as t,aW as L,M as z,ao as C,o as r,g as c,bS as P,C as T,p as d,s as I}from"./index-GMJ2nuUF.js";import{b as h,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as M}from"./BoxItem-B8KF3Skh-TmzJmYZc.js";import{o as R}from"./commonDimensions-B68wSFi9-M2W23m0D.js";import{O as B}from"./StatementItem-CV3b0pVj-CWdkAyq6.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-IPGZ8YB9-DocjrP8U.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new T(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:b})=>{const g=j(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>R.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:M(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(X,{children:p.noTaxLetter})})})})};return t.jsxs(O,{children:[t.jsx(L,{title:p.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(A,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},E=o.div``,m=o.div`
1
+ import{u as j,X as v,j as t,aW as L,M as z,ao as C,o as r,g as c,bS as P,C as T,p as d,s as I}from"./index-7LZq8uFd.js";import{b as h,n as o}from"./vendor-CnQcJ2Lu.js";import{$ as M}from"./BoxItem-B8KF3Skh-BFRCZLbn.js";import{o as R}from"./commonDimensions-B68wSFi9-ClIFAoDP.js";import{O as B}from"./StatementItem-CV3b0pVj-DkwqxGhJ.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./downloadPdf-IPGZ8YB9-BvXaJnQG.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new T(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:b})=>{const g=j(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>R.transactionItemHeightResponsive.value(i),S=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:M(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(X,{children:p.noTaxLetter})})})})};return t.jsxs(O,{children:[t.jsx(L,{title:p.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:b,source:"treasury"}),t.jsx(A,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(H,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},E=o.div``,m=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{X as ge,J as xt,j as o,Y as P,gQ as yt,M as we,_ as Y,K as Ie,d as Ze,a7 as Ue,o as t,C as f,a6 as Ce,k as $t,aq as bt,u as St,a5 as pe,bu as vt,cO as He,Q as R,l as z,f_ as jt,g as S,Z as At,h as et,v as W,s as X,e_ as kt,a as Tt,c3 as Pt,F as Ct,fG as zt,p as c,bo as tt,cW as ot,ah as rt,cz as Dt,cq as Lt,fa as Ft,f2 as Mt,d3 as Rt,f as Bt,f3 as Ot,dq as It,bY as Et,bX as _t,aP as Nt,be as Vt,fc as Yt,fl as Wt,aJ as Xt}from"./index-GMJ2nuUF.js";import{n as r,b as w}from"./vendor-CnQcJ2Lu.js";import{E as nt}from"./PortfolioDetails-D2RWl4uo-6RAVkUY_.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-D9SYrM7P-BaWaAPGH.js";const qt=we.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Gt=1e3;function Kt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Rt().analytics,[s,m]=w.useState(a);w.useEffect(()=>{m(a)},[a]);const x=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(Ht,{sliderValue:s,children:[o.jsx(Ut,{sliderValue:s,type:"range",min:F[0],max:F[F.length-1],step:Gt,value:s,onChange:x}),o.jsx(eo,{style:{width:`${Math.min(s/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(no,{sliderValue:s,style:{left:`calc(${Math.min(Math.max(s/F[F.length-1]*100,5),95)}% - 50px)`},children:Qt(s)}),o.jsx(to,{children:F.map((h,i)=>o.jsx(oo,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Jt(i)},children:o.jsx(ro,{isSelected:s>=h,children:Zt(h)})},h))})]})}const Qt=e=>{const a=Xt("0,0.[00]a",e,"$").toUpperCase();return`${qt.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Jt=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},Zt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),Ut=r.input`
1
+ import{X as ge,J as xt,j as o,Y as P,gQ as yt,M as we,_ as Y,K as Ie,d as Ze,a7 as Ue,o as t,C as f,a6 as Ce,k as $t,aq as bt,u as St,a5 as pe,bu as vt,cO as He,Q as R,l as z,f_ as jt,g as S,Z as At,h as et,v as W,s as X,e_ as kt,a as Tt,c3 as Pt,F as Ct,fG as zt,p as c,bo as tt,cW as ot,ah as rt,cz as Dt,cq as Lt,fa as Ft,f2 as Mt,d3 as Rt,f as Bt,f3 as Ot,dq as It,bY as Et,bX as _t,aP as Nt,be as Vt,fc as Yt,fl as Wt,aJ as Xt}from"./index-7LZq8uFd.js";import{n as r,b as w}from"./vendor-CnQcJ2Lu.js";import{E as nt}from"./PortfolioDetails-D2RWl4uo-Cg59OqzS.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./treasuryColorHelper-D9SYrM7P-DGv1n4_a.js";const qt=we.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Gt=1e3;function Kt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Rt().analytics,[s,m]=w.useState(a);w.useEffect(()=>{m(a)},[a]);const x=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(Ht,{sliderValue:s,children:[o.jsx(Ut,{sliderValue:s,type:"range",min:F[0],max:F[F.length-1],step:Gt,value:s,onChange:x}),o.jsx(eo,{style:{width:`${Math.min(s/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(no,{sliderValue:s,style:{left:`calc(${Math.min(Math.max(s/F[F.length-1]*100,5),95)}% - 50px)`},children:Qt(s)}),o.jsx(to,{children:F.map((h,i)=>o.jsx(oo,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Jt(i)},children:o.jsx(ro,{isSelected:s>=h,children:Zt(h)})},h))})]})}const Qt=e=>{const a=Xt("0,0.[00]a",e,"$").toUpperCase();return`${qt.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Jt=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},Zt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),Ut=r.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;
@@ -1,4 +1,4 @@
1
- import{M as j,j as l,l as u,u as B,Y,ao as Z,b7 as z,b8 as F,aB as P,q as w,aA as R,aJ as q,b9 as O,aC as K,bb as _,o as L,g as G,s as N}from"./index-GMJ2nuUF.js";import{b as v,f as V,n as $}from"./vendor-CnQcJ2Lu.js";import{d as W,g as M,p as k,u as J}from"./chartTypes-0tTBFzPe-DXv2oVtL.js";import{o as Q}from"./toCOABalancesWithID-e2ImXwdp-1SnM9fzu.js";import{V as X}from"./toChartData-Dh91kb97-BMfM5MG4.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const H=$.div`
1
+ import{M as j,j as l,l as u,u as B,Y,ao as Z,b7 as z,b8 as F,aB as P,q as w,aA as R,aJ as q,b9 as O,aC as K,bb as _,o as L,g as G,s as N}from"./index-7LZq8uFd.js";import{b as v,f as V,n as $}from"./vendor-CnQcJ2Lu.js";import{d as W,g as M,p as k,u as J}from"./chartTypes-0tTBFzPe-DfKjt0H-.js";import{o as Q}from"./toCOABalancesWithID-e2ImXwdp-DbYgG8Vn.js";import{V as X}from"./toChartData-Dh91kb97-VDQJXs1O.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const H=$.div`
2
2
  display: flex;
3
3
  `,I=$.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{X as D,j as i,d as R,o as t,M as F,C as c,Y as S,ao as q,aq as Y,c0 as E,p as a,s as K,a6 as X}from"./index-GMJ2nuUF.js";import{b as k,n}from"./vendor-CnQcJ2Lu.js";import V from"./TrendChart-Dp3QrDED-8QXEOf_A.js";import{C as W}from"./NoDataChart-CydgbaO2-w_aLFoRL.js";import{F as _}from"./InsightsSection-CN1BVvSr-DiHzw0Zr.js";import{l as Z}from"./TransactionList-BABUQprb-zMQcRTpf.js";const G=n.div`
1
+ import{X as D,j as i,d as R,o as t,M as F,C as c,Y as S,ao as q,aq as Y,c0 as E,p as a,s as K,a6 as X}from"./index-7LZq8uFd.js";import{b as k,n}from"./vendor-CnQcJ2Lu.js";import V from"./TrendChart-Dp3QrDED-CAJmNVfK.js";import{C as W}from"./NoDataChart-CydgbaO2-Byn79qBb.js";import{F as _}from"./InsightsSection-CN1BVvSr-DjvD2RGi.js";import{l as Z}from"./TransactionList-BABUQprb-DwJtA6li.js";const G=n.div`
2
2
  display: inline-block;
3
3
  `,J=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{u as ce,X as se,w as Ye,a5 as en,g6 as R,he as U,M as q,a as nn,hf as tn,hg as Te,c3 as on,j as t,aW as cn,bN as sn,bP as ln,bQ as an,F as rn,l as J,hh as dn,d as un,hi as X,hj as pn,a7 as mn,hk as _e,C as u,s as gn,o as l,cg as fe,ab as W,gb as oe,hl as ie,p as d,Q as Ae,g as $e,fA as Ve,v as Se,cZ as xn}from"./index-GMJ2nuUF.js";import{b as K,n as s}from"./vendor-CnQcJ2Lu.js";import{F as hn}from"./HelpButton-CzonsAOi-CLT44ucP.js";import{h as wn}from"./VendorsAccountsSection-B_nDMJSn-DKF52Cpa.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-DM1wkT0M-XWyjGw5S.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(d[6],d[7]),iconContainerMarginRight:new u(12,d[3]),iconPadding:new u(10,12),rowGap:new u(d[2],d[3]),elementsMarginLeftRight:new u(d[3],d[4])},He={title:new Ae("standardMedium","largeMedium")},bn=s.div`
1
+ import{u as ce,X as se,w as Ye,a5 as en,g6 as R,he as U,M as q,a as nn,hf as tn,hg as Te,c3 as on,j as t,aW as cn,bN as sn,bP as ln,bQ as an,F as rn,l as J,hh as dn,d as un,hi as X,hj as pn,a7 as mn,hk as _e,C as u,s as gn,o as l,cg as fe,ab as W,gb as oe,hl as ie,p as d,Q as Ae,g as $e,fA as Ve,v as Se,cZ as xn}from"./index-7LZq8uFd.js";import{b as K,n as s}from"./vendor-CnQcJ2Lu.js";import{F as hn}from"./HelpButton-CzonsAOi-m3FKXj16.js";import{h as wn}from"./VendorsAccountsSection-B_nDMJSn-k1ygQ78-.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./MeetingCalenderPopup-DM1wkT0M-B0JJDTJP.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(d[6],d[7]),iconContainerMarginRight:new u(12,d[3]),iconPadding:new u(10,12),rowGap:new u(d[2],d[3]),elementsMarginLeftRight:new u(d[3],d[4])},He={title:new Ae("standardMedium","largeMedium")},bn=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{a5 as b,j as t,hn as R,ho as _,X as F,M as O,bN as U,i as C,bP as N,bQ as z,a as M,F as H,cc as G,l as T,c8 as D,C as g,c9 as K,g as A,m as Z,d as J,K as Q,o as i,s as X,p as B,Z as Y,av as ee}from"./index-GMJ2nuUF.js";import{b as c,n as f}from"./vendor-CnQcJ2Lu.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(B[3],B[2]),width:new g(300,420,420)},te=f.div`
1
+ import{a5 as b,j as t,hn as R,ho as _,X as F,M as O,bN as U,i as C,bP as N,bQ as z,a as M,F as H,cc as G,l as T,c8 as D,C as g,c9 as K,g as A,m as Z,d as J,K as Q,o as i,s as X,p as B,Z as Y,av as ee}from"./index-7LZq8uFd.js";import{b as c,n as f}from"./vendor-CnQcJ2Lu.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(B[3],B[2]),width:new g(300,420,420)},te=f.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{a as U,fd as x,a5 as k,l as q,X as W,M as Y,j as i,c3 as _,F as A,Y as K,fe as X,o as a,g as G,cd as H,a7 as J,C as y,a6 as Q,c0 as Z,av as ee,as as te,p as c}from"./index-GMJ2nuUF.js";import{b as m,n as l}from"./vendor-CnQcJ2Lu.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:v,companyOfficer:t,updateStatus:f,onClose:$,onEditFileName:E,onDeleteFile:I,updateFilesEntity:D,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=U({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,S]=m.useState(!1),[N,O]=m.useState(!1),b=k(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=q.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,f,n,t?.additionalFiles]);const r=W(),h=Y.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,M=n.handleSubmit(()=>{L.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),R=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),S(!0)):S(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&_(()=>R(d,p))});return()=>{o.unsubscribe()}}),i.jsx(A,{...n,children:i.jsxs("form",{id:u,onSubmit:M,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":K("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(X,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:v,hasError:N,onEditFileName:E,onDeleteFile:I,updateFilesEntity:D,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(J,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
1
+ import{a as U,fd as x,a5 as k,l as q,X as W,M as Y,j as i,c3 as _,F as A,Y as K,fe as X,o as a,g as G,cd as H,a7 as J,C as y,a6 as Q,c0 as Z,av as ee,as as te,p as c}from"./index-7LZq8uFd.js";import{b as m,n as l}from"./vendor-CnQcJ2Lu.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:v,companyOfficer:t,updateStatus:f,onClose:$,onEditFileName:E,onDeleteFile:I,updateFilesEntity:D,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=U({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,S]=m.useState(!1),[N,O]=m.useState(!1),b=k(f.fetchState),j=t?.deleteFileStatusById??{},B=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=q.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,f,n,t?.additionalFiles]);const r=W(),h=Y.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,M=n.handleSubmit(()=>{L.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),R=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),S(!0)):S(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&_(()=>R(d,p))});return()=>{o.unsubscribe()}}),i.jsx(A,{...n,children:i.jsxs("form",{id:u,onSubmit:M,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":K("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(X,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:H,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${G.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:B,filesEndPoint:w,authParams:v,hasError:N,onEditFileName:E,onDeleteFile:I,updateFilesEntity:D,onFileSizeError:o=>O(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(J,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{a5 as o,M as v,j as n,hn as k,ho as I}from"./index-GMJ2nuUF.js";import{b as e}from"./vendor-CnQcJ2Lu.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const H=({vendorViewDetails:S,isExpressPayPage:i,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),E=v.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),n.jsx(n.Fragment,{children:C===!0?n.jsx(k,{showHelperText:!i,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?n.jsx(I,{showHelperText:!i,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:i?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{H as default};
1
+ import{a5 as o,M as v,j as n,hn as k,ho as I}from"./index-7LZq8uFd.js";import{b as e}from"./vendor-CnQcJ2Lu.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const H=({vendorViewDetails:S,isExpressPayPage:i,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),E=v.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),n.jsx(n.Fragment,{children:C===!0?n.jsx(k,{showHelperText:!i,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?n.jsx(I,{showHelperText:!i,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:i?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{H as default};
@@ -1 +1 @@
1
- import{j as u}from"./index-GMJ2nuUF.js";import{b as d}from"./vendor-CnQcJ2Lu.js";import{f as k}from"./ACHDetailsPage-DGGeHZnW-CRRXdkuL.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-ClrNHLqo-NpMhaSfC.js";import"./MagicLinkTitleSection-BcnZtmCV-D3vo1-CC.js";import"./BankAccountSection-DLB1oftk-DEn9rP2e.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
1
+ import{j as u}from"./index-7LZq8uFd.js";import{b as d}from"./vendor-CnQcJ2Lu.js";import{f as k}from"./ACHDetailsPage-DGGeHZnW-DfPQU9W7.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-ClrNHLqo-CMD3PwFS.js";import"./MagicLinkTitleSection-BcnZtmCV-DU7ZJFya.js";import"./BankAccountSection-DLB1oftk-BsGhlZhg.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
@@ -1,4 +1,4 @@
1
- import{M as _,u as Re,X as ne,C as g,J as be,l as se,c5 as xt,a as yt,gw as Be,gx as Ae,gy as Ee,gz as fe,gA as bt,ab as ft,c3 as wt,j as t,aW as Ct,F as St,gB as $t,gC as ue,p as l,c4 as Dt,a7 as jt,o,bh as $,cg as Tt,gb as we,gD as Lt,c6 as Vt,c7 as kt,c8 as Ot,gE as It,fH as Pt,ce as zt,gF as Ft,gG as Mt,g as M,dp as _t,dn as Wt,cs as Ht,aJ as de,aq as Ue,v as qe,dq as Nt,f3 as Rt,gH as Bt,gI as At,s as Et,gJ as Ut,ah as Ye,gK as qt,Q as Ce,h as Ge}from"./index-GMJ2nuUF.js";import{b as S,n as a,j as Yt}from"./vendor-CnQcJ2Lu.js";import{k as Gt}from"./SubTabSwitcher-_XBeoyd8-ky9GU4WA.js";import{l as Jt}from"./TransactionList-BABUQprb-zMQcRTpf.js";import{R as Qt}from"./TrendWithTransactions-D8xzYG_f-De6kCbSg.js";import{o as Kt,t as Xt}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{W as Zt}from"./LabeledAddressValueField-Bey_bvyv-WhcVyZpQ.js";import{Y as es}from"./LabeledDropDownFormattedTextField-NsCaPjuf-BLoARtnk.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./BoxItem-B8KF3Skh-TmzJmYZc.js";import"./commonDimensions-B68wSFi9-M2W23m0D.js";import"./TrendChart-Dp3QrDED-8QXEOf_A.js";import"./chartTypes-0tTBFzPe-DXv2oVtL.js";import"./toCOABalancesWithID-e2ImXwdp-1SnM9fzu.js";import"./toChartData-Dh91kb97-BMfM5MG4.js";import"./NoDataChart-CydgbaO2-w_aLFoRL.js";import"./InsightsSection-CN1BVvSr-DiHzw0Zr.js";import"./NavigationDots-Dt6TkUQ7-IyWw7xzb.js";const ts=a.div`
1
+ import{M as _,u as Re,X as ne,C as g,J as be,l as se,c5 as xt,a as yt,gw as Be,gx as Ae,gy as Ee,gz as fe,gA as bt,ab as ft,c3 as wt,j as t,aW as Ct,F as St,gB as $t,gC as ue,p as l,c4 as Dt,a7 as jt,o,bh as $,cg as Tt,gb as we,gD as Lt,c6 as Vt,c7 as kt,c8 as Ot,gE as It,fH as Pt,ce as zt,gF as Ft,gG as Mt,g as M,dp as _t,dn as Wt,cs as Ht,aJ as de,aq as Ue,v as qe,dq as Nt,f3 as Rt,gH as Bt,gI as At,s as Et,gJ as Ut,ah as Ye,gK as qt,Q as Ce,h as Ge}from"./index-7LZq8uFd.js";import{b as S,n as a,j as Yt}from"./vendor-CnQcJ2Lu.js";import{k as Gt}from"./SubTabSwitcher-_XBeoyd8-DUopAPcR.js";import{l as Jt}from"./TransactionList-BABUQprb-DwJtA6li.js";import{R as Qt}from"./TrendWithTransactions-D8xzYG_f-B0RTSnu8.js";import{o as Kt,t as Xt}from"./arrow-south-east-round-PEovUgvH-DBLhwZXJ.js";import{W as Zt}from"./LabeledAddressValueField-Bey_bvyv-C6LU3rGD.js";import{Y as es}from"./LabeledDropDownFormattedTextField-NsCaPjuf-BXUujUcl.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./BoxItem-B8KF3Skh-BFRCZLbn.js";import"./commonDimensions-B68wSFi9-ClIFAoDP.js";import"./TrendChart-Dp3QrDED-CAJmNVfK.js";import"./chartTypes-0tTBFzPe-DfKjt0H-.js";import"./toCOABalancesWithID-e2ImXwdp-DbYgG8Vn.js";import"./toChartData-Dh91kb97-VDQJXs1O.js";import"./NoDataChart-CydgbaO2-Byn79qBb.js";import"./InsightsSection-CN1BVvSr-DjvD2RGi.js";import"./NavigationDots-Dt6TkUQ7-q8kDyBXO.js";const ts=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{j as S}from"./index-GMJ2nuUF.js";import{b as C}from"./vendor-CnQcJ2Lu.js";import{D as b}from"./DomesticWireDetailsPage-CVKheLW6-Cp0cNoH9.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-DLB1oftk-DEn9rP2e.js";import"./MagicLinkTitleSection-BcnZtmCV-D3vo1-CC.js";import"./BankAccountWarningSection-ClrNHLqo-NpMhaSfC.js";import"./MailingDetailsSection-B5PAttoo-Ia41UfJq.js";import"./LabeledAddressValueField-Bey_bvyv-WhcVyZpQ.js";const V=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{V as default};
1
+ import{j as S}from"./index-7LZq8uFd.js";import{b as C}from"./vendor-CnQcJ2Lu.js";import{D as b}from"./DomesticWireDetailsPage-CVKheLW6-CBbVsVGf.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./BankAccountSection-DLB1oftk-BsGhlZhg.js";import"./MagicLinkTitleSection-BcnZtmCV-DU7ZJFya.js";import"./BankAccountWarningSection-ClrNHLqo-CMD3PwFS.js";import"./MailingDetailsSection-B5PAttoo-CIRvfrUO.js";import"./LabeledAddressValueField-Bey_bvyv-C6LU3rGD.js";const V=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{V as default};
@@ -1,4 +1,4 @@
1
- import{X as oe,u as ze,M as ne,a as ke,cw as K,gL as de,c3 as Ae,C as w,j as t,aW as Be,Y as Ee,F as Oe,c6 as C,o as s,ca as Re,gE as We,fH as Me,ce as qe,gF as He,gG as Ue,cm as Ke,a7 as Ge,co as Ye,cx as Ze,p as c,a6 as Je,bh as F,c1 as Qe,gM as Xe,g as I,eT as _e,ah as et,s as ce,eC as tt,gN as st,gO as lt,gP as q,cy as it}from"./index-GMJ2nuUF.js";import{b as x,n as a}from"./vendor-CnQcJ2Lu.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-NsCaPjuf-BLoARtnk.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:h,style:R}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:h,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:q(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:q(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:q(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:h,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:K(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
1
+ import{X as oe,u as ze,M as ne,a as ke,cw as K,gL as de,c3 as Ae,C as w,j as t,aW as Be,Y as Ee,F as Oe,c6 as C,o as s,ca as Re,gE as We,fH as Me,ce as qe,gF as He,gG as Ue,cm as Ke,a7 as Ge,co as Ye,cx as Ze,p as c,a6 as Je,bh as F,c1 as Qe,gM as Xe,g as I,eT as _e,ah as et,s as ce,eC as tt,gN as st,gO as lt,gP as q,cy as it}from"./index-7LZq8uFd.js";import{b as x,n as a}from"./vendor-CnQcJ2Lu.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-NsCaPjuf-BXUujUcl.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:h,style:R}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:R,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:h,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:q(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:q(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:q(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:h,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:K(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{X as le,w as On,u as mn,a as nt,hz as ze,c3 as tt,z as Nn,hA as re,hB as ve,hC as fe,hD as be,hE as me,M as je,j as n,hv as ot,F as rt,aW as it,T as st,bN as lt,bP as at,bQ as dt,eZ as ct,Y as ie,bg as mt,bK as pt,ao as ut,dj as ht,bS as gt,C as w,d as wt,I as Oe,o as t,aa as In,s as De,a9 as xt,p as c,v as Re,bY as vt,l as Pn,dp as zn,bh as Pe,hF as Tn,b$ as ft,bD as bt,d0 as $t,av as Je,aN as pn,g as B,ee as Dn,fh as St,df as wn,cs as rn,hG as yt,hH as sn,m as jt,bu as Be,c$ as Rt,er as xn,b6 as Ct,dr as Vt,K as vn,hI as kt,cg as Mt,co as Ot,cp as Nt,ew as It,f as Ln,hJ as Pt,b3 as se,hK as fn,gd as zt,b1 as Tt,b5 as Dt,dq as Lt,q as An,Q as At,eD as Ft,ac as dn}from"./index-GMJ2nuUF.js";import{b as f,n as o,j as cn}from"./vendor-CnQcJ2Lu.js";import{r as _t}from"./mui-BgvZYSo0.js";import{R as Bt}from"./Menu-teOpHszN-B4_aUeNn.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const Fn=({steps:e})=>{const s=le();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Et=o.div`
1
+ import{X as le,w as On,u as mn,a as nt,hz as ze,c3 as tt,z as Nn,hA as re,hB as ve,hC as fe,hD as be,hE as me,M as je,j as n,hv as ot,F as rt,aW as it,T as st,bN as lt,bP as at,bQ as dt,eZ as ct,Y as ie,bg as mt,bK as pt,ao as ut,dj as ht,bS as gt,C as w,d as wt,I as Oe,o as t,aa as In,s as De,a9 as xt,p as c,v as Re,bY as vt,l as Pn,dp as zn,bh as Pe,hF as Tn,b$ as ft,bD as bt,d0 as $t,av as Je,aN as pn,g as B,ee as Dn,fh as St,df as wn,cs as rn,hG as yt,hH as sn,m as jt,bu as Be,c$ as Rt,er as xn,b6 as Ct,dr as Vt,K as vn,hI as kt,cg as Mt,co as Ot,cp as Nt,ew as It,f as Ln,hJ as Pt,b3 as se,hK as fn,gd as zt,b1 as Tt,b5 as Dt,dq as Lt,q as An,Q as At,eD as Ft,ac as dn}from"./index-7LZq8uFd.js";import{b as f,n as o,j as cn}from"./vendor-CnQcJ2Lu.js";import{r as _t}from"./mui-BgvZYSo0.js";import{R as Bt}from"./Menu-teOpHszN-D5iRm71P.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";const Fn=({steps:e})=>{const s=le();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Et=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{j as t,X as G,a as he,M as U,c3 as ye,J as ge,l as J,bN as be,bP as fe,bQ as xe,F as ve,a7 as we,C as p,cw as le,cx as Ce,o as y,as as $e,cg as oe,u as ne,cy as je,cz as Y,cm as Q,am as H,c6 as De,cA as Te,p as a,co as Se,Y as ke,g as V,d as Fe,Q as Oe,bu as Ae,v as Le,b6 as ze}from"./index-GMJ2nuUF.js";import{b as R,n as g}from"./vendor-CnQcJ2Lu.js";import{W as We,A as Ie}from"./BankAccountWarningSection-ClrNHLqo-NpMhaSfC.js";import{T as Re}from"./MailingDetailsSection-B5PAttoo-Ia41UfJq.js";import{S as Pe}from"./CurrencySelectField-DDiCwLn7-OV5xt8fQ.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-Bey_bvyv-WhcVyZpQ.js";const O={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:k=!0}){const C=G(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&D||j){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(Q,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(Me,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const _e=g.div`
1
+ import{j as t,X as G,a as he,M as U,c3 as ye,J as ge,l as J,bN as be,bP as fe,bQ as xe,F as ve,a7 as we,C as p,cw as le,cx as Ce,o as y,as as $e,cg as oe,u as ne,cy as je,cz as Y,cm as Q,am as H,c6 as De,cA as Te,p as a,co as Se,Y as ke,g as V,d as Fe,Q as Oe,bu as Ae,v as Le,b6 as ze}from"./index-7LZq8uFd.js";import{b as R,n as g}from"./vendor-CnQcJ2Lu.js";import{W as We,A as Ie}from"./BankAccountWarningSection-ClrNHLqo-CMD3PwFS.js";import{T as Re}from"./MailingDetailsSection-B5PAttoo-CIRvfrUO.js";import{S as Pe}from"./CurrencySelectField-DDiCwLn7-e71UXU5a.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./LabeledAddressValueField-Bey_bvyv-C6LU3rGD.js";const O={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function Ee({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:D,showAdditionalInfoLabel:k=!0}){const C=G(),{formState:{errors:b}}=oe(),$=ne(),j=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&D||j){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:j,hasToolTip:o,isDisabled:e!=null,children:[c,D]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(Q,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:O.labelMarginLeft.value(C),marginRight:O.labelMarginRight.value(C),marginTop:O.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(Me,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const _e=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1 +1 @@
1
- import{j as l}from"./index-GMJ2nuUF.js";import{b as B}from"./vendor-CnQcJ2Lu.js";import{f as u}from"./InternationalWireSwiftDetailsPage-f4DZUYIx-CPv4IcAC.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-ClrNHLqo-NpMhaSfC.js";import"./MailingDetailsSection-B5PAttoo-Ia41UfJq.js";import"./LabeledAddressValueField-Bey_bvyv-WhcVyZpQ.js";import"./MagicLinkTitleSection-BcnZtmCV-D3vo1-CC.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};
1
+ import{j as l}from"./index-7LZq8uFd.js";import{b as B}from"./vendor-CnQcJ2Lu.js";import{f as u}from"./InternationalWireSwiftDetailsPage-f4DZUYIx-BrSJUPyA.js";import"./mui-BgvZYSo0.js";import"./analytics-BSSiLa6f.js";import"./routing-BNz5gZgX.js";import"./sentry-HDxG13yk.js";import"./redux-DmDqXYej.js";import"./liveblocks-BUGn2yQ6.js";import"./crypto-BURQLTgV.js";import"./BankAccountWarningSection-ClrNHLqo-CMD3PwFS.js";import"./MailingDetailsSection-B5PAttoo-CIRvfrUO.js";import"./LabeledAddressValueField-Bey_bvyv-C6LU3rGD.js";import"./MagicLinkTitleSection-BcnZtmCV-DU7ZJFya.js";const F=({vendorViewDetails:n,bankAccountContext:o,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onFetchBankNameBySwift:d,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:a,internationalBankAccountToCreate:m,editVendorState:p,newVendorState:S,bankNameBySwift:f,fetchBankNameBySwiftStatus:k}=n,t={...p??S};return B.useEffect(()=>{(o==="vendor"&&a.fetchState==="Completed"||t?.saveStatus?.fetchState==="Completed")&&e()},[a,t?.saveStatus?.fetchState,e,o]),l.jsx(u,{bankAccountToCreate:m,bankAccountCreationState:a,bankNameBySwift:f,addressToEdit:t?.vendorNewAddressStatus?.addressToCreate,mailingAddress:t?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:k,isDisabled:r,onSaveHandler:s,onBankDetailsUpdated:i,onBackClick:e,onAddressClick:c,onFetchBankNameBySwift:d})};export{F as default};