@zeniai/web-app-ui 4.14.33-qa → 4.14.34-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (368) hide show
  1. package/dist/assets/{ACHDetailsPage-DKTSwNyl-vaiiH6iF.js → ACHDetailsPage-iiVBlQka-kJJwShx9.js} +6 -6
  2. package/dist/assets/{AIPerformancePage-BzTlSxeg-5-sFPCOu.js → AIPerformancePage-MBAB5kgB-CllvurBN.js} +1 -1
  3. package/dist/assets/AccountInfoPage-Cz9yoVl8-yEC5AHJo.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-B0ZnsyrQ-nblnEZiO.js → AccountInfoPageContent-j85psx_A-B10pnZIl.js} +2 -2
  5. package/dist/assets/{AccountLockedInfoModal-B6A-nGIq-CbXEwSi6.js → AccountLockedInfoModal-B1JxHllU-zA2mS4xW.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-BTmjrd8b-Bmi7mlyR.js → AccountReconDetailsDrawerPage-DF-X46_u-DqFdxkfQ.js} +3 -3
  7. package/dist/assets/{AccountRow-C-Iunc36-72sE71ts.js → AccountRow-DEtntSrL-CJ0B8bgS.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-D6xN5A4_-CDd7581y.js → AccountsPromoCardStack-Cvixqb_6-D97qRbqR.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-B6tLAOA_-iUCl4WAL.js → AddAddressForCardDrawer-B1Qfn44J-CPpzlUkA.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-Bw1oz9Y2-DF4WBRew.js → AddToWalletPage-BLxUsh1Y-BlYpwefQ.js} +1 -1
  11. package/dist/assets/{AddressRoutes-DZ3CePsl.js → AddressRoutes-D9ypa9JP.js} +1 -1
  12. package/dist/assets/{AddressScreen--daeKsww.js → AddressScreen-7cFlirZg.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-BK3PXwnr-DmdGNpEA.js → AgingReportsPage-XIzuLRE4-Ci3KQGlf.js} +8 -8
  14. package/dist/assets/{AiCfoScreen-DrIEINcV.js → AiCfoScreen-DoYaPaX9.js} +1 -1
  15. package/dist/assets/{AllUserItems-B42zEFpe-C5NuOkc_.js → AllUserItems-BGMZCYUO-D3nrnj9J.js} +4 -4
  16. package/dist/assets/{ApAgingDetailPage-vzW4qF2Y-DVMMh04t.js → ApAgingDetailPage-B-1gVAu6-Bzjn8P1m.js} +8 -8
  17. package/dist/assets/{AppBasePage-yAU5vW5D-C53pNaUV.js → AppBasePage-CYjdUgY4-B_GezOYf.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-nnh5cFf7-B2ApD6yG.js → AppDrawerContent-CbF8TOjd-CJdJC4Gi.js} +5 -5
  19. package/dist/assets/{ApprovalRulesSettingsPage-B-Y2YjpT-C80eVk9A.js → ApprovalRulesSettingsPage-RCtygkuw-D7FKTOUR.js} +1 -1
  20. package/dist/assets/{ArAgingChart-CCc6eh55-CSeG-Uqv.js → ArAgingChart-ZwWwEBJ3-CYvKQAY1.js} +2 -2
  21. package/dist/assets/{ArAgingDetailPage-CYXVPEzK-BAIqYo3y.js → ArAgingDetailPage-DtqyngrA-dzglT1I2.js} +1 -1
  22. package/dist/assets/{AttachmentView-DqrQDEWc-mCwLL7Mx.js → AttachmentView-UxkSFZmq-Dr8yZ85U.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-D1_dZg5k-D5kbkQ7T.js → BalancesInsightWithToolTip-Co6ZUc5x-DLuw_h8-.js} +8 -8
  24. package/dist/assets/{BankAccountSection-4vXBKCFA-KaAYLI0p.js → BankAccountSection-DnBVOkJC-Bn2rFs67.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-Dhmxhwx--CUBNVb6Q.js → BankAccountWarningSection-D7OuLiLz-CD3SlEdY.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-z52fh-wH-CJ_u9xIa.js → BankConnectionsSettingsPage-BDLTuNLu-BCTZxVaa.js} +13 -13
  27. package/dist/assets/{BillDetailPage-DRpctLxu-bdCPRsGz.js → BillDetailPage-V8us93cj-B0TwX2a_.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-DFkIdcSF.js → BillPayApprovalRoutes-DSmRUBge.js} +1 -1
  29. package/dist/assets/BillPayApprovalRuleDetailPage-C_REwEVS-CztPHOm6.js +27 -0
  30. package/dist/assets/{BillPayApprovalRulesPage-HG32jtX9-BVKOFsD1.js → BillPayApprovalRulesPage-C6G_eDX9-C8wM1oCi.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-DwxNDF0k-DdNDHpVJ.js → BillPayPromoPage-CTQSknOB-CxSqRwoG.js} +12 -12
  32. package/dist/assets/{BillPayRoutes-B46aoVkb.js → BillPayRoutes-DUDFuwtX.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-B-kmDrpB-Bfo7Z4ox.js → BillPaySetUpPage-BmgMLaf--BkQms9Qs.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-CNZyUOpM--gtvAMnb.js → BillingSettingsPage-IHY3ak0N-CL3RSkEP.js} +4 -4
  35. package/dist/assets/{BillsBulkReviewDrawerPage-DbIDTE51-D655D3p3.js → BillsBulkReviewDrawerPage-ZoFahXYa-BH-n-En_.js} +1 -1
  36. package/dist/assets/{BoxItem-CIyMdw2s-nxbr18CH.js → BoxItem-XoWq-tnh-BmrAcTRu.js} +1 -1
  37. package/dist/assets/{BusinessVerificationPage-DQ34qLUA-DMRdoDLL.js → BusinessVerificationPage-D9HtnNOu-FQn5FW8q.js} +3 -3
  38. package/dist/assets/{BusinessVerificationPageScreen-C86_V-r6.js → BusinessVerificationPageScreen-DB2AuUe-.js} +1 -1
  39. package/dist/assets/{BusyIndication-YMYY0Pff-D_KjfCvN.js → BusyIndication-BLGcHlgu-d1oE1KKV.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-CN1RN7Tf-DydQglA7.js → CardNumberSubText-Cn0EZrNE-tK-yujMO.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-CyYkVa0H-5lX_RN0h.js → CashbackDetailPage-Bk5ssPnj-C8QC0Hig.js} +9 -9
  42. package/dist/assets/{ChargeCardDetailPage-DFUAF2OM-BjL0DKyM.js → ChargeCardDetailPage-Ge9Aw7PA-DZlpK6dI.js} +20 -20
  43. package/dist/assets/{ChargeCardListPage-BTHDGtJ6-CCJNQLG0.js → ChargeCardListPage-BNLOoSv3-DV7-d8CD.js} +9 -9
  44. package/dist/assets/{ChargeCardListTable-BiKjkqVs-Dgu4VrOO.js → ChargeCardListTable-BoufojYF-Cnvek6YP.js} +26 -26
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-sPGU7qmY-rwescXiM.js → ChargeCardPaymentHistoryPage-5lUxK8pF-eVmFgfvo.js} +14 -14
  46. package/dist/assets/ChargeCardPromoPage-CKl6K-nr-DnYu005E.js +222 -0
  47. package/dist/assets/{ChargeCardRoutes-CPgq-Fcs.js → ChargeCardRoutes-B4WS6JPM.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-DmhPAnYT-Dyz8DCk0.js → ChargeCardSetupPage-Dqoel2Do-DOmmeiiu.js} +1 -1
  49. package/dist/assets/{ChargeCardStatementsPage-DUXupPSN-Db6p_ygZ.js → ChargeCardStatementsPage-Dalrj66w-B8hsBg7k.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-C8nbDVSz-95lqaH1D.js → CheckDepositDrawerPage-mYjv1H0f-Cz8ArAIi.js} +7 -7
  51. package/dist/assets/{CollapsableReportTable-C_bWRP7w-hzcwjYIg.js → CollapsableReportTable-CIaa7SIH-BTOs1ROa.js} +1 -1
  52. package/dist/assets/{CompanyOfficerDetailsSection-6LXCxWYP-Dc3qK4JY.js → CompanyOfficerDetailsSection-BSFNYauO-CNbg81GJ.js} +7 -7
  53. package/dist/assets/{CompanyPassportCard-DVJS9xE7-D9MmZ8zJ.js → CompanyPassportCard-B-mBb9Q5-DTZPiAcJ.js} +1 -1
  54. package/dist/assets/{CompanyPassportPage-FJ30paB0-CUlcgg__.js → CompanyPassportPage-Blyl_Z-c-DaWkc5U5.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-DFzd5xMl.js → CompanyPassportScreen-DzV8epiZ.js} +1 -1
  56. package/dist/assets/{CompleteProfile-D3Im5rsm-CBfB04g9.js → CompleteProfile-ySk9I1Ut-Co_b7X5p.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-BJrOe5Fg-DQJv_Nip.js → ConfettiBurst-CeAc4Ily-fAc6vAhM.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-CxbcAiyp.js → ConnectionAuthScreen-XNPx_XcE.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-CFViNyFz.js → ConstrainedInnerElement-CgdnMeoA-CQrlu1iR.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-C8dK3_XQ-CIY4Siau.js → CreateOrEditVendorPage-BRkqkhfw-6tasCpNK.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-Dp5mS2Hc-wlf0KhHC.js → CreditCardPaymentDrawerPage-oUIakAtz-DpasI8GY.js} +6 -6
  62. package/dist/assets/{CurrencySelectField-BAQ5aoHk-Crf9Iyws.js → CurrencySelectField-CSPhUjwG-QMsL0N8I.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-D8T1akbN-BTSd_gC1.js → CustomerOnboardingActivationPage-CoOyWe6_-Dn0m9Q2e.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-CPpHJyPJ.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-iH-ugk6E.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-DSvvHqR_-Clg865Pc.js → CustomerOnboardingDetailPageSkeleton-CWNyUuRp-PCUtxDIZ.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-CSLO3M7E-Di-cYBWB.js → CustomerOnboardingNoStepsPage-DWx46Z6R-Ba9gs9mp.js} +17 -17
  68. package/dist/assets/{CustomerOnboardingPage-weza3x24-C74TSa_v.js → CustomerOnboardingPage-D86Sj2KP-BtfnNu-9.js} +3 -3
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-3YH4y1e1-DgtSAlPY.js → CustomerOnboardingProductSuitePage-Bo0LFveG-BnqGrm-5.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-D8lBv3Fo.js → CustomerOnboardingRoutes-Cii6REat.js} +1 -1
  71. package/dist/assets/{Dashboard-Bpuy-Pez-DtqZ0TAC.js → Dashboard-DQLJzr16-BXSSEaEy.js} +1 -1
  72. package/dist/assets/{DashboardReportPage-1p79NBF9-BeGuSbHr.js → DashboardReportPage-CwfTMXY5-CyyBZOOf.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-C_p-DfC4.js → DashboardRoutes-DPYTQsIc.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-CBg2tWHO-Bg6ARoU-.js → DashboardSidebarBackgroundAnimation-CUZGIAxW-Cr2AFDv0.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-DFVvpMg0.js → DefaultTenantHome-DShfBjyT.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-DlztlGZL--Y5TyCxK.js → DepositAccTransactionItem-Ci-LxLsk-Ba_0JQSS.js} +5 -5
  77. package/dist/assets/{DepositAccTransactionListPage-BO43c3Uz-B3QFlMvi.js → DepositAccTransactionListPage-RG7P8vQS-DbfwdIAf.js} +3 -3
  78. package/dist/assets/{DomesticWireDetailScreen-BxeuSD7C.js → DomesticWireDetailScreen-DdRhRffk.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-SEql3I0P-CkHg76UF.js → DomesticWireDetailsPage-DsPFUOcE-CNM83Rj8.js} +4 -4
  80. package/dist/assets/{DownloadOverlay-PhrwF2iZ-BSolbkT5.js → DownloadOverlay-BjTf50Dz-DEzcOvm5.js} +14 -14
  81. package/dist/assets/{DrawerPage-Bf3AP3Lj-CsKBkHKX.js → DrawerPage-0OFinUxM-CdrQ9TzW.js} +1 -1
  82. package/dist/assets/{DrawerScreen-CNYes_B5.js → DrawerScreen-BgWdy-zB.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-B-rBzonN-T5IKpK3c.js → EditPeoplePage-BKcOmYVv-D9y240Gc.js} +5 -5
  84. package/dist/assets/{EditReimbursementDetailPage-CUiIHNgT-CMbJXkGu.js → EditReimbursementDetailPage-BFIHhQbx-CqZ1c7qf.js} +1 -1
  85. package/dist/assets/EntityDetailPage-D8FzsqNk-DxrfKvnb.js +18 -0
  86. package/dist/assets/{EntityDetailRoutes-B_fkkkd0.js → EntityDetailRoutes-jLGbxUaz.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-mXeSjiuZ-DK_sIHqa.js → EntitySummarySection-ORJ2pE_k-BgNQmv_X.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-DQCoy1O9-DUzEeon7.js → ExpenseAutomationOverviewPage-Dzf7j2zV-gCWUW27x.js} +3 -3
  89. package/dist/assets/{ExpenseAutomationPage-BeAzQ7Qx-CtuC2pA_.js → ExpenseAutomationPage-BRsKGeoM-BXGFdyb-.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-Bn_W0EJ4.js → ExpenseAutomationRoutes-D9vGLTe3.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-C-isOU1b-C5JsOuHP.js → ExpressPayPage-DlBFtMaR-C8b9Izur.js} +6 -6
  92. package/dist/assets/{FeaturePreviewPage-Cyre9YzV-Dh66_th1.js → FeaturePreviewPage-C31F3Gmz-DHInFJNz.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-qfP2OUEx.js → FeaturePreviewScreen-BUEayEBU.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-DZNWzSvo-4LVVpbi9.js → FollowStepsSection-BVT2K7mu-DYEgY8Jh.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-Dp--ugNc-mV5JyIK2.js → GlobalReviewListPage-0cZe1hh0-BPLQx8Xp.js} +1 -1
  96. package/dist/assets/{InformationCardStack-D7naFDX0-ChrRXFYI.js → InformationCardStack-t8eELRLU-Fl6DqL5O.js} +1 -1
  97. package/dist/assets/{InsightsCardStack-DexUl4h--BoiaSNx7.js → InsightsCardStack-CJBPZbzD-DGmN2b_X.js} +6 -6
  98. package/dist/assets/InsightsSection-tUBzsCix-DIQLSRNu.js +27 -0
  99. package/dist/assets/{IntegrationsSettingsPage-hFTe3wiP-C7P8jA4W.js → IntegrationsSettingsPage-Ce0yKUWI-Dbrmpo2j.js} +3 -3
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-DLkE5bXp-BLrA_sVU.js → InternationalWireSwiftDetailsPage-BzR-rKaL-DTkvcjTH.js} +9 -9
  101. package/dist/assets/{InternationalWireVerificationPage-DYGjEqNz-j-LqM69O.js → InternationalWireVerificationPage-7tCXdJ3Y-BOpLh7TD.js} +10 -10
  102. package/dist/assets/{InviteFormPage-CGAsWQn7-DTRQdcWE.js → InviteFormPage-DePVC0CH-TfpQcbbS.js} +1 -1
  103. package/dist/assets/{InvitePageListView-BSPE9f03-tf28z0Pj.js → InvitePageListView-ChbvDKgQ-CxYzSS3J.js} +20 -20
  104. package/dist/assets/{InvitePeoplePage-ANvLB-mB-WhL9WNb0.js → InvitePeoplePage-DJiEzIeY-YtuIrr11.js} +2 -2
  105. package/dist/assets/{InvoiceUploadSection-OGMswY7c-NI5q_7OK.js → InvoiceUploadSection-BjNMjhQR-B0WmHo8s.js} +12 -12
  106. package/dist/assets/{IssueChargeCardPage-sLInqAsW-B4KlGbEM.js → IssueChargeCardPage-4xbGf5Ut-CG64H4WO.js} +11 -11
  107. package/dist/assets/{LabeledAddressValue-DBJ236tZ-BerYTYe0.js → LabeledAddressValue-Czt7QvSJ-ezeCCYD9.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-CAr-IiTa-DIler834.js → LabeledAddressValueField-Dl3atH92-CBuLNDhF.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-BdWZgcQc-BRawuCYy.js → LabeledControlledCheckBoxField-DT_nxhPN-DrCJem7I.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-C6z1v9S1-DYoPmUzY.js → LabeledCountryMultiSelectField-BnljZpX0-CrALbnep.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-Dhi0n2ky-B7iwCfH_.js → LabeledCreatableSingleSelectField-CiInq9yD-B0A_NESz.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-B3QSq1eM-Dn-2GIt3.js → LabeledDocumentField-Ceb8vgVH-BzsX4WXj.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-B39DlufR-BPjCYmio.js → LabeledDropDownFormattedTextField-B98gNWTE-rwd9doXk.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-CY2mGhJG-B5JFU4wM.js → LabeledEmailInputField-C53P9fJl-BS-n0yyf.js} +1 -1
  115. package/dist/assets/{LabeledNameField-CYN5kdQi-CHfes9Ox.js → LabeledNameField-BdVztq_8-Cc3_vzCa.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-CBXzDXMd-CCFQll02.js → LabeledSingleSelectField-sjDjhxfQ-DngJSR1z.js} +1 -1
  117. package/dist/assets/{LabeledText-GEbY3-bB-D0ysNeoF.js → LabeledText-CFJSoGtK-hLpZiX2C.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-Do8fziYM-CvY4pk5I.js → LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-CajsyJVF.js} +1 -1
  119. package/dist/assets/{LabeledZeniRolesDropDownField-DJfE1qQb-CarCFyTQ.js → LabeledZeniRolesDropDownField-CQiP2rEh-DpkAVgvo.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-B2ROo3VS-DJ6xwUid.js → LinkJETransactionPage-ANY7Ns42-CApOUFWk.js} +12 -12
  121. package/dist/assets/{LockCardPage-D2dUPnNL-Eafl9wy6.js → LockCardPage-0piclOz3-FnbsGUI5.js} +1 -1
  122. package/dist/assets/{LowBalancePopup-DTtl3SIc-CeYZtxfy.js → LowBalancePopup-CplxkRHP-B1Znghgy.js} +1 -1
  123. package/dist/assets/MagicLinkACHDetailsPage-BKh8WrCR-Ee7s37LW.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv19HbKi-ByrEtbtY.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-DbFxpWOg-BpTLsET9.js +1 -0
  126. package/dist/assets/{MagicLinkRoutes-CakulreU.js → MagicLinkRoutes-B8zheK-B.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-DmbM-s2i.js → MagicLinkSignInScreen-qtJuxxon.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-Ctt1pLiv-Baz0qr0W.js → MagicLinkSuccessPage-BA1LfhVb-By8HxESz.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-CtsQ_c44-h10gi8NN.js → MagicLinkTitleSection-DLdaV8WG-BuvestSo.js} +1 -1
  130. package/dist/assets/MailingDetailsSection-BNVPaGFt-De-HK05Q.js +21 -0
  131. package/dist/assets/{MobileAppDrawer-2LbkYhdu.js → MobileAppDrawer-CKcdPSDd.js} +1 -1
  132. package/dist/assets/{MoreMenuButton--MxUyTqX-1RkUcWJr.js → MoreMenuButton-DrAQ635T-BL2i_PBG.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-6ltpx62E-By1YLu0H.js → MyBankConnectionsSettingsPage-BiDvyO_G-BqsVQnsn.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-CwDedcXl-CBi6XHSM.js → MyPendingActivationChargeCardListPage-Bb4_b9o6-DszbbtUq.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-Bmhu2lrK-BOMukk0k.js → MyProfileSettingsPage-nY_eDqfm-aRf1sJOL.js} +1 -1
  136. package/dist/assets/{NavBarWithPicker-jqJCHGvR-JHYu4cvw.js → NavBarWithPicker-Dr5XHgP5-CjhNLCso.js} +1 -1
  137. package/dist/assets/{NavigationArrow-DY_BhITD-Bl_-33Bd.js → NavigationArrow-DT82hMh--BnPRXoeX.js} +1 -1
  138. package/dist/assets/{NavigationDots-Kh5ODrCQ-DFRkvytB.js → NavigationDots-CwCZ9EAa-ovWuwmnJ.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-BYTROFvX-0fcN1-JD.js → NewGlobalMerchantPage-D1lxnByE-D4tZVWQn.js} +1 -1
  140. package/dist/assets/{NoDataChart-CuiKDcAB-CJ1icN_z.js → NoDataChart-DCTRXLc7-C1K6noeS.js} +1 -1
  141. package/dist/assets/{NoDataTable-BpH8puX--DfcxqWrJ.js → NoDataTable-D8Xw5pAY-C0LyDZgH.js} +1 -1
  142. package/dist/assets/{NotFoundPage-BKvCYyvc-BE5hfWJC.js → NotFoundPage-B_zPUigU-CFd5sZ-j.js} +8 -8
  143. package/dist/assets/{NotFoundScreen-Bbv8H3nZ.js → NotFoundScreen-CJqSMVfb.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-Bw6HdP3t.js → NotificationRoutes-j0M-AVSa.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-F2xXUCSE-B-O9mrhC.js → NotificationSettingsPage-aKLRiMp--Vy4Thl7S.js} +4 -4
  146. package/dist/assets/{NotificationsListConfig-C9r-O2kH-DMi-LyFP.js → NotificationsListConfig-CVEetkBc-BGp3geYy.js} +1 -1
  147. package/dist/assets/{NotificationsPage-CZZ9GTVy-BLrKuEst.js → NotificationsPage-DEw6V83J-SkJPHzO4.js} +14 -14
  148. package/dist/assets/{OpExByVendorPage-Crvcsx0U-D3aW4Up2.js → OpExByVendorPage-DJMov6Ux-CzqjhunS.js} +5 -5
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-cN3F11As.js → OverlayContainerPage-BG9y5C0t-CuyJ8LZt.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-CkDCt5NK-C1wItahw.js → PandLWithForecastPage-RBTh1bFk-BwnpORkG.js} +7 -7
  151. package/dist/assets/{PandLWithForecastRoutes-DEpl-kK8.js → PandLWithForecastRoutes-J6LmjJ1B.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D1ZDh1GY-BPH3KEPd.js → PaymentAccountSetupBillingAddressSection-D-kQI4nd-BoSQv9rJ.js} +1 -1
  153. package/dist/assets/{PeoplePage-D2CtRlrd-BaBsCmEu.js → PeoplePage-BEc-Oss7-DoZuQeL3.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-BERYSVqt.js → PeopleRoutes-C0vyagIg.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-BGDjlCKg.js → PerformanceRoutes-zXK3SrhB.js} +1 -1
  156. package/dist/assets/{Preview-Ch-PxJf8.js → Preview-COp40RlO.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-sNagRI0c-Ce6W9juD.js → ProductsCarousel-BRo0P4GW-Bu_QsU8W.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-BUk-u73S-uSCnFLmc.js → PromoBaseCards-BrXJEufN-C4zOhiIC.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-C1rEAxUE-Q804Cvr3.js → QBOConnectionDialog-BIg9Iais-CzdJGXEh.js} +1 -1
  160. package/dist/assets/{QBOConnectionScreen-Cg7BmKuP.js → QBOConnectionScreen-DROpihDX.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-iQJCHR-K-BVPCLXHR.js → QBOSetupSection-DDoUJ7L6-qtD1b_uv.js} +1 -1
  162. package/dist/assets/{ReferralListScreen-Do1GpEZb.js → ReferralListScreen-Bkepb1RS.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes-DykPBANB.js → ReimbursementApprovalRoutes-B_Qw-_-n.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BPIKZ9v1-BNELgYj0.js → ReimbursementApprovalRuleDetailPage-CP0muUGK-B40CL0Ys.js} +3 -3
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-Bmntxu5O.js → ReimbursementApprovalRuleDetailScreen-Ud4xo4RE.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-AE810nQZ-Cw7UlK2v.js → ReimbursementApprovalRulesPage-BpVWq3rk-pDKAG_dA.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-CYuZJL_J-dtJvpaUZ.js → ReimbursementDetailPage-pCg86_Ty-BwD3VA7C.js} +5 -5
  168. package/dist/assets/{ReimbursementPromoPage-CaxjSwrz-CrUxmQbQ.js → ReimbursementPromoPage-BW6icjG5-CwTaRQC0.js} +6 -6
  169. package/dist/assets/{ReimbursementRoutes-DIhapEaG.js → ReimbursementRoutes-kGf8y_Pc.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-Bw77MBHF-DY7UAbXu.js → ReimbursementSetUpPage-B6OhWEWH-CGJsBL7Z.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-B-svIloS-aC2GWjh5.js → ReimbursementsBulkReviewDrawerPage-DmDoqEZh-DV9AjOeD.js} +1 -1
  172. package/dist/assets/{ReloadCard-D5kxTfzJ-DZ7WcKTp.js → ReloadCard-DIFXZM9U-DuI83eQl.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-BZU8yltx-BgPE2K8D.js → ReportTableViewSelector-BsIDwouQ-DLCe8EfR.js} +1 -1
  174. package/dist/assets/{ReportsPage-CdN9MEVy-D9B82vbB.js → ReportsPage-BFTuYQt2-BHmgPSl5.js} +5 -5
  175. package/dist/assets/{ReportsRoutes-D0tPBhGa.js → ReportsRoutes-DaW9sMcm.js} +1 -1
  176. package/dist/assets/{RevenueChart-B_RMeweH-7bv4bhdH.js → RevenueChart-BoFq3ebd-B1Jmsn3P.js} +12 -12
  177. package/dist/assets/{ReviewDetailsPage-a73YIZSO-BjlIl2Hn.js → ReviewDetailsPage-6kCQzaHm-Cn6HDwAl.js} +1 -1
  178. package/dist/assets/{ReviewOverlay-Ubmz06uP-BujvaBnu.js → ReviewOverlay-Dhb-kL6G-BfSpCmKQ.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-BRbYkU2f.js → RewardsRoutes-ZPHX_bEI.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-BYO1YG6N-CTVk-E46.js → RoleWithToolTip-BfM8Ltz4-DGj9-oQ7.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-vgqilDC8-D8WWU11u.js → ScheduleDetailsFixedAssetsPage-Ccewwmwc-BRbRv99B.js} +1 -1
  182. package/dist/assets/{ScheduleDetailsPage-DdEeFryA-Dk2G_kUJ.js → ScheduleDetailsPage-D4LK83qQ-C27rzfV2.js} +1 -1
  183. package/dist/assets/{ScheduleSequenceTable-poNEzbqS-D1_O58Op.js → ScheduleSequenceTable-BZR2cL6z-BUCxLw4U.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-l7j_PAHw.js → ScreenRoutes-DUg5kVGG.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-BSOGwHCj-DRnE7z5J.js → SetUpAccountSection-CxjYbrXu-D_xZkN4u.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-BOYsRkcJ.js → SettingsRoutes-BrYKFKqU.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-BW5sbmcH.js → SetupPagesScreen-BDAmd8Nv.js} +1 -1
  188. package/dist/assets/{SignIn-q4J9wRx8-DePqNMHn.js → SignIn-CVmtPGKL-BjZd_WFj.js} +6 -6
  189. package/dist/assets/{SignInScreen-DslARcQJ.js → SignInScreen-BwyzU0FU.js} +1 -1
  190. package/dist/assets/{SignOutScreen-C_H6M-mZ.js → SignOutScreen-DIMehMGL.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-DKRkSADM-CSd5tSEZ.js → SpendManagementListViewPage-BLjP9T8h-zDO_JYhV.js} +4 -4
  192. package/dist/assets/{SpendManagementPerTabPage-Cd30NnXU-CS3ilKe0.js → SpendManagementPerTabPage-Ck4brjun-DcKQnpZe.js} +21 -21
  193. package/dist/assets/{SpendManagementSection-CPBOh_J5-DENgRE8u.js → SpendManagementSection-DAqR2c98-Cn1QTtEj.js} +1 -1
  194. package/dist/assets/{StatementItem-NyOORj5f-fjAqSj3Z.js → StatementItem-B_iG99XI-BTCPeQVA.js} +2 -2
  195. package/dist/assets/{StatementsPage-Cp77wyFS-C7ISvjR1.js → StatementsPage-DcKziEfZ-Ckb4n5eQ.js} +2 -2
  196. package/dist/assets/{StatusSwitcher-DN-yYdli-Car4Wffo.js → StatusSwitcher-BI-dgnrK-D9HsJYc3.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-D1LNrhUn-BAGv3SSP.js → SubTabSwitcher-BpNI5Wke-J6S5GWya.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-DdyAYe1e-CZsu9OVO.js → SuccessAnimation-AojDorqX-DelQrrOf.js} +1 -1
  199. package/dist/assets/SummaryCard-HW-1WXN9-DmGROxw-.js +1 -0
  200. package/dist/assets/{TaskDetailPage-DXTLNhtf-CRzBilad.js → TaskDetailPage-Cwe193JO-B3mrz9Ub.js} +1 -1
  201. package/dist/assets/{TaskListScreen-CKaTUfjj.js → TaskListScreen-BkKSoC_l.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-BaLJR4-7-BfMuUNcv.js → TaskManagementPage-Bz1uP5hK-CqiPZXfA.js} +28 -28
  203. package/dist/assets/{TaskRoutes-GbR1OR35.js → TaskRoutes-BGbHdjST.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-CkgGEwEw-zKlJ5DzO.js → TimeRangeSwitcher-oORYeFzN-Bcz5e_ib.js} +1 -1
  205. package/dist/assets/{TimeframeSwitcher-B8fpnYS8-DQR_BxSV.js → TimeframeSwitcher-JcJSbn0--fOirrXtT.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-DwFo6jY4-FfcB1NLf.js → TimeframeSwitcherWithToggle-BEZU-KDj-P0Jp8ujn.js} +2 -2
  207. package/dist/assets/{TopExCard-PayAZZY--iaLxXoM4.js → TopExCard-CF6z0JWk-aJxcszKV.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-Mp2KcYf6-oLp7-3Ip.js → TopExDetailPage-DrcKlFuy-oABFUcUd.js} +3 -3
  209. package/dist/assets/{TransactionActivityLogPage-CnmL_hUz-CXp6QGqE.js → TransactionActivityLogPage-BB4q0jan-DmLyvTEw.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-Bqlnmn8Y-BTMQkCwv.js → TransactionDetailPage-DRG_qosz-BtS_tJXW.js} +22 -22
  211. package/dist/assets/{TransactionDetailRoutes-CvNXB6If.js → TransactionDetailRoutes-BqT5fc1q.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-BV_pNfyg.js → TransactionDetailScreen-CAd4Ee0D.js} +1 -1
  213. package/dist/assets/{TransactionList-BOmlsfpv-BUFZXOSq.js → TransactionList-iw4pyMYF-DcV99PuO.js} +9 -9
  214. package/dist/assets/{TransactionListBig-CaMT-rq_-DBRBONTs.js → TransactionListBig-BljAUwAB-CgBr6OF2.js} +6 -6
  215. package/dist/assets/TransactionListPage-ReGTmF43-DlTPQjmK.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-C7_wmcOK.js → TransactionListRoutes-BhvTNW6M.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DlXuiPC5-DH3LeouE.js → TransactionVendorDetailPage-DXuYIj-p-BYLZbSnP.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-C2VcssbM-Ds3Buuei.js → TransferDrawerPage-C3q8h8Zy-C9Bu2kIu.js} +10 -10
  219. package/dist/assets/{TreasuryOverviewPage-DyyoGY23-B3lkP75d.js → TreasuryOverviewPage-DqjFEV9B-CYFYYxZY.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-B9Hf7oxZ-57H2ubx5.js → TreasuryPromoPage-ByeK0W_5-CfOqREZ0.js} +14 -14
  221. package/dist/assets/{TreasuryRoutes-R2IJOmnc.js → TreasuryRoutes-CP_kclcP.js} +1 -1
  222. package/dist/assets/TreasuryStatementsPage-BjGwvMFL-CyFCCkuV.js +58 -0
  223. package/dist/assets/{TreasuryTaxLetterPage-BcTBr9x9-BeDKnsuI.js → TreasuryTaxLetterPage-DwLyqS86-DUS4dLDe.js} +4 -4
  224. package/dist/assets/{TrendChart-BvXDrgUJ-BpZSEXhR.js → TrendChart-Dgh_21FN-DldNMNLW.js} +2 -2
  225. package/dist/assets/{TrendWithTransactions-RCpzdPf3-bpOEgU86.js → TrendWithTransactions-BgIPapHk-yF3cpnF6.js} +6 -6
  226. package/dist/assets/{UncategorizedAccountsMappingPage-B1m3iXh5-BI9FK75f.js → UncategorizedAccountsMappingPage-DIIJcGrj-DpxmnOrf.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-lVg_8mQ4-Ddm0HOtK.js → UnitIntegrationPage-DIOZhQOZ-D5vOldwB.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-DrAWxBXn-GduEZkMl.js → UploadAdditionalDocumentOverlay-qrcEQmkz-DEAH1rR2.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-C8m_OJEH-CRzhgn8L.js → Vendor2FAPopup-C58w6vC7-B6Whv7tb.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-BbxRwrEv-BMYPvmSB.js +1 -0
  231. package/dist/assets/{VendorDetailPage-Y9_hsgjs-DnYGOrtp.js → VendorDetailPage-CEQFcNHr-CX9v8TJZ.js} +11 -11
  232. package/dist/assets/VendorDomesticWireDetailsPage-C02ZhGg3-CcLCcIv4.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-CPevpiim-CXHipFEF.js → VendorFiling1099EditablePage-Dl7jZYBV-DZmwa4DL.js} +6 -6
  234. package/dist/assets/{VendorFirstReviewPage-CXftFNl_-EYzoSqiC.js → VendorFirstReviewPage-yVbtg_tG-vnisIb8R.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-88NtGE3e-D2HrMQxV.js → VendorInternationalWireDetailsPage-DNDv_s8G-f9eGCIqU.js} +6 -6
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-CeTlsL7U.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-DorsKXyL-DWmz9oym.js → VendorsAccountsSection-Cscbgqrx-Zty_2Das.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-CutfvXg5.js → VendorsRoutes-0dl7Omuv.js} +1 -1
  239. package/dist/assets/{VerifyDevice-DAym8rUN-FPY3GtJ6.js → VerifyDevice-D1vsUSdJ-hlyDWjEh.js} +5 -5
  240. package/dist/assets/{VideoPlayer-53OvOC7l-B8n3tQt2.js → VideoPlayer-TlEy-oD0-DnsdEgv4.js} +1 -1
  241. package/dist/assets/{VideoPopup-v9quqdro-DZjd9t4t.js → VideoPopup-3DD646kG-BEeSChGm.js} +4 -4
  242. package/dist/assets/{WiseConfirmationScreen-BrKM2fxE.js → WiseConfirmationScreen-BW6hT1Lt.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-CFEGqW5l-DgQWWE4Z.js → ZeniAccountDetailPage-BbsXzuHD-DIIfMLh3.js} +14 -14
  244. package/dist/assets/{ZeniAccountListViewPage-j85TO5tM-vuCxLVfZ.js → ZeniAccountListViewPage-lmuVUpKS-DSNsPUPM.js} +21 -21
  245. package/dist/assets/ZeniAccountNavBarPieces-CQhwBKXD-CSe8C_Ya.js +33 -0
  246. package/dist/assets/{ZeniAccountPromoPage-DeHmh4My-cXlTTduj.js → ZeniAccountPromoPage-CXEb9tRE-DBFLOPLE.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-CVVAUaPO.js → ZeniAccountRoutes-CAjxqnTS.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-ofkQR72l-BRlOELTo.js → ZeniAccountSetupPage-DPhYQu6u-B9IBOs3Q.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-ScoHvAyQ.js → ZeniAccountStatementScreen-I7iDP5eY.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-Ct7MPW2X-MRoTqMzS.js → ZeniAvatar-CCOD249Z-DHdRsr5H.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-CmCqmJmV-BjVfX9jS.js → ZeniCopyright-pvaggW6x-DhIa5hzn.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-RNJ2ukKC-BS6c2-W_.js → ZeniDatePicker-EhzRlpFY-Bagds5F3.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-BpfqM032-4kutNI0C.js → ZeniTransferAmountSlider-Dlyom9dD-CMHS5vTr.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-BsfTzM_T.js → accountMappingHelper-DeA_Vzuk.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-Dy45DaiH.js → add-to-wallet-DgdBD8_G-DSVHJQZ8.js} +1 -1
  256. package/dist/assets/{analytics-BX2zKevq.js → analytics-hnA26KoH.js} +1 -1
  257. package/dist/assets/{analyticsHelper-qtejXlXH-BejVWTJz.js → analyticsHelper-AeOsAjMK-B2elKvEV.js} +1 -1
  258. package/dist/assets/{analyticsHelper-8YQEEKMi.js → analyticsHelper-C6d1RQIz.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-XZ3zlctQ.js → arrow-south-east-round-PEovUgvH-C7VEDzJz.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-DR96fUbR.js → auto-transfer-rule-mbafm5D3-CvacsS1B.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-DRSZhV3E.js → avatar-Dz7aEm3d-BBjMxgr_.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-rbOCdeK7.js → bank-letter-BOcVjN6J-BDC6rOv1.js} +1 -1
  263. package/dist/assets/{calculateSize-CzpGCfNE-Cy_LgZ5r.js → calculateSize-D-LzlJzs-DNCT8MgL.js} +1 -1
  264. package/dist/assets/{chartTypes-BqRsL6eJ-BHjz48UJ.js → chartTypes-BLsP7rGF-Cjsgj_un.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-DZUKQUzx.js → clock-CJkylEKt-CTyWvBpx.js} +1 -1
  266. package/dist/assets/common-CAmBErdt-BVIeK7KA.js +1 -0
  267. package/dist/assets/{commonDimensions-CzWWgDTA-Dv5cpYCb.js → commonDimensions-DIm7kTtR-DqNzhcTL.js} +1 -1
  268. package/dist/assets/{commonTypes-CF6UyWSv-0hjd__4v.js → commonTypes-B3mnx2x_-C4g4js89.js} +1 -1
  269. package/dist/assets/{core-CRK-q5k6.js → core-DuCBl3U1.js} +1 -1
  270. package/dist/assets/{dash.all.min-DkWnBsIH.js → dash.all.min-DJBtyB-p.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-Br2RkwXR.js → decodeURIComponentSafe-B5ZlGWkv.js} +1 -1
  272. package/dist/assets/{dnd-CgFlpM7S.js → dnd-BPJHdlPA.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-CdMT-oeR.js → dollar-round-D18u7nlm-C91Luiym.js} +1 -1
  274. package/dist/assets/{downloadPdf-BFFM3Hea-C4uN458-.js → downloadPdf-B5WrL0K1-C6-xl2en.js} +1 -1
  275. package/dist/assets/{empty-DI8oDJKz.js → empty-BcYVHaFA.js} +1 -1
  276. package/dist/assets/{empty-Qlk-PeUi.js → empty-UwS7bCyx.js} +1 -1
  277. package/dist/assets/{epic-B1grlEUb.js → epic-DAzl9zmQ.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-Dx-p_nKS.js → filter-cZIFUNvj-CU1t2o_9.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-CYoIDNTT.js → getLocaleForTenant-B4PeqeqG.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-6lCOhzA2.js → gift-box-Cmt9OgIZ-CTJlvd1T.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-B1HqTfGk.js → graphic-no-data-l-DU4J8fDt-Gma2xMWq.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-XwIBzG5l.js → graphic-no-data-net-burn-l-CzmycA0m-D0m0NfVz.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-DimJJW29.js → handshake-BPg58FML-DVgbSASX.js} +1 -1
  284. package/dist/assets/{helper-COxPEvgL-B_cdFqPQ.js → helper-BVESv00--BfyFxQUD.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-CACRdS-l.js → hyperlink-DQyCeXx2-i9FNT3rr.js} +1 -1
  286. package/dist/assets/{index-Dc6LyeRJ.js → index-5deWfiyy.js} +1 -1
  287. package/dist/assets/{index-Dz5LYLj6.js → index-BO-jmwXl.js} +1 -1
  288. package/dist/assets/{index-C3bEDUWe.js → index-C0E4etuS.js} +1 -1
  289. package/dist/assets/{index-Cghn_Im8.js → index-CqCwZ9Bo.js} +1 -1
  290. package/dist/assets/{index-D8yPC9GA.js → index-TFe4MZqS.js} +1 -1
  291. package/dist/assets/{index-D57b0ZIG.js → index-bPu7mlA1.js} +458 -458
  292. package/dist/assets/{lexical-BMu8Xd93.js → lexical-Ct26b5l4.js} +1 -1
  293. package/dist/assets/{liveblocks-L3GY4hN_.js → liveblocks-UDiQs1XL.js} +1 -1
  294. package/dist/assets/{lottie-NpRVnd_t.js → lottie-DyJgmWhI.js} +1 -1
  295. package/dist/assets/mapLoadingInProgressToTreeNode-DJxRl0X1-CvJBQQvj.js +1 -0
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-CcuLqf_I-BrmfiJTm.js → mapSectionWithAcOnlyToTreeNode-BIiMj0sc-ByugsxAl.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-Bj3f2irs-Ngbliu4M.js +1 -0
  298. package/dist/assets/mapTimeframeBalancesToTreeNode-AI17uMHa-DAlg0uz7.js +1 -0
  299. package/dist/assets/{mapTimeframeBalancesToTreeNode-Cql9mEn3-DlGJLONZ.js → mapTimeframeBalancesToTreeNode-CyO5pm8k-BJN9BucH.js} +1 -1
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CIXgJHQz-B31h2g5c.js → mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-CbmdzU04.js} +1 -1
  301. package/dist/assets/{media-player-DIQJ-Dun.js → media-player-Bc2nje5G.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-DLoKZhIi.js → money-2cg1MuG4-BqWS5D8h.js} +1 -1
  303. package/dist/assets/{mui-CQrPxNXb.js → mui-CvPZa6D0.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-BXmqV-8q.js → page-detail-CWX5S47F-OEFqGWSt.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-yb1lXduc.js → page-summary-D7_VQHwN-CzEvyMZF.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-gMIlsmGi.js → panelSelectedMixin-Cddsb26L-CcaPMjiP.js} +1 -1
  307. package/dist/assets/{pathToGoBack-qafDCrK2.js → pathToGoBack-BdyVSZWc.js} +1 -1
  308. package/dist/assets/{pdf-CPt_J5sA.js → pdf-LR9rRMEe.js} +3 -3
  309. package/dist/assets/{pdf-lib-QnEuDtVn.js → pdf-lib-B2ywHAlU.js} +1 -1
  310. package/dist/assets/{plaid-Dz-bwqi6.js → plaid-C4PyP873.js} +1 -1
  311. package/dist/assets/{pusher-GX3zigf-.js → pusher-Cr29ksza.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-BdmcXfaL.js → radio-default-CiSgisfh-CvJrfQYK.js} +1 -1
  313. package/dist/assets/{react-C66SfqMw.js → react-B7DTlDjT.js} +1 -1
  314. package/dist/assets/{react-BMEXzrEi.js → react-BKUY-Nle.js} +1 -1
  315. package/dist/assets/{react-J_JRr1Ub.js → react-BpPHxptQ.js} +1 -1
  316. package/dist/assets/{react-7IgUsF0e.js → react-CC2kbVB0.js} +1 -1
  317. package/dist/assets/{react-BkCQv5vP.js → react-D8ws7sMn.js} +1 -1
  318. package/dist/assets/{react-DrHnHV0M.js → react-DgBIg1r8.js} +1 -1
  319. package/dist/assets/{react-CNiez0tx.js → react-S5J_OrT1.js} +3 -3
  320. package/dist/assets/{react-D9THCnPV.js → react-p9LV8Gbe.js} +1 -1
  321. package/dist/assets/{recharts-CuxDYXli.js → recharts-7AyWv7E-.js} +1 -1
  322. package/dist/assets/{routePaths-BPx5L1hv.js → routePaths-rBllTjJq.js} +1 -1
  323. package/dist/assets/{sentry-D8J10Xru.js → sentry-uXR4_KRo.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-DWYvIa1C.js → shield-DOlUxcFf-Bahpx3SF.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-Due4I925.js → spend-limit-D6SyboD4-lpJ_hpRn.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-BWMF0py6-CojDIytn.js +1 -0
  327. package/dist/assets/{toChartData-CWgd8E5c-DmnOTU-I.js → toChartData-BkubFDq8-CyY5jx0a.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-D-Bv3g86.js → transaction-placeholder-CpOwZAMG-Bn-8TRqx.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-Bnj6vWIW.js → undo-b_3XZ5CX-Bwi1P-k2.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-u0K-tQmu.js → unlock-BPWn2I5L-BihjIVk1.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BRrYSmi8.js → upload-reimbursement-receipt-O2N8vcO7-BrS_KRA7.js} +1 -1
  332. package/dist/assets/{uploadAttachment-D1ybl0Fy-lQriSWqX.js → uploadAttachment-CzgakLtr-D9IiqYxz.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-CvjBscau.js → uploadReceipts-CIgkuVpu-7sbogiaq.js} +1 -1
  334. package/dist/assets/{url-BBCYKnGe.js → url-DK_QsAj3.js} +1 -1
  335. package/dist/assets/{url-vH8VntTf.js → url-DnJ-MRbo.js} +1 -1
  336. package/dist/assets/{useDeviceId-CiSBUfG_.js → useDeviceId-D6CPIX5r.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-DM-agcRr.js → useInitialThreadRequest-D7H0jhrF.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-BIGmXHF7.js → useLongPress-GCK2COYQ-BV6rxzXX.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-D7I-fmMU.js → usp-line-BBd1wKwW-DYAH7Au1.js} +1 -1
  340. package/dist/assets/{utils-GhRHHdOC.js → utils-DXqO5lkM.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-BY7As9fq.js → withTransactionSidePanel-BzT1kjjx.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-BpS-Wh5Q.js → zeni-epic-state-BDdTNPzg.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-Ae5IXOu0.js → zeni-icon-only-Cldmtd10.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +2 -2
  346. package/dist/assets/AccountInfoPage-CrEEthms-yN3GwJSx.js +0 -18
  347. package/dist/assets/BillPayApprovalRuleDetailPage-CJtb4oOG-Cg9PD1au.js +0 -27
  348. package/dist/assets/ChargeCardPromoPage-6JwKgWli-Bq9Woc_8.js +0 -222
  349. package/dist/assets/CustomerOnboardingAuthScreen-DtbgUnG6.js +0 -1
  350. package/dist/assets/CustomerOnboardingContainerPage-CGFQ4G4y-Do3oBaOG.js +0 -1
  351. package/dist/assets/EntityDetailPage-CvLzsrUE-CmFRC1Gy.js +0 -18
  352. package/dist/assets/InsightsSection-D9PJ55E6-CiDuAe2j.js +0 -27
  353. package/dist/assets/MagicLinkACHDetailsPage-BC6_cyO0-BTnN4ina.js +0 -1
  354. package/dist/assets/MagicLinkDomesticWireDetailsPage-CdG5oCPl-NiCTPCej.js +0 -1
  355. package/dist/assets/MagicLinkInternationalWireDetailsPage-C046BNUz-CTNIFHe0.js +0 -1
  356. package/dist/assets/MailingDetailsSection-DiZwQ9QV-DZ8ow1Kr.js +0 -21
  357. package/dist/assets/SummaryCard-DgIPSt4y-C1zi99VN.js +0 -1
  358. package/dist/assets/TransactionListPage-D_dgwnFp-BQysIFBi.js +0 -35
  359. package/dist/assets/TreasuryStatementsPage-DOzJzfTG-DtwCwdE7.js +0 -58
  360. package/dist/assets/VendorACHDetailsPage-JhO6KtMC-DvqhzUaK.js +0 -1
  361. package/dist/assets/VendorDomesticWireDetailsPage-D0RsDHxf-BsqcaQeD.js +0 -1
  362. package/dist/assets/VendorInternationalWireSwiftDetailsPage-BTh-VP1b-DSEtroCd.js +0 -1
  363. package/dist/assets/ZeniAccountNavBarPieces-Bv34Vsqj-yElArATR.js +0 -33
  364. package/dist/assets/common-BxjzMhDO-S5r9siR9.js +0 -1
  365. package/dist/assets/mapLoadingInProgressToTreeNode-COOJxneh--mm1uc9R.js +0 -1
  366. package/dist/assets/mapSpacerToTreeNode-Ci5bdH6P-Dg1nMMYC.js +0 -1
  367. package/dist/assets/mapTimeframeBalancesToTreeNode-CCZ9A7A6-BGzm5TyC.js +0 -1
  368. package/dist/assets/toCOABalancesWithID-B70YK7cw-CwZZ7JH8.js +0 -1
@@ -1,4 +1,4 @@
1
- import{O,V as t,h as R,o as c,bx as B,aj as N,m as U,cy as A,D as G,l as X,cz as H,f as w}from"./index-D57b0ZIG.js";import{a as f}from"./sentry-D8J10Xru.js";import{n as i}from"./mui-CQrPxNXb.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]="675e71a0-d97a-48c3-98ab-d46debb5172b",e._sentryDebugIdIdentifier="sentry-dbid-675e71a0-d97a-48c3-98ab-d46debb5172b")}catch{}})();const h=O.getLocalizedStrings(),k={large:{labelComp:A,title:G,subtitle:X,seeMoreLink:X}},r={width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16},J=i.div`
1
+ import{O,V as t,h as R,o as c,bx as B,aj as N,m as U,cy as A,D as G,l as X,cz as H,f as w}from"./index-bPu7mlA1.js";import{a as f}from"./sentry-uXR4_KRo.js";import{n as i}from"./mui-CvPZa6D0.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]="675e71a0-d97a-48c3-98ab-d46debb5172b",e._sentryDebugIdIdentifier="sentry-dbid-675e71a0-d97a-48c3-98ab-d46debb5172b")}catch{}})();const h=O.getLocalizedStrings(),k={large:{labelComp:A,title:G,subtitle:X,seeMoreLink:X}},r={width:496,height:512,padding:32,svgSize:12,svgContainerHeight:24,gap:8,imageGap:16,borderRadius:16},J=i.div`
2
2
  width: ${e=>e.scale*r.width}px;
3
3
  height: ${e=>e.scale*r.height}px;
4
4
  overflow: hidden;
@@ -1,4 +1,4 @@
1
- import{e as m,V as a,cD as b,cE as v,cF as y,aV as z,o as e,f as d,x as r,d as c,m as p}from"./index-D57b0ZIG.js";import{c as i,n as g,k as f}from"./mui-CQrPxNXb.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new o.Error().stack;h&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[h]="d14348ec-e2c1-4395-a475-d12fcb450385",o._sentryDebugIdIdentifier="sentry-dbid-d14348ec-e2c1-4395-a475-d12fcb450385")}catch{}})();const t={plasticCardMarginLeft:new r(p[6],120),plasticCardMarginTop:new r(12,-9),businessTextRight:new r(p[2],13),businessTextBottom:new r(p[8],81),chargeCardWidth:new r(240,384),chargeCardHeight:new r(153,243),styledLogoWidth:new r(47,76),styledLogoHeight:new r(46,74),styledFullLogoTop:new r(12,28),styledFullLogoRight:new r(p[2],13),styledFullLogoHeight:new r(20,34),styledFullLogoWidth:new r(88,142),chipLogoWidth:new r(31,50),chipLogoHeight:new r(p[4],39),visaLogoWidth:new r(52,84),visaLogoHeight:new r(17,27),visaLogoRight:new r(p[2],13),visaLogoBottom:new r(p[2],13)},u={businessText:new c("extraSmallRegular","largeRegular"),promoBusinessText:new c("tinyLight","tinyLight")},R=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:x,style:$})=>{const n=m();return a.jsxs(k,{cardPromoType:x,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:$,children:[w&&a.jsx(P,{windowSize:n,forDashboard:s,children:a.jsx(b,{})}),a.jsx(j,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(z,{})}),a.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),a.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(y,{})})]})},A=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:x,style:$})=>{const n=m();return a.jsxs(H,{cardPromoType:x,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:$,children:[w&&a.jsx(P,{windowSize:n,forDashboard:s,children:a.jsx(b,{})}),a.jsx(B,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(v,{})}),a.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),a.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(y,{})})]})},C=f`
1
+ import{e as m,V as a,cD as b,cE as v,cF as y,aV as z,o as e,f as d,x as r,d as c,m as p}from"./index-bPu7mlA1.js";import{c as i,n as g,k as f}from"./mui-CvPZa6D0.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new o.Error().stack;h&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[h]="d14348ec-e2c1-4395-a475-d12fcb450385",o._sentryDebugIdIdentifier="sentry-dbid-d14348ec-e2c1-4395-a475-d12fcb450385")}catch{}})();const t={plasticCardMarginLeft:new r(p[6],120),plasticCardMarginTop:new r(12,-9),businessTextRight:new r(p[2],13),businessTextBottom:new r(p[8],81),chargeCardWidth:new r(240,384),chargeCardHeight:new r(153,243),styledLogoWidth:new r(47,76),styledLogoHeight:new r(46,74),styledFullLogoTop:new r(12,28),styledFullLogoRight:new r(p[2],13),styledFullLogoHeight:new r(20,34),styledFullLogoWidth:new r(88,142),chipLogoWidth:new r(31,50),chipLogoHeight:new r(p[4],39),visaLogoWidth:new r(52,84),visaLogoHeight:new r(17,27),visaLogoRight:new r(p[2],13),visaLogoBottom:new r(p[2],13)},u={businessText:new c("extraSmallRegular","largeRegular"),promoBusinessText:new c("tinyLight","tinyLight")},R=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:x,style:$})=>{const n=m();return a.jsxs(k,{cardPromoType:x,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:$,children:[w&&a.jsx(P,{windowSize:n,forDashboard:s,children:a.jsx(b,{})}),a.jsx(j,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(z,{})}),a.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),a.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(y,{})})]})},A=({cardText:o,shouldAnimate:h,showChip:w,forDashboard:s,forListPage:l,cardPromoType:x,style:$})=>{const n=m();return a.jsxs(H,{cardPromoType:x,windowSize:n,shouldAnimate:h,forListPage:l,forDashboard:s,style:$,children:[w&&a.jsx(P,{windowSize:n,forDashboard:s,children:a.jsx(b,{})}),a.jsx(B,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(v,{})}),a.jsx(L,{windowSize:n,forDashboard:s,forListPage:l,children:o}),a.jsx(S,{windowSize:n,forDashboard:s,forListPage:l,children:a.jsx(y,{})})]})},C=f`
2
2
  0%{
3
3
  transform: rotate(12.4deg);
4
4
  translate: ${e.sp0} ${e.sp0};
@@ -1,4 +1,4 @@
1
- import{e as f,O as o,V as n,bn as u,a as c,x as l,o as C,D as b,l as w,r as M,aT as Z,m as i}from"./index-D57b0ZIG.js";import{n as t}from"./mui-CQrPxNXb.js";import{a as r}from"./sentry-D8J10Xru.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]="8be8871a-8e43-4c56-8ee5-07f8b6eddbce",e._sentryDebugIdIdentifier="sentry-dbid-8be8871a-8e43-4c56-8ee5-07f8b6eddbce")}catch{}})();const y=e=>r.createElement("svg",{width:126,height:24,viewBox:"0 0 126 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M124.643 18.207C124.643 17.9706 124.407 17.876 124.194 17.876H123.792V19.0582H124.005V18.5853H124.17L124.431 19.0582H124.691L124.383 18.538C124.456 18.5267 124.523 18.4893 124.571 18.4329C124.618 18.3764 124.644 18.3046 124.643 18.2307V18.207ZM124.005 18.3962V18.0651H124.194C124.312 18.0651 124.431 18.0888 124.431 18.2307C124.431 18.3725 124.289 18.3962 124.17 18.3962H124.005ZM124.194 17.4504C123.988 17.4551 123.789 17.5207 123.62 17.6389C123.452 17.7571 123.322 17.9226 123.248 18.1144C123.174 18.3062 123.158 18.5158 123.203 18.7167C123.247 18.9175 123.351 19.1005 123.499 19.2427C123.648 19.3848 123.836 19.4797 124.038 19.5152C124.241 19.5508 124.45 19.5255 124.638 19.4424C124.826 19.3594 124.985 19.2225 125.096 19.0489C125.206 18.8753 125.263 18.6728 125.258 18.4671C125.258 18.3285 125.231 18.1912 125.177 18.0634C125.123 17.9356 125.044 17.8199 124.945 17.723C124.846 17.626 124.729 17.5499 124.6 17.499C124.471 17.4481 124.333 17.4236 124.194 17.4267V17.4504ZM124.194 19.342C124.015 19.3419 123.841 19.2886 123.693 19.1888C123.544 19.0889 123.429 18.9472 123.362 18.7816C123.295 18.6161 123.278 18.4342 123.315 18.2593C123.352 18.0844 123.44 17.9244 123.568 17.7997C123.696 17.675 123.858 17.5914 124.034 17.5594C124.21 17.5275 124.391 17.5487 124.555 17.6203C124.718 17.692 124.857 17.8108 124.953 17.9616C125.049 18.1125 125.097 18.2885 125.093 18.4671C125.093 18.7054 124.998 18.934 124.829 19.1025C124.661 19.271 124.432 19.3656 124.194 19.3656V19.342ZM56.5685 17.6159C55.0316 17.6159 54.2513 16.2208 54.2513 14.8967C54.2513 13.5725 55.1025 12.2484 56.4976 12.2484C57.1596 12.2484 57.9872 12.5794 58.3183 13.0523L59.9261 11.4208C59.472 10.9824 58.9346 10.6394 58.3458 10.412C57.7569 10.1846 57.1285 10.0774 56.4976 10.0967C53.6601 10.0967 51.603 12.1302 51.603 14.9203C51.603 17.7578 53.6365 19.7676 56.5685 19.7676C57.9399 19.7676 59.2168 19.3656 59.9734 18.538L58.3892 16.8356C58.1538 17.0814 57.8712 17.2772 57.5584 17.4113C57.2456 17.5454 56.9089 17.615 56.5685 17.6159ZM47.4651 19.5075H50.0188V10.3568H47.4887L47.4651 19.5075ZM42.8542 15.3696C42.8542 16.4336 42.1449 17.5922 40.868 17.5922C39.8513 17.5922 39.3074 16.8829 39.3074 15.3932V10.3804H36.7774V16.0553C36.7774 17.9469 37.7232 19.7912 40.2532 19.7912C41.4355 19.7912 42.4286 18.8454 42.9252 18.1361H42.9725V19.5312H45.3843V10.3568H42.8542V15.3696ZM32.2138 11.5154H32.1665C31.8119 11.1134 30.8424 10.0967 29.2818 10.0967C26.7045 10.0967 24.7183 12.1065 24.7183 14.8967C24.7183 17.7341 26.5626 19.7676 29.1636 19.7676C29.7199 19.7505 30.2669 19.62 30.771 19.3842C31.2752 19.1484 31.7259 18.8122 32.0956 18.3962H32.1429V24.0001H34.6493V10.3568H32.2375L32.2138 11.5154ZM29.7784 17.6159C28.2178 17.6159 27.3192 16.2445 27.3192 14.8967C27.3192 13.5962 28.1232 12.2247 29.7784 12.2247C31.268 12.2247 32.1902 13.6435 32.1902 14.9203C32.1902 16.1972 31.2917 17.6159 29.7784 17.6159ZM87.3074 10.0967C84.4464 10.0967 82.3419 12.1065 82.3419 14.8967C82.3419 17.7814 84.47 19.7912 87.3074 19.7912C90.1449 19.7912 92.273 17.7578 92.273 14.8967C92.273 12.1065 90.1922 10.0967 87.3074 10.0967ZM87.3074 17.6159C85.6523 17.6159 84.9193 16.1972 84.9193 14.8967C84.9193 13.5962 85.6759 12.2247 87.3074 12.2247C88.939 12.2247 89.7429 13.5962 89.7429 14.8967C89.7429 16.1972 88.9863 17.6159 87.3311 17.6159H87.3074ZM118.898 13.8799C117.597 13.5725 117.124 13.407 117.124 12.8632C117.124 12.1538 118.07 11.9883 118.472 11.9883C119.252 11.9883 120.127 12.4612 120.482 12.8868L121.971 11.4681C121.262 10.6169 119.914 10.1203 118.496 10.1203C116.651 10.1203 114.736 11.0425 114.736 13.076C114.736 14.8494 116.131 15.3696 117.479 15.7006C118.898 16.0316 119.418 16.2681 119.418 16.8592C119.418 17.6868 118.472 17.8287 118.117 17.8287C117.682 17.8085 117.255 17.7019 116.861 17.5152C116.467 17.3285 116.115 17.0653 115.824 16.741L114.287 18.3016C115.114 19.2474 116.557 19.7912 118.023 19.7912C120.505 19.7912 121.971 18.609 121.971 16.6701C121.971 14.8257 120.174 14.1873 118.898 13.8799ZM114.098 10.3568H110.835L107.571 14.14H107.524V5.32031H104.994V19.5075H107.524V15.0149H107.571L110.953 19.5075H114.263L110.338 14.5183L114.098 10.3568ZM76.6434 10.1203C75.4611 10.1203 74.6335 10.5932 73.806 11.3499H73.7823V5.32031H71.2523V19.5075H73.6641V18.207H73.7114C74.0225 18.6812 74.4472 19.0702 74.9469 19.3386C75.4465 19.607 76.0053 19.7463 76.5725 19.744C79.1734 19.744 81.1597 17.7105 81.1597 14.8967C81.1597 12.1065 79.2207 10.0967 76.6434 10.0967V10.1203ZM76.1468 17.6159C74.6099 17.6159 73.7114 16.2445 73.7114 14.9203C73.7114 13.5962 74.6572 12.2247 76.1468 12.2247C77.7784 12.2247 78.5823 13.5962 78.5823 14.8967C78.5823 16.2445 77.7074 17.6159 76.1468 17.6159ZM70.3064 10.3568H67.0434L63.7803 14.14H63.733V5.32031H61.203V19.5075H63.733V15.0149H63.7803L67.1616 19.5075H70.472L66.5705 14.5183L70.3064 10.3568ZM98.3971 10.1203C95.5124 10.1203 93.4316 12.1302 93.4316 14.8967C93.4316 17.7814 95.5597 19.7912 98.3971 19.7912C101.235 19.7912 103.363 17.7578 103.363 14.8967C103.363 12.1065 101.258 10.0967 98.3971 10.0967V10.1203ZM98.3971 17.6159C96.7419 17.6159 95.9853 16.1972 95.9853 14.8967C95.9853 13.5962 96.7419 12.2247 98.3971 12.2247C100.052 12.2247 100.785 13.5962 100.785 14.8967C100.785 16.1972 100.029 17.6159 98.3971 17.6159Z",fill:"currentColor"}),r.createElement("path",{d:"M11.2405 21.2808C17.117 21.2808 21.8809 16.5169 21.8809 10.6404C21.8809 4.76387 17.117 0 11.2405 0C5.36396 0 0.600098 4.76387 0.600098 10.6404C0.600098 16.5169 5.36396 21.2808 11.2405 21.2808Z",fill:"#2CA01C"}),r.createElement("path",{d:"M3.55566 10.6404C3.55566 11.7379 3.99162 12.7904 4.76764 13.5664C5.54365 14.3424 6.59615 14.7783 7.69359 14.7783H8.28473V13.2414H7.69359C7.00377 13.2414 6.3422 12.9674 5.85442 12.4796C5.36664 11.9918 5.09261 11.3302 5.09261 10.6404C5.09261 9.95058 5.36664 9.28901 5.85442 8.80123C6.3422 8.31346 7.00377 8.03942 7.69359 8.03942H9.11231V16.0788C9.11231 16.2807 9.15207 16.4805 9.22931 16.667C9.30655 16.8535 9.41976 17.0229 9.56247 17.1656C9.70519 17.3083 9.87463 17.4215 10.0611 17.4988C10.2476 17.576 10.4474 17.6158 10.6493 17.6158V6.50248H7.69359C6.59615 6.50248 5.54365 6.93844 4.76764 7.71445C3.99162 8.49046 3.55566 9.54296 3.55566 10.6404ZM14.7872 6.50248H14.1961V8.03942H14.7872C15.477 8.03942 16.1386 8.31346 16.6264 8.80123C17.1141 9.28901 17.3882 9.95058 17.3882 10.6404C17.3882 11.3302 17.1141 11.9918 16.6264 12.4796C16.1386 12.9674 15.477 13.2414 14.7872 13.2414H13.3685V5.20199C13.3685 4.79436 13.2065 4.40343 12.9183 4.1152C12.6301 3.82697 12.2391 3.66504 11.8315 3.66504V14.7783H14.7872C15.3306 14.7783 15.8687 14.6713 16.3707 14.4634C16.8727 14.2554 17.3289 13.9506 17.7131 13.5664C18.0974 13.1821 18.4022 12.726 18.6101 12.2239C18.8181 11.7219 18.9251 11.1838 18.9251 10.6404C18.9251 10.097 18.8181 9.55893 18.6101 9.05689C18.4022 8.55485 18.0974 8.09869 17.7131 7.71445C17.3289 7.33021 16.8727 7.02541 16.3707 6.81746C15.8687 6.60951 15.3306 6.50248 14.7872 6.50248Z",fill:"white"}),r.createElement("path",{d:"M35.1225 2.43553C35.2628 2.43553 35.3999 2.39393 35.5166 2.31598C35.6332 2.23803 35.7242 2.12725 35.7779 1.99763C35.8315 1.86801 35.8456 1.72538 35.8182 1.58778C35.7908 1.45018 35.7233 1.32378 35.6241 1.22458C35.5249 1.12537 35.3985 1.05781 35.2609 1.03044C35.1233 1.00307 34.9806 1.01712 34.851 1.07081C34.7214 1.1245 34.6106 1.21542 34.5327 1.33207C34.4547 1.44872 34.4131 1.58587 34.4131 1.72617C34.4131 1.9143 34.4879 2.09473 34.6209 2.22776C34.7539 2.36079 34.9344 2.43553 35.1225 2.43553ZM30.9373 2.90844C30.6429 2.90803 30.3542 2.98968 30.1036 3.14421C29.853 3.29875 29.6504 3.52006 29.5186 3.78331H29.4713V3.02666H28.3836V7.68479H29.5422V5.1311C29.5422 4.51632 29.8969 3.87789 30.6299 3.87789C31.3629 3.87789 31.5048 4.56361 31.5048 5.10745V7.70844H32.6634V4.75277C32.6634 3.80696 32.1668 2.86114 30.9373 2.86114V2.90844ZM26.019 7.68479H27.2013V3.02666H26.019V7.68479ZM47.1816 2.41188C47.3219 2.41188 47.4591 2.37028 47.5757 2.29233C47.6924 2.21439 47.7833 2.1036 47.837 1.97398C47.8907 1.84437 47.9047 1.70174 47.8773 1.56413C47.85 1.42653 47.7824 1.30014 47.6832 1.20093C47.584 1.10173 47.4576 1.03417 47.32 1.00679C47.1824 0.979424 47.0398 0.993471 46.9101 1.04716C46.7805 1.10085 46.6697 1.19177 46.5918 1.30842C46.5138 1.42508 46.4722 1.56223 46.4722 1.70252C46.4722 1.89066 46.547 2.07109 46.68 2.20412C46.813 2.33715 46.9935 2.41188 47.1816 2.41188ZM45.29 3.02666V4.06706H46.5905V7.68479H47.7727V4.06706H49.0732V3.02666H45.29ZM43.3038 7.68479H44.486V3.02666H43.3038V7.68479ZM33.2545 4.06706H34.555V7.68479H35.7373V4.06706H37.0378V3.02666H33.2545V4.06706ZM40.9629 5.604C40.9629 6.21878 40.6082 6.8572 39.8752 6.8572C39.1422 6.8572 39.0003 6.14784 39.0003 5.604V3.02666H37.8181V5.93504C37.8181 6.88085 38.3383 7.82666 39.5442 7.82666C39.8426 7.83151 40.1363 7.75195 40.3915 7.59717C40.6467 7.44239 40.8529 7.21867 40.9865 6.95179H41.0102V7.70844H42.1215V3.02666H40.9392V5.58036L40.9629 5.604Z",fill:"currentColor"})),s={containerPaddingTop:new l(i[5],i[7]),containerPaddingBottom:new l(i[5],i[5]),containerPaddingLeftRight:new l(i[6],i[11])},L=t.div`
1
+ import{e as f,O as o,V as n,bn as u,a as c,x as l,o as C,D as b,l as w,r as M,aT as Z,m as i}from"./index-bPu7mlA1.js";import{n as t}from"./mui-CvPZa6D0.js";import{a as r}from"./sentry-uXR4_KRo.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]="8be8871a-8e43-4c56-8ee5-07f8b6eddbce",e._sentryDebugIdIdentifier="sentry-dbid-8be8871a-8e43-4c56-8ee5-07f8b6eddbce")}catch{}})();const y=e=>r.createElement("svg",{width:126,height:24,viewBox:"0 0 126 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M124.643 18.207C124.643 17.9706 124.407 17.876 124.194 17.876H123.792V19.0582H124.005V18.5853H124.17L124.431 19.0582H124.691L124.383 18.538C124.456 18.5267 124.523 18.4893 124.571 18.4329C124.618 18.3764 124.644 18.3046 124.643 18.2307V18.207ZM124.005 18.3962V18.0651H124.194C124.312 18.0651 124.431 18.0888 124.431 18.2307C124.431 18.3725 124.289 18.3962 124.17 18.3962H124.005ZM124.194 17.4504C123.988 17.4551 123.789 17.5207 123.62 17.6389C123.452 17.7571 123.322 17.9226 123.248 18.1144C123.174 18.3062 123.158 18.5158 123.203 18.7167C123.247 18.9175 123.351 19.1005 123.499 19.2427C123.648 19.3848 123.836 19.4797 124.038 19.5152C124.241 19.5508 124.45 19.5255 124.638 19.4424C124.826 19.3594 124.985 19.2225 125.096 19.0489C125.206 18.8753 125.263 18.6728 125.258 18.4671C125.258 18.3285 125.231 18.1912 125.177 18.0634C125.123 17.9356 125.044 17.8199 124.945 17.723C124.846 17.626 124.729 17.5499 124.6 17.499C124.471 17.4481 124.333 17.4236 124.194 17.4267V17.4504ZM124.194 19.342C124.015 19.3419 123.841 19.2886 123.693 19.1888C123.544 19.0889 123.429 18.9472 123.362 18.7816C123.295 18.6161 123.278 18.4342 123.315 18.2593C123.352 18.0844 123.44 17.9244 123.568 17.7997C123.696 17.675 123.858 17.5914 124.034 17.5594C124.21 17.5275 124.391 17.5487 124.555 17.6203C124.718 17.692 124.857 17.8108 124.953 17.9616C125.049 18.1125 125.097 18.2885 125.093 18.4671C125.093 18.7054 124.998 18.934 124.829 19.1025C124.661 19.271 124.432 19.3656 124.194 19.3656V19.342ZM56.5685 17.6159C55.0316 17.6159 54.2513 16.2208 54.2513 14.8967C54.2513 13.5725 55.1025 12.2484 56.4976 12.2484C57.1596 12.2484 57.9872 12.5794 58.3183 13.0523L59.9261 11.4208C59.472 10.9824 58.9346 10.6394 58.3458 10.412C57.7569 10.1846 57.1285 10.0774 56.4976 10.0967C53.6601 10.0967 51.603 12.1302 51.603 14.9203C51.603 17.7578 53.6365 19.7676 56.5685 19.7676C57.9399 19.7676 59.2168 19.3656 59.9734 18.538L58.3892 16.8356C58.1538 17.0814 57.8712 17.2772 57.5584 17.4113C57.2456 17.5454 56.9089 17.615 56.5685 17.6159ZM47.4651 19.5075H50.0188V10.3568H47.4887L47.4651 19.5075ZM42.8542 15.3696C42.8542 16.4336 42.1449 17.5922 40.868 17.5922C39.8513 17.5922 39.3074 16.8829 39.3074 15.3932V10.3804H36.7774V16.0553C36.7774 17.9469 37.7232 19.7912 40.2532 19.7912C41.4355 19.7912 42.4286 18.8454 42.9252 18.1361H42.9725V19.5312H45.3843V10.3568H42.8542V15.3696ZM32.2138 11.5154H32.1665C31.8119 11.1134 30.8424 10.0967 29.2818 10.0967C26.7045 10.0967 24.7183 12.1065 24.7183 14.8967C24.7183 17.7341 26.5626 19.7676 29.1636 19.7676C29.7199 19.7505 30.2669 19.62 30.771 19.3842C31.2752 19.1484 31.7259 18.8122 32.0956 18.3962H32.1429V24.0001H34.6493V10.3568H32.2375L32.2138 11.5154ZM29.7784 17.6159C28.2178 17.6159 27.3192 16.2445 27.3192 14.8967C27.3192 13.5962 28.1232 12.2247 29.7784 12.2247C31.268 12.2247 32.1902 13.6435 32.1902 14.9203C32.1902 16.1972 31.2917 17.6159 29.7784 17.6159ZM87.3074 10.0967C84.4464 10.0967 82.3419 12.1065 82.3419 14.8967C82.3419 17.7814 84.47 19.7912 87.3074 19.7912C90.1449 19.7912 92.273 17.7578 92.273 14.8967C92.273 12.1065 90.1922 10.0967 87.3074 10.0967ZM87.3074 17.6159C85.6523 17.6159 84.9193 16.1972 84.9193 14.8967C84.9193 13.5962 85.6759 12.2247 87.3074 12.2247C88.939 12.2247 89.7429 13.5962 89.7429 14.8967C89.7429 16.1972 88.9863 17.6159 87.3311 17.6159H87.3074ZM118.898 13.8799C117.597 13.5725 117.124 13.407 117.124 12.8632C117.124 12.1538 118.07 11.9883 118.472 11.9883C119.252 11.9883 120.127 12.4612 120.482 12.8868L121.971 11.4681C121.262 10.6169 119.914 10.1203 118.496 10.1203C116.651 10.1203 114.736 11.0425 114.736 13.076C114.736 14.8494 116.131 15.3696 117.479 15.7006C118.898 16.0316 119.418 16.2681 119.418 16.8592C119.418 17.6868 118.472 17.8287 118.117 17.8287C117.682 17.8085 117.255 17.7019 116.861 17.5152C116.467 17.3285 116.115 17.0653 115.824 16.741L114.287 18.3016C115.114 19.2474 116.557 19.7912 118.023 19.7912C120.505 19.7912 121.971 18.609 121.971 16.6701C121.971 14.8257 120.174 14.1873 118.898 13.8799ZM114.098 10.3568H110.835L107.571 14.14H107.524V5.32031H104.994V19.5075H107.524V15.0149H107.571L110.953 19.5075H114.263L110.338 14.5183L114.098 10.3568ZM76.6434 10.1203C75.4611 10.1203 74.6335 10.5932 73.806 11.3499H73.7823V5.32031H71.2523V19.5075H73.6641V18.207H73.7114C74.0225 18.6812 74.4472 19.0702 74.9469 19.3386C75.4465 19.607 76.0053 19.7463 76.5725 19.744C79.1734 19.744 81.1597 17.7105 81.1597 14.8967C81.1597 12.1065 79.2207 10.0967 76.6434 10.0967V10.1203ZM76.1468 17.6159C74.6099 17.6159 73.7114 16.2445 73.7114 14.9203C73.7114 13.5962 74.6572 12.2247 76.1468 12.2247C77.7784 12.2247 78.5823 13.5962 78.5823 14.8967C78.5823 16.2445 77.7074 17.6159 76.1468 17.6159ZM70.3064 10.3568H67.0434L63.7803 14.14H63.733V5.32031H61.203V19.5075H63.733V15.0149H63.7803L67.1616 19.5075H70.472L66.5705 14.5183L70.3064 10.3568ZM98.3971 10.1203C95.5124 10.1203 93.4316 12.1302 93.4316 14.8967C93.4316 17.7814 95.5597 19.7912 98.3971 19.7912C101.235 19.7912 103.363 17.7578 103.363 14.8967C103.363 12.1065 101.258 10.0967 98.3971 10.0967V10.1203ZM98.3971 17.6159C96.7419 17.6159 95.9853 16.1972 95.9853 14.8967C95.9853 13.5962 96.7419 12.2247 98.3971 12.2247C100.052 12.2247 100.785 13.5962 100.785 14.8967C100.785 16.1972 100.029 17.6159 98.3971 17.6159Z",fill:"currentColor"}),r.createElement("path",{d:"M11.2405 21.2808C17.117 21.2808 21.8809 16.5169 21.8809 10.6404C21.8809 4.76387 17.117 0 11.2405 0C5.36396 0 0.600098 4.76387 0.600098 10.6404C0.600098 16.5169 5.36396 21.2808 11.2405 21.2808Z",fill:"#2CA01C"}),r.createElement("path",{d:"M3.55566 10.6404C3.55566 11.7379 3.99162 12.7904 4.76764 13.5664C5.54365 14.3424 6.59615 14.7783 7.69359 14.7783H8.28473V13.2414H7.69359C7.00377 13.2414 6.3422 12.9674 5.85442 12.4796C5.36664 11.9918 5.09261 11.3302 5.09261 10.6404C5.09261 9.95058 5.36664 9.28901 5.85442 8.80123C6.3422 8.31346 7.00377 8.03942 7.69359 8.03942H9.11231V16.0788C9.11231 16.2807 9.15207 16.4805 9.22931 16.667C9.30655 16.8535 9.41976 17.0229 9.56247 17.1656C9.70519 17.3083 9.87463 17.4215 10.0611 17.4988C10.2476 17.576 10.4474 17.6158 10.6493 17.6158V6.50248H7.69359C6.59615 6.50248 5.54365 6.93844 4.76764 7.71445C3.99162 8.49046 3.55566 9.54296 3.55566 10.6404ZM14.7872 6.50248H14.1961V8.03942H14.7872C15.477 8.03942 16.1386 8.31346 16.6264 8.80123C17.1141 9.28901 17.3882 9.95058 17.3882 10.6404C17.3882 11.3302 17.1141 11.9918 16.6264 12.4796C16.1386 12.9674 15.477 13.2414 14.7872 13.2414H13.3685V5.20199C13.3685 4.79436 13.2065 4.40343 12.9183 4.1152C12.6301 3.82697 12.2391 3.66504 11.8315 3.66504V14.7783H14.7872C15.3306 14.7783 15.8687 14.6713 16.3707 14.4634C16.8727 14.2554 17.3289 13.9506 17.7131 13.5664C18.0974 13.1821 18.4022 12.726 18.6101 12.2239C18.8181 11.7219 18.9251 11.1838 18.9251 10.6404C18.9251 10.097 18.8181 9.55893 18.6101 9.05689C18.4022 8.55485 18.0974 8.09869 17.7131 7.71445C17.3289 7.33021 16.8727 7.02541 16.3707 6.81746C15.8687 6.60951 15.3306 6.50248 14.7872 6.50248Z",fill:"white"}),r.createElement("path",{d:"M35.1225 2.43553C35.2628 2.43553 35.3999 2.39393 35.5166 2.31598C35.6332 2.23803 35.7242 2.12725 35.7779 1.99763C35.8315 1.86801 35.8456 1.72538 35.8182 1.58778C35.7908 1.45018 35.7233 1.32378 35.6241 1.22458C35.5249 1.12537 35.3985 1.05781 35.2609 1.03044C35.1233 1.00307 34.9806 1.01712 34.851 1.07081C34.7214 1.1245 34.6106 1.21542 34.5327 1.33207C34.4547 1.44872 34.4131 1.58587 34.4131 1.72617C34.4131 1.9143 34.4879 2.09473 34.6209 2.22776C34.7539 2.36079 34.9344 2.43553 35.1225 2.43553ZM30.9373 2.90844C30.6429 2.90803 30.3542 2.98968 30.1036 3.14421C29.853 3.29875 29.6504 3.52006 29.5186 3.78331H29.4713V3.02666H28.3836V7.68479H29.5422V5.1311C29.5422 4.51632 29.8969 3.87789 30.6299 3.87789C31.3629 3.87789 31.5048 4.56361 31.5048 5.10745V7.70844H32.6634V4.75277C32.6634 3.80696 32.1668 2.86114 30.9373 2.86114V2.90844ZM26.019 7.68479H27.2013V3.02666H26.019V7.68479ZM47.1816 2.41188C47.3219 2.41188 47.4591 2.37028 47.5757 2.29233C47.6924 2.21439 47.7833 2.1036 47.837 1.97398C47.8907 1.84437 47.9047 1.70174 47.8773 1.56413C47.85 1.42653 47.7824 1.30014 47.6832 1.20093C47.584 1.10173 47.4576 1.03417 47.32 1.00679C47.1824 0.979424 47.0398 0.993471 46.9101 1.04716C46.7805 1.10085 46.6697 1.19177 46.5918 1.30842C46.5138 1.42508 46.4722 1.56223 46.4722 1.70252C46.4722 1.89066 46.547 2.07109 46.68 2.20412C46.813 2.33715 46.9935 2.41188 47.1816 2.41188ZM45.29 3.02666V4.06706H46.5905V7.68479H47.7727V4.06706H49.0732V3.02666H45.29ZM43.3038 7.68479H44.486V3.02666H43.3038V7.68479ZM33.2545 4.06706H34.555V7.68479H35.7373V4.06706H37.0378V3.02666H33.2545V4.06706ZM40.9629 5.604C40.9629 6.21878 40.6082 6.8572 39.8752 6.8572C39.1422 6.8572 39.0003 6.14784 39.0003 5.604V3.02666H37.8181V5.93504C37.8181 6.88085 38.3383 7.82666 39.5442 7.82666C39.8426 7.83151 40.1363 7.75195 40.3915 7.59717C40.6467 7.44239 40.8529 7.21867 40.9865 6.95179H41.0102V7.70844H42.1215V3.02666H40.9392V5.58036L40.9629 5.604Z",fill:"currentColor"})),s={containerPaddingTop:new l(i[5],i[7]),containerPaddingBottom:new l(i[5],i[5]),containerPaddingLeftRight:new l(i[6],i[11])},L=t.div`
2
2
  border-radius: inherit;
3
3
  max-width: 520px;
4
4
  text-align: center;
@@ -1,4 +1,4 @@
1
- import{j as Ol}from"./pdf-CPt_J5sA.js";import{p as Q,e as xc,d as kc,g as jl,a as xl}from"./sentry-D8J10Xru.js";import{B as dt,ct as Tc,H9 as Ac,Hi as kl,F3 as Rc,bE as Tl,c$ as Al,d0 as Rl}from"./zeni-epic-state-BpS-Wh5Q.js";import{a as lt,b as Il,c as Pl,d as Nl,e as an,f as Ll,g as $l,h as Ml,i as Vt,j as Ic,k as oe,l as je,m as Dl,n as Yt,o as ue,p as Cl}from"./utils-GhRHHdOC.js";import{r as un}from"./empty-DI8oDJKz.js";import{r as Fl,a as Bl,b as Ul,c as ql}from"./pdf-lib-QnEuDtVn.js";import{r as Gl}from"./index-C3bEDUWe.js";import{r as zl}from"./index-D8yPC9GA.js";import{j as Zl,h as Hl,i as Vl,u as En,k as Yl}from"./core-CRK-q5k6.js";import{jr as Kl,js as Pc,jt as Wl,jB as Jl,jC as Xl,jD as Ql,jz as tf}from"./index-D57b0ZIG.js";import"./mui-CQrPxNXb.js";import{d as Pe}from"./decodeURIComponentSafe-Br2RkwXR.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new t.Error().stack;f&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[f]="08ed57e3-1f0d-4e3f-abe3-b7f0ddcb2df5",t._sentryDebugIdIdentifier="sentry-dbid-08ed57e3-1f0d-4e3f-abe3-b7f0ddcb2df5")}catch{}})();var _n,Sn={exports:{}},On,jn,xn,kn,Tn,An,Rn,In,Pn,Ne,Nn,Ln,$n,Mn,Dn,Cn,Fn,Bn,Un,qn,Gn,Le,zn,Zn,Hn,Vn,Yn,Kn,Wn,$e,Jn,Xn,Qn,to,eo,ro,no,Me={exports:{}},De={exports:{}},Ce={};function Nc(){if(On)return Ce;function t(r){return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(r)}function f(r,e){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,p){return a.__proto__=p,a},f(r,e)}function m(r){var e=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var a,p=s(r);if(e){var h=s(this).constructor;a=Reflect.construct(p,arguments,h)}else a=p.apply(this,arguments);return function(d,b){if(b&&(t(b)==="object"||typeof b=="function"))return b;if(b!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}(d)}(this,a)}}function s(r){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(r)}On=1;var c,o,n={};function i(r,e,a){a||(a=Error);var p=function(h){(function(u,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(y&&y.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),y&&f(u,y)})(g,h);var d,b=m(g);function g(u,y,v){var S;return function(w,_){if(!(w instanceof _))throw new TypeError("Cannot call a class as a function")}(this,g),S=b.call(this,function(w,_,M){return typeof e=="string"?e:e(w,_,M)}(u,y,v)),S.code=r,S}return d=g,Object.defineProperty(d,"prototype",{writable:!1}),d}(a);n[r]=p}function l(r,e){if(Array.isArray(r)){var a=r.length;return r=r.map(function(p){return String(p)}),a>2?"one of ".concat(e," ").concat(r.slice(0,a-1).join(", "),", or ")+r[a-1]:a===2?"one of ".concat(e," ").concat(r[0]," or ").concat(r[1]):"of ".concat(e," ").concat(r[0])}return"of ".concat(e," ").concat(String(r))}return i("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),i("ERR_INVALID_ARG_TYPE",function(r,e,a){var p,h,d;if(c===void 0&&(c=ie()),c(typeof r=="string","'name' must be a string"),typeof e=="string"&&(h="not ",e.substr(0,h.length)===h)?(p="must not be",e=e.replace(/^not /,"")):p="must be",function(g,u,y){return(y===void 0||y>g.length)&&(y=g.length),g.substring(y-u.length,y)===u}(r," argument"))d="The ".concat(r," ").concat(p," ").concat(l(e,"type"));else{var b=function(g,u,y){return typeof y!="number"&&(y=0),!(y+u.length>g.length)&&g.indexOf(u,y)!==-1}(r,".")?"property":"argument";d='The "'.concat(r,'" ').concat(b," ").concat(p," ").concat(l(e,"type"))}return d+=". Received type ".concat(t(a))},TypeError),i("ERR_INVALID_ARG_VALUE",function(r,e){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";o===void 0&&(o=lt());var p=o.inspect(e);return p.length>128&&(p="".concat(p.slice(0,128),"...")),"The argument '".concat(r,"' ").concat(a,". Received ").concat(p)},TypeError),i("ERR_INVALID_RETURN_VALUE",function(r,e,a){var p;return p=a&&a.constructor&&a.constructor.name?"instance of ".concat(a.constructor.name):"type ".concat(t(a)),"Expected ".concat(r,' to be returned from the "').concat(e,'"')+" function but got ".concat(p,".")},TypeError),i("ERR_MISSING_ARGS",function(){for(var r=arguments.length,e=new Array(r),a=0;a<r;a++)e[a]=arguments[a];c===void 0&&(c=ie()),c(e.length>0,"At least one arg needs to be specified");var p="The ",h=e.length;switch(e=e.map(function(d){return'"'.concat(d,'"')}),h){case 1:p+="".concat(e[0]," argument");break;case 2:p+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:p+=e.slice(0,h-1).join(", "),p+=", and ".concat(e[h-1]," arguments")}return"".concat(p," must be specified")},TypeError),Ce.codes=n,Ce}function ef(){if(xn)return jn;function t(k,E){var j=Object.keys(k);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(k);E&&(x=x.filter(function(O){return Object.getOwnPropertyDescriptor(k,O).enumerable})),j.push.apply(j,x)}return j}function f(k){for(var E=1;E<arguments.length;E++){var j=arguments[E]!=null?arguments[E]:{};E%2?t(Object(j),!0).forEach(function(x){m(k,x,j[x])}):Object.getOwnPropertyDescriptors?Object.defineProperties(k,Object.getOwnPropertyDescriptors(j)):t(Object(j)).forEach(function(x){Object.defineProperty(k,x,Object.getOwnPropertyDescriptor(j,x))})}return k}function m(k,E,j){return(E=c(E))in k?Object.defineProperty(k,E,{value:j,enumerable:!0,configurable:!0,writable:!0}):k[E]=j,k}function s(k,E,j){return E&&function(x,O){for(var $=0;$<O.length;$++){var N=O[$];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(x,c(N.key),N)}}(k.prototype,E),Object.defineProperty(k,"prototype",{writable:!1}),k}function c(k){var E=function(j,x){if(p(j)!=="object"||j===null)return j;var O=j[Symbol.toPrimitive];if(O!==void 0){var $=O.call(j,x);if(p($)!=="object")return $;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(j)}(k,"string");return p(E)==="symbol"?E:String(E)}function o(k,E){if(E&&(p(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return n(k)}function n(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}function i(k){var E=typeof Map=="function"?new Map:void 0;return i=function(j){if(j===null||(x=j,Function.toString.call(x).indexOf("[native code]")===-1))return j;var x;if(typeof j!="function")throw new TypeError("Super expression must either be null or a function");if(E!==void 0){if(E.has(j))return E.get(j);E.set(j,O)}function O(){return l(j,arguments,a(this).constructor)}return O.prototype=Object.create(j.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),e(O,j)},i(k)}function l(k,E,j){return l=r()?Reflect.construct.bind():function(x,O,$){var N=[null];N.push.apply(N,O);var P=new(Function.bind.apply(x,N));return $&&e(P,$.prototype),P},l.apply(null,arguments)}function r(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function e(k,E){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(j,x){return j.__proto__=x,j},e(k,E)}function a(k){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(E){return E.__proto__||Object.getPrototypeOf(E)},a(k)}function p(k){return p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(E){return typeof E}:function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},p(k)}xn=1;var h=lt().inspect,d=Nc().codes.ERR_INVALID_ARG_TYPE;function b(k,E,j){return(j===void 0||j>k.length)&&(j=k.length),k.substring(j-E.length,j)===E}var g="",u="",y="",v="",S={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function w(k){var E=Object.keys(k),j=Object.create(Object.getPrototypeOf(k));return E.forEach(function(x){j[x]=k[x]}),Object.defineProperty(j,"message",{value:k.message}),j}function _(k){return h(k,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function M(k,E,j){var x="",O="",$=0,N="",P=!1,G=_(k),A=G.split(`
1
+ import{j as Ol}from"./pdf-LR9rRMEe.js";import{p as Q,e as xc,d as kc,g as jl,a as xl}from"./sentry-uXR4_KRo.js";import{B as dt,ct as Tc,H9 as Ac,Hi as kl,F3 as Rc,bE as Tl,c$ as Al,d0 as Rl}from"./zeni-epic-state-BDdTNPzg.js";import{a as lt,b as Il,c as Pl,d as Nl,e as an,f as Ll,g as $l,h as Ml,i as Vt,j as Ic,k as oe,l as je,m as Dl,n as Yt,o as ue,p as Cl}from"./utils-DXqO5lkM.js";import{r as un}from"./empty-BcYVHaFA.js";import{r as Fl,a as Bl,b as Ul,c as ql}from"./pdf-lib-B2ywHAlU.js";import{r as Gl}from"./index-C0E4etuS.js";import{r as zl}from"./index-TFe4MZqS.js";import{j as Zl,h as Hl,i as Vl,u as En,k as Yl}from"./core-DuCBl3U1.js";import{jr as Kl,js as Pc,jt as Wl,jB as Jl,jC as Xl,jD as Ql,jz as tf}from"./index-bPu7mlA1.js";import"./mui-CvPZa6D0.js";import{d as Pe}from"./decodeURIComponentSafe-B5ZlGWkv.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},f=new t.Error().stack;f&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[f]="08ed57e3-1f0d-4e3f-abe3-b7f0ddcb2df5",t._sentryDebugIdIdentifier="sentry-dbid-08ed57e3-1f0d-4e3f-abe3-b7f0ddcb2df5")}catch{}})();var _n,Sn={exports:{}},On,jn,xn,kn,Tn,An,Rn,In,Pn,Ne,Nn,Ln,$n,Mn,Dn,Cn,Fn,Bn,Un,qn,Gn,Le,zn,Zn,Hn,Vn,Yn,Kn,Wn,$e,Jn,Xn,Qn,to,eo,ro,no,Me={exports:{}},De={exports:{}},Ce={};function Nc(){if(On)return Ce;function t(r){return t=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},t(r)}function f(r,e){return f=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(a,p){return a.__proto__=p,a},f(r,e)}function m(r){var e=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}();return function(){var a,p=s(r);if(e){var h=s(this).constructor;a=Reflect.construct(p,arguments,h)}else a=p.apply(this,arguments);return function(d,b){if(b&&(t(b)==="object"||typeof b=="function"))return b;if(b!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return function(g){if(g===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return g}(d)}(this,a)}}function s(r){return s=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},s(r)}On=1;var c,o,n={};function i(r,e,a){a||(a=Error);var p=function(h){(function(u,y){if(typeof y!="function"&&y!==null)throw new TypeError("Super expression must either be null or a function");u.prototype=Object.create(y&&y.prototype,{constructor:{value:u,writable:!0,configurable:!0}}),Object.defineProperty(u,"prototype",{writable:!1}),y&&f(u,y)})(g,h);var d,b=m(g);function g(u,y,v){var S;return function(w,_){if(!(w instanceof _))throw new TypeError("Cannot call a class as a function")}(this,g),S=b.call(this,function(w,_,M){return typeof e=="string"?e:e(w,_,M)}(u,y,v)),S.code=r,S}return d=g,Object.defineProperty(d,"prototype",{writable:!1}),d}(a);n[r]=p}function l(r,e){if(Array.isArray(r)){var a=r.length;return r=r.map(function(p){return String(p)}),a>2?"one of ".concat(e," ").concat(r.slice(0,a-1).join(", "),", or ")+r[a-1]:a===2?"one of ".concat(e," ").concat(r[0]," or ").concat(r[1]):"of ".concat(e," ").concat(r[0])}return"of ".concat(e," ").concat(String(r))}return i("ERR_AMBIGUOUS_ARGUMENT",'The "%s" argument is ambiguous. %s',TypeError),i("ERR_INVALID_ARG_TYPE",function(r,e,a){var p,h,d;if(c===void 0&&(c=ie()),c(typeof r=="string","'name' must be a string"),typeof e=="string"&&(h="not ",e.substr(0,h.length)===h)?(p="must not be",e=e.replace(/^not /,"")):p="must be",function(g,u,y){return(y===void 0||y>g.length)&&(y=g.length),g.substring(y-u.length,y)===u}(r," argument"))d="The ".concat(r," ").concat(p," ").concat(l(e,"type"));else{var b=function(g,u,y){return typeof y!="number"&&(y=0),!(y+u.length>g.length)&&g.indexOf(u,y)!==-1}(r,".")?"property":"argument";d='The "'.concat(r,'" ').concat(b," ").concat(p," ").concat(l(e,"type"))}return d+=". Received type ".concat(t(a))},TypeError),i("ERR_INVALID_ARG_VALUE",function(r,e){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:"is invalid";o===void 0&&(o=lt());var p=o.inspect(e);return p.length>128&&(p="".concat(p.slice(0,128),"...")),"The argument '".concat(r,"' ").concat(a,". Received ").concat(p)},TypeError),i("ERR_INVALID_RETURN_VALUE",function(r,e,a){var p;return p=a&&a.constructor&&a.constructor.name?"instance of ".concat(a.constructor.name):"type ".concat(t(a)),"Expected ".concat(r,' to be returned from the "').concat(e,'"')+" function but got ".concat(p,".")},TypeError),i("ERR_MISSING_ARGS",function(){for(var r=arguments.length,e=new Array(r),a=0;a<r;a++)e[a]=arguments[a];c===void 0&&(c=ie()),c(e.length>0,"At least one arg needs to be specified");var p="The ",h=e.length;switch(e=e.map(function(d){return'"'.concat(d,'"')}),h){case 1:p+="".concat(e[0]," argument");break;case 2:p+="".concat(e[0]," and ").concat(e[1]," arguments");break;default:p+=e.slice(0,h-1).join(", "),p+=", and ".concat(e[h-1]," arguments")}return"".concat(p," must be specified")},TypeError),Ce.codes=n,Ce}function ef(){if(xn)return jn;function t(k,E){var j=Object.keys(k);if(Object.getOwnPropertySymbols){var x=Object.getOwnPropertySymbols(k);E&&(x=x.filter(function(O){return Object.getOwnPropertyDescriptor(k,O).enumerable})),j.push.apply(j,x)}return j}function f(k){for(var E=1;E<arguments.length;E++){var j=arguments[E]!=null?arguments[E]:{};E%2?t(Object(j),!0).forEach(function(x){m(k,x,j[x])}):Object.getOwnPropertyDescriptors?Object.defineProperties(k,Object.getOwnPropertyDescriptors(j)):t(Object(j)).forEach(function(x){Object.defineProperty(k,x,Object.getOwnPropertyDescriptor(j,x))})}return k}function m(k,E,j){return(E=c(E))in k?Object.defineProperty(k,E,{value:j,enumerable:!0,configurable:!0,writable:!0}):k[E]=j,k}function s(k,E,j){return E&&function(x,O){for(var $=0;$<O.length;$++){var N=O[$];N.enumerable=N.enumerable||!1,N.configurable=!0,"value"in N&&(N.writable=!0),Object.defineProperty(x,c(N.key),N)}}(k.prototype,E),Object.defineProperty(k,"prototype",{writable:!1}),k}function c(k){var E=function(j,x){if(p(j)!=="object"||j===null)return j;var O=j[Symbol.toPrimitive];if(O!==void 0){var $=O.call(j,x);if(p($)!=="object")return $;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(j)}(k,"string");return p(E)==="symbol"?E:String(E)}function o(k,E){if(E&&(p(E)==="object"||typeof E=="function"))return E;if(E!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return n(k)}function n(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}function i(k){var E=typeof Map=="function"?new Map:void 0;return i=function(j){if(j===null||(x=j,Function.toString.call(x).indexOf("[native code]")===-1))return j;var x;if(typeof j!="function")throw new TypeError("Super expression must either be null or a function");if(E!==void 0){if(E.has(j))return E.get(j);E.set(j,O)}function O(){return l(j,arguments,a(this).constructor)}return O.prototype=Object.create(j.prototype,{constructor:{value:O,enumerable:!1,writable:!0,configurable:!0}}),e(O,j)},i(k)}function l(k,E,j){return l=r()?Reflect.construct.bind():function(x,O,$){var N=[null];N.push.apply(N,O);var P=new(Function.bind.apply(x,N));return $&&e(P,$.prototype),P},l.apply(null,arguments)}function r(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){})),!0}catch{return!1}}function e(k,E){return e=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(j,x){return j.__proto__=x,j},e(k,E)}function a(k){return a=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(E){return E.__proto__||Object.getPrototypeOf(E)},a(k)}function p(k){return p=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(E){return typeof E}:function(E){return E&&typeof Symbol=="function"&&E.constructor===Symbol&&E!==Symbol.prototype?"symbol":typeof E},p(k)}xn=1;var h=lt().inspect,d=Nc().codes.ERR_INVALID_ARG_TYPE;function b(k,E,j){return(j===void 0||j>k.length)&&(j=k.length),k.substring(j-E.length,j)===E}var g="",u="",y="",v="",S={deepStrictEqual:"Expected values to be strictly deep-equal:",strictEqual:"Expected values to be strictly equal:",strictEqualObject:'Expected "actual" to be reference-equal to "expected":',deepEqual:"Expected values to be loosely deep-equal:",equal:"Expected values to be loosely equal:",notDeepStrictEqual:'Expected "actual" not to be strictly deep-equal to:',notStrictEqual:'Expected "actual" to be strictly unequal to:',notStrictEqualObject:'Expected "actual" not to be reference-equal to "expected":',notDeepEqual:'Expected "actual" not to be loosely deep-equal to:',notEqual:'Expected "actual" to be loosely unequal to:',notIdentical:"Values identical but not reference-equal:"};function w(k){var E=Object.keys(k),j=Object.create(Object.getPrototypeOf(k));return E.forEach(function(x){j[x]=k[x]}),Object.defineProperty(j,"message",{value:k.message}),j}function _(k){return h(k,{compact:!1,customInspect:!1,depth:1e3,maxArrayLength:1/0,showHidden:!1,breakLength:1/0,showProxy:!1,sorted:!0,getters:!0})}function M(k,E,j){var x="",O="",$=0,N="",P=!1,G=_(k),A=G.split(`
2
2
  `),I=_(E).split(`
3
3
  `),R=0,B="";if(j==="strictEqual"&&p(k)==="object"&&p(E)==="object"&&k!==null&&E!==null&&(j="strictEqualObject"),A.length===1&&I.length===1&&A[0]!==I[0]){var V=A[0].length+I[0].length;if(V<=10){if(!(p(k)==="object"&&k!==null||p(E)==="object"&&E!==null||k===0&&E===0))return"".concat(S[j],`
4
4
 
@@ -1,4 +1,4 @@
1
- import{e as O,O as u,V as i,a as k,o,x as d,f as c,fh as I,d as T,r as D,aT as W,f8 as B,ad as w,C as f,m as t}from"./index-D57b0ZIG.js";import{n as s}from"./mui-CQrPxNXb.js";import{D as E,V as G}from"./QBOConnectionDialog-C1rEAxUE-Q804Cvr3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="30a50c49-e3c4-4a70-9c87-071af8c39686",e._sentryDebugIdIdentifier="sentry-dbid-30a50c49-e3c4-4a70-9c87-071af8c39686")}catch{}})();const l={containerPadding:new d(t[3],t[4]),sectionWidth:new d(343,580,726),topElementsRowGap:new d(t[3],t[0]),arrowIconWidthHeight:new d(t[3],t[4])},_={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:r=!1,isValid:a,saveConnectionState:p,isQBOPopupOpen:$,companyName:y,updateQBOPopupState:h,handleOnConnectClick:b})=>{const n=O(),{qbo_connection:j}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:S,sucessText:v,button:z,errorText:P,requiredText:C}=j;return i.jsxs(A,{windowSize:n,children:[i.jsxs(H,{windowSize:n,children:[n==="small"?i.jsx(J,{children:a?i.jsx(K,{}):i.jsx(U,{})}):null,i.jsx(N,{windowSize:n,children:S})]}),i.jsxs(Q,{windowSize:n,children:[i.jsxs(V,{windowSize:n,children:[i.jsxs(L,{children:[i.jsx(M,{}),i.jsx(R,{windowSize:n}),i.jsx(F,{})]}),a?n!=="small"?i.jsx(m,{}):null:i.jsx(k,{variant:"primary",size:n!=="small"?"standard":"xs-small",label:z.connect,style:{width:"fit-content"},onClick:()=>h(!0),loading:p==="In-Progress"})]}),a?i.jsxs(i.Fragment,{children:[i.jsx(q,{children:v}),n==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:P})}):null,r&&!a?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:C})}):null]}),i.jsx(E,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:$,companyName:y,saveConnectionState:p,handleOnConnectClick:b,handleGoBack:()=>h(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:r}=e;return i.jsx(B,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:r,textColor:{color:new w(c.successDark),borderColor:new w(c.successDark)}})},A=s.div`
1
+ import{e as O,O as u,V as i,a as k,o,x as a,f as c,fh as I,d as T,r as D,aT as W,f8 as B,ad as w,C as f,m as t}from"./index-bPu7mlA1.js";import{n as s}from"./mui-CvPZa6D0.js";import{D as E,V as G}from"./QBOConnectionDialog-BIg9Iais-CzdJGXEh.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="9352bf7b-0380-42ce-9f2b-fe12ca8ceadf",e._sentryDebugIdIdentifier="sentry-dbid-9352bf7b-0380-42ce-9f2b-fe12ca8ceadf")}catch{}})();const l={containerPadding:new a(t[3],t[4]),sectionWidth:new a(343,580,726),topElementsRowGap:new a(t[3],t[0]),arrowIconWidthHeight:new a(t[3],t[4])},_={title:new T("standardMedium","largeMedium")},ee=({isAdmin:e,hasError:r=!1,isValid:d,saveConnectionState:p,isQBOPopupOpen:$,companyName:y,updateQBOPopupState:h,handleOnConnectClick:b})=>{const n=O(),{qbo_connection:j}=u.getLocalizedStrings().customerOnboardingPage.sections,{title:S,sucessText:v,button:z,errorText:P,requiredText:C}=j;return i.jsxs(A,{windowSize:n,children:[i.jsxs(H,{windowSize:n,children:[n==="small"?i.jsx(J,{children:d?i.jsx(K,{}):i.jsx(U,{})}):null,i.jsx(N,{windowSize:n,children:S})]}),i.jsxs(Q,{windowSize:n,children:[i.jsxs(V,{windowSize:n,children:[i.jsxs(L,{children:[i.jsx(M,{}),i.jsx(R,{windowSize:n}),i.jsx(F,{})]}),d?n!=="small"?i.jsx(m,{}):null:i.jsx(k,{variant:"primary",size:n!=="small"?"standard":"xs-small",label:z.connect,style:{width:"fit-content"},onClick:()=>h(!0),loading:p==="In-Progress"})]}),d?i.jsxs(i.Fragment,{children:[i.jsx(q,{children:v}),n==="small"?i.jsx(m,{}):null]}):null,p==="Error"?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:P})}):null,r&&!d?i.jsx(x,{children:i.jsx(g,{windowSize:n,children:C})}):null]}),i.jsx(E,{isAdmin:e,isGoBackAllowed:!0,isQBOPopupOpen:$,companyName:y,saveConnectionState:p,handleOnConnectClick:b,handleGoBack:()=>h(!1)})]})},m=()=>{const{tags:e}=u.getLocalizedStrings().customerOnboardingPage,{connected:r}=e;return i.jsx(B,{style:{width:"max-content",padding:0,marginTop:o.sp2},tagTitle:r,textColor:{color:new w(c.successDark),borderColor:new w(c.successDark)}})},A=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{j as t}from"./pdf-CPt_J5sA.js";import{a as o}from"./sentry-D8J10Xru.js";import{u as f,j as O,i as H,h as V,k as W}from"./core-CRK-q5k6.js";import{y as _,e as F,js as b,l0 as M,x as N,k2 as U,jQ as $,bk as z,jz as l,J as A,k9 as G,l1 as J}from"./index-D57b0ZIG.js";import{cE as Q,ct as X,Kn as R,Ko as Y,Kp as Z,qu as ee,qk as h,cG as ae,qp as re,Kq as ne}from"./zeni-epic-state-BpS-Wh5Q.js";import{D as te,e as se,n as oe,S as ie}from"./mui-CQrPxNXb.js";import{M as le}from"./MobileAppDrawer-2LbkYhdu.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]="a66be32a-da87-4a1e-9364-d406bda5c427",e._sentryDebugIdIdentifier="sentry-dbid-a66be32a-da87-4a1e-9364-d406bda5c427")}catch{}})();const de={overlayWidth:new N(100,100,30)},ce=({isReferralDrawerOpen:e,closeDrawerHandler:a})=>{const r=_(),s=F();if(b.getSignedInUser()==null)throw Error("Can't access How Referral works without signing in...");const i=()=>{a(!0)},p=f(d=>Q(d));return t.jsx(te,{anchor:"right",open:e,PaperProps:{style:{width:de.overlayWidth.valuePercentage(s),boxShadow:"none"}},slotProps:{backdrop:{style:{opacity:.75,backgroundColor:r.colors.black,cursor:"pointer"}}},onClose:()=>i(),children:t.jsx(se,{in:e,direction:"left",children:t.jsx(ue,{onClick:d=>d.stopPropagation(),children:t.jsx(M,{onDismissClick:i,rewardsPlan:p.rewardsPlan})})})})},ue=oe(ie)`
1
+ import{j as t}from"./pdf-LR9rRMEe.js";import{a as o}from"./sentry-uXR4_KRo.js";import{u as f,j as O,i as H,h as V,k as W}from"./core-DuCBl3U1.js";import{y as _,e as F,js as b,l0 as M,x as N,k2 as U,jQ as $,bk as z,jz as l,J as A,k9 as G,l1 as J}from"./index-bPu7mlA1.js";import{cE as Q,ct as X,Kn as R,Ko as Y,Kp as Z,qu as ee,qk as h,cG as ae,qp as re,Kq as ne}from"./zeni-epic-state-BDdTNPzg.js";import{D as te,e as se,n as oe,S as ie}from"./mui-CvPZa6D0.js";import{M as le}from"./MobileAppDrawer-CKcdPSDd.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]="a66be32a-da87-4a1e-9364-d406bda5c427",e._sentryDebugIdIdentifier="sentry-dbid-a66be32a-da87-4a1e-9364-d406bda5c427")}catch{}})();const de={overlayWidth:new N(100,100,30)},ce=({isReferralDrawerOpen:e,closeDrawerHandler:a})=>{const r=_(),s=F();if(b.getSignedInUser()==null)throw Error("Can't access How Referral works without signing in...");const i=()=>{a(!0)},p=f(d=>Q(d));return t.jsx(te,{anchor:"right",open:e,PaperProps:{style:{width:de.overlayWidth.valuePercentage(s),boxShadow:"none"}},slotProps:{backdrop:{style:{opacity:.75,backgroundColor:r.colors.black,cursor:"pointer"}}},onClose:()=>i(),children:t.jsx(se,{in:e,direction:"left",children:t.jsx(ue,{onClick:d=>d.stopPropagation(),children:t.jsx(M,{onDismissClick:i,rewardsPlan:p.rewardsPlan})})})})},ue=oe(ie)`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  flex-direction: column;
@@ -1 +1 @@
1
- import{j as t}from"./pdf-CPt_J5sA.js";import x from"./NotFoundScreen-Bbv8H3nZ.js";import{a as p}from"./sentry-D8J10Xru.js";import{j as I,h as k,i as A,u,N as E,k as C,R as D,m as c}from"./core-CRK-q5k6.js";import{ct as z,Li as g,Ly as S,za as T,yj as V,z9 as d,z0 as U,LN as _}from"./zeni-epic-state-BpS-Wh5Q.js";import{y as L,js as N,jQ as $,k9 as O,lz as W,ki as B}from"./index-D57b0ZIG.js";import"./mui-CQrPxNXb.js";import{R as y}from"./ReimbursementApprovalRuleDetailScreen-Bmntxu5O.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="9181a707-f436-459d-8ed7-46dc57454770",e._sentryDebugIdIdentifier="sentry-dbid-9181a707-f436-459d-8ed7-46dc57454770")}catch{}})();const m="reimbursement-approval-rule-update",P=C(function(e){return{approvalView:g(e),remiSetupApproverViewUpdateData:S(e).remiSetupApproverViewUpdateData}},function(e,r){const{navigate:a,location:l}=r;return{onApprovalRulesEventReceived:n=>{n.endsWith(m)&&e(_(!1))},onBackClick:()=>{B(l)?a("../../"):a("../../../reimbursements/setup")},onDeleteRuleClick:n=>{e(U(n))},onEditRuleClick:n=>{n!=null?(e(d(n)),a(`./${n}/edit`)):(e(d()),a("./new"))}}})(O(W)),Q=()=>{const e=I(),r=k(),a=A(),[l,n]=p.useState(!1),[f,b]=p.useState(!1),h=u(s=>s.remiSetupApproverViewState.fetchState),o=u(s=>z(s)),j=L(),i=u(s=>g(s)),v=u(s=>S(s).remiSetupApproverViewUpdateData);if(p.useEffect(()=>{v?.updateStatus.fetchState==="Completed"&&a(T())},[v]),p.useEffect(()=>{l||h!=="Not-Started"||(n(!0),a(V(!0)))},[l,h,a]),N.getSignedInUser()==null)throw Error("Can't access reimbursement approval without signing in...");p.useEffect(()=>{i.allApprovalRules.length===0&&i.fetchState==="Completed"&&(f||(b(!0),a(d())),e("./new"))},[f,i,a]);const w={events:o.companyId!=null?[`private-${o.companyId}.${m}`]:[],eventCallback:(s,q,R)=>{s.endsWith(m)&&R.onApprovalRulesEventReceived(s)}};return o.companyReimbursementInfo?.info?.isReimbursementTOSAccepted===!1?t.jsx(E,{to:"../../promo"}):o.companyReimbursementInfo?.info?.isReimbursementTOSAccepted!==!0||i.fetchState!=="Completed"&&i.fetchState!=="Error"?t.jsx($,{fetchState:"In-Progress",style:{backgroundColor:j.colors.grey5}}):t.jsx(P,{currentTenant:o,location:r,navigate:e,...w})};function Z(){return t.jsxs(D,{children:[t.jsx(c,{path:"/",element:t.jsx(Q,{})}),t.jsx(c,{path:"/new",element:t.jsx(y,{})}),t.jsx(c,{path:"/:approvalRuleId/edit",element:t.jsx(y,{})}),t.jsx(c,{path:"*",element:t.jsx(x,{})})]})}export{Z as R};
1
+ import{j as t}from"./pdf-LR9rRMEe.js";import x from"./NotFoundScreen-CJqSMVfb.js";import{a as p}from"./sentry-uXR4_KRo.js";import{j as I,h as k,i as A,u,N as E,k as C,R as D,m as c}from"./core-DuCBl3U1.js";import{ct as z,Li as g,Ly as S,za as T,yj as V,z9 as d,z0 as U,LN as _}from"./zeni-epic-state-BDdTNPzg.js";import{y as L,js as N,jQ as $,k9 as O,lz as W,ki as B}from"./index-bPu7mlA1.js";import"./mui-CvPZa6D0.js";import{R as y}from"./ReimbursementApprovalRuleDetailScreen-Ud4xo4RE.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},r=new e.Error().stack;r&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[r]="9181a707-f436-459d-8ed7-46dc57454770",e._sentryDebugIdIdentifier="sentry-dbid-9181a707-f436-459d-8ed7-46dc57454770")}catch{}})();const m="reimbursement-approval-rule-update",P=C(function(e){return{approvalView:g(e),remiSetupApproverViewUpdateData:S(e).remiSetupApproverViewUpdateData}},function(e,r){const{navigate:a,location:l}=r;return{onApprovalRulesEventReceived:n=>{n.endsWith(m)&&e(_(!1))},onBackClick:()=>{B(l)?a("../../"):a("../../../reimbursements/setup")},onDeleteRuleClick:n=>{e(U(n))},onEditRuleClick:n=>{n!=null?(e(d(n)),a(`./${n}/edit`)):(e(d()),a("./new"))}}})(O(W)),Q=()=>{const e=I(),r=k(),a=A(),[l,n]=p.useState(!1),[f,b]=p.useState(!1),h=u(s=>s.remiSetupApproverViewState.fetchState),o=u(s=>z(s)),j=L(),i=u(s=>g(s)),v=u(s=>S(s).remiSetupApproverViewUpdateData);if(p.useEffect(()=>{v?.updateStatus.fetchState==="Completed"&&a(T())},[v]),p.useEffect(()=>{l||h!=="Not-Started"||(n(!0),a(V(!0)))},[l,h,a]),N.getSignedInUser()==null)throw Error("Can't access reimbursement approval without signing in...");p.useEffect(()=>{i.allApprovalRules.length===0&&i.fetchState==="Completed"&&(f||(b(!0),a(d())),e("./new"))},[f,i,a]);const w={events:o.companyId!=null?[`private-${o.companyId}.${m}`]:[],eventCallback:(s,q,R)=>{s.endsWith(m)&&R.onApprovalRulesEventReceived(s)}};return o.companyReimbursementInfo?.info?.isReimbursementTOSAccepted===!1?t.jsx(E,{to:"../../promo"}):o.companyReimbursementInfo?.info?.isReimbursementTOSAccepted!==!0||i.fetchState!=="Completed"&&i.fetchState!=="Error"?t.jsx($,{fetchState:"In-Progress",style:{backgroundColor:j.colors.grey5}}):t.jsx(P,{currentTenant:o,location:r,navigate:e,...w})};function Z(){return t.jsxs(D,{children:[t.jsx(c,{path:"/",element:t.jsx(Q,{})}),t.jsx(c,{path:"/new",element:t.jsx(y,{})}),t.jsx(c,{path:"/:approvalRuleId/edit",element:t.jsx(y,{})}),t.jsx(c,{path:"*",element:t.jsx(x,{})})]})}export{Z as R};
@@ -1,4 +1,4 @@
1
- import{x as M,m as D,y as W,e as G,O as U,T as X,a7 as H,a1 as J,c8 as K,V as r,a_ as Q,A as Y,a9 as Z,o as h,fy as ee}from"./index-D57b0ZIG.js";import{a as L}from"./sentry-D8J10Xru.js";import{n as u}from"./mui-CQrPxNXb.js";import{b as te,f as ae,o as B,l as T}from"./FollowStepsSection-DZNWzSvo-4LVVpbi9.js";import"./pdf-CPt_J5sA.js";import"./zeni-epic-state-BpS-Wh5Q.js";import"./core-CRK-q5k6.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.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]="82c12474-7524-42c6-9d92-62c77b900f8e",e._sentryDebugIdIdentifier="sentry-dbid-82c12474-7524-42c6-9d92-62c77b900f8e")}catch{}})();const _="reimbursementApprovalRuleDetailPage",C="lowerBound",k="upperBound",I="steps",b="applyToExistingReimbursements",le={footerPadding:new M(D[2],D[3])};function Ue({localData:e,approvalUpdateActionType:a,isLowerBoundDisabled:t=!1,isUpperBoundDisabled:o=!0,hideUpperBoundField:n=!1,onBackClick:s,onApprovalRuleDataUpdated:g,onResetClick:N,onSaveRuleClick:$,onSaveRuleSuccess:A}){const E=W(),w=G(),l=U.getLocalizedStrings().commonSetUp.approval,S=U.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=re(e,a==="approval_create"&&!t),y=X({mode:"all",reValidateMode:"onChange",defaultValues:x}),p=e.remiSetupApproverViewUpdateData?.updateStatus,R=H(p?.fetchState),{upperBound:P}=x,{allApprovalRules:d,allAccountingClasses:V,remiSetupApproverViewUpdateData:c}=e;let m=d.length>1?d.length-1:0,v=d.length>0?d[m].criteria[0].range.min.amount:0;if(c!=null&&c.type==="approval_update"&&c.data!=null){const{approvalRuleId:i}=c.data;m=d.findIndex(f=>f.approvalRuleId===i),v=m>0?d[m-1].criteria[0].range.min.amount:0}const O=y.handleSubmit(()=>{$()});return L.useEffect(()=>{const i=y.watch((f,{name:q})=>{if(q!=null&&f!=null){const z=J(f);K(()=>(async(me,F)=>{g(F)})(0,z))}});return()=>{i.unsubscribe()}}),L.useEffect(()=>{R==="In-Progress"&&p?.fetchState==="Completed"&&A()},[R,p?.fetchState,A]),r.jsxs(ie,{children:[r.jsx(Q,{title:a==="approval_create"?l.newApproval:l.editApproval,backgroundColor:E.colors.grey4,style:{zIndex:4},onBackClick:()=>{s()},source:"ReimbursementApprovalRuleDetailPage"}),r.jsx(de,{children:r.jsxs(Y,{...y,children:[r.jsx(ue,{children:r.jsx("form",{id:j(_),onSubmit:O,children:r.jsxs(pe,{children:[r.jsx(te,{label:{label:n?S.amountPerRemiGreaterLabel:S.amountPerRemiLabel},firstText:{type:"number",name:C,placeholder:"$0",options:{required:!0,max:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:v,validate:i=>!!t||i!=null&&i>v},isDisabled:t,additionalInfoLabel:l.firstRuleLowerBoundInfoLabel,additionalErrorLabel:l.firstRuleErrorInfoLabel},secondText:{type:"number",name:k,placeholder:"Infinity",isDisabled:o,hideField:n,additionalInfoLabel:l.upperBoundInfoLabel}}),r.jsx(ce,{}),r.jsx(ae,{sectionId:I,label:{label:l.followStepsLabel},approversPlaceholder:l.approversPlaceholder,notifiersPlaceholder:l.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:V,stepsInfo:x[I],userSelectPlaceholder:l.userSelectPlaceholder,approveNotifyPlaceholder:l.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})}),r.jsx(Z,{formId:j(_),primaryBtn:{label:l.saveBtnText,isLoading:p?.fetchState==="In-Progress",isDisabled:p?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:a==="approval_create"&&d.length===0?null:r.jsx(ee,{name:b,mode:"always_on",checkBoxes:[{value:b,label:l.applyToExistingReimbursements,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:l.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:N},containerStyle:{justifyContent:w==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(w)},separatorStyle:{marginRight:h.sp4}})]})})]})}const re=(e,a)=>{const{criteria:t,steps:o}=e.remiSetupApproverViewUpdateData?.data??{},n=e.allApprovalRules.length===0;return{[b]:n?[]:[b],[I]:oe(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),B(e.allAttributes),B(e.filteredAttributes),o??[])??[],[C]:a?void 0:t!=null?t.range.min.amount??0:0,[k]:t!=null?t.range.max==null?1/0:t.range.max.amount:1/0}},oe=(e,a,t,o,n)=>n&&n.length>0?n.map((s,g)=>({stepIndex:g,stepType:{selectedOption:s.action,allOptions:T},actors:{allUsers:a,selectedUsers:se(e,s.actors),allNonUsers:o,selectedNonUsers:ne(t,s.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:T},actors:{allUsers:a,selectedUsers:[],allNonUsers:o,selectedNonUsers:[]}}],se=(e,a)=>e.filter(t=>t.userId!=null&&a.findIndex(o=>o.userId===t.userId)>-1),ne=(e,a)=>e.filter(t=>a.findIndex(o=>o.subType===t.value)>-1),j=e=>`${e}_form`,Le=e=>`${e}`,ie=u.div`
1
+ import{x as M,m as D,y as W,e as G,O as U,T as X,a7 as H,a1 as J,c8 as K,V as r,a_ as Q,A as Y,a9 as Z,o as b,fy as ee}from"./index-bPu7mlA1.js";import{a as L}from"./sentry-uXR4_KRo.js";import{n as u}from"./mui-CvPZa6D0.js";import{b as te,f as ae,o as B,l as T}from"./FollowStepsSection-BVT2K7mu-DYEgY8Jh.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.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]="da801435-b21b-4414-9d4e-4c869c2e3779",e._sentryDebugIdIdentifier="sentry-dbid-da801435-b21b-4414-9d4e-4c869c2e3779")}catch{}})();const _="reimbursementApprovalRuleDetailPage",C="lowerBound",k="upperBound",I="steps",h="applyToExistingReimbursements",le={footerPadding:new M(D[2],D[3])};function Ue({localData:e,approvalUpdateActionType:a,isLowerBoundDisabled:t=!1,isUpperBoundDisabled:o=!0,hideUpperBoundField:n=!1,onBackClick:s,onApprovalRuleDataUpdated:g,onResetClick:N,onSaveRuleClick:$,onSaveRuleSuccess:A}){const E=W(),w=G(),l=U.getLocalizedStrings().commonSetUp.approval,S=U.getLocalizedStrings().spendManagement.reimbursement.reimbursementApproval,x=re(e,a==="approval_create"&&!t),y=X({mode:"all",reValidateMode:"onChange",defaultValues:x}),p=e.remiSetupApproverViewUpdateData?.updateStatus,R=H(p?.fetchState),{upperBound:P}=x,{allApprovalRules:d,allAccountingClasses:V,remiSetupApproverViewUpdateData:c}=e;let m=d.length>1?d.length-1:0,v=d.length>0?d[m].criteria[0].range.min.amount:0;if(c!=null&&c.type==="approval_update"&&c.data!=null){const{approvalRuleId:i}=c.data;m=d.findIndex(f=>f.approvalRuleId===i),v=m>0?d[m-1].criteria[0].range.min.amount:0}const O=y.handleSubmit(()=>{$()});return L.useEffect(()=>{const i=y.watch((f,{name:q})=>{if(q!=null&&f!=null){const z=J(f);K(()=>(async(me,F)=>{g(F)})(0,z))}});return()=>{i.unsubscribe()}}),L.useEffect(()=>{R==="In-Progress"&&p?.fetchState==="Completed"&&A()},[R,p?.fetchState,A]),r.jsxs(ie,{children:[r.jsx(Q,{title:a==="approval_create"?l.newApproval:l.editApproval,backgroundColor:E.colors.grey4,style:{zIndex:4},onBackClick:()=>{s()},source:"ReimbursementApprovalRuleDetailPage"}),r.jsx(de,{children:r.jsxs(Y,{...y,children:[r.jsx(ue,{children:r.jsx("form",{id:j(_),onSubmit:O,children:r.jsxs(pe,{children:[r.jsx(te,{label:{label:n?S.amountPerRemiGreaterLabel:S.amountPerRemiLabel},firstText:{type:"number",name:C,placeholder:"$0",options:{required:!0,max:P===1/0?Number.MAX_SAFE_INTEGER-1:P-1,min:v,validate:i=>!!t||i!=null&&i>v},isDisabled:t,additionalInfoLabel:l.firstRuleLowerBoundInfoLabel,additionalErrorLabel:l.firstRuleErrorInfoLabel},secondText:{type:"number",name:k,placeholder:"Infinity",isDisabled:o,hideField:n,additionalInfoLabel:l.upperBoundInfoLabel}}),r.jsx(ce,{}),r.jsx(ae,{sectionId:I,label:{label:l.followStepsLabel},approversPlaceholder:l.approversPlaceholder,notifiersPlaceholder:l.notifiersPlaceholder,allUserWithRoles:e.allApprovers,filteredApprovers:e.filteredApprovers.map(i=>i.user),allAttributes:e.allAttributes,filteredAttributes:e.filteredAttributes,allAccountingClasses:V,stepsInfo:x[I],userSelectPlaceholder:l.userSelectPlaceholder,approveNotifyPlaceholder:l.approveNotifyPlaceholder,productType:"zeni_reimbursements"})]})})}),r.jsx(Z,{formId:j(_),primaryBtn:{label:l.saveBtnText,isLoading:p?.fetchState==="In-Progress",isDisabled:p?.fetchState==="In-Progress",style:{width:"85px",minWidth:"auto"}},topComponent:a==="approval_create"&&d.length===0?null:r.jsx(ee,{name:h,mode:"always_on",checkBoxes:[{value:h,label:l.applyToExistingReimbursements,defaultChecked:!0,groupLabel:!1}],style:{width:"100%"}}),showCancel:!0,cancelBtn:{label:l.cancelBtnText,isLoading:!1,style:{width:"85px",minWidth:"auto"},onClick:N},containerStyle:{justifyContent:w==="small"?"space-between":"center"},style:{padding:le.footerPadding.valuePx(w)},separatorStyle:{marginRight:b.sp4}})]})})]})}const re=(e,a)=>{const{criteria:t,steps:o}=e.remiSetupApproverViewUpdateData?.data??{},n=e.allApprovalRules.length===0;return{[h]:n?[]:[h],[I]:oe(e.allApprovers.map(s=>s.user),e.filteredApprovers.map(s=>s.user),B(e.allAttributes),B(e.filteredAttributes),o??[])??[],[C]:a?void 0:t!=null?t.range.min.amount??0:0,[k]:t!=null?t.range.max==null?1/0:t.range.max.amount:1/0}},oe=(e,a,t,o,n)=>n&&n.length>0?n.map((s,g)=>({stepIndex:g,stepType:{selectedOption:s.action,allOptions:T},actors:{allUsers:a,selectedUsers:se(e,s.actors),allNonUsers:o,selectedNonUsers:ne(t,s.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:T},actors:{allUsers:a,selectedUsers:[],allNonUsers:o,selectedNonUsers:[]}}],se=(e,a)=>e.filter(t=>t.userId!=null&&a.findIndex(o=>o.userId===t.userId)>-1),ne=(e,a)=>e.filter(t=>a.findIndex(o=>o.subType===t.value)>-1),j=e=>`${e}_form`,Le=e=>`${e}`,ie=u.div`
2
2
  display: flex;
3
3
  height: 100%;
4
4
  flex-direction: column;
@@ -13,8 +13,8 @@ import{x as M,m as D,y as W,e as G,O as U,T as X,a7 as H,a1 as J,c8 as K,V as r,
13
13
  display: flex;
14
14
  flex-direction: column;
15
15
  border: 1px solid ${e=>e.theme.colors.grey3};
16
- box-shadow: ${e=>`${h.sp0} 2px ${h.sp1} ${e.theme.colors.dropShadowNormal}`};
17
- border-radius: ${h.sp2};
16
+ box-shadow: ${e=>`${b.sp0} 2px ${b.sp1} ${e.theme.colors.dropShadowNormal}`};
17
+ border-radius: ${b.sp2};
18
18
  `,ue=u.div`
19
19
  display: flex;
20
20
  justify-content: flex-start;
@@ -1 +1 @@
1
- import{j as g}from"./pdf-CPt_J5sA.js";import{a as y}from"./sentry-D8J10Xru.js";import{j as w,i as A,h as T,l as U,u as b,k as E}from"./core-CRK-q5k6.js";import{Ly as R,Li as C,z3 as x,zc as _,za as S,zb as h,Lz as k}from"./zeni-epic-state-BpS-Wh5Q.js";import{js as B,y as j,jQ as V,lq as z,ki as F}from"./index-D57b0ZIG.js";import"./mui-CQrPxNXb.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]="1685e097-cb5b-47ac-b629-cd48aa4062fd",e._sentryDebugIdIdentifier="sentry-dbid-1685e097-cb5b-47ac-b629-cd48aa4062fd")}catch{}})();function L(e){return k(e)==null}const O=E(function(e,a){const t=R(e),s=t.remiSetupApproverViewUpdateData?.type??"approval_create",n=s==="approval_create"&&t.allApprovalRules.length!==0;let l=t.allApprovalRules.length===0;return a.approvalRuleId&&(l=t.allApprovalRules.findIndex(r=>r.approvalRuleId===a.approvalRuleId)===0),{localData:t,hideUpperBoundField:n,isLowerBoundDisabled:l,approvalUpdateActionType:s}},function(e,a){const{navigate:t,approvalUpdateDataView:s,approverViewData:n,approvalRuleId:l}=a,r=s.remiSetupApproverViewUpdateData?.type,i=F(a.location);return{onApprovalRuleDataUpdated:o=>{const c=p=>{const v=[];return p.forEach(u=>{const D=u.actors.selectedUsers.map(d=>({type:"user",subType:void 0,userId:d.userId,idType:"user",isImplicitActor:!1})),I=u.actors.selectedNonUsers.map(d=>{const f=!!L(d.value);return{type:f?"attribute":"role",subType:d.value,userId:void 0,idType:void 0,isImplicitActor:!f}}),m=D.concat(I);v.push({action:u.stepType.selectedOption,actors:m,operator:m.length>1?u.stepType.selectedOption==="require_approval"?"or":"and":"is"})}),v};if(r==="approval_create"){const p={criteria:{rangeType:"range",rangeEntity:"currency",range:{min:{amount:o.lowerBound,currencyCode:"USD",currencySymbol:"$"},max:{amount:o.upperBound,currencyCode:"USD",currencySymbol:"$"}}},steps:c(o.steps),isApplicableOnPendingApprovalEntity:o.applyToExistingReimbursements.includes("applyToExistingReimbursements")};e(h(p))}else{const p={approvalRuleId:l,criteria:{rangeType:"range",rangeEntity:"currency",range:{min:{amount:o.lowerBound,currencyCode:"USD",currencySymbol:"$"},max:{amount:o.upperBound,currencyCode:"USD",currencySymbol:"$"}}},steps:c(o.steps),isApplicableOnPendingApprovalEntity:o.applyToExistingReimbursements.includes("applyToExistingReimbursements")};e(h(p))}},onResetClick:()=>{e(S()),r==="approval_update"||i?t("../"):n.allApprovalRules.length===0&&n.fetchState==="Completed"?t("../../setup"):t("../")},onBackClick:()=>{e(S()),r==="approval_update"||i?t("../"):n.allApprovalRules.length===0&&n.fetchState==="Completed"?t("../../setup"):t("../")},onSaveRuleClick:()=>{e(_())},onSaveRuleSuccess:()=>{t("../")}}})(z);function H(){const e=w(),a=A(),t=T(),{approvalRuleId:s}=U(),n=B.getSignedInUser(),l=j(),r=b(p=>R(p)),i=b(p=>C(p)),[o,c]=y.useState(!1);if(y.useEffect(()=>{o||(c(!0),a(x(!0)))}),y.useEffect(()=>{i.fetchState==="Not-Started"&&e(s!=null?"../../":"../")},[i,s]),n==null)throw Error("Can't access address page without signing in...");return r.approversDetailsFetchStatus.fetchState=="Not-Started"||r.approversDetailsFetchStatus.fetchState==="In-Progress"?g.jsx(V,{fetchState:r.approversDetailsFetchStatus.fetchState,style:{backgroundColor:l.colors.grey5}}):g.jsx(O,{navigate:e,approvalUpdateDataView:r,approvalRuleId:s,approverViewData:i,location:t})}export{H as R,L as i};
1
+ import{j as g}from"./pdf-LR9rRMEe.js";import{a as y}from"./sentry-uXR4_KRo.js";import{j as w,i as A,h as T,l as U,u as b,k as E}from"./core-DuCBl3U1.js";import{Ly as R,Li as C,z3 as x,zc as _,za as S,zb as h,Lz as k}from"./zeni-epic-state-BDdTNPzg.js";import{js as B,y as j,jQ as V,lq as z,ki as F}from"./index-bPu7mlA1.js";import"./mui-CvPZa6D0.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]="1685e097-cb5b-47ac-b629-cd48aa4062fd",e._sentryDebugIdIdentifier="sentry-dbid-1685e097-cb5b-47ac-b629-cd48aa4062fd")}catch{}})();function L(e){return k(e)==null}const O=E(function(e,a){const t=R(e),s=t.remiSetupApproverViewUpdateData?.type??"approval_create",n=s==="approval_create"&&t.allApprovalRules.length!==0;let l=t.allApprovalRules.length===0;return a.approvalRuleId&&(l=t.allApprovalRules.findIndex(r=>r.approvalRuleId===a.approvalRuleId)===0),{localData:t,hideUpperBoundField:n,isLowerBoundDisabled:l,approvalUpdateActionType:s}},function(e,a){const{navigate:t,approvalUpdateDataView:s,approverViewData:n,approvalRuleId:l}=a,r=s.remiSetupApproverViewUpdateData?.type,i=F(a.location);return{onApprovalRuleDataUpdated:o=>{const c=p=>{const v=[];return p.forEach(u=>{const D=u.actors.selectedUsers.map(d=>({type:"user",subType:void 0,userId:d.userId,idType:"user",isImplicitActor:!1})),I=u.actors.selectedNonUsers.map(d=>{const f=!!L(d.value);return{type:f?"attribute":"role",subType:d.value,userId:void 0,idType:void 0,isImplicitActor:!f}}),m=D.concat(I);v.push({action:u.stepType.selectedOption,actors:m,operator:m.length>1?u.stepType.selectedOption==="require_approval"?"or":"and":"is"})}),v};if(r==="approval_create"){const p={criteria:{rangeType:"range",rangeEntity:"currency",range:{min:{amount:o.lowerBound,currencyCode:"USD",currencySymbol:"$"},max:{amount:o.upperBound,currencyCode:"USD",currencySymbol:"$"}}},steps:c(o.steps),isApplicableOnPendingApprovalEntity:o.applyToExistingReimbursements.includes("applyToExistingReimbursements")};e(h(p))}else{const p={approvalRuleId:l,criteria:{rangeType:"range",rangeEntity:"currency",range:{min:{amount:o.lowerBound,currencyCode:"USD",currencySymbol:"$"},max:{amount:o.upperBound,currencyCode:"USD",currencySymbol:"$"}}},steps:c(o.steps),isApplicableOnPendingApprovalEntity:o.applyToExistingReimbursements.includes("applyToExistingReimbursements")};e(h(p))}},onResetClick:()=>{e(S()),r==="approval_update"||i?t("../"):n.allApprovalRules.length===0&&n.fetchState==="Completed"?t("../../setup"):t("../")},onBackClick:()=>{e(S()),r==="approval_update"||i?t("../"):n.allApprovalRules.length===0&&n.fetchState==="Completed"?t("../../setup"):t("../")},onSaveRuleClick:()=>{e(_())},onSaveRuleSuccess:()=>{t("../")}}})(z);function H(){const e=w(),a=A(),t=T(),{approvalRuleId:s}=U(),n=B.getSignedInUser(),l=j(),r=b(p=>R(p)),i=b(p=>C(p)),[o,c]=y.useState(!1);if(y.useEffect(()=>{o||(c(!0),a(x(!0)))}),y.useEffect(()=>{i.fetchState==="Not-Started"&&e(s!=null?"../../":"../")},[i,s]),n==null)throw Error("Can't access address page without signing in...");return r.approversDetailsFetchStatus.fetchState=="Not-Started"||r.approversDetailsFetchStatus.fetchState==="In-Progress"?g.jsx(V,{fetchState:r.approversDetailsFetchStatus.fetchState,style:{backgroundColor:l.colors.grey5}}):g.jsx(O,{navigate:e,approvalUpdateDataView:r,approvalRuleId:s,approverViewData:i,location:t})}export{H as R,L as i};
@@ -1,4 +1,4 @@
1
- import{y as H,e as N,O as j,V as o,a_ as G,L as q,b as u,o as t,x as r,l as M,a5 as P,bo as k,bR as F,bS as V,bT as O,cq as J,m as l,at as K,d as T,as as Q,f as z,cp as X,aR as Y,w as Z}from"./index-D57b0ZIG.js";import{n as i}from"./mui-CQrPxNXb.js";import{a as ee}from"./sentry-D8J10Xru.js";import"./pdf-CPt_J5sA.js";import"./zeni-epic-state-BpS-Wh5Q.js";import"./core-CRK-q5k6.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="e2ceeaa4-ff05-463d-97e8-abbf2f58257f",e._sentryDebugIdIdentifier="sentry-dbid-e2ceeaa4-ff05-463d-97e8-abbf2f58257f")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},U={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeRegular")},oe=({showDeleteBtn:e=!1,disableButtons:c=!1,isLastSection:g=!1,approvalRule:f,onEditRuleClick:S,onDeleteRuleClick:y})=>{const[w,x]=ee.useState(!1),n=N(),{range:m}=f.criteria[0],{steps:$,approvalRuleId:p}=f,a=j.getLocalizedStrings().commonSetUp.approval,v={onOkClick:()=>{x(!1),y?.(p)},onCancelClick:()=>{x(!1)}};return o.jsxs(te,{windowSize:n,isLastSection:g,isUpdatingApprovalRules:c,"data-testid":u("approval-rule-section",p),children:[o.jsxs(ie,{windowSize:n,children:[o.jsxs(ce,{children:[o.jsxs(W,{windowSize:n,children:[a.from," ",P("0,0",m.min)]}),o.jsxs(re,{children:[o.jsx(R,{}),o.jsx(le,{}),o.jsx(R,{})]}),m.max==null?o.jsx(me,{}):o.jsx(W,{windowSize:n,children:P("0,0",{...m.min,amount:m.max.amount})})]}),o.jsxs(he,{className:"icons",children:[e?c?o.jsx(k,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:o.jsx(C,{children:o.jsx(I,{isDisabled:!0,"data-testid":u("delete-approval-rule",p)})})}):o.jsx(I,{onClick:()=>{x(!0)},"data-testid":u("delete-approval-rule",p)}):null,c?o.jsx(k,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:o.jsx(C,{children:o.jsx(B,{isDisabled:!0,"data-testid":u("edit-approval-rule",p)})})}):o.jsx(B,{onClick:()=>{S(p)},"data-testid":u("edit-approval-rule",p)})]})]}),o.jsx(se,{windowSize:n,children:o.jsx(ae,{isSingleStep:$.length===1,windowSize:n,children:$.map((h,_)=>o.jsxs(ne,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[h.action==="require_approval"?o.jsx(pe,{children:a.requireText}):o.jsx(de,{children:a.notifyText}),h.nonUserActors.filter(d=>d.subType!=null).map((d,E)=>o.jsxs(A,{children:[o.jsx(D,{children:d.subType!=null?a.nonUsers[d.subType].label:null}),h.operator!="is"?o.jsx(L,{className:"operator",children:h.operator}):null]},`${d.subType}_${E}`)),h.actors.map(d=>o.jsxs(A,{children:[o.jsxs(D,{children:[d.firstName," ",d.lastName]}),h.operator!="is"?o.jsx(L,{className:"operator",children:h.operator}):null]},d.userId))]},_))})}),w?o.jsx(F,{titleComponent:o.jsx(O,{children:a.deleteApprovalRuleTitle}),descriptionComponent:o.jsx(V,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:v}):null]})},te=i.div`
1
+ import{y as H,e as N,O as j,V as o,a_ as G,L as q,b as u,o as t,x as r,l as M,a5 as P,bo as k,bR as F,bS as V,bT as O,cq as J,m as l,at as K,d as T,as as Q,f as z,cp as X,aR as Y,w as Z}from"./index-bPu7mlA1.js";import{n as i}from"./mui-CvPZa6D0.js";import{a as ee}from"./sentry-uXR4_KRo.js";import"./pdf-LR9rRMEe.js";import"./zeni-epic-state-BDdTNPzg.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},c=new e.Error().stack;c&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[c]="e2ceeaa4-ff05-463d-97e8-abbf2f58257f",e._sentryDebugIdIdentifier="sentry-dbid-e2ceeaa4-ff05-463d-97e8-abbf2f58257f")}catch{}})();const s={sectionWidth:new r(343,580,726),ruleWrapperPadding:new r(l[3],l[4]),wrapperGap:new r(l[4],l[3]),wrapperMarginBottom:new r(l[6],l[8]),lastWrapperMarginBottom:new r(l[5],l[9]),stepperWidthHeight:new r(20,l[5]),stepperItemLeft:new r(-29,-23),stepperItemTop:new r(2,l[0]),stepperItemPaddingLeft:new r(l[0],10),stepperItemMinHeight:new r(22,28),stepperLeft:new r(11,17),stepperTop:new r(2,l[0]),stepperContentTop:new r(l[0],-4)},U={stepper:new T("smallRegular","standardRegular"),amount:new T("standardRegular","largeRegular")},oe=({showDeleteBtn:e=!1,disableButtons:c=!1,isLastSection:g=!1,approvalRule:f,onEditRuleClick:S,onDeleteRuleClick:y})=>{const[w,x]=ee.useState(!1),n=N(),{range:m}=f.criteria[0],{steps:$,approvalRuleId:p}=f,a=j.getLocalizedStrings().commonSetUp.approval,v={onOkClick:()=>{x(!1),y?.(p)},onCancelClick:()=>{x(!1)}};return o.jsxs(te,{windowSize:n,isLastSection:g,isUpdatingApprovalRules:c,"data-testid":u("approval-rule-section",p),children:[o.jsxs(ie,{windowSize:n,children:[o.jsxs(ce,{children:[o.jsxs(W,{windowSize:n,children:[a.from," ",P("0,0",m.min)]}),o.jsxs(re,{children:[o.jsx(R,{}),o.jsx(le,{}),o.jsx(R,{})]}),m.max==null?o.jsx(me,{}):o.jsx(W,{windowSize:n,children:P("0,0",{...m.min,amount:m.max.amount})})]}),o.jsxs(he,{className:"icons",children:[e?c?o.jsx(k,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:o.jsx(C,{children:o.jsx(I,{isDisabled:!0,"data-testid":u("delete-approval-rule",p)})})}):o.jsx(I,{onClick:()=>{x(!0)},"data-testid":u("delete-approval-rule",p)}):null,c?o.jsx(k,{title:a.approvalRulesUpdatingTooltip,placement:"top",children:o.jsx(C,{children:o.jsx(B,{isDisabled:!0,"data-testid":u("edit-approval-rule",p)})})}):o.jsx(B,{onClick:()=>{S(p)},"data-testid":u("edit-approval-rule",p)})]})]}),o.jsx(se,{windowSize:n,children:o.jsx(ae,{isSingleStep:$.length===1,windowSize:n,children:$.map((h,_)=>o.jsxs(ne,{isSingleStep:$.length===1,className:"stepperItem",windowSize:n,children:[h.action==="require_approval"?o.jsx(pe,{children:a.requireText}):o.jsx(de,{children:a.notifyText}),h.nonUserActors.filter(d=>d.subType!=null).map((d,E)=>o.jsxs(A,{children:[o.jsx(D,{children:d.subType!=null?a.nonUsers[d.subType].label:null}),h.operator!="is"?o.jsx(L,{className:"operator",children:h.operator}):null]},`${d.subType}_${E}`)),h.actors.map(d=>o.jsxs(A,{children:[o.jsxs(D,{children:[d.firstName," ",d.lastName]}),h.operator!="is"?o.jsx(L,{className:"operator",children:h.operator}):null]},d.userId))]},_))})}),w?o.jsx(F,{titleComponent:o.jsx(O,{children:a.deleteApprovalRuleTitle}),descriptionComponent:o.jsx(V,{children:a.deleteApprovalRuleDesc}),primaryButtonText:a.deleteTxt,proceedButtonVariant:"danger",secondaryButtonText:a.cancelBtnText,action:v}):null]})},te=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  gap: ${e=>s.wrapperGap.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{_ as tt,V as t,fI as kt,h as zt,e as At,y as Mt,bF as Rt,x as m,O as it,ba as Pt,fJ as Bt,fK as Nt,bR as Ae,bS as Me,bT as Re,a_ as Pe,b as f,aM as _t,cR as Lt,fL as Wt,fU as Be,o as r,fM as Ne,c$ as b,fP as g,d5 as w,a5 as _e,eO as Le,w as H,fR as We,a9 as Et,k as Ot,be as Ft,fS as ne,aV as Kt,bf as Ut,a8 as Vt,d as Gt,M as Ht,l as rt,at,f as Y,H as Yt,bq as qt,C as Jt,gc as Zt,g7 as Xt,m as c,bH as Qt,co as ei}from"./index-D57b0ZIG.js";import{a as u}from"./sentry-D8J10Xru.js";import{n as a}from"./mui-CQrPxNXb.js";import{bG as ti,c6 as ii,G6 as ri}from"./zeni-epic-state-BpS-Wh5Q.js";import ai from"./InvoiceUploadSection-OGMswY7c-NI5q_7OK.js";import{r as oi,h as x,u as ni}from"./types-DyvtCprH-VF9iATMs.js";import"./pdf-CPt_J5sA.js";import"./core-CRK-q5k6.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.js";import"./AttachmentView-DqrQDEWc-mCwLL7Mx.js";import"./uploadReceipts-CIgkuVpu-CvjBscau.js";import"./upload-reimbursement-receipt-O2N8vcO7-BRrYSmi8.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},$=new e.Error().stack;$&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[$]="eac376bc-606f-4e02-ad67-026ae35b105e",e._sentryDebugIdIdentifier="sentry-dbid-eac376bc-606f-4e02-ad67-026ae35b105e")}catch{}})();const s={labelWidth:new m(120,160,160),largeLabelWidth:new m(150,235,235),rightMargin:new m(c[3],c[8]),leftMargin:new m(c[3],c[6]),invoiceRightMargin:new m(c[3],c[6]),invoiceLeftMargin:new m(c[3],c[8]),topMargin:new m(c[3],0),bottomMargin:new m(c[4],27),activityBottomMargin:new m(96,0),totalBottomMargin:new m(c[5],c[3]),formBottomMargin:new m(c[5],c[3]),navBarHeight:new m(44,62),closeMarginTop:new m(0,0),rightSectionWidth:new m(100,58),leftSectionWidth:new m(100,42),footerButtonWidth:new m(120,165),right:new m(c[3],c[0]),actionsContainerRight:new m(c[0],c[6]),otherActionsContainerBottom:new m(58,44),duplicateBannerWrapperMarginTop:new m(c[5],c[3]),duplicateBannerWrapperMarginRight:new m(c[3],c[8]),duplicateBannerWrapperMarginBottom:new m(c[5],c[3]),duplicateBannerWrapperMarginLeft:new m(c[3],c[6])},li={formTitle:new Gt("h6Regular","h5Regular")},Ee=({remiDetails:e,uploadInvoiceEndPoint:$,authParams:z,isAdmin:_,signedInUser:se,showApproveRejectBtns:de,isRealTimeApprovalEnabled:ce,isReimbursementCommentingEnabled:p,isShowDeletedReimbursementEnabled:me,isSignedInUserReimbursementCreator:ot,updateEditRealTimeApproverClicked:pe,onSaveRealTimeApprovals:ue,redirectToReimbursementListScreen:q,redirectToEditableReimbursementScreen:nt,onDuplicateLineClick:lt,approveOrRejectRemi:he,deleteReimbursement:st,cancelAndDeleteReport:ye,handleZeniLogoClick:dt,onAddNewRule:be,initialOpenThreadRequest:A})=>{const d=tt(),ct=zt().analytics,n=At(),ge=Mt(),[mt,M]=u.useState(!1),[J,Z]=u.useState(!1),[pt,X]=u.useState(!1),[Q,ee]=u.useState("approved"),L=u.useRef(null),[D,te]=u.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[k,ut]=u.useState(null),[ht,W]=u.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,we=u.useRef({}),xe=l=>{const o=we.current[l];o!=null&&setTimeout(()=>ni(o,L.current),100)};u.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&q()},[e,q]),u.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const o=l.substring(1);xe(o)}},[]),Rt({componentName:"reimbursement.details"});const yt={onOkClick:()=>{M(!1),D.primaryButtonText===i.buttons.delete?st?.():D.title===i.cancelReportTitle?ye?.():D.title===i.cancelAndDeleteReportTitle&&ye?.(!0)},onCancelClick:()=>{M(!1)}},S=s.labelWidth.value(n),R=s.largeLabelWidth.value(n),fe=it.getLocalizedStrings(),{common:{texts:{comments:bt},strings:{empty:ve}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:wt},tooltip:{resolveComment:xt,unResolveComment:ft}}},dateFormat:$e}=fe,{reimbursementDetail:i,bulkActions:E}=fe.spendManagement.reimbursement,ie=e.remiDetails?.reportTitle,I=e.remiDetails?.lines??[],O=e.remiDetails?.reimbursementInfo.stage,F=e.remiDetails?.reimbursementInfo.billStatus,K=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=O?.code==="paid",vt=Te?O:F?.code=="approved"&&K?.code?K:F,T=si(e.remiDetails),P=F?.code=="approved"&&K?.code?K:F,U=e.remiDetails?.isDeleted??!1,je=e.remiDetails?.amount,Se=e.remiDetails?.amount.amount??0,Ie=()=>{te({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),M(!0)},De=()=>{nt()},$t={onOkClick:l=>{X(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{X(!1)}},Tt=e.remiDetails?.reimbursementInfo.paymentDate!=null?ti(ii(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,re=e.remiDetails?.reimbursementInfo.expectedDepositDate??Tt,jt=e.remiDetails?.lines?.some(l=>{const o=l.lineDetail;return o?.account?.isDeleted===!0&&o?.account?.isBillEditableCoaAccountType===!1})??!1,Ce=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&ot&&!jt,St=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ae=vt?.code,It=oi(e.duplicateLineByLineId),ke=e.duplicateReimbursementStatus.fetchState==="Completed"&&It>0,{requestToOpenThread:oe,setRequestToOpenThread:V,setOpenThread:G}=u.useContext(Pt);u.useEffect(()=>{A?.threadId!=null&&A?.companyId!=null&&A?.entityType!=null&&V(A)},[A,V]);const{threads:B,isLoading:C}=Bt(),Dt=u.useMemo(()=>B.filter(l=>l.resolved===!1&&!l.id.includes(Nt)),[B]).length,Ct=u.useCallback((l,o)=>{G(o),W(!1)},[G,W]);u.useEffect(()=>{oe?.threadId!=null&&B.length>0&&!C&&(G(oe.threadId),V(null))},[oe,B,C,G,V]);const y={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},N=ri(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Bi,{windowSize:n,ref:L,children:[mt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:D.title}),descriptionComponent:t.jsx(Me,{children:D.description}),primaryButtonText:D.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:D.secondaryButtonText,action:yt}):null,pt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Me,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:$t,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Ci,{windowSize:n,"data-testid":f("reimbursement-detail-page-nav-bar-container"),children:[n!=="small"?t.jsx(Pe,{"data-testid":f("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(ki,{onClick:()=>dt?.(),"data-testid":f("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ge.colors.background,keepBackgroundOnScroll:!0,scrollableContent:L,source:"ReimbursementDetailPage"}):null,n!=="small"?t.jsx(Si,{}):null,t.jsx(Pe,{"data-testid":f("reimbursement-detail-page-nav-bar-right"),title:ie??ve,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:n!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Ai,{children:[p?t.jsxs(Mi,{isDisabled:C,onClick:C?()=>null:l=>{l.preventDefault(),l.stopPropagation(),ut({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),W(!0),ct.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(o=>Lt(o)),void 0,void 0,"page icon")},"data-testid":f("remi-comments-section"),children:[t.jsx(_t,{count:C?void 0:Dt,isLoading:C,style:{left:"12px"}}),t.jsx(Ri,{})]}):null,t.jsx(Pi,{size:n,onClick:()=>{q()},"data-testid":f("remi-detail-page-close"),children:t.jsx(zi,{})})]}),scrollableContent:L,enableTitleOnScroll:n!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Fi,{children:[n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Je,{windowSize:n,children:t.jsx(Ze,{windowsSize:n,children:ie})}),e.createdBy?.userId!=null?t.jsx(Ge,{windowSize:n,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,me&&T!=null?t.jsx(He,{color:T.color,bgColor:T.bgColor,borderColor:T.borderColor,children:T.value}):null,P?.code!=null?n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Wt,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U}),N?t.jsx(Be,{variant:"warning",style:{margin:`${r.sp5} ${r.sp3}`},title:E.duplicateWarning.title,description:E.duplicateWarning.description}):ke?t.jsxs(Oe,{size:n,children:[t.jsx(Ve,{}),t.jsxs(Ke,{children:[t.jsx(Fe,{children:i.thereSeems}),t.jsx(Ue,{children:i.pleaseFind})]})]}):null]}):t.jsx(qe,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U})}):null]}):null,I.map((l,o)=>{const j=e.duplicateLineByLineId[l.lineId];return t.jsxs(et,{windowSize:n,children:[t.jsx(Wi,{windowSize:n,children:t.jsx(Ei,{bottomSeperator:I.length!==1,windowSize:n,children:t.jsx(ai,{showAutofill:!1,uploadInvoiceEndPoint:$,authParams:z,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:I.length>1?`#${o+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:I.length-1===o||o===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Li,{windowSize:n,children:[o===0&&n!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(Je,{windowSize:n,children:[t.jsx(Ze,{windowsSize:n,children:ie}),me&&T!=null?t.jsx(He,{color:T.color,bgColor:T.bgColor,borderColor:T.borderColor,children:T.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ge,{windowSize:n,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,P?.code!=null?t.jsx(qe,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U})}):null,N?t.jsx(Be,{variant:"warning",style:{margin:`${r.sp3} ${r.sp8} ${r.sp3} ${r.sp6}`},title:E.duplicateWarning.title,description:E.duplicateWarning.description}):ke?t.jsxs(Oe,{size:n,children:[t.jsx(Ve,{}),t.jsxs(Ke,{children:[t.jsx(Fe,{children:i.thereSeems}),t.jsx(Ue,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(hi,{windowSize:n,ref:ze=>{ze!=null&&(we.current[`L${l.lineId}`]=ze)},children:[n!=="small"?t.jsx(ui,{children:t.jsx(yi,{children:I.length>1?`#${o+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(bi,{windowSize:n,children:[j?.duplicateLineId!=null?t.jsxs(mi,{children:[i.thisExpenseReview," ",t.jsx(pi,{onClick:()=>{if(j.isDuplicateWithinTransaction&&j.duplicateLineId!=null)return xe(`L${j.duplicateLineId}`);j.duplicateTransactionId!=null&&j.duplicateLineId!=null&&lt(j.duplicateTransactionId,j.duplicateLineId)},"data-testid":f("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:l.type===i.mileageKey?`${o}.mileage.reimbursementType`:`${o}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("reimbursementType",o,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:j?.duplicateLineId==null?`${r.sp2} ${r.sp2} 0 0`:"0 0 0 0"},children:t.jsx(g,{label:{label:i.reimbursementType,width:R},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:j?.duplicateLineId==null?`${r.sp2} ${r.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(v,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("transactionDate",o,"mileage")}`},children:t.jsx(g,{label:{label:i.transactionDate,width:R},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("distanceInMiles",o,"mileage")}`},children:t.jsx(g,{label:{label:i.distanceInMiles,width:R},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("amount",o,"mileage")}`},children:t.jsx(g,{label:{label:i.amount,width:S},text:l.homeCurrencyConversions!=null?_e("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("memo",o,"mileage")}`},children:t.jsx(g,{label:{label:i.memo,width:S},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("class",o,"mileage")}`},children:t.jsx(g,{label:{label:i.department,width:S},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.customer`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("customer",o,"mileage")}`},style:{borderRadius:`0 0 ${r.sp2} ${r.sp2}`},children:t.jsx(g,{label:{label:i.customer,width:S},text:l.lineDetail.customer?.name??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${r.sp2} ${r.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("merchant",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.merchant,width:R},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("transactionDate",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.transactionDate,width:R},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("amount",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.amount,width:S},text:l.homeCurrencyConversions!=null?_e("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("memo",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.memo,width:S},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("account",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.category,width:S},text:l.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("class",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.department,width:S},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.customer`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("customer",o,"out_of_pocket")}`},style:{borderRadius:`0 0 ${r.sp2} ${r.sp2}`},children:t.jsx(g,{label:{label:i.customer,width:S},text:l.lineDetail.customer?.name??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${r.sp2} ${r.sp2}`}})})]})]})]}),I.length!==1&&I.length===o+1&&t.jsxs(_i,{windowSize:n,children:[t.jsxs(Xe,{windowSize:n,children:[t.jsx(Qe,{children:i.total}),t.jsx(Le,{amount:je,integerStyles:H.h6Regular.cssObject,decimalStyles:H.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(We,{amount:Se,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:be,entity:"reimbursement",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,allAccountingClass:e.allAccountingClasses,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:_,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),I.length===1&&t.jsxs(et,{windowSize:n,children:[t.jsx(Ye,{}),t.jsxs(di,{windowSize:n,children:[t.jsx(Ni,{windowSize:n,children:t.jsxs(Xe,{windowSize:n,children:[t.jsx(Qe,{children:i.total}),t.jsx(Le,{amount:je,integerStyles:H.h6Regular.cssObject,decimalStyles:H.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(ci,{windowSize:n,children:t.jsx(We,{amount:Se,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:be,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:_,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue}})})]})]}),t.jsx(Oi,{})]}),Te||U===!0?null:t.jsxs(Di,{children:[n!=="small"?t.jsx(Ye,{}):null,t.jsx(wi,{windowSize:n,"data-testid":f("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),J===!0&&Z(!1)},children:t.jsx(Et,{separatorStyle:{marginRight:r.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?n==="small"?i.buttons.delete:i.buttons.deleteReport:n==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:Q==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||Q==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(ee("delete"),Ie()):(ee("rejected"),X(!0))},style:{width:s.footerButtonWidth.value(n)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?n==="small"?i.buttons.edit:i.buttons.editAndResubmit:n==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:Q==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?De():(ee("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},style:{width:s.footerButtonWidth.value(n)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(gi,{children:t.jsxs(Ii,{windowSize:n,children:[!N&&J?t.jsx(Ot,{onClickAway:()=>Z(!1),children:t.jsxs(ji,{windowSize:n,children:[ae!=="processing"?t.jsx(le,{onClick:Ie,"data-testid":f("remi-delete-action"),children:i.buttons.deleteReport}):null,ae==="processing"?t.jsx(le,{onClick:()=>{te({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),M(!0)},"data-testid":f("remi-cancel-action"),children:i.buttons.cancel}):null,ae==="processing"?t.jsx(le,{onClick:()=>{te({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),M(!0)},"data-testid":f("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Ti,{windowSize:n,children:[!N&&Ce?t.jsx($i,{onClick:De,"data-testid":f("remi-edit-button"),children:t.jsx(vi,{})}):null,N||St!==!0?null:t.jsx(fi,{windowSize:n,showEditIcon:Ce,children:t.jsx(xi,{onClick:()=>Z(!J),"data-testid":f("remi-more-actions-button")})})]})]})}),style:{minHeight:62}})})]}),p?t.jsx(Ft,{isDrawerOpen:ht,allowComposer:!0,drawerTitle:bt,threads:B,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:k?.companyId??ve,isGlobalComment:!1,tab:"reimbursement"},isLoading:C,threadMetadata:k?{companyName:k.companyName,companyId:k.companyId,entityId:k.entityId,entityType:k.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:gt,replyComposerPlaceholder:wt,threadResolve:xt,threadUnResolve:ft},onThreadClick:(l,o)=>Ct(l,o),onCloseAllThreadsDrawer:()=>W(!1),drawerSectionStyle:{width:"400px",backgroundColor:ge.colors.background}}):null]})},lr=e=>{const $=tt().currentTenant?.companyId,z=e.remiDetails.remiDetails?.id;if(!e.isReimbursementCommentingEnabled||z==null||$==null)return t.jsx(Ee,{...e});const _=`dashboard_${$}`;return t.jsx(kt,{roomId:_,filter:{application:"dashboard",companyId:$,entityId:z,tab:"reimbursement",isGlobalComment:!1},children:t.jsx(Ee,{...e})})},si=e=>{const $=it.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:$.tabsById.deleted,color:ne.deleted.color,bgColor:ne.deleted.bgColor,borderColor:ne.deleted.borderColor,code:"deleted"}},di=a.div`
1
+ import{_ as tt,V as t,fI as kt,h as zt,e as At,y as Mt,bF as Rt,x as m,O as it,ba as Pt,fJ as Bt,fK as Nt,bR as Ae,bS as Me,bT as Re,a_ as Pe,b as f,aM as _t,cR as Lt,fL as Wt,fU as Be,o as r,fM as Ne,c$ as b,fP as g,d5 as w,a5 as _e,eO as Le,w as H,fR as We,a9 as Et,k as Ot,be as Ft,fS as ne,aV as Kt,bf as Ut,a8 as Vt,d as Gt,M as Ht,l as rt,at,f as Y,H as Yt,bq as qt,C as Jt,gc as Qt,g7 as Xt,m as c,bH as Zt,co as ei}from"./index-bPu7mlA1.js";import{a as u}from"./sentry-uXR4_KRo.js";import{n as a}from"./mui-CvPZa6D0.js";import{bG as ti,c6 as ii,G6 as ri}from"./zeni-epic-state-BDdTNPzg.js";import ai from"./InvoiceUploadSection-BjNMjhQR-B0WmHo8s.js";import{r as oi,h as x,u as ni}from"./types-DyvtCprH-VF9iATMs.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./AttachmentView-UxkSFZmq-Dr8yZ85U.js";import"./uploadReceipts-CIgkuVpu-7sbogiaq.js";import"./upload-reimbursement-receipt-O2N8vcO7-BrS_KRA7.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},$=new e.Error().stack;$&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[$]="4b692ce0-32ee-4978-86d1-447b355054c1",e._sentryDebugIdIdentifier="sentry-dbid-4b692ce0-32ee-4978-86d1-447b355054c1")}catch{}})();const s={labelWidth:new m(120,160,160),largeLabelWidth:new m(150,235,235),rightMargin:new m(c[3],c[8]),leftMargin:new m(c[3],c[6]),invoiceRightMargin:new m(c[3],c[6]),invoiceLeftMargin:new m(c[3],c[8]),topMargin:new m(c[3],0),bottomMargin:new m(c[4],27),activityBottomMargin:new m(96,0),totalBottomMargin:new m(c[5],c[3]),formBottomMargin:new m(c[5],c[3]),navBarHeight:new m(44,62),closeMarginTop:new m(0,0),rightSectionWidth:new m(100,58),leftSectionWidth:new m(100,42),footerButtonWidth:new m(120,165),right:new m(c[3],c[0]),actionsContainerRight:new m(c[0],c[6]),otherActionsContainerBottom:new m(58,44),duplicateBannerWrapperMarginTop:new m(c[5],c[3]),duplicateBannerWrapperMarginRight:new m(c[3],c[8]),duplicateBannerWrapperMarginBottom:new m(c[5],c[3]),duplicateBannerWrapperMarginLeft:new m(c[3],c[6])},li={formTitle:new Gt("h6Regular","h5Regular")},Ee=({remiDetails:e,uploadInvoiceEndPoint:$,authParams:z,isAdmin:_,signedInUser:se,showApproveRejectBtns:de,isRealTimeApprovalEnabled:ce,isReimbursementCommentingEnabled:p,isShowDeletedReimbursementEnabled:me,isSignedInUserReimbursementCreator:ot,updateEditRealTimeApproverClicked:pe,onSaveRealTimeApprovals:ue,redirectToReimbursementListScreen:q,redirectToEditableReimbursementScreen:nt,onDuplicateLineClick:lt,approveOrRejectRemi:he,deleteReimbursement:st,cancelAndDeleteReport:ye,handleZeniLogoClick:dt,onAddNewRule:be,initialOpenThreadRequest:A})=>{const d=tt(),ct=zt().analytics,n=At(),ge=Mt(),[mt,M]=u.useState(!1),[J,Q]=u.useState(!1),[pt,X]=u.useState(!1),[Z,ee]=u.useState("approved"),L=u.useRef(null),[D,te]=u.useState({title:"",description:"",primaryButtonText:"",secondaryButtonText:""}),[k,ut]=u.useState(null),[ht,W]=u.useState(!1),h=`dashboard_${d.currentTenant?.companyId}`,we=u.useRef({}),xe=l=>{const o=we.current[l];o!=null&&setTimeout(()=>ni(o,L.current),100)};u.useEffect(()=>{(e.deleteStatus.fetchState==="Completed"||e.approvalUpdateStatus.fetchState==="Completed"||e.cancelAndDeleteStatus.fetchState==="Completed")&&q()},[e,q]),u.useEffect(()=>{const l=window.location.hash;if(l&&l.startsWith("#L")){const o=l.substring(1);xe(o)}},[]),Rt({componentName:"reimbursement.details"});const yt={onOkClick:()=>{M(!1),D.primaryButtonText===i.buttons.delete?st?.():D.title===i.cancelReportTitle?ye?.():D.title===i.cancelAndDeleteReportTitle&&ye?.(!0)},onCancelClick:()=>{M(!1)}},S=s.labelWidth.value(n),R=s.largeLabelWidth.value(n),fe=it.getLocalizedStrings(),{common:{texts:{comments:bt},strings:{empty:ve}},collaboration:{threads:{placeholder:{addANewComment:gt,replyAComment:wt},tooltip:{resolveComment:xt,unResolveComment:ft}}},dateFormat:$e}=fe,{reimbursementDetail:i,bulkActions:E}=fe.spendManagement.reimbursement,ie=e.remiDetails?.reportTitle,I=e.remiDetails?.lines??[],O=e.remiDetails?.reimbursementInfo.stage,F=e.remiDetails?.reimbursementInfo.billStatus,K=e.remiDetails?.reimbursementInfo.billPaymentStatus,Te=O?.code==="paid",vt=Te?O:F?.code=="approved"&&K?.code?K:F,T=si(e.remiDetails),P=F?.code=="approved"&&K?.code?K:F,U=e.remiDetails?.isDeleted??!1,je=e.remiDetails?.amount,Se=e.remiDetails?.amount.amount??0,Ie=()=>{te({title:e.remiDetails?.reimbursementInfo.stage.code==="draft"?i.deleteDraftTitle:i.deleteReportTitle,description:i.deleteAlertDescription,primaryButtonText:i.buttons.delete,secondaryButtonText:i.buttons.cancel}),M(!0)},De=()=>{nt()},$t={onOkClick:l=>{X(!1),he({reimbursementId:e.remiDetails?.id??"",type:"rejected",description:l})},onCancelClick:()=>{X(!1)}},Tt=e.remiDetails?.reimbursementInfo.paymentDate!=null?ti(ii(e.remiDetails.reimbursementInfo.paymentDate.toDate(),[0,6],e.achSameDayMaxDays).toDateString()):void 0,re=e.remiDetails?.reimbursementInfo.expectedDepositDate??Tt,jt=e.remiDetails?.lines?.some(l=>{const o=l.lineDetail;return o?.account?.isDeleted===!0&&o?.account?.isBillEditableCoaAccountType===!1})??!1,Ce=e.remiDetails?.reimbursementInfo.billStatus.code==="pending_approval"&&ot&&!jt,St=e.remiDetails?.reimbursementInfo.billStatus.code!=="rejected"&&e.remiDetails?.reimbursementInfo.billPaymentStatus.code!=="paid",ae=vt?.code,It=oi(e.duplicateLineByLineId),ke=e.duplicateReimbursementStatus.fetchState==="Completed"&&It>0,{requestToOpenThread:oe,setRequestToOpenThread:V,setOpenThread:G}=u.useContext(Pt);u.useEffect(()=>{A?.threadId!=null&&A?.companyId!=null&&A?.entityType!=null&&V(A)},[A,V]);const{threads:B,isLoading:C}=Bt(),Dt=u.useMemo(()=>B.filter(l=>l.resolved===!1&&!l.id.includes(Nt)),[B]).length,Ct=u.useCallback((l,o)=>{G(o),W(!1)},[G,W]);u.useEffect(()=>{oe?.threadId!=null&&B.length>0&&!C&&(G(oe.threadId),V(null))},[oe,B,C,G,V]);const y={application:"dashboard",companyId:d.currentTenant?.companyId,tab:"reimbursement",entityId:e.remiDetails?.id},N=ri(e.remiDetails?.bulkProcessingDetail?.type);return t.jsxs(Bi,{windowSize:n,ref:L,children:[mt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:D.title}),descriptionComponent:t.jsx(Me,{children:D.description}),primaryButtonText:D.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:D.secondaryButtonText,action:yt}):null,pt?t.jsx(Ae,{titleComponent:t.jsx(Re,{children:`${i.rejectRemiTitlePrefix} ${e.remiDetails?.reportTitle??""} by ${e.createdBy?.firstName??""} ${e.createdBy?.lastName??""}`}),descriptionComponent:t.jsx(Me,{children:i.rejectRemiDescription}),primaryButtonText:i.buttons.send,secondaryButtonText:i.buttons.cancel,action:$t,isEditPopup:!0,isNotesIncluded:!0,notesPlaceholder:i.rejectRejectReasonPlaceholder}):null,t.jsxs(Ci,{windowSize:n,"data-testid":f("reimbursement-detail-page-nav-bar-container"),children:[n!=="small"?t.jsx(Pe,{"data-testid":f("reimbursement-detail-page-nav-bar-left"),style:{width:"42%"},title:"",leftSideComponent:t.jsx(ki,{onClick:()=>dt?.(),"data-testid":f("remi-detail-page-nav-bar-zeni-logo")}),enableTitleOnScroll:!1,backgroundColor:ge.colors.background,keepBackgroundOnScroll:!0,scrollableContent:L,source:"ReimbursementDetailPage"}):null,n!=="small"?t.jsx(Si,{}):null,t.jsx(Pe,{"data-testid":f("reimbursement-detail-page-nav-bar-right"),title:ie??ve,leftSideComponent:t.jsx(t.Fragment,{}),style:{width:n!=="small"?"58%":"100%"},rightSideComponent:t.jsxs(Ai,{children:[p?t.jsxs(Mi,{isDisabled:C,onClick:C?()=>null:l=>{l.preventDefault(),l.stopPropagation(),ut({roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityType:"reimbursement.details",entityId:e.remiDetails?.id??""}),W(!0),ct.trackCommentActivity("reimbursement","clicked",d.currentTenant?.companyName??"",d.controllersList.controllers.map(o=>Lt(o)),void 0,void 0,"page icon")},"data-testid":f("remi-comments-section"),children:[t.jsx(_t,{count:C?void 0:Dt,isLoading:C,style:{left:"12px"}}),t.jsx(Ri,{})]}):null,t.jsx(Pi,{size:n,onClick:()=>{q()},"data-testid":f("remi-detail-page-close"),children:t.jsx(zi,{})})]}),scrollableContent:L,enableTitleOnScroll:n!=="small",scrollThreshold:64,source:"ReimbursementDetailPage"})]}),t.jsxs(Fi,{children:[n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Je,{windowSize:n,children:t.jsx(Qe,{windowsSize:n,children:ie})}),e.createdBy?.userId!=null?t.jsx(Ge,{windowSize:n,children:`${i.by} ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,me&&T!=null?t.jsx(He,{color:T.color,bgColor:T.bgColor,borderColor:T.borderColor,children:T.value}):null,P?.code!=null?n==="small"?t.jsxs(t.Fragment,{children:[t.jsx(Wt,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U}),N?t.jsx(Be,{variant:"warning",style:{margin:`${r.sp5} ${r.sp3}`},title:E.duplicateWarning.title,description:E.duplicateWarning.description}):ke?t.jsxs(Oe,{size:n,children:[t.jsx(Ve,{}),t.jsxs(Ke,{children:[t.jsx(Fe,{children:i.thereSeems}),t.jsx(Ue,{children:i.pleaseFind})]})]}):null]}):t.jsx(qe,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U})}):null]}):null,I.map((l,o)=>{const j=e.duplicateLineByLineId[l.lineId];return t.jsxs(et,{windowSize:n,children:[t.jsx(Wi,{windowSize:n,children:t.jsx(Ei,{bottomSeperator:I.length!==1,windowSize:n,children:t.jsx(ai,{showAutofill:!1,uploadInvoiceEndPoint:$,authParams:z,entityId:e.remiDetails?.id,file:l.file,showTitlebar:!0,showTitlebarIcon:!1,pdfTitle:I.length>1?`#${o+1} Receipt`:"Receipt",style:{width:"auto",padding:0,height:I.length-1===o||o===0?760:451},onInvoiceUpload:()=>{console.log("onInvoiceUpload")},noAttachmentText:i.noReceiptAttached,type:"reimbursement"})})}),t.jsxs(Li,{windowSize:n,children:[o===0&&n!=="small"?t.jsxs(t.Fragment,{children:[t.jsxs(Je,{windowSize:n,children:[t.jsx(Qe,{windowsSize:n,children:ie}),me&&T!=null?t.jsx(He,{color:T.color,bgColor:T.bgColor,borderColor:T.borderColor,children:T.value}):null]}),e.createdBy?.userId!=null?t.jsx(Ge,{windowSize:n,children:`By ${e.createdBy.firstName} ${e.createdBy.lastName}`}):null,P?.code!=null?t.jsx(qe,{windowSize:n,children:t.jsx(Ne,{progressSectionObj:P,createDate:e.remiDetails?.createTime,paymentDate:re,scheduleDate:e.remiDetails?.reimbursementInfo.paymentDate,approvedDate:e.latestApprovedDate,isFrozen:U})}):null,N?t.jsx(Be,{variant:"warning",style:{margin:`${r.sp3} ${r.sp8} ${r.sp3} ${r.sp6}`},title:E.duplicateWarning.title,description:E.duplicateWarning.description}):ke?t.jsxs(Oe,{size:n,children:[t.jsx(Ve,{}),t.jsxs(Ke,{children:[t.jsx(Fe,{children:i.thereSeems}),t.jsx(Ue,{children:i.pleaseFind})]})]}):null]}):null,t.jsxs(hi,{windowSize:n,ref:ze=>{ze!=null&&(we.current[`L${l.lineId}`]=ze)},children:[n!=="small"?t.jsx(ui,{children:t.jsx(yi,{children:I.length>1?`#${o+1} ${i.reimbursement}`:i.reimbursement})}):null,t.jsxs(bi,{windowSize:n,children:[j?.duplicateLineId!=null?t.jsxs(mi,{children:[i.thisExpenseReview," ",t.jsx(pi,{onClick:()=>{if(j.isDuplicateWithinTransaction&&j.duplicateLineId!=null)return xe(`L${j.duplicateLineId}`);j.duplicateTransactionId!=null&&j.duplicateLineId!=null&&lt(j.duplicateTransactionId,j.duplicateLineId)},"data-testid":f("remi-view-duplicate-expense"),children:i.viewOriginalExpense})]}):null,t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:l.type===i.mileageKey?`${o}.mileage.reimbursementType`:`${o}.out_of_pocket.reimbursementType`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("reimbursementType",o,l.type===i.mileageKey?"mileage":"out_of_pocket")}`},style:{borderRadius:j?.duplicateLineId==null?`${r.sp2} ${r.sp2} 0 0`:"0 0 0 0"},children:t.jsx(g,{label:{label:i.reimbursementType,width:R},text:l.type===i.mileageKey?i.mileage:i.outOfPocket,style:{width:"auto",borderRadius:j?.duplicateLineId==null?`${r.sp2} ${r.sp2} 0 0`:"0 0 0 0"}})}),t.jsx(v,{}),l.type===i.mileageKey?t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("transactionDate",o,"mileage")}`},children:t.jsx(g,{label:{label:i.transactionDate,width:R},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.distanceInMiles`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("distanceInMiles",o,"mileage")}`},children:t.jsx(g,{label:{label:i.distanceInMiles,width:R},text:l.distanceMileage.value.toString()??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("amount",o,"mileage")}`},children:t.jsx(g,{label:{label:i.amount,width:S},text:l.homeCurrencyConversions!=null?_e("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("memo",o,"mileage")}`},children:t.jsx(g,{label:{label:i.memo,width:S},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("class",o,"mileage")}`},children:t.jsx(g,{label:{label:i.department,width:S},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.mileage.customer`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("customer",o,"mileage")}`},style:{borderRadius:`0 0 ${r.sp2} ${r.sp2}`},children:t.jsx(g,{label:{label:i.customer,width:S},text:l.lineDetail.customer?.name??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${r.sp2} ${r.sp2}`}})})]}):t.jsxs(t.Fragment,{children:[t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.merchant`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("merchant",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.merchant,width:R},text:l.merchant?.name??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.transactionDate`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("transactionDate",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.transactionDate,width:R},text:l.transactionDate?.format($e.visual.MMMDCommaYYYYformat)??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.amount`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("amount",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.amount,width:S},text:l.homeCurrencyConversions!=null?_e("0,0[.]00",l.homeCurrencyConversions):i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.memo`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("memo",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.memo,width:S},text:l.description??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.account`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("account",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.category,width:S},text:l.lineDetail.account?.accountName??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.class`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("class",o,"out_of_pocket")}`},children:t.jsx(g,{label:{label:i.department,width:S},text:l.lineDetail.class?.className??i.emptyValue,style:{width:"auto"}})}),t.jsx(v,{}),t.jsx(b,{isThreadAllowed:p,dashboardTabKey:w({type:"details",key:`${o}.out_of_pocket.customer`}),roomId:h,companyId:d.currentTenant?.companyId??"",companyName:d.currentTenant?.companyName??"",entityId:e.remiDetails?.id??"",dashboardOptionType:"reimbursement",filterMetaData:{...y,entityType:`reimbursement.details.${x("customer",o,"out_of_pocket")}`},style:{borderRadius:`0 0 ${r.sp2} ${r.sp2}`},children:t.jsx(g,{label:{label:i.customer,width:S},text:l.lineDetail.customer?.name??i.emptyValue,style:{width:"auto",borderRadius:`0 0 ${r.sp2} ${r.sp2}`}})})]})]})]}),I.length!==1&&I.length===o+1&&t.jsxs(_i,{windowSize:n,children:[t.jsxs(Xe,{windowSize:n,children:[t.jsx(Ze,{children:i.total}),t.jsx(Le,{amount:je,integerStyles:H.h6Regular.cssObject,decimalStyles:H.standardRegular.cssObject})]}),e.remiDetails&&t.jsx(We,{amount:Se,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:be,entity:"reimbursement",realTimeApproval:{allApprovers:e.filteredApprovers,filteredAttributes:e.filteredAttributes,allAccountingClass:e.allAccountingClasses,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:_,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue},historicActivities:e.remiHistory.activities})]})]})]},l.lineId)}),I.length===1&&t.jsxs(et,{windowSize:n,children:[t.jsx(Ye,{}),t.jsxs(di,{windowSize:n,children:[t.jsx(Ni,{windowSize:n,children:t.jsxs(Xe,{windowSize:n,children:[t.jsx(Ze,{children:i.total}),t.jsx(Le,{amount:je,integerStyles:H.h6Regular.cssObject,decimalStyles:H.standardRegular.cssObject})]})}),e.remiDetails&&t.jsx(ci,{windowSize:n,children:t.jsx(We,{amount:Se,activities:e.remiActivities,stage:O?.code??"draft",onAddNewRule:be,entity:"reimbursement",historicActivities:e.remiHistory.activities,realTimeApproval:{allApprovers:e.filteredApprovers,allAccountingClass:e.allAccountingClasses,filteredAttributes:e.filteredAttributes,isRealTimeApproverEditMode:e.realTimeApproval.isEditMode??!1,realTimeApprovalSaveStatus:{fetchState:e.realTimeApproval.fetchState,error:e.realTimeApproval.error},approvalListFetchState:e.approverListFetchState.fetchState,attributeSubTypeToUserIdMapping:e.attributeSubTypeToUserIdMapping,isAdmin:_,signedInUserId:se?.userId,showRealTimeApproval:ce,entityApprovalId:e.remiActivities[0]?.entityApprovalId??e.remiDetails.entityApprovalId,updateEditMode:pe,onSaveRealTimeApprovals:ue}})})]})]}),t.jsx(Oi,{})]}),Te||U===!0?null:t.jsxs(Di,{children:[n!=="small"?t.jsx(Ye,{}):null,t.jsx(wi,{windowSize:n,"data-testid":f("remi-detail-page-footer"),onClick:l=>{l.stopPropagation(),J===!0&&Q(!1)},children:t.jsx(Et,{separatorStyle:{marginRight:r.sp4},showPrimaryButton:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,showCancel:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"||de,cancelBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?n==="small"?i.buttons.delete:i.buttons.deleteReport:n==="small"?i.buttons.reject:i.buttons.rejectReport,isLoading:Z==="rejected"&&e.approvalUpdateStatus.fetchState==="In-Progress"||Z==="delete"&&e.deleteStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?(ee("delete"),Ie()):(ee("rejected"),X(!0))},style:{width:s.footerButtonWidth.value(n)},reverseSpinnerColor:!1},primaryBtn:{label:e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?n==="small"?i.buttons.edit:i.buttons.editAndResubmit:n==="small"?i.buttons.approve:i.buttons.approveReport,isLoading:Z==="approved"&&e.approvalUpdateStatus.fetchState==="In-Progress",onClick:()=>{e.remiDetails?.reimbursementInfo.billStatus.code==="rejected"?De():(ee("approved"),he({reimbursementId:e.remiDetails?.id??"",type:"approved"}))},style:{width:s.footerButtonWidth.value(n)},isDisabled:e.approvalUpdateStatus.fetchState==="In-Progress"||e.realTimeApproval.isEditMode===!0},rightSideComponent:t.jsx(gi,{children:t.jsxs(Ii,{windowSize:n,children:[!N&&J?t.jsx(Ot,{onClickAway:()=>Q(!1),children:t.jsxs(ji,{windowSize:n,children:[ae!=="processing"?t.jsx(le,{onClick:Ie,"data-testid":f("remi-delete-action"),children:i.buttons.deleteReport}):null,ae==="processing"?t.jsx(le,{onClick:()=>{te({title:i.cancelReportTitle,description:i.cancelAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),M(!0)},"data-testid":f("remi-cancel-action"),children:i.buttons.cancel}):null,ae==="processing"?t.jsx(le,{onClick:()=>{te({title:i.cancelAndDeleteReportTitle,description:i.cancelAndDeleteAlertDescription,primaryButtonText:i.buttons.yes,secondaryButtonText:i.buttons.no}),M(!0)},"data-testid":f("remi-cancel-and-delete-action"),children:i.buttons.cancelAndDelete}):null]})}):null,t.jsxs(Ti,{windowSize:n,children:[!N&&Ce?t.jsx($i,{onClick:De,"data-testid":f("remi-edit-button"),children:t.jsx(vi,{})}):null,N||St!==!0?null:t.jsx(fi,{windowSize:n,showEditIcon:Ce,children:t.jsx(xi,{onClick:()=>Q(!J),"data-testid":f("remi-more-actions-button")})})]})]})}),style:{minHeight:62}})})]}),p?t.jsx(Ft,{isDrawerOpen:ht,allowComposer:!0,drawerTitle:bt,threads:B,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:k?.companyId??ve,isGlobalComment:!1,tab:"reimbursement"},isLoading:C,threadMetadata:k?{companyName:k.companyName,companyId:k.companyId,entityId:k.entityId,entityType:k.entityType,isGlobalComment:!1,application:"dashboard",tab:"reimbursement",url:window.location.href}:void 0,textOverrides:{composerPlaceholder:gt,replyComposerPlaceholder:wt,threadResolve:xt,threadUnResolve:ft},onThreadClick:(l,o)=>Ct(l,o),onCloseAllThreadsDrawer:()=>W(!1),drawerSectionStyle:{width:"400px",backgroundColor:ge.colors.background}}):null]})},lr=e=>{const $=tt().currentTenant?.companyId,z=e.remiDetails.remiDetails?.id;if(!e.isReimbursementCommentingEnabled||z==null||$==null)return t.jsx(Ee,{...e});const _=`dashboard_${$}`;return t.jsx(kt,{roomId:_,filter:{application:"dashboard",companyId:$,entityId:z,tab:"reimbursement",isGlobalComment:!1},children:t.jsx(Ee,{...e})})},si=e=>{const $=it.getLocalizedStrings().spendManagement.billPay.billsByTabs;if(e?.isDeleted===!0)return{value:$.tabsById.deleted,color:ne.deleted.color,bgColor:ne.deleted.bgColor,borderColor:ne.deleted.borderColor,code:"deleted"}},di=a.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: ${e=>s.rightSectionWidth.valuePercentage(e.windowSize)};
@@ -27,7 +27,7 @@ import{_ as tt,V as t,fI as kt,h as zt,e as At,y as Mt,bF as Rt,x as m,O as it,b
27
27
  margin-left: ${e=>s.duplicateBannerWrapperMarginLeft.valuePx(e.size)};
28
28
  background-color: ${Y.alertLight};
29
29
  border: 1px solid ${e=>e.theme.colors.brandColorGoldDark};
30
- `,Fe=a(Qt)`
30
+ `,Fe=a(Zt)`
31
31
  color: ${e=>e.theme.colors.brandColorGoldDark};
32
32
  `,Ke=a.div`
33
33
  width: 100%;
@@ -81,7 +81,7 @@ import{_ as tt,V as t,fI as kt,h as zt,e as At,y as Mt,bF as Rt,x as m,O as it,b
81
81
  &:hover {
82
82
  color: ${e=>e.theme.colors.primary};
83
83
  }
84
- `,vi=a(Zt)`
84
+ `,vi=a(Qt)`
85
85
  cursor: pointer;
86
86
  color: ${e=>e.theme.colors.hero};
87
87
  width: ${r.sp5};
@@ -262,7 +262,7 @@ import{_ as tt,V as t,fI as kt,h as zt,e as At,y as Mt,bF as Rt,x as m,O as it,b
262
262
  margin-left: ${e=>s.leftMargin.valuePx(e.windowSize)};
263
263
  margin-right: ${e=>s.rightMargin.valuePx(e.windowSize)};
264
264
  width: ${e=>e.windowSize==="small"?"fit-content":"unset"};
265
- `,Ze=a(Ht)`
265
+ `,Qe=a(Ht)`
266
266
  flex-grow: 1;
267
267
  ${e=>`${li.formTitle.style(e.windowsSize)}`};
268
268
  color: ${e=>e.theme.colors.primary};
@@ -283,7 +283,7 @@ import{_ as tt,V as t,fI as kt,h as zt,e as At,y as Mt,bF as Rt,x as m,O as it,b
283
283
  color: ${e=>e.theme.colors.hero};
284
284
  margin-bottom: ${e=>s.totalBottomMargin.valuePx(e.windowSize)};
285
285
  justify-content: space-between;
286
- `,Qe=a(qt)`
286
+ `,Ze=a(qt)`
287
287
  display: flex;
288
288
  width: 176px;
289
289
  color: ${e=>e.theme.colors.primary};
@@ -1,4 +1,4 @@
1
- import{_ as ne,y as S,e as k,a7 as le,V as e,b as a,eY as ae,a_ as de,a as u,c as d,O as _,o as s,D as ce,c2 as me,ab as Z,H as pe,x as xe,f as z,bM as he,ac as ue,au as ge,m as we}from"./index-D57b0ZIG.js";import{a as j}from"./sentry-D8J10Xru.js";import{n as t}from"./mui-CQrPxNXb.js";import{G5 as je,bL as be}from"./zeni-epic-state-BpS-Wh5Q.js";import{C as fe}from"./VideoPopup-v9quqdro-DZjd9t4t.js";import{M as v}from"./usp-line-BBd1wKwW-D7I-fmMU.js";import"./pdf-CPt_J5sA.js";import"./core-CRK-q5k6.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.js";import"./VideoPlayer-53OvOC7l-B8n3tQt2.js";import"./media-player-DIQJ-Dun.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new i.Error().stack;o&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[o]="90cc0a2e-c9c7-4305-a700-a45ef129fdde",i._sentryDebugIdIdentifier="sentry-dbid-90cc0a2e-c9c7-4305-a700-a45ef129fdde")}catch{}})();const E="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",F="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",ye={midContainerMarginBottom:new xe(we[5],44)},$e=t.div`
1
+ import{_ as ne,y as S,e as k,a7 as le,V as e,b as a,eY as ae,a_ as de,a as u,c as d,O as _,o as s,D as ce,c2 as me,ab as Z,H as pe,x as xe,f as z,bM as he,ac as ue,au as ge,m as we}from"./index-bPu7mlA1.js";import{a as j}from"./sentry-uXR4_KRo.js";import{n as t}from"./mui-CvPZa6D0.js";import{G5 as je,bL as be}from"./zeni-epic-state-BDdTNPzg.js";import{C as fe}from"./VideoPopup-3DD646kG-BEeSChGm.js";import{M as v}from"./usp-line-BBd1wKwW-DYAH7Au1.js";import"./pdf-LR9rRMEe.js";import"./core-DuCBl3U1.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./VideoPlayer-TlEy-oD0-DnsdEgv4.js";import"./media-player-Bc2nje5G.js";(function(){try{var i=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new i.Error().stack;o&&(i._sentryDebugIds=i._sentryDebugIds||{},i._sentryDebugIds[o]="af583cd5-3d2c-4d79-87c5-7dc707035b02",i._sentryDebugIdIdentifier="sentry-dbid-af583cd5-3d2c-4d79-87c5-7dc707035b02")}catch{}})();const E="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-light.png",F="https://storage.googleapis.com/zeni-apis.appspot.com/images/reimbursement-promo-dark.png",ye={midContainerMarginBottom:new xe(we[5],44)},$e=t.div`
2
2
  display: flex;
3
3
  flex: 1 1 auto;
4
4
  min-height: 100%;
@@ -40,7 +40,7 @@ import{_ as ne,y as S,e as k,a7 as le,V as e,b as a,eY as ae,a_ as de,a as u,c a
40
40
  align-content: center;
41
41
  justify-content: center;
42
42
  align-items: center;
43
- `,q=t.div`
43
+ `,G=t.div`
44
44
  margin-left: ${i=>i.windowSize==="small"?s.sp0:s.sp6};
45
45
  margin-bottom: ${i=>i.windowSize==="small"?s.sp4:s.sp0};
46
46
  background: ${i=>i.theme.colors.grey3};
@@ -71,14 +71,14 @@ import{_ as ne,y as S,e as k,a7 as le,V as e,b as a,eY as ae,a_ as de,a as u,c a
71
71
  `,M=t(Z)`
72
72
  margin: ${i=>i.windowSize==="small"?s.sp1:`auto ${s.sp5}`};
73
73
  color: ${i=>i.theme.colors.grey1};
74
- `,G=t(v)`
75
- color: ${z.graphColor16Dark};
76
74
  `,H=t(v)`
77
- color: ${z.graphColor09Dark};
75
+ color: ${z.graphColor16Dark};
78
76
  `,Y=t(v)`
77
+ color: ${z.graphColor09Dark};
78
+ `,q=t(v)`
79
79
  color: ${z.success};
80
80
  `,A=t(pe)`
81
81
  margin: ${s.sp3} auto;
82
82
  max-width: 772px;
83
83
  color: ${i=>i.theme.colors.hero};
84
- `,r=_.getLocalizedStrings().spendManagement.reimbursement.reimbursementPromo,n=_.getLocalizedStrings().commonSetUp.businessVerification.terms,Te=()=>{const i=S(),o=k();return e.jsxs(V,{windowSize:o,children:[e.jsx(O,{windowSize:o,children:e.jsx(q,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:F,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(g,{src:E,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(N,{windowSize:o,children:[e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(G,{})}),e.jsxs(p,{children:[e.jsx($,{children:r.simplestText.bold}),e.jsx(y,{children:r.simplestText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx($,{children:r.aiPoweredText.bold}),e.jsx(y,{children:r.aiPoweredText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(Y,{})}),e.jsxs(p,{children:[e.jsx($,{children:r.multiLevelApprovalText.bold}),e.jsx(y,{children:r.multiLevelApprovalText.regular})]})]})]})]})},Ce=()=>{const i=S(),o=k();return e.jsxs(V,{windowSize:o,children:[e.jsxs(N,{windowSize:o,children:[e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(G,{})}),e.jsxs(p,{children:[e.jsx(f,{children:r.simplestText.bold}),e.jsx(b,{children:r.simplestText.regular})]})]}),e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx(f,{children:r.aiPoweredText.bold}),e.jsx(b,{children:r.aiPoweredText.regular})]})]}),e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(Y,{})}),e.jsxs(p,{children:[e.jsx(f,{children:r.multiLevelApprovalText.bold}),e.jsx(b,{children:r.multiLevelApprovalText.regular})]})]})]}),e.jsx(O,{windowSize:o,children:e.jsx(q,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:F,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(g,{src:E,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})},Ge=({reimbursementSetupView:i,userReimbursementInfo:o,meetingUrl:T,videoUrl:J,analytics:x,onSetupButtonClick:K,onCreateNewRemiButtonClick:Q,onBackClick:W,onSetupReimbursementSuccess:C,onClickMenuIcon:X})=>{const P=ne(),[ee,ie]=j.useState(!1),[re,R]=j.useState(!1),se=S(),l=k(),{remiTermsDetails:h}=i,I=le(h?.fetchStatus.fetchState),te=je(P.loggedInUserRoleMap),w=be(P.loggedInUserRoleMap)&&!te,oe=!!o?.isReimbursementTOSAccepted,U=!!i.companyRemiInfo?.isReimbursementEnabled,B=w?U?r.employeeAcceptPromoText:r.employeePendingPromoText:r.promoText;j.useEffect(()=>{I==="In-Progress"&&h?.fetchStatus.fetchState==="Completed"&&C?.()},[I,C,h?.fetchStatus]);const D=()=>{x?.trackReimbursementPromoScheduleDemo(),R(!0)};return e.jsxs($e,{children:[ee===!0?e.jsx(fe,{onCancelClick:()=>{ie(!1)},videoUrl:J,"data-testid":a("remi-promo-page-video-popup")}):null,re===!0?e.jsx(ae,{onCancelClick:()=>{R(!1)},meetingUrl:T,"data-testid":a("remi-promo-page-meeting-popup")}):null,e.jsx(de,{title:r.title,backgroundColor:se.colors.grey4,onBackClick:W,showBackButton:!w,showMenuIcon:l==="small"||l==="medium-compact",onClickMenuIcon:X,source:"ReimbursementPromoPage"}),e.jsxs(Se,{windowSize:l,children:[l==="small"?e.jsx(ze,{children:B}):e.jsx(ke,{children:B}),l==="small"?e.jsx(Te,{}):e.jsx(Ce,{}),e.jsx(ve,{children:w?e.jsx(e.Fragment,{children:U&&!oe?e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:r.scheduleDemoButton,onClick:D,"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:r.orText}),e.jsx(u,{variant:"primary",label:r.createNewReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:Q,"data-testid":a("reimbursement-promo-page-create-new-reimbursement-button")})]}),e.jsxs(A,{children:[r.terms.createTerms1,e.jsx(d,{href:r.terms.tosUrl,linkText:r.terms.zeniAgreement,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),r.terms.terms2,e.jsx(d,{href:r.terms.privacyPolicyUrl,linkText:r.terms.privacyPolicy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),r.terms.terms3]})]}):null}):e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:r.scheduleDemoButton,onClick:D,style:{width:216},"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:r.orText}),e.jsx(u,{variant:"primary",label:r.setupReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:K,style:{width:216},"data-testid":a("reimbursement-promo-page-setup-reimbursement-button")})]}),e.jsxs(A,{children:[r.terms.setupTerms1,e.jsx(d,{href:n.consentUrl,linkText:n.consent}),n.term2,e.jsx(d,{href:n.depositUrl,linkText:n.depositTerms}),n.term3,e.jsx(d,{href:n.privacyPolicyUrl,linkText:n.privacy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),n.term4,e.jsx(d,{href:n.tosUrl,linkText:n.tos,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),n.term5,r.terms.terms3]})]})})]})]})};export{Ge as default};
84
+ `,r=_.getLocalizedStrings().spendManagement.reimbursement.reimbursementPromo,n=_.getLocalizedStrings().commonSetUp.businessVerification.terms,Te=()=>{const i=S(),o=k();return e.jsxs(V,{windowSize:o,children:[e.jsx(O,{windowSize:o,children:e.jsx(G,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:F,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"}):e.jsx(g,{src:E,alt:"forecast-promo",style:{width:"100%",height:"auto"},loading:"lazy"})})}),e.jsxs(N,{windowSize:o,children:[e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx($,{children:r.simplestText.bold}),e.jsx(y,{children:r.simplestText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(Y,{})}),e.jsxs(p,{children:[e.jsx($,{children:r.aiPoweredText.bold}),e.jsx(y,{children:r.aiPoweredText.regular})]})]}),e.jsxs(c,{windowSize:o,children:[e.jsx(m,{children:e.jsx(q,{})}),e.jsxs(p,{children:[e.jsx($,{children:r.multiLevelApprovalText.bold}),e.jsx(y,{children:r.multiLevelApprovalText.regular})]})]})]})]})},Ce=()=>{const i=S(),o=k();return e.jsxs(V,{windowSize:o,children:[e.jsxs(N,{windowSize:o,children:[e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(H,{})}),e.jsxs(p,{children:[e.jsx(f,{children:r.simplestText.bold}),e.jsx(b,{children:r.simplestText.regular})]})]}),e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(Y,{})}),e.jsxs(p,{children:[e.jsx(f,{children:r.aiPoweredText.bold}),e.jsx(b,{children:r.aiPoweredText.regular})]})]}),e.jsxs(c,{windowSize:o,style:{width:"376px"},children:[e.jsx(m,{children:e.jsx(q,{})}),e.jsxs(p,{children:[e.jsx(f,{children:r.multiLevelApprovalText.bold}),e.jsx(b,{children:r.multiLevelApprovalText.regular})]})]})]}),e.jsx(O,{windowSize:o,children:e.jsx(G,{windowSize:o,children:i.mode==="dark"?e.jsx(g,{src:F,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"}):e.jsx(g,{src:E,alt:"forecast-promo",style:{width:"615px",height:"402px"},loading:"lazy"})})})]})},He=({reimbursementSetupView:i,userReimbursementInfo:o,meetingUrl:T,videoUrl:J,analytics:x,onSetupButtonClick:K,onCreateNewRemiButtonClick:Q,onBackClick:W,onSetupReimbursementSuccess:C,onClickMenuIcon:X})=>{const P=ne(),[ee,ie]=j.useState(!1),[re,R]=j.useState(!1),se=S(),l=k(),{remiTermsDetails:h}=i,I=le(h?.fetchStatus.fetchState),te=je(P.loggedInUserRoleMap),w=be(P.loggedInUserRoleMap)&&!te,oe=!!o?.isReimbursementTOSAccepted,U=!!i.companyRemiInfo?.isReimbursementEnabled,B=w?U?r.employeeAcceptPromoText:r.employeePendingPromoText:r.promoText;j.useEffect(()=>{I==="In-Progress"&&h?.fetchStatus.fetchState==="Completed"&&C?.()},[I,C,h?.fetchStatus]);const D=()=>{x?.trackReimbursementPromoScheduleDemo(),R(!0)};return e.jsxs($e,{children:[ee===!0?e.jsx(fe,{onCancelClick:()=>{ie(!1)},videoUrl:J,"data-testid":a("remi-promo-page-video-popup")}):null,re===!0?e.jsx(ae,{onCancelClick:()=>{R(!1)},meetingUrl:T,"data-testid":a("remi-promo-page-meeting-popup")}):null,e.jsx(de,{title:r.title,backgroundColor:se.colors.grey4,onBackClick:W,showBackButton:!w,showMenuIcon:l==="small"||l==="medium-compact",onClickMenuIcon:X,source:"ReimbursementPromoPage"}),e.jsxs(Se,{windowSize:l,children:[l==="small"?e.jsx(ze,{children:B}):e.jsx(ke,{children:B}),l==="small"?e.jsx(Te,{}):e.jsx(Ce,{}),e.jsx(ve,{children:w?e.jsx(e.Fragment,{children:U&&!oe?e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:r.scheduleDemoButton,onClick:D,"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:r.orText}),e.jsx(u,{variant:"primary",label:r.createNewReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:Q,"data-testid":a("reimbursement-promo-page-create-new-reimbursement-button")})]}),e.jsxs(A,{children:[r.terms.createTerms1,e.jsx(d,{href:r.terms.tosUrl,linkText:r.terms.zeniAgreement,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),r.terms.terms2,e.jsx(d,{href:r.terms.privacyPolicyUrl,linkText:r.terms.privacyPolicy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),r.terms.terms3]})]}):null}):e.jsxs(e.Fragment,{children:[e.jsxs(L,{windowSize:l,children:[e.jsx(u,{variant:"secondary",label:r.scheduleDemoButton,onClick:D,style:{width:216},"data-testid":a("reimbursement-promo-page-schedule-demo-button")}),e.jsx(M,{windowSize:l,children:r.orText}),e.jsx(u,{variant:"primary",label:r.setupReimbursementButton,loading:h?.fetchStatus.fetchState==="In-Progress",onClick:K,style:{width:216},"data-testid":a("reimbursement-promo-page-setup-reimbursement-button")})]}),e.jsxs(A,{children:[r.terms.setupTerms1,e.jsx(d,{href:n.consentUrl,linkText:n.consent}),n.term2,e.jsx(d,{href:n.depositUrl,linkText:n.depositTerms}),n.term3,e.jsx(d,{href:n.privacyPolicyUrl,linkText:n.privacy,onZeniLinkClick:()=>(x?.trackReimbursementPrivacyPolicy(),!0)}),n.term4,e.jsx(d,{href:n.tosUrl,linkText:n.tos,onZeniLinkClick:()=>(x?.trackReimbursementAgreement(),!0)}),n.term5,r.terms.terms3]})]})})]})]})};export{He as default};
@@ -1,4 +1,4 @@
1
- import{j as i}from"./pdf-CPt_J5sA.js";import{j as z,i as ne,h as G,l as V,u as B,N as F,k as H,g as Xe,R as Je,m as E}from"./core-CRK-q5k6.js";import{ct as N,LO as ae,bE as se,ye as ke,gW as Ye,LP as et,bm as ie,dp as ve,LQ as tt,I9 as nt,Ia as de,Ib as at,fI as st,L4 as it,fX as rt,y2 as ot,pc as mt,fP as lt,yO as Ae,LR as Ce,LS as ct,LT as ut,LU as dt,LV as pt,yr as bt,LW as gt,yy as pe,g1 as ht,Ld as St,ys as ft,yc as yt,LX as It,yb as Rt,LY as kt,yk as be,yC as vt,yB as At,yx as Ct,yq as Et,LZ as Ee,Dr as Bt,bn as xt,yn as Tt,z4 as wt,L_ as Dt,L$ as jt,yK as Lt,yH as ge,Kz as Ft,y9 as Ut,M0 as Be,zt as he,zB as Mt,M1 as Pt,M2 as _,M3 as _t,M4 as xe,M5 as $t,M6 as Te,M7 as we,yW as Y,bq as Nt,G5 as re,bL as oe,cA as De,cy as je,M8 as Ot,eg as Gt,KM as zt,M9 as Ht,Ma as Le,KQ as Zt,Ly as Wt,Mb as Vt,LN as Kt,zy as Se,zx as qt,Mc as Qt,Md as Xt,Me as Jt,Mf as Yt,Mg as en,Lj as tn,zo as nn,zs as an,bt as sn,FX as rn,FY as on,F5 as mn,F4 as ln,Hb as cn,bM as un,bO as dn,bN as pn,bK as bn}from"./zeni-epic-state-BpS-Wh5Q.js";import{y as K,N as Fe,aE as q,aG as k,js as j,jQ as Z,o as me,bk as Q,jz as v,lA as gn,kv as Ue,jO as $,lB as hn,_ as X,lC as Sn,e as fn,k2 as yn,x as In,J as Me,O as Rn,k9 as kn,l4 as vn,k4 as An,lD as Cn,kc as En}from"./index-D57b0ZIG.js";import{n as Pe,S as Bn}from"./mui-CQrPxNXb.js";import ee from"./NotFoundScreen-Bbv8H3nZ.js";import{S as fe}from"./SetupPagesScreen-BW5sbmcH.js";import{F as _e}from"./FeaturePreviewScreen-qfP2OUEx.js";import{a as y}from"./sentry-D8J10Xru.js";import{u as $e}from"./useInitialThreadRequest-DM-agcRr.js";import{D as xn}from"./DrawerScreen-CNYes_B5.js";import{M as Ne}from"./MobileAppDrawer-2LbkYhdu.js";import{R as Tn}from"./ReimbursementApprovalRoutes-DykPBANB.js";import{FallBackRoute as wn}from"./ScreenRoutes-l7j_PAHw.js";import"./lottie-NpRVnd_t.js";import"./liveblocks-L3GY4hN_.js";import"./recharts-CuxDYXli.js";import"./dnd-CgFlpM7S.js";import"./analytics-BX2zKevq.js";import"./plaid-Dz-bwqi6.js";import"./utils-GhRHHdOC.js";import"./analyticsHelper-8YQEEKMi.js";import"./routePaths-BPx5L1hv.js";import"./BusinessVerificationPageScreen-C86_V-r6.js";import"./ReimbursementApprovalRuleDetailScreen-Bmntxu5O.js";import"./getLocaleForTenant-CYoIDNTT.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]="e3fb9552-8662-4f9a-b5d2-3372c361d0d3",e._sentryDebugIdIdentifier="sentry-dbid-e3fb9552-8662-4f9a-b5d2-3372c361d0d3")}catch{}})();const Oe=e=>`/${e}/reimbursements`,Dn=H(function(e,t){const n=t.currentTenant?.companyId,o=et(e.plaidAccountViewState,"user_reimbursement_account"),l=j.getSignedInUser(),u=ie(l),c=o.plaidConnectionDetails,r=ve(e.companyState,n),a=e.tenantState.currentTenantId,s={userId:l?.userId??"",sessionId:l?.zeniSessionId??"",tenantId:a??""},m=ae(e,t.reimbursementId),d=tt(e,l?.userId??"");let I=`${l?.firstName} ${l?.lastName}`,g=!0;t.reimbursementId!=null&&(I=`${m.createdBy?.firstName??"Zeni"} ${m.createdBy?.lastName??""}`,g=l?.userId===m.createdBy?.userId);const x=e.entityAutoCompleteState?.autoCompleteText?.common,p=nt(e,"common");return{remiDetails:m,uploadInvoiceEndPoint:`${Ue.communicationAgentMicroServiceBaseUrl}`,reimbursementId:t.reimbursementId,customerSearchAutoCompleteData:{autoCompleteText:x,entityAutoCompleteView:p},authParams:s,defaultCurrency:{currencySymbol:r?.company.companyLocaleInfo.currencySymbol??"$",currencyCode:r?.company.companyLocaleInfo.currencyCode??"USD"},companyMileageConfigInfo:r?.company.configInfo.mileageRateConfig,createdBy:I,isUserAdmin:se(t.currentTenant?.userRole??[]),isZeniUser:u,plaidConnectionDetails:c,bankNameByRouting:m.bankNameByRouting,bankAccountCreationState:d.bankAccountCreationState,bankAccounts:d.bankAccounts,analytics:v,bankAccountToCreate:m.bankAccountToCreate,fetchBankNameByRoutingStatus:m.fetchBankNameByRoutingStatus,isSignedInUserReimbursementCreator:g}},function(e,t){const{reimbursementId:n,currentTenant:o,location:l,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o,a=j.getSignedInUser();return{onReceiptsUpload:(s,m,d)=>{s!=null&&e(Et(s,m,d,n,a?.userId))},onExistingMerchantChange:(s,m)=>{e(be(!1,m,n,s,void 0))},fetchDuplicateReimbursement:()=>{a?.userId!=null&&e(Ct(a.userId,!0,n))},clearDuplicateReimbursementDetail:()=>{e(At())},clearRemiSaveStatus:()=>{e(vt("Not-Started",n))},onDuplicateLineClick:(s,m)=>window.open(`/${r}/reimbursement/${s}#L${m}`),onNewMerchantChange:(s,m)=>{e(be(!1,m,n,void 0,s))},removeFileFromLine:s=>{e(kt({lineId:s,reimbursementId:n}))},onAmountChanged:(s,m)=>{e(Rt(m,s,n))},updateReimbursementType:(s,m,d)=>{e(It({reimbursementId:d,lineId:m,reimbursementType:s}))},onHomeCurrencyConversionUpdate:(s,m,d)=>{e(yt({reimbursementId:d,lineId:m,amountPayload:{amount:s.amount,currency_code:s.currencyCode,currency_symbol:s.currencySymbol}}))},onReimbursementDetailsChanged:s=>{e(ft({remiDetailLocalData:s,reimbursementId:n}))},saveRemiDetails:s=>{e(pe(s,!1,n))},onUserBankDetailsUpdated:s=>{const{bankAccountSection:m}=s;e(St({data:m}))},onFetchBankName:s=>{e(ht(s))},submitRemiDetails:()=>{e(pe("pending_approval",!0,n))},discardReimbursementDetailsFromLocalStore:s=>{e(gt({reimbursementId:s}))},updateInvoiceUploadFetchState:s=>{e(bt({reimbursementId:n,fetchState:s}))},clearTentativeNameForLine:s=>{e(pt({reimbursementId:n,lineId:s}))},removeDuplicateReimbursementForLine:s=>{e(dt({lineId:s}))},onZeniLogoClick:()=>{c.toggle()},clearAddRemiAutoFields:s=>{e(ut({reimbursementId:n,lineId:s}))},redirectToReimbursementListScreen:()=>{e(Ce()),e(ct());const s=Oe(r),m=$(l.state?.pathnameStackToGoBack,l.pathname);u(s,{state:{pathnameStackToGoBack:m}})},redirectToReimbursementDetailScreen:()=>{t.navigate("../")},deleteReimbursement:()=>{n!=null&&(v.trackReimbursementDeleteReimbursement(n),e(Ae(n)))},onSaveBankAccount:()=>{a?.userId&&e(lt(a?.userId,n))},onFetchLinkTokenClick:s=>{e(mt("user_reimbursement_account",s))},onEstablishConnectionClick:s=>{e(ot(s,o.companyId,"user_reimbursement_account",void 0,"link_account_no_microdeposit"))},deleteBankAccount:s=>{e(rt(s,a?.userId??""))},onBackClickFromBankAccountPage:()=>{e(st({fetchState:"Not-Started"})),e(it())},customerSearchAutoCompleteActions:{onAutoCompleteInputChange:(s,m)=>{s.trim().length>=2?e(at({searchString:s,entityType:m,searchOrigin:"common"})):e(de("common"))},onCancelAutoComplete:()=>{e(de("common"))}}}})(gn);function ye(){const e=z(),t=ne(),n=G(),{reimbursementId:o}=V(),l=K(),u=Fe(),{useFeatureGate:c}=q(),{isFeatureEnabled:r}=c(k.isLimitedCategoryForReimbursement),{isFeatureEnabled:a}=c(k.isShowDeletedReimbursementsFeatureEnabled),{isFeatureEnabled:s}=c(k.isReimbursementCommentingEnabled),m=G().pathname,d=m.includes("edit"),I=m.includes("reimbursement/new"),[g,x]=y.useState(!1),p=j.getSignedInUser(),A=B(h=>N(h)),b=B(h=>ae(h,o)),f=$e(A?.companyId,{clearParams:b.fetchState==="Completed"}),T=se(A?.userRole??[]);y.useEffect(()=>{(I&&!g||d&&b.fetchState!="Completed"&&b.fetchState!="In-Progress")&&(x(!0),t(ke(!1,r,a,o)))});const R=B(h=>Ye(h.accountState,h.accountListState,"reimbursementAccountList"));if(p==null)throw Error("Can't access address page without signing in...");const w={pathname:`../${o}`,search:n.search};return b.isDeleted===!0||b.billStage=="paid"||b.billStage=="scheduled"||b.fetchState=="Not-Started"||T&&b.billStatus==="rejected"||T===!1&&b.billStage==="pending_approval"&&b.billStatus!=="rejected"?i.jsx(F,{to:w}):b.deleteStatus.fetchState==="In-Progress"||b.fetchState!=="Completed"?i.jsx(Z,{style:{backgroundColor:l.colors.grey5,boxShadow:`0px 2px ${me.sp1} ${l.colors.dropShadowNormal}`},fetchState:b.deleteStatus.fetchState}):i.jsxs(i.Fragment,{children:[i.jsx(Q,{analytics:v,onLoad:h=>(D=>{o!=null&&b.deleteStatus.fetchState!=="Completed"&&D.trackReimbursementEditReimbursement(o)})(h)}),i.jsx(Dn,{initialOpenThreadRequest:f??void 0,isReimbursementCommentingEnabled:s,location:n,navigate:e,currentTenant:A,reimbursementId:o,themeState:u,uncategorizedAccounts:R})]})}const jn=H(function(e,t){const n=Ee(e,t.reimbursementId),o=j.getSignedInUser(),l=ie(o),u=e.tenantState.currentTenantId,c={userId:o?.userId??"",sessionId:o?.zeniSessionId??"",tenantId:u??""},r=`${n.createdBy?.firstName??"Zeni"} ${n.createdBy?.lastName??""}`;let a=!1;n?.remiActivities.length>0&&(a=Dt(n.remiActivities,jt(t.currentTenant),o));const s=se(t.currentTenant?.userRole??[]),m=o?.userId===n.createdBy?.userId;return{remiDetails:n,uploadInvoiceEndPoint:`${Ue.communicationAgentMicroServiceBaseUrl}`,authParams:c,signedInUser:o,createdBy:r,isRealTimeApprovalEnabled:t.isRealTimeApprovalEnabled,isAdmin:s,showApproveRejectBtns:a,isZeniUser:l,isSignedInUserReimbursementCreator:m}},function(e,t){const{reimbursementId:n,currentTenant:o,location:l,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o;return{onDuplicateLineClick:(a,s)=>window.open(`/${r}/reimbursement/${a}#L${s}`),redirectToReimbursementListScreen:()=>{e(Ce());const a=Oe(r),s=$(l.state?.pathnameStackToGoBack,l.pathname);u(a,{state:{pathnameStackToGoBack:s}})},onSaveRealTimeApprovals:a=>{e(Ut(n,"reimbursement",a))},updateEditRealTimeApproverClicked:a=>{e(Ft({isEdit:a,entityId:n,entityType:"reimbursement"}))},approveOrRejectRemi:a=>{a.type==="approved"?e(ge(n,a.type,"")):e(ge(n,a.type,a.description??""))},redirectToEditableReimbursementScreen:()=>{const a=$(l.state?.pathnameStackToGoBack,l.pathname);u("./edit",{state:{pathnameStackToGoBack:a}})},deleteReimbursement:()=>{v.trackReimbursementDeleteReimbursement(n),e(Ae(n))},cancelAndDeleteReport:a=>{a===!0?v.trackReimbursementCancelAndDeleteReimbursement(n):v.trackReimbursementCancelReimbursement(n),e(Lt(n,a))},handleZeniLogoClick:()=>{c.toggle()}}})(hn);function Ln(){const e=z(),t=ne(),n=G(),o=n.hash.substring(1),l=Fe(),{reimbursementId:u}=V(),c=j.getSignedInUser(),r=B(C=>N(C)),a=B(C=>Ee(C,u??"")),s=a.remiDetails?.reimbursementInfo.stage.code==="draft",m=$e(r?.companyId,{clearParams:a.fetchState==="Completed"&&!s}),{useFeatureGate:d}=q(),{isFeatureEnabled:I}=d(k.isLimitedCategoryForReimbursement),[g,x]=y.useState(!1),[p,A]=y.useState(!1),[b,f]=y.useState(!1),{isFeatureEnabled:T}=d(k.isReimbursementCommentingEnabled),{isFeatureEnabled:R}=d(k.isShowDeletedReimbursementsFeatureEnabled),w=B(C=>ae(C,u??"")),h=K(),D=Bt(r),P=xt(r.userRole),L=a.fetchState;if(y.useEffect(()=>{g||u==null?g==1&&L==="Error"&&e("page-not-found",{replace:!0}):(x(!0),t(Tt(u,!1,R)))},[g,u,t,L]),y.useEffect(()=>{R&&a.remiDetails?.isDeleted===!0||r.isZeni===!0&&c?.userEmailDomain==="zeni.ai"&&D===!1?f(!1):f(a.remiActivities[0]?.isRealTimeApprovalEnabled&&(P||a.allApprovers.find(C=>C.user.userId===c?.userId)!=null||a.remiDetails?.lastUpdatedBy===c?.userId))},[a.remiActivities[0]?.isRealTimeApprovalEnabled,a.allApprovers,a.remiDetails?.lastUpdatedBy,P,r.isZeni,D,c]),y.useEffect(()=>{p||a.fetchState!="Completed"||a.remiDetails?.reimbursementInfo.stage.code=="paid"||a.remiDetails?.reimbursementInfo.stage.code=="scheduled"||w.fetchState=="Completed"||w.fetchState=="In-Progress"||(A(!0),t(ke(!1,I,R,u)),a.remiActivities[0]?.isRealTimeApprovalEnabled===!0&&t(wt(!1,!0,!0,a.lastUpdatedByUserId)))},[p,a,u,t]),c==null)throw Error("Can't access address page without signing in...");return a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState=="Completed"&&a.remiDetails.isDeleted===!1?i.jsx(F,{to:`./edit${n.search}`}):a.deleteStatus.fetchState==="In-Progress"||a.cancelAndDeleteStatus.fetchState==="In-Progress"||a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState!="Completed"||a.fetchState!="Completed"?i.jsx(Z,{fetchState:a.deleteStatus.fetchState,style:{backgroundColor:h.colors.grey5,boxShadow:`0px 2px ${me.sp1} ${h.colors.dropShadowNormal}`}}):i.jsxs(i.Fragment,{children:[i.jsx(Q,{analytics:v,onLoad:C=>(O=>{u!=null&&O.trackReimbursementReimbursementDetails(u)})(C)}),i.jsx(jn,{initialOpenThreadRequest:m??void 0,scrollId:o,isReimbursementCommentingEnabled:T,isShowDeletedReimbursementEnabled:R,location:n,navigate:e,isRealTimeApprovalEnabled:b,currentTenant:r,reimbursementId:u??"",themeState:l})]})}const Fn=H(function(e,t){return{remisReviewView:Be(e),analytics:t.analytics}},function(e,t){return{onCloseOverlay:()=>{t.navigate("./"),e(_())},onCloseReviewItem:n=>{e(Pt(n))},onProceedForBulkActionClick:(n,o)=>{switch(n){case"send_for_approval":e(Mt());break;case"approve":e(he("approved",o??""));break;case"reject":e(he("rejected",o??""))}}}})(Sn);function Un(){const e=z(),t=B(u=>u.remisBulkActionViewState.bulkSubmissionFetchState.fetchState),{remisForReview:n}=B(u=>Be(u)),o=X(),l=o?.loggedInUserRole?.includes("admin")===!0;return y.useEffect(()=>{t!=="Completed"&&n.length!==0||e("./")},[t,n.length]),i.jsx(Fn,{navigate:e,analytics:v,isAdmin:l})}const M=Zt(),Ge="bulk-operation-update",te="reimbursement-approval-rule-update",{spendManagement:Mn,common:Ie}=Rn.getLocalizedStrings(),Re=Mn.reimbursement.bulkActions,Pn=Pe.div`
1
+ import{j as i}from"./pdf-LR9rRMEe.js";import{j as z,i as ne,h as G,l as V,u as B,N as F,k as H,g as Xe,R as Je,m as E}from"./core-DuCBl3U1.js";import{ct as N,LO as ae,bE as se,ye as ke,gW as Ye,LP as et,bm as ie,dp as ve,LQ as tt,I9 as nt,Ia as de,Ib as at,fI as st,L4 as it,fX as rt,y2 as ot,pc as mt,fP as lt,yO as Ae,LR as Ce,LS as ct,LT as ut,LU as dt,LV as pt,yr as bt,LW as gt,yy as pe,g1 as ht,Ld as St,ys as ft,yc as yt,LX as It,yb as Rt,LY as kt,yk as be,yC as vt,yB as At,yx as Ct,yq as Et,LZ as Ee,Dr as Bt,bn as xt,yn as Tt,z4 as wt,L_ as Dt,L$ as jt,yK as Lt,yH as ge,Kz as Ft,y9 as Ut,M0 as Be,zt as he,zB as Mt,M1 as Pt,M2 as _,M3 as _t,M4 as xe,M5 as $t,M6 as Te,M7 as we,yW as Y,bq as Nt,G5 as re,bL as oe,cA as De,cy as je,M8 as Ot,eg as Gt,KM as zt,M9 as Ht,Ma as Le,KQ as Zt,Ly as Wt,Mb as Vt,LN as Kt,zy as Se,zx as qt,Mc as Qt,Md as Xt,Me as Jt,Mf as Yt,Mg as en,Lj as tn,zo as nn,zs as an,bt as sn,FX as rn,FY as on,F5 as mn,F4 as ln,Hb as cn,bM as un,bO as dn,bN as pn,bK as bn}from"./zeni-epic-state-BDdTNPzg.js";import{y as K,N as Fe,aE as q,aG as k,js as j,jQ as Z,o as me,bk as Q,jz as v,lA as gn,kv as Ue,jO as $,lB as hn,_ as X,lC as Sn,e as fn,k2 as yn,x as In,J as Me,O as Rn,k9 as kn,l4 as vn,k4 as An,lD as Cn,kc as En}from"./index-bPu7mlA1.js";import{n as Pe,S as Bn}from"./mui-CvPZa6D0.js";import ee from"./NotFoundScreen-CJqSMVfb.js";import{S as fe}from"./SetupPagesScreen-BDAmd8Nv.js";import{F as _e}from"./FeaturePreviewScreen-BUEayEBU.js";import{a as y}from"./sentry-uXR4_KRo.js";import{u as $e}from"./useInitialThreadRequest-D7H0jhrF.js";import{D as xn}from"./DrawerScreen-BgWdy-zB.js";import{M as Ne}from"./MobileAppDrawer-CKcdPSDd.js";import{R as Tn}from"./ReimbursementApprovalRoutes-B_Qw-_-n.js";import{FallBackRoute as wn}from"./ScreenRoutes-DUg5kVGG.js";import"./lottie-DyJgmWhI.js";import"./liveblocks-UDiQs1XL.js";import"./recharts-7AyWv7E-.js";import"./dnd-BPJHdlPA.js";import"./analytics-hnA26KoH.js";import"./plaid-C4PyP873.js";import"./utils-DXqO5lkM.js";import"./analyticsHelper-C6d1RQIz.js";import"./routePaths-rBllTjJq.js";import"./BusinessVerificationPageScreen-DB2AuUe-.js";import"./ReimbursementApprovalRuleDetailScreen-Ud4xo4RE.js";import"./getLocaleForTenant-B4PeqeqG.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]="e3fb9552-8662-4f9a-b5d2-3372c361d0d3",e._sentryDebugIdIdentifier="sentry-dbid-e3fb9552-8662-4f9a-b5d2-3372c361d0d3")}catch{}})();const Oe=e=>`/${e}/reimbursements`,Dn=H(function(e,t){const n=t.currentTenant?.companyId,o=et(e.plaidAccountViewState,"user_reimbursement_account"),l=j.getSignedInUser(),u=ie(l),c=o.plaidConnectionDetails,r=ve(e.companyState,n),a=e.tenantState.currentTenantId,s={userId:l?.userId??"",sessionId:l?.zeniSessionId??"",tenantId:a??""},m=ae(e,t.reimbursementId),d=tt(e,l?.userId??"");let I=`${l?.firstName} ${l?.lastName}`,g=!0;t.reimbursementId!=null&&(I=`${m.createdBy?.firstName??"Zeni"} ${m.createdBy?.lastName??""}`,g=l?.userId===m.createdBy?.userId);const x=e.entityAutoCompleteState?.autoCompleteText?.common,p=nt(e,"common");return{remiDetails:m,uploadInvoiceEndPoint:`${Ue.communicationAgentMicroServiceBaseUrl}`,reimbursementId:t.reimbursementId,customerSearchAutoCompleteData:{autoCompleteText:x,entityAutoCompleteView:p},authParams:s,defaultCurrency:{currencySymbol:r?.company.companyLocaleInfo.currencySymbol??"$",currencyCode:r?.company.companyLocaleInfo.currencyCode??"USD"},companyMileageConfigInfo:r?.company.configInfo.mileageRateConfig,createdBy:I,isUserAdmin:se(t.currentTenant?.userRole??[]),isZeniUser:u,plaidConnectionDetails:c,bankNameByRouting:m.bankNameByRouting,bankAccountCreationState:d.bankAccountCreationState,bankAccounts:d.bankAccounts,analytics:v,bankAccountToCreate:m.bankAccountToCreate,fetchBankNameByRoutingStatus:m.fetchBankNameByRoutingStatus,isSignedInUserReimbursementCreator:g}},function(e,t){const{reimbursementId:n,currentTenant:o,location:l,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o,a=j.getSignedInUser();return{onReceiptsUpload:(s,m,d)=>{s!=null&&e(Et(s,m,d,n,a?.userId))},onExistingMerchantChange:(s,m)=>{e(be(!1,m,n,s,void 0))},fetchDuplicateReimbursement:()=>{a?.userId!=null&&e(Ct(a.userId,!0,n))},clearDuplicateReimbursementDetail:()=>{e(At())},clearRemiSaveStatus:()=>{e(vt("Not-Started",n))},onDuplicateLineClick:(s,m)=>window.open(`/${r}/reimbursement/${s}#L${m}`),onNewMerchantChange:(s,m)=>{e(be(!1,m,n,void 0,s))},removeFileFromLine:s=>{e(kt({lineId:s,reimbursementId:n}))},onAmountChanged:(s,m)=>{e(Rt(m,s,n))},updateReimbursementType:(s,m,d)=>{e(It({reimbursementId:d,lineId:m,reimbursementType:s}))},onHomeCurrencyConversionUpdate:(s,m,d)=>{e(yt({reimbursementId:d,lineId:m,amountPayload:{amount:s.amount,currency_code:s.currencyCode,currency_symbol:s.currencySymbol}}))},onReimbursementDetailsChanged:s=>{e(ft({remiDetailLocalData:s,reimbursementId:n}))},saveRemiDetails:s=>{e(pe(s,!1,n))},onUserBankDetailsUpdated:s=>{const{bankAccountSection:m}=s;e(St({data:m}))},onFetchBankName:s=>{e(ht(s))},submitRemiDetails:()=>{e(pe("pending_approval",!0,n))},discardReimbursementDetailsFromLocalStore:s=>{e(gt({reimbursementId:s}))},updateInvoiceUploadFetchState:s=>{e(bt({reimbursementId:n,fetchState:s}))},clearTentativeNameForLine:s=>{e(pt({reimbursementId:n,lineId:s}))},removeDuplicateReimbursementForLine:s=>{e(dt({lineId:s}))},onZeniLogoClick:()=>{c.toggle()},clearAddRemiAutoFields:s=>{e(ut({reimbursementId:n,lineId:s}))},redirectToReimbursementListScreen:()=>{e(Ce()),e(ct());const s=Oe(r),m=$(l.state?.pathnameStackToGoBack,l.pathname);u(s,{state:{pathnameStackToGoBack:m}})},redirectToReimbursementDetailScreen:()=>{t.navigate("../")},deleteReimbursement:()=>{n!=null&&(v.trackReimbursementDeleteReimbursement(n),e(Ae(n)))},onSaveBankAccount:()=>{a?.userId&&e(lt(a?.userId,n))},onFetchLinkTokenClick:s=>{e(mt("user_reimbursement_account",s))},onEstablishConnectionClick:s=>{e(ot(s,o.companyId,"user_reimbursement_account",void 0,"link_account_no_microdeposit"))},deleteBankAccount:s=>{e(rt(s,a?.userId??""))},onBackClickFromBankAccountPage:()=>{e(st({fetchState:"Not-Started"})),e(it())},customerSearchAutoCompleteActions:{onAutoCompleteInputChange:(s,m)=>{s.trim().length>=2?e(at({searchString:s,entityType:m,searchOrigin:"common"})):e(de("common"))},onCancelAutoComplete:()=>{e(de("common"))}}}})(gn);function ye(){const e=z(),t=ne(),n=G(),{reimbursementId:o}=V(),l=K(),u=Fe(),{useFeatureGate:c}=q(),{isFeatureEnabled:r}=c(k.isLimitedCategoryForReimbursement),{isFeatureEnabled:a}=c(k.isShowDeletedReimbursementsFeatureEnabled),{isFeatureEnabled:s}=c(k.isReimbursementCommentingEnabled),m=G().pathname,d=m.includes("edit"),I=m.includes("reimbursement/new"),[g,x]=y.useState(!1),p=j.getSignedInUser(),A=B(h=>N(h)),b=B(h=>ae(h,o)),f=$e(A?.companyId,{clearParams:b.fetchState==="Completed"}),T=se(A?.userRole??[]);y.useEffect(()=>{(I&&!g||d&&b.fetchState!="Completed"&&b.fetchState!="In-Progress")&&(x(!0),t(ke(!1,r,a,o)))});const R=B(h=>Ye(h.accountState,h.accountListState,"reimbursementAccountList"));if(p==null)throw Error("Can't access address page without signing in...");const w={pathname:`../${o}`,search:n.search};return b.isDeleted===!0||b.billStage=="paid"||b.billStage=="scheduled"||b.fetchState=="Not-Started"||T&&b.billStatus==="rejected"||T===!1&&b.billStage==="pending_approval"&&b.billStatus!=="rejected"?i.jsx(F,{to:w}):b.deleteStatus.fetchState==="In-Progress"||b.fetchState!=="Completed"?i.jsx(Z,{style:{backgroundColor:l.colors.grey5,boxShadow:`0px 2px ${me.sp1} ${l.colors.dropShadowNormal}`},fetchState:b.deleteStatus.fetchState}):i.jsxs(i.Fragment,{children:[i.jsx(Q,{analytics:v,onLoad:h=>(D=>{o!=null&&b.deleteStatus.fetchState!=="Completed"&&D.trackReimbursementEditReimbursement(o)})(h)}),i.jsx(Dn,{initialOpenThreadRequest:f??void 0,isReimbursementCommentingEnabled:s,location:n,navigate:e,currentTenant:A,reimbursementId:o,themeState:u,uncategorizedAccounts:R})]})}const jn=H(function(e,t){const n=Ee(e,t.reimbursementId),o=j.getSignedInUser(),l=ie(o),u=e.tenantState.currentTenantId,c={userId:o?.userId??"",sessionId:o?.zeniSessionId??"",tenantId:u??""},r=`${n.createdBy?.firstName??"Zeni"} ${n.createdBy?.lastName??""}`;let a=!1;n?.remiActivities.length>0&&(a=Dt(n.remiActivities,jt(t.currentTenant),o));const s=se(t.currentTenant?.userRole??[]),m=o?.userId===n.createdBy?.userId;return{remiDetails:n,uploadInvoiceEndPoint:`${Ue.communicationAgentMicroServiceBaseUrl}`,authParams:c,signedInUser:o,createdBy:r,isRealTimeApprovalEnabled:t.isRealTimeApprovalEnabled,isAdmin:s,showApproveRejectBtns:a,isZeniUser:l,isSignedInUserReimbursementCreator:m}},function(e,t){const{reimbursementId:n,currentTenant:o,location:l,navigate:u,themeState:c}=t,{tenantEmailDomain:r}=o;return{onDuplicateLineClick:(a,s)=>window.open(`/${r}/reimbursement/${a}#L${s}`),redirectToReimbursementListScreen:()=>{e(Ce());const a=Oe(r),s=$(l.state?.pathnameStackToGoBack,l.pathname);u(a,{state:{pathnameStackToGoBack:s}})},onSaveRealTimeApprovals:a=>{e(Ut(n,"reimbursement",a))},updateEditRealTimeApproverClicked:a=>{e(Ft({isEdit:a,entityId:n,entityType:"reimbursement"}))},approveOrRejectRemi:a=>{a.type==="approved"?e(ge(n,a.type,"")):e(ge(n,a.type,a.description??""))},redirectToEditableReimbursementScreen:()=>{const a=$(l.state?.pathnameStackToGoBack,l.pathname);u("./edit",{state:{pathnameStackToGoBack:a}})},deleteReimbursement:()=>{v.trackReimbursementDeleteReimbursement(n),e(Ae(n))},cancelAndDeleteReport:a=>{a===!0?v.trackReimbursementCancelAndDeleteReimbursement(n):v.trackReimbursementCancelReimbursement(n),e(Lt(n,a))},handleZeniLogoClick:()=>{c.toggle()}}})(hn);function Ln(){const e=z(),t=ne(),n=G(),o=n.hash.substring(1),l=Fe(),{reimbursementId:u}=V(),c=j.getSignedInUser(),r=B(C=>N(C)),a=B(C=>Ee(C,u??"")),s=a.remiDetails?.reimbursementInfo.stage.code==="draft",m=$e(r?.companyId,{clearParams:a.fetchState==="Completed"&&!s}),{useFeatureGate:d}=q(),{isFeatureEnabled:I}=d(k.isLimitedCategoryForReimbursement),[g,x]=y.useState(!1),[p,A]=y.useState(!1),[b,f]=y.useState(!1),{isFeatureEnabled:T}=d(k.isReimbursementCommentingEnabled),{isFeatureEnabled:R}=d(k.isShowDeletedReimbursementsFeatureEnabled),w=B(C=>ae(C,u??"")),h=K(),D=Bt(r),P=xt(r.userRole),L=a.fetchState;if(y.useEffect(()=>{g||u==null?g==1&&L==="Error"&&e("page-not-found",{replace:!0}):(x(!0),t(Tt(u,!1,R)))},[g,u,t,L]),y.useEffect(()=>{R&&a.remiDetails?.isDeleted===!0||r.isZeni===!0&&c?.userEmailDomain==="zeni.ai"&&D===!1?f(!1):f(a.remiActivities[0]?.isRealTimeApprovalEnabled&&(P||a.allApprovers.find(C=>C.user.userId===c?.userId)!=null||a.remiDetails?.lastUpdatedBy===c?.userId))},[a.remiActivities[0]?.isRealTimeApprovalEnabled,a.allApprovers,a.remiDetails?.lastUpdatedBy,P,r.isZeni,D,c]),y.useEffect(()=>{p||a.fetchState!="Completed"||a.remiDetails?.reimbursementInfo.stage.code=="paid"||a.remiDetails?.reimbursementInfo.stage.code=="scheduled"||w.fetchState=="Completed"||w.fetchState=="In-Progress"||(A(!0),t(ke(!1,I,R,u)),a.remiActivities[0]?.isRealTimeApprovalEnabled===!0&&t(wt(!1,!0,!0,a.lastUpdatedByUserId)))},[p,a,u,t]),c==null)throw Error("Can't access address page without signing in...");return a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState=="Completed"&&a.remiDetails.isDeleted===!1?i.jsx(F,{to:`./edit${n.search}`}):a.deleteStatus.fetchState==="In-Progress"||a.cancelAndDeleteStatus.fetchState==="In-Progress"||a.remiDetails?.reimbursementInfo.stage.code=="draft"&&w.fetchState!="Completed"||a.fetchState!="Completed"?i.jsx(Z,{fetchState:a.deleteStatus.fetchState,style:{backgroundColor:h.colors.grey5,boxShadow:`0px 2px ${me.sp1} ${h.colors.dropShadowNormal}`}}):i.jsxs(i.Fragment,{children:[i.jsx(Q,{analytics:v,onLoad:C=>(O=>{u!=null&&O.trackReimbursementReimbursementDetails(u)})(C)}),i.jsx(jn,{initialOpenThreadRequest:m??void 0,scrollId:o,isReimbursementCommentingEnabled:T,isShowDeletedReimbursementEnabled:R,location:n,navigate:e,isRealTimeApprovalEnabled:b,currentTenant:r,reimbursementId:u??"",themeState:l})]})}const Fn=H(function(e,t){return{remisReviewView:Be(e),analytics:t.analytics}},function(e,t){return{onCloseOverlay:()=>{t.navigate("./"),e(_())},onCloseReviewItem:n=>{e(Pt(n))},onProceedForBulkActionClick:(n,o)=>{switch(n){case"send_for_approval":e(Mt());break;case"approve":e(he("approved",o??""));break;case"reject":e(he("rejected",o??""))}}}})(Sn);function Un(){const e=z(),t=B(u=>u.remisBulkActionViewState.bulkSubmissionFetchState.fetchState),{remisForReview:n}=B(u=>Be(u)),o=X(),l=o?.loggedInUserRole?.includes("admin")===!0;return y.useEffect(()=>{t!=="Completed"&&n.length!==0||e("./")},[t,n.length]),i.jsx(Fn,{navigate:e,analytics:v,isAdmin:l})}const M=Zt(),Ge="bulk-operation-update",te="reimbursement-approval-rule-update",{spendManagement:Mn,common:Ie}=Rn.getLocalizedStrings(),Re=Mn.reimbursement.bulkActions,Pn=Pe.div`
2
2
  display: flex;
3
3
  min-height: 100%;
4
4
  width: 100%;