@zeniai/web-cockpit-ui 1.15.11-qa → 1.15.12-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 (284) hide show
  1. package/dist/assets/{ACHDetailsPage-CR6ypd9o-SFg4-c-T.js → ACHDetailsPage-BY65AQjO-Cl2Tlmft.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-C1OU9y7O-DMuQXTv-.js → AIPerformancePage-B0a7EX_p-BepCOVvT.js} +17 -17
  3. package/dist/assets/AccountInfoPage-DUYpaV3v-CL9yEZEk.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-CrSVf_Od-BtvA7L-Z.js → AccountInfoPageContent-BsSGhNw9-Bhg40nPQ.js} +13 -13
  5. package/dist/assets/{AccountLockedInfoModal-DNU_J1FV-YA7gp2Il.js → AccountLockedInfoModal-uPOYP0OH-gMh9hb_c.js} +3 -3
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DghCIWni-VyHPnas4.js → AccountReconDetailsDrawerPage-BgPmbG_g-9wGOY4BN.js} +6 -6
  7. package/dist/assets/{AccountRow-CYv0Uw-I-DqS_-vJ5.js → AccountRow-B9ZIzZy7-C9nPv4rY.js} +22 -22
  8. package/dist/assets/{AccountsPromoCardStack-BANu3wYt-D0wcQvfK.js → AccountsPromoCardStack-BLcpWU3T-CV6K5Y9x.js} +8 -8
  9. package/dist/assets/AddAddressForCardDrawer-B1oucxyM-I6biD8O7.js +6 -0
  10. package/dist/assets/{AddToWalletPage-C8keLYK6-D0YLnL4c.js → AddToWalletPage-B1GVnxRf-CndQH9vq.js} +7 -7
  11. package/dist/assets/{AgingReportsPage-L84_Ka8x-eOzMQBXT.js → AgingReportsPage-Bpp4te8m-HodwoOcT.js} +3 -3
  12. package/dist/assets/{AllUserItems-Duwm6ypi-tETvgZhy.js → AllUserItems-CzugF5fn-8WnbDsqH.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-MH7SN7mP-ByDXqOl1.js → ApAgingDetailPage-CyUQeZY0-DHH2Dilv.js} +4 -4
  14. package/dist/assets/{AppBasePage-DpK4Drat-BQFc4_RX.js → AppBasePage-Di7hObbX-uZJvqLhK.js} +6 -6
  15. package/dist/assets/{AppDrawerContent-CR_WXwBz-BqcIFLf4.js → AppDrawerContent-KdrUuifo-DcEK8qwb.js} +5 -5
  16. package/dist/assets/{ApprovalRulesSettingsPage-DD2E4NU5-CvrLusDc.js → ApprovalRulesSettingsPage-BRIgTh7x-CF-Pagn9.js} +1 -1
  17. package/dist/assets/{ArAgingChart-q1DoAAzl-ChyChZzL.js → ArAgingChart-DeE5uhiT-BcI5cuvH.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BKqFTdkz-BI1br8iE.js → ArAgingDetailPage-CFiIUBWl-BXhWrXr_.js} +2 -2
  19. package/dist/assets/{AttachmentView-CwbFyo5O-HlqvxT1d.js → AttachmentView-CfacSLcU-gwYezuYM.js} +7 -7
  20. package/dist/assets/{BankAccountSection-DNYhcdas-BXzlbRsl.js → BankAccountSection-Bm8vdxFd-DKKdvH8R.js} +6 -6
  21. package/dist/assets/{BankAccountWarningSection-B6AIe7nT-owl5fu4w.js → BankAccountWarningSection-M3w6kP33-ChP5wvhC.js} +13 -13
  22. package/dist/assets/{BankConnectionsSettingsPage-BQSAz9yS-BmUn0eMF.js → BankConnectionsSettingsPage-Dfrp0CKz-Dc4Qac0T.js} +9 -9
  23. package/dist/assets/{BillDetailPage-CJMkS2TO-BzJpWE2W.js → BillDetailPage-BA1D1bO3-Ofkt6QPd.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CWCmHWbz-CLsHGXPy.js → BillPayApprovalRuleDetailPage-DR8YzZt1-CQcbdF34.js} +2 -2
  25. package/dist/assets/{BillPayApprovalRulesPage-0_wlhyx9-CxMoNQW6.js → BillPayApprovalRulesPage-CfZ4aSPM-C6nI7yKc.js} +11 -11
  26. package/dist/assets/{BillPayPromoPage-CKOYCq5V-BTv5K1qw.js → BillPayPromoPage-CP9Nvd2Q-CSZ8mSrV.js} +4 -4
  27. package/dist/assets/{BillPaySetUpPage-Dibv-FD4-Cl-2f4z3.js → BillPaySetUpPage-BwEONKu_-DARv5ESb.js} +6 -6
  28. package/dist/assets/{BillingSettingsPage-CG9gklV0-Djv_nYoS.js → BillingSettingsPage-DicGyWCt-DwbmjVcE.js} +6 -6
  29. package/dist/assets/{BillsBulkReviewDrawerPage-Cgof7dpG-2_-QHQ61.js → BillsBulkReviewDrawerPage-fS3-YEdi-DKZKHDla.js} +1 -1
  30. package/dist/assets/{BoxItem-DD7d5_ky-DAc955db.js → BoxItem-Cr0Y9YBV-C2AawtqJ.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-KfKed7nf-lpaZxVAG.js → BusinessVerificationPage-CvL9cdJm-Drj-tMQU.js} +3 -3
  32. package/dist/assets/CardNumberSubText-CXBKzGK5-CCtn2y_n.js +21 -0
  33. package/dist/assets/{CashbackDetailPage-D1ejnH4R-Bt3QeRBv.js → CashbackDetailPage-DOdPOiws-CAJxdhJ3.js} +11 -11
  34. package/dist/assets/{ChargeCardDetailPage-Cvs-BEKp-pKsbetO9.js → ChargeCardDetailPage-DfhAyysD-Cgd92Yem.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-CW0WF8w6-CnKTafp-.js → ChargeCardListPage-Bnnu4TVk-DFZAYaNm.js} +20 -20
  36. package/dist/assets/{ChargeCardListTable-43l6tEOp-Jwl0f8i9.js → ChargeCardListTable-D7zGM8uo-70otSDDQ.js} +40 -40
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-fpQhp74g-DLSoMgIe.js → ChargeCardPaymentHistoryPage-U00GbINt-BIwIfF30.js} +13 -13
  38. package/dist/assets/ChargeCardPromoPage-BpBiwjfr-DWB9eQGN.js +222 -0
  39. package/dist/assets/{ChargeCardSetupPage-CFR2KfLW-DRohzRVD.js → ChargeCardSetupPage-Duj6901M-CIASuReJ.js} +4 -4
  40. package/dist/assets/{ChargeCardStatementsPage-BMYUlzTk-9GrzxT3K.js → ChargeCardStatementsPage-IkU86L31-ClrDQTtP.js} +4 -4
  41. package/dist/assets/{CheckDepositDrawerPage-BXWeeMR7-GnNalAkH.js → CheckDepositDrawerPage-fHeTkRJF-CdLdCkIH.js} +13 -13
  42. package/dist/assets/{CollapsableReportTable-CZJ_4MUf-BaEJNkF_.js → CollapsableReportTable-DUo-9gOh-B_gwOhYJ.js} +32 -32
  43. package/dist/assets/{CompanyOfficerDetailsSection-b2itwQOK-de7MOYH6.js → CompanyOfficerDetailsSection-DzDZe6MU-DWguMF6d.js} +10 -10
  44. package/dist/assets/{CompanyPassportCard-C5C3AykH-nuh8qA8m.js → CompanyPassportCard-BwiwJ82k-WRVY9XX8.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-D9zWgLlj-FT92NwHt.js → CompanyPassportPage-Bz3rzG9k-e3d2ccIM.js} +15 -15
  46. package/dist/assets/{CompleteProfile-CMnTwbXr-BKWxHI4F.js → CompleteProfile-CRXV-nNq-DpRL426l.js} +2 -2
  47. package/dist/assets/ConfettiBurst-CapRdPno-Dlg4XvfD.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-CthcMxEa-B_Vz2Jq8.js → CreateOrEditVendorPage-BjPotKnf-De1W0m4N.js} +12 -12
  49. package/dist/assets/{CreditCardPaymentDrawerPage-LD349Ert-DpmX4B_s.js → CreditCardPaymentDrawerPage-BTZ2Lph6-DMwCUXwV.js} +13 -13
  50. package/dist/assets/{CurrencySelectField-iXGB-cNy-CFPGwgTp.js → CurrencySelectField-DY0HeU0G-CSYPXeIb.js} +1 -1
  51. package/dist/assets/{CustomerOnboardingActivationPage-BuZrVCRr-BPRHNMAu.js → CustomerOnboardingActivationPage-BIKXkkcY-IFMHYYO1.js} +5 -5
  52. package/dist/assets/CustomerOnboardingContainerPage-DZfFYnVw-BG6Jz35S.js +1 -0
  53. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-L4WssPjU-jf67RORE.js → CustomerOnboardingDetailPageSkeleton-DYiAmFsM-C0-Ot9Uw.js} +9 -9
  54. package/dist/assets/{CustomerOnboardingNoStepsPage-Bqv6vbYJ-8Os4uWxs.js → CustomerOnboardingNoStepsPage-gssFllMT-DT9hupvU.js} +9 -9
  55. package/dist/assets/{CustomerOnboardingPage-D7YVlzdy-C6NRwtIL.js → CustomerOnboardingPage-CBJHj8BH-KUidrPxI.js} +6 -6
  56. package/dist/assets/{CustomerOnboardingProductSuitePage-DLzC-lxj-B8YE23uD.js → CustomerOnboardingProductSuitePage-2V3vSjB8-BYRuju-o.js} +12 -12
  57. package/dist/assets/{Dashboard-BgpeTLE--CzFmRBRv.js → Dashboard-BVvkfPf9-hp4sQi7A.js} +1 -1
  58. package/dist/assets/{DashboardReportPage-DJtJdsj5-CTCD22k0.js → DashboardReportPage-DHQ79h9V-C3FgTbgA.js} +1 -1
  59. package/dist/assets/{DashboardSidebarBackgroundAnimation-CL6vWi6p-BGAzUN0-.js → DashboardSidebarBackgroundAnimation-B8Q-YA_s-DLXiBeQj.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionItem-B8Kledeo-DVIUyWhK.js → DepositAccTransactionItem-DZnqI7IQ-DR0NgZ86.js} +2 -2
  61. package/dist/assets/{DepositAccTransactionListPage-DYBIAd7n-L_CbaAkO.js → DepositAccTransactionListPage-BMNdp-3Q-CyOUea8P.js} +4 -4
  62. package/dist/assets/{DomesticWireDetailsPage-Bm-bfxSa-obKoPHRS.js → DomesticWireDetailsPage-CCP6xoW_-BlmZjbpt.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-CAfyh0W2-DQm7gdrs.js → DownloadOverlay-B2bK30rG-B-m5Mv2I.js} +18 -18
  64. package/dist/assets/{DrawerPage-DUeVKq0Q-Xp2XIZhy.js → DrawerPage-BRJDrBlv-D28-uO54.js} +8 -8
  65. package/dist/assets/{EditPeoplePage-dVrpOcc1-DxgCOTmA.js → EditPeoplePage-I8E1Rs3x-DbyrgA_C.js} +6 -6
  66. package/dist/assets/{EditReimbursementDetailPage-xWwm-k8T-D6GqmMTB.js → EditReimbursementDetailPage-C7BPmFMR-DTPMhwLH.js} +19 -19
  67. package/dist/assets/EntityDetailPage-BraBJ2k1-Wq1E4JPl.js +18 -0
  68. package/dist/assets/{EntitySummarySection-CTU-YsQl-CBIpBGDD.js → EntitySummarySection-DPmL3Bnf-CHA6TrKp.js} +5 -5
  69. package/dist/assets/{ExpenseAutomationOverviewPage-DCbcWM84-BNyObtnS.js → ExpenseAutomationOverviewPage-CDaO_5Vj-gZyomnai.js} +12 -12
  70. package/dist/assets/{ExpenseAutomationPage-DbFQ6EeA-IArJlID_.js → ExpenseAutomationPage-DUenmMQD-Yh_8CeIf.js} +59 -59
  71. package/dist/assets/{ExpressPayPage-DMLKT4Nf-B7D2RSfz.js → ExpressPayPage-DxO1mXNE-DeRja-sm.js} +1 -1
  72. package/dist/assets/{FeaturePreviewPage-DFsZRRmZ-BxbYZ19K.js → FeaturePreviewPage-BWPNZcYs-CdJLxzVS.js} +1 -1
  73. package/dist/assets/{FollowStepsSection-DkBj9-hs-DutpVuyM.js → FollowStepsSection-DhVGeocZ-Ddk_z58q.js} +6 -6
  74. package/dist/assets/{GlobalReviewListPage-D1fbfssG-UUAT_TWw.js → GlobalReviewListPage-8eiQXg7N-pPWYTyKl.js} +5 -5
  75. package/dist/assets/{InformationCardStack-CBsOTiOc-cl7dFnWc.js → InformationCardStack-CHVjIv01-Y1Eih__r.js} +2 -2
  76. package/dist/assets/{InsightsCardStack-BEpCIgoE-DwXRec_Y.js → InsightsCardStack-x_tohY2Z-DNptH2Sv.js} +2 -2
  77. package/dist/assets/{InsightsSection-DcKb1p5B-dkp9HPKw.js → InsightsSection-D7g00fg7-Bl1k6KMG.js} +2 -2
  78. package/dist/assets/{IntegrationsSettingsPage-CMEV5P0b-sqilPbaF.js → IntegrationsSettingsPage-DVRtPRi9-ig1iJJpM.js} +10 -10
  79. package/dist/assets/{InternationalWireSwiftDetailsPage-Bukfo0LC-BjrAM1ki.js → InternationalWireSwiftDetailsPage-DnWbUuiD-CIWMoecY.js} +11 -11
  80. package/dist/assets/{InternationalWireVerificationPage-nZvCemaM-B5XgQ6sw.js → InternationalWireVerificationPage-CHvUYgd8-B9TQJM22.js} +3 -3
  81. package/dist/assets/{InviteFormPage-BpgeFttq-BAtnGOt_.js → InviteFormPage-Cw0TIkwc-D0dTmTLg.js} +25 -25
  82. package/dist/assets/{InvitePageListView-B6wJomGk-DhndXK39.js → InvitePageListView-B4gEzFp2-1aqNeIHc.js} +19 -19
  83. package/dist/assets/{InvitePeoplePage-BArRXjlz-e4TNJUZI.js → InvitePeoplePage-Bnsqv_IY-DhNBoZS8.js} +5 -5
  84. package/dist/assets/{InvoiceUploadSection-CTqSftrm-DyMpyaVc.js → InvoiceUploadSection-CW4hHmAi-DKFSw8te.js} +20 -20
  85. package/dist/assets/{IssueChargeCardPage-DYG5IXrC-BiX1MFXI.js → IssueChargeCardPage-sM826Uvu-DMhbp0aa.js} +21 -21
  86. package/dist/assets/{LabeledAddressValue-D09c5wJR-SwwlfZfN.js → LabeledAddressValue-AuzW29LK-99vdzqZR.js} +1 -1
  87. package/dist/assets/{LabeledAddressValueField-Cac2YPpN-BtBBHBjA.js → LabeledAddressValueField-C_KatgTA-ByiPbJgm.js} +1 -1
  88. package/dist/assets/LabeledControlledCheckBoxField-CEd7DSmU-mOU-S2fp.js +16 -0
  89. package/dist/assets/{LabeledCountryMultiSelectField-DdqOGBwp-CLnn3snt.js → LabeledCountryMultiSelectField-CffMX6f1-C44H-4q3.js} +12 -12
  90. package/dist/assets/{LabeledCreatableSingleSelectField-K0xUavli-C-Rpq08j.js → LabeledCreatableSingleSelectField-CoS6DIi_-DTDCa09f.js} +2 -2
  91. package/dist/assets/LabeledDocumentField-CVBhbPHv-9665D02s.js +41 -0
  92. package/dist/assets/{LabeledDropDownFormattedTextField-Dms9ziRv-D2k0zfGZ.js → LabeledDropDownFormattedTextField-CNru68eT-GPSUv36b.js} +5 -5
  93. package/dist/assets/{LabeledMultiSelectField-X5GGPnfG-Cnt5VjlF.js → LabeledMultiSelectField-CTqXa2Rh-Cxu9DNT8.js} +1 -1
  94. package/dist/assets/{LabeledText-BJrI_PVT-Cnhcrbyr.js → LabeledText-Da0Yn6u8-CFgd90E4.js} +2 -2
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BmMN3W3F-CzuOqnJx.js → LabeledUserSingleSelectWithSubtitlesField-CE332GjA-BafYQ_Pm.js} +9 -9
  96. package/dist/assets/{LabeledZeniRolesDropDownField-PsaKyCCY-BpbPhmMd.js → LabeledZeniRolesDropDownField-DU4-ho4X-DQBIg45w.js} +7 -7
  97. package/dist/assets/{LinkJETransactionPage-BDIpw0zn-CywKt_5n.js → LinkJETransactionPage-Dx4OE1-O-HLvvvZHd.js} +9 -9
  98. package/dist/assets/{LockCardPage-ChGk6VJX-BTga-XUd.js → LockCardPage-B3P6wcK_-Ckpg2eew.js} +23 -23
  99. package/dist/assets/{LowBalancePopup-Bv3kKmAV-LQ3kNp3e.js → LowBalancePopup-Dp1vEYQQ-DIw_NRSy.js} +5 -5
  100. package/dist/assets/MagicLinkACHDetailsPage-BeRQFYX3-CrMUHXPB.js +1 -0
  101. package/dist/assets/MagicLinkDomesticWireDetailsPage-C1DDZC2_-CWTR8m-D.js +1 -0
  102. package/dist/assets/MagicLinkInternationalWireDetailsPage-DyDp04Vn-UtoyLAup.js +1 -0
  103. package/dist/assets/{MagicLinkSuccessPage-ySlQc8oV-B4jW0ziH.js → MagicLinkSuccessPage-Iva17nX0-DhK2jGAZ.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-C_OYT1do-BEHk0Loc.js → MagicLinkTitleSection-B726bP_P-CoT1ZO_f.js} +1 -1
  105. package/dist/assets/MailingDetailsSection-IQJY4Yl0-C_b76P8R.js +21 -0
  106. package/dist/assets/{MyBankConnectionsSettingsPage-CxaXh1Aj-tCBH8QSt.js → MyBankConnectionsSettingsPage-Ad6xGN08-JjXBlik9.js} +6 -6
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-B9mNbLDd-BcPvoZBP.js → MyPendingActivationChargeCardListPage-BYZ61huS-YKZjMs5X.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-DDERIXlZ-CqPqL_VO.js → MyProfileSettingsPage-bEru4GQJ-Cj303JTH.js} +6 -6
  109. package/dist/assets/{NavBarWithPicker-BJ_8PHPv-CYqH7t3l.js → NavBarWithPicker-BAKrtv3g-BXBcsUFZ.js} +4 -4
  110. package/dist/assets/{NavigationArrow-9HOMBxoh-CW9vEk6t.js → NavigationArrow-CKvBs9-h-DGD1r2EE.js} +1 -1
  111. package/dist/assets/{NavigationDots-DPf5iy8f-_rLqbL9I.js → NavigationDots-BdcVrwsL-D_WEvn6f.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-1MfUlwkA-CUEkYiKb.js → NewGlobalMerchantPage-Cx38uQAS-BBICE4OG.js} +7 -7
  113. package/dist/assets/{NoDataChart-CDHiYyiO-Cvyp8P2g.js → NoDataChart-BbyxZE2g-CtN5BYbf.js} +2 -2
  114. package/dist/assets/{NoDataTable-BoAJZxdS--s0sFyd9.js → NoDataTable-BNZWGvtm-S9Fe9Ovx.js} +1 -1
  115. package/dist/assets/{NotFoundPage-C-EoeDss-Cuk5hWE9.js → NotFoundPage-CssnEz-k-ccXdF3op.js} +7 -7
  116. package/dist/assets/{NotificationSettingsPage-BfFNx-vu-DppBTugR.js → NotificationSettingsPage-DmgxnO9I-BH2rOJH7.js} +15 -15
  117. package/dist/assets/{NotificationsListConfig-CBQwRqMo-ChmYnLxa.js → NotificationsListConfig-DdMKLqFI-DwvXMwFg.js} +1 -1
  118. package/dist/assets/{NotificationsPage-BPfRskWZ-lKWyVewy.js → NotificationsPage-B9XIE39J-CejudHUF.js} +12 -12
  119. package/dist/assets/{OpExByVendorPage-BLI8h8LP-CfIu_zZF.js → OpExByVendorPage-5wnFvYXt-D6A9jnRY.js} +4 -4
  120. package/dist/assets/{OverlayContainerPage-IDTUbuAC-DCvrfa2U.js → OverlayContainerPage-IDTUbuAC-dv-sDcTQ.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-DvT1WQdL-DnarxddY.js → PandLWithForecastPage-CrtKdSaD-CYng6puq.js} +7 -7
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CyfKYJV3-xmUGg1ra.js → PaymentAccountSetupBillingAddressSection-CQki5l4P-CuMomXeK.js} +9 -9
  123. package/dist/assets/{PeoplePage-BHfn-oLF-DNvAgQ-n.js → PeoplePage-BCjxJl1y-JBCpiTMQ.js} +10 -10
  124. package/dist/assets/{Preview-B9tjpKKL.js → Preview-DMKZka6j.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-ChWN6HhX-DsGah8Gp.js → ProductsCarousel-BYvlY6Jl-BJ6Pqq3q.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-BWpqciJW-BStDO3ET.js → PromoBaseCards-6vRaZnUg-CBqkAept.js} +12 -12
  127. package/dist/assets/{QBOConnectionDialog-D9wVm2ga-DvKlvw98.js → QBOConnectionDialog-C-v9bhUW-CtiRv4Zj.js} +2 -2
  128. package/dist/assets/{QBOSetupSection-CR7JQ_H9-Cq54EDWW.js → QBOSetupSection-DPhwp1AB-DxJDpMHr.js} +11 -11
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-RTvnT_vl-DEBYsOpg.js → ReimbursementApprovalRuleDetailPage-Crz8RArL-DQzyot-2.js} +2 -2
  130. package/dist/assets/{ReimbursementApprovalRulesPage-Dbs4lLSo-CXg9zGAp.js → ReimbursementApprovalRulesPage-CHrPVveg-DDlyKkun.js} +13 -13
  131. package/dist/assets/{ReimbursementDetailPage-COF-QqKR-sEjS9_VB.js → ReimbursementDetailPage-BlfifQuc-DXXQTfQu.js} +8 -8
  132. package/dist/assets/{ReimbursementPromoPage-DSHynwPv-BM64f6yo.js → ReimbursementPromoPage-B6rhhOye-CmIRL-Wr.js} +12 -12
  133. package/dist/assets/{ReimbursementSetUpPage-CafAtAVr-CA0M_0eq.js → ReimbursementSetUpPage-BQwRjKZ5-CWVOKlly.js} +7 -7
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-Cz8keUEO-kOg5mlog.js → ReimbursementsBulkReviewDrawerPage-BTaFn0Mh-DXx1vhRK.js} +1 -1
  135. package/dist/assets/{ReloadCard-Bf1jxC4B-CXn0QhEZ.js → ReloadCard-DETUOoLJ-Dww2RtAQ.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-DOQm7O9r-LKdsO3v0.js → ReportTableViewSelector-DSDclygb-CPmwPKtZ.js} +29 -29
  137. package/dist/assets/{ReportsPage-Deg59aYB-CaDE1LpS.js → ReportsPage-BrmMmYET-qm3o80ge.js} +4 -4
  138. package/dist/assets/{RevenueChart-C1RR_51e-BWmAb7vV.js → RevenueChart-B711QWTX-ztc9NA65.js} +17 -17
  139. package/dist/assets/{ReviewDetailsPage-D3bqGZYb-DtlVBISM.js → ReviewDetailsPage-Bkw0FfE--BL2mmyys.js} +52 -52
  140. package/dist/assets/{ReviewOverlay-CKB9LulM-7lIRnR_r.js → ReviewOverlay-CkB3Z8hH-CX5FMXRQ.js} +11 -11
  141. package/dist/assets/{RoleWithToolTip-BGlbeXtJ-B7q-3hiX.js → RoleWithToolTip-CkpqxMzB-CgYpd1vG.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-D4OkyPNa-B5XFgJ9H.js → ScheduleDetailsFixedAssetsPage-C-4zVu03-B-3H4CNH.js} +9 -9
  143. package/dist/assets/{ScheduleDetailsPage-9oUScaFD-BeYTMoGD.js → ScheduleDetailsPage-D4mYRUnv-CIK0kUkx.js} +3 -3
  144. package/dist/assets/{ScheduleSequenceTable-CuOC0Niz-C45dauFH.js → ScheduleSequenceTable-q-031a_C-Cl6g3k1V.js} +8 -8
  145. package/dist/assets/{ScreenRoutes-Bj3432Vy.js → ScreenRoutes-D9-sd0S3.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-CK2Ibij3-B5KyAZQj.js → SetUpAccountSection-Mm8JelXc-DJkSxyLc.js} +6 -6
  147. package/dist/assets/{SignIn-CLLS0cqt-BzSU4GBS.js → SignIn-faWXqi7o-BVPJ-uzq.js} +16 -16
  148. package/dist/assets/{SignInScreen-BZU7MmJK.js → SignInScreen-DTTr8TvQ.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-C1hg05PB-BWgBv3z5.js → SpendManagementListViewPage-BLWEPKWO-zjDi64vH.js} +6 -6
  150. package/dist/assets/{SpendManagementPerTabPage-7uggjzlM-C3NN3wdS.js → SpendManagementPerTabPage-vZNK6DuA-DHQi0ok2.js} +23 -23
  151. package/dist/assets/{SpendManagementSection-DFiL_yNI-6NFAIwIG.js → SpendManagementSection-CeDmloNd-CJQVf2yR.js} +1 -1
  152. package/dist/assets/StatementItem-CJShifEl-gXZiawe9.js +31 -0
  153. package/dist/assets/StatementsPage-BRxP-Jwn-CibgKP9E.js +58 -0
  154. package/dist/assets/{StatusSwitcher-DPzwQ_o1-B1pxRbjL.js → StatusSwitcher-CPuONMOx-IUewbXcR.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-Dztt2rN9-B1NCUiGr.js → SubTabSwitcher-ibTbIxr5-87SzITqK.js} +1 -1
  156. package/dist/assets/SummaryCard-vWpHXMPE-j4-YbXA_.js +1 -0
  157. package/dist/assets/{TaskManagementPage-BRAt26fv-9SrROSct.js → TaskManagementPage-COs5ebo9-LStJ5YyB.js} +22 -22
  158. package/dist/assets/{TimeRangeSwitcher-DMCbeOcI-nGya8if8.js → TimeRangeSwitcher-fD5vvYGO-Cg6AHBEd.js} +11 -11
  159. package/dist/assets/{TimeframeSwitcher-YCgPbEnk-CkpNlG9b.js → TimeframeSwitcher-BYXKRKtc-BTNUudrw.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-BBJP1nmh-BonCCusI.js → TimeframeSwitcherWithToggle-f92qNjEk-CshyNxhp.js} +2 -2
  161. package/dist/assets/{TopExCard-LesAF7Ot-BT8iqen2.js → TopExCard-Bs4nI9Q9-C9Jpq9jc.js} +10 -10
  162. package/dist/assets/{TopExDetailPage-BTG2W95T--ZICkjcX.js → TopExDetailPage-B0kS11k0-IiO7dIt-.js} +8 -8
  163. package/dist/assets/{TransactionDetailPage-BqHVfK2K-eMzW4yEv.js → TransactionDetailPage-BXl6y7sy-B_wNV2dF.js} +1 -1
  164. package/dist/assets/{TransactionList-CGmpQyNM-DeYBo2dy.js → TransactionList-BYXPQXN1-C2WkgSOj.js} +11 -11
  165. package/dist/assets/{TransactionListBig-CSYpIxGa-B18dXLSN.js → TransactionListBig-lrbHUS38-D0fzERPt.js} +16 -16
  166. package/dist/assets/{TransactionListPage-CV5U_pA6-COzlkyAB.js → TransactionListPage-OOLJzsmw-Dmoozb9S.js} +2 -2
  167. package/dist/assets/{TransactionVendorDetailPage-DvqHmq7y-d5vkc-bW.js → TransactionVendorDetailPage-CmjrngD2-DvxXX996.js} +4 -4
  168. package/dist/assets/{TransferDrawerPage-Cm5reG35-TbqV-aer.js → TransferDrawerPage-CnFrzA_M-C6390hZV.js} +15 -15
  169. package/dist/assets/{TreasuryOverviewPage-CwcehiRb-dKdOhr9I.js → TreasuryOverviewPage-CGxccIcU-CgXb0qH5.js} +25 -25
  170. package/dist/assets/{TreasuryPromoPage-BagqhZgO-n50P1WUt.js → TreasuryPromoPage-BmMVa8cX-BOYWbSX7.js} +8 -8
  171. package/dist/assets/{TreasuryStatementsPage-o-ID2nvn-DAz8XlnY.js → TreasuryStatementsPage-DL94A9mN-DZ6yoZ74.js} +1 -1
  172. package/dist/assets/{TreasuryTaxLetterPage-D9f3ohGF-B5q8UwPj.js → TreasuryTaxLetterPage-BJ9-ZsCQ-DnDmd1Op.js} +2 -2
  173. package/dist/assets/{TrendChart-CqxpheW7-DKIa35tO.js → TrendChart-ClyJQTBF-TLthRW_O.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-CK_je__x-C4dydqYV.js → TrendWithTransactions-D4m4sVkf-DJ-5Yugx.js} +4 -4
  175. package/dist/assets/{UncategorizedAccountsMappingPage-BBYQFJxE-CkC9TzJ8.js → UncategorizedAccountsMappingPage-BLwx8CVj-dhOY5qHO.js} +1 -1
  176. package/dist/assets/{UnitIntegrationPage-ULhazfl5-CrSwEMQU.js → UnitIntegrationPage-CgbOyIBt-nz_B7FQx.js} +10 -10
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-BPNLdaLG-CAOLdp3G.js → UploadAdditionalDocumentOverlay-CmVwCxA2-BL_6rNZZ.js} +1 -1
  178. package/dist/assets/Vendor2FAPopup-DQtP0bm--CecMTi1i.js +1 -0
  179. package/dist/assets/VendorACHDetailsPage-CuCteqbL-CrfAmoz7.js +1 -0
  180. package/dist/assets/{VendorDetailPage-DPiVnh93-BQzg7dQw.js → VendorDetailPage-CFkDOdUe-B1GqtBiD.js} +93 -93
  181. package/dist/assets/VendorDomesticWireDetailsPage-Cr1fyB0u-N7obKAAe.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-CFrvW8qi-CWtIKPLp.js → VendorFiling1099EditablePage-Bkn9p2Sf-xXTYWhq9.js} +32 -32
  183. package/dist/assets/{VendorFirstReviewPage-CRLGuw2s-B0-1tEwc.js → VendorFirstReviewPage-CKvnB4Q7-wJi46XXQ.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-CV11lzdw-dqBIr_7K.js → VendorInternationalWireDetailsPage--B2XU_hP-CbzsnIo2.js} +8 -8
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CJFB7SEO-BecYrM5_.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-vd0V4UXY-tXk1Gfok.js → VendorsAccountsSection-DJP1yZx7-OlnsbsSP.js} +3 -3
  187. package/dist/assets/{VerifyDevice-DbyjJVTH-DSbqV-wu.js → VerifyDevice-dFsnt44d-C1LsKxM_.js} +3 -3
  188. package/dist/assets/{VideoPlayer-CoI7aj8a-CBq5NFaj.js → VideoPlayer-Dy6rImBJ-QOYygi-i.js} +2 -2
  189. package/dist/assets/{VideoPopup-Bp7fCV1r-BxGj2xiK.js → VideoPopup-DM5Buf4j-CFLugl6n.js} +4 -4
  190. package/dist/assets/{WarningsDrawerPage-jMslD0FX-DqmoEx0_.js → WarningsDrawerPage-C8i8v3rq-BqkJBNMa.js} +5 -5
  191. package/dist/assets/{ZeniAccountDetailPage-C1Vq8cMd-DL2Jvxh-.js → ZeniAccountDetailPage-CI7znfzM-Vqgai5nW.js} +12 -12
  192. package/dist/assets/{ZeniAccountListViewPage-BNTb04x5-CsUjAzqv.js → ZeniAccountListViewPage-CBnYQpc8-Dv81IpSI.js} +7 -7
  193. package/dist/assets/{ZeniAccountNavBarPieces-ByYrxg3x-D4pGaQGS.js → ZeniAccountNavBarPieces-sMjtAlej-CO7nbf-u.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-BCkk0NbR-Cc7lLv6u.js → ZeniAccountPromoPage-B_NJMHHV-DWsuBCOP.js} +13 -13
  195. package/dist/assets/{ZeniAccountSetupPage-ClZTjZhF-dspEqIxd.js → ZeniAccountSetupPage-C9cJ0F8e-BF5g947U.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-C8wXM9Gr-D64n6Cd2.js → ZeniCopyright-DzWFQiAt-07AcK5yb.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-NAR_1h8K-BAHBYUdF.js → ZeniTransferAmountSlider-B424bcSV-CHepSJQx.js} +1 -1
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-flwj0i1s.js → add-to-wallet-DgdBD8_G-pWZi41H8.js} +1 -1
  199. package/dist/assets/{analytics-EizVTK6x.js → analytics-BvXI56dE.js} +1 -1
  200. package/dist/assets/{analyticsHelper-DjynPp_X-Dvz518-_.js → analyticsHelper-CzevEN9D-BUYGstD0.js} +1 -1
  201. package/dist/assets/{analyticsHelper-Bf4wtDnF.js → analyticsHelper-DP-LgJhR.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-DbFUNUBk.js → arrow-south-east-round-PEovUgvH-B9_UwdI_.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-T83isyAA.js → auto-transfer-rule-mbafm5D3-CRwly3T1.js} +1 -1
  204. package/dist/assets/{chartTypes-CXNoxZp_-Cu6v-VwM.js → chartTypes-n3TS0IBf-DRx7aLxA.js} +1 -1
  205. package/dist/assets/{commonDimensions-i9Qxk1O2-BGeHxXny.js → commonDimensions-6BcP8EhU-CPpjZ-C4.js} +1 -1
  206. package/dist/assets/{commonTypes-CcEHeA3z-D3erot3w.js → commonTypes-Q1WP-Ym3-Cmq2uCPt.js} +1 -1
  207. package/dist/assets/{constants-BGXrwDfx.js → constants-B97TsRRb.js} +1 -1
  208. package/dist/assets/{core-C5wq1_Bk.js → core-CIefpDlV.js} +1 -1
  209. package/dist/assets/{dash.all.min-B4_top4V.js → dash.all.min-RUznf6Xj.js} +1 -1
  210. package/dist/assets/{detailCommon-DVTOw71--GcYOMQVW.js → detailCommon-D3YbmSu3-CiTGsaNF.js} +7 -7
  211. package/dist/assets/{downloadPdf-1-N8Pf0G-DBsge8qy.js → downloadPdf-Bf11NXjY-DUwuSlsF.js} +1 -1
  212. package/dist/assets/{empty-fb3xJ2Vb.js → empty-BQQX0XD1.js} +1 -1
  213. package/dist/assets/{empty-DuP8pCf7.js → empty-DJIJO66a.js} +1 -1
  214. package/dist/assets/{epic-4LjfR2JF.js → epic-C6ygjjdM.js} +1 -1
  215. package/dist/assets/{gift-box-Cmt9OgIZ-BtixTK1k.js → gift-box-Cmt9OgIZ-BWCTqneo.js} +1 -1
  216. package/dist/assets/{graphic-no-data-l-DU4J8fDt--UnjJCr0.js → graphic-no-data-l-DU4J8fDt-C8GXOUxr.js} +1 -1
  217. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-8oQBXM_J.js → graphic-no-data-net-burn-l-CzmycA0m-BQAFQuCs.js} +1 -1
  218. package/dist/assets/{handshake-BPg58FML-BSCdA5zo.js → handshake-BPg58FML-BCnezDN8.js} +1 -1
  219. package/dist/assets/{index-tW1FBxGF.js → index-BzA0Xv0P.js} +1 -1
  220. package/dist/assets/{index-Ko3PkHk3.js → index-CQs92n2L.js} +1 -1
  221. package/dist/assets/{index-CzJUh-iK.js → index-DAj0zPwk.js} +1 -1
  222. package/dist/assets/{index-J8KI2Uyc.js → index-DtRGsySN.js} +1 -1
  223. package/dist/assets/{index-B1Bt1IRt.js → index-WEj6FS32.js} +10 -8
  224. package/dist/assets/{index-_TIifI_v.js → index-rikpsdq-.js} +1 -1
  225. package/dist/assets/{index-DqRCO-H6.js → index-smQbM7l5.js} +1 -1
  226. package/dist/assets/{lexical-xuKHFvUb.js → lexical-Dp1JhPKz.js} +1 -1
  227. package/dist/assets/{liveblocks-B14TpO3l.js → liveblocks-CrODURpx.js} +1 -1
  228. package/dist/assets/{lottie-BIQaRIZs.js → lottie-hIwSKdQS.js} +1 -1
  229. package/dist/assets/{mapLoadingInProgressToTreeNode-UA-QQZJo-Dm-iOdH1.js → mapLoadingInProgressToTreeNode-BArKDqgr-Ce9uxfyP.js} +1 -1
  230. package/dist/assets/{mapSectionWithAcOnlyToTreeNode--y3nO5uZ-CRiy-M7l.js → mapSectionWithAcOnlyToTreeNode-BCmFQbuz-BJl1ilV_.js} +1 -1
  231. package/dist/assets/mapSpacerToTreeNode-DdwRxjlP-Bw1NwZTY.js +1 -0
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-CR-gDA51-Dr9tcN9g.js +1 -0
  233. package/dist/assets/mapTimeframeBalancesToTreeNode-ClmNRrTo-Covijrhn.js +1 -0
  234. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-aD-96xtj-C0_zrT5H.js → mapTimeframeHeaderLoadingInProgressToTreeNode-DT4LUXl9-COTrRRrU.js} +1 -1
  235. package/dist/assets/{mui-CR-wYMmN.js → mui-BTtN6lbG.js} +1 -1
  236. package/dist/assets/{page-detail-CWX5S47F-Dp0GDjdb.js → page-detail-CWX5S47F-vL4oE1Hd.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-CInIhD3e.js → radio-default-CiSgisfh-CzTG_UVX.js} +1 -1
  238. package/dist/assets/{react-D2cRiLcJ.js → react-BZDhaeWn.js} +1 -1
  239. package/dist/assets/{react-C8urvt-z.js → react-CZT8R2xg.js} +1 -1
  240. package/dist/assets/{react-D_2r5dmn.js → react-D8h_J9ua.js} +1 -1
  241. package/dist/assets/{react-BW87X3sj.js → react-DTawl0rf.js} +1 -1
  242. package/dist/assets/{react-DHV7aTmN.js → react-FdUpWGdd.js} +2 -2
  243. package/dist/assets/{react-CCZeJYV_.js → react-RUf-G1wy.js} +1 -1
  244. package/dist/assets/{react-BHi_eEiU.js → react-dGc0O2tO.js} +1 -1
  245. package/dist/assets/{react-CcqTmi2W.js → react-yNxKnTJa.js} +1 -1
  246. package/dist/assets/{recharts-C3mrSjO2.js → recharts-BfU_srYC.js} +1 -1
  247. package/dist/assets/{sentry-DMXY90dB.js → sentry-B0WgNUxa.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-BYs2EC5i.js → shield-DOlUxcFf-Z1Xg2OMK.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-BzzH0Io4-q6KiTxht.js +1 -0
  250. package/dist/assets/{toChartData-Dv-QcYgv-DSE0QTZ7.js → toChartData-Bl-lEYbQ-Cv_10vbn.js} +1 -1
  251. package/dist/assets/{uploadAttachment-DSmux1Yp-BOdQNanh.js → uploadAttachment-B_0cN84g-C7pQHANb.js} +8 -8
  252. package/dist/assets/{uploadReceipts-DJRtId-4-BOBtRP4Y.js → uploadReceipts-DJRtId-4-B1jpX457.js} +1 -1
  253. package/dist/assets/{url-20Ls3nS_.js → url-CHEcUoer.js} +1 -1
  254. package/dist/assets/{url-DojBAuFA.js → url-D-l_68oE.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-C5_U_XBl.js → useLongPress-GCK2COYQ-BysG3lqG.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-l2et8N9o.js → usp-line-BBd1wKwW-ZROsAmzr.js} +1 -1
  257. package/dist/assets/{utils-BCuN6woZ.js → utils-DZQMbqmw.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-BXMuLX_S.js → zeni-epic-state-DnAAAEmj.js} +3 -3
  259. package/dist/index.html +1 -1
  260. package/package.json +4 -4
  261. package/dist/assets/AccountInfoPage-CyJ0eFqc-lvl-fC1Q.js +0 -18
  262. package/dist/assets/AddAddressForCardDrawer-D1XOklKz-AxY8_7va.js +0 -6
  263. package/dist/assets/CardNumberSubText-sE2DGwYG-C9LkYCp8.js +0 -21
  264. package/dist/assets/ChargeCardPromoPage-D0np03A--Ce5l6uOJ.js +0 -222
  265. package/dist/assets/ConfettiBurst-BRie0bid-DyeYvFIn.js +0 -1
  266. package/dist/assets/CustomerOnboardingContainerPage-DrNstqxI-DNQU9dbQ.js +0 -1
  267. package/dist/assets/EntityDetailPage-Cpdbw3XR-DCc4ciXU.js +0 -18
  268. package/dist/assets/LabeledControlledCheckBoxField--EmdYCME-_kE_mCY3.js +0 -16
  269. package/dist/assets/LabeledDocumentField--JZn0qDn-BfsHm00S.js +0 -41
  270. package/dist/assets/MagicLinkACHDetailsPage-D4Vmz8ms-Boroqvnn.js +0 -1
  271. package/dist/assets/MagicLinkDomesticWireDetailsPage-B7C30ROh-C0PjXshS.js +0 -1
  272. package/dist/assets/MagicLinkInternationalWireDetailsPage-DVFrpmvm-BmFczR-g.js +0 -1
  273. package/dist/assets/MailingDetailsSection-CTPCXpZR-CaBLvE7x.js +0 -21
  274. package/dist/assets/StatementItem-CdytKcBE-BqUj-uoo.js +0 -31
  275. package/dist/assets/StatementsPage-DU32IYXF-BVV6blsk.js +0 -58
  276. package/dist/assets/SummaryCard-D3ev0zFr-B8E6EZU6.js +0 -1
  277. package/dist/assets/Vendor2FAPopup-C3Z-3poJ-CX1Ei5qy.js +0 -1
  278. package/dist/assets/VendorACHDetailsPage-DnB2b-v_-DAV4OvdT.js +0 -1
  279. package/dist/assets/VendorDomesticWireDetailsPage-BbfatdWd-D7hiHVQt.js +0 -1
  280. package/dist/assets/VendorInternationalWireSwiftDetailsPage-D3asjWH_-DCYu9Mof.js +0 -1
  281. package/dist/assets/mapSpacerToTreeNode-BOG_274U-B57zDIT0.js +0 -1
  282. package/dist/assets/mapTimeframeBalancesToTreeNode-Btd_0ZvL-7awrYe81.js +0 -1
  283. package/dist/assets/mapTimeframeBalancesToTreeNode-LWHXAvJU-DtVqwMOk.js +0 -1
  284. package/dist/assets/toCOABalancesWithID-C_7wlYeT-FI84UOqV.js +0 -1
@@ -1,4 +1,4 @@
1
- import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as de,p as g,dN as Z,dO as X,c_ as ue,aV as x,ai as Y,u as p,Q as xe,g as S,a$ as pe,ds as he,an as ge,r as me,am as I,bJ as fe,dE as je}from"./index-B1Bt1IRt.js";import{a as ye}from"./sentry-DMXY90dB.js";import{n as a,c as we}from"./mui-CR-wYMmN.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bf086407-858a-4c5b-9c1d-e7eecff1871c",e._sentryDebugIdIdentifier="sentry-dbid-bf086407-858a-4c5b-9c1d-e7eecff1871c")}catch{}})();const $e=a.div`
1
+ import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as de,p as g,dN as Y,dO as Z,c_ as ue,aV as x,ai as X,u as p,J as xe,g as S,a$ as pe,ds as he,an as ge,r as me,am as I,bJ as fe,dE as je}from"./index-WEj6FS32.js";import{a as ye}from"./sentry-B0WgNUxa.js";import{n as a,c as we}from"./mui-BTtN6lbG.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="6ea80219-e320-4578-be2a-a828592424e7",e._sentryDebugIdIdentifier="sentry-dbid-6ea80219-e320-4578-be2a-a828592424e7")}catch{}})();const $e=a.div`
2
2
  position: relative;
3
3
  ${e=>e.showTreeLine===!0&&e.collapsed!==!0?`&::after {
4
4
  content: "";
@@ -38,7 +38,7 @@ import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as
38
38
  margin-left: 2px;
39
39
  width: 12px;
40
40
  height: 12px;
41
- `;function Te({firstLetter:e,color:n,showIcon:c,showCollapsedIcon:i,showTreeLine:l=!1,className:d}){return t.jsx($e,{showTreeLine:l,collapsed:i,children:t.jsx(be,{colour:n,className:d,children:t.jsx(Ce,{children:c===!0?i===!0?t.jsx(ke,{}):t.jsx(Re,{}):t.jsx(ve,{colour:n,className:d,children:e})})})})}const Ee=a.div`
41
+ `;function Te({firstLetter:e,color:n,showIcon:i,showCollapsedIcon:c,showTreeLine:l=!1,className:d}){return t.jsx($e,{showTreeLine:l,collapsed:c,children:t.jsx(be,{colour:n,className:d,children:t.jsx(Ce,{children:i===!0?c===!0?t.jsx(ke,{}):t.jsx(Re,{}):t.jsx(ve,{colour:n,className:d,children:e})})})})}const Ee=a.div`
42
42
  display: flex;
43
43
  flex: 1 1 auto;
44
44
  max-height: 1px;
@@ -132,11 +132,11 @@ import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as
132
132
  `,Me=a.div`
133
133
  width: ${u.bankBalanceRightWidth}px;
134
134
  min-width: ${u.bankBalanceRightWidth}px;
135
- `,Qe=a(w)`
135
+ `,Ue=a(w)`
136
136
  width: ${u.clearedBalanceWidth}px;
137
137
  min-width: ${u.clearedBalanceWidth}px;
138
138
  text-align: right;
139
- `,Ue=a(w)`
139
+ `,Fe=a(w)`
140
140
  width: ${u.statusWidth}px;
141
141
  min-width: ${u.statusWidth}px;
142
142
  height: 1px;
@@ -144,7 +144,7 @@ import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as
144
144
  align-items: center;
145
145
  justify-content: center;
146
146
  height: 100%;
147
- `,Fe=a.div`
147
+ `,Qe=a.div`
148
148
  display: flex;
149
149
  flex-direction: row;
150
150
  min-width: ${u.spacerLineWidth}px;
@@ -166,12 +166,12 @@ import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as
166
166
  text-align: center;
167
167
  gap: ${o.sp2};
168
168
  margin-left: ${u.tickLeftMargin}px;
169
- `,qe=a(w)`
169
+ `,Je=a(w)`
170
170
  border-radius: ${o.sp1};
171
171
  color: ${e=>e.textColor.hex()};
172
172
  min-width: ${u.varianceNumberWidth}px;
173
173
  text-align: right;
174
- `,Je=a(w)`
174
+ `,qe=a(w)`
175
175
  border-radius: ${o.sp1};
176
176
  padding: ${o.sp0} ${o.sp1};
177
177
  justify-content: center;
@@ -187,16 +187,16 @@ import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as
187
187
  display: flex;
188
188
  flex-direction: column;
189
189
  align-items: center;
190
- `,Ze=a.div`
190
+ `,Ye=a.div`
191
191
  display: flex;
192
192
  flex-direction: row;
193
193
  align-items: center;
194
194
  gap: ${o.sp1};
195
- `,Xe=a(I)`
195
+ `,Ze=a(I)`
196
196
  color: ${g.success};
197
197
  `,G=a(I)`
198
198
  color: ${g.success};
199
- `,Ye=a(je)`
199
+ `,Xe=a(je)`
200
200
  width: ${o.sp3};
201
201
  height: ${o.sp3};
202
202
  color: ${g.success};
@@ -225,12 +225,12 @@ import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as
225
225
  flex-direction: row;
226
226
  gap: ${o.sp1};
227
227
  align-items: center;
228
- `,ct=a.div`
228
+ `,it=a.div`
229
229
  padding-top: ${o.sp1};
230
230
  &:hover {
231
231
  color: ${e=>e.theme.colors.primary};
232
232
  }
233
- `,it=a(de)`
233
+ `,ct=a(de)`
234
234
  width: ${o.sp3};
235
235
  height: ${o.sp3};
236
236
  `,A=a(fe)`
@@ -252,11 +252,11 @@ import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as
252
252
  flex-direction: row;
253
253
  align-items: center;
254
254
  gap: ${o.sp1};
255
- `,Q=a(I)`
256
- color: ${e=>e.textColor.hex()};
257
255
  `,U=a(I)`
258
256
  color: ${e=>e.textColor.hex()};
259
- `,F=a.div`
257
+ `,F=a(I)`
258
+ color: ${e=>e.textColor.hex()};
259
+ `,Q=a.div`
260
260
  display: flex;
261
261
  flex-direction: row;
262
262
  align-items: center;
@@ -271,28 +271,28 @@ import{V as t,aN as E,bS as f,o,aP as y,aa as se,dL as re,F as le,al as w,dM as
271
271
  flex-direction: column;
272
272
  align-items: center;
273
273
  justify-content: center;
274
- `,rt=a(Y)`
274
+ `,rt=a(X)`
275
275
  color: ${e=>e.theme.colors.hero};
276
- `,lt=a(Y)`
276
+ `,lt=a(X)`
277
277
  color: ${g.brandColorPearl};
278
278
  `,dt=a.div`
279
279
  display: flex;
280
280
  flex-direction: row;
281
281
  align-items: center;
282
282
  justify-content: center;
283
- `,ut=a(Z)`
283
+ `,ut=a(Y)`
284
284
  width: ${o.sp3};
285
285
  height: ${o.sp3};
286
286
  margin-top: 2px;
287
- `,xt=a(Z)`
287
+ `,xt=a(Y)`
288
288
  width: ${o.sp3};
289
289
  height: ${o.sp3};
290
- `,pt=a(X)`
290
+ `,pt=a(Z)`
291
291
  width: ${o.sp3};
292
292
  height: ${o.sp3};
293
293
  margin-top: 2px;
294
- `,ht=a(X)`
294
+ `,ht=a(Z)`
295
295
  width: ${o.sp3};
296
296
  height: ${o.sp3};
297
297
  margin-top: 2px;
298
- `,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=le.getLocalizedStrings();function _t({height:e,accountRecon:n,isLastRow:c,isSelectedRow:i,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:k}){const P=xe(),B=S(),v=n.accountReconEntity.account.accountName,W=n.accountReconEntity.balance,j=n.accountReconEntity.clearedBalance,N=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ce=()=>{k?.(n.accountReconEntity.account.accountId)},z=()=>{l?.(n.accountReconEntity.account.accountId)},[ie,D]=ye.useState(!1),q=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=q==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let J=e;return c&&(J=e+p[8]),t.jsxs(Le,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountName),heightValue:J,isLastRow:c,windowSize:P,isSelectedRow:i,onClick:()=>{ie!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Be,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(B.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ve,{className:"any-text-container",children:v})})})]}),t.jsxs(Ae,{children:[t.jsx(Oe,{children:t.jsx(wt,{accountType:n.accountReconEntity.account.accountType,lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:D,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:W,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ce,isLoading:T,onReconnectClicked:ae})}),t.jsx(Me,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Qe,{children:t.jsx($t,{clearedBalance:j,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:N,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Fe,{children:t.jsx(He,{heightValue:e})}),t.jsx(Ue,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:q==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:z}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:z})})]})]}),t.jsx(Pe,{kind:"account_separator",isScrolling:!1}),c?t.jsx(_e,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:c,isLoading:i})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,c),k=i?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(ze,{children:[t.jsx(qe,{textColor:d,className:"any-text-container",children:e==null||i?h:E("0,0",e)}),t.jsx(Je,{textColor:r,bgColor:m,className:"any-text-container",children:k})]})},ft=(e,n,c,i)=>{let l,d,r;return n!=null&&n.amount===0&&c!=null&&c==="reconciled"?(l=new x(g.success),d=new x(g.success),r=new x(g.successLight)):i===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:c})=>{const i=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(vt,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx(bt,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(V,{tooltipText:r,showTooltip:d!=null});if(i==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});if(i!=null)switch(i.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:c})=>{const i=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(Ct,{});if(i==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});if(i!=null)switch(i.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:c});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:r})},L=({buttonLabel:e,isDisabled:n,tooltipText:c,dataTestId:i,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:c}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Ge,{children:t.jsx(me,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":i,onClick:d=>{d.stopPropagation(),l()}})})}),_=({user:e,isQBO:n,tooltipText:c})=>t.jsx(f,{title:t.jsx(b,{tooltipText:c}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ke,{children:[t.jsxs(Ze,{children:[t.jsx(Ye,{}),t.jsx(Xe,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(G,{children:s.status.QBOUser}):e&&t.jsxs(G,{children:[e.firstName," ",e.lastName]})]})}),wt=({bankBalance:e,accountType:n,bankConnection:c,statementStatus:i,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:r,onReconnectClicked:m,isLoading:k,accountId:P,onStatementAddClicked:B,setIsHovering:v})=>{const W=Tt(n);if(d===!0)return t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h});if(k===!0)return t.jsx(C,{className:"any-text-container",children:h});if(c==="reconnect"){const j=l!=null?`${l.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(ct,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(it,{})})}),t.jsx(C,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",P),onClick:N=>{N.stopPropagation(),m?.()},children:s.connect.reconnnect})]})}else return c==="connected"||i==="uploaded"?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",P),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:t.jsx(se,{controller:W.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(re,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:W,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?r?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(C,{className:"any-text-container",children:h}),ee=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(O,{children:[t.jsx(A,{iconColor:n}),t.jsx(M,{children:t.jsx(Q,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(F,{children:t.jsx(U,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const c=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:c}),t.jsxs(O,{children:[t.jsx(M,{children:t.jsx(Q,{textColor:c,children:e})}),t.jsx(F,{children:t.jsx(U,{textColor:c,children:s.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=S(),c=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:c,children:s.status.autoReconInProgress}),t.jsx(R,{textColor:c,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:c})=>{const i=new x(g.important),l=Et(e,"list",c);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:i}),t.jsxs(O,{children:[t.jsx(M,{children:t.jsx(Q,{textColor:i,children:l})}),t.jsx(F,{children:t.jsx(U,{textColor:i,children:s.status.failed})})]})]})})},V=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(K,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(K,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:c,connectionInProgress:i})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=c==="connected"||c==="reconnect"||i===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(e){const n=[];return e!=null&&e==="bank"&&n.push({label:s.menu.bankConnection,value:"bank_connection"}),n.push({label:s.menu.statement,value:"statement"}),n}const Et=(e,n,c)=>{if(c!=null&&n==="drawer")return c;let i="";switch(e){case"parsing_failed":i=s.status.statementParseError;break;case"validation_failed":i=s.status.statementValidationFailed;break;case"processing_failed":i=s.status.statementProcessingFailed;break;default:i=s.status.statementParseError;break}return n==="drawer"&&(i=i+" "+s.status.failed),i};export{Te as B,wt as C,Lt as D,Et as E,Wt as N,_t as R,ft as f,u,$t as w};
298
+ `,{expenseAutomation:{accountRecon:{reconciliation:s}},common:{strings:{hyphen:h,percentage:gt}}}=le.getLocalizedStrings();function _t({height:e,accountRecon:n,isLastRow:i,isSelectedRow:c,onReviewClicked:l,onOpenDrawerClicked:d,onConnectClicked:r,onReconnectClicked:m,onStatementAddClicked:k}){const P=xe(),B=S(),v=n.accountReconEntity.account.accountName,W=n.accountReconEntity.balance,j=n.accountReconEntity.clearedBalance,N=n.accountReconEntity.variance,ne=n.accountReconEntity.variancePercentage,oe=()=>{r?.(n.accountReconEntity.account.accountId)},ae=()=>{m?.(n.accountReconEntity.account.accountId)},ie=()=>{k?.(n.accountReconEntity.account.accountId)},z=()=>{l?.(n.accountReconEntity.account.accountId)},[ce,D]=ye.useState(!1),J=n.accountConnectionStatus==="connected"||n.connectionInProgress===!0?"plaid":n.accountReconEntity.statementStatus?.code==="uploaded"||n.statementParseInProgress===!0?"bank_statement":"plaid",T=J==="plaid"?n.accountReconEntity.balanceDataStatus?.code==="in_progress"||n.connectionInProgress===!0:n.accountReconEntity.statementDataStatus?.code==="parsing"||n.statementParseInProgress===!0;let q=e;return i&&(q=e+p[8]),t.jsxs(Le,{"data-testid":y("account-recon-row-root-container",n.accountReconEntity.account.accountName),heightValue:q,isLastRow:i,windowSize:P,isSelectedRow:c,onClick:()=>{ce!==!0&&d?.(n.accountReconEntity.account.accountId)},children:[t.jsxs(Be,{isClickable:!0,"data-testid":y("total-row-container"),heightValue:e,children:[t.jsxs(Ne,{children:[t.jsx(Te,{firstLetter:v.charAt(0),color:new x(B.colors.hero),showIcon:!1,showCollapsedIcon:!1,className:"any-text-container"}),t.jsx(De,{children:t.jsx(f,{enterDelay:600,title:v,style:{padding:`${o.sp1} ${o.sp2}`},placement:"bottom",children:t.jsx(Ve,{className:"any-text-container",children:v})})})]}),t.jsxs(Ae,{children:[t.jsx(Oe,{children:t.jsx(wt,{accountType:n.accountReconEntity.account.accountType,lastUpdatedAt:n.accountReconEntity.reconciliationId!=null?n.accountReconEntity.reconUpdatedAt:n.accountReconEntity.accountUpdatedAt,setIsHovering:D,statementStatus:n.accountReconEntity.statementStatus.code,accountId:n.accountReconEntity.account.accountId,bankBalance:W,bankConnection:n.accountConnectionStatus,onConnectClicked:oe,onStatementAddClicked:ie,isLoading:T,onReconnectClicked:ae})}),t.jsx(Me,{children:t.jsx(kt,{statementStatus:n.accountReconEntity.statementStatus.code,statementParseInProgress:n.statementParseInProgress,connectionInProgress:n.connectionInProgress,bankStatusCode:n.accountConnectionStatus})}),t.jsx(Ue,{children:t.jsx($t,{clearedBalance:j,isLoading:T})}),t.jsx(mt,{isLoading:T,variance:N,variancePercentage:ne,reconciliationStatusCode:n.accountReconEntity.reconciliationStatus?.code}),t.jsx(Qe,{children:t.jsx(He,{heightValue:e})}),t.jsx(Fe,{onMouseEnter:()=>{D(!0)},onMouseLeave:()=>{D(!1)},children:J==="plaid"?t.jsx(jt,{accountRecon:n,isLoading:T,onReviewClicked:z}):t.jsx(yt,{accountRecon:n,isLoading:T,onReviewClicked:z})})]})]}),t.jsx(Pe,{kind:"account_separator",isScrolling:!1}),i?t.jsx(_e,{}):null]})}const mt=({variance:e,variancePercentage:n,reconciliationStatusCode:i,isLoading:c})=>{const l=S(),{varianceColor:d,variancePercentageColor:r,variancePercentageContainerColor:m}=ft(l,e,i),k=c?h:e!=null&&e.amount===0?"0%":n!=null?n===0?"0%":`${n.toFixed(2)}${gt}`:h;return t.jsxs(ze,{children:[t.jsx(Je,{textColor:d,className:"any-text-container",children:e==null||c?h:E("0,0",e)}),t.jsx(qe,{textColor:r,bgColor:m,className:"any-text-container",children:k})]})},ft=(e,n,i,c)=>{let l,d,r;return n!=null&&n.amount===0&&i!=null&&i==="reconciled"?(l=new x(g.success),d=new x(g.success),r=new x(g.successLight)):c===!0?(l=new x(e.colors.primary),d=new x(e.colors.primary),r=new x(e.colors.grey2)):(l=new x(e.colors.hero),d=new x(e.colors.hero),r=new x(e.colors.background)),{varianceColor:l,variancePercentageColor:d,variancePercentageContainerColor:r}},jt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountConnectionStatus,d=e.accountReconEntity.reconciliationId!=null?e.accountReconEntity.reconUpdatedAt:e.accountReconEntity.accountUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(n)return t.jsx(vt,{});if(e.accountReconEntity.balanceDataStatus?.code==="not_found"){let m="";return e.accountReconEntity.balance==null&&e.accountReconEntity.clearedBalance==null?m=s.status.balanceNotFound:e.accountReconEntity.balance==null?m=s.status.bankBalanceNotFound:m=s.status.clearedBalanceNotFound,t.jsx(bt,{status:m,tooltipText:r})}if(l==="reconnect"||l==="not_connected")return t.jsx(V,{tooltipText:r,showTooltip:d!=null});if(c==null&&l==="connected"&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:r})},yt=({accountRecon:e,isLoading:n,onReviewClicked:i})=>{const c=e.accountReconEntity.reconciliationStatus,l=e.accountReconEntity.statementDataStatus?.code==="validated"||e.accountReconEntity.statementDataStatus?.code==="processed",d=e.accountReconEntity.reconUpdatedAt,r=d!=null?`${d.utc(!0).fromNow().toLowerCase()}`:h;if(e.accountReconEntity.statementDataStatus?.code==="parsing_failed"||e.accountReconEntity.statementDataStatus?.code==="validation_failed"||e.accountReconEntity.statementDataStatus?.code==="processing_failed")return t.jsx(Rt,{code:e.accountReconEntity.statementDataStatus?.code,tooltipText:r,errorMessage:e.accountReconEntity.errorMessage?.errorShort});if(n)return t.jsx(Ct,{});if(c==null&&l&&e.accountReconEntity.balance!=null&&e.accountReconEntity.clearedBalance!=null)return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});if(c!=null)switch(c.code){case"save_for_later":case"pending":return t.jsx(L,{buttonLabel:s.status.review,isDisabled:!1,dataTestId:y("status-button",e.accountReconEntity.account.accountId),tooltipText:r,onClick:i});case"reconciled":return t.jsx(_,{isQBO:!1,user:e.accountReconEntity.user,tooltipText:r});case"reconciled_on_qbo":return t.jsx(_,{isQBO:!0,tooltipText:r});case"in_progress":return t.jsx(te,{tooltipText:r});case"failed":return t.jsx(ee,{tooltipText:r});default:return null}else return t.jsx(V,{showTooltip:d!=null,tooltipText:r})},L=({buttonLabel:e,isDisabled:n,tooltipText:i,dataTestId:c,onClick:l})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(Ge,{children:t.jsx(me,{label:e,size:"standard",variant:"secondary",style:{padding:`${o.sp1} 12px`},disabled:n,"data-testid":c,onClick:d=>{d.stopPropagation(),l()}})})}),_=({user:e,isQBO:n,tooltipText:i})=>t.jsx(f,{title:t.jsx(b,{tooltipText:i}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs(Ke,{children:[t.jsxs(Ye,{children:[t.jsx(Xe,{}),t.jsx(Ze,{children:n?s.status.reconciledVia:s.status.reconciledBy})]}),n?t.jsx(G,{children:s.status.QBOUser}):e&&t.jsxs(G,{children:[e.firstName," ",e.lastName]})]})}),wt=({bankBalance:e,accountType:n,bankConnection:i,statementStatus:c,lastUpdatedAt:l,fromDrawer:d=!1,onConnectClicked:r,onReconnectClicked:m,isLoading:k,accountId:P,onStatementAddClicked:B,setIsHovering:v})=>{const W=Tt(n);if(d===!0)return t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h});if(k===!0)return t.jsx(C,{className:"any-text-container",children:h});if(i==="reconnect"){const j=l!=null?`${l.utc(!0).fromNow()}`:h;return t.jsxs(ot,{children:[t.jsxs(at,{children:[t.jsx(it,{children:t.jsx(f,{title:t.jsx(b,{tooltipText:j}),placement:"bottom",style:{padding:`2px ${o.sp2}`},children:t.jsx(ct,{})})}),t.jsx(C,{className:"any-text-container",children:e!=null?E("0,0",e):h})]}),t.jsx(nt,{"data-testid":y("account-reconciliation-reconnect-button",P),onClick:N=>{N.stopPropagation(),m?.()},children:s.connect.reconnnect})]})}else return i==="connected"||c==="uploaded"?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(et,{"data-testid":y("account-reconciliation-connect-button",P),onMouseEnter:()=>{v(!0)},onMouseLeave:()=>{v(!1)},children:t.jsx(se,{controller:W.length>0,children:t.jsx(f,{title:s.tooltips.selectSource,style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx(re,{moreIconType:"custom",customIcon:t.jsx(tt,{}),options:W,customStyleConfig:{option:()=>({".option-container":{justifyContent:"flex-start"}}),valueContainer:()=>({height:o.sp3,".more-icon":{width:o.sp3,height:o.sp3}})},menuPlacement:"auto",onOptionSelection:j=>{j==="bank_connection"?r?.():j==="statement"&&B?.()},valueToIcon:j=>j==="bank_connection"?t.jsx(ut,{}):j==="statement"?t.jsx(pt,{}):null})})})})},$t=({clearedBalance:e,isLoading:n})=>e!=null&&n===!1?t.jsx(C,{className:"any-text-container",children:E("0,0",e)??h}):t.jsx(C,{className:"any-text-container",children:h}),ee=({tooltipText:e})=>{const n=new x(g.important);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(O,{children:[t.jsx(A,{iconColor:n}),t.jsx(M,{children:t.jsx(U,{textColor:n,children:s.status.reconciliationFailed})}),t.jsx(Q,{children:t.jsx(F,{textColor:n,children:s.status.reconcileViaQBO})})]})})})},bt=({status:e,tooltipText:n})=>{const i=new x(g.brandColorGoldDark);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:i}),t.jsxs(O,{children:[t.jsx(M,{children:t.jsx(U,{textColor:i,children:e})}),t.jsx(Q,{children:t.jsx(F,{textColor:i,children:s.status.reconcileViaQBO})})]})]})})},te=({tooltipText:e})=>{const n=S(),i=new x(n.colors.grey1);return t.jsx(f,{title:t.jsx(b,{tooltipText:e}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:i,children:s.status.autoReconInProgress}),t.jsx(R,{textColor:i,children:s.status.isInProgress})]})})})},vt=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.balanceSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Ct=()=>{const e=S(),n=new x(e.colors.grey1);return t.jsx($,{children:t.jsxs(H,{children:[t.jsx(R,{textColor:n,children:s.status.statementSyncInProgress}),t.jsx(R,{textColor:n,children:s.status.isInProgress})]})})},Rt=({code:e,tooltipText:n,errorMessage:i})=>{const c=new x(g.important),l=Et(e,"list",i);return t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsxs($,{children:[t.jsx(A,{iconColor:c}),t.jsxs(O,{children:[t.jsx(M,{children:t.jsx(U,{textColor:c,children:l})}),t.jsx(Q,{children:t.jsx(F,{textColor:c,children:s.status.failed})})]})]})})},V=({showTooltip:e,tooltipText:n})=>e==!1?t.jsx($,{children:t.jsx(K,{children:h})}):t.jsx(f,{title:t.jsx(b,{tooltipText:n}),style:{padding:`${o.sp1} ${o.sp2}`},maxWidth:"105px",placement:"bottom",children:t.jsx($,{children:t.jsx(K,{children:h})})}),b=({tooltipText:e})=>t.jsxs(st,{children:[t.jsx(rt,{children:s.tooltips.lastUpdated}),t.jsx(lt,{children:e})]}),kt=({statementStatus:e,statementParseInProgress:n,bankStatusCode:i,connectionInProgress:c})=>{let l=e==="uploaded"||n===!0?t.jsx(ht,{}):null;return l=i==="connected"||i==="reconnect"||c===!0?t.jsx(xt,{}):l,t.jsx(dt,{className:"bank-icon-container",children:l})};function Tt(e){const n=[];return e!=null&&e==="bank"&&n.push({label:s.menu.bankConnection,value:"bank_connection"}),n.push({label:s.menu.statement,value:"statement"}),n}const Et=(e,n,i)=>{if(i!=null&&n==="drawer")return i;let c="";switch(e){case"parsing_failed":c=s.status.statementParseError;break;case"validation_failed":c=s.status.statementValidationFailed;break;case"processing_failed":c=s.status.statementProcessingFailed;break;default:c=s.status.statementParseError;break}return n==="drawer"&&(c=c+" "+s.status.failed),c};export{Te as B,wt as C,Lt as D,Et as E,Wt as N,_t as R,ft as f,u,$t as w};
@@ -1,4 +1,4 @@
1
- import{F as Z,V as o,o as t,aY as z,p as v,aq as ne,b as ae,bu as ie,bv as se,bw as ce,bx as le,by as R,f as de,aO as E,aL as pe,g as J,aw as ue,aP as _,aX as me,aM as he,aS as ge,ai as V,av as xe,b5 as fe,al as ye,ba as Ce}from"./index-B1Bt1IRt.js";import{a as U,P as I}from"./sentry-DMXY90dB.js";import{c as $e}from"./SummaryCard-D3ev0zFr-B8E6EZU6.js";import{n as r,k as O,c as K}from"./mui-CR-wYMmN.js";import{EM as be}from"./zeni-epic-state-BXMuLX_S.js";import{N as Q}from"./NavigationArrow-9HOMBxoh-CW9vEk6t.js";import{k as ve}from"./NavigationDots-DPf5iy8f-_rLqbL9I.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="bbfe69c3-8011-4fb6-be12-48a4ac9a2caf",e._sentryDebugIdIdentifier="sentry-dbid-bbfe69c3-8011-4fb6-be12-48a4ac9a2caf")}catch{}})();const je="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",we="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",T=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return O`
1
+ import{F as Z,V as o,o as t,aY as z,p as b,aq as ne,b as ae,bu as ie,bv as se,bw as ce,bx as le,by as R,f as de,aO as E,aL as pe,g as J,aw as ue,aP as _,aX as me,aM as he,aS as ge,ai as V,av as xe,b5 as fe,al as ye,ba as Ce}from"./index-WEj6FS32.js";import{a as U,P as I}from"./sentry-B0WgNUxa.js";import{c as $e}from"./SummaryCard-vWpHXMPE-j4-YbXA_.js";import{n as r,k as O,c as K}from"./mui-BTtN6lbG.js";import{EM as ve}from"./zeni-epic-state-DnAAAEmj.js";import{N as Q}from"./NavigationArrow-CKvBs9-h-DGD1r2EE.js";import{k as be}from"./NavigationDots-BdcVrwsL-D_WEvn6f.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="759412a7-5a17-4d58-aa35-cbd908d79757",e._sentryDebugIdIdentifier="sentry-dbid-759412a7-5a17-4d58-aa35-cbd908d79757")}catch{}})();const je="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-1.png",Ae="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-2.png",we="https://storage.googleapis.com/zeni-apis.appspot.com/images/face-3.png",T=(e,n)=>{const i=e==="right"?`-${n}%`:`${n}%`;return O`
2
2
  0% {
3
3
  opacity: 0;
4
4
  transform: translateX(${i});
@@ -27,7 +27,7 @@ import{F as Z,V as o,o as t,aY as z,p as v,aq as ne,b as ae,bu as ie,bv as se,bw
27
27
  width: ${t.sp7};
28
28
  height: ${t.sp7};
29
29
  border-radius: 50%;
30
- border: 2px solid ${v.neutralGrey5Light};
30
+ border: 2px solid ${b.neutralGrey5Light};
31
31
  `,ze=r.div`
32
32
  display: flex;
33
33
  align-items: center;
@@ -57,7 +57,7 @@ import{F as Z,V as o,o as t,aY as z,p as v,aq as ne,b as ae,bu as ie,bv as se,bw
57
57
  `,Te=r(ye)`
58
58
  color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
59
59
  `,Be=r(le)`
60
- color: ${v.brandColorJade};
60
+ color: ${b.brandColorJade};
61
61
  height: ${t.sp4};
62
62
  width: ${t.sp4};
63
63
  `,Me=r(ce)`
@@ -91,14 +91,14 @@ import{F as Z,V as o,o as t,aY as z,p as v,aq as ne,b as ae,bu as ie,bv as se,bw
91
91
  height: 34px;
92
92
  width: ${t.sp5};
93
93
  border-radius: ${t.sp0} ${t.sp1} ${t.sp1} ${t.sp0};
94
- background-color: ${v.brandColorGold};
94
+ background-color: ${b.brandColorGold};
95
95
  `,Ue=r.div`
96
96
  display: flex;
97
97
  align-items: center;
98
98
  height: 34px;
99
99
  width: 168px;
100
100
  border-radius: ${t.sp0} ${t.sp1} ${t.sp1} ${t.sp0};
101
- background-color: ${v.brandColorJade};
101
+ background-color: ${b.brandColorJade};
102
102
  opacity: 0;
103
103
  animation: ${T("right",100)} normal 0.5s 1
104
104
  forwards;
@@ -112,7 +112,7 @@ import{F as Z,V as o,o as t,aY as z,p as v,aq as ne,b as ae,bu as ie,bv as se,bw
112
112
  `,Oe=r.div`
113
113
  width: 2px;
114
114
  height: ${t.sp0};
115
- background-color: ${v.important};
115
+ background-color: ${b.important};
116
116
  transform: rotate(64deg);
117
117
  position: absolute;
118
118
  top: ${t.sp1};
@@ -148,7 +148,7 @@ import{F as Z,V as o,o as t,aY as z,p as v,aq as ne,b as ae,bu as ie,bv as se,bw
148
148
  align-items: center;
149
149
  margin-right: ${t.sp3};
150
150
  ${q}
151
- background-color:${v.brandColorGold};
151
+ background-color:${b.brandColorGold};
152
152
  `,We=r(ne)`
153
153
  color: ${e=>e.theme.colors.brandColorOnyx};
154
154
  `,Ye=r(se)`
@@ -204,4 +204,4 @@ import{F as Z,V as o,o as t,aY as z,p as v,aq as ne,b as ae,bu as ie,bv as se,bw
204
204
  bottom: 6px;
205
205
  `,ro=r(R)`
206
206
  color: ${e=>e.theme.colors.zeniAccountsPromoButtonColor};
207
- `,P=Z.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:i,data:a,activeCardIndex:s,isZeniAccountsSetUp:p,handleLearnMoreClick:h,handleCardNavigation:d}){const u=J(),f=ue(),[g,x]=I.useState(0),[y,C]=I.useState(0),[B,j]=I.useState("left"),A=(l,$)=>{l.stopPropagation(),j($);const re=$=="left"?s+1:s-1;e.trackZeniAccountsPromoCardClick(n,$==="left"?"Next":"Back"),d(w(re),$)},M=l=>{d(w(l),"left")};function m(l){x(l.targetTouches[0].clientX)}function oe(l){C(l.targetTouches[0].clientX)}function w(l){return l<0?a.length+l:l%a.length}function te(){g-y>50&&y!==0?(d(w(s+1),"left"),j("left"),x(0),C(0)):g-y<-50&&y!==0&&(d(w(s-1),"right"),j("right"),x(0),C(0))}const H=a.length>1,X=be(f.loggedInUserRoleMap);return o.jsx(Je,{"data-testid":_("dashboard",i.cardType),style:{cursor:"default"},dimension:i.dimension,onTouchStart:l=>H?m(l):null,onTouchMove:l=>H?oe(l):null,onTouchEnd:()=>H?te():null,children:o.jsxs(Ve,{children:[o.jsx(F,{children:o.jsx(Q,{"data-testid":_("dashboard-navigation-arrow-left",i.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:A,promoColor:u.colors.zeniAccountsPromoButtonColor,promoBorderColor:u.colors.zeniAccountsPromoButtonColor})}),o.jsxs(F,{style:{height:"100%",position:"relative",alignItems:"center"},children:[o.jsx(eo,{children:o.jsx(oo,{children:P.title})}),a.map((l,$)=>o.jsx(me,{activeCardIndex:s,currentIndex:$,which:B,children:o.jsx(Re,{zeniAccountsPromoCardContent:l,showConfetti:s===2})},l.key)),o.jsx(Ke,{onClick:()=>h(X?p?"Move Money":"Sign Up for Free":"Learn More"),children:o.jsx(qe,{children:X?p?P.button:P.signUp:P.learnMore})}),o.jsx(ve,{spendManagementPromoCardActive:!0,numberOfDots:a.length,activeIndex:s,handleClick:M,promoColor:u.colors.zeniAccountsPromoButtonColor,promoColorHover:u.colors.zeniAccountsPromoNavigationDotHoverColor,style:{cursor:"default",position:"absolute",bottom:t.sp5}}),s===0?o.jsx(to,{children:o.jsx(ro,{children:a[0].footer})}):null]}),o.jsx(F,{children:o.jsx(Q,{"data-testid":_("dashboard-navigation-arrow-right",i.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:A,promoColor:u.colors.zeniAccountsPromoButtonColor,promoBorderColor:u.colors.zeniAccountsPromoButtonColor})})]})})}const{zeniAccountsPromoCard:c,common:b}=Z.getLocalizedStrings(),D={key:"keepInterest",title:c.title,prefix:c.keepInterest.prefixDashboard,header:c.keepInterest.header,headerAnimationData:[],footer:c.keepInterest.footer,showAnimation:!0},N={key:"protectCash",title:c.title,prefix:c.protectCash.prefix,headerAnimationData:[],showAnimation:!0},ao=[{key:"noHiddenFees",title:c.title,prefix:c.noHiddenFees.prefix,headerAnimationData:[{direction:"down",stepCount:6,values:c.noHiddenFees.headerAnimationData}],showAnimation:!0},{key:"freeWire",title:c.title,prefix:c.freeWire.prefix,headerAnimationData:[{direction:"right",stepCount:1,values:c.freeWire.headerAnimationData}],showAnimation:!0},{key:"expertSupport",title:c.title,prefix:c.expertSupport.prefix,header:c.expertSupport.header,headerAnimationData:[{direction:"left",stepCount:1,values:c.expertSupport.headerAnimationData}],showAnimation:!0}];function io({card:e,data:n,analytics:i,actions:a,isZeniAccountsEnabled:s,columnKey:p,index:h,dndProps:d}){const[u,f]=U.useState(0),g=m=>{f(m)},x=(p+1)*(h+1),y=m=>{i.trackZeniAccountsPromoCardClick(x,m),n.depositAccountId!=null?a.onCardBtnClick?.("zeni_accounts_promo_card",n.depositAccountId):a.onCardBtnClick?.("zeni_accounts_promo_card")},{maxInsuredAmount:C,maxPossibleInterest:B,maxAnnualPercentageYield:j,maxCashBalanceAvailable:A=0}=n;D.headerAnimationData=so(B??25e4),D.prefix=c.keepInterest.prefixDashboard.replace(/<amount>/,z("0,0",A,b.currency.currencySymbol).toUpperCase()),D.footer=c.keepInterest.footer.replace(/<interest>/,j.toString()),N.headerAnimationData=[{direction:"right",stepCount:1,values:[...c.protectCash.headerAnimationData,z(E(C),C,b.currency.currencySymbol).toUpperCase()]}],N.prefix=c.protectCash.prefix.replace(/<amount>/,z(E(C),C,b.currency.currencySymbol).toUpperCase());const M=[D,N,...ao];return o.jsx(pe,{isDragging:d?.draggedCardType!=null,isDragOver:d?.dragOverCard===e.cardType,draggable:!0,onDragStart:m=>d?.onDragStart(e.cardType,m),onDragOver:m=>d?.onDragOver(m,e.cardType),onDragLeave:m=>d?.onDragLeave(m),onDrop:m=>d?.onDrop(m,e.cardType),dimension:e.dimension,children:o.jsx($e,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:o.jsx(no,{card:e,data:M,handleCardNavigation:g,activeCardIndex:u,handleLearnMoreClick:y,isZeniAccountsSetUp:s&&n.depositAccountId!=null,analytics:i,cardPosition:x})})},e.cardIndex)}I.memo(io);function so(e){const n=[],i=z("0,0",Math.floor(e),b.currency.currencySymbol);for(let a=0;a<i.length;a++){const s=i[a],p={direction:"up",stepCount:0,values:[s]};if(s===b.currency.currencySymbol||s===b.strings.comma)n.push(p);else{const h=parseInt(i[a]),d=a===1&&h<=1?1:Math.floor(h/2),u=a%2===0?"down":"up",f=h-d,g=[];for(let x=0;x<=f;x++){const y=d+x;g.push(y.toString())}u==="down"&&g.reverse(),n.push({direction:u,stepCount:f,values:g})}}return n}export{Ge as G,io as a,so as c};
207
+ `,P=Z.getLocalizedStrings().zeniAccountsPromoCard;function no({analytics:e,cardPosition:n,card:i,data:a,activeCardIndex:s,isZeniAccountsSetUp:p,handleLearnMoreClick:h,handleCardNavigation:d}){const u=J(),f=ue(),[g,x]=I.useState(0),[y,C]=I.useState(0),[B,j]=I.useState("left"),A=(l,$)=>{l.stopPropagation(),j($);const re=$=="left"?s+1:s-1;e.trackZeniAccountsPromoCardClick(n,$==="left"?"Next":"Back"),d(w(re),$)},M=l=>{d(w(l),"left")};function m(l){x(l.targetTouches[0].clientX)}function oe(l){C(l.targetTouches[0].clientX)}function w(l){return l<0?a.length+l:l%a.length}function te(){g-y>50&&y!==0?(d(w(s+1),"left"),j("left"),x(0),C(0)):g-y<-50&&y!==0&&(d(w(s-1),"right"),j("right"),x(0),C(0))}const H=a.length>1,X=ve(f.loggedInUserRoleMap);return o.jsx(Je,{"data-testid":_("dashboard",i.cardType),style:{cursor:"default"},dimension:i.dimension,onTouchStart:l=>H?m(l):null,onTouchMove:l=>H?oe(l):null,onTouchEnd:()=>H?te():null,children:o.jsxs(Ve,{children:[o.jsx(F,{children:o.jsx(Q,{"data-testid":_("dashboard-navigation-arrow-left",i.cardType),isSpendManagementPromoCard:!0,navType:"left",handleClick:A,promoColor:u.colors.zeniAccountsPromoButtonColor,promoBorderColor:u.colors.zeniAccountsPromoButtonColor})}),o.jsxs(F,{style:{height:"100%",position:"relative",alignItems:"center"},children:[o.jsx(eo,{children:o.jsx(oo,{children:P.title})}),a.map((l,$)=>o.jsx(me,{activeCardIndex:s,currentIndex:$,which:B,children:o.jsx(Re,{zeniAccountsPromoCardContent:l,showConfetti:s===2})},l.key)),o.jsx(Ke,{onClick:()=>h(X?p?"Move Money":"Sign Up for Free":"Learn More"),children:o.jsx(qe,{children:X?p?P.button:P.signUp:P.learnMore})}),o.jsx(be,{spendManagementPromoCardActive:!0,numberOfDots:a.length,activeIndex:s,handleClick:M,promoColor:u.colors.zeniAccountsPromoButtonColor,promoColorHover:u.colors.zeniAccountsPromoNavigationDotHoverColor,style:{cursor:"default",position:"absolute",bottom:t.sp5}}),s===0?o.jsx(to,{children:o.jsx(ro,{children:a[0].footer})}):null]}),o.jsx(F,{children:o.jsx(Q,{"data-testid":_("dashboard-navigation-arrow-right",i.cardType),isSpendManagementPromoCard:!0,navType:"right",handleClick:A,promoColor:u.colors.zeniAccountsPromoButtonColor,promoBorderColor:u.colors.zeniAccountsPromoButtonColor})})]})})}const{zeniAccountsPromoCard:c,common:v}=Z.getLocalizedStrings(),D={key:"keepInterest",title:c.title,prefix:c.keepInterest.prefixDashboard,header:c.keepInterest.header,headerAnimationData:[],footer:c.keepInterest.footer,showAnimation:!0},N={key:"protectCash",title:c.title,prefix:c.protectCash.prefix,headerAnimationData:[],showAnimation:!0},ao=[{key:"noHiddenFees",title:c.title,prefix:c.noHiddenFees.prefix,headerAnimationData:[{direction:"down",stepCount:6,values:c.noHiddenFees.headerAnimationData}],showAnimation:!0},{key:"freeWire",title:c.title,prefix:c.freeWire.prefix,headerAnimationData:[{direction:"right",stepCount:1,values:c.freeWire.headerAnimationData}],showAnimation:!0},{key:"expertSupport",title:c.title,prefix:c.expertSupport.prefix,header:c.expertSupport.header,headerAnimationData:[{direction:"left",stepCount:1,values:c.expertSupport.headerAnimationData}],showAnimation:!0}];function io({card:e,data:n,analytics:i,actions:a,isZeniAccountsEnabled:s,columnKey:p,index:h,dndProps:d}){const[u,f]=U.useState(0),g=m=>{f(m)},x=(p+1)*(h+1),y=m=>{i.trackZeniAccountsPromoCardClick(x,m),n.depositAccountId!=null?a.onCardBtnClick?.("zeni_accounts_promo_card",n.depositAccountId):a.onCardBtnClick?.("zeni_accounts_promo_card")},{maxInsuredAmount:C,maxPossibleInterest:B,maxAnnualPercentageYield:j,maxCashBalanceAvailable:A=0}=n;D.headerAnimationData=so(B??25e4),D.prefix=c.keepInterest.prefixDashboard.replace(/<amount>/,z("0,0",A,v.currency.currencySymbol).toUpperCase()),D.footer=c.keepInterest.footer.replace(/<interest>/,j.toString()),N.headerAnimationData=[{direction:"right",stepCount:1,values:[...c.protectCash.headerAnimationData,z(E(C),C,v.currency.currencySymbol).toUpperCase()]}],N.prefix=c.protectCash.prefix.replace(/<amount>/,z(E(C),C,v.currency.currencySymbol).toUpperCase());const M=[D,N,...ao];return o.jsx(pe,{isDragging:d?.draggedCardType!=null,isDragOver:d?.dragOverCard===e.cardType,draggable:!0,onDragStart:m=>d?.onDragStart(e.cardType,m),onDragOver:m=>d?.onDragOver(m,e.cardType),onDragLeave:m=>d?.onDragLeave(m),onDrop:m=>d?.onDrop(m,e.cardType),dimension:e.dimension,children:o.jsx($e,{card:e,actions:{onCardClick:()=>{},onReloadData:()=>{}},children:o.jsx(no,{card:e,data:M,handleCardNavigation:g,activeCardIndex:u,handleLearnMoreClick:y,isZeniAccountsSetUp:s&&n.depositAccountId!=null,analytics:i,cardPosition:x})})},e.cardIndex)}I.memo(io);function so(e){const n=[],i=z("0,0",Math.floor(e),v.currency.currencySymbol);for(let a=0;a<i.length;a++){const s=i[a],p={direction:"up",stepCount:0,values:[s]};if(s===v.currency.currencySymbol||s===v.strings.comma)n.push(p);else{const h=parseInt(i[a]),d=a===1&&h<=1?1:Math.floor(h/2),u=a%2===0?"down":"up",f=h-d,g=[];for(let x=0;x<=f;x++){const y=d+x;g.push(y.toString())}u==="down"&&g.reverse(),n.push({direction:u,stepCount:f,values:g})}}return n}export{Ge as G,io as a,so as c};
@@ -0,0 +1,6 @@
1
+ import{g as y,J as S,aQ as T,b as r,V as l,js as w,o as t,y as m,aP as B,F as x,u as n}from"./index-WEj6FS32.js";import{a as C}from"./sentry-B0WgNUxa.js";import{n as P}from"./mui-BTtN6lbG.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./zeni-epic-state-DnAAAEmj.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.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]="99293212-5fa6-440a-afd5-73167ba37401",e._sentryDebugIdIdentifier="sentry-dbid-99293212-5fa6-440a-afd5-73167ba37401")}catch{}})();const p={marginTop:new m(n[0],18),marginBottom:new m(n[0],n[3])},{spendManagement:{chargeCard:{chargeCardsPromo:g}},common:j}=x.getLocalizedStrings(),L=({googleAPIKey:e,customAddress:o,customAddressStatus:a,onDismissClick:d,onSubmitHandler:u})=>{const c=y(),s=S(),i=T(a.fetchState);C.useEffect(()=>{i==="In-Progress"&&a.fetchState==="Completed"&&d()},[a.fetchState,d,i]);const f=s==="small"?r.extraSmallRegular.cssObject:r.standardRegular.cssObject,b=s==="small"?r.standardMedium.cssObject:r.h5Regular.cssObject;return l.jsx(I,{"data-testid":B("add-address-for-card-drawer"),children:l.jsx(w,{googleAPIKey:e,loadingState:a.fetchState,addressToEdit:o,onSubmitHandler:h=>u(h),onCancel:d,showNavbarWithClose:!0,isSubPage:!0,addTitleMessage:g.addAddress,subTitleMessage:g.addAddressSubText,hideAddressBackButton:!0,showAddressCloseButton:!0,dontShowSaveConfirmationPopup:!0,customNavStyles:{paddingTop:"19px",paddingBottom:"19px"},customTitleStyles:{marginTop:p.marginTop.valuePx(s),marginBottom:p.marginBottom.valuePx(s),...b},subTitleStyles:{marginTop:t.sp0,marginBottom:t.sp0,...f,color:c.colors.hero},navBarContainerStyles:{alignItems:"center",justifyContent:"space-between",paddingTop:t.sp2,paddingRight:t.sp3},sectionStyles:{paddingTop:t.sp4,paddingBottom:t.sp4},footerButtons:{primaryButtonLabel:j.add,buttonWidth:82,separatorStyle:{marginRight:t.sp4}}})})},I=P.div`
2
+ display: flex;
3
+ background-color: ${e=>e.theme.colors.grey4};
4
+ height: 100%;
5
+ width: 100%;
6
+ `;export{L as default};
@@ -1,4 +1,4 @@
1
- import{Q as M,a8 as le,aw as de,F as N,V as t,bB as ne,u as p,j6 as pe,jp as ce,o as i,r as W,aP as A,y as m,a as $,d as b,jq as he,j7 as ge,ch as xe,p as r,jr as me,bx as we,cX as ue,al as $e,b as be,jb as fe}from"./index-B1Bt1IRt.js";import{a as g}from"./sentry-DMXY90dB.js";import{n as o,c as D}from"./mui-CR-wYMmN.js";import{EL as ye}from"./zeni-epic-state-BXMuLX_S.js";import{t as je,n as ve,i as Se,a as Ce,l as ke,r as Te,A as Ie}from"./add-to-wallet-DgdBD8_G-flwj0i1s.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.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]="41b3bff7-b5ea-46b8-ae01-1fca9859ddd9",e._sentryDebugIdIdentifier="sentry-dbid-41b3bff7-b5ea-46b8-ae01-1fca9859ddd9")}catch{}})();const ze=({options:e,selected:a,onToggle:h,containerStyle:l={},optionStyle:y={},thumbStyle:k={}})=>{const w=e.findIndex(d=>d.id===a),u=100/e.length,j=()=>w===0?{left:"1%"}:w===e.length-1?{left:`${(e.length-1)*u}%`}:{left:`${w*u}%`};return t.jsxs(We,{style:l,children:[t.jsx(Ae,{style:{width:`${u-1}%`,...j(),...k}}),e.map(d=>t.jsx(De,{style:y,active:d.id===a,"data-testid":d.dataTestId,onClick:v=>{v.preventDefault(),h(d.id)},children:d.label},d.id))]})},We=o.div`
1
+ import{J as M,a8 as le,aw as ne,F as N,V as t,bB as de,u as p,j6 as pe,jp as ce,o as i,r as W,aP as A,y as m,a as $,d as b,jq as he,j7 as ge,ch as xe,p as r,jr as me,bx as we,cX as ue,al as $e,b as be,jb as fe}from"./index-WEj6FS32.js";import{a as g}from"./sentry-B0WgNUxa.js";import{n as o,c as D}from"./mui-BTtN6lbG.js";import{EL as ye}from"./zeni-epic-state-DnAAAEmj.js";import{t as je,n as ve,i as Se,a as Ce,l as ke,r as Te,A as Ie}from"./add-to-wallet-DgdBD8_G-pWZi41H8.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.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]="0857f442-3060-41ac-8d6f-6cf7b9ae44b4",e._sentryDebugIdIdentifier="sentry-dbid-0857f442-3060-41ac-8d6f-6cf7b9ae44b4")}catch{}})();const ze=({options:e,selected:a,onToggle:h,containerStyle:l={},optionStyle:y={},thumbStyle:k={}})=>{const w=e.findIndex(n=>n.id===a),u=100/e.length,j=()=>w===0?{left:"1%"}:w===e.length-1?{left:`${(e.length-1)*u}%`}:{left:`${w*u}%`};return t.jsxs(We,{style:l,children:[t.jsx(Ae,{style:{width:`${u-1}%`,...j(),...k}}),e.map(n=>t.jsx(De,{style:y,active:n.id===a,"data-testid":n.dataTestId,onClick:v=>{v.preventDefault(),h(n.id)},children:n.label},n.id))]})},We=o.div`
2
2
  position: relative;
3
3
  width: 100%;
4
4
  background: ${e=>e.theme.colors.grey3};
@@ -37,7 +37,7 @@ import{Q as M,a8 as le,aw as de,F as N,V as t,bB as ne,u as p,j6 as pe,jp as ce,
37
37
  transition: color 0.3s ease;
38
38
  padding-top: ${i.sp1};
39
39
  padding-bottom: ${i.sp1};
40
- `,{spendManagement:{chargeCard:{chargeCardsPromo:B,cardDetails:n}}}=N.getLocalizedStrings(),c={chargeCardWidth:new m(200,384),chargeCardHeight:new m(128,240),openWalletIconWidthHeight:new m(20,p[4]),headingMarginTop:new m(p[4],p[7]),headingMarginBottom:new m(p[6],p[9])},f={headingFont:new $("h6Medium","h4Regular"),subheadingFont:new $("standardRegular","h6Regular"),walletTitleFont:new $("standardSemiBold","largeSemiBold"),walletSubTitleFont:new $("extraSmallRegular","standardRegular")},Be=(e,a,h)=>t.jsxs(ot,{translatePhone:e,showIphone:h,children:[t.jsxs(at,{children:[t.jsx(gt,{children:B.timeText}),t.jsxs(rt,{children:[t.jsx(lt,{children:[...Array(4).keys()].map(l=>t.jsx(dt,{towerIndex:l},l))}),t.jsx(nt,{children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave"})})})}),t.jsx(pt,{children:t.jsx(ct,{})}),t.jsx(ht,{})]})]}),t.jsxs(it,{children:[t.jsxs(Ue,{children:[t.jsx(Ye,{showTick:a}),t.jsx(Ze,{showTick:a}),t.jsx(et,{showTick:a}),t.jsx(tt,{showTick:a}),t.jsxs(wt,{translateCardSkelton:e,children:[t.jsx($t,{}),[...Array(4).keys()].map(l=>t.jsx(ut,{lineIndex:l},l))]}),a?null:t.jsx(bt,{children:t.jsx(he,{scannerTheme:"light"})})]}),t.jsx(xt,{showTick:a}),t.jsx(mt,{showTick:a,children:B.addToWallet})]}),t.jsx(st,{})]}),F=({tabType:e})=>{const a=M();return t.jsxs(Le,{children:[t.jsxs(R,{children:[t.jsx(Ne,{children:t.jsx(Ge,{windowSize:a})}),t.jsx(E,{windowSize:a,children:n.openWalletAppOnPhone})]}),t.jsxs(L,{windowSize:a,children:[e==="apple"?n.openWalletDescriptionApple:n.openWalletDescriptionGoogle,t.jsx(P,{})]}),t.jsxs(R,{children:[t.jsx(Me,{children:t.jsx(Ve,{windowSize:a})}),t.jsx(E,{windowSize:a,children:n.verifyCard})]}),t.jsxs(L,{windowSize:a,children:[e==="apple"?n.VerifyCardDescriptionApple:n.VerifyCardDescriptionGoogle,t.jsx(P,{})]})]})},Et=({onGotItClick:e,isDebitCard:a,controllerEmails:h,classListFetchState:l,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:k,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:u,productInformation:j,creditAccountInformation:d,debitAccountInformation:v,chargeCardDetailView:G,creditAccount:V,creditAccountRepayment:_,cardIssuedByRoles:J,cardIssuedByDepartmentName:X,cardHolderRoles:q,cardHolderDepartmentName:K})=>{const s=M(),O=le().analytics,[T,Q]=g.useState(!1),[I,U]=g.useState(!1),[Y,Z]=g.useState(!1),[ee,te]=g.useState(!1),[S,ie]=g.useState("apple"),oe=de(),ae=ye(oe.loggedInUserRoleMap),re=z=>{ge({chargeCardDetailView:G,classListFetchState:l,analytics:O,isDebitCard:a,isChargeCardAdmin:ae,cardIssuedByRoles:J,cardIssuedByDepartmentName:X,cardHolderRoles:q,cardHolderDepartmentName:K,controllerEmails:h,pageName:"Card Activation",addToWalletType:z==="apple"?"Apple Wallet":"Google Wallet",productInformation:j,creditAccountInformation:d,debitAccountInformation:v,isChargeCardFeatureEnabled:y,creditAccount:V,creditAccountRepayment:_}),ie(z)};g.useEffect(()=>{setTimeout(()=>{Q(!0)},a?9500:4500),setTimeout(()=>{U(!0)},a?9e3:4e3),setTimeout(()=>{Z(!0)},a?10500:5500),setTimeout(()=>{te(!0)},a?15e3:1e4)},[a]);const se=T&&I,x=N.getLocalizedStrings().spendManagement.chargeCard;return t.jsx(vt,{windowSize:s,children:t.jsxs(Xe,{children:[t.jsx(ne,{navBarContainerStyles:{paddingTop:p[2],alignItems:"center",paddingBottom:p[2]},title:x.addToWallet.title,ignoreScrollAction:!0,showBackButton:!1,showMenuIcon:!1,transparentBackground:!0,source:"AddToWalletPage",style:{zIndex:3},titleStyle:{marginTop:p[0]}}),t.jsxs(qe,{windowSize:s,children:[t.jsx(ft,{windowSize:s,children:x.addToWallet.heading}),t.jsx(yt,{windowSize:s,children:x.addToWallet.subheading})]}),t.jsxs(Ke,{windowSize:s,children:[s!=="small"?t.jsx(Ct,{children:t.jsxs(Oe,{windowSize:s,children:[t.jsxs(Qe,{windowSize:s,flipCard:T,scaleCard:I,children:[t.jsx(pe,{isDebitCard:a}),t.jsx(ce,{showCrossIcon:!1,isDebitCard:a})]}),Be(Y,ee,se)]})}):null,t.jsxs(Re,{windowSize:s,children:[t.jsx(Ee,{children:t.jsx(ze,{options:[{id:"apple",dataTestId:"add-to-apple-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(Je,{}),t.jsx(H,{children:n.appleWallet})]})},{id:"google",dataTestId:"add-to-google-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(_e,{}),t.jsx(H,{children:n.googleWallet})]})}],optionStyle:{padding:"12px"},thumbStyle:{paddingTop:i.sp4,paddingBottom:i.sp4},containerStyle:{border:i.sp0},selected:S,onToggle:re})}),t.jsxs(Fe,{children:[t.jsx(Pe,{isActive:S==="apple",children:t.jsx(F,{tabType:"apple"})}),t.jsx(He,{isActive:S==="google",children:t.jsx(F,{tabType:"google"})})]}),s!=="small"?t.jsx(jt,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-web")})}):null]})]}),s==="small"?t.jsx(St,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-mobile")})}):null]})})},Fe=o.div`
40
+ `,{spendManagement:{chargeCard:{chargeCardsPromo:B,cardDetails:d}}}=N.getLocalizedStrings(),c={chargeCardWidth:new m(200,384),chargeCardHeight:new m(128,240),openWalletIconWidthHeight:new m(20,p[4]),headingMarginTop:new m(p[4],p[7]),headingMarginBottom:new m(p[6],p[9])},f={headingFont:new $("h6Medium","h4Regular"),subheadingFont:new $("standardRegular","h6Regular"),walletTitleFont:new $("standardSemiBold","largeSemiBold"),walletSubTitleFont:new $("extraSmallRegular","standardRegular")},Be=(e,a,h)=>t.jsxs(ot,{translatePhone:e,showIphone:h,children:[t.jsxs(at,{children:[t.jsx(gt,{children:B.timeText}),t.jsxs(rt,{children:[t.jsx(lt,{children:[...Array(4).keys()].map(l=>t.jsx(nt,{towerIndex:l},l))}),t.jsx(dt,{children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave",children:t.jsx(C,{className:"wave"})})})}),t.jsx(pt,{children:t.jsx(ct,{})}),t.jsx(ht,{})]})]}),t.jsxs(it,{children:[t.jsxs(Ye,{children:[t.jsx(Qe,{showTick:a}),t.jsx(Ze,{showTick:a}),t.jsx(et,{showTick:a}),t.jsx(tt,{showTick:a}),t.jsxs(wt,{translateCardSkelton:e,children:[t.jsx($t,{}),[...Array(4).keys()].map(l=>t.jsx(ut,{lineIndex:l},l))]}),a?null:t.jsx(bt,{children:t.jsx(he,{scannerTheme:"light"})})]}),t.jsx(xt,{showTick:a}),t.jsx(mt,{showTick:a,children:B.addToWallet})]}),t.jsx(st,{})]}),F=({tabType:e})=>{const a=M();return t.jsxs(Le,{children:[t.jsxs(R,{children:[t.jsx(Ne,{children:t.jsx(Ge,{windowSize:a})}),t.jsx(E,{windowSize:a,children:d.openWalletAppOnPhone})]}),t.jsxs(L,{windowSize:a,children:[e==="apple"?d.openWalletDescriptionApple:d.openWalletDescriptionGoogle,t.jsx(P,{})]}),t.jsxs(R,{children:[t.jsx(Me,{children:t.jsx(Ve,{windowSize:a})}),t.jsx(E,{windowSize:a,children:d.verifyCard})]}),t.jsxs(L,{windowSize:a,children:[e==="apple"?d.VerifyCardDescriptionApple:d.VerifyCardDescriptionGoogle,t.jsx(P,{})]})]})},Et=({onGotItClick:e,isDebitCard:a,controllerEmails:h,classListFetchState:l,isChargeCardFeatureEnabled:y,isDebitCardFeatureEnabled:k,isDebitCardSetupEnabled:w,isChargeCardSetupEnabled:u,productInformation:j,creditAccountInformation:n,debitAccountInformation:v,chargeCardDetailView:G,creditAccount:V,creditAccountRepayment:_,cardIssuedByRoles:J,cardIssuedByDepartmentName:X,cardHolderRoles:q,cardHolderDepartmentName:K})=>{const s=M(),O=le().analytics,[T,U]=g.useState(!1),[I,Y]=g.useState(!1),[Q,Z]=g.useState(!1),[ee,te]=g.useState(!1),[S,ie]=g.useState("apple"),oe=ne(),ae=ye(oe.loggedInUserRoleMap),re=z=>{ge({chargeCardDetailView:G,classListFetchState:l,analytics:O,isDebitCard:a,isChargeCardAdmin:ae,cardIssuedByRoles:J,cardIssuedByDepartmentName:X,cardHolderRoles:q,cardHolderDepartmentName:K,controllerEmails:h,pageName:"Card Activation",addToWalletType:z==="apple"?"Apple Wallet":"Google Wallet",productInformation:j,creditAccountInformation:n,debitAccountInformation:v,isChargeCardFeatureEnabled:y,creditAccount:V,creditAccountRepayment:_}),ie(z)};g.useEffect(()=>{setTimeout(()=>{U(!0)},a?9500:4500),setTimeout(()=>{Y(!0)},a?9e3:4e3),setTimeout(()=>{Z(!0)},a?10500:5500),setTimeout(()=>{te(!0)},a?15e3:1e4)},[a]);const se=T&&I,x=N.getLocalizedStrings().spendManagement.chargeCard;return t.jsx(vt,{windowSize:s,children:t.jsxs(Xe,{children:[t.jsx(de,{navBarContainerStyles:{paddingTop:p[2],alignItems:"center",paddingBottom:p[2]},title:x.addToWallet.title,ignoreScrollAction:!0,showBackButton:!1,showMenuIcon:!1,transparentBackground:!0,source:"AddToWalletPage",style:{zIndex:3},titleStyle:{marginTop:p[0]}}),t.jsxs(qe,{windowSize:s,children:[t.jsx(ft,{windowSize:s,children:x.addToWallet.heading}),t.jsx(yt,{windowSize:s,children:x.addToWallet.subheading})]}),t.jsxs(Ke,{windowSize:s,children:[s!=="small"?t.jsx(Ct,{children:t.jsxs(Oe,{windowSize:s,children:[t.jsxs(Ue,{windowSize:s,flipCard:T,scaleCard:I,children:[t.jsx(pe,{isDebitCard:a}),t.jsx(ce,{showCrossIcon:!1,isDebitCard:a})]}),Be(Q,ee,se)]})}):null,t.jsxs(Re,{windowSize:s,children:[t.jsx(Ee,{children:t.jsx(ze,{options:[{id:"apple",dataTestId:"add-to-apple-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(Je,{}),t.jsx(H,{children:d.appleWallet})]})},{id:"google",dataTestId:"add-to-google-wallet",label:t.jsxs(t.Fragment,{children:[t.jsx(_e,{}),t.jsx(H,{children:d.googleWallet})]})}],optionStyle:{padding:"12px"},thumbStyle:{paddingTop:i.sp4,paddingBottom:i.sp4},containerStyle:{border:i.sp0},selected:S,onToggle:re})}),t.jsxs(Fe,{children:[t.jsx(Pe,{isActive:S==="apple",children:t.jsx(F,{tabType:"apple"})}),t.jsx(He,{isActive:S==="google",children:t.jsx(F,{tabType:"google"})})]}),s!=="small"?t.jsx(jt,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-web")})}):null]})]}),s==="small"?t.jsx(St,{children:t.jsx(W,{variant:"primary",label:x.addToWallet.gotIt,onClick:e,style:{width:"fit-content"},"data-testid":A("got-it-button-mobile")})}):null]})})},Fe=o.div`
41
41
  display: flex;
42
42
  position: relative;
43
43
  width: 100%;
@@ -140,7 +140,7 @@ import{Q as M,a8 as le,aw as de,F as N,V as t,bB as ne,u as p,j6 as pe,jp as ce,
140
140
  display: flex;
141
141
  position: relative;
142
142
  align-items: center;
143
- `,Qe=o.div`
143
+ `,Ue=o.div`
144
144
  position: relative;
145
145
  display: flex;
146
146
  flex-direction: column;
@@ -151,13 +151,13 @@ import{Q as M,a8 as le,aw as de,F as N,V as t,bB as ne,u as p,j6 as pe,jp as ce,
151
151
  transform-style: preserve-3d;
152
152
  border-radius: ${i.sp2};
153
153
  box-shadow: ${e=>`1px 3px ${i.sp4} ${i.sp0} ${e.theme.colors.chargeCardBackgroundShadow}`};
154
- `,Ue=o.div`
154
+ `,Ye=o.div`
155
155
  position: relative;
156
156
  height: 118px;
157
157
  width: 182px;
158
158
  margin: 13px;
159
159
  margin-top: 60px;
160
- `,Ye=o(Se)`
160
+ `,Qe=o(Se)`
161
161
  height: 36px;
162
162
  width: 36px;
163
163
  position: absolute;
@@ -229,13 +229,13 @@ import{Q as M,a8 as le,aw as de,F as N,V as t,bB as ne,u as p,j6 as pe,jp as ce,
229
229
  `,lt=o.div`
230
230
  display: flex;
231
231
  align-items: flex-end;
232
- `,dt=o.div`
232
+ `,nt=o.div`
233
233
  height: ${e=>`${e.towerIndex+3}px`};
234
234
  width: 2px;
235
235
  margin-right: 1px;
236
236
  background-color: ${e=>e.towerIndex===3?r.phoneSignalColor:r.blackColor};
237
237
  border-radius: 0.5px;
238
- `,nt=o.div`
238
+ `,dt=o.div`
239
239
  margin-top: ${i.sp2};
240
240
  & .wave {
241
241
  border: 2px solid transparent;
@@ -1,4 +1,4 @@
1
- import{g as U,Q as O,i0 as _e,V as t,i1 as De,bN as Ne,i2 as ve,bC as Oe,bB as je,y as D,aa as T,g4 as ke,F as x,o as N,aT as Pe,u as m,aN as X,ce as Be,cf as $e,cg as Ie,al as Me,ch as Ae,b3 as ne,aD as oe,aV as re}from"./index-B1Bt1IRt.js";import{a as f}from"./sentry-DMXY90dB.js";import{n as y}from"./mui-CR-wYMmN.js";import{bh as F,FW as Ye}from"./zeni-epic-state-BXMuLX_S.js";import{n as M}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{L as ze,k as Le}from"./ArAgingChart-q1DoAAzl-ChyChZzL.js";import{C as ie}from"./NoDataChart-CDHiYyiO-Cvyp8P2g.js";import{I as se,R as $}from"./CollapsableReportTable-CZJ_4MUf-BaEJNkF_.js";import{d as le}from"./NoDataTable-BoAJZxdS--s0sFyd9.js";import{l as ce}from"./mapSpacerToTreeNode-BOG_274U-B57zDIT0.js";import{l as Ee}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./chartTypes-CXNoxZp_-Cu6v-VwM.js";import"./AccountRow-CYv0Uw-I-DqS_-vJ5.js";import"./graphic-no-data-l-DU4J8fDt--UnjJCr0.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]="97a35fb2-1e6f-4841-aa1d-fd4093095707",e._sentryDebugIdIdentifier="sentry-dbid-97a35fb2-1e6f-4841-aa1d-fd4093095707")}catch{}})();const Te={chartHeight:new D(288,360)},de=y.div`
1
+ import{g as U,J as O,i0 as _e,V as t,i1 as De,bN as Ne,i2 as ve,bC as Oe,bB as je,y as D,aa as T,g4 as ke,F as x,o as N,aT as Pe,u as m,aN as X,ce as Be,cf as $e,cg as Ie,al as Me,ch as Ae,b3 as ne,aD as oe,aV as re}from"./index-WEj6FS32.js";import{a as f}from"./sentry-B0WgNUxa.js";import{n as y}from"./mui-BTtN6lbG.js";import{bh as F,FW as Ye}from"./zeni-epic-state-DnAAAEmj.js";import{n as M}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{L as ze,k as Le}from"./ArAgingChart-DeE5uhiT-BcI5cuvH.js";import{C as ie}from"./NoDataChart-BbyxZE2g-CtN5BYbf.js";import{I as se,R as $}from"./CollapsableReportTable-DUo-9gOh-B_gwOhYJ.js";import{d as le}from"./NoDataTable-BNZWGvtm-S9Fe9Ovx.js";import{l as ce}from"./mapSpacerToTreeNode-DdwRxjlP-Bw1NwZTY.js";import{l as Ee}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./chartTypes-n3TS0IBf-DRx7aLxA.js";import"./AccountRow-B9ZIzZy7-C9nPv4rY.js";import"./graphic-no-data-l-DU4J8fDt-C8GXOUxr.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]="9bd3523a-2f52-46eb-9ffa-bf8e9c2481f4",e._sentryDebugIdIdentifier="sentry-dbid-9bd3523a-2f52-46eb-9ffa-bf8e9c2481f4")}catch{}})();const Te={chartHeight:new D(288,360)},de=y.div`
2
2
  display: flex;
3
3
  `,ge=y.div`
4
4
  display: flex;
@@ -16,7 +16,7 @@ import{g as U,Q as O,i0 as _e,V as t,i1 as De,bN as Ne,i2 as ve,bC as Oe,bB as j
16
16
  `,he=y.div`
17
17
  width: 100%;
18
18
  height: calc(100vh - ${N.sp11});
19
- `;function Ge({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Ve,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Ve({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=U(),u=!(l==="small"||l==="medium-compact"),p=f.useCallback((d,g)=>{a(d,g)},[a]);return f.useEffect(()=>{const d={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:p,onEntityNameClick:o}};if(n==null||!oe(i,e)){const g=He(e,d,u);s(e),c(g)}else{const g=ue(n,d,e,u);c(g)}},[e,p]),e.agingBalances.length===0?t.jsx(A,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(A,{windowSize:l,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(r.colors.grey4),rootNodes:n,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:v.contentPaddingLeft.value(l),right:v.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=U(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,C)=>{a(g,C)},[a]);return f.useEffect(()=>{const g={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.arAgingUIState.sortKey,sortOrder:e.arAgingUIState.sortOrder,onSortOrderChanged:d,onEntityNameClick:o}};if(c==null||!oe(s,e)){const C=We(e,g,p);n(e),l(C)}else{const C=ue(c,g,e,p);l(C)}},[e,d]),e.agingBalances.length===0?t.jsx(A,{windowSize:r,children:t.jsx(le,{})}):c!=null?t.jsx(A,{windowSize:r,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(u.colors.grey4),rootNodes:c,type:"name+balances_actual",isSticky:{isStickyHeader:p,isStickyName:p},treeNodePadding:{left:v.contentPaddingLeft.value(r),right:v.contentPaddingRight.value(r)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:i,compareMode:"compare_mode_amount"})})}):null}const Qe={summaryColumnGap:new D(m[2],m[1],m[1],m[2],m[6])},Xe=y.div`
19
+ `;function Ge({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){return e.reportId==="accounts_payable_aging"?t.jsx(Je,{report:e,onSortOrderChange:a,onEntityNameClick:o}):t.jsx(Ve,{report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i})}function Je({report:e,onSortOrderChange:a,onEntityNameClick:o}){const[i,s]=f.useState(void 0),[n,c]=f.useState(void 0),l=O(),r=U(),u=!(l==="small"||l==="medium-compact"),p=f.useCallback((d,g)=>{a(d,g)},[a]);return f.useEffect(()=>{const d={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.apAgingUIState.sortKey,sortOrder:e.apAgingUIState.sortOrder,onSortOrderChanged:p,onEntityNameClick:o}};if(n==null||!oe(i,e)){const g=He(e,d,u);s(e),c(g)}else{const g=ue(n,d,e,u);c(g)}},[e,p]),e.agingBalances.length===0?t.jsx(A,{windowSize:l,children:t.jsx(le,{})}):n!=null?t.jsx(A,{windowSize:l,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(r.colors.grey4),rootNodes:n,type:"name+balances_actual",isSticky:{isStickyHeader:u,isStickyName:u},treeNodePadding:{left:v.contentPaddingLeft.value(l),right:v.contentPaddingRight.value(l)},nodeOpenStatus:{},compareMode:"compare_mode_amount"})})}):null}function Ve({report:e,onSortOrderChange:a,onEntityNameClick:o,onNodeCollapseToggled:i}){const[s,n]=f.useState(void 0),[c,l]=f.useState(void 0),r=O(),u=U(),p=!(r==="small"||r==="medium-compact"),d=f.useCallback((g,C)=>{a(g,C)},[a]);return f.useEffect(()=>{const g={reportId:e.reportId,mode:"none",displayOrder:"ascending_date",reportFormat:"more_detailed",bookCloseDate:e.bookCloseDate,firstMonthOfFY:e.firstMonthOfFY,filterAccountsWithNilBalances:"off",filterAccountGroupsWithNilBalances:"off",dataAvailable:e.dataAvailable,showNegativeAmountInParenthesis:!0,agingReportConfig:{sortKey:e.arAgingUIState.sortKey,sortOrder:e.arAgingUIState.sortOrder,onSortOrderChanged:d,onEntityNameClick:o}};if(c==null||!oe(s,e)){const C=We(e,g,p);n(e),l(C)}else{const C=ue(c,g,e,p);l(C)}},[e,d]),e.agingBalances.length===0?t.jsx(A,{windowSize:r,children:t.jsx(le,{})}):c!=null?t.jsx(A,{windowSize:r,children:t.jsx(he,{numOfRows:e.agingBalances.length,children:t.jsx(se,{backgroundColor:new re(u.colors.grey4),rootNodes:c,type:"name+balances_actual",isSticky:{isStickyHeader:p,isStickyName:p},treeNodePadding:{left:v.contentPaddingLeft.value(r),right:v.contentPaddingRight.value(r)},nodeOpenStatus:e.arAgingUIState.nodeCollapseState,onNodeCollapseToggled:i,compareMode:"compare_mode_amount"})})}):null}const Qe={summaryColumnGap:new D(m[2],m[1],m[1],m[2],m[6])},Xe=y.div`
20
20
  display: flex;
21
21
  width: 100%;
22
22
  justify-content: space-between;
@@ -34,7 +34,7 @@ import{g as U,Q as O,i0 as _e,V as t,i1 as De,bN as Ne,i2 as ve,bC as Oe,bB as j
34
34
  width: fit-content;
35
35
  `,te=y(Ae)`
36
36
  color: ${e=>e.theme.colors.primary};
37
- `;function Ze({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=O();return t.jsxs(Xe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(Z,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:X("0,0",s?.balance)})]},n)}),t.jsxs(Z,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:X("0,0",o?.balance)})]})]})}const K={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:R,dateFormat:_,reports:{common:et,aging:B}}=x.getLocalizedStrings();function Bt(e){const a=U(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:C,onEntityNameClick:fe,updateDownloadStateHandler:Y,onNodeCollapseToggled:ye}=e,{fetchState:j,reportTitle:we,reportId:w}=n,{searchString:k,downloadState:I,sortKey:z,sortOrder:L,selectedDate:b,agingDateSelectionType:H}=c,{authParams:W,downloadEndPoint:G,timezone:V}=l,J=f.useCallback((h,S)=>{const P=ae(S);u(h,P),r.trackAgingReportDateChange(M(w),b!=null?b.format(_.analytics.YYYYDashMMDashDDFormat):F().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,b]),Q=f.useCallback(h=>{const S=_e({options:B.preComputedDurationOptions.map(({label:E,value:Se})=>({label:E,value:Ye(Se)})).filter(({value:E})=>E!=null),selectedDate:h}),P=ae(S);u(h,P),r.trackAgingReportDateChange(M(w),b!=null?b.format(_.analytics.YYYYDashMMDashDDFormat):F().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,b]),xe=f.useCallback((h,S)=>{C(h,S),r.trackAgingReportSortChange(M(w),S,h)},[r,C,w]),be=f.useCallback(()=>t.jsx(De,{maxDate:F(),selectedDate:{date:b},precomputedOptionsProperties:{preComputedOptionSelected:ct(H),preComputedOptionDateFormat:_.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:J},onSelectedDateChanged:Q}),[b,J,Q,H]);if(f.useEffect(()=>{async function h(){const S={companyName:l.companyName,searchString:k,sortKey:z,sortOrder:L,statementFileType:"excel",timezone:V,reportId:w==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:b};await tt(G,W,S),Y("Completed"),r.trackAgingReportDownloadClick(M(w),z,L)}o&&I!=="In-Progress"&&(i(!1),Y("In-Progress"),h())},[W,G,l.companyName,I,o,w,k,z,L,Y,b,r,V]),j==="Error")return t.jsxs(nt,{children:[t.jsx(ot,{onClick:g,children:t.jsx(Ne,{})}),t.jsx(rt,{children:et.failed})]});const Ce=t.jsxs(t.Fragment,{children:[t.jsx(ve,{isSearchOpen:(k?.length??0)>0,searchPlaceHolder:w==="accounts_payable_aging"?B.apAging.searchPlaceholder:B.arAging.searchPlaceholder,searchText:k??"",onSearchTextChanged:h=>{d(h)},downloadPresent:!0}),t.jsx(Oe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:I==="In-Progress"}],onDownloadClick:async h=>{if(h==="excel")if(I==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}})]});return t.jsxs(it,{children:[t.jsx(je,{title:we,subTitle:be(),backgroundColor:a.colors.grey5,onBackClick:p,rightSideComponent:Ce,downloadPresent:!0,style:{marginBottom:K.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(T,{controller:j==="In-Progress"||j==="Not-Started",children:t.jsx(ke,{fetchState:j})}),t.jsxs(T,{controller:j==="Completed",children:[t.jsx(T,{controller:k.length===0,children:t.jsxs(lt,{windowSize:s,children:[t.jsx(st,{children:t.jsx(Ze,{reportId:w==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:n.totalBalances})}),t.jsx(Fe,{report:n})]})}),t.jsx(Ge,{report:n,onSortOrderChange:xe,onEntityNameClick:fe,onNodeCollapseToggled:ye})]})]})}async function tt(e,a,o){const i=`${e}?query=${encodeURIComponent(JSON.stringify(at(o)))}`,s=B.arAging;try{const n=await Be({urlEndPoint:i,authParams:a,fileType:"excel"});if(n.ok){const c=$e(n.headers,R.defaultFileName),l=await n.arrayBuffer();Ie(l,c)}else console.error(`${R.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${n.statusText}`)}catch(n){console.error(`${R.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${JSON.stringify(n)}`)}}function at(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:x.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const nt=y.div`
37
+ `;function Ze({totalBalances:e,reportId:a}){const o=f.useMemo(()=>Ee(e),[e]),i=O();return t.jsxs(Xe,{windowSize:i,children:[e.map(s=>{const{period:n}=s;return t.jsxs(Z,{children:[t.jsx(ee,{children:x.getLocalizedStrings().reports.aging.duration[n]}),t.jsx(te,{children:X("0,0",s?.balance)})]},n)}),t.jsxs(Z,{children:[t.jsx(ee,{children:a==="accounts_payable_aging"?x.getLocalizedStrings().reports.aging.apAging.totalPayable:x.getLocalizedStrings().reports.aging.arAging.totalReceivable}),t.jsx(te,{children:X("0,0",o?.balance)})]})]})}const K={wrapperPadding:new D(m[3],m[3],m[8]),navbarMarginBottom:new D(m[7],m[4])},{download:R,dateFormat:_,reports:{common:et,aging:B}}=x.getLocalizedStrings();function Bt(e){const a=U(),[o,i]=f.useState(!1),s=O(),{report:n,uiState:c,downloadParams:l,analytics:r,onSelectedDateChanged:u,onBackClick:p,onSearchTextChange:d,onReloadReport:g,onSortOrderChange:C,onEntityNameClick:fe,updateDownloadStateHandler:Y,onNodeCollapseToggled:ye}=e,{fetchState:j,reportTitle:we,reportId:w}=n,{searchString:k,downloadState:I,sortKey:z,sortOrder:L,selectedDate:b,agingDateSelectionType:H}=c,{authParams:W,downloadEndPoint:G,timezone:J}=l,V=f.useCallback((h,S)=>{const P=ae(S);u(h,P),r.trackAgingReportDateChange(M(w),b!=null?b.format(_.analytics.YYYYDashMMDashDDFormat):F().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,b]),Q=f.useCallback(h=>{const S=_e({options:B.preComputedDurationOptions.map(({label:E,value:Se})=>({label:E,value:Ye(Se)})).filter(({value:E})=>E!=null),selectedDate:h}),P=ae(S);u(h,P),r.trackAgingReportDateChange(M(w),b!=null?b.format(_.analytics.YYYYDashMMDashDDFormat):F().format(_.analytics.YYYYDashMMDashDDFormat),h.format(_.analytics.YYYYDashMMDashDDFormat),P)},[r,u,w,b]),xe=f.useCallback((h,S)=>{C(h,S),r.trackAgingReportSortChange(M(w),S,h)},[r,C,w]),be=f.useCallback(()=>t.jsx(De,{maxDate:F(),selectedDate:{date:b},precomputedOptionsProperties:{preComputedOptionSelected:ct(H),preComputedOptionDateFormat:_.visual.MMMDCommaYYYYformat,preComputedOptions:B.preComputedDurationOptions,onPreComputedOptionSelected:V},onSelectedDateChanged:Q}),[b,V,Q,H]);if(f.useEffect(()=>{async function h(){const S={companyName:l.companyName,searchString:k,sortKey:z,sortOrder:L,statementFileType:"excel",timezone:J,reportId:w==="accounts_receivable_aging"?"accounts_receivable_aging":"accounts_payable_aging",reportDate:b};await tt(G,W,S),Y("Completed"),r.trackAgingReportDownloadClick(M(w),z,L)}o&&I!=="In-Progress"&&(i(!1),Y("In-Progress"),h())},[W,G,l.companyName,I,o,w,k,z,L,Y,b,r,J]),j==="Error")return t.jsxs(nt,{children:[t.jsx(ot,{onClick:g,children:t.jsx(Ne,{})}),t.jsx(rt,{children:et.failed})]});const Ce=t.jsxs(t.Fragment,{children:[t.jsx(ve,{isSearchOpen:(k?.length??0)>0,searchPlaceHolder:w==="accounts_payable_aging"?B.apAging.searchPlaceholder:B.arAging.searchPlaceholder,searchText:k??"",onSearchTextChanged:h=>{d(h)},downloadPresent:!0}),t.jsx(Oe,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:I==="In-Progress"}],onDownloadClick:async h=>{if(h==="excel")if(I==="In-Progress"){console.log("Download is already in progress!");return}else i(!0)}}}})]});return t.jsxs(it,{children:[t.jsx(je,{title:we,subTitle:be(),backgroundColor:a.colors.grey5,onBackClick:p,rightSideComponent:Ce,downloadPresent:!0,style:{marginBottom:K.navbarMarginBottom.valuePx(s)},source:"AgingReportsPage"}),t.jsx(T,{controller:j==="In-Progress"||j==="Not-Started",children:t.jsx(ke,{fetchState:j})}),t.jsxs(T,{controller:j==="Completed",children:[t.jsx(T,{controller:k.length===0,children:t.jsxs(lt,{windowSize:s,children:[t.jsx(st,{children:t.jsx(Ze,{reportId:w==="accounts_payable_aging"?"accounts_payable_aging":"accounts_receivable_aging",totalBalances:n.totalBalances})}),t.jsx(Fe,{report:n})]})}),t.jsx(Ge,{report:n,onSortOrderChange:xe,onEntityNameClick:fe,onNodeCollapseToggled:ye})]})]})}async function tt(e,a,o){const i=`${e}?query=${encodeURIComponent(JSON.stringify(at(o)))}`,s=B.arAging;try{const n=await Be({urlEndPoint:i,authParams:a,fileType:"excel"});if(n.ok){const c=$e(n.headers,R.defaultFileName),l=await n.arrayBuffer();Ie(l,c)}else console.error(`${R.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${n.statusText}`)}catch(n){console.error(`${R.errorMessages.fileDownloadError.replace("__feature__",s.arAging)} ${JSON.stringify(n)}`)}}function at(e){return{statement_file_type:e.statementFileType,search_string:e.searchString,report_id:e.reportId,company_name:e.companyName,locale_id:x.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,report_date:e.reportDate,timezone:e.timezone}}const nt=y.div`
38
38
  display: flex;
39
39
  width: 100%;
40
40
  height: calc(100% - 60px);
@@ -1,4 +1,4 @@
1
- import{cI as Y,ej as je,Q as _,V as l,aP as P,y as O,o as i,b9 as re,F as Z,r as ie,al as ne,c_ as Pe,ch as Ce,u as L,bS as Se,aJ as te,cA as G,gP as de,fX as R,fU as J,fV as K,fW as ce,fY as pe,a$ as me,gQ as Te,p as ue,cZ as ge,am as he,er as Oe,ad as Re}from"./index-B1Bt1IRt.js";import{n as p}from"./mui-CR-wYMmN.js";import{FB as ze,bg as X}from"./zeni-epic-state-BXMuLX_S.js";import{a as E}from"./sentry-DMXY90dB.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-BmMN3W3F-CzuOqnJx.js";import{j as be,C as fe}from"./LabeledZeniRolesDropDownField-PsaKyCCY-BpbPhmMd.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]="76c66c1e-8e72-484e-b6ef-3d4ca9ce5c1e",e._sentryDebugIdIdentifier="sentry-dbid-76c66c1e-8e72-484e-b6ef-3d4ca9ce5c1e")}catch{}})();const M=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new O(120,120,160),toolTipWidth:new O(215,237)},g=Z.getLocalizedStrings().peoplePage,De=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:y,isBankingOnlyTenant:m,isCardsOnlyTenant:f,isEdit:U,person:x,analytics:v})=>{const w=_(),C=se.largeLabelWidth.value(w),{setValue:S}=Y(),D=te(h),$=D.splice(0,1),N=D.reduce((r,n)=>r.concat(`${n.email},`),""),B=E.useMemo(()=>te(G.roles),[]),u=X(e.role);return E.useEffect(()=>{(u||m||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,f]),l.jsxs(Le,{windowSize:w,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:M(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(Q,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:M(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(m,f)},productsByUserRole:J(e.role,y)},registerOptions:{required:!0}}}),l.jsx(Q,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(ke,{}),userSingleSelectWithSubTitlesField:{name:M(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],I=s.find(k=>k.classId===d.userRole.accountingClassIDs[0]),j=[];return I!=null&&j.push(I.className),j}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(Q,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:M(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||f?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||f)},isDisabled:u||m||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||f?"disabled":void 0,opacity:u||m||f?.32:1}),U?null:l.jsxs(Ue,{windowSize:w,children:[g.invitePage.controllerText,$[0]?l.jsxs(Ne,{href:`mailto:${$[0].email}?cc=${N}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${$[0].firstName} ${$[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(fe,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:M(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:B},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},ke=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Le=p.div`
1
+ import{cI as Y,ej as je,J as _,V as l,aP as P,y as O,o as i,b9 as re,F as Z,r as ie,al as ne,c_ as Pe,ch as Ce,u as L,bS as Se,aJ as te,cA as G,gP as de,fX as R,fU as J,fV as K,fW as ce,fY as pe,a$ as me,gQ as Te,p as ue,cZ as ge,am as he,er as Oe,ad as Re}from"./index-WEj6FS32.js";import{n as p}from"./mui-BTtN6lbG.js";import{FB as ze,bg as X}from"./zeni-epic-state-DnAAAEmj.js";import{a as E}from"./sentry-B0WgNUxa.js";import{Y as xe}from"./LabeledUserSingleSelectWithSubtitlesField-CE332GjA-BafYQ_Pm.js";import{j as be,C as fe}from"./LabeledZeniRolesDropDownField-DU4-ho4X-DQBIg45w.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]="90e600b6-1835-4c96-aa0c-12266fe95ca0",e._sentryDebugIdIdentifier="sentry-dbid-90e600b6-1835-4c96-aa0c-12266fe95ca0")}catch{}})();const M=(e,t)=>`${e}.${t}`,se={largeLabelWidth:new O(120,120,160),toolTipWidth:new O(215,237)},g=Z.getLocalizedStrings().peoplePage,De=({user:e,sectionId:t,mode:o,managersList:a,classList:s,controllersList:h,customerRoleOptions:y,isBankingOnlyTenant:m,isCardsOnlyTenant:f,isEdit:U,person:x,analytics:v})=>{const w=_(),C=se.largeLabelWidth.value(w),{setValue:S}=Y(),D=te(h),$=D.splice(0,1),N=D.reduce((r,n)=>r.concat(`${n.email},`),""),B=E.useMemo(()=>te(G.roles),[]),u=X(e.role);return E.useEffect(()=>{(u||m||f)&&S("userItems.0.department",{allOptions:[],selectedOption:void 0}),u&&S("userItems.0.manager",{allUsers:[],selectedUser:void 0})},[u,m,f]),l.jsxs(Le,{windowSize:w,"data-testid":P("edit-people-user-item-section"),children:[l.jsx(de,{label:g.invitePage.email,name:M(t,"email"),registerOptions:{required:!0,value:e.email,disabled:!0},placeholder:R(g.addPlaceholderPrefix,g.invitePage.email),style:{paddingTop:i.sp2,paddingBottom:i.sp2}}),l.jsx(Q,{}),o==="off"?l.jsxs(l.Fragment,{children:[l.jsx(be,{label:{label:g.invitePage.role,width:C},style:{width:"auto"},rolesDropDownField:{name:M(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ce(e.role),allRootRole:K(m,f)},productsByUserRole:J(e.role,y)},registerOptions:{required:!0}}}),l.jsx(Q,{}),l.jsx(xe,{label:{label:g.invitePage.manager,width:C},showTooltip:!0,toolTipWidth:se.toolTipWidth.valuePx(w),tooltipTitle:l.jsx(ke,{}),userSingleSelectWithSubTitlesField:{name:M(t,"manager"),value:{allUsers:a,selectedUser:e?.managerId?e?.managerId:"no_manager"},valueToSubtitle:r=>{const n=a.findIndex(d=>d.userId===r);if(n!==-1){const d=a[n],I=s.find(k=>k.classId===d.userRole.accountingClassIDs[0]),j=[];return I!=null&&j.push(I.className),j}else return[]},placeholderLabel:u?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.manager),registerOptions:{required:!u},showOneOffLabel:{label:"No Manager",value:"no_manager",position:"top",subtitles:[]},isDisabled:u?"disabled":void 0,isOptionDisabled:r=>r===x?.user?.userId},style:{width:"auto"},isDisabled:u?"disabled":void 0,opacity:u?.32:1}),l.jsx(Q,{}),l.jsx(pe,{label:{label:g.invitePage.department,width:C},singleSelectWithoutClearableField:{name:M(t,"department"),defaultValue:{allOptions:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})),selectedOption:s.map(r=>({label:r.fullyQualifiedAccountingClassName??"",value:r.classId,hoverText:r.accountingClassNumber})).find(r=>r.value===e.departmentId)},placeholder:u||m||f?g.notApplicable:R(g.selectPlaceholderPrefix,g.invitePage.department),registerOptions:{required:!u||!(m||f)},isDisabled:u||m||f?"disabled":void 0,showOptionOnHover:!0},style:{width:"auto"},isDisabled:u||m||f?"disabled":void 0,opacity:u||m||f?.32:1}),U?null:l.jsxs(Ue,{windowSize:w,children:[g.invitePage.controllerText,$[0]?l.jsxs(Ne,{href:`mailto:${$[0].email}?cc=${N}&subject=${encodeURIComponent(g.invitePage.emailSubject)}`,children:[l.jsx("span",{children:`${$[0].firstName} ${$[0].lastName}`}),l.jsx(me,{className:"arrowIcon"})]}):null]})]}):l.jsx(fe,{label:{label:g.invitePage.role,width:C},zeniRolesDropDownField:{name:M(t,"role"),defaultValue:{selectedOptions:e.role,allOptions:B},registerOptions:{required:!0},placeholderLabel:R(g.selectPlaceholderPrefix,g.invitePage.role),isMulti:!0,forZeniUser:!0,onSelectionChanged:r=>{x!=null&&v?.trackRoleChanged(x.userRole.userRoles,r[0],x?.userRole.userEmail)}},style:{width:"auto"}})]})},ke=()=>Z.getLocalizedStrings().peoplePage.invitePage.managerTooltipText,Le=p.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{g as R,Q as B,F as g,V as o,bN as H,g4 as K,bB as U,cl as J,o as T,aT as V,bC as W,y as A,ce as q,cf as Q,cg as G,u}from"./index-B1Bt1IRt.js";import{a as v}from"./sentry-DMXY90dB.js";import{n as i}from"./mui-CR-wYMmN.js";import{W as X,L as Z}from"./EntitySummarySection-CTU-YsQl-CBIpBGDD.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./zeni-epic-state-BXMuLX_S.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.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]="baee9d8e-a7ba-4b8d-97a9-c5c594b91f65",e._sentryDebugIdIdentifier="sentry-dbid-baee9d8e-a7ba-4b8d-97a9-c5c594b91f65")}catch{}})();const _={wrapperContainerMarginTop:new A(u[4],u[0]),wrapperContaineHorizontalrMargin:new A(u[0],u[8])},ee=i.div`
1
+ import{g as R,J as B,F as g,V as o,bN as H,g4 as J,bB as K,cl as U,o as T,aT as V,bC as W,y as A,ce as q,cf as G,cg as Q,u as f}from"./index-WEj6FS32.js";import{a as v}from"./sentry-B0WgNUxa.js";import{n as i}from"./mui-BTtN6lbG.js";import{W as X,L as Z}from"./EntitySummarySection-DPmL3Bnf-CHA6TrKp.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./zeni-epic-state-DnAAAEmj.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.js";import"./agingReportHelper-ovKP-qSS-Cx4Hdid-.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]="3feb7bd1-1459-41cc-97a4-ee198c87c408",e._sentryDebugIdIdentifier="sentry-dbid-3feb7bd1-1459-41cc-97a4-ee198c87c408")}catch{}})();const _={wrapperContainerMarginTop:new A(f[4],f[0]),wrapperContaineHorizontalrMargin:new A(f[0],f[8])},ee=i.div`
2
2
  height: 100%;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -28,13 +28,13 @@ import{g as R,Q as B,F as g,V as o,bN as H,g4 as K,bB as U,cl as J,o as T,aT as
28
28
  `,re=i(V)`
29
29
  margin-top: ${T.sp3};
30
30
  color: ${e=>e.theme.colors.hero};
31
- `,ae=i.div`
31
+ `,ne=i.div`
32
32
  display: flex;
33
33
  min-height: 100%;
34
34
  flex-direction: column;
35
35
  width: 100%;
36
36
  background-color: ${e=>e.theme.colors.grey5};
37
- `,ne=i.div`
37
+ `,ae=i.div`
38
38
  display: block;
39
39
  background-color: ${e=>e.theme.colors.grey4};
40
40
  height: calc(100vh - 178px);
@@ -43,4 +43,4 @@ import{g as R,Q as B,F as g,V as o,bN as H,g4 as K,bB as U,cl as J,o as T,aT as
43
43
  margin-left: ${e=>_.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
44
44
  margin-right: ${e=>_.wrapperContaineHorizontalrMargin.valuePx(e.windowSize)};
45
45
  height: 100%;
46
- `;function ve(e){const s=R(),l=B(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:r,downloadParams:a,reportDate:t,analytics:d,onReload:w,onBackClick:L,onColumnSortConfigChanged:S,updateDownloadStateHandler:x,onTransactionClick:N}=e,{authParams:C,downloadEndPoint:$,timezone:k}=a,{fetchState:m,invoices:I,apAgingDetailUIState:z,vendor:n,totalBalances:E}=r,{sortKey:D,sortOrder:b,downloadState:y}=z,[j,P]=v.useState(!1),M=g.getLocalizedStrings(),F=M.reports.aging.agingDetail,Y=v.useCallback((c,f)=>{r.vendor!=null&&d.trackApAgingDetailReportSortChange(c,f,t.format(M.dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name),S(c,f)},[d,r.vendor,t,S]);if(v.useEffect(()=>{async function c(){const f={companyName:a.companyName,sortKey:D,sortOrder:b,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:n?.id??"",timezone:k,reportDate:t};await se($,C,f),x("Completed"),r.vendor!=null&&d.trackApAgingDetailReportDownload(D,b,t.format(g.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name)}j&&y!=="In-Progress"&&(P(!1),x("In-Progress"),c())},[d,r.vendor,C,$,a.companyName,y,j,t,D,b,k,x,n?.id]),m==="Error")return o.jsxs(oe,{children:[o.jsx(te,{onClick:w,children:o.jsx(H,{})}),o.jsx(re,{children:p.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(K,{fetchState:m});const O=o.jsx(W,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:y==="In-Progress"}],onDownloadClick:async c=>{if(c==="excel")if(y==="In-Progress"){console.log("Download is already in progress!");return}else P(!0)}}}});return o.jsxs(ae,{children:[o.jsx(U,{title:h.strings.empty,backgroundColor:s.colors.grey5,onBackClick:L,rightSideComponent:O,source:"ApAgingDetailPage"}),o.jsx(X,{totalBalances:E,entityName:n?.name??"",entityLogo:n?.logo,reportId:"accounts_payable_aging",reportDate:t}),o.jsx(ne,{windowSize:l,children:o.jsx(ie,{windowSize:l,children:I.length===0||n==null?o.jsx(J,{message:F.noDataText}):o.jsx(ee,{windowSize:l,children:o.jsx(Z,{uiState:z,invoices:I,entityName:n.name,entityLogo:n.logo,onColumnSortConfigChanged:Y,onTransactionClick:N})})})})]})}async function se(e,s,l){const h=`${e}?query=${encodeURIComponent(JSON.stringify(le(l)))}`,p=g.getLocalizedStrings(),r=p.reports.aging.apAging.apAging,a=p.download;try{const t=await q({urlEndPoint:h,authParams:s,fileType:"excel"});if(t.ok){const d=Q(t.headers,a.defaultFileName),w=await t.arrayBuffer();G(w,d)}else console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${t.statusText}`)}catch(t){console.error(`${a.errorMessages.fileDownloadError.replace("__feature__",r)} ${JSON.stringify(t)}`)}}function le(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:g.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{ve as default,le as toDownloadAgingDetailedReportOptionsPayload};
46
+ `;function ve(e){const s=R(),l=B(),h=g.getLocalizedStrings().common,p=g.getLocalizedStrings().reports.common,{apAgingDetail:r,downloadParams:n,reportDate:t,analytics:d,onReload:w,onBackClick:L,onColumnSortConfigChanged:S,updateDownloadStateHandler:x,onTransactionClick:N}=e,{authParams:C,downloadEndPoint:$,timezone:k}=n,{fetchState:m,invoices:I,apAgingDetailUIState:z,vendor:a,totalBalances:E}=r,{sortKey:D,sortOrder:b,downloadState:y}=z,[j,P]=v.useState(!1),M=g.getLocalizedStrings(),F=M.reports.aging.agingDetail,Y=v.useCallback((c,u)=>{r.vendor!=null&&d.trackApAgingDetailReportSortChange(c,u,t.format(M.dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name),S(c,u)},[d,r.vendor,t,S]);if(v.useEffect(()=>{async function c(){const u={companyName:n.companyName,sortKey:D,sortOrder:b,statementFileType:"excel",reportId:"accounts_payable_aging",entityId:a?.id??"",timezone:k,reportDate:t};await se($,C,u),x("Completed"),r.vendor!=null&&d.trackApAgingDetailReportDownload(D,b,t.format(g.getLocalizedStrings().dateFormat.analytics.YYYYDashMMDashDDFormat),r.vendor.id,r.vendor.name)}j&&y!=="In-Progress"&&(P(!1),x("In-Progress"),c())},[d,r.vendor,C,$,n.companyName,y,j,t,D,b,k,x,a?.id]),m==="Error")return o.jsxs(oe,{children:[o.jsx(te,{onClick:w,children:o.jsx(H,{})}),o.jsx(re,{children:p.failed})]});if(m==="In-Progress"||m==="Not-Started")return o.jsx(J,{fetchState:m});const O=o.jsx(W,{downloadReportOptions:{type:"simple_menu",downloadMenu:{simpleMenuItems:[{type:"excel",isDisabled:!1,isDownloading:y==="In-Progress"}],onDownloadClick:async c=>{if(c==="excel")if(y==="In-Progress"){console.log("Download is already in progress!");return}else P(!0)}}}});return o.jsxs(ne,{children:[o.jsx(K,{title:h.strings.empty,backgroundColor:s.colors.grey5,onBackClick:L,rightSideComponent:O,source:"ApAgingDetailPage"}),o.jsx(X,{totalBalances:E,entityName:a?.name??"",entityLogo:a?.logo,reportId:"accounts_payable_aging",reportDate:t}),o.jsx(ae,{windowSize:l,children:o.jsx(ie,{windowSize:l,children:I.length===0||a==null?o.jsx(U,{message:F.noDataText}):o.jsx(ee,{windowSize:l,children:o.jsx(Z,{uiState:z,invoices:I,entityName:a.name,entityLogo:a.logo,onColumnSortConfigChanged:Y,onTransactionClick:N})})})})]})}async function se(e,s,l){const h=`${e}?query=${encodeURIComponent(JSON.stringify(le(l)))}`,p=g.getLocalizedStrings(),r=p.reports.aging.apAging.apAging,n=p.download;try{const t=await q({urlEndPoint:h,authParams:s,fileType:"excel"});if(t.ok){const d=G(t.headers,n.defaultFileName),w=await t.arrayBuffer();Q(w,d)}else console.error(`${n.errorMessages.fileDownloadError.replace("__feature__",r)} ${t.statusText}`)}catch(t){console.error(`${n.errorMessages.fileDownloadError.replace("__feature__",r)} ${JSON.stringify(t)}`)}}function le(e){return{statement_file_type:e.statementFileType,report_id:e.reportId,company_name:e.companyName,locale_id:g.getAppLocaleID(),sort_key:e.sortKey,sort_order:e.sortOrder,entity_id:e.entityId,report_date:e.reportDate,timezone:e.timezone}}export{ve as default,le as toDownloadAgingDetailedReportOptionsPayload};
@@ -1,4 +1,4 @@
1
- import{V as t,Q as m,x,o as r,y as p,p as a,aT as g,F as u,bp as f,cY as b,dM as $,cX as w}from"./index-B1Bt1IRt.js";import{n as i,k as y}from"./mui-CR-wYMmN.js";import{a as j}from"./sentry-DMXY90dB.js";import"./liveblocks-B14TpO3l.js";import"./core-C5wq1_Bk.js";import"./recharts-C3mrSjO2.js";import"./zeni-epic-state-BXMuLX_S.js";import"./lottie-BIQaRIZs.js";import"./analytics-EizVTK6x.js";import"./lexical-xuKHFvUb.js";import"./utils-BCuN6woZ.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]="bf961e9b-39a5-441d-9164-964bbdf67908",e._sentryDebugIdIdentifier="sentry-dbid-bf961e9b-39a5-441d-9164-964bbdf67908")}catch{}})();const l={maxWidth:new p(280,322),contentMaxWidth:new p(200,250)},k=y`
1
+ import{V as t,J as m,x,o as r,y as d,p as a,aT as u,F as f,bp as g,cY as $,dM as b,cX as w}from"./index-WEj6FS32.js";import{n as i,k as y}from"./mui-BTtN6lbG.js";import{a as j}from"./sentry-B0WgNUxa.js";import"./liveblocks-CrODURpx.js";import"./core-CIefpDlV.js";import"./recharts-BfU_srYC.js";import"./zeni-epic-state-DnAAAEmj.js";import"./lottie-hIwSKdQS.js";import"./analytics-BvXI56dE.js";import"./lexical-Dp1JhPKz.js";import"./utils-DZQMbqmw.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]="5682a180-17fb-4730-94ea-fb4efebe9504",e._sentryDebugIdIdentifier="sentry-dbid-5682a180-17fb-4730-94ea-fb4efebe9504")}catch{}})();const l={maxWidth:new d(280,322),contentMaxWidth:new d(200,250)},k=y`
2
2
  0% {
3
3
  transform: translateX(100%)
4
4
  }
@@ -29,25 +29,25 @@ import{V as t,Q as m,x,o as r,y as p,p as a,aT as g,F as u,bp as f,cY as b,dM as
29
29
  width: ${r.sp3};
30
30
  height: ${r.sp3};
31
31
  color: ${a.success};
32
- `,D=i($)`
32
+ `,D=i(b)`
33
33
  margin-top: 2px;
34
34
  margin-right: 12px;
35
35
  width: ${r.sp3};
36
36
  height: ${r.sp3};
37
37
  color: ${a.info};
38
- `,z=i(b)`
38
+ `,z=i($)`
39
39
  margin-top: 2px;
40
40
  margin-right: 12px;
41
41
  width: ${r.sp3};
42
42
  height: ${r.sp3};
43
43
  color: ${a.important};
44
- `,I=i(f)`
44
+ `,I=i(g)`
45
45
  margin-top: 2px;
46
46
  margin-right: 12px;
47
47
  width: ${r.sp3};
48
48
  height: ${r.sp3};
49
49
  color: ${a.info};
50
- `,T=i.div``,W=i(g)`
50
+ `,T=i.div``,W=i(u)`
51
51
  color: ${a.neutralGrey2Light};
52
52
  word-break: break-word;
53
53
  white-space: pre-line;
@@ -66,6 +66,6 @@ import{V as t,Q as m,x,o as r,y as p,p as a,aT as g,F as u,bp as f,cY as b,dM as
66
66
  &:hover {
67
67
  color: ${a.primaryDark};
68
68
  }
69
- `,_=(e,o,s)=>{let n=u.getLocalizedStrings().common.snackBar[e][o];return s?.forEach(d=>{n=n.replace(d.variableName,d.variableValue)}),n},O=({type:e})=>{switch(e){case"success":return t.jsx(S,{});case"info":return t.jsx(D,{});case"error":case"warning":return t.jsx(z,{});case"notification":return t.jsx(I,{});default:return null}};function P(e){const o=m(),{message:s,messageType:n,showStatusIcon:d,onRemoveSnackbar:c}=e;return j.useEffect(()=>{const h=setTimeout(()=>{c()},5e3);return()=>clearTimeout(h)},[s.section]),t.jsxs(v,{windowSize:o,children:[d===!0?t.jsx(O,{type:n}):null,t.jsx(E,{windowSize:o,children:t.jsx(T,{children:t.jsx(W,{children:_(s.section,s.text,s.variables)})})}),t.jsx(M,{onClick:c,children:t.jsx(x,{})})]})}const Y=e=>t.jsx(V,{isOnDashboard:e.isOnDashboard,children:e.showSnackbar===!0?t.jsx(P,{...e.snackbar}):null}),V=i.div`
69
+ `,_=(e,o,s)=>{let n=f.getLocalizedStrings().common.snackBar[e][o];return s?.forEach(p=>{n=n.replace(p.variableName,p.variableValue)}),n},O=({type:e})=>{switch(e){case"success":return t.jsx(S,{});case"info":return t.jsx(D,{});case"error":case"warning":return t.jsx(z,{});case"notification":return t.jsx(I,{});default:return null}};function P(e){const o=m(),{message:s,messageType:n,showStatusIcon:p,onRemoveSnackbar:c}=e;return j.useEffect(()=>{const h=setTimeout(()=>{c()},5e3);return()=>clearTimeout(h)},[s.section]),t.jsxs(v,{windowSize:o,children:[p===!0?t.jsx(O,{type:n}):null,t.jsx(E,{windowSize:o,children:t.jsx(T,{children:t.jsx(W,{children:_(s.section,s.text,s.variables)})})}),t.jsx(M,{onClick:c,children:t.jsx(x,{})})]})}const Y=e=>t.jsx(V,{isOnDashboard:e.isOnDashboard,children:e.showSnackbar===!0?t.jsx(P,{...e.snackbar}):null}),V=i.div`
70
70
  background-color: ${e=>e.isOnDashboard?e.theme.colors.background:"transparent"};
71
71
  `;export{Y as default};