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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (264) hide show
  1. package/dist/assets/{ACHDetailsPage-fOu5grd7-BdSVzP6f.js → ACHDetailsPage-fOu5grd7-BQab31-r.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-Da3gFo8A-CckgxOO_.js → AIPerformancePage-Da3gFo8A-AGsO9Ers.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-o7hTXtgZ-zH78FLFW.js → AccountInfoPage-o7hTXtgZ-BSIFU5Fg.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-DqErO8FH-Dmzn6pIA.js → AccountInfoPageContent-DqErO8FH-BFY7yIc6.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-BJjCuLHa-DrT3dsPq.js → AccountLockedInfoModal-BJjCuLHa-ff0C6rDz.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-CVjH1p0d-BxBrHwo0.js → AccountReconDetailsDrawerPage-CVjH1p0d-CfggfK0B.js} +1 -1
  7. package/dist/assets/{AccountRow-CpftykFx-oOdBXU8G.js → AccountRow-CpftykFx-Cp2fNiFY.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-D7xvgmOH-D3-ZzkOb.js → AccountsPromoCardStack-D7xvgmOH-DkN_s0TJ.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-vecchYEf-CGSqzhVX.js → AddAddressForCardDrawer-vecchYEf-BJS49st-.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-zJy9QCjx-C_qfE17G.js → AddToWalletPage-zJy9QCjx-DvT1ndmW.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-wAvQb1d8-C15jlpMU.js → AgingReportsPage-wAvQb1d8-LwL5jfUq.js} +1 -1
  12. package/dist/assets/{AllUserItems-DEv_CXOA-B5fCEIiV.js → AllUserItems-DEv_CXOA-C8j7eaFo.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-BOV1WFVF-Dp8s2FuX.js → ApAgingDetailPage-BOV1WFVF-Cnw1CTR7.js} +1 -1
  14. package/dist/assets/{AppBasePage-DMlomvFS-CGojLnOO.js → AppBasePage-DMlomvFS-wPlg6lOd.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-Dc2sHnR3--YF7Xqpp.js → AppDrawerContent-Dc2sHnR3-Gwm120QU.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-BnbPSy4U-qsIqsWa1.js → ApprovalRulesSettingsPage-BnbPSy4U-SABeAeOS.js} +1 -1
  17. package/dist/assets/{ArAgingChart-m-Xp3HAW-NCxV7iBs.js → ArAgingChart-m-Xp3HAW-BuTyfmOy.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-b_NpDpWj-z4UOMnMu.js → ArAgingDetailPage-b_NpDpWj-Dx8gxQBv.js} +1 -1
  19. package/dist/assets/{AttachmentView-DB_V1qT1-BBS5lFy5.js → AttachmentView-DB_V1qT1-DmTJ6caW.js} +1 -1
  20. package/dist/assets/{BankAccountSection-BabhrBM7-AYC21fpT.js → BankAccountSection-BabhrBM7-DTSnwq_E.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-yT2UAd12-C1lPi6To.js → BankAccountWarningSection-yT2UAd12-CjcTHtd0.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-CbxXykMM-C4x6xhVH.js → BankConnectionsSettingsPage-CbxXykMM-BlJAlfmg.js} +1 -1
  23. package/dist/assets/{BillDetailPage-7TMkWo3V-CAz7q8si.js → BillDetailPage-7TMkWo3V-0TjWgo-F.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-COyDRpaF-DAcMEAnT.js → BillPayApprovalRuleDetailPage-COyDRpaF-BpX5R4Io.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-9pxkgFAT-DPJx3hcv.js → BillPayApprovalRulesPage-9pxkgFAT-DFcRaLCp.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-AGffhbY3-C_QscQuJ.js → BillPayPromoPage-AGffhbY3-DZsatXbJ.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-Cs5rkWBu-GrPc_Ghq.js → BillPaySetUpPage-Cs5rkWBu-CDMzpJwT.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-CQ117tT9-czyNT2CA.js → BillingSettingsPage-CQ117tT9-EcBteyo6.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DRkGQQAe-B4jJeKlF.js → BillsBulkReviewDrawerPage-DRkGQQAe-DzSowwfK.js} +1 -1
  30. package/dist/assets/{BoxItem-DRwx0M5a-DCS0EEq5.js → BoxItem-DRwx0M5a-BOzUW4AC.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-1h0z3N9u-Bz-00d77.js → BusinessVerificationPage-1h0z3N9u-C_i-ZzsM.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-DqtLT1w5-DO6jyw3h.js → CardNumberSubText-DqtLT1w5-DXiQdLzK.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-ChdQcvkC-C57bRmfy.js → CashbackDetailPage-ChdQcvkC-sphqjShk.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-DFOKlPNG-xcGq1wRM.js → ChargeCardDetailPage-DFOKlPNG-J3dpN26k.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-DhLUsUhd-DuclyBke.js → ChargeCardListPage-DhLUsUhd-BzeGjwLv.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-DE72YU_i-DcBJaKK3.js → ChargeCardListTable-DE72YU_i-Dx1EFTdQ.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-CbGR18s--BFbYhOSS.js → ChargeCardPaymentHistoryPage-CbGR18s--BqsZ0OiY.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-CPpNh89o-CBfHtaX_.js → ChargeCardPromoPage-CPpNh89o-Bqb3Zf4F.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-ITi25kUD-DfzvZRO7.js → ChargeCardSetupPage-ITi25kUD-DbGoc5xW.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-CTJc1BCc-DxoD4bYi.js → ChargeCardStatementsPage-CTJc1BCc-BJ8dr7Ba.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-BrzeSj-3-DtRI-uAH.js → CheckDepositDrawerPage-BrzeSj-3-gtc5gaOJ.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CDEe9s_E-CMF0RoW1.js → CollapsableReportTable-CDEe9s_E-DOTF-z0w.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-BaPhFsLx-B9Snu63L.js → CompanyOfficerDetailsSection-BaPhFsLx-DACmvtur.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-B9ymV6Az-38EEl60M.js → CompanyPassportCard-B9ymV6Az--KXXOq-a.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-BQ68t7oK-Co1NqIiB.js → CompanyPassportPage-BQ68t7oK--AZrIypI.js} +1 -1
  46. package/dist/assets/{CompleteProfile-C5n9b8gQ-DwcNt9_I.js → CompleteProfile-C5n9b8gQ-BWmO39ov.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-BizTW0hz-CvR9oZ5e.js → ConfettiBurst-BizTW0hz-rPhXMLuR.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-XtnsGBeT.js → ConstrainedInnerElement-BeIpAPjB-BRsKF_vB.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-BIfOA5Nr-Dlpym0z2.js → CreateOrEditVendorPage-BIfOA5Nr-66b-35V8.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-CCpS-31h-C4-ObiYa.js → CreditCardPaymentDrawerPage-CCpS-31h-DOtvW_B8.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-KvKyemY6-CmY2_QR6.js → CurrencySelectField-KvKyemY6-DZW5Vt4H.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-6VlMI4oY-DDFamjuz.js → CustomerOnboardingActivationPage-6VlMI4oY-DkrHUI-t.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-v0SSOg30.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BzbZb27J-sEi6CC-2.js → CustomerOnboardingDetailPageSkeleton-BzbZb27J-BT61tRti.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CWF_00EM-BRYus2iF.js → CustomerOnboardingNoStepsPage-CWF_00EM-C_pTT5nd.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingPage-DkW66A-p-GBHzS2sL.js → CustomerOnboardingPage-DkW66A-p-Bc2VAZJX.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-Ba0yotpP-kvF0C_U3.js → CustomerOnboardingProductSuitePage-Ba0yotpP-B5KgGs_h.js} +1 -1
  58. package/dist/assets/{Dashboard-bX3cWkmP-CshB3AQ6.js → Dashboard-bX3cWkmP-B5foEyDy.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-DuZ4d4CE-WPRTD4S1.js → DashboardReportPage-DuZ4d4CE-D4SKwhCI.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-UV2CZToG-4yePe-Xl.js → DashboardSidebarBackgroundAnimation-UV2CZToG-Cm-dk7mX.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-BY_OvuKg-1GMqn4-W.js → DepositAccTransactionItem-BY_OvuKg-GhjooDh7.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-a__bpCOB-CMJCJXrJ.js → DepositAccTransactionListPage-a__bpCOB-BTl2X2NF.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-BumMT4QM-9o5TrTj8.js → DomesticWireDetailsPage-BumMT4QM-Dhr8FdDC.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-DqiL3-FB-D2yDQ3WD.js → DownloadOverlay-DqiL3-FB-DY3M1Nto.js} +1 -1
  65. package/dist/assets/{DrawerPage-CaG-xx5d-D9_lXenJ.js → DrawerPage-CaG-xx5d-DwUvyUAE.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-BcsdEp_d-IwV_edCq.js → EditPeoplePage-BcsdEp_d-yP6vi9Hq.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-DNUmwdsH-B0QXso1w.js → EditReimbursementDetailPage-DNUmwdsH-DNViLobE.js} +1 -1
  68. package/dist/assets/{EntityDetailPage-DtX5TjBc-YkJZ_Dja.js → EntityDetailPage-DtX5TjBc-BPIrnsMs.js} +1 -1
  69. package/dist/assets/{EntitySummarySection-LEA5m6mN-CLLkbTp6.js → EntitySummarySection-LEA5m6mN-C7LdKIU1.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-Dmhn7gfp-BnYLctJS.js → ExpenseAutomationOverviewPage-Dmhn7gfp-kaoOgHKC.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-B8C4BxoV-DWGhFpVk.js → ExpenseAutomationPage-B8C4BxoV-D4w-pFzd.js} +1 -1
  72. package/dist/assets/{ExpressPayPage-C-nqret2-CxxwTtu9.js → ExpressPayPage-C-nqret2-CHwg5U2p.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-BHjUZ7s6-_5C6_vtm.js → FeaturePreviewPage-BHjUZ7s6-CbvC-1qc.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-0eFMS0c5-DiNXhybo.js → FollowStepsSection-0eFMS0c5-Crvq3nzf.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-4eiopkzw-DKMz-KY4.js → GlobalReviewListPage-4eiopkzw-DCnZhWv9.js} +1 -1
  76. package/dist/assets/{InformationCardStack-C7XJCUlh-CHYlGlZV.js → InformationCardStack-C7XJCUlh-Bf1LM9M7.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-fBAbQwhK-GOQwmuqO.js → InsightsCardStack-fBAbQwhK-BFspUDtp.js} +1 -1
  78. package/dist/assets/{InsightsSection-De9zu_me-VPfN5Xo7.js → InsightsSection-De9zu_me-fO_n1ybi.js} +1 -1
  79. package/dist/assets/{IntegrationsSettingsPage-BD5jqAv8-BskPS73Y.js → IntegrationsSettingsPage-BD5jqAv8-Blr9q62G.js} +1 -1
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-BftrE612-CKiFI9UY.js → InternationalWireSwiftDetailsPage-BftrE612-yMFm1uB9.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-CDf7equc-1WYEjkVV.js → InternationalWireVerificationPage-CDf7equc-C3LL-yPm.js} +1 -1
  82. package/dist/assets/{InviteFormPage-E2igwKEh-BzkLo-m1.js → InviteFormPage-E2igwKEh-BcmmvUgr.js} +1 -1
  83. package/dist/assets/{InvitePageListView-Cuq9dlgu-BNjoQI0P.js → InvitePageListView-Cuq9dlgu-Dx4gs81g.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-Db4P4ZEq-B9OMfSrr.js → InvitePeoplePage-Db4P4ZEq--FjJZSjn.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-DYCjz9CI-DkR29XTT.js → InvoiceUploadSection-DYCjz9CI-BSjPAfa8.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-CK6fnO24-bch7HeIs.js → IssueChargeCardPage-CK6fnO24-DUq4AU8i.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-Ma1WURjK-BjRcNAyc.js → LabeledAddressValue-Ma1WURjK-A51Osu_c.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-C6-hVsPb-Bfrq1uTa.js → LabeledAddressValueField-C6-hVsPb-SvnkQYGO.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-CgZg0uOW-CjFLwRIN.js → LabeledControlledCheckBoxField-CgZg0uOW-oAjjici4.js} +1 -1
  90. package/dist/assets/{LabeledCountryMultiSelectField-sj8p7Rne-DmVlXwHY.js → LabeledCountryMultiSelectField-sj8p7Rne-BNt9Egt1.js} +1 -1
  91. package/dist/assets/{LabeledCreatableSingleSelectField-DUTQh416-DtIYGO-z.js → LabeledCreatableSingleSelectField-DUTQh416-D_eDy0tz.js} +1 -1
  92. package/dist/assets/{LabeledDocumentField-Bp9m-OrP-Di2DVQR8.js → LabeledDocumentField-Bp9m-OrP-Cv3EwCa5.js} +1 -1
  93. package/dist/assets/{LabeledDropDownFormattedTextField-3-KekP79-CBuG_XHQ.js → LabeledDropDownFormattedTextField-3-KekP79-CouvwkJK.js} +1 -1
  94. package/dist/assets/{LabeledText-DvzVOku6-CI8IYs0J.js → LabeledText-DvzVOku6-vd2SPUTM.js} +1 -1
  95. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-BoHfD7aR.js → LabeledUserSingleSelectWithSubtitlesField-DCv1Q5qb-DN2oxMXA.js} +1 -1
  96. package/dist/assets/{LabeledZeniRolesDropDownField-kWC0ShEy-rvx0SYJG.js → LabeledZeniRolesDropDownField-kWC0ShEy-DMRhcOHr.js} +1 -1
  97. package/dist/assets/{LinkJETransactionPage-WufhDGDQ-B3rjsU0T.js → LinkJETransactionPage-WufhDGDQ-C3tow9fn.js} +1 -1
  98. package/dist/assets/{LockCardPage-BBIVLYVD-B0YOZXXr.js → LockCardPage-BBIVLYVD-Bc1P2GXi.js} +1 -1
  99. package/dist/assets/{LowBalancePopup-ScEqPY9J-CQJroj6z.js → LowBalancePopup-ScEqPY9J-HnxUWV1P.js} +1 -1
  100. package/dist/assets/{MagicLinkACHDetailsPage-C494txw0-BXL5Oo5F.js → MagicLinkACHDetailsPage-C494txw0-DPDy6NMP.js} +1 -1
  101. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CONBCbOQ-CLIxJIug.js → MagicLinkDomesticWireDetailsPage-CONBCbOQ-DHhQe6wD.js} +1 -1
  102. package/dist/assets/{MagicLinkInternationalWireDetailsPage-fSY3JGpz-f3s55HDr.js → MagicLinkInternationalWireDetailsPage-fSY3JGpz-BBMr0CKi.js} +1 -1
  103. package/dist/assets/{MagicLinkSuccessPage-BDRXSAO4-BVQIDzU9.js → MagicLinkSuccessPage-BDRXSAO4-G8dM7SaL.js} +1 -1
  104. package/dist/assets/{MagicLinkTitleSection-ZnbKPIvJ-BSqgRJcf.js → MagicLinkTitleSection-ZnbKPIvJ-cupADejE.js} +1 -1
  105. package/dist/assets/{MailingDetailsSection-DZT7JPlI-C6Z2pagF.js → MailingDetailsSection-DZT7JPlI-O0oExSnL.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-aQDVaEG1-DhCXDcNN.js → MyBankConnectionsSettingsPage-aQDVaEG1-Ddq_N56W.js} +1 -1
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-BJrk56oA-8UK9qZGK.js → MyPendingActivationChargeCardListPage-BJrk56oA-IaygRYZd.js} +1 -1
  108. package/dist/assets/{MyProfileSettingsPage-L9WuP6HZ-4YifN_2G.js → MyProfileSettingsPage-L9WuP6HZ-BLt401c3.js} +1 -1
  109. package/dist/assets/{NavBarWithPicker-zmvBmWS1-A5yL3hW1.js → NavBarWithPicker-zmvBmWS1-DSbxLUgY.js} +1 -1
  110. package/dist/assets/{NavigationArrow-D26UG3p--DAuEEyBJ.js → NavigationArrow-D26UG3p--vCmsij62.js} +1 -1
  111. package/dist/assets/{NavigationDots-Bv4tBDN3-Dko875eO.js → NavigationDots-Bv4tBDN3-oYD3IjEb.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-vOn2O6B9-DskrKIYE.js → NewGlobalMerchantPage-vOn2O6B9-lsphEfwv.js} +1 -1
  113. package/dist/assets/{NoDataChart-CgT19fV7-Dq-PS5iw.js → NoDataChart-CgT19fV7-CT6v85pw.js} +1 -1
  114. package/dist/assets/{NoDataTable-CPjJmo4s-B0gXcJxM.js → NoDataTable-CPjJmo4s-BNfLJH7M.js} +1 -1
  115. package/dist/assets/{NotFoundPage-CP2i3FTm-B2Tx_Zo3.js → NotFoundPage-CP2i3FTm-MukSPW3w.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-CT9Dnb03-CqwjgM73.js → NotificationSettingsPage-CT9Dnb03-ByWCh6xZ.js} +1 -1
  117. package/dist/assets/{NotificationsListConfig-Bn1zmx6b-xLvRbIc5.js → NotificationsListConfig-Bn1zmx6b-TJ9FCC7G.js} +1 -1
  118. package/dist/assets/{NotificationsPage-DDwdR_Jq-CdZxB2zM.js → NotificationsPage-DDwdR_Jq-Bpv74c3q.js} +1 -1
  119. package/dist/assets/{OpExByVendorPage-DukFYlqO-CuXBR-rW.js → OpExByVendorPage-DukFYlqO-CSLbsErY.js} +1 -1
  120. package/dist/assets/{OverlayContainerPage-D4QU0p4o-CVPkUlN6.js → OverlayContainerPage-D4QU0p4o-5ned2q-a.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-Bgflh9Om-Dmxi28fl.js → PandLWithForecastPage-Bgflh9Om-RLnpQEEK.js} +1 -1
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-JPO-rPAd-CHgpZYyo.js → PaymentAccountSetupBillingAddressSection-JPO-rPAd-DFTRFu_Q.js} +1 -1
  123. package/dist/assets/{PeoplePage-CDvKreQl-CRlr1EmV.js → PeoplePage-CDvKreQl-DOPpfMq2.js} +1 -1
  124. package/dist/assets/{Preview-spWMBI70.js → Preview-Bh08QQ8y.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-7R3cvGiS-DlBhSe7D.js → ProductsCarousel-7R3cvGiS-DsY73mkv.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-DdCMZIc7-B6Z1nEXM.js → PromoBaseCards-DdCMZIc7-DdtdHqeM.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-Ca36jKz2-CfdvU0-0.js → QBOConnectionDialog-Ca36jKz2-l23L4X-G.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-CzBfIVqR-B4kKrGkW.js → QBOSetupSection-CzBfIVqR-ABeN4Ojo.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-DUVSGQJ6-C7yuUziG.js → ReimbursementApprovalRuleDetailPage-DUVSGQJ6-ChQV3W0o.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRulesPage-B48x1gPM-Bmxf9Hlc.js → ReimbursementApprovalRulesPage-B48x1gPM-BWeiV7Xt.js} +1 -1
  131. package/dist/assets/{ReimbursementDetailPage-oIC9QEyF-CRxw2XKK.js → ReimbursementDetailPage-oIC9QEyF-BOkR0rbh.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-BKgsJieE-D41M31h1.js → ReimbursementPromoPage-BKgsJieE-KiKGlGxT.js} +1 -1
  133. package/dist/assets/{ReimbursementSetUpPage-B_c-ZgFT-nyStFOEL.js → ReimbursementSetUpPage-B_c-ZgFT-CPGog1JW.js} +1 -1
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-CeyGWbKR-CPHh3h5l.js → ReimbursementsBulkReviewDrawerPage-CeyGWbKR-DCDDfYMK.js} +1 -1
  135. package/dist/assets/{ReloadCard-DKGn1uxF-CHnWO982.js → ReloadCard-DKGn1uxF-DbH-tW4Z.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-CXDvZEbR-DVKFHMpg.js → ReportTableViewSelector-CXDvZEbR-CRuUG9gx.js} +1 -1
  137. package/dist/assets/{ReportsPage-BoUyXSBC-DqEgIltZ.js → ReportsPage-BoUyXSBC-BiB0Kt2s.js} +1 -1
  138. package/dist/assets/{RevenueChart-SvdhwBcE-CclStxKG.js → RevenueChart-SvdhwBcE-BQ6Hnznt.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-tT1l4R2r-D31xag1Q.js → ReviewDetailsPage-tT1l4R2r-CyC_3RSM.js} +1 -1
  140. package/dist/assets/{ReviewOverlay-BoM41t8W-B3q95pxr.js → ReviewOverlay-BoM41t8W-BKsrsvnb.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-C8x5yXaK-Dbq6YNZJ.js → RoleWithToolTip-C8x5yXaK-Dm9Z_ANT.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Bkp0mCOn-CXNO-V0F.js → ScheduleDetailsFixedAssetsPage-Bkp0mCOn-ClEuRXwo.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-Dg9rYJbn-DX2cGcR8.js → ScheduleDetailsPage-Dg9rYJbn-JZfz5BmP.js} +1 -1
  144. package/dist/assets/{ScheduleSequenceTable-J6Eja8XA-C4pj46PF.js → ScheduleSequenceTable-J6Eja8XA-DK2nJCvd.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-Djen5Qso.js → ScreenRoutes-Dh9_9GMd.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-sfIB1h4i-ChZ6V5QM.js → SetUpAccountSection-sfIB1h4i-Bo3cXG50.js} +1 -1
  147. package/dist/assets/{SignIn-Cu2nzuEC-CMzKn_tC.js → SignIn-Cu2nzuEC-udO1onRl.js} +1 -1
  148. package/dist/assets/{SignInScreen-OAq50V8E.js → SignInScreen-C_a3tcP8.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-9V9u1jPF-CmDrIGYQ.js → SpendManagementListViewPage-9V9u1jPF-5A_NOo7G.js} +3 -3
  150. package/dist/assets/{SpendManagementPerTabPage-COvEPq7V-Do4O10gl.js → SpendManagementPerTabPage-COvEPq7V-CWqwTqKd.js} +1 -1
  151. package/dist/assets/{SpendManagementSection-dT-N4bSQ-BiovZfwW.js → SpendManagementSection-dT-N4bSQ-DyiRwDlk.js} +1 -1
  152. package/dist/assets/{StatementItem-g5tfNBjV-C9Hg8CS4.js → StatementItem-g5tfNBjV-Uz8eUgvJ.js} +1 -1
  153. package/dist/assets/{StatementsPage-DaFrVUeK-DSTw3UAU.js → StatementsPage-DaFrVUeK-C3pjTwJV.js} +1 -1
  154. package/dist/assets/{StatusSwitcher-CaoFw0cf-C3lxp9pU.js → StatusSwitcher-CaoFw0cf-CFPUWOAP.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-zrkVj1aP-_xN0-uG5.js → SubTabSwitcher-zrkVj1aP-_Y-lGR4O.js} +1 -1
  156. package/dist/assets/{SummaryCard-B9wqNSwM-n1ImzaFb.js → SummaryCard-B9wqNSwM-BEKfBuq9.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-dAK9tl2b-CTG2_KMv.js → TaskManagementPage-dAK9tl2b-DgNthxRd.js} +1 -1
  158. package/dist/assets/{TimeRangeSwitcher-r1TNqVRb-DCJluex4.js → TimeRangeSwitcher-r1TNqVRb-DkOKBWjv.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcher-DHfHCTa4-B2FI2qD3.js → TimeframeSwitcher-DHfHCTa4-Bxq8Hftv.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-DvBvguRl-DxV9Vm6A.js → TimeframeSwitcherWithToggle-DvBvguRl-DV_tJyVz.js} +1 -1
  161. package/dist/assets/{TopExCard-BUjnGDUB-ILeRndVt.js → TopExCard-BUjnGDUB-DDOVH94X.js} +1 -1
  162. package/dist/assets/{TopExDetailPage-CNDkfc3u-BPGQHHhh.js → TopExDetailPage-CNDkfc3u-B2fX7zYK.js} +1 -1
  163. package/dist/assets/{TransactionActivityLogPage-kSQqJVpX-CN_Bd6XL.js → TransactionActivityLogPage-kSQqJVpX-CgGnvC5t.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-f7vWtXWL-B6Z3KQcQ.js → TransactionDetailPage-f7vWtXWL-Bh_Q7Ml2.js} +1 -1
  165. package/dist/assets/{TransactionList-3-mUZOsw-BOqEjROc.js → TransactionList-3-mUZOsw-Bjo6uOYk.js} +1 -1
  166. package/dist/assets/{TransactionListBig-Bx_Rm9ho-B9vgR37B.js → TransactionListBig-Bx_Rm9ho-CtCz2Lyh.js} +1 -1
  167. package/dist/assets/{TransactionListPage-q6x4_jni-ByWLrriF.js → TransactionListPage-q6x4_jni-DpY58IiZ.js} +1 -1
  168. package/dist/assets/{TransactionVendorDetailPage-MjSH5hfq-BauD225P.js → TransactionVendorDetailPage-MjSH5hfq-C3IDSQwc.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-BayVa6po-DOmgo5bD.js → TransferDrawerPage-BayVa6po-DwrUwkcR.js} +1 -1
  170. package/dist/assets/{TreasuryOverviewPage-CuqWmrO5-WjxiYw-Z.js → TreasuryOverviewPage-CuqWmrO5-xWjYlFCm.js} +1 -1
  171. package/dist/assets/{TreasuryPromoPage-BCjz1EKX-B5KDWi07.js → TreasuryPromoPage-BCjz1EKX-Dgtwfoud.js} +1 -1
  172. package/dist/assets/{TreasuryStatementsPage-CGr00SXF-C60wRmKc.js → TreasuryStatementsPage-CGr00SXF-DaeYu6qK.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-D9_qnlK4-DjBNSdh0.js → TreasuryTaxLetterPage-D9_qnlK4-CR3XJwj5.js} +1 -1
  174. package/dist/assets/{TrendChart-JTOG0a7B-DpgA2voA.js → TrendChart-JTOG0a7B-BPCPEjor.js} +1 -1
  175. package/dist/assets/{TrendWithTransactions-CTJhTpAM-BQk6HV-p.js → TrendWithTransactions-CTJhTpAM-Bv1UqYxB.js} +1 -1
  176. package/dist/assets/{UncategorizedAccountsMappingPage-TGKYpC5A-RvK9bcxw.js → UncategorizedAccountsMappingPage-TGKYpC5A-B1sGC0BQ.js} +1 -1
  177. package/dist/assets/{UnitIntegrationPage-mt2IjA5X-sxJ5WITz.js → UnitIntegrationPage-mt2IjA5X-BIw1k3_j.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-DZfpwE5J-DW-djX7x.js → UploadAdditionalDocumentOverlay-DZfpwE5J-rLD7Y7JG.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-DAOf5cJD-BPBPmB6-.js → Vendor2FAPopup-DAOf5cJD-C4NPPJZt.js} +1 -1
  180. package/dist/assets/{VendorACHDetailsPage-CCOupiSZ-CBSNIh8C.js → VendorACHDetailsPage-CCOupiSZ-VkKL9cse.js} +1 -1
  181. package/dist/assets/{VendorDetailPage-DufNphGD-CYmhQiv4.js → VendorDetailPage-DufNphGD-BpKUNlD8.js} +1 -1
  182. package/dist/assets/{VendorDomesticWireDetailsPage-BayV34Rt-Bv9GXuwg.js → VendorDomesticWireDetailsPage-BayV34Rt-b6OkYMHi.js} +1 -1
  183. package/dist/assets/{VendorFiling1099EditablePage-CRnO7Ubw-D8TJzbQY.js → VendorFiling1099EditablePage-CRnO7Ubw-CN7VgWdB.js} +1 -1
  184. package/dist/assets/{VendorFirstReviewPage-DA0EL4RJ-B1EJ16cd.js → VendorFirstReviewPage-DA0EL4RJ-iVupFwLM.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage-HUtNyn9Z-DME8KQvf.js → VendorInternationalWireDetailsPage-HUtNyn9Z-Bepuipax.js} +1 -1
  186. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-DRVMUeXi-WaJ_bb27.js → VendorInternationalWireSwiftDetailsPage-DRVMUeXi-2YV2vBHu.js} +1 -1
  187. package/dist/assets/{VendorsAccountsSection-D6Qa1zf9-uVFUNuqq.js → VendorsAccountsSection-D6Qa1zf9-BOpjhiGE.js} +1 -1
  188. package/dist/assets/{VerifyDevice-B6B_nk3v-Bdkrxio0.js → VerifyDevice-B6B_nk3v-B5i8fKIX.js} +1 -1
  189. package/dist/assets/{VideoPlayer-BRAgZThr-DjmJcTCC.js → VideoPlayer-BRAgZThr-D2qPsCHw.js} +2 -2
  190. package/dist/assets/{VideoPopup-C_SkBI9U-BcIEWeMW.js → VideoPopup-C_SkBI9U-BTwHqW0E.js} +1 -1
  191. package/dist/assets/{WarningsDrawerPage-B3gB3wW7-D2GIDjbZ.js → WarningsDrawerPage-B3gB3wW7-CvBkHLSl.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-Dp-eo-Vq-Bhjoyj-p.js → ZeniAccountDetailPage-Dp-eo-Vq-ByIjykDL.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-S-XmAYqD-DifvzT-q.js → ZeniAccountListViewPage-S-XmAYqD-RzlWcBha.js} +1 -1
  194. package/dist/assets/{ZeniAccountNavBarPieces-DhjBxfEr-Cs_0mVt4.js → ZeniAccountNavBarPieces-DhjBxfEr-NUqiiuuD.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-BgYCHYLO-Cw7mPD8B.js → ZeniAccountPromoPage-BgYCHYLO-WViSdc2S.js} +1 -1
  196. package/dist/assets/{ZeniAccountSetupPage-CvnIMdcY-UG3h63JG.js → ZeniAccountSetupPage-CvnIMdcY-Cj37yJbf.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-BlLvlGZV-oWH5-_QG.js → ZeniCopyright-BlLvlGZV-CrVJLfj_.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-BNYgPwHs-BkFdMOqg.js → ZeniTransferAmountSlider-BNYgPwHs-CcASxOZt.js} +1 -1
  199. package/dist/assets/{add-to-wallet-DgdBD8_G-CQY6YDIS.js → add-to-wallet-DgdBD8_G-CEUXmLLB.js} +1 -1
  200. package/dist/assets/{analytics-Bkw5onLf.js → analytics-CkM8lXFl.js} +1 -1
  201. package/dist/assets/{analyticsHelper-CYr5V2MV-D117boEZ.js → analyticsHelper-CYr5V2MV-CkRNnCUV.js} +1 -1
  202. package/dist/assets/{analyticsHelper-BrCWxqsP.js → analyticsHelper-gGnU4EeF.js} +1 -1
  203. package/dist/assets/{arrow-south-east-round-PEovUgvH-Bjmr6TY7.js → arrow-south-east-round-PEovUgvH-1rW0zoS2.js} +1 -1
  204. package/dist/assets/{auto-transfer-rule-mbafm5D3-CNNhiF_u.js → auto-transfer-rule-mbafm5D3-CFQdrDeA.js} +1 -1
  205. package/dist/assets/{chartTypes-40RenddT-C3e8npm6.js → chartTypes-40RenddT-C5cIBfKP.js} +1 -1
  206. package/dist/assets/{commonDimensions-BMnB1-xU-BEplFlGz.js → commonDimensions-BMnB1-xU-DiUddsI8.js} +1 -1
  207. package/dist/assets/{commonTypes-DsWS6Ccc-DEEa_Sk5.js → commonTypes-DsWS6Ccc-CwodQQco.js} +1 -1
  208. package/dist/assets/{constants-BjwuG-sL.js → constants-CTjR4H-o.js} +1 -1
  209. package/dist/assets/{core-ChNxRm0V.js → core-C2ocMdpX.js} +1 -1
  210. package/dist/assets/{dash.all.min-CPWXIJa3.js → dash.all.min-BCNwafZn.js} +1 -1
  211. package/dist/assets/{detailCommon-CrcyqWtZ-Y-btcKvT.js → detailCommon-CrcyqWtZ-rWotQtvr.js} +1 -1
  212. package/dist/assets/{downloadPdf-CUUx8PWn-CpeF1exC.js → downloadPdf-CUUx8PWn-BdEKPRoV.js} +1 -1
  213. package/dist/assets/{empty-CbUW6a7c.js → empty-D1vxKoTb.js} +1 -1
  214. package/dist/assets/{empty-DB2fqLbL.js → empty-V8XS4YR7.js} +1 -1
  215. package/dist/assets/{epic-D8ilA7L4.js → epic-DauDmjnX.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-CAEsBxF-.js → gift-box-Cmt9OgIZ-D3iw0yyB.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-5QBY0UXm.js → graphic-no-data-l-DU4J8fDt-Dy3KHs8N.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-hdaFlp9y.js → graphic-no-data-net-burn-l-CzmycA0m-BZpKWoe8.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-ChCbIa55.js → handshake-BPg58FML-oAGcRw5Y.js} +1 -1
  220. package/dist/assets/{helper-BMiMbXMj-Dmh6E349.js → helper-BMiMbXMj-3yg_EAWe.js} +1 -1
  221. package/dist/assets/{index-DlObXRGr.js → index-BIVWVvnU.js} +1 -1
  222. package/dist/assets/{index-B7L93Ji9.js → index-CgqMT29q.js} +1 -1
  223. package/dist/assets/{index-DqZ19at7.js → index-DMtzVMbw.js} +7 -7
  224. package/dist/assets/{index-DVyniIKO.js → index-PQV-Jugy.js} +1 -1
  225. package/dist/assets/{index-ioI1xYoQ.js → index-S8MS3O9i.js} +1 -1
  226. package/dist/assets/{index-cdfRDhK8.js → index-VGNYvjLY.js} +1 -1
  227. package/dist/assets/{index-Dpyv5L0j.js → index-yaAnolck.js} +1 -1
  228. package/dist/assets/{lexical-1Ygrq4RW.js → lexical-DGY0EwD1.js} +1 -1
  229. package/dist/assets/{liveblocks-BTMi-6jm.js → liveblocks-BP-9wBvW.js} +1 -1
  230. package/dist/assets/{lottie-DePu4yCn.js → lottie-CH4Au8OK.js} +1 -1
  231. package/dist/assets/{mapLoadingInProgressToTreeNode-DGnyXKBT-BYse0ozL.js → mapLoadingInProgressToTreeNode-DGnyXKBT-Diz2jPsG.js} +1 -1
  232. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BkPRWtaj-hihXzy98.js → mapSectionWithAcOnlyToTreeNode-BkPRWtaj-BgcXUMpE.js} +1 -1
  233. package/dist/assets/{mapSpacerToTreeNode-CvGdU9Ma-DeFN34g2.js → mapSpacerToTreeNode-CvGdU9Ma-99-38wUs.js} +1 -1
  234. package/dist/assets/{mapTimeframeBalancesToTreeNode-BCOsOvxo-CSygkCSn.js → mapTimeframeBalancesToTreeNode-BCOsOvxo-D1JEqmHt.js} +1 -1
  235. package/dist/assets/{mapTimeframeBalancesToTreeNode-DIqYP3NK-R-95BHOA.js → mapTimeframeBalancesToTreeNode-DIqYP3NK-CzEZLVGT.js} +1 -1
  236. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-27M6rUwe.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Ch2rvcz4-CQMmf8Vi.js} +1 -1
  237. package/dist/assets/{mui-ZYC_cKE8.js → mui-CoYz3n28.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-DC8jxm5B.js → page-detail-CWX5S47F-y8p1z9Ov.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-D6-xSZhW.js → panelSelectedMixin-CzfD5-Zs-BhQovnBD.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-BxCWoZze.js → radio-default-CiSgisfh-CcppOTnL.js} +1 -1
  241. package/dist/assets/{react-BKZXD5Oc.js → react-BV0JbFK9.js} +1 -1
  242. package/dist/assets/{react-IIMWUaFV.js → react-CDgvvYzw.js} +1 -1
  243. package/dist/assets/{react-d6rMgZIK.js → react-D4lAziVQ.js} +1 -1
  244. package/dist/assets/{react-BYslFEBJ.js → react-DDKwoBWl.js} +1 -1
  245. package/dist/assets/{react-BwmLfOl6.js → react-DKpRtEcT.js} +1 -1
  246. package/dist/assets/{react--xqujLHa.js → react-GnwsG-Kr.js} +1 -1
  247. package/dist/assets/{react-Z0_odY1k.js → react-cAXirknQ.js} +1 -1
  248. package/dist/assets/{react-C9KgujEQ.js → react-kevoc5vo.js} +2 -2
  249. package/dist/assets/{recharts-CPKKNFMD.js → recharts-BDU9Jttg.js} +1 -1
  250. package/dist/assets/{sentry-DO9J0OD9.js → sentry-oySuCz2z.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-K7yJVGAq.js → shield-DOlUxcFf-C7HWEBos.js} +1 -1
  252. package/dist/assets/{toCOABalancesWithID-DkMGvlEt-BttuYM2L.js → toCOABalancesWithID-DkMGvlEt-CjweDPd3.js} +1 -1
  253. package/dist/assets/{toChartData-C6s-eBzE-DfNWG1EA.js → toChartData-C6s-eBzE-DQEzIUE9.js} +1 -1
  254. package/dist/assets/{uploadAttachment-BlLqRIXe-BrI0Dxy9.js → uploadAttachment-BlLqRIXe-CMo80ZkF.js} +1 -1
  255. package/dist/assets/{uploadReceipts-Dge0cNF1-C53BLsXO.js → uploadReceipts-Dge0cNF1-Dvyi-9oH.js} +1 -1
  256. package/dist/assets/{url-VhWKyQz6.js → url-BgqPEja_.js} +1 -1
  257. package/dist/assets/{url-Brmd3733.js → url-CxTzQh6W.js} +1 -1
  258. package/dist/assets/{useLongPress-GCK2COYQ-BBNJdZmN.js → useLongPress-GCK2COYQ-DAOTd3ww.js} +1 -1
  259. package/dist/assets/{usp-line-BBd1wKwW-BjY16bQv.js → usp-line-BBd1wKwW-CGF9yi5W.js} +1 -1
  260. package/dist/assets/{utils-CXoyjNuY.js → utils-lCkIh4TY.js} +1 -1
  261. package/dist/assets/{zeni-epic-state-C5Hzx540.js → zeni-epic-state-C253RwnE.js} +3 -3
  262. package/dist/index.html +1 -1
  263. package/package.json +1 -1
  264. package/dist/assets/CustomerOnboardingContainerPage-CRjwWFLJ-BpoLCE54.js +0 -1
@@ -1,4 +1,4 @@
1
- import{J as $,cf as T,V as d,O as v,y as h,o as s,u as c,aj as _}from"./index-DqZ19at7.js";import{n as u,c as m}from"./mui-ZYC_cKE8.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]="eefcf600-55ac-4b38-9669-d1a2e1a63e76",e._sentryDebugIdIdentifier="sentry-dbid-eefcf600-55ac-4b38-9669-d1a2e1a63e76")}catch{}})();function g(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:g(a)}return g(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??g(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
1
+ import{J as $,cf as T,V as d,O as v,y as h,o as s,u as c,aj as _}from"./index-DMtzVMbw.js";import{n as u,c as m}from"./mui-CoYz3n28.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]="eefcf600-55ac-4b38-9669-d1a2e1a63e76",e._sentryDebugIdIdentifier="sentry-dbid-eefcf600-55ac-4b38-9669-d1a2e1a63e76")}catch{}})();function g(e){return e.replace(/([a-z])([A-Z])/g,"$1 $2").replace(/[_-]+/g," ").trim().split(" ").filter(Boolean).map(a=>a.charAt(0).toUpperCase()+a.slice(1)).join(" ")}const z=e=>{switch(e){case"bill_pay":return"bills";case"reimbursement":return"reimbursements";case"charge_cards":return"cards";default:return e}};function A(e,a){if(typeof e=="string")return e;if(e!=null&&typeof e=="object"){const r=Object.values(e)[0];return typeof r=="string"?r:g(a)}return g(a)}function p(e,a,r){const n=e[a];return n!=null?A(n,r):null}const L=(e,a)=>{const{spendManagement:{billPay:{billsByTabs:{tabsById:r}},reimbursement:{reimbursementByTabs:{tabsById:n}},zeniAccounts:{zeniAccountList:{tabsById:l}}}}=v.getLocalizedStrings(),t=String(e);if(a)switch(a){case"bill_pay":{const i=p(r,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"reimbursement":{const i=p(n,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}case"zeni_accounts":{const i=p(l,t,t);if(i!=null)return i.replace(/\s+/g,"_").toLowerCase();break}}return(p(r,t,t)??p(n,t,t)??p(l,t,t)??g(t)).replace(/\s+/g,"_").toLowerCase()},{spendManagement:{billPay:{billsByTabs:{tabsById:y}},reimbursement:{reimbursementByTabs:{tabsById:x}},zeniAccounts:{zeniAccountList:{tabsById:D}}}}=v.getLocalizedStrings(),w={containerMarginLeft:new h(c[4],c[8]),containerMarginRight:new h(c[4],c[8]),segmentContainerMarginLeft:new h(c[4],c[8])},M=u.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{V as i,T as u,o as s,aj as g,a$ as b}from"./index-DqZ19at7.js";import{n as r,c}from"./mui-ZYC_cKE8.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]="4c695577-b7b5-4a4d-ad16-ac36ad62c65f",e._sentryDebugIdIdentifier="sentry-dbid-4c695577-b7b5-4a4d-ad16-ac36ad62c65f")}catch{}})();function C({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(f,{style:o,hasRightComponent:h,children:[i.jsx(y,{children:e.map(t=>{const a=t.id===n,d=t.isDisabled!=null;return i.jsxs($,{onClick:()=>{a===!1&&!d&&p(t)},isSelected:a,isDisabled:d,children:[i.jsx(m,{children:t.label}),t.countDetails?.count!=null?i.jsx(D,{children:i.jsx(x,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:i.jsx(j,{children:t.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),l]})}const f=r.div`
1
+ import{V as i,T as u,o as s,aj as g,a$ as b}from"./index-DMtzVMbw.js";import{n as r,c}from"./mui-CoYz3n28.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]="4c695577-b7b5-4a4d-ad16-ac36ad62c65f",e._sentryDebugIdIdentifier="sentry-dbid-4c695577-b7b5-4a4d-ad16-ac36ad62c65f")}catch{}})();function C({allTabs:e,selectedTab:n,containerStyle:o,rightComponent:l,onTabChange:p}){const h=l!=null;return i.jsxs(f,{style:o,hasRightComponent:h,children:[i.jsx(y,{children:e.map(t=>{const a=t.id===n,d=t.isDisabled!=null;return i.jsxs($,{onClick:()=>{a===!1&&!d&&p(t)},isSelected:a,isDisabled:d,children:[i.jsx(m,{children:t.label}),t.countDetails?.count!=null?i.jsx(D,{children:i.jsx(x,{isCircular:t.countDetails.count==null||t.countDetails.count<10,children:i.jsx(j,{children:t.countDetails.isFetching?i.jsx(u,{size:"Small-Compact",style:{color:"inherit",display:"flex",alignItems:"center",justifyContent:"center"},start:!0}):t.countDetails.count})})}):null]},t.id)})}),l]})}const f=r.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: ${e=>e.hasRightComponent?"space-between":"flex-start"};
@@ -1 +1 @@
1
- import{V as n}from"./index-DqZ19at7.js";import{E as r,T as t}from"./ReloadCard-DKGn1uxF-CHnWO982.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="91750a19-1aee-439d-a74e-c99027ae3f9c",e._sentryDebugIdIdentifier="sentry-dbid-91750a19-1aee-439d-a74e-c99027ae3f9c")}catch{}})();const c=e=>{function d(){return e.card.fetchState==="In-Progress"||e.card.fetchState==="Not-Started"?n.jsx(r,{dimension:e.card.dimension,animated:!e.card.disableAnimations}):e.card.fetchState==="Error"?n.jsx(t,{dimension:e.card.dimension,cardType:e.card.cardType,cardIndex:e.card.cardIndex,onReloadData:e.actions.onReloadData}):n.jsx("div",{children:e.children})}return n.jsx("div",{children:d()})};export{c};
1
+ import{V as n}from"./index-DMtzVMbw.js";import{E as r,T as t}from"./ReloadCard-DKGn1uxF-DbH-tW4Z.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="91750a19-1aee-439d-a74e-c99027ae3f9c",e._sentryDebugIdIdentifier="sentry-dbid-91750a19-1aee-439d-a74e-c99027ae3f9c")}catch{}})();const c=e=>{function d(){return e.card.fetchState==="In-Progress"||e.card.fetchState==="Not-Started"?n.jsx(r,{dimension:e.card.dimension,animated:!e.card.disableAnimations}):e.card.fetchState==="Error"?n.jsx(t,{dimension:e.card.dimension,cardType:e.card.cardType,cardIndex:e.card.cardIndex,onReloadData:e.actions.onReloadData}):n.jsx("div",{children:e.children})}return n.jsx("div",{children:d()})};export{c};
@@ -1,4 +1,4 @@
1
- import{ax as gt,d as qe,V as t,jz as Y,bE as kt,ab as _,cr as xt,am as K,ar as ft,O as se,o as s,jA as Xe,ck as Ie,co as wt,ga as Ct,bb as $t,bQ as Ze,aV as Tt,cf as jt,J as ie,aa as yt,y as Qe,cH as vt,ad as bt,b5 as St,cv as Gt,iW as Lt,iX as It,jB as Me,aT as Nt,i as De,bV as Ne,eQ as Je,jC as Et,d1 as et,jD as ce,jE as ke,jF as xe,jG as tt,jH as Dt,jI as st,jJ as ot,jK as nt,jL as at,jM as rt,jN as V,u as ge,jO as ae,aj as re,jP as Mt,jQ as Bt,x as zt,ao as At,jR as Rt,dc as Wt,jS as Ot,cL as it,es as Ft,b as Pt,jT as Ht,jU as _t,gb as Ut,gC as Vt,jV as Kt,jW as Z,jX as Be,cx as Yt,jY as qt,jZ as Xt,j_ as Zt,j$ as ze,p as Ae,gz as Qt,an as Jt}from"./index-DqZ19at7.js";import{a as n}from"./sentry-DO9J0OD9.js";import{n as o,c as fe}from"./mui-ZYC_cKE8.js";import{Gh as es,Gi as Re,cd as lt,ce as dt,cf as ts}from"./zeni-epic-state-C5Hzx540.js";import{J as ss,t as os}from"./SpendManagementSection-dT-N4bSQ-BiovZfwW.js";import{A as ns,t as as,a as rs,E as is}from"./NotificationsListConfig-Bn1zmx6b-xLvRbIc5.js";import{a as ls}from"./SpendManagementListViewPage-9V9u1jPF-CmDrIGYQ.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.js";import"./StatusSwitcher-CaoFw0cf-C3lxp9pU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="7b4317d5-5b62-417a-9e11-f3020fffc56e",e._sentryDebugIdIdentifier="sentry-dbid-7b4317d5-5b62-417a-9e11-f3020fffc56e")}catch{}})();const ds=100,cs=100,ps=3,us=.7,hs=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ds,scrollSpeed:h=cs,minScrollAmount:m=ps,scrollCurveExponent:u=us})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},b=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},E=x=>b(x),D=x=>{const S=Math.max(x,0)/c,j=Math.pow(S,u)*h;return Math.max(m,j)},k=(x,S,j)=>{const L=j==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},w=()=>e.current??window,f=()=>{if(!a)return;const x=w(),S=window.innerHeight,j=p;if(j<c&&j>0){const L=c-j,g=D(L);k(x,g,"up")}else if(j>S-c){const L=j-(S-c),g=D(L);k(x,g,"down")}i=requestAnimationFrame(f)},M=x=>{E(x)?a=!0:(a=!1,C())},B=()=>{a=!1,C()},z=x=>{a&&(p=x.clientY)},T=x=>{z(x),a&&i===null&&(i=requestAnimationFrame(f))};return document.addEventListener("dragstart",M),document.addEventListener("dragend",B),document.addEventListener("dragover",T),()=>{document.removeEventListener("dragstart",M),document.removeEventListener("dragend",B),document.removeEventListener("dragover",T),C()}},[r,d,m,e,u,h])},be=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(ms,{isCircular:e<10,children:t.jsx(gs,{children:e>be.common.numbers.maximumCount?`${be.common.numbers.maximumCount}${be.common.strings.plus}`:e})}),ms=o.div`
1
+ import{ax as gt,d as qe,V as t,jz as Y,bE as kt,ab as _,cr as xt,am as K,ar as ft,O as se,o as s,jA as Xe,ck as Ie,co as wt,ga as Ct,bb as $t,bQ as Ze,aV as Tt,cf as jt,J as ie,aa as yt,y as Qe,cH as vt,ad as bt,b5 as St,cv as Gt,iW as Lt,iX as It,jB as Me,aT as Nt,i as De,bV as Ne,eQ as Je,jC as Et,d1 as et,jD as ce,jE as ke,jF as xe,jG as tt,jH as Dt,jI as st,jJ as ot,jK as nt,jL as at,jM as rt,jN as V,u as ge,jO as ae,aj as re,jP as Mt,jQ as Bt,x as zt,ao as At,jR as Rt,dc as Wt,jS as Ot,cL as it,es as Ft,b as Pt,jT as Ht,jU as _t,gb as Ut,gC as Vt,jV as Kt,jW as Z,jX as Be,cx as Yt,jY as qt,jZ as Xt,j_ as Zt,j$ as ze,p as Ae,gz as Qt,an as Jt}from"./index-DMtzVMbw.js";import{a as n}from"./sentry-oySuCz2z.js";import{n as o,c as fe}from"./mui-CoYz3n28.js";import{Gh as es,Gi as Re,cd as lt,ce as dt,cf as ts}from"./zeni-epic-state-C253RwnE.js";import{J as ss,t as os}from"./SpendManagementSection-dT-N4bSQ-DyiRwDlk.js";import{A as ns,t as as,a as rs,E as is}from"./NotificationsListConfig-Bn1zmx6b-TJ9FCC7G.js";import{a as ls}from"./SpendManagementListViewPage-9V9u1jPF-5A_NOo7G.js";import"./liveblocks-BP-9wBvW.js";import"./core-C2ocMdpX.js";import"./recharts-BDU9Jttg.js";import"./lottie-CH4Au8OK.js";import"./analytics-CkM8lXFl.js";import"./lexical-DGY0EwD1.js";import"./utils-lCkIh4TY.js";import"./StatusSwitcher-CaoFw0cf-CFPUWOAP.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="7b4317d5-5b62-417a-9e11-f3020fffc56e",e._sentryDebugIdIdentifier="sentry-dbid-7b4317d5-5b62-417a-9e11-f3020fffc56e")}catch{}})();const ds=100,cs=100,ps=3,us=.7,hs=({scrollContainerRef:e,isEnabled:d=!0,edgeThreshold:r=ds,scrollSpeed:h=cs,minScrollAmount:m=ps,scrollCurveExponent:u=us})=>{n.useEffect(()=>{if(!d||typeof window>"u"||typeof document>"u")return;let a=!1,p=0,i=null;const c=Math.max(r,1),C=()=>{i!==null&&(cancelAnimationFrame(i),i=null)},b=x=>{const S=e.current;return!S||!(x.target instanceof Node)?!1:S.contains(x.target)},E=x=>b(x),D=x=>{const S=Math.max(x,0)/c,j=Math.pow(S,u)*h;return Math.max(m,j)},k=(x,S,j)=>{const L=j==="up"?-S:S;x===window?window.scrollBy({top:L,behavior:"auto"}):x instanceof HTMLElement&&typeof x.scrollTop=="number"&&(x.scrollTop+=L)},w=()=>e.current??window,f=()=>{if(!a)return;const x=w(),S=window.innerHeight,j=p;if(j<c&&j>0){const L=c-j,g=D(L);k(x,g,"up")}else if(j>S-c){const L=j-(S-c),g=D(L);k(x,g,"down")}i=requestAnimationFrame(f)},M=x=>{E(x)?a=!0:(a=!1,C())},B=()=>{a=!1,C()},z=x=>{a&&(p=x.clientY)},T=x=>{z(x),a&&i===null&&(i=requestAnimationFrame(f))};return document.addEventListener("dragstart",M),document.addEventListener("dragend",B),document.addEventListener("dragover",T),()=>{document.removeEventListener("dragstart",M),document.removeEventListener("dragend",B),document.removeEventListener("dragover",T),C()}},[r,d,m,e,u,h])},be=se.getLocalizedStrings(),ct=({count:e})=>t.jsx(ms,{isCircular:e<10,children:t.jsx(gs,{children:e>be.common.numbers.maximumCount?`${be.common.numbers.maximumCount}${be.common.strings.plus}`:e})}),ms=o.div`
2
2
  ${e=>e.isCircular?fe`
3
3
  height: 18px;
4
4
  width: 18px;
@@ -1,4 +1,4 @@
1
- import{V as t,b5 as _,aF as S,dm as B,bt as H,o as a,aj as L}from"./index-DqZ19at7.js";import{a as n}from"./sentry-DO9J0OD9.js";import{n as g}from"./mui-ZYC_cKE8.js";import{Y as q}from"./core-ChNxRm0V.js";import{V as U}from"./CollapsableReportTable-CDEe9s_E-CMF0RoW1.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]="67590145-bdbe-493d-80be-aeeb79ee4485",e._sentryDebugIdIdentifier="sentry-dbid-67590145-bdbe-493d-80be-aeeb79ee4485")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
1
+ import{V as t,b5 as _,aF as S,dm as B,bt as H,o as a,aj as L}from"./index-DMtzVMbw.js";import{a as n}from"./sentry-oySuCz2z.js";import{n as g}from"./mui-CoYz3n28.js";import{Y as q}from"./core-C2ocMdpX.js";import{V as U}from"./CollapsableReportTable-CDEe9s_E-DOTF-z0w.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]="67590145-bdbe-493d-80be-aeeb79ee4485",e._sentryDebugIdIdentifier="sentry-dbid-67590145-bdbe-493d-80be-aeeb79ee4485")}catch{}})();const W=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M12 40H4a4 4 0 0 1-4-4V4a4 4 0 0 1 4-4h8v40z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),X=e=>n.createElement("svg",{width:12,height:40,viewBox:"0 0 12 40",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},n.createElement("path",{d:"M0 0h8a4 4 0 0 1 4 4v32a4 4 0 0 1-4 4H0V0z"}),n.createElement("path",{d:"M8 23.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM8 19a1 1 0 1 0 0 2 1 1 0 0 0 0-2zm-1-3.333a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm-3 7.666a1 1 0 1 0 0 2 1 1 0 0 0 0-2zM3 20a1 1 0 1 1 2 0 1 1 0 0 1-2 0zm1-5.333a1 1 0 1 0 0 2 1 1 0 0 0 0-2z",fill:"currentColor"})),p=40,h=90,Z=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: flex-start;
@@ -1,4 +1,4 @@
1
- import{V as s,o,aj as f,O as p}from"./index-DqZ19at7.js";import{n as i}from"./mui-ZYC_cKE8.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]="7425ae7b-3cc8-48ec-b11b-8bc714bdc2a3",e._sentryDebugIdIdentifier="sentry-dbid-7425ae7b-3cc8-48ec-b11b-8bc714bdc2a3")}catch{}})();const u=i.div`
1
+ import{V as s,o,aj as f,O as p}from"./index-DMtzVMbw.js";import{n as i}from"./mui-CoYz3n28.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]="7425ae7b-3cc8-48ec-b11b-8bc714bdc2a3",e._sentryDebugIdIdentifier="sentry-dbid-7425ae7b-3cc8-48ec-b11b-8bc714bdc2a3")}catch{}})();const u=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{J as d,V as i,y as n,aj as u,bL as w}from"./index-DqZ19at7.js";import{n as r}from"./mui-ZYC_cKE8.js";import{b as l}from"./TimeframeSwitcher-DHfHCTa4-B2FI2qD3.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]="0d962920-f831-4440-97d7-689ee38f8aac",e._sentryDebugIdIdentifier="sentry-dbid-0d962920-f831-4440-97d7-689ee38f8aac")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},x=({className:e,...o})=>i.jsx(w,{...o,className:e,classes:{...t}}),p=r(x)(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>i.jsx(p,{...e}),c={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=r.div`
1
+ import{J as d,V as i,y as n,aj as u,bL as w}from"./index-DMtzVMbw.js";import{n as r}from"./mui-CoYz3n28.js";import{b as l}from"./TimeframeSwitcher-DHfHCTa4-Bxq8Hftv.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]="0d962920-f831-4440-97d7-689ee38f8aac",e._sentryDebugIdIdentifier="sentry-dbid-0d962920-f831-4440-97d7-689ee38f8aac")}catch{}})();const s="ZeniSwitch",t={root:`${s}-root`,switchBase:`${s}-switchBase`,track:`${s}-track`,thumb:`${s}-thumb`},x=({className:e,...o})=>i.jsx(w,{...o,className:e,classes:{...t}}),p=r(x)(({theme:e})=>({[`& .${t.switchBase}`]:{color:e.colors.grey2,margin:0,padding:0,transform:"translateX(6px)"},[`& .${t.track}`]:{backgroundColor:e.colors.grey3,opacity:1},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.primary},[`& .${t.root}.${t.switchBase}.Mui-checked + .${t.track}`]:{backgroundColor:e.colors.grey1},[`&.${t.root}`]:{width:52,height:20,padding:"5px 10px"},[`& .${t.switchBase}.Mui-checked`]:{color:e.colors.grey5,transform:"translateX(28px)"},[`& .${t.switchBase}.Mui-checked .${t.thumb}`]:{backgroundColor:e.colors.primary},[`& .${t.switchBase}.Mui-checked .${t.thumb}:before`]:{backgroundImage:`url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="12" height="13" viewBox="0 0 12 13"><path fill="${encodeURIComponent(e.colors.grey5)}" d="M10.738 2L4.5075 8.4035L1.2615 5.0685L0 6.3655L4.5075 11L12 3.297L10.738 2Z" /></svg>')`},[`& .${t.switchBase}.Mui-checked + .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey1},[`& .${t.switchBase}.Mui-disabled + .${t.track}`]:{opacity:.7},[`& .${t.thumb}`]:{backgroundColor:e.colors.grey2,width:20,height:20,boxShadow:"none","&:before":{content:"''",position:"absolute",width:"100%",height:"100%",left:0,top:0,backgroundRepeat:"no-repeat",backgroundPosition:"center"}},[`& .${t.track}`]:{opacity:1,backgroundColor:e.colors.grey3,borderRadius:10}})),b=e=>i.jsx(p,{...e}),c={timeframePaddingLeft:new n(0,0,125),timeframePaddingBottom:new n(8,8,0)},y=r.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aF as z,J as M,V as t,d as x,u as f,b as T,a_ as X,aP as R,aN as H,o as p,aj as C,bb as F,am as G,O as S,aO as N,aU as E,b4 as U,b5 as Y,aR as q,aV as J,bT as Q}from"./index-DqZ19at7.js";import{P as w,a as W}from"./sentry-DO9J0OD9.js";import{F8 as Z}from"./zeni-epic-state-C5Hzx540.js";import{n as g}from"./mui-ZYC_cKE8.js";import{I as ee,T as te}from"./ReloadCard-DKGn1uxF-CHnWO982.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-5QBY0UXm.js";import{H as k,X as L,Y as O,K as $,O as P,Q as ne,S as oe}from"./recharts-CPKKNFMD.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]="01ef2e9a-a186-47b4-a6c9-1db8540639b9",e._sentryDebugIdIdentifier="sentry-dbid-01ef2e9a-a186-47b4-a6c9-1db8540639b9")}catch{}})();const ie=g(E)`
1
+ import{aF as z,J as M,V as t,d as x,u as f,b as T,a_ as X,aP as R,aN as H,o as p,aj as C,bb as F,am as G,O as S,aO as N,aU as E,b4 as U,b5 as Y,aR as q,aV as J,bT as Q}from"./index-DMtzVMbw.js";import{P as w,a as W}from"./sentry-oySuCz2z.js";import{F8 as Z}from"./zeni-epic-state-C253RwnE.js";import{n as g}from"./mui-CoYz3n28.js";import{I as ee,T as te}from"./ReloadCard-DKGn1uxF-DbH-tW4Z.js";import{o as ae,r as re}from"./graphic-no-data-l-DU4J8fDt-Dy3KHs8N.js";import{H as k,X as L,Y as O,K as $,O as P,Q as ne,S as oe}from"./recharts-BDU9Jttg.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]="01ef2e9a-a186-47b4-a6c9-1db8540639b9",e._sentryDebugIdIdentifier="sentry-dbid-01ef2e9a-a186-47b4-a6c9-1db8540639b9")}catch{}})();const ie=g(E)`
2
2
  justify-content: space-between;
3
3
  margin: 0;
4
4
  height: ${e=>e.height!=null?e.height+"px":"auto"};
@@ -1,4 +1,4 @@
1
- import{d as v,J as S,V as t,bE as B,O as x,aP as b,b5 as A,w as P,o as i,y as E,bS as H,bu as V,u as c,p as z,am as $,aR as D,b1 as F}from"./index-DqZ19at7.js";import{n}from"./mui-ZYC_cKE8.js";import{F8 as T}from"./zeni-epic-state-C5Hzx540.js";import{E as _,I}from"./TopExCard-BUjnGDUB-ILeRndVt.js";import{b as M}from"./TimeframeSwitcher-DHfHCTa4-B2FI2qD3.js";import{d as L}from"./NoDataTable-CPjJmo4s-B0gXcJxM.js";import{P as O,a as o}from"./sentry-DO9J0OD9.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.js";import"./ReloadCard-DKGn1uxF-CHnWO982.js";import"./graphic-no-data-l-DU4J8fDt-5QBY0UXm.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="c9ad2058-54c7-4fee-971f-7021dfa10f57",e._sentryDebugIdIdentifier="sentry-dbid-c9ad2058-54c7-4fee-971f-7021dfa10f57")}catch{}})();const j="141px",Z=i.sp4,N="123px",R=n(F)`
1
+ import{d as v,J as S,V as t,bE as B,O as x,aP as b,b5 as A,w as P,o as i,y as E,bS as H,bu as V,u as c,p as z,am as $,aR as D,b1 as F}from"./index-DMtzVMbw.js";import{n}from"./mui-CoYz3n28.js";import{F8 as T}from"./zeni-epic-state-C253RwnE.js";import{E as _,I}from"./TopExCard-BUjnGDUB-DDOVH94X.js";import{b as M}from"./TimeframeSwitcher-DHfHCTa4-Bxq8Hftv.js";import{d as L}from"./NoDataTable-CPjJmo4s-BNfLJH7M.js";import{P as O,a as o}from"./sentry-oySuCz2z.js";import"./liveblocks-BP-9wBvW.js";import"./core-C2ocMdpX.js";import"./recharts-BDU9Jttg.js";import"./lottie-CH4Au8OK.js";import"./analytics-CkM8lXFl.js";import"./lexical-DGY0EwD1.js";import"./utils-lCkIh4TY.js";import"./ReloadCard-DKGn1uxF-DbH-tW4Z.js";import"./graphic-no-data-l-DU4J8fDt-Dy3KHs8N.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="c9ad2058-54c7-4fee-971f-7021dfa10f57",e._sentryDebugIdIdentifier="sentry-dbid-c9ad2058-54c7-4fee-971f-7021dfa10f57")}catch{}})();const j="141px",Z=i.sp4,N="123px",R=n(F)`
2
2
  color: inherit;
3
3
  width: ${i.sp3};
4
4
  height: ${i.sp3};
@@ -1,4 +1,4 @@
1
- import{V as n,T as H,o,b9 as F,O as z,am as I,x as B,eI as U,an as P,bi as M,h as W,aj as q,dw as J,a$ as K}from"./index-DqZ19at7.js";import{a as O}from"./sentry-DO9J0OD9.js";import{n as i}from"./mui-ZYC_cKE8.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./zeni-epic-state-C5Hzx540.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.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]="e09f0e9c-9bc6-4655-924e-d02d1e7d8d5e",e._sentryDebugIdIdentifier="sentry-dbid-e09f0e9c-9bc6-4655-924e-d02d1e7d8d5e")}catch{}})();const A=z.getLocalizedStrings(),{transactionActivityLog:p}=A.expenseAutomation.transactions,{dateFormat:$}=A,g={"transaction_line.vendor.updated":p.fields.vendor,"transaction_line.vendor.matched":p.fields.vendor,"transaction_line.account.updated":p.fields.category,"transaction_line.class.updated":p.fields.class,"transaction_line.vendor.user_update":p.fields.vendor,"transaction_line.customer.user_update":p.fields.customer,"transaction_line.memo.user_update":p.fields.memo,"transaction_line.description.user_update":p.fields.description,"transaction_line.account.user_update":p.fields.category,"transaction_line.class.user_update":p.fields.class},f=p.linePrefix;function C(e){return e.data?.transaction?.lineId??null}function Q(e){return e.endsWith(".user_update")}function Y(e){return e.length>0&&Q(e[0].eventType)}function X(e){const t=e.data?.transaction?.originalLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function Z(e){const t=e.data?.transaction?.updatedLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function y(e){return e.map(t=>`${t.fieldName}|${t.oldValue??""}|${t.newValue??""}`).join(";;")}function G(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=g[s.eventType]??s.eventType,d=X(s),h=Z(s),c=t.get(l)??[];c.push({fieldName:m,oldValue:d,newValue:h}),t.set(l,c)}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=y(l);let d=a;for(;d+1<r.length&&y(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function j(e){return e.map(t=>`${t.fieldName}|${t.newValue??""}|${t.reasoning}`).join(";;")}function R(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=E(s),d=g[s.eventType]??s.eventType,h=s.data.aiSummaries[0];if(h!=null){const c=t.get(l)??[];c.push({fieldName:d,newValue:m,reasoning:h.reasoning}),t.set(l,c)}}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=j(l);let d=a;for(;d+1<r.length&&j(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function ee(e){const t=[];let r=0;for(;r<e.length;){const u=e[r],a=[u],s=u.data?.transaction?.correlationId;let l=r+1;if(s!=null)for(;l<e.length&&e[l].data?.transaction?.correlationId===s;)a.push(e[l]),l++;else for(;l<e.length&&e[l].createTime.format("DD MM YYYY HH:mm:ss")===u.createTime.format("DD MM YYYY HH:mm:ss");)a.push(e[l]),l++;t.push(a),r=l}return t}function te(e){if(e.length===1&&e[0].eventType==="transaction.sync_database")return p.transactionIngested;if(Y(e)){const a=e[0].data?.user;if(a!=null){const s=p.userUpdatedDetails.charAt(0).toLowerCase()+p.userUpdatedDetails.slice(1);return`${a.firstName} ${a.lastName} ${s}`}return p.userUpdatedDetails}const t=[...new Set(e.map(a=>g[a.eventType]).filter(a=>a!=null))];if(t.length===0)return e[0].eventType;if(t.length===1)return`${p.aiBookkeeperAdded} ${t[0]}.`;const r=t.at(-1),u=t.slice(0,-1);return`${p.aiBookkeeperAdded} ${u.join(", ")} and ${r}.`}function E(e){const t=e.data?.transaction?.updatedLine;if(!(t==null||e.eventType==="transaction.sync_database")){if(e.eventType==="transaction_line.vendor.updated"||e.eventType==="transaction_line.vendor.matched")return t.vendor?.name;if(e.eventType==="transaction_line.account.updated")return t.account?.accountName;if(e.eventType==="transaction_line.class.updated")return t.class?.className;if(e.eventType==="transaction_line.customer.updated")return t.customer?.name}}function ne(e){return e.flatMap(t=>{if(t.data==null)return[];const r=t.data.aiSummaries[0];if(r==null)return[];const u=E(t);return[{fieldName:g[t.eventType]??t.eventType,newValue:u,reasoning:r.reasoning}]})}const Je=({transactionActivityLogSelectorView:e,onClose:t})=>{const{transactionActivityLogs:r}=e,u=ee(r);return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?n.jsxs(ie,{children:[n.jsx(H,{size:"ExtraLarge",start:!0}),";"]}):e.fetchState==="Completed"&&u.length===0?n.jsxs(v,{children:[n.jsx(b,{children:n.jsx(_,{children:p.title})}),n.jsx(Me,{children:n.jsx(Ae,{children:p.noLogsFound})})]}):n.jsxs(v,{children:[n.jsxs(b,{children:[n.jsx(_,{children:p.title}),n.jsx(se,{onClick:t,children:n.jsx(oe,{})})]}),n.jsx(ae,{children:u.map((a,s)=>n.jsx(re,{isLast:s===u.length-1,group:a},a[0].id))})]})},re=({group:e,isLast:t})=>{const[r,u]=O.useState(!1),a=Y(e),s=a?[]:R(e),l=a?G(e):[],m=a?[]:ne(e);return n.jsxs(ue,{children:[n.jsxs(he,{children:[n.jsx(me,{children:a?n.jsx(ge,{}):n.jsx(fe,{})}),!t&&n.jsx(xe,{})]}),n.jsxs($e,{children:[n.jsx(ye,{children:te(e)}),n.jsxs(je,{children:[n.jsx(k,{children:e[0].createTime.format($.visual.MMMDFormat)}),n.jsx(ve,{}),n.jsx(k,{children:e[0].createTime.format($.visual.HHMMFormat)})]}),a&&l.length>0&&n.jsx(w,{children:l.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsx(L,{children:d.lineDisplayLabel}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(Le,{children:d.details.map((c,x)=>n.jsxs(Ve,{children:[n.jsxs(ke,{children:[c.fieldName,":"," "]}),c.oldValue!=null&&n.jsx(De,{children:c.oldValue}),c.oldValue!=null&&c.newValue!=null&&n.jsx(Se,{children:" → "}),c.newValue!=null&&n.jsx(Ie,{children:c.newValue})]},`${c.fieldName}-${x}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length>0&&n.jsx(w,{children:s.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsxs(le,{children:[n.jsx(de,{}),n.jsx(L,{children:d.lineDisplayLabel})]}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(ce,{children:d.details.map((c,x)=>n.jsxs(pe,{children:[n.jsxs(D,{children:[c.fieldName,c.newValue!=null&&`: ${c.newValue}`]}),n.jsx(S,{children:c.reasoning})]},`${c.fieldName}-${x}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length===0&&m.length>0&&n.jsxs(n.Fragment,{children:[n.jsxs(be,{onClick:()=>u(d=>!d),children:[n.jsx(_e,{isExpanded:r}),n.jsx(we,{children:p.details})]}),r&&n.jsx(Te,{children:m.map((d,h)=>n.jsxs(Ne,{children:[n.jsxs(D,{children:[d.fieldName,d.newValue!=null&&`: ${d.newValue}`]}),n.jsx(S,{children:d.reasoning})]},`${d.fieldName}-${h}`))})]})]})]})},ie=i.div`
1
+ import{V as n,T as H,o,b9 as F,O as z,am as I,x as B,eI as U,an as P,bi as M,h as W,aj as q,dw as J,a$ as K}from"./index-DMtzVMbw.js";import{a as O}from"./sentry-oySuCz2z.js";import{n as i}from"./mui-CoYz3n28.js";import"./liveblocks-BP-9wBvW.js";import"./core-C2ocMdpX.js";import"./recharts-BDU9Jttg.js";import"./zeni-epic-state-C253RwnE.js";import"./lottie-CH4Au8OK.js";import"./analytics-CkM8lXFl.js";import"./lexical-DGY0EwD1.js";import"./utils-lCkIh4TY.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]="e09f0e9c-9bc6-4655-924e-d02d1e7d8d5e",e._sentryDebugIdIdentifier="sentry-dbid-e09f0e9c-9bc6-4655-924e-d02d1e7d8d5e")}catch{}})();const A=z.getLocalizedStrings(),{transactionActivityLog:p}=A.expenseAutomation.transactions,{dateFormat:$}=A,g={"transaction_line.vendor.updated":p.fields.vendor,"transaction_line.vendor.matched":p.fields.vendor,"transaction_line.account.updated":p.fields.category,"transaction_line.class.updated":p.fields.class,"transaction_line.vendor.user_update":p.fields.vendor,"transaction_line.customer.user_update":p.fields.customer,"transaction_line.memo.user_update":p.fields.memo,"transaction_line.description.user_update":p.fields.description,"transaction_line.account.user_update":p.fields.category,"transaction_line.class.user_update":p.fields.class},f=p.linePrefix;function C(e){return e.data?.transaction?.lineId??null}function Q(e){return e.endsWith(".user_update")}function Y(e){return e.length>0&&Q(e[0].eventType)}function X(e){const t=e.data?.transaction?.originalLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function Z(e){const t=e.data?.transaction?.updatedLine;if(t==null)return;const r=e.eventType;if(r==="transaction_line.account.user_update")return t.account?.accountName;if(r==="transaction_line.class.user_update")return t.class?.className;if(r==="transaction_line.vendor.user_update")return t.vendor?.name;if(r==="transaction_line.customer.user_update")return t.customer?.name;if(r==="transaction_line.memo.user_update")return t.memo;if(r==="transaction_line.description.user_update")return t.description}function y(e){return e.map(t=>`${t.fieldName}|${t.oldValue??""}|${t.newValue??""}`).join(";;")}function G(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=g[s.eventType]??s.eventType,d=X(s),h=Z(s),c=t.get(l)??[];c.push({fieldName:m,oldValue:d,newValue:h}),t.set(l,c)}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=y(l);let d=a;for(;d+1<r.length&&y(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function j(e){return e.map(t=>`${t.fieldName}|${t.newValue??""}|${t.reasoning}`).join(";;")}function R(e){const t=new Map;for(const s of e){if(s.data==null)continue;const l=C(s);if(l==null)continue;const m=E(s),d=g[s.eventType]??s.eventType,h=s.data.aiSummaries[0];if(h!=null){const c=t.get(l)??[];c.push({fieldName:d,newValue:m,reasoning:h.reasoning}),t.set(l,c)}}const r=Array.from(t.keys()).sort((s,l)=>Number(s)-Number(l)||String(s).localeCompare(String(l)));if(r.length===0)return[];const u=[];let a=0;for(;a<r.length;){const s=r[a],l=t.get(s)??[],m=j(l);let d=a;for(;d+1<r.length&&j(t.get(r[d+1])??[])===m;)d+=1;const h=r[d],c=s===h?`${f}${s}`:`${f}${s} - ${f}${h}`;u.push({details:l,lineDisplayLabel:c}),a=d+1}return u}function ee(e){const t=[];let r=0;for(;r<e.length;){const u=e[r],a=[u],s=u.data?.transaction?.correlationId;let l=r+1;if(s!=null)for(;l<e.length&&e[l].data?.transaction?.correlationId===s;)a.push(e[l]),l++;else for(;l<e.length&&e[l].createTime.format("DD MM YYYY HH:mm:ss")===u.createTime.format("DD MM YYYY HH:mm:ss");)a.push(e[l]),l++;t.push(a),r=l}return t}function te(e){if(e.length===1&&e[0].eventType==="transaction.sync_database")return p.transactionIngested;if(Y(e)){const a=e[0].data?.user;if(a!=null){const s=p.userUpdatedDetails.charAt(0).toLowerCase()+p.userUpdatedDetails.slice(1);return`${a.firstName} ${a.lastName} ${s}`}return p.userUpdatedDetails}const t=[...new Set(e.map(a=>g[a.eventType]).filter(a=>a!=null))];if(t.length===0)return e[0].eventType;if(t.length===1)return`${p.aiBookkeeperAdded} ${t[0]}.`;const r=t.at(-1),u=t.slice(0,-1);return`${p.aiBookkeeperAdded} ${u.join(", ")} and ${r}.`}function E(e){const t=e.data?.transaction?.updatedLine;if(!(t==null||e.eventType==="transaction.sync_database")){if(e.eventType==="transaction_line.vendor.updated"||e.eventType==="transaction_line.vendor.matched")return t.vendor?.name;if(e.eventType==="transaction_line.account.updated")return t.account?.accountName;if(e.eventType==="transaction_line.class.updated")return t.class?.className;if(e.eventType==="transaction_line.customer.updated")return t.customer?.name}}function ne(e){return e.flatMap(t=>{if(t.data==null)return[];const r=t.data.aiSummaries[0];if(r==null)return[];const u=E(t);return[{fieldName:g[t.eventType]??t.eventType,newValue:u,reasoning:r.reasoning}]})}const Je=({transactionActivityLogSelectorView:e,onClose:t})=>{const{transactionActivityLogs:r}=e,u=ee(r);return e.fetchState==="In-Progress"||e.fetchState==="Not-Started"?n.jsxs(ie,{children:[n.jsx(H,{size:"ExtraLarge",start:!0}),";"]}):e.fetchState==="Completed"&&u.length===0?n.jsxs(v,{children:[n.jsx(b,{children:n.jsx(_,{children:p.title})}),n.jsx(Me,{children:n.jsx(Ae,{children:p.noLogsFound})})]}):n.jsxs(v,{children:[n.jsxs(b,{children:[n.jsx(_,{children:p.title}),n.jsx(se,{onClick:t,children:n.jsx(oe,{})})]}),n.jsx(ae,{children:u.map((a,s)=>n.jsx(re,{isLast:s===u.length-1,group:a},a[0].id))})]})},re=({group:e,isLast:t})=>{const[r,u]=O.useState(!1),a=Y(e),s=a?[]:R(e),l=a?G(e):[],m=a?[]:ne(e);return n.jsxs(ue,{children:[n.jsxs(he,{children:[n.jsx(me,{children:a?n.jsx(ge,{}):n.jsx(fe,{})}),!t&&n.jsx(xe,{})]}),n.jsxs($e,{children:[n.jsx(ye,{children:te(e)}),n.jsxs(je,{children:[n.jsx(k,{children:e[0].createTime.format($.visual.MMMDFormat)}),n.jsx(ve,{}),n.jsx(k,{children:e[0].createTime.format($.visual.HHMMFormat)})]}),a&&l.length>0&&n.jsx(w,{children:l.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsx(L,{children:d.lineDisplayLabel}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(Le,{children:d.details.map((c,x)=>n.jsxs(Ve,{children:[n.jsxs(ke,{children:[c.fieldName,":"," "]}),c.oldValue!=null&&n.jsx(De,{children:c.oldValue}),c.oldValue!=null&&c.newValue!=null&&n.jsx(Se,{children:" → "}),c.newValue!=null&&n.jsx(Ie,{children:c.newValue})]},`${c.fieldName}-${x}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length>0&&n.jsx(w,{children:s.map((d,h)=>n.jsxs(T,{children:[n.jsxs(N,{children:[n.jsxs(le,{children:[n.jsx(de,{}),n.jsx(L,{children:d.lineDisplayLabel})]}),n.jsx(V,{"aria-hidden":!0,children:"#"})]}),n.jsx(ce,{children:d.details.map((c,x)=>n.jsxs(pe,{children:[n.jsxs(D,{children:[c.fieldName,c.newValue!=null&&`: ${c.newValue}`]}),n.jsx(S,{children:c.reasoning})]},`${c.fieldName}-${x}`))})]},`${d.lineDisplayLabel}-${h}`))}),!a&&s.length===0&&m.length>0&&n.jsxs(n.Fragment,{children:[n.jsxs(be,{onClick:()=>u(d=>!d),children:[n.jsx(_e,{isExpanded:r}),n.jsx(we,{children:p.details})]}),r&&n.jsx(Te,{children:m.map((d,h)=>n.jsxs(Ne,{children:[n.jsxs(D,{children:[d.fieldName,d.newValue!=null&&`: ${d.newValue}`]}),n.jsx(S,{children:d.reasoning})]},`${d.fieldName}-${h}`))})]})]})]})},ie=i.div`
2
2
  display: flex;
3
3
  justify-content: center;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{dT as Wn,I as qn,P as Hn,d as Vt,aa as Gn,J as ae,O as W,aS as Yt,dU as Kn,dV as Yn,cH as Jn,aF as Xn,dW as nn,dX as Qn,V as i,ad as Zn,bE as ea,dY as ta,dZ as ia,d_ as na,d$ as zi,aT as aa,y as _,aR as q,e0 as an,e1 as De,e2 as Te,e3 as Ne,e4 as et,e5 as tt,e6 as Lt,e7 as jt,e8 as it,e9 as ht,ea as St,eb as kt,ec as Jt,ed as ee,ee as oa,ef as Zt,eg as ue,eh as on,ei as pe,ej as sn,aL as sa,ek as It,el as Ai,em as la,i as ra,cr as ca,T as $i,o as a,cf as da,en as ua,u as O,w as xi,p as le,ar as Di,bc as ai,h as pa,eo as ma,cm as ha,ck as oi,cL as lt,ep as ga,eq as qt,aW as ln,c$ as fa,er as ya,ci as ba,cj as xa,aP as je,am as fe,b1 as wa,es as va,et as rn,eu as Xt,ev as Qt,ew as pi,dh as Ca,b5 as Ia,cv as $a,ex as Ti,a9 as cn,ey as ei,ez as ti,eA as dn,cQ as un,bV as Oi,eB as mi,dn as hi,eC as Da,bu as Ta,eD as Ei,eE as Oa,eF as La,az as ja,eG as Sa,eH as ka,H as pn,eI as mn,bM as za,eJ as Vi,eK as hn,eL as gn,eM as fn,bK as rt,au as Aa,at as Ea,dw as Va,b as yn,eN as Ra,bI as Pa,x as _a,an as Na,l as Ua,aY as wi}from"./index-DqZ19at7.js";import{a as w,P as $t}from"./sentry-DO9J0OD9.js";import{n as l}from"./mui-ZYC_cKE8.js";import{FF as Ba,uv as Ma,bE as At,bD as Et,bF as Fa,c3 as Wa,l9 as qa,bh as Ha}from"./zeni-epic-state-C5Hzx540.js";import{x as Ri}from"./LabeledControlledCheckBoxField-CgZg0uOW-CjFLwRIN.js";import{R as Ga}from"./TrendWithTransactions-CTJhTpAM-BQk6HV-p.js";import{u as Ka,c as Ya,d as Ja,m as Xa}from"./uploadAttachment-BlLqRIXe-BrI0Dxy9.js";import{o as Qa}from"./radio-default-CiSgisfh-BxCWoZze.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.js";import"./TrendChart-JTOG0a7B-DpgA2voA.js";import"./chartTypes-40RenddT-C3e8npm6.js";import"./toCOABalancesWithID-DkMGvlEt-BttuYM2L.js";import"./toChartData-C6s-eBzE-DfNWG1EA.js";import"./NoDataChart-CgT19fV7-Dq-PS5iw.js";import"./InsightsSection-De9zu_me-VPfN5Xo7.js";import"./NavigationDots-Bv4tBDN3-Dko875eO.js";import"./TransactionList-3-mUZOsw-BOqEjROc.js";import"./ConstrainedInnerElement-BeIpAPjB-XtnsGBeT.js";import"./BoxItem-DRwx0M5a-DCS0EEq5.js";import"./commonDimensions-BMnB1-xU-BEplFlGz.js";import"./panelSelectedMixin-CzfD5-Zs-D6-xSZhW.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]="f62dd648-4fa8-432d-b19f-92db53711b9c",e._sentryDebugIdIdentifier="sentry-dbid-f62dd648-4fa8-432d-b19f-92db53711b9c")}catch{}})();const Za={headerMarginTop:new _(O[7],O[8])},eo=l(fe)`
1
+ import{dT as Wn,I as qn,P as Hn,d as Vt,aa as Gn,J as ae,O as W,aS as Yt,dU as Kn,dV as Yn,cH as Jn,aF as Xn,dW as nn,dX as Qn,V as i,ad as Zn,bE as ea,dY as ta,dZ as ia,d_ as na,d$ as zi,aT as aa,y as _,aR as q,e0 as an,e1 as De,e2 as Te,e3 as Ne,e4 as et,e5 as tt,e6 as Lt,e7 as jt,e8 as it,e9 as ht,ea as St,eb as kt,ec as Jt,ed as ee,ee as oa,ef as Zt,eg as ue,eh as on,ei as pe,ej as sn,aL as sa,ek as It,el as Ai,em as la,i as ra,cr as ca,T as $i,o as a,cf as da,en as ua,u as O,w as xi,p as le,ar as Di,bc as ai,h as pa,eo as ma,cm as ha,ck as oi,cL as lt,ep as ga,eq as qt,aW as ln,c$ as fa,er as ya,ci as ba,cj as xa,aP as je,am as fe,b1 as wa,es as va,et as rn,eu as Xt,ev as Qt,ew as pi,dh as Ca,b5 as Ia,cv as $a,ex as Ti,a9 as cn,ey as ei,ez as ti,eA as dn,cQ as un,bV as Oi,eB as mi,dn as hi,eC as Da,bu as Ta,eD as Ei,eE as Oa,eF as La,az as ja,eG as Sa,eH as ka,H as pn,eI as mn,bM as za,eJ as Vi,eK as hn,eL as gn,eM as fn,bK as rt,au as Aa,at as Ea,dw as Va,b as yn,eN as Ra,bI as Pa,x as _a,an as Na,l as Ua,aY as wi}from"./index-DMtzVMbw.js";import{a as w,P as $t}from"./sentry-oySuCz2z.js";import{n as l}from"./mui-CoYz3n28.js";import{FF as Ba,uv as Ma,bE as At,bD as Et,bF as Fa,c3 as Wa,l9 as qa,bh as Ha}from"./zeni-epic-state-C253RwnE.js";import{x as Ri}from"./LabeledControlledCheckBoxField-CgZg0uOW-oAjjici4.js";import{R as Ga}from"./TrendWithTransactions-CTJhTpAM-Bv1UqYxB.js";import{u as Ka,c as Ya,d as Ja,m as Xa}from"./uploadAttachment-BlLqRIXe-CMo80ZkF.js";import{o as Qa}from"./radio-default-CiSgisfh-CcppOTnL.js";import"./liveblocks-BP-9wBvW.js";import"./core-C2ocMdpX.js";import"./recharts-BDU9Jttg.js";import"./lottie-CH4Au8OK.js";import"./analytics-CkM8lXFl.js";import"./lexical-DGY0EwD1.js";import"./utils-lCkIh4TY.js";import"./TrendChart-JTOG0a7B-BPCPEjor.js";import"./chartTypes-40RenddT-C5cIBfKP.js";import"./toCOABalancesWithID-DkMGvlEt-CjweDPd3.js";import"./toChartData-C6s-eBzE-DQEzIUE9.js";import"./NoDataChart-CgT19fV7-CT6v85pw.js";import"./InsightsSection-De9zu_me-fO_n1ybi.js";import"./NavigationDots-Bv4tBDN3-oYD3IjEb.js";import"./TransactionList-3-mUZOsw-Bjo6uOYk.js";import"./ConstrainedInnerElement-BeIpAPjB-BRsKF_vB.js";import"./BoxItem-DRwx0M5a-BOzUW4AC.js";import"./commonDimensions-BMnB1-xU-DiUddsI8.js";import"./panelSelectedMixin-CzfD5-Zs-BhQovnBD.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]="f62dd648-4fa8-432d-b19f-92db53711b9c",e._sentryDebugIdIdentifier="sentry-dbid-f62dd648-4fa8-432d-b19f-92db53711b9c")}catch{}})();const Za={headerMarginTop:new _(O[7],O[8])},eo=l(fe)`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  `,to=l(fe)`
4
4
  margin-right: ${a.sp1};
@@ -1,4 +1,4 @@
1
- import{cf as fe,J as R,V as t,b5 as ue,aR as h,dh as xe,di as he,dc as pe,dj as ge,o as a,p as V,cv as be,O as y,y as Z,T as we,am as v,u as g,aj as $e,dk as ye,dl as K,d3 as G,aP as ee,an as ve}from"./index-DqZ19at7.js";import{a as u,P as je}from"./sentry-DO9J0OD9.js";import{n,c as ke}from"./mui-ZYC_cKE8.js";import{a as Ye}from"./ConstrainedInnerElement-BeIpAPjB-XtnsGBeT.js";import{F9 as J,Fa as Q,Fb as W,Fc as L,bh as Le,Fu as te,bE as ie}from"./zeni-epic-state-C5Hzx540.js";import{g as ae}from"./BoxItem-DRwx0M5a-DCS0EEq5.js";import{l as Me}from"./panelSelectedMixin-CzfD5-Zs-D6-xSZhW.js";import{o as B}from"./commonDimensions-BMnB1-xU-BEplFlGz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="ad626e1b-6403-4b30-95cd-ea17f9aa5f38",e._sentryDebugIdIdentifier="sentry-dbid-ad626e1b-6403-4b30-95cd-ea17f9aa5f38")}catch{}})();const D=e=>e?24:125,Pe={containerPaddingBottom:new Z(g[9],g[8])},X=n.div`
1
+ import{cf as fe,J as R,V as t,b5 as ue,aR as h,dh as xe,di as he,dc as pe,dj as ge,o as a,p as V,cv as be,O as y,y as Z,T as we,am as v,u as g,aj as $e,dk as ye,dl as K,d3 as G,aP as ee,an as ve}from"./index-DMtzVMbw.js";import{a as u,P as je}from"./sentry-oySuCz2z.js";import{n,c as ke}from"./mui-CoYz3n28.js";import{a as Ye}from"./ConstrainedInnerElement-BeIpAPjB-BRsKF_vB.js";import{F9 as J,Fa as Q,Fb as W,Fc as L,bh as Le,Fu as te,bE as ie}from"./zeni-epic-state-C253RwnE.js";import{g as ae}from"./BoxItem-DRwx0M5a-BOzUW4AC.js";import{l as Me}from"./panelSelectedMixin-CzfD5-Zs-BhQovnBD.js";import{o as B}from"./commonDimensions-BMnB1-xU-DiUddsI8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="ad626e1b-6403-4b30-95cd-ea17f9aa5f38",e._sentryDebugIdIdentifier="sentry-dbid-ad626e1b-6403-4b30-95cd-ea17f9aa5f38")}catch{}})();const D=e=>e?24:125,Pe={containerPaddingBottom:new Z(g[9],g[8])},X=n.div`
2
2
  box-sizing: border-box;
3
3
  display: flex;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{y as a,J as R,ax as V,aG as ie,a_ as ne,V as t,b5 as re,aR as w,u as n,b as ae,p as A,o,H as j,B as ee,O as $,bs as se,bt as le,aj as de,ar as ce,aP as me,bu as pe,ap as he,T as ue,w as G,bv as te,i as q,aV as oe}from"./index-DqZ19at7.js";import{a as T,P as C}from"./sentry-DO9J0OD9.js";import{n as i,c as ge}from"./mui-ZYC_cKE8.js";import{ER as xe,bg as we,bC as O}from"./zeni-epic-state-C5Hzx540.js";import{G as $e,c as be}from"./AccountsPromoCardStack-D7xvgmOH-D3-ZzkOb.js";import{a as ye}from"./ConstrainedInnerElement-BeIpAPjB-XtnsGBeT.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.js";import"./SummaryCard-B9wqNSwM-n1ImzaFb.js";import"./ReloadCard-DKGn1uxF-CHnWO982.js";import"./NavigationArrow-D26UG3p--DAuEEyBJ.js";import"./NavigationDots-Bv4tBDN3-Dko875eO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="f18f7062-90b9-4696-ba7a-7ced4213f4cd",e._sentryDebugIdIdentifier="sentry-dbid-f18f7062-90b9-4696-ba7a-7ced4213f4cd")}catch{}})();const fe={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
1
+ import{y as a,J as R,ax as V,aG as ie,a_ as ne,V as t,b5 as re,aR as w,u as n,b as ae,p as A,o,H as j,B as ee,O as $,bs as se,bt as le,aj as de,ar as ce,aP as me,bu as pe,ap as he,T as ue,w as G,bv as te,i as q,aV as oe}from"./index-DMtzVMbw.js";import{a as T,P as C}from"./sentry-oySuCz2z.js";import{n as i,c as ge}from"./mui-CoYz3n28.js";import{ER as xe,bg as we,bC as O}from"./zeni-epic-state-C253RwnE.js";import{G as $e,c as be}from"./AccountsPromoCardStack-D7xvgmOH-DkN_s0TJ.js";import{a as ye}from"./ConstrainedInnerElement-BeIpAPjB-BRsKF_vB.js";import"./liveblocks-BP-9wBvW.js";import"./core-C2ocMdpX.js";import"./recharts-BDU9Jttg.js";import"./lottie-CH4Au8OK.js";import"./analytics-CkM8lXFl.js";import"./lexical-DGY0EwD1.js";import"./utils-lCkIh4TY.js";import"./SummaryCard-B9wqNSwM-BEKfBuq9.js";import"./ReloadCard-DKGn1uxF-DbH-tW4Z.js";import"./NavigationArrow-D26UG3p--vCmsij62.js";import"./NavigationDots-Bv4tBDN3-oYD3IjEb.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="f18f7062-90b9-4696-ba7a-7ced4213f4cd",e._sentryDebugIdIdentifier="sentry-dbid-f18f7062-90b9-4696-ba7a-7ced4213f4cd")}catch{}})();const fe={textContainer:new j("extraSmallRegular","smallRegular")},ve=i.div`
2
2
  color: ${e=>e.theme.colors.hero};
3
3
  cursor: default;
4
4
  `,Se=i.div`
@@ -1,4 +1,4 @@
1
- import{d as z,bB as M,bC as U,V as t,bD as q,T as J,aR as h,bE as X,o as n,am as G}from"./index-DqZ19at7.js";import{a as r,n as H}from"./sentry-DO9J0OD9.js";import{n as l}from"./mui-ZYC_cKE8.js";import{T as K}from"./TransactionList-3-mUZOsw-BOqEjROc.js";import{t as Q}from"./page-detail-CWX5S47F-DC8jxm5B.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./zeni-epic-state-C5Hzx540.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.js";import"./ConstrainedInnerElement-BeIpAPjB-XtnsGBeT.js";import"./BoxItem-DRwx0M5a-DCS0EEq5.js";import"./commonDimensions-BMnB1-xU-BEplFlGz.js";import"./panelSelectedMixin-CzfD5-Zs-D6-xSZhW.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="fa1dba75-c221-4a45-95a0-3e7269bd0f25",e._sentryDebugIdIdentifier="sentry-dbid-fa1dba75-c221-4a45-95a0-3e7269bd0f25")}catch{}})();const W=l.div`
1
+ import{d as z,bB as M,bC as U,V as t,bD as q,T as J,aR as h,bE as X,o as n,am as G}from"./index-DMtzVMbw.js";import{a as r,n as H}from"./sentry-oySuCz2z.js";import{n as l}from"./mui-CoYz3n28.js";import{T as K}from"./TransactionList-3-mUZOsw-Bjo6uOYk.js";import{t as Q}from"./page-detail-CWX5S47F-y8p1z9Ov.js";import"./liveblocks-BP-9wBvW.js";import"./core-C2ocMdpX.js";import"./recharts-BDU9Jttg.js";import"./zeni-epic-state-C253RwnE.js";import"./lottie-CH4Au8OK.js";import"./analytics-CkM8lXFl.js";import"./lexical-DGY0EwD1.js";import"./utils-lCkIh4TY.js";import"./ConstrainedInnerElement-BeIpAPjB-BRsKF_vB.js";import"./BoxItem-DRwx0M5a-BOzUW4AC.js";import"./commonDimensions-BMnB1-xU-DiUddsI8.js";import"./panelSelectedMixin-CzfD5-Zs-BhQovnBD.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="fa1dba75-c221-4a45-95a0-3e7269bd0f25",e._sentryDebugIdIdentifier="sentry-dbid-fa1dba75-c221-4a45-95a0-3e7269bd0f25")}catch{}})();const W=l.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 0;
@@ -1,4 +1,4 @@
1
- import{J as A,O as k,V as o,T as R,aR as L,aT as W,o as a,y as g,x as _,H as J,d5 as Q,aa as U,cH as G,ad as K,u as s,hi as B,hj as M,hk as q,d as X,cM as Y,gQ as z,hl as Z,b9 as ee,hp as oe,hq as te}from"./index-DqZ19at7.js";import{a as I}from"./sentry-DO9J0OD9.js";import{n as c}from"./mui-ZYC_cKE8.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./zeni-epic-state-C5Hzx540.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.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]="a4e9a70e-314a-47b9-8e8c-e7d8e58e0559",e._sentryDebugIdIdentifier="sentry-dbid-a4e9a70e-314a-47b9-8e8c-e7d8e58e0559")}catch{}})();const D=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:t,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:m,classHierarchyList:x})=>{const i=A(),y=X(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),V=r=>h.filter(O=>O.accountId===r)[0]?.coaId??"",l=r=>C.filter(O=>O.classId===r)[0]?.accountingClassNumber??"",b=r=>{const O=h.find(F=>F.accountId===r)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":L("vendor-details-section",v),children:[o.jsx(se,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:D(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:r=>V(r),defaultValue:{selectedOption:e,allOptions:M(m)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:b,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:r=>l(r),defaultValue:{selectedOption:p,allOptions:B(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:D(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:q(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},re=c.div`
1
+ import{J as A,O as k,V as o,T as R,aR as L,aT as W,o as a,y as g,x as _,H as J,d5 as Q,aa as U,cH as G,ad as K,u as s,hi as B,hj as M,hk as q,d as X,cM as Y,gQ as z,hl as Z,b9 as ee,hp as oe,hq as te}from"./index-DMtzVMbw.js";import{a as I}from"./sentry-oySuCz2z.js";import{n as c}from"./mui-CoYz3n28.js";import"./liveblocks-BP-9wBvW.js";import"./core-C2ocMdpX.js";import"./recharts-BDU9Jttg.js";import"./zeni-epic-state-C253RwnE.js";import"./lottie-CH4Au8OK.js";import"./analytics-CkM8lXFl.js";import"./lexical-DGY0EwD1.js";import"./utils-lCkIh4TY.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]="a4e9a70e-314a-47b9-8e8c-e7d8e58e0559",e._sentryDebugIdIdentifier="sentry-dbid-a4e9a70e-314a-47b9-8e8c-e7d8e58e0559")}catch{}})();const D=(e,n)=>`${e}.${n}`,N={labelWidth:new g(120,145,160),controlWidth:new g(110,145,160)},ae=k.getLocalizedStrings().transactionDetail.vendorDetails,d=ae.vendorCreation,ne=({selectedAccountId:e,isSaveError:n,selectedClassId:p,selectedOwnerId:t,selectedVendorName:f,allAccounts:h,allClasses:C,allOwners:S,sectionId:v,isDisabled:u,accountsHierarchyList:m,classHierarchyList:x})=>{const i=A(),y=X(),$=N.labelWidth.value(i),j=N.controlWidth.value(i),V=r=>h.filter(O=>O.accountId===r)[0]?.coaId??"",l=r=>C.filter(O=>O.classId===r)[0]?.accountingClassNumber??"",b=r=>{const O=h.find(F=>F.accountId===r)?.accountName;return[oe,te].includes(O??"")};return o.jsxs(re,{"data-testid":L("vendor-details-section",v),children:[o.jsx(se,{children:d.vendorDetails.title}),o.jsxs(le,{children:[o.jsx(Y,{label:{label:d.vendorDetails.vendorName,width:$},text:{type:"text",name:D(v,"vendorName"),placeholder:d.placeholders.vendor,defaultValue:f,autoComplete:"off",options:{required:!0}},isSaveError:n,showAdditionalInfoLabel:!1,additionalInfoLabel:d.vendorAlreadyExistsErrorMsg,style:{width:"auto"}}),o.jsx(ie,{}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorCategory,width:$},groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorCategory"),placeholder:d.placeholders.category,valueToInfo:r=>V(r),defaultValue:{selectedOption:e,allOptions:M(m)},style:{width:"auto"},registerOptions:{required:!1}},style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u,disableCurrentOption:b,zIndexOnFocus:!0,additionalLabelInfo:d.vendorDetails.vendorCategoryAdditionText}),o.jsx(z,{isLoading:!1,label:{label:d.vendorDetails.vendorClass,width:$},zIndexOnFocus:!0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:D(v,"vendorClass"),placeholder:d.placeholders.class,valueToInfo:r=>l(r),defaultValue:{selectedOption:p,allOptions:B(x)},registerOptions:{required:!1},style:{width:"auto"}},additionalLabelInfo:d.vendorDetails.vendorClassAdditionText,style:{borderBottom:`1px solid ${y.colors.grey3}`},isDisabled:u}),S!=null?o.jsx(Z,{label:{label:d.vendorDetails.vendorOwner,width:$},userSingleSelectField:{name:D(v,"vendorOwner"),placeholder:d.placeholders.owner,defaultValue:{allOptions:q(S),selectedOption:t},registerOptions:{required:!1},style:{width:"auto"},menuPlacement:"top"},isDisabled:u,style:{justifyContent:"space-between"},controlWidth:j}):null]})]})},re=c.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  padding-top: ${a.sp3};
@@ -1,4 +1,4 @@
1
- import{V as t,J as ue,aR as A,hy as lt,aP as H,i as ve,hH as ct,T as Ye,aT as $e,o as a,O as E,y as c,x as Ne,a as dt,bb as ut,ar as ft,R as be,aj as De,am as fe,aS as ce,fE as pt,aa as Xe,cH as mt,a_ as ht,aQ as gt,p as U,ad as qe,fI as ke,fJ as Ae,gg as wt,bV as ye,ga as xt,hI as $t,u as o,fs as bt,ck as He,c2 as Dt,f4 as yt,bM as Tt,an as Je,fV as Ct,dw as St,c4 as Ue,g$ as vt,h0 as kt}from"./index-DqZ19at7.js";import{a as u}from"./sentry-DO9J0OD9.js";import{n}from"./mui-ZYC_cKE8.js";import{bL as At}from"./zeni-epic-state-C5Hzx540.js";import{v as Pt}from"./ZeniTransferAmountSlider-BNYgPwHs-BkFdMOqg.js";import{r as Lt}from"./AccountInfoPageContent-DqErO8FH-Dmzn6pIA.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.js";import"./downloadPdf-CUUx8PWn-CpeF1exC.js";import"./commonDimensions-BMnB1-xU-BEplFlGz.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="93125d7e-7030-4e3e-94b7-c5182489bbbd",e._sentryDebugIdIdentifier="sentry-dbid-93125d7e-7030-4e3e-94b7-c5182489bbbd")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ge="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Qe="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:G,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:Q,onReviewClick:K}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),Z=r.transferMoneyPartiesFetchState,oe=ce(Z),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Ze=u.useCallback(s=>{O?.(s),I(),N(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Ze,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&Q?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Z==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Z,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};G(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:U.heroLight}})})]})}):null,t.jsx(Yt,{children:H("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ke(Qe),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ge),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ht,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Jt,{windowSize:i,children:[t.jsx(Qt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Ut,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${H("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Gt,{windowSize:i}),t.jsx(Kt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${H("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ge]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
1
+ import{V as t,J as ue,aR as A,hy as lt,aP as H,i as ve,hH as ct,T as Ye,aT as $e,o as a,O as E,y as c,x as Ne,a as dt,bb as ut,ar as ft,R as be,aj as De,am as fe,aS as ce,fE as pt,aa as Xe,cH as mt,a_ as ht,aQ as gt,p as U,ad as qe,fI as ke,fJ as Ae,gg as wt,bV as ye,ga as xt,hI as $t,u as o,fs as bt,ck as He,c2 as Dt,f4 as yt,bM as Tt,an as Je,fV as Ct,dw as St,c4 as Ue,g$ as vt,h0 as kt}from"./index-DMtzVMbw.js";import{a as u}from"./sentry-oySuCz2z.js";import{n}from"./mui-CoYz3n28.js";import{bL as At}from"./zeni-epic-state-C253RwnE.js";import{v as Pt}from"./ZeniTransferAmountSlider-BNYgPwHs-CcASxOZt.js";import{r as Lt}from"./AccountInfoPageContent-DqErO8FH-BFY7yIc6.js";import"./liveblocks-BP-9wBvW.js";import"./core-C2ocMdpX.js";import"./recharts-BDU9Jttg.js";import"./lottie-CH4Au8OK.js";import"./analytics-CkM8lXFl.js";import"./lexical-DGY0EwD1.js";import"./utils-lCkIh4TY.js";import"./downloadPdf-CUUx8PWn-BdEKPRoV.js";import"./commonDimensions-BMnB1-xU-DiUddsI8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="93125d7e-7030-4e3e-94b7-c5182489bbbd",e._sentryDebugIdIdentifier="sentry-dbid-93125d7e-7030-4e3e-94b7-c5182489bbbd")}catch{}})();const{common:de,spendManagement:{zeniAccounts:{zeniAccountList:D}}}=E.getLocalizedStrings(),Ge="amount",jt="transferTo",Pe="transferFrom",k="transferDetails",Qe="transferDetailPage",ge=(e,r)=>`${e}.${r}`,Ke=e=>`${e}_form`,p={largeLabelWidth:new c(120,120,160),rowContentPaddingLeft:new c(o[3],o[4]),labeleMarginLeft:new c(o[0],o[0]),labelMarginRight:new c(o[3],o[3]),labeleMarginBottom:new c(o[2],o[0]),labeledFieldPaddingLeft:new c(o[3],o[0]),labeledFieldPaddingRight:new c(o[3],o[2]),labeledFieldPaddingTop:new c(o[3],o[3]),labeledFieldPaddingBottom:new c(o[3],o[2]),infoLabelPaddingRight:new c(o[0],o[3]),infoLabelMarginTop:new c(o[1],o[0]),controllerWrapperFlex:new c(1,o[0])};function zt({plaidConnectionDetails:e,transferDetails:r,zeniAccountsConfigDetail:g,isCalculatorOpen:$,showAnnualYieldEarned:y,transferAmount:w,yieldEarned:d,totalBalance:f,maxInsuredAmount:l,setIsCalculatorOpen:T,setShowAnnualYieldEarned:C,setTransferAmount:S,setYieldEarned:F,setTotalBalance:M,onSaveChangesToLocalStore:G,onBackClick:I,onEstablishConnectionClick:O,fireTrackTransferBetweenAccountsFormClicked:_,onFetchLinkTokenClick:Q,onReviewClick:K}){const i=ue(),R=p.largeLabelWidth.value(i),[V,j]=u.useState(!1),m=e.link_account_no_microdeposit,[v,W]=u.useState(m.linkToken??null),[x,z]=u.useState(!1),[Y,N]=u.useState(!1),Z=r.transferMoneyPartiesFetchState,oe=ce(Z),X=r.transferDetailLocalData.transferFrom?.id,ee=r.transferDetailLocalData.transferTo?.id,ie=ce(X),Te=ce(ee),pe=r.transferMoneyParties.map(s=>s.id),me=ce(pe),Ze=u.useCallback(s=>{O?.(s),I(),N(!1),z(!1)},[I,O]),et=u.useCallback((s,h)=>{s!=null&&console.log("Plaid Connection Error",s,h)},[]),{open:q,ready:te}=pt({token:v,onSuccess:Ze,onExit:et}),se=u.useCallback(s=>{s.preventDefault(),s.stopPropagation(),te?q():z(!0)},[q,te]),P=Xe({mode:"all",reValidateMode:"onBlur",defaultValues:u.useMemo(()=>Le(r,se),[r])});u.useEffect(()=>{m.fetchStatus.fetchState==="Completed"&&m.linkToken!=null&&m.linkToken!==v&&W(m.linkToken)},[m.fetchStatus.fetchState,m.linkToken,v]),u.useEffect(()=>{m.linkToken===v&&m.fetchStatus.fetchState==="Completed"&&te&&N(!0)},[te,v,m.fetchStatus,m.linkToken,m.fetchStatus.fetchState]),u.useEffect(()=>{Y&&x&&q()},[Y,q,x]),u.useEffect(()=>{(At(new Date().toISOString()).isAfter(m.expiration)||m.linkToken==null)&&Q?.("link_account_no_microdeposit")},[]),u.useEffect(()=>{const s=me!=null&&JSON.stringify(me)!==JSON.stringify(pe);(oe==="In-Progress"&&Z==="Completed"||ie!==X||Te!==ee||s)&&P.reset(Le(r,()=>q()))},[te,v,m.fetchStatus.fetchState,oe,Z,ie,Te,ee,X,me,pe,P,r,q]);const{isValid:tt}=P.formState,at=async(s,h)=>{if(s!=null){const B={...h},le={amount:{amount:B[k].amount??0,currencyCode:"USD",currencySymbol:"$"},transferFrom:r.transferMoneyParties.find(ae=>ae.id===B[k].transferFrom.selectedOption),transferTo:r.transferMoneyParties.find(ae=>ae.id===B[k].transferTo.selectedOption)};G(le)}};u.useEffect(()=>{const s=P.watch((h,{name:B})=>{if(B!=null&&h!=null){const le=h[k]?.amount??0,ae=h[k]?.transferFrom,ot=h[k]?.transferTo,it=r.transferMoneyParties.find(he=>he.id===ae?.selectedOption),st=r.transferMoneyParties.find(he=>he.id===ot?.selectedOption);it?.accType==="paymentAccount"&&st?.accType==="depositAccount"&&le!==0?(T(!0),C(!0)):C(!1),S(le)}});return()=>{s.unsubscribe()}},[P,r.transferMoneyParties]),u.useEffect(()=>{const s=P.watch((h,{name:B})=>{B!=null&&h!=null&&mt(()=>at(B,h))});return()=>{s.unsubscribe()}}),u.useEffect(()=>{r.reviewTransferDetail.error!=null?j(!0):j(!1)},[r.reviewTransferDetail.error]);const nt=P.handleSubmit(()=>{tt&&(_("Review","Amount Details"),K())});u.useEffect(()=>{r.transferDetailLocalData.transferTo?.accType==="depositAccount"&&r.transferDetailLocalData.transferTo.accountBalance?.available?.amount===0&&r.transferDetailLocalData.transferFrom?.id==null&&P.setValue(`${k}.${Pe}`,{selectedOption:r.primaryPaymentAccount?.paymentAccountId,allOptions:ne(r,!0,se,!0,!0)})},[r.transferDetailLocalData.transferTo?.id]);const Ce=g.zeniAccountsConfigDetail.depositProductConfig.depositProducts,Se=Ce[Ce.length-1].annualPercentageYield.toString(),rt=ht(gt(l),l,de.currency.currencySymbol).toUpperCase();return t.jsx(t.Fragment,{children:m.fetchStatus.fetchState==="Completed"?t.jsxs(t.Fragment,{children:[V?t.jsx(Ft,{children:t.jsxs(It,{children:[t.jsxs(Rt,{children:[t.jsx(Ot,{}),t.jsxs(_t,{children:[t.jsx(Vt,{children:r.reviewTransferDetail.error?.title}),t.jsx(Wt,{children:r.reviewTransferDetail.error?.message})]})]}),t.jsx(Et,{children:t.jsx(na,{"data-testid":A("amount-details-error-close"),onClick:()=>{_("Cross","Amount Details"),j(!1)},style:{width:a.sp3,height:a.sp3,color:U.heroLight}})})]})}):null,t.jsx(Yt,{children:H("0,0.[00]",r.transferDetailLocalData.amount)}),t.jsx(qe,{...P,children:t.jsxs(Mt,{id:Ke(Qe),onSubmit:nt,children:[t.jsxs(ta,{children:[t.jsx(Ie,{size:i,children:t.jsx(je,{label:{label:de.labels.transferFrom,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferFromError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,Pe),placeholder:D.transferDrawer.transferFromPlaceholder,style:{position:"relative"},capitalizeOptions:!0,valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferFrom?.id,allOptions:ne(r,!0,se,!0,!0)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})}),t.jsx(Me,{}),t.jsx(Ie,{size:i,children:t.jsx(aa,{size:i,children:t.jsx(je,{label:{label:de.labels.transferTo,width:R,style:{marginLeft:p.labeleMarginLeft.valuePx(i),marginBottom:p.labeleMarginBottom.valuePx(i),marginRight:p.labelMarginRight.valuePx(i)}},errorInfoLabel:D.transferDrawer.transferToError,style:{paddingTop:p.labeledFieldPaddingTop.valuePx(i),paddingBottom:p.labeledFieldPaddingBottom.valuePx(i),paddingLeft:p.labeledFieldPaddingLeft.valuePx(i),paddingRight:p.labeledFieldPaddingRight.valuePx(i),border:"none",width:"100%",outline:"none",padding:0,display:i==="small"?"flex":"inherit"},infoLabelStyle:{textAlign:i==="small"?"left":"right",paddingRight:p.infoLabelPaddingRight.valuePx(i),marginTop:p.infoLabelMarginTop.valuePx(i)},singleSelectPickerField:{name:ge(k,jt),placeholder:D.transferDrawer.transferToPlaceholder,capitalizeOptions:!0,style:{position:"relative"},valueToLogo:(s,h)=>Ae(r.transferMoneyParties,s,h),valueToSubLabels:(s,h)=>ke(r.transferMoneyParties,s,h,!1),defaultValue:{selectedOption:r.transferDetailLocalData.transferTo?.id,allOptions:ne(r,!1,se)},textAlignment:"right",registerOptions:{required:!0,validate:s=>s!=null&&!!s.selectedOption}}})})}),t.jsx(Me,{}),t.jsx(wt,{showAdditionalInfoLabel:!1,label:{label:de.labels.amount,width:R},additionalInfoLabel:D.transferDrawer.amountError,formattedTextField:{type:"number",name:ge(k,Ge),defaultValue:r.transferDetailLocalData.amount.amount===0?void 0:r.transferDetailLocalData.amount.amount,placeholder:D.transferDrawer.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:s=>!!s&&s>0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0,allowLeadingZeros:!1},style:{width:"auto"}})]}),t.jsxs(Ht,{children:[$?t.jsxs(Nt,{children:[t.jsx(Xt,{children:D.transferDrawer.calculator.heading.replace("__rate__",Se).replace("__amount__",rt)}),t.jsx(Pt,{minStep:.01,currentAccountBalance:r.transferDetailLocalData.transferTo?.accountBalance?.available?.amount??0,transferAmount:w,zeniAccountsConfigDetail:g,setYieldEarned:F,setTotalBalance:M})]}):null,t.jsxs(Jt,{windowSize:i,children:[t.jsx(Qt,{windowSize:i,children:y?t.jsxs(t.Fragment,{children:[t.jsxs(Ut,{children:[t.jsx(ze,{children:`${D.transferDrawer.calculator.footerText.annualYieldEarned} ${H("0,0",{amount:d,currencySymbol:"$"})}`}),t.jsx(ye,{variant:"small-description",display:"flex",data:D.transferDrawer.calculator.footerText.annualYieldEarnedTooltipText,placement:i==="small"?"bottom":"right",children:t.jsx(qt,{})})]}),t.jsx(Gt,{windowSize:i}),t.jsx(Kt,{children:`${D.transferDrawer.calculator.footerText.forTotalBalance} ${H("0,0",{amount:f,currencySymbol:"$"})}`})]}):t.jsx(ze,{children:D.transferDrawer.calculator.footerText.earnUptoText.replace("__rate__",Se)})}),$?t.jsxs(Fe,{windowSize:i,onClick:()=>T(!1),"data-testid":A("calculator-footer-close"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.hide}),t.jsx(Zt,{className:"calculatorFooterArrowIcon"})]}):t.jsxs(Fe,{windowSize:i,onClick:()=>T(!0),"data-testid":A("calculator-footer-show"),children:[t.jsx(Be,{className:"calculatorFooterLeftText",children:D.transferDrawer.calculator.footerText.showYieldCalculator}),t.jsx(ea,{className:"calculatorFooterArrowIcon"})]})]})]})]})})]}):t.jsx(Ye,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 500px)"}})})}const ne=(e,r,g,$=!1,y=!1)=>{const w=e.transferMoneyParties.map(d=>{const f={label:d.label,value:d.id};return $&&(r?f.isDisabled=d.id===e?.transferDetailLocalData?.transferTo?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferTo?.accType==="paymentAccount":f.isDisabled=d.id===e.transferDetailLocalData.transferFrom?.id||d.accType==="paymentAccount"&&e.transferDetailLocalData.transferFrom?.accType==="paymentAccount"),f});if(y){const d={label:D.transferDrawer.selectAddAccount,value:"",type:"button",onClick:g};w.push(d)}return w},Le=(e,r)=>({transferDetails:{[Ge]:e.transferDetailLocalData.amount.amount===0?void 0:e.transferDetailLocalData.amount.amount,transferFrom:{allOptions:ne(e,!0,r,!0,!0),selectedOption:e.transferDetailLocalData.transferFrom?.id!=null?e.transferDetailLocalData.transferFrom?.id:Bt(e)},transferTo:{allOptions:ne(e,!1,r,!0,!1),selectedOption:e.transferDetailLocalData.transferTo?.id}}}),Bt=e=>e.transferDetailLocalData.transferTo?.accType==="depositAccount"&&e.transferDetailLocalData.transferTo?.accountBalance?.available?.amount===0?e.primaryPaymentAccount?.paymentAccountId:void 0,Ft=n.div`
2
2
  margin-top: ${a.sp3};
3
3
  display: flex;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{J as C,d as M,a9 as Fe,cf as Ke,V as t,aP as V,bV as ae,bE as Ve,b as ie,aR as W,T as We,o as i,aj as k,O as L,p as w,bM as Ee,y,fl as X,H as B,u as p,b6 as ne,bQ as Le,aV as Me,ax as Ge,fY as Ue,h5 as Je,i as _e,am as A,b1 as Xe,ju as Ze,k6 as qe,bi as Qe,eR as et,da as tt,fV as it,k$ as ot,j3 as Ae,j4 as Oe,cv as rt,iW as at,iX as nt,l0 as st,kh as lt,an as E,bT as dt,cB as le,j2 as ct,cE as ht}from"./index-DqZ19at7.js";import{a as f,P as pt}from"./sentry-DO9J0OD9.js";import{n as o,c as de}from"./mui-ZYC_cKE8.js";import{bL as G,c4 as xt}from"./zeni-epic-state-C5Hzx540.js";import{s as gt}from"./commonDimensions-BMnB1-xU-BEplFlGz.js";import{g as ce}from"./BoxItem-DRwx0M5a-DCS0EEq5.js";import{o as mt}from"./shield-DOlUxcFf-K7yJVGAq.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-CPKKNFMD.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="84b3ba6d-6b43-436a-8420-15a5f95e26b1",e._sentryDebugIdIdentifier="sentry-dbid-84b3ba6d-6b43-436a-8420-15a5f95e26b1")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Ae,Oe),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
1
+ import{J as C,d as M,a9 as Fe,cf as Ke,V as t,aP as V,bV as ae,bE as Ve,b as ie,aR as W,T as We,o as i,aj as k,O as L,p as w,bM as Ee,y,fl as X,H as B,u as p,b6 as ne,bQ as Le,aV as Me,ax as Ge,fY as Ue,h5 as Je,i as _e,am as A,b1 as Xe,ju as Ze,k6 as qe,bi as Qe,eR as et,da as tt,fV as it,k$ as ot,j3 as Ae,j4 as Oe,cv as rt,iW as at,iX as nt,l0 as st,kh as lt,an as E,bT as dt,cB as le,j2 as ct,cE as ht}from"./index-DMtzVMbw.js";import{a as f,P as pt}from"./sentry-oySuCz2z.js";import{n as o,c as de}from"./mui-CoYz3n28.js";import{bL as G,c4 as xt}from"./zeni-epic-state-C253RwnE.js";import{s as gt}from"./commonDimensions-BMnB1-xU-DiUddsI8.js";import{g as ce}from"./BoxItem-DRwx0M5a-BOzUW4AC.js";import{o as mt}from"./shield-DOlUxcFf-C7HWEBos.js";import{U as he,F as pe,X as xe,Y as ge,G as me,J as ut}from"./recharts-BDU9Jttg.js";import"./liveblocks-BP-9wBvW.js";import"./core-C2ocMdpX.js";import"./lottie-CH4Au8OK.js";import"./analytics-CkM8lXFl.js";import"./lexical-DGY0EwD1.js";import"./utils-lCkIh4TY.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="84b3ba6d-6b43-436a-8420-15a5f95e26b1",e._sentryDebugIdIdentifier="sentry-dbid-84b3ba6d-6b43-436a-8420-15a5f95e26b1")}catch{}})();const se=L.getLocalizedStrings().spendManagement.treasury.overviewPage.header,yt={key:"description",value:se.trasnactionTitle,sortOrder:"ascending",width:new y(120,250,400,400,500)},ft={key:"date",value:se.paymentDate,sortOrder:"ascending",width:new y(100,120,200,250,300)},wt={key:"amount",value:se.amount,sortOrder:"ascending",width:new y(80,100,150,180,200)},oe=()=>[yt,ft,wt],S={containerPaddingLeft:i.sp4,containerPaddingRight:i.sp4,containerPaddingTop:i.sp3,containerPaddingBottom:i.sp3,headerLastColumnTopPadding:new y(p[0],p[4]),headerLastColumnRightPadding:new y(p[3],p[11]),headerLastColumnBottomPadding:new y(p[0],p[4]),headerLastColumnLeftPadding:new y(p[3],p[11]),headerHeight:new y(Ae,Oe),sortIconSize:new y(p[2],p[2]),headerPaddingTop:new y(p[0],2)};function $t({companyNameSticky:e,sortConfig:r,onColumnSortConfigChanged:n}){const h=M(),l=C(),[a,u]=f.useState(oe());f.useEffect(()=>{const c=[...a];for(const s of c)s.key===r.sortKey?s.sortOrder=r.sortOrder:s.sortOrder="ascending";u(c)},[r.sortKey,r.sortOrder]);const d=(c,s)=>{let m=s;r.sortKey===c&&(m=s==="ascending"?"descending":"ascending"),n(c,m)},g=a.find(c=>c.key===r.sortKey)??a[0],x=c=>a.find(s=>s.key===c)?.value??"",$=a.map(c=>c.key),j=L.getLocalizedStrings().spendManagement.chargeCard.cardList;return l==="small"?t.jsxs(St,{windowSize:l,children:[t.jsxs(zt,{children:[t.jsx(Dt,{children:t.jsx(Pt,{})}),t.jsx(dt,{title:j.sortBy,placeholder:j.sortBy,pickerValues:$,valueToLabel:x,selectedValue:r.sortKey,onPickerSelectionChanged:c=>{d(c,"ascending")},optionTextStyle:ie.extraSmallRegular,titleTextStyle:ie.extraSmallRegular,titleColor:h.colors.primary,selectedOptionColor:h.colors.hero,optionBackgroundColor:h.colors.grey5,downChevronVisible:!1,backgroundColor:h.colors.grey4})]}),t.jsxs(Mt,{onClick:()=>d(g.key,g.sortOrder),"data-testid":W("mobile-cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:g.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:g,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===g.key,children:t.jsx(le,{})})})]})]}):t.jsx(bt,{windowSize:l,children:t.jsx(vt,{children:a.map(c=>c.width.value(l)!==0&&t.jsxs(kt,{companyNameSticky:e,sortDataValue:r.sortKey,actualDataValue:c.key,wrapperWidth:c.width,windowSize:l,children:[t.jsxs(Lt,{onClick:()=>d(c.key,c.sortOrder),"data-testid":W("cards-list-sort-clicked",r.sortKey),children:[t.jsx(E,{children:c.value}),t.jsx(ue,{windowSize:l,sortDataValue:r.sortKey,headerdata:c,children:t.jsx(ye,{windowSize:l,isSelected:r.sortKey===c.key,children:t.jsx(le,{})})})]}),t.jsx(Tt,{sortDataValue:r.sortKey,windowSize:l,isVisible:r.sortKey===c.key&&c.key!=="date",children:t.jsx(Ct,{onClick:()=>d("date","ascending"),"data-testid":W("cards-list-sort-cancel",r.sortKey)})})]},c.key))})})}const jt=pt.memo($t),bt=o.div`
2
2
  top: ${i.sp0};
3
3
  left: ${i.sp0};
4
4
  z-index: 2;
@@ -1,4 +1,4 @@
1
- import{d as ce,J as V,ax as $e,a9 as fe,aS as ye,V as r,bE as be,fx as ke,b6 as je,o as i,ju as Se,bV as ze,aj as k,i as K,aR as Q,O as A,H as $,ar as O,p as a,y as z,am as R,da as ve,bX as Le,a as Pe,an as Me,ff as Be,u as h,dQ as Ee,bh as Ie,R as Te,x as De,b as ee,d5 as We}from"./index-DqZ19at7.js";import{a as s,P as _e}from"./sentry-DO9J0OD9.js";import{n as t}from"./mui-ZYC_cKE8.js";import{GI as Re}from"./zeni-epic-state-C5Hzx540.js";import{I as He,N as Ge}from"./VideoPlayer-BRAgZThr-DjmJcTCC.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-CNNhiF_u.js";import{o as Ve}from"./shield-DOlUxcFf-K7yJVGAq.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="21ad1d9b-e334-4371-b9ea-1039839f08a9",e._sentryDebugIdIdentifier="sentry-dbid-21ad1d9b-e334-4371-b9ea-1039839f08a9")}catch{}})();const Ae=({isOpen:e,onClose:g})=>{const d=V(),C=A.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Oe,{windowSize:d,children:[r.jsx(Fe,{children:r.jsx(Ye,{onClick:g})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(G,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(te,{children:p},w))}),r.jsx(G,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Ze,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Je,{children:p.links.map((u,b)=>r.jsx(Ke,{children:u.link!==""?r.jsx(ie,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(ie,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:i.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(G,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(te,{children:p},w))})]})]})})},Oe=t.div`
1
+ import{d as ce,J as V,ax as $e,a9 as fe,aS as ye,V as r,bE as be,fx as ke,b6 as je,o as i,ju as Se,bV as ze,aj as k,i as K,aR as Q,O as A,H as $,ar as O,p as a,y as z,am as R,da as ve,bX as Le,a as Pe,an as Me,ff as Be,u as h,dQ as Ee,bh as Ie,R as Te,x as De,b as ee,d5 as We}from"./index-DMtzVMbw.js";import{a as s,P as _e}from"./sentry-oySuCz2z.js";import{n as t}from"./mui-CoYz3n28.js";import{GI as Re}from"./zeni-epic-state-C253RwnE.js";import{I as He,N as Ge}from"./VideoPlayer-BRAgZThr-D2qPsCHw.js";import{r as Ne}from"./auto-transfer-rule-mbafm5D3-CFQdrDeA.js";import{o as Ve}from"./shield-DOlUxcFf-C7HWEBos.js";import"./liveblocks-BP-9wBvW.js";import"./core-C2ocMdpX.js";import"./recharts-BDU9Jttg.js";import"./lottie-CH4Au8OK.js";import"./analytics-CkM8lXFl.js";import"./lexical-DGY0EwD1.js";import"./utils-lCkIh4TY.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},g=new e.Error().stack;g&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[g]="21ad1d9b-e334-4371-b9ea-1039839f08a9",e._sentryDebugIdIdentifier="sentry-dbid-21ad1d9b-e334-4371-b9ea-1039839f08a9")}catch{}})();const Ae=({isOpen:e,onClose:g})=>{const d=V(),C=A.getLocalizedStrings().spendManagement.treasury.promoPage;return r.jsx(Be,{anchor:"right",slotProps:{paper:{sx:{width:d==="small"||d==="medium-compact"?"100%":"60%",boxShadow:"none"}}},open:e,onClose:g,style:{backgroundColor:a.drawerBackground},transitionDuration:250,children:r.jsxs(Oe,{windowSize:d,children:[r.jsx(Fe,{children:r.jsx(Ye,{onClick:g})}),r.jsxs(qe,{children:[r.jsx(Ue,{windowSize:d,children:C.agreementDrawer.title}),r.jsx(re,{children:C.agreementDrawer.intro}),r.jsx(G,{children:C.agreementDrawer.introBullets.map((p,w)=>r.jsx(te,{children:p},w))}),r.jsx(G,{children:C.agreementDrawer.documents.map((p,w)=>r.jsx(Ze,{children:p.hasMultipleLinks===!0&&p.links?r.jsx(Je,{children:p.links.map((u,b)=>r.jsx(Ke,{children:u.link!==""?r.jsx(ie,{href:u.link,target:"_blank",rel:"noopener noreferrer",children:u.text}):u.text},b))}):r.jsx(ie,{href:p.link,target:"_blank",rel:"noopener noreferrer",children:p.text})},w))}),r.jsx(re,{style:{marginTop:i.sp2},children:C.agreementDrawer.confirmTitle}),r.jsx(G,{children:C.agreementDrawer.confirmBullets.map((p,w)=>r.jsx(te,{children:p},w))})]})]})})},Oe=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{d as S,J as j,V as t,bE as I,b5 as z,o as r,O as P,p as m,cv as C,y as E,u as p,am as T}from"./index-DqZ19at7.js";import{a as h}from"./sentry-DO9J0OD9.js";import{n as o}from"./mui-ZYC_cKE8.js";import{$ as M}from"./BoxItem-DRwx0M5a-DCS0EEq5.js";import{o as B}from"./commonDimensions-BMnB1-xU-BEplFlGz.js";import{M as D}from"./StatementItem-g5tfNBjV-C9Hg8CS4.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./zeni-epic-state-C5Hzx540.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.js";import"./downloadPdf-CUUx8PWn-CpeF1exC.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]="000a9952-696e-4271-9fd1-717cd8946ced",e._sentryDebugIdIdentifier="sentry-dbid-000a9952-696e-4271-9fd1-717cd8946ced")}catch{}})();const b=P.getLocalizedStrings().spendManagement.treasury.statements,w={listItemMargin:new E(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:s,onBackClick:f})=>{const g=S(),i=j(),x=h.createRef(),y=h.useRef(),k=s.statements.length===0,$=()=>B.transactionItemHeightResponsive.value(i),v=({index:a,style:l})=>{const d=s.statements[a];return k===!1?t.jsx(u,{windowSize:i,style:{...l,width:`calc(100% - 2*${w.listItemMargin.valuePx(i)})`},children:t.jsx(D,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:M(a,s.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(_,{children:t.jsx(u,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:f,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:a,width:l})=>t.jsx(H,{ref:x,height:a,width:l,innerRef:y,itemKey:d=>d,itemCount:s.statements.length,itemSize:$,initialScrollOffset:0,children:v})})})]})},R=o.div``,u=o.div`
1
+ import{d as S,J as j,V as t,bE as I,b5 as z,o as r,O as P,p as m,cv as C,y as E,u as p,am as T}from"./index-DMtzVMbw.js";import{a as h}from"./sentry-oySuCz2z.js";import{n as o}from"./mui-CoYz3n28.js";import{$ as M}from"./BoxItem-DRwx0M5a-BOzUW4AC.js";import{o as B}from"./commonDimensions-BMnB1-xU-DiUddsI8.js";import{M as D}from"./StatementItem-g5tfNBjV-Uz8eUgvJ.js";import"./liveblocks-BP-9wBvW.js";import"./core-C2ocMdpX.js";import"./recharts-BDU9Jttg.js";import"./zeni-epic-state-C253RwnE.js";import"./lottie-CH4Au8OK.js";import"./analytics-CkM8lXFl.js";import"./lexical-DGY0EwD1.js";import"./utils-lCkIh4TY.js";import"./downloadPdf-CUUx8PWn-BdEKPRoV.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]="000a9952-696e-4271-9fd1-717cd8946ced",e._sentryDebugIdIdentifier="sentry-dbid-000a9952-696e-4271-9fd1-717cd8946ced")}catch{}})();const b=P.getLocalizedStrings().spendManagement.treasury.statements,w={listItemMargin:new E(p[3],p[8])},re=({currentTenantCompanyName:e,authParams:n,downloadEndPoint:c,statementListView:s,onBackClick:f})=>{const g=S(),i=j(),x=h.createRef(),y=h.useRef(),k=s.statements.length===0,$=()=>B.transactionItemHeightResponsive.value(i),v=({index:a,style:l})=>{const d=s.statements[a];return k===!1?t.jsx(u,{windowSize:i,style:{...l,width:`calc(100% - 2*${w.listItemMargin.valuePx(i)})`},children:t.jsx(D,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:n,downloadEndPoint:c,documentType:"treasuryStatement",boxType:M(a,s.statements.length)},d.id)}):t.jsx(R,{style:{...l},children:t.jsx(_,{children:t.jsx(u,{windowSize:i,children:t.jsx(N,{children:b.noStatements})})})})};return t.jsxs(L,{children:[t.jsx(I,{title:b.title,backgroundColor:g.colors.grey4,style:{zIndex:3},onBackClick:f,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(z,{children:({height:a,width:l})=>t.jsx(H,{ref:x,height:a,width:l,innerRef:y,itemKey:d=>d,itemCount:s.statements.length,itemSize:$,initialScrollOffset:0,children:v})})})]})},R=o.div``,u=o.div`
2
2
  margin: ${e=>`${r.sp0} ${w.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{d as j,J as S,V as t,bE as L,b5 as I,o as r,O as z,p,cv as P,y as T,u as h,am as C}from"./index-DqZ19at7.js";import{a as m}from"./sentry-DO9J0OD9.js";import{n as o}from"./mui-ZYC_cKE8.js";import{$ as E}from"./BoxItem-DRwx0M5a-DCS0EEq5.js";import{o as M}from"./commonDimensions-BMnB1-xU-BEplFlGz.js";import{M as B}from"./StatementItem-g5tfNBjV-C9Hg8CS4.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./zeni-epic-state-C5Hzx540.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.js";import"./downloadPdf-CUUx8PWn-CpeF1exC.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]="f8cb6f79-4dd5-402d-8028-efa88c92cd7e",e._sentryDebugIdIdentifier="sentry-dbid-f8cb6f79-4dd5-402d-8028-efa88c92cd7e")}catch{}})();const x=z.getLocalizedStrings().spendManagement.treasury.taxLetter,f={listItemMargin:new T(h[3],h[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const w=j(),i=S(),g=m.createRef(),y=m.useRef(),k=n.taxLetters.length===0,$=()=>M.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(b,{windowSize:i,style:{...l,width:`calc(100% - 2*${f.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:E(s,n.taxLetters.length)},d.id)}):t.jsx(D,{style:{...l},children:t.jsx(R,{children:t.jsx(b,{windowSize:i,children:t.jsx(N,{children:x.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(L,{title:x.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(I,{children:({height:s,width:l})=>t.jsx(H,{ref:g,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:$,initialScrollOffset:0,children:v})})})]})},D=o.div``,b=o.div`
1
+ import{d as j,J as S,V as t,bE as L,b5 as I,o as r,O as z,p,cv as P,y as T,u as h,am as C}from"./index-DMtzVMbw.js";import{a as m}from"./sentry-oySuCz2z.js";import{n as o}from"./mui-CoYz3n28.js";import{$ as E}from"./BoxItem-DRwx0M5a-BOzUW4AC.js";import{o as M}from"./commonDimensions-BMnB1-xU-DiUddsI8.js";import{M as B}from"./StatementItem-g5tfNBjV-Uz8eUgvJ.js";import"./liveblocks-BP-9wBvW.js";import"./core-C2ocMdpX.js";import"./recharts-BDU9Jttg.js";import"./zeni-epic-state-C253RwnE.js";import"./lottie-CH4Au8OK.js";import"./analytics-CkM8lXFl.js";import"./lexical-DGY0EwD1.js";import"./utils-lCkIh4TY.js";import"./downloadPdf-CUUx8PWn-BdEKPRoV.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]="f8cb6f79-4dd5-402d-8028-efa88c92cd7e",e._sentryDebugIdIdentifier="sentry-dbid-f8cb6f79-4dd5-402d-8028-efa88c92cd7e")}catch{}})();const x=z.getLocalizedStrings().spendManagement.treasury.taxLetter,f={listItemMargin:new T(h[3],h[8])},re=({currentTenantCompanyName:e,authParams:a,downloadEndPoint:c,taxLetterListView:n,onBackClick:u})=>{const w=j(),i=S(),g=m.createRef(),y=m.useRef(),k=n.taxLetters.length===0,$=()=>M.transactionItemHeightResponsive.value(i),v=({index:s,style:l})=>{const d=n.taxLetters[s];return k===!1?t.jsx(b,{windowSize:i,style:{...l,width:`calc(100% - 2*${f.listItemMargin.valuePx(i)})`},children:t.jsx(B,{currentTenantCompanyName:e,accountLast4:"",data:d,authParams:a,downloadEndPoint:c,documentType:"taxLetter",boxType:E(s,n.taxLetters.length)},d.id)}):t.jsx(D,{style:{...l},children:t.jsx(R,{children:t.jsx(b,{windowSize:i,children:t.jsx(N,{children:x.noTaxLetter})})})})};return t.jsxs(_,{children:[t.jsx(L,{title:x.title,backgroundColor:w.colors.grey4,style:{zIndex:3},onBackClick:u,source:"treasury"}),t.jsx(V,{windowSize:i,children:t.jsx(I,{children:({height:s,width:l})=>t.jsx(H,{ref:g,height:s,width:l,innerRef:y,itemKey:d=>d,itemCount:n.taxLetters.length,itemSize:$,initialScrollOffset:0,children:v})})})]})},D=o.div``,b=o.div`
2
2
  margin: ${e=>`${r.sp0} ${f.listItemMargin.valuePx(e.windowSize)}`};
3
3
  &:hover {
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{O as $,V as n,d as F,b5 as P,b as j,a_ as R,aR as Y,o as L,p as A,am as B}from"./index-DqZ19at7.js";import{a as v,P as I}from"./sentry-DO9J0OD9.js";import{Fc as m}from"./zeni-epic-state-C5Hzx540.js";import{d as O,g as T,p as D,u as z}from"./chartTypes-40RenddT-C3e8npm6.js";import{n as k}from"./mui-ZYC_cKE8.js";import{o as q}from"./toCOABalancesWithID-DkMGvlEt-BttuYM2L.js";import{V as K}from"./toChartData-C6s-eBzE-DfNWG1EA.js";import{H as V,I as G,X as N,Y as W,J as X,R as H,K as J}from"./recharts-CPKKNFMD.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.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]="1ef5ec2a-f165-43c0-8a3f-d2c7f8733321",e._sentryDebugIdIdentifier="sentry-dbid-1ef5ec2a-f165-43c0-8a3f-d2c7f8733321")}catch{}})();const Q=k.div`
1
+ import{O as $,V as n,d as F,b5 as P,b as j,a_ as R,aR as Y,o as L,p as A,am as B}from"./index-DMtzVMbw.js";import{a as v,P as I}from"./sentry-oySuCz2z.js";import{Fc as m}from"./zeni-epic-state-C253RwnE.js";import{d as O,g as T,p as D,u as z}from"./chartTypes-40RenddT-C5cIBfKP.js";import{n as k}from"./mui-CoYz3n28.js";import{o as q}from"./toCOABalancesWithID-DkMGvlEt-CjweDPd3.js";import{V as K}from"./toChartData-C6s-eBzE-DQEzIUE9.js";import{H as V,I as G,X as N,Y as W,J as X,R as H,K as J}from"./recharts-BDU9Jttg.js";import"./liveblocks-BP-9wBvW.js";import"./core-C2ocMdpX.js";import"./lottie-CH4Au8OK.js";import"./analytics-CkM8lXFl.js";import"./lexical-DGY0EwD1.js";import"./utils-lCkIh4TY.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]="1ef5ec2a-f165-43c0-8a3f-d2c7f8733321",e._sentryDebugIdIdentifier="sentry-dbid-1ef5ec2a-f165-43c0-8a3f-d2c7f8733321")}catch{}})();const Q=k.div`
2
2
  display: flex;
3
3
  `,Z=k.div`
4
4
  flex: display;
@@ -1,4 +1,4 @@
1
- import{J as H,V as i,T as L,o as r,O as R,b5 as E,aR as T,y as c,b9 as I,R as V,u as a,am as A,x as q}from"./index-DqZ19at7.js";import{a as k}from"./sentry-DO9J0OD9.js";import{n}from"./mui-ZYC_cKE8.js";import K from"./TrendChart-JTOG0a7B-DpgA2voA.js";import{C as W}from"./NoDataChart-CgT19fV7-Dq-PS5iw.js";import{F as J}from"./InsightsSection-De9zu_me-VPfN5Xo7.js";import{T as Q}from"./TransactionList-3-mUZOsw-BOqEjROc.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]="f401845a-4b96-4e33-8f71-6c0e7497cfbb",e._sentryDebugIdIdentifier="sentry-dbid-f401845a-4b96-4e33-8f71-6c0e7497cfbb")}catch{}})();const Z=n.div`
1
+ import{J as H,V as i,T as L,o as r,O as R,b5 as E,aR as T,y as c,b9 as I,R as V,u as a,am as A,x as q}from"./index-DMtzVMbw.js";import{a as k}from"./sentry-oySuCz2z.js";import{n}from"./mui-CoYz3n28.js";import K from"./TrendChart-JTOG0a7B-BPCPEjor.js";import{C as W}from"./NoDataChart-CgT19fV7-CT6v85pw.js";import{F as J}from"./InsightsSection-De9zu_me-fO_n1ybi.js";import{T as Q}from"./TransactionList-3-mUZOsw-Bjo6uOYk.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]="f401845a-4b96-4e33-8f71-6c0e7497cfbb",e._sentryDebugIdIdentifier="sentry-dbid-f401845a-4b96-4e33-8f71-6c0e7497cfbb")}catch{}})();const Z=n.div`
2
2
  display: inline-block;
3
3
  `,G=n.div`
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{d as ie,J as ce,ax as Xe,aS as en,gL as I,hT as J,aa as nn,hU as tn,hV as je,cH as on,V as t,bE as cn,cr as sn,cs as an,ct as ln,ad as dn,hW as rn,T as un,aT as pn,fB as mn,O as W,hX as _e,y as u,am as gn,o as a,cL as ye,aX as q,gQ as te,hY as oe,hZ as Z,h_ as xn,u as r,H as fe,p as Ae,g9 as Ve,aj as $e,bk as hn}from"./index-DqZ19at7.js";import{a as K}from"./sentry-DO9J0OD9.js";import{n as s}from"./mui-ZYC_cKE8.js";import{G3 as Te,FJ as bn,FK as wn,G4 as yn}from"./zeni-epic-state-C5Hzx540.js";import{h as fn}from"./VendorsAccountsSection-D6Qa1zf9-uVFUNuqq.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.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]="4717d65d-6e65-41ea-9495-b58f71d42c14",e._sentryDebugIdIdentifier="sentry-dbid-4717d65d-6e65-41ea-9495-b58f71d42c14")}catch{}})();const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},He={title:new fe("standardMedium","largeMedium")},An=s.div`
1
+ import{d as ie,J as ce,ax as Xe,aS as en,gL as I,hT as J,aa as nn,hU as tn,hV as je,cH as on,V as t,bE as cn,cr as sn,cs as an,ct as ln,ad as dn,hW as rn,T as un,aT as pn,fB as mn,O as W,hX as _e,y as u,am as gn,o as a,cL as ye,aX as q,gQ as te,hY as oe,hZ as Z,h_ as xn,u as r,H as fe,p as Ae,g9 as Ve,aj as $e,bk as hn}from"./index-DMtzVMbw.js";import{a as K}from"./sentry-oySuCz2z.js";import{n as s}from"./mui-CoYz3n28.js";import{G3 as Te,FJ as bn,FK as wn,G4 as yn}from"./zeni-epic-state-C253RwnE.js";import{h as fn}from"./VendorsAccountsSection-D6Qa1zf9-BOpjhiGE.js";import"./liveblocks-BP-9wBvW.js";import"./core-C2ocMdpX.js";import"./recharts-BDU9Jttg.js";import"./lottie-CH4Au8OK.js";import"./analytics-CkM8lXFl.js";import"./lexical-DGY0EwD1.js";import"./utils-lCkIh4TY.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]="4717d65d-6e65-41ea-9495-b58f71d42c14",e._sentryDebugIdIdentifier="sentry-dbid-4717d65d-6e65-41ea-9495-b58f71d42c14")}catch{}})();const C={labelWidth:new u(210,240,260),sectionWidth:new u(343,580,726),iconContainerMaxWidthHeight:new u(r[6],r[7]),iconContainerMarginRight:new u(12,r[3]),iconPadding:new u(10,12),rowGap:new u(r[2],r[3]),elementsMarginLeftRight:new u(r[3],r[4])},He={title:new fe("standardMedium","largeMedium")},An=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>C.rowGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{aS as S,V as t,i0 as q,i1 as W,J as P,O,cr as L,af as C,cs as N,ct as U,aa as R,ad as H,cT as M,cO as D,y as g,cP as G,p as A,ap as J,T as K,i as Q,o as i,am as X,u as F,ar as Y,bc as Z}from"./index-DqZ19at7.js";import{a as l}from"./sentry-DO9J0OD9.js";import{n as p}from"./mui-ZYC_cKE8.js";import{bL as ee,bh as te}from"./zeni-epic-state-C5Hzx540.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="3cc9a9aa-3f1b-4cc3-9c05-1681cf4dfe2b",e._sentryDebugIdIdentifier="sentry-dbid-3cc9a9aa-3f1b-4cc3-9c05-1681cf4dfe2b")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(F[3],F[2]),width:new g(300,420,420)},ie=p.div`
1
+ import{aS as S,V as t,i0 as q,i1 as W,J as P,O,cr as L,af as C,cs as N,ct as U,aa as R,ad as H,cT as M,cO as D,y as g,cP as G,p as A,ap as J,T as K,i as Q,o as i,am as X,u as F,ar as Y,bc as Z}from"./index-DMtzVMbw.js";import{a as l}from"./sentry-oySuCz2z.js";import{n as p}from"./mui-CoYz3n28.js";import{bL as ee,bh as te}from"./zeni-epic-state-C253RwnE.js";import"./liveblocks-BP-9wBvW.js";import"./core-C2ocMdpX.js";import"./recharts-BDU9Jttg.js";import"./lottie-CH4Au8OK.js";import"./analytics-CkM8lXFl.js";import"./lexical-DGY0EwD1.js";import"./utils-lCkIh4TY.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="3cc9a9aa-3f1b-4cc3-9c05-1681cf4dfe2b",e._sentryDebugIdIdentifier="sentry-dbid-3cc9a9aa-3f1b-4cc3-9c05-1681cf4dfe2b")}catch{}})();const V={labelWidth:new g(152,176,176),smallLabelWidth:new g(92,110,110),paddingBottom:new g(F[3],F[2]),width:new g(300,420,420)},ie=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{aa as U,fC as b,aS as k,J as M,O as A,cH as H,V as i,ad as W,aR as q,fD as J,o as a,p as X,cU as G,aT as K,y as x,x as Q,R as Y,bc as Z,bb as ee,u as c}from"./index-DqZ19at7.js";import{a as f}from"./sentry-DO9J0OD9.js";import{n as o}from"./mui-ZYC_cKE8.js";import{ES as te}from"./zeni-epic-state-C5Hzx540.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="9408091b-5ff1-4267-9087-4d2703170bcc",e._sentryDebugIdIdentifier="sentry-dbid-9408091b-5ff1-4267-9087-4d2703170bcc")}catch{}})();const S={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:m,authParams:$,companyOfficer:t,updateStatus:p,onClose:F,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=U({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[T,w]=f.useState(!1),[z,B]=f.useState(!1),j=k(p.fetchState),D=t?.deleteFileStatusById??{},N=t?.updateFileStatusById??{},O=Object.values(D??{}).filter(l=>l!=null),V=te(O);f.useEffect(()=>{j==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[j,p,n,t?.additionalFiles]);const r=M(),y=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,L=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{V.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),_=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&H(()=>_(d,h))});return()=>{l.unsubscribe()}}),i.jsx(W,{...n,children:i.jsxs("form",{id:u,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:F,"data-testid":q("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:L})}),i.jsx(J,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:G,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${X.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:b(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:D,updateFileStatusById:N,filesEndPoint:m,authParams:$,hasError:z,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onFileSizeError:l=>B(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),T?i.jsx(K,{formId:u,primaryBtn:{label:y.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:p.fetchState==="In-Progress"},cancelBtn:{label:y.cancel,style:{width:r==="small"?"auto":"181px"},onClick:F},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
1
+ import{aa as U,fC as b,aS as k,J as M,O as A,cH as H,V as i,ad as W,aR as q,fD as J,o as a,p as X,cU as G,aT as K,y as x,x as Q,R as Y,bc as Z,bb as ee,u as c}from"./index-DMtzVMbw.js";import{a as f}from"./sentry-oySuCz2z.js";import{n as o}from"./mui-CoYz3n28.js";import{ES as te}from"./zeni-epic-state-C253RwnE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},m=new e.Error().stack;m&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[m]="9408091b-5ff1-4267-9087-4d2703170bcc",e._sentryDebugIdIdentifier="sentry-dbid-9408091b-5ff1-4267-9087-4d2703170bcc")}catch{}})();const S={marginRight:new x(c[3],c[8]),marginLeft:new x(c[3],c[8]),height:new x(c[5],62)},u="additionalDocumentsForm",s="ssnCard";function pe(e){const{filesEndPoint:m,authParams:$,companyOfficer:t,updateStatus:p,onClose:F,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onSendForVerificationClick:P,onCompanyOfficerUpdated:C}=e,n=U({mode:"all",reValidateMode:"onChange",defaultValues:f.useMemo(()=>({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}}),[t?.additionalFiles])}),[T,w]=f.useState(!1),[z,B]=f.useState(!1),j=k(p.fetchState),D=t?.deleteFileStatusById??{},N=t?.updateFileStatusById??{},O=Object.values(D??{}).filter(l=>l!=null),V=te(O);f.useEffect(()=>{j==="In-Progress"&&p.fetchState==="Completed"&&n.reset({additionalDocumentsForm:{selectDocumentType:s,front:b(!0,t?.additionalFiles??[],s)}})},[j,p,n,t?.additionalFiles]);const r=M(),y=A.getLocalizedStrings().commonSetUp.businessVerification,{additionalDocumentsOverlay:g}=y,L=`${g.officerInfoLabel} ${t?.firstName??""} ${t?.lastName??""}`,R=n.handleSubmit(()=>{V.fetchState!=="In-Progress"&&P?.(t?.officerType??"Officer_1")}),_=async(l,h)=>{const d=h[u].front;l.includes("front")&&d?.fileId!=null?(C?.(t?.officerType??"Officer_1",[d?.fileId]),w(!0)):w(!1)};return f.useEffect(()=>{const l=n.watch((h,{name:d})=>{d!=null&&h!=null&&H(()=>_(d,h))});return()=>{l.unsubscribe()}}),i.jsx(W,{...n,children:i.jsxs("form",{id:u,onSubmit:R,children:[i.jsxs(re,{size:r,children:[i.jsx(le,{size:r,children:i.jsx(ne,{size:r,onClick:F,"data-testid":q("upload-additional-documents-close",u)})}),i.jsxs(de,{children:[i.jsx(ie,{children:g.title[s]}),i.jsx(ae,{children:g.description[s]})]}),i.jsx(oe,{children:i.jsx(se,{children:L})}),i.jsx(J,{name:u,allFiles:t?.additionalFiles??[],label:{width:276},sizeLimit:G,style:{width:"100%",borderRadius:a.sp2,boxShadow:`${a.sp0} 1px 2px ${a.sp0} ${X.boxShadowElevation}`},isDocumentSelectDisabled:!0,defaultValue:{defaultSelectDocumentType:s,allSelectDocumentType:[s],files:{front:b(!0,t?.additionalFiles??[],s)}},acceptableTypes:["image/jpg","image/jpeg","image/png","image/heic","image/heif"],officerIndex:0,deleteFileStatusById:D,updateFileStatusById:N,filesEndPoint:m,authParams:$,hasError:z,onEditFileName:I,onDeleteFile:E,updateFilesEntity:v,onFileSizeError:l=>B(l),registerOptions:{required:!0},companyOfficerName:{firstName:t?.firstName??"",lastName:t?.lastName??""},showWebCamPopUpCloseIcon:!1})]}),T?i.jsx(K,{formId:u,primaryBtn:{label:y.sendForVerificationButton,style:{width:"auto",minWidth:r==="small"?"auto":"181px"},isLoading:p.fetchState==="In-Progress"},cancelBtn:{label:y.cancel,style:{width:r==="small"?"auto":"181px"},onClick:F},style:{position:"absolute",width:"100%"}}):null]})})}const ie=o(Y)`
2
2
  margin-top: 19px;
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  margin-bottom: ${a.sp2};
@@ -1 +1 @@
1
- import{aS as i,O as I,V as r,i0 as v,i1 as x}from"./index-DqZ19at7.js";import{a as s}from"./sentry-DO9J0OD9.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./zeni-epic-state-C5Hzx540.js";import"./mui-ZYC_cKE8.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="bad4a1ae-65e9-4882-a57a-b2a420dd2618",t._sentryDebugIdIdentifier="sentry-dbid-bad4a1ae-65e9-4882-a57a-b2a420dd2618")}catch{}})();const H=({vendorViewDetails:t,isExpressPayPage:a,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:V}=t,f=Object.assign({},m??V),[b,o]=s.useState(!1),[y,n]=s.useState(e.initiateVerification===!0),u=i(f?.saveStatus?.fetchState),C=i(e.userVerificationStatus.fetchState),d=i(e.otpVerificationStatus?.fetchState),l=i(e.sendOtpStatus.fetchState),O=I.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return s.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),s.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),s.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),s.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:b===!0?r.jsx(v,{showHelperText:!a,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):y===!0?r.jsx(x,{showHelperText:!a,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:a?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:w=>S?.(w)}}):null})};export{H as default};
1
+ import{aS as i,O as I,V as r,i0 as v,i1 as x}from"./index-DMtzVMbw.js";import{a as s}from"./sentry-oySuCz2z.js";import"./liveblocks-BP-9wBvW.js";import"./core-C2ocMdpX.js";import"./recharts-BDU9Jttg.js";import"./zeni-epic-state-C253RwnE.js";import"./mui-CoYz3n28.js";import"./lottie-CH4Au8OK.js";import"./analytics-CkM8lXFl.js";import"./lexical-DGY0EwD1.js";import"./utils-lCkIh4TY.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},a=new t.Error().stack;a&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[a]="bad4a1ae-65e9-4882-a57a-b2a420dd2618",t._sentryDebugIdIdentifier="sentry-dbid-bad4a1ae-65e9-4882-a57a-b2a420dd2618")}catch{}})();const H=({vendorViewDetails:t,isExpressPayPage:a,onSaveVendor:c,onGetOtp:S,onResendOtp:h,onVerifyOtp:g,onVerifyOtpSuccess:p})=>{const{loggedInUserVerification:e,editVendorState:m,newVendorState:V}=t,f=Object.assign({},m??V),[b,o]=s.useState(!1),[y,n]=s.useState(e.initiateVerification===!0),u=i(f?.saveStatus?.fetchState),C=i(e.userVerificationStatus.fetchState),d=i(e.otpVerificationStatus?.fetchState),l=i(e.sendOtpStatus.fetchState),O=I.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.phoneNumberPopup;return s.useEffect(()=>{u==="In-Progress"&&f?.saveStatus?.fetchState==="Error"&&e.initiateVerification===!0&&n(!0)},[f,e,u]),s.useEffect(()=>{C==="In-Progress"&&e.userVerificationStatus.fetchState==="Completed"&&(o(!1),c())},[e.userVerificationStatus]),s.useEffect(()=>{d==="In-Progress"&&e.otpVerificationStatus?.fetchState==="Completed"&&p?.(e.userId??"",e.phone??"",e.otpChallenge??"")},[d,e,p]),s.useEffect(()=>{l==="In-Progress"&&e.sendOtpStatus.fetchState==="Completed"&&(o(!0),n(!1))},[l,e.sendOtpStatus.fetchState]),r.jsx(r.Fragment,{children:b===!0?r.jsx(v,{showHelperText:!a,verifyOtpFetchState:e.otpVerificationStatus.fetchState,phoneNumber:e.phone??"",otpChallenge:e.otpChallenge,action:{onVerifyClick:g,onCancelClick:()=>o(!1),onResendOtp:h,onEditButtonClick:()=>{n(!0),o(!1)}}}):y===!0?r.jsx(x,{showHelperText:!a,phoneNumber:e.phone??"",sendOtpFetchState:e.sendOtpStatus.fetchState,description:a?O:void 0,action:{onCancelClick:()=>n(!1),onGetCodeClick:w=>S?.(w)}}):null})};export{H as default};
@@ -1 +1 @@
1
- import{V as p}from"./index-DqZ19at7.js";import{a as m}from"./sentry-DO9J0OD9.js";import{f as u}from"./ACHDetailsPage-fOu5grd7-BdSVzP6f.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./zeni-epic-state-C5Hzx540.js";import"./mui-ZYC_cKE8.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.js";import"./BankAccountWarningSection-yT2UAd12-C1lPi6To.js";import"./MagicLinkTitleSection-ZnbKPIvJ-BSqgRJcf.js";import"./BankAccountSection-BabhrBM7-AYC21fpT.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="240181c9-f5b9-435f-9871-808e0326753a",t._sentryDebugIdIdentifier="sentry-dbid-240181c9-f5b9-435f-9871-808e0326753a")}catch{}})();const I=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:d,bankAccountToCreate:c,fetchBankNameByRoutingStatus:f}=t;return m.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),p.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameByRouting:d,fetchBankNameByRoutingStatus:f,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})};export{I as default};
1
+ import{V as p}from"./index-DMtzVMbw.js";import{a as m}from"./sentry-oySuCz2z.js";import{f as u}from"./ACHDetailsPage-fOu5grd7-BQab31-r.js";import"./liveblocks-BP-9wBvW.js";import"./core-C2ocMdpX.js";import"./recharts-BDU9Jttg.js";import"./zeni-epic-state-C253RwnE.js";import"./mui-CoYz3n28.js";import"./lottie-CH4Au8OK.js";import"./analytics-CkM8lXFl.js";import"./lexical-DGY0EwD1.js";import"./utils-lCkIh4TY.js";import"./BankAccountWarningSection-yT2UAd12-CjcTHtd0.js";import"./MagicLinkTitleSection-ZnbKPIvJ-cupADejE.js";import"./BankAccountSection-BabhrBM7-DTSnwq_E.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="240181c9-f5b9-435f-9871-808e0326753a",t._sentryDebugIdIdentifier="sentry-dbid-240181c9-f5b9-435f-9871-808e0326753a")}catch{}})();const I=({vendorViewDetails:t,bankAccountContext:e,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})=>{const{bankAccountCreationState:o,bankNameByRouting:d,bankAccountToCreate:c,fetchBankNameByRoutingStatus:f}=t;return m.useEffect(()=>{(e==="vendor"&&o?.fetchState==="Completed"||t.editVendorState?.saveStatus.fetchState==="Completed"&&e!=="express-pay")&&a()},[o,t.editVendorState?.saveStatus.fetchState,e,a]),p.jsx(u,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameByRouting:d,fetchBankNameByRoutingStatus:f,isDisabled:n,onSaveHandler:i,onACHDetailsUpdated:r,onBackClick:a,onFetchBankName:s})};export{I as default};
@@ -1,4 +1,4 @@
1
- import{d as Ee,J as ae,y as g,aF as we,cK as ft,aa as wt,he as Ce,hf as Ct,aX as $t,cH as St,V as t,bD as Dt,ad as Tt,hg as jt,hh as ye,u as l,cI as Lt,aT as Vt,bE as kt,O as W,hi as Ue,hj as qe,hk as Je,o,bR as S,cL as It,gQ as $e,hl as Ot,cM as Pt,cN as Mt,cO as _t,hm as zt,gh as Ft,cV as Nt,hn as Wt,ho as Ht,p as N,b9 as Ye,aj as Ge,dw as Bt,b1 as Rt,hp as At,hq as Et,am as Ut,dv as qt,du as Jt,d3 as Yt,a_ as pe,hr as Gt,ck as Qe,hs as Qt,H as Se,B as Xe}from"./index-DqZ19at7.js";import{a as $}from"./sentry-DO9J0OD9.js";import{n as a,c as Xt}from"./mui-ZYC_cKE8.js";import{bi as De,F$ as Kt,G0 as Zt}from"./zeni-epic-state-C5Hzx540.js";import{k as es}from"./SubTabSwitcher-zrkVj1aP-_xN0-uG5.js";import{T as ts}from"./TransactionList-3-mUZOsw-BOqEjROc.js";import{R as ss}from"./TrendWithTransactions-CTJhTpAM-BQk6HV-p.js";import{o as os,t as as}from"./arrow-south-east-round-PEovUgvH-Bjmr6TY7.js";import{C as ns}from"./LabeledAddressValueField-C6-hVsPb-Bfrq1uTa.js";import{Y as ls}from"./LabeledDropDownFormattedTextField-3-KekP79-CBuG_XHQ.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.js";import"./ConstrainedInnerElement-BeIpAPjB-XtnsGBeT.js";import"./BoxItem-DRwx0M5a-DCS0EEq5.js";import"./commonDimensions-BMnB1-xU-BEplFlGz.js";import"./panelSelectedMixin-CzfD5-Zs-D6-xSZhW.js";import"./TrendChart-JTOG0a7B-DpgA2voA.js";import"./chartTypes-40RenddT-C3e8npm6.js";import"./toCOABalancesWithID-DkMGvlEt-BttuYM2L.js";import"./toChartData-C6s-eBzE-DfNWG1EA.js";import"./NoDataChart-CgT19fV7-Dq-PS5iw.js";import"./InsightsSection-De9zu_me-VPfN5Xo7.js";import"./NavigationDots-Bv4tBDN3-Dko875eO.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]="06a4a597-b07c-4371-92e8-56444ed38e27",e._sentryDebugIdIdentifier="sentry-dbid-06a4a597-b07c-4371-92e8-56444ed38e27")}catch{}})();const is=a.div`
1
+ import{d as Ee,J as ae,y as g,aF as we,cK as ft,aa as wt,he as Ce,hf as Ct,aX as $t,cH as St,V as t,bD as Dt,ad as Tt,hg as jt,hh as ye,u as l,cI as Lt,aT as Vt,bE as kt,O as W,hi as Ue,hj as qe,hk as Je,o,bR as S,cL as It,gQ as $e,hl as Ot,cM as Pt,cN as Mt,cO as _t,hm as zt,gh as Ft,cV as Nt,hn as Wt,ho as Ht,p as N,b9 as Ye,aj as Ge,dw as Bt,b1 as Rt,hp as At,hq as Et,am as Ut,dv as qt,du as Jt,d3 as Yt,a_ as pe,hr as Gt,ck as Qe,hs as Qt,H as Se,B as Xe}from"./index-DMtzVMbw.js";import{a as $}from"./sentry-oySuCz2z.js";import{n as a,c as Xt}from"./mui-CoYz3n28.js";import{bi as De,F$ as Kt,G0 as Zt}from"./zeni-epic-state-C253RwnE.js";import{k as es}from"./SubTabSwitcher-zrkVj1aP-_Y-lGR4O.js";import{T as ts}from"./TransactionList-3-mUZOsw-Bjo6uOYk.js";import{R as ss}from"./TrendWithTransactions-CTJhTpAM-Bv1UqYxB.js";import{o as os,t as as}from"./arrow-south-east-round-PEovUgvH-1rW0zoS2.js";import{C as ns}from"./LabeledAddressValueField-C6-hVsPb-SvnkQYGO.js";import{Y as ls}from"./LabeledDropDownFormattedTextField-3-KekP79-CouvwkJK.js";import"./liveblocks-BP-9wBvW.js";import"./core-C2ocMdpX.js";import"./recharts-BDU9Jttg.js";import"./lottie-CH4Au8OK.js";import"./analytics-CkM8lXFl.js";import"./lexical-DGY0EwD1.js";import"./utils-lCkIh4TY.js";import"./ConstrainedInnerElement-BeIpAPjB-BRsKF_vB.js";import"./BoxItem-DRwx0M5a-BOzUW4AC.js";import"./commonDimensions-BMnB1-xU-DiUddsI8.js";import"./panelSelectedMixin-CzfD5-Zs-BhQovnBD.js";import"./TrendChart-JTOG0a7B-BPCPEjor.js";import"./chartTypes-40RenddT-C5cIBfKP.js";import"./toCOABalancesWithID-DkMGvlEt-CjweDPd3.js";import"./toChartData-C6s-eBzE-DQEzIUE9.js";import"./NoDataChart-CgT19fV7-CT6v85pw.js";import"./InsightsSection-De9zu_me-fO_n1ybi.js";import"./NavigationDots-Bv4tBDN3-oYD3IjEb.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]="06a4a597-b07c-4371-92e8-56444ed38e27",e._sentryDebugIdIdentifier="sentry-dbid-06a4a597-b07c-4371-92e8-56444ed38e27")}catch{}})();const is=a.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  justify-content: center;
@@ -1 +1 @@
1
- import{V as l}from"./index-DqZ19at7.js";import{a as k}from"./sentry-DO9J0OD9.js";import{D as y}from"./DomesticWireDetailsPage-BumMT4QM-9o5TrTj8.js";import"./liveblocks-BTMi-6jm.js";import"./core-ChNxRm0V.js";import"./recharts-CPKKNFMD.js";import"./zeni-epic-state-C5Hzx540.js";import"./mui-ZYC_cKE8.js";import"./lottie-DePu4yCn.js";import"./analytics-Bkw5onLf.js";import"./lexical-1Ygrq4RW.js";import"./utils-CXoyjNuY.js";import"./BankAccountSection-BabhrBM7-AYC21fpT.js";import"./MagicLinkTitleSection-ZnbKPIvJ-BSqgRJcf.js";import"./BankAccountWarningSection-yT2UAd12-C1lPi6To.js";import"./MailingDetailsSection-DZT7JPlI-C6Z2pagF.js";import"./LabeledAddressValueField-C6-hVsPb-Bfrq1uTa.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]="79bad8b0-b47a-4392-b338-86e2c61755af",e._sentryDebugIdIdentifier="sentry-dbid-79bad8b0-b47a-4392-b338-86e2c61755af")}catch{}})();const j=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:b,bankAccountToCreate:u,fetchBankNameByRoutingStatus:f}=e,a=Object.assign({},p??m);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),l.jsx(y,{bankAccountToCreate:u,bankAccountCreationState:n,bankNameByRouting:b,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:f,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};
1
+ import{V as l}from"./index-DMtzVMbw.js";import{a as k}from"./sentry-oySuCz2z.js";import{D as y}from"./DomesticWireDetailsPage-BumMT4QM-Dhr8FdDC.js";import"./liveblocks-BP-9wBvW.js";import"./core-C2ocMdpX.js";import"./recharts-BDU9Jttg.js";import"./zeni-epic-state-C253RwnE.js";import"./mui-CoYz3n28.js";import"./lottie-CH4Au8OK.js";import"./analytics-CkM8lXFl.js";import"./lexical-DGY0EwD1.js";import"./utils-lCkIh4TY.js";import"./BankAccountSection-BabhrBM7-DTSnwq_E.js";import"./MagicLinkTitleSection-ZnbKPIvJ-cupADejE.js";import"./BankAccountWarningSection-yT2UAd12-CjcTHtd0.js";import"./MailingDetailsSection-DZT7JPlI-O0oExSnL.js";import"./LabeledAddressValueField-C6-hVsPb-SvnkQYGO.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]="79bad8b0-b47a-4392-b338-86e2c61755af",e._sentryDebugIdIdentifier="sentry-dbid-79bad8b0-b47a-4392-b338-86e2c61755af")}catch{}})();const j=({vendorViewDetails:e,bankAccountContext:t,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onFetchBankName:i,onAddressClick:c})=>{const{bankAccountCreationState:n,editVendorState:p,newVendorState:m,bankNameByRouting:b,bankAccountToCreate:u,fetchBankNameByRoutingStatus:f}=e,a=Object.assign({},p??m);return k.useEffect(()=>{(t==="vendor"&&n?.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed"&&t!=="express-pay")&&o()},[n,a?.saveStatus?.fetchState,o,t]),l.jsx(y,{bankAccountToCreate:u,bankAccountCreationState:n,bankNameByRouting:b,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameByRoutingStatus:f,isDisabled:r,onSaveHandler:d,onWireDetailsUpdated:s,onBackClick:o,onAddressClick:c,onFetchBankName:i})};export{j as default};