@zeniai/web-cockpit-ui 1.14.26-qa → 1.14.27-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 (225) hide show
  1. package/dist/assets/{ACHDetailsPage-CewoCaPp-CT46HXFD.js → ACHDetailsPage-L2DbWHeB-ClPCdt3t.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-ClcHr2vQ-BRukUWGH.js → AIPerformancePage-CBnXdO75-_wvhajiU.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-RGndqyKY-Dlk0PGab.js → AccountInfoPage-D4oJXZ8m-eDxbUsbg.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-CPeAeIaj-DBMSAwjV.js → AccountInfoPageContent-BqLZQENu-DKLbAtSV.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-YmpBWIqf-C-FSdJ0f.js → AccountLockedInfoModal-hgMwZrTb-BvUDbEdN.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DKalyFgK-CJqqjdmk.js → AccountReconDetailsDrawerPage-7hHZqKRV-Db30q4PK.js} +1 -1
  7. package/dist/assets/{AccountRow-WWzGUuw7-Dt5T0RKJ.js → AccountRow-gWy9pcbP-DahK5KVt.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-DUyZb--O-Do7uL_WW.js → AccountsPromoCardStack-BQi9-8pB-CVFLB2J-.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-S7OQ2NMb-BJNsQVwm.js → AddAddressForCardDrawer-D1jRuUxc-Dj-DNwyI.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BGR4bL7y-Bb6lLFD1.js → AddToWalletPage-w5nljCSh-Dtwub1Eh.js} +1 -1
  11. package/dist/assets/{AgingReportsPage--ALJve3d-BOQ75VTx.js → AgingReportsPage-DjKYyPl--B8G2-GNO.js} +1 -1
  12. package/dist/assets/{AllUserItems-CXe9YYB3-y8ot8_91.js → AllUserItems-C_eIzTQY-BoOb57Xg.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-CUhwlJgU-CBNh63K3.js → ApAgingDetailPage-DQxGkFx0-BRg8Onqk.js} +1 -1
  14. package/dist/assets/{AppBasePage-N1UOSAYA-ButOeNpY.js → AppBasePage-D2jhgUwi-BHgbbx-N.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-DkAfYRso-DIgwPri6.js → AppDrawerContent-Lh99VUj_-DSErHMOD.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-BZU512eg-Cq34ED6P.js → ApprovalRulesSettingsPage-4hGn8gls-Csbq5L0I.js} +1 -1
  17. package/dist/assets/{ArAgingChart-Gd9NNOYZ-CturEeZP.js → ArAgingChart-L1Eg5OH--QXuokGaq.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-Cd4bADiY-CloBhw4x.js → ArAgingDetailPage-DS_UdNpc-DdJDf5fe.js} +1 -1
  19. package/dist/assets/{AttachmentView-DosFXiGs-CcFBAMaq.js → AttachmentView-oUhRgwS1-xwc1nlCi.js} +1 -1
  20. package/dist/assets/{BankAccountSection-Cip0emaB-3CubpYBV.js → BankAccountSection-B0xnTvSs-DBwtu6_1.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-fV2PcWJ1-DcwDUiS-.js → BankAccountWarningSection-HSVR9hlO-FwmZ-JqM.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-BFT45Z3u-D9kKiR3-.js → BankConnectionsSettingsPage-DEyxN2qT-CwI8CC1C.js} +1 -1
  23. package/dist/assets/{BillDetailPage-Chgck1s6-MGepsrr1.js → BillDetailPage-6n61oxQP-DGAzOzEp.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CclJEpMl-BlzMt5rM.js → BillPayApprovalRuleDetailPage-Bgibj30U-CeM7HU2w.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-DRdc6G1q-Do7PWTUK.js → BillPayApprovalRulesPage-B1qC2X1f-Cd-O0G4O.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-Bhun2mXo-CFVXl7cx.js → BillPayPromoPage-BUZm54Qw-CCL7GZv5.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-244QjdAR--3ZPrG8f.js → BillPaySetUpPage-Bbu0IGXf-BAbCT_kS.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-CORwZVhc-BOL88-8S.js → BillingSettingsPage-BgXwuyai-C4bSAkfQ.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-CRtHsCgz-736eeCkq.js → BillsBulkReviewDrawerPage-BG4vJDjd-D_5oaI_2.js} +1 -1
  30. package/dist/assets/{BoxItem-DWDWpna--D2cYla4w.js → BoxItem-sBvV-njQ-C8Sj46hv.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-DHXRhOfC-DuFHbUBn.js → BusinessVerificationPage-syPjq1-X-DjthHO0M.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-GYcLZ5q7-DDRlJ3Xc.js → CardNumberSubText-D6WXzfC0-BBYg8SeO.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-CTLDlyWQ-v4bjdBVF.js → CashbackDetailPage-DLAOhViI-CQNN0Oxk.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-CV02cgTr-HaRAGSGQ.js → ChargeCardDetailPage-D9wo7CV4-CUr5LNIS.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-DiBVKdGc-BVHqbmYC.js → ChargeCardListPage-DmRPUJI1-BbID8kE0.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-ixkVZt9F-CslM77bc.js → ChargeCardListTable-DkRhOsTp-DQ097Jz2.js} +1 -1
  37. package/dist/assets/{ChargeCardPromoPage-C9AT9hu_-BwQqyK7j.js → ChargeCardPromoPage-CY29hORT-DK3BWpKu.js} +1 -1
  38. package/dist/assets/{ChargeCardSetupPage-CyJU6nOC-BKJGZJ3i.js → ChargeCardSetupPage-DjuxXgtx-BTK9oWDK.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-g8nRbdcm-BiOY4wOK.js → ChargeCardStatementsPage-05e-Rv4L-DyFgXT9k.js} +1 -1
  40. package/dist/assets/{ChargeCardUtils-CaeU7cUK-CiIwxJCF.js → ChargeCardUtils-BAz43f_r-DlWXaeiv.js} +1 -1
  41. package/dist/assets/{ChaseOverlay-BGvkZQ2l-D9dV7WP7.js → ChaseOverlay-BX0hFprH-CheTBvmx.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-BvaSO00v-xO42YT_V.js → CheckDepositDrawerPage-Bd59EnDi-DVjKwQxX.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-B3cboW0a-CD9KncJ0.js → CollapsableReportTable-CsR4lewg-BCplnaWV.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-D-bG22hs-CgMrGGJW.js → CompanyOfficerDetailsSection-CQ4pjozN-DI9wppT8.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-CR6DjQ-I-CifV8Uu-.js → CompanyPassportCard-BqJfTSkV-CgFKrjFF.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-BPrDJy2O-sA4KINu1.js → CompanyPassportPage-B4x5JYS3-QEOChnPa.js} +1 -1
  47. package/dist/assets/{CompleteProfile-BmpWGuf--D2nAi13Y.js → CompleteProfile-CPjhTOMg-Bn_rO_-p.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-BVBXgQdB-BXZoY3AT.js → ConfettiBurst-CJyAglUs-7Su0flU5.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-Bmr0GyLM-De3rLN1x.js → CreateOrEditVendorPage-DI-FQKPk-DYcyDGuB.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CfCLKSCF-WcDNXwGD.js → CreditCardPaymentDrawerPage-CxJqSR2l-BJTXtXKj.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentPlgSection-CVVsL-9r-BKuaJLA2.js → CreditCardPaymentPlgSection-D2iK5zd5-BW35VwUN.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-DgJCjCx8-B2oMSate.js → CurrencySelectField-zveSgwTU-IrKdmw1Q.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-Bs_JvG9T-DiUEeOeN.js → CustomerOnboardingActivationPage-BBlYah_--CiuIKOvd.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-CsLB44OM-DiFZy3jV.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BhZzNu1m-BLM6ptcO.js → CustomerOnboardingDetailPageSkeleton-CE1dy5F9-BwIXTn7L.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-Whh36SXZ-Dc6CgaLn.js → CustomerOnboardingNoStepsPage-Bx9_ctyK-CAycrgS1.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-CzkLweUd-5KgWw58d.js → CustomerOnboardingPage-BObZoqDa-BLwC2x0O.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-9TrvxuUq-DnpTrdJH.js → CustomerOnboardingProductSuitePage-Dv864eku-CrCM6790.js} +1 -1
  59. package/dist/assets/{Dashboard-D34he_GT-L3J_In0U.js → Dashboard-Cqsn_xor-CAbkhLP7.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-B2YLw1cH-BN3dSNTv.js → DashboardReportPage-D7rrc_LV-Bqg3ON1L.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-BJa2hS_o-XKCgBVx6.js → DashboardSidebarBackgroundAnimation-Cn1xsSMy-CBA72j9x.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem--SnHZPfd-BbNgV8N2.js → DepositAccTransactionItem-DhO5pQ2D-D_QaCuVF.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-Ck-fbeJy-CSFntDRx.js → DepositAccTransactionListPage-CoGo__FB-Bui_Xqcl.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-C6Qiwdxz-B5KNssdu.js → DomesticWireDetailsPage-CNUwvH-x-DELRnncB.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-DL0MytOi-DKCXGCnh.js → DownloadOverlay-D-Y3ilH_-BA8mvHOJ.js} +1 -1
  66. package/dist/assets/{DrawerPage-B58qg5nB-HfdHo8J9.js → DrawerPage-CHtXbldN-BLaKbfh2.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-GKvVCE5z-DjqVmvDk.js → EditPeoplePage-2LzzSLC3-DfBRYaB1.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-D1MioFVj-DH_wDDq4.js → EditReimbursementDetailPage-PjZbUg25-CwFr7xGE.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-DQWLe49l-BuhfK0t_.js → EntityDetailPage-BfSU_uHj-MWXQRs6e.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-CqTrjk_Q-gPV4Y69o.js → EntitySummarySection-C_qgJH5q-D6D-9-D8.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-wTuiXZhd-BBum1cDw.js → ExpenseAutomationOverviewPage-B9cNpuZF-l7hBIrHY.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-D8HVgxVi-6Jf1NY6q.js → ExpenseAutomationPage-FdxNtX_M-B6s2ObTd.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-hxixn_a5-D2UAvzV5.js → ExpressPayPage-BZMNK1fM-CJNVvYo6.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-D2WqSgUY-D2oqrOP_.js → FeaturePreviewPage-22xEt2Xs-9YjqAwmx.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-BdppdSCG-CShfzQV7.js → FollowStepsSection-BP4Jjo3T-Dg_k_Eu7.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-DRKd8hE9-B16KNi8Q.js → GlobalReviewListPage-IpkiV5FS-CksYMZBX.js} +1 -1
  77. package/dist/assets/{HelpButton-Deu41-qI-DvSY4HR1.js → HelpButton-DFCkvYzx-BqvnZiPu.js} +1 -1
  78. package/dist/assets/{InformationCardStack-DsynT9vP-gxNLPR98.js → InformationCardStack-Dx-sRnhQ-BAw8BXD4.js} +1 -1
  79. package/dist/assets/{InsightsCardStack-WP7JAv_5-C5xr1SQa.js → InsightsCardStack-RBgdi8NS-Gv5G6CtC.js} +1 -1
  80. package/dist/assets/{InsightsSection-tLAgCQfS-D9fZ5_CP.js → InsightsSection-BSWX8_jF-BBrD5tML.js} +1 -1
  81. package/dist/assets/{IntegrationsSettingsPage-LzPf29eX-DtVPxwcp.js → IntegrationsSettingsPage-CVIrSM7W-D1A4aHm7.js} +1 -1
  82. package/dist/assets/{InternationalWireSwiftDetailsPage-CUoPzQIv-CD0QsOMP.js → InternationalWireSwiftDetailsPage-5BaIQVWk-Ch62ubQL.js} +1 -1
  83. package/dist/assets/{InternationalWireVerificationPage-Da_J_IU4-DI7RwJ9n.js → InternationalWireVerificationPage-ZQnAkFCP-DSSWn9AH.js} +1 -1
  84. package/dist/assets/{InviteFormPage-JbynfL4s-B24CZuZG.js → InviteFormPage-C5X0v0De-9Y1heADW.js} +1 -1
  85. package/dist/assets/{InvitePageListView-BBIxkRhG-CvtpmgPs.js → InvitePageListView-BnfBq3ip-DDOpVtlT.js} +1 -1
  86. package/dist/assets/{InvitePeoplePage-DrkakKul-DpWIPFqn.js → InvitePeoplePage-YP3YdUkS-DHK5ybrl.js} +1 -1
  87. package/dist/assets/{InvoiceUploadSection-B6OrfzVQ-mWPr2iey.js → InvoiceUploadSection-DRWzfNlH-D-YCHRxW.js} +1 -1
  88. package/dist/assets/{IssueChargeCardPage-jZPDYgiF-D3zHng_C.js → IssueChargeCardPage-7_4rXBxl-fPp8Ajpe.js} +1 -1
  89. package/dist/assets/{LabeledAddressValue-BCxx4Ym4-CGRIujfu.js → LabeledAddressValue-BWukRQiR-B_KoLV4N.js} +1 -1
  90. package/dist/assets/{LabeledAddressValueField-D0ApugQ2-Ban9Cygt.js → LabeledAddressValueField-ZzLPPTOt-CEcpWS66.js} +1 -1
  91. package/dist/assets/{LabeledControlledCheckBoxField-Be6a12Zt-1Q41AiKl.js → LabeledControlledCheckBoxField-DaBrpZ-a-DgSxK2Ly.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-8uWALHq2-DGFA2rXY.js → LabeledCreatableSingleSelectField-BtRI6qTj-Bz_eFbLJ.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-BhWz_lFG-CDTeBBLX.js → LabeledDocumentField-C0ZkEhSD-PgvjUbgi.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-CXuWTmZ2-B_9VzHsr.js → LabeledDropDownFormattedTextField-D6MJpX0M-BRhfU-OX.js} +1 -1
  95. package/dist/assets/{LabeledText-DnPjenHw-BmbRsgPT.js → LabeledText-B50vR7KS-wVVFk1hP.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CnIkfztG-BbISKB0u.js → LabeledUserSingleSelectWithSubtitlesField-C6EiM1_m-ByPuUaGf.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-DSYZd8IK-0Us87RiE.js → LabeledZeniRolesDropDownField-DmXyMa7_-Bd2CZDQq.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-HtzLhRDp-CtCpNFMw.js → LinkJETransactionPage-C7mwJuAG-vEqssAi9.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-CkfU52XR-CnX5cfpo.js → LowBalancePopup-BHamFyCn-D1gSvWdq.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-Vo3I5xUd-Cbdt7rKP.js → MagicLinkACHDetailsPage-Bmg846bE-mujY-BFr.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-DjOsCfW9-D0WjF50F.js → MagicLinkDomesticWireDetailsPage-CfvXhzCl-Css4tLhV.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-DX73ukbM-8uNTilnj.js → MagicLinkInternationalWireDetailsPage-CYtRtOzU-E9b-9-OX.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-BhNMcw3m-De-g2XDm.js → MagicLinkSuccessPage-BRzJVVbN-CAUanTeB.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-DuepEVwF-tv4-flMI.js → MagicLinkTitleSection-DU6LgoX_-SF5iErU3.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-BzidTWDc-DB-uG9bH.js → MailingDetailsSection-qOmPAUSS-BxoWlb6y.js} +1 -1
  106. package/dist/assets/{MeetingCalenderPopup-69pWIeUs-DaoErZbb.js → MeetingCalenderPopup-p5EOWukC-zpObwsoM.js} +1 -1
  107. package/dist/assets/{Menu-CcDfUWLP-CMJniPyP.js → Menu-B1CEca0C-r5__lqIT.js} +1 -1
  108. package/dist/assets/{MyBankConnectionsSettingsPage-q-Cugt7i-OzsUoIZR.js → MyBankConnectionsSettingsPage-P2FrkQD_-CK7vXzu2.js} +1 -1
  109. package/dist/assets/{MyPendingActivationChargeCardListPage-BoYjasU9-C9vXvN5S.js → MyPendingActivationChargeCardListPage-BnDjrr_X-Bfr6UvK_.js} +1 -1
  110. package/dist/assets/{MyProfileSettingsPage-BQn20Mer-BLXIr4zf.js → MyProfileSettingsPage-D_KvmLaa-czMu3WmW.js} +1 -1
  111. package/dist/assets/{NavBarWithPicker-Cx9FYNA1-MZMXu4Lx.js → NavBarWithPicker-BC-T3HeP-BjcVtk6S.js} +1 -1
  112. package/dist/assets/{NavigationArrow-DlJXC4xL-ChRV5zjf.js → NavigationArrow-CyUUSesZ-8kG9oG0M.js} +1 -1
  113. package/dist/assets/{NavigationDots-D0aavCTX-CH9Zqjf3.js → NavigationDots-CeLb5VQU-gETgW9ae.js} +1 -1
  114. package/dist/assets/{NewGlobalMerchantPage-CSYd-A6s-D0A_B42U.js → NewGlobalMerchantPage-DJSmnj9x-_ffBVpe0.js} +1 -1
  115. package/dist/assets/{NoDataChart-BpXztt8w-iCzsfFqH.js → NoDataChart-CYcz93UF-jvTiwlU0.js} +1 -1
  116. package/dist/assets/{NoDataTable-DdM0yjdd-BbkENdqK.js → NoDataTable-fN3c9rsa-DJnFFzbM.js} +1 -1
  117. package/dist/assets/{NotFoundPage-D4LpOaCk-UWESOf9B.js → NotFoundPage-DJ0uY1ML-ZP6ysT40.js} +1 -1
  118. package/dist/assets/{NotificationSettingsPage-CCHmbbm0-s8ZZoPo4.js → NotificationSettingsPage-CoNkPojs-DaoKrxh7.js} +1 -1
  119. package/dist/assets/{NotificationsListConfig-CkT3ifeZ-0NznpWON.js → NotificationsListConfig-BsiX-NYv-C963xeTc.js} +1 -1
  120. package/dist/assets/{NotificationsPage-CH84TJ1B-BMkLMNHN.js → NotificationsPage-D4-ksII6-83e1A0HC.js} +1 -1
  121. package/dist/assets/{OpExByVendorPage-BO2WcMgl-B7oCen-o.js → OpExByVendorPage-D411M857-BD2QYgkw.js} +1 -1
  122. package/dist/assets/{OverlayContainerPage-Bmu909Fo-CRf95pXx.js → OverlayContainerPage-Bmu909Fo-DcPlzoqJ.js} +1 -1
  123. package/dist/assets/{PandLWithForecastPage-Bt6Mw_gU-Cs8_d3u_.js → PandLWithForecastPage-BhPSJvK9-mCBkntej.js} +1 -1
  124. package/dist/assets/{PaymentAccountSetupBillingAddressSection-B4GNmpUK-CxSio8Ky.js → PaymentAccountSetupBillingAddressSection-D6PCdbch-CCi_T0Vq.js} +1 -1
  125. package/dist/assets/{PeoplePage-BW4NDtwt-DkjfS6_L.js → PeoplePage-BphDokC_-DyLpw_P9.js} +1 -1
  126. package/dist/assets/{PortfolioAllocationFormPage-Cq2dN9SD-CSm2Ava2.js → PortfolioAllocationFormPage-DSU_3MAa-DrLrAjoR.js} +1 -1
  127. package/dist/assets/{PortfolioDetails-BntkZVUn-CKJbqtbE.js → PortfolioDetails-ChJvqnSe-ew_TZWFQ.js} +1 -1
  128. package/dist/assets/{ProductsCarousel-DiQK-Lzx-BZMIQoKV.js → ProductsCarousel-D4WEVVKD-Dis78Y72.js} +1 -1
  129. package/dist/assets/{PromoBaseCards-CtuOYupT-Dyiyn7d5.js → PromoBaseCards-BK3A8pNV-BrLELXLr.js} +1 -1
  130. package/dist/assets/{QBOConnectionDialog-qOO80680-CcTCYwmt.js → QBOConnectionDialog-Ctqo-QYD-DfbOVF-i.js} +1 -1
  131. package/dist/assets/{QBOSetupSection-QkM5eBnB-Oj9IQUMU.js → QBOSetupSection-6UqNQs2P-CMRzGCfs.js} +1 -1
  132. package/dist/assets/{ReimbursementApprovalRuleDetailPage-UywWQk0j-Yk7T38pf.js → ReimbursementApprovalRuleDetailPage-N6-NIyQN-Dkq4lZ90.js} +1 -1
  133. package/dist/assets/{ReimbursementApprovalRulesPage-C4-kuIRF-CoKZQtgz.js → ReimbursementApprovalRulesPage-CfhsytOA-B2_O25OB.js} +1 -1
  134. package/dist/assets/{ReimbursementDetailPage-DHLkdW4E-AHeMtNNE.js → ReimbursementDetailPage-McJFYJar-DUEvk803.js} +1 -1
  135. package/dist/assets/{ReimbursementPromoPage-SPqDtNP3-CFdMh3QE.js → ReimbursementPromoPage-Cy2-ax-T-GDc3GJqw.js} +1 -1
  136. package/dist/assets/{ReimbursementSetUpPage-BQGSy-0f-DU2GHGk7.js → ReimbursementSetUpPage-Pb1LicsA-DxE65z6l.js} +1 -1
  137. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-C0WYNN1_-DHIOWp7o.js → ReimbursementsBulkReviewDrawerPage-DdfUd5Xs-C1lxCkY_.js} +1 -1
  138. package/dist/assets/{ReloadCard-hjrvUIYg-Dq63nnpI.js → ReloadCard-B46-ft_v-BRzBqi7s.js} +1 -1
  139. package/dist/assets/{ReportTableViewSelector-Bok7Utfe-BUDFlBkJ.js → ReportTableViewSelector-B-nrKwox-BN4kX_Iz.js} +1 -1
  140. package/dist/assets/{ReportsPage-Ckp6uaf0-QjBX1IQe.js → ReportsPage-TCPF9O7D-D0wV95XO.js} +1 -1
  141. package/dist/assets/{RevenueChart-VAcu4ww5-Cj6ZKomc.js → RevenueChart-Ck68S4vZ-BynauqVH.js} +1 -1
  142. package/dist/assets/{ReviewDetailsPage-pHm8GF9U-CIBwCGYN.js → ReviewDetailsPage-CuZ4gllU-DyHdslgo.js} +1 -1
  143. package/dist/assets/{ReviewOverlay-CPkvoQ4t-DdnAnidx.js → ReviewOverlay-_znOER9h-CHXK6ec_.js} +1 -1
  144. package/dist/assets/{RoleWithToolTip-DWvJm-1j-DqPRUm_1.js → RoleWithToolTip-Bo8lwH2J-CaV2qJaY.js} +1 -1
  145. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CrBh686Y-DRzwNRWE.js → ScheduleDetailsFixedAssetsPage-NHKgn2B_-7pL-P9MS.js} +1 -1
  146. package/dist/assets/{ScheduleDetailsPage-DPhBxN-b-3gzmwL_o.js → ScheduleDetailsPage-Cyes1Hqk-CNkOfOGT.js} +1 -1
  147. package/dist/assets/{ScheduleSequenceTable-BRHFAfM9-Co_73EFw.js → ScheduleSequenceTable-Dt-O9AJR-Cx-gmbSa.js} +1 -1
  148. package/dist/assets/{ScreenRoutes-BKTPRR-t.js → ScreenRoutes-D1MHSJyk.js} +1 -1
  149. package/dist/assets/{SetUpAccountSection-Q_YVv46Q-B_9EeRdq.js → SetUpAccountSection-MagNswiG-C57L6kvb.js} +1 -1
  150. package/dist/assets/{SetUpDefaultSection-Cvr6_blm-Df33xlPA.js → SetUpDefaultSection-CW6d4gp7-T2IKPxwX.js} +1 -1
  151. package/dist/assets/{SignIn-Btsg-pxI-M0UHaVG-.js → SignIn-Df2NrLSh-4GWCkTd4.js} +1 -1
  152. package/dist/assets/{SignInScreen-PyUkU1Rp.js → SignInScreen-IJmyjlny.js} +1 -1
  153. package/dist/assets/{SpendManagementListViewPage-B1rLW-kh-CkMpbmNg.js → SpendManagementListViewPage-BkqhnBuG-CAKiOxXk.js} +3 -3
  154. package/dist/assets/{SpendManagementPerTabPage-BZUekdm5-Cbp30KPr.js → SpendManagementPerTabPage-JEEIZUyZ-C-QNnVzg.js} +1 -1
  155. package/dist/assets/{SpendManagementSection-DccRaspC-02Bz3X9g.js → SpendManagementSection-Ibu0ounY-CRMUSWTy.js} +1 -1
  156. package/dist/assets/{SpendMgmtSetupAccountSection-C28yfVQi-FRWPugGr.js → SpendMgmtSetupAccountSection-BoQUuYkt-CsIAHdM7.js} +1 -1
  157. package/dist/assets/{StatementItem-BI3QeS8f-DfvDNicK.js → StatementItem--AHGDiMN-DQ6vGaR2.js} +1 -1
  158. package/dist/assets/{StatementsPage-DL9Lzsp3-BpKCM5fn.js → StatementsPage-Qi2VPoZh-CAxExqiA.js} +1 -1
  159. package/dist/assets/{StatusSwitcher-PbG-8evx--GfQ8YXL.js → StatusSwitcher-DGGgMFsU-BWku4J1v.js} +1 -1
  160. package/dist/assets/{SubTabSwitcher-hVNHd9C4-P-cq5U1j.js → SubTabSwitcher-eAfz2-Lc-DcGuafZZ.js} +1 -1
  161. package/dist/assets/{SummaryCard-BKOTImSp-jC8lfB9z.js → SummaryCard-Dqip8ZQb-B2Zx_Fqv.js} +1 -1
  162. package/dist/assets/{TaskManagementPage-2Z1pOUxy-Cmo0zr83.js → TaskManagementPage-Bosgb_fo-CXdMQHGJ.js} +1 -1
  163. package/dist/assets/{TimeRangeSwitcher-bwo7NYw1-Dq8Rap0M.js → TimeRangeSwitcher-CvcbbXCJ-DRfH7eQv.js} +1 -1
  164. package/dist/assets/{TimeframeSwitcher-B0XKrq8k-CFx47Xg5.js → TimeframeSwitcher-C8DAGW2V-dkmBVCxs.js} +1 -1
  165. package/dist/assets/{TimeframeSwitcherWithToggle-B707zow_-DQg5qK9l.js → TimeframeSwitcherWithToggle-CMrYTuXz-CIo7o1Zn.js} +1 -1
  166. package/dist/assets/{TopExCard-D22OJzeW-DTXgdJ7A.js → TopExCard-BmTIQ2DK-wMXURbl5.js} +1 -1
  167. package/dist/assets/{TopExDetailPage-Cr3Z09kR-BGTJEaJ2.js → TopExDetailPage-BhwybNsw-DbzLdw6T.js} +1 -1
  168. package/dist/assets/{TransactionDetailPage-DWoUgUdK-CIJf6La2.js → TransactionDetailPage-CXDtk8ts-BY0srxik.js} +1 -1
  169. package/dist/assets/{TransactionList-EZh96kjx-DOeoS1jc.js → TransactionList-59giJdUf-C4UChFvS.js} +1 -1
  170. package/dist/assets/{TransactionListBig-BKUawJB5-CEzAXUXF.js → TransactionListBig-C8u5yUv3-D0jMuLpk.js} +1 -1
  171. package/dist/assets/{TransactionListPage-BkFa6sG1-BtlrKa7H.js → TransactionListPage-EBscLNug-CN8G07mf.js} +1 -1
  172. package/dist/assets/{TransactionVendorDetailPage-CN6osu7v-CHCOl410.js → TransactionVendorDetailPage-BWLV7xtE-Dmr9Yz18.js} +1 -1
  173. package/dist/assets/{TransferDrawerPage-BYz9fB52-DA3WfaV1.js → TransferDrawerPage-CM5iuNip-CfBoPf6H.js} +1 -1
  174. package/dist/assets/{TreasuryOverviewPage-u8VsE9Y1-DMIKJb9Q.js → TreasuryOverviewPage-CVBXnZ07-B97jLBUj.js} +1 -1
  175. package/dist/assets/{TreasuryPromoPage-DTDOak2Y-BW-niOyD.js → TreasuryPromoPage-BzRK0qtG-4x775oCw.js} +1 -1
  176. package/dist/assets/{TreasurySetupPage-DrLHmZhl-b1wN951s.js → TreasurySetupPage-2Aevh0cV-CiSeaC4S.js} +1 -1
  177. package/dist/assets/{TreasuryStatementsPage-RAY4B7hK-CVM6r50L.js → TreasuryStatementsPage-CwPcqy4Y-BG2ENXFX.js} +1 -1
  178. package/dist/assets/{TreasuryTaxLetterPage-OJ4bHbJ7-C3R-ZOwD.js → TreasuryTaxLetterPage-D7G3QcNO-Dc1vplru.js} +1 -1
  179. package/dist/assets/{TreasuryTransferOrReviewPage-BLbXRv2h-hJ0e8xpo.js → TreasuryTransferOrReviewPage-DYRhs_uX-CvIJ6mI6.js} +1 -1
  180. package/dist/assets/{TrendChart-CuzDp7uD-wy3vuBZH.js → TrendChart-DgszF2m_-COQfjibh.js} +1 -1
  181. package/dist/assets/{TrendWithTransactions-Cmk48Jqj-B0R44vJu.js → TrendWithTransactions-D6l7QfxS-MGPQ1OUD.js} +1 -1
  182. package/dist/assets/{UncategorizedAccountsMappingPage-CCBv7KTO-CDDAaMng.js → UncategorizedAccountsMappingPage-nYSa9KVs-Jk5Bnldc.js} +1 -1
  183. package/dist/assets/{UnitIntegrationPage-3XuAXC0q-DvHU8qGV.js → UnitIntegrationPage-BHri3DvH-CMKe7Jp4.js} +1 -1
  184. package/dist/assets/{UploadAdditionalDocumentOverlay-FdcuZ27x-tvltJpeS.js → UploadAdditionalDocumentOverlay-DfplQSBr-B9gpicfS.js} +1 -1
  185. package/dist/assets/{Vendor2FAPopup-Db5990IN-BvIpiovq.js → Vendor2FAPopup-c6lufcgW-DkkMYFYL.js} +1 -1
  186. package/dist/assets/{VendorACHDetailsPage-D-HvadNm-CchqnN43.js → VendorACHDetailsPage-DJyFJ6mB-83dd9PVM.js} +1 -1
  187. package/dist/assets/{VendorDetailPage-C-rMj9h--ChfLyJbS.js → VendorDetailPage-jHPqI6jP-BGgQpA5a.js} +1 -1
  188. package/dist/assets/{VendorDomesticWireDetailsPage-p0pYARKU-DEjBjU8_.js → VendorDomesticWireDetailsPage-CzL1nHq4-CizKPoFq.js} +1 -1
  189. package/dist/assets/{VendorFiling1099EditablePage-CxYZS7j6-DxsODf-0.js → VendorFiling1099EditablePage-BVeRIPb0-DaIn8gBf.js} +1 -1
  190. package/dist/assets/{VendorFirstReviewPage-ynD9RQWy-pgpC0L3K.js → VendorFirstReviewPage-kmPtQF7C-QfTUxH5h.js} +1 -1
  191. package/dist/assets/{VendorInternationalWireDetailsPage-BhgM0lSZ-CPL3V25w.js → VendorInternationalWireDetailsPage-GJeSmexW-CuSX-PDI.js} +1 -1
  192. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-yPthE5qV-DHt0Y7Vr.js → VendorInternationalWireSwiftDetailsPage-BTm4bGKa-9Q7eIAo9.js} +1 -1
  193. package/dist/assets/{VendorsAccountsSection-C3rimjf3-CPvuVcU0.js → VendorsAccountsSection-DkHXlqM9-Bn8DmqlL.js} +1 -1
  194. package/dist/assets/{VerifyDevice-D0OuH8HR-0jV84iKO.js → VerifyDevice-LSH3GYJi-CUa1ClgV.js} +1 -1
  195. package/dist/assets/{VideoPlayer-b1lD-9mC-BlFeixC4.js → VideoPlayer-C0GoslQO-CKyPqfbG.js} +1 -1
  196. package/dist/assets/{VideoPopup-BgqDBh7c-DZENo65X.js → VideoPopup-CLbVKb9o-DNF4g2PC.js} +1 -1
  197. package/dist/assets/{WarningsDrawerPage-Dma7Z4vW-CBESfU_o.js → WarningsDrawerPage-B-h_LfmH-BLStmgTa.js} +1 -1
  198. package/dist/assets/{ZeniAccountDetailPage-dv8ndfwd-CO7tRzEo.js → ZeniAccountDetailPage-B-Banptn-BGm3rIgs.js} +1 -1
  199. package/dist/assets/{ZeniAccountListViewPage-D7_ItInH-Cm5nHSe6.js → ZeniAccountListViewPage-CkbTdPFV-BCYXHGv0.js} +1 -1
  200. package/dist/assets/{ZeniAccountNavBarPieces-C16sUk1w-CdtYsjBl.js → ZeniAccountNavBarPieces-CZzYxS7P-CBbL4MCT.js} +1 -1
  201. package/dist/assets/{ZeniAccountPromoPage-COYIbgAC-BEbGdJd2.js → ZeniAccountPromoPage-C__Oe6Lf-CpnNznsf.js} +1 -1
  202. package/dist/assets/{ZeniAccountSetupPage-BQZpDQEz-CwiKWv6n.js → ZeniAccountSetupPage-Ce0xwUlv-6Oi9rWik.js} +1 -1
  203. package/dist/assets/{ZeniCopyright-CXhOsuk5-Bb5KERqY.js → ZeniCopyright-BVBF1SHv-BYYS5eDC.js} +1 -1
  204. package/dist/assets/{ZeniTransferAmountSlider-NbZpDggn-BrIYkIIB.js → ZeniTransferAmountSlider-CmzSi73--CGBAGwFT.js} +1 -1
  205. package/dist/assets/{analyticsHelper-B18W140f.js → analyticsHelper-C7-W35Ls.js} +1 -1
  206. package/dist/assets/{analyticsHelper-DemX-evW-99GXBWAu.js → analyticsHelper-aFZRzNsS-B-24b8sG.js} +1 -1
  207. package/dist/assets/{chartTypes-BilrAjHG-C5LahPIZ.js → chartTypes-CcxHG70c-6RIDkj1k.js} +1 -1
  208. package/dist/assets/{commonDimensions-B699Wk8x-BD0z4FRG.js → commonDimensions-DihO1hm6-B2pqjT-C.js} +1 -1
  209. package/dist/assets/{detailCommon-3_34aa64-DBKz2T03.js → detailCommon-mHaGI1Ut-DCwSNaWj.js} +1 -1
  210. package/dist/assets/{downloadPdf-C14EZOKs-CM7WRUOa.js → downloadPdf-DVRwZL_W-BzPjgh6y.js} +1 -1
  211. package/dist/assets/{index-BLQaqS_c.js → index-H65M8kUw.js} +7 -7
  212. package/dist/assets/{mapLoadingInProgressToTreeNode-Cw5XFtZ9-C4pOODm2.js → mapLoadingInProgressToTreeNode-DtB7eKBX-Bypf2m-l.js} +1 -1
  213. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-62hlA_iJ-CidLvOtA.js → mapSectionWithAcOnlyToTreeNode-BoqjDTrm-CKL1UpES.js} +1 -1
  214. package/dist/assets/{mapSpacerToTreeNode-BvXNV-c7-CqPWJ3Ld.js → mapSpacerToTreeNode-COyDN2jR-BYKiBMGm.js} +1 -1
  215. package/dist/assets/{mapTimeframeBalancesToTreeNode-CMNhMiQR-CLIOo0l_.js → mapTimeframeBalancesToTreeNode-CR5UZq0i-DvDzboHP.js} +1 -1
  216. package/dist/assets/{mapTimeframeBalancesToTreeNode-DDc4F-uB-pOTfWkA6.js → mapTimeframeBalancesToTreeNode-D2unCV4q-CISkeoXY.js} +1 -1
  217. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BDHC7EOK-CRHy6e-2.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CDnIpZVE-CDya5I5j.js} +1 -1
  218. package/dist/assets/{toCOABalancesWithID-D9-l2_mb-Dr30YdC0.js → toCOABalancesWithID-CAuCqaiC-TO5zFNjo.js} +1 -1
  219. package/dist/assets/{toChartData-DLSag8k1-ClptSdLt.js → toChartData-BqYenMLa-BRSfFGkF.js} +1 -1
  220. package/dist/assets/{treasuryColorHelper-Dnd6iR54-Cgts7fBG.js → treasuryColorHelper-HS8TxPMS-C3HaZj4J.js} +1 -1
  221. package/dist/assets/{uploadAttachment-PuftuiMf-BtsvUj8U.js → uploadAttachment-BndaV4Vd-B5CLN4Jj.js} +1 -1
  222. package/dist/assets/{uploadReceipts-dxsKhm9I-DLhMwdWr.js → uploadReceipts-dxsKhm9I-dRe4Gmwn.js} +1 -1
  223. package/dist/index.html +1 -1
  224. package/package.json +3 -3
  225. package/dist/assets/CustomerOnboardingContainerPage-CrGhPOCE-CTlqZ-CE.js +0 -1
@@ -1,4 +1,4 @@
1
- import{Y as ht,u as qe,j as t,B as oe,iF as Y,aX as mt,b as H,bV as gt,s as K,r as kt,l as Q,o as s,eM as Ze,bO as Ne,bS as xt,fE as wt,ao as ft,bg as Xe,a6 as Ct,e as le,a as Tt,C as Je,ca as $t,F as yt,aj as bt,b_ as vt,i9 as jt,ia as St,iG as ze,a4 as Gt,K as De,bB as Ie,eI as Qe,iH as Lt,cx as et,iI as pe,iJ as xe,iK as Et,iL as we,iM as tt,iN as st,iO as ot,iP as nt,iQ as at,iR as rt,iS as _,q as ke,iT as re,w as ie,iU as Nt,iV as It,a3 as Mt,n as Dt,iW as zt,d9 as Bt,iX as Rt,cn as it,cH as At,v as Ot,iY as Ft,iZ as Wt,fF as Pt,eL as Vt,i_ as Ht,i$ as X,j0 as Be,c0 as Ut,j1 as _t,j2 as Kt,j3 as Re,j4 as Yt,g as Ae,g0 as qt,k as Zt}from"./index-BLQaqS_c.js";import{b as n,n as o,j as fe}from"./vendor-rkTZJa59.js";import{K as Xt,Y as Jt}from"./SpendManagementSection-DccRaspC-02Bz3X9g.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-CkT3ifeZ-0NznpWON.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-B1rLW-kh-CkMpbmNg.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./StatusSwitcher-PbG-8evx--GfQ8YXL.js";const ns=100,as=100,rs=3,is=.7,ls=({scrollContainerRef:e,isEnabled:u=!0,edgeThreshold:r=ns,scrollSpeed:h=as,minScrollAmount:m=rs,scrollCurveExponent:p=is})=>{n.useEffect(()=>{if(!u||typeof window>"u"||typeof document>"u")return;let a=!1,c=0,i=null;const d=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},j=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},I=x=>j(x),M=x=>{const S=Math.max(x,0)/d,y=Math.pow(S,p)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,y=c;if(y<d&&y>0){const L=d-y,g=M(L);k(x,g,"up")}else if(y>S-d){const L=y-(S-d),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{I(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(c=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,u,m,e,p,h])},Se=oe.getLocalizedStrings(),lt=({count:e})=>t.jsx(ds,{isCircular:e<10,children:t.jsx(cs,{children:e>Se.common.numbers.maximumCount?`${Se.common.numbers.maximumCount}${Se.common.strings.plus}`:e})}),ds=o.div`
1
+ import{Y as ht,u as qe,j as t,B as oe,iF as Y,aX as mt,b as H,bV as gt,s as K,r as kt,l as Q,o as s,eM as Ze,bO as Ne,bS as xt,fE as wt,ao as ft,bg as Xe,a6 as Ct,e as le,a as Tt,C as Je,ca as $t,F as yt,aj as bt,b_ as vt,i9 as jt,ia as St,iG as ze,a4 as Gt,K as De,bB as Ie,eI as Qe,iH as Lt,cx as et,iI as pe,iJ as xe,iK as Et,iL as we,iM as tt,iN as st,iO as ot,iP as nt,iQ as at,iR as rt,iS as _,q as ke,iT as re,w as ie,iU as Nt,iV as It,a3 as Mt,n as Dt,iW as zt,d9 as Bt,iX as Rt,cn as it,cH as At,v as Ot,iY as Ft,iZ as Wt,fF as Pt,eL as Vt,i_ as Ht,i$ as X,j0 as Be,c0 as Ut,j1 as _t,j2 as Kt,j3 as Re,j4 as Yt,g as Ae,g0 as qt,k as Zt}from"./index-H65M8kUw.js";import{b as n,n as o,j as fe}from"./vendor-rkTZJa59.js";import{K as Xt,Y as Jt}from"./SpendManagementSection-Ibu0ounY-CRMUSWTy.js";import{A as Qt,t as es,a as ts,E as ss}from"./NotificationsListConfig-BsiX-NYv-C963xeTc.js";import{getDashboardFilterCategoryValues as os}from"./SpendManagementListViewPage-BkqhnBuG-CAKiOxXk.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./StatusSwitcher-DGGgMFsU-BWku4J1v.js";const ns=100,as=100,rs=3,is=.7,ls=({scrollContainerRef:e,isEnabled:u=!0,edgeThreshold:r=ns,scrollSpeed:h=as,minScrollAmount:m=rs,scrollCurveExponent:p=is})=>{n.useEffect(()=>{if(!u||typeof window>"u"||typeof document>"u")return;let a=!1,c=0,i=null;const d=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},j=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},I=x=>j(x),M=x=>{const S=Math.max(x,0)/d,y=Math.pow(S,p)*h;return Math.max(m,y)},k=(x,S,y)=>{const L=y==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},f=()=>e.current??window,w=()=>{if(!a)return;const x=f(),S=window.innerHeight,y=c;if(y<d&&y>0){const L=d-y,g=M(L);k(x,g,"up")}else if(y>S-d){const L=y-(S-d),g=M(L);k(x,g,"down")}i=requestAnimationFrame(w)},D=x=>{I(x)?a=!0:(a=!1,C())},z=()=>{a=!1,C()},B=x=>{a&&(c=x.clientY)},$=x=>{B(x),a&&i===null&&(i=requestAnimationFrame(w))};return document.addEventListener("dragstart",D),document.addEventListener("dragend",z),document.addEventListener("dragover",$),()=>{document.removeEventListener("dragstart",D),document.removeEventListener("dragend",z),document.removeEventListener("dragover",$),C()}},[r,u,m,e,p,h])},Se=oe.getLocalizedStrings(),lt=({count:e})=>t.jsx(ds,{isCircular:e<10,children:t.jsx(cs,{children:e>Se.common.numbers.maximumCount?`${Se.common.numbers.maximumCount}${Se.common.strings.plus}`:e})}),ds=o.div`
2
2
  ${e=>e.isCircular?fe`
3
3
  height: 18px;
4
4
  width: 18px;
@@ -1,4 +1,4 @@
1
- import{j as t,aj as D,O as k,di as H,aN as L,o as a,w as q}from"./index-BLQaqS_c.js";import{n as g,b as i}from"./vendor-rkTZJa59.js";import{R as A}from"./mui-C42whWwM.js";import{V as U}from"./CollapsableReportTable-B3cboW0a-CD9KncJ0.js";const W=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),i.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),i.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
1
+ import{j as t,aj as D,O as k,di as H,aN as L,o as a,w as q}from"./index-H65M8kUw.js";import{n as g,b as i}from"./vendor-rkTZJa59.js";import{R as A}from"./mui-C42whWwM.js";import{V as U}from"./CollapsableReportTable-CsR4lewg-BCplnaWV.js";const W=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),i.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>i.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),i.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: flex-start;
@@ -1,4 +1,4 @@
1
- import{j as t,o,w as p,B as u}from"./index-BLQaqS_c.js";import{n as i}from"./vendor-rkTZJa59.js";const f=i.div`
1
+ import{j as t,o,w as p,B as u}from"./index-H65M8kUw.js";import{n as i}from"./vendor-rkTZJa59.js";const f=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{e as c,j as t,C as n,w,b5 as x}from"./index-BLQaqS_c.js";import{n as r}from"./vendor-rkTZJa59.js";import{y as l}from"./TimeframeSwitcher-B0XKrq8k-CFx47Xg5.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(x,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),$=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},b=r.div`
1
+ import{e as c,j as t,C as n,w,b5 as x}from"./index-H65M8kUw.js";import{n as r}from"./vendor-rkTZJa59.js";import{y as l}from"./TimeframeSwitcher-C8DAGW2V-dkmBVCxs.js";const a="ZeniSwitch",i={root:`${a}-root`,switchBase:`${a}-switchBase`,track:`${a}-track`,thumb:`${a}-thumb`},u=({className:e,...o})=>t.jsx(x,{...o,className:e,classes:{...i}}),p=r(u)(({theme:e})=>({[`& .${i.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${i.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${i.root}.${i.switchBase}.Mui-checked + .${i.track}`]:{backgroundColor:e.colors.grey1},[`&.${i.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${i.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${i.switchBase}.Mui-checked .${i.thumb}`]:{backgroundColor:e.colors.primary},[`& .${i.switchBase}.Mui-checked .${i.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${i.switchBase}.Mui-checked + .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${i.switchBase}.Mui-disabled + .${i.track}`]:{opacity:.7},[`& .${i.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${i.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),$=e=>t.jsx(p,{...e}),d={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},b=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{O as M,e as V,j as t,u as f,b7 as T,aw as C,av as S,bb as E,bk as k,q as x,ab as R,v as $,bl as q,bm as H,a0 as G,l as X,Z as Y,o as p,w as L,ao as Z,s as F,B as O,_ as N,$ as Q,a5 as A,ai as J,aj as U,a6 as W,bn as ee}from"./index-BLQaqS_c.js";import{f as w,b as te,n as g}from"./vendor-rkTZJa59.js";import{I as ae,T as re}from"./ReloadCard-hjrvUIYg-Dq63nnpI.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const ie=g(A)`
1
+ import{O as M,e as V,j as t,u as f,b7 as T,aw as C,av as S,bb as E,bk as k,q as x,ab as R,v as $,bl as q,bm as H,a0 as G,l as X,Z as Y,o as p,w as L,ao as Z,s as F,B as O,_ as N,$ as Q,a5 as A,ai as J,aj as U,a6 as W,bn as ee}from"./index-H65M8kUw.js";import{f as w,b as te,n as g}from"./vendor-rkTZJa59.js";import{I as ae,T as re}from"./ReloadCard-B46-ft_v-BRzBqi7s.js";import{o as oe,r as ne}from"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const ie=g(A)`
2
2
  justify-content: space-between;
3
3
  margin: 0;
4
4
  height: ${e=>e.height!=null?e.height+"px":"auto"};
@@ -1,4 +1,4 @@
1
- import{u as v,e as S,l as A,j as t,aX as B,B as u,a0 as k,aj as H,N as P,o as i,C as j,bj as z,aO as F,q as c,g as T,s as y,$ as V,af as D}from"./index-BLQaqS_c.js";import{n as l,f as M,b as o}from"./vendor-rkTZJa59.js";import{E as Z,I as _}from"./TopExCard-D22OJzeW-DTXgdJ7A.js";import{y as L}from"./TimeframeSwitcher-B0XKrq8k-CFx47Xg5.js";import{d as O}from"./NoDataTable-DdM0yjdd-BbkENdqK.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./ReloadCard-hjrvUIYg-Dq63nnpI.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const E="141px",I=i.sp4,N="123px",R=l(D)`
1
+ import{u as v,e as S,l as A,j as t,aX as B,B as u,a0 as k,aj as H,N as P,o as i,C as j,bj as z,aO as F,q as c,g as T,s as y,$ as V,af as D}from"./index-H65M8kUw.js";import{n as l,f as M,b as o}from"./vendor-rkTZJa59.js";import{E as Z,I as _}from"./TopExCard-BmTIQ2DK-wMXURbl5.js";import{y as L}from"./TimeframeSwitcher-C8DAGW2V-dkmBVCxs.js";import{d as O}from"./NoDataTable-fN3c9rsa-DJnFFzbM.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./ReloadCard-B46-ft_v-BRzBqi7s.js";import"./graphic-no-data-l-DU4J8fDt-BBc6l6Au.js";const E="141px",I=i.sp4,N="123px",R=l(D)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{u as Pt,a as Nn,e as te,B as M,a2 as Xt,dP as Bn,dQ as Fn,ca as Mn,O as qn,dR as tn,l as ge,dS as Un,j as i,$ as q,F as Wn,aX as Hn,dT as Gn,dU as Yn,m as si,dV as ki,a4 as Jn,C as _,dW as Qn,dX as nn,dY as on,dZ as an,d_ as Te,d$ as je,e0 as _e,e1 as Qe,e2 as Xe,e3 as kt,e4 as zt,e5 as Ke,e6 as gt,e7 as At,e8 as Vt,e9 as Kt,ea as K,eb as ti,ec as ue,ed as pe,X as Xn,ee as Tt,ef as zi,eg as Kn,K as Zn,bV as eo,o,bJ as to,eh as io,q as T,N as xi,g as le,r as Ci,ap as li,az as no,ei as oo,bQ as ao,bO as ri,a0 as Oe,cn as nt,ej as so,ek as Gt,a7 as sn,cs as lo,el as ro,bM as co,bN as uo,s as fe,af as po,cH as mo,em as ln,en as Zt,eo as ei,ep as pi,de as ho,aj as go,b_ as fo,cv as Di,x as rn,eq as ii,er as ni,es as cn,ct as dn,bB as Ti,et as mi,dj as hi,eu as yo,aO as bo,ev as xo,ew as Ai,ex as vo,H as wo,cw as $o,ey as Io,J as un,ez as pn,b6 as Co,eA as Vi,eB as mn,eC as hn,eD as gn,b4 as ot,b2 as Do,aD as To,ds as jo,v as fn,eE as Oo,b1 as Lo,a3 as So,k as ko,eF as zo,a9 as vi}from"./index-BLQaqS_c.js";import{b as $,n as l,f as jt}from"./vendor-rkTZJa59.js";import{x as Ri}from"./LabeledControlledCheckBoxField-Be6a12Zt-1Q41AiKl.js";import{R as Ao}from"./TrendWithTransactions-Cmk48Jqj-B0R44vJu.js";import{u as Vo,c as Ro,d as Po,m as Eo}from"./uploadAttachment-PuftuiMf-BtsvUj8U.js";import{o as _o}from"./radio-default-CiSgisfh-Z5w0WcFM.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./TrendChart-CuzDp7uD-wy3vuBZH.js";import"./chartTypes-BilrAjHG-C5LahPIZ.js";import"./toCOABalancesWithID-D9-l2_mb-Dr30YdC0.js";import"./toChartData-DLSag8k1-ClptSdLt.js";import"./NoDataChart-BpXztt8w-iCzsfFqH.js";import"./InsightsSection-tLAgCQfS-D9fZ5_CP.js";import"./NavigationDots-D0aavCTX-CH9Zqjf3.js";import"./TransactionList-EZh96kjx-DOeoS1jc.js";import"./BoxItem-DWDWpna--D2cYla4w.js";import"./commonDimensions-B699Wk8x-BD0z4FRG.js";const No={headerMarginTop:new _(T[7],T[8])},Bo=l(fe)`
1
+ import{u as Pt,a as Nn,e as te,B as M,a2 as Xt,dP as Bn,dQ as Fn,ca as Mn,O as qn,dR as tn,l as ge,dS as Un,j as i,$ as q,F as Wn,aX as Hn,dT as Gn,dU as Yn,m as si,dV as ki,a4 as Jn,C as _,dW as Qn,dX as nn,dY as on,dZ as an,d_ as Te,d$ as je,e0 as _e,e1 as Qe,e2 as Xe,e3 as kt,e4 as zt,e5 as Ke,e6 as gt,e7 as At,e8 as Vt,e9 as Kt,ea as K,eb as ti,ec as ue,ed as pe,X as Xn,ee as Tt,ef as zi,eg as Kn,K as Zn,bV as eo,o,bJ as to,eh as io,q as T,N as xi,g as le,r as Ci,ap as li,az as no,ei as oo,bQ as ao,bO as ri,a0 as Oe,cn as nt,ej as so,ek as Gt,a7 as sn,cs as lo,el as ro,bM as co,bN as uo,s as fe,af as po,cH as mo,em as ln,en as Zt,eo as ei,ep as pi,de as ho,aj as go,b_ as fo,cv as Di,x as rn,eq as ii,er as ni,es as cn,ct as dn,bB as Ti,et as mi,dj as hi,eu as yo,aO as bo,ev as xo,ew as Ai,ex as vo,H as wo,cw as $o,ey as Io,J as un,ez as pn,b6 as Co,eA as Vi,eB as mn,eC as hn,eD as gn,b4 as ot,b2 as Do,aD as To,ds as jo,v as fn,eE as Oo,b1 as Lo,a3 as So,k as ko,eF as zo,a9 as vi}from"./index-H65M8kUw.js";import{b as $,n as l,f as jt}from"./vendor-rkTZJa59.js";import{x as Ri}from"./LabeledControlledCheckBoxField-DaBrpZ-a-DgSxK2Ly.js";import{R as Ao}from"./TrendWithTransactions-D6l7QfxS-MGPQ1OUD.js";import{u as Vo,c as Ro,d as Po,m as Eo}from"./uploadAttachment-BndaV4Vd-B5CLN4Jj.js";import{o as _o}from"./radio-default-CiSgisfh-Z5w0WcFM.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./TrendChart-DgszF2m_-COQfjibh.js";import"./chartTypes-CcxHG70c-6RIDkj1k.js";import"./toCOABalancesWithID-CAuCqaiC-TO5zFNjo.js";import"./toChartData-BqYenMLa-BRSfFGkF.js";import"./NoDataChart-CYcz93UF-jvTiwlU0.js";import"./InsightsSection-BSWX8_jF-BBrD5tML.js";import"./NavigationDots-CeLb5VQU-gETgW9ae.js";import"./TransactionList-59giJdUf-C4UChFvS.js";import"./BoxItem-sBvV-njQ-C8Sj46hv.js";import"./commonDimensions-DihO1hm6-B2pqjT-C.js";const No={headerMarginTop:new _(T[7],T[8])},Bo=l(fe)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,Fo=l(fe)`
4
4
  margin-right: ${o.sp1};
@@ -1,4 +1,4 @@
1
- import{bJ as rt,e as R,j as e,aj as st,$ as u,de as nt,B as y,df as lt,d9 as dt,dg as ct,o as a,g as Z,b_ as mt,C as V,l as m,m as ft,s as j,q as b,w as xt,dh as W,cz as _,a0 as G,k as ut}from"./index-BLQaqS_c.js";import{b as g,n,f as ht}from"./vendor-rkTZJa59.js";import{g as J}from"./BoxItem-DWDWpna--D2cYla4w.js";import{o as E}from"./commonDimensions-B699Wk8x-BD0z4FRG.js";const F=t=>t?24:125,pt={containerPaddingBottom:new V(b[9],b[8])},Q=n.div`
1
+ import{bJ as rt,e as R,j as e,aj as st,$ as u,de as nt,B as y,df as lt,d9 as dt,dg as ct,o as a,g as Z,b_ as mt,C as V,l as m,m as ft,s as j,q as b,w as xt,dh as W,cz as _,a0 as G,k as ut}from"./index-H65M8kUw.js";import{b as g,n,f as ht}from"./vendor-rkTZJa59.js";import{g as J}from"./BoxItem-sBvV-njQ-C8Sj46hv.js";import{o as E}from"./commonDimensions-DihO1hm6-B2pqjT-C.js";const F=t=>t?24:125,pt={containerPaddingBottom:new V(b[9],b[8])},Q=n.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{C as a,e as L,Y as W,P as ie,ab as ne,l as B,j as t,$ as x,aj as re,B as w,q as n,v as ae,g as D,o,J as j,y as Q,aM as se,aN as le,w as de,r as ce,a0 as me,aO as pe,p as he,m as ue,K as Y,N as G,aP as X,a6 as ee}from"./index-BLQaqS_c.js";import{b as U,n as i,f,j as ge}from"./vendor-rkTZJa59.js";import{G as xe,c as we}from"./AccountsPromoCardStack-DUyZb--O-Do7uL_WW.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./SummaryCard-BKOTImSp-jC8lfB9z.js";import"./ReloadCard-hjrvUIYg-Dq63nnpI.js";import"./NavigationArrow-DlJXC4xL-ChRV5zjf.js";import"./NavigationDots-D0aavCTX-CH9Zqjf3.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
1
+ import{C as a,e as L,Y as W,P as ie,ab as ne,l as B,j as t,$ as x,aj as re,B as w,q as n,v as ae,g as D,o,J as j,y as Q,aM as se,aN as le,w as de,r as ce,a0 as me,aO as pe,p as he,m as ue,K as Y,N as G,aP as X,a6 as ee}from"./index-H65M8kUw.js";import{b as U,n as i,f,j as ge}from"./vendor-rkTZJa59.js";import{G as xe,c as we}from"./AccountsPromoCardStack-BQi9-8pB-CVFLB2J-.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./SummaryCard-Dqip8ZQb-B2Zx_Fqv.js";import"./ReloadCard-B46-ft_v-BRzBqi7s.js";import"./NavigationArrow-CyUUSesZ-8kG9oG0M.js";import"./NavigationDots-CeLb5VQU-gETgW9ae.js";const $e={textContainer:new j("extraSmallRegular","smallRegular")},ye=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,be=i.div`
@@ -1,4 +1,4 @@
1
- import{u as A,aV as z,aW as M,j as o,$ as u,aX as Q,m as V,aY as W,o as n,s as X}from"./index-BLQaqS_c.js";import{b as r,n as l}from"./vendor-rkTZJa59.js";import{f as Z}from"./TransactionList-EZh96kjx-DOeoS1jc.js";import{t as _}from"./page-detail-CWX5S47F-BBa5wfAm.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BoxItem-DWDWpna--D2cYla4w.js";import"./commonDimensions-B699Wk8x-BD0z4FRG.js";const q=l.div`
1
+ import{u as A,aV as z,aW as M,j as o,$ as u,aX as Q,m as V,aY as W,o as n,s as X}from"./index-H65M8kUw.js";import{b as r,n as l}from"./vendor-rkTZJa59.js";import{f as Z}from"./TransactionList-59giJdUf-C4UChFvS.js";import{t as _}from"./page-detail-CWX5S47F-BBa5wfAm.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BoxItem-sBvV-njQ-C8Sj46hv.js";import"./commonDimensions-DihO1hm6-B2pqjT-C.js";const q=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  height: 100vh;
@@ -1,4 +1,4 @@
1
- import{e as A,B as k,j as o,m as q,$ as D,a4 as W,o as a,C as g,a3 as J,J as Q,cB as U,a as Y,gA as B,gB as F,gC as M,ca as _,F as G,q as s,u as K,cd as X,ge as z,gH as Z,am as ee,gL as oe,gM as te}from"./index-BLQaqS_c.js";import{b as j,n as d}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:v,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:h,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=A(),y=K(),$=N.labelWidth.value(l),I=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",r=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(R=>R.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(se,{"data-testid":D("vendor-details-section",h),children:[o.jsx(re,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(X,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:F(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>r(n),defaultValue:{selectedOption:v,allOptions:B(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:M(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:I}):null]})]})},se=d.div`
1
+ import{e as A,B as k,j as o,m as q,$ as D,a4 as W,o as a,C as g,a3 as J,J as Q,cB as U,a as Y,gA as B,gB as F,gC as M,ca as _,F as G,q as s,u as K,cd as X,ge as z,gH as Z,am as ee,gL as oe,gM as te}from"./index-H65M8kUw.js";import{b as j,n as d}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const L=(e,c)=>`${e}.${c}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,i=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:c,selectedClassId:v,selectedOwnerId:t,selectedVendorName:m,allAccounts:p,allClasses:C,allOwners:b,sectionId:h,isDisabled:u,accountsHierarchyList:f,classHierarchyList:x})=>{const l=A(),y=K(),$=N.labelWidth.value(l),I=N.controlWidth.value(l),P=n=>p.filter(O=>O.accountId===n)[0]?.coaId??"",r=n=>C.filter(O=>O.classId===n)[0]?.accountingClassNumber??"",S=n=>{const O=p.find(R=>R.accountId===n)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(se,{"data-testid":D("vendor-details-section",h),children:[o.jsx(re,{children:i.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(X,{label:{label:i.vendorDetails.vendorName,width:$},text:{type:"text",name:L(h,"vendorName"),placeholder:i.placeholders.vendor,defaultValue:m,autoComplete:"off",options:{required:!0}},isSaveError:c,showAdditionalInfoLabel:!1,additionalInfoLabel:i.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorCategory"),placeholder:i.placeholders.category,valueToInfo:n=>P(n),defaultValue:{selectedOption:e,allOptions:F(f)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:S,zIndexOnFocus:!0,additionalLabelInfo:i.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:i.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:L(h,"vendorClass"),placeholder:i.placeholders.class,valueToInfo:n=>r(n),defaultValue:{selectedOption:v,allOptions:B(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:i.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),b!=null?o.jsx(Z,{label:{label:i.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:L(h,"vendorOwner"),placeholder:i.placeholders.owner,defaultValue:{allOptions:M(b),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:I}):null]})]})},se=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};
@@ -1,4 +1,4 @@
1
- import{j as t,e as ue,$ as A,gU as lt,B as I,a0 as q,K as ve,h2 as ct,m as Ne,a4 as $e,o as a,C as c,a3 as Ye,T as dt,ao as ut,r as ft,c7 as De,w as be,s as fe,a2 as ce,f1 as pt,a as Xe,l as mt,ca as ht,ab as gt,a1 as wt,g as Z,F as Ue,fa as ke,fb as Ae,fJ as xt,bB as Te,fE as $t,h3 as Dt,q as o,d1 as bt,bO as qe,bv as Tt,cG as yt,b6 as Ct,k as Ge,f6 as St,ds as vt,bx as Ze,fd as kt,ff as At}from"./index-BLQaqS_c.js";import{b as u,n}from"./vendor-rkTZJa59.js";import{v as Pt}from"./ZeniTransferAmountSlider-NbZpDggn-BrIYkIIB.js";import{r as Lt}from"./AccountInfoPageContent-CPeAeIaj-DBMSAwjV.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-C14EZOKs-CM7WRUOa.js";import"./commonDimensions-B699Wk8x-BD0z4FRG.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Je="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ke="transferDetailPage",ge=(e,r)=>`${e}.${r}`,He=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:y,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:J,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:H}){const i=ue(),R=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),ye=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),E(),Y(!1),z(!1)},[E,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:U,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?U():z(!0)},[U,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&U()},[N,U,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||ye!==ee||s)&&P.reset(Le(r,()=>U()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,ye,ee,X,me,pe,P,r,U]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};J(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(y(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&ht(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),H())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(Et,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:Z.heroLight}})})]})}):null,t.jsx(Nt,{children:q("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(Ue,{...P,children:t.jsxs(Mt,{id:He(Ke),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ee,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ee,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Je),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(qt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Gt,{windowSize:i,children:[t.jsx(Kt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(Zt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${q("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(Te,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Ut,{})})]}),t.jsx(Jt,{windowSize:i}),t.jsx(Ht,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${q("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>y(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>y(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,T=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Je]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
1
+ import{j as t,e as ue,$ as A,gU as lt,B as I,a0 as q,K as ve,h2 as ct,m as Ne,a4 as $e,o as a,C as c,a3 as Ye,T as dt,ao as ut,r as ft,c7 as De,w as be,s as fe,a2 as ce,f1 as pt,a as Xe,l as mt,ca as ht,ab as gt,a1 as wt,g as Z,F as Ue,fa as ke,fb as Ae,fJ as xt,bB as Te,fE as $t,h3 as Dt,q as o,d1 as bt,bO as qe,bv as Tt,cG as yt,b6 as Ct,k as Ge,f6 as St,ds as vt,bx as Ze,fd as kt,ff as At}from"./index-H65M8kUw.js";import{b as u,n}from"./vendor-rkTZJa59.js";import{v as Pt}from"./ZeniTransferAmountSlider-CmzSi73--CGBAGwFT.js";import{r as Lt}from"./AccountInfoPageContent-BqLZQENu-DKLbAtSV.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-DVRwZL_W-BzPjgh6y.js";import"./commonDimensions-DihO1hm6-B2pqjT-C.js";const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:b}}}=I.getLocalizedStrings(),Je="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Ke="transferDetailPage",ge=(e,r)=>`${e}.${r}`,He=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:T,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:y,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:J,onBackClick:E,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:K,onReviewClick:H}){const i=ue(),R=p.largeLabelWidth.value(i),[W,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,V]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[N,Y]=u.useState(!1),Q=r.transferMoneyPartiesFetchState,oe=ce(Q),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),ye=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Qe=u.useCallback(s=>{O?.(s),E(),Y(!1),z(!1)},[E,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:U,ready:te}=pt({token:v,onSuccess:Qe,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?U():z(!0)},[U,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&V(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&Y(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{N&&x&&U()},[N,U,x]),u.useEffect(()=>{(mt.zeniDate(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&K?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Q==="Completed"||ie!==X||ye!==ee||s)&&P.reset(Le(r,()=>U()))},[te,v,m.fetchStatus.fetchState,oe,Q,ie,ye,ee,X,me,pe,P,r,U]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};J(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(y(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&ht(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),H())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=gt(wt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[W?t.jsx(Ft,{children:t.jsxs(Et,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Wt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Vt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(It,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:Z.heroLight}})})]})}):null,t.jsx(Nt,{children:q("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(Ue,{...P,children:t.jsxs(Mt,{id:He(Ke),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ee,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:b.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ee,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:b.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:b.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(xt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:b.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Je),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:b.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(qt,{children:[$?t.jsxs(Yt,{children:[t.jsx(Xt,{children:b.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Gt,{windowSize:i,children:[t.jsx(Kt,{windowSize:i,children:T?t.jsxs(t.Fragment,{children:[t.jsxs(Zt,{children:[t.jsx(ze,{children:`${b.transferDrawer.calculator.footerText.annualYieldEarned} ${q("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(Te,{variant:"small-description",display:"flex",data:b.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(Ut,{})})]}),t.jsx(Jt,{windowSize:i}),t.jsx(Ht,{children:`${b.transferDrawer.calculator.footerText.forTotalBalance} ${q("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:b.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>y(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.hide}),t.jsx(Qt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>y(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:b.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ne,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,T=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(T){const d={label:b.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Je]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bB as ae,aX as Ke,v as ie,$ as E,m as Fe,o as i,w as k,g as w,b6 as Ve,C as u,cV as _,J as R,l as V,q as h,gX as le,at as de,aw as ce,av as he,au as pe,b9 as We,bg as Le,a6 as Ae,Y as Ee,fq as Ue,gr as Je,K as Ge,s as M,af as Xe,iA as _e,jb as qe,aA as Qe,eJ as Ze,d7 as et,f6 as tt,aj as it,b_ as ot,i9 as rt,ia as at,ka as nt,bn as st,k as U,c3 as xe,ic as lt,c6 as dt,id as ct,ie as ht}from"./index-BLQaqS_c.js";import{b as $,n as o,f as pt,j as ge}from"./vendor-rkTZJa59.js";import{s as xt}from"./commonDimensions-B699Wk8x-BD0z4FRG.js";import{g as me}from"./BoxItem-DWDWpna--D2cYla4w.js";import{l as ne,d as gt}from"./treasuryColorHelper-Dnd6iR54-Cgts7fBG.js";import{o as mt}from"./transaction-placeholder-CpOwZAMG-DYG2_sCF.js";import{o as ut}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(h[0],h[4]),headerLastColumnRightPadding:new u(h[3],h[11]),headerLastColumnBottomPadding:new u(h[0],h[4]),headerLastColumnLeftPadding:new u(h[3],h[11]),headerHeight:new u(ct,ht),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const c=A(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const s of p)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,s)=>{let m=s;r.sortKey===p&&(m=s==="ascending"?"descending":"ascending"),n(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(s=>s.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(st,{title:f.sortBy,placeholder:f.sortBy,pickerValues:j,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:p=>{d(p,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4})]}),t.jsxs(At,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(p=>p.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{children:p.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:p,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===p.key,children:t.jsx(xe,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const jt=pt.memo($t),bt=o.div`
1
+ import{e as C,u as A,x as Ne,bJ as Ye,j as t,B as L,a0 as W,bB as ae,aX as Ke,v as ie,$ as E,m as Fe,o as i,w as k,g as w,b6 as Ve,C as u,cV as _,J as R,l as V,q as h,gX as le,at as de,aw as ce,av as he,au as pe,b9 as We,bg as Le,a6 as Ae,Y as Ee,fq as Ue,gr as Je,K as Ge,s as M,af as Xe,iA as _e,jb as qe,aA as Qe,eJ as Ze,d7 as et,f6 as tt,aj as it,b_ as ot,i9 as rt,ia as at,ka as nt,bn as st,k as U,c3 as xe,ic as lt,c6 as dt,id as ct,ie as ht}from"./index-H65M8kUw.js";import{b as $,n as o,f as pt,j as ge}from"./vendor-rkTZJa59.js";import{s as xt}from"./commonDimensions-DihO1hm6-B2pqjT-C.js";import{g as me}from"./BoxItem-sBvV-njQ-C8Sj46hv.js";import{l as ne,d as gt}from"./treasuryColorHelper-HS8TxPMS-C3HaZj4J.js";import{o as mt}from"./transaction-placeholder-CpOwZAMG-DYG2_sCF.js";import{o as ut}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new u(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new u(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new u(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new u(h[0],h[4]),headerLastColumnRightPadding:new u(h[3],h[11]),headerLastColumnBottomPadding:new u(h[0],h[4]),headerLastColumnLeftPadding:new u(h[3],h[11]),headerHeight:new u(ct,ht),sortIconSize:new u(h[2],h[2]),headerPaddingTop:new u(h[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const c=A(),l=C(),[a,y]=$.useState(oe());$.useEffect(()=>{const p=[...a];for(const s of p)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";y(p)},[r.sortKey,r.sortOrder]);const d=(p,s)=>{let m=s;r.sortKey===p&&(m=s==="ascending"?"descending":"ascending"),n(p,m)},g=a.find(p=>p.key===r.sortKey)??a[0],x=p=>a.find(s=>s.key===p)?.value??"",j=a.map(p=>p.key),f=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(st,{title:f.sortBy,placeholder:f.sortBy,pickerValues:j,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:p=>{d(p,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:c.colors.primary,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4})]}),t.jsxs(At,{onClick:()=>d(g.key,g.sortOrder),"data-testid":E("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(xe,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(p=>p.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:p.key,wrapperWidth:p.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(p.key,p.sortOrder),"data-testid":E("cards-list-sort-clicked",r.sortKey),children:[t.jsx(U,{children:p.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:p,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===p.key,children:t.jsx(xe,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===p.key&&p.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":E("cards-list-sort-cancel",r.sortKey)})})]},p.key))})})}const jt=pt.memo($t),bt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{u as ae,e as A,Y as Ce,x as we,a2 as $e,l as fe,B as q,j as r,aX as ye,o as i,iA as ke,bB as je,w as j,K,$ as J,J as $,r as F,g as a,C as z,s as R,d7 as be,bq as Se,T as ze,k as ve,cP as Le,q as h,dM as Be,ay as Me,c7 as Pe,a3 as Ee,v as Q,cB as Te}from"./index-BLQaqS_c.js";import{b as s,n as t,f as Ie}from"./vendor-rkTZJa59.js";import{x as De}from"./MeetingCalenderPopup-69pWIeUs-DaoErZbb.js";import{z as We}from"./VideoPlayer-b1lD-9mC-BlFeixC4.js";import{l as _e}from"./treasuryColorHelper-Dnd6iR54-Cgts7fBG.js";import{r as Re}from"./auto-transfer-rule-mbafm5D3-DsDlaCxy.js";import{o as He}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const Ge=({isOpen:e,onClose:C})=>{const c=A(),x=q.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Le,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:C,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Ne,{windowSize:c,children:[r.jsx(Ae,{children:r.jsx(Oe,{onClick:C})}),r.jsxs(qe,{children:[r.jsx(Fe,{windowSize:c,children:x.agreementDrawer.title}),r.jsx(Z,{children:x.agreementDrawer.intro}),r.jsx(G,{children:x.agreementDrawer.introBullets.map((p,w)=>r.jsx(re,{children:p},w))}),r.jsx(G,{children:x.agreementDrawer.documents.map((p,w)=>r.jsx(Ve,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ue,{children:p.links.map((g,k)=>r.jsx(Xe,{children:g.link!==""?r.jsx(ee,{href:g.link,target:"_blank",rel:"noopener noreferrer",children:g.text}):g.text},k))}):r.jsx(ee,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(Z,{style:{marginTop:i.sp2},children:x.agreementDrawer.confirmTitle}),r.jsx(G,{children:x.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(re,{children:p},w))})]})]})})},Ne=t.div`
1
+ import{u as ae,e as A,Y as Ce,x as we,a2 as $e,l as fe,B as q,j as r,aX as ye,o as i,iA as ke,bB as je,w as j,K,$ as J,J as $,r as F,g as a,C as z,s as R,d7 as be,bq as Se,T as ze,k as ve,cP as Le,q as h,dM as Be,ay as Me,c7 as Pe,a3 as Ee,v as Q,cB as Te}from"./index-H65M8kUw.js";import{b as s,n as t,f as Ie}from"./vendor-rkTZJa59.js";import{x as De}from"./MeetingCalenderPopup-p5EOWukC-zpObwsoM.js";import{z as We}from"./VideoPlayer-C0GoslQO-CKyPqfbG.js";import{l as _e}from"./treasuryColorHelper-HS8TxPMS-C3HaZj4J.js";import{r as Re}from"./auto-transfer-rule-mbafm5D3-DsDlaCxy.js";import{o as He}from"./shield-DOlUxcFf-bFVWRY1X.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const Ge=({isOpen:e,onClose:C})=>{const c=A(),x=q.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Le,{anchor:"right",slotProps:{paper:{sx:{width:c==="small"||c==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:C,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Ne,{windowSize:c,children:[r.jsx(Ae,{children:r.jsx(Oe,{onClick:C})}),r.jsxs(qe,{children:[r.jsx(Fe,{windowSize:c,children:x.agreementDrawer.title}),r.jsx(Z,{children:x.agreementDrawer.intro}),r.jsx(G,{children:x.agreementDrawer.introBullets.map((p,w)=>r.jsx(re,{children:p},w))}),r.jsx(G,{children:x.agreementDrawer.documents.map((p,w)=>r.jsx(Ve,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Ue,{children:p.links.map((g,k)=>r.jsx(Xe,{children:g.link!==""?r.jsx(ee,{href:g.link,target:"_blank",rel:"noopener noreferrer",children:g.text}):g.text},k))}):r.jsx(ee,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(Z,{style:{marginTop:i.sp2},children:x.agreementDrawer.confirmTitle}),r.jsx(G,{children:x.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(re,{children:p},w))})]})]})})},Ne=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{x as Me,u as Ue,e as ae,a2 as se,a as re,ca as le,B as ce,a8 as te,j as t,cP as He,g as Re,C as u,aX as _e,m as Ne,F as de,dO as Je,aS as qe,q as n,K as Ge,bB as Xe,$ as Ke,cg as Ye,a4 as Ze,o as i,s as ue,c7 as Qe,a3 as et,J as tt,y as it}from"./index-BLQaqS_c.js";import{b as a,n as o}from"./vendor-rkTZJa59.js";import{D as ot}from"./HelpButton-Deu41-qI-DvSY4HR1.js";import{r as nt}from"./verification-CW6uEyev-BVrJsi0i.js";import{q as ie}from"./SetUpDefaultSection-Cvr6_blm-Df33xlPA.js";import{f as at}from"./SpendMgmtSetupAccountSection-C28yfVQi-FRWPugGr.js";import st from"./PortfolioAllocationFormPage-Cq2dN9SD-CSm2Ava2.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-69pWIeUs-DaoErZbb.js";import"./ChargeCardUtils-CaeU7cUK-CiIwxJCF.js";import"./CreditCardPaymentPlgSection-CVVsL-9r-BKuaJLA2.js";import"./ChaseOverlay-BGvkZQ2l-D9dV7WP7.js";import"./PortfolioDetails-BntkZVUn-CKJbqtbE.js";import"./treasuryColorHelper-Dnd6iR54-Cgts7fBG.js";const rt=(e,f)=>`${e}.${f}`,B={labelWidth:new u(145,155),navBarContainerPaddingYaxis:new u(10,n[3]),containerPaddingLeft:new u(n[3],n[6],n[8]),containerPaddingRight:new u(n[3],n[6],n[8])},lt={stepTitle:new tt("h6Regular","h5Regular")},pe=ce.getLocalizedStrings(),{common:oe}=pe,h=pe.commonSetUp.businessVerification,G=h.sourceOfFundOptions,$="additionalVerificationFields",ct=({companyOfficer:e,companyDetails:f,updateStatus:c,isDetailsSubmitted:x,onClose:d,onAdditionalVerificationFieldsChanged:E,onSendForVerificationClick:I,onCloseOverlay:j})=>{const p=ae(),k=B.labelWidth.value(p),D=se(c.fetchState),C=re({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>({[$]:{sourceOfFunds:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(G)}}}),[f?.sourceOfFunds])}),W=m=>G[m]??m,M=C.handleSubmit(()=>{I(e?.officerType??"Officer_1")}),P=async(m,w)=>{E(w[$])};return a.useEffect(()=>{const m=C.watch((w,{name:O})=>{O!=null&&w!=null&&le(()=>P(O,w))});return()=>{m.unsubscribe()}}),D==="In-Progress"&&c.fetchState==="Completed"||x===!0?t.jsxs(gt,{children:[t.jsxs(xt,{children:[t.jsx(nt,{}),t.jsx(ht,{windowSize:p,children:h.submittedTitle}),t.jsx(ft,{children:h.submittedDescription})]}),t.jsx(Ge,{label:h.submittedButton,onClick:j,variant:"primary"})]}):t.jsxs(dt,{windowSize:p,children:[t.jsx(ut,{windowSize:p,children:t.jsx(Xe,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(pt,{"data-testid":Ke("nav-bar-back-portfolio-allocation"),onClick:j||d})})}),t.jsxs(wt,{windowSize:p,children:[t.jsx(yt,{windowSize:p,children:h.verifyBusinessDetails}),t.jsx(bt,{children:t.jsxs(kt,{children:[t.jsx(Ct,{}),t.jsx(vt,{})]})})]}),t.jsx(he,{children:h.verifyBusinessDetailsDescription}),t.jsx(de,{...C,children:t.jsxs("form",{id:$,onSubmit:M,children:[t.jsx(mt,{children:t.jsx(Ye,{label:{label:h.sourceOfFundsLabel,width:k},style:{width:"auto"},additionalInfoLabel:h.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:rt($,"sourceOfFunds"),placeholder:h.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:W,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(G)},registerOptions:{required:!0,validate:m=>!!m?.selectedOption}},isFunctional:!0,errorInfoLabel:h.sourceOfFundsError.replace("_product_type_","business verification")})}),t.jsx(Ze,{formId:$,primaryBtn:{label:oe.footer.submit,style:{width:"auto",minWidth:p==="small"?"auto":"83px"},isLoading:c.fetchState==="In-Progress"},cancelBtn:{label:oe.footer.back,style:{width:p==="small"?"auto":"83px"},onClick:d},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},dt=o.div`
1
+ import{x as Me,u as Ue,e as ae,a2 as se,a as re,ca as le,B as ce,a8 as te,j as t,cP as He,g as Re,C as u,aX as _e,m as Ne,F as de,dO as Je,aS as qe,q as n,K as Ge,bB as Xe,$ as Ke,cg as Ye,a4 as Ze,o as i,s as ue,c7 as Qe,a3 as et,J as tt,y as it}from"./index-H65M8kUw.js";import{b as a,n as o}from"./vendor-rkTZJa59.js";import{D as ot}from"./HelpButton-DFCkvYzx-BqvnZiPu.js";import{r as nt}from"./verification-CW6uEyev-BVrJsi0i.js";import{q as ie}from"./SetUpDefaultSection-CW6d4gp7-T2IKPxwX.js";import{f as at}from"./SpendMgmtSetupAccountSection-BoQUuYkt-CsIAHdM7.js";import st from"./PortfolioAllocationFormPage-DSU_3MAa-DrLrAjoR.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-p5EOWukC-zpObwsoM.js";import"./ChargeCardUtils-BAz43f_r-DlWXaeiv.js";import"./CreditCardPaymentPlgSection-D2iK5zd5-BW35VwUN.js";import"./ChaseOverlay-BX0hFprH-CheTBvmx.js";import"./PortfolioDetails-ChJvqnSe-ew_TZWFQ.js";import"./treasuryColorHelper-HS8TxPMS-C3HaZj4J.js";const rt=(e,f)=>`${e}.${f}`,B={labelWidth:new u(145,155),navBarContainerPaddingYaxis:new u(10,n[3]),containerPaddingLeft:new u(n[3],n[6],n[8]),containerPaddingRight:new u(n[3],n[6],n[8])},lt={stepTitle:new tt("h6Regular","h5Regular")},pe=ce.getLocalizedStrings(),{common:oe}=pe,h=pe.commonSetUp.businessVerification,G=h.sourceOfFundOptions,$="additionalVerificationFields",ct=({companyOfficer:e,companyDetails:f,updateStatus:c,isDetailsSubmitted:x,onClose:d,onAdditionalVerificationFieldsChanged:E,onSendForVerificationClick:I,onCloseOverlay:j})=>{const p=ae(),k=B.labelWidth.value(p),D=se(c.fetchState),C=re({mode:"all",reValidateMode:"onChange",defaultValues:a.useMemo(()=>({[$]:{sourceOfFunds:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(G)}}}),[f?.sourceOfFunds])}),W=m=>G[m]??m,M=C.handleSubmit(()=>{I(e?.officerType??"Officer_1")}),P=async(m,w)=>{E(w[$])};return a.useEffect(()=>{const m=C.watch((w,{name:O})=>{O!=null&&w!=null&&le(()=>P(O,w))});return()=>{m.unsubscribe()}}),D==="In-Progress"&&c.fetchState==="Completed"||x===!0?t.jsxs(gt,{children:[t.jsxs(xt,{children:[t.jsx(nt,{}),t.jsx(ht,{windowSize:p,children:h.submittedTitle}),t.jsx(ft,{children:h.submittedDescription})]}),t.jsx(Ge,{label:h.submittedButton,onClick:j,variant:"primary"})]}):t.jsxs(dt,{windowSize:p,children:[t.jsx(ut,{windowSize:p,children:t.jsx(Xe,{title:"Back",enterTouchDelay:600,placement:"bottom",children:t.jsx(pt,{"data-testid":Ke("nav-bar-back-portfolio-allocation"),onClick:j||d})})}),t.jsxs(wt,{windowSize:p,children:[t.jsx(yt,{windowSize:p,children:h.verifyBusinessDetails}),t.jsx(bt,{children:t.jsxs(kt,{children:[t.jsx(Ct,{}),t.jsx(vt,{})]})})]}),t.jsx(he,{children:h.verifyBusinessDetailsDescription}),t.jsx(de,{...C,children:t.jsxs("form",{id:$,onSubmit:M,children:[t.jsx(mt,{children:t.jsx(Ye,{label:{label:h.sourceOfFundsLabel,width:k},style:{width:"auto"},additionalInfoLabel:h.sourceOfFundsAdditionalInfo,singleSelectField:{singleSelect:{name:rt($,"sourceOfFunds"),placeholder:h.sourceOfFundsPlaceholder,showValueEyeIcon:!1,showEyeIconOnSelect:!1,getLabelForId:W,showTickMark:!1,sortOptions:!1},defaultValue:{selectedOption:f?.sourceOfFunds??"",allOptions:Object.keys(G)},registerOptions:{required:!0,validate:m=>!!m?.selectedOption}},isFunctional:!0,errorInfoLabel:h.sourceOfFundsError.replace("_product_type_","business verification")})}),t.jsx(Ze,{formId:$,primaryBtn:{label:oe.footer.submit,style:{width:"auto",minWidth:p==="small"?"auto":"83px"},isLoading:c.fetchState==="In-Progress"},cancelBtn:{label:oe.footer.back,style:{width:p==="small"?"auto":"83px"},onClick:d},style:{position:"absolute",width:"100%",paddingTop:i.sp2,paddingBottom:i.sp2}})]})})]})},dt=o.div`
2
2
  height: auto;
3
3
  padding-left: ${e=>`${B.containerPaddingLeft.valuePx(e.windowSize)}`};
4
4
  padding-right: ${e=>`${B.containerPaddingRight.valuePx(e.windowSize)}`};
@@ -1,4 +1,4 @@
1
- import{u as j,e as v,j as t,aX as z,B as C,aj as P,o as r,g as c,b_ as B,C as I,q as d,s as M}from"./index-BLQaqS_c.js";import{b as m,n as o}from"./vendor-rkTZJa59.js";import{$ as R}from"./BoxItem-DWDWpna--D2cYla4w.js";import{o as T}from"./commonDimensions-B699Wk8x-BD0z4FRG.js";import{M as E}from"./StatementItem-BI3QeS8f-DfvDNicK.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-C14EZOKs-CM7WRUOa.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:s,onBackClick:g})=>{const b=j(),i=v(),f=m.createRef(),y=m.useRef(),$=s.statements.length===0,k=()=>T.transactionItemHeightResponsive.value(i),S=({index:a,style:n})=>{const l=s.statements[a];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:R(a,s.statements.length)},l.id)}):t.jsx(L,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(H,{children:h.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(z,{title:h.title,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(P,{children:({height:a,width:n})=>t.jsx(V,{ref:f,height:a,width:n,innerRef:y,itemKey:l=>l,itemCount:s.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,p=o.div`
1
+ import{u as j,e as v,j as t,aX as z,B as C,aj as P,o as r,g as c,b_ as B,C as I,q as d,s as M}from"./index-H65M8kUw.js";import{b as m,n as o}from"./vendor-rkTZJa59.js";import{$ as R}from"./BoxItem-sBvV-njQ-C8Sj46hv.js";import{o as T}from"./commonDimensions-DihO1hm6-B2pqjT-C.js";import{M as E}from"./StatementItem--AHGDiMN-DQ6vGaR2.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-DVRwZL_W-BzPjgh6y.js";const h=C.getLocalizedStrings().spendManagement.treasury.statements,x={listItemMargin:new I(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:u,downloadEndPoint:w,statementListView:s,onBackClick:g})=>{const b=j(),i=v(),f=m.createRef(),y=m.useRef(),$=s.statements.length===0,k=()=>T.transactionItemHeightResponsive.value(i),S=({index:a,style:n})=>{const l=s.statements[a];return $===!1?t.jsx(p,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(E,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:u,downloadEndPoint:w,documentType:"treasuryStatement",boxType:R(a,s.statements.length)},l.id)}):t.jsx(L,{style:{...n},children:t.jsx(N,{children:t.jsx(p,{windowSize:i,children:t.jsx(H,{children:h.noStatements})})})})};return t.jsxs(A,{children:[t.jsx(z,{title:h.title,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(P,{children:({height:a,width:n})=>t.jsx(V,{ref:f,height:a,width:n,innerRef:y,itemKey:l=>l,itemCount:s.statements.length,itemSize:k,initialScrollOffset:0,children:S})})})]})},L=o.div``,p=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{u as S,e as v,j as t,aX as L,B as z,aj as C,o as r,g as c,b_ as P,C as T,q as d,s as B}from"./index-BLQaqS_c.js";import{b as h,n as o}from"./vendor-rkTZJa59.js";import{$ as I}from"./BoxItem-DWDWpna--D2cYla4w.js";import{o as M}from"./commonDimensions-B699Wk8x-BD0z4FRG.js";import{M as R}from"./StatementItem-BI3QeS8f-DfvDNicK.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-C14EZOKs-CM7WRUOa.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new T(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:g})=>{const b=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>M.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(R,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:I(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(H,{children:p.noTaxLetter})})})})};return t.jsxs(A,{children:[t.jsx(L,{title:p.title,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},E=o.div``,m=o.div`
1
+ import{u as S,e as v,j as t,aX as L,B as z,aj as C,o as r,g as c,b_ as P,C as T,q as d,s as B}from"./index-H65M8kUw.js";import{b as h,n as o}from"./vendor-rkTZJa59.js";import{$ as I}from"./BoxItem-sBvV-njQ-C8Sj46hv.js";import{o as M}from"./commonDimensions-DihO1hm6-B2pqjT-C.js";import{M as R}from"./StatementItem--AHGDiMN-DQ6vGaR2.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./downloadPdf-DVRwZL_W-BzPjgh6y.js";const p=z.getLocalizedStrings().spendManagement.treasury.taxLetter,x={listItemMargin:new T(d[3],d[8])},ee=({currentTenantCompanyName:e,authParams:w,downloadEndPoint:u,taxLetterListView:a,onBackClick:g})=>{const b=S(),i=v(),f=h.createRef(),y=h.useRef(),$=a.taxLetters.length===0,k=()=>M.transactionItemHeightResponsive.value(i),j=({index:s,style:n})=>{const l=a.taxLetters[s];return $===!1?t.jsx(m,{windowSize:i,style:{...n,width:`calc(100% - 2*${x.listItemMargin.valuePx(i)})`},children:t.jsx(R,{currentTenantCompanyName:e,accountLast4:"",data:l,authParams:w,downloadEndPoint:u,documentType:"taxLetter",boxType:I(s,a.taxLetters.length)},l.id)}):t.jsx(E,{style:{...n},children:t.jsx(N,{children:t.jsx(m,{windowSize:i,children:t.jsx(H,{children:p.noTaxLetter})})})})};return t.jsxs(A,{children:[t.jsx(L,{title:p.title,backgroundColor:b.colors.grey4,style:{zIndex:3},onBackClick:g,source:"treasury"}),t.jsx(K,{windowSize:i,children:t.jsx(C,{children:({height:s,width:n})=>t.jsx(V,{ref:f,height:s,width:n,innerRef:y,itemKey:l=>l,itemCount:a.taxLetters.length,itemSize:k,initialScrollOffset:0,children:j})})})]})},E=o.div``,m=o.div`
2
2
  margin: ${e=>`${r.sp0} ${x.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{e as ge,O as $t,j as o,$ as P,gU as bt,B as xe,a0 as W,K as Ee,m as Ze,a4 as et,o as t,C as f,a3 as De,T as St,am as vt,u as jt,a2 as J,bB as At,cV as tt,J as R,l as z,g1 as kt,g as S,r as Tt,y as ot,w as G,s as X,f1 as Pt,a as Ct,ca as zt,F as Dt,fJ as Lt,q as c,bv as rt,d1 as nt,bO as it,cG as Ft,cx as Mt,fd as Rt,f5 as Bt,x as Ot,k as It,f6 as Nt,ds as Et,c3 as _t,c2 as Vt,aR as Wt,be as Gt,ff as Xt,fo as Yt,ab as qt}from"./index-BLQaqS_c.js";import{n as r,b as x}from"./vendor-rkTZJa59.js";import{V as at}from"./PortfolioDetails-BntkZVUn-CKJbqtbE.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./treasuryColorHelper-Dnd6iR54-Cgts7fBG.js";const Jt=xe.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Ut=1e3;function Kt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Ot().analytics,[l,m]=x.useState(a);x.useEffect(()=>{m(a)},[a]);const w=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(to,{sliderValue:l,children:[o.jsx(eo,{sliderValue:l,type:"range",min:F[0],max:F[F.length-1],step:Ut,value:l,onChange:w}),o.jsx(oo,{style:{width:`${Math.min(l/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(ao,{sliderValue:l,style:{left:`calc(${Math.min(Math.max(l/F[F.length-1]*100,5),95)}% - 50px)`},children:Qt(l)}),o.jsx(ro,{children:F.map((h,i)=>o.jsx(no,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Ht(i)},children:o.jsx(io,{isSelected:l>=h,children:Zt(h)})},h))})]})}const Qt=e=>{const a=qt("0,0.[00]a",e,"$").toUpperCase();return`${Jt.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Ht=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},Zt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),eo=r.input`
1
+ import{e as ge,O as $t,j as o,$ as P,gU as bt,B as xe,a0 as W,K as Ee,m as Ze,a4 as et,o as t,C as f,a3 as De,T as St,am as vt,u as jt,a2 as J,bB as At,cV as tt,J as R,l as z,g1 as kt,g as S,r as Tt,y as ot,w as G,s as X,f1 as Pt,a as Ct,ca as zt,F as Dt,fJ as Lt,q as c,bv as rt,d1 as nt,bO as it,cG as Ft,cx as Mt,fd as Rt,f5 as Bt,x as Ot,k as It,f6 as Nt,ds as Et,c3 as _t,c2 as Vt,aR as Wt,be as Gt,ff as Xt,fo as Yt,ab as qt}from"./index-H65M8kUw.js";import{n as r,b as x}from"./vendor-rkTZJa59.js";import{V as at}from"./PortfolioDetails-ChJvqnSe-ew_TZWFQ.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./treasuryColorHelper-HS8TxPMS-C3HaZj4J.js";const Jt=xe.getLocalizedStrings().spendManagement.treasury,F=[0,125e4,25e5,35e5,5e6],Ut=1e3;function Kt({interestRate:e=4.35,transferAmount:a,setYieldEarned:u,setTransferAmount:n}){const d=Ot().analytics,[l,m]=x.useState(a);x.useEffect(()=>{m(a)},[a]);const w=h=>{const i=parseFloat(h.target.value),$=he(i,e);m(i),u($),n(i),d.trackTreasuryCalculatorClick("fund transfer",i)},v=h=>{const i=he(h,e);m(h),n(h),u(i),d.trackTreasuryCalculatorClick("fund transfer",h)};return o.jsxs(to,{sliderValue:l,children:[o.jsx(eo,{sliderValue:l,type:"range",min:F[0],max:F[F.length-1],step:Ut,value:l,onChange:w}),o.jsx(oo,{style:{width:`${Math.min(l/F[F.length-1]*92.5,92.5)}%`}}),o.jsx(ao,{sliderValue:l,style:{left:`calc(${Math.min(Math.max(l/F[F.length-1]*100,5),95)}% - 50px)`},children:Qt(l)}),o.jsx(ro,{children:F.map((h,i)=>o.jsx(no,{onClick:()=>v(h),"data-testid":P("slider-label",h.toString()),style:{left:Ht(i)},children:o.jsx(io,{isSelected:l>=h,children:Zt(h)})},h))})]})}const Qt=e=>{const a=qt("0,0.[00]a",e,"$").toUpperCase();return`${Jt.transferDrawer.calculator.sliderTooltipText} ${a}`};function he(e,a){const u=a/100,n=e*Math.pow(1+u/12,12);return Math.floor(n-e)}const Ht=e=>{switch(e){case 0:return"3%";case 1:return"28%";case 2:return"50.2%";case 3:return"74.5%";case 4:return"98%";default:return"100%"}},Zt=e=>Intl.NumberFormat("en",{notation:"compact",maximumFractionDigits:2}).format(e),eo=r.input`
2
2
  width: 100%;
3
3
  &[type="range"]::-webkit-slider-runnable-track {
4
4
  height: 2px;
@@ -1,4 +1,4 @@
1
- import{B as $,j as s,l as u,u as B,$ as Y,aj as Z,b7 as z,b8 as F,aw as P,v as k,av as R,ab as O,b9 as q,ax as _,bb as G,o as L,g as K,s as N}from"./index-BLQaqS_c.js";import{b as v,f as Q,n as w}from"./vendor-rkTZJa59.js";import{d as V,g as T,p as D,u as W}from"./chartTypes-BilrAjHG-C5LahPIZ.js";import{o as X}from"./toCOABalancesWithID-D9-l2_mb-Dr30YdC0.js";import{V as H}from"./toChartData-DLSag8k1-ClptSdLt.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const I=w.div`
1
+ import{B as $,j as s,l as u,u as B,$ as Y,aj as Z,b7 as z,b8 as F,aw as P,v as k,av as R,ab as O,b9 as q,ax as _,bb as G,o as L,g as K,s as N}from"./index-H65M8kUw.js";import{b as v,f as Q,n as w}from"./vendor-rkTZJa59.js";import{d as V,g as T,p as D,u as W}from"./chartTypes-CcxHG70c-6RIDkj1k.js";import{o as X}from"./toCOABalancesWithID-CAuCqaiC-TO5zFNjo.js";import{V as H}from"./toChartData-BqYenMLa-BRSfFGkF.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const I=w.div`
2
2
  display: flex;
3
3
  `,J=w.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{e as D,j as i,m as R,o as t,B as F,C as c,$ as S,aj as q,am as Y,c7 as E,q as a,s as K,a3 as V}from"./index-BLQaqS_c.js";import{b as k,n}from"./vendor-rkTZJa59.js";import W from"./TrendChart-CuzDp7uD-wy3vuBZH.js";import{C as _}from"./NoDataChart-BpXztt8w-iCzsfFqH.js";import{B as Q}from"./InsightsSection-tLAgCQfS-D9fZ5_CP.js";import{f as X}from"./TransactionList-EZh96kjx-DOeoS1jc.js";const Z=n.div`
1
+ import{e as D,j as i,m as R,o as t,B as F,C as c,$ as S,aj as q,am as Y,c7 as E,q as a,s as K,a3 as V}from"./index-H65M8kUw.js";import{b as k,n}from"./vendor-rkTZJa59.js";import W from"./TrendChart-DgszF2m_-COQfjibh.js";import{C as _}from"./NoDataChart-CYcz93UF-jvTiwlU0.js";import{B as Q}from"./InsightsSection-BSWX8_jF-BBrD5tML.js";import{f as X}from"./TransactionList-59giJdUf-C4UChFvS.js";const Z=n.div`
2
2
  display: inline-block;
3
3
  `,G=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{u as ce,e as se,Y as Ke,a2 as en,g9 as R,hb as J,B as H,a as nn,hc as tn,hd as Te,ca as on,j as t,aX as cn,bV as sn,bX as ln,bY as an,F as rn,l as U,he as dn,m as un,hf as Z,hg as pn,a4 as mn,hh as Ve,C as u,s as gn,o as l,cn as fe,a8 as W,ge as oe,hi as ie,q as d,J as Ae,g as $e,fD as _e,w as Se,aC as xn}from"./index-BLQaqS_c.js";import{b as X,n as s}from"./vendor-rkTZJa59.js";import{D as hn}from"./HelpButton-Deu41-qI-DvSY4HR1.js";import{h as wn}from"./VendorsAccountsSection-C3rimjf3-CPvuVcU0.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-69pWIeUs-DaoErZbb.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(d[6],d[7]),iconContainerMarginRight:new u(12,d[3]),iconPadding:new u(10,12),rowGap:new u(d[2],d[3]),elementsMarginLeftRight:new u(d[3],d[4])},qe={title:new Ae("standardMedium","largeMedium")},bn=s.div`
1
+ import{u as ce,e as se,Y as Ke,a2 as en,g9 as R,hb as J,B as H,a as nn,hc as tn,hd as Te,ca as on,j as t,aX as cn,bV as sn,bX as ln,bY as an,F as rn,l as U,he as dn,m as un,hf as Z,hg as pn,a4 as mn,hh as Ve,C as u,s as gn,o as l,cn as fe,a8 as W,ge as oe,hi as ie,q as d,J as Ae,g as $e,fD as _e,w as Se,aC as xn}from"./index-H65M8kUw.js";import{b as X,n as s}from"./vendor-rkTZJa59.js";import{D as hn}from"./HelpButton-DFCkvYzx-BqvnZiPu.js";import{h as wn}from"./VendorsAccountsSection-DkHXlqM9-Bn8DmqlL.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./MeetingCalenderPopup-p5EOWukC-zpObwsoM.js";const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(d[6],d[7]),iconContainerMarginRight:new u(12,d[3]),iconPadding:new u(10,12),rowGap:new u(d[2],d[3]),elementsMarginLeftRight:new u(d[3],d[4])},qe={title:new Ae("standardMedium","largeMedium")},bn=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{a2 as b,j as t,hk as R,hl as _,e as F,B as O,bV as U,c as C,bX as N,bY as z,a as H,F as M,cj as G,l as T,cf as D,C as g,cg as K,g as A,p as J,m as X,K as Y,o as i,s as Q,q as B,r as Z,ap as ee}from"./index-BLQaqS_c.js";import{b as c,n as f}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(B[3],B[2]),width:new g(300,420,420)},te=f.div`
1
+ import{a2 as b,j as t,hk as R,hl as _,e as F,B as O,bV as U,c as C,bX as N,bY as z,a as H,F as M,cj as G,l as T,cf as D,C as g,cg as K,g as A,p as J,m as X,K as Y,o as i,s as Q,q as B,r as Z,ap as ee}from"./index-H65M8kUw.js";import{b as c,n as f}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(B[3],B[2]),width:new g(300,420,420)},te=f.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{a as M,fg as x,a2 as U,l as q,e as A,B as W,j as i,ca as _,F as G,$ as Q,fh as H,o as a,g as J,ck as K,a4 as X,C as y,a3 as Y,c7 as Z,ap as ee,ao as te,q as c}from"./index-BLQaqS_c.js";import{b as m,n as l}from"./vendor-rkTZJa59.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:f,onClose:$,onEditFileName:I,onDeleteFile:v,updateFilesEntity:D,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=M({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,S]=m.useState(!1),[N,B]=m.useState(!1),b=U(f.fetchState),j=t?.deleteFileStatusById??{},O=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=q.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,f,n,t?.additionalFiles]);const r=A(),h=W.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,k=n.handleSubmit(()=>{L.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),R=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),S(!0)):S(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&_(()=>R(d,p))});return()=>{o.unsubscribe()}}),i.jsx(G,{...n,children:i.jsxs("form",{id:u,onSubmit:k,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":Q("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(H,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:K,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${J.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:O,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:I,onDeleteFile:v,updateFilesEntity:D,onFileSizeError:o=>B(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(X,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
1
+ import{a as M,fg as x,a2 as U,l as q,e as A,B as W,j as i,ca as _,F as G,$ as Q,fh as H,o as a,g as J,ck as K,a4 as X,C as y,a3 as Y,c7 as Z,ap as ee,ao as te,q as c}from"./index-H65M8kUw.js";import{b as m,n as l}from"./vendor-rkTZJa59.js";const F={marginRight:new y(c[3],c[8]),marginLeft:new y(c[3],c[8]),height:new y(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function ue(e){const{filesEndPoint:w,authParams:E,companyOfficer:t,updateStatus:f,onClose:$,onEditFileName:I,onDeleteFile:v,updateFilesEntity:D,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=M({mode:"all",reValidateMode:"onChange",defaultValues:m.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[z,S]=m.useState(!1),[N,B]=m.useState(!1),b=U(f.fetchState),j=t?.deleteFileStatusById??{},O=t?.updateFileStatusById??{},T=Object.values(j??{}).filter(o=>o!=null),L=q.reduceAllFetchState(T);m.useEffect(()=>{b==="In-Progress"&&f.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:x(!0,t?.additionalFiles??[],s)}})},[b,f,n,t?.additionalFiles]);const r=A(),h=W.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=h,V=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,k=n.handleSubmit(()=>{L.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),R=async(o,p)=>{const d=p[u].front;o.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),S(!0)):S(!1)};return m.useEffect(()=>{const o=n.watch((p,{name:d})=>{d!=null&&p!=null&&_(()=>R(d,p))});return()=>{o.unsubscribe()}}),i.jsx(G,{...n,children:i.jsxs("form",{id:u,onSubmit:k,children:[i.jsxs(re,{size:r,children:[i.jsx(oe,{size:r,children:i.jsx(ne,{size:r,onClick:$,"data-testid":Q("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(le,{children:i.jsx(se,{children:V})}),i.jsx(H,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:K,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${J.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:x(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:j,updateFileStatusById:O,filesEndPoint:w,authParams:E,hasError:N,onEditFileName:I,onDeleteFile:v,updateFilesEntity:D,onFileSizeError:o=>B(o),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),z?i.jsx(X,{formId:u,primaryBtn:{label:h.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:f.fetchState==="In-Progress"},cancelBtn:{label:h.cancel,style:{width:r==="small"?"auto":"181px"},onClick:$},style:{position:"absolute",width:"100%"}}):null]})})}const ie=l(Z)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{a2 as o,B as k,j as i,hk as v,hl as y}from"./index-BLQaqS_c.js";import{b as e}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const B=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),E=k.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(v,{showHelperText:!n,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(y,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{B as default};
1
+ import{a2 as o,B as k,j as i,hk as v,hl as y}from"./index-H65M8kUw.js";import{b as e}from"./vendor-rkTZJa59.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const B=({vendorViewDetails:S,isExpressPayPage:n,onSaveVendor:l,onGetOtp:h,onResendOtp:d,onVerifyOtp:m,onVerifyOtpSuccess:c})=>{const{loggedInUserVerification:t,editVendorState:g,newVendorState:V}=S,r=Object.assign({},g??V),[C,s]=e.useState(!1),[O,a]=e.useState(t.initiateVerification===!0),p=o(r?.saveStatus?.fetchState),x=o(t.userVerificationStatus.fetchState),f=o(t.otpVerificationStatus?.fetchState),u=o(t.sendOtpStatus.fetchState),E=k.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return e.useEffect(()=>{p==="In-Progress"&&r?.saveStatus?.fetchState==="Error"&&t.initiateVerification===!0&&a(!0)},[r,t,p]),e.useEffect(()=>{x==="In-Progress"&&t.userVerificationStatus.fetchState==="Completed"&&(s(!1),l())},[t.userVerificationStatus]),e.useEffect(()=>{f==="In-Progress"&&t.otpVerificationStatus?.fetchState==="Completed"&&c?.(t.userId??"",t.phone??"",t.otpChallenge??"")},[f,t,c]),e.useEffect(()=>{u==="In-Progress"&&t.sendOtpStatus.fetchState==="Completed"&&(s(!0),a(!1))},[u,t.sendOtpStatus.fetchState]),i.jsx(i.Fragment,{children:C===!0?i.jsx(v,{showHelperText:!n,verifyOtpFetchState:t.otpVerificationStatus.fetchState,phoneNumber:t.phone??"",otpChallenge:t.otpChallenge,action:{onVerifyClick:m,onCancelClick:()=>s(!1),onResendOtp:d,onEditButtonClick:()=>{a(!0),s(!1)}}}):O===!0?i.jsx(y,{showHelperText:!n,phoneNumber:t.phone??"",sendOtpFetchState:t.sendOtpStatus.fetchState,description:n?E:void 0,action:{onCancelClick:()=>a(!1),onGetCodeClick:P=>h?.(P)}}):null})};export{B as default};
@@ -1 +1 @@
1
- import{j as u}from"./index-BLQaqS_c.js";import{b as d}from"./vendor-rkTZJa59.js";import{f as k}from"./ACHDetailsPage-CewoCaPp-CT46HXFD.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountWarningSection-fV2PcWJ1-DcwDUiS-.js";import"./MagicLinkTitleSection-DuepEVwF-tv4-flMI.js";import"./BankAccountSection-Cip0emaB-3CubpYBV.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
1
+ import{j as u}from"./index-H65M8kUw.js";import{b as d}from"./vendor-rkTZJa59.js";import{f as k}from"./ACHDetailsPage-L2DbWHeB-ClPCdt3t.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountWarningSection-HSVR9hlO-FwmZ-JqM.js";import"./MagicLinkTitleSection-DU6LgoX_-SF5iErU3.js";import"./BankAccountSection-B0xnTvSs-DBwtu6_1.js";const R=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:c,bankAccountToCreate:m,fetchBankNameByRoutingStatus:p}=t;return d.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),u.jsx(k,{bankAccountToCreate:m,bankAccountCreationState:o,bankNameByRouting:c,fetchBankNameByRoutingStatus:p,isDisabled:n,onSaveHandler:r,onACHDetailsUpdated:i,onBackClick:a,onFetchBankName:s})};export{R as default};
@@ -1,4 +1,4 @@
1
- import{B as N,u as Re,e as ne,C as g,O as fe,l as se,cc as xt,a as yt,gA as Ae,gB as Be,gC as Ee,gD as be,gE as ft,a8 as bt,ca as wt,j as t,aX as Ct,F as $t,gF as St,gG as ue,q as l,cb as Dt,a4 as jt,o,bh as S,cn as Lt,ge as we,gH as Tt,cd as Vt,ce as kt,cf as Ot,gI as It,fK as Pt,cl as Ft,gJ as zt,gK as Mt,g as M,dr as Nt,dq as _t,cz as Wt,ab as de,am as Ue,w as qe,ds as Ht,af as Rt,gL as At,gM as Bt,s as Et,gN as Ut,bO as Ye,gO as qt,J as Ce,y as Je}from"./index-BLQaqS_c.js";import{b as $,n as a,j as Yt}from"./vendor-rkTZJa59.js";import{k as Jt}from"./SubTabSwitcher-hVNHd9C4-P-cq5U1j.js";import{f as Gt}from"./TransactionList-EZh96kjx-DOeoS1jc.js";import{R as Kt}from"./TrendWithTransactions-Cmk48Jqj-B0R44vJu.js";import{o as Qt,t as Xt}from"./arrow-south-east-round-PEovUgvH-D6oVD1ix.js";import{C as Zt}from"./LabeledAddressValueField-D0ApugQ2-Ban9Cygt.js";import{Y as es}from"./LabeledDropDownFormattedTextField-CXuWTmZ2-B_9VzHsr.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BoxItem-DWDWpna--D2cYla4w.js";import"./commonDimensions-B699Wk8x-BD0z4FRG.js";import"./TrendChart-CuzDp7uD-wy3vuBZH.js";import"./chartTypes-BilrAjHG-C5LahPIZ.js";import"./toCOABalancesWithID-D9-l2_mb-Dr30YdC0.js";import"./toChartData-DLSag8k1-ClptSdLt.js";import"./NoDataChart-BpXztt8w-iCzsfFqH.js";import"./InsightsSection-tLAgCQfS-D9fZ5_CP.js";import"./NavigationDots-D0aavCTX-CH9Zqjf3.js";const ts=a.div`
1
+ import{B as N,u as Re,e as ne,C as g,O as fe,l as se,cc as xt,a as yt,gA as Ae,gB as Be,gC as Ee,gD as be,gE as ft,a8 as bt,ca as wt,j as t,aX as Ct,F as $t,gF as St,gG as ue,q as l,cb as Dt,a4 as jt,o,bh as S,cn as Lt,ge as we,gH as Tt,cd as Vt,ce as kt,cf as Ot,gI as It,fK as Pt,cl as Ft,gJ as zt,gK as Mt,g as M,dr as Nt,dq as _t,cz as Wt,ab as de,am as Ue,w as qe,ds as Ht,af as Rt,gL as At,gM as Bt,s as Et,gN as Ut,bO as Ye,gO as qt,J as Ce,y as Je}from"./index-H65M8kUw.js";import{b as $,n as a,j as Yt}from"./vendor-rkTZJa59.js";import{k as Jt}from"./SubTabSwitcher-eAfz2-Lc-DcGuafZZ.js";import{f as Gt}from"./TransactionList-59giJdUf-C4UChFvS.js";import{R as Kt}from"./TrendWithTransactions-D6l7QfxS-MGPQ1OUD.js";import{o as Qt,t as Xt}from"./arrow-south-east-round-PEovUgvH-D6oVD1ix.js";import{C as Zt}from"./LabeledAddressValueField-ZzLPPTOt-CEcpWS66.js";import{Y as es}from"./LabeledDropDownFormattedTextField-D6MJpX0M-BRhfU-OX.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BoxItem-sBvV-njQ-C8Sj46hv.js";import"./commonDimensions-DihO1hm6-B2pqjT-C.js";import"./TrendChart-DgszF2m_-COQfjibh.js";import"./chartTypes-CcxHG70c-6RIDkj1k.js";import"./toCOABalancesWithID-CAuCqaiC-TO5zFNjo.js";import"./toChartData-BqYenMLa-BRSfFGkF.js";import"./NoDataChart-CYcz93UF-jvTiwlU0.js";import"./InsightsSection-BSWX8_jF-BBrD5tML.js";import"./NavigationDots-CeLb5VQU-gETgW9ae.js";const ts=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{j as S}from"./index-BLQaqS_c.js";import{b as C}from"./vendor-rkTZJa59.js";import{y as b}from"./DomesticWireDetailsPage-C6Qiwdxz-B5KNssdu.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountSection-Cip0emaB-3CubpYBV.js";import"./MagicLinkTitleSection-DuepEVwF-tv4-flMI.js";import"./BankAccountWarningSection-fV2PcWJ1-DcwDUiS-.js";import"./MailingDetailsSection-BzidTWDc-DB-uG9bH.js";import"./LabeledAddressValueField-D0ApugQ2-Ban9Cygt.js";const V=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{V as default};
1
+ import{j as S}from"./index-H65M8kUw.js";import{b as C}from"./vendor-rkTZJa59.js";import{y as b}from"./DomesticWireDetailsPage-CNUwvH-x-DELRnncB.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountSection-B0xnTvSs-DBwtu6_1.js";import"./MagicLinkTitleSection-DU6LgoX_-SF5iErU3.js";import"./BankAccountWarningSection-HSVR9hlO-FwmZ-JqM.js";import"./MailingDetailsSection-qOmPAUSS-BxoWlb6y.js";import"./LabeledAddressValueField-ZzLPPTOt-CEcpWS66.js";const V=({vendorViewDetails:r,bankAccountContext:t,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onFetchBankName:d,onAddressClick:c})=>{const{bankAccountCreationState:o,editVendorState:m,newVendorState:p,bankNameByRouting:u,bankAccountToCreate:k,fetchBankNameByRoutingStatus:l}=r,e=Object.assign({},m??p);return C.useEffect(()=>{(t==="vendor"&&o?.fetchState==="Completed"||e?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&a()},[o,e?.saveStatus?.fetchState,a,t]),S.jsx(b,{bankAccountToCreate:k,bankAccountCreationState:o,bankNameByRouting:u,addressToEdit:e?.vendorNewAddressStatus?.addressToCreate,mailingAddress:e?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:n,onSaveHandler:s,onWireDetailsUpdated:i,onBackClick:a,onAddressClick:c,onFetchBankName:d})};export{V as default};
@@ -1,4 +1,4 @@
1
- import{e as oe,u as Ne,B as ne,a as ke,cD as U,gP as de,ca as Ae,C as w,j as t,aX as Be,$ as Ee,F as Re,cd as C,o as s,ch as Oe,gI as We,fK as qe,cl as Me,gJ as He,gK as Ke,ct as Ue,a4 as Ge,cv as Ye,cE as Ze,q as c,a3 as Qe,bh as D,c8 as _e,gQ as Je,g as I,eV as Xe,bO as et,s as ce,eE as tt,gR as st,gS as lt,gT as M,cF as it}from"./index-BLQaqS_c.js";import{b as y,n as a}from"./vendor-rkTZJa59.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-CXuWTmZ2-B_9VzHsr.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:h,style:O}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:O,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:h,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:h,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:U(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
1
+ import{e as oe,u as Ne,B as ne,a as ke,cD as U,gP as de,ca as Ae,C as w,j as t,aX as Be,$ as Ee,F as Re,cd as C,o as s,ch as Oe,gI as We,fK as qe,cl as Me,gJ as He,gK as Ke,ct as Ue,a4 as Ge,cv as Ye,cE as Ze,q as c,a3 as Qe,bh as D,c8 as _e,gQ as Je,g as I,eV as Xe,bO as et,s as ce,eE as tt,gR as st,gS as lt,gT as M,cF as it}from"./index-H65M8kUw.js";import{b as y,n as a}from"./vendor-rkTZJa59.js";import{Y as rt}from"./LabeledDropDownFormattedTextField-D6MJpX0M-BRhfU-OX.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const te={largeLabelWidth:new w(160,210,230),paddingBottom:new w(c[3],c[2])},j=(e,i)=>`${e}.${i}`;function at(e){const{loadingState:i}=e;return t.jsx(ot,{...e,isDisabled:e.isDisabled||i==="In-Progress"?"disabled":void 0})}function ot({googleAPIKey:e,addressToEdit:i,sectionId:o,isDisabled:h,style:O}){const E=oe(),u=ne.getLocalizedStrings().companyPassport,p=te.largeLabelWidth.value(E);return t.jsxs(t.Fragment,{children:[t.jsx(se,{type:"hidden",value:"noAutoFill"}),t.jsx(nt,{style:O,children:t.jsxs(dt,{children:[t.jsx(st,{isDisabled:h,label:{label:u.address.street,width:p,showBullet:!0},addressField:{name:j(o,"street"),defaultValue:{addressString:i?.street[0]??"",addressValue:i!=null?de(i):void 0},placeholder:M(u.address.street),registerOptions:{required:!0,validate:v=>v!=null?!!v.addressString:!1},autoComplete:"new-password",googleAPIKey:e,addressFormatter:lt},style:{border:"none",width:"100%",outline:"none"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.suite,width:p,showBullet:!0},style:{wordBreak:"break-word",width:"100%",outline:"none"},text:{type:"text",name:j(o,"suite"),defaultValue:i?.street[1],placeholder:u.address.suitePlaceholder,autoComplete:"new-password"}}),t.jsx(C,{isDisabled:h,label:{label:u.address.city,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"city"),defaultValue:i?.city,placeholder:M(u.address.city),autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.state,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"state"),defaultValue:i?.state,placeholder:M(u.address.state),autoComplete:"new-password",options:{required:!0}}}),t.jsx(se,{readOnly:!0,value:"noAutoFill"}),t.jsx(it,{isDisabled:h,label:{label:u.address.country,width:p,showBullet:!0},style:{width:"100%",outline:"none"},countrySelectField:{name:j(o,"country"),placeholder:u.address.countryPlaceholder,defaultValue:U(i?.country),registerOptions:{validate:v=>!!(v!=null&&v.selectedOption)}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.zipCode,width:p,showBullet:!0},style:{width:"100%",outline:"none"},text:{type:"text",name:j(o,"postalCode"),defaultValue:i?.postalCode,placeholder:u.address.zipCodePlaceHolder,autoComplete:"new-password",options:{required:!0}}}),t.jsx(C,{isDisabled:h,label:{label:u.address.secondaryInfo,width:p,showBullet:!0},style:{paddingBottom:te.paddingBottom.valuePx(E),width:"100%",outline:"none"},text:{type:"text",name:j(o,"secondaryInfo"),defaultValue:i?.street[2],placeholder:u.address.secondaryInfoPlaceholder,autoComplete:"new-password"}})]})})]})}const nt=a.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-left: ${s.sp3};
@@ -1,4 +1,4 @@
1
- import{e as ae,Y as Nn,u as mn,a as nt,hv as Pe,ca as tt,H as On,hw as ie,hx as ve,hy as fe,hz as be,hA as me,B as je,j as n,hr as ot,F as rt,aX as it,b as st,bV as at,bX as lt,bY as dt,bq as ct,$ as Y,bg as mt,bS as pt,aj as ut,dl as ht,b_ as gt,C as w,m as wt,N as Ne,o as t,a7 as In,s as De,a6 as xt,q as c,w as Re,c3 as vt,l as zn,dr as Pn,bh as ze,aB as Tn,c6 as ft,bu as bt,dE as $t,ap as Ye,aP as pn,g as F,az as Dn,fk as St,dh as wn,cz as rn,hB as yt,hC as sn,p as jt,bB as Fe,dO as Rt,et as xn,b6 as Ct,dt as Vt,K as vn,hD as kt,cn as Mt,cv as Nt,cw as Ot,ey as It,k as Ln,hE as zt,b4 as se,hF as fn,gg as Pt,b2 as Tt,aD as Dt,ds as Lt,v as _n,J as _t,eF as At,a9 as dn}from"./index-BLQaqS_c.js";import{b as f,n as o,j as cn}from"./vendor-rkTZJa59.js";import{r as Bt}from"./mui-C42whWwM.js";import{R as Ft}from"./Menu-CcDfUWLP-CMJniPyP.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const An=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Et=o.div`
1
+ import{e as ae,Y as Nn,u as mn,a as nt,hv as Pe,ca as tt,H as On,hw as ie,hx as ve,hy as fe,hz as be,hA as me,B as je,j as n,hr as ot,F as rt,aX as it,b as st,bV as at,bX as lt,bY as dt,bq as ct,$ as Y,bg as mt,bS as pt,aj as ut,dl as ht,b_ as gt,C as w,m as wt,N as Ne,o as t,a7 as In,s as De,a6 as xt,q as c,w as Re,c3 as vt,l as zn,dr as Pn,bh as ze,aB as Tn,c6 as ft,bu as bt,dE as $t,ap as Ye,aP as pn,g as F,az as Dn,fk as St,dh as wn,cz as rn,hB as yt,hC as sn,p as jt,bB as Fe,dO as Rt,et as xn,b6 as Ct,dt as Vt,K as vn,hD as kt,cn as Mt,cv as Nt,cw as Ot,ey as It,k as Ln,hE as zt,b4 as se,hF as fn,gg as Pt,b2 as Tt,aD as Dt,ds as Lt,v as _n,J as _t,eF as At,a9 as dn}from"./index-H65M8kUw.js";import{b as f,n as o,j as cn}from"./vendor-rkTZJa59.js";import{r as Bt}from"./mui-C42whWwM.js";import{R as Ft}from"./Menu-B1CEca0C-r5__lqIT.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";const An=({steps:e})=>{const s=ae();return n.jsx(Ut,{windowSize:s,children:e.map((m,d)=>n.jsxs(Et,{children:[n.jsx(qt,{children:d!==e.length-1?d+1:n.jsx(Ht,{})}),n.jsx(Gt,{children:m}),d<e.length-1?n.jsx(Wt,{}):null]},`step_${d}`))})},Et=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{j as t,e as J,a as he,B as U,ca as ye,O as ge,l as Y,bV as be,bX as fe,bY as xe,F as ve,a4 as we,C as p,cD as le,cE as Ce,o as y,ao as $e,cn as oe,u as ne,cF as De,cG as Z,ct as G,ah as H,cd as je,cH as Te,q as a,cv as Se,$ as ke,g as V,m as Fe,J as Oe,bB as Ae,w as Le,b6 as We}from"./index-BLQaqS_c.js";import{b as R,n as g}from"./vendor-rkTZJa59.js";import{W as ze,A as Ie}from"./BankAccountWarningSection-fV2PcWJ1-DcwDUiS-.js";import{T as Re}from"./MailingDetailsSection-BzidTWDc-DB-uG9bH.js";import{S as Pe}from"./CurrencySelectField-DgJCjCx8-B2oMSate.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./LabeledAddressValueField-D0ApugQ2-Ban9Cygt.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:j,showAdditionalInfoLabel:k=!0}){const C=J(),{formState:{errors:b}}=oe(),$=ne(),D=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&j||D){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":ke("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)}}),D?t.jsx(Be,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const _e=g.div`
1
+ import{j as t,e as J,a as he,B as U,ca as ye,O as ge,l as Y,bV as be,bX as fe,bY as xe,F as ve,a4 as we,C as p,cD as le,cE as Ce,o as y,ao as $e,cn as oe,u as ne,cF as De,cG as Z,ct as G,ah as H,cd as je,cH as Te,q as a,cv as Se,$ as ke,g as V,m as Fe,J as Oe,bB as Ae,w as Le,b6 as We}from"./index-H65M8kUw.js";import{b as R,n as g}from"./vendor-rkTZJa59.js";import{W as ze,A as Ie}from"./BankAccountWarningSection-HSVR9hlO-FwmZ-JqM.js";import{T as Re}from"./MailingDetailsSection-qOmPAUSS-BxoWlb6y.js";import{S as Pe}from"./CurrencySelectField-zveSgwTU-IrKdmw1Q.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./LabeledAddressValueField-ZzLPPTOt-CEcpWS66.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:j,showAdditionalInfoLabel:k=!0}){const C=J(),{formState:{errors:b}}=oe(),$=ne(),D=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&j||D){let c=null;return o===!0&&k&&w&&(c=t.jsx(Ae,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(_e,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":ke("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)}}),D?t.jsx(Be,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const _e=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1 +1 @@
1
- import{j as l}from"./index-BLQaqS_c.js";import{b as B}from"./vendor-rkTZJa59.js";import{f as u}from"./InternationalWireSwiftDetailsPage-CUoPzQIv-CD0QsOMP.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountWarningSection-fV2PcWJ1-DcwDUiS-.js";import"./MailingDetailsSection-BzidTWDc-DB-uG9bH.js";import"./LabeledAddressValueField-D0ApugQ2-Ban9Cygt.js";import"./MagicLinkTitleSection-DuepEVwF-tv4-flMI.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-H65M8kUw.js";import{b as B}from"./vendor-rkTZJa59.js";import{f as u}from"./InternationalWireSwiftDetailsPage-5BaIQVWk-Ch62ubQL.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./BankAccountWarningSection-HSVR9hlO-FwmZ-JqM.js";import"./MailingDetailsSection-qOmPAUSS-BxoWlb6y.js";import"./LabeledAddressValueField-ZzLPPTOt-CEcpWS66.js";import"./MagicLinkTitleSection-DU6LgoX_-SF5iErU3.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{e as ie,u as oe,B as te,C as c,g9 as w,a8 as k,j as i,hj as g,hi as m,o as n,J as re,g as ne,dy as se,w as le,q as a}from"./index-BLQaqS_c.js";import{n as l}from"./vendor-rkTZJa59.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},T={title:new re("standardMedium","largeMedium")},de=l.div`
1
+ import{e as ie,u as oe,B as te,C as c,g9 as w,a8 as k,j as i,hj as g,hi as m,o as n,J as re,g as ne,dy as se,w as le,q as a}from"./index-H65M8kUw.js";import{n as l}from"./vendor-rkTZJa59.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},T={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{a2 as z,a as B,B as O,j as t,bo as K,b as d,l as q,F as H,bp as U,o,w as y,K as D,bq as W,s as N,br as X,bs as k,g as $,ap as b,bt as Y}from"./index-BLQaqS_c.js";import{b as c,n as r}from"./vendor-rkTZJa59.js";import{AccountLockedInfo as Z}from"./AccountLockedInfoModal-YmpBWIqf-C-FSdJ0f.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./handshake-BPg58FML-CVKh3Eii.js";const G=e=>{if(!e)return"";try{const i=X(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const f=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${f}`}return k(e)||e}const p=i.countryCallingCode,x=i.nationalNumber.slice(-4);return`+${p} (•••) ••• ${x}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const p=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${p}`}return k(e)||e}},I=120,C=30,F=2,J="456px",Q="256px",V=6,n=O.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Fe=e=>{const i=e.verifyOtpFetchState==="In-Progress",[p,x]=c.useState(!1),[l,f]=c.useState(!1),[g,P]=c.useState(0),[v,w]=c.useState(I),[h,S]=c.useState(C),E=z(e.verifyOtpFetchState),u=B({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),j=u.watch(m),_=()=>{e.onCancelVerifyDevice()},R=()=>{j.trim().length===V&&e.onVerifyOtp(j)},T=n.footerHelperText.replace(/<button_text>/,n.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(x(!0),P(s=>s+1),u.setValue(m,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){f(!0);return}const s=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[v]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[h]);const M=s=>{const a=Math.floor(s/60),A=s%60;return`${a}:${A.toString().padStart(2,"0")}`};return t.jsx(K,{open:!0,children:t.jsxs(ee,{children:[t.jsx(d,{controller:g>F,children:t.jsx(Z,{unlockDate:q.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),t.jsx(d,{controller:g<=F,children:t.jsx(H,{...u,children:t.jsxs(ue,{children:[t.jsxs(he,{children:[t.jsx(te,{children:n.verifyDeviceTitle}),t.jsx(re,{children:n.verifyDeviceDescription}),t.jsx(oe,{children:G(e.phoneNumber+"")})]}),t.jsxs(ne,{children:[t.jsx(U,{value:j,valueLength:6,hasError:l===!0||p===!0,style:{margin:o.sp0},onChange:s=>{u.setValue(m,s),x(!1)}}),t.jsx(d,{controller:l===!1,children:t.jsx(L,{children:t.jsxs(me,{children:[n.codeExpiresIn," ",M(v)]})})}),t.jsx(d,{controller:l===!0,children:t.jsx(L,{children:t.jsx(fe,{children:n.codeExpired})})})]}),p===!0&&l===!1?t.jsxs(t.Fragment,{children:[t.jsx(d,{controller:g>=1,children:t.jsx(se,{children:n.incorrectCode})}),t.jsx(d,{controller:g===2,children:t.jsx(ge,{children:t.jsxs(y,{children:[t.jsx(je,{}),n.accountLockWarning]})})})]}):null,t.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="ERR_OTP_RESEND_LIMIT_EXCEEDED",children:t.jsxs(ie,{children:[t.jsx(le,{children:n.codeNotReceived}),t.jsx(ae,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),x(!1),f(!1),u.setValue(m,""),w(I),S(C))},children:n.resend}),h>0&&t.jsxs(ce,{children:[O.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),t.jsxs(xe,{children:[t.jsxs(de,{children:[t.jsx(D,{label:n.cancel,onClick:_,style:{width:82}}),t.jsx(D,{variant:"primary",label:n.verify,onClick:R,style:{width:82},loading:i,disabled:j.trim().length!==V||l===!0})]}),t.jsx(pe,{children:T})]})]})})})]})})},ee=r.div`
1
+ import{a2 as z,a as B,B as O,j as t,bo as K,b as d,l as q,F as H,bp as U,o,w as y,K as D,bq as W,s as N,br as X,bs as k,g as $,ap as b,bt as Y}from"./index-H65M8kUw.js";import{b as c,n as r}from"./vendor-rkTZJa59.js";import{AccountLockedInfo as Z}from"./AccountLockedInfoModal-hgMwZrTb-BvUDbEdN.js";import"./mui-C42whWwM.js";import"./analytics-B3n5JGPc.js";import"./routing-VwiwPky5.js";import"./sentry-osuhWjvS.js";import"./redux-2gfZRks6.js";import"./liveblocks-CP09Cz-7.js";import"./crypto-BDNqpTKX.js";import"./handshake-BPg58FML-CVKh3Eii.js";const G=e=>{if(!e)return"";try{const i=X(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const f=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${f}`}return k(e)||e}const p=i.countryCallingCode,x=i.nationalNumber.slice(-4);return`+${p} (•••) ••• ${x}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const p=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${p}`}return k(e)||e}},I=120,C=30,F=2,J="456px",Q="256px",V=6,n=O.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Fe=e=>{const i=e.verifyOtpFetchState==="In-Progress",[p,x]=c.useState(!1),[l,f]=c.useState(!1),[g,P]=c.useState(0),[v,w]=c.useState(I),[h,S]=c.useState(C),E=z(e.verifyOtpFetchState),u=B({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),j=u.watch(m),_=()=>{e.onCancelVerifyDevice()},R=()=>{j.trim().length===V&&e.onVerifyOtp(j)},T=n.footerHelperText.replace(/<button_text>/,n.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(x(!0),P(s=>s+1),u.setValue(m,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(v<=0){f(!0);return}const s=setInterval(()=>{w(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[v]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{S(a=>a<=1?0:a-1)},1e3);return()=>clearInterval(s)},[h]);const M=s=>{const a=Math.floor(s/60),A=s%60;return`${a}:${A.toString().padStart(2,"0")}`};return t.jsx(K,{open:!0,children:t.jsxs(ee,{children:[t.jsx(d,{controller:g>F,children:t.jsx(Z,{unlockDate:q.dateNow().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),t.jsx(d,{controller:g<=F,children:t.jsx(H,{...u,children:t.jsxs(ue,{children:[t.jsxs(he,{children:[t.jsx(te,{children:n.verifyDeviceTitle}),t.jsx(re,{children:n.verifyDeviceDescription}),t.jsx(oe,{children:G(e.phoneNumber+"")})]}),t.jsxs(ne,{children:[t.jsx(U,{value:j,valueLength:6,hasError:l===!0||p===!0,style:{margin:o.sp0},onChange:s=>{u.setValue(m,s),x(!1)}}),t.jsx(d,{controller:l===!1,children:t.jsx(L,{children:t.jsxs(me,{children:[n.codeExpiresIn," ",M(v)]})})}),t.jsx(d,{controller:l===!0,children:t.jsx(L,{children:t.jsx(fe,{children:n.codeExpired})})})]}),p===!0&&l===!1?t.jsxs(t.Fragment,{children:[t.jsx(d,{controller:g>=1,children:t.jsx(se,{children:n.incorrectCode})}),t.jsx(d,{controller:g===2,children:t.jsx(ge,{children:t.jsxs(y,{children:[t.jsx(je,{}),n.accountLockWarning]})})})]}):null,t.jsx(d,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="ERR_OTP_RESEND_LIMIT_EXCEEDED",children:t.jsxs(ie,{children:[t.jsx(le,{children:n.codeNotReceived}),t.jsx(ae,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),x(!1),f(!1),u.setValue(m,""),w(I),S(C))},children:n.resend}),h>0&&t.jsxs(ce,{children:[O.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),t.jsxs(xe,{children:[t.jsxs(de,{children:[t.jsx(D,{label:n.cancel,onClick:_,style:{width:82}}),t.jsx(D,{variant:"primary",label:n.verify,onClick:R,style:{width:82},loading:i,disabled:j.trim().length!==V||l===!0})]}),t.jsx(pe,{children:T})]})]})})})]})})},ee=r.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${Q};