@zeniai/web-cockpit-ui 1.15.55-dev → 1.15.55-qa

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 (219) hide show
  1. package/dist/assets/{ACHDetailsPage-C98HijMx-DIRaMQaw.js → ACHDetailsPage-C98HijMx-BJBVqb4-.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-DvIqqfUW-B5ddcrLl.js → AIPerformancePage-DvIqqfUW-DaUMrEtz.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-DiLfCEmp-DO4D-Akp.js → AccountInfoPage-DiLfCEmp-CNX-Uv6x.js} +1 -1
  4. package/dist/assets/{AccountInfoPageContent-Bjoy7kSM-kNnrLnJI.js → AccountInfoPageContent-Bjoy7kSM-GWRbvr6i.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-DisEYsUS-zfxK1-20.js → AccountLockedInfoModal-DisEYsUS-j3YIT70h.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-3lMeeEsP-CBHWuQnb.js → AccountReconDetailsDrawerPage-3lMeeEsP-Bw7WvOZ4.js} +1 -1
  7. package/dist/assets/{AccountRow-DHebunB5-DIYXQfGx.js → AccountRow-DHebunB5-BEb8jkDV.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-94l6cw3--BqluiECW.js → AccountsPromoCardStack-94l6cw3--3Lnw9MVy.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-DsW1gOAp-MwS07L6u.js → AddAddressForCardDrawer-DsW1gOAp-4tJPkT82.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BFRK3Cz9--H2684Y8.js → AddToWalletPage-BFRK3Cz9-DfCOnxKq.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-B4XD0NxM-C9hPpgrJ.js → AgingReportsPage-B4XD0NxM-GJUwPpQI.js} +1 -1
  12. package/dist/assets/{AllUserItems-fjv8Ov4s-D0Yn7Cw3.js → AllUserItems-fjv8Ov4s-D_OuNM4B.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-D5ATi6Rg-c01emJHv.js → ApAgingDetailPage-D5ATi6Rg-kcZ4CSsO.js} +1 -1
  14. package/dist/assets/{AppBasePage-DEEwGCyl-CJQRcs0Q.js → AppBasePage-DEEwGCyl-C7Uw6_LA.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-BV68KVaK-DsuGSV0L.js → AppDrawerContent-BV68KVaK-DuM1cc9g.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-rYk3cmVs-Bk4KgAtZ.js → ApprovalRulesSettingsPage-rYk3cmVs-LcZHaqVu.js} +1 -1
  17. package/dist/assets/{ArAgingChart-CW-BCqsC-D14dt6qa.js → ArAgingChart-CW-BCqsC-BtxyR8I7.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-C4wzs4jI-BEFfnJg4.js → ArAgingDetailPage-C4wzs4jI-hBIgq00O.js} +1 -1
  19. package/dist/assets/{AttachmentView-NLynK_4B-BnApX40v.js → AttachmentView-NLynK_4B-TCrQ1Wb0.js} +1 -1
  20. package/dist/assets/{BalancesInsightWithToolTip-e99DEARd-B-O4Ljlc.js → BalancesInsightWithToolTip-e99DEARd-hZLMtJqx.js} +1 -1
  21. package/dist/assets/{BankAccountSection-BvIYx2co-BamiC5Ie.js → BankAccountSection-BvIYx2co-CImXpQhP.js} +1 -1
  22. package/dist/assets/{BankAccountWarningSection-CqyeSTWe-C-YFtMtw.js → BankAccountWarningSection-CqyeSTWe-tblHe04a.js} +1 -1
  23. package/dist/assets/{BankConnectionsSettingsPage-C8lTCBWz-C-LvS4NN.js → BankConnectionsSettingsPage-C8lTCBWz-DsqwrwNk.js} +1 -1
  24. package/dist/assets/{BillDetailPage-BHMeLrkf-DfOpYdLq.js → BillDetailPage-BHMeLrkf-D4LKZgOp.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRuleDetailPage-CKtwE5ro-CvaoHMcE.js → BillPayApprovalRuleDetailPage-CKtwE5ro-BOAFrqa7.js} +1 -1
  26. package/dist/assets/{BillPayApprovalRulesPage-CAVAguR4-C8XO5DYA.js → BillPayApprovalRulesPage-CAVAguR4-Cd5zoA-R.js} +1 -1
  27. package/dist/assets/{BillPayPromoPage-BhXeOZWk-DQanpXhA.js → BillPayPromoPage-BhXeOZWk-mXgcGiTt.js} +1 -1
  28. package/dist/assets/{BillPaySetUpPage-DBeeMB1d-CPdIKBLb.js → BillPaySetUpPage-DBeeMB1d-DI0vpyXK.js} +1 -1
  29. package/dist/assets/{BillingSettingsPage-C34kg2JK-d6AbOc60.js → BillingSettingsPage-C34kg2JK-BTtouVNP.js} +1 -1
  30. package/dist/assets/{BillsBulkReviewDrawerPage-mrZng-LH-CgLPtPGy.js → BillsBulkReviewDrawerPage-mrZng-LH-CEpwN3ZN.js} +1 -1
  31. package/dist/assets/{BoxItem-F9HlKmjN-xqfWS_hX.js → BoxItem-F9HlKmjN-CSouLxfb.js} +1 -1
  32. package/dist/assets/{BusinessVerificationPage-YOt_PXhl-CeYXkkiq.js → BusinessVerificationPage-YOt_PXhl-B5avBdN5.js} +1 -1
  33. package/dist/assets/{CardNumberSubText-BYBZ7ZM1-CYschYSJ.js → CardNumberSubText-BYBZ7ZM1-fX8HveSR.js} +1 -1
  34. package/dist/assets/{CashbackDetailPage-BvWf2TDN-CJvt8fwC.js → CashbackDetailPage-BvWf2TDN-D5boxNgq.js} +1 -1
  35. package/dist/assets/{ChargeCardDetailPage-Bx09SgSk-Mc5U0L1M.js → ChargeCardDetailPage-Bx09SgSk-DuGBXYDc.js} +1 -1
  36. package/dist/assets/{ChargeCardListPage-BM0D7PCI-2RCeRUIi.js → ChargeCardListPage-BM0D7PCI-DWOSr6OR.js} +1 -1
  37. package/dist/assets/{ChargeCardListTable-xoYHcNTF-CDUEEXq9.js → ChargeCardListTable-xoYHcNTF-fDZp6zkv.js} +1 -1
  38. package/dist/assets/{ChargeCardPaymentHistoryPage-CLA5UpG2-BjxNitum.js → ChargeCardPaymentHistoryPage-CLA5UpG2-CTyKmzGQ.js} +1 -1
  39. package/dist/assets/{ChargeCardPromoPage-DOLaaGqu-DsV8VR1J.js → ChargeCardPromoPage-DOLaaGqu-JMRBaEvn.js} +1 -1
  40. package/dist/assets/{ChargeCardSetupPage-BU9RvMXY-Dj9m6ZmP.js → ChargeCardSetupPage-BU9RvMXY-CH0JE4Kd.js} +1 -1
  41. package/dist/assets/{ChargeCardStatementsPage-DlrKo_GJ-BRM2z9cD.js → ChargeCardStatementsPage-DlrKo_GJ-Cb-ppVnB.js} +1 -1
  42. package/dist/assets/{CheckDepositDrawerPage-BTCZ6Ihv-Bwg08fJC.js → CheckDepositDrawerPage-BTCZ6Ihv-CTAdbJ3U.js} +1 -1
  43. package/dist/assets/{CollapsableReportTable-B7wBJa-J-CFRGpr0Y.js → CollapsableReportTable-B7wBJa-J-DFZw9oQ9.js} +1 -1
  44. package/dist/assets/{CompanyOfficerDetailsSection-7wea0Ige-DaIiZvTQ.js → CompanyOfficerDetailsSection-7wea0Ige-DHEyt79p.js} +1 -1
  45. package/dist/assets/{CompanyPassportCard-BiW2qW0Q-DbzQ0mZs.js → CompanyPassportCard-BiW2qW0Q-DDI1Qnh_.js} +1 -1
  46. package/dist/assets/{CompanyPassportPage-cUf8LJjO-BtNthnMy.js → CompanyPassportPage-cUf8LJjO-C9Bdkv8a.js} +1 -1
  47. package/dist/assets/{CompleteProfile-zUf6xhpN-Djjy4qMc.js → CompleteProfile-zUf6xhpN-B3KN5hBz.js} +1 -1
  48. package/dist/assets/{ConfettiBurst-JdjFQWmA-B1zUAlBC.js → ConfettiBurst-JdjFQWmA-6QLo6cd8.js} +1 -1
  49. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-D303BiU-.js → ConstrainedInnerElement-BeIpAPjB-DLrDueDB.js} +1 -1
  50. package/dist/assets/{CreateOrEditVendorPage-ByvOufGv-BnP_tF_w.js → CreateOrEditVendorPage-ByvOufGv-CMenSoM_.js} +1 -1
  51. package/dist/assets/{CreditCardPaymentDrawerPage-bvQF_Dnd-DNvTFSk3.js → CreditCardPaymentDrawerPage-bvQF_Dnd-4b4o-utE.js} +1 -1
  52. package/dist/assets/{CurrencySelectField-C9U52o8Z-DH90cYim.js → CurrencySelectField-C9U52o8Z-Bz_K9Iep.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingActivationPage-Bnqb4OwN-BkOYiVjl.js → CustomerOnboardingActivationPage-Bnqb4OwN-C5kf3xFY.js} +1 -1
  54. package/dist/assets/CustomerOnboardingContainerPage-BVEjcOzz-bdw02hhI.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DzZq9ydV-rcF8sUPi.js → CustomerOnboardingDetailPageSkeleton-DzZq9ydV-CfiONcVh.js} +1 -1
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-BxvN2Q7E-B4zOAzF_.js → CustomerOnboardingNoStepsPage-BxvN2Q7E-BLmUWUXN.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingPage-Gs1nLE_K-C1loGeIV.js → CustomerOnboardingPage-Gs1nLE_K-CzEd0SeQ.js} +1 -1
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-BzXjhPEn-CGUMAsr4.js → CustomerOnboardingProductSuitePage-BzXjhPEn-K1pZVHz7.js} +1 -1
  59. package/dist/assets/{Dashboard-CB4FHIWL-DH8-1h66.js → Dashboard-CB4FHIWL-Bx9oAmKh.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-CJzzOcFM-CXGGECPa.js → DashboardReportPage-CJzzOcFM-W5Z_b8PV.js} +1 -1
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-uX3QCu5p-mHJahdDI.js → DashboardSidebarBackgroundAnimation-uX3QCu5p-CeB2pxif.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-DI2iFIOE-D78pehet.js → DepositAccTransactionItem-DI2iFIOE-PbGEmDvK.js} +1 -1
  63. package/dist/assets/{DepositAccTransactionListPage-BJ8sXbmG-CMXvXJC1.js → DepositAccTransactionListPage-BJ8sXbmG-Cth9n1DP.js} +1 -1
  64. package/dist/assets/{DomesticWireDetailsPage-6Ja_raS1-BtmRTZLv.js → DomesticWireDetailsPage-6Ja_raS1-DsTK9cB0.js} +1 -1
  65. package/dist/assets/{DownloadOverlay-uRpW9ezf-jNXoSS7J.js → DownloadOverlay-uRpW9ezf-CxgYeOK3.js} +1 -1
  66. package/dist/assets/{DrawerPage-CTtzGlId-R2r7ok8_.js → DrawerPage-CTtzGlId-BxRXmMgI.js} +1 -1
  67. package/dist/assets/{EditPeoplePage-BBrsqLJc-DyJHgyzZ.js → EditPeoplePage-BBrsqLJc-BMvGXvQ0.js} +1 -1
  68. package/dist/assets/{EditReimbursementDetailPage-D-HncluE-CUs0afyw.js → EditReimbursementDetailPage-D-HncluE-DbdtHF6B.js} +1 -1
  69. package/dist/assets/{EntityDetailPage-X5BG-4An-7aKQ5Pgw.js → EntityDetailPage-X5BG-4An-C9KOCFUy.js} +1 -1
  70. package/dist/assets/{EntitySummarySection-CgIfSDBl-bARhT4wA.js → EntitySummarySection-CgIfSDBl-Ov7dUmd1.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationOverviewPage-BOMURB5R-BK4Piycw.js → ExpenseAutomationOverviewPage-BOMURB5R-9dzEjzH1.js} +1 -1
  72. package/dist/assets/{ExpenseAutomationPage-BWBWJraB-BcLoThsR.js → ExpenseAutomationPage-BWBWJraB-CtR-DFGe.js} +1 -1
  73. package/dist/assets/{ExpressPayPage-Bq7VwGIy-CuN_JG1U.js → ExpressPayPage-Bq7VwGIy-DvKCGoFP.js} +1 -1
  74. package/dist/assets/{FeaturePreviewPage-DzmWWp4h-DNDXggJB.js → FeaturePreviewPage-DzmWWp4h-BjjNkga-.js} +1 -1
  75. package/dist/assets/{FollowStepsSection-DF7igv9E-BXwQRKtK.js → FollowStepsSection-DF7igv9E-BxEX13FL.js} +1 -1
  76. package/dist/assets/{GlobalReviewListPage-BXhEk4c0-BVTm7Ky3.js → GlobalReviewListPage-BXhEk4c0-C-xqLrb1.js} +1 -1
  77. package/dist/assets/{InformationCardStack-DNqDhetv-CczzYoVw.js → InformationCardStack-DNqDhetv-DSc1dN_S.js} +1 -1
  78. package/dist/assets/{InsightsCardStack-cCxIT64L-CUFk6OxI.js → InsightsCardStack-cCxIT64L-DU3Qpccr.js} +1 -1
  79. package/dist/assets/{InsightsSection-CbrrmEg4-D4vQ_6my.js → InsightsSection-CbrrmEg4-Dp1d-AHv.js} +1 -1
  80. package/dist/assets/{IntegrationsSettingsPage-Bw4BviF3-DBDc8BdY.js → IntegrationsSettingsPage-Bw4BviF3-Vn4hH9DQ.js} +1 -1
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-53hMX6yJ-BesU5wqw.js → InternationalWireSwiftDetailsPage-53hMX6yJ-rYKfv8Ua.js} +1 -1
  82. package/dist/assets/{InternationalWireVerificationPage-CmibXgZP-Dk0__zsA.js → InternationalWireVerificationPage-CmibXgZP-XEUhe6vb.js} +1 -1
  83. package/dist/assets/{InviteFormPage-CGxv4wps-5AP-y1Ow.js → InviteFormPage-CGxv4wps-Ch1x0l2n.js} +1 -1
  84. package/dist/assets/{InvitePageListView-NbYGP_zc-CH2LQelV.js → InvitePageListView-NbYGP_zc-C-aaFOGW.js} +1 -1
  85. package/dist/assets/{InvitePeoplePage-CUIx67tI-BuLgC01P.js → InvitePeoplePage-CUIx67tI-BkTKJmms.js} +1 -1
  86. package/dist/assets/{InvoiceUploadSection-SDbpMsYc-Dm64G91F.js → InvoiceUploadSection-SDbpMsYc-jhcMgbY0.js} +1 -1
  87. package/dist/assets/{IssueChargeCardPage-BRRHAcZh-D4kemR48.js → IssueChargeCardPage-BRRHAcZh-C85k1iT9.js} +1 -1
  88. package/dist/assets/{LabeledAddressValue-BqBWtO4T-C7fJuTnk.js → LabeledAddressValue-BqBWtO4T-Cjwlgn3C.js} +1 -1
  89. package/dist/assets/{LabeledAddressValueField-BJl_17nw-BoellP6H.js → LabeledAddressValueField-BJl_17nw-BgOwoo2E.js} +1 -1
  90. package/dist/assets/{LabeledControlledCheckBoxField-CTjsNnfG-C03py6Ms.js → LabeledControlledCheckBoxField-CTjsNnfG-oh9koa4X.js} +1 -1
  91. package/dist/assets/{LabeledCountryMultiSelectField-C0QF9TCM-CB5E5Naj.js → LabeledCountryMultiSelectField-C0QF9TCM-B3ijRjHg.js} +1 -1
  92. package/dist/assets/{LabeledCreatableSingleSelectField-CdMkAJap-1V7j-DDR.js → LabeledCreatableSingleSelectField-CdMkAJap-Yq59zanX.js} +1 -1
  93. package/dist/assets/{LabeledDocumentField-De9s68TP-Cri5KHGX.js → LabeledDocumentField-De9s68TP-D7Vke8eX.js} +1 -1
  94. package/dist/assets/{LabeledDropDownFormattedTextField-Dy4sKbHt-B82hYqdR.js → LabeledDropDownFormattedTextField-Dy4sKbHt-B98PHFNY.js} +1 -1
  95. package/dist/assets/{LabeledText-DTF15PO8-z7lFVMYz.js → LabeledText-DTF15PO8-CG4fT69v.js} +1 -1
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D9bbIz04-BT9veYVH.js → LabeledUserSingleSelectWithSubtitlesField-D9bbIz04-DE32BxRz.js} +1 -1
  97. package/dist/assets/{LabeledZeniRolesDropDownField-DPNR8el--C4H8qzAo.js → LabeledZeniRolesDropDownField-DPNR8el--CIp7K8ys.js} +1 -1
  98. package/dist/assets/{LinkJETransactionPage-CflqbXq0-DXYSk1UI.js → LinkJETransactionPage-CflqbXq0-DUFcZWRX.js} +1 -1
  99. package/dist/assets/{LockCardPage-VSlPzmAF-CYZTWdC-.js → LockCardPage-VSlPzmAF-BLxigLWn.js} +1 -1
  100. package/dist/assets/{LowBalancePopup-DCwoGS48-hmCGAo7a.js → LowBalancePopup-DCwoGS48-BetvpM_3.js} +1 -1
  101. package/dist/assets/{MagicLinkACHDetailsPage-BT5yNVLG-ChUzosgW.js → MagicLinkACHDetailsPage-BT5yNVLG-CF7yXmnq.js} +1 -1
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BurEs9tm-DDw6dGa9.js → MagicLinkDomesticWireDetailsPage-BurEs9tm-g34_kWzg.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-CvvBuPtn-Br57d6dJ.js → MagicLinkInternationalWireDetailsPage-CvvBuPtn-Cl8X75BN.js} +1 -1
  104. package/dist/assets/{MagicLinkSuccessPage-Bu2WgYDU-C_NzscTh.js → MagicLinkSuccessPage-Bu2WgYDU-Cutx5DLa.js} +1 -1
  105. package/dist/assets/{MagicLinkTitleSection-D1tjQ-VI-B06aRvZu.js → MagicLinkTitleSection-D1tjQ-VI-pANNPRX7.js} +1 -1
  106. package/dist/assets/{MailingDetailsSection-CnGInDUg-DZA0H6jP.js → MailingDetailsSection-CnGInDUg-CdEHoCH2.js} +1 -1
  107. package/dist/assets/{MyBankConnectionsSettingsPage-CtYcGNjJ-BqSq6z3Z.js → MyBankConnectionsSettingsPage-CtYcGNjJ-Flk70-6O.js} +1 -1
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-CmSDPRHT-DaaZsLCw.js → MyPendingActivationChargeCardListPage-CmSDPRHT-DL4i2y5W.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-1FPtn1ea-C9umNstC.js → MyProfileSettingsPage-1FPtn1ea-CwmG6Enu.js} +1 -1
  110. package/dist/assets/{NavBarWithPicker-B04p6hvh-BcKmzJ24.js → NavBarWithPicker-B04p6hvh-CKccXV-U.js} +1 -1
  111. package/dist/assets/{NavigationArrow-DJQDYzJE-BC_4c0HP.js → NavigationArrow-DJQDYzJE-CYx11w2d.js} +1 -1
  112. package/dist/assets/{NavigationDots-C2ylmmp9-BUZFmr7S.js → NavigationDots-C2ylmmp9-R3cC46Nq.js} +1 -1
  113. package/dist/assets/{NewGlobalMerchantPage-B18toasi-BU1JGIOb.js → NewGlobalMerchantPage-B18toasi-D5NEVfgw.js} +1 -1
  114. package/dist/assets/{NoDataChart-BO4tisNf-D8owAUYk.js → NoDataChart-BO4tisNf-B1dDA7-k.js} +1 -1
  115. package/dist/assets/{NoDataTable-BEVgI9LO-CYWfmTuA.js → NoDataTable-BEVgI9LO-CyJfYq90.js} +1 -1
  116. package/dist/assets/{NotFoundPage-zeHT1nzY-c1pIrXd2.js → NotFoundPage-zeHT1nzY-COuwZm2y.js} +1 -1
  117. package/dist/assets/{NotificationSettingsPage-ClXPKcgz-Cua8aSKu.js → NotificationSettingsPage-ClXPKcgz-BVor2I9S.js} +1 -1
  118. package/dist/assets/{NotificationsListConfig-BQqh5bzx-CFdZZXGY.js → NotificationsListConfig-BQqh5bzx-LOh36dDH.js} +1 -1
  119. package/dist/assets/{NotificationsPage-DsWTVVJb-CubnyrBq.js → NotificationsPage-DsWTVVJb-CAaA2Vvh.js} +1 -1
  120. package/dist/assets/{OpExByVendorPage-BjNi44e6-DOiReLBc.js → OpExByVendorPage-BjNi44e6-BiepmdeG.js} +1 -1
  121. package/dist/assets/{OverlayContainerPage-D4QU0p4o-b_Vxf1PH.js → OverlayContainerPage-D4QU0p4o-CSrjhCbl.js} +1 -1
  122. package/dist/assets/{PandLWithForecastPage-Bu9ojuKa-CT86cSNx.js → PandLWithForecastPage-Bu9ojuKa-C0jaE26D.js} +1 -1
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-vFIhGJqT-5psa-_DW.js → PaymentAccountSetupBillingAddressSection-vFIhGJqT-D7XY8fWb.js} +1 -1
  124. package/dist/assets/{PeoplePage-B6QMmZoF-D2QgJp28.js → PeoplePage-B6QMmZoF-Cu1PXpbw.js} +1 -1
  125. package/dist/assets/{ProductsCarousel-Bp3BA6jn-Dq3g70sD.js → ProductsCarousel-Bp3BA6jn-LE6lBjV_.js} +1 -1
  126. package/dist/assets/{PromoBaseCards-BJngCLC1-D1D3BuDF.js → PromoBaseCards-BJngCLC1-CSjHQJJe.js} +1 -1
  127. package/dist/assets/{QBOConnectionDialog-DkBwI8ar-CHNOORcZ.js → QBOConnectionDialog-DkBwI8ar-CXImigqc.js} +1 -1
  128. package/dist/assets/{QBOSetupSection-CzvyO3jT-MFHCmvJY.js → QBOSetupSection-CzvyO3jT-B-G9boGG.js} +1 -1
  129. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Q5ynG2vJ-D1YIG_oC.js → ReimbursementApprovalRuleDetailPage-Q5ynG2vJ-hzKlLHJP.js} +1 -1
  130. package/dist/assets/{ReimbursementApprovalRulesPage-bXsxoJ-h--lf8D9ac.js → ReimbursementApprovalRulesPage-bXsxoJ-h-CbiZXD6P.js} +1 -1
  131. package/dist/assets/{ReimbursementDetailPage-DgzoYr-9-CVLHufeF.js → ReimbursementDetailPage-DgzoYr-9-CNvfLk42.js} +1 -1
  132. package/dist/assets/{ReimbursementPromoPage-Db-_ODCp-CvQz3EGd.js → ReimbursementPromoPage-Db-_ODCp-DCw18Lp2.js} +1 -1
  133. package/dist/assets/{ReimbursementSetUpPage-Hs-W_q-P-BdYd6UC3.js → ReimbursementSetUpPage-Hs-W_q-P-Cjhybpz4.js} +1 -1
  134. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DH5fjpfk-Cr_SYXyq.js → ReimbursementsBulkReviewDrawerPage-DH5fjpfk-v1WJElQw.js} +1 -1
  135. package/dist/assets/{ReloadCard-CqhIfBOB-BY0vX67l.js → ReloadCard-CqhIfBOB-C75CM26d.js} +1 -1
  136. package/dist/assets/{ReportTableViewSelector-Cot8YlVL-BAZ1GdJN.js → ReportTableViewSelector-Cot8YlVL-BAkQrlxg.js} +1 -1
  137. package/dist/assets/{ReportsPage-C_7EbeMB-O7cnUjzc.js → ReportsPage-C_7EbeMB-DrujKKqI.js} +1 -1
  138. package/dist/assets/{RevenueChart-SOIqJqC1-C9wQDXwd.js → RevenueChart-SOIqJqC1-9ZYNExTj.js} +1 -1
  139. package/dist/assets/{ReviewDetailsPage-DJtR6MAV-YpQ78vWd.js → ReviewDetailsPage-DJtR6MAV-DfKdpl2I.js} +1 -1
  140. package/dist/assets/{ReviewOverlay-BAkkDswR-CSwNTB3g.js → ReviewOverlay-BAkkDswR-BRXFSkCj.js} +1 -1
  141. package/dist/assets/{RoleWithToolTip-LhCV3AOg-BfEF5V_b.js → RoleWithToolTip-LhCV3AOg-LV1aYXNJ.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BSEAGNCA-CWkK2E_X.js → ScheduleDetailsFixedAssetsPage-BSEAGNCA-DR2-7HDU.js} +1 -1
  143. package/dist/assets/{ScheduleDetailsPage-DuQdRk-6-YLy7Z141.js → ScheduleDetailsPage-DuQdRk-6-uLY4pBtA.js} +1 -1
  144. package/dist/assets/{ScheduleSequenceTable-CpShO1ua-Dsb6r5kr.js → ScheduleSequenceTable-CpShO1ua-DtRgNXHh.js} +1 -1
  145. package/dist/assets/{ScreenRoutes-D4V6kIC9.js → ScreenRoutes-CaaE07_I.js} +1 -1
  146. package/dist/assets/{SetUpAccountSection-Bx30O5Ml-WH4usOA9.js → SetUpAccountSection-Bx30O5Ml-YbU6ullc.js} +1 -1
  147. package/dist/assets/{SignIn-BQ4q4gDh-CzzmiuXu.js → SignIn-BQ4q4gDh-BCbKjxNQ.js} +1 -1
  148. package/dist/assets/{SignInScreen-DZyTlhxL.js → SignInScreen-C0baVkZ4.js} +1 -1
  149. package/dist/assets/{SpendManagementListViewPage-B_sb3Dfh-dqWZldlf.js → SpendManagementListViewPage-B_sb3Dfh-C_fiWBem.js} +3 -3
  150. package/dist/assets/{SpendManagementPerTabPage-Caux80RI-BTh48LKq.js → SpendManagementPerTabPage-Caux80RI-DPbk3IEw.js} +1 -1
  151. package/dist/assets/{SpendManagementSection-Z9MFiKoI-CQFuO0wV.js → SpendManagementSection-Z9MFiKoI-CQEr4ASg.js} +1 -1
  152. package/dist/assets/{StatementItem-uBlcLNGa-C68iqcbF.js → StatementItem-uBlcLNGa-0cnDE11F.js} +1 -1
  153. package/dist/assets/{StatementsPage-wmfWDQrp-DZo3jcor.js → StatementsPage-wmfWDQrp-OaR_Vwh2.js} +1 -1
  154. package/dist/assets/{StatusSwitcher-C3WR2o9U-C0FM9NGp.js → StatusSwitcher-C3WR2o9U-xiK29gSM.js} +1 -1
  155. package/dist/assets/{SubTabSwitcher-JZ9r8Gvy-CmdEzTPr.js → SubTabSwitcher-JZ9r8Gvy-BtTESH6u.js} +1 -1
  156. package/dist/assets/{SummaryCard-CzpKllZ9-BcAcs1DO.js → SummaryCard-CzpKllZ9-C4GHMb0-.js} +1 -1
  157. package/dist/assets/{TaskManagementPage-DhdfjPpg-Bz7Od6O0.js → TaskManagementPage-DhdfjPpg-B9SVvzH1.js} +1 -1
  158. package/dist/assets/{TimeRangeSwitcher-ejYmSzzU-BGF2Hlek.js → TimeRangeSwitcher-ejYmSzzU-6-tvMBjw.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcher-B1rtSeeP-s5XP-zq2.js → TimeframeSwitcher-B1rtSeeP-CtKc8QVS.js} +1 -1
  160. package/dist/assets/{TimeframeSwitcherWithToggle-BIe0KGCe-CezpaCXC.js → TimeframeSwitcherWithToggle-BIe0KGCe-DeFCyOV1.js} +1 -1
  161. package/dist/assets/{TopExCard-CcmlvV2E-DQ9im9Ri.js → TopExCard-CcmlvV2E-Clvvz72a.js} +1 -1
  162. package/dist/assets/{TopExDetailPage-oCk5X1ga-b7oteKxs.js → TopExDetailPage-oCk5X1ga-_XbqU7Cy.js} +1 -1
  163. package/dist/assets/{TransactionActivityLogPage-nNEnRuxA-DgSPVh85.js → TransactionActivityLogPage-nNEnRuxA-D0W6uSRJ.js} +1 -1
  164. package/dist/assets/{TransactionDetailPage-BXQ5ksBH-YOlZ51Uf.js → TransactionDetailPage-BXQ5ksBH-9aySS6JE.js} +1 -1
  165. package/dist/assets/{TransactionList-BWV8LDN--T7E1cgUU.js → TransactionList-BWV8LDN--DasYY6VY.js} +1 -1
  166. package/dist/assets/{TransactionListBig-C_K_kh-Q-CF_jEt3p.js → TransactionListBig-C_K_kh-Q-BuizyhIL.js} +1 -1
  167. package/dist/assets/{TransactionListPage-Duf7rjbN-xYqf2OTU.js → TransactionListPage-Duf7rjbN-uryKMmpl.js} +1 -1
  168. package/dist/assets/{TransactionVendorDetailPage-B1BhBjXd-B68h1iEJ.js → TransactionVendorDetailPage-B1BhBjXd-DjioyRnx.js} +1 -1
  169. package/dist/assets/{TransferDrawerPage-DlH8zdQ6-4JQLTKYp.js → TransferDrawerPage-DlH8zdQ6-BGVZ9yDo.js} +1 -1
  170. package/dist/assets/{TreasuryOverviewPage-CwoPszbZ-2TJ6YJVy.js → TreasuryOverviewPage-CwoPszbZ-CSVIklZO.js} +1 -1
  171. package/dist/assets/{TreasuryPromoPage-vnYtT9wt-BT7vg2wI.js → TreasuryPromoPage-vnYtT9wt-CWvNBnGg.js} +1 -1
  172. package/dist/assets/{TreasuryStatementsPage-DF66dQfj-YdehmP5K.js → TreasuryStatementsPage-DF66dQfj-oWIV6U0G.js} +1 -1
  173. package/dist/assets/{TreasuryTaxLetterPage-DyHfEHRJ-Dk_i3mPQ.js → TreasuryTaxLetterPage-DyHfEHRJ-CXzKGUJS.js} +1 -1
  174. package/dist/assets/{TrendChart-DWFAkD1M-rLrsd-Rc.js → TrendChart-DWFAkD1M-DjYrFOEJ.js} +1 -1
  175. package/dist/assets/{TrendWithTransactions-CmQO_iYM-CWBGfczA.js → TrendWithTransactions-CmQO_iYM-DVOOx562.js} +1 -1
  176. package/dist/assets/{UncategorizedAccountsMappingPage-Cpz9ytBO-BvYunpjj.js → UncategorizedAccountsMappingPage-Cpz9ytBO-D6b3_u7p.js} +1 -1
  177. package/dist/assets/{UnitIntegrationPage-DUt0EgH9-CrhKA0X8.js → UnitIntegrationPage-DUt0EgH9-CJqe0NVH.js} +1 -1
  178. package/dist/assets/{UploadAdditionalDocumentOverlay-CF3ZYMeP-BxK_8i6B.js → UploadAdditionalDocumentOverlay-CF3ZYMeP-BRn2NPEs.js} +1 -1
  179. package/dist/assets/{Vendor2FAPopup-31AZ3ofQ-ByfeqFMV.js → Vendor2FAPopup-31AZ3ofQ-BGyHNmys.js} +1 -1
  180. package/dist/assets/{VendorACHDetailsPage-C4ZWGPWZ-DEvx49Vu.js → VendorACHDetailsPage-C4ZWGPWZ-BHb3vXR2.js} +1 -1
  181. package/dist/assets/{VendorDetailPage-BaCVjTbp-CB0Ap7RS.js → VendorDetailPage-BaCVjTbp-D7Z3oOYV.js} +1 -1
  182. package/dist/assets/{VendorDomesticWireDetailsPage-D7BmBMH9-CzIkSVsO.js → VendorDomesticWireDetailsPage-D7BmBMH9-C2sZMcFj.js} +1 -1
  183. package/dist/assets/{VendorFiling1099EditablePage-DEm4nD4L-C8GKsU9A.js → VendorFiling1099EditablePage-DEm4nD4L-D571HPvo.js} +1 -1
  184. package/dist/assets/{VendorFirstReviewPage-EuDBTkMb-5uGJMDW8.js → VendorFirstReviewPage-EuDBTkMb-BTf8MYJI.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireDetailsPage-B3-s03c8-D6bHR05f.js → VendorInternationalWireDetailsPage-B3-s03c8-DO0FTu3y.js} +1 -1
  186. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-BlAFp-w1-Ch6YFnOD.js → VendorInternationalWireSwiftDetailsPage-BlAFp-w1-C7AasOHD.js} +1 -1
  187. package/dist/assets/{VendorsAccountsSection-2RQUw482-DQWkHxTh.js → VendorsAccountsSection-2RQUw482-CAqLMFGW.js} +1 -1
  188. package/dist/assets/{VerifyDevice-DrHOxZ08-DicK7t3o.js → VerifyDevice-DrHOxZ08-DVyrN5Z0.js} +1 -1
  189. package/dist/assets/{VideoPlayer-D7qtpMP6-DY2DpB0L.js → VideoPlayer-D7qtpMP6-CsFzZ519.js} +1 -1
  190. package/dist/assets/{VideoPopup-mcH3S96f-CSNVNU5W.js → VideoPopup-mcH3S96f-DkuZjokK.js} +1 -1
  191. package/dist/assets/{WarningsDrawerPage-BuSNnbS0-BmlAm--l.js → WarningsDrawerPage-BuSNnbS0-BIMX5NzS.js} +1 -1
  192. package/dist/assets/{ZeniAccountDetailPage-DeS7bxGu-B2MkmZWf.js → ZeniAccountDetailPage-DeS7bxGu-Bq9Nou0E.js} +1 -1
  193. package/dist/assets/{ZeniAccountListViewPage-CE9vKT6d-C_0wjRBB.js → ZeniAccountListViewPage-CE9vKT6d-DWFHyUyR.js} +1 -1
  194. package/dist/assets/{ZeniAccountNavBarPieces-DpCkEpt8-DL9r0gov.js → ZeniAccountNavBarPieces-DpCkEpt8-BBeElyTe.js} +1 -1
  195. package/dist/assets/{ZeniAccountPromoPage-CS4DCdI2-B9MH4_YO.js → ZeniAccountPromoPage-CS4DCdI2-5DFNaa9n.js} +1 -1
  196. package/dist/assets/{ZeniAccountSetupPage-B_TE40pq-Dxf2Uc2C.js → ZeniAccountSetupPage-B_TE40pq-f1qSjRFJ.js} +1 -1
  197. package/dist/assets/{ZeniCopyright-CHJRCEOe-C6byioU4.js → ZeniCopyright-CHJRCEOe-B5GzwYg3.js} +1 -1
  198. package/dist/assets/{ZeniTransferAmountSlider-DpxLl7Ue-DPRxI6VI.js → ZeniTransferAmountSlider-DpxLl7Ue-BEvLOenM.js} +1 -1
  199. package/dist/assets/{analyticsHelper-Bp3QyGtE.js → analyticsHelper-RI3-zkau.js} +1 -1
  200. package/dist/assets/{analyticsHelper-huzmVdCu-BJHBr6dz.js → analyticsHelper-huzmVdCu-Bhyk00HN.js} +1 -1
  201. package/dist/assets/{chartTypes-Bka0fHvt-LIfMG0zS.js → chartTypes-Bka0fHvt-BWo3h-xO.js} +1 -1
  202. package/dist/assets/{commonDimensions-CL818jc5-C1bPf58V.js → commonDimensions-CL818jc5-Bzqt58VV.js} +1 -1
  203. package/dist/assets/{commonTypes-BqXyygFE-CnF1i8TV.js → commonTypes-BqXyygFE-4uWjQQC5.js} +1 -1
  204. package/dist/assets/{downloadPdf-DAxy7KUU-_uW3L53O.js → downloadPdf-DAxy7KUU-Ulc9OyuJ.js} +1 -1
  205. package/dist/assets/{helper-C6wE3mOs-ygxajmnJ.js → helper-C6wE3mOs-DbgAXMz4.js} +1 -1
  206. package/dist/assets/{index-DceSoL0X.js → index-DTTvdp5s.js} +5 -5
  207. package/dist/assets/{mapLoadingInProgressToTreeNode-QGHkauXd-qPE55nra.js → mapLoadingInProgressToTreeNode-QGHkauXd-BxkA6KUa.js} +1 -1
  208. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-IAuTtuif-w6n_R73J.js → mapSectionWithAcOnlyToTreeNode-IAuTtuif-DnF_cfia.js} +1 -1
  209. package/dist/assets/{mapSpacerToTreeNode-CsVNH3Xd-QYfiumtX.js → mapSpacerToTreeNode-CsVNH3Xd-DW_Xs7oM.js} +1 -1
  210. package/dist/assets/{mapTimeframeBalancesToTreeNode-CCLjlNlu-MJgc9UaW.js → mapTimeframeBalancesToTreeNode-CCLjlNlu-CtkqAT3a.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-DliXXFXC-BfnSqJsP.js → mapTimeframeBalancesToTreeNode-DliXXFXC-BdbMBNQz.js} +1 -1
  212. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CqDxaCav-BL7jrrEI.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CqDxaCav-CemGi9a-.js} +1 -1
  213. package/dist/assets/{toCOABalancesWithID-D45JW5mT-zLfAfLgo.js → toCOABalancesWithID-D45JW5mT-BqS-NeKk.js} +1 -1
  214. package/dist/assets/{toChartData-C9xZuC9A-cKZFGcPF.js → toChartData-C9xZuC9A-BiyMhGI2.js} +1 -1
  215. package/dist/assets/{uploadAttachment-4DeHQ4oS-Bw7xJmib.js → uploadAttachment-4DeHQ4oS-C6lLr_hq.js} +1 -1
  216. package/dist/assets/{uploadReceipts-Dge0cNF1-COkmL3Gy.js → uploadReceipts-Dge0cNF1-DvbwYbuv.js} +1 -1
  217. package/dist/index.html +1 -1
  218. package/package.json +1 -1
  219. package/dist/assets/CustomerOnboardingContainerPage-BVEjcOzz-Tgi7ne-F.js +0 -1
@@ -1,4 +1,4 @@
1
- import{a9 as se,V as o,fD as Ce,Q as Pe,y as be,aa as we,aS as xe,cJ as ke,bE as Ie,o as i,ac as Ae,ae as ve,aT as $e,bp as Ve,hW as Oe,b as Te,f3 as je,f4 as oe,ah as Le,x as Q,an as Ue,u as A}from"./index-DceSoL0X.js";import{n as l}from"./mui-B9ZZxqGv.js";import{a as v}from"./sentry-DSwgNZrO.js";import{r as ze,t as Ee}from"./PaymentAccountSetupBillingAddressSection-vFIhGJqT-5psa-_DW.js";import{f as _e}from"./CustomerOnboardingDetailPageSkeleton-DzZq9ydV-rcF8sUPi.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./zeni-epic-state-BKQAT3eK.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";import"./commonTypes-BqXyygFE-CnF1i8TV.js";import"./SetUpAccountSection-Bx30O5Ml-WH4usOA9.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="34dc2e3c-ce68-4d83-8dfc-f7c6845a7c79",e._sentryDebugIdIdentifier="sentry-dbid-34dc2e3c-ce68-4d83-8dfc-f7c6845a7c79")}catch{}})();const q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",J={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q(A[3],A[3]),subTitlePaddingBottom:new Q(A[3],A[3])},Be=e=>`${e}_form`,De=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:V,googleAPIKey:O,signedInUser:P,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:b,handleAddCardPaymentSource:z,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:_,redirectToProductSuitePage:w,onUpdateCustomerView:B,...D})=>{const m=Pe(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:W,onZeniLogoClick:G,onAddressEditHandler:x}=D,Z=be(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:$(e),values:$(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:ce,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:le,common:f}=De,{footer:ue,steps:pe}=le,{buttons:H}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:c}=a[n].street,C=je(c?.country);d={street:a[n].street??f.strings.empty,city:c?.locality??f.strings.empty,state:c?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:c?.countryCode??f.strings.empty,postalCode:c?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};v.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),v.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset($(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(c=>c.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,c=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!c&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),j("link_payment_account"),B(me,!1,!0))};v.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset($(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=v.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(Ge,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:G})})}),o.jsx(ve,{...r,children:o.jsx(Ne,{id:Be(ie),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(ze,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:b,cardPaymentView:p,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:O,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx($e,{formId:`${ie}`,leftSideComponent:o.jsx(We,{windowSize:m,children:o.jsx(Ve,{signedInUser:P,currentTenant:T,onLogOutClick:W})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:he,label:H.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:b,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:z,cardPaymentView:p,stripeKey:V,isCardPaymentOpen:ce.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:_,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=l.div`
1
+ import{a9 as se,V as o,fD as Ce,Q as Pe,y as be,aa as we,aS as xe,cJ as ke,bE as Ie,o as i,ac as Ae,ae as ve,aT as $e,bp as Ve,hW as Oe,b as Te,f3 as je,f4 as oe,ah as Le,x as Q,an as Ue,u as A}from"./index-DTTvdp5s.js";import{n as l}from"./mui-B9ZZxqGv.js";import{a as v}from"./sentry-DSwgNZrO.js";import{r as ze,t as Ee}from"./PaymentAccountSetupBillingAddressSection-vFIhGJqT-D7XY8fWb.js";import{f as _e}from"./CustomerOnboardingDetailPageSkeleton-DzZq9ydV-CfiONcVh.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./zeni-epic-state-BKQAT3eK.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";import"./commonTypes-BqXyygFE-4uWjQQC5.js";import"./SetUpAccountSection-Bx30O5Ml-YbU6ullc.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="34dc2e3c-ce68-4d83-8dfc-f7c6845a7c79",e._sentryDebugIdIdentifier="sentry-dbid-34dc2e3c-ce68-4d83-8dfc-f7c6845a7c79")}catch{}})();const q="onboardingPaymentAccountSetupSection",ie="customerOnboardingNoStepsDetailPage",n="onboardingSubscriptionBillingAddress",J={titleWidth:new Q(343,580,726,826),subTitlePaddingTop:new Q(A[3],A[3]),subTitlePaddingBottom:new Q(A[3],A[3])},Be=e=>`${e}_form`,De=Te.getLocalizedStrings(),Fe=({onboardingCustomerView:e,connectedAccountProvider:u,cardPaymentView:p,stripeKey:V,googleAPIKey:O,signedInUser:P,currentTenant:T,onUpdateStep:j,handleCreateCardSetupIntent:L,handleConfirmCardSetupIntent:U,updateCardPaymentModalState:b,handleAddCardPaymentSource:z,resetCardPaymentViewState:E,handleResetCardPaymentErrorStatuses:_,redirectToProductSuitePage:w,onUpdateCustomerView:B,...D})=>{const m=Pe(),F=se(),{analytics:h}=F,{onFetchLinkTokenClick:K,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionClick:S,onEstablishConnectionSuccess:N,handleLogOutClick:W,onZeniLogoClick:G,onAddressEditHandler:x}=D,Z=be(),r=we({mode:"onSubmit",reValidateMode:"onSubmit",defaultValues:$(e),values:$(e),shouldFocusError:!0,resetOptions:{keepDirtyValues:!0}}),{companyOfficerLocalData:re,saveStatus:g,paymentAccount:k,paymentAccountStatus:de,plaidConnectionDetails:X,uiState:ce,allNationalityCountries:Y,subscriptionBillingAddress:y}=e,{customerOnboardingPage:le,common:f}=De,{footer:ue,steps:pe}=le,{buttons:H}=ue,ee=pe.link_payment_account,I=xe(g.fetchState),te=Object.values(re).findIndex(t=>t?.isSelectedForVerification===!0)??0,me=`Officer_${te<0?1:te+1}`,ge=async(t,a)=>{if(t.includes(n)&&a[n]!=null){const s=r.getValues(`${n}`).country;let d=a[n];if(t.includes(`${n}.street`)&&a[n].street!=null){const{addressValue:c}=a[n].street,C=je(c?.country);d={street:a[n].street??f.strings.empty,city:c?.locality??f.strings.empty,state:c?.administrativeAreaLevel1??f.strings.empty,country:C,countryCode:c?.countryCode??f.strings.empty,postalCode:c?.postalCode??f.strings.empty,secondaryInfo:a[n].secondaryInfo,suite:a[n].suite},s.selectedOption!==C.selectedOption&&(d={...d,country:C})}else t===`${n}.country`&&s.selectedOption!=null?d={...d,countryCode:oe(s.selectedOption)}:s.selectedOption!=null&&t.includes(`${n}.street`)===!1&&(d={...d,countryCode:oe(s.selectedOption)});x(d)}};v.useEffect(()=>{const t=r.watch((a,{name:s})=>{s!=null&&a!=null&&ke(()=>ge(s,a))});return()=>{t.unsubscribe()}}),v.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&r.reset($(e),{keepDirtyValues:!1})},[r,e,I,g.fetchState,Y]);const ye=()=>{const t=r.getValues(n),a={street:t.street.addressString,suite:t.suite,city:t.city,state:t.state,postalCode:t.postalCode,country:t.country.selectedOption??f.strings.empty,secondaryInfo:t.secondaryInfo};h.trackOnboardingBillingAddressSave(a)},ne=()=>{const t=Object.values(X).some(c=>c.fetchStatus.fetchState==="Completed"),a=k?.providerVerificationStatus?.code?.includes("verified")??!1,s=p.cardsList.length>0,d=p.bankAccountsList[0]?.providerVerificationStatus?.code?.includes("verified")??!1;return t&&a||!a&&!k&&s||!s&&!k&&d};function fe(){if(r.getFieldState(n).error)return!1;const t=r.getValues(n),a=y?.street.join("").trim(),s=y?.city,d=y?.state,c=y?.country,C=y?.postalCode!=null&&y.postalCode||t.postalCode||f.strings.empty;return!!a&&!!s&&!!d&&!!c&&!!C}const he=async()=>{const t=await r.trigger(n),a=await r.trigger(q);t&&a&&(ye(),j("link_payment_account"),B(me,!1,!0))};v.useEffect(()=>{I==="In-Progress"&&g.fetchState==="Completed"&&(r.reset($(e),{keepDirtyValues:!1}),w())},[r,e,I,g.fetchState,Y,w]);const[ae,Se]=v.useState(!1);return o.jsxs(Ke,{children:[o.jsxs(Me,{windowSize:m,children:[o.jsx(Ie,{title:ee.sectionTitle,showBackButton:!1,backgroundColor:Z.colors.grey4,style:{zIndex:4},source:"CustomerOnboardingPaymentAddressDetailPage",showLeftSection:m!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:i.sp0,paddingBottom:i.sp0},leftSideComponent:o.jsx(Ge,{children:o.jsx(Ze,{"data-testid":Ae("zeni-logo-customer-onboarding-payment-address-detail-page"),onClick:G})})}),o.jsx(ve,{...r,children:o.jsx(Ne,{id:Be(ie),children:o.jsxs(Re,{children:[o.jsx(He,{windowSize:m,children:ee.sectionSubTitle}),o.jsx(ze,{connectedAccountProvider:u,paymentAccount:k,accountStatus:de,plaidConnectionDetails:X,subscriptionBillingAddressSectionId:n,sectionId:q,analytics:h,isValid:ne(),onFetchLinkTokenClick:K,onEstablishConnectionClick:S,onUpdatePaymentAccountStatus:M,onUpdatePaymentAccountLoginStatus:R,onEstablishConnectionSuccess:N,updateCardPaymentModalState:b,cardPaymentView:p,resetCardPaymentViewState:E,cardSetupInProgress:ae,googleAPIKey:O,subscriptionBillingAddress:y})]},"link_payment_account")})}),o.jsx($e,{formId:`${ie}`,leftSideComponent:o.jsx(We,{windowSize:m,children:o.jsx(Ve,{signedInUser:P,currentTenant:T,onLogOutClick:W})}),style:{width:m==="small"?"auto":"100%",padding:i.sp0,rowGap:i.sp1},helperContainerStyle:{width:"100%",rowGap:i.sp1,marginTop:"12px",marginBottom:i.sp2},primaryBtn:{onClick:he,label:H.submit,isLoading:g.fetchState==="In-Progress",isDisabled:g.fetchState==="In-Progress"||!(fe()&&ne())},containerStyle:{width:"auto",justifyContent:"center"},helperText:H.submitText.replace("__action__",H.submit),helperStyle:{width:"auto",padding:i.sp0,rowGap:i.sp0,textAlign:"center"}})]}),o.jsx(Ee,{handleConfirmCardSetupIntent:U,updateCardPaymentModalState:b,handleCreateCardSetupIntent:L,handleAddCardPaymentSource:z,cardPaymentView:p,stripeKey:V,isCardPaymentOpen:ce.isCardPaymentPopupOpen,handleResetCardPaymentErrorStatuses:_,cardSetupInProgress:ae,setCardSetupInProgress:Se})]})},Ke=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{V as l,fD as tn,Q as Ke,y as nn,aa as an,cJ as me,aS as Me,J as ft,aG as We,bE as on,o as re,ae as sn,u as Q,aT as rn,hW as ln,gh as cn,fE as yt,f3 as Ot,b as Ye,f4 as gt,x as fe,gk as ye,cN as dn,an as pn,hX as ht,af as St,cX as un,gj as mn}from"./index-DceSoL0X.js";import{a as m}from"./sentry-DSwgNZrO.js";import{n as P,k as wt}from"./mui-B9ZZxqGv.js";import{bi as j,Ga as fn,Gb as yn}from"./zeni-epic-state-BKQAT3eK.js";import{r as Ct,t as gn}from"./PaymentAccountSetupBillingAddressSection-vFIhGJqT-5psa-_DW.js";import{b as bt,f as hn,a as It}from"./CustomerOnboardingDetailPageSkeleton-DzZq9ydV-rcF8sUPi.js";import{z as Sn,r as Cn}from"./CompanyOfficerDetailsSection-7wea0Ige-DaIiZvTQ.js";import{t as bn}from"./QBOSetupSection-CzvyO3jT-MFHCmvJY.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";import"./commonTypes-BqXyygFE-CnF1i8TV.js";import"./SetUpAccountSection-Bx30O5Ml-WH4usOA9.js";import"./helper-C6wE3mOs-ygxajmnJ.js";import"./LabeledAddressValueField-BJl_17nw-BoellP6H.js";import"./LabeledCountryMultiSelectField-C0QF9TCM-CB5E5Naj.js";import"./LabeledCreatableSingleSelectField-CdMkAJap-1V7j-DDR.js";import"./LabeledDocumentField-De9s68TP-Cri5KHGX.js";import"./QBOConnectionDialog-DkBwI8ar-CHNOORcZ.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new n.Error().stack;C&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[C]="52c12389-bf82-4017-bc94-dfb1b4f588a1",n._sentryDebugIdIdentifier="sentry-dbid-52c12389-bf82-4017-bc94-dfb1b4f588a1")}catch{}})();const In=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:i,isVerificationPopupOpen:g,setIsVerificationPopupOpen:N,verifiedPhoneNumber:O,onPhoneVerified:h,...w})=>{const y=Ke(),V=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:v}=c,D=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(Pn,{children:l.jsx(Cn,{companyOfficerData:C,allOfficers:V??[],allNationalityCountries:i,sectionHeader:v,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:N,...w})})},Pn=P.div`
1
+ import{V as l,fD as tn,Q as Ke,y as nn,aa as an,cJ as me,aS as Me,J as ft,aG as We,bE as on,o as re,ae as sn,u as Q,aT as rn,hW as ln,gh as cn,fE as yt,f3 as Ot,b as Ye,f4 as gt,x as fe,gk as ye,cN as dn,an as pn,hX as ht,af as St,cX as un,gj as mn}from"./index-DTTvdp5s.js";import{a as m}from"./sentry-DSwgNZrO.js";import{n as P,k as wt}from"./mui-B9ZZxqGv.js";import{bi as j,Ga as fn,Gb as yn}from"./zeni-epic-state-BKQAT3eK.js";import{r as Ct,t as gn}from"./PaymentAccountSetupBillingAddressSection-vFIhGJqT-D7XY8fWb.js";import{b as bt,f as hn,a as It}from"./CustomerOnboardingDetailPageSkeleton-DzZq9ydV-CfiONcVh.js";import{z as Sn,r as Cn}from"./CompanyOfficerDetailsSection-7wea0Ige-DHEyt79p.js";import{t as bn}from"./QBOSetupSection-CzvyO3jT-B-G9boGG.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";import"./commonTypes-BqXyygFE-4uWjQQC5.js";import"./SetUpAccountSection-Bx30O5Ml-YbU6ullc.js";import"./helper-C6wE3mOs-DbgAXMz4.js";import"./LabeledAddressValueField-BJl_17nw-BgOwoo2E.js";import"./LabeledCountryMultiSelectField-C0QF9TCM-B3ijRjHg.js";import"./LabeledCreatableSingleSelectField-CdMkAJap-Yq59zanX.js";import"./LabeledDocumentField-De9s68TP-D7Vke8eX.js";import"./QBOConnectionDialog-DkBwI8ar-CXImigqc.js";(function(){try{var n=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},C=new n.Error().stack;C&&(n._sentryDebugIds=n._sentryDebugIds||{},n._sentryDebugIds[C]="52c12389-bf82-4017-bc94-dfb1b4f588a1",n._sentryDebugIdIdentifier="sentry-dbid-52c12389-bf82-4017-bc94-dfb1b4f588a1")}catch{}})();const In=({companyView:n,companyOfficerLocalData:C,allNationalityCountries:i,isVerificationPopupOpen:g,setIsVerificationPopupOpen:N,verifiedPhoneNumber:O,onPhoneVerified:h,...w})=>{const y=Ke(),V=n?.companyOfficers.slice(0,10).sort((I,ee)=>I.user.createTime?.isAfter(ee.user.createTime)===!0?1:-1)?.map(I=>I.user),{company_officer:c}=Ye.getLocalizedStrings().customerOnboardingPage.sections,{title:v}=c,D=n?.company.company.featuresActivationInfo.connectedAccountProvider;return l.jsx(Pn,{children:l.jsx(Cn,{companyOfficerData:C,allOfficers:V??[],allNationalityCountries:i,sectionHeader:v,isPopupOpen:g,productType:"onboarding",connectedAccountProvider:D,showInfoTooltip:y!=="small",showCompletedIcon:y==="small",showOfficerSelect:!1,showVerificationTag:!1,verifiedPhoneNumber:O,onPhoneVerified:h,optionalFields:["dob","officerAddress","role","ssn","ownership","selectDocument","phone"],openPopup:N,...w})})},Pn=P.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  justify-content: center;
@@ -1,4 +1,4 @@
1
- import{Q as F,a9 as I,ay as M,y as U,V as e,bE as _,o as t,ac as b,bp as W,fD as V,b as A,an as H,ah as N,p as l,w as k,ai as R,n as J,e as Z,as as G,b1 as Q}from"./index-DceSoL0X.js";import{a as n}from"./sentry-DSwgNZrO.js";import{n as o}from"./mui-B9ZZxqGv.js";import{GO as q}from"./zeni-epic-state-BKQAT3eK.js";import K from"./ConfettiBurst-JdjFQWmA-B1zUAlBC.js";import{T as X}from"./ProductsCarousel-Bp3BA6jn-Dq3g70sD.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new i.Error().stack;p&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[p]="6743da94-6ab5-408e-b051-435aab5f7411",i._sentryDebugIdIdentifier="sentry-dbid-6743da94-6ab5-408e-b051-435aab5f7411")}catch{}})();const Y=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),Me=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=F(),f=I().analytics,w=M(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=L,D=U(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:B}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=B;return g&&u&&m?[r.withTaxAndPayroll,r.withCFO]:g&&u?[r.withPayroll,r.withCFO]:g&&m?[r.taxAndPayroll]:u&&m?[r.withTax,r.withCFO]:g?[r.onlyPayroll]:u?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},O=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,q(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(_,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:D.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":b("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:x?e.jsxs(ke,{"data-testid":b("update-to-payment-address-details"),onClick:()=>O(a),children:[e.jsx(be,{}),e.jsx(Ce,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(X,{scale:1,showUpdatePaymentDetailButton:x,stopCarousel:y})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(W,{signedInUser:S,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(V,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:$})]})},te=o.div`
1
+ import{Q as F,a9 as I,ay as M,y as U,V as e,bE as _,o as t,ac as b,bp as W,fD as V,b as A,an as H,ah as N,p as l,w as k,ai as R,n as J,e as Z,as as G,b1 as Q}from"./index-DTTvdp5s.js";import{a as n}from"./sentry-DSwgNZrO.js";import{n as o}from"./mui-B9ZZxqGv.js";import{GO as q}from"./zeni-epic-state-BKQAT3eK.js";import K from"./ConfettiBurst-JdjFQWmA-6QLo6cd8.js";import{T as X}from"./ProductsCarousel-Bp3BA6jn-LE6lBjV_.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},p=new i.Error().stack;p&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[p]="6743da94-6ab5-408e-b051-435aab5f7411",i._sentryDebugIdIdentifier="sentry-dbid-6743da94-6ab5-408e-b051-435aab5f7411")}catch{}})();const Y=i=>n.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...i},n.createElement("path",{d:"M9.88423 20.4894C8.54548 20.3068 6.19267 19.6022 4.33971 17.8674C2.48676 16.1326 1.39881 13.7328 1.31521 11.1959C1.23161 8.65899 2.15921 6.19276 3.89394 4.33977C5.62866 2.48678 8.02843 1.39882 10.5653 1.31522C13.1022 1.23161 15.5684 2.15923 17.4213 3.89399C19.2743 5.62875 20.1176 7.48634 20.4166 9.67794",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M12.5596 7.50903H10.7439C10.39 7.50916 10.0465 7.62876 9.76901 7.84845C9.49152 8.06815 9.29632 8.37508 9.21501 8.71955C9.1337 9.06401 9.17105 9.42584 9.321 9.74644C9.47096 10.067 9.72474 10.3276 10.0412 10.486L11.6941 11.3133C12.0107 11.4717 12.2644 11.7323 12.4144 12.0529C12.5643 12.3735 12.6017 12.7353 12.5204 13.0798C12.4391 13.4242 12.2439 13.7312 11.9664 13.9509C11.6889 14.1706 11.3454 14.2902 10.9915 14.2903H9.16902",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M10.4437 14.2906V15.5621",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M11.2918 6.23773V7.50922",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M15.5285 21.8743L12 22.8825L13.0081 19.3539L20.2143 12.1476C20.3088 12.0531 20.437 12 20.5707 12C20.7044 12 20.8325 12.0531 20.9271 12.1476L22.7347 13.9542C22.7816 14.001 22.8189 14.0567 22.8443 14.1179C22.8697 14.1791 22.8828 14.2448 22.8828 14.3111C22.8828 14.3774 22.8697 14.4431 22.8443 14.5043C22.8189 14.5655 22.7816 14.6212 22.7347 14.668L15.5285 21.8743Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M18.5536 13.8079L21.074 16.3283",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),n.createElement("path",{d:"M13.6133 18.7533L16.1337 21.2737",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ee=A.getLocalizedStrings(),Me=({hasVerifiedBankAccount:i,meetingUrl:p,showUpdatePaymentDetailButton:x=!1,isVisitingFirstTime:$=!1,handleUpdatePaymentAddressDetailClick:v,...L})=>{const d=F(),f=I().analytics,w=M(),S=w.loggedInUser,a=w.currentTenant,[y,P]=n.useState(!1),{handleLogOutClick:z,onZeniLogoClick:T,handleCockpitClick:E}=L,D=U(),{customerOnboardingPage:c}=ee,h=s=>{const r=c.productSuite.messageBox;if(!s)return[r.withTaxAndPayroll,r.withCFO];const{productSettings:B}=s,{isPayrollEnabled:g,isCfoEnabled:u,isTaxEnabled:m}=B;return g&&u&&m?[r.withTaxAndPayroll,r.withCFO]:g&&u?[r.withPayroll,r.withCFO]:g&&m?[r.taxAndPayroll]:u&&m?[r.withTax,r.withCFO]:g?[r.onlyPayroll]:u?[r.onlyCFO]:m?[r.onlyTax]:[r.default]},O=s=>{if(v(),!s)return;let r="";i?r="bank_account":r="credit_card",f.trackOnboardingClickUpdatePaymentDetails(r,q(s.productSettings))};return e.jsxs(e.Fragment,{children:[e.jsx(te,{children:e.jsxs(ie,{windowSize:d,children:[e.jsx(oe,{windowSize:d,children:e.jsx(_,{title:c.productSuite.navTitle,showBackButton:!1,backgroundColor:D.colors.grey4,style:{zIndex:5},source:"CustomerOnboardingProductSuitePage",showLeftSection:d!=="small",titleStyle:{display:"flex",alignItems:"center"},navBarContainerStyles:{paddingTop:t.sp0,paddingBottom:t.sp0},leftSideComponent:e.jsx(we,{children:e.jsx(ye,{"data-testid":b("zeni-logo-customer-onboarding-product-suite"),onClick:T})}),rightSideComponent:x?e.jsxs(ke,{"data-testid":b("update-to-payment-address-details"),onClick:()=>O(a),children:[e.jsx(be,{}),e.jsx(Ce,{className:"btnText",children:c.productSuite.updatePaymentDetails})]}):e.jsx(je,{})})}),e.jsxs(re,{windowSize:d,children:[e.jsx(ne,{style:{gap:h(a).length>1?t.sp2:t.sp1,padding:h(a).length>1?`12px ${t.sp4} 12px ${t.sp4}`:`12px ${t.sp3} 12px ${t.sp3}`},children:e.jsxs(se,{children:[e.jsxs(C,{children:[e.jsx(ae,{children:e.jsx(le,{})}),e.jsx(j,{children:h(a)[0]})]}),e.jsx(C,{children:h(a).slice(1).map(s=>e.jsx(j,{children:s},s))})]})}),e.jsx(de,{children:e.jsx(ce,{children:c.productSuite.sectionTitle})}),e.jsx(pe,{children:e.jsx(X,{scale:1,showUpdatePaymentDetailButton:x,stopCarousel:y})}),e.jsxs(he,{href:"https://www.zeni.ai",target:"_blank",rel:"noopener noreferrer",children:[e.jsx(ge,{className:"discover-class",children:c.productSuite.sectionFooter}),e.jsx(ue,{className:"discover-class"})]})]}),e.jsx(me,{children:e.jsxs(xe,{children:[e.jsx(fe,{windowSize:d,children:e.jsx(W,{signedInUser:S,currentTenant:a,onLogOutClick:z,onCockpitClick:E})}),e.jsx(V,{isFooterRendered:!1,meetingUrl:p,analytics:f,productType:"onboarding_interim",showPopup:y,setShowPopup:P})]})})]})}),e.jsx(K,{showConfetti:$})]})},te=o.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{ax as OA,Q as V,ay as Ee,V as e,az as qt,b as Q,aA as Xt,aB as Vt,o as r,aC as Zt,aD as $t,J as UA,p as m,aE as _t,aF as Ar,aG as er,aH as Ie,aI as tr,aJ as rr,aK as or,aL as ar,aM as ir,aN as gr,aO as P,aP as N,aQ as Y,aR as X,ac as D,aa as nr,aS as We,d as qe,ae as Cr,aT as sr,x as eA,aU as z,aV as tA,ao as rA,aW as Xe,aX as J,aY as U,aZ as VA,aq as Er,y as gA,a_ as dr,a$ as Br,b0 as lr,b1 as Qr,ak as F,b2 as TA,u as S,as as ZA,an as HA,b3 as Ve,b4 as Ze,b5 as $e,b6 as Ir,b7 as $A,O as cr,M as hr,b8 as pr,b9 as _e,ba as mr,bb as ur,bc as _A,bd as xr,be as fr,bf as wr,bg as kr,L as At,w as Dr,bh as yr,g as jr,bi as et,bj as tt,ap as vr,bk as br,ai as Mr,au as rt}from"./index-DceSoL0X.js";import{a as t,P as k}from"./sentry-DSwgNZrO.js";import{n as g,a as Sr,c as fA,k as R}from"./mui-B9ZZxqGv.js";import{L as Rr}from"./lottie-DHSNlrty.js";import{bg as Lr,bh as ot,FA as at}from"./zeni-epic-state-BKQAT3eK.js";import{v as Fr}from"./DashboardSidebarBackgroundAnimation-uX3QCu5p-mHJahdDI.js";import{L as Jr,k as Pr}from"./ArAgingChart-CW-BCqsC-D14dt6qa.js";import{E as Ur,T as de,I as it}from"./ReloadCard-CqhIfBOB-BY0vX67l.js";import{L as Or,O as YA,c as QA}from"./TopExCard-CcmlvV2E-DQ9im9Ri.js";import{Y as Tr,X as Hr,H as Yr,P as Kr,G as Nr}from"./RevenueChart-SOIqJqC1-C9wQDXwd.js";import zr from"./InsightsCardStack-cCxIT64L-CUFk6OxI.js";import{a as Gr}from"./AccountsPromoCardStack-94l6cw3--BqluiECW.js";import{c as Z}from"./SummaryCard-CzpKllZ9-BcAcs1DO.js";import{t as Wr,o as qr}from"./arrow-south-east-round-PEovUgvH-CRAkJ5eu.js";import{N as iA}from"./NavigationArrow-DJQDYzJE-BC_4c0HP.js";import{x as Ae}from"./NavigationDots-C2ylmmp9-BUZFmr7S.js";import Xr from"./CompanyPassportCard-BiW2qW0Q-DbzQ0mZs.js";import{C as Vr}from"./gift-box-Cmt9OgIZ-DgonOPJx.js";import Zr from"./InformationCardStack-DNqDhetv-CczzYoVw.js";import{p as gt}from"./chartTypes-Bka0fHvt-LIfMG0zS.js";import{h as $r}from"./toCOABalancesWithID-D45JW5mT-zLfAfLgo.js";import{V as _r}from"./toChartData-C9xZuC9A-cKZFGcPF.js";import{r as Ao,i as eo}from"./graphic-no-data-net-burn-l-CzmycA0m-D4pGKQmg.js";import{N as to,J as ro}from"./PromoBaseCards-BJngCLC1-D1D3BuDF.js";import{r as oo}from"./core-CddRDKK5.js";import{N as ao,I as io}from"./VideoPlayer-D7qtpMP6-DY2DpB0L.js";import go from"./ConfettiBurst-JdjFQWmA-B1zUAlBC.js";import{F as no,G as Co,Y as so,X as Eo,R as Bo}from"./recharts-Df6P8LTk.js";import"./liveblocks-C3olwiFW.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";import"./graphic-no-data-l-DU4J8fDt-CyoR0rrV.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new A.Error().stack;o&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[o]="252a4265-e03d-462c-9072-5313d9e3cf3b",A._sentryDebugIdIdentifier="sentry-dbid-252a4265-e03d-462c-9072-5313d9e3cf3b")}catch{}})();const lo=g(tA)`
1
+ import{ax as OA,Q as V,ay as Ee,V as e,az as qt,b as Q,aA as Xt,aB as Vt,o as r,aC as Zt,aD as $t,J as UA,p as m,aE as _t,aF as Ar,aG as er,aH as Ie,aI as tr,aJ as rr,aK as or,aL as ar,aM as ir,aN as gr,aO as P,aP as N,aQ as Y,aR as X,ac as D,aa as nr,aS as We,d as qe,ae as Cr,aT as sr,x as eA,aU as z,aV as tA,ao as rA,aW as Xe,aX as J,aY as U,aZ as VA,aq as Er,y as gA,a_ as dr,a$ as Br,b0 as lr,b1 as Qr,ak as F,b2 as TA,u as S,as as ZA,an as HA,b3 as Ve,b4 as Ze,b5 as $e,b6 as Ir,b7 as $A,O as cr,M as hr,b8 as pr,b9 as _e,ba as mr,bb as ur,bc as _A,bd as xr,be as fr,bf as wr,bg as kr,L as At,w as Dr,bh as yr,g as jr,bi as et,bj as tt,ap as vr,bk as br,ai as Mr,au as rt}from"./index-DTTvdp5s.js";import{a as t,P as k}from"./sentry-DSwgNZrO.js";import{n as g,a as Sr,c as fA,k as R}from"./mui-B9ZZxqGv.js";import{L as Rr}from"./lottie-DHSNlrty.js";import{bg as Lr,bh as ot,FA as at}from"./zeni-epic-state-BKQAT3eK.js";import{v as Fr}from"./DashboardSidebarBackgroundAnimation-uX3QCu5p-CeB2pxif.js";import{L as Jr,k as Pr}from"./ArAgingChart-CW-BCqsC-BtxyR8I7.js";import{E as Ur,T as de,I as it}from"./ReloadCard-CqhIfBOB-C75CM26d.js";import{L as Or,O as YA,c as QA}from"./TopExCard-CcmlvV2E-Clvvz72a.js";import{Y as Tr,X as Hr,H as Yr,P as Kr,G as Nr}from"./RevenueChart-SOIqJqC1-9ZYNExTj.js";import zr from"./InsightsCardStack-cCxIT64L-DU3Qpccr.js";import{a as Gr}from"./AccountsPromoCardStack-94l6cw3--3Lnw9MVy.js";import{c as Z}from"./SummaryCard-CzpKllZ9-C4GHMb0-.js";import{t as Wr,o as qr}from"./arrow-south-east-round-PEovUgvH-CRAkJ5eu.js";import{N as iA}from"./NavigationArrow-DJQDYzJE-CYx11w2d.js";import{x as Ae}from"./NavigationDots-C2ylmmp9-R3cC46Nq.js";import Xr from"./CompanyPassportCard-BiW2qW0Q-DDI1Qnh_.js";import{C as Vr}from"./gift-box-Cmt9OgIZ-DgonOPJx.js";import Zr from"./InformationCardStack-DNqDhetv-DSc1dN_S.js";import{p as gt}from"./chartTypes-Bka0fHvt-BWo3h-xO.js";import{h as $r}from"./toCOABalancesWithID-D45JW5mT-BqS-NeKk.js";import{V as _r}from"./toChartData-C9xZuC9A-BiyMhGI2.js";import{r as Ao,i as eo}from"./graphic-no-data-net-burn-l-CzmycA0m-D4pGKQmg.js";import{N as to,J as ro}from"./PromoBaseCards-BJngCLC1-CSjHQJJe.js";import{r as oo}from"./core-CddRDKK5.js";import{N as ao,I as io}from"./VideoPlayer-D7qtpMP6-CsFzZ519.js";import go from"./ConfettiBurst-JdjFQWmA-6QLo6cd8.js";import{F as no,G as Co,Y as so,X as Eo,R as Bo}from"./recharts-Df6P8LTk.js";import"./liveblocks-C3olwiFW.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";import"./graphic-no-data-l-DU4J8fDt-CyoR0rrV.js";(function(){try{var A=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new A.Error().stack;o&&(A._sentryDebugIds=A._sentryDebugIds||{},A._sentryDebugIds[o]="252a4265-e03d-462c-9072-5313d9e3cf3b",A._sentryDebugIdIdentifier="sentry-dbid-252a4265-e03d-462c-9072-5313d9e3cf3b")}catch{}})();const lo=g(tA)`
2
2
  color: ${A=>A.theme.colors.champion};
3
3
  `,ce=g.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{Q as B,y as Z,b as _,ay as ke,V as s,bE as Xe,L as Je,J as Qe,bF as qe,o as d,x as L,aG as q,bG as Ke,bH as et,ak as oe,u as j,b5 as tt,aX as st,d as Oe,a as Be,p as T,as as Pe,aW as ot,bc as at,ap as nt,bI as it,av as rt,bJ as ct,bK as ne,bL as lt,au as dt,ao as pt,bM as ut,bN as gt}from"./index-DceSoL0X.js";import{a as S,P as K}from"./sentry-DSwgNZrO.js";import{n as u,k as Ie}from"./mui-B9ZZxqGv.js";import{bg as ht,FC as mt,EY as ft,FD as bt,FE as xt,FF as _t,FG as wt,FH as yt,FI as St,FJ as vt,FK as $t}from"./zeni-epic-state-BKQAT3eK.js";import{m as G,l as se}from"./analyticsHelper-huzmVdCu-BJHBr6dz.js";import{x as Ct,b as jt}from"./ReportTableViewSelector-Cot8YlVL-BAZ1GdJN.js";import{F as kt}from"./InsightsSection-CbrrmEg4-D4vQ_6my.js";import{H as ee}from"./BalancesInsightWithToolTip-e99DEARd-B-O4Ljlc.js";import{y as Ot,$ as Bt,v as Pt,M as xe,b as pe}from"./TimeRangeSwitcher-ejYmSzzU-BGF2Hlek.js";import{G as It,P as Lt,Y as _e,X as we,H as ye}from"./RevenueChart-SOIqJqC1-C9wQDXwd.js";import{C as Nt}from"./NoDataChart-BO4tisNf-D8owAUYk.js";import{n as D}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{T as Le}from"./TimeframeSwitcher-B1rtSeeP-s5XP-zq2.js";import{X as Rt,J as E,y as Dt,h as ue,D as Tt}from"./CollapsableReportTable-B7wBJa-J-CFRGpr0Y.js";import{S as zt,M as Ft,g as Mt,C as te,L as Ne,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-IAuTtuif-w6n_R73J.js";import{d as At}from"./NoDataTable-BEVgI9LO-CYWfmTuA.js";import{d as ge,l as he}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-CqDxaCav-BL7jrrEI.js";import{d as me}from"./mapLoadingInProgressToTreeNode-QGHkauXd-qPE55nra.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";import"./NavigationDots-C2ylmmp9-BUZFmr7S.js";import"./chartTypes-Bka0fHvt-LIfMG0zS.js";import"./toCOABalancesWithID-D45JW5mT-zLfAfLgo.js";import"./toChartData-C9xZuC9A-cKZFGcPF.js";import"./AccountRow-DHebunB5-DIYXQfGx.js";import"./graphic-no-data-l-DU4J8fDt-CyoR0rrV.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]="953ccfe9-8f80-4cbd-be30-3c8b3a92e754",e._sentryDebugIdIdentifier="sentry-dbid-953ccfe9-8f80-4cbd-be30-3c8b3a92e754")}catch{}})();const Et=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),S.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
1
+ import{Q as B,y as Z,b as _,ay as ke,V as s,bE as Xe,L as Je,J as Qe,bF as qe,o as d,x as L,aG as q,bG as Ke,bH as et,ak as oe,u as j,b5 as tt,aX as st,d as Oe,a as Be,p as T,as as Pe,aW as ot,bc as at,ap as nt,bI as it,av as rt,bJ as ct,bK as ne,bL as lt,au as dt,ao as pt,bM as ut,bN as gt}from"./index-DTTvdp5s.js";import{a as S,P as K}from"./sentry-DSwgNZrO.js";import{n as u,k as Ie}from"./mui-B9ZZxqGv.js";import{bg as ht,FC as mt,EY as ft,FD as bt,FE as xt,FF as _t,FG as wt,FH as yt,FI as St,FJ as vt,FK as $t}from"./zeni-epic-state-BKQAT3eK.js";import{m as G,l as se}from"./analyticsHelper-huzmVdCu-Bhyk00HN.js";import{x as Ct,b as jt}from"./ReportTableViewSelector-Cot8YlVL-BAkQrlxg.js";import{F as kt}from"./InsightsSection-CbrrmEg4-Dp1d-AHv.js";import{H as ee}from"./BalancesInsightWithToolTip-e99DEARd-hZLMtJqx.js";import{y as Ot,$ as Bt,v as Pt,M as xe,b as pe}from"./TimeRangeSwitcher-ejYmSzzU-6-tvMBjw.js";import{G as It,P as Lt,Y as _e,X as we,H as ye}from"./RevenueChart-SOIqJqC1-9ZYNExTj.js";import{C as Nt}from"./NoDataChart-BO4tisNf-B1dDA7-k.js";import{n as D}from"./getReferrerType-DjPOy76W-DRP5VHem.js";import{T as Le}from"./TimeframeSwitcher-B1rtSeeP-CtKc8QVS.js";import{X as Rt,J as E,y as Dt,h as ue,D as Tt}from"./CollapsableReportTable-B7wBJa-J-DFZw9oQ9.js";import{S as zt,M as Ft,g as Mt,C as te,L as Ne,D as Re,T as De}from"./mapSectionWithAcOnlyToTreeNode-IAuTtuif-DnF_cfia.js";import{d as At}from"./NoDataTable-BEVgI9LO-CyJfYq90.js";import{d as ge,l as he}from"./mapTimeframeHeaderLoadingInProgressToTreeNode-CqDxaCav-CemGi9a-.js";import{d as me}from"./mapLoadingInProgressToTreeNode-QGHkauXd-BxkA6KUa.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";import"./NavigationDots-C2ylmmp9-R3cC46Nq.js";import"./chartTypes-Bka0fHvt-BWo3h-xO.js";import"./toCOABalancesWithID-D45JW5mT-BqS-NeKk.js";import"./toChartData-C9xZuC9A-BiyMhGI2.js";import"./AccountRow-DHebunB5-BEb8jkDV.js";import"./graphic-no-data-l-DU4J8fDt-CyoR0rrV.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]="953ccfe9-8f80-4cbd-be30-3c8b3a92e754",e._sentryDebugIdIdentifier="sentry-dbid-953ccfe9-8f80-4cbd-be30-3c8b3a92e754")}catch{}})();const Et=e=>S.createElement("svg",{viewBox:"0 0 120 120",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},S.createElement("path",{opacity:.2,d:"M105.021 115.208C105.021 116.479 104.516 117.698 103.617 118.596C102.718 119.495 101.5 120 100.229 120H28.3539C27.083 120 25.8643 119.495 24.9656 118.596C24.067 117.698 23.5622 116.479 23.5622 115.208V14.5832C23.5622 13.3123 24.067 12.0936 24.9656 11.195C25.8643 10.2963 27.083 9.7915 28.3539 9.7915H71.4789L105.021 43.3332V115.208Z",fill:"#97C3B9"}),S.createElement("path",{opacity:.2,d:"M71.4785 9.7915V38.5415C71.4785 39.8123 71.9834 41.0311 72.882 41.9297C73.7806 42.8283 74.9994 43.3332 76.2702 43.3332H105.02",fill:"#97C3B9"}),S.createElement("path",{d:"M33.6636 70.0449H37.2636",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 81.2539H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 92.4626H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M33.6635 103.671H37.2635",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 70.0449L80.6987 70.0449",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 81.2539L80.6987 81.2539",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.0987 92.4626L80.6987 92.4626",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M47.6084 103.671L81.2084 103.671",stroke:"#EEBA7D",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M100.729 110.313C100.729 111.583 100.224 112.802 99.3258 113.701C98.4272 114.6 97.2084 115.104 95.9375 115.104H24.0625C22.7917 115.104 21.5729 114.6 20.6743 113.701C19.7757 112.802 19.2709 111.583 19.2709 110.313V9.68766C19.2709 8.41683 19.7757 7.19805 20.6743 6.29944C21.5729 5.40083 22.7917 4.896 24.0625 4.896H67.1875L100.729 38.4377V110.313Z",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M67.1872 4.896V33.646C67.1872 34.9168 67.692 36.1356 68.5906 37.0342C69.4893 37.9328 70.708 38.4377 71.9789 38.4377H100.729",stroke:"#97C3B9",strokeWidth:1.00757,strokeLinecap:"round",strokeLinejoin:"round"}),S.createElement("path",{d:"M43.4564 21.9438V17.5398",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M43.4564 54.3497V50.1257",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"}),S.createElement("path",{d:"M33.6635 40.7779C33.6635 42.8599 34.1555 45.0139 35.3975 46.7239C36.7415 48.5719 38.8595 49.5619 41.0735 49.9339C43.1375 50.2819 45.2855 50.1499 47.3135 49.6759C51.5135 48.6979 54.5675 44.3959 52.6955 40.1179C51.5795 37.5619 48.8855 36.4219 46.2635 36.1699C44.3675 35.9899 42.4294 35.9779 40.5334 35.7079C38.9374 35.4799 37.3475 34.9459 36.1895 33.7819C35.0315 32.6179 34.3895 30.8599 34.4495 29.1619C34.5335 26.6359 35.9915 24.4999 38.2415 23.3959C40.5995 22.2379 43.4675 22.1839 46.0115 22.6219C47.6855 22.9099 49.3294 23.6119 50.4994 24.8419C51.9694 26.3899 52.4555 28.5019 52.5275 30.5719",stroke:"#95C1B7",strokeWidth:1.00757,strokeMiterlimit:10,strokeLinecap:"round"})),Vt=u.div`
2
2
  justify-content: center;
3
3
  align-items: center;
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{ax as b,V as o,b7 as f,o as p}from"./index-DceSoL0X.js";import{a as s}from"./sentry-DSwgNZrO.js";import{a as h,n as m}from"./mui-B9ZZxqGv.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]="037aa97a-20aa-4ac5-84c4-9b2dfa9d146b",e._sentryDebugIdIdentifier="sentry-dbid-037aa97a-20aa-4ac5-84c4-9b2dfa9d146b")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[i,d]=b(l,r),[a,c]=s.useState(null);i!=null&&a==null&&!d&&c(i);const u=e&&t.mode==="light"?.7:.2;return(e||n)&&a!=null?o.jsx(y,{contextWiseOpacity:u,newYearAnimationEnabled:n,children:o.jsx(f,{style:{width:"inherit",height:"inherit",display:"block"},animationData:a,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
1
+ import{ax as b,V as o,b7 as f,o as p}from"./index-DTTvdp5s.js";import{a as s}from"./sentry-DSwgNZrO.js";import{a as h,n as m}from"./mui-B9ZZxqGv.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]="037aa97a-20aa-4ac5-84c4-9b2dfa9d146b",e._sentryDebugIdIdentifier="sentry-dbid-037aa97a-20aa-4ac5-84c4-9b2dfa9d146b")}catch{}})();const D=s.memo(function({christmasAnimationEnabled:e=!1,newYearAnimationEnabled:n=!1}){const t=h(),r=e||n,l=n?"DashboardNewYearShow":"DashboardChristmasSnow",[i,d]=b(l,r),[a,c]=s.useState(null);i!=null&&a==null&&!d&&c(i);const u=e&&t.mode==="light"?.7:.2;return(e||n)&&a!=null?o.jsx(y,{contextWiseOpacity:u,newYearAnimationEnabled:n,children:o.jsx(f,{style:{width:"inherit",height:"inherit",display:"block"},animationData:a,play:!0,loop:n?5:!0,rendererSettings:{preserveAspectRatio:"xMidYMid slice"}})}):null}),y=m.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{aQ as y,hL as u,Q as $,V as l,o as i,an as c,ao as w}from"./index-DceSoL0X.js";import{n as t}from"./mui-B9ZZxqGv.js";import{g as k}from"./BoxItem-F9HlKmjN-xqfWS_hX.js";import{o as v}from"./commonDimensions-CL818jc5-C1bPf58V.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]="550e7af2-e618-4bf8-8431-35f9e79dfcf7",e._sentryDebugIdIdentifier="sentry-dbid-550e7af2-e618-4bf8-8431-35f9e79dfcf7")}catch{}})();function K({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:f,logo:p,summary:x,direction:b,status:m}=e,g=r.length>0?r:x,a=y("0,0.00",f),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(T,{src:p?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(N,{children:g}),s!=null?l.jsxs(Q,{windowSize:o,children:[l.jsx(E,{windowSize:o}),l.jsx(C,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(P,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
1
+ import{aQ as y,hL as u,Q as $,V as l,o as i,an as c,ao as w}from"./index-DTTvdp5s.js";import{n as t}from"./mui-B9ZZxqGv.js";import{g as k}from"./BoxItem-F9HlKmjN-CSouLxfb.js";import{o as v}from"./commonDimensions-CL818jc5-Bzqt58VV.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]="550e7af2-e618-4bf8-8431-35f9e79dfcf7",e._sentryDebugIdIdentifier="sentry-dbid-550e7af2-e618-4bf8-8431-35f9e79dfcf7")}catch{}})();function K({data:e,boxType:n}){const{counterParty:r,typeName:d,amount:f,logo:p,summary:x,direction:b,status:m}=e,g=r.length>0?r:x,a=y("0,0.00",f),s=u(m),o=$(),h=l.jsxs(D,{children:[l.jsx(T,{src:p?.toString(),loading:"lazy"}),l.jsx(I,{children:l.jsxs(_,{windowSize:o,children:[l.jsx(N,{children:g}),s!=null?l.jsxs(Q,{windowSize:o,children:[l.jsx(E,{windowSize:o}),l.jsx(C,{color:s?.color,children:s?.value})]}):null]})}),l.jsxs(j,{windowSize:o,children:[d!=null?l.jsx(z,{children:l.jsx(S,{className:"tag",children:d})}):null,l.jsx(P,{windowSize:o,children:b==="debit"?`-${a}`:a})]})]});return l.jsx(k,{content:h,boxType:n,isDisabled:!1,isNotClickable:!0})}const j=t.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.windowSize==="small"?"column-reverse":"row"};
4
4
  align-items: ${e=>e.windowSize==="small"?"flex-end":"center"};
@@ -1,4 +1,4 @@
1
- import{y as M,Q as S,V as t,bE as I,b5 as z,hU as E,o,b as Y,p as u,cx as C,dj as F,dk as _,de as L,dl as T,x as B,ak as R,an as V,u as x}from"./index-DceSoL0X.js";import{a as g}from"./sentry-DSwgNZrO.js";import{n as a}from"./mui-B9ZZxqGv.js";import{bh as A}from"./zeni-epic-state-BKQAT3eK.js";import{$ as N}from"./BoxItem-F9HlKmjN-xqfWS_hX.js";import{o as P}from"./commonDimensions-CL818jc5-C1bPf58V.js";import{H as Q}from"./DepositAccTransactionItem-DI2iFIOE-D78pehet.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.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]="776089c7-3ff4-4352-a9b1-de43a45acdb8",e._sentryDebugIdIdentifier="sentry-dbid-776089c7-3ff4-4352-a9b1-de43a45acdb8")}catch{}})();const l=Y.getLocalizedStrings(),H={listItemMargin:new B(x[3],x[8])};function U(e){const i=F(e,r=>r.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=_(i,r=>r.length>0);return L(d,r=>({date:r[0].transactionDate,transactions:T(r,m=>m.transactionDate,"desc")}))}const X=E(U),pe=({transactionListView:e,onBackClick:i})=>{const d=M(),r=S(),m=g.createRef(),p=g.useRef(null),c=X(e.transactions),k=e.depositAccountName,f=c.length===0,j=n=>f===!1?c[n].transactions.length*P.transactionItemHeightResponsive.value(r)+45:24,v=({index:n,style:h})=>{if(f===!1){const s=c[n];return t.jsx(w,{style:{...h},children:t.jsx(y,{windowSize:r,children:t.jsxs($,{children:[t.jsx(K,{children:A().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(O,{children:s.transactions.map((D,b)=>t.jsx(Q,{data:D,boxType:N(b,s.transactions.length)},b))})]})})})}else return t.jsx(w,{style:{...h},children:t.jsx(q,{children:t.jsx(y,{windowSize:r,children:t.jsx(J,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(G,{children:[t.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:d.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(z,{children:({height:n,width:h})=>t.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:c.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},w=a.div``,y=a.div`
1
+ import{y as M,Q as S,V as t,bE as I,b5 as z,hU as E,o,b as Y,p as u,cx as C,dj as F,dk as _,de as L,dl as T,x as B,ak as R,an as V,u as x}from"./index-DTTvdp5s.js";import{a as g}from"./sentry-DSwgNZrO.js";import{n as a}from"./mui-B9ZZxqGv.js";import{bh as A}from"./zeni-epic-state-BKQAT3eK.js";import{$ as N}from"./BoxItem-F9HlKmjN-CSouLxfb.js";import{o as P}from"./commonDimensions-CL818jc5-Bzqt58VV.js";import{H as Q}from"./DepositAccTransactionItem-DI2iFIOE-PbGEmDvK.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.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]="776089c7-3ff4-4352-a9b1-de43a45acdb8",e._sentryDebugIdIdentifier="sentry-dbid-776089c7-3ff4-4352-a9b1-de43a45acdb8")}catch{}})();const l=Y.getLocalizedStrings(),H={listItemMargin:new B(x[3],x[8])};function U(e){const i=F(e,r=>r.transactionDate.format(l.dateFormat.visual.MMMDCommaYYYYformat)),d=_(i,r=>r.length>0);return L(d,r=>({date:r[0].transactionDate,transactions:T(r,m=>m.transactionDate,"desc")}))}const X=E(U),pe=({transactionListView:e,onBackClick:i})=>{const d=M(),r=S(),m=g.createRef(),p=g.useRef(null),c=X(e.transactions),k=e.depositAccountName,f=c.length===0,j=n=>f===!1?c[n].transactions.length*P.transactionItemHeightResponsive.value(r)+45:24,v=({index:n,style:h})=>{if(f===!1){const s=c[n];return t.jsx(w,{style:{...h},children:t.jsx(y,{windowSize:r,children:t.jsxs($,{children:[t.jsx(K,{children:A().year()===s.date.year()?s.date.format(l.dateFormat.visual.MMMDFormat):s.date.format(l.dateFormat.visual.MMMDCommaYYYYformat)}),t.jsx(O,{children:s.transactions.map((D,b)=>t.jsx(Q,{data:D,boxType:N(b,s.transactions.length)},b))})]})})})}else return t.jsx(w,{style:{...h},children:t.jsx(q,{children:t.jsx(y,{windowSize:r,children:t.jsx(J,{children:l.transactionList.noTransactionsFoundForPrefix})})})})};return t.jsxs(G,{children:[t.jsx(I,{title:`${k} ${l.spendManagement.zeniAccounts.transactionList.title}`,backgroundColor:d.colors.grey4,style:{zIndex:3},onBackClick:i,scrollableContent:p.current!=null?p:void 0,source:"DepositAccTransactionListPage"}),t.jsx($,{children:t.jsx(z,{children:({height:n,width:h})=>t.jsx(Z,{ref:m,height:n,width:h,outerRef:p,itemKey:s=>s,itemCount:c.length,itemSize:j,initialScrollOffset:0,children:v})})})]})},w=a.div``,y=a.div`
2
2
  margin: ${e=>`${o.sp0} ${H.listItemMargin.valuePx(e.windowSize)}`};
3
3
  `,q=a.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{Q as J,aa as O,b as N,cJ as U,aG as G,V as n,ct as H,cu as Q,cv as q,ae as K,aT as X,x as b,f0 as Y,o as Z,bb as ee,u as o}from"./index-DceSoL0X.js";import{a as w}from"./sentry-DSwgNZrO.js";import{n as h}from"./mui-B9ZZxqGv.js";import{bi as S}from"./zeni-epic-state-BKQAT3eK.js";import{e as ne}from"./BankAccountSection-BvIYx2co-BamiC5Ie.js";import{M as te}from"./MagicLinkTitleSection-D1tjQ-VI-B06aRvZu.js";import{W as ae,A as oe}from"./BankAccountWarningSection-CqyeSTWe-C-YFtMtw.js";import{T as ie}from"./MailingDetailsSection-CnGInDUg-DZA0H6jP.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]="cfa1b5ba-704d-4518-84f2-93be5c30f08d",e._sentryDebugIdIdentifier="sentry-dbid-cfa1b5ba-704d-4518-84f2-93be5c30f08d")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},D="domesticWireDetailsPage",k="bankAccountSection",$="mailingAddressSection",B=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:j,isMagicLink:f,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:C}=e,u=J(),c=O({mode:"onBlur",reValidateMode:"onChange",defaultValues:w.useMemo(()=>se(s,r),[s,r])}),[W,g]=w.useState(!1),a=N.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=N.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,_={onOkClick:()=>{g(!1),c.reset(),C?.()},onCancelClick:()=>{g(!1)}},V=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&R?.(d)};w.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&U(()=>V(d,m))});return()=>{p.unsubscribe()}});const F=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),T=!G(x!=null?S(x):x,r!=null?S(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[W===!0?n.jsx(H,{titleComponent:n.jsx(q,{children:a.discardTitle}),descriptionComponent:n.jsx(Q,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:_}):null,n.jsx(ae,{header:f?n.jsx(te,{companyName:j??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:f,isDirty:T,onBackClick:C,setShowConfirmationPopup:g}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(K,{...c,children:n.jsxs("form",{id:B(D),onSubmit:F,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:$,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId:B(D),primaryBtn:{label:f?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!f,cancelBtn:{label:E.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{T?g(!0):(c.reset(),C?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[$]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
1
+ import{Q as J,aa as O,b as N,cJ as U,aG as G,V as n,ct as H,cu as Q,cv as q,ae as K,aT as X,x as b,f0 as Y,o as Z,bb as ee,u as o}from"./index-DTTvdp5s.js";import{a as w}from"./sentry-DSwgNZrO.js";import{n as h}from"./mui-B9ZZxqGv.js";import{bi as S}from"./zeni-epic-state-BKQAT3eK.js";import{e as ne}from"./BankAccountSection-BvIYx2co-CImXpQhP.js";import{M as te}from"./MagicLinkTitleSection-D1tjQ-VI-pANNPRX7.js";import{W as ae,A as oe}from"./BankAccountWarningSection-CqyeSTWe-tblHe04a.js";import{T as ie}from"./MailingDetailsSection-CnGInDUg-CdEHoCH2.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]="cfa1b5ba-704d-4518-84f2-93be5c30f08d",e._sentryDebugIdIdentifier="sentry-dbid-cfa1b5ba-704d-4518-84f2-93be5c30f08d")}catch{}})();const i={paddingTopBottom:new b(o[3],o[3]),paddingRight:new b(o[3],o[8]),paddingLeft:new b(o[3],o[6]),buttonWidth:new b(140,140),marginLeft:new b(o[4],o[6])},D="domesticWireDetailsPage",k="bankAccountSection",$="mailingAddressSection",B=e=>`${e}_form`,xe=e=>{const{bankAccountCreationState:t,fetchBankNameByRoutingStatus:l,addressType:y,bankAccountToCreate:s,addressToEdit:r,mailingAddress:x,isDisabled:A,companyName:j,isMagicLink:f,currencySymbol:v,amount:P,onSaveHandler:z,onWireDetailsUpdated:I,onFetchBankName:R,onAddressClick:L,onBackClick:C}=e,u=J(),c=O({mode:"onBlur",reValidateMode:"onChange",defaultValues:w.useMemo(()=>se(s,r),[s,r])}),[W,g]=w.useState(!1),a=N.getLocalizedStrings().spendManagement.billPay.vendorCreation,E=N.getLocalizedStrings().common.footer,M=a.wireDetails.domestic,_={onOkClick:()=>{g(!1),c.reset(),C?.()},onCancelClick:()=>{g(!1)}},V=async(p,m)=>{const d=m[k].bankRoutingNumber;I(m),p===`${k}.bankRoutingNumber`&&d?.length===9&&Y.test(d)===!0&&R?.(d)};w.useEffect(()=>{const p=c.watch((m,{name:d})=>{d!=null&&m!=null&&U(()=>V(d,m))});return()=>{p.unsubscribe()}});const F=c.handleSubmit(p=>{l.fetchState!=="In-Progress"&&z("wire")}),T=!G(x!=null?S(x):x,r!=null?S(r):r)||re(s)||c.formState.isDirty;return n.jsxs(ue,{children:[n.jsxs(le,{size:u,children:[W===!0?n.jsx(H,{titleComponent:n.jsx(q,{children:a.discardTitle}),descriptionComponent:n.jsx(Q,{children:a.discardDescription}),primaryButtonText:a.discard,secondaryButtonText:a.cancel,action:_}):null,n.jsx(ae,{header:f?n.jsx(te,{companyName:j??"",currencySymbol:v??"",amount:P??0}):M.addWireDetails,isMagicLink:f,isDirty:T,onBackClick:C,setShowConfirmationPopup:g}),t?.fetchState==="Error"&&t.error?.code===409?n.jsx(oe,{warningText:a.bankAccountCommon.accountExistWarning}):null,n.jsx(de,{size:u,children:a.bankAccountCommon.accountDetailsTitle}),n.jsx(K,{...c,children:n.jsxs("form",{id:B(D),onSubmit:F,children:[n.jsx(ce,{size:u,children:n.jsx(ne,{bankAccountToCreate:s,fetchBankNameByRoutingStatus:l,sectionId:k,isDisabled:A})}),n.jsx(ie,{sectionId:$,isDisabled:A,addressType:y,addressToEdit:r,onAddressClick:L})]})})]}),n.jsx(X,{formId:B(D),primaryBtn:{label:f?a.bankAccountCommon.submitDetails:a.bankAccountCommon.saveAccount,isLoading:t.fetchState==="In-Progress",style:{width:i.buttonWidth.value(u)},isDisabled:A!=null},showCancel:!f,cancelBtn:{label:E.cancel,style:{width:i.buttonWidth.value(u)},shouldResetOnCancel:!1,onClick:()=>{T?g(!0):(c.reset(),C?.())}}})]})},se=(e,t)=>({[k]:{bankRoutingNumber:e?.bankRoutingNumber,bankName:e?.bankName,bankAccountNumber:e?.bankAccountNumber,bankAccountType:e?.bankAccountType,confirmedBankAccountNumber:e?.confirmedBankAccountNumber,bankAccountName:e?.bankAccountName},[$]:{mailingAddress:t}}),re=e=>{if(e==null)return!1;const{bankAccountName:t,bankAccountNumber:l,bankName:y,bankRoutingNumber:s}=e;return!!t||!!l||!!y||!!s},ce=h.div`
2
2
  padding-left: ${e=>i.paddingLeft.valuePx(e.size)};
3
3
  padding-right: ${e=>i.paddingRight.valuePx(e.size)};
4
4
  padding-top: ${e=>i.paddingTopBottom.valuePx(e.size)};
@@ -1,4 +1,4 @@
1
- import{V as t,c7 as pt,o as s,Q as ge,c8 as mt,ap as qe,p as xe,x as Z,d as ht,b as v,c9 as ft,bQ as Ze,u as V,bb as Je,an as R,bV as Se,w as re,ao as ye,a as ne,y as Xe,bX as ut,ca as $e,cb as we,L as Ke,cc as et,bO as bt,bc as gt,aq as Fe,bS as X,cd as xt,ce as yt,bM as $t,bW as wt,as as Ft,cf as jt,c3 as Ot,av as _t}from"./index-DceSoL0X.js";import{a as m,P as je}from"./sentry-DSwgNZrO.js";import{n,k as tt}from"./mui-B9ZZxqGv.js";import{FW as ue,FX as S,FY as K,bL as M,FZ as ee,F_ as Oe,FM as U,bh as Dt,F$ as C,G0 as vt,G1 as Yt,G2 as kt,G3 as Ct,G4 as Pt}from"./zeni-epic-state-BKQAT3eK.js";import{m as St}from"./analyticsHelper-huzmVdCu-BJHBr6dz.js";import{x as Mt,b as At}from"./ReportTableViewSelector-Cot8YlVL-BAZ1GdJN.js";import{t as Tt}from"./page-detail-CWX5S47F-BAeGzYhC.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";import"./CollapsableReportTable-B7wBJa-J-CFRGpr0Y.js";import"./AccountRow-DHebunB5-DIYXQfGx.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]="6336610d-5873-4c96-91cf-8d595bc37b7d",e._sentryDebugIdIdentifier="sentry-dbid-6336610d-5873-4c96-91cf-8d595bc37b7d")}catch{}})();const It=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function le(e,o,r,a){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=S(r.startDate,e,"quarter"),{endOfTimeframeFY:c}=S(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(c.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=S(r.startDate,e,"year"),{endOfTimeframeFY:c}=S(r.endDate,e,"year");i=Math.ceil(Math.ceil(c.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function ie(e,o,r,a=1){if(a>1){const i=K(r,e,a-1,o),{startOfTimeframeFY:l}=S(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Me{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,c=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=c}get value(){return ie(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=ue(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=S(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:a}=S(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=S(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=le(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=S(ue(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=S(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const ce=["1","2","3","4"],pe=Dt().localeData().monthsShort(),I={pdf:12,excel:100,csv:100},Q=(e,o,r)=>{const a=v.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:c}=r;let p=l;for(;p.isSameOrBefore(c,"year");)i.push(p.format(a)),p=ue(p,e,1,"year")}else{const{startOfTimeframeFY:l}=S(r.startDate,e,"year"),{endOfTimeframeFY:c}=S(r.endDate,e,"year");let{fyYear:p}=C(l,e);const{fyYear:u}=C(c,e);for(;p<=u;)i.push(`${p}`),p++}return i},Lt=n.div`
1
+ import{V as t,c7 as pt,o as s,Q as ge,c8 as mt,ap as qe,p as xe,x as Z,d as ht,b as v,c9 as ft,bQ as Ze,u as V,bb as Je,an as R,bV as Se,w as re,ao as ye,a as ne,y as Xe,bX as ut,ca as $e,cb as we,L as Ke,cc as et,bO as bt,bc as gt,aq as Fe,bS as X,cd as xt,ce as yt,bM as $t,bW as wt,as as Ft,cf as jt,c3 as Ot,av as _t}from"./index-DTTvdp5s.js";import{a as m,P as je}from"./sentry-DSwgNZrO.js";import{n,k as tt}from"./mui-B9ZZxqGv.js";import{FW as ue,FX as S,FY as K,bL as M,FZ as ee,F_ as Oe,FM as U,bh as Dt,F$ as C,G0 as vt,G1 as Yt,G2 as kt,G3 as Ct,G4 as Pt}from"./zeni-epic-state-BKQAT3eK.js";import{m as St}from"./analyticsHelper-huzmVdCu-Bhyk00HN.js";import{x as Mt,b as At}from"./ReportTableViewSelector-Cot8YlVL-BAkQrlxg.js";import{t as Tt}from"./page-detail-CWX5S47F-BAeGzYhC.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";import"./CollapsableReportTable-B7wBJa-J-DFZw9oQ9.js";import"./AccountRow-DHebunB5-BEb8jkDV.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]="6336610d-5873-4c96-91cf-8d595bc37b7d",e._sentryDebugIdIdentifier="sentry-dbid-6336610d-5873-4c96-91cf-8d595bc37b7d")}catch{}})();const It=["profit_and_loss","profit_and_loss_by_classes","balance_sheet","cash_flow","cover_page","operating_expenses","revenue","net_burn_or_income","cash_position","cash_in_cash_out"];function le(e,o,r,a){let i=0;if(!(e!==1&&(o==="quarter"||o==="year")))i=r.endDate.endOf(o).diff(r.startDate.startOf(o),o)+1;else switch(o){case"quarter":{const{startOfTimeframeFY:l}=S(r.startDate,e,"quarter"),{endOfTimeframeFY:c}=S(r.endDate,e,"quarter");i=Math.ceil(Math.ceil(c.diff(l,"month",!0))/3);break}case"year":{const{startOfTimeframeFY:l}=S(r.startDate,e,"year"),{endOfTimeframeFY:c}=S(r.endDate,e,"year");i=Math.ceil(Math.ceil(c.diff(l,"month",!0))/12);break}}return a!=null?Math.min(i,a):i}function ie(e,o,r,a=1){if(a>1){const i=K(r,e,a-1,o),{startOfTimeframeFY:l}=S(i,e,o);return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:l,endDate:r}}}else return{firstMonthOfFY:e,timeframe:o,dateRange:{startDate:r,endDate:r}}}class Me{_firstMonthOfFY;_timeframe;_dataAvailable;_endDate;_numberOfPeriods;_maxNumberOfPeriods;constructor(o,r,a,i,l,c=a.endDate){if(a.endDate.isBefore(a.startDate))throw Error(`Invalid data available period ${JSON.stringify(a)}`);this._firstMonthOfFY=o,this._timeframe=r,this._dataAvailable=a,this._numberOfPeriods=i,this._maxNumberOfPeriods=l,this._endDate=c}get value(){return ie(this.firstMonthOfFY,this.timeframe,this.endDate,this.numberOfPeriods)}get dataAvailable(){return this._dataAvailable}get firstMonthOfFY(){return this._firstMonthOfFY}get timeframe(){return this._timeframe}set timeframe(o){this._timeframe=o}get numberOfPeriods(){return this._numberOfPeriods}get maxNumberOfPeriods(){return this._maxNumberOfPeriods}set maxNumberOfPeriods(o){if(o<=0)throw Error(`Invalid maxNumberOfPeriods ${this.maxNumberOfPeriods}`);this._maxNumberOfPeriods=o}get startDate(){return this.value.dateRange.startDate}get endDate(){return this._endDate}getValidCalendarPeriod(){const o=ue(this.startDate,this.firstMonthOfFY,this.maxNumberOfPeriods-1,this.timeframe);let{endOfTimeframeFY:r}=S(o,this.firstMonthOfFY,this.timeframe);return r.isAfter(this.dataAvailable.endDate)&&(r=this.dataAvailable.endDate),{startDate:this.startDate,endDate:r}}canUpdateToPeriod(o,r){if(this.firstMonthOfFY===1||this.timeframe==="month")return o.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]")&&r.isBetween(this.dataAvailable.startDate.startOf(this.timeframe),this.dataAvailable.endDate.endOf(this.timeframe),null,"[]");{const{startOfTimeframeFY:a}=S(this.dataAvailable.startDate,this.firstMonthOfFY,this.timeframe),{endOfTimeframeFY:i}=S(this.dataAvailable.endDate,this.firstMonthOfFY,this.timeframe);return o.isBetween(a,i,null,"[]")&&r.isBetween(a,i,null,"[]")}}updatePeriod(o,r){if(!this.canUpdateToPeriod(o,r))return!1;let a=le(this.firstMonthOfFY,this.timeframe,{startDate:o,endDate:r});if(a>this.maxNumberOfPeriods){a=this._numberOfPeriods;const{endOfTimeframeFY:i}=S(ue(o,this.firstMonthOfFY,this._numberOfPeriods-1,this.timeframe),this.firstMonthOfFY,this.timeframe);this._endDate=i}else if(o.isAfter(r)){a=1;const{endOfTimeframeFY:i}=S(o,this.firstMonthOfFY,this.timeframe);this._endDate=i}else this._endDate=r;return this._endDate.isAfter(this.dataAvailable.endDate)&&(this._endDate=this.dataAvailable.endDate),this._numberOfPeriods=a,!0}updateStartDate(o){return this.updatePeriod(o,this.endDate)}updateEndDate(o){return this.updatePeriod(this.startDate,o)}}const ce=["1","2","3","4"],pe=Dt().localeData().monthsShort(),I={pdf:12,excel:100,csv:100},Q=(e,o,r)=>{const a=v.getLocalizedStrings().dateFormat.analytics.YYYYFormat,i=[];if(e===1||o==="month"){const{startDate:l,endDate:c}=r;let p=l;for(;p.isSameOrBefore(c,"year");)i.push(p.format(a)),p=ue(p,e,1,"year")}else{const{startOfTimeframeFY:l}=S(r.startDate,e,"year"),{endOfTimeframeFY:c}=S(r.endDate,e,"year");let{fyYear:p}=C(l,e);const{fyYear:u}=C(c,e);for(;p<=u;)i.push(`${p}`),p++}return i},Lt=n.div`
2
2
  padding: ${s.sp3};
3
3
  border: 1px solid ${e=>e.borderColor.default};
4
4
  border-radius: ${s.sp1};
@@ -1,4 +1,4 @@
1
- import{Q as a,V as i,bX as y,o as r,x as s,b as h,c6 as P,O as c,M as g,d as b,u as t,aQ as k,k9 as L,ka as D,kb as C}from"./index-DceSoL0X.js";import{n as o}from"./mui-B9ZZxqGv.js";import"./sentry-DSwgNZrO.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./zeni-epic-state-BKQAT3eK.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.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]="fe74b384-586d-444e-a4f0-a7b52c82db0c",e._sentryDebugIdIdentifier="sentry-dbid-fe74b384-586d-444e-a4f0-a7b52c82db0c")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,_=({rewardsPlan:e})=>{const n=[I(),R(),M({rewardsPlan:e})],d=a();return i.jsx(A,{children:n.map((j,f)=>i.jsxs(X,{children:[i.jsx(H,{children:j}),f<n.length-1?i.jsx(E,{windowSize:d}):null]},`step_${f}`))})},I=()=>{const e=a(),n=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(B,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},R=()=>{const e=a(),n=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(N,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},M=({rewardsPlan:e})=>{const n=a(),d=x.item3;return i.jsxs(p,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(Q,{windowSize:n})}),i.jsx(z,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(S,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))})})]})},p=o.div`
1
+ import{Q as a,V as i,bX as y,o as r,x as s,b as h,c6 as P,O as c,M as g,d as b,u as t,aQ as k,k9 as L,ka as D,kb as C}from"./index-DTTvdp5s.js";import{n as o}from"./mui-B9ZZxqGv.js";import"./sentry-DSwgNZrO.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./zeni-epic-state-BKQAT3eK.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.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]="fe74b384-586d-444e-a4f0-a7b52c82db0c",e._sentryDebugIdIdentifier="sentry-dbid-fe74b384-586d-444e-a4f0-a7b52c82db0c")}catch{}})();const l={drawerItemPadding:new s(t[3],t[3],t[4]),styledDivMarginLeft:new s(t[6],t[7]),verticalLineLeftMargin:new s(32,42),iconWidth:new s(t[5],t[6]),iconHeight:new s(t[5],t[6]),iconSize:new s(20,t[4])},v={title:new c("standardRegular","largeRegular"),content:new c("smallRegular","standardRegular")},x=h.getLocalizedStrings().rewardsPage.drawerPage,_=({rewardsPlan:e})=>{const n=[I(),R(),M({rewardsPlan:e})],d=a();return i.jsx(A,{children:n.map((j,f)=>i.jsxs(X,{children:[i.jsx(H,{children:j}),f<n.length-1?i.jsx(E,{windowSize:d}):null]},`step_${f}`))})},I=()=>{const e=a(),n=x.item1;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"link",children:i.jsx(B,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},R=()=>{const e=a(),n=x.item2;return i.jsxs(p,{windowSize:e,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:e,icon:"user",children:i.jsx(N,{windowSize:e})}),i.jsx(z,{windowSize:e,children:n.title})]}),i.jsx($,{windowSize:e,children:i.jsx(S,{windowSize:e,children:n.content})})]})},M=({rewardsPlan:e})=>{const n=a(),d=x.item3;return i.jsxs(p,{windowSize:n,children:[i.jsxs(m,{children:[i.jsx(u,{windowSize:n,icon:"money",children:i.jsx(Q,{windowSize:n})}),i.jsx(z,{windowSize:n,children:d.title[e.planName]})]}),i.jsx($,{windowSize:n,children:i.jsx(S,{windowSize:n,children:d.content[e.planName].replace("__reward-amount__",k("0,0",e.referrerAmount))})})]})},p=o.div`
2
2
  border: 1px solid ${e=>e.theme.colors.grey3};
3
3
  border-radius: ${r.sp2};
4
4
  box-shadow: ${e=>`${r.sp0} 1px 2px ${r.sp0} ${e.theme.colors.dropShadowNormal}`};
@@ -1,4 +1,4 @@
1
- import{Q as ie,fZ as ae,y as de,aa as pe,aS as ce,V as t,ct as ue,ar as me,cu as ge,cv as fe,gZ as he,cz as ye,o as n,bX as be,ac as L,ae as ve,aT as xe,x as k,b as $e,cF as we,g0 as Re,g1 as Ce,g2 as Ie,bb as Oe,p as Q,d2 as Pe,u}from"./index-DceSoL0X.js";import{a as w}from"./sentry-DSwgNZrO.js";import{n as l}from"./mui-B9ZZxqGv.js";import{Gw as _e,bg as je}from"./zeni-epic-state-BKQAT3eK.js";import{f as ke}from"./AllUserItems-fjv8Ov4s-D0Yn7Cw3.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";import"./LabeledUserSingleSelectWithSubtitlesField-D9bbIz04-BT9veYVH.js";import"./RoleWithToolTip-LhCV3AOg-BfEF5V_b.js";import"./LabeledZeniRolesDropDownField-DPNR8el--C4H8qzAo.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]="89ab6734-ace5-4f0c-b1fb-2296f5704358",e._sentryDebugIdIdentifier="sentry-dbid-89ab6734-ace5-4f0c-b1fb-2296f5704358")}catch{}})();const I={containerPaddingTop:new k(u[3],u[3]),containerPaddingLeft:new k(u[3],u[6],u[6]),containerPaddingRight:new k(u[3],u[6],u[8]),buttonWidth:new k(85,85)},W="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:O,mode:p,isZeniTenant:S,onCloseClick:P,onResetClick:_,onSaveClick:m,onDeleteUser:M,onPeopleLocalDataUpdated:X,analytics:U,isReimbursementDisabled:B,isZeniAccountsDisabled:Z,isChargeCardDisabled:N,isTreasuryDisabled:q,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:A})=>{const C=ie(),[Y,T]=w.useState(!1),[G,H]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),z=w.useMemo(()=>ae(B,Z,N,b,v,A,q),[B,Z,N,b,v,A,q]),F=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:J(e.people,o,y,p,z,b,v),values:J(e.people,o,y,p,z,b,v)}),se=i.handleSubmit(()=>{V()&&m()},()=>{V(),console.warn("Edit Profile form error")}),V=()=>{const g=i.getValues();let r=!0;return g.userItems.forEach((f,x)=>{const{role:D,department:a,nonZeniRole:h,manager:c}=f;if(p==="zeni_only"){const s=D.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),r=!1)}else{const s=h?.userRole.selectedRole;(s!=null&&h!=null?h.productsByUserRole[s].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),r=!1),s!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),r=!1)),c?.selectedUser==null&&s!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),r=!1)}}),r},ne=async(g,r)=>{const f=[],{userItems:x}=r,D=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(D!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let s=[];c==="admin"||c==="investor_or_banker"?s.push(c):s=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(E=>_e(E.selectedOption?.value)).filter(E=>E!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=je(s);h={email:a.email,role:s,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}f.push(h)}}),X(f)};w.useEffect(()=>{const g=i.watch((r,{name:f})=>{f!=null&&r!=null&&ne(f,r)});return()=>{g.unsubscribe()}});const oe=()=>{T(!0)},re={onOkClick:()=>{const g=e.person;U?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),M?.(e.person)},onCancelClick:()=>{T(!1)}},K=ce(e.person?.update),j=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{j==null&&K==="removeUsers"&&(T(!1),_?.())},[j,K]),t.jsxs(t.Fragment,{children:[Y===!0?t.jsx(ue,{titleComponent:t.jsx(fe,{children:d.deleteOverlay.title}),descriptionComponent:t.jsx(ge,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:re,proceedButtonVariant:"danger",isLoading:j==="removeUsers",isDisabled:j==="removeUsers",style:{background:F.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Be,{}),t.jsx(Le,{children:t.jsx(Ue,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:F.colors.grey4,style:{zIndex:4},onCloseClick:P,isTitleAlignLeft:C==="small"}),t.jsxs(Se,{"data-testid":L("edit-people-page-container"),windowSize:C,ref:te,children:[t.jsxs(Ee,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Te,{children:[t.jsx(ze,{children:e.person?.user?.firstName?t.jsxs(De,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ne,{className:"delete-icon-wrapper","data-testid":L("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(Ze,{windowsize:C})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${W}_form`,onSubmit:se,children:t.jsx(ke,{control:i.control,sectionId:R,deleteConfirmationIndex:G,updateDeleteConfirmationIndex:H,mode:p,isZeniTenant:S,classList:y,managersList:o,controllersList:O,customerRoleOptions:z,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:U})})})]}),t.jsx(xe,{formId:`${W}_form`,"data-testid":L("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:I.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:I.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:P},separatorStyle:{marginRight:n.sp4}})]})},J=(e,o,y,O,p,S,P)=>{const _=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:O==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:O!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(S,P)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:_,selectedOption:_.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,Se=l.div`
1
+ import{Q as ie,fZ as ae,y as de,aa as pe,aS as ce,V as t,ct as ue,ar as me,cu as ge,cv as fe,gZ as he,cz as ye,o as n,bX as be,ac as L,ae as ve,aT as xe,x as k,b as $e,cF as we,g0 as Re,g1 as Ce,g2 as Ie,bb as Oe,p as Q,d2 as Pe,u}from"./index-DTTvdp5s.js";import{a as w}from"./sentry-DSwgNZrO.js";import{n as l}from"./mui-B9ZZxqGv.js";import{Gw as _e,bg as je}from"./zeni-epic-state-BKQAT3eK.js";import{f as ke}from"./AllUserItems-fjv8Ov4s-D_OuNM4B.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";import"./LabeledUserSingleSelectWithSubtitlesField-D9bbIz04-DE32BxRz.js";import"./RoleWithToolTip-LhCV3AOg-LV1aYXNJ.js";import"./LabeledZeniRolesDropDownField-DPNR8el--CIp7K8ys.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]="89ab6734-ace5-4f0c-b1fb-2296f5704358",e._sentryDebugIdIdentifier="sentry-dbid-89ab6734-ace5-4f0c-b1fb-2296f5704358")}catch{}})();const I={containerPaddingTop:new k(u[3],u[3]),containerPaddingLeft:new k(u[3],u[6],u[6]),containerPaddingRight:new k(u[3],u[6],u[8]),buttonWidth:new k(85,85)},W="editPeoplePage",R="userItems",d=$e.getLocalizedStrings().peoplePage,st=({peopleDetails:e,managersList:o,classList:y,controllersList:O,mode:p,isZeniTenant:S,onCloseClick:P,onResetClick:_,onSaveClick:m,onDeleteUser:M,onPeopleLocalDataUpdated:X,analytics:U,isReimbursementDisabled:B,isZeniAccountsDisabled:Z,isChargeCardDisabled:N,isTreasuryDisabled:q,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isLiteRoleDisabled:A})=>{const C=ie(),[Y,T]=w.useState(!1),[G,H]=w.useState(-1),ee=p==="zeni_only"?d.invitePage.editZeniTitle:d.invitePage.editTitle,te=w.useRef(null),z=w.useMemo(()=>ae(B,Z,N,b,v,A,q),[B,Z,N,b,v,A,q]),F=de(),i=pe({mode:"onBlur",reValidateMode:"onChange",defaultValues:J(e.people,o,y,p,z,b,v),values:J(e.people,o,y,p,z,b,v)}),se=i.handleSubmit(()=>{V()&&m()},()=>{V(),console.warn("Edit Profile form error")}),V=()=>{const g=i.getValues();let r=!0;return g.userItems.forEach((f,x)=>{const{role:D,department:a,nonZeniRole:h,manager:c}=f;if(p==="zeni_only"){const s=D.selectedOptions;(!s?.length||s?.length===1&&s?.includes("company_officer"))&&(i.setError(`${R}.${x}.role`,{type:"required"}),r=!1)}else{const s=h?.userRole.selectedRole;(s!=null&&h!=null?h.productsByUserRole[s].map($=>$.selectedOption).filter($=>$!=null):[]).length<1&&(i.setError(`${R}.${x}.nonZeniRole.userRole.selectedRole`,{type:"required"}),r=!1),s!=="investor_or_banker"&&a?.selectedOption==null&&(b||v||(i.setError(`${R}.${x}.department`,{type:"required"}),r=!1)),c?.selectedUser==null&&s!=="investor_or_banker"&&(i.setError(`${R}.${x}.manager`,{type:"required"}),r=!1)}}),r},ne=async(g,r)=>{const f=[],{userItems:x}=r,D=e.person?.userRole?.userRoleId;x.forEach(a=>{let h={};if(D!=null){if(p==="zeni_only")h={email:a.email,role:a.role.selectedOptions};else{const c=a.nonZeniRole?.userRole.selectedRole;let s=[];c==="admin"||c==="investor_or_banker"?s.push(c):s=c!=null?(a.nonZeniRole?.productsByUserRole[c]??[]).map(E=>_e(E.selectedOption?.value)).filter(E=>E!=null):[],c==="employee"&&s.length===0&&s.push("reimbursements_user");const $=je(s);h={email:a.email,role:s,departmentId:$?void 0:a.department?.selectedOption?.value,managerId:$?void 0:a.manager?.selectedUser}}f.push(h)}}),X(f)};w.useEffect(()=>{const g=i.watch((r,{name:f})=>{f!=null&&r!=null&&ne(f,r)});return()=>{g.unsubscribe()}});const oe=()=>{T(!0)},re={onOkClick:()=>{const g=e.person;U?.trackRemoveUserAccess(g.userRole.userRoles,g.userRole.userEmail),M?.(e.person)},onCancelClick:()=>{T(!1)}},K=ce(e.person?.update),j=e.person?.update,le=d.deleteOverlay.description.replace("‘_user-name_’",`"${e.person?.user?.firstName} ${e.person?.user?.lastName}"`);return w.useEffect(()=>{j==null&&K==="removeUsers"&&(T(!1),_?.())},[j,K]),t.jsxs(t.Fragment,{children:[Y===!0?t.jsx(ue,{titleComponent:t.jsx(fe,{children:d.deleteOverlay.title}),descriptionComponent:t.jsx(ge,{children:le}),primaryButtonText:d.deleteOverlay.remove,secondaryButtonText:d.deleteOverlay.cancel,action:re,proceedButtonVariant:"danger",isLoading:j==="removeUsers",isDisabled:j==="removeUsers",style:{background:F.colors.overlayColor},children:e.person?.user!=null?t.jsxs(t.Fragment,{children:[t.jsx(Be,{}),t.jsx(Le,{children:t.jsx(Ue,{src:e.person?.user.photo?.toString()??me,alt:e.person?.user.userId,loading:"lazy"})})]}):null}):null,t.jsx(he,{title:ee,backgroundColor:F.colors.grey4,style:{zIndex:4},onCloseClick:P,isTitleAlignLeft:C==="small"}),t.jsxs(Se,{"data-testid":L("edit-people-page-container"),windowSize:C,ref:te,children:[t.jsxs(Ee,{children:[t.jsx(ye,{personBasic:e.person?.user,styles:{height:n.sp6,width:n.sp6}}),t.jsxs(Te,{children:[t.jsx(ze,{children:e.person?.user?.firstName?t.jsxs(De,{children:[e.person?.user?.firstName??""," ",e.person?.user?.lastName??""]}):null}),t.jsx(Ne,{className:"delete-icon-wrapper","data-testid":L("edit-people-page-delete-icon-wrapper"),onClick:oe,children:t.jsx(be,{style:{padding:"2px 5px"},enterDelay:600,title:d.deleteOverlay.title,placement:"top",children:t.jsx(Ze,{windowsize:C})})})]})]}),t.jsx(ve,{...i,children:t.jsx("form",{id:`${W}_form`,onSubmit:se,children:t.jsx(ke,{control:i.control,sectionId:R,deleteConfirmationIndex:G,updateDeleteConfirmationIndex:H,mode:p,isZeniTenant:S,classList:y,managersList:o,controllersList:O,customerRoleOptions:z,isBankingOnlyTenant:b,isCardsOnlyTenant:v,isEdit:!0,person:e.person,analytics:U})})})]}),t.jsx(xe,{formId:`${W}_form`,"data-testid":L("edit-people-page-footer"),primaryBtn:{label:d.invitePage.update,style:{width:I.buttonWidth.value(C)},isLoading:e.updatePersonState.fetchState==="In-Progress",isDisabled:e.updatePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:d.invitePage.cancel,style:{width:I.buttonWidth.value(C)},shouldResetOnCancel:!1,onClick:P},separatorStyle:{marginRight:n.sp4}})]})},J=(e,o,y,O,p,S,P)=>{const _=y.map(m=>({label:m.fullyQualifiedAccountingClassName??"",value:m.classId,hoverText:m.accountingClassNumber}));return{[R]:[{userIndex:0,email:e[0].email,role:O==="zeni_only"?{allOptions:we.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:O!=="zeni_only"?{userRole:{selectedRole:Ie(e[0]?.role),allRootRole:Ce(S,P)},productsByUserRole:Re(e[0]?.role,p)}:void 0,manager:{allUsers:o,selectedUser:e[0]?.managerId?e[0]?.managerId:"no_manager"},department:{allOptions:_,selectedOption:_.find(m=>m.value===e[0]?.departmentId)}}]}},nt=(e,o)=>`${e}.${o}`,Se=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{ay as yt,V as t,gn as po,aS as un,y as $t,aa as di,aA as On,aG as ui,Q as Ae,gM as ho,go,gq as yo,gr as bo,gN as fo,ae as mi,ct as pn,cu as pi,cv as hi,ac as H,o as n,x as s,bE as Pn,bq as xo,dx as wo,gs as So,gD as gi,gy as Ln,aT as yi,aq as bi,gz as vo,gO as qe,eH as Ye,f9 as hn,gP as Mt,b as Se,L as Ct,gQ as $o,p as L,d as fi,as as gn,u as l,bz as Co,gB as ko,cK as Io,eP as yn,gR as Ft,fo as ge,cO as bn,fr as ye,cN as rt,er as Do,fn as xi,w as At,cR as wi,cQ as ot,ez as Oe,ak as fn,gS as To,fG as jo,cJ as Oo,aX as Rn,fA as Po,by as Lo,gT as An,bc as Si,g as Ro,eq as Ao,b9 as Et,gt as zo,bZ as vi,O as xn,M as $i,d3 as Ci,cl as Nt,f0 as Bo,bb as Mo,d7 as Fo,fu as Eo,an as wn,a as zn,bX as ki,b3 as Bn,d2 as No,ao as Wo,cV as Ii,aQ as Uo,gU as Di,gV as mn,gW as Ti,gi as Mn,gX as zt,cS as _o,gm as Vo,bM as qo,d1 as Ho}from"./index-DceSoL0X.js";import{a as v,P as Tt}from"./sentry-DSwgNZrO.js";import{n as i}from"./mui-B9ZZxqGv.js";import{GD as Ko,bL as at,bZ as ji,bo as Oi,bm as Fn,GE as En,bh as Sn}from"./zeni-epic-state-BKQAT3eK.js";import Pi from"./InvoiceUploadSection-SDbpMsYc-Dm64G91F.js";import{r as Go,f as Bt,d as vt,p as vn,u as Nn,h as we}from"./types-DyvtCprH-NFPm5TaG.js";import{D as Yo}from"./LabeledCreatableSingleSelectField-CdMkAJap-1V7j-DDR.js";import{S as Jo}from"./CurrencySelectField-C9U52o8Z-DH90cYim.js";import{e as Qo}from"./BankAccountSection-BvIYx2co-BamiC5Ie.js";import{W as Xo,A as Zo}from"./BankAccountWarningSection-CqyeSTWe-C-YFtMtw.js";import{o as ea}from"./radio-default-CiSgisfh-BTgddVFO.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";import"./AttachmentView-NLynK_4B-BnApX40v.js";import"./uploadReceipts-Dge0cNF1-COkmL3Gy.js";import"./upload-reimbursement-receipt-O2N8vcO7-ByyuyA7j.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]="765dc8ee-e2e3-42b5-a986-29b74699f2db",e._sentryDebugIdIdentifier="sentry-dbid-765dc8ee-e2e3-42b5-a986-29b74699f2db")}catch{}})();const Te=(e,o)=>`${e}.${o}`,Wn={largeLabelWidth:new s(120,120,160),paddingBottom:new s(l[3],l[2])},{spendManagement:{reimbursement:{reimbursementDetail:fe}},dateFormat:ta,common:na}=Se.getLocalizedStrings(),ia=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:D,isDisabled:m,isAddReimbursementDisabled:I,companyMileageConfigInfo:T,customerSearchAutoComplete:h,reimbursementId:a,classHierarchyList:$})=>{const d=Ae(),y=yt(),w=Ft(),O=`dashboard_${y.currentTenant?.companyId}`,R=$t(),{formState:{errors:A},getValues:S,trigger:P}=rt(),f=na.strings.empty,B=S(Te(p,"distanceInMiles")),te=Wn.largeLabelWidth.value(d),ne=S(Te(p,"class")),re=r.find(j=>j.classId===ne?.selectedOption),K=Te(p,"class"),J=Oe(A,K);v.useEffect(()=>{ne?.selectedOption!=null&&(re?.isDeleted===!0||J)&&P(K)},[ne?.selectedOption,re?.isDeleted,r,K,P]);const W={application:"dashboard",companyId:y.currentTenant?.companyId,tab:"reimbursement",entityId:a},G=j=>r.filter(ie=>ie.classId===j)[0]?.accountingClassNumber,V=r.find(j=>j.classId===o.class),ue={valueContainer:j=>({...j,padding:`2px ${n.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})},Pe={valueContainer:j=>({...j,padding:`2px ${n.sp3} !important`,overflow:"unset"})};return t.jsxs(t.Fragment,{children:[t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.transactionDate`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("transactionDate",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Ii,{isDisabled:m,label:{label:fe.transactionDate,width:te},style:{paddingBottom:Wn.paddingBottom.valuePx(d),width:"auto"},dateField:{name:Te(p,"transactionDate"),placeholder:fe.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:ta.visual.defaultInput,autoComplete:"off",maxDate:Sn(),registerOptions:{required:!0,validate:j=>!!j}}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Mn,{isDisabled:I?"disabled":void 0,style:{width:"auto"},label:{label:fe.distanceInMiles,width:te},formattedTextField:{type:"number",name:Te(p,"distanceInMiles"),placeholder:fe.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:j=>j!=null?j>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.amount`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("amount",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Mn,{isDisabled:"disabled",label:{label:fe.amount,width:te},formattedTextField:{type:"number",name:Te(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:ot(fe.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:j=>j!=null?j>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:B!=null&&T?.mileageUnitAmount!=null?`${c.currencySymbol}${T?.mileageUnitAmount} per mile x ${B}`:void 0})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.memo`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("memo",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(bn,{isDisabled:m,label:{label:fe.memo,width:te},style:{width:"auto"},text:{type:"text",name:Te(p,"memo"),placeholder:ot(fe.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:Di}}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.class`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("class",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(mn,{isLoading:!1,label:{label:fe.department,width:te},additionalLabelInfo:re?.isDeleted===!0&&Oe(A,Te(p,"class"))?fe.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Te(p,"class"),placeholder:ot(fe.department),valueToId:j=>G(j),defaultValue:{selectedOption:V?.classId,allOptions:Ye($,[])},style:{width:"100%"},customStyleConfig:ue,registerOptions:{required:!0,validate:j=>j?.selectedOption==null?!1:r.find(ie=>ie.classId===j?.selectedOption)?.isDeleted===!0?fe.deletedClassError:!0}},style:{borderBottom:`1px solid ${R.colors.grey3}`},fullWidthSelect:!0},Te(p,"class"))}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.customer`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("customer",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${n.sp2} ${n.sp2}`},children:t.jsx(Ti,{label:{label:fe.customer,width:te},isDisabled:m,autoCompleteSingleSelectField:{name:Te(p,"customer"),placeholder:fe.customerPlaceholder,isDisabled:m,valueToId:j=>j,defaultValue:{selectedOption:o.customer?.selectedOption,defaultOptions:o.customer?.defaultOptions??[]},style:{width:"100%"},customStyleConfig:Pe,loadOptions:h?.loadOptions},style:{justifyContent:"space-between"},fullWidthSelect:!0},Te(p,"customer"))})]})},wt=i.div`
1
+ import{ay as yt,V as t,gn as po,aS as un,y as $t,aa as di,aA as On,aG as ui,Q as Ae,gM as ho,go,gq as yo,gr as bo,gN as fo,ae as mi,ct as pn,cu as pi,cv as hi,ac as H,o as n,x as s,bE as Pn,bq as xo,dx as wo,gs as So,gD as gi,gy as Ln,aT as yi,aq as bi,gz as vo,gO as qe,eH as Ye,f9 as hn,gP as Mt,b as Se,L as Ct,gQ as $o,p as L,d as fi,as as gn,u as l,bz as Co,gB as ko,cK as Io,eP as yn,gR as Ft,fo as ge,cO as bn,fr as ye,cN as rt,er as Do,fn as xi,w as At,cR as wi,cQ as ot,ez as Oe,ak as fn,gS as To,fG as jo,cJ as Oo,aX as Rn,fA as Po,by as Lo,gT as An,bc as Si,g as Ro,eq as Ao,b9 as Et,gt as zo,bZ as vi,O as xn,M as $i,d3 as Ci,cl as Nt,f0 as Bo,bb as Mo,d7 as Fo,fu as Eo,an as wn,a as zn,bX as ki,b3 as Bn,d2 as No,ao as Wo,cV as Ii,aQ as Uo,gU as Di,gV as mn,gW as Ti,gi as Mn,gX as zt,cS as _o,gm as Vo,bM as qo,d1 as Ho}from"./index-DTTvdp5s.js";import{a as v,P as Tt}from"./sentry-DSwgNZrO.js";import{n as i}from"./mui-B9ZZxqGv.js";import{GD as Ko,bL as at,bZ as ji,bo as Oi,bm as Fn,GE as En,bh as Sn}from"./zeni-epic-state-BKQAT3eK.js";import Pi from"./InvoiceUploadSection-SDbpMsYc-jhcMgbY0.js";import{r as Go,f as Bt,d as vt,p as vn,u as Nn,h as we}from"./types-DyvtCprH-NFPm5TaG.js";import{D as Yo}from"./LabeledCreatableSingleSelectField-CdMkAJap-Yq59zanX.js";import{S as Jo}from"./CurrencySelectField-C9U52o8Z-Bz_K9Iep.js";import{e as Qo}from"./BankAccountSection-BvIYx2co-CImXpQhP.js";import{W as Xo,A as Zo}from"./BankAccountWarningSection-CqyeSTWe-tblHe04a.js";import{o as ea}from"./radio-default-CiSgisfh-BTgddVFO.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";import"./AttachmentView-NLynK_4B-TCrQ1Wb0.js";import"./uploadReceipts-Dge0cNF1-DvbwYbuv.js";import"./upload-reimbursement-receipt-O2N8vcO7-ByyuyA7j.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]="765dc8ee-e2e3-42b5-a986-29b74699f2db",e._sentryDebugIdIdentifier="sentry-dbid-765dc8ee-e2e3-42b5-a986-29b74699f2db")}catch{}})();const Te=(e,o)=>`${e}.${o}`,Wn={largeLabelWidth:new s(120,120,160),paddingBottom:new s(l[3],l[2])},{spendManagement:{reimbursement:{reimbursementDetail:fe}},dateFormat:ta,common:na}=Se.getLocalizedStrings(),ia=({lineIndex:e,mileage:o,classList:r,defaultCurrency:c,sectionId:p,isReimbursementCommentingEnabled:D,isDisabled:m,isAddReimbursementDisabled:I,companyMileageConfigInfo:T,customerSearchAutoComplete:h,reimbursementId:a,classHierarchyList:$})=>{const d=Ae(),y=yt(),w=Ft(),O=`dashboard_${y.currentTenant?.companyId}`,R=$t(),{formState:{errors:A},getValues:S,trigger:P}=rt(),f=na.strings.empty,B=S(Te(p,"distanceInMiles")),te=Wn.largeLabelWidth.value(d),ne=S(Te(p,"class")),re=r.find(j=>j.classId===ne?.selectedOption),K=Te(p,"class"),J=Oe(A,K);v.useEffect(()=>{ne?.selectedOption!=null&&(re?.isDeleted===!0||J)&&P(K)},[ne?.selectedOption,re?.isDeleted,r,K,P]);const W={application:"dashboard",companyId:y.currentTenant?.companyId,tab:"reimbursement",entityId:a},G=j=>r.filter(ie=>ie.classId===j)[0]?.accountingClassNumber,V=r.find(j=>j.classId===o.class),ue={valueContainer:j=>({...j,padding:`2px ${n.sp3} !important`,overflow:"unset"}),singleValue:()=>({margin:0})},Pe={valueContainer:j=>({...j,padding:`2px ${n.sp3} !important`,overflow:"unset"})};return t.jsxs(t.Fragment,{children:[t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.transactionDate`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("transactionDate",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Ii,{isDisabled:m,label:{label:fe.transactionDate,width:te},style:{paddingBottom:Wn.paddingBottom.valuePx(d),width:"auto"},dateField:{name:Te(p,"transactionDate"),placeholder:fe.datePlaceholder,defaultValue:o?.transactionDate,dateFormat:ta.visual.defaultInput,autoComplete:"off",maxDate:Sn(),registerOptions:{required:!0,validate:j=>!!j}}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.distanceInMiles`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("distanceInMiles",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Mn,{isDisabled:I?"disabled":void 0,style:{width:"auto"},label:{label:fe.distanceInMiles,width:te},formattedTextField:{type:"number",name:Te(p,"distanceInMiles"),placeholder:fe.addMiles,defaultValue:o.distanceInMiles,registerOptions:{required:!0,validate:j=>j!=null?j>0:!0,min:.01},returnValueType:"floatValue",allowNegative:!1,isNumericString:!1,decimalScale:2}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.amount`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("amount",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(Mn,{isDisabled:"disabled",label:{label:fe.amount,width:te},formattedTextField:{type:"number",name:Te(`${p}.amount`,"amount"),defaultValue:o.amount?.amount,placeholder:ot(fe.amount),returnValueType:"floatValue",prefix:o.amount?.currencySymbol,allowNegative:!1,isNumericString:!1,registerOptions:{required:!0,validate:j=>j!=null?j>0:!0},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},additionalInfoLabel:B!=null&&T?.mileageUnitAmount!=null?`${c.currencySymbol}${T?.mileageUnitAmount} per mile x ${B}`:void 0})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.memo`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("memo",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(bn,{isDisabled:m,label:{label:fe.memo,width:te},style:{width:"auto"},text:{type:"text",name:Te(p,"memo"),placeholder:ot(fe.memo),defaultValue:o.memo,autoComplete:"off",options:{pattern:Di}}})}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.class`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("class",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,children:t.jsx(mn,{isLoading:!1,label:{label:fe.department,width:te},additionalLabelInfo:re?.isDeleted===!0&&Oe(A,Te(p,"class"))?fe.deletedClassError:void 0,groupedSingleSelectField:{shouldShowChevronIcon:!1,name:Te(p,"class"),placeholder:ot(fe.department),valueToId:j=>G(j),defaultValue:{selectedOption:V?.classId,allOptions:Ye($,[])},style:{width:"100%"},customStyleConfig:ue,registerOptions:{required:!0,validate:j=>j?.selectedOption==null?!1:r.find(ie=>ie.classId===j?.selectedOption)?.isDeleted===!0?fe.deletedClassError:!0}},style:{borderBottom:`1px solid ${R.colors.grey3}`},fullWidthSelect:!0},Te(p,"class"))}),t.jsx(wt,{}),t.jsx(ge,{isThreadAllowed:D&&a!=null,dashboardTabKey:ye({type:"details",key:`${e}.mileage.customer`}),roomId:O,companyId:y.currentTenant?.companyId??f,companyName:y.currentTenant?.companyName??f,entityId:a,dashboardOptionType:"reimbursement",filterMetaData:{...W,entityType:`reimbursement.details.${we("customer",e,"mileage")}`},fieldThreadTargetElement:w?.sharedRef?.contentWrapperRef,style:{borderRadius:`0 0 ${n.sp2} ${n.sp2}`},children:t.jsx(Ti,{label:{label:fe.customer,width:te},isDisabled:m,autoCompleteSingleSelectField:{name:Te(p,"customer"),placeholder:fe.customerPlaceholder,isDisabled:m,valueToId:j=>j,defaultValue:{selectedOption:o.customer?.selectedOption,defaultOptions:o.customer?.defaultOptions??[]},style:{width:"100%"},customStyleConfig:Pe,loadOptions:h?.loadOptions},style:{justifyContent:"space-between"},fullWidthSelect:!0},Te(p,"customer"))})]})},wt=i.div`
2
2
  display: flex;
3
3
  flex: 1;
4
4
  background-color: ${e=>e.theme.colors.grey3};
@@ -1,4 +1,4 @@
1
- import{y as x,b as w,aX as v,V as o,bD as D,az as I,o as i,J as l}from"./index-DceSoL0X.js";import{n as a}from"./mui-B9ZZxqGv.js";import{R as k}from"./TrendWithTransactions-CmQO_iYM-CWBGfczA.js";import"./sentry-DSwgNZrO.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./zeni-epic-state-BKQAT3eK.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";import"./TrendChart-DWFAkD1M-rLrsd-Rc.js";import"./chartTypes-Bka0fHvt-LIfMG0zS.js";import"./toCOABalancesWithID-D45JW5mT-zLfAfLgo.js";import"./toChartData-C9xZuC9A-cKZFGcPF.js";import"./NoDataChart-BO4tisNf-D8owAUYk.js";import"./InsightsSection-CbrrmEg4-D4vQ_6my.js";import"./NavigationDots-C2ylmmp9-BUZFmr7S.js";import"./TransactionList-BWV8LDN--T7E1cgUU.js";import"./ConstrainedInnerElement-BeIpAPjB-D303BiU-.js";import"./BoxItem-F9HlKmjN-xqfWS_hX.js";import"./commonDimensions-CL818jc5-C1bPf58V.js";import"./panelSelectedMixin-Cddsb26L-BJi_hKr3.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]="26d39f32-c495-4050-b50e-aef291083731",e._sentryDebugIdIdentifier="sentry-dbid-26d39f32-c495-4050-b50e-aef291083731")}catch{}})();const P=a.div`
1
+ import{y as x,b as w,aX as v,V as o,bD as D,az as I,o as i,J as l}from"./index-DTTvdp5s.js";import{n as a}from"./mui-B9ZZxqGv.js";import{R as k}from"./TrendWithTransactions-CmQO_iYM-DVOOx562.js";import"./sentry-DSwgNZrO.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./zeni-epic-state-BKQAT3eK.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";import"./TrendChart-DWFAkD1M-DjYrFOEJ.js";import"./chartTypes-Bka0fHvt-BWo3h-xO.js";import"./toCOABalancesWithID-D45JW5mT-BqS-NeKk.js";import"./toChartData-C9xZuC9A-BiyMhGI2.js";import"./NoDataChart-BO4tisNf-B1dDA7-k.js";import"./InsightsSection-CbrrmEg4-Dp1d-AHv.js";import"./NavigationDots-C2ylmmp9-R3cC46Nq.js";import"./TransactionList-BWV8LDN--DasYY6VY.js";import"./ConstrainedInnerElement-BeIpAPjB-DLrDueDB.js";import"./BoxItem-F9HlKmjN-CSouLxfb.js";import"./commonDimensions-CL818jc5-Bzqt58VV.js";import"./panelSelectedMixin-Cddsb26L-BJi_hKr3.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]="26d39f32-c495-4050-b50e-aef291083731",e._sentryDebugIdIdentifier="sentry-dbid-26d39f32-c495-4050-b50e-aef291083731")}catch{}})();const P=a.div`
2
2
  display: flex;
3
3
  margin: ${i.sp0} ${i.sp0} ${i.sp0} ${i.sp0};
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{Q as C,x as d,V as i,b5 as E,cx as G,b as k,dw as V,d5 as I,o as s,ab as S,aQ as z,dU as D,u as a,e as R,ao as U,an as Y,bb as B,ak as K,cD as F,p as M,cG as Q}from"./index-DceSoL0X.js";import{a as m}from"./sentry-DSwgNZrO.js";import{n}from"./mui-B9ZZxqGv.js";import{l as X}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="ed721e1a-2613-4c22-ab58-3899e4afd6e5",e._sentryDebugIdIdentifier="sentry-dbid-ed721e1a-2613-4c22-ab58-3899e4afd6e5")}catch{}})();const y=k.getLocalizedStrings().reports.aging.agingDetail.header,g=[{key:"date",value:y.date,sortOrder:"ascending",width:new d(212,212),compressedWidth:new d(300,300)},{key:"invoiceNumber",value:y.invoiceNumber,sortOrder:"ascending",width:new d(188,188)},{key:"dueDate",value:y.dueDate,sortOrder:"ascending",width:new d(188,188)},{key:"daysPastDue",value:y.daysPastDue,sortOrder:"ascending",width:new d(188,188)},{key:"amount",value:y.amount,sortOrder:"ascending",width:new d(188,188),compressedWidth:new d(100,100)},{key:"balance",value:y.balance,sortOrder:"ascending",width:new d(120,120)}],T={headerHeight:new d(45,58)},q=n.div`
1
+ import{Q as C,x as d,V as i,b5 as E,cx as G,b as k,dw as V,d5 as I,o as s,ab as S,aQ as z,dU as D,u as a,e as R,ao as U,an as Y,bb as B,ak as K,cD as F,p as M,cG as Q}from"./index-DTTvdp5s.js";import{a as m}from"./sentry-DSwgNZrO.js";import{n}from"./mui-B9ZZxqGv.js";import{l as X}from"./agingReportHelper-ovKP-qSS-Cx4Hdid-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="ed721e1a-2613-4c22-ab58-3899e4afd6e5",e._sentryDebugIdIdentifier="sentry-dbid-ed721e1a-2613-4c22-ab58-3899e4afd6e5")}catch{}})();const y=k.getLocalizedStrings().reports.aging.agingDetail.header,g=[{key:"date",value:y.date,sortOrder:"ascending",width:new d(212,212),compressedWidth:new d(300,300)},{key:"invoiceNumber",value:y.invoiceNumber,sortOrder:"ascending",width:new d(188,188)},{key:"dueDate",value:y.dueDate,sortOrder:"ascending",width:new d(188,188)},{key:"daysPastDue",value:y.daysPastDue,sortOrder:"ascending",width:new d(188,188)},{key:"amount",value:y.amount,sortOrder:"ascending",width:new d(188,188),compressedWidth:new d(100,100)},{key:"balance",value:y.balance,sortOrder:"ascending",width:new d(120,120)}],T={headerHeight:new d(45,58)},q=n.div`
2
2
  top: ${s.sp0};
3
3
  left: ${s.sp0};
4
4
  min-height: ${e=>T.headerHeight.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{y as U,Q as me,cg as ue,V as t,gc as q,ac as b,bQ as ge,p as a,bX as F,o as r,bE as Ce,kk as ke,w as d,hZ as R,hY as T,a as xe,by as fe,ai as je,kl as ye,km as be,b as k,cn as ve,e as $e,bM as we,ak as h,aw as ee,an as Le,n as Me,b9 as Ee,b1 as We,bb as te}from"./index-DceSoL0X.js";import{a as s}from"./sentry-DSwgNZrO.js";import{n as o,c as re,k as Se}from"./mui-B9ZZxqGv.js";import{bh as oe,bL as De}from"./zeni-epic-state-BKQAT3eK.js";import{U as Ve,F as Pe,X as _e,Y as He,J as ze,G as Fe}from"./recharts-Df6P8LTk.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.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]="cdf2ffd3-f4cb-477b-b5d4-15b2dd296f1b",e._sentryDebugIdIdentifier="sentry-dbid-cdf2ffd3-f4cb-477b-b5d4-15b2dd296f1b")}catch{}})();const Re=k.getLocalizedStrings().expenseAutomation,Te=k.getLocalizedStrings().dateFormat.visual,{common:{strings:{percentage:Ye},texts:{score:Ze}}}=k.getLocalizedStrings(),Ie=({active:e,payload:i})=>{if(e===!1||e===void 0||!i||i.length===0)return null;const c=i[0]?.value;return c==null?null:t.jsxs(Je,{children:[t.jsx(Ge,{children:Ze}),t.jsxs(Oe,{children:[c,Ye]})]})};function Be({data:e,height:i}){const c=U(),v=e.map(x=>({month:De(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Te.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Ae,{children:[t.jsx(Ne,{children:Re.overview.monthEndCloseTrend}),t.jsx(Ve,{height:i,width:"100%",children:t.jsxs(Pe,{data:v,children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:"scoreGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx("stop",{offset:"0%",stopColor:a.brandColorJade,stopOpacity:.8}),t.jsx("stop",{offset:"100%",stopColor:a.brandColorJade,stopOpacity:.1})]})}),t.jsx(_e,{dataKey:"month",axisLine:{stroke:c.colors.grey3},tickLine:!1,interval:"preserveStartEnd",label:{color:c.colors.hero,fontSize:d.smallRegular.fontSize,fontWeight:d.smallRegular.fontWeight,fontFamily:d.smallRegular.fontFamily}}),t.jsx(He,{hide:!0}),t.jsx(ze,{content:Ie,cursor:{stroke:c.colors.primary,strokeDasharray:"3 3",strokeWidth:1},allowEscapeViewBox:{x:!1,y:!0}}),t.jsx(Fe,{type:"monotone",dataKey:"count",stroke:a.brandColorJade,strokeWidth:2,fill:"url(#scoreGradient)",dot:!1,activeDot:{r:5,fill:a.neutralGrey4Light,stroke:a.brandColorJade,strokeWidth:2}})]})})]})}const Ne=o(h)`
1
+ import{y as U,Q as me,cg as ue,V as t,gc as q,ac as b,bQ as ge,p as a,bX as F,o as r,bE as Ce,kk as ke,w as d,hZ as R,hY as T,a as xe,by as fe,ai as je,kl as ye,km as be,b as k,cn as ve,e as $e,bM as we,ak as h,aw as ee,an as Le,n as Me,b9 as Ee,b1 as We,bb as te}from"./index-DTTvdp5s.js";import{a as s}from"./sentry-DSwgNZrO.js";import{n as o,c as re,k as Se}from"./mui-B9ZZxqGv.js";import{bh as oe,bL as De}from"./zeni-epic-state-BKQAT3eK.js";import{U as Ve,F as Pe,X as _e,Y as He,J as ze,G as Fe}from"./recharts-Df6P8LTk.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.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]="cdf2ffd3-f4cb-477b-b5d4-15b2dd296f1b",e._sentryDebugIdIdentifier="sentry-dbid-cdf2ffd3-f4cb-477b-b5d4-15b2dd296f1b")}catch{}})();const Re=k.getLocalizedStrings().expenseAutomation,Te=k.getLocalizedStrings().dateFormat.visual,{common:{strings:{percentage:Ye},texts:{score:Ze}}}=k.getLocalizedStrings(),Ie=({active:e,payload:i})=>{if(e===!1||e===void 0||!i||i.length===0)return null;const c=i[0]?.value;return c==null?null:t.jsxs(Je,{children:[t.jsx(Ge,{children:Ze}),t.jsxs(Oe,{children:[c,Ye]})]})};function Be({data:e,height:i}){const c=U(),v=e.map(x=>({month:De(`${x.period.year}-${String(x.period.month).padStart(2,"0")}-01`).format(Te.MMMYYFormat),count:Math.round(x.auditScore)}));return t.jsxs(Ae,{children:[t.jsx(Ne,{children:Re.overview.monthEndCloseTrend}),t.jsx(Ve,{height:i,width:"100%",children:t.jsxs(Pe,{data:v,children:[t.jsx("defs",{children:t.jsxs("linearGradient",{id:"scoreGradient",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx("stop",{offset:"0%",stopColor:a.brandColorJade,stopOpacity:.8}),t.jsx("stop",{offset:"100%",stopColor:a.brandColorJade,stopOpacity:.1})]})}),t.jsx(_e,{dataKey:"month",axisLine:{stroke:c.colors.grey3},tickLine:!1,interval:"preserveStartEnd",label:{color:c.colors.hero,fontSize:d.smallRegular.fontSize,fontWeight:d.smallRegular.fontWeight,fontFamily:d.smallRegular.fontFamily}}),t.jsx(He,{hide:!0}),t.jsx(ze,{content:Ie,cursor:{stroke:c.colors.primary,strokeDasharray:"3 3",strokeWidth:1},allowEscapeViewBox:{x:!1,y:!0}}),t.jsx(Fe,{type:"monotone",dataKey:"count",stroke:a.brandColorJade,strokeWidth:2,fill:"url(#scoreGradient)",dot:!1,activeDot:{r:5,fill:a.neutralGrey4Light,stroke:a.brandColorJade,strokeWidth:2}})]})})]})}const Ne=o(h)`
2
2
  color: ${e=>e.theme.colors.champion};
3
3
  `,Ae=o.div`
4
4
  display: flex;
@@ -1,4 +1,4 @@
1
- import{o as n,bZ as zl,Q as Ce,go as er,gp as tr,V as t,ct as Fl,bD as Bl,ab as Ge,aT as nr,u as f,b as me,ak as ot,an as Re,cu as _l,ac as D,x as Q,y as Tt,bE as Vl,ih as Nl,aQ as nt,bX as xe,dm as Pi,et as Ul,bx as Hl,p as he,au as Wl,eK as Qt,L as Jn,dU as Ze,b5 as Kn,ds as ir,bt as ql,gc as Jl,ie as Kl,h7 as Ql,g$ as or,by as Gl,bR as it,b9 as Qn,bM as sr,ks as Yl,ao as Ye,c8 as Zl,n as ar,bb as rr,as as Vo,aa as xn,bQ as No,ae as fn,kt as Xl,ku as ec,kv as tc,kw as Vn,kx as lr,ky as cr,kz as nc,kA as hs,kB as ic,gr as dr,dq as ur,kC as oc,kD as sc,kE as ac,kF as rc,kG as lc,kH as cc,kI as dc,kJ as uc,kK as hc,kL as pc,kM as hr,kN as mc,kO as gc,kP as xc,kQ as fc,gG as Uo,cg as Gn,cx as zi,P as pr,E as mr,cJ as Yn,dY as Ho,d as Wo,kR as yc,bq as wc,cn as bc,c6 as Cc,c3 as Zn,gJ as ps,iV as ms,aq as $t,dn as Xn,d5 as Kt,dI as qe,cq as ei,cD as ti,cG as ni,kS as vc,w as yt,ir as gr,fG as Sc,aG as xr,kT as kc,aX as qo,aS as gs,h1 as fr,kU as jc,kV as $c,kW as Ic,bH as yr,aV as Tc,gP as Jt,i4 as Hi,eH as $i,cN as Jo,aA as Lc,eI as wr,gB as Ac,fV as Rc,hb as br,g as Ec,kX as Dc,a_ as Ko,jU as Mc,jV as Oc,dT as Cr,kY as vr,i$ as Pc,hT as zc,gH as Ii,jq as xs,kZ as Fc,a$ as Bc,dw as Sr,a as Wn,iA as kr,iJ as Ro,k_ as Tn,ej as jr,el as $r,j2 as Eo,j3 as Ir,d2 as Tr,k$ as _c,d3 as Fi,iB as Lr,fu as Ar,l0 as Vc,ey as Wi,aM as Do,l1 as Nc,cS as Uc,iQ as Hc,dW as Wc,l2 as qc,gM as Jc,b3 as qi,eu as Kc,fP as Qc,l3 as Gc,dS as Yc,hI as Zc,a9 as Xc,ev as ed,ew as td,ex as nd,eA as fs,eB as ys,eC as id,gT as od,b1 as sd,eM as ad,eN as rd,eO as ld}from"./index-DceSoL0X.js";import{a as s,P as cd}from"./sentry-DSwgNZrO.js";import{n as o,c as le,k as Bi}from"./mui-B9ZZxqGv.js";import{bh as Ji,kO as dd,Hd as ws,He as qn,Hf as ud,Hg as hd,cx as pd,bL as Di,cy as md,c4 as Qo,Hh as gd,FC as bs,cz as xd,cA as fd,lT as Nn,bE as ln,Hi as Cs,Hj as yd,bV as Rr,bo as cn,Hk as wd,Hl as Er,Hm as Dr,Hn as Mr,Ho as Or,Hp as Pr,Hq as Go,ll as bd}from"./zeni-epic-state-BKQAT3eK.js";import{t as Yo}from"./panelSelectedMixin-Cddsb26L-BJi_hKr3.js";import{g as zr,X as Fr,s as Ln,J as Ot}from"./CollapsableReportTable-B7wBJa-J-CFRGpr0Y.js";import{N as Ki}from"./AccountRow-DHebunB5-DIYXQfGx.js";import{o as Br}from"./mapTimeframeBalancesToTreeNode-DliXXFXC-BfnSqJsP.js";import{d as vs}from"./mapLoadingInProgressToTreeNode-QGHkauXd-qPE55nra.js";import{h as Cd}from"./VendorsAccountsSection-2RQUw482-DQWkHxTh.js";import{u as vd,c as Ss,d as Sd,m as kd}from"./uploadAttachment-4DeHQ4oS-Bw7xJmib.js";import{r as Mi}from"./core-CddRDKK5.js";import{t as jd}from"./upload-reimbursement-receipt-O2N8vcO7-ByyuyA7j.js";import"./liveblocks-C3olwiFW.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.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]="be5cd3e7-685b-485b-9fcb-ed8a2f76dd2d",e._sentryDebugIdIdentifier="sentry-dbid-be5cd3e7-685b-485b-9fcb-ed8a2f76dd2d")}catch{}})();const{common:{navBar:{back:$d},texts:{refresh:Id,close:Td,copy:Ld,copied:Ad,open:Rd}},expenseAutomation:{common:{numbers:{maximumCount:Ed}}}}=me.getLocalizedStrings(),Dd=o(Ac)`
1
+ import{o as n,bZ as zl,Q as Ce,go as er,gp as tr,V as t,ct as Fl,bD as Bl,ab as Ge,aT as nr,u as f,b as me,ak as ot,an as Re,cu as _l,ac as D,x as Q,y as Tt,bE as Vl,ih as Nl,aQ as nt,bX as xe,dm as Pi,et as Ul,bx as Hl,p as he,au as Wl,eK as Qt,L as Jn,dU as Ze,b5 as Kn,ds as ir,bt as ql,gc as Jl,ie as Kl,h7 as Ql,g$ as or,by as Gl,bR as it,b9 as Qn,bM as sr,ks as Yl,ao as Ye,c8 as Zl,n as ar,bb as rr,as as Vo,aa as xn,bQ as No,ae as fn,kt as Xl,ku as ec,kv as tc,kw as Vn,kx as lr,ky as cr,kz as nc,kA as hs,kB as ic,gr as dr,dq as ur,kC as oc,kD as sc,kE as ac,kF as rc,kG as lc,kH as cc,kI as dc,kJ as uc,kK as hc,kL as pc,kM as hr,kN as mc,kO as gc,kP as xc,kQ as fc,gG as Uo,cg as Gn,cx as zi,P as pr,E as mr,cJ as Yn,dY as Ho,d as Wo,kR as yc,bq as wc,cn as bc,c6 as Cc,c3 as Zn,gJ as ps,iV as ms,aq as $t,dn as Xn,d5 as Kt,dI as qe,cq as ei,cD as ti,cG as ni,kS as vc,w as yt,ir as gr,fG as Sc,aG as xr,kT as kc,aX as qo,aS as gs,h1 as fr,kU as jc,kV as $c,kW as Ic,bH as yr,aV as Tc,gP as Jt,i4 as Hi,eH as $i,cN as Jo,aA as Lc,eI as wr,gB as Ac,fV as Rc,hb as br,g as Ec,kX as Dc,a_ as Ko,jU as Mc,jV as Oc,dT as Cr,kY as vr,i$ as Pc,hT as zc,gH as Ii,jq as xs,kZ as Fc,a$ as Bc,dw as Sr,a as Wn,iA as kr,iJ as Ro,k_ as Tn,ej as jr,el as $r,j2 as Eo,j3 as Ir,d2 as Tr,k$ as _c,d3 as Fi,iB as Lr,fu as Ar,l0 as Vc,ey as Wi,aM as Do,l1 as Nc,cS as Uc,iQ as Hc,dW as Wc,l2 as qc,gM as Jc,b3 as qi,eu as Kc,fP as Qc,l3 as Gc,dS as Yc,hI as Zc,a9 as Xc,ev as ed,ew as td,ex as nd,eA as fs,eB as ys,eC as id,gT as od,b1 as sd,eM as ad,eN as rd,eO as ld}from"./index-DTTvdp5s.js";import{a as s,P as cd}from"./sentry-DSwgNZrO.js";import{n as o,c as le,k as Bi}from"./mui-B9ZZxqGv.js";import{bh as Ji,kO as dd,Hd as ws,He as qn,Hf as ud,Hg as hd,cx as pd,bL as Di,cy as md,c4 as Qo,Hh as gd,FC as bs,cz as xd,cA as fd,lT as Nn,bE as ln,Hi as Cs,Hj as yd,bV as Rr,bo as cn,Hk as wd,Hl as Er,Hm as Dr,Hn as Mr,Ho as Or,Hp as Pr,Hq as Go,ll as bd}from"./zeni-epic-state-BKQAT3eK.js";import{t as Yo}from"./panelSelectedMixin-Cddsb26L-BJi_hKr3.js";import{g as zr,X as Fr,s as Ln,J as Ot}from"./CollapsableReportTable-B7wBJa-J-DFZw9oQ9.js";import{N as Ki}from"./AccountRow-DHebunB5-BEb8jkDV.js";import{o as Br}from"./mapTimeframeBalancesToTreeNode-DliXXFXC-BdbMBNQz.js";import{d as vs}from"./mapLoadingInProgressToTreeNode-QGHkauXd-BxkA6KUa.js";import{h as Cd}from"./VendorsAccountsSection-2RQUw482-CAqLMFGW.js";import{u as vd,c as Ss,d as Sd,m as kd}from"./uploadAttachment-4DeHQ4oS-C6lLr_hq.js";import{r as Mi}from"./core-CddRDKK5.js";import{t as jd}from"./upload-reimbursement-receipt-O2N8vcO7-ByyuyA7j.js";import"./liveblocks-C3olwiFW.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.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]="be5cd3e7-685b-485b-9fcb-ed8a2f76dd2d",e._sentryDebugIdIdentifier="sentry-dbid-be5cd3e7-685b-485b-9fcb-ed8a2f76dd2d")}catch{}})();const{common:{navBar:{back:$d},texts:{refresh:Id,close:Td,copy:Ld,copied:Ad,open:Rd}},expenseAutomation:{common:{numbers:{maximumCount:Ed}}}}=me.getLocalizedStrings(),Dd=o(Ac)`
2
2
  display: flex;
3
3
  width: ${n.sp4};
4
4
  height: ${n.sp4};
@@ -1,4 +1,4 @@
1
- import{y as Ve,Q,b as U,aa as et,aS as De,cJ as tt,V as t,bE as it,ae as at,aT as nt,x as f,o as n,l4 as lt,l5 as ot,l6 as rt,cR as Re,cO as dt,f6 as st,fK as ct,fL as pt,cQ as Ae,gi as mt,l7 as ut,cV as ht,cW as yt,fd as ze,fe as Oe,fn as ke,w as ge,u,fp as gt,bc as ft,b9 as be,p as Ee,ao as xt,at as We}from"./index-DceSoL0X.js";import{a as J}from"./sentry-DSwgNZrO.js";import{n as d}from"./mui-B9ZZxqGv.js";import{bL as Ue,bh as le,bZ as qe,bH as bt,bo as wt}from"./zeni-epic-state-BKQAT3eK.js";import{Y as vt}from"./LabeledDocumentField-De9s68TP-Cri5KHGX.js";import{S as te}from"./LabeledText-DTF15PO8-z7lFVMYz.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.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]="2c7c06dd-af3e-43b8-865d-236a11f0ed70",e._sentryDebugIdIdentifier="sentry-dbid-2c7c06dd-af3e-43b8-865d-236a11f0ed70")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=Q(),a=Ve(),s=U.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Pt,{children:h.map((p,l)=>t.jsx(Ft,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(It,{children:h.map((p,l)=>t.jsx(Tt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
1
+ import{y as Ve,Q,b as U,aa as et,aS as De,cJ as tt,V as t,bE as it,ae as at,aT as nt,x as f,o as n,l4 as lt,l5 as ot,l6 as rt,cR as Re,cO as dt,f6 as st,fK as ct,fL as pt,cQ as Ae,gi as mt,l7 as ut,cV as ht,cW as yt,fd as ze,fe as Oe,fn as ke,w as ge,u,fp as gt,bc as ft,b9 as be,p as Ee,ao as xt,at as We}from"./index-DTTvdp5s.js";import{a as J}from"./sentry-DSwgNZrO.js";import{n as d}from"./mui-B9ZZxqGv.js";import{bL as Ue,bh as le,bZ as qe,bH as bt,bo as wt}from"./zeni-epic-state-BKQAT3eK.js";import{Y as vt}from"./LabeledDocumentField-De9s68TP-D7Vke8eX.js";import{S as te}from"./LabeledText-DTF15PO8-CG4fT69v.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.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]="2c7c06dd-af3e-43b8-865d-236a11f0ed70",e._sentryDebugIdIdentifier="sentry-dbid-2c7c06dd-af3e-43b8-865d-236a11f0ed70")}catch{}})();const St={progressBarWidth:new f(343,726)},jt=({pageIndex:e})=>{const i=Q(),a=Ve(),s=U.getLocalizedStrings().spendManagement.zeniAccounts.expressPay.progressBar,h=[s.stateOne,s.stateTwo,s.stateThree];return i==="small"?t.jsxs($t,{children:[t.jsx(lt,{coloredSectionCount:e,stretchedSection:1,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1,topMargin:8}),t.jsx(Pt,{children:h.map((p,l)=>t.jsx(Ft,{isLast:l==h.length-1,isRelevant:l<=e,perSectionHeight:100/h.length,children:t.jsx(Le,{children:p})},l))})]}):t.jsxs(Ct,{windowSize:i,children:[t.jsx(ot,{coloredSectionCount:e,totalSections:2,barColor:a.colors.brandColorJade,isFrozen:!1}),t.jsx(It,{children:h.map((p,l)=>t.jsx(Tt,{stateIndex:l,isRelevant:l<=e,children:t.jsx(Le,{children:p})},p))})]})},Ct=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  margin-top: ${n.sp3};
@@ -1,4 +1,4 @@
1
- import{y as _,Q as w,b as y,aX as n,p as r,V as i,ct as v,x as p,cu as k,cv as x,u as g}from"./index-DceSoL0X.js";import{n as d}from"./mui-B9ZZxqGv.js";import"./sentry-DSwgNZrO.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./zeni-epic-state-BKQAT3eK.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.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]="1058d21e-9b95-4f2c-ae08-e06dc07d6a0f",e._sentryDebugIdIdentifier="sentry-dbid-1058d21e-9b95-4f2c-ae08-e06dc07d6a0f")}catch{}})();const t={popupWidth:new p(200,468,468,468),buttonWidth:new p(140,160,160,160),popupContainerLeft:new p(g[0],g[0],255),popupContainerWidth:new p(100,100,85)},z=d.div`
1
+ import{y as _,Q as w,b as y,aX as n,p as r,V as i,ct as v,x as p,cu as k,cv as x,u as g}from"./index-DTTvdp5s.js";import{n as d}from"./mui-B9ZZxqGv.js";import"./sentry-DSwgNZrO.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./zeni-epic-state-BKQAT3eK.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.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]="1058d21e-9b95-4f2c-ae08-e06dc07d6a0f",e._sentryDebugIdIdentifier="sentry-dbid-1058d21e-9b95-4f2c-ae08-e06dc07d6a0f")}catch{}})();const t={popupWidth:new p(200,468,468,468),buttonWidth:new p(140,160,160,160),popupContainerLeft:new p(g[0],g[0],255),popupContainerWidth:new p(100,100,85)},z=d.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -1,4 +1,4 @@
1
- import{Q as q,V as l,b as Y,cN as H,ez as G,y as ee,cS as Q,x as O,gm as Z,o as i,ac as M,er as ce,aG as le,ge as pe,gf as ue,a as he,p as u,u as g,gL as ge,d2 as be,eI as ye,aq as ve,bJ as we,w as W,dq as $e,bK as fe,bI as ke}from"./index-DceSoL0X.js";import{n as d}from"./mui-B9ZZxqGv.js";import{a as V}from"./sentry-DSwgNZrO.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]="2ebb2927-0442-4e48-9781-53e4e431b5ba",e._sentryDebugIdIdentifier="sentry-dbid-2ebb2927-0442-4e48-9781-53e4e431b5ba")}catch{}})();const v={width:new O(343,580,726),height:new O(g[6],g[6]),controlHeight:new O(g[6],g[6]),paddingLeftRight:new O(g[3],g[4]),paddingTop:new O(g[3],g[3]),paddingBottom:new O(g[3],g[2]),labelMarginRight:new O(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=q(),{formState:{errors:j}}=H(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":M("labeled-multi-text-field",t.name),children:[l.jsx(Q,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Ie,{labelWidth:s.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Le,{children:[l.jsx(se,{}),l.jsx(Oe,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
1
+ import{Q as q,V as l,b as Y,cN as H,ez as G,y as ee,cS as Q,x as O,gm as Z,o as i,ac as M,er as ce,aG as le,ge as pe,gf as ue,a as he,p as u,u as g,gL as ge,d2 as be,eI as ye,aq as ve,bJ as we,w as W,dq as $e,bK as fe,bI as ke}from"./index-DTTvdp5s.js";import{n as d}from"./mui-B9ZZxqGv.js";import{a as V}from"./sentry-DSwgNZrO.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]="2ebb2927-0442-4e48-9781-53e4e431b5ba",e._sentryDebugIdIdentifier="sentry-dbid-2ebb2927-0442-4e48-9781-53e4e431b5ba")}catch{}})();const v={width:new O(343,580,726),height:new O(g[6],g[6]),controlHeight:new O(g[6],g[6]),paddingLeftRight:new O(g[3],g[4]),paddingTop:new O(g[3],g[3]),paddingBottom:new O(g[3],g[2]),labelMarginRight:new O(g[3],g[4])};function je({isDisabled:e,label:s,firstText:t,secondText:p,style:$,isFieldError:k}){const f=q(),{formState:{errors:j}}=H(),m=G(j,t.name),T=G(j,p.name),r=ee();return l.jsxs(Te,{size:f,style:$,isDisabled:e!=null,isErrorFirstText:m,isErrorSecondText:T,"data-testid":M("labeled-multi-text-field",t.name),children:[l.jsx(Q,{isDisabled:e,label:s.label,style:{marginRight:v.labelMarginRight.value(f),width:s.width??"auto",color:r.colors.champion}}),l.jsxs(Ie,{labelWidth:s.width,children:[l.jsxs(ie,{className:"firstField",isDisabled:t.isDisabled,children:[l.jsx(Z,{type:t.type,name:t.name,placeholder:t.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:t.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:t.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),t.additionalInfoLabel&&t.isDisabled||m&&t.additionalErrorLabel?l.jsx(oe,{isError:m,children:m?t.additionalErrorLabel:t.additionalInfoLabel}):null]}),p.hideField?null:l.jsxs(l.Fragment,{children:[l.jsxs(Le,{children:[l.jsx(se,{}),l.jsx(Oe,{}),l.jsx(se,{})]}),l.jsxs(ie,{className:"secondField",isDisabled:p.isDisabled,children:[l.jsx(Z,{type:p.type,name:p.name,placeholder:p.placeholder,prefix:"$",allowNegative:!1,isNumericString:!1,inputMode:"numeric",returnValueType:"floatValue",registerOptions:p.options,decimalScale:0,allowLeadingZeros:!1,thousandSeparator:!0,thousandsGroupStyle:"thousand",isDisabled:p.isDisabled?"disabled":void 0,style:{display:"flex",flexGrow:1,width:"-webkit-fill-available",height:v.controlHeight.value(f),cursor:"inherit",backgroundColor:r.colors.grey3,borderRadius:i.sp1,color:r.colors.primary},hoverBgColor:r.colors.background,bgColor:r.colors.background,disabledColor:r.colors.background,isFieldError:k,defaultValue:t.defaultValue}),l.jsx(oe,{isError:T,children:p.additionalInfoLabel})]})]})]})]})}const Te=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{y as Ke,Q as J,aa as Ee,aA as _e,cJ as Je,V as t,ac as V,bE as Qe,ae as Xe,cr as Ie,o,a as ye,b as ue,bQ as Ye,cp as Ze,b5 as et,ds as tt,cx as lt,ab as ot,L as at,d3 as nt,bH as De,aV as it,x as z,bR as se,u as $,cq as ke,ak as we,cD as rt,cG as st,cN as dt,dn as je,d5 as me,bX as E,eD as Ce,aq as ct,iv as ht,an as mt,bj as gt,is as pt,iw as Oe,cl as ut,bv as wt,p as We,ix as bt}from"./index-DceSoL0X.js";import{a as j}from"./sentry-DSwgNZrO.js";import{n as r,c as Se}from"./mui-B9ZZxqGv.js";import{c4 as xt,GU as vt}from"./zeni-epic-state-BKQAT3eK.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.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]="aa922040-27fa-409c-94ab-6969d3d44e3c",e._sentryDebugIdIdentifier="sentry-dbid-aa922040-27fa-409c-94ab-6969d3d44e3c")}catch{}})();const Re="recommendedFirst",Ne="recommendedSecond",U="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,n)=>n!=null?`${e}.${l}.${n}`:`${e}.${l}`;function ft(e){const l=J(),{button:{label:n,onClick:a},search:{isOpen:u,placeHolder:g,searchText:b,onTextChange:f},newVendorButtonDataTestId:d,searchBarDataTestId:h}=e;return t.jsxs(yt,{children:[t.jsx(jt,{isSearchOpen:u&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ie,{placeholder:g,searchBarDataTestId:h,searchText:b,style:{position:"absolute",left:"unset",right:o.sp0},onSearchTextChanged:f}):null}),l==="small"?t.jsx(Ie,{keepSearchBoxOpen:!0,placeholder:g,searchBarDataTestId:h,searchText:b,style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},onSearchTextChanged:f}):null,l==="small"?t.jsx(St,{"data-testid":d,style:{marginLeft:o.sp5}}):t.jsx(ye,{dataTestId:d,label:n,onClick:a,size:"small",style:{marginLeft:o.sp3},variant:"primary"})]})}const yt=r.div`
1
+ import{y as Ke,Q as J,aa as Ee,aA as _e,cJ as Je,V as t,ac as V,bE as Qe,ae as Xe,cr as Ie,o,a as ye,b as ue,bQ as Ye,cp as Ze,b5 as et,ds as tt,cx as lt,ab as ot,L as at,d3 as nt,bH as De,aV as it,x as z,bR as se,u as $,cq as ke,ak as we,cD as rt,cG as st,cN as dt,dn as je,d5 as me,bX as E,eD as Ce,aq as ct,iv as ht,an as mt,bj as gt,is as pt,iw as Oe,cl as ut,bv as wt,p as We,ix as bt}from"./index-DTTvdp5s.js";import{a as j}from"./sentry-DSwgNZrO.js";import{n as r,c as Se}from"./mui-B9ZZxqGv.js";import{c4 as xt,GU as vt}from"./zeni-epic-state-BKQAT3eK.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.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]="aa922040-27fa-409c-94ab-6969d3d44e3c",e._sentryDebugIdIdentifier="sentry-dbid-aa922040-27fa-409c-94ab-6969d3d44e3c")}catch{}})();const Re="recommendedFirst",Ne="recommendedSecond",U="currentSelection",ve="originalVendor",ge="requested",de=(e,l)=>`${e}.${l}`,ce=(e,l,n)=>n!=null?`${e}.${l}.${n}`:`${e}.${l}`;function ft(e){const l=J(),{button:{label:n,onClick:a},search:{isOpen:u,placeHolder:g,searchText:b,onTextChange:f},newVendorButtonDataTestId:d,searchBarDataTestId:h}=e;return t.jsxs(yt,{children:[t.jsx(jt,{isSearchOpen:u&&l==="small",windowsize:l,children:l!=="small"?t.jsx(Ie,{placeholder:g,searchBarDataTestId:h,searchText:b,style:{position:"absolute",left:"unset",right:o.sp0},onSearchTextChanged:f}):null}),l==="small"?t.jsx(Ie,{keepSearchBoxOpen:!0,placeholder:g,searchBarDataTestId:h,searchText:b,style:{position:"absolute",left:"5px",right:"unset",top:"44px",width:"98%"},onSearchTextChanged:f}):null,l==="small"?t.jsx(St,{"data-testid":d,style:{marginLeft:o.sp5}}):t.jsx(ye,{dataTestId:d,label:n,onClick:a,size:"small",style:{marginLeft:o.sp3},variant:"primary"})]})}const yt=r.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  padding-right: ${o.sp0};
@@ -1,4 +1,4 @@
1
- import{V as r,aO as D,b as c,ac as E,aZ as b,J as I,aP as Z,aU as j,o as H,ak as x}from"./index-DceSoL0X.js";import{P as m,a as t}from"./sentry-DSwgNZrO.js";import{c as V}from"./SummaryCard-CzpKllZ9-BcAcs1DO.js";import{n as d}from"./mui-B9ZZxqGv.js";import{N as y}from"./NavigationArrow-DJQDYzJE-BC_4c0HP.js";import{x as T}from"./NavigationDots-C2ylmmp9-BUZFmr7S.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./zeni-epic-state-BKQAT3eK.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";import"./ReloadCard-CqhIfBOB-BY0vX67l.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]="400fbe60-2a3b-46d8-9f77-f4f7648c3f0a",e._sentryDebugIdIdentifier="sentry-dbid-400fbe60-2a3b-46d8-9f77-f4f7648c3f0a")}catch{}})();const S=d.div`
1
+ import{V as r,aO as D,b as c,ac as E,aZ as b,J as I,aP as Z,aU as j,o as H,ak as x}from"./index-DTTvdp5s.js";import{P as m,a as t}from"./sentry-DSwgNZrO.js";import{c as V}from"./SummaryCard-CzpKllZ9-C4GHMb0-.js";import{n as d}from"./mui-B9ZZxqGv.js";import{N as y}from"./NavigationArrow-DJQDYzJE-CYx11w2d.js";import{x as T}from"./NavigationDots-C2ylmmp9-R3cC46Nq.js";import"./liveblocks-C3olwiFW.js";import"./core-CddRDKK5.js";import"./recharts-Df6P8LTk.js";import"./zeni-epic-state-BKQAT3eK.js";import"./lottie-DHSNlrty.js";import"./analytics-BBPxpXjb.js";import"./lexical-CRAxrDKi.js";import"./utils-bhjg_GlW.js";import"./ReloadCard-CqhIfBOB-C75CM26d.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]="400fbe60-2a3b-46d8-9f77-f4f7648c3f0a",e._sentryDebugIdIdentifier="sentry-dbid-400fbe60-2a3b-46d8-9f77-f4f7648c3f0a")}catch{}})();const S=d.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: column;