@zeniai/web-cockpit-ui 1.14.75-dev → 1.14.76-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (217) hide show
  1. package/dist/assets/{ACHDetailsPage-CgSAnexf-B3A8op6h.js → ACHDetailsPage-Xx5xzGG6-TLkgYXDo.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-C9EQ3p87-OJBktR4D.js → AIPerformancePage-CUXg59Hy-CQ1-rEhi.js} +24 -24
  3. package/dist/assets/{AccountInfoPage-C239tsDp-DRuutmdG.js → AccountInfoPage-BCsDFfVy-hrluJcll.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-CgDFcQqY-CqasllNx.js → AccountInfoPageContent-Dc3zDc0L-zxWLzozl.js} +4 -4
  5. package/dist/assets/{AccountLockedInfoModal-CQzFFcuJ-Do66phz_.js → AccountLockedInfoModal-C9esWbYw-DmLSIkZF.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-xtmSIQ0k-Cx_Pu75e.js → AccountReconDetailsDrawerPage-zLLBfV9S-BNb08J_3.js} +4 -4
  7. package/dist/assets/{AccountRow-BrRxbza5-pSnSZur-.js → AccountRow-CjMOMc-1-x3Qeaa-E.js} +6 -6
  8. package/dist/assets/{AccountsPromoCardStack-CqXbhSj4-Dxz2-66c.js → AccountsPromoCardStack-DkqmFDos-CykT6dqn.js} +17 -17
  9. package/dist/assets/{AddAddressForCardDrawer-fgjjFlrb-j1U1vMZd.js → AddAddressForCardDrawer-D8Towl2b-BnpRCEKK.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-DfB7hWI1-IQOFdx9h.js → AddToWalletPage-DPlpIxsE-B4bdwm1E.js} +15 -15
  11. package/dist/assets/{AgingReportsPage-DHYj512r-CC4JWVYi.js → AgingReportsPage-Bkw7sNWp-BamyEZIc.js} +5 -5
  12. package/dist/assets/{AllUserItems-DeSMFizX-DNdHjuWX.js → AllUserItems-DMlj0bT0-gvuqGIhf.js} +4 -4
  13. package/dist/assets/{ApAgingDetailPage-DU0hQxT3-DZWyZWni.js → ApAgingDetailPage-BLz4srnJ-Cc1Xbcy9.js} +2 -2
  14. package/dist/assets/{AppBasePage-BR-YhSR_-CzGzdBlR.js → AppBasePage-D-TkEHTb-DROxn97N.js} +5 -5
  15. package/dist/assets/{AppDrawerContent-B80zy-Gz-B39ZSWi1.js → AppDrawerContent-B_OcDS2l-DzddisDQ.js} +2 -2
  16. package/dist/assets/{ApprovalRulesSettingsPage-By648tCr-CQAcViTv.js → ApprovalRulesSettingsPage-CFLA9ZNm-DAP_H-up.js} +3 -3
  17. package/dist/assets/{ArAgingChart-TzANw6Zm-ud3qmxZt.js → ArAgingChart-GDCZoeS6-ejUvAmZP.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-C2rcOePe-DceP7UdC.js → ArAgingDetailPage-BpbaAaQd-BiEAKqhS.js} +2 -2
  19. package/dist/assets/{AttachmentView-jMWZdYNa-B4G6-utv.js → AttachmentView-C5nZKhTq-vO_X412a.js} +4 -4
  20. package/dist/assets/{BankAccountSection-SGI34h8u-BmPo8uGy.js → BankAccountSection-IncAN4Fp-_HbGSxHo.js} +3 -3
  21. package/dist/assets/{BankAccountWarningSection-BYhi53r4-4douKQRZ.js → BankAccountWarningSection-B5zw3yYg-D0pN9DqK.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-ChDwYCek-CV2qmOPT.js → BankConnectionsSettingsPage-C_B2Ap4v-CWKHwroD.js} +28 -28
  23. package/dist/assets/{BillDetailPage-CDcMpkQh-WKx-zUwY.js → BillDetailPage-ZwjUMPQZ-BsZDr1gg.js} +10 -10
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CEPY5Pk4-BbBRmkGK.js → BillPayApprovalRuleDetailPage-C253InxT-RvLtQlW3.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CL2A3R9R-lHKvJ4Ac.js → BillPayApprovalRulesPage-CA3FfPrr-qSqftFhb.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-B9Tz3jBR-C8UtwtS8.js → BillPayPromoPage-BKleb4US-pzvsBPOp.js} +4 -4
  27. package/dist/assets/{BillPaySetUpPage-Dt_bfrGH-BFJQWbSz.js → BillPaySetUpPage-DwK0lrbO-rQcYv7BW.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-DS50kMjn-x8sOi9VN.js → BillingSettingsPage-zBDcEj5D-BDTLKTvE.js} +5 -5
  29. package/dist/assets/{BillsBulkReviewDrawerPage-Btt7v1Mg-BawjVs5H.js → BillsBulkReviewDrawerPage-BjOYcTwa-Dv0CJOPA.js} +1 -1
  30. package/dist/assets/{BoxItem-BFUJgt2x-BC0-eR6w.js → BoxItem-CoguTodA-DItO3xcr.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CF3ZLtzs-m9ujMa8b.js → BusinessVerificationPage-DGQ9x2pf-35QVlpBA.js} +6 -6
  32. package/dist/assets/{CardNumberSubText-B1MkRWES-C67yiD_w.js → CardNumberSubText-BudPffUB-BTvRfksc.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-CPSsS7-h-D1KsDfk8.js → CashbackDetailPage-2KpaTEWi-CUzGkPf8.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-BDqTbXzY-BMqKHARM.js → ChargeCardDetailPage-DU-yz6wh-CBCtuxOp.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-yj0mhqgF-BwQcpXMc.js → ChargeCardListPage-C4ITCZwO-C8GmtyMf.js} +14 -14
  36. package/dist/assets/{ChargeCardListTable-DM6dYuPz-DQIQm3j5.js → ChargeCardListTable-DEqAOIyN-nTkk33YA.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-DSoQsDJK-k397bkJL.js → ChargeCardPromoPage-CvPAVoti-Dig5Emby.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-DhEITB5H-DwrNYcBw.js → ChargeCardSetupPage-CLhkL1Eh-B9fDm_Ae.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-tCXt7AVZ-CGXmLyEQ.js → ChargeCardStatementsPage-6TvYstIS-DKHBxCkb.js} +5 -5
  40. package/dist/assets/{CheckDepositDrawerPage-6PfNZ8GG-CpP6SDgV.js → CheckDepositDrawerPage-D64qEFAi-DmFPX3Hy.js} +5 -5
  41. package/dist/assets/{CollapsableReportTable-DERfLf9A-B02u2C6v.js → CollapsableReportTable-o0pGO_sw-CoQujIPL.js} +48 -48
  42. package/dist/assets/{CompanyOfficerDetailsSection-CmMDQgui-DjcUawXU.js → CompanyOfficerDetailsSection-D3PSro9F-CN8Reo83.js} +12 -12
  43. package/dist/assets/{CompanyPassportCard-ki3cq_A3-BIFk_EYX.js → CompanyPassportCard-CUcLJOne-CwK5fmgg.js} +2 -2
  44. package/dist/assets/{CompanyPassportPage-C9UW7mV8-CjYiaVUt.js → CompanyPassportPage-C1v4xE8B-zCkhH9yQ.js} +10 -10
  45. package/dist/assets/{CompleteProfile-CcjiEAtN-G6pC79hX.js → CompleteProfile-DP8FFDH_-B7Va_v1e.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-Dq3DwwfS-Bk63elQ-.js → ConfettiBurst-KNUWsLgM-C3W-6qSV.js} +1 -1
  47. package/dist/assets/{CreateOrEditVendorPage-CsYVqUf8-CQGCDeX8.js → CreateOrEditVendorPage-hEPeylx6-VsqoPSRS.js} +1 -1
  48. package/dist/assets/{CreditCardPaymentDrawerPage-C1QUtunc-B_csVrG-.js → CreditCardPaymentDrawerPage-DOgKpleO-DLW-KVW8.js} +8 -8
  49. package/dist/assets/{CurrencySelectField-PjVnHOPO-De5v3EBh.js → CurrencySelectField-C8L9A7zC-DLDLvWwm.js} +1 -1
  50. package/dist/assets/{CustomerOnboardingActivationPage-BEz1pkPV-m1nyzrH-.js → CustomerOnboardingActivationPage-D_AcFXeU-p0ieIiP_.js} +8 -8
  51. package/dist/assets/CustomerOnboardingContainerPage-DAxVaKqp-DMOGZ592.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-3S6lsaCB-BUgUvYUX.js → CustomerOnboardingDetailPageSkeleton-DPSQT5UG-yxM-FX1s.js} +12 -12
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-C7EvOlnr-Bb_AP_JK.js → CustomerOnboardingNoStepsPage-Bqi6QK8D-CnhmXiFi.js} +4 -4
  54. package/dist/assets/{CustomerOnboardingPage-Clo_UlCC-DsyGD0B2.js → CustomerOnboardingPage-eY5fJENY-CW0ZIKes.js} +4 -4
  55. package/dist/assets/{CustomerOnboardingProductSuitePage-BEy5gk3x-B66-9NVf.js → CustomerOnboardingProductSuitePage-BEWQQxa2-CUaimIpy.js} +4 -4
  56. package/dist/assets/{Dashboard-B1tMJ_lT-Dt3eYG-5.js → Dashboard-DyK1Y6xH-BhOeJdbK.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-CoFYSDIH-DHztoZKU.js → DashboardReportPage-9mEEgfb9-8pEwgBSt.js} +11 -11
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation-4ckOdfXR-Csek43Wl.js → DashboardSidebarBackgroundAnimation-BKaRUOA4-CrFQyftY.js} +1 -1
  59. package/dist/assets/{DepositAccTransactionItem-tQvZegVN-2h85R67z.js → DepositAccTransactionItem-CwSsISRg-BhipE2js.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionListPage-CwXktzEW-DdOhhhJy.js → DepositAccTransactionListPage-d_A-lWfh-BHvjyvXp.js} +1 -1
  61. package/dist/assets/{DomesticWireDetailsPage-W6hOjjFW-BWSats5d.js → DomesticWireDetailsPage-C-qIXO7t-BK1ogPTU.js} +1 -1
  62. package/dist/assets/{DownloadOverlay-BSUE9cHx-CQqT-O4K.js → DownloadOverlay-_HVjRZb_-ovRMQuBS.js} +10 -10
  63. package/dist/assets/{DrawerPage-CgdtPYXN-BbWBMozy.js → DrawerPage-DgRO2OFE-DsZBSqxn.js} +3 -3
  64. package/dist/assets/EditPeoplePage-6lvgaJQi-Df2Mb0kP.js +55 -0
  65. package/dist/assets/{EditReimbursementDetailPage-Q2e7iDtu-BBcP7tRA.js → EditReimbursementDetailPage-B85brpdt-BYguIPkd.js} +19 -19
  66. package/dist/assets/{EntityDetailPage-XsEIg05w-Cod5Z1f6.js → EntityDetailPage-Ds03l_Nm-BYieYjCl.js} +3 -3
  67. package/dist/assets/{EntitySummarySection-CsXlmDFx-l9ddhbEU.js → EntitySummarySection-CbloJrPd-DGVEU9qa.js} +1 -1
  68. package/dist/assets/{ExpenseAutomationOverviewPage-CVe0vhrD-B-avItru.js → ExpenseAutomationOverviewPage-CYNO1bW--pa8gzAaD.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationPage-D6r_A_CD-CiCcvo0I.js → ExpenseAutomationPage-CoYAnlKO-CIOZ9cQ5.js} +1 -1
  70. package/dist/assets/{ExpressPayPage-C6b1fiyD-DNDZJNDu.js → ExpressPayPage-VpqTGVa6-iCCnAcb9.js} +1 -1
  71. package/dist/assets/{FeaturePreviewPage-DOebdPqb-TzEy5dMk.js → FeaturePreviewPage-DzgPdfBh-BlncrRkT.js} +1 -1
  72. package/dist/assets/{FollowStepsSection-jmyNE2Fl-CvBGwqtX.js → FollowStepsSection-NM8GXTRZ--kMzASD7.js} +6 -6
  73. package/dist/assets/{GlobalReviewListPage-Cx1Km5fu-Bailuk1q.js → GlobalReviewListPage-xUe6yXIO-DDRodqQY.js} +6 -6
  74. package/dist/assets/{InformationCardStack-C5bKx9vg-k3hJn-Id.js → InformationCardStack-BYRwUh-e-Bm84GPsq.js} +2 -2
  75. package/dist/assets/{InsightsCardStack-EFoc_EWA-D2FaxDtB.js → InsightsCardStack-DfJXM3Fn-B0luA3Cz.js} +7 -7
  76. package/dist/assets/{InsightsSection-B0Rg5beY-u8CdyXOx.js → InsightsSection-4aveyVKo-DnKJf3sJ.js} +1 -1
  77. package/dist/assets/{IntegrationsSettingsPage-BQmjM8Np-1cGkOCA2.js → IntegrationsSettingsPage-BZMs-taD-ChagB0kp.js} +4 -4
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-ChSGHFzT-CvsM4E7Y.js → InternationalWireSwiftDetailsPage-D3mlT5XG-CMQP_Nn8.js} +4 -4
  79. package/dist/assets/{InternationalWireVerificationPage-D41gWYDb-CEwQheQ1.js → InternationalWireVerificationPage-MUHsO8eu-CkpdoULT.js} +1 -1
  80. package/dist/assets/{InviteFormPage-CltJ2XYv-DJJh50vB.js → InviteFormPage-aZR9lFWK-BCwWSqH4.js} +1 -1
  81. package/dist/assets/{InvitePageListView-D5OdkeEV-CglVOI_I.js → InvitePageListView-CHyiR2RC-Sk8zihrC.js} +12 -12
  82. package/dist/assets/{InvitePeoplePage-CyXnulj0-B7lM98ff.js → InvitePeoplePage-BRl496Mv-FaAOJzgH.js} +1 -1
  83. package/dist/assets/{InvoiceUploadSection-B2ePrdY8-CUZ5YkU9.js → InvoiceUploadSection-BqpspjSO-DbodpMov.js} +6 -6
  84. package/dist/assets/{IssueChargeCardPage-BCfMS2Zu-DdG6-d9q.js → IssueChargeCardPage-D39Bd6J9-Bz3hak_j.js} +21 -21
  85. package/dist/assets/{LabeledAddressValue-D7udvbin-kVKW8gGz.js → LabeledAddressValue-w3powIaN-xKKxpzsE.js} +1 -1
  86. package/dist/assets/{LabeledAddressValueField-jlDhqmgU-CM1ZWEJK.js → LabeledAddressValueField-BPOKk4mI-BFmVYPcn.js} +2 -2
  87. package/dist/assets/{LabeledControlledCheckBoxField-DNmJFVpZ-DjMQjBxM.js → LabeledControlledCheckBoxField-afEn8tHL-DxqXt4PA.js} +1 -1
  88. package/dist/assets/{LabeledCreatableSingleSelectField-B6Vit6ZA-Bdnw6feS.js → LabeledCreatableSingleSelectField-DXA_bSyS-BJinmWca.js} +3 -3
  89. package/dist/assets/{LabeledDocumentField-CbTN9aAs-CEmYFygD.js → LabeledDocumentField-Z9OHDFr6-HgLdszDI.js} +1 -1
  90. package/dist/assets/{LabeledDropDownFormattedTextField-CD6Bs8EU-Bok-Bw1g.js → LabeledDropDownFormattedTextField-0Bk8vscY-CDQY3SED.js} +3 -3
  91. package/dist/assets/{LabeledText-aSB1WzCl-Cj9Ocs2U.js → LabeledText-CgI7e_L--BwhQOiOZ.js} +1 -1
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Y99F7D2f-Dwh42b2N.js → LabeledUserSingleSelectWithSubtitlesField-B0y_IMnV-GTOhW6B-.js} +1 -1
  93. package/dist/assets/{LabeledZeniRolesDropDownField-BJePp4f_-Dc_g-F8s.js → LabeledZeniRolesDropDownField-CEwtGHuw-Bl11WCzt.js} +14 -14
  94. package/dist/assets/{LinkJETransactionPage-CNbLCYzA-Bg5upj_n.js → LinkJETransactionPage-BqF3QSeN-CXTqkit6.js} +2 -2
  95. package/dist/assets/{LockCardPage-DMB-6EyM-lbTpu5O_.js → LockCardPage-Ui2RTfpb-B7R1Xixi.js} +10 -10
  96. package/dist/assets/{LowBalancePopup-D8MLLJa7-CBiPecxo.js → LowBalancePopup-DzqqMGEK-DvUWGZSI.js} +1 -1
  97. package/dist/assets/{MagicLinkACHDetailsPage-BdS3aAWw-BrXiv9-t.js → MagicLinkACHDetailsPage-Kz-uZGml-CF0KJ9I8.js} +1 -1
  98. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CG0a1drB-Dmn6AGH4.js → MagicLinkDomesticWireDetailsPage-DNR1hQud-DTuqaECC.js} +1 -1
  99. package/dist/assets/{MagicLinkInternationalWireDetailsPage-C9-ZvcKN-C21_WG8V.js → MagicLinkInternationalWireDetailsPage-B-hsxI7i-DU8bPbJw.js} +1 -1
  100. package/dist/assets/{MagicLinkSuccessPage-BBQLFLJ9-CPkaiDv7.js → MagicLinkSuccessPage-CTyWzEAl-CcSFqgbx.js} +1 -1
  101. package/dist/assets/{MagicLinkTitleSection-BVR_lDfw-BbQ3PhCM.js → MagicLinkTitleSection-egx3li4v-CK9jYn1b.js} +1 -1
  102. package/dist/assets/{MailingDetailsSection-DZi-O94--DF-Hpww_.js → MailingDetailsSection-D28xdU_N-D7dNEE4R.js} +1 -1
  103. package/dist/assets/{Menu-DGwHJlS--Djq7PCKE.js → Menu-BsPZbkcv-dMEFFJAw.js} +1 -1
  104. package/dist/assets/{MyBankConnectionsSettingsPage-BYTxFTOW-gDKKbyJg.js → MyBankConnectionsSettingsPage-B7pw1loZ-BZemPN_o.js} +1 -1
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-CUvKbnux-CN2CiFSh.js → MyPendingActivationChargeCardListPage-CaDgVLY9-D9RWTHXk.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-BHnImAny-TmsmZErc.js → MyProfileSettingsPage-DGPjjcRE-BkjL1klq.js} +11 -11
  107. package/dist/assets/{NavBarWithPicker-Q739fT8--CrZ3WYmY.js → NavBarWithPicker-CK69EXMo-BopYsgXw.js} +3 -3
  108. package/dist/assets/{NavigationArrow-DQfX85VC-Dvm4TJ9a.js → NavigationArrow-B5JMjj8b-Yf4kFeB6.js} +1 -1
  109. package/dist/assets/{NavigationDots-CyCjbpW--DGfBQuMJ.js → NavigationDots-yYEq4mai-Bct7I6H1.js} +1 -1
  110. package/dist/assets/{NewGlobalMerchantPage-CzT7wrsy-CItQq0bZ.js → NewGlobalMerchantPage-DXdipj9r-Cg-jSrpq.js} +4 -4
  111. package/dist/assets/{NoDataChart-BnAshBnb-UHLHtstu.js → NoDataChart-CetZJAul-Dliv4FgS.js} +1 -1
  112. package/dist/assets/{NoDataTable-BhokhW6d-QEuWLEd7.js → NoDataTable-CbxTnnUj-RBS2BO0t.js} +1 -1
  113. package/dist/assets/{NotFoundPage-uFZMkf3D-DLBn6ZTy.js → NotFoundPage-JK9WWLQL-t0Ol92QM.js} +1 -1
  114. package/dist/assets/{NotificationSettingsPage-BE1_MgJM-BWk4ph6m.js → NotificationSettingsPage-BYFMb4y6-BucvDhx8.js} +7 -7
  115. package/dist/assets/{NotificationsListConfig-CUWNEUCL-XvkMOcjh.js → NotificationsListConfig-EKmLeUqF-DPKxh2va.js} +1 -1
  116. package/dist/assets/{NotificationsPage-BMZvKV7t-v_KJjY-j.js → NotificationsPage-Ca9rvFJG-3IKE1yMl.js} +23 -23
  117. package/dist/assets/{OpExByVendorPage-BuHAApyT-ZSJOclS-.js → OpExByVendorPage-S3IdisaI-C-NcDs3u.js} +20 -20
  118. package/dist/assets/{OverlayContainerPage-BKHs_4eI-Cod2hmti.js → OverlayContainerPage-BKHs_4eI-B8gf_Owe.js} +1 -1
  119. package/dist/assets/{PandLWithForecastPage-B0IiVx6D-BofpOT29.js → PandLWithForecastPage-Bf-D_XNg-CrzOb2hU.js} +7 -7
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BkfPpFae-CQO2zwUL.js → PaymentAccountSetupBillingAddressSection-CMVwDWuf-jHkUqKP1.js} +13 -13
  121. package/dist/assets/{PeoplePage-Cj9mjcMw-9OYaHyag.js → PeoplePage-BKkwc_YR-BoZfR8X8.js} +1 -1
  122. package/dist/assets/{ProductsCarousel-_jYEgpxl-3H43gICJ.js → ProductsCarousel-DsI5t_Kc-Cpn89x6_.js} +1 -1
  123. package/dist/assets/{PromoBaseCards-8tkwl6GI-B2drNSiA.js → PromoBaseCards-CnQcR3Wn-B3iRHG7z.js} +1 -1
  124. package/dist/assets/{QBOConnectionDialog-CJz2SlfE-Cw-cnWS5.js → QBOConnectionDialog-PCdTWQqn-D0QAr5xA.js} +2 -2
  125. package/dist/assets/{QBOSetupSection-CpfryKtp-ZjQWXWah.js → QBOSetupSection-DhsqYA8G-Dcjp9EQd.js} +1 -1
  126. package/dist/assets/{ReimbursementApprovalRuleDetailPage-B8CBB3JI-xMBay2No.js → ReimbursementApprovalRuleDetailPage-Dao_lRpW-BNs6twdR.js} +1 -1
  127. package/dist/assets/{ReimbursementApprovalRulesPage-BsLmDz25-CgEjqCg6.js → ReimbursementApprovalRulesPage-B_LTt_z4-DnK-3YAX.js} +1 -1
  128. package/dist/assets/{ReimbursementDetailPage-DiG34Vur-Dcz6odls.js → ReimbursementDetailPage-H6HNtQHN-2pM8Fun7.js} +8 -8
  129. package/dist/assets/{ReimbursementPromoPage-CNZdwAl--BsBEvPRx.js → ReimbursementPromoPage-j-UbNrbV-VHty7Yzb.js} +4 -4
  130. package/dist/assets/{ReimbursementSetUpPage-Ccc4qnNZ-CPmymOEP.js → ReimbursementSetUpPage-FagEYTJ_-BpDXEjSX.js} +7 -7
  131. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cza64yGU-BleycvIi.js → ReimbursementsBulkReviewDrawerPage-imSK_7rH-B3IJ7p46.js} +1 -1
  132. package/dist/assets/{ReloadCard-Cnz9ywvF-BGT4MYH-.js → ReloadCard-CqdeJe0l-Bb07dYPg.js} +3 -3
  133. package/dist/assets/{ReportTableViewSelector-B70dJfTV-SlWwkWXT.js → ReportTableViewSelector-DgPlLWgl-CNrxPhYC.js} +5 -5
  134. package/dist/assets/{ReportsPage-DdvNbMAj-SF_Ndi0S.js → ReportsPage-ByfO0uyp-DE8vAkKj.js} +6 -6
  135. package/dist/assets/{RevenueChart-B0CcrRHw-DSEzCN2z.js → RevenueChart-ChbWXtmx-BA32Na2v.js} +1 -1
  136. package/dist/assets/{ReviewDetailsPage-BVebc63A-zFlaxD9H.js → ReviewDetailsPage-BsOffi8f-BLsxP3vo.js} +5 -5
  137. package/dist/assets/{ReviewOverlay-Dm9GTjwu-bBb6sGal.js → ReviewOverlay-B73a-P2j-CTP6pyS2.js} +7 -7
  138. package/dist/assets/RoleWithToolTip-Ckorto5Y-CV42dy1h.js +22 -0
  139. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BWwDY16q-BLBhJP_5.js → ScheduleDetailsFixedAssetsPage-0vTqFn9N-BEm7Cgkc.js} +8 -8
  140. package/dist/assets/{ScheduleDetailsPage-CqFbh9HE-R8G_b4b1.js → ScheduleDetailsPage-Cl11M6UJ-BhHsLjma.js} +3 -3
  141. package/dist/assets/{ScheduleSequenceTable-DDYFTEg4-CG84KRpd.js → ScheduleSequenceTable-ClzxD7gh-DTqJnrdA.js} +26 -26
  142. package/dist/assets/{ScreenRoutes-BVWkKC_W.js → ScreenRoutes-D3i6oNhN.js} +1 -1
  143. package/dist/assets/{SetUpAccountSection-BuF3A3dP-Dlc3aKO9.js → SetUpAccountSection-xqqgeGLA-YX4p_D4B.js} +1 -1
  144. package/dist/assets/{SignIn-CyGyU8wg-8SnTpqj6.js → SignIn-Bh-9-pko-DyJR1DLA.js} +14 -14
  145. package/dist/assets/{SignInScreen-CEzKwqwu.js → SignInScreen-CaiIkh6O.js} +1 -1
  146. package/dist/assets/{SpendManagementListViewPage-DPUhOVZl-B5bRhpPB.js → SpendManagementListViewPage-Bn4KmChq-B4Y0L643.js} +3 -3
  147. package/dist/assets/{SpendManagementPerTabPage-CeYdMTbj-DL_aA7k6.js → SpendManagementPerTabPage-pYgoZlfR-DI3UJ4l8.js} +37 -37
  148. package/dist/assets/{SpendManagementSection--vF9XUYO-BtgzDFex.js → SpendManagementSection-4ctnlmiO-I2pWsNDv.js} +1 -1
  149. package/dist/assets/{StatementItem-CiYj7XWK-5AkRMgC4.js → StatementItem-CYkgMHQd-B65BnaGl.js} +6 -6
  150. package/dist/assets/{StatementsPage-SLgIPcxl-DedL5QW0.js → StatementsPage-BeF9vuPn-DNaEdwZ3.js} +1 -1
  151. package/dist/assets/{StatusSwitcher-CAMXea4Z-Ci68Xk-W.js → StatusSwitcher-DOwOcMYF-CSG0Jxkr.js} +1 -1
  152. package/dist/assets/{SubTabSwitcher-BFezBmcr-Bv0UYLck.js → SubTabSwitcher-BcEtc_ob-GF65Or0C.js} +1 -1
  153. package/dist/assets/{SummaryCard-Bk5Eh2IR-CvYAWxo_.js → SummaryCard-fjNCTkA5-B-M5KnHi.js} +1 -1
  154. package/dist/assets/{TaskManagementPage-ClL2snRe-BkZUI-Os.js → TaskManagementPage-BYMJMIhz-Do04zyQE.js} +15 -15
  155. package/dist/assets/{TimeRangeSwitcher-fGI52XTc-B8YAuD1t.js → TimeRangeSwitcher-B4FKox6K-C6y8kYZQ.js} +1 -1
  156. package/dist/assets/{TimeframeSwitcher-CV-bryv5-BZG0GUCh.js → TimeframeSwitcher-DVWPgeL0-8qGmZwOz.js} +1 -1
  157. package/dist/assets/{TimeframeSwitcherWithToggle-kmZOYJwI-CNr8HJvn.js → TimeframeSwitcherWithToggle-BWGJWyJr-ClUkg8re.js} +1 -1
  158. package/dist/assets/{TopExCard-DeYN3ImD-B_G3aCn4.js → TopExCard-CUrz7PjD-Co2zX82Y.js} +5 -5
  159. package/dist/assets/{TopExDetailPage-BmyFCtzb-Cf6VgVmt.js → TopExDetailPage-BMzQUB6s-BXWwFBJe.js} +3 -3
  160. package/dist/assets/{TransactionDetailPage-BFpvUUmz-C0BrkJmS.js → TransactionDetailPage-CZdeoUBY-XP0PswSG.js} +31 -31
  161. package/dist/assets/{TransactionList-JHbSuP08-BE5oUWHj.js → TransactionList-CixEJAgS-CGekhIG9.js} +8 -8
  162. package/dist/assets/{TransactionListBig-FzOmuwBP-CVEEn05Z.js → TransactionListBig-CMVJvB3o-DxRTSLNX.js} +7 -7
  163. package/dist/assets/{TransactionListPage-Kkxkkd_A-uxvvUDBa.js → TransactionListPage-CAMz9-YS-BNVZMAVt.js} +6 -6
  164. package/dist/assets/{TransactionVendorDetailPage-m1wxsTyn-CtzfWKY9.js → TransactionVendorDetailPage-CzbyeJ4F-DfY35mWk.js} +3 -3
  165. package/dist/assets/{TransferDrawerPage-obzTPCDc-DmDROdGW.js → TransferDrawerPage-aQAyy9SJ-CtSZX6V_.js} +6 -6
  166. package/dist/assets/{TreasuryOverviewPage-DW68UR3w-CXp8UZWj.js → TreasuryOverviewPage-DStdhtYj-BmaX-LUn.js} +8 -8
  167. package/dist/assets/{TreasuryPromoPage-BW76YUSB-1YJbHf0S.js → TreasuryPromoPage-ukEVtL3s-BxkytgW6.js} +7 -7
  168. package/dist/assets/{TreasuryStatementsPage-BDD4VO8n-DUjcdDs1.js → TreasuryStatementsPage-CrTNmv-B-fC2pfiKh.js} +1 -1
  169. package/dist/assets/{TreasuryTaxLetterPage-B2NDIt_Q-DCX4Q69d.js → TreasuryTaxLetterPage-BkyI9zJM-Ds84Dj6n.js} +1 -1
  170. package/dist/assets/{TrendChart-D5CYCZnh-DAyWGjcL.js → TrendChart-BV_FYo44-Dbzn5dy8.js} +1 -1
  171. package/dist/assets/{TrendWithTransactions-DoCnDpHm-CdDHaHZ9.js → TrendWithTransactions-COtEkfX9-BcCvtDz-.js} +5 -5
  172. package/dist/assets/{UncategorizedAccountsMappingPage-DX_TBAhJ-BssvOjsa.js → UncategorizedAccountsMappingPage-CDFz90Rp-CAIHAo3N.js} +1 -1
  173. package/dist/assets/{UnitIntegrationPage-DZfp553j-ByWZS3hU.js → UnitIntegrationPage-DU3fVYZs-CPctIuWc.js} +1 -1
  174. package/dist/assets/UploadAdditionalDocumentOverlay-C663UVhz-FUVjkpYI.js +38 -0
  175. package/dist/assets/{Vendor2FAPopup-BmT-gcIz-n3vjq-3y.js → Vendor2FAPopup-DTGw_BLn-CTkC0axp.js} +1 -1
  176. package/dist/assets/{VendorACHDetailsPage-CQ7Hq4OS-OICNgdvg.js → VendorACHDetailsPage-BEB-BRPf-BW1XdRCh.js} +1 -1
  177. package/dist/assets/{VendorDetailPage-Cs6xk6eD-zl-heKdM.js → VendorDetailPage-DgKqF5w_-Da2PCb7B.js} +5 -5
  178. package/dist/assets/{VendorDomesticWireDetailsPage-8mY07nVg-DHqiq7vN.js → VendorDomesticWireDetailsPage-DsT7aeCi-Cxqzwzrv.js} +1 -1
  179. package/dist/assets/{VendorFiling1099EditablePage-CAFeI80I-sDSbFxEy.js → VendorFiling1099EditablePage-DSQPqiXK-BlXqobVl.js} +14 -14
  180. package/dist/assets/{VendorFirstReviewPage-ACNdg13I-BUeCp6NI.js → VendorFirstReviewPage-CHhQfRiw-BCpTFAZN.js} +70 -70
  181. package/dist/assets/{VendorInternationalWireDetailsPage-BpkamVMK-D0VBsQab.js → VendorInternationalWireDetailsPage-BALUN3IH-B1HapV15.js} +4 -4
  182. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Gvr65ujG-DJLCreKr.js → VendorInternationalWireSwiftDetailsPage-BCJLWye_-CJZeW3NQ.js} +1 -1
  183. package/dist/assets/{VendorsAccountsSection-AmC5VwVD-DhkXxukb.js → VendorsAccountsSection-BNeOtayE-BfOhq53p.js} +1 -1
  184. package/dist/assets/{VerifyDevice-PHsuiYk_-D412mfmG.js → VerifyDevice-BdS9Wg6i-km9HNFiy.js} +2 -2
  185. package/dist/assets/{VideoPlayer-DSqyhtMK-C3AGcKQT.js → VideoPlayer--4ECwDUJ-DpdXEWOa.js} +1 -1
  186. package/dist/assets/{VideoPopup-BcGkTYtT-KpRyilVI.js → VideoPopup-D0KR8nhb-L_41dJ_u.js} +1 -1
  187. package/dist/assets/{WarningsDrawerPage-BMxsT694-CfyoaWK9.js → WarningsDrawerPage-CZi7W_N2-BvrjJAup.js} +10 -10
  188. package/dist/assets/{ZeniAccountDetailPage-CvVIdc-T-DXao_tc2.js → ZeniAccountDetailPage-DRpUQWRY-CFQQ9DDl.js} +1 -1
  189. package/dist/assets/{ZeniAccountListViewPage-D8RyYP_F-v3DmCD-q.js → ZeniAccountListViewPage-B58qILci-DPpjeTIQ.js} +1 -1
  190. package/dist/assets/{ZeniAccountNavBarPieces-DN7XGX4V-Dx8A5GLh.js → ZeniAccountNavBarPieces-BvwIaUWa-BHDVxbAK.js} +2 -2
  191. package/dist/assets/{ZeniAccountPromoPage-DtkPkWS_-DSD29DUQ.js → ZeniAccountPromoPage-BKn8HRaG-C8TqY5PJ.js} +10 -10
  192. package/dist/assets/{ZeniAccountSetupPage-NDzdHEb2-CwWBVh2N.js → ZeniAccountSetupPage-B52_WsH5-Ny13na_H.js} +2 -2
  193. package/dist/assets/{ZeniCopyright-C2Et8K0x-lDJzPJZG.js → ZeniCopyright-BBZoZbnj-BkZUi5kn.js} +1 -1
  194. package/dist/assets/{ZeniTransferAmountSlider-D7NLq8nU-CERt_WDB.js → ZeniTransferAmountSlider-DuVixxF--B3VBiout.js} +1 -1
  195. package/dist/assets/{analyticsHelper-CaFa35yP-G2_hr-0j.js → analyticsHelper-BFEbpTaS-CI1-ZwNW.js} +1 -1
  196. package/dist/assets/{analyticsHelper-DU_Un8e0.js → analyticsHelper-DEd3yAFk.js} +1 -1
  197. package/dist/assets/{chartTypes-D3stzk-w-BOvyI3x_.js → chartTypes-D3rvsvls-DmtOpgie.js} +1 -1
  198. package/dist/assets/{commonDimensions-DP_SFwFq-B4nonWMr.js → commonDimensions-DTY9_AOp-DlMPlh2t.js} +1 -1
  199. package/dist/assets/{detailCommon-Cz5amAEd-Cc-pki0l.js → detailCommon-CLP6KEix-B5bEqT96.js} +4 -4
  200. package/dist/assets/{downloadPdf-BEpDZsHw-iAkz6QUF.js → downloadPdf-DEpaGHNR-Bw53_d32.js} +1 -1
  201. package/dist/assets/{index-CUpJHznP.js → index-CN7UAWAg.js} +2530 -2515
  202. package/dist/assets/{mapLoadingInProgressToTreeNode-9Bg2UmOc-COxeXpBk.js → mapLoadingInProgressToTreeNode-B_mkEOSy-BQa7i_Nl.js} +1 -1
  203. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CrGK4Cl1-CK5Yo8-v.js → mapSectionWithAcOnlyToTreeNode-C_s2TWXG-1zhixfCC.js} +1 -1
  204. package/dist/assets/{mapSpacerToTreeNode-Dpahky1g-BWER0KF3.js → mapSpacerToTreeNode-BsPCAFm5-CkJKxUF2.js} +1 -1
  205. package/dist/assets/{mapTimeframeBalancesToTreeNode-DGNk2hE1-BtbWYKjA.js → mapTimeframeBalancesToTreeNode-6mbqZF6a-D84LKXiT.js} +1 -1
  206. package/dist/assets/{mapTimeframeBalancesToTreeNode-DD94NO-L-IqTvqjc2.js → mapTimeframeBalancesToTreeNode-DLbpODYp-DDiXCv85.js} +1 -1
  207. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CJYVSL83-sS_oqH0-.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CKvU3bUP-kVnJxQIG.js} +1 -1
  208. package/dist/assets/{toCOABalancesWithID-iOGWxWc5-CwkpaTeT.js → toCOABalancesWithID-CHHSLp5k-D9n1b9Hs.js} +1 -1
  209. package/dist/assets/{toChartData-BEJwj1pL-BUKCXEQF.js → toChartData-CBhPep_F-DbHa5eNf.js} +1 -1
  210. package/dist/assets/{uploadAttachment-Cs4cwF3u-BqxRSnPC.js → uploadAttachment-BXzSdWYh-ChPsAoWK.js} +6 -6
  211. package/dist/assets/{uploadReceipts-Dp1dvCjf-Rghek-rE.js → uploadReceipts-Dp1dvCjf-CdBFemgP.js} +1 -1
  212. package/dist/index.html +1 -1
  213. package/package.json +4 -4
  214. package/dist/assets/CustomerOnboardingContainerPage-BoQBdIuG-Dc2nEhqg.js +0 -1
  215. package/dist/assets/EditPeoplePage-DIj7SItK-CKkznNAO.js +0 -55
  216. package/dist/assets/RoleWithToolTip-CqLSnFDx-DgQ7tDAb.js +0 -22
  217. package/dist/assets/UploadAdditionalDocumentOverlay-BqO1S9_p-C6rWAFOs.js +0 -38
@@ -1,4 +1,4 @@
1
- import{j as t,q as Q,aa as he,F as U,cT as ye,aC as ge,l as Y,cE as be,cF as fe,cG as xe,ad as ve,aQ as we,y as p,dk as le,dl as Ce,o as y,b9 as $e,d4 as oe,d as ne,dm as je,dn as J,da as G,b1 as H,cW as De,dp as Te,u as a,dc as ke,aM as Fe,p as V,L as Se,B as Oe,c6 as Le,ai as Ae,bQ as We}from"./index-CUpJHznP.js";import{b as R,n as g}from"./vendor-Bs1fkIUX.js";import{W as ze,F as Ie}from"./BankAccountWarningSection-BYhi53r4-4douKQRZ.js";import{T as Re}from"./MailingDetailsSection-DZi-O94--DF-Hpww_.js";import{S as Pe}from"./CurrencySelectField-PjVnHOPO-De5v3EBh.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./LabeledAddressValueField-jlDhqmgU-CM1ZWEJK.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:F=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),j=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Se,{size:"Small",start:!0})});if(F&&D||j){let c=null;return o===!0&&F&&w&&(c=t.jsx(Le,{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(Be,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":Fe("labeled-currency-field",l.name),children:[t.jsx(G,{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(Me,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(_e,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const Be=g.div`
1
+ import{j as t,q as Q,aa as he,F as U,cT as ye,aC as ge,l as Y,cE as be,cF as fe,cG as xe,ad as ve,aQ as we,y as p,dk as le,dl as Ce,o as y,b9 as $e,d4 as oe,d as ne,dm as je,dn as J,da as G,b1 as H,cW as De,dp as Te,u as a,dc as ke,aM as Fe,p as V,k as Se,B as Oe,c6 as Ae,ai as Le,bQ as We}from"./index-CN7UAWAg.js";import{b as R,n as g}from"./vendor-Bs1fkIUX.js";import{W as ze,F as Ie}from"./BankAccountWarningSection-B5zw3yYg-D0pN9DqK.js";import{T as Re}from"./MailingDetailsSection-D28xdU_N-D7dNEE4R.js";import{S as Pe}from"./CurrencySelectField-C8L9A7zC-DLDLvWwm.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./LabeledAddressValueField-BPOKk4mI-BFmVYPcn.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:F=!0}){const C=Q(),{formState:{errors:b}}=oe(),$=ne(),j=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Se,{size:"Small",start:!0})});if(F&&D||j){let c=null;return o===!0&&F&&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(Be,{size:C,style:f,isDisabled:e!=null,isError:j,"data-testid":Fe("labeled-currency-field",l.name),children:[t.jsx(G,{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(Me,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:O.controlHeight.value(C)}}),j?t.jsx(_e,{windowSize:C,hasError:j,children:u}):null,m()]})]})}const Be=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -59,7 +59,7 @@ import{j as t,q as Q,aa as he,F as U,cT as ye,aC as ge,l as Y,cE as be,cF as fe,
59
59
  justify-content: flex-end;
60
60
  flex-direction: column;
61
61
  position: relative;
62
- `,Ve=g(Ae)`
62
+ `,Ve=g(Le)`
63
63
  padding: 12px;
64
64
  color: ${e=>e.theme.colors.grey1};
65
65
  background: ${e=>e.theme.colors.overlayColor};
@@ -86,7 +86,7 @@ import{j as t,q as Q,aa as he,F as U,cT as ye,aC as ge,l as Y,cE as be,cF as fe,
86
86
  width: ${y.sp3};
87
87
  height: ${y.sp3};
88
88
  color: inherit;
89
- `,k={largeLabelWidth:new p(120,140,220),paddingTopBottom:new p(a[3],a[3]),labelHeight:new p(a[6],a[6]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2]),controlHeight:new p(a[6],a[6]),toolTipWidth:new p(60,150)},Ge=({dynamicFormFetchState:e,dynamicFormConfig:i,supportedAccountTypes:l,supportedCountries:f,supportedCurrencies:u,wireAccountToCreate:n,sectionId:o,isCountryDropdownReadonly:w,isCurrencyDropdownReadonly:D,isDisabled:F,style:C})=>{const b=Q(),{getValues:$}=oe(),j=ne(),m=U.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,{international:c}=m,x=k.largeLabelWidth.value(b),W=n?.accountType?.type,T=n?.countryCode==null,B=n?.currencyCode==null,S=["phone","email","other"];return t.jsx(Qe,{style:C,children:t.jsxs(Ye,{children:[t.jsx(je,{isDisabled:w===!0?"readonly":void 0,label:{label:c.country,width:x},style:{width:"auto"},countrySelectField:{name:A(o,"vendorCountry"),placeholder:c.countryPlaceholder,defaultValue:le(n?.countryCode,f.map(s=>s.countryCode)),registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.countryAdditionalInfo}),t.jsx(I,{}),t.jsx(Ee,{isDisabled:T===!0?"disabled":D===!0?"readonly":void 0,label:{label:c.currency,width:x},style:{width:"auto"},currencySelectField:{name:A(o,"vendorCurrency"),placeholder:c.currencyPlaceholder,defaultValue:{allOptions:u.map(s=>({label:`${s.currencySymbol} - ${s.currencyName}`,value:s.currencyCode,countryCode:s.countryCode,currency:s.currencyName})),selectedOption:n?.currencyCode},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.currencyAdditionalInfo}),t.jsx(I,{}),B!==!0&&e==="Completed"?t.jsxs(t.Fragment,{children:[t.jsx(J,{isDisabled:void 0,label:{label:c.typeOfAccount,width:x},style:{width:"auto"},singleSelectPickerField:{name:A(o,"typeOfAccount"),placeholder:c.typeOfAccountPlaceholder,defaultValue:{selectedOption:n?.accountType?.type,allOptions:l.map(s=>({label:s.title,value:s.type}))},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}}}),t.jsx(I,{})]}):null,n!=null&&W!=null&&n.dynamicForm[W]!=null&&i.length>0?Object.keys(n.dynamicForm[W]).map(s=>{const r=i.filter(E=>E.name===s)[0],h=n.accountType?.type;if(h!=null&&r!=null){const E=n.dynamicForm[h][s];switch(r.fieldType){case"text":return t.jsxs(t.Fragment,{children:[t.jsx(De,{label:{label:r.label+c.colon,width:x},text:{type:"text",name:z(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:E,options:{required:r.required,pattern:r.validationRegex!=null?new RegExp(r.validationRegex):void 0,maxLength:r.maxLength,minLength:r.minLength}},isDisabled:F,style:{width:"auto"},showAdditionalInfoLabel:!1},z(o,"dynamicForm",h,r.name)),t.jsx(I,{})]});case"select":return t.jsxs(t.Fragment,{children:[t.jsx(J,{isDisabled:void 0,label:{label:r.label+c.colon,width:x},style:{width:"auto"},singleSelectPickerField:{name:z(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:{selectedOption:E,allOptions:r.valuesAllowed??[]}}},z(o,"dynamicForm",h,r.name)),t.jsx(I,{})]});case"radio":return t.jsxs(t.Fragment,{children:[t.jsxs(K,{size:b,children:[t.jsx(G,{label:r.label+c.colon,htmlFor:z(o,"dynamicForm",h,r.name),style:{marginLeft:k.labelMarginLeft.value(b),marginRight:k.labelMarginRight.value(b),width:x}}),t.jsx(X,{labelWidth:x,size:b,children:r.valuesAllowed?.map(_=>t.jsx(H,{label:{label:_.label},style:{paddingRight:`${y.sp4}`,width:"auto"},radioField:{name:z(o,"dynamicForm",h,r.name),id:r.name,value:_.value,registerOptions:{required:!0}}},_.value))})]},z(o,"dynamicForm",h,r.name)),t.jsx(I,{})]});default:return null}}else return null}):null,t.jsxs(Je,{size:b,children:[t.jsxs(K,{size:b,children:[t.jsx(G,{label:c.addSource,htmlFor:A(o,"source"),style:{marginLeft:k.labelMarginLeft.value(b),marginRight:k.labelMarginRight.value(b),width:x},showTooltip:!0,tooltipTitle:c.sourceTooltip,toolTipWidth:k.toolTipWidth.valuePx(b)}),t.jsxs(X,{labelWidth:x,size:b,children:[t.jsx(H,{label:{label:c.phone},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:A(o,"source"),id:S[0],value:S[0],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:c.email},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:A(o,"source"),id:S[1],value:S[1],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:c.other},style:{width:"auto"},isContainerClickable:!0,radioField:{name:A(o,"source"),id:S[2],value:S[2],registerOptions:{required:!0},radioSize:"small"}})]})]}),$(`${o}.source`)==="other"?t.jsx(Te,{type:"text",name:A(o,"otherSource"),placeholder:c.sourcePlaceholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:y.sp7,width:"calc(100% - largeLabelWidth)",background:j.colors.background,border:`1px solid ${j.colors.background}`,marginLeft:x},registerOptions:{required:!0,validate:s=>$(`${o}.source`)==="other"&&!!s}}):null]}),t.jsx(I,{})]})})},A=(e,i)=>`${e}.${i}`,z=(e,i,l,f)=>`${e}.${i}.${l}.${f}`,Qe=g.div`
89
+ `,k={largeLabelWidth:new p(120,140,220),paddingTopBottom:new p(a[3],a[3]),labelHeight:new p(a[6],a[6]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2]),controlHeight:new p(a[6],a[6]),toolTipWidth:new p(60,150)},Ge=({dynamicFormFetchState:e,dynamicFormConfig:i,supportedAccountTypes:l,supportedCountries:f,supportedCurrencies:u,wireAccountToCreate:n,sectionId:o,isCountryDropdownReadonly:w,isCurrencyDropdownReadonly:D,isDisabled:F,style:C})=>{const b=Q(),{getValues:$}=oe(),j=ne(),m=U.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,{international:c}=m,x=k.largeLabelWidth.value(b),W=n?.accountType?.type,T=n?.countryCode==null,B=n?.currencyCode==null,S=["phone","email","other"];return t.jsx(Qe,{style:C,children:t.jsxs(Ye,{children:[t.jsx(je,{isDisabled:w===!0?"readonly":void 0,label:{label:c.country,width:x},style:{width:"auto"},countrySelectField:{name:L(o,"vendorCountry"),placeholder:c.countryPlaceholder,defaultValue:le(n?.countryCode,f.map(s=>s.countryCode)),registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.countryAdditionalInfo}),t.jsx(I,{}),t.jsx(Ee,{isDisabled:T===!0?"disabled":D===!0?"readonly":void 0,label:{label:c.currency,width:x},style:{width:"auto"},currencySelectField:{name:L(o,"vendorCurrency"),placeholder:c.currencyPlaceholder,defaultValue:{allOptions:u.map(s=>({label:`${s.currencySymbol} - ${s.currencyName}`,value:s.currencyCode,countryCode:s.countryCode,currency:s.currencyName})),selectedOption:n?.currencyCode},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.currencyAdditionalInfo}),t.jsx(I,{}),B!==!0&&e==="Completed"?t.jsxs(t.Fragment,{children:[t.jsx(J,{isDisabled:void 0,label:{label:c.typeOfAccount,width:x},style:{width:"auto"},singleSelectPickerField:{name:L(o,"typeOfAccount"),placeholder:c.typeOfAccountPlaceholder,defaultValue:{selectedOption:n?.accountType?.type,allOptions:l.map(s=>({label:s.title,value:s.type}))},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}}}),t.jsx(I,{})]}):null,n!=null&&W!=null&&n.dynamicForm[W]!=null&&i.length>0?Object.keys(n.dynamicForm[W]).map(s=>{const r=i.filter(E=>E.name===s)[0],h=n.accountType?.type;if(h!=null&&r!=null){const E=n.dynamicForm[h][s];switch(r.fieldType){case"text":return t.jsxs(t.Fragment,{children:[t.jsx(De,{label:{label:r.label+c.colon,width:x},text:{type:"text",name:z(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:E,options:{required:r.required,pattern:r.validationRegex!=null?new RegExp(r.validationRegex):void 0,maxLength:r.maxLength,minLength:r.minLength}},isDisabled:F,style:{width:"auto"},showAdditionalInfoLabel:!1},z(o,"dynamicForm",h,r.name)),t.jsx(I,{})]});case"select":return t.jsxs(t.Fragment,{children:[t.jsx(J,{isDisabled:void 0,label:{label:r.label+c.colon,width:x},style:{width:"auto"},singleSelectPickerField:{name:z(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:{selectedOption:E,allOptions:r.valuesAllowed??[]}}},z(o,"dynamicForm",h,r.name)),t.jsx(I,{})]});case"radio":return t.jsxs(t.Fragment,{children:[t.jsxs(K,{size:b,children:[t.jsx(G,{label:r.label+c.colon,htmlFor:z(o,"dynamicForm",h,r.name),style:{marginLeft:k.labelMarginLeft.value(b),marginRight:k.labelMarginRight.value(b),width:x}}),t.jsx(X,{labelWidth:x,size:b,children:r.valuesAllowed?.map(_=>t.jsx(H,{label:{label:_.label},style:{paddingRight:`${y.sp4}`,width:"auto"},radioField:{name:z(o,"dynamicForm",h,r.name),id:r.name,value:_.value,registerOptions:{required:!0}}},_.value))})]},z(o,"dynamicForm",h,r.name)),t.jsx(I,{})]});default:return null}}else return null}):null,t.jsxs(Je,{size:b,children:[t.jsxs(K,{size:b,children:[t.jsx(G,{label:c.addSource,htmlFor:L(o,"source"),style:{marginLeft:k.labelMarginLeft.value(b),marginRight:k.labelMarginRight.value(b),width:x},showTooltip:!0,tooltipTitle:c.sourceTooltip,toolTipWidth:k.toolTipWidth.valuePx(b)}),t.jsxs(X,{labelWidth:x,size:b,children:[t.jsx(H,{label:{label:c.phone},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:S[0],value:S[0],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:c.email},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:S[1],value:S[1],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:c.other},style:{width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:S[2],value:S[2],registerOptions:{required:!0},radioSize:"small"}})]})]}),$(`${o}.source`)==="other"?t.jsx(Te,{type:"text",name:L(o,"otherSource"),placeholder:c.sourcePlaceholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:y.sp7,width:"calc(100% - largeLabelWidth)",background:j.colors.background,border:`1px solid ${j.colors.background}`,marginLeft:x},registerOptions:{required:!0,validate:s=>$(`${o}.source`)==="other"&&!!s}}):null]}),t.jsx(I,{})]})})},L=(e,i)=>`${e}.${i}`,z=(e,i,l,f)=>`${e}.${i}.${l}.${f}`,Qe=g.div`
90
90
  display: flex;
91
91
  flex-direction: column;
92
92
  `,Ye=g.div`
@@ -130,7 +130,7 @@ import{j as t,q as Q,aa as he,F as U,cT as ye,aC as ge,l as Y,cE as be,cF as fe,
130
130
  flex-grow: 1;
131
131
  height: ${e=>k.controlHeight.valuePx(e.size)};
132
132
  align-items: center;
133
- `,P={paddingTopBottomContainer:new p(a[3],a[3]),paddingLeftContainer:new p(a[3],a[6]),paddingRightContainer:new p(a[3],a[8]),marginLeft:new p(a[4],a[6]),buttonWidth:new p(140,140)},Z="internationalDetailsPage",v="internationalWireSection",Ke="mailingAddressSection",ee=e=>`${e}_form`,Xe=({internationalWireView:e,vendorType:i,isCountryDropdownReadonly:l=!1,isCurrencyDropdownReadonly:f=!1,isDisabled:u,addressType:n,addressToEdit:o,mailingAddress:w,billAmount:D,onAccountDetailsUpdated:F,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:j})=>{const m=Q(),c=e.createInternationalWireDetails.localData,x=e.createInternationalWireDetails.createStatus,W=e.fetchState,T=he({mode:"all",reValidateMode:"onChange",defaultValues:R.useMemo(()=>te(e),[e]),values:te(e)}),[B,S]=R.useState(!1),[s,r]=R.useState(!1),h=U.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=U.getLocalizedStrings().common.footer,{international:_}=h.wireDetails,re={onOkClick:()=>{r(!1),T.reset(),$()},onCancelClick:()=>{r(!1)}},se=(d,L)=>{if(d.includes("account_holder_name")||d.includes("bank_account_iban")||d.includes("bank_swift_code")||d.includes("account_number")||d.includes("sort_code")||d.includes("ifsc_code")||d.includes("upi_id")||d.includes("contact_no")||d.includes("bank_code")||d.includes("institution_number")||d.includes("transit_number")||d.includes("identification_value")||d.includes("branch_code")||d.includes("clabe")||d.includes("bsb_code")||d.includes("proxy_value")||d.includes("php_e_wallet_no")){S(!0);return}const M=d===`${v}.vendorCountry`,N=d===`${v}.vendorCurrency`;N&&L[v].vendorCurrency.selectedOption!=null&&C(L[v].vendorCurrency.selectedOption,D,i);const pe={...L},me=ie(pe,e,M,N,f);F(me,D,i,N||M)};R.useEffect(()=>{const d=T.watch((L,{name:M})=>{M!=null&&L!=null&&ye(()=>se(M,L))});return()=>{d.unsubscribe()}});const q=R.useCallback(()=>{const d=T.getValues(),L=ie(d,e,!1,!1,f);F(L,D,i,!1),S(!1)},[T,e,f,F,D,i]),de=R.useCallback(()=>{B&&q(),j(n)},[B,q,j,n]),ce=T.handleSubmit(d=>{B&&q(),b()}),ue=!ge(w!=null?Y.getFormattedAddress(w):w,o!=null?Y.getFormattedAddress(o):o)||T.formState.isDirty;return t.jsxs(it,{children:[t.jsxs(lt,{size:m,children:[s===!0?t.jsx(be,{titleComponent:t.jsx(xe,{children:h.discardTitle}),descriptionComponent:t.jsx(fe,{children:h.discardDescription}),primaryButtonText:h.discard,secondaryButtonText:h.cancel,action:re}):null,t.jsx(ze,{header:_.addInternationalWireDetails,isDirty:ue,onBackClick:$,setShowConfirmationPopup:r}),x?.fetchState==="Error"&&x.error?.code===409?t.jsx(Ie,{warningText:h.bankAccountCommon.accountExistWarning}):null,t.jsx(ot,{size:m,children:h.bankAccountCommon.accountDetailsTitle}),t.jsx(ve,{...T,children:t.jsxs("form",{id:ee(Z),onSubmit:ce,children:[t.jsx(tt,{size:m,children:t.jsx(Ge,{wireAccountToCreate:c,dynamicFormFetchState:W,supportedAccountTypes:e.supportedAccountTypes,supportedCountries:e.supportedCountries,supportedCurrencies:e.supportedCurrencies,dynamicFormConfig:e.dynamicForm,sectionId:v,isDisabled:u,isCountryDropdownReadonly:l,isCurrencyDropdownReadonly:f})}),t.jsx(Re,{sectionId:Ke,isDisabled:u,addressType:n,addressToEdit:o,onAddressClick:de})]})})]}),t.jsx(we,{formId:ee(Z),primaryBtn:{label:h.bankAccountCommon.saveAccount,isLoading:x.fetchState==="In-Progress",style:{width:P.buttonWidth.value(m)},isDisabled:u!=null},cancelBtn:{label:E.cancel,style:{width:P.buttonWidth.value(m)},shouldResetOnCancel:!1,onClick:()=>{T.formState.isDirty?r(!0):(T.reset(),$())}}})]})},Ze=e=>{const i=e.dynamicForm,l=e.createInternationalWireDetails.localData?.dynamicForm,f=e.createInternationalWireDetails.localData?.accountType?.type;let u={};return l!=null&&i.length>0?(Object.keys(l).forEach(n=>{n===f?(u={...u,[n]:{}},Object.keys(l[n]).forEach(o=>{i.find(w=>w.name===o)?.fieldType==="select"?u[n]={...u[n],[o]:{selectedOption:l[n][o],allOptions:i.find(w=>w.name===o)?.valuesAllowed??[]}}:u[n]={...u[n],[o]:l[n][o]}})):u={...u,[n]:{}}}),u):{}},te=e=>{const i=e.createInternationalWireDetails.localData?.source;return{[v]:{vendorCountry:le(e.createInternationalWireDetails.localData?.countryCode,e.supportedCountries.map(l=>l.countryCode)),vendorCurrency:{allOptions:e.supportedCurrencies.map(l=>({label:`${l.currencyCode} - ${l.currencyName}`,value:l.currencyCode,countryCode:l.currencySymbol,currency:l.currencyName})),selectedOption:e.createInternationalWireDetails.localData?.currencyCode},typeOfAccount:{allOptions:e.supportedAccountTypes.map(l=>({label:l.title,value:l.type})),selectedOption:e.createInternationalWireDetails.localData?.accountType?.type},dynamicForm:Ze(e),source:i!=null&&i!=="phone"&&i!=="email"?"other":i,otherSource:i!=null&&i!=="phone"&&i!=="email"?i:void 0}}},et=e=>{let i={};return Object.keys(e).forEach(l=>{i={...i,[l]:typeof e[l]=="string"?e[l]:e[l].selectedOption}}),i},ie=(e,i,l,f,u)=>{const n=i.createInternationalWireDetails.localData?.accountType?.type;return{dynamicForm:n!=null?{...i.createInternationalWireDetails.localData?.dynamicForm,[n]:et(e[v].dynamicForm?.[n]??{})}:i.createInternationalWireDetails.localData?.dynamicForm??{},source:e[v].source==="other"?e[v].otherSource??"":e[v].source,countryCode:e[v].vendorCountry.selectedOption!=null?Ce(e[v].vendorCountry.selectedOption):void 0,currencyCode:l&&!u?void 0:e[v].vendorCurrency.selectedOption,accountType:f||e[v].typeOfAccount.selectedOption==null?void 0:{type:e[v].typeOfAccount.selectedOption,title:i.supportedAccountTypes.filter(o=>o.type===e[v].typeOfAccount.selectedOption)[0].title}}},tt=g.div`
133
+ `,P={paddingTopBottomContainer:new p(a[3],a[3]),paddingLeftContainer:new p(a[3],a[6]),paddingRightContainer:new p(a[3],a[8]),marginLeft:new p(a[4],a[6]),buttonWidth:new p(140,140)},Z="internationalDetailsPage",v="internationalWireSection",Ke="mailingAddressSection",ee=e=>`${e}_form`,Xe=({internationalWireView:e,vendorType:i,isCountryDropdownReadonly:l=!1,isCurrencyDropdownReadonly:f=!1,isDisabled:u,addressType:n,addressToEdit:o,mailingAddress:w,billAmount:D,onAccountDetailsUpdated:F,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:j})=>{const m=Q(),c=e.createInternationalWireDetails.localData,x=e.createInternationalWireDetails.createStatus,W=e.fetchState,T=he({mode:"all",reValidateMode:"onChange",defaultValues:R.useMemo(()=>te(e),[e]),values:te(e)}),[B,S]=R.useState(!1),[s,r]=R.useState(!1),h=U.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=U.getLocalizedStrings().common.footer,{international:_}=h.wireDetails,re={onOkClick:()=>{r(!1),T.reset(),$()},onCancelClick:()=>{r(!1)}},se=(d,A)=>{if(d.includes("account_holder_name")||d.includes("bank_account_iban")||d.includes("bank_swift_code")||d.includes("account_number")||d.includes("sort_code")||d.includes("ifsc_code")||d.includes("upi_id")||d.includes("contact_no")||d.includes("bank_code")||d.includes("institution_number")||d.includes("transit_number")||d.includes("identification_value")||d.includes("branch_code")||d.includes("clabe")||d.includes("bsb_code")||d.includes("proxy_value")||d.includes("php_e_wallet_no")){S(!0);return}const M=d===`${v}.vendorCountry`,N=d===`${v}.vendorCurrency`;N&&A[v].vendorCurrency.selectedOption!=null&&C(A[v].vendorCurrency.selectedOption,D,i);const pe={...A},me=ie(pe,e,M,N,f);F(me,D,i,N||M)};R.useEffect(()=>{const d=T.watch((A,{name:M})=>{M!=null&&A!=null&&ye(()=>se(M,A))});return()=>{d.unsubscribe()}});const q=R.useCallback(()=>{const d=T.getValues(),A=ie(d,e,!1,!1,f);F(A,D,i,!1),S(!1)},[T,e,f,F,D,i]),de=R.useCallback(()=>{B&&q(),j(n)},[B,q,j,n]),ce=T.handleSubmit(d=>{B&&q(),b()}),ue=!ge(w!=null?Y.getFormattedAddress(w):w,o!=null?Y.getFormattedAddress(o):o)||T.formState.isDirty;return t.jsxs(it,{children:[t.jsxs(lt,{size:m,children:[s===!0?t.jsx(be,{titleComponent:t.jsx(xe,{children:h.discardTitle}),descriptionComponent:t.jsx(fe,{children:h.discardDescription}),primaryButtonText:h.discard,secondaryButtonText:h.cancel,action:re}):null,t.jsx(ze,{header:_.addInternationalWireDetails,isDirty:ue,onBackClick:$,setShowConfirmationPopup:r}),x?.fetchState==="Error"&&x.error?.code===409?t.jsx(Ie,{warningText:h.bankAccountCommon.accountExistWarning}):null,t.jsx(ot,{size:m,children:h.bankAccountCommon.accountDetailsTitle}),t.jsx(ve,{...T,children:t.jsxs("form",{id:ee(Z),onSubmit:ce,children:[t.jsx(tt,{size:m,children:t.jsx(Ge,{wireAccountToCreate:c,dynamicFormFetchState:W,supportedAccountTypes:e.supportedAccountTypes,supportedCountries:e.supportedCountries,supportedCurrencies:e.supportedCurrencies,dynamicFormConfig:e.dynamicForm,sectionId:v,isDisabled:u,isCountryDropdownReadonly:l,isCurrencyDropdownReadonly:f})}),t.jsx(Re,{sectionId:Ke,isDisabled:u,addressType:n,addressToEdit:o,onAddressClick:de})]})})]}),t.jsx(we,{formId:ee(Z),primaryBtn:{label:h.bankAccountCommon.saveAccount,isLoading:x.fetchState==="In-Progress",style:{width:P.buttonWidth.value(m)},isDisabled:u!=null},cancelBtn:{label:E.cancel,style:{width:P.buttonWidth.value(m)},shouldResetOnCancel:!1,onClick:()=>{T.formState.isDirty?r(!0):(T.reset(),$())}}})]})},Ze=e=>{const i=e.dynamicForm,l=e.createInternationalWireDetails.localData?.dynamicForm,f=e.createInternationalWireDetails.localData?.accountType?.type;let u={};return l!=null&&i.length>0?(Object.keys(l).forEach(n=>{n===f?(u={...u,[n]:{}},Object.keys(l[n]).forEach(o=>{i.find(w=>w.name===o)?.fieldType==="select"?u[n]={...u[n],[o]:{selectedOption:l[n][o],allOptions:i.find(w=>w.name===o)?.valuesAllowed??[]}}:u[n]={...u[n],[o]:l[n][o]}})):u={...u,[n]:{}}}),u):{}},te=e=>{const i=e.createInternationalWireDetails.localData?.source;return{[v]:{vendorCountry:le(e.createInternationalWireDetails.localData?.countryCode,e.supportedCountries.map(l=>l.countryCode)),vendorCurrency:{allOptions:e.supportedCurrencies.map(l=>({label:`${l.currencyCode} - ${l.currencyName}`,value:l.currencyCode,countryCode:l.currencySymbol,currency:l.currencyName})),selectedOption:e.createInternationalWireDetails.localData?.currencyCode},typeOfAccount:{allOptions:e.supportedAccountTypes.map(l=>({label:l.title,value:l.type})),selectedOption:e.createInternationalWireDetails.localData?.accountType?.type},dynamicForm:Ze(e),source:i!=null&&i!=="phone"&&i!=="email"?"other":i,otherSource:i!=null&&i!=="phone"&&i!=="email"?i:void 0}}},et=e=>{let i={};return Object.keys(e).forEach(l=>{i={...i,[l]:typeof e[l]=="string"?e[l]:e[l].selectedOption}}),i},ie=(e,i,l,f,u)=>{const n=i.createInternationalWireDetails.localData?.accountType?.type;return{dynamicForm:n!=null?{...i.createInternationalWireDetails.localData?.dynamicForm,[n]:et(e[v].dynamicForm?.[n]??{})}:i.createInternationalWireDetails.localData?.dynamicForm??{},source:e[v].source==="other"?e[v].otherSource??"":e[v].source,countryCode:e[v].vendorCountry.selectedOption!=null?Ce(e[v].vendorCountry.selectedOption):void 0,currencyCode:l&&!u?void 0:e[v].vendorCurrency.selectedOption,accountType:f||e[v].typeOfAccount.selectedOption==null?void 0:{type:e[v].typeOfAccount.selectedOption,title:i.supportedAccountTypes.filter(o=>o.type===e[v].typeOfAccount.selectedOption)[0].title}}},tt=g.div`
134
134
  padding-left: ${e=>P.paddingLeftContainer.valuePx(e.size)};
135
135
  padding-right: ${e=>P.paddingRightContainer.valuePx(e.size)};
136
136
  padding-top: ${e=>P.paddingTopBottomContainer.valuePx(e.size)};
@@ -1 +1 @@
1
- import{j as l}from"./index-CUpJHznP.js";import{b as B}from"./vendor-Bs1fkIUX.js";import{f as u}from"./InternationalWireSwiftDetailsPage-ChSGHFzT-CvsM4E7Y.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./BankAccountWarningSection-BYhi53r4-4douKQRZ.js";import"./MailingDetailsSection-DZi-O94--DF-Hpww_.js";import"./LabeledAddressValueField-jlDhqmgU-CM1ZWEJK.js";import"./MagicLinkTitleSection-BVR_lDfw-BbQ3PhCM.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-CN7UAWAg.js";import{b as B}from"./vendor-Bs1fkIUX.js";import{f as u}from"./InternationalWireSwiftDetailsPage-D3mlT5XG-CMQP_Nn8.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./BankAccountWarningSection-B5zw3yYg-D0pN9DqK.js";import"./MailingDetailsSection-D28xdU_N-D7dNEE4R.js";import"./LabeledAddressValueField-BPOKk4mI-BFmVYPcn.js";import"./MagicLinkTitleSection-egx3li4v-CK9jYn1b.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,4 +1,4 @@
1
- import{q as ie,d as oe,F as te,y as c,gS as w,aU as T,j as i,i7 as m,i6 as g,o as n,B as re,p as ne,dT as se,ai as le,u as a}from"./index-CUpJHznP.js";import{n as l}from"./vendor-Bs1fkIUX.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},k={title:new re("standardMedium","largeMedium")},de=l.div`
1
+ import{q as ie,d as oe,F as te,y as c,gS as w,aU as T,j as i,i7 as m,i6 as g,o as n,B as re,p as ne,dT as se,ai as le,u as a}from"./index-CN7UAWAg.js";import{n as l}from"./vendor-Bs1fkIUX.js";const s={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:n.sp6},k={title:new re("standardMedium","largeMedium")},de=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>s.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{aP as A,aa as U,F as L,j as r,c5 as B,ab as d,l as Q,ad as W,c6 as X,ai as f,c7 as Z,o as n,n as D,c8 as q,am as N,c9 as G,ca as C,bQ as J,p as y,ba as b,cb as K}from"./index-CUpJHznP.js";import{b as c,n as t}from"./vendor-Bs1fkIUX.js";import{A as Y,Z as k}from"./AccountLockedInfoModal-CQzFFcuJ-Do66phz_.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./handshake-BPg58FML-BpN0H-2S.js";const ee=e=>{if(!e)return"";try{const s=G(e);if(!s){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return C(e)||e}const p=s.countryCallingCode,x=s.nationalNumber.slice(-4);return`+${p} (•••) ••• ${x}`}catch{const s=e.replace(/\D/g,"");if(s.length>=4){const p=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},F=120,I=30,O=2,re="456px",te="256px",P=6,o=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Te=e=>{const s=e.verifyOtpFetchState==="In-Progress",[p,x]=c.useState(!1),[l,g]=c.useState(!1),[$,T]=c.useState(0),[v,S]=c.useState(F),[h,w]=c.useState(I),E=A(e.verifyOtpFetchState),u=U({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),j=u.watch(m),_=()=>{e.onCancelVerifyDevice()},H=()=>{j.trim().length===P&&e.onVerifyOtp(j)},M=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(x(!0),T(i=>i+1),u.setValue(m,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){g(!0);return}const i=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[v]),c.useEffect(()=>{if(h<=0)return;const i=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[h]);const R=i=>{const a=Math.floor(i/60),z=i%60;return`${a}:${z.toString().padStart(2,"0")}`};return r.jsx(B,{open:!0,children:r.jsxs(ne,{children:[r.jsx(d,{controller:$>O,children:r.jsx(Y,{unlockDate:Q.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=O,children:r.jsx(W,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(X,{placement:"top",title:r.jsxs(f,{children:[o.changePhoneNumberHelperText,r.jsx(we,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(Se,{})})]})]}),r.jsxs(ce,{children:[r.jsx(Z,{value:j,valueLength:6,hasError:l===!0||p===!0,style:{margin:n.sp0},onChange:i=>{u.setValue(m,i),x(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(V,{children:r.jsxs(je,{children:[o.codeExpiresIn," ",R(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(V,{children:r.jsx(ye,{children:o.codeExpired})})})]}),p===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:$>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(d,{controller:$===2,children:r.jsx(ve,{children:r.jsxs(f,{children:[r.jsx(be,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),x(!1),g(!1),u.setValue(m,""),S(F),w(I))},children:o.resend}),h>0&&r.jsxs(he,{children:[L.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(xe,{children:[r.jsx(D,{label:o.cancel,onClick:_,style:{width:82}}),r.jsx(D,{variant:"primary",label:o.verify,onClick:H,style:{width:82},loading:s,disabled:j.trim().length!==P||l===!0})]}),r.jsx(me,{children:M})]})]})})})]})})},ne=t.div`
1
+ import{aP as A,aa as U,F as L,j as r,c5 as B,ab as d,l as Q,ad as W,c6 as X,ai as f,c7 as Z,o as n,n as D,c8 as q,am as N,c9 as G,ca as C,bQ as J,p as y,ba as b,cb as K}from"./index-CN7UAWAg.js";import{b as c,n as t}from"./vendor-Bs1fkIUX.js";import{A as Y,Z as k}from"./AccountLockedInfoModal-C9esWbYw-DmLSIkZF.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./handshake-BPg58FML-BpN0H-2S.js";const ee=e=>{if(!e)return"";try{const s=G(e);if(!s){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return C(e)||e}const p=s.countryCallingCode,x=s.nationalNumber.slice(-4);return`+${p} (•••) ••• ${x}`}catch{const s=e.replace(/\D/g,"");if(s.length>=4){const p=s.slice(-4);return`+${s.slice(0,-4)||"1"} (•••) ••• ${p}`}return C(e)||e}},F=120,I=30,V=2,re="456px",te="256px",O=6,o=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Te=e=>{const s=e.verifyOtpFetchState==="In-Progress",[p,x]=c.useState(!1),[l,g]=c.useState(!1),[$,T]=c.useState(0),[v,S]=c.useState(F),[h,w]=c.useState(I),E=A(e.verifyOtpFetchState),u=U({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),j=u.watch(m),_=()=>{e.onCancelVerifyDevice()},M=()=>{j.trim().length===O&&e.onVerifyOtp(j)},R=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(x(!0),T(i=>i+1),u.setValue(m,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){g(!0);return}const i=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[v]),c.useEffect(()=>{if(h<=0)return;const i=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(i)},[h]);const H=i=>{const a=Math.floor(i/60),z=i%60;return`${a}:${z.toString().padStart(2,"0")}`};return r.jsx(B,{open:!0,children:r.jsxs(ne,{children:[r.jsx(d,{controller:$>V,children:r.jsx(Y,{unlockDate:Q.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(d,{controller:$<=V,children:r.jsx(W,{...u,children:r.jsxs(ge,{children:[r.jsxs(fe,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(X,{placement:"top",title:r.jsxs(f,{children:[o.changePhoneNumberHelperText,r.jsx(we,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(Se,{})})]})]}),r.jsxs(ce,{children:[r.jsx(Z,{value:j,valueLength:6,hasError:l===!0||p===!0,style:{margin:n.sp0},onChange:i=>{u.setValue(m,i),x(!1)}}),r.jsx(d,{controller:l===!1,children:r.jsx(P,{children:r.jsxs(je,{children:[o.codeExpiresIn," ",H(v)]})})}),r.jsx(d,{controller:l===!0,children:r.jsx(P,{children:r.jsx(ye,{children:o.codeExpired})})})]}),p===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(d,{controller:$>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(d,{controller:$===2,children:r.jsx(ve,{children:r.jsxs(f,{children:[r.jsx(be,{}),o.accountLockWarning]})})})]}):null,r.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),x(!1),g(!1),u.setValue(m,""),S(F),w(I))},children:o.resend}),h>0&&r.jsxs(he,{children:[L.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(xe,{children:[r.jsx(D,{label:o.cancel,onClick:_,style:{width:82}}),r.jsx(D,{variant:"primary",label:o.verify,onClick:M,style:{width:82},loading:s,disabled:j.trim().length!==O||l===!0})]}),r.jsx(me,{children:R})]})]})})})]})})},ne=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${te};
@@ -73,7 +73,7 @@ import{aP as A,aa as U,F as L,j as r,c5 as B,ab as d,l as Q,ad as W,c6 as X,ai a
73
73
  justify-content: center;
74
74
  row-gap: ${n.sp2};
75
75
  margin-top: ${n.sp2};
76
- `,V=t.div`
76
+ `,P=t.div`
77
77
  display: flex;
78
78
  justify-content: center;
79
79
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{q as k,j as t,ap as j,dz as y,p as S}from"./index-CUpJHznP.js";import{b as e,n,k as A}from"./vendor-Bs1fkIUX.js";import{r as O}from"./mui-Ty75qFQF.js";const U=o=>e.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},e.createElement("g",{filter:"url(#filter0_f_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),e.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),e.createElement("g",{filter:"url(#filter1_d_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),e.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),e.createElement("g",{clipPath:"url(#clip0_251_38441)"},e.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),e.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:4}),e.createElement("feGaussianBlur",{stdDeviation:2}),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),e.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("clipPath",{id:"clip0_251_38441"},e.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function W({src:o,autoPlay:p=!0,config:d,controls:m=!0,height:_="100%",isModalOpen:r,loop:u=!1,muted:E=!1,showPlayButton:s=!1,style:w,thumbnail:i,width:b="100%",onEnded:v,onModalClose:h,onPlay:x}){const c=k(),[a,l]=e.useState(!1);e.useEffect(()=>{r===!0&&p?l(!0):r===!1&&l(!1)},[r,p]);const f={};d?.youtube&&(f.youtube=d.youtube);const B=()=>{l(!0),x?.()},F=()=>{l(!1),h?.()},g=()=>{l(!1),v?.(),r!=null&&h?.()},C=()=>{l(!0),x?.()};return r!=null?r?O.createPortal(t.jsx(I,{windowSize:c,role:"presentation",children:t.jsx(j,{onClickAway:F,children:t.jsx(M,{windowSize:c,"data-testid":"video-player-modal",children:t.jsxs($,{children:[s&&!a&&t.jsxs(t.Fragment,{children:[i!=null&&i!==""&&t.jsx(P,{src:i,alt:"Video thumbnail"}),t.jsx(z,{onClick:B,children:t.jsx(D,{windowSize:c})})]}),(!s||a)&&t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:"100%",height:"100%",onEnded:g,onPlay:C,config:f})]})})})}),document.body):null:t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:b,height:_,style:w,light:s&&!a?i??!0:!1,onEnded:g,onPlay:C,config:f})}const G=A`
1
+ import{q as k,j as t,ap as j,dz as y,p as S}from"./index-CN7UAWAg.js";import{b as e,n,k as A}from"./vendor-Bs1fkIUX.js";import{r as O}from"./mui-Ty75qFQF.js";const U=o=>e.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...o},e.createElement("g",{filter:"url(#filter0_f_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),e.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),e.createElement("g",{filter:"url(#filter1_d_251_38441)"},e.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),e.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),e.createElement("g",{clipPath:"url(#clip0_251_38441)"},e.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),e.createElement("defs",null,e.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),e.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),e.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},e.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),e.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),e.createElement("feOffset",{dy:4}),e.createElement("feGaussianBlur",{stdDeviation:2}),e.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),e.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),e.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),e.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),e.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},e.createElement("stop",{stopColor:"#7135FF"}),e.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),e.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),e.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),e.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),e.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),e.createElement("stop",{offset:1,stopColor:"#EE609C"})),e.createElement("clipPath",{id:"clip0_251_38441"},e.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function W({src:o,autoPlay:p=!0,config:d,controls:m=!0,height:_="100%",isModalOpen:r,loop:u=!1,muted:E=!1,showPlayButton:s=!1,style:w,thumbnail:i,width:b="100%",onEnded:v,onModalClose:h,onPlay:x}){const c=k(),[a,l]=e.useState(!1);e.useEffect(()=>{r===!0&&p?l(!0):r===!1&&l(!1)},[r,p]);const f={};d?.youtube&&(f.youtube=d.youtube);const B=()=>{l(!0),x?.()},F=()=>{l(!1),h?.()},g=()=>{l(!1),v?.(),r!=null&&h?.()},C=()=>{l(!0),x?.()};return r!=null?r?O.createPortal(t.jsx(I,{windowSize:c,role:"presentation",children:t.jsx(j,{onClickAway:F,children:t.jsx(M,{windowSize:c,"data-testid":"video-player-modal",children:t.jsxs($,{children:[s&&!a&&t.jsxs(t.Fragment,{children:[i!=null&&i!==""&&t.jsx(P,{src:i,alt:"Video thumbnail"}),t.jsx(z,{onClick:B,children:t.jsx(D,{windowSize:c})})]}),(!s||a)&&t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:"100%",height:"100%",onEnded:g,onPlay:C,config:f})]})})})}),document.body):null:t.jsx(y,{src:o,playing:a,controls:m,muted:E,loop:u,width:b,height:_,style:w,light:s&&!a?i??!0:!1,onEnded:g,onPlay:C,config:f})}const G=A`
2
2
  0% {
3
3
  transform: rotate(0deg);
4
4
  }
@@ -1,4 +1,4 @@
1
- import{q as l,j as i,ap as s,aM as a,p as c,o as n,y as r}from"./index-CUpJHznP.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{K as h}from"./VideoPlayer-DSqyhtMK-C3AGcKQT.js";const d={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
1
+ import{q as l,j as i,ap as s,aM as a,p as c,o as n,y as r}from"./index-CN7UAWAg.js";import{n as t}from"./vendor-Bs1fkIUX.js";import{K as h}from"./VideoPlayer--4ECwDUJ-DpdXEWOa.js";const d={width:new r(300,770,770),height:new r(195,500,500)},p=t.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -1,9 +1,9 @@
1
- import{q as B,l as C,F as D,j as s,A as j,V as S,n as M,b as E,o as n,y as $,B as L,M as P,_ as z,a as N,p as h,c as A,r as R,t as T,u}from"./index-CUpJHznP.js";import{n as t}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const e=D.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},F={title:new L("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=B(),I=r!=null?C.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=V(x,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=q(v,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=O(y,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=_(k,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(G,{children:[s.jsx(Q,{windowSize:l,children:s.jsx(H,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(U,{children:[s.jsx(W,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
2
- ${j(e.cockpit.review.warningsDrawer.issueFound)}`})}),g.map((i,c)=>s.jsx(X,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(S,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(M,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...E.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},V=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},q=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},O=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},_=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},G=t.div`
1
+ import{q as B,l as C,F as D,j as s,A as j,Y as S,n as M,b as L,o as n,y as $,B as E,M as P,L as z,a as N,p as h,c as A,r as R,t as T,u}from"./index-CN7UAWAg.js";import{n as t}from"./vendor-Bs1fkIUX.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const e=D.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},F={title:new E("largeMedium","largeSemiBold")},$e=({companyView:r,allUsers:a,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=B(),I=r!=null?C.getAuditWarningsCount(r):0,x=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,k=r?.onboardingInfo?.businessVerified,f=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(x!=null){const i=a.find(p=>p.userId===x.userIds[0]),{errorMessage:c,successMessage:m}=q(x,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=a.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=O(v,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=a.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=G(y,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(k!=null){const i=a.find(p=>p.userId===k.userIds[0]),{errorMessage:c,successMessage:m}=Q(k,f,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${k.status}`})}return s.jsxs(V,{children:[s.jsx(H,{windowSize:l,children:s.jsx(Y,{children:s.jsxs(W,{windowSize:l,children:[s.jsx(J,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(_,{children:[s.jsx(U,{children:I>0?s.jsxs(b,{children:[s.jsx(b,{children:j(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(b,{children:`${e.common.no}
2
+ ${j(e.cockpit.review.warningsDrawer.issueFound)}`})}),g.map((i,c)=>s.jsx(K,{isStepInError:i.status==="Error",children:s.jsxs(X,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(S,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(M,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...L.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},q=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},O=(r,a,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},G=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},Q=(r,a,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${a===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},V=t.div`
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  padding-top: ${n.sp3};
6
- `,Q=t.div`
6
+ `,H=t.div`
7
7
  min-height: ${r=>w.navBarHeight.valuePx(r.windowSize)};
8
8
  position: sticky;
9
9
  background-color: ${r=>r.theme.colors.grey4};
@@ -11,17 +11,17 @@ import{q as B,l as C,F as D,j as s,A as j,V as S,n as M,b as E,o as n,y as $,B a
11
11
  z-index: 1;
12
12
  top: ${n.sp0};
13
13
  width: 100%;
14
- `,H=t.div`
14
+ `,Y=t.div`
15
15
  position: relative;
16
- `,U=t.div`
16
+ `,_=t.div`
17
17
  display: flex;
18
18
  flex-direction: column;
19
19
  margin: ${n.sp3} ${n.sp8} 102px ${n.sp8};
20
- `,W=t(N)`
20
+ `,U=t(N)`
21
21
  color: ${r=>r.theme.colors.primary};
22
22
  margin-bottom: ${n.sp3};
23
23
  margin-right: ${n.sp6};
24
- `,J=t.div`
24
+ `,W=t.div`
25
25
  display: flex;
26
26
  flex-direction: row;
27
27
  align-items: center;
@@ -34,7 +34,7 @@ import{q as B,l as C,F as D,j as s,A as j,V as S,n as M,b as E,o as n,y as $,B a
34
34
  padding-top: ${r=>w.navBarPaddingTop.valuePx(r.windowSize)};
35
35
  padding-bottom: ${r=>w.navBarPaddingBottom.valuePx(r.windowSize)};
36
36
  height: 100%;
37
- `,K=t(P)`
37
+ `,J=t(P)`
38
38
  ${r=>`${F.title.style(r.windowSize)}`};
39
39
  display: flex;
40
40
  flex: 1 1 auto;
@@ -42,7 +42,7 @@ import{q as B,l as C,F as D,j as s,A as j,V as S,n as M,b as E,o as n,y as $,B a
42
42
  align-items: center;
43
43
  justify-content: center;
44
44
  overflow: hidden;
45
- `,X=t.div`
45
+ `,K=t.div`
46
46
  display: flex;
47
47
  background-color: ${r=>r.isStepInError?h.alertLight:r.theme.colors.grey5};
48
48
  border: ${r=>`1px solid ${r.theme.colors.grey3}`};
@@ -50,7 +50,7 @@ import{q as B,l as C,F as D,j as s,A as j,V as S,n as M,b as E,o as n,y as $,B a
50
50
  margin-bottom: ${n.sp3};
51
51
  border-color: ${r=>r.isStepInError?h.brandColorGold:r.theme.colors.grey2};
52
52
  flex-direction: column;
53
- `,Y=t.div`
53
+ `,X=t.div`
54
54
  display: flex;
55
55
  margin: 12px ${n.sp3} 12px ${n.sp3};
56
56
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{aa as Te,q as M,ax as Pe,l as P,d as pe,aP as Be,j as t,F as _,aN as B,c6 as L,o,bG as Le,b as D,cE as R,cF as F,cG as G,ad as Ne,dp as Ee,p as f,dc as Me,aM as C,L as he,ai as b,bQ as He,b_ as Ie,aS as Ue,y as j,h7 as We,fu as ae,u as p,hI as Oe,bf as Re,bS as Fe,bi as Ge,bh as Ye,bT as Ve,bg as Je,am as X,hJ as qe,b7 as Ke,a$ as _e,hK as Xe,c as Ze,hL as Qe,r as et,h9 as tt,dj as ot,an as at,B as it,cx as nt}from"./index-CUpJHznP.js";import{b as r,n as a}from"./vendor-Bs1fkIUX.js";import{$ as lt}from"./BoxItem-BFUJgt2x-BC0-eR6w.js";import{w as rt}from"./downloadPdf-BEpDZsHw-iAkz6QUF.js";import{H as ct}from"./DepositAccTransactionItem-tQvZegVN-2h85R67z.js";import{U as st}from"./ZeniAccountNavBarPieces-DN7XGX4V-Dx8A5GLh.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./commonDimensions-DP_SFwFq-B4nonWMr.js";const dt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),pt=a.div`
1
+ import{aa as Te,q as M,ax as Pe,l as P,d as pe,aP as Be,j as t,F as _,aN as B,c6 as L,o,bG as Le,b as D,cE as R,cF as F,cG as G,ad as Ne,dp as Ee,p as f,dc as Me,aM as C,k as he,ai as b,bQ as He,b_ as Ie,aS as Ue,y as j,h7 as We,fu as ae,u as p,hI as Oe,bf as Re,bS as Fe,bi as Ge,bh as Ye,bT as Ve,bg as Je,am as X,hJ as qe,b7 as Ke,a$ as _e,hK as Xe,c as Ze,hL as Qe,r as et,h9 as tt,dj as ot,an as at,B as it,cx as nt}from"./index-CN7UAWAg.js";import{b as r,n as a}from"./vendor-Bs1fkIUX.js";import{$ as lt}from"./BoxItem-CoguTodA-DItO3xcr.js";import{w as rt}from"./downloadPdf-DEpaGHNR-Bw53_d32.js";import{H as ct}from"./DepositAccTransactionItem-CwSsISRg-BhipE2js.js";import{U as st}from"./ZeniAccountNavBarPieces-BvwIaUWa-BHDVxbAK.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";import"./commonDimensions-DTY9_AOp-DlMPlh2t.js";const dt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),pt=a.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{q as H,aa as Ie,aP as _e,d as De,aX as Ee,F as K,aO as Fe,j as t,cE as W,p as o,ad as Ge,o as n,dp as Ne,dc as Ue,cF as ne,cG as ie,hD as Re,aN as G,c6 as fe,bG as Oe,b as C,ar as We,am as Ye,c as Ve,ce as qe,bQ as ye,ai as b,ax as Ze,l as Je,cs as Qe,fu as F,aM as N,y as j,an as X,hE as He,B as Ke,M as Xe,ao as et,de as tt,cx as nt,gj as it,u,e5 as ot,g1 as rt,hF as st,n as at,hG as ct,b_ as lt,aS as dt}from"./index-CUpJHznP.js";import{b as g,n as i}from"./vendor-Bs1fkIUX.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-BA0iOPjL.js";import{o as ut}from"./shield-DOlUxcFf-CDkNAu2o.js";import{U as mt}from"./ZeniAccountNavBarPieces-DN7XGX4V-Dx8A5GLh.js";import{v as ht}from"./ZeniTransferAmountSlider-D7NLq8nU-CERt_WDB.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const gt=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=K.getLocalizedStrings(),xt=({yieldPercentage:e=4.35,insuredAmount:a=5e5,onGetStartedClick:w,style:S})=>{const s=H(),v=(c,T)=>Object.entries(T).reduce((M,[A,$])=>M.replace(new RegExp(`__${A}__`,"g"),$),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(a),L=[{icon:t.jsx(zt,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(Ct,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(St,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs($t,{style:S,children:[t.jsx(wt,{}),s!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(ft,{}),t.jsx(yt,{})]}),t.jsx(kt,{windowSize:s,children:s==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(jt,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:s,children:L.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(bt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsxs(At,{windowSize:s,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:s,children:L.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},$t=i.div`
1
+ import{q as H,aa as Ie,aP as _e,d as De,aX as Ee,F as K,aO as Fe,j as t,cE as W,p as o,ad as Ge,o as n,dp as Ne,dc as Ue,cF as ne,cG as ie,hD as Re,aN as G,c6 as fe,bG as Oe,b as C,ar as We,am as Ye,c as Ve,ce as qe,bQ as ye,ai as b,ax as Ze,l as Je,cs as Qe,fu as F,aM as N,y as j,an as X,hE as He,B as Ke,M as Xe,ao as et,de as tt,cx as nt,gj as it,u,e5 as ot,g1 as rt,hF as st,n as at,hG as ct,b_ as lt,aS as dt}from"./index-CN7UAWAg.js";import{b as g,n as i}from"./vendor-Bs1fkIUX.js";import{r as pt}from"./auto-transfer-rule-mbafm5D3-BA0iOPjL.js";import{o as ut}from"./shield-DOlUxcFf-CDkNAu2o.js";import{U as mt}from"./ZeniAccountNavBarPieces-BvwIaUWa-BHDVxbAK.js";import{v as ht}from"./ZeniTransferAmountSlider-DuVixxF--B3VBiout.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const gt=e=>g.createElement("svg",{width:24,height:24,viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},g.createElement("path",{d:"M23.0041 11.8483C23.0373 14.1699 22.335 16.4424 20.9979 18.3405C19.6607 20.2386 17.7572 21.665 15.5599 22.4153C13.3627 23.1656 10.9844 23.2014 8.76551 22.5175C6.54667 21.8337 4.60111 20.4653 3.20741 18.6083C1.81371 16.7513 1.04335 14.5009 1.00664 12.1794C0.969926 9.85784 1.66875 7.58422 3.00303 5.68407C4.33732 3.78392 6.23864 2.3547 8.43475 1.60106C10.6309 0.84741 13.0091 0.807991 15.229 1.48844",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M7.17736 14.8498L12.3225 8.44116C12.431 8.30616 12.5835 8.21419 12.7532 8.1815C12.9228 8.14882 13.0985 8.17753 13.2493 8.26255L16.2512 9.95329C16.4047 10.0398 16.5839 10.0678 16.7561 10.0324C16.9283 9.99691 17.0819 9.90029 17.1889 9.76018L21.3745 4.27979",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),g.createElement("path",{d:"M18.4739 4.60986L21.3623 4.13001L21.845 7.03577",stroke:"#757D7E",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),{spendManagement:{treasury:{promoBanner:m,promoPage:oe}}}=K.getLocalizedStrings(),xt=({yieldPercentage:e=4.35,insuredAmount:a=5e5,onGetStartedClick:w,style:S})=>{const s=H(),v=(c,T)=>Object.entries(T).reduce((M,[A,$])=>M.replace(new RegExp(`__${A}__`,"g"),$),c),P=c=>`$${Intl.NumberFormat("en",{notation:"compact"}).format(c)}`,B=`${e}%`,f=P(a),L=[{icon:t.jsx(zt,{}),title:v(m.features.yield,{yieldPercentage:B}),id:"yield"},{icon:t.jsx(Ct,{}),title:v(m.features.insured,{insuredAmount:f}),id:"insured"},{icon:t.jsx(St,{}),title:m.features.liquidity,showAsterisk:!0,id:"liquidity"},{icon:t.jsx(vt,{}),title:m.features.automation,id:"automation"}];return t.jsxs($t,{style:S,children:[t.jsx(wt,{}),s!=="small"&&t.jsxs(t.Fragment,{children:[t.jsx(ft,{}),t.jsx(yt,{})]}),t.jsx(kt,{windowSize:s,children:s==="small"?t.jsxs(t.Fragment,{children:[t.jsxs(jt,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsx(ae,{children:m.title})]}),t.jsx(ce,{windowSize:s,children:L.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(bt,{children:t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}):t.jsxs(t.Fragment,{children:[t.jsx(re,{windowSize:s,children:t.jsx(se,{windowSize:s})}),t.jsxs(At,{windowSize:s,children:[t.jsx(ae,{children:m.title}),t.jsx(ce,{windowSize:s,children:L.map(c=>t.jsxs(le,{windowSize:s,children:[t.jsx(de,{children:c.icon}),t.jsxs(pe,{children:[c.title,c.showAsterisk===!0&&t.jsx(ue,{children:"*"})]})]},c.id))}),t.jsx(ge,{windowSize:s,children:t.jsxs(xe,{windowSize:s,children:[m.disclaimer.split("__termsLink__")[0],t.jsx($e,{href:oe.zeniTermsOfServiceLink,target:"_blank",rel:"noopener noreferrer",children:m.termsLink}),m.disclaimer.split("__termsLink__")[1]]})})]}),t.jsx(me,{children:t.jsx(he,{variant:"primary",label:m.button,onClick:w,size:"small",style:{padding:`${n.sp1} 12px`}})})]})})]})},$t=i.div`
2
2
  position: relative;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{ax as P,g5 as $,l as B,F as O,j as a,aM as j,ha as p,hH as u,o as s,hc as w}from"./index-CUpJHznP.js";import{n as d}from"./vendor-Bs1fkIUX.js";const o=O.getLocalizedStrings().spendManagement.zeniAccounts,m=[{value:"editNickName",label:o.moveMoney.editNickName},{value:"accountStatement",label:o.moveMoney.accountStatement}],y={value:"payBill",label:o.moveMoney.payBills},g={value:"transfer",label:o.moveMoney.transfer},v={value:"sendMoney",label:o.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:o.moveMoney.checkDeposit},z=[y,g,v,M],A=[v,g,y,M],I=({zeniBankProps:e,isBillPayEnabled:h,isExpressPayEnabled:x,analytics:b,onSettingsClick:f})=>{const i=P(),l=i.loggedInUserRoleMap.deposit_accounts_user===!0||$(i),k=B.hasBillPayAccess(i.loggedInUserRoleMap),S=m.filter(t=>t.value==="accountStatement"),c=h===!0?z:A,r=x===!0?c:c.filter(t=>t.value!=="sendMoney"),N=k?r:r.filter(t=>t.value!=="payBill");return a.jsxs(E,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!l?a.jsx(C,{onClick:f,"data-testid":j("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!0,options:l?S:m,title:o.moveMoney.title}),l?null:a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!1,options:N,title:o.moveMoney.title,onMenuOpen:()=>b?.trackAccountsListPageClicked("Move Money")})]})},C=d(w)`
1
+ import{ax as O,g5 as P,l as j,F as z,j as a,aM as B,ha as p,hH as u,o as s,hc as $}from"./index-CN7UAWAg.js";import{n as d}from"./vendor-Bs1fkIUX.js";const o=z.getLocalizedStrings().spendManagement.zeniAccounts,m=[{value:"editNickName",label:o.moveMoney.editNickName},{value:"accountStatement",label:o.moveMoney.accountStatement}],y={value:"payBill",label:o.moveMoney.payBills},g={value:"transfer",label:o.moveMoney.transfer},v={value:"sendMoney",label:o.moveMoney.sendMoney,isNew:!0},M={value:"checkDeposit",label:o.moveMoney.checkDeposit},w=[y,g,v,M],A=[v,g,y,M],T=({zeniBankProps:e,isBillPayEnabled:h,isExpressPayEnabled:x,analytics:b,onSettingsClick:f})=>{const i=O(),l=i.loggedInUserRoleMap.deposit_accounts_user===!0||P(i),k=j.hasBillPayAccess(i.loggedInUserRoleMap),S=m.filter(t=>t.value==="accountStatement"),c=h===!0?w:A,r=x===!0?c:c.filter(t=>t.value!=="sendMoney"),N=k?r:r.filter(t=>t.value!=="payBill");return a.jsxs(E,{isTopAlign:e.pageName==="detailPage",children:[e.pageName==="listPage"&&!l?a.jsx(C,{onClick:f,"data-testid":B("zeni-accounts-settings-button")}):e.pageName==="detailPage"&&a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!0,options:l?S:m,title:o.moveMoney.title}),l?null:a.jsx(p,{entity:"zeni_accounts",onOptionSelection:t=>{const n=u(t);n!=null&&e.onOptionSelection(n)},isMoreOption:!1,options:N,title:o.moveMoney.title,onMenuOpen:()=>b?.trackAccountsListPageClicked("Move Money")})]})},C=d($)`
2
2
  cursor: pointer;
3
3
  min-width: ${s.sp4};
4
4
  width: ${s.sp4};
@@ -11,4 +11,4 @@ import{ax as P,g5 as $,l as B,F as O,j as a,aM as j,ha as p,hH as u,o as s,hc as
11
11
  display: flex;
12
12
  flex-direction: row;
13
13
  align-items: ${({isTopAlign:e})=>e?"flex-start":"center"};
14
- `;export{I as U};
14
+ `;export{T as U};
@@ -1,4 +1,4 @@
1
- import{d as ae,q as v,aP as ce,ax as xe,g5 as me,j as i,bG as pe,F as I,fG as ue,c as he,o,cR as ge,ar as q,n as W,aM as D,af as j,a as we,aX as z,aO as k,aS as N,bD as je,y as x,p as A,cS as $e,aT as ye,ba as Se,u as G,B as $,M as C,an as T,ag as fe}from"./index-CUpJHznP.js";import{b as L,n}from"./vendor-Bs1fkIUX.js";import{M as B}from"./usp-line-BBd1wKwW-ZlUrfnG1.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(G[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,G[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new $("extraSmallRegular","smallRegular"),title:new $("smallRegular","largeRegular"),uninsuredAmountStr:new $("largeRegular","h6Regular"),yAxisAmount:new $("h6Regular","extraSmallRegular")},be=n.div`
1
+ import{d as ae,q as v,aP as ce,ax as xe,g5 as me,j as i,bG as pe,F as _,fG as ue,c as he,o,cR as ge,ar as q,n as W,aM as D,af as j,a as we,aX as z,aO as k,aS as N,bD as je,y as x,p as A,cS as $e,aT as ye,ba as Se,u as G,B as $,M as C,an as T,ag as fe}from"./index-CN7UAWAg.js";import{b as L,n}from"./vendor-Bs1fkIUX.js";import{M as B}from"./usp-line-BBd1wKwW-ZlUrfnG1.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const h={amountColumnHeight:new x(240,340),bankRectBoxHeight:new x(240,340),bankRectBoxMinWidth:new x(130,180),iconInnerColumnGap:new x(G[5],50),iconInnerRowMaxWidth:new x(291,414),midContainerGap:new x(0,0,0,G[11]),styledLogoHeight:new x(13,21),styledLogoWidth:new x(54,87)},R={insuredAmountStr:new $("extraSmallRegular","smallRegular"),title:new $("smallRegular","largeRegular"),uninsuredAmountStr:new $("largeRegular","h6Regular"),yAxisAmount:new $("h6Regular","extraSmallRegular")},be=n.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -86,17 +86,17 @@ import{d as ae,q as v,aP as ce,ax as xe,g5 as me,j as i,bG as pe,F as I,fG as ue
86
86
  align-items: center;
87
87
  `,Pe=n.div`
88
88
  display: inline-block;
89
- `,E=n(je)`
89
+ `,F=n(je)`
90
90
  display: inline;
91
91
  margin: ${o.sp3} auto ${o.sp0} auto;
92
92
  max-width: 731px;
93
93
  color: ${e=>e.theme.colors.hero};
94
- `,Ie=n.div`
94
+ `,_e=n.div`
95
95
  display: flex;
96
96
  flex-direction: column;
97
97
  width: 100%;
98
98
  max-width: ${e=>h.iconInnerRowMaxWidth.valuePx(e.windowSize)};
99
- `,_e=n.div`
99
+ `,Ie=n.div`
100
100
  display: flex;
101
101
  justify-content: flex-end;
102
102
  `,Ue=n.div`
@@ -105,7 +105,7 @@ import{d as ae,q as v,aP as ce,ax as xe,g5 as me,j as i,bG as pe,F as I,fG as ue
105
105
  justify-content: flex-end;
106
106
  gap: ${e=>h.iconInnerColumnGap.valuePx(e.windowSize)};
107
107
  align-items: flex-end;
108
- `,F=n.div``,He=n.div`
108
+ `,Y=n.div``,He=n.div`
109
109
  height: ${e=>h.amountColumnHeight.valuePx(e.windowSize)};
110
110
  border-left: 1px solid ${e=>e.theme.colors.grey2};
111
111
  margin-left: 12px;
@@ -115,7 +115,7 @@ import{d as ae,q as v,aP as ce,ax as xe,g5 as me,j as i,bG as pe,F as I,fG as ue
115
115
  justify-content: space-between;
116
116
  align-items: flex-start;
117
117
  padding-left: ${o.sp2};
118
- `,Y=n.div`
118
+ `,E=n.div`
119
119
  width: 100%;
120
120
  min-width: ${e=>h.bankRectBoxMinWidth.valuePx(e.windowSize)};
121
121
  height: ${e=>h.bankRectBoxHeight.valuePx(e.windowSize)};
@@ -159,14 +159,14 @@ import{d as ae,q as v,aP as ce,ax as xe,g5 as me,j as i,bG as pe,F as I,fG as ue
159
159
  padding-right: 12px;
160
160
  padding-top: 20px;
161
161
  ${e=>`${R.uninsuredAmountStr.style(e.windowSize)}`};
162
- `,Ee=n(T)`
162
+ `,Fe=n(T)`
163
163
  color: ${e=>e.theme.colors.brandColorRuby};
164
164
  padding-right: 12px;
165
- `,Fe=n(q)`
165
+ `,Ye=n(q)`
166
166
  color: ${e=>e.theme.colors.grey5};
167
167
  padding-right: 12px;
168
168
  padding-top: 20px;
169
- `,Ye=n(T)`
169
+ `,Ee=n(T)`
170
170
  color: ${e=>e.theme.colors.grey5};
171
171
  padding-right: 12px;
172
172
  `,Ze=n(C)`
@@ -181,4 +181,4 @@ import{d as ae,q as v,aP as ce,ax as xe,g5 as me,j as i,bG as pe,F as I,fG as ue
181
181
  height: ${e=>h.styledLogoHeight.valuePx(e.windowSize)};
182
182
  color: ${e=>e.theme.colors.primary};
183
183
  cursor: pointer;
184
- `,r=I.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountsPromo,w=I.getLocalizedStrings().common,d=I.getLocalizedStrings().commonSetUp.businessVerification.terms,ie=({maxInsuredAmountString:e})=>{const s=v();return i.jsxs(Te,{windowSize:s,children:[i.jsxs(Ie,{windowSize:s,children:[i.jsx(_e,{children:i.jsxs(Ue,{windowSize:s,children:[i.jsxs(F,{children:[i.jsx(J,{windowSize:s,children:r.iconTexts.title}),i.jsxs(Y,{windowSize:s,isBankRect:!0,children:[i.jsxs(Z,{children:[i.jsx(Le,{windowSize:s,children:r.iconTexts.unInsuredAmount}),i.jsx(Ee,{children:r.iconTexts.unInsured})]}),i.jsxs(We,{children:[i.jsx(De,{windowSize:s,children:r.iconTexts.insuredAmount}),i.jsx(Ge,{children:r.iconTexts.insured})]})]})]}),i.jsxs(F,{children:[i.jsx(J,{windowSize:s,children:i.jsx(Je,{windowSize:s})}),i.jsx(Y,{windowSize:s,isBankRect:!1,children:i.jsxs(Z,{children:[i.jsx(Fe,{children:e}),i.jsx(Ye,{children:r.iconTexts.fdicCovered})]})})]})]})}),i.jsx(Me,{children:r.iconTexts.footNote})]}),i.jsx(He,{windowSize:s,children:r.iconTexts.yAxisAmounts.map((l,t)=>i.jsx(Ze,{windowSize:s,children:l},t))})]})},qe=({maxAnnualPercentageYield:e,maxInsuredAmount:s,exampleBankBalance:l})=>{const t=v(),g=z(k(s),s,w.currency.currencySymbol).toUpperCase();let c=g;return s>l&&(c=z(k(l),l,w.currency.currencySymbol).toUpperCase()),i.jsxs(O,{windowSize:t,children:[i.jsx(ie,{maxInsuredAmountString:c}),i.jsxs(V,{windowSize:t,children:[i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(Q,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.earnUptoText.bold.replace("__rate__",e.toString())}),i.jsx(f,{children:r.earnUptoText.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(K,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.insuranceText.bold.replace("__amount__",g)}),i.jsx(f,{children:r.insuranceText.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(ee,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.noHiddenFee.bold}),i.jsx(f,{children:r.noHiddenFee.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(X,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.expertSupport.bold}),i.jsx(f,{children:r.expertSupport.regular})]})]})]})]})},Ne=({maxAnnualPercentageYield:e,maxInsuredAmount:s,exampleBankBalance:l})=>{const t=v(),g=z(k(s),s,w.currency.currencySymbol).toUpperCase();let c=g;return s>l&&(c=z(k(l),l,w.currency.currencySymbol).toUpperCase()),i.jsxs(O,{windowSize:t,children:[i.jsxs(V,{windowSize:t,children:[i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(Q,{})}),i.jsxs(u,{children:[i.jsx(S,{children:r.earnUptoText.bold.replace("__rate__",e.toString())}),i.jsx(y,{children:r.earnUptoText.regular})]})]}),i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(K,{})}),i.jsxs(u,{children:[i.jsx(S,{children:r.insuranceText.bold.replace("__amount__",g)}),i.jsx(y,{children:r.insuranceText.regular})]})]}),i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(ee,{})}),i.jsxs(u,{children:[i.jsx(S,{children:r.noHiddenFee.bold}),i.jsx(y,{children:r.noHiddenFee.regular})]})]}),i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(X,{})}),i.jsxs(u,{children:[i.jsx(S,{children:r.expertSupport.bold}),i.jsx(y,{children:r.expertSupport.regular})]})]})]}),i.jsx(ie,{maxInsuredAmountString:c})]})},si=({meetingUrl:e,maxAnnualPercentageYield:s,maxInsuredAmount:l,analytics:t,zeniAccountSetupView:g,exampleBankBalance:c,onSetupButtonClick:ne,onBackClick:oe,onClickMenuIcon:re,onSetupZeniAccountSuccess:_})=>{const se=ae(),a=v(),{zeniAccountTermsDetails:P}=g,U=ce(P?.fetchStatus.fetchState),[te,H]=L.useState(!1),le=()=>{t.trackAccountsPromoPageClicked("Schedule Demo"),H(!0)};L.useEffect(()=>{U==="In-Progress"&&P?.fetchStatus.fetchState==="Completed"&&_?.()},[U,_,P?.fetchStatus]);const M=xe(),de=M.loggedInUserRoleMap.deposit_accounts_user===!0||me(M);return i.jsxs(be,{children:[i.jsx(pe,{title:r.title,backgroundColor:se.colors.grey5,onBackClick:oe,showBackButton:!0,showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:re,source:"ZeniAccountPromoPage"}),te===!0?i.jsx(ue,{onCancelClick:()=>{H(!1)},meetingUrl:e}):null,i.jsxs(ze,{windowSize:a,children:[a==="small"?i.jsxs(ve,{children:[r.promoText1,w.strings.colon,i.jsx(he,{style:{marginTop:o.sp2},children:r.promoText2})]}):i.jsxs(ke,{children:[i.jsxs(ge,{children:[r.promoText1,w.strings.colon]}),i.jsx(q,{style:{marginTop:o.sp2},children:r.promoText2})]}),a==="small"||a==="medium-compact"||a==="medium-regular"?i.jsx(qe,{maxAnnualPercentageYield:s,maxInsuredAmount:l,exampleBankBalance:c}):i.jsx(Ne,{maxAnnualPercentageYield:s,maxInsuredAmount:l,exampleBankBalance:c}),de?null:i.jsxs(Ae,{children:[i.jsxs(Ce,{windowSize:a,children:[i.jsx(W,{variant:"secondary",label:r.scheduleDemoButton,onClick:le,"data-testid":D("accounts-promo-schedule-demo-button")}),i.jsx(Be,{windowSize:a,children:r.orText}),i.jsx(W,{variant:"primary",label:r.setupAccountsButton,loading:!1,onClick:ne,"data-testid":D("accounts-promo-setup-accounts-button")})]}),i.jsx(Re,{children:i.jsxs(E,{children:[r.terms.terms1,i.jsx(j,{href:d.consentUrl,linkText:d.consent}),d.term2,i.jsx(j,{href:d.depositUrl,linkText:d.depositTerms}),d.term3,i.jsx(j,{href:d.privacyPolicyUrl,linkText:d.privacy}),d.term4,i.jsx(j,{href:d.tosUrl,linkText:d.tos}),d.term5,r.terms.terms3]})}),i.jsx(Pe,{children:i.jsx(E,{children:r.disclaimer})})]})]})]})};export{si as default};
184
+ `,r=_.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountsPromo,w=_.getLocalizedStrings().common,d=_.getLocalizedStrings().commonSetUp.businessVerification.terms,ie=({maxInsuredAmountString:e})=>{const s=v();return i.jsxs(Te,{windowSize:s,children:[i.jsxs(_e,{windowSize:s,children:[i.jsx(Ie,{children:i.jsxs(Ue,{windowSize:s,children:[i.jsxs(Y,{children:[i.jsx(J,{windowSize:s,children:r.iconTexts.title}),i.jsxs(E,{windowSize:s,isBankRect:!0,children:[i.jsxs(Z,{children:[i.jsx(Le,{windowSize:s,children:r.iconTexts.unInsuredAmount}),i.jsx(Fe,{children:r.iconTexts.unInsured})]}),i.jsxs(We,{children:[i.jsx(De,{windowSize:s,children:r.iconTexts.insuredAmount}),i.jsx(Ge,{children:r.iconTexts.insured})]})]})]}),i.jsxs(Y,{children:[i.jsx(J,{windowSize:s,children:i.jsx(Je,{windowSize:s})}),i.jsx(E,{windowSize:s,isBankRect:!1,children:i.jsxs(Z,{children:[i.jsx(Ye,{children:e}),i.jsx(Ee,{children:r.iconTexts.fdicCovered})]})})]})]})}),i.jsx(Me,{children:r.iconTexts.footNote})]}),i.jsx(He,{windowSize:s,children:r.iconTexts.yAxisAmounts.map((l,t)=>i.jsx(Ze,{windowSize:s,children:l},t))})]})},qe=({maxAnnualPercentageYield:e,maxInsuredAmount:s,exampleBankBalance:l})=>{const t=v(),g=z(k(s),s,w.currency.currencySymbol).toUpperCase();let c=g;return s>l&&(c=z(k(l),l,w.currency.currencySymbol).toUpperCase()),i.jsxs(O,{windowSize:t,children:[i.jsx(ie,{maxInsuredAmountString:c}),i.jsxs(V,{windowSize:t,children:[i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(Q,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.earnUptoText.bold.replace("__rate__",e.toString())}),i.jsx(f,{children:r.earnUptoText.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(K,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.insuranceText.bold.replace("__amount__",g)}),i.jsx(f,{children:r.insuranceText.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(ee,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.noHiddenFee.bold}),i.jsx(f,{children:r.noHiddenFee.regular})]})]}),i.jsxs(m,{windowSize:t,children:[i.jsx(p,{children:i.jsx(X,{})}),i.jsxs(u,{children:[i.jsx(b,{children:r.expertSupport.bold}),i.jsx(f,{children:r.expertSupport.regular})]})]})]})]})},Ne=({maxAnnualPercentageYield:e,maxInsuredAmount:s,exampleBankBalance:l})=>{const t=v(),g=z(k(s),s,w.currency.currencySymbol).toUpperCase();let c=g;return s>l&&(c=z(k(l),l,w.currency.currencySymbol).toUpperCase()),i.jsxs(O,{windowSize:t,children:[i.jsxs(V,{windowSize:t,children:[i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(Q,{})}),i.jsxs(u,{children:[i.jsx(S,{children:r.earnUptoText.bold.replace("__rate__",e.toString())}),i.jsx(y,{children:r.earnUptoText.regular})]})]}),i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(K,{})}),i.jsxs(u,{children:[i.jsx(S,{children:r.insuranceText.bold.replace("__amount__",g)}),i.jsx(y,{children:r.insuranceText.regular})]})]}),i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(ee,{})}),i.jsxs(u,{children:[i.jsx(S,{children:r.noHiddenFee.bold}),i.jsx(y,{children:r.noHiddenFee.regular})]})]}),i.jsxs(m,{windowSize:t,style:{width:"330px",minHeight:"83px"},children:[i.jsx(p,{children:i.jsx(X,{})}),i.jsxs(u,{children:[i.jsx(S,{children:r.expertSupport.bold}),i.jsx(y,{children:r.expertSupport.regular})]})]})]}),i.jsx(ie,{maxInsuredAmountString:c})]})},si=({meetingUrl:e,maxAnnualPercentageYield:s,maxInsuredAmount:l,analytics:t,zeniAccountSetupView:g,exampleBankBalance:c,onSetupButtonClick:ne,onBackClick:oe,onClickMenuIcon:re,onSetupZeniAccountSuccess:I})=>{const se=ae(),a=v(),{zeniAccountTermsDetails:P}=g,U=ce(P?.fetchStatus.fetchState),[te,H]=L.useState(!1),le=()=>{t.trackAccountsPromoPageClicked("Schedule Demo"),H(!0)};L.useEffect(()=>{U==="In-Progress"&&P?.fetchStatus.fetchState==="Completed"&&I?.()},[U,I,P?.fetchStatus]);const M=xe(),de=M.loggedInUserRoleMap.deposit_accounts_user===!0||me(M);return i.jsxs(be,{children:[i.jsx(pe,{title:r.title,backgroundColor:se.colors.grey5,onBackClick:oe,showBackButton:!0,showMenuIcon:a==="small"||a==="medium-compact",onClickMenuIcon:re,source:"ZeniAccountPromoPage"}),te===!0?i.jsx(ue,{onCancelClick:()=>{H(!1)},meetingUrl:e}):null,i.jsxs(ze,{windowSize:a,children:[a==="small"?i.jsxs(ve,{children:[r.promoText1,w.strings.colon,i.jsx(he,{style:{marginTop:o.sp2},children:r.promoText2})]}):i.jsxs(ke,{children:[i.jsxs(ge,{children:[r.promoText1,w.strings.colon]}),i.jsx(q,{style:{marginTop:o.sp2},children:r.promoText2})]}),a==="small"||a==="medium-compact"||a==="medium-regular"?i.jsx(qe,{maxAnnualPercentageYield:s,maxInsuredAmount:l,exampleBankBalance:c}):i.jsx(Ne,{maxAnnualPercentageYield:s,maxInsuredAmount:l,exampleBankBalance:c}),de?null:i.jsxs(Ae,{children:[i.jsxs(Ce,{windowSize:a,children:[i.jsx(W,{variant:"secondary",label:r.scheduleDemoButton,onClick:le,"data-testid":D("accounts-promo-schedule-demo-button")}),i.jsx(Be,{windowSize:a,children:r.orText}),i.jsx(W,{variant:"primary",label:r.setupAccountsButton,loading:!1,onClick:ne,"data-testid":D("accounts-promo-setup-accounts-button")})]}),i.jsx(Re,{children:i.jsxs(F,{children:[r.terms.terms1,i.jsx(j,{href:d.consentUrl,linkText:d.consent}),d.term2,i.jsx(j,{href:d.depositUrl,linkText:d.depositTerms}),d.term3,i.jsx(j,{href:d.privacyPolicyUrl,linkText:d.privacy}),d.term4,i.jsx(j,{href:d.tosUrl,linkText:d.tos}),d.term5,r.terms.terms3]})}),i.jsx(Pe,{children:i.jsx(F,{children:r.disclaimer})})]})]})]})};export{si as default};
@@ -1,4 +1,4 @@
1
- import{d as Se,q as we,aP as O,aa as be,cT as Ae,F as xe,aU as B,j as t,fo as Pe,p as Ce,y as r,bG as ke,L as Fe,ad as ve,fH as Te,e7 as je,fI as ze,bB as Ee,aQ as Ve,o as Ie,fK as Ue,u as a,am as De}from"./index-CUpJHznP.js";import{b as m,n as S}from"./vendor-Bs1fkIUX.js";import{g as Oe}from"./UploadAdditionalDocumentOverlay-BqO1S9_p-C6rWAFOs.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,a[5],a[5]),sectionRowGap:new r(a[5],a[9],a[9]),iconWidthHeight:new r(20,a[4]),subTitlePaddingTop:new r(12,a[3]),subTitlePaddingBottom:new r(a[3],a[3]),overlayWidth:new r(100,100,59)},L="zeniAccountSetUpPage",k="payAccount",{common:Be,commonSetUp:R,spendManagement:Le}=xe.getLocalizedStrings(),{zeniAccounts:W}=Le,{zeniAccountSetUp:z}=W,{setUp:E}=R,et=({isDisabled:e,meetingUrl:F,zeniAccountSetUpView:p,analytics:l,connectedAccountProvider:s,filesEndPoint:H,authParams:q,accountsPromoConfig:Z,onFetchLinkTokenClick:M,onBackClick:N,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:Q,onBusinessVerificationSectionClick:K,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:w,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const b=Se(),i=we(),[A,h]=m.useState(!1),{fetchState:g,companyBillPayInfo:V,isRefreshingViewInBackground:le,updateStatus:u,accountUpdateStatus:ue,plaidConnectionDetails:de,allBankAccounts:re,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:f,allFundingAccounts:I}=p,U=O(g),x=O(u.fetchState),v=be({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>_(p),[p]),values:_(p)}),fe=v.handleSubmit(y=>{l.trackEnableZeniAccounts(),G()}),me=async(y,C)=>{const n=C[k];if(y.includes(k)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&f?.id!=n.fundingAccount.selectedOption){const d=I.find(j=>j.id===n.fundingAccount.selectedOption);d!=null&&J(n.fundingAccount.selectedOption,d.accType)}}else if(n.account.selectedOption!=null&&f?.id!=null&&f?.zeniAccountId!=n.account.selectedOption){const d=n.account.allOptions.find(j=>j.value===n.account.selectedOption);d!=null&&typeof d.label=="string"&&l.trackConnectBankLink(d.value,d.label,"zeni_accounts"),Q(n.account.selectedOption,f.id,f.accType)}}};m.useEffect(()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),A&&U==="In-Progress"&&g==="Completed"&&h(!1)},[o,g,U]),m.useEffect(()=>{const y=v.watch((C,{name:n})=>{n!=null&&C!=null&&Ae(()=>me(n,C))});return()=>{y.unsubscribe()}}),m.useEffect(()=>{x==="In-Progress"&&u.fetchState==="Completed"&&w()},[w,x,u.fetchState]);const P=pe?.isZeniAccountEnabled===!0,T=V?.isBusinessVerified===!0,he=g==="In-Progress"||g==="Not-Started";m.useEffect(()=>{x==="In-Progress"&&u.fetchState==="Completed"&&w()},[w,x,u.fetchState]);const ge=T?R.setUp.setupVerifiedSubTitle:z.setupSubTitle,D=b.mode==="light"?new B(b.colors.brandColorJadeLight):new B(b.colors.brandColorJadeDark),ye=()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):K?.()};return t.jsxs($e,{children:[t.jsx(Pe,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>h(!1),style:{backgroundColor:Ce.drawerBackground},transitionDuration:250,children:t.jsx(Oe,{authParams:q,filesEndPoint:H,updateStatus:u,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(ke,{title:z.setupTitle,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!P&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(_e,{windowSize:i,children:[t.jsx(Re,{windowSize:i,children:ge}),he?t.jsx(We,{children:t.jsx(Fe,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...v,children:t.jsx("form",{id:$(L),onSubmit:fe,children:t.jsxs(He,{windowSize:i,children:[t.jsx(Te,{onClick:ye,title:E.businessVerificationTitle,subTitle:E.businessVerificationSubTitle,header:E.businessVerificationHeader,icon:{element:t.jsx(je,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:D},status:V?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(ze,{connectedAccountProvider:s,plaidConnectionDetails:de,allBankAccounts:re,sectionId:k,isDisabled:e,header:W.accountSectionHeader,onFetchLinkTokenClick:M,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Ee,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:D},analytics:l,productType:"zeni_accounts",primaryFundingAccount:f,isAccountsEnabled:P,allFundingAccounts:I,pageName:"Zeni Account Setup",accountsPromoConfig:Z})]})})})]}),T&&!P?t.jsx(Ve,{formId:$(L),primaryBtn:{label:z.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||ue.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:Be.strings.empty},style:{padding:`12px ${Ie.sp3}`}}):null,t.jsx(Ue,{isFooterRendered:T&&!P,meetingUrl:F,analytics:l,productType:"zeni_accounts"})]})},_=e=>{const{allBankAccounts:F,allFundingAccounts:p,primaryFundingAccount:l}=e;return{[k]:{fundingAccount:{selectedOption:l?.id,allOptions:p.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:l?.zeniAccountId,allOptions:F.map(s=>({label:s.accountName,value:s.accountId}))}}}},_e=S.div`
1
+ import{d as Se,q as we,aP as O,aa as be,cT as Ae,F as xe,aU as B,j as t,fo as Pe,p as Ce,y as r,bG as ke,k as Fe,ad as ve,fH as je,e7 as Te,fI as ze,bB as Ee,aQ as Ve,o as Ue,fK as De,u as a,am as Ie}from"./index-CN7UAWAg.js";import{b as m,n as S}from"./vendor-Bs1fkIUX.js";import{g as Oe}from"./UploadAdditionalDocumentOverlay-C663UVhz-FUVjkpYI.js";import"./mui-Ty75qFQF.js";import"./analytics-BbBRZ6cw.js";import"./routing-Dk1A2KYI.js";import"./sentry-BE5FTzpq.js";import"./redux-CEhZD0hA.js";import"./liveblocks-8ht9CoL5.js";import"./crypto-CK1x27Ua.js";const c={titleWidth:new r(343,580,726,826),setupDetailsRowGap:new r(12,a[5],a[5]),sectionRowGap:new r(a[5],a[9],a[9]),iconWidthHeight:new r(20,a[4]),subTitlePaddingTop:new r(12,a[3]),subTitlePaddingBottom:new r(a[3],a[3]),overlayWidth:new r(100,100,59)},L="zeniAccountSetUpPage",k="payAccount",{common:Be,commonSetUp:R,spendManagement:Le}=xe.getLocalizedStrings(),{zeniAccounts:W}=Le,{zeniAccountSetUp:z}=W,{setUp:E}=R,et=({isDisabled:e,meetingUrl:F,zeniAccountSetUpView:p,analytics:l,connectedAccountProvider:s,filesEndPoint:H,authParams:q,accountsPromoConfig:Z,onFetchLinkTokenClick:M,onBackClick:N,onEnableZeniAccountClick:G,onUpdatePrimaryFundingAccount:J,onUpdateZeniAccountClick:Q,onBusinessVerificationSectionClick:K,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionClick:ee,onEstablishConnectionSuccess:te,onClickMenuIcon:ne,onEnableZeniAccountSuccess:w,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})=>{const b=Se(),i=we(),[A,h]=m.useState(!1),{fetchState:g,companyBillPayInfo:V,isRefreshingViewInBackground:le,updateStatus:u,accountUpdateStatus:ue,plaidConnectionDetails:de,allBankAccounts:re,companyZeniAccountInfo:pe,selectedCompanyOfficer:o,primaryFundingAccount:f,allFundingAccounts:U}=p,D=O(g),x=O(u.fetchState),v=be({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>_(p),[p]),values:_(p)}),fe=v.handleSubmit(y=>{l.trackEnableZeniAccounts(),G()}),me=async(y,C)=>{const n=C[k];if(y.includes(k)){if(y.includes("fundingAccount")){if(n.fundingAccount.selectedOption!=null&&f?.id!=n.fundingAccount.selectedOption){const d=U.find(T=>T.id===n.fundingAccount.selectedOption);d!=null&&J(n.fundingAccount.selectedOption,d.accType)}}else if(n.account.selectedOption!=null&&f?.id!=null&&f?.zeniAccountId!=n.account.selectedOption){const d=n.account.allOptions.find(T=>T.value===n.account.selectedOption);d!=null&&typeof d.label=="string"&&l.trackConnectBankLink(d.value,d.label,"zeni_accounts"),Q(n.account.selectedOption,f.id,f.accType)}}};m.useEffect(()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"&&h(!0),A&&D==="In-Progress"&&g==="Completed"&&h(!1)},[o,g,D]),m.useEffect(()=>{const y=v.watch((C,{name:n})=>{n!=null&&C!=null&&Ae(()=>me(n,C))});return()=>{y.unsubscribe()}}),m.useEffect(()=>{x==="In-Progress"&&u.fetchState==="Completed"&&w()},[w,x,u.fetchState]);const P=pe?.isZeniAccountEnabled===!0,j=V?.isBusinessVerified===!0,he=g==="In-Progress"||g==="Not-Started";m.useEffect(()=>{x==="In-Progress"&&u.fetchState==="Completed"&&w()},[w,x,u.fetchState]);const ge=j?R.setUp.setupVerifiedSubTitle:z.setupSubTitle,I=b.mode==="light"?new B(b.colors.brandColorJadeLight):new B(b.colors.brandColorJadeDark),ye=()=>{!A&&o?.additionalDocumentTypesRequestedForVerification.includes("social_security_card")===!0&&o.areAdditionalDocumentsRequestedForVerification&&!o.areAdditionalDocumentsSubmittedForVerification&&o.userVerificationStatus?.code==="require_info"?h(!0):K?.()};return t.jsxs($e,{children:[t.jsx(Pe,{anchor:"right",PaperProps:{style:{width:c.overlayWidth.valuePercentage(i),boxShadow:"none"}},open:A,onClose:()=>h(!1),style:{backgroundColor:Ce.drawerBackground},transitionDuration:250,children:t.jsx(Oe,{authParams:q,filesEndPoint:H,updateStatus:u,onEditFileName:ie,onDeleteFile:oe,updateFilesEntity:ce,companyOfficer:o,onClose:()=>h(!1),onCompanyOfficerUpdated:ae,onSendForVerificationClick:se})}),t.jsx(ke,{title:z.setupTitle,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:N,showMenuIcon:!P&&(i==="medium-compact"||i==="small"),onClickMenuIcon:ne,source:"ZeniAccountSetupPage"}),t.jsxs(_e,{windowSize:i,children:[t.jsx(Re,{windowSize:i,children:ge}),he?t.jsx(We,{children:t.jsx(Fe,{size:"ExtraLarge",start:!0})}):t.jsx(ve,{...v,children:t.jsx("form",{id:$(L),onSubmit:fe,children:t.jsxs(He,{windowSize:i,children:[t.jsx(je,{onClick:ye,title:E.businessVerificationTitle,subTitle:E.businessVerificationSubTitle,header:E.businessVerificationHeader,icon:{element:t.jsx(Te,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:I},status:V?.businessVerificationStatus,isLoading:le,isActiveWhileLoading:!0}),t.jsx(ze,{connectedAccountProvider:s,plaidConnectionDetails:de,allBankAccounts:re,sectionId:k,isDisabled:e,header:W.accountSectionHeader,onFetchLinkTokenClick:M,onEstablishConnectionClick:ee,onUpdatePaymentAccountStatus:X,onUpdatePaymentAccountLoginStatus:Y,onEstablishConnectionSuccess:te,icon:{element:t.jsx(Ee,{width:c.iconWidthHeight.valuePx(i),height:c.iconWidthHeight.valuePx(i)}),color:I},analytics:l,productType:"zeni_accounts",primaryFundingAccount:f,isAccountsEnabled:P,allFundingAccounts:U,pageName:"Zeni Account Setup",accountsPromoConfig:Z})]})})})]}),j&&!P?t.jsx(Ve,{formId:$(L),primaryBtn:{label:z.enableAccounts,style:{width:"auto",minWidth:i==="small"?"auto":"181px"},isLoading:u.fetchState==="In-Progress"||ue.fetchState==="In-Progress",isDisabled:e!=null},showCancel:!1,cancelBtn:{label:Be.strings.empty},style:{padding:`12px ${Ue.sp3}`}}):null,t.jsx(De,{isFooterRendered:j&&!P,meetingUrl:F,analytics:l,productType:"zeni_accounts"})]})},_=e=>{const{allBankAccounts:F,allFundingAccounts:p,primaryFundingAccount:l}=e;return{[k]:{fundingAccount:{selectedOption:l?.id,allOptions:p.map(s=>({label:s.label,value:s.id,isRecommended:s.accType==="depositAccount"}))},account:{selectedOption:l?.zeniAccountId,allOptions:F.map(s=>({label:s.accountName,value:s.accountId}))}}}},_e=S.div`
2
2
  display: flex;
3
3
  justify-content: flex-start;
4
4
  height: 100%;
@@ -13,7 +13,7 @@ import{d as Se,q as we,aP as O,aa as be,cT as Ae,F as xe,aU as B,j as t,fo as Pe
13
13
  flex-direction: column;
14
14
  width: 100%;
15
15
  background-color: ${e=>e.theme.colors.grey4};
16
- `,Re=S(De)`
16
+ `,Re=S(Ie)`
17
17
  color: ${e=>e.theme.colors.hero};
18
18
  display: flex;
19
19
  justify-content: center;
@@ -1 +1 @@
1
- import{F as r,j as e}from"./index-CUpJHznP.js";function i(){const t=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",t.toString());return e.jsx(e.Fragment,{children:n})}export{i};
1
+ import{F as r,j as e}from"./index-CN7UAWAg.js";function i(){const t=new Date().getFullYear(),n=r.getLocalizedStrings().common.zeniIncText.replace("__year__",t.toString());return e.jsx(e.Fragment,{children:n})}export{i};
@@ -1,4 +1,4 @@
1
- import{j as g,F as E,aM as F,o as i,p as j,ai as M}from"./index-CUpJHznP.js";import{b as $,n as m}from"./vendor-Bs1fkIUX.js";const S=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function Q({zeniAccountsConfigDetail:o,transferAmount:x,minStep:p,currentAccountBalance:w,setYieldEarned:b,setTotalBalance:k}){const[l,A]=$.useState(0),{depositProductConfig:h}=o.zeniAccountsConfigDetail,c=$.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=$.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[t,r]=e.range;return r==null&&t!=null?t+25e5:r??0}):[],[h?.depositProducts]),z=e=>{const t=parseFloat(e.target.value),{returnedYield:r,totalAmount:u}=P(t);A(t),b(r),k(u)},D=e=>`${C(e)}${S.transferDrawer.calculator.sliderTooltipText}`,C=e=>e===0?c[0]:e>0&&e<1?c[1]:e>=1&&e<2?c[2]:e>=2&&e<3?c[3]:c[4],P=e=>{const t=C(e),[r,u]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else return{returnedYield:f(5e6,t),totalAmount:5e6}},T=e=>{const{returnedYield:t,totalAmount:r}=P(e);A(e),k(r),b(t)},Y=$.useCallback((e,t,r,u)=>{let a=0,s=0,v=0,y=0;if(e<r[0])a=t[0];else{for(let d=0;d<r.length-1;d++)if(e>=r[d]&&e<r[d+1]){a=t[d+1],s=(r[d+1]-r[d])*u,v=e-r[d],y=v/s*u+d;break}e>=r[r.length-1]&&(a=t[t.length-1],y=r.length-1)}A(y),b(f(e,a))},[b]);return $.useEffect(()=>{const e=x+w;k(e),Y(e,c,n,p)},[x,w,k,c,p,b,n,Y]),g.jsxs(V,{sliderValue:l,children:[g.jsx(I,{sliderValue:l,type:"range",min:0,max:c.length-1,step:p,value:l,onChange:z}),g.jsx(H,{style:{width:`calc(${l/(c.length-1)*100}% - ${l*7.5}px)`}}),g.jsx(J,{sliderValue:l,style:{left:`calc(${l/(c.length-1)*100}% - ${l*10+20}px)`},children:D(l)}),g.jsx(N,{children:n.map((e,t)=>g.jsx(X,{onClick:()=>T(t),"data-testid":F("slider-label",e.toString()),style:{left:L(t)},children:g.jsx(G,{isSelected:l>=t,children:B(e)})},t))})]})}const f=(o,x)=>{const p=x/100,w=o*Math.pow(1+p/12,12);return Math.floor(w-o)},L=o=>{switch(o){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%"}},B=o=>o===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(o)}`:o===5e6?S.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(o),I=m.input`
1
+ import{j as g,F as E,aM as F,o as i,p as j,ai as M}from"./index-CN7UAWAg.js";import{b as $,n as m}from"./vendor-Bs1fkIUX.js";const S=E.getLocalizedStrings().spendManagement.zeniAccounts.zeniAccountList;function Q({zeniAccountsConfigDetail:o,transferAmount:x,minStep:p,currentAccountBalance:w,setYieldEarned:b,setTotalBalance:k}){const[l,A]=$.useState(0),{depositProductConfig:h}=o.zeniAccountsConfigDetail,c=$.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>e.annualPercentageYield):[],[h?.depositProducts]),n=$.useMemo(()=>h?.depositProducts!=null?h?.depositProducts.map(e=>{const[t,r]=e.range;return r==null&&t!=null?t+25e5:r??0}):[],[h?.depositProducts]),z=e=>{const t=parseFloat(e.target.value),{returnedYield:r,totalAmount:u}=P(t);A(t),b(r),k(u)},D=e=>`${C(e)}${S.transferDrawer.calculator.sliderTooltipText}`,C=e=>e===0?c[0]:e>0&&e<1?c[1]:e>=1&&e<2?c[2]:e>=2&&e<3?c[3]:c[4],P=e=>{const t=C(e),[r,u]=e.toLocaleString().split(".",2).map(a=>parseInt(a));if(e>=0&&e<1){const a=(n[1]-n[0])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=1&&e<2){const a=(n[2]-n[1])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=2&&e<3){const a=(n[3]-n[2])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else if(e>=3&&e<4){const a=(n[4]-n[3])*p,s=n[r]+a*(u??0);return{returnedYield:f(s,t),totalAmount:s}}else return{returnedYield:f(5e6,t),totalAmount:5e6}},T=e=>{const{returnedYield:t,totalAmount:r}=P(e);A(e),k(r),b(t)},Y=$.useCallback((e,t,r,u)=>{let a=0,s=0,v=0,y=0;if(e<r[0])a=t[0];else{for(let d=0;d<r.length-1;d++)if(e>=r[d]&&e<r[d+1]){a=t[d+1],s=(r[d+1]-r[d])*u,v=e-r[d],y=v/s*u+d;break}e>=r[r.length-1]&&(a=t[t.length-1],y=r.length-1)}A(y),b(f(e,a))},[b]);return $.useEffect(()=>{const e=x+w;k(e),Y(e,c,n,p)},[x,w,k,c,p,b,n,Y]),g.jsxs(V,{sliderValue:l,children:[g.jsx(I,{sliderValue:l,type:"range",min:0,max:c.length-1,step:p,value:l,onChange:z}),g.jsx(H,{style:{width:`calc(${l/(c.length-1)*100}% - ${l*7.5}px)`}}),g.jsx(J,{sliderValue:l,style:{left:`calc(${l/(c.length-1)*100}% - ${l*10+20}px)`},children:D(l)}),g.jsx(N,{children:n.map((e,t)=>g.jsx(X,{onClick:()=>T(t),"data-testid":F("slider-label",e.toString()),style:{left:L(t)},children:g.jsx(G,{isSelected:l>=t,children:B(e)})},t))})]})}const f=(o,x)=>{const p=x/100,w=o*Math.pow(1+p/12,12);return Math.floor(w-o)},L=o=>{switch(o){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%"}},B=o=>o===25e4?`<${Intl.NumberFormat("en",{notation:"compact"}).format(o)}`:o===5e6?S.transferDrawer.calculator.greaterThanTwoAndHalfMillion:Intl.NumberFormat("en",{notation:"compact"}).format(o),I=m.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;
@@ -1 +1 @@
1
- import{F as o,l as s}from"./index-CUpJHznP.js";const m=t=>{switch(t){case"week":return"weeks";case"month":return"months";case"quarter":return"quarters";case"year":return"years";case"this_month_to_date":case"this_week_to_date":case"this_year_to_date":case"last_year":case"last_week":case"last_month":case"last_6_months":case"last_3_months":case"last_12_months":case"free_range":return t}},_=(t,n,e)=>{const{dateFormat:{analytics:a},common:{strings:{atTheRate:r}}}=o.getLocalizedStrings();if(e==null)return"";switch(n){case"month":return r+s.formatZeniDate(e.startDate,a.MMMYYFormat,t);case"quarter":return r+"Q"+s.formatZeniDate(e.startDate,a.QYYYYFormat,t);case"year":return r+s.formatZeniDate(e.startDate,a.YYYYFormat,t);case"free_range":case"week":return r+s.formatZeniDate(e.startDate,a.MMMYYYYFormat,t)}};export{_ as l,m};
1
+ import{F as o,l as s}from"./index-CN7UAWAg.js";const m=t=>{switch(t){case"week":return"weeks";case"month":return"months";case"quarter":return"quarters";case"year":return"years";case"this_month_to_date":case"this_week_to_date":case"this_year_to_date":case"last_year":case"last_week":case"last_month":case"last_6_months":case"last_3_months":case"last_12_months":case"free_range":return t}},_=(t,n,e)=>{const{dateFormat:{analytics:a},common:{strings:{atTheRate:r}}}=o.getLocalizedStrings();if(e==null)return"";switch(n){case"month":return r+s.formatZeniDate(e.startDate,a.MMMYYFormat,t);case"quarter":return r+"Q"+s.formatZeniDate(e.startDate,a.QYYYYFormat,t);case"year":return r+s.formatZeniDate(e.startDate,a.YYYYFormat,t);case"free_range":case"week":return r+s.formatZeniDate(e.startDate,a.MMMYYYYFormat,t)}};export{_ as l,m};
@@ -1 +1 @@
1
- import{e}from"./index-CUpJHznP.js";const t=(a,m,i,o)=>{e.identify(a.userId,{tenant_id:i?.tenantId,tenant_email_domain:i?.tenantEmailDomain,company_id:i?.companyId,company_name:i?.companyName,user_role:i?.userRole,$email:a.userEmail,user_email_domain:a.userEmailDomain,$first_name:a.firstName,$last_name:a.lastName,company_ids:void 0,company_names:void 0,user_roles:void 0,app_type:"web",appearance:m})};export{t as f};
1
+ import{e}from"./index-CN7UAWAg.js";const t=(a,m,i,o)=>{e.identify(a.userId,{tenant_id:i?.tenantId,tenant_email_domain:i?.tenantEmailDomain,company_id:i?.companyId,company_name:i?.companyName,user_role:i?.userRole,$email:a.userEmail,user_email_domain:a.userEmailDomain,$first_name:a.firstName,$last_name:a.lastName,company_ids:void 0,company_names:void 0,user_roles:void 0,app_type:"web",appearance:m})};export{t as f};
@@ -1 +1 @@
1
- import{aN as i}from"./index-CUpJHznP.js";const u=n=>i("0,0.[00]a",n),d=(n,e,r)=>{const o=e.findIndex(c=>c===n);let t=n,s=o<e.length?e[o]:void 0;return r>1&&(t=o-r+1>=0?e[o-r+1]:void 0,t===void 0?s=o===0?e[o+r-1]:e[o+r-2]:s=e[o]),[t,s]},a=n=>{const e=n.recordByTimeseries;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},l=n=>{const e=n.recordByDurations;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},p={net_burn_or_income:5,revenue:5,cash_position:8,operating_expenses:8,cash_in_cash_out:5,operating_expenses_by_vendor:12},y=(n,e)=>`${n}_${e}`,m=n=>n.substring(0,n.lastIndexOf("_")),b=(n,e)=>`${n}_${e}`,g=n=>{const[e]=n.split("_");return e},h=n=>{const[e,...r]=n.split("_");return r.join("_")};export{l as _,m as b,a as d,d as g,h,b as l,g as m,y as p,u,p as y};
1
+ import{aN as i}from"./index-CN7UAWAg.js";const u=n=>i("0,0.[00]a",n),d=(n,e,r)=>{const o=e.findIndex(c=>c===n);let t=n,s=o<e.length?e[o]:void 0;return r>1&&(t=o-r+1>=0?e[o-r+1]:void 0,t===void 0?s=o===0?e[o+r-1]:e[o+r-2]:s=e[o]),[t,s]},a=n=>{const e=n.recordByTimeseries;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},l=n=>{const e=n.recordByDurations;if(e.length>0){const r=e[0];return r.record[Object.keys(r.record)[0]].amount?.currencySymbol??""}return""},p={net_burn_or_income:5,revenue:5,cash_position:8,operating_expenses:8,cash_in_cash_out:5,operating_expenses_by_vendor:12},y=(n,e)=>`${n}_${e}`,m=n=>n.substring(0,n.lastIndexOf("_")),b=(n,e)=>`${n}_${e}`,g=n=>{const[e]=n.split("_");return e},h=n=>{const[e,...r]=n.split("_");return r.join("_")};export{l as _,m as b,a as d,d as g,h,b as l,g as m,y as p,u,p as y};
@@ -1 +1 @@
1
- import{y as t}from"./index-CUpJHznP.js";const n=58,e=76,i={transactionItemHeight:n,transactionItemHeightResponsive:new t(e,n),amountWidth:new t(105,200)};export{i as o,e as s};
1
+ import{y as t}from"./index-CN7UAWAg.js";const n=58,e=76,i={transactionItemHeight:n,transactionItemHeightResponsive:new t(e,n),amountWidth:new t(105,200)};export{i as o,e as s};
@@ -1,4 +1,4 @@
1
- import{q as x,j as r,ap as g,c0 as M,o as n,bx as v,bQ as w,y as h,am as P,F as S,u as c}from"./index-CUpJHznP.js";import{b,n as s,i as y}from"./vendor-Bs1fkIUX.js";import{J as j}from"./CollapsableReportTable-DERfLf9A-B02u2C6v.js";const p={tooltipLeftPosition:new h(c[0],-156),tooltipTopPosition:new h(c[3],c[4]),tooltipWidth:new h(300,350)},u=y`
1
+ import{q as x,j as r,ap as g,c0 as M,o as n,bx as S,bQ as w,y as h,am as v,F as P,u as c}from"./index-CN7UAWAg.js";import{b,n as s,i as y}from"./vendor-Bs1fkIUX.js";import{J as j}from"./CollapsableReportTable-o0pGO_sw-CoQujIPL.js";const p={tooltipLeftPosition:new h(c[0],-156),tooltipTopPosition:new h(c[3],c[4]),tooltipWidth:new h(300,350)},u=y`
2
2
  position: relative;
3
3
  `,z=s.div`
4
4
  color: ${e=>e.theme.colors.primary};
@@ -8,7 +8,7 @@ import{q as x,j as r,ap as g,c0 as M,o as n,bx as v,bQ as w,y as h,am as P,F as
8
8
  padding-left: ${n.sp2};
9
9
  vertical-align: middle;
10
10
  ${e=>e.windowSize!=="small"?u:null}
11
- `,F=s(v)`
11
+ `,F=s(S)`
12
12
  padding-left: ${n.sp3};
13
13
  `,O=s(w)`
14
14
  width: ${n.sp4};
@@ -33,6 +33,6 @@ import{q as x,j as r,ap as g,c0 as M,o as n,bx as v,bQ as w,y as h,am as P,F as
33
33
  left: ${e=>p.tooltipLeftPosition.valuePx(e.windowSize)};
34
34
  width: ${e=>p.tooltipWidth.valuePx(e.windowSize)};
35
35
  top: calc(100% + ${e=>p.tooltipTopPosition.valuePx(e.windowSize)});
36
- `,C=s(P)`
36
+ `,C=s(v)`
37
37
  color: ${e=>e.theme.colors.hero};
38
- `,I=e=>{const{infotipDescription:o,windowSize:i,isToolTipOpen:t}=e;return t===!1?null:r.jsx(k,{windowSize:i,children:r.jsx(C,{children:o})})};function q({balance:e,dateText:o,showInfotip:i,infotipDescription:t}){const l=x(),[f,d]=b.useState(!1),$=()=>f?r.jsx(T,{onClick:()=>{d(m=>!m)}}):r.jsx(O,{onClick:()=>{d(m=>!m)}});return r.jsxs(z,{windowSize:l,children:[r.jsx(D,{children:j(e)}),r.jsx(F,{children:o}),i===!0?r.jsx(g,{onClickAway:()=>d(!1),children:r.jsxs(Y,{windowSize:l,children:[r.jsx($,{}),r.jsx(I,{isToolTipOpen:f,infotipDescription:t,windowSize:l})]})}):null]})}const{dateFormat:a}=S.getLocalizedStrings(),A=(e,o)=>{const{startDate:i,endDate:t}=e;return o&&i.month()!==t.month()?`in ${i.format(a.visual.MMMYYFormat)} - ${t.format(a.visual.MMMYYFormat)}`:i.month()===t.month()?`in ${i.format(a.visual.MMMDFormat)} - ${t.format(a.visual.MMMDCommaYYFormat)}`:`in ${i.format(a.visual.MMMDCommaYYFormat)} - ${t.format(a.visual.MMMDCommaYYFormat)}`},_=(e,o)=>{if(o.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let i=e.length-1;return o.thisPeriod!=null&&(i=e.findIndex(t=>t.startDate.isSame(o.thisPeriod.startDate,"date")&&t.endDate.isSameOrBefore(o.thisPeriod.endDate))),{startIndex:Math.max(i+1-o.numberOfPeriods,0),length:o.numberOfPeriods}},N=(e,o)=>{const i=e.length-1-o.offsetFromEnd;return{thisPeriod:e[i],numberOfPeriods:o.length,orderBy:"ascending_date"}},W=(e,o)=>{const i=o.startIndex+o.length-1>e.length?e.length-1:o.startIndex+o.length-1;return{thisPeriod:e[i],numberOfPeriods:o.length,orderBy:"ascending_date"}};export{W as G,q as H,A as N,_ as k,N as q};
38
+ `,I=e=>{const{infotipDescription:o,windowSize:i,isToolTipOpen:t}=e;return t===!1?null:r.jsx(k,{windowSize:i,children:r.jsx(C,{children:o})})};function q({balance:e,dateText:o,showInfotip:i,infotipDescription:t}){const l=x(),[f,d]=b.useState(!1),$=()=>f?r.jsx(T,{onClick:()=>{d(m=>!m)}}):r.jsx(O,{onClick:()=>{d(m=>!m)}});return r.jsxs(z,{windowSize:l,children:[r.jsx(D,{children:j(e)}),r.jsx(F,{children:o}),i===!0?r.jsx(g,{onClickAway:()=>d(!1),children:r.jsxs(Y,{windowSize:l,children:[r.jsx($,{}),r.jsx(I,{isToolTipOpen:f,infotipDescription:t,windowSize:l})]})}):null]})}const{dateFormat:a}=P.getLocalizedStrings(),A=(e,o)=>{const{startDate:i,endDate:t}=e;return o&&i.month()!==t.month()?`in ${i.format(a.visual.MMMYYFormat)} - ${t.format(a.visual.MMMYYFormat)}`:i.month()===t.month()?`in ${i.format(a.visual.MMMDFormat)} - ${t.format(a.visual.MMMDCommaYYFormat)}`:`in ${i.format(a.visual.MMMDCommaYYFormat)} - ${t.format(a.visual.MMMDCommaYYFormat)}`},_=(e,o)=>{if(o.orderBy!=="ascending_date")throw new Error("Invalid ordering of dates!!");let i=e.length-1;return o.thisPeriod!=null&&(i=e.findIndex(t=>t.startDate.isSame(o.thisPeriod.startDate,"date")&&t.endDate.isSameOrBefore(o.thisPeriod.endDate))),{startIndex:Math.max(i+1-o.numberOfPeriods,0),length:o.numberOfPeriods}},N=(e,o)=>{const i=e.length-1-o.offsetFromEnd;return{thisPeriod:e[i],numberOfPeriods:o.length,orderBy:"ascending_date"}},W=(e,o)=>{const i=o.startIndex+o.length-1>e.length?e.length-1:o.startIndex+o.length-1;return{thisPeriod:e[i],numberOfPeriods:o.length,orderBy:"ascending_date"}};export{W as G,q as H,A as N,_ as k,N as q};
@@ -1 +1 @@
1
- import{cu as l,cv as c,cw as f}from"./index-CUpJHznP.js";async function d(e,o,s,t,r=!1){t?.(!0);try{const a=await l({urlEndPoint:e,authParams:s,fileType:"pdf"});if(a.ok){const i=c(a.headers,o),n=await a.arrayBuffer();f(n,r?i:o),t?.(!1)}else console.error(`${o} download Failed with ${a.statusText}`),t?.(!1)}catch(a){console.error(`${o} download Failed with ${JSON.stringify(a)}`),t?.(!1)}}export{d as w};
1
+ import{cu as l,cv as c,cw as f}from"./index-CN7UAWAg.js";async function d(e,o,s,t,r=!1){t?.(!0);try{const a=await l({urlEndPoint:e,authParams:s,fileType:"pdf"});if(a.ok){const i=c(a.headers,o),n=await a.arrayBuffer();f(n,r?i:o),t?.(!1)}else console.error(`${o} download Failed with ${a.statusText}`),t?.(!1)}catch(a){console.error(`${o} download Failed with ${JSON.stringify(a)}`),t?.(!1)}}export{d as w};