@zeniai/web-app-ui 4.14.29-dev → 4.14.30-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 (386) hide show
  1. package/dist/assets/ACHDetailsPage-CQdbfxHV-BW88pIYa.js +21 -0
  2. package/dist/assets/{AIPerformancePage-BCxF5hNI-DwsSzcsx.js → AIPerformancePage-jyNXVGMj-Bs4Wcfnt.js} +13 -13
  3. package/dist/assets/AccountInfoPage-CiPtog_o-B4btRIXv.js +18 -0
  4. package/dist/assets/AccountInfoPageContent-Bj0kaRHv-CjMeZGo_.js +149 -0
  5. package/dist/assets/{AccountLockedInfoModal-CKODwo_y-D1V0TVL_.js → AccountLockedInfoModal-EbQpyRJx-DeA2eRRt.js} +3 -3
  6. package/dist/assets/{AccountReconDetailsDrawerPage-B2m7w0mL-C5Y15orT.js → AccountReconDetailsDrawerPage-CK1QV13E-BSUxm7rf.js} +3 -3
  7. package/dist/assets/{AccountRow-G9Hw9KCo-CT1w9ZhF.js → AccountRow-B3Sz6a-V-GlNhkavB.js} +7 -7
  8. package/dist/assets/{AccountsPromoCardStack-C1-hQWvB-BQ8MpMFD.js → AccountsPromoCardStack-DJtz56-u-D5uyYQuY.js} +6 -6
  9. package/dist/assets/AddAddressForCardDrawer-BDtxj9h6-Xx-rQDHp.js +6 -0
  10. package/dist/assets/{AddToWalletPage-BLdfTvYw-1DCwK82d.js → AddToWalletPage-Czepun8f-MGSdB8OM.js} +4 -4
  11. package/dist/assets/{AddressRoutes-BQkJFfvp.js → AddressRoutes-CmvRhhab.js} +1 -1
  12. package/dist/assets/{AddressScreen-Dl895CZ9.js → AddressScreen-Cb00RwYZ.js} +2 -2
  13. package/dist/assets/{AgingReportsPage-C6aasTzQ-C63SyJmI.js → AgingReportsPage-DzAVDq_i-BP-WG6Wy.js} +5 -5
  14. package/dist/assets/{AiCfoScreen-IdwAAJXG.js → AiCfoScreen-CZVtCrsQ.js} +2 -2
  15. package/dist/assets/{AllUserItems-CjeF5SWi-CeRsiH4z.js → AllUserItems-BEoRQT-v-9OnCgvS-.js} +4 -4
  16. package/dist/assets/{ApAgingDetailPage-BWtvu1dO-Br56Wlkb.js → ApAgingDetailPage-55JdoIHh-kk28-9yG.js} +8 -8
  17. package/dist/assets/{AppBasePage-MKRsDpmx-DMLcxkrr.js → AppBasePage-CLye29uw-B08L49eb.js} +2 -2
  18. package/dist/assets/{AppDrawerContent-DN2hf6ff-5NhbUBos.js → AppDrawerContent-CDawrmfz-DqagnYqP.js} +6 -6
  19. package/dist/assets/{ApprovalRulesSettingsPage-0XbPzs2a-C8UoHZRv.js → ApprovalRulesSettingsPage-BHUZdWCO-tMTnXaFd.js} +1 -1
  20. package/dist/assets/{ArAgingChart-DSx_E9ZM-RnIrRkZm.js → ArAgingChart-DeL9nNI7-Bj8y0fT6.js} +2 -2
  21. package/dist/assets/{ArAgingDetailPage-C8h1id5v-HwBRgj9f.js → ArAgingDetailPage-CuG65EQs-CXt16x8B.js} +3 -3
  22. package/dist/assets/{AttachmentView-CqKnI6Xt-AOGCu7iZ.js → AttachmentView-C5anq6-B-BkQi2I92.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-CSaW4oJh-DywAYbnn.js → BalancesInsightWithToolTip-1PK_fwhP-BOcx7wZs.js} +6 -6
  24. package/dist/assets/{BankAccountSection-Dhp7GLZA-FNVqovjK.js → BankAccountSection-BUJoSOk8-BG4ByPDH.js} +2 -2
  25. package/dist/assets/BankAccountWarningSection-BQaoV2yQ-BLOJsai8.js +51 -0
  26. package/dist/assets/{BankConnectionsSettingsPage-CDPUFu2k-BBx4P7dZ.js → BankConnectionsSettingsPage-DRDS5xzS-CGYqJS-4.js} +14 -14
  27. package/dist/assets/{BillDetailPage-BWBGE0pg-CYoOWtCP.js → BillDetailPage-CtVVaqTN-BwEQZwAf.js} +4 -4
  28. package/dist/assets/{BillPayApprovalRoutes-BvnC9SqN.js → BillPayApprovalRoutes-DwRul1Fq.js} +1 -1
  29. package/dist/assets/{BillPayApprovalRuleDetailPage-B_XoB7xi-CXJBKdTH.js → BillPayApprovalRuleDetailPage-6GHCsDkX-ClsaXk5H.js} +4 -4
  30. package/dist/assets/{BillPayApprovalRulesPage-5okdFn01-D6fpe4cT.js → BillPayApprovalRulesPage-QKjq-qVP-DTJcefrH.js} +6 -6
  31. package/dist/assets/{BillPayPromoPage-GoR4wxn7-Cd3jtttJ.js → BillPayPromoPage-_n9uoXTN-DW34nsnh.js} +1 -1
  32. package/dist/assets/{BillPayRoutes-DqZf2rOO.js → BillPayRoutes-D22Q6pQL.js} +8 -8
  33. package/dist/assets/{BillPaySetUpPage-CKWIFJ92-Dr75QuFi.js → BillPaySetUpPage-DNYX24VA-DLV9gKNt.js} +6 -6
  34. package/dist/assets/{BillingSettingsPage-AjSQYumd-GqgYiFI4.js → BillingSettingsPage-Btv3yiNs-M_OusRvc.js} +6 -6
  35. package/dist/assets/{BillsBulkReviewDrawerPage-DsNKfhkT-CXzE-Qir.js → BillsBulkReviewDrawerPage-BiLLeGke-Bs5f4SMl.js} +1 -1
  36. package/dist/assets/{BoxItem-BWNurtfc-J9WJ61G4.js → BoxItem-Dqp4SNlI-EUjyx5Zm.js} +1 -1
  37. package/dist/assets/BusinessVerificationPage-_8Wg_S5G-ChiNdD4I.js +138 -0
  38. package/dist/assets/{BusinessVerificationPageScreen-CJ17INUy.js → BusinessVerificationPageScreen-B_00ICvM.js} +2 -2
  39. package/dist/assets/{BusyIndication-H_iNZOWd-BNmJKxof.js → BusyIndication-BZLVwIo8-6s8wSi7T.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-BAWc12F9-CekGLfjU.js → CardNumberSubText-12zyW5qQ-c22fv1fM.js} +8 -8
  41. package/dist/assets/{CashbackDetailPage-BhCHvGxj-nllESilf.js → CashbackDetailPage-B8-TDuv8-Dd6aEuJQ.js} +11 -11
  42. package/dist/assets/{ChargeCardDetailPage-D9-V0pjZ-CTp6LwRI.js → ChargeCardDetailPage-Bdz5L2ko-CaBbXfBZ.js} +44 -44
  43. package/dist/assets/{ChargeCardListPage-CZFi8l0_-CO-jS4Wx.js → ChargeCardListPage-EuJ1VXck-BU5r2hWM.js} +19 -19
  44. package/dist/assets/{ChargeCardListTable-DiJUp9-c-hw3gHlrw.js → ChargeCardListTable-SgjwYd8W-EVdaCbR4.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-CW9gtO0w-oF9Kbl5Z.js → ChargeCardPaymentHistoryPage-BC2DkmZT--xdPwk1t.js} +1 -1
  46. package/dist/assets/{ChargeCardPromoPage-CiZDV925-B7JK6cJL.js → ChargeCardPromoPage-C-z0xtuN-qFHF_adM.js} +6 -6
  47. package/dist/assets/{ChargeCardRoutes-BumOjc7r.js → ChargeCardRoutes-DV8TKacG.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-C5jXY5P--Da4gT9DT.js → ChargeCardSetupPage-ByLoLZE_-DIekUpHc.js} +2 -2
  49. package/dist/assets/{ChargeCardStatementsPage-CetLgQ8l-CHHBhChm.js → ChargeCardStatementsPage-C4XdqPO1-BSM3bO35.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-BYfqgSGk-58W0gPrS.js → CheckDepositDrawerPage-D5X61CKc-CyEf-jUu.js} +8 -8
  51. package/dist/assets/{CollapsableReportTable-BhbPzkAB-C83Y_pXv.js → CollapsableReportTable-D7zD4-h0-CdsTnLhf.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-CMcuDe-X-CNo7Ot8a.js → CompanyOfficerDetailsSection-w86_5FXJ-CDmgqN3N.js} +93 -93
  53. package/dist/assets/{CompanyPassportCard-DImW2Dm8-pP6x_qCR.js → CompanyPassportCard-tpE1lXug-CLl-IbcU.js} +9 -9
  54. package/dist/assets/{CompanyPassportPage-DT2W9QE1-DJLwOOR3.js → CompanyPassportPage-bND99CJN-D7hjvVvQ.js} +23 -23
  55. package/dist/assets/{CompanyPassportScreen-Ckk3Aa0n.js → CompanyPassportScreen-DR-zdvAJ.js} +1 -1
  56. package/dist/assets/{CompleteProfile-BOabRQRQ-Cdf3T9vg.js → CompleteProfile-B5W07hcs-mOeGRg8M.js} +1 -1
  57. package/dist/assets/ConfettiBurst-C0DFgWJj-DC0n_rE6.js +1 -0
  58. package/dist/assets/{ConnectionAuthScreen-CJIuvxwT.js → ConnectionAuthScreen-D4VaoAIy.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CUV-Iost.js → ConstrainedInnerElement-CgdnMeoA-bMF_z_bc.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-D86akQ-H-a9byVQeU.js → CreateOrEditVendorPage-CrQh8JCh-BX5wTD-m.js} +6 -6
  61. package/dist/assets/{CreditCardPaymentDrawerPage-MS34Pxyw-S-FNpO-K.js → CreditCardPaymentDrawerPage-BoVmLCHh-Blea7AvV.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-BsuzTGXR-DG4V_Nis.js → CurrencySelectField-D2azwi1T-CSrQI1j0.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-BP-GIrmI-cXKCGBAv.js → CustomerOnboardingActivationPage-DxuEGe6X-BPuiwcIL.js} +5 -5
  64. package/dist/assets/CustomerOnboardingAuthScreen-DLH-rYdF.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-DS0-65s7-CeH0I7wN.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CISAUodZ-DSVMFFq4.js → CustomerOnboardingDetailPageSkeleton-DRGKainD-Y7JaILNu.js} +7 -7
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-DgMQ5prq-DEUVMq4v.js → CustomerOnboardingNoStepsPage-C--jDBQq-BgvTeh9S.js} +10 -10
  68. package/dist/assets/{CustomerOnboardingPage-QvCZDMFw-pwPfUUii.js → CustomerOnboardingPage-BXZSl2im-DDrc-wX_.js} +6 -6
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-Bt1cV23--C-IqxjRL.js → CustomerOnboardingProductSuitePage-BJmYX0kI-C3qX-GBN.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-GPk7JXLd.js → CustomerOnboardingRoutes-DqfIHwc7.js} +4 -4
  71. package/dist/assets/{Dashboard-DdAePVSx-CyfCOyra.js → Dashboard-yhqyXPbZ-CPcltsfF.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-ccn0JYfk-DfPZgIh7.js → DashboardReportPage-BG4StCjY-CzFGaujV.js} +8 -8
  73. package/dist/assets/{DashboardRoutes-DbCVxvoA.js → DashboardRoutes-Bawz4pw0.js} +3 -3
  74. package/dist/assets/DashboardSidebarBackgroundAnimation-DsWKmIXY-BuOmk2Nk.js +12 -0
  75. package/dist/assets/{DefaultTenantHome-DnjlKX8o.js → DefaultTenantHome-B10KVon4.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-BijpyBiZ-CNN7AUw4.js → DepositAccTransactionItem-5ZEPnNxa-3AfijWCl.js} +6 -6
  77. package/dist/assets/DepositAccTransactionListPage-BR8d0Kun-DVyGTLJU.js +66 -0
  78. package/dist/assets/{DomesticWireDetailScreen-CMHXbUdU.js → DomesticWireDetailScreen-CMEoUywc.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-B10Vx6K5-BgPOj6ev.js → DomesticWireDetailsPage-wGIWvhgQ-CmjPpsLr.js} +4 -4
  80. package/dist/assets/{DownloadOverlay-BiIbEvq6-DkggD5hU.js → DownloadOverlay-SLvxfa6B-CQ7BxjF9.js} +16 -16
  81. package/dist/assets/{DrawerPage-4aE01eRo-CbGkLlgW.js → DrawerPage-CFdTV10k-BenpSUGv.js} +4 -4
  82. package/dist/assets/{DrawerScreen-Bqlol_ka.js → DrawerScreen-B7BWNi51.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-BWjOJqch-DMjcjWgK.js → EditPeoplePage-C-Y62PJ0-BgijqRCf.js} +7 -7
  84. package/dist/assets/{EditReimbursementDetailPage-Dcw8QlH6-CKpHH0Rb.js → EditReimbursementDetailPage-BYpXof8e-CdyZTm2g.js} +14 -14
  85. package/dist/assets/{EntityDetailPage-DseDMalq-D030AWbJ.js → EntityDetailPage-CgDHg6g5-B_vQblwz.js} +2 -2
  86. package/dist/assets/{EntityDetailRoutes-DKPg6KvF.js → EntityDetailRoutes-nFrPna9t.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-D1o-WKT9-B4D8PhFo.js → EntitySummarySection-B2uG3-Zh-DoF2hAYB.js} +4 -4
  88. package/dist/assets/{ExpenseAutomationOverviewPage-BIGlSzsy-DDeWTiVS.js → ExpenseAutomationOverviewPage-CrtNuarm-C8tGkYQU.js} +7 -7
  89. package/dist/assets/{ExpenseAutomationPage-BUARFwSx-BgUO5pJv.js → ExpenseAutomationPage-CWPnIMSu-BUnHNcGe.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-CFAuM0iq.js → ExpenseAutomationRoutes-DxRmXEnL.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-BKpxo5VW-BeZ2tWeR.js → ExpressPayPage-CsI_DUc6-BKAOKKa9.js} +8 -8
  92. package/dist/assets/{FeaturePreviewPage-CfqYjofS-Dw_fXJXh.js → FeaturePreviewPage-B67a68N9-BPSn99tM.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-Ctx49exK.js → FeaturePreviewScreen-D_cOMPjM.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-CJzIGe2N-q0pn7uac.js → FollowStepsSection-CgjzMm02-DPMc3VYJ.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-B4qWm75N-BekP71Yj.js → GlobalReviewListPage-CIfK-0rd-F3X4MQ4k.js} +5 -5
  96. package/dist/assets/{InformationCardStack-BXWxFJnm-DZneOpmz.js → InformationCardStack-qKld10kr-IVC5wYc5.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-iUppdWya-IGcayZ6m.js → InsightsCardStack-Bbh77o6f-Dr_8r9pW.js} +8 -8
  98. package/dist/assets/InsightsSection-DgfCOO4F-rd7xZxVI.js +27 -0
  99. package/dist/assets/{IntegrationsSettingsPage-DthkTtT9-BfWjdmm5.js → IntegrationsSettingsPage-BRQFeOLt-2BecY83T.js} +2 -2
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-hYeFGjj4-De4TNLmU.js → InternationalWireSwiftDetailsPage-DPemNncS-Datvi8oR.js} +4 -4
  101. package/dist/assets/{InternationalWireVerificationPage-0TZuCAzZ-DstpGM2q.js → InternationalWireVerificationPage-BOxXfIY5-D1lMmBlP.js} +3 -3
  102. package/dist/assets/{InviteFormPage-BC1PH63r-DAB3gVVK.js → InviteFormPage-BbbPCdh--Cb0-_CQ6.js} +1 -1
  103. package/dist/assets/{InvitePageListView-BJDfCvno-Sk3rc3V-.js → InvitePageListView-DqfrAulo-BtCqgsIl.js} +13 -13
  104. package/dist/assets/{InvitePeoplePage-Bl-WUfXO-DagADS45.js → InvitePeoplePage-CgTpZp4M-CYe0nmg8.js} +3 -3
  105. package/dist/assets/{InvoiceUploadSection-BgVvYytR-DjoTneQr.js → InvoiceUploadSection-DZOzTShz-BFwyUvOT.js} +1 -1
  106. package/dist/assets/{IssueChargeCardPage-0JEZpfCu-DLK0riSj.js → IssueChargeCardPage-x6dLcd-P-D7R8buXv.js} +17 -17
  107. package/dist/assets/{LabeledAddressValue-BCsadhSu-lscFDQOa.js → LabeledAddressValue-CY4Fn72d-VdKSkT_l.js} +1 -1
  108. package/dist/assets/LabeledAddressValueField-D47ofJFV-CGqdgTnp.js +45 -0
  109. package/dist/assets/{LabeledControlledCheckBoxField-Do7rlK6F-CTyXPdV4.js → LabeledControlledCheckBoxField-C_c8Rs-i-Cz1fNsx_.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-BHwXHYPO-CYnRn6eD.js → LabeledCountryMultiSelectField-vRw9drBe-Bw1loTny.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-gMUp1tXY-y1kl4nd-.js → LabeledCreatableSingleSelectField-CdF97ljM-DTrzefeb.js} +3 -3
  112. package/dist/assets/{LabeledDocumentField-DxUq-7nr-DAyGmAsR.js → LabeledDocumentField-Dn25Ru1C-CLM-i9xW.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-D51ly333-CZ2VlJWO.js → LabeledDropDownFormattedTextField-C2sZjA-q-Bkuc_5w_.js} +6 -6
  114. package/dist/assets/{LabeledEmailInputField-Cd9p7Kj0-DZf49c8n.js → LabeledEmailInputField-DzAdekQn-BkQ7kdJx.js} +3 -3
  115. package/dist/assets/{LabeledNameField-364jsrFK-CaN5hIDf.js → LabeledNameField-Dxx0xwMv-DBRkdNqp.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-B3pMIEfZ-C8i8zlDG.js → LabeledSingleSelectField-EO8TA_z_-C26qdLJU.js} +6 -6
  117. package/dist/assets/{LabeledText-uFTi1qOo-Dh31QRqg.js → LabeledText-Bo7B-LrF-DECCi3EJ.js} +2 -2
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-XD6D3r0Y-Ce4jb_BF.js → LabeledUserSingleSelectWithSubtitlesField-DD11_Map-ZtH1v-68.js} +8 -8
  119. package/dist/assets/{LabeledZeniRolesDropDownField-CbJ3OtWK-CN-nwhu5.js → LabeledZeniRolesDropDownField-BJ99uBt1-DGvakh0f.js} +18 -18
  120. package/dist/assets/{LinkJETransactionPage-B5M6Ojt--C7jEEQdH.js → LinkJETransactionPage-BiDoUKQW-xgKDBdnj.js} +9 -9
  121. package/dist/assets/{LockCardPage-DN2dvQA9-ptj6YCPt.js → LockCardPage-B1QOSByp-BfsUhZIZ.js} +25 -25
  122. package/dist/assets/{LowBalancePopup-CXTWwEyb-DHi-7FjF.js → LowBalancePopup-Bl_PaIUx-yOClgIGf.js} +2 -2
  123. package/dist/assets/MagicLinkACHDetailsPage-l76_Y3sO-DBz5GRKZ.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-D_z_Q-jz-DriIOIxl.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-D276lsq_-ColrMYZA.js +1 -0
  126. package/dist/assets/MagicLinkRoutes-B-WHuq25.js +72 -0
  127. package/dist/assets/{MagicLinkSignInScreen-hqZFIhM7.js → MagicLinkSignInScreen-BBwmXYDm.js} +1 -1
  128. package/dist/assets/MagicLinkSuccessPage-CuL-7CWN-C2vVBJ4S.js +31 -0
  129. package/dist/assets/{MagicLinkTitleSection-BnzImXCX-DsNqMADc.js → MagicLinkTitleSection-RYhrN820-BbeWYlVu.js} +10 -10
  130. package/dist/assets/{MailingDetailsSection-aNMVpaF0-Mi3ceriD.js → MailingDetailsSection-D9_I-DTk-Cdb1WRS_.js} +1 -1
  131. package/dist/assets/{MobileAppDrawer-CXepfp6e.js → MobileAppDrawer-CTcTm5tx.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-C_jqM-Ix-D5fFt93A.js → MoreMenuButton-5MZl4h9B-BympoCwa.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-CdW-lOqB-CQAYDmx1.js → MyBankConnectionsSettingsPage-CBw6kNsm-DlddyW1w.js} +4 -4
  134. package/dist/assets/MyPendingActivationChargeCardListPage-BC4YjZtP-DfpXnRCt.js +6 -0
  135. package/dist/assets/{MyProfileSettingsPage-ZmPfSk3b-CekXUU4A.js → MyProfileSettingsPage-DZ5M2BUN-CQ7zk2gg.js} +4 -4
  136. package/dist/assets/{NavBarWithPicker-BYosIzfk-CHzZbup1.js → NavBarWithPicker-C6FiaLu5-BVvTIBUE.js} +5 -5
  137. package/dist/assets/{NavigationArrow-CMLkPq47-BPg7he64.js → NavigationArrow-BnAgR0wH-BYYktF7B.js} +1 -1
  138. package/dist/assets/{NavigationDots-maxhYltq-IyF42HyI.js → NavigationDots-WUDG_g8M-CSwlLBTM.js} +3 -3
  139. package/dist/assets/{NewGlobalMerchantPage-BkDFFysB-BMj84SI3.js → NewGlobalMerchantPage-gAsCusVw-CA6lhup4.js} +1 -1
  140. package/dist/assets/{NoDataChart-CKqR_T30-DZpYrIq4.js → NoDataChart-BBYUjdKn-CaszePO0.js} +3 -3
  141. package/dist/assets/{NoDataTable-BQLSA76V-CA1kwcWh.js → NoDataTable-D3750d25-CC_2gGkK.js} +1 -1
  142. package/dist/assets/{NotFoundPage-rtS33FV3-CW80Ae7U.js → NotFoundPage-C4D8Rn9E--AJk-xer.js} +6 -6
  143. package/dist/assets/{NotFoundScreen-86VjMapP.js → NotFoundScreen-SRDW4_mE.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-WpVyAd3n.js → NotificationRoutes-BSrkx0LD.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-JJ5a6f1u-Dg5nWtfu.js → NotificationSettingsPage-CD-t91ia-DJoX_UtT.js} +4 -4
  146. package/dist/assets/NotificationsListConfig-C7JSE-eQ-DyT-ZhYk.js +1 -0
  147. package/dist/assets/{NotificationsPage-9vgLoVxJ-CqhoB5mC.js → NotificationsPage-Be1v8niA-BlgDo9nE.js} +14 -14
  148. package/dist/assets/{OpExByVendorPage-Dy7Ll1zE-CncYLP1q.js → OpExByVendorPage-D1f1lQbs-BnyzfFJz.js} +7 -7
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-o9B6MYdd.js → OverlayContainerPage-BG9y5C0t-DTorHW75.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-D-V3dD71-2GY3G9_S.js → PandLWithForecastPage-DIYb7BWp-B3vKwRhN.js} +11 -11
  151. package/dist/assets/{PandLWithForecastRoutes-NKWly9at.js → PandLWithForecastRoutes-CsL0r0I3.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-B_4cMrVT-DX0VhwXR.js → PaymentAccountSetupBillingAddressSection-tGkjxbjY-CHrQD7Oe.js} +6 -6
  153. package/dist/assets/{PeoplePage-B9bxxtaC-BUc8a2C6.js → PeoplePage-xwAOX4Jk-BnzId5aB.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-LIAWa-ry.js → PeopleRoutes-D-yY-A49.js} +3 -3
  155. package/dist/assets/PerformanceRoutes-DUxeAB_T.js +1 -0
  156. package/dist/assets/{Preview-C63MOKlS.js → Preview-k4ohm46R.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-BnezAuLA-CWNs-1wI.js → ProductsCarousel-OHbYasaa-Bps9QCYO.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-B5vRjrOp-DZnXvun2.js → PromoBaseCards-B_0dccCZ-BeKRkhdX.js} +3 -3
  159. package/dist/assets/{QBOConnectionDialog-mVAyONiQ-BFw_Aijs.js → QBOConnectionDialog-5ItNvdCA-D1LNYclF.js} +13 -13
  160. package/dist/assets/{QBOConnectionScreen-DPXluGT3.js → QBOConnectionScreen-BDwso3KZ.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-Co4tc3sO-UEf5y5yj.js → QBOSetupSection-CHZgQppe-Fu_QXCEh.js} +14 -14
  162. package/dist/assets/ReferralListScreen-DPkRtA1r.js +5 -0
  163. package/dist/assets/{ReimbursementApprovalRoutes-DBPigEkQ.js → ReimbursementApprovalRoutes-DyX9YlA9.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-t48xfVQ_-DSouPzhL.js → ReimbursementApprovalRuleDetailPage-CqZT111l-Th1QLQg3.js} +5 -5
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-iL2FRiSL.js → ReimbursementApprovalRuleDetailScreen-BR6Wdj2J.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-BuOE0xKm-CyQAGb5D.js → ReimbursementApprovalRulesPage-BzTe2nqd-DFHyb7gY.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-oD88KyGk-Z26luXjw.js → ReimbursementDetailPage-DM650uCR-BZojPp4W.js} +7 -7
  168. package/dist/assets/{ReimbursementPromoPage-DC6vQNFr-Df-JQbVt.js → ReimbursementPromoPage-CitTg9s4-C6Ht-4dW.js} +7 -7
  169. package/dist/assets/{ReimbursementRoutes-DP3Zyw9z.js → ReimbursementRoutes-C4Yz_jbS.js} +3 -3
  170. package/dist/assets/{ReimbursementSetUpPage-ClkPQCRt-3XXwJA8a.js → ReimbursementSetUpPage-qphyaCoX-CvNz9jXQ.js} +5 -5
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DiWW85PW-CdKgZHg6.js → ReimbursementsBulkReviewDrawerPage-CCJvQKip-BQLPbz53.js} +1 -1
  172. package/dist/assets/{ReloadCard-DcyZqZO5-CwUMwJXU.js → ReloadCard-DMNbI6QE-C1j_tgy-.js} +4 -4
  173. package/dist/assets/{ReportTableViewSelector-Be_385i6-D1d1hisQ.js → ReportTableViewSelector-CUG4hVI9-Bjuyu4DH.js} +5 -5
  174. package/dist/assets/{ReportsPage-Dp_uEJ2H-DsQqyldd.js → ReportsPage-nuM-ub1p-CKOT47VZ.js} +8 -8
  175. package/dist/assets/{ReportsRoutes-CQDTEzwi.js → ReportsRoutes-DohAZqsL.js} +1 -1
  176. package/dist/assets/{RevenueChart-B-iMe_PD-Bi6Ok69j.js → RevenueChart-BL5Wb2UT-JQVA4c7e.js} +1 -1
  177. package/dist/assets/{ReviewDetailsPage--0ZUpEVp-CQmlT2je.js → ReviewDetailsPage-CUolLJ6s-I5bNk9-1.js} +21 -21
  178. package/dist/assets/{ReviewOverlay-D_JI48L0-CyNlOwFh.js → ReviewOverlay-A1OYNSqG-DCeKL3J7.js} +6 -6
  179. package/dist/assets/RewardsRoutes-BjB7FD9l.js +1 -0
  180. package/dist/assets/{RoleWithToolTip-Bqdsc31P-CNmkPW05.js → RoleWithToolTip-VOllzDDB-BXr_ucO6.js} +2 -2
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-vFbciuuA-Diyke3YU.js → ScheduleDetailsFixedAssetsPage-By3U1RYU-Dut2stb8.js} +3 -3
  182. package/dist/assets/{ScheduleDetailsPage-BUxgvyKT-Xmkq7RcC.js → ScheduleDetailsPage-ButJHPUw-XhuUVDsI.js} +3 -3
  183. package/dist/assets/ScheduleSequenceTable-Dv831gVJ-OIQZXWKl.js +326 -0
  184. package/dist/assets/{ScreenRoutes-IYIFGbR5.js → ScreenRoutes-B6WQ9uqs.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-Bk3RGJCY-2x7H96z3.js → SetUpAccountSection-BcNG0nDh-C2x0keC_.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-CEWrZV9M.js → SettingsRoutes-U8aLQkxi.js} +5 -5
  187. package/dist/assets/{SetupPagesScreen-BFZeWYvZ.js → SetupPagesScreen-KLzrKq5d.js} +1 -1
  188. package/dist/assets/{SignIn-DbvYG8OW-DIGSru0r.js → SignIn-D80UITQm-CVsAto0V.js} +22 -22
  189. package/dist/assets/{SignInScreen-B27QEE_5.js → SignInScreen-g1CD9jiJ.js} +1 -1
  190. package/dist/assets/SignOutScreen-Cclrjb6Y.js +9 -0
  191. package/dist/assets/{SpendManagementListViewPage-CSGYJyZu-BweWpc_X.js → SpendManagementListViewPage-DSG6Son_-3Woa8ZKL.js} +6 -6
  192. package/dist/assets/{SpendManagementPerTabPage-DuGeuTYQ-DataZT66.js → SpendManagementPerTabPage-DiSu0RS1-Dj2U_5YO.js} +13 -13
  193. package/dist/assets/{SpendManagementSection-CZ_i360S-BWGL8ndc.js → SpendManagementSection-BXU3RGG8-BwEQ7fN8.js} +12 -12
  194. package/dist/assets/StatementItem-B1M65xN--D_j2q7nS.js +31 -0
  195. package/dist/assets/{StatementsPage-BMFYpAPA-D3BvQu9P.js → StatementsPage-Ck1xzA0w-CdWUN6DK.js} +2 -2
  196. package/dist/assets/{StatusSwitcher-CDnarHSf-meshGWkH.js → StatusSwitcher-_Cs3CzJl-D1XlTHt5.js} +6 -6
  197. package/dist/assets/{SubTabSwitcher-DhIXVTVI-Dm-A1aML.js → SubTabSwitcher-D3ltE_yc-Ry1ed6uf.js} +3 -3
  198. package/dist/assets/SuccessAnimation-RuQd1S4B-C9QgxngQ.js +13 -0
  199. package/dist/assets/SummaryCard-buadhnmc-COTvxgGf.js +1 -0
  200. package/dist/assets/{TaskDetailPage-rWt-QUEv-DH6XgxNN.js → TaskDetailPage-CJKga1vr-ciDskCCR.js} +1 -1
  201. package/dist/assets/{TaskListScreen-CWIPHTTl.js → TaskListScreen-ksTObC06.js} +2 -2
  202. package/dist/assets/{TaskManagementPage-D3YvKWVJ-DM0xoyo4.js → TaskManagementPage-BMwMSG1j-D-VvypFm.js} +27 -27
  203. package/dist/assets/TaskRoutes-C_cjp_9o.js +9 -0
  204. package/dist/assets/{TimeRangeSwitcher-CFJrPhfZ-Bh0bakQI.js → TimeRangeSwitcher-B1Wx03tG-Br6TSwpo.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcher-DS6zgSjT-D1R0FMKh.js → TimeframeSwitcher-Dmtsdwi9-Ce3iuH6w.js} +6 -6
  206. package/dist/assets/{TimeframeSwitcherWithToggle-Did8-Dj7-CGwKh4M0.js → TimeframeSwitcherWithToggle-P5CfgTUd-DXOPf3Bj.js} +3 -3
  207. package/dist/assets/{TopExCard-ByF-svYM-Ctw9EYS9.js → TopExCard-DQkr9Xhh-CEMSG53J.js} +3 -3
  208. package/dist/assets/{TopExDetailPage-ABVezwCx-DzhDJZA8.js → TopExDetailPage-5Di6WUfV-hilBOr7-.js} +9 -9
  209. package/dist/assets/{TransactionActivityLogPage-B8ytNODX-DVytAoU9.js → TransactionActivityLogPage-R9LoW4DL-C_Mhlr8m.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-CunkyIXB-CNc17TsU.js → TransactionDetailPage-B-blHtkn-CbeGtCIa.js} +34 -34
  211. package/dist/assets/{TransactionDetailRoutes-CK-34SUt.js → TransactionDetailRoutes-CG9Ya3UI.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-DDeYMLmN.js → TransactionDetailScreen-DG1rRYuu.js} +1 -1
  213. package/dist/assets/{TransactionList-CEPVnfZD-ClBHZqTs.js → TransactionList-FQvTXSzy-oI0UZGJM.js} +13 -13
  214. package/dist/assets/{TransactionListBig-BYFv0irc-pAbEVbC_.js → TransactionListBig-CNDw7zRw-DTLpPxaS.js} +6 -6
  215. package/dist/assets/TransactionListPage-BkZLtwmQ-DzH0F7Wk.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-DCJ5Lweu.js → TransactionListRoutes-BbWNwfVS.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DYvgQFQS-DSlx2b8r.js → TransactionVendorDetailPage-Ch2UUF1f-DGdjSa3g.js} +3 -3
  218. package/dist/assets/{TransferDrawerPage-gDUiIE-g-Bvvjaklx.js → TransferDrawerPage-C1Ly_xKj-DX3atlS9.js} +21 -21
  219. package/dist/assets/{TreasuryOverviewPage-DXIqVBWp-B9pyuKCe.js → TreasuryOverviewPage-Zt5w8zfp-CedvlZd9.js} +21 -21
  220. package/dist/assets/{TreasuryPromoPage-oERSujnm-ClN1OTf6.js → TreasuryPromoPage-BsP73kf7-etf9xlFS.js} +14 -14
  221. package/dist/assets/{TreasuryRoutes-BjolvDGd.js → TreasuryRoutes-CuQ3uJ15.js} +1 -1
  222. package/dist/assets/{TreasuryStatementsPage-GWCCDPvf-_h3417p3.js → TreasuryStatementsPage-DhXESeOi-uJElEPeD.js} +4 -4
  223. package/dist/assets/{TreasuryTaxLetterPage-pTRWyNYH-BQ_qi0uM.js → TreasuryTaxLetterPage-tHkQvX2V-pYxXn6xj.js} +4 -4
  224. package/dist/assets/{TrendChart-B2oLQN05-BkrG4BVH.js → TrendChart-B7Pox_TQ-7BkibFBY.js} +4 -4
  225. package/dist/assets/{TrendWithTransactions-Bx63fv0P-BQ8GiA8P.js → TrendWithTransactions-DP1jZL1i-2bOe0VtV.js} +6 -6
  226. package/dist/assets/{UncategorizedAccountsMappingPage-D_QwlpkW-CEr8coR8.js → UncategorizedAccountsMappingPage-4mHyt2P6-BwcucbSK.js} +7 -7
  227. package/dist/assets/{UnitIntegrationPage-EeIQyR4L-D0Uey0gi.js → UnitIntegrationPage-BymmWe1G-DFsBuiFb.js} +3 -3
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-B8_7dtgO-BVpFWtFr.js → UploadAdditionalDocumentOverlay-DUO2ZoU--ozi0LNFT.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-DwTNfggI-QO3FNLHc.js → Vendor2FAPopup-8kpMx5RI-CGazITGN.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-BODHiiUQ-DmAQiimf.js +1 -0
  231. package/dist/assets/{VendorDetailPage-k42A_Pv1-C-eMTgO6.js → VendorDetailPage-C-JJfR0u-DCJ_f7dN.js} +12 -12
  232. package/dist/assets/VendorDomesticWireDetailsPage-CVfEcUFJ-8ddL7pEj.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-BUuhWv_U-D-yHNm5T.js → VendorFiling1099EditablePage-B4vFgSwb-DDTykyPn.js} +6 -6
  234. package/dist/assets/{VendorFirstReviewPage-bN7DO44j-DzTJUqvm.js → VendorFirstReviewPage-CUwdrbjH-DPvTVvHI.js} +7 -7
  235. package/dist/assets/{VendorInternationalWireDetailsPage-DjkOrgs7-CUIWISK5.js → VendorInternationalWireDetailsPage-BzP1zqhw-CAXXQP5N.js} +4 -4
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Dgz0TPoZ-CYv9JR1l.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-D-7K4aZA-BPnUt7kZ.js → VendorsAccountsSection-Drue-Lvz-DQRReXtk.js} +4 -4
  238. package/dist/assets/{VendorsRoutes-Dh458IQK.js → VendorsRoutes-Buw6G1yr.js} +1 -1
  239. package/dist/assets/{VerifyDevice-VPfuXUzH-AU1zuQlS.js → VerifyDevice-B_NNzkjT-BkggAu3P.js} +9 -9
  240. package/dist/assets/VideoPlayer-Bc4tAd79-Crbsq9LQ.js +77 -0
  241. package/dist/assets/VideoPopup-BYo5bzpU-BthyvsgQ.js +31 -0
  242. package/dist/assets/WiseConfirmationScreen-CEIT9jMF.js +12 -0
  243. package/dist/assets/{ZeniAccountDetailPage-CJrpkcjr-CBwTak_Y.js → ZeniAccountDetailPage-BW6G2voE-DBU5fQds.js} +19 -19
  244. package/dist/assets/{ZeniAccountListViewPage-DvJI3LGF-CKLfdqdE.js → ZeniAccountListViewPage-gNszI2XV-BLZmP_oZ.js} +30 -30
  245. package/dist/assets/{ZeniAccountNavBarPieces-UCydmVe7-CXtDBFLP.js → ZeniAccountNavBarPieces-BP1IxZ18-ABeEpX-y.js} +1 -1
  246. package/dist/assets/{ZeniAccountPromoPage-DiGsabvm-C_SqwLVl.js → ZeniAccountPromoPage-LsZxIdX9-D62PvtLZ.js} +5 -5
  247. package/dist/assets/{ZeniAccountRoutes-CAAxW9JY.js → ZeniAccountRoutes-Bp_1In61.js} +5 -5
  248. package/dist/assets/{ZeniAccountSetupPage-hVmIT6tO-tFtJgQAT.js → ZeniAccountSetupPage-BExQA9Cz-D04LOVK1.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-BaoiJX5h.js → ZeniAccountStatementScreen-6LzJoR1o.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-C2LxBTZ4-YOmVMm4j.js → ZeniAvatar-5wP6sb3W-CKgtWCng.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-BTIaEGE9-Di2RxJTA.js → ZeniCopyright-CMjFbDBQ-So_Gi_8l.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-9JxwH7J5-CcV9D7gC.js → ZeniDatePicker-C_YQpGe--CXBBhIwN.js} +4 -4
  253. package/dist/assets/{ZeniTransferAmountSlider-BlEFrC-Z-rEEslC0z.js → ZeniTransferAmountSlider-CIu35Xz9-BCHS6-b-.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-CZHlLVR_.js → accountMappingHelper-Ctd7yuH3.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-BgQLRlhS.js → add-to-wallet-DgdBD8_G-q_ZatOIu.js} +1 -1
  256. package/dist/assets/{analytics-CDQ7tGpV.js → analytics-Ci5SIN4_.js} +1 -1
  257. package/dist/assets/{analyticsHelper-jTnRtCKB.js → analyticsHelper-CBcY8lmv.js} +1 -1
  258. package/dist/assets/{analyticsHelper-CYp9h-KW-6KJErEZC.js → analyticsHelper-CG-L3dO7-WIHh4rd-.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-CvfiHTRY.js → arrow-south-east-round-PEovUgvH-BXAmISmi.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-8rMpx5do.js → auto-transfer-rule-mbafm5D3-Qtr813uy.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-BdKWS97a.js → avatar-Dz7aEm3d-lVrrjTFE.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-ydWr7ZOI.js → bank-letter-BOcVjN6J-a5lcVCZG.js} +1 -1
  263. package/dist/assets/{calculateSize-DecSvt-d-CIfCbqel.js → calculateSize-CAxK0dN_-6AyeRPo8.js} +1 -1
  264. package/dist/assets/{chartTypes-D2s_Hwo9-BbhqSw8p.js → chartTypes-_AEkJ5Cg-CVupoc41.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-CjcyjUt4.js → clock-CJkylEKt-CBVPxBka.js} +1 -1
  266. package/dist/assets/common-B74Sb4iG-Ba1Dna3Q.js +1 -0
  267. package/dist/assets/{commonDimensions-u85vL09f-D9VH5FSj.js → commonDimensions-_Dpm4Anv-BHT-EeW2.js} +1 -1
  268. package/dist/assets/{commonTypes-DKKiPW4t-BlYaUk1n.js → commonTypes-C64XobC6-BTobasZR.js} +1 -1
  269. package/dist/assets/{core-B0nKoasK.js → core-oEkj6b51.js} +1 -1
  270. package/dist/assets/{dash.all.min-CXMi5GlA.js → dash.all.min-DZu0W7MW.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-CHDtTf3Z.js → decodeURIComponentSafe-AFO0vA4L.js} +1 -1
  272. package/dist/assets/{dnd-NNN-4w0O.js → dnd-DwLm2ZWc.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-CQw1tD8J.js → dollar-round-D18u7nlm-BxzwYsJa.js} +1 -1
  274. package/dist/assets/{downloadPdf-CnXPMbwm-BjEW_jtg.js → downloadPdf-BAZhe2iR-C4ju3Lqh.js} +1 -1
  275. package/dist/assets/{empty-DA-JSLu3.js → empty-CpgB6ACX.js} +1 -1
  276. package/dist/assets/{empty-CVZTZ-q9.js → empty-fwRWXj2G.js} +1 -1
  277. package/dist/assets/{epic-D0yDPv8O.js → epic-qeTSmk29.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-DAakc3sS.js → filter-cZIFUNvj-Cn5LR_-W.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-DGG0tVFT.js → getLocaleForTenant-DZi5Q22y.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-C6pLHK0s.js → gift-box-Cmt9OgIZ-CByaMYJG.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-Dn4I-rOX.js → graphic-no-data-l-DU4J8fDt-bzI3_a8w.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-DO0fHtUP.js → graphic-no-data-net-burn-l-CzmycA0m-CaA33M1d.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-C47iPdmd.js → handshake-BPg58FML-BxWewJRH.js} +1 -1
  284. package/dist/assets/{helper-C7sZs2qJ-DE63clA9.js → helper-D3UIpXq7-DCH1HBMI.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-BOSMM7uX.js → hyperlink-DQyCeXx2-Dt5l5kWs.js} +1 -1
  286. package/dist/assets/{index-CEBFS-eA.js → index-B5c5iTId.js} +1 -1
  287. package/dist/assets/{index-DrsMeyfs.js → index-BE_133so.js} +1 -1
  288. package/dist/assets/{index-ByxsQZNo.js → index-BHAcVHeH.js} +643 -641
  289. package/dist/assets/{index-CQJQXzZY.js → index-CjBlNHKF.js} +1 -1
  290. package/dist/assets/{index-BIjZljJR.js → index-Cpbn6-TN.js} +1 -1
  291. package/dist/assets/{index-zhMcpxMF.js → index-DRNExedw.js} +1 -1
  292. package/dist/assets/{lexical-Fl-AogKa.js → lexical-BLFyyXBr.js} +1 -1
  293. package/dist/assets/{liveblocks-DskTqGyX.js → liveblocks-Ia5FU_Xu.js} +1 -1
  294. package/dist/assets/{lottie-BzV8yd9z.js → lottie-DEK510sX.js} +1 -1
  295. package/dist/assets/mapLoadingInProgressToTreeNode-C_DjhqLk-Ct7OsbEi.js +1 -0
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Okgefznu-CJAMwNIO.js → mapSectionWithAcOnlyToTreeNode-BLsSfpaF-B_J7hTEH.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-Dq4CasLR-BKZfs44u.js +1 -0
  298. package/dist/assets/mapTimeframeBalancesToTreeNode--FHVcIix-D7muHBWz.js +1 -0
  299. package/dist/assets/{mapTimeframeBalancesToTreeNode-sCX2cRnL-BfAjp3to.js → mapTimeframeBalancesToTreeNode-BP0iF3Of-BZXMdjjY.js} +1 -1
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-ww9DgKFP-Cu0SrzZe.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D45Dn747-DMQQGP6s.js} +1 -1
  301. package/dist/assets/{media-player-eLGyvMHZ.js → media-player-uto_Jl5G.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-rv31fLm6.js → money-2cg1MuG4-BmcWx6In.js} +1 -1
  303. package/dist/assets/{mui-40xepic5.js → mui-Cni6P-fz.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-BrbO3gtI.js → page-detail-CWX5S47F-B9qcUnuN.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-bNTaLAow.js → page-summary-D7_VQHwN-ZSqDN0WI.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-DgahycaC.js → panelSelectedMixin-Cddsb26L-BCo5ICo2.js} +1 -1
  307. package/dist/assets/{pathToGoBack-D0UTUGlT.js → pathToGoBack-BpMzEQ5A.js} +1 -1
  308. package/dist/assets/{pdf-A8jRKyoC.js → pdf-CTJ16aEe.js} +3 -3
  309. package/dist/assets/{pdf-lib-mQnebn-k.js → pdf-lib-BZoHbIry.js} +1 -1
  310. package/dist/assets/{plaid-cfgjTkr8.js → plaid-B2vW8NaN.js} +1 -1
  311. package/dist/assets/{pusher-1O2fsDZq.js → pusher-DFtcQaPW.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-Cy5-Jl8l.js → radio-default-CiSgisfh--JwnmKdf.js} +1 -1
  313. package/dist/assets/{react-BEctO-ia.js → react-B0u9lmTz.js} +1 -1
  314. package/dist/assets/{react-D8s_m7Vn.js → react-BxE_BeY2.js} +1 -1
  315. package/dist/assets/{react-QF7HiPHo.js → react-C70tWLg5.js} +1 -1
  316. package/dist/assets/{react-CidUU4N9.js → react-Cohr3oKl.js} +1 -1
  317. package/dist/assets/{react-DcRcFJEU.js → react-DKkpOD3_.js} +3 -3
  318. package/dist/assets/{react-C6o6ScF5.js → react-DZ1_qQub.js} +1 -1
  319. package/dist/assets/{react-BEcUyG01.js → react-cn6O__9s.js} +1 -1
  320. package/dist/assets/{react-CQm7lU_-.js → react-jjkPSe6Z.js} +1 -1
  321. package/dist/assets/{recharts-Bbdho9Pi.js → recharts-LlOU9oLm.js} +1 -1
  322. package/dist/assets/{routePaths-CpPoI1xs.js → routePaths-WWdcktge.js} +1 -1
  323. package/dist/assets/{sentry-COYnhuxW.js → sentry-CY6wsJT-.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-wVomU2ew.js → shield-DOlUxcFf-CGZqPLdL.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-BruIkKZj.js → spend-limit-D6SyboD4-DAZsY_K2.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-CuxwOBs0-D4IOrabU.js +1 -0
  327. package/dist/assets/{toChartData-DrYGpr_j-D2GR-55Z.js → toChartData-BODe4y2V-CHAJ4Jnp.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-C-J0dsgn.js → transaction-placeholder-CpOwZAMG-B7lzeBRq.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-Chu3klyO.js → undo-b_3XZ5CX-okXLDguZ.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-BGatCFPm.js → unlock-BPWn2I5L-BcwMx3a4.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-GfUJ6f_w.js → upload-reimbursement-receipt-O2N8vcO7-BLqHMVJK.js} +1 -1
  332. package/dist/assets/{uploadAttachment-DPYv4udq-CXZc-rXm.js → uploadAttachment-Dbumcc_g-LXlwbhth.js} +5 -5
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-Mr0MhYx1.js → uploadReceipts-CIgkuVpu-FU2oOS1s.js} +1 -1
  334. package/dist/assets/{url-XCmE-JaB.js → url-B5kkbwRv.js} +1 -1
  335. package/dist/assets/{url-C27bOf0k.js → url-Cv3aJ--T.js} +1 -1
  336. package/dist/assets/{useDeviceId-UXlBHXyB.js → useDeviceId-BWAR3Wtl.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-BIFRjZze.js → useInitialThreadRequest-DTIHWJqF.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-CqE4OIEm.js → useLongPress-GCK2COYQ-BX_5sahW.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-vz296XX2.js → usp-line-BBd1wKwW-CuU9mWQv.js} +1 -1
  340. package/dist/assets/{utils-DMEPgX6w.js → utils-ChLimP28.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-BDgDxNYJ.js → withTransactionSidePanel-X05Jc0ej.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-DCforPdM.js → zeni-epic-state-cFF_NqwA.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-BkUYNged.js → zeni-icon-only-jOM3nMPU.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +2 -2
  346. package/dist/assets/ACHDetailsPage-DdI8Zlpr-DP3Ijrzf.js +0 -21
  347. package/dist/assets/AccountInfoPage-D_PrQwlp-DcHjYUET.js +0 -18
  348. package/dist/assets/AccountInfoPageContent-jLGn4-UA-BlSpfvCV.js +0 -149
  349. package/dist/assets/AddAddressForCardDrawer-Dd-0o1b--B4hUfY9b.js +0 -6
  350. package/dist/assets/BankAccountWarningSection-C_OfdR1O-BMVJxE-j.js +0 -51
  351. package/dist/assets/BusinessVerificationPage-DN88j0Rn-DzH0PVhP.js +0 -138
  352. package/dist/assets/ConfettiBurst-Ix0vYpu--B-yjeAz3.js +0 -1
  353. package/dist/assets/CustomerOnboardingAuthScreen-C_Q_XIl1.js +0 -1
  354. package/dist/assets/CustomerOnboardingContainerPage-D4BMPshV-BEJOCQX6.js +0 -1
  355. package/dist/assets/DashboardSidebarBackgroundAnimation-DPDd6e7b-ClZHrJ6l.js +0 -12
  356. package/dist/assets/DepositAccTransactionListPage-DOuU7gGT-CxNst2Ko.js +0 -66
  357. package/dist/assets/InsightsSection-CPg_uo3H-DaY57Nkj.js +0 -27
  358. package/dist/assets/LabeledAddressValueField-D-AO8-Me-DR8Qyzx1.js +0 -45
  359. package/dist/assets/MagicLinkACHDetailsPage-6iW79Hsc-BuBCCqa7.js +0 -1
  360. package/dist/assets/MagicLinkDomesticWireDetailsPage-KPRoVnEc-9k2m3ge7.js +0 -1
  361. package/dist/assets/MagicLinkInternationalWireDetailsPage-DjB2bi8k-BA612N6w.js +0 -1
  362. package/dist/assets/MagicLinkRoutes-0gOcNpgv.js +0 -72
  363. package/dist/assets/MagicLinkSuccessPage-JRpuY47p-CZGcRvVV.js +0 -31
  364. package/dist/assets/MyPendingActivationChargeCardListPage-DKvDUyn7-Cn7MG0Rp.js +0 -6
  365. package/dist/assets/NotificationsListConfig-CWWrsRBB-BQkEfnwX.js +0 -1
  366. package/dist/assets/PerformanceRoutes-647LNvtJ.js +0 -1
  367. package/dist/assets/ReferralListScreen-C9t9-uma.js +0 -5
  368. package/dist/assets/RewardsRoutes-BiuOGirU.js +0 -1
  369. package/dist/assets/ScheduleSequenceTable-CPf50z9S-CLdzdoca.js +0 -324
  370. package/dist/assets/SignOutScreen-DfH6txYx.js +0 -9
  371. package/dist/assets/StatementItem-CDx2knrL-D3uOvDYp.js +0 -31
  372. package/dist/assets/SuccessAnimation-C-AHWH-M-DYko07lj.js +0 -13
  373. package/dist/assets/SummaryCard-4S9PQQ5W-B2YKQ_55.js +0 -1
  374. package/dist/assets/TaskRoutes-CgARLANx.js +0 -9
  375. package/dist/assets/TransactionListPage-CEVs8CRQ-DxaQpOMD.js +0 -35
  376. package/dist/assets/VendorACHDetailsPage-KDUuJi9g-SMC7hwJD.js +0 -1
  377. package/dist/assets/VendorDomesticWireDetailsPage-Dotx5CDo-B6fOSB2X.js +0 -1
  378. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BRtCcxHm-BL32YiVm.js +0 -1
  379. package/dist/assets/VideoPlayer-2MQyZqi6-DqklpbYT.js +0 -77
  380. package/dist/assets/VideoPopup-ZFwt4A81-Ch4C2tup.js +0 -31
  381. package/dist/assets/WiseConfirmationScreen-Bat277PD.js +0 -12
  382. package/dist/assets/common-BGuhvMjF-Ry4gfI81.js +0 -1
  383. package/dist/assets/mapLoadingInProgressToTreeNode-CG-v5g2M-DTh9tKjd.js +0 -1
  384. package/dist/assets/mapSpacerToTreeNode-Cehw-jOG-pPZFbPSE.js +0 -1
  385. package/dist/assets/mapTimeframeBalancesToTreeNode-yMo9FeMO-BQEyuzFH.js +0 -1
  386. package/dist/assets/toCOABalancesWithID-DinJUeg4-DkE5puj7.js +0 -1
@@ -1,4 +1,4 @@
1
- import{e as H,a7 as de,T as ce,c8 as ue,i0 as E,hO as P,c9 as pe,V as a,A as me,a9 as he,O as W,o as t,x as m,n as ge,a8 as fe,cd as O,i1 as be,d as xe,w as I,aC as ye,k as r}from"./index-ByxsQZNo.js";import{a as R}from"./sentry-COYnhuxW.js";import{n as i}from"./mui-40xepic5.js";import{Gr as G,bH as we,bI as Ce}from"./zeni-epic-state-DCforPdM.js";import{m as Se}from"./BusyIndication-H_iNZOWd-BNmJKxof.js";import De from"./TransactionDetailPage-CunkyIXB-CNc17TsU.js";import"./pdf-A8jRKyoC.js";import"./core-B0nKoasK.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.js";import"./LabeledControlledCheckBoxField-Do7rlK6F-CTyXPdV4.js";import"./TrendWithTransactions-Bx63fv0P-BQ8GiA8P.js";import"./TrendChart-B2oLQN05-BkrG4BVH.js";import"./chartTypes-D2s_Hwo9-BbhqSw8p.js";import"./toCOABalancesWithID-DinJUeg4-DkE5puj7.js";import"./toChartData-DrYGpr_j-D2GR-55Z.js";import"./NoDataChart-CKqR_T30-DZpYrIq4.js";import"./InsightsSection-CPg_uo3H-DaY57Nkj.js";import"./NavigationDots-maxhYltq-IyF42HyI.js";import"./TransactionList-CEPVnfZD-ClBHZqTs.js";import"./ConstrainedInnerElement-CgdnMeoA-CUV-Iost.js";import"./BoxItem-BWNurtfc-J9WJ61G4.js";import"./commonDimensions-u85vL09f-D9VH5FSj.js";import"./panelSelectedMixin-Cddsb26L-DgahycaC.js";import"./uploadAttachment-DPYv4udq-CXZc-rXm.js";import"./radio-default-CiSgisfh-Cy5-Jl8l.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="2b9ad50a-bc0e-46a9-adc6-202bfd489f0c",e._sentryDebugIdIdentifier="sentry-dbid-2b9ad50a-bc0e-46a9-adc6-202bfd489f0c")}catch{}})();const B={labelWidth:new m(120,145,160)},$e=i.div`
1
+ import{e as H,a7 as de,T as ce,c8 as ue,i0 as E,hO as I,c9 as pe,V as a,A as me,a9 as he,O as W,o as t,x as m,n as ge,a8 as fe,cd as O,i1 as be,f as xe,w as P,aC as ye,m as r}from"./index-BHAcVHeH.js";import{a as R}from"./sentry-CY6wsJT-.js";import{n as i}from"./mui-Cni6P-fz.js";import{Gr as G,bH as we,bI as Ce}from"./zeni-epic-state-cFF_NqwA.js";import{m as Se}from"./BusyIndication-BZLVwIo8-6s8wSi7T.js";import De from"./TransactionDetailPage-B-blHtkn-CbeGtCIa.js";import"./pdf-CTJ16aEe.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./LabeledControlledCheckBoxField-C_c8Rs-i-Cz1fNsx_.js";import"./TrendWithTransactions-DP1jZL1i-2bOe0VtV.js";import"./TrendChart-B7Pox_TQ-7BkibFBY.js";import"./chartTypes-_AEkJ5Cg-CVupoc41.js";import"./toCOABalancesWithID-CuxwOBs0-D4IOrabU.js";import"./toChartData-BODe4y2V-CHAJ4Jnp.js";import"./NoDataChart-BBYUjdKn-CaszePO0.js";import"./InsightsSection-DgfCOO4F-rd7xZxVI.js";import"./NavigationDots-WUDG_g8M-CSwlLBTM.js";import"./TransactionList-FQvTXSzy-oI0UZGJM.js";import"./ConstrainedInnerElement-CgdnMeoA-bMF_z_bc.js";import"./BoxItem-Dqp4SNlI-EUjyx5Zm.js";import"./commonDimensions-_Dpm4Anv-BHT-EeW2.js";import"./panelSelectedMixin-Cddsb26L-BCo5ICo2.js";import"./uploadAttachment-Dbumcc_g-LXlwbhth.js";import"./radio-default-CiSgisfh--JwnmKdf.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="b29ac85e-b661-4dea-a859-1a0f25fbccfe",e._sentryDebugIdIdentifier="sentry-dbid-b29ac85e-b661-4dea-a859-1a0f25fbccfe")}catch{}})();const F={labelWidth:new m(120,145,160)},$e=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -12,14 +12,14 @@ import{e as H,a7 as de,T as ce,c8 as ue,i0 as E,hO as P,c9 as pe,V as a,A as me,
12
12
  `,je=i.div`
13
13
  color: ${e=>e.theme.colors.primary};
14
14
  margin: ${t.sp3} ${t.sp1};
15
- ${I.largeMedium.css};
15
+ ${P.largeMedium.css};
16
16
  `,ke=i.div`
17
17
  display: flex;
18
18
  flex: 1;
19
19
  background-color: ${e=>e.theme.colors.grey3};
20
20
  min-height: 1px;
21
21
  max-height: 1px;
22
- `,F=(e,s)=>`${e}.${s}`;function Ee({sectionId:e,jePostingDate:s,qboURL:n,isJELoading:l}){const c=W.getLocalizedStrings(),{dateFormat:C,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:S}}}=c,h=s.format(C.visual.MMMDCommaYYYYformat),g=H();return a.jsxs($e,{children:[a.jsx(je,{windowSize:g,children:S.header}),a.jsxs(ve,{children:[a.jsx(O,{label:{label:o.jePostingDate,width:B.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:F(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),a.jsx(ke,{}),a.jsx(O,{label:{label:o.jeLink,width:B.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:F(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:n?.toString()??"",autoComplete:"new-password",style:{color:xe.link},options:{pattern:be}},isDisabled:l?"disabled":void 0})]})]})}const x={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},J="linkJETransactionPage",Q="linkJETransaction",K=W.getLocalizedStrings(),{common:{footer:Y},dateFormat:Pe}=K,xt=({analytics:e,scheduleTab:s,jeScheduledTransaction:n,localData:l,saveStatus:c,isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:S,qboAppUrl:h,authParams:g,isDisabled:X,controllerUserDetails:L,isVendorBulkUpdateOnTransactionEnabled:Z,onUpdateLocalData:ee,onBackClick:A,onCancelClick:te,onSaveClick:ae,onFetchTransactionClick:ne})=>{const p=H(),T=de(c),y=G(h.toString(),l.jeLink),D=we(L.controllers),$=Ce(L.controllerUserIds),U=()=>{const u=n.vendor,d=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:s,transaction:{...P(d)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(l,y?.toString())},vendorName:u.name,fixedAssetsDetails:s==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:D,controllerUserIds:$}),te()},f=ce({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(l,h),values:_(l,h)});R.useEffect(()=>{const u=f.watch((d,{name:le})=>{le!=null&&d!=null&&ue(()=>(async re=>{ee(re)})(d))});return()=>{u.unsubscribe()}}),R.useEffect(()=>{if(c==="Completed"&&T==="In-Progress"){const u=n.vendor,d=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:s,transaction:{...P(d)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(l,y?.toString())},vendorName:u.name,fixedAssetsDetails:s==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:D,controllerUserIds:$}),A()}},[c,T,A]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:b}}}=K,oe=o!=null&&o.fetchState==="In-Progress",ie=o!=null&&o.fetchState==="Error",v=o!=null&&o.fetchState==="Completed",se=o==null||o.fetchState==="Not-Started",z=l.jeLink.type==="recommended",V=pe(f.formState.dirtyFields),j=f.formState.isValid,w=v&&V&&j||v&&z&&j,k=V&&j;return a.jsxs(Ie,{children:[a.jsxs(Ae,{windowSize:p,children:[a.jsx(Ve,{windowSize:p,children:b.linkJE}),a.jsx(Ne,{children:a.jsx(ze,{onClick:U})})]}),a.jsxs(Le,{children:[a.jsx(Te,{windowSize:p,children:a.jsx(me,{...f,children:a.jsx("form",{id:M(J),onSubmit:f.handleSubmit(()=>{ae()}),children:a.jsx(Ee,{jePostingDate:l.postingDate,sectionId:Q,qboURL:y,isJELoading:o?.fetchState==="In-Progress"})})})}),z?a.jsxs(Re,{windowSize:p,children:[a.jsx(Be,{})," ",b.zeniRecommendation]}):null,v?a.jsx(Ue,{children:a.jsx(De,{isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:S,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,attachmentUploadEndpoint:"",authParams:g,isDisabled:X??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:Z,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,a.jsxs(Oe,{children:[ie?a.jsx(q,{windowSize:p,children:b.transactionFetchError}):null,se?a.jsx(q,{windowSize:p,children:b.jeDetails}):null]}),oe?a.jsx(Se,{fetchState:o?.fetchState}):null]}),w||k?a.jsx(he,{formId:w?M(J):void 0,primaryBtn:{onClick:k&&!w?()=>{if(l.jeLink?.transactionDetailID!=null){const u=n.vendor,d=n.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:s,transaction:{...P(d)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(l,y?.toString())},vendorName:u.name,fixedAssetsDetails:s==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:D,controllerUserIds:$}),ne(l.jeLink.transactionDetailID)}}:void 0,label:k&&!w?b.fetchJE:Y.save,isLoading:c==="In-Progress",isDisabled:c==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:Y.cancel,shouldResetOnCancel:!0,onClick:U}}):null]})},M=e=>`${e}_form`,_=(e,s)=>({[Q]:{qboURL:G(s.toString(),e.jeLink),jePostingDate:e.postingDate.format(Pe.visual.MMMDCommaYYYYformat)}}),Ie=i.div`
22
+ `,B=(e,s)=>`${e}.${s}`;function Ee({sectionId:e,jePostingDate:s,qboURL:n,isJELoading:l}){const c=W.getLocalizedStrings(),{dateFormat:C,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:S}}}=c,h=s.format(C.visual.MMMDCommaYYYYformat),g=H();return a.jsxs($e,{children:[a.jsx(je,{windowSize:g,children:S.header}),a.jsxs(ve,{children:[a.jsx(O,{label:{label:o.jePostingDate,width:F.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:B(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),a.jsx(ke,{}),a.jsx(O,{label:{label:o.jeLink,width:F.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:B(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:n?.toString()??"",autoComplete:"new-password",style:{color:xe.link},options:{pattern:be}},isDisabled:l?"disabled":void 0})]})]})}const x={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},J="linkJETransactionPage",Q="linkJETransaction",K=W.getLocalizedStrings(),{common:{footer:M},dateFormat:Ie}=K,xt=({analytics:e,scheduleTab:s,jeScheduledTransaction:n,localData:l,saveStatus:c,isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:S,qboAppUrl:h,authParams:g,isDisabled:X,controllerUserDetails:L,isVendorBulkUpdateOnTransactionEnabled:Z,onUpdateLocalData:ee,onBackClick:A,onCancelClick:te,onSaveClick:ae,onFetchTransactionClick:ne})=>{const p=H(),T=de(c),y=G(h.toString(),l.jeLink),D=we(L.controllers),$=Ce(L.controllerUserIds),N=()=>{const u=n.vendor,d=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:s,transaction:{...I(d)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(l,y?.toString())},vendorName:u.name,fixedAssetsDetails:s==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:D,controllerUserIds:$}),te()},f=ce({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(l,h),values:_(l,h)});R.useEffect(()=>{const u=f.watch((d,{name:le})=>{le!=null&&d!=null&&ue(()=>(async re=>{ee(re)})(d))});return()=>{u.unsubscribe()}}),R.useEffect(()=>{if(c==="Completed"&&T==="In-Progress"){const u=n.vendor,d=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:s,transaction:{...I(d)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(l,y?.toString())},vendorName:u.name,fixedAssetsDetails:s==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:D,controllerUserIds:$}),A()}},[c,T,A]);const{common:{strings:{empty:U}},jeSchedules:{scheduleDetails:{linkJE:b}}}=K,oe=o!=null&&o.fetchState==="In-Progress",ie=o!=null&&o.fetchState==="Error",v=o!=null&&o.fetchState==="Completed",se=o==null||o.fetchState==="Not-Started",z=l.jeLink.type==="recommended",V=pe(f.formState.dirtyFields),j=f.formState.isValid,w=v&&V&&j||v&&z&&j,k=V&&j;return a.jsxs(Pe,{children:[a.jsxs(Ae,{windowSize:p,children:[a.jsx(Ve,{windowSize:p,children:b.linkJE}),a.jsx(Ue,{children:a.jsx(ze,{onClick:N})})]}),a.jsxs(Le,{children:[a.jsx(Te,{windowSize:p,children:a.jsx(me,{...f,children:a.jsx("form",{id:Y(J),onSubmit:f.handleSubmit(()=>{ae()}),children:a.jsx(Ee,{jePostingDate:l.postingDate,sectionId:Q,qboURL:y,isJELoading:o?.fetchState==="In-Progress"})})})}),z?a.jsxs(Re,{windowSize:p,children:[a.jsx(Fe,{})," ",b.zeniRecommendation]}):null,v?a.jsx(Ne,{children:a.jsx(De,{isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:S,transactionAttachmentEndpointToDownload:U,transactionAttachmentsEndpointToFetch:U,attachmentUploadEndpoint:"",authParams:g,isDisabled:X??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:Z,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,a.jsxs(Oe,{children:[ie?a.jsx(q,{windowSize:p,children:b.transactionFetchError}):null,se?a.jsx(q,{windowSize:p,children:b.jeDetails}):null]}),oe?a.jsx(Se,{fetchState:o?.fetchState}):null]}),w||k?a.jsx(he,{formId:w?Y(J):void 0,primaryBtn:{onClick:k&&!w?()=>{if(l.jeLink?.transactionDetailID!=null){const u=n.vendor,d=n.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:s,transaction:{...I(d)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(l,y?.toString())},vendorName:u.name,fixedAssetsDetails:s==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:D,controllerUserIds:$}),ne(l.jeLink.transactionDetailID)}}:void 0,label:k&&!w?b.fetchJE:M.save,isLoading:c==="In-Progress",isDisabled:c==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:M.cancel,shouldResetOnCancel:!0,onClick:N}}):null]})},Y=e=>`${e}_form`,_=(e,s)=>({[Q]:{qboURL:G(s.toString(),e.jeLink),jePostingDate:e.postingDate.format(Ie.visual.MMMDCommaYYYYformat)}}),Pe=i.div`
23
23
  display: flex;
24
24
  flex: 1 1 auto;
25
25
  width: 100%;
@@ -43,12 +43,12 @@ import{e as H,a7 as de,T as ce,c8 as ue,i0 as E,hO as P,c9 as pe,V as a,A as me,
43
43
  `,Te=i.div`
44
44
  max-width: 100%;
45
45
  margin-bottom: ${t.sp5};
46
- `,Ue=i.div`
46
+ `,Ne=i.div`
47
47
  width: 100%;
48
48
  flex: 1;
49
49
  margin-bottom: ${t.sp12};
50
50
  background-color: inherit;
51
- `,Ne=i.div`
51
+ `,Ue=i.div`
52
52
  display: flex;
53
53
  justify-content: flex-end;
54
54
  align-items: center;
@@ -78,7 +78,7 @@ import{e as H,a7 as de,T as ce,c8 as ue,i0 as E,hO as P,c9 as pe,V as a,A as me,
78
78
  background-color: ${e=>e.theme.colors.background};
79
79
  color: ${e=>e.theme.colors.hero};
80
80
  margin: ${t.sp3} ${t.sp1};
81
- ${I.standardRegular.css};
81
+ ${P.standardRegular.css};
82
82
  `,Oe=i.div`
83
83
  flex-grow: 1;
84
84
  width: 100%;
@@ -91,8 +91,8 @@ import{e as H,a7 as de,T as ce,c8 as ue,i0 as E,hO as P,c9 as pe,V as a,A as me,
91
91
  color: ${e=>e.theme.colors.hero};
92
92
  border: 1px solid ${e=>e.theme.colors.grey3};
93
93
  margin: ${t.sp3} ${t.sp1};
94
- ${I.standardRegular.css};
95
- `,Be=i(ye)`
94
+ ${P.standardRegular.css};
95
+ `,Fe=i(ye)`
96
96
  width: ${t.sp3};
97
97
  height: ${t.sp3};
98
- `;export{xt as default,M as uniqueFormName};
98
+ `;export{xt as default,Y as uniqueFormName};
@@ -1,4 +1,4 @@
1
- import{e as he,y as Me,T as me,x as d,dX as ue,V as t,eI as Be,A as ge,s as He,fw as Ue,o as r,w as We,bn as Ve,a5 as re,c6 as Ye,al as q,dS as Xe,L as qe,a9 as Ge,O as W,j as Je,cd as ur,a as pe,h as gr,_ as xr,gf as wr,fD as $r,P as de,k as f,a8 as Ke,bp as xe,c2 as Qe,l as b,ar as we,C as J,bi as Ze,aj as er,c1 as rr,d as G,H as tr,i5 as oe,ia as yr,ic as fr,id as br,cR as Le,eX as vr,eb as jr}from"./index-ByxsQZNo.js";import{a as ae}from"./sentry-COYnhuxW.js";import{n as i}from"./mui-40xepic5.js";import{F4 as Sr}from"./zeni-epic-state-DCforPdM.js";import{T as ir}from"./RoleWithToolTip-Bqdsc31P-CNmkPW05.js";import{j as or}from"./CardNumberSubText-BAWc12F9-CekGLfjU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="46dc2b73-0857-4db2-8d79-97f0e421c7f5",e._sentryDebugIdIdentifier="sentry-dbid-46dc2b73-0857-4db2-8d79-97f0e421c7f5")}catch{}})();const Z="cardName",ye=W.getLocalizedStrings().spendManagement.chargeCard.renamePopup;function vi({currentCardName:e,renameFetchState:m,onCancelClick:c,onSubmitClick:p}){const l=he(),w="RenameCardForm",s=me({mode:"all",defaultValues:{[Z]:e},values:{[Z]:e}});ae.useEffect(()=>{s.setFocus(Z)},[]);const u=s.handleSubmit(()=>{const x=s.getValues(Z);x!=null&&p(x)}),_=ue(s.formState.errors,Z),N=W.getLocalizedStrings().common,o=le.largeLabelWidth.value(l);return t.jsx(Cr,{windowSize:l,role:"presentation",children:t.jsx(Je,{onClickAway:()=>c(),children:t.jsxs(zr,{windowSize:l,children:[t.jsx(ge,{...s,children:t.jsxs(Ir,{id:w,onSubmit:x=>{x.preventDefault(),u()},children:[t.jsx(kr,{windowSize:l,children:ye.heading}),t.jsx(Dr,{hasError:_,children:t.jsx(ur,{label:{label:ye.newName,width:o},style:{width:"auto"},text:{type:"text",name:Z,defaultValue:e,placeholder:ye.placeholder,options:{required:!0,validate:x=>x!=null}}})})]})}),t.jsx(Tr,{children:t.jsxs(Lr,{children:[t.jsx(pe,{label:N.cancel,onClick:()=>{c()},style:{width:84}}),t.jsx(Pr,{}),t.jsx(pe,{variant:"primary",label:N.texts.update,style:{width:84,whiteSpace:"nowrap"},loading:m==="In-Progress",type:"submit",form:w})]})})]})})})}const le={width:new d(343,500,500),largeLabelWidth:new d(108,108,108),popupLeftRightPadding:new d(f[5],f[6]),popupTopBottomPadding:new d(f[5],f[5])},Cr=i.div`
1
+ import{e as he,y as Me,T as me,x as d,dX as ue,V as t,eI as Be,A as ge,s as He,fw as Ue,o as r,w as We,bn as Ve,a5 as re,c6 as Ye,al as q,dS as Xe,L as qe,a9 as Ge,O as W,k as Je,cd as ur,a as pe,h as gr,_ as xr,gf as wr,fD as $r,b as de,m as f,a8 as Ke,bp as xe,c2 as Qe,l as b,ar as we,C as J,bi as Ze,aj as er,c1 as rr,f as G,H as tr,i5 as oe,ia as yr,ic as fr,id as br,cR as Pe,eX as jr,eb as vr}from"./index-BHAcVHeH.js";import{a as ae}from"./sentry-CY6wsJT-.js";import{n as i}from"./mui-Cni6P-fz.js";import{F4 as Sr}from"./zeni-epic-state-cFF_NqwA.js";import{T as ir}from"./RoleWithToolTip-VOllzDDB-BXr_ucO6.js";import{j as or}from"./CardNumberSubText-12zyW5qQ-c22fv1fM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="eafa2b86-e83e-4e91-8bf4-b5ad54f3a44c",e._sentryDebugIdIdentifier="sentry-dbid-eafa2b86-e83e-4e91-8bf4-b5ad54f3a44c")}catch{}})();const Z="cardName",ye=W.getLocalizedStrings().spendManagement.chargeCard.renamePopup;function ji({currentCardName:e,renameFetchState:m,onCancelClick:c,onSubmitClick:p}){const l=he(),w="RenameCardForm",s=me({mode:"all",defaultValues:{[Z]:e},values:{[Z]:e}});ae.useEffect(()=>{s.setFocus(Z)},[]);const u=s.handleSubmit(()=>{const x=s.getValues(Z);x!=null&&p(x)}),_=ue(s.formState.errors,Z),N=W.getLocalizedStrings().common,o=le.largeLabelWidth.value(l);return t.jsx(Cr,{windowSize:l,role:"presentation",children:t.jsx(Je,{onClickAway:()=>c(),children:t.jsxs(zr,{windowSize:l,children:[t.jsx(ge,{...s,children:t.jsxs(Ir,{id:w,onSubmit:x=>{x.preventDefault(),u()},children:[t.jsx(kr,{windowSize:l,children:ye.heading}),t.jsx(Dr,{hasError:_,children:t.jsx(ur,{label:{label:ye.newName,width:o},style:{width:"auto"},text:{type:"text",name:Z,defaultValue:e,placeholder:ye.placeholder,options:{required:!0,validate:x=>x!=null}}})})]})}),t.jsx(Tr,{children:t.jsxs(Pr,{children:[t.jsx(pe,{label:N.cancel,onClick:()=>{c()},style:{width:84}}),t.jsx(Lr,{}),t.jsx(pe,{variant:"primary",label:N.texts.update,style:{width:84,whiteSpace:"nowrap"},loading:m==="In-Progress",type:"submit",form:w})]})})]})})})}const le={width:new d(343,500,500),largeLabelWidth:new d(108,108,108),popupLeftRightPadding:new d(f[5],f[6]),popupTopBottomPadding:new d(f[5],f[5])},Cr=i.div`
2
2
  position: fixed;
3
3
  top: ${r.sp0};
4
4
  left: ${r.sp0};
@@ -26,11 +26,11 @@ import{e as he,y as Me,T as me,x as d,dX as ue,V as t,eI as Be,A as ge,s as He,f
26
26
  `,kr=i(xe)`
27
27
  color: ${e=>e.theme.colors.primary};
28
28
  margin-bottom: ${r.sp3};
29
- `,Lr=i.div`
29
+ `,Pr=i.div`
30
30
  display: flex;
31
31
  justify-content: center;
32
32
  padding-top: ${r.sp4};
33
- `,Pr=i.div`
33
+ `,Lr=i.div`
34
34
  width: ${r.sp3};
35
35
  `,Tr=i.div`
36
36
  display: flex;
@@ -49,7 +49,7 @@ import{e as he,y as Me,T as me,x as d,dX as ue,V as t,eI as Be,A as ge,s as He,f
49
49
  }
50
50
  `,Ir=i.form`
51
51
  display: contents;
52
- `,ee="spendLimit",Q=W.getLocalizedStrings().spendManagement.chargeCard.updateSpendLimitPopup,{dateFormat:fe}=W.getLocalizedStrings();function ji({controllerEmails:e,isChargeCardFeatureEnabled:m,isDebitCardFeatureEnabled:c,isDebitCardSetupEnabled:p,isChargeCardSetupEnabled:l,cardDetail:w,transactionStatistics:s,depositAccountLimitFetchState:u,creditAccount:_,creditAccountRepayment:N,signedInUser:o,isDebitCard:x,classListFetchState:R,currentLimitAmount:H,currentSpentAmount:v,productInformation:U,creditAccountInformation:V,debitAccountInformation:Y,maxLimitAmount:O,isDisabled:K,updateLimitFetchState:A,recommendations:X,cardIssuedByRoles:$,cardHolderRoles:C,loggedInUserRole:D,cardIssuedByDepartmentName:a,cardHolderDepartmentName:n,onCancelClick:z,onSubmitClick:g}){const h=gr().analytics,I=he(),ne="SpendLimitForm",ar=xr();Sr(ar.loggedInUserRoleMap);const te=me({mode:"onBlur",reValidateMode:"onBlur",defaultValues:{[ee]:void 0}}),{control:nr,formState:{errors:sr}}=te,[dr,lr]=ae.useState(void 0),se=wr({control:nr,name:ee}),Ce=w?.type.code.includes("physical")===!0?w.cardActivationAttemptHistory[0]?.timestamp:w?.createTime,ze=(w?.recommendations??[]).map(y=>y.creditLimit.amount),cr=te.handleSubmit(()=>{const y=te.getValues(ee);y!=null&&(Pe({analytics:h,controllerEmails:e,isChargeCardFeatureEnabled:m,cardDetail:w,transactionStatistics:s,depositAccountLimitFetchState:u,creditAccount:_,creditAccountRepayment:N,signedInUser:o,isDebitCard:x,classListFetchState:R,currentLimitAmount:H,recommendedLimitAmounts:ze,cardActivationDate:Ce,cardIssuedByRoles:$,cardHolderRoles:C,cardIssuedByDepartmentName:a,cardHolderDepartmentName:n,loggedInUserRole:D,productInformation:U,creditAccountInformation:V,debitAccountInformation:Y,clickItem:"Update",newSpendLimitAmount:y}),g(y))}),ke=ue(sr,ee),$e=W.getLocalizedStrings().common,pr=ce.largeLabelWidth.value(I);ae.useEffect(()=>{lr(Nr(v,O,se))},[se,v,O]);const hr=(y,ie)=>t.jsxs(Ur,{isSelected:se===y.amount,onClick:()=>(mr=>{te.setValue(ee,mr,{shouldValidate:!0})})(y.amount),"data-testid":de("quick-amount-button",ie.toString()),children:[ie===1&&t.jsx(Wr,{}),re("0,0.[00]",y)]},ie);return t.jsx(Rr,{windowSize:I,role:"presentation","data-testid":de("update-spend-limit-popup"),children:t.jsx(Je,{onClickAway:()=>z(),children:t.jsxs(Ar,{windowSize:I,children:[t.jsx(ge,{...te,children:t.jsxs(Vr,{id:ne,onSubmit:y=>{y.preventDefault(),cr()},children:[t.jsx(Fr,{windowSize:I,children:Q.heading}),t.jsxs(Er,{windowSize:I,children:[Q.currentLimit,$e.strings.space," ",re("0,0.[00]",H),Q.slashMonth]}),t.jsxs(Br,{hasError:ke,children:[t.jsx($r,{label:{label:Q.newLimit,width:pr},showAdditionalInfoLabel:ke,additionalInfoLabel:dr,formattedTextField:{type:"number",name:ee,defaultValue:void 0,placeholder:Q.placeholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:y=>!!y&&y>0&&y>v.amount&&(O==null||y<=O.amount)},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},showOutlineOnFocus:!1}),X?.length?t.jsx(Hr,{windowSize:I,children:X?.map((y,ie)=>hr(y.creditLimit,ie))}):null]})]})}),t.jsx(Mr,{children:t.jsxs(_r,{children:[t.jsx(pe,{label:$e.cancel,onClick:()=>{w!=null&&Pe({analytics:h,controllerEmails:e,isChargeCardFeatureEnabled:m,cardDetail:w,transactionStatistics:s,depositAccountLimitFetchState:u,creditAccount:_,creditAccountRepayment:N,signedInUser:o,isDebitCard:x,classListFetchState:R,currentLimitAmount:H,recommendedLimitAmounts:ze,cardActivationDate:Ce,cardIssuedByRoles:$,cardHolderRoles:C,cardIssuedByDepartmentName:a,cardHolderDepartmentName:n,loggedInUserRole:D,clickItem:"Cancel",newSpendLimitAmount:se,productInformation:U,creditAccountInformation:V,debitAccountInformation:Y}),z()},style:{width:84},"data-testid":de("update-spend-limit-cancel-button")}),t.jsx(Or,{}),t.jsx(pe,{variant:"primary",label:$e.texts.update,style:{width:84,whiteSpace:"nowrap"},loading:A==="In-Progress",type:"submit",form:ne,"data-testid":de("update-spend-limit-submit-button"),disabled:K})]})})]})})})}const Nr=(e,m,c)=>{if(c!=null){if(c<=e.amount)return Q.amountBelowError.replace("_amount_",re("0,0.[00]",e));if(m!=null&&c>m.amount)return Q.amountExceedError.replace("_amount_",re("0,0.[00]",m))}},Pe=({analytics:e,controllerEmails:m,isChargeCardFeatureEnabled:c,productInformation:p,creditAccountInformation:l,debitAccountInformation:w,cardDetail:s,transactionStatistics:u,depositAccountLimitFetchState:_,creditAccount:N,creditAccountRepayment:o,signedInUser:x,isDebitCard:R,classListFetchState:H,currentLimitAmount:v,recommendedLimitAmounts:U,cardActivationDate:V,cardIssuedByRoles:Y,cardHolderRoles:O,cardIssuedByDepartmentName:K,cardHolderDepartmentName:A,loggedInUserRole:X,clickItem:$,newSpendLimitAmount:C})=>{s!=null&&H==="Completed"&&u!=null&&u.fetchState==="Completed"&&(!c||N.fetchState==="Completed"&&o.fetchState==="Completed")&&(!R||_==="Completed")&&e.trackCardsUpdateSpendLimitClick(m,p,{cardId:s.id,cardName:s.cardName,cardType:br(s.type.code),cardCategory:s.type.code.includes("physical")?"physical":"virtual",cardLimit:oe(s.limit.amount),cardLastFourDigits:s.accountLast4,cardStatus:s.status.code,cardAssignedDate:s.createTime?.format(fe.analytics.MMMDashDDDashYYYYFormat),cardIssuedDate:s.providerCardCreateTime?.format(fe.analytics.MMMDashDDDashYYYYFormat),cardActivatedDate:V?.format(fe.analytics.MMMDashDDDashYYYYFormat),cardLimitFrequency:s.creditLimitFrequency.name,cardSpentAmount:oe(s.balance.amount),cardAvailableLimit:oe(s.available.amount),cardUtilizationPercent:fr(s.limit.amount,s.available.amount),cardUtilizationAmount:oe(yr(s)),totalNumberOfDeclinedTransactions:u.statistics.totalNumberOfDeclinedTransactions,numberOfDeclinedTransactionsCurrentMonth:u.statistics.numberOfDeclinedTransactionsCurrentMonth,totalNumberOfPaidTransactions:u.statistics.totalNumberOfPaidTransactions,numberOfPaidTransactionsCurrentMonth:u.statistics.numberOfPaidTransactionsCurrentMonth,totalNumberOfCanceledTransactions:u.statistics.totalNumberOfCanceledTransactions,numberOfCanceledTransactionsCurrentMonth:u.statistics.numberOfCanceledTransactionsCurrentMonth,totalNumberOfAuthorizedTransactions:u.statistics.totalNumberOfAuthorizedTransactions,numberOfAuthorizedTransactionsCurrentMonth:u.statistics.numberOfAuthorizedTransactionsCurrentMonth,totalNumberOfTransactionsWithReceipts:u.statistics.totalNumberOfTransactionsWithReceipts,numberOfTransactionsWithReceiptsCurrentMonth:u.statistics.numberOfTransactionsWithReceiptsCurrentMonth},{cardIssuedByName:Le(s.cardCreatedByUser,!1),cardIssuedByEmail:s.cardCreatedByUser?.email,cardIssuedByUserId:s.cardCreatedByUser?.userId,cardIssuedByRole:Y,cardIssuedByDepartment:K},{cardholderName:Le(s.cardHolderUser,!1),cardholderEmail:s.cardHolderUser?.email,cardholderRole:O,cardholderUserId:s.cardHolderUser?.userId,cardholderDepartment:A},{cardLimitUpdatedByName:vr(x),cardLimitUpdatedByEmail:x.userEmail,cardLimitUpdatedByRole:X,cardLimitUpdatedByUserId:x.userId},$,oe(v.amount),U,C!=null&&U.includes(C),C,l,w)},ce={width:new d(343,500,500),largeLabelWidth:new d(108,108,108),popupLeftRightPadding:new d(f[5],f[6]),popupTopBottomPadding:new d(f[5],f[5])},Rr=i.div`
52
+ `,ee="spendLimit",Q=W.getLocalizedStrings().spendManagement.chargeCard.updateSpendLimitPopup,{dateFormat:fe}=W.getLocalizedStrings();function vi({controllerEmails:e,isChargeCardFeatureEnabled:m,isDebitCardFeatureEnabled:c,isDebitCardSetupEnabled:p,isChargeCardSetupEnabled:l,cardDetail:w,transactionStatistics:s,depositAccountLimitFetchState:u,creditAccount:_,creditAccountRepayment:N,signedInUser:o,isDebitCard:x,classListFetchState:R,currentLimitAmount:H,currentSpentAmount:j,productInformation:U,creditAccountInformation:V,debitAccountInformation:Y,maxLimitAmount:O,isDisabled:K,updateLimitFetchState:A,recommendations:X,cardIssuedByRoles:$,cardHolderRoles:C,loggedInUserRole:D,cardIssuedByDepartmentName:a,cardHolderDepartmentName:n,onCancelClick:z,onSubmitClick:g}){const h=gr().analytics,I=he(),ne="SpendLimitForm",ar=xr();Sr(ar.loggedInUserRoleMap);const te=me({mode:"onBlur",reValidateMode:"onBlur",defaultValues:{[ee]:void 0}}),{control:nr,formState:{errors:sr}}=te,[dr,lr]=ae.useState(void 0),se=wr({control:nr,name:ee}),Ce=w?.type.code.includes("physical")===!0?w.cardActivationAttemptHistory[0]?.timestamp:w?.createTime,ze=(w?.recommendations??[]).map(y=>y.creditLimit.amount),cr=te.handleSubmit(()=>{const y=te.getValues(ee);y!=null&&(Le({analytics:h,controllerEmails:e,isChargeCardFeatureEnabled:m,cardDetail:w,transactionStatistics:s,depositAccountLimitFetchState:u,creditAccount:_,creditAccountRepayment:N,signedInUser:o,isDebitCard:x,classListFetchState:R,currentLimitAmount:H,recommendedLimitAmounts:ze,cardActivationDate:Ce,cardIssuedByRoles:$,cardHolderRoles:C,cardIssuedByDepartmentName:a,cardHolderDepartmentName:n,loggedInUserRole:D,productInformation:U,creditAccountInformation:V,debitAccountInformation:Y,clickItem:"Update",newSpendLimitAmount:y}),g(y))}),ke=ue(sr,ee),$e=W.getLocalizedStrings().common,pr=ce.largeLabelWidth.value(I);ae.useEffect(()=>{lr(Nr(j,O,se))},[se,j,O]);const hr=(y,ie)=>t.jsxs(Ur,{isSelected:se===y.amount,onClick:()=>(mr=>{te.setValue(ee,mr,{shouldValidate:!0})})(y.amount),"data-testid":de("quick-amount-button",ie.toString()),children:[ie===1&&t.jsx(Wr,{}),re("0,0.[00]",y)]},ie);return t.jsx(Rr,{windowSize:I,role:"presentation","data-testid":de("update-spend-limit-popup"),children:t.jsx(Je,{onClickAway:()=>z(),children:t.jsxs(Ar,{windowSize:I,children:[t.jsx(ge,{...te,children:t.jsxs(Vr,{id:ne,onSubmit:y=>{y.preventDefault(),cr()},children:[t.jsx(Fr,{windowSize:I,children:Q.heading}),t.jsxs(Er,{windowSize:I,children:[Q.currentLimit,$e.strings.space," ",re("0,0.[00]",H),Q.slashMonth]}),t.jsxs(Br,{hasError:ke,children:[t.jsx($r,{label:{label:Q.newLimit,width:pr},showAdditionalInfoLabel:ke,additionalInfoLabel:dr,formattedTextField:{type:"number",name:ee,defaultValue:void 0,placeholder:Q.placeholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:y=>!!y&&y>0&&y>j.amount&&(O==null||y<=O.amount)},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},showOutlineOnFocus:!1}),X?.length?t.jsx(Hr,{windowSize:I,children:X?.map((y,ie)=>hr(y.creditLimit,ie))}):null]})]})}),t.jsx(Mr,{children:t.jsxs(_r,{children:[t.jsx(pe,{label:$e.cancel,onClick:()=>{w!=null&&Le({analytics:h,controllerEmails:e,isChargeCardFeatureEnabled:m,cardDetail:w,transactionStatistics:s,depositAccountLimitFetchState:u,creditAccount:_,creditAccountRepayment:N,signedInUser:o,isDebitCard:x,classListFetchState:R,currentLimitAmount:H,recommendedLimitAmounts:ze,cardActivationDate:Ce,cardIssuedByRoles:$,cardHolderRoles:C,cardIssuedByDepartmentName:a,cardHolderDepartmentName:n,loggedInUserRole:D,clickItem:"Cancel",newSpendLimitAmount:se,productInformation:U,creditAccountInformation:V,debitAccountInformation:Y}),z()},style:{width:84},"data-testid":de("update-spend-limit-cancel-button")}),t.jsx(Or,{}),t.jsx(pe,{variant:"primary",label:$e.texts.update,style:{width:84,whiteSpace:"nowrap"},loading:A==="In-Progress",type:"submit",form:ne,"data-testid":de("update-spend-limit-submit-button"),disabled:K})]})})]})})})}const Nr=(e,m,c)=>{if(c!=null){if(c<=e.amount)return Q.amountBelowError.replace("_amount_",re("0,0.[00]",e));if(m!=null&&c>m.amount)return Q.amountExceedError.replace("_amount_",re("0,0.[00]",m))}},Le=({analytics:e,controllerEmails:m,isChargeCardFeatureEnabled:c,productInformation:p,creditAccountInformation:l,debitAccountInformation:w,cardDetail:s,transactionStatistics:u,depositAccountLimitFetchState:_,creditAccount:N,creditAccountRepayment:o,signedInUser:x,isDebitCard:R,classListFetchState:H,currentLimitAmount:j,recommendedLimitAmounts:U,cardActivationDate:V,cardIssuedByRoles:Y,cardHolderRoles:O,cardIssuedByDepartmentName:K,cardHolderDepartmentName:A,loggedInUserRole:X,clickItem:$,newSpendLimitAmount:C})=>{s!=null&&H==="Completed"&&u!=null&&u.fetchState==="Completed"&&(!c||N.fetchState==="Completed"&&o.fetchState==="Completed")&&(!R||_==="Completed")&&e.trackCardsUpdateSpendLimitClick(m,p,{cardId:s.id,cardName:s.cardName,cardType:br(s.type.code),cardCategory:s.type.code.includes("physical")?"physical":"virtual",cardLimit:oe(s.limit.amount),cardLastFourDigits:s.accountLast4,cardStatus:s.status.code,cardAssignedDate:s.createTime?.format(fe.analytics.MMMDashDDDashYYYYFormat),cardIssuedDate:s.providerCardCreateTime?.format(fe.analytics.MMMDashDDDashYYYYFormat),cardActivatedDate:V?.format(fe.analytics.MMMDashDDDashYYYYFormat),cardLimitFrequency:s.creditLimitFrequency.name,cardSpentAmount:oe(s.balance.amount),cardAvailableLimit:oe(s.available.amount),cardUtilizationPercent:fr(s.limit.amount,s.available.amount),cardUtilizationAmount:oe(yr(s)),totalNumberOfDeclinedTransactions:u.statistics.totalNumberOfDeclinedTransactions,numberOfDeclinedTransactionsCurrentMonth:u.statistics.numberOfDeclinedTransactionsCurrentMonth,totalNumberOfPaidTransactions:u.statistics.totalNumberOfPaidTransactions,numberOfPaidTransactionsCurrentMonth:u.statistics.numberOfPaidTransactionsCurrentMonth,totalNumberOfCanceledTransactions:u.statistics.totalNumberOfCanceledTransactions,numberOfCanceledTransactionsCurrentMonth:u.statistics.numberOfCanceledTransactionsCurrentMonth,totalNumberOfAuthorizedTransactions:u.statistics.totalNumberOfAuthorizedTransactions,numberOfAuthorizedTransactionsCurrentMonth:u.statistics.numberOfAuthorizedTransactionsCurrentMonth,totalNumberOfTransactionsWithReceipts:u.statistics.totalNumberOfTransactionsWithReceipts,numberOfTransactionsWithReceiptsCurrentMonth:u.statistics.numberOfTransactionsWithReceiptsCurrentMonth},{cardIssuedByName:Pe(s.cardCreatedByUser,!1),cardIssuedByEmail:s.cardCreatedByUser?.email,cardIssuedByUserId:s.cardCreatedByUser?.userId,cardIssuedByRole:Y,cardIssuedByDepartment:K},{cardholderName:Pe(s.cardHolderUser,!1),cardholderEmail:s.cardHolderUser?.email,cardholderRole:O,cardholderUserId:s.cardHolderUser?.userId,cardholderDepartment:A},{cardLimitUpdatedByName:jr(x),cardLimitUpdatedByEmail:x.userEmail,cardLimitUpdatedByRole:X,cardLimitUpdatedByUserId:x.userId},$,oe(j.amount),U,C!=null&&U.includes(C),C,l,w)},ce={width:new d(343,500,500),largeLabelWidth:new d(108,108,108),popupLeftRightPadding:new d(f[5],f[6]),popupTopBottomPadding:new d(f[5],f[5])},Rr=i.div`
53
53
  position: fixed;
54
54
  top: ${r.sp0};
55
55
  left: ${r.sp0};
@@ -120,14 +120,14 @@ import{e as he,y as Me,T as me,x as d,dX as ue,V as t,eI as Be,A as ge,s as He,f
120
120
  color: ${e=>e.theme.colors.primary};
121
121
  border: ${e=>`1px solid ${e.theme.colors.primary}`};
122
122
  }
123
- `,Wr=i(jr)`
123
+ `,Wr=i(vr)`
124
124
  color: ${G.brandColorJade};
125
125
  fill: ${G.brandColorJade};
126
126
  width: ${r.sp3};
127
127
  height: ${r.sp3};
128
128
  `,Vr=i.form`
129
129
  display: contents;
130
- `,P={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),largeLabelWidth:new d(120,120,200),webkitLineClamp:new d(2,1,1,1,1),overlayWidth:new d(100,100,58),cardHolderDetailsPaddingX:new d(f[3],f[4]),cardNameSectionMarginLeft:new d(f[7],0),cardHolderDetailsGap:new d(f[1],0),recurringExpenseMerchantWidth:new d(112,240),recurringExpenseNextPaymentDateWidth:new d(112,104),recurringExpenseAmountWidth:new d(100,312),reasonTextFieldMarginTop:new d(f[3],0)},{common:j,closeCard:M}=W.getLocalizedStrings().spendManagement.chargeCard,k="reasonSection",Te="closeCardPage",F=(e,m)=>`${e}.${m}`,De=e=>`${e}_form`,{common:be,dateFormat:Yr,cockpit:Xr}=W.getLocalizedStrings(),Si=({showCloseCardDrawer:e,onCloseCloseCardDrawer:m,isChargeCardAdmin:c,chargeCardsByCardId:p,cardRecurringExpensesByCardId:l,cardRecurringExpenseFetchState:w,closeCardFetchState:s,onRemoveCardClick:u,onConfirmClick:_,onDismissClick:N})=>{const o=he(),x=Me(),[R,H]=ae.useState(Object.fromEntries(Object.keys(l).map((a,n)=>[a,n===0]))),v=me({mode:"all",reValidateMode:"onBlur",defaultValues:{[k]:{reason:void 0,reasonType:void 0}},values:{[k]:{reason:void 0,reasonType:void 0}}}),U=P.largeLabelWidth.value(o),{isValid:V,errors:Y}=v.formState,O=a=>`${p[a].cardHolderUser?.firstName??""} ${p[a].cardHolderUser?.lastName??""}`,K=ue(Y,F(k,"reasonType")),A=v.watch("reasonSection.reasonType"),X=v.handleSubmit(()=>{if(V){const a=v.getValues(),n={reason:a[k].reason,reasonType:a[k].reasonType};_(n)}}),$=Object.keys(l).length>1,C=Object.keys(l).length,D=Object.values(l).reduce((a,n)=>a+n.length,0);return t.jsx(Be,{anchor:"right",open:e,onClose:m,PaperProps:{style:{width:P.overlayWidth.valuePercentage(o),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:x.colors.black,opacity:.75,cursor:"pointer"}}},transitionDuration:250,children:t.jsxs(qr,{windowSize:o,children:[t.jsxs(Gr,{windowSize:o,children:[t.jsx(Jr,{windowSize:o,children:t.jsx(Qr,{onClick:()=>{N()}})}),o==="small"?t.jsx(nt,{windowSize:o,children:$?M.closeCards:M.closeCard}):t.jsx(st,{children:$?M.closeCards:M.closeCard}),w==="Completed"?t.jsx(ge,{...v,children:t.jsxs("form",{id:De(Te),onSubmit:X,children:[t.jsxs(dt,{children:[t.jsx(lt,{windowSize:o,children:$?D>0?`${M.multipleCardsHasRecurringExpenses.replace("_number_of_cards_",C.toString()).replace("_number_of_recurring_expenses_",D.toString())} ${D===1?j.expense:j.expenses} ${M.multipleCardsHasRecurringExpensesSuffix}`:M.multipleCardsNoRecurringExpenses.replace("_number_of_cards_",C.toString()):M.firstCardHasRecurringExpenses.replace("_number_of_recurring_expenses_",D.toString()).replace("_expense_",D===1?j.expense:j.expenses)}),$&&t.jsx(kt,{children:`${C} ${C===1?j.card:j.cards} ${j.selected}`}),Object.keys(l).map((a,n)=>{const z=l[a].length>0;return t.jsxs(ct,{onClick:()=>z?(g=>{H(h=>h[g]?{...h,[g]:!1}:{...Object.fromEntries(Object.keys(h).map(I=>[I,!1])),[g]:!0})})(a):void 0,isMoreThanOneCard:$,isLastCard:n===Object.keys(l).length-1,children:[t.jsxs(ht,{windowSize:o,children:[t.jsxs(mt,{windowSize:o,children:[t.jsxs(ut,{windowSize:o,children:[p[a].cardHolderUser?.photo!==void 0?t.jsx(Zr,{src:p[a].cardHolderUser?.photo.href,alt:Xr.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=He},loading:"lazy"}):t.jsx(Ue,{firstName:p[a].cardHolderUser?.firstName??"",lastName:p[a].cardHolderUser?.lastName??"",size:r.sp6}),t.jsxs("div",{children:[t.jsx(pt,{children:O(a)}),t.jsx(gt,{children:t.jsx(ir,{roles:p[a].cardHolderRoles.userRoles})})]})]}),o==="small"&&z&&(R[a]?t.jsx(Ne,{}):t.jsx(Re,{}))]}),t.jsxs(xt,{windowSize:o,children:[p[a].cardName,t.jsx(or,{cardDetail:p[a],forDetailPage:!0,styles:{...We.smallRegular.cssObject,position:"relative",top:"-5px"}})]}),t.jsxs(wt,{windowSize:o,children:[t.jsxs(St,{children:[t.jsx(Ct,{children:l[a].length}),t.jsx(jt,{children:j.recurringExpenses})]}),o!=="small"&&z&&(R[a]?t.jsx(Ne,{}):t.jsx(Re,{}))]})]}),$&&t.jsx(tt,{children:t.jsx(Ve,{variant:"standard",title:be.remove,children:t.jsx(rt,{onClick:()=>u(a)})})}),R[a]&&z&&t.jsxs(t.Fragment,{children:[t.jsx(Ie,{}),t.jsxs($t,{children:[t.jsxs(zt,{children:[t.jsx(je,{width:o==="small"?112:240,children:j.merchant}),t.jsx(je,{width:o==="small"?112:104,children:j.nextPaymentDate}),t.jsx(Lt,{width:o==="small"?100:312,children:j.amount})]}),l[a].map((g,h)=>t.jsxs("div",{children:[h>0&&t.jsx(Ie,{}),t.jsxs(yt,{children:[t.jsxs(ft,{windowSize:o,children:[t.jsx(it,{src:g.merchant.logo?.url?.href}),t.jsx(et,{windowSize:o,children:g.merchant.brandName??g.merchant.name})]}),t.jsx(bt,{windowSize:o,children:g.nextPaymentDate.format(Yr.visual.MMMDCommaYYYYformat)}),t.jsx(vt,{windowSize:o,children:re("0,0.00",g.amount)})]},g.merchant.name)]},g.merchant.name))]})]})]},a)})]}),t.jsx(Tt,{windowSize:o,children:j.letUsKnowWhy}),t.jsxs(Pt,{isReasonTextFieldVisible:A==="other",children:[t.jsxs(ot,{size:o,children:[t.jsx(Ye,{label:j.reasonLabel,htmlFor:F(k,"reasonType"),style:{padding:`${r.sp2} ${r.sp0}`,width:"fit-content"}}),t.jsxs(at,{labelWidth:U,size:o,children:[t.jsx(q,{label:{label:j.reason.lost},style:{width:"auto"},radioField:{name:F(k,"reasonType"),id:`${F(k,"reasonType")}.Lost or stolen`,value:"Lost or stolen",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>!!c||!!a},radioSize:"small"}}),t.jsx(q,{label:{label:j.reason.fraud},style:{width:"auto"},radioField:{name:F(k,"reasonType"),id:`${F(k,"reasonType")}.Fraud detected`,value:"Fraud detected",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>!!c||!!a},radioSize:"small"}}),t.jsx(q,{label:{label:j.reason.not_needed},style:{width:"auto"},radioField:{name:F(k,"reasonType"),id:`${F(k,"reasonType")}.Not needed`,value:"Not needed",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>!!c||!!a},radioSize:"small"}}),t.jsx(q,{label:{label:j.reason.other},style:{width:"auto"},radioField:{name:F(k,"reasonType"),id:`${F(k,"reasonType")}.other`,value:"other",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>!!c||!!a},radioSize:"small"}})]})]}),A==="other"?t.jsx(Xe,{style:{height:r.sp6,width:"100%",backgroundColor:x.colors.background,marginTop:`${P.reasonTextFieldMarginTop.valuePx(o)}`},type:"text",name:F(k,"reason"),placeholder:M.reasonPlaceholder,className:"reason-text-field",registerOptions:{required:!c,validate:a=>!!c||!!a}}):A==null&&!c&&K?t.jsx(Kr,{children:M.youNeedToProvideReasonToCloseCard}):null]})]})}):t.jsx(qe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),w==="Completed"&&t.jsx(Ge,{style:{zIndex:4,paddingTop:r.sp3,paddingBottom:r.sp3},formId:De(Te),helperStyle:{paddingTop:r.sp0,paddingBottom:r.sp0},primaryBtn:{label:be.confirm,isLoading:s==="In-Progress",variant:"danger"},cancelBtn:{label:be.cancel,style:{width:"90px"},onClick:()=>{N?.()}}})]})})},qr=i.div`
130
+ `,L={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),largeLabelWidth:new d(120,120,200),webkitLineClamp:new d(2,1,1,1,1),overlayWidth:new d(100,100,58),cardHolderDetailsPaddingX:new d(f[3],f[4]),cardNameSectionMarginLeft:new d(f[7],0),cardHolderDetailsGap:new d(f[1],0),recurringExpenseMerchantWidth:new d(112,240),recurringExpenseNextPaymentDateWidth:new d(112,104),recurringExpenseAmountWidth:new d(100,312),reasonTextFieldMarginTop:new d(f[3],0)},{common:v,closeCard:M}=W.getLocalizedStrings().spendManagement.chargeCard,k="reasonSection",Te="closeCardPage",F=(e,m)=>`${e}.${m}`,De=e=>`${e}_form`,{common:be,dateFormat:Yr,cockpit:Xr}=W.getLocalizedStrings(),Si=({showCloseCardDrawer:e,onCloseCloseCardDrawer:m,isChargeCardAdmin:c,chargeCardsByCardId:p,cardRecurringExpensesByCardId:l,cardRecurringExpenseFetchState:w,closeCardFetchState:s,onRemoveCardClick:u,onConfirmClick:_,onDismissClick:N})=>{const o=he(),x=Me(),[R,H]=ae.useState(Object.fromEntries(Object.keys(l).map((a,n)=>[a,n===0]))),j=me({mode:"all",reValidateMode:"onBlur",defaultValues:{[k]:{reason:void 0,reasonType:void 0}},values:{[k]:{reason:void 0,reasonType:void 0}}}),U=L.largeLabelWidth.value(o),{isValid:V,errors:Y}=j.formState,O=a=>`${p[a].cardHolderUser?.firstName??""} ${p[a].cardHolderUser?.lastName??""}`,K=ue(Y,F(k,"reasonType")),A=j.watch("reasonSection.reasonType"),X=j.handleSubmit(()=>{if(V){const a=j.getValues(),n={reason:a[k].reason,reasonType:a[k].reasonType};_(n)}}),$=Object.keys(l).length>1,C=Object.keys(l).length,D=Object.values(l).reduce((a,n)=>a+n.length,0);return t.jsx(Be,{anchor:"right",open:e,onClose:m,PaperProps:{style:{width:L.overlayWidth.valuePercentage(o),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:x.colors.black,opacity:.75,cursor:"pointer"}}},transitionDuration:250,children:t.jsxs(qr,{windowSize:o,children:[t.jsxs(Gr,{windowSize:o,children:[t.jsx(Jr,{windowSize:o,children:t.jsx(Qr,{onClick:()=>{N()}})}),o==="small"?t.jsx(nt,{windowSize:o,children:$?M.closeCards:M.closeCard}):t.jsx(st,{children:$?M.closeCards:M.closeCard}),w==="Completed"?t.jsx(ge,{...j,children:t.jsxs("form",{id:De(Te),onSubmit:X,children:[t.jsxs(dt,{children:[t.jsx(lt,{windowSize:o,children:$?D>0?`${M.multipleCardsHasRecurringExpenses.replace("_number_of_cards_",C.toString()).replace("_number_of_recurring_expenses_",D.toString())} ${D===1?v.expense:v.expenses} ${M.multipleCardsHasRecurringExpensesSuffix}`:M.multipleCardsNoRecurringExpenses.replace("_number_of_cards_",C.toString()):M.firstCardHasRecurringExpenses.replace("_number_of_recurring_expenses_",D.toString()).replace("_expense_",D===1?v.expense:v.expenses)}),$&&t.jsx(kt,{children:`${C} ${C===1?v.card:v.cards} ${v.selected}`}),Object.keys(l).map((a,n)=>{const z=l[a].length>0;return t.jsxs(ct,{onClick:()=>z?(g=>{H(h=>h[g]?{...h,[g]:!1}:{...Object.fromEntries(Object.keys(h).map(I=>[I,!1])),[g]:!0})})(a):void 0,isMoreThanOneCard:$,isLastCard:n===Object.keys(l).length-1,children:[t.jsxs(ht,{windowSize:o,children:[t.jsxs(mt,{windowSize:o,children:[t.jsxs(ut,{windowSize:o,children:[p[a].cardHolderUser?.photo!==void 0?t.jsx(Zr,{src:p[a].cardHolderUser?.photo.href,alt:Xr.userProfileAltText,onError:({currentTarget:g})=>{g.onerror=null,g.src=He},loading:"lazy"}):t.jsx(Ue,{firstName:p[a].cardHolderUser?.firstName??"",lastName:p[a].cardHolderUser?.lastName??"",size:r.sp6}),t.jsxs("div",{children:[t.jsx(pt,{children:O(a)}),t.jsx(gt,{children:t.jsx(ir,{roles:p[a].cardHolderRoles.userRoles})})]})]}),o==="small"&&z&&(R[a]?t.jsx(Ne,{}):t.jsx(Re,{}))]}),t.jsxs(xt,{windowSize:o,children:[p[a].cardName,t.jsx(or,{cardDetail:p[a],forDetailPage:!0,styles:{...We.smallRegular.cssObject,position:"relative",top:"-5px"}})]}),t.jsxs(wt,{windowSize:o,children:[t.jsxs(St,{children:[t.jsx(Ct,{children:l[a].length}),t.jsx(vt,{children:v.recurringExpenses})]}),o!=="small"&&z&&(R[a]?t.jsx(Ne,{}):t.jsx(Re,{}))]})]}),$&&t.jsx(tt,{children:t.jsx(Ve,{variant:"standard",title:be.remove,children:t.jsx(rt,{onClick:()=>u(a)})})}),R[a]&&z&&t.jsxs(t.Fragment,{children:[t.jsx(Ie,{}),t.jsxs($t,{children:[t.jsxs(zt,{children:[t.jsx(ve,{width:o==="small"?112:240,children:v.merchant}),t.jsx(ve,{width:o==="small"?112:104,children:v.nextPaymentDate}),t.jsx(Pt,{width:o==="small"?100:312,children:v.amount})]}),l[a].map((g,h)=>t.jsxs("div",{children:[h>0&&t.jsx(Ie,{}),t.jsxs(yt,{children:[t.jsxs(ft,{windowSize:o,children:[t.jsx(it,{src:g.merchant.logo?.url?.href}),t.jsx(et,{windowSize:o,children:g.merchant.brandName??g.merchant.name})]}),t.jsx(bt,{windowSize:o,children:g.nextPaymentDate.format(Yr.visual.MMMDCommaYYYYformat)}),t.jsx(jt,{windowSize:o,children:re("0,0.00",g.amount)})]},g.merchant.name)]},g.merchant.name))]})]})]},a)})]}),t.jsx(Tt,{windowSize:o,children:v.letUsKnowWhy}),t.jsxs(Lt,{isReasonTextFieldVisible:A==="other",children:[t.jsxs(ot,{size:o,children:[t.jsx(Ye,{label:v.reasonLabel,htmlFor:F(k,"reasonType"),style:{padding:`${r.sp2} ${r.sp0}`,width:"fit-content"}}),t.jsxs(at,{labelWidth:U,size:o,children:[t.jsx(q,{label:{label:v.reason.lost},style:{width:"auto"},radioField:{name:F(k,"reasonType"),id:`${F(k,"reasonType")}.Lost or stolen`,value:"Lost or stolen",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>!!c||!!a},radioSize:"small"}}),t.jsx(q,{label:{label:v.reason.fraud},style:{width:"auto"},radioField:{name:F(k,"reasonType"),id:`${F(k,"reasonType")}.Fraud detected`,value:"Fraud detected",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>!!c||!!a},radioSize:"small"}}),t.jsx(q,{label:{label:v.reason.not_needed},style:{width:"auto"},radioField:{name:F(k,"reasonType"),id:`${F(k,"reasonType")}.Not needed`,value:"Not needed",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>!!c||!!a},radioSize:"small"}}),t.jsx(q,{label:{label:v.reason.other},style:{width:"auto"},radioField:{name:F(k,"reasonType"),id:`${F(k,"reasonType")}.other`,value:"other",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>!!c||!!a},radioSize:"small"}})]})]}),A==="other"?t.jsx(Xe,{style:{height:r.sp6,width:"100%",backgroundColor:x.colors.background,marginTop:`${L.reasonTextFieldMarginTop.valuePx(o)}`},type:"text",name:F(k,"reason"),placeholder:M.reasonPlaceholder,className:"reason-text-field",registerOptions:{required:!c,validate:a=>!!c||!!a}}):A==null&&!c&&K?t.jsx(Kr,{children:M.youNeedToProvideReasonToCloseCard}):null]})]})}):t.jsx(qe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),w==="Completed"&&t.jsx(Ge,{style:{zIndex:4,paddingTop:r.sp3,paddingBottom:r.sp3},formId:De(Te),helperStyle:{paddingTop:r.sp0,paddingBottom:r.sp0},primaryBtn:{label:be.confirm,isLoading:s==="In-Progress",variant:"danger"},cancelBtn:{label:be.cancel,style:{width:"90px"},onClick:()=>{N?.()}}})]})})},qr=i.div`
131
131
  display: flex;
132
132
  flex-direction: column;
133
133
  background-color: ${e=>e.theme.colors.grey4};
@@ -136,8 +136,8 @@ import{e as he,y as Me,T as me,x as d,dX as ue,V as t,eI as Be,A as ge,s as He,f
136
136
  width: 100%;
137
137
  `,Gr=i.div`
138
138
  height: auto;
139
- padding-left: ${e=>`${P.containerPaddingLeft.valuePx(e.windowSize)}`};
140
- padding-right: ${e=>`${P.containerPaddingRight.valuePx(e.windowSize)}`};
139
+ padding-left: ${e=>`${L.containerPaddingLeft.valuePx(e.windowSize)}`};
140
+ padding-right: ${e=>`${L.containerPaddingRight.valuePx(e.windowSize)}`};
141
141
  margin-bottom: auto;
142
142
  `,Jr=i.div`
143
143
  display: flex;
@@ -146,7 +146,7 @@ import{e as he,y as Me,T as me,x as d,dX as ue,V as t,eI as Be,A as ge,s as He,f
146
146
  align-items: center;
147
147
  width: 100%;
148
148
  top: ${r.sp0};
149
- padding: ${e=>`${P.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${r.sp0}`};
149
+ padding: ${e=>`${L.navBarContainerPaddingXaxis.valuePx(e.windowSize)} ${r.sp0}`};
150
150
  z-index: 2;
151
151
  background-color: ${e=>e.theme.colors.grey4};
152
152
  `,Kr=i(J)`
@@ -170,7 +170,7 @@ import{e as he,y as Me,T as me,x as d,dX as ue,V as t,eI as Be,A as ge,s as He,f
170
170
  `,et=i(b)`
171
171
  margin-right: ${r.sp3};
172
172
  color: inherit;
173
- -webkit-line-clamp: ${e=>P.webkitLineClamp.value(e.windowSize)};
173
+ -webkit-line-clamp: ${e=>L.webkitLineClamp.value(e.windowSize)};
174
174
  -webkit-box-orient: vertical;
175
175
  overflow: hidden;
176
176
  max-width: 100%;
@@ -262,10 +262,10 @@ import{e as he,y as Me,T as me,x as d,dX as ue,V as t,eI as Be,A as ge,s as He,f
262
262
  justify-content: space-between;
263
263
  padding-top: ${r.sp3};
264
264
  padding-bottom: ${r.sp3};
265
- padding-left: ${e=>`${P.cardHolderDetailsPaddingX.valuePx(e.windowSize)}`};
266
- padding-right: ${e=>`${P.cardHolderDetailsPaddingX.valuePx(e.windowSize)}`};
265
+ padding-left: ${e=>`${L.cardHolderDetailsPaddingX.valuePx(e.windowSize)}`};
266
+ padding-right: ${e=>`${L.cardHolderDetailsPaddingX.valuePx(e.windowSize)}`};
267
267
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
268
- gap: ${e=>`${P.cardHolderDetailsGap.valuePx(e.windowSize)}`};
268
+ gap: ${e=>`${L.cardHolderDetailsGap.valuePx(e.windowSize)}`};
269
269
  `,mt=i.div`
270
270
  display: flex;
271
271
  justify-content: space-between;
@@ -287,14 +287,14 @@ import{e as he,y as Me,T as me,x as d,dX as ue,V as t,eI as Be,A as ge,s as He,f
287
287
  overflow: hidden;
288
288
  text-overflow: ellipsis;
289
289
  white-space: nowrap;
290
- margin-left: ${e=>`${P.cardNameSectionMarginLeft.valuePx(e.windowSize)}`};
290
+ margin-left: ${e=>`${L.cardNameSectionMarginLeft.valuePx(e.windowSize)}`};
291
291
  `,wt=i.div`
292
292
  width: 163px;
293
293
  color: inherit;
294
294
  display: flex;
295
295
  align-items: center;
296
296
  gap: ${r.sp3};
297
- margin-left: ${e=>`${P.cardNameSectionMarginLeft.valuePx(e.windowSize)}`};
297
+ margin-left: ${e=>`${L.cardNameSectionMarginLeft.valuePx(e.windowSize)}`};
298
298
  `,$t=i.div`
299
299
  margin: ${r.sp3} ${r.sp4} ${r.sp0} ${r.sp4};
300
300
  padding-bottom: ${r.sp2};
@@ -308,20 +308,20 @@ import{e as he,y as Me,T as me,x as d,dX as ue,V as t,eI as Be,A as ge,s as He,f
308
308
  max-height: 1px;
309
309
  width: 100%;
310
310
  `,ft=i(b)`
311
- width: ${e=>`${P.recurringExpenseMerchantWidth.valuePx(e.windowSize)}`};
311
+ width: ${e=>`${L.recurringExpenseMerchantWidth.valuePx(e.windowSize)}`};
312
312
  text-align: left;
313
313
  color: inherit;
314
314
  display: flex;
315
315
  gap: ${r.sp2};
316
316
  `,bt=i(b)`
317
- width: ${e=>`${P.recurringExpenseNextPaymentDateWidth.valuePx(e.windowSize)}`};
317
+ width: ${e=>`${L.recurringExpenseNextPaymentDateWidth.valuePx(e.windowSize)}`};
318
318
  text-align: left;
319
319
  color: inherit;
320
- `,vt=i(b)`
321
- width: ${e=>`${P.recurringExpenseAmountWidth.valuePx(e.windowSize)}`};
320
+ `,jt=i(b)`
321
+ width: ${e=>`${L.recurringExpenseAmountWidth.valuePx(e.windowSize)}`};
322
322
  text-align: right;
323
323
  color: inherit;
324
- `,jt=i(J)`
324
+ `,vt=i(J)`
325
325
  color: inherit;
326
326
  position: relative;
327
327
  top: -5px;
@@ -349,12 +349,12 @@ import{e as he,y as Me,T as me,x as d,dX as ue,V as t,eI as Be,A as ge,s as He,f
349
349
  min-width: ${r.sp4};
350
350
  min-height: ${r.sp4};
351
351
  color: inherit;
352
- `,je=i(tr)`
352
+ `,ve=i(tr)`
353
353
  width: ${e=>e.width}px;
354
354
  color: ${e=>e.theme.colors.hero};
355
- `,Lt=i(je)`
355
+ `,Pt=i(ve)`
356
356
  text-align: right;
357
- `,Pt=i.div`
357
+ `,Lt=i.div`
358
358
  border-radius: ${r.sp2};
359
359
  padding-left: ${r.sp4};
360
360
  padding-right: ${r.sp4};
@@ -374,7 +374,7 @@ import{e as he,y as Me,T as me,x as d,dX as ue,V as t,eI as Be,A as ge,s as He,f
374
374
  margin-bottom: ${r.sp3};
375
375
  margin-top: ${r.sp7};
376
376
  color: ${e=>e.theme.colors.primary};
377
- `,T={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),largeLabelWidth:new d(120,120,200),webkitLineClamp:new d(2,1,1,1,1),overlayWidth:new d(100,100,58),cardHolderDetailsPaddingX:new d(f[3],f[4]),cardNameSectionMarginLeft:new d(f[7],0),cardHolderDetailsGap:new d(f[1],0),recurringExpenseMerchantWidth:new d(112,240),recurringExpenseNextPaymentDateWidth:new d(112,104),recurringExpenseAmountWidth:new d(100,312),reasonTextFieldMarginTop:new d(f[3],0)},{lockCard:B,common:S}=W.getLocalizedStrings().spendManagement.chargeCard,L="reasonSection",Ae="lockCardPage",E=(e,m)=>`${e}.${m}`,Fe=e=>`${e}_form`,{common:ve,dateFormat:Dt,cockpit:It}=W.getLocalizedStrings(),Ci=({showLockCardDrawer:e,onCloseLockCardDrawer:m,isChargeCardAdmin:c,chargeCardsByCardId:p,cardRecurringExpensesByCardId:l,cardRecurringExpenseFetchState:w,lockCardFetchState:s,onRemoveCardClick:u,onConfirmClick:_,onDismissClick:N})=>{const o=he(),x=Me(),[R,H]=ae.useState(Object.fromEntries(Object.keys(l).map((n,z)=>[n,z===0]))),v=me({mode:"all",reValidateMode:"onBlur",defaultValues:{[L]:{reason:void 0,reasonType:void 0}},values:{[L]:{reason:void 0,reasonType:void 0}}}),U=T.largeLabelWidth.value(o),{isValid:V,errors:Y}=v.formState,O=n=>`${p[n].cardHolderUser?.firstName??""} ${p[n].cardHolderUser?.lastName??""}`,K=ue(Y,E(L,"reasonType")),A=v.watch("reasonSection.reasonType"),X=v.handleSubmit(()=>{if(V){const n=v.getValues(),z={reason:n[L].reason,reasonType:n[L].reasonType};_(z)}}),$=Object.keys(l).length>1,C=Object.keys(l).length,D=Object.values(l).reduce((n,z)=>n+z.length,0),a=l[Object.keys(l)[0]].length>0;return t.jsx(Be,{anchor:"right",open:e,onClose:m,PaperProps:{style:{width:T.overlayWidth.valuePercentage(o),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:x.colors.black,opacity:.75,cursor:"pointer"}}},transitionDuration:250,children:t.jsxs(Nt,{windowSize:o,children:[t.jsxs(Rt,{windowSize:o,children:[t.jsx(Et,{windowSize:o,children:t.jsx(Ot,{onClick:()=>{N()}})}),o==="small"?t.jsx(Yt,{windowSize:o,children:$?B.lockCards:B.lockCard}):t.jsx(Xt,{children:$?B.lockCards:B.lockCard}),w==="Completed"?t.jsx(ge,{...v,children:t.jsxs("form",{id:Fe(Ae),onSubmit:X,children:[t.jsxs(qt,{children:[t.jsx(Gt,{windowSize:o,children:$?D>0?`${B.multipleCardsHasRecurringExpenses.replace("_number_of_cards_",C.toString()).replace("_number_of_recurring_expenses_",D.toString())} ${D===1?S.expense:S.expenses}.`:B.multipleCardsNoRecurringExpenses.replace("_number_of_cards_",C.toString()):a?B.firstCardHasRecurringExpenses.replace("_number_of_recurring_expenses_",D.toString()).replace("_expense_",D===1?S.expense:S.expenses):B.firstCardNoRecurringExpenses}),$&&t.jsx(hi,{children:`${C} ${C===1?S.card:S.cards} ${S.selected}`}),Object.keys(l).map((n,z)=>{const g=l[n].length>0;return t.jsxs(Jt,{onClick:()=>g?(h=>{H(I=>I[h]?{...I,[h]:!1}:{...Object.fromEntries(Object.keys(I).map(ne=>[ne,!1])),[h]:!0})})(n):void 0,isMoreThanOneCard:$,isLastCard:z===Object.keys(l).length-1,children:[t.jsxs(Qt,{windowSize:o,children:[t.jsxs(Ft,{windowSize:o,children:[t.jsxs(Zt,{windowSize:o,children:[p[n].cardHolderUser?.photo!==void 0?t.jsx(Mt,{src:p[n].cardHolderUser?.photo.href,alt:It.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=He},loading:"lazy"}):t.jsx(Ue,{firstName:p[n].cardHolderUser?.firstName??"",lastName:p[n].cardHolderUser?.lastName??"",size:r.sp6}),t.jsxs("div",{children:[t.jsx(Kt,{children:O(n)}),t.jsx(ei,{children:t.jsx(ir,{roles:p[n].cardHolderRoles.userRoles})})]})]}),o==="small"&&g&&(R[n]?t.jsx(_e,{}):t.jsx(Oe,{}))]}),t.jsxs(ri,{windowSize:o,children:[p[n].cardName,t.jsx(or,{cardDetail:p[n],forDetailPage:!0,styles:{...We.smallRegular.cssObject,position:"relative",top:"-5px"}})]}),t.jsxs(ti,{windowSize:o,children:[t.jsxs(di,{children:[t.jsx(ci,{children:l[n].length}),t.jsx(li,{children:S.recurringExpenses})]}),o!=="small"&&g&&(R[n]?t.jsx(_e,{}):t.jsx(Oe,{}))]})]}),$&&t.jsx(At,{children:t.jsx(Ve,{variant:"standard",title:ve.remove,children:t.jsx(Ht,{onClick:()=>u(n)})})}),R[n]&&g&&t.jsxs(t.Fragment,{children:[t.jsx(Ee,{}),t.jsxs(ii,{children:[t.jsxs(pi,{children:[t.jsx(Se,{width:o==="small"?112:240,children:S.merchant}),t.jsx(Se,{width:o==="small"?112:104,children:S.nextPaymentDate}),t.jsx(mi,{width:o==="small"?100:312,children:S.amount})]}),l[n].map((h,I)=>t.jsxs("div",{children:[I>0&&t.jsx(Ee,{}),t.jsxs(oi,{children:[t.jsxs(ai,{windowSize:o,children:[t.jsx(Ut,{src:h.merchant.logo?.url?.href}),t.jsx(Bt,{windowSize:o,children:h.merchant.brandName??h.merchant.name})]}),t.jsx(ni,{windowSize:o,children:h.nextPaymentDate.format(Dt.visual.MMMDCommaYYYYformat)}),t.jsx(si,{windowSize:o,children:re("0,0.00",h.amount)})]},h.merchant.name)]},h.merchant.name))]})]})]},n)})]}),t.jsx(gi,{windowSize:o,children:S.letUsKnowWhy}),t.jsxs(ui,{isReasonTextFieldVisible:A==="other",children:[t.jsxs(Wt,{size:o,children:[t.jsx(Ye,{label:S.reasonLabel,htmlFor:E(L,"reasonType"),style:{padding:`${r.sp2} ${r.sp0}`,width:"fit-content"}}),t.jsxs(Vt,{labelWidth:U,size:o,children:[t.jsx(q,{label:{label:S.reason.lost},style:{width:"auto"},radioField:{name:E(L,"reasonType"),id:`${E(L,"reasonType")}.Lost or stolen`,value:"Lost or stolen",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(q,{label:{label:S.reason.fraud},style:{width:"auto"},radioField:{name:E(L,"reasonType"),id:`${E(L,"reasonType")}.Fraud detected`,value:"Fraud detected",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(q,{label:{label:S.reason.not_needed},style:{width:"auto"},radioField:{name:E(L,"reasonType"),id:`${E(L,"reasonType")}.Not needed`,value:"Not needed",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(q,{label:{label:S.reason.other},style:{width:"auto"},radioField:{name:E(L,"reasonType"),id:`${E(L,"reasonType")}.other`,value:"other",style:{height:r.sp3,width:r.sp3},radioSize:"small"}})]})]}),A==="other"?t.jsx(Xe,{style:{height:r.sp6,width:"100%",backgroundColor:x.colors.background,marginTop:`${T.reasonTextFieldMarginTop.valuePx(o)}`},type:"text",name:E(L,"reason"),placeholder:B.reasonPlaceholder,className:"reason-text-field"}):A==null&&!c&&K?t.jsx(_t,{children:B.youNeedToProvideReasonToLockCard}):null]})]})}):t.jsx(qe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),w==="Completed"&&t.jsx(Ge,{style:{zIndex:4,paddingTop:r.sp3,paddingBottom:r.sp3},formId:Fe(Ae),helperStyle:{paddingTop:r.sp0,paddingBottom:r.sp0},primaryBtn:{label:ve.confirm,isLoading:s==="In-Progress"},cancelBtn:{label:ve.cancel,style:{width:"90px"},onClick:()=>{N?.()}}})]})})},Nt=i.div`
377
+ `,T={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),largeLabelWidth:new d(120,120,200),webkitLineClamp:new d(2,1,1,1,1),overlayWidth:new d(100,100,58),cardHolderDetailsPaddingX:new d(f[3],f[4]),cardNameSectionMarginLeft:new d(f[7],0),cardHolderDetailsGap:new d(f[1],0),recurringExpenseMerchantWidth:new d(112,240),recurringExpenseNextPaymentDateWidth:new d(112,104),recurringExpenseAmountWidth:new d(100,312),reasonTextFieldMarginTop:new d(f[3],0)},{lockCard:B,common:S}=W.getLocalizedStrings().spendManagement.chargeCard,P="reasonSection",Ae="lockCardPage",E=(e,m)=>`${e}.${m}`,Fe=e=>`${e}_form`,{common:je,dateFormat:Dt,cockpit:It}=W.getLocalizedStrings(),Ci=({showLockCardDrawer:e,onCloseLockCardDrawer:m,isChargeCardAdmin:c,chargeCardsByCardId:p,cardRecurringExpensesByCardId:l,cardRecurringExpenseFetchState:w,lockCardFetchState:s,onRemoveCardClick:u,onConfirmClick:_,onDismissClick:N})=>{const o=he(),x=Me(),[R,H]=ae.useState(Object.fromEntries(Object.keys(l).map((n,z)=>[n,z===0]))),j=me({mode:"all",reValidateMode:"onBlur",defaultValues:{[P]:{reason:void 0,reasonType:void 0}},values:{[P]:{reason:void 0,reasonType:void 0}}}),U=T.largeLabelWidth.value(o),{isValid:V,errors:Y}=j.formState,O=n=>`${p[n].cardHolderUser?.firstName??""} ${p[n].cardHolderUser?.lastName??""}`,K=ue(Y,E(P,"reasonType")),A=j.watch("reasonSection.reasonType"),X=j.handleSubmit(()=>{if(V){const n=j.getValues(),z={reason:n[P].reason,reasonType:n[P].reasonType};_(z)}}),$=Object.keys(l).length>1,C=Object.keys(l).length,D=Object.values(l).reduce((n,z)=>n+z.length,0),a=l[Object.keys(l)[0]].length>0;return t.jsx(Be,{anchor:"right",open:e,onClose:m,PaperProps:{style:{width:T.overlayWidth.valuePercentage(o),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:x.colors.black,opacity:.75,cursor:"pointer"}}},transitionDuration:250,children:t.jsxs(Nt,{windowSize:o,children:[t.jsxs(Rt,{windowSize:o,children:[t.jsx(Et,{windowSize:o,children:t.jsx(Ot,{onClick:()=>{N()}})}),o==="small"?t.jsx(Yt,{windowSize:o,children:$?B.lockCards:B.lockCard}):t.jsx(Xt,{children:$?B.lockCards:B.lockCard}),w==="Completed"?t.jsx(ge,{...j,children:t.jsxs("form",{id:Fe(Ae),onSubmit:X,children:[t.jsxs(qt,{children:[t.jsx(Gt,{windowSize:o,children:$?D>0?`${B.multipleCardsHasRecurringExpenses.replace("_number_of_cards_",C.toString()).replace("_number_of_recurring_expenses_",D.toString())} ${D===1?S.expense:S.expenses}.`:B.multipleCardsNoRecurringExpenses.replace("_number_of_cards_",C.toString()):a?B.firstCardHasRecurringExpenses.replace("_number_of_recurring_expenses_",D.toString()).replace("_expense_",D===1?S.expense:S.expenses):B.firstCardNoRecurringExpenses}),$&&t.jsx(hi,{children:`${C} ${C===1?S.card:S.cards} ${S.selected}`}),Object.keys(l).map((n,z)=>{const g=l[n].length>0;return t.jsxs(Jt,{onClick:()=>g?(h=>{H(I=>I[h]?{...I,[h]:!1}:{...Object.fromEntries(Object.keys(I).map(ne=>[ne,!1])),[h]:!0})})(n):void 0,isMoreThanOneCard:$,isLastCard:z===Object.keys(l).length-1,children:[t.jsxs(Qt,{windowSize:o,children:[t.jsxs(Ft,{windowSize:o,children:[t.jsxs(Zt,{windowSize:o,children:[p[n].cardHolderUser?.photo!==void 0?t.jsx(Mt,{src:p[n].cardHolderUser?.photo.href,alt:It.userProfileAltText,onError:({currentTarget:h})=>{h.onerror=null,h.src=He},loading:"lazy"}):t.jsx(Ue,{firstName:p[n].cardHolderUser?.firstName??"",lastName:p[n].cardHolderUser?.lastName??"",size:r.sp6}),t.jsxs("div",{children:[t.jsx(Kt,{children:O(n)}),t.jsx(ei,{children:t.jsx(ir,{roles:p[n].cardHolderRoles.userRoles})})]})]}),o==="small"&&g&&(R[n]?t.jsx(_e,{}):t.jsx(Oe,{}))]}),t.jsxs(ri,{windowSize:o,children:[p[n].cardName,t.jsx(or,{cardDetail:p[n],forDetailPage:!0,styles:{...We.smallRegular.cssObject,position:"relative",top:"-5px"}})]}),t.jsxs(ti,{windowSize:o,children:[t.jsxs(di,{children:[t.jsx(ci,{children:l[n].length}),t.jsx(li,{children:S.recurringExpenses})]}),o!=="small"&&g&&(R[n]?t.jsx(_e,{}):t.jsx(Oe,{}))]})]}),$&&t.jsx(At,{children:t.jsx(Ve,{variant:"standard",title:je.remove,children:t.jsx(Ht,{onClick:()=>u(n)})})}),R[n]&&g&&t.jsxs(t.Fragment,{children:[t.jsx(Ee,{}),t.jsxs(ii,{children:[t.jsxs(pi,{children:[t.jsx(Se,{width:o==="small"?112:240,children:S.merchant}),t.jsx(Se,{width:o==="small"?112:104,children:S.nextPaymentDate}),t.jsx(mi,{width:o==="small"?100:312,children:S.amount})]}),l[n].map((h,I)=>t.jsxs("div",{children:[I>0&&t.jsx(Ee,{}),t.jsxs(oi,{children:[t.jsxs(ai,{windowSize:o,children:[t.jsx(Ut,{src:h.merchant.logo?.url?.href}),t.jsx(Bt,{windowSize:o,children:h.merchant.brandName??h.merchant.name})]}),t.jsx(ni,{windowSize:o,children:h.nextPaymentDate.format(Dt.visual.MMMDCommaYYYYformat)}),t.jsx(si,{windowSize:o,children:re("0,0.00",h.amount)})]},h.merchant.name)]},h.merchant.name))]})]})]},n)})]}),t.jsx(gi,{windowSize:o,children:S.letUsKnowWhy}),t.jsxs(ui,{isReasonTextFieldVisible:A==="other",children:[t.jsxs(Wt,{size:o,children:[t.jsx(Ye,{label:S.reasonLabel,htmlFor:E(P,"reasonType"),style:{padding:`${r.sp2} ${r.sp0}`,width:"fit-content"}}),t.jsxs(Vt,{labelWidth:U,size:o,children:[t.jsx(q,{label:{label:S.reason.lost},style:{width:"auto"},radioField:{name:E(P,"reasonType"),id:`${E(P,"reasonType")}.Lost or stolen`,value:"Lost or stolen",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(q,{label:{label:S.reason.fraud},style:{width:"auto"},radioField:{name:E(P,"reasonType"),id:`${E(P,"reasonType")}.Fraud detected`,value:"Fraud detected",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(q,{label:{label:S.reason.not_needed},style:{width:"auto"},radioField:{name:E(P,"reasonType"),id:`${E(P,"reasonType")}.Not needed`,value:"Not needed",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(q,{label:{label:S.reason.other},style:{width:"auto"},radioField:{name:E(P,"reasonType"),id:`${E(P,"reasonType")}.other`,value:"other",style:{height:r.sp3,width:r.sp3},radioSize:"small"}})]})]}),A==="other"?t.jsx(Xe,{style:{height:r.sp6,width:"100%",backgroundColor:x.colors.background,marginTop:`${T.reasonTextFieldMarginTop.valuePx(o)}`},type:"text",name:E(P,"reason"),placeholder:B.reasonPlaceholder,className:"reason-text-field"}):A==null&&!c&&K?t.jsx(_t,{children:B.youNeedToProvideReasonToLockCard}):null]})]})}):t.jsx(qe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),w==="Completed"&&t.jsx(Ge,{style:{zIndex:4,paddingTop:r.sp3,paddingBottom:r.sp3},formId:Fe(Ae),helperStyle:{paddingTop:r.sp0,paddingBottom:r.sp0},primaryBtn:{label:je.confirm,isLoading:s==="In-Progress"},cancelBtn:{label:je.cancel,style:{width:"90px"},onClick:()=>{N?.()}}})]})})},Nt=i.div`
378
378
  display: flex;
379
379
  flex-direction: column;
380
380
  background-color: ${e=>e.theme.colors.grey4};
@@ -620,4 +620,4 @@ import{e as he,y as Me,T as me,x as d,dX as ue,V as t,eI as Be,A as ge,s as He,f
620
620
  margin-bottom: ${r.sp3};
621
621
  margin-top: ${r.sp7};
622
622
  color: ${e=>e.theme.colors.primary};
623
- `;export{Ci as L,ji as P,vi as k,Si as z};
623
+ `;export{Ci as L,vi as P,ji as k,Si as z};
@@ -1,4 +1,4 @@
1
- import{O as C,e as L,T as A,V as a,A as R,bR as B,cg as W,x as m,ci as z,o as t,bT as E,k as u,au as U,ac as V,bp as Y}from"./index-ByxsQZNo.js";import{n as d}from"./mui-40xepic5.js";import{uS as _,bG as $,bs as S}from"./zeni-epic-state-DCforPdM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="4a69f8f3-6625-431b-b3cd-41fe577405fe",e._sentryDebugIdIdentifier="sentry-dbid-4a69f8f3-6625-431b-b3cd-41fe577405fe")}catch{}})();const s={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},N=d.div`
1
+ import{O as C,e as L,T as A,V as a,A as R,bR as B,cg as W,x as m,ci as z,o as t,bT as E,m as u,au as U,ac as V,bp as Y}from"./index-BHAcVHeH.js";import{n as d}from"./mui-Cni6P-fz.js";import{uS as _,bG as $,bs as S}from"./zeni-epic-state-cFF_NqwA.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="dfee57e0-5543-4a44-8375-e845e2698219",e._sentryDebugIdIdentifier="sentry-dbid-dfee57e0-5543-4a44-8375-e845e2698219")}catch{}})();const s={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},N=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -12,7 +12,7 @@ import{O as C,e as L,T as A,V as a,A as R,bR as B,cg as W,x as m,ci as z,o as t,
12
12
  background-color: ${e=>e.theme.colors.grey3};
13
13
  min-height: 1px;
14
14
  max-height: 1px;
15
- `;function X({saveDetailsFetchState:e,paymentData:o,onProceedForMarkAsPaid:r,onCancel:h}){const{spendManagement:{billPay:{billDetails:{paymentOutsideZeni:y,paymentDate:f,cancel:i}}},dateFormat:{visual:g,analytics:b}}=C.getLocalizedStrings(),{popUpTitle:x,paymentModeLabel:F,markAsPaid:M,defaultDateInfo:I,paymentModeOptions:w,selectDate:j,selectMethod:P}=y,l=L(),D="payment-outside-zeni-form",p="paymentMode",c="paymentDate",k=A({mode:"all",values:{[p]:{selectedOption:o?.paymentMode,allOptions:w.map(n=>n.value)},[c]:o?.paymentDate?.toDate()}}),O=k.handleSubmit(n=>{r({paymentDate:n[c]!=null?$(n[c].toString()):$(S().startOf("month").format(b.YYYYDashMMDashDDFormat).toString()),paymentMode:n[p]?.selectedOption!=null?_(n[p]?.selectedOption):"other"})});return a.jsx(R,{...k,children:a.jsx("form",{id:D,onSubmit:O,children:a.jsx(B,{formId:D,titleComponent:a.jsx(E,{children:x}),primaryButtonText:M,primaryButtonWidth:128,secondaryButtonWidth:128,secondaryButtonText:i,isLoading:e==="In-Progress",isDisabled:e==="In-Progress",isEditPopup:!0,shouldClickAway:e!=="In-Progress",action:{onOkClick:()=>null,onCancelClick:h},children:a.jsxs(N,{windowSize:l,children:[a.jsx(W,{label:{label:F,width:s.labelWidth.value(l)},style:{width:s.width.valuePx(l)},singleSelectField:{singleSelect:{getLabelForId:n=>w.find(T=>T.value===n)?.label??"",showTickMark:!1,alwaysShowEyeTooltip:!1,name:p,placeholder:P,showValueEyeIcon:!1,showEyeIconOnSelect:!1},defaultValue:{selectedOption:o?.paymentMode,allOptions:w?.map(n=>n.value)??[]}},isFunctional:!0}),a.jsx(G,{}),a.jsx(z,{label:{label:f,width:s.labelWidth.value(l)},style:{paddingBottom:s.paddingBottom.valuePx(l),width:s.width.valuePx(l),borderRadius:t.sp0},additionalPaymentInfoLabel:I,additionalPaymentInfoLabelStyle:{borderBottomRightRadius:t.sp2,borderBottomLeftRadius:t.sp2,paddingTop:t.sp1,paddingBottom:t.sp1,paddingLeft:t.sp3,paddingRight:s.paddingRight.valuePx(l),textAlign:"left"},dateField:{name:c,placeholder:j,defaultValue:o?.paymentDate,dateFormat:g.defaultInput,maxDate:S(),minDate:$("01 Jan 1900"),autoComplete:"off"}})]})})})})}const ee=({withdrawFrom:e,paymentDate:o,onOkClick:r,onCancelClick:h,onClickAway:y})=>{const{dateFormat:f,spendManagement:{billPay:i},common:{strings:g}}=C.getLocalizedStrings();if(e!=null&&o!=null){const b=`${e?.label} ${e?.maskedAccountNumber}`,x=a.jsx(J,{children:a.jsxs(Z,{children:[a.jsx(v,{children:b}),i.insufficientFunds.popUp.hasLowBalance,g.space,i.insufficientFunds.popUp.addMoney,a.jsx(v,{children:o?.format(f.visual.MMMDFormat)}),i.insufficientFunds.popUp.avoidFailure]})});return a.jsx(B,{titleComponent:a.jsx(q,{children:i.insufficientFunds.popUp.title}),primaryButtonText:i.billDetails.buttons.approveAnyways,secondaryButtonText:i.billDetails.editBill,containerStyle:{maxWidth:474},descriptionComponent:x,action:{onOkClick:r,onCancelClick:h,onClickAway:y},secondaryButtonWidth:166,primaryButtonWidth:"auto",showLine:!1,buttonSeparatorStyle:{width:t.sp3},buttonContainerStyle:{paddingBottom:t.sp6}})}},J=d.div`
15
+ `;function X({saveDetailsFetchState:e,paymentData:o,onProceedForMarkAsPaid:r,onCancel:h}){const{spendManagement:{billPay:{billDetails:{paymentOutsideZeni:y,paymentDate:g,cancel:i}}},dateFormat:{visual:f,analytics:b}}=C.getLocalizedStrings(),{popUpTitle:x,paymentModeLabel:F,markAsPaid:M,defaultDateInfo:I,paymentModeOptions:w,selectDate:j,selectMethod:P}=y,l=L(),D="payment-outside-zeni-form",p="paymentMode",c="paymentDate",k=A({mode:"all",values:{[p]:{selectedOption:o?.paymentMode,allOptions:w.map(n=>n.value)},[c]:o?.paymentDate?.toDate()}}),O=k.handleSubmit(n=>{r({paymentDate:n[c]!=null?$(n[c].toString()):$(S().startOf("month").format(b.YYYYDashMMDashDDFormat).toString()),paymentMode:n[p]?.selectedOption!=null?_(n[p]?.selectedOption):"other"})});return a.jsx(R,{...k,children:a.jsx("form",{id:D,onSubmit:O,children:a.jsx(B,{formId:D,titleComponent:a.jsx(E,{children:x}),primaryButtonText:M,primaryButtonWidth:128,secondaryButtonWidth:128,secondaryButtonText:i,isLoading:e==="In-Progress",isDisabled:e==="In-Progress",isEditPopup:!0,shouldClickAway:e!=="In-Progress",action:{onOkClick:()=>null,onCancelClick:h},children:a.jsxs(N,{windowSize:l,children:[a.jsx(W,{label:{label:F,width:s.labelWidth.value(l)},style:{width:s.width.valuePx(l)},singleSelectField:{singleSelect:{getLabelForId:n=>w.find(T=>T.value===n)?.label??"",showTickMark:!1,alwaysShowEyeTooltip:!1,name:p,placeholder:P,showValueEyeIcon:!1,showEyeIconOnSelect:!1},defaultValue:{selectedOption:o?.paymentMode,allOptions:w?.map(n=>n.value)??[]}},isFunctional:!0}),a.jsx(G,{}),a.jsx(z,{label:{label:g,width:s.labelWidth.value(l)},style:{paddingBottom:s.paddingBottom.valuePx(l),width:s.width.valuePx(l),borderRadius:t.sp0},additionalPaymentInfoLabel:I,additionalPaymentInfoLabelStyle:{borderBottomRightRadius:t.sp2,borderBottomLeftRadius:t.sp2,paddingTop:t.sp1,paddingBottom:t.sp1,paddingLeft:t.sp3,paddingRight:s.paddingRight.valuePx(l),textAlign:"left"},dateField:{name:c,placeholder:j,defaultValue:o?.paymentDate,dateFormat:f.defaultInput,maxDate:S(),minDate:$("01 Jan 1900"),autoComplete:"off"}})]})})})})}const ee=({withdrawFrom:e,paymentDate:o,onOkClick:r,onCancelClick:h,onClickAway:y})=>{const{dateFormat:g,spendManagement:{billPay:i},common:{strings:f}}=C.getLocalizedStrings();if(e!=null&&o!=null){const b=`${e?.label} ${e?.maskedAccountNumber}`,x=a.jsx(J,{children:a.jsxs(Z,{children:[a.jsx(v,{children:b}),i.insufficientFunds.popUp.hasLowBalance,f.space,i.insufficientFunds.popUp.addMoney,a.jsx(v,{children:o?.format(g.visual.MMMDFormat)}),i.insufficientFunds.popUp.avoidFailure]})});return a.jsx(B,{titleComponent:a.jsx(q,{children:i.insufficientFunds.popUp.title}),primaryButtonText:i.billDetails.buttons.approveAnyways,secondaryButtonText:i.billDetails.editBill,containerStyle:{maxWidth:474},descriptionComponent:x,action:{onOkClick:r,onCancelClick:h,onClickAway:y},secondaryButtonWidth:166,primaryButtonWidth:"auto",showLine:!1,buttonSeparatorStyle:{width:t.sp3},buttonContainerStyle:{paddingBottom:t.sp6}})}},J=d.div`
16
16
  display: flex;
17
17
  flex-direction: column;
18
18
  align-items: center;
@@ -0,0 +1 @@
1
+ import{V as b}from"./index-BHAcVHeH.js";import{f as l}from"./ACHDetailsPage-CQdbfxHV-BW88pIYa.js";import"./sentry-CY6wsJT-.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./mui-Cni6P-fz.js";import"./recharts-LlOU9oLm.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./BankAccountWarningSection-BQaoV2yQ-BLOJsai8.js";import"./MagicLinkTitleSection-RYhrN820-BbeWYlVu.js";import"./BankAccountSection-BUJoSOk8-BG4ByPDH.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="7f3b2a3d-c0d7-45cd-8181-efd5d58eb325",t._sentryDebugIdIdentifier="sentry-dbid-7f3b2a3d-c0d7-45cd-8181-efd5d58eb325")}catch{}})();const L=({magicLinkViewState:t,magicLinkBankAccountDetails:e,onSaveHandler:a,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r})=>{const{fetchState:d,error:m,bankNameByRouting:c,bankAccountToCreate:s,fetchBankNameByRoutingStatus:p}=e,{currencySymbol:u,amount:f}=t;return b.jsx(l,{bankAccountToCreate:s,bankAccountCreationState:{fetchState:d,error:m},bankNameByRouting:c,fetchBankNameByRoutingStatus:p,onSaveHandler:a,onACHDetailsUpdated:o,onFetchBankName:n,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:u,amount:f})};export{L as default};
@@ -0,0 +1 @@
1
+ import{V as b}from"./index-BHAcVHeH.js";import{y as k}from"./DomesticWireDetailsPage-wGIWvhgQ-CmjPpsLr.js";import"./sentry-CY6wsJT-.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./mui-Cni6P-fz.js";import"./recharts-LlOU9oLm.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./BankAccountSection-BUJoSOk8-BG4ByPDH.js";import"./MagicLinkTitleSection-RYhrN820-BbeWYlVu.js";import"./BankAccountWarningSection-BQaoV2yQ-BLOJsai8.js";import"./MailingDetailsSection-D9_I-DTk-Cdb1WRS_.js";import"./LabeledAddressValueField-D47ofJFV-CGqdgTnp.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="9f19c6ff-3fe0-4f8d-ad21-a72e312dc3c7",e._sentryDebugIdIdentifier="sentry-dbid-9f19c6ff-3fe0-4f8d-ad21-a72e312dc3c7")}catch{}})();const H=({magicLinkViewState:e,magicLinkBankAccountDetails:t,mailingAddressDetails:a,isDisabled:o,companyName:n,onSaveHandler:i,onWireDetailsUpdated:r,onFetchBankName:d,onAddressClick:s})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:f,fetchBankNameByRoutingStatus:u}=t,{currencySymbol:l,amount:y}=e;return b.jsx(k,{bankAccountToCreate:f,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:u,isDisabled:o,onSaveHandler:i,onWireDetailsUpdated:r,onAddressClick:s,onFetchBankName:d,companyName:n,isMagicLink:!0,currencySymbol:l,amount:y})};export{H as default};
@@ -0,0 +1 @@
1
+ import{V as y}from"./index-BHAcVHeH.js";import{f as k}from"./InternationalWireSwiftDetailsPage-DPemNncS-Datvi8oR.js";import"./sentry-CY6wsJT-.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./mui-Cni6P-fz.js";import"./recharts-LlOU9oLm.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";import"./BankAccountWarningSection-BQaoV2yQ-BLOJsai8.js";import"./MailingDetailsSection-D9_I-DTk-Cdb1WRS_.js";import"./LabeledAddressValueField-D47ofJFV-CGqdgTnp.js";import"./MagicLinkTitleSection-RYhrN820-BbeWYlVu.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="a1599f56-8658-49f1-9f5c-af0963507bd7",t._sentryDebugIdIdentifier="sentry-dbid-a1599f56-8658-49f1-9f5c-af0963507bd7")}catch{}})();const F=({magicLinkViewState:t,magicLinkBankAccountDetails:a,mailingAddressDetails:e,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:s,onAddressClick:d})=>{const{internationalBankAccountCreateStatus:m,internationalBankAccountToCreate:c,fetchBankNameBySwiftStatus:f,bankNameBySwift:p}=a,{currencySymbol:l,amount:u}=t;return y.jsx(k,{bankAccountToCreate:c,bankAccountCreationState:m,bankNameBySwift:p,addressToEdit:e,addressType:"vendor_address",fetchBankNameBySwiftStatus:f,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:d,onFetchBankNameBySwift:s,companyName:i,isMagicLink:!0,currencySymbol:l,amount:u})};export{F as default};
@@ -0,0 +1,72 @@
1
+ import{j as t}from"./pdf-CTJ16aEe.js";import{l as w,k as x,j as $,h as S,i as Z,o as ee,u as A,N as te,R as ae,m as p}from"./core-oEkj6b51.js";import{Hq as y,Hr as j,Hs as L,vF as I,vq as N,Ht as C,Hu as ne,Hv as oe,vu as ie,cu as k,vC as se,vy as le}from"./zeni-epic-state-cFF_NqwA.js";import{e as g,o as d,jK as de,jz as v,jD as E,jL as re,jM as ce,jN as me,jO as F,aE as pe,aG as ue,jP as he,N as xe,y as ge,jQ as fe,bj as be,L as we,jR as Se,x as ye,jS as je}from"./index-BHAcVHeH.js";import{n as c}from"./mui-Cni6P-fz.js";import f from"./NotFoundScreen-SRDW4_mE.js";import{a as P}from"./sentry-CY6wsJT-.js";import{S as ve}from"./zeni-icon-only-jOM3nMPU.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new e.Error().stack;a&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[a]="edf98fa5-3031-4b6b-bd91-400416d7d5bd",e._sentryDebugIdIdentifier="sentry-dbid-edf98fa5-3031-4b6b-bd91-400416d7d5bd")}catch{}})();const ke=c.div`
2
+ display: flex;
3
+ height: 100%;
4
+ width: 100%;
5
+ flex: 1 1 auto;
6
+ flex-direction: column;
7
+ align-items: center;
8
+ background-color: ${e=>e.theme.colors.grey4};
9
+ box-shadow: ${e=>`0px 2px ${d.sp1} ${e.theme.colors.dropShadowNormal}`};
10
+ `,$e=x(function(e){const a=y(e),n=j(e),{companyName:o}=a;return{companyName:o,isDisabled:a.fetchState!=="Completed"?"disabled":void 0,magicLinkBankAccountDetails:n,magicLinkViewState:a}},function(e,a){const{vendorId:n,billId:o}=a;return{onFetchBankName:i=>{e(N(i))},onSaveHandler:i=>{v.trackBillPayMagicLinkSubmitBankAccountDetails(o),e(I(i,"standard",n,o))},onACHDetailsUpdated:i=>{const{bankAccountSection:l}=i;e(L({data:l}))}}})(de);function z(){const e=g(),{vendorId:a,billId:n}=w();return a==null||n==null?t.jsx(f,{}):t.jsx(t.Fragment,{children:t.jsx(ke,{windowSize:e,children:t.jsx($e,{vendorId:a,billId:n})})})}const Ie=c.div`
11
+ display: flex;
12
+ height: 100vh;
13
+ width: 100%;
14
+ flex: 1 1 auto;
15
+ flex-direction: column;
16
+ align-items: center;
17
+ background-color: ${e=>e.theme.colors.grey4};
18
+ box-shadow: ${e=>`0px 2px ${d.sp1} ${e.theme.colors.dropShadowNormal}`};
19
+ `,Ce=x(function(e,a){const{isSubPage:n}=a;return{addressToEdit:C(e),googleAPIKey:E.googleMapsAPIKey,isSubPage:n}},function(e,a){const{navigate:n,location:o}=a,i=()=>{const l=ce(o.state?.pathnameStackToGoBack),s=l.poppedPathname??Be();n(s,{state:{pathnameStackToGoBack:l.newStack}})};return{onSubmitHandler:l=>{const s=Ae(l);e(ne({addressToCreate:s})),i()},onCancel:()=>{i()}}})(re);function De({isSubPage:e}){const a=$(),n=S(),o=g();return t.jsx(t.Fragment,{children:t.jsx(Ie,{windowSize:o,children:t.jsx(Ce,{location:n,navigate:a,isSubPage:e===!0,googleAPIKey:E.googleMapsAPIKey})})})}const Be=(e=2)=>{let a="../";for(let n=0;n<e;n++)a=`${a}../`;return a},Ae=e=>({street:[e.street.addressString,e.suite,e.secondaryInfo],city:e.city,state:e.state,country:e.country.selectedOption??"",countryCode:e.countryCode,postalCode:e.postalCode,latitude:e.street.addressValue?.locationLat,longitude:e.street.addressValue?.locationLng}),Pe=c.div`
20
+ display: flex;
21
+ height: 100%;
22
+ width: 100%;
23
+ flex: 1 1 auto;
24
+ flex-direction: column;
25
+ align-items: center;
26
+ background-color: ${e=>e.theme.colors.grey4};
27
+ box-shadow: ${e=>`0px 2px ${d.sp1} ${e.theme.colors.dropShadowNormal}`};
28
+ `,ze=x(function(e){const a=y(e),n=j(e),o=C(e),{companyName:i}=a;return{companyName:i,isDisabled:a.fetchState!=="Completed"?"disabled":void 0,magicLinkBankAccountDetails:n,mailingAddressDetails:o,magicLinkViewState:a}},function(e,a){const{navigate:n,location:o,vendorId:i,billId:l}=a;return{onFetchBankName:s=>{e(N(s))},onSaveHandler:s=>{v.trackBillPayMagicLinkSubmitBankAccountDetails(l),e(I(s,"us-domestic",i,l))},onWireDetailsUpdated:s=>{const{bankAccountSection:r}=s;e(L({data:r}))},onAddressClick:()=>{const s=o.pathname.replace("us-domestic","address"),r=F(o.state?.pathnameStackToGoBack,o.pathname);n(s,{state:{pathnameStackToGoBack:r}})}}})(me);function Le(){const e=$(),a=S(),n=g(),{vendorId:o,billId:i}=w();return o==null||i==null?t.jsx(f,{}):t.jsx(t.Fragment,{children:t.jsx(Pe,{windowSize:n,children:t.jsx(ze,{location:a,navigate:e,vendorId:o,billId:i})})})}const Ne=c.div`
29
+ display: flex;
30
+ height: 100%;
31
+ width: 100%;
32
+ flex: 1 1 auto;
33
+ flex-direction: column;
34
+ align-items: center;
35
+ background-color: ${e=>e.theme.colors.grey4};
36
+ box-shadow: ${e=>`0px 2px ${d.sp1} ${e.theme.colors.dropShadowNormal}`};
37
+ `,Ee=x(function(e){const a=y(e),n=j(e),o=C(e),{companyName:i}=a;return{companyName:i,isDisabled:a.fetchState!=="Completed"?"disabled":void 0,magicLinkBankAccountDetails:n,mailingAddressDetails:o,magicLinkViewState:a}},function(e,a){const{navigate:n,location:o,vendorId:i,billId:l}=a;return{onFetchBankNameBySwift:s=>{e(ie(s))},onSaveHandler:s=>{v.trackBillPayMagicLinkSubmitBankAccountDetails(l),e(I(s,"international",i,l,a.isLocalCurrencyEnabled))},onBankDetailsUpdated:s=>{const{internationalWireSwiftAccountSection:r}=s;e(oe({data:r}))},onAddressClick:()=>{const s=o.pathname.replace("international","address"),r=F(o.state?.pathnameStackToGoBack,o.pathname);n(s,{state:{pathnameStackToGoBack:r}})}}})(he);function Fe(){const e=$(),a=S(),n=g(),{vendorId:o,billId:i}=w(),{useFeatureGate:l}=pe(),{isFeatureEnabled:s}=l(ue.isBillPayLocalCurrencyFeatureEnabled);return o==null||i==null?t.jsx(f,{}):t.jsx(Ne,{windowSize:n,children:t.jsx(Ee,{location:a,navigate:e,vendorId:o,billId:i,isLocalCurrencyEnabled:s})})}const He={containerWidth:new ye(100,58)},Te=c(ve)`
38
+ width: ${d.sp4};
39
+ height: ${d.sp4};
40
+ margin-bottom: ${d.sp3};
41
+ margin-top: ${d.sp3};
42
+ margin-left: ${d.sp8};
43
+ cursor: pointer;
44
+ position: absolute;
45
+ color: ${e=>e.theme.colors.brandColorJade};
46
+ `,Ge=c.div`
47
+ display: flex;
48
+ height: 100vh;
49
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
50
+ width: 100vw;
51
+ overflow-y: scroll;
52
+ background-color: ${e=>e.theme.colors.grey4};
53
+ `,Me=c.div`
54
+ display: flex;
55
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
56
+ flex-direction: column;
57
+ width: ${e=>`${He.containerWidth.value(e.windowSize)}%`};
58
+ ${e=>e.windowSize!=="small"?"overflow: auto;":""}
59
+ box-shadow: ${e=>`0px 2px ${d.sp1} ${e.theme.colors.dropShadowNormal}`};
60
+ padding-top: ${e=>e.windowSize!=="small"?d.sp2:"0px"};
61
+ `,Ke=c.div`
62
+ display: flex;
63
+ flex-direction: column;
64
+ align-items: center;
65
+ justify-content: center;
66
+ padding: ${e=>e.windowSize==="small"?d.sp3:`62px ${d.sp6} ${d.sp9} ${d.sp8}`};
67
+ height: ${e=>e.windowSize==="small"?"490px":"auto"};
68
+ overflow: ${e=>e.windowSize==="small"?"unset":"hidden"};
69
+ width: ${e=>e.windowSize=="small"?"auto":"42%"};
70
+ background-color: ${e=>e.windowSize==="small"?e.theme.colors.grey4:e.theme.colors.background};
71
+ margin-top: ${e=>e.windowSize==="small"?e.isAddressPage?"0px":"186px":"unset"};
72
+ `,Ve=x(function(e,a){return{file:a.file,type:a.type}})(Se);function h({appContent:e}){const a=Z(),n=S(),{tenantEmailDomain:o,vendorId:i,billId:l}=w(),[s]=ee(),r=s.get("token"),H=n.pathname.includes("address"),b=g(),T=xe(),D=ge(),G=()=>{T.toggle()},M=A(u=>y(u)),K=A(u=>j(u)),{authParams:V,fetchState:m,billAttachment:W,billFetchState:B,companyName:_,currencySymbol:O,amount:R}=M,{tenantId:U,userId:q,sessionId:J}=V,{fetchState:Q,internationalBankAccountCreateStatus:X}=K;return P.useEffect(()=>{k(),m==="Not-Started"&&i!=null&&o!=null&&r!=null&&a(se(i,o,r))},[]),P.useEffect(()=>{m==="Completed"&&(k(q,J,U),l!=null&&a(le(l)))},[m]),m==="Error"?t.jsx(f,{}):Q==="Completed"||X.fetchState==="Completed"?(k(),t.jsx(te,{to:"../../../../../../../bank/account/save/success",replace:!0,relative:"path"})):m==="In-Progress"?t.jsx(fe,{fetchState:m,style:{height:"100vh",backgroundColor:D.colors.grey5,boxShadow:`0px 2px ${d.sp1} ${D.colors.dropShadowNormal}`}}):t.jsxs(t.Fragment,{children:[m==="Completed"&&B==="Completed"&&t.jsx(be,{analytics:v,onLoad:u=>(Y=>Y.trackBillPayMagicLinkPageLoad(o??"",i??"",_,l??"",We(n.pathname),O,R))(u)}),t.jsxs(Ge,{windowSize:b,children:[b!=="small"?t.jsx(Te,{onClick:G}):null,t.jsx(Ke,{windowSize:b,isAddressPage:H,children:B==="In-Progress"?t.jsx(we,{size:"ExtraLarge",start:!0}):t.jsx(Ve,{file:W,type:"bill"})}),t.jsx(Me,{windowSize:b,children:e})]})]})}const We=e=>`${e.split("/").at(-2)}_${e.split("/").at(-1)}`;function _e(){return t.jsx(je,{})}function st(){return t.jsxs(ae,{children:[t.jsx(p,{path:"bank/account/save/success",element:t.jsx(_e,{})}),t.jsx(p,{path:":tenantEmailDomain/vendor/:vendorId/bill/:billId/ach/standard",element:t.jsx(h,{appContent:t.jsx(z,{})})}),t.jsx(p,{path:":tenantEmailDomain/vendor/:vendorId/bill/:billId/ach/same-day",element:t.jsx(h,{appContent:t.jsx(z,{})})}),t.jsx(p,{path:":tenantEmailDomain/vendor/:vendorId/bill/:billId/wire/address",element:t.jsx(h,{appContent:t.jsx(De,{isSubPage:!0})})}),t.jsx(p,{path:":tenantEmailDomain/vendor/:vendorId/bill/:billId/wire/us-domestic",element:t.jsx(h,{appContent:t.jsx(Le,{})})}),t.jsx(p,{path:":tenantEmailDomain/vendor/:vendorId/bill/:billId/wire/international",element:t.jsx(h,{appContent:t.jsx(Fe,{})})}),t.jsx(p,{path:"*",element:t.jsx(f,{})})]})}export{st as default};
@@ -1,4 +1,4 @@
1
- import{j as u}from"./pdf-A8jRKyoC.js";import{a as g}from"./sentry-COYnhuxW.js";import{i as U,h as H,j as _,o as w,u as l,N as j}from"./core-B0nKoasK.js";import{js as r,y as M,O as P,jE as V,jz as A,I as N,jI as G,L as $,jG as R}from"./index-ByxsQZNo.js";import{ct as W,H9 as q,Hn as B,Ha as J,cu as K,c$ as Q,Hj as X,dn as Y,Gk as Z,Ho as ee,Hp as te}from"./zeni-epic-state-DCforPdM.js";import{n as ne}from"./mui-40xepic5.js";import{u as se}from"./useDeviceId-UXlBHXyB.js";import{f as ae}from"./analyticsHelper-jTnRtCKB.js";import{t as ie}from"./getLocaleForTenant-DGG0tVFT.js";import"./lottie-BzV8yd9z.js";import"./liveblocks-DskTqGyX.js";import"./recharts-Bbdho9Pi.js";import"./dnd-NNN-4w0O.js";import"./analytics-CDQ7tGpV.js";import"./plaid-cfgjTkr8.js";import"./utils-DMEPgX6w.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="60eee331-bf28-4a00-a0f1-18d5d26c261a",t._sentryDebugIdIdentifier="sentry-dbid-60eee331-bf28-4a00-a0f1-18d5d26c261a")}catch{}})();const T=(t,a)=>t!=null&&t.length>0&&a==="magic_links";function Le(){const t=U(),a=H(),m=_(),[y]=w(),n=y.get("token"),p=y.get("stytch_token_type"),f=r.getMagicLinkCodeVerifier(),i=se(),{otpChallenge:d,twoFAPhoneNumber:x,magicLinkEmail:c,verifyDeviceFetchState:z,resendVerifyDeviceOTPFetchState:C}=l(e=>e.tenantState),S=l(e=>e.tenantState.fetchState),b=l(e=>e.tenantState.activeTenantFetchState.fetchState),I=l(e=>e.tenantState.signInState),h=l(e=>e.tenantState.magicLinkSignInFetchState.fetchState),s=l(e=>e.tenantState.loggedInUser),o=l(e=>W(e)),k=l(e=>q(e)),D=r.getSignedInUser(),v=M().mode;g.useEffect(()=>{s?.zeniSessionId==null&&n!=null&&T(n,p)&&i!=null&&f!=null&&(r.saveMagicLinkTriggered(n),t(B(n,i,f)))},[n,p,t,i,f,s?.zeniSessionId]),g.useEffect(()=>{I!=="In-Progress"||S!=="Completed"&&b!=="Completed"||s?.zeniSessionId==null||o==null||(n!=null&&r.saveLastUsedMagicLinkToken(n),r.saveSignedInUserWithSession(s,s.zeniSessionId),r.saveSignedInUserTenants(J(k.tenantsInOrder),s.zeniSessionId),K(s.userId,s.zeniSessionId,o.tenantId),t(Q(o.tenantId)),r.saveActiveTenantDomainForUser(o.tenantEmailDomain),t(X("Completed")),P.updateAppLocaleID(ie(o)),ae(s,o,v,void 0,k.tenantsInOrder),Y().then(()=>{const e=R();e!=null&&V(e)}),setTimeout(()=>{A.trackLogin(N.Event.loginSuccess,"email",Z(o.productSettings))},2e3))},[I,S,b,s,o,k,v,a.state,t]);const E=g.useCallback(()=>{m("/signin/auth")},[m]),F=g.useCallback(()=>{i!=null&&d!=null&&c!=null&&t(ee(i,c,d))},[i,d,t,c]),O=g.useCallback(e=>{i!=null&&n!=null&&c!=null&&d!=null&&t(te(e,i,c,d))},[i,n,t,c,d]);if(h==="Completed"&&d!=null)return u.jsx(G,{phoneNumber:x,verifyOtpFetchState:z.fetchState,resendVerifyDeviceOTPFetchState:C,onResendOtp:F,onVerifyOtp:O,onCancelVerifyDevice:E});if(I==="In-Progress"&&S==="Completed"&&s?.zeniSessionId!=null&&o!=null||D!=null){const e=a.state?.origin??"/";return u.jsx(j,{to:e,state:{...a.state,origin:""}})}if(!T(n,p)||f==null||h==="Error"){const e=a.state?.origin??"/",L=n!=null&&r.getLastUsedMagicLinkToken()===n;return u.jsx(j,{to:e,state:{...a.state,origin:"",magicLinkAlreadyUsed:L,magicLinkExpired:!L&&(r.isMagicLinkTriggered(n??"")||h==="Error"&&s?.zeniSessionId==null)}})}return u.jsx(oe,{"data-testid":"smooth-loader",children:u.jsx($,{size:"ExtraLarge",start:!0})})}const oe=ne.div`
1
+ import{j as u}from"./pdf-CTJ16aEe.js";import{a as f}from"./sentry-CY6wsJT-.js";import{i as U,h as H,j as _,o as w,u as l,N as j}from"./core-oEkj6b51.js";import{js as r,y as M,O as P,jE as V,jz as A,J as N,jI as G,L as $,jG as J}from"./index-BHAcVHeH.js";import{ct as R,H9 as W,Hn as q,Ha as B,cu as K,c$ as Q,Hj as X,dn as Y,Gk as Z,Ho as ee,Hp as te}from"./zeni-epic-state-cFF_NqwA.js";import{n as ne}from"./mui-Cni6P-fz.js";import{u as se}from"./useDeviceId-BWAR3Wtl.js";import{f as ae}from"./analyticsHelper-CBcY8lmv.js";import{t as ie}from"./getLocaleForTenant-DZi5Q22y.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="a8bf9fd5-ca68-44ec-bffc-31cd72107857",t._sentryDebugIdIdentifier="sentry-dbid-a8bf9fd5-ca68-44ec-bffc-31cd72107857")}catch{}})();const T=(t,a)=>t!=null&&t.length>0&&a==="magic_links";function Le(){const t=U(),a=H(),m=_(),[y]=w(),n=y.get("token"),p=y.get("stytch_token_type"),g=r.getMagicLinkCodeVerifier(),i=se(),{otpChallenge:d,twoFAPhoneNumber:x,magicLinkEmail:c,verifyDeviceFetchState:z,resendVerifyDeviceOTPFetchState:C}=l(e=>e.tenantState),S=l(e=>e.tenantState.fetchState),b=l(e=>e.tenantState.activeTenantFetchState.fetchState),I=l(e=>e.tenantState.signInState),h=l(e=>e.tenantState.magicLinkSignInFetchState.fetchState),s=l(e=>e.tenantState.loggedInUser),o=l(e=>R(e)),k=l(e=>W(e)),D=r.getSignedInUser(),v=M().mode;f.useEffect(()=>{s?.zeniSessionId==null&&n!=null&&T(n,p)&&i!=null&&g!=null&&(r.saveMagicLinkTriggered(n),t(q(n,i,g)))},[n,p,t,i,g,s?.zeniSessionId]),f.useEffect(()=>{I!=="In-Progress"||S!=="Completed"&&b!=="Completed"||s?.zeniSessionId==null||o==null||(n!=null&&r.saveLastUsedMagicLinkToken(n),r.saveSignedInUserWithSession(s,s.zeniSessionId),r.saveSignedInUserTenants(B(k.tenantsInOrder),s.zeniSessionId),K(s.userId,s.zeniSessionId,o.tenantId),t(Q(o.tenantId)),r.saveActiveTenantDomainForUser(o.tenantEmailDomain),t(X("Completed")),P.updateAppLocaleID(ie(o)),ae(s,o,v,void 0,k.tenantsInOrder),Y().then(()=>{const e=J();e!=null&&V(e)}),setTimeout(()=>{A.trackLogin(N.Event.loginSuccess,"email",Z(o.productSettings))},2e3))},[I,S,b,s,o,k,v,a.state,t]);const E=f.useCallback(()=>{m("/signin/auth")},[m]),F=f.useCallback(()=>{i!=null&&d!=null&&c!=null&&t(ee(i,c,d))},[i,d,t,c]),O=f.useCallback(e=>{i!=null&&n!=null&&c!=null&&d!=null&&t(te(e,i,c,d))},[i,n,t,c,d]);if(h==="Completed"&&d!=null)return u.jsx(G,{phoneNumber:x,verifyOtpFetchState:z.fetchState,resendVerifyDeviceOTPFetchState:C,onResendOtp:F,onVerifyOtp:O,onCancelVerifyDevice:E});if(I==="In-Progress"&&S==="Completed"&&s?.zeniSessionId!=null&&o!=null||D!=null){const e=a.state?.origin??"/";return u.jsx(j,{to:e,state:{...a.state,origin:""}})}if(!T(n,p)||g==null||h==="Error"){const e=a.state?.origin??"/",L=n!=null&&r.getLastUsedMagicLinkToken()===n;return u.jsx(j,{to:e,state:{...a.state,origin:"",magicLinkAlreadyUsed:L,magicLinkExpired:!L&&(r.isMagicLinkTriggered(n??"")||h==="Error"&&s?.zeniSessionId==null)}})}return u.jsx(oe,{"data-testid":"smooth-loader",children:u.jsx($,{size:"ExtraLarge",start:!0})})}const oe=ne.div`
2
2
  position: fixed;
3
3
  top: 0;
4
4
  left: 0;
@@ -0,0 +1,31 @@
1
+ import{v as s,O as n,V as t,ap as l,o as r,c as a,c2 as c,n as d}from"./index-BHAcVHeH.js";import{n as i}from"./mui-Cni6P-fz.js";import"./sentry-CY6wsJT-.js";import"./pdf-CTJ16aEe.js";import"./zeni-epic-state-cFF_NqwA.js";import"./core-oEkj6b51.js";import"./lottie-DEK510sX.js";import"./liveblocks-Ia5FU_Xu.js";import"./recharts-LlOU9oLm.js";import"./dnd-DwLm2ZWc.js";import"./analytics-Ci5SIN4_.js";import"./plaid-B2vW8NaN.js";import"./utils-ChLimP28.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="153adf17-2937-4411-8bf1-a8696ff0bfde",e._sentryDebugIdIdentifier="sentry-dbid-153adf17-2937-4411-8bf1-a8696ff0bfde")}catch{}})();const T=()=>{const[e]=s("Confetti"),o=n.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(p,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(b,{})}),t.jsxs(f,{children:[t.jsx(m,{children:o.successTitle}),t.jsx(g,{children:o.successNote})]})]}):null},p=i.div`
2
+ z-index: 999;
3
+ height: 100vh;
4
+ width: 100%;
5
+ background-color: ${e=>e.theme.colors.background};
6
+ position: relative;
7
+ display: flex;
8
+ align-items: center;
9
+ justify-content: center;
10
+ `,f=i.div`
11
+ display: flex;
12
+ flex-direction: column;
13
+ align-items: center;
14
+ justify-content: center;
15
+ opacity: 80%;
16
+ margin: 0 ${r.sp4};
17
+ `,m=i(c)`
18
+ color: ${e=>e.theme.colors.primary};
19
+ text-align: center;
20
+ `,g=i(d)`
21
+ color: ${e=>e.theme.colors.hero};
22
+ text-align: center;
23
+ `,u=i.div`
24
+ position: absolute;
25
+ top: ${r.sp5};
26
+ left: ${r.sp5};
27
+ background-color: ${e=>e.theme.colors.background};
28
+ `,b=i(a)`
29
+ color: ${e=>e.theme.colors.primary};
30
+ height: ${r.sp4};
31
+ `;export{T as default};
@@ -1,17 +1,17 @@
1
- import{O as d,ag as p,V as a,c2 as C,o as n,l as g,d as m,bH as f}from"./index-ByxsQZNo.js";import{n as t}from"./mui-40xepic5.js";import{a as l}from"./sentry-COYnhuxW.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="3a9d1ca1-f64d-470b-876d-a9b441a67adc",e._sentryDebugIdIdentifier="sentry-dbid-3a9d1ca1-f64d-470b-876d-a9b441a67adc")}catch{}})();const $=({companyName:e,currencySymbol:s,amount:r})=>{const i=d.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,o=r>0?` ${p("0,0.[00]",r,s)}`:"",c=i.title.replace(/<tenant_name>/,e)+o;return a.jsxs(a.Fragment,{children:[a.jsx(u,{children:c}),a.jsxs(h,{children:[i.description.replace(/<tenant_name>/,e),a.jsxs(b,{children:[a.jsx(y,{}),i.encrypted]})]})]})},b=t(f)`
1
+ import{O as d,ag as p,V as n,c2 as f,o as a,l as C,f as g,bH as m}from"./index-BHAcVHeH.js";import{n as t}from"./mui-Cni6P-fz.js";import{a as c}from"./sentry-CY6wsJT-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="70af0634-eaf9-4268-a0cc-8cbafdfc4454",e._sentryDebugIdIdentifier="sentry-dbid-70af0634-eaf9-4268-a0cc-8cbafdfc4454")}catch{}})();const $=({companyName:e,currencySymbol:s,amount:r})=>{const i=d.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,l=r>0?` ${p("0,0.[00]",r,s)}`:"",o=i.title.replace(/<tenant_name>/,e)+l;return n.jsxs(n.Fragment,{children:[n.jsx(u,{children:o}),n.jsxs(h,{children:[i.description.replace(/<tenant_name>/,e),n.jsxs(y,{children:[n.jsx(b,{}),i.encrypted]})]})]})},y=t(m)`
2
2
  display: flex;
3
- gap: ${n.sp1};
4
- color: ${m.successDark};
5
- `,y=t(e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})))`
6
- width: ${n.sp4};
7
- height: ${n.sp4};
3
+ gap: ${a.sp1};
4
+ color: ${g.successDark};
5
+ `,b=t(e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})))`
6
+ width: ${a.sp4};
7
+ height: ${a.sp4};
8
8
  color: inherit;
9
- `,h=t(g)`
9
+ `,h=t(C)`
10
10
  display: flex;
11
11
  align-items: center;
12
12
  justify-content: space-between;
13
13
  flex-wrap: wrap;
14
- gap: ${n.sp4};
14
+ gap: ${a.sp4};
15
15
  color: ${e=>e.theme.colors.champion};
16
- margin-top: ${n.sp3};
17
- `,u=t(C)``;export{$ as M};
16
+ margin-top: ${a.sp3};
17
+ `,u=t(f)``;export{$ as M};