@zeniai/web-app-ui 4.14.34-qa → 4.14.35-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 (366) hide show
  1. package/dist/assets/{ACHDetailsPage-iiVBlQka-BwzGZzbR.js → ACHDetailsPage-B5qIuZya-DhhGJFiO.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-MBAB5kgB-B8K3J1iD.js → AIPerformancePage-BHB45mP--bMes_tkI.js} +1 -1
  3. package/dist/assets/AccountInfoPage-Cd5xYT1g-BezVjAGR.js +18 -0
  4. package/dist/assets/AccountInfoPageContent-CJ7ycVIK-DTztMN2V.js +149 -0
  5. package/dist/assets/{AccountLockedInfoModal-B1JxHllU-D8YQo6Cx.js → AccountLockedInfoModal-Dox7IuAX-BJBuQmOL.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DF-X46_u-DSfyKamu.js → AccountReconDetailsDrawerPage-Bqty08m0-CNcZRdSW.js} +1 -1
  7. package/dist/assets/{AccountRow-DEtntSrL-DQN6__Ng.js → AccountRow-D1cjRJJD--D2oyMqA.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-Cvixqb_6-_JKcyl4L.js → AccountsPromoCardStack-Bs3naJHM-eCRqE4NI.js} +11 -11
  9. package/dist/assets/{AddAddressForCardDrawer-B1Qfn44J-CKwvHf9L.js → AddAddressForCardDrawer-DZkBMJfp-CbavqjCF.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-BLxUsh1Y-DjOENQIP.js → AddToWalletPage-CyRfqVDB-fhBwqlyz.js} +1 -1
  11. package/dist/assets/{AddressRoutes-B9JRerSF.js → AddressRoutes-BOfIecri.js} +1 -1
  12. package/dist/assets/{AddressScreen-CfU0pxqN.js → AddressScreen-BL1pptQ5.js} +1 -1
  13. package/dist/assets/{AgingReportsPage-XIzuLRE4-w17wS1R5.js → AgingReportsPage-xBFff3BM-B37Aeh0_.js} +8 -8
  14. package/dist/assets/{AiCfoScreen-BRwWpLyW.js → AiCfoScreen-B5nbVKeh.js} +1 -1
  15. package/dist/assets/{AllUserItems-BGMZCYUO-B7Mldc5e.js → AllUserItems-BJf6WPDo-CPycalrU.js} +5 -5
  16. package/dist/assets/{ApAgingDetailPage-B-1gVAu6-D6PdKU-A.js → ApAgingDetailPage-CjBrPyi8-EnSmKZiu.js} +2 -2
  17. package/dist/assets/{AppBasePage-CYjdUgY4-Cvt-yGcI.js → AppBasePage-CqDm-hnV-Cb4xx63d.js} +1 -1
  18. package/dist/assets/{AppDrawerContent-CbF8TOjd-D9lcwo49.js → AppDrawerContent-CVVWj66i-TDtj32fZ.js} +6 -6
  19. package/dist/assets/{ApprovalRulesSettingsPage-RCtygkuw-BNnzaj0l.js → ApprovalRulesSettingsPage-Cckd2uVA-BuYxkuTi.js} +1 -1
  20. package/dist/assets/{ArAgingChart-ZwWwEBJ3-rk20lkwC.js → ArAgingChart-CBsqOd-4-Be7GSB8o.js} +1 -1
  21. package/dist/assets/{ArAgingDetailPage-DtqyngrA-BO2XynIt.js → ArAgingDetailPage-i7JObt60-CQiftrKA.js} +1 -1
  22. package/dist/assets/{AttachmentView-UxkSFZmq-BUfVfjv7.js → AttachmentView-CzC4skJ3-3dq1WroI.js} +1 -1
  23. package/dist/assets/{BalancesInsightWithToolTip-Co6ZUc5x--aTwEc-g.js → BalancesInsightWithToolTip-B6umvmgL-BkOE6IRV.js} +2 -2
  24. package/dist/assets/{BankAccountSection-DnBVOkJC-CPDSPfOj.js → BankAccountSection-Di4sF52j-D_gkfCl5.js} +1 -1
  25. package/dist/assets/{BankAccountWarningSection-D7OuLiLz-CnjpdW6M.js → BankAccountWarningSection-Cled-2cR-CM49bGSJ.js} +1 -1
  26. package/dist/assets/{BankConnectionsSettingsPage-BDLTuNLu-LAjrAQJF.js → BankConnectionsSettingsPage-Ccnzq7st-oxNYJAAG.js} +16 -16
  27. package/dist/assets/{BillDetailPage-V8us93cj-DAlTWroi.js → BillDetailPage-XXOwBfO1-BoigghjD.js} +1 -1
  28. package/dist/assets/{BillPayApprovalRoutes-CRjAMn3U.js → BillPayApprovalRoutes-D-JPXnec.js} +1 -1
  29. package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-u4moAED-.js +27 -0
  30. package/dist/assets/{BillPayApprovalRulesPage-C6G_eDX9-Bfhw5F-a.js → BillPayApprovalRulesPage-COCypDcS-Ldsbb0Zg.js} +1 -1
  31. package/dist/assets/{BillPayPromoPage-CTQSknOB-CQkU1mWk.js → BillPayPromoPage-DOE2YIqC-Qk9YcGXw.js} +11 -11
  32. package/dist/assets/{BillPayRoutes-DKQ62RT9.js → BillPayRoutes-CBS2uwsj.js} +1 -1
  33. package/dist/assets/{BillPaySetUpPage-BmgMLaf--ES1CtqR5.js → BillPaySetUpPage-BCJbZDsV-BIjtlBT1.js} +1 -1
  34. package/dist/assets/{BillingSettingsPage-IHY3ak0N-DkV09JRl.js → BillingSettingsPage-iImtlEmO-B72lsLaH.js} +4 -4
  35. package/dist/assets/{BillsBulkReviewDrawerPage-ZoFahXYa-BLrjKyuB.js → BillsBulkReviewDrawerPage-B11GWM_0-B4gEY1ob.js} +1 -1
  36. package/dist/assets/{BoxItem-XoWq-tnh-BjJmrBFm.js → BoxItem-Bxa1M4QU-DyrFdjN6.js} +4 -4
  37. package/dist/assets/{BusinessVerificationPage-D9HtnNOu-aehnUeCQ.js → BusinessVerificationPage-DSuJFoW1-BwLNb7bU.js} +2 -2
  38. package/dist/assets/{BusinessVerificationPageScreen-DM_2HDeS.js → BusinessVerificationPageScreen-BQdQDNi4.js} +1 -1
  39. package/dist/assets/{BusyIndication-BLGcHlgu-Bpswk6Co.js → BusyIndication-9zDqSKBP-C1ZL_6Kc.js} +1 -1
  40. package/dist/assets/{CardNumberSubText-Cn0EZrNE-CWAYYKOe.js → CardNumberSubText-_ZZbaz_k-DUqImiGz.js} +1 -1
  41. package/dist/assets/{CashbackDetailPage-Bk5ssPnj-DBYQYc6c.js → CashbackDetailPage-DAZXitLt-p_ZAuWDR.js} +1 -1
  42. package/dist/assets/{ChargeCardDetailPage-Ge9Aw7PA-7BhKZ-yZ.js → ChargeCardDetailPage-B1VIpASk-C6cq7Hcv.js} +20 -20
  43. package/dist/assets/{ChargeCardListPage-BNLOoSv3-kJJQn2HY.js → ChargeCardListPage-BOBepN-x-Bsjhp0o3.js} +6 -6
  44. package/dist/assets/{ChargeCardListTable-BoufojYF-Ctlyddwf.js → ChargeCardListTable-YznzSsJo-Ck1z18a-.js} +1 -1
  45. package/dist/assets/{ChargeCardPaymentHistoryPage-5lUxK8pF-LRwaIGjI.js → ChargeCardPaymentHistoryPage--jOwsMla-BOhlFspE.js} +14 -14
  46. package/dist/assets/ChargeCardPromoPage-DIfakIOK-B-zay_30.js +222 -0
  47. package/dist/assets/{ChargeCardRoutes-CE_xzqxh.js → ChargeCardRoutes-CCifW-tf.js} +1 -1
  48. package/dist/assets/{ChargeCardSetupPage-Dqoel2Do-B15YO0OW.js → ChargeCardSetupPage-0bpVkeJs-SDjQa1Ra.js} +2 -2
  49. package/dist/assets/{ChargeCardStatementsPage-Dalrj66w-PEmpxN8W.js → ChargeCardStatementsPage-ChWyQlw6-DL7Upt8t.js} +2 -2
  50. package/dist/assets/{CheckDepositDrawerPage-mYjv1H0f-CojKKN3D.js → CheckDepositDrawerPage-BS7hnyZn-BYnpBPDj.js} +3 -3
  51. package/dist/assets/{CollapsableReportTable-CIaa7SIH-DVSoJKAV.js → CollapsableReportTable-DNfFkAts-Ba6KUje2.js} +109 -100
  52. package/dist/assets/{CompanyOfficerDetailsSection-BSFNYauO-D850YK66.js → CompanyOfficerDetailsSection-CrOIN4IW-BMaGz6_3.js} +16 -16
  53. package/dist/assets/{CompanyPassportCard-B-mBb9Q5-BGp8cd7y.js → CompanyPassportCard-CkzYFTrp-C4EBgPsw.js} +2 -2
  54. package/dist/assets/{CompanyPassportPage-Blyl_Z-c--NnGP254.js → CompanyPassportPage-FE6yli6h-KGSkM9PK.js} +1 -1
  55. package/dist/assets/{CompanyPassportScreen-BS_NrRd8.js → CompanyPassportScreen-zFkQa4Cq.js} +1 -1
  56. package/dist/assets/{CompleteProfile-ySk9I1Ut-TK-gYMQ0.js → CompleteProfile-Cb8i1XgZ-D3q04jkj.js} +1 -1
  57. package/dist/assets/{ConfettiBurst-CeAc4Ily-C--23SuA.js → ConfettiBurst-BZCXEGYA-C5d5kzSC.js} +1 -1
  58. package/dist/assets/{ConnectionAuthScreen-CiGpGWMD.js → ConnectionAuthScreen-CM9g7u1v.js} +1 -1
  59. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-3tX8qIpJ.js → ConstrainedInnerElement-CgdnMeoA-BgAKlXog.js} +1 -1
  60. package/dist/assets/{CreateOrEditVendorPage-BRkqkhfw-CIvcW7Pf.js → CreateOrEditVendorPage-CzpSgxbO-Dqm8Zwpt.js} +1 -1
  61. package/dist/assets/{CreditCardPaymentDrawerPage-oUIakAtz-CAvPHr87.js → CreditCardPaymentDrawerPage-c_q0MsSO-CdtVaa6P.js} +1 -1
  62. package/dist/assets/{CurrencySelectField-CSPhUjwG-lrBDW4z2.js → CurrencySelectField-BAh7SHrG-D1tX6Pz9.js} +1 -1
  63. package/dist/assets/{CustomerOnboardingActivationPage-CoOyWe6_-CqbitCEF.js → CustomerOnboardingActivationPage-f3Aa6E5r-PsW9oHee.js} +1 -1
  64. package/dist/assets/CustomerOnboardingAuthScreen-BMwa29XG.js +1 -0
  65. package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DVPtZVWB.js +1 -0
  66. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CWNyUuRp-kM5f4mlx.js → CustomerOnboardingDetailPageSkeleton-DYuiWn8s-B_5BYtTr.js} +1 -1
  67. package/dist/assets/{CustomerOnboardingNoStepsPage-DWx46Z6R-CLbxMC39.js → CustomerOnboardingNoStepsPage-Bh_F0-oC-SfRIKq-U.js} +12 -12
  68. package/dist/assets/{CustomerOnboardingPage-D86Sj2KP-ChThvvAW.js → CustomerOnboardingPage-B9hSO88_-B5iac515.js} +7 -7
  69. package/dist/assets/{CustomerOnboardingProductSuitePage-Bo0LFveG-DXr6zIWU.js → CustomerOnboardingProductSuitePage-CG0HKCpQ-Bqjg890b.js} +1 -1
  70. package/dist/assets/{CustomerOnboardingRoutes-B32JzwEY.js → CustomerOnboardingRoutes-MHYW-e3t.js} +1 -1
  71. package/dist/assets/{Dashboard-DQLJzr16-8ajoVQ5R.js → Dashboard-BJ_oIHab-B1azilYN.js} +31 -31
  72. package/dist/assets/{DashboardReportPage-CwfTMXY5-Daspm0l6.js → DashboardReportPage-BemzMw2e-Ywi7e9T3.js} +1 -1
  73. package/dist/assets/{DashboardRoutes-CDKIVXdz.js → DashboardRoutes-C-92-XEq.js} +1 -1
  74. package/dist/assets/{DashboardSidebarBackgroundAnimation-CUZGIAxW-CoQ7Va6i.js → DashboardSidebarBackgroundAnimation-BtA5oEGG-LNl3VR8y.js} +1 -1
  75. package/dist/assets/{DefaultTenantHome-BdMoMXCc.js → DefaultTenantHome-Bim9etFd.js} +1 -1
  76. package/dist/assets/{DepositAccTransactionItem-Ci-LxLsk-DpkYzfIT.js → DepositAccTransactionItem-CyFi1P_L-BCRifuhI.js} +5 -5
  77. package/dist/assets/{DepositAccTransactionListPage-RG7P8vQS-BicQqvfl.js → DepositAccTransactionListPage-DvBRRUdZ-yB8jjVIF.js} +3 -3
  78. package/dist/assets/{DomesticWireDetailScreen-CNZmf-ak.js → DomesticWireDetailScreen-D0LT5YWt.js} +1 -1
  79. package/dist/assets/{DomesticWireDetailsPage-DsPFUOcE-C97tbPQ3.js → DomesticWireDetailsPage-DCDo3aHI-DKoqkJmX.js} +4 -4
  80. package/dist/assets/{DownloadOverlay-BjTf50Dz-BngOF4Fl.js → DownloadOverlay-D_lL1sPW-1PQmVEsl.js} +1 -1
  81. package/dist/assets/{DrawerPage-0OFinUxM-DY6RVolf.js → DrawerPage-DesxXhZk-CE9sM7_o.js} +1 -1
  82. package/dist/assets/{DrawerScreen-Dd2Niphu.js → DrawerScreen-MxSrrJrd.js} +1 -1
  83. package/dist/assets/{EditPeoplePage-BKcOmYVv-DjZAwBTY.js → EditPeoplePage-QvPy_Six-BwgKBjDc.js} +5 -5
  84. package/dist/assets/{EditReimbursementDetailPage-BFIHhQbx-CAS_iqEJ.js → EditReimbursementDetailPage-C0ZDkboO-CqRPRQtt.js} +13 -13
  85. package/dist/assets/EntityDetailPage-l7nXIsyF-CbwI2wUW.js +18 -0
  86. package/dist/assets/{EntityDetailRoutes-DB5wcfPj.js → EntityDetailRoutes-BEygBdNc.js} +1 -1
  87. package/dist/assets/{EntitySummarySection-ORJ2pE_k-CojKKN9g.js → EntitySummarySection-BwX0a4JL-BZFiwIuR.js} +1 -1
  88. package/dist/assets/{ExpenseAutomationOverviewPage-Dzf7j2zV-DtCtSmNb.js → ExpenseAutomationOverviewPage-EdyHjbff-CXMmwtfI.js} +3 -3
  89. package/dist/assets/{ExpenseAutomationPage-BRsKGeoM-T0dMJf4X.js → ExpenseAutomationPage-DA22Qofw-BhoqVQ10.js} +1 -1
  90. package/dist/assets/{ExpenseAutomationRoutes-CGo-MPWO.js → ExpenseAutomationRoutes-ijMZF_ZU.js} +1 -1
  91. package/dist/assets/{ExpressPayPage-DlBFtMaR-JAoUcgra.js → ExpressPayPage-EMP6inpX-CBzcRvxz.js} +7 -7
  92. package/dist/assets/{FeaturePreviewPage-C31F3Gmz-DW0MQyCb.js → FeaturePreviewPage-SYJm-3aR-BvJl8rgC.js} +1 -1
  93. package/dist/assets/{FeaturePreviewScreen-Xsnk0neq.js → FeaturePreviewScreen-BrgEnIPS.js} +1 -1
  94. package/dist/assets/{FollowStepsSection-BVT2K7mu-L8a-cjiL.js → FollowStepsSection-BxESVqJD-DBgSryEI.js} +1 -1
  95. package/dist/assets/{GlobalReviewListPage-0cZe1hh0-DnEwqpdI.js → GlobalReviewListPage-D5_ACa-q-Be6ROlgu.js} +1 -1
  96. package/dist/assets/{InformationCardStack-t8eELRLU-CR-1KqF_.js → InformationCardStack-B_qQUEYD-DWu9uCxP.js} +3 -3
  97. package/dist/assets/{InsightsCardStack-CJBPZbzD-CmIAX8OK.js → InsightsCardStack-BsQzoVzj-Dm_xsmzm.js} +1 -1
  98. package/dist/assets/{InsightsSection-tUBzsCix-C1MMhp25.js → InsightsSection-B6CNlTNH-DV_5z3I5.js} +6 -6
  99. package/dist/assets/{IntegrationsSettingsPage-Ce0yKUWI-CuYIzRU8.js → IntegrationsSettingsPage-DP6fAccq-DrN7ALwc.js} +3 -3
  100. package/dist/assets/{InternationalWireSwiftDetailsPage-BzR-rKaL-BMKFEJtD.js → InternationalWireSwiftDetailsPage-VdG7bDZi-2y0ea6UL.js} +9 -9
  101. package/dist/assets/{InternationalWireVerificationPage-7tCXdJ3Y-BfVhZg4Y.js → InternationalWireVerificationPage-COC6lZml-DF2HxV4W.js} +10 -10
  102. package/dist/assets/{InviteFormPage-DePVC0CH-B9qhol7M.js → InviteFormPage-DN02jRy5-7Lvtg9Hr.js} +1 -1
  103. package/dist/assets/{InvitePageListView-ChbvDKgQ-cbCv5Fj9.js → InvitePageListView-CP4K9tJi-bRNoOCRv.js} +20 -20
  104. package/dist/assets/{InvitePeoplePage-DJiEzIeY-BkUhir7D.js → InvitePeoplePage-VTM6kM1u-DFLNYNR3.js} +3 -3
  105. package/dist/assets/{InvoiceUploadSection-BjNMjhQR-zjdmYVnU.js → InvoiceUploadSection-it-ZYl1N-CPSEMHj6.js} +7 -7
  106. package/dist/assets/{IssueChargeCardPage-4xbGf5Ut-DCMcjwN7.js → IssueChargeCardPage-CVfuvGey-BDkFfNQU.js} +11 -11
  107. package/dist/assets/{LabeledAddressValue-Czt7QvSJ-CD9Aduhg.js → LabeledAddressValue-DDrQcHIE-BQQnm587.js} +1 -1
  108. package/dist/assets/{LabeledAddressValueField-Dl3atH92-C9wYUqfv.js → LabeledAddressValueField-BgWwd5Gw-DnvIsj_n.js} +1 -1
  109. package/dist/assets/{LabeledControlledCheckBoxField-DT_nxhPN-BUvo7K-8.js → LabeledControlledCheckBoxField-CcPO1k23-BZjPsfe4.js} +1 -1
  110. package/dist/assets/{LabeledCountryMultiSelectField-BnljZpX0-BbXC-8fZ.js → LabeledCountryMultiSelectField-BYYjzwUG-BPvc68ab.js} +1 -1
  111. package/dist/assets/{LabeledCreatableSingleSelectField-CiInq9yD-DRsosHBZ.js → LabeledCreatableSingleSelectField-CISYMojq-CmzS04aH.js} +1 -1
  112. package/dist/assets/{LabeledDocumentField-Ceb8vgVH-BZkKKAqB.js → LabeledDocumentField-C_bcFxdY-CD1TCntt.js} +1 -1
  113. package/dist/assets/{LabeledDropDownFormattedTextField-B98gNWTE-CawOSouY.js → LabeledDropDownFormattedTextField-ScGGCap8-BdN7qNJy.js} +1 -1
  114. package/dist/assets/{LabeledEmailInputField-C53P9fJl-Z2TstoOK.js → LabeledEmailInputField-BppuWRbl-Dsaj9M9p.js} +1 -1
  115. package/dist/assets/{LabeledNameField-BdVztq_8-D10OpiZc.js → LabeledNameField-mxSNQk3k-BpAc_tNL.js} +1 -1
  116. package/dist/assets/{LabeledSingleSelectField-sjDjhxfQ-Bt2z3QjJ.js → LabeledSingleSelectField-C6ctNzkA-CTrwMQK7.js} +1 -1
  117. package/dist/assets/{LabeledText-CFJSoGtK-CZ5epgLx.js → LabeledText-C8Y7EOsX-DCuEu6In.js} +1 -1
  118. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CDiG37rQ-C6kssl4a.js → LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-BLPpr77S.js} +4 -4
  119. package/dist/assets/{LabeledZeniRolesDropDownField-CQiP2rEh-DntPFlku.js → LabeledZeniRolesDropDownField-BZtreVpj-KqOutsB4.js} +1 -1
  120. package/dist/assets/{LinkJETransactionPage-ANY7Ns42-BhiQBcK9.js → LinkJETransactionPage-CKq4oiX9-C4YwLVFm.js} +9 -9
  121. package/dist/assets/{LockCardPage-0piclOz3-COCJUyKc.js → LockCardPage-CZENNby7-DmtCNaPi.js} +6 -6
  122. package/dist/assets/{LowBalancePopup-CplxkRHP-BGs8KELn.js → LowBalancePopup-1727S1ri-DQfCP7-o.js} +1 -1
  123. package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu-DLdN8Rvh.js +1 -0
  124. package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-DaTDXMgN.js +1 -0
  125. package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-L7bRQS1f.js +1 -0
  126. package/dist/assets/{MagicLinkRoutes-B4kpsUud.js → MagicLinkRoutes-DdHE5z12.js} +1 -1
  127. package/dist/assets/{MagicLinkSignInScreen-D5uIadTT.js → MagicLinkSignInScreen-BN_jDhip.js} +1 -1
  128. package/dist/assets/{MagicLinkSuccessPage-BA1LfhVb-C9LyLKwm.js → MagicLinkSuccessPage-QMkZgQLG-CTsjsp6N.js} +1 -1
  129. package/dist/assets/{MagicLinkTitleSection-DLdaV8WG-DB32RhHy.js → MagicLinkTitleSection-CARU1oLQ-DZmT0L5L.js} +1 -1
  130. package/dist/assets/MailingDetailsSection-ByOPaJ05-Cq55yE-t.js +21 -0
  131. package/dist/assets/{MobileAppDrawer-Db6wEz5B.js → MobileAppDrawer-C3TNoouV.js} +1 -1
  132. package/dist/assets/{MoreMenuButton-DrAQ635T-D5jjSMJd.js → MoreMenuButton-BsBKwXvk-DLOnGEff.js} +1 -1
  133. package/dist/assets/{MyBankConnectionsSettingsPage-BiDvyO_G-CeGG9xf_.js → MyBankConnectionsSettingsPage-BdgIIhL1-CHxTcS48.js} +1 -1
  134. package/dist/assets/{MyPendingActivationChargeCardListPage-Bb4_b9o6-aOgnXpMM.js → MyPendingActivationChargeCardListPage-CX38bDdq-Ba-ajqtL.js} +1 -1
  135. package/dist/assets/{MyProfileSettingsPage-nY_eDqfm-CjX8_jlY.js → MyProfileSettingsPage-DYu0Fx6I-BMODc0ew.js} +4 -4
  136. package/dist/assets/{NavBarWithPicker-Dr5XHgP5-DipOtu26.js → NavBarWithPicker-CGGEvLwe-DGWn5q5A.js} +1 -1
  137. package/dist/assets/{NavigationArrow-DT82hMh--DseMcfRR.js → NavigationArrow-CTNkKUtV-LsyvHBca.js} +1 -1
  138. package/dist/assets/{NavigationDots-CwCZ9EAa-_HA0CoRv.js → NavigationDots-Dvce3gHt-H1P3hT7y.js} +1 -1
  139. package/dist/assets/{NewGlobalMerchantPage-D1lxnByE-Cl-h3ANA.js → NewGlobalMerchantPage-D_f7z47T-DGuDs_dy.js} +1 -1
  140. package/dist/assets/{NoDataChart-DCTRXLc7-EBM1CKB5.js → NoDataChart-CrKeqWSr-DJdc5MTN.js} +1 -1
  141. package/dist/assets/{NoDataTable-D8Xw5pAY-BXvKgMjH.js → NoDataTable-4vPXmPYF-Do6t4z9R.js} +1 -1
  142. package/dist/assets/{NotFoundPage-B_zPUigU-DIj19qB5.js → NotFoundPage-BLWPU1wU-CBPIYV57.js} +6 -6
  143. package/dist/assets/{NotFoundScreen-DXnaOvLy.js → NotFoundScreen-CubXCR1V.js} +1 -1
  144. package/dist/assets/{NotificationRoutes-BKIq8Ht7.js → NotificationRoutes-C2SuMmMM.js} +1 -1
  145. package/dist/assets/{NotificationSettingsPage-aKLRiMp--CKvGRtqq.js → NotificationSettingsPage-CDiDLX3A-DkD80zQf.js} +4 -4
  146. package/dist/assets/{NotificationsListConfig-CVEetkBc-Ga3CIQDy.js → NotificationsListConfig-B5pDa4cJ--FUSOPuJ.js} +1 -1
  147. package/dist/assets/{NotificationsPage-DEw6V83J-BdF4XISU.js → NotificationsPage-Ccl7Dny1-B8jydSw6.js} +14 -14
  148. package/dist/assets/{OpExByVendorPage-DJMov6Ux-6GxDxMs2.js → OpExByVendorPage-spd-nKV4-BIgnMj0p.js} +6 -6
  149. package/dist/assets/{OverlayContainerPage-BG9y5C0t-8_-MKFW1.js → OverlayContainerPage-BG9y5C0t-D8k0A9EC.js} +1 -1
  150. package/dist/assets/{PandLWithForecastPage-RBTh1bFk-Ck7cJPme.js → PandLWithForecastPage-TSoe4Z7F-Ba-yVOXG.js} +3 -3
  151. package/dist/assets/{PandLWithForecastRoutes-Btf2U6pN.js → PandLWithForecastRoutes-BVdwQZDt.js} +1 -1
  152. package/dist/assets/{PaymentAccountSetupBillingAddressSection-D-kQI4nd-PRTE5aBh.js → PaymentAccountSetupBillingAddressSection-9ma8SpIa-CUyIA9r2.js} +1 -1
  153. package/dist/assets/{PeoplePage-BEc-Oss7-CZ9GLNBp.js → PeoplePage-b5_I0qOw-DAP0N6ei.js} +1 -1
  154. package/dist/assets/{PeopleRoutes-B8XNBABT.js → PeopleRoutes-CAoitlRn.js} +1 -1
  155. package/dist/assets/{PerformanceRoutes-COWN278X.js → PerformanceRoutes-CC4-ZbOh.js} +1 -1
  156. package/dist/assets/{Preview-CIMwFR6h.js → Preview-B3lHkBD5.js} +1 -1
  157. package/dist/assets/{ProductsCarousel-BRo0P4GW-CYg74cXu.js → ProductsCarousel-C3M0ocdF-CqFoMAuJ.js} +1 -1
  158. package/dist/assets/{PromoBaseCards-BrXJEufN-DpCBBSNa.js → PromoBaseCards-BOGJI2ws-Bshwoahl.js} +1 -1
  159. package/dist/assets/{QBOConnectionDialog-BIg9Iais-Bu7slYzO.js → QBOConnectionDialog-CmpnnuzP-D_Utdqzr.js} +1 -1
  160. package/dist/assets/{QBOConnectionScreen-CMTxTGLB.js → QBOConnectionScreen-W61uspBL.js} +1 -1
  161. package/dist/assets/{QBOSetupSection-DDoUJ7L6-ChX7ka6s.js → QBOSetupSection-DjnN9dgv-C5X6Mv_4.js} +7 -7
  162. package/dist/assets/{ReferralListScreen-DZvURbe-.js → ReferralListScreen-CFqALHvq.js} +1 -1
  163. package/dist/assets/{ReimbursementApprovalRoutes-B0fTE5c5.js → ReimbursementApprovalRoutes--NBUuqoq.js} +1 -1
  164. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CP0muUGK-DmbqRb9l.js → ReimbursementApprovalRuleDetailPage-D5NXjrO9-Yh9jnSge.js} +3 -3
  165. package/dist/assets/{ReimbursementApprovalRuleDetailScreen-CE-klt57.js → ReimbursementApprovalRuleDetailScreen-Btiyq8yy.js} +1 -1
  166. package/dist/assets/{ReimbursementApprovalRulesPage-BpVWq3rk-Cihs8V2H.js → ReimbursementApprovalRulesPage-BsCTIqUJ-Z8SJ2BhB.js} +1 -1
  167. package/dist/assets/{ReimbursementDetailPage-pCg86_Ty-BzrQK1ml.js → ReimbursementDetailPage-BbyxE2uL-BwRKVJZ8.js} +1 -1
  168. package/dist/assets/{ReimbursementPromoPage-BW6icjG5-DP-6P5yh.js → ReimbursementPromoPage-CyEgwqcf-KVfjyHVK.js} +8 -8
  169. package/dist/assets/{ReimbursementRoutes-B0OQr3VA.js → ReimbursementRoutes-B7ZhMTn_.js} +1 -1
  170. package/dist/assets/{ReimbursementSetUpPage-B6OhWEWH-BsBBd9B_.js → ReimbursementSetUpPage-RETPkEQd-h93k32Yy.js} +1 -1
  171. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DmDoqEZh-DA9h4Ju5.js → ReimbursementsBulkReviewDrawerPage-DnmYl0FM-DkzJps2g.js} +1 -1
  172. package/dist/assets/{ReloadCard-DIFXZM9U-Dw0wHj_z.js → ReloadCard-Bdoo0XiI-DQ7zH5_b.js} +1 -1
  173. package/dist/assets/{ReportTableViewSelector-BsIDwouQ-DTQN43vt.js → ReportTableViewSelector-Bc1K7mU_-DG7CvQgg.js} +5 -5
  174. package/dist/assets/{ReportsPage-BFTuYQt2-BOdMPGqx.js → ReportsPage-BOTHMLWh-DQAZC3St.js} +1 -1
  175. package/dist/assets/{ReportsRoutes-DDZOhFNw.js → ReportsRoutes-DCqEshJz.js} +1 -1
  176. package/dist/assets/{RevenueChart-BoFq3ebd-Dep8qPIO.js → RevenueChart-DvyZ3aO7-B4HMUW1f.js} +12 -12
  177. package/dist/assets/{ReviewDetailsPage-6kCQzaHm-vpPb22cD.js → ReviewDetailsPage-BIMg1n2e-DLbpGZaf.js} +5 -5
  178. package/dist/assets/{ReviewOverlay-Dhb-kL6G-7aZ79rRC.js → ReviewOverlay-CxwoiOLC-BQk8pdfC.js} +1 -1
  179. package/dist/assets/{RewardsRoutes-Tsydnhre.js → RewardsRoutes-CSIVaJxq.js} +1 -1
  180. package/dist/assets/{RoleWithToolTip-BfM8Ltz4-C9PA5RE5.js → RoleWithToolTip-Ct3_VuDM-CgjPQD6C.js} +1 -1
  181. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Ccewwmwc-P3n6us6f.js → ScheduleDetailsFixedAssetsPage-DiL5Dozk-pNKl0FgE.js} +1 -1
  182. package/dist/assets/{ScheduleDetailsPage-D4LK83qQ-BWZmqAgS.js → ScheduleDetailsPage-5FWpLRtd-l5IGOvvZ.js} +1 -1
  183. package/dist/assets/{ScheduleSequenceTable-BZR2cL6z-DKWBlbjs.js → ScheduleSequenceTable-R3-PsXES-DyxPg04Q.js} +1 -1
  184. package/dist/assets/{ScreenRoutes-BshWKT8L.js → ScreenRoutes-DIrZFSvZ.js} +2 -2
  185. package/dist/assets/{SetUpAccountSection-CxjYbrXu-s5rUPVRP.js → SetUpAccountSection-CctbMmoK-B53PK3Go.js} +1 -1
  186. package/dist/assets/{SettingsRoutes-D0MoVRRP.js → SettingsRoutes-D3PUQXPp.js} +1 -1
  187. package/dist/assets/{SetupPagesScreen-ClrT9x-n.js → SetupPagesScreen-KqbTYQgM.js} +1 -1
  188. package/dist/assets/{SignIn-CVmtPGKL-DafJ0myc.js → SignIn-CmgmnRm4-CYN0bjHA.js} +8 -8
  189. package/dist/assets/{SignInScreen-B0MWBUA7.js → SignInScreen-BDFrycHi.js} +1 -1
  190. package/dist/assets/{SignOutScreen-BHQQUANt.js → SignOutScreen-CGJ8k7ri.js} +1 -1
  191. package/dist/assets/{SpendManagementListViewPage-BLjP9T8h-CZg1c21r.js → SpendManagementListViewPage-CFUxCqkU-BnIDgS6j.js} +8 -8
  192. package/dist/assets/{SpendManagementPerTabPage-Ck4brjun-DYiWnXoY.js → SpendManagementPerTabPage-C-kqNTci-BPWoCLvk.js} +21 -21
  193. package/dist/assets/{SpendManagementSection-DAqR2c98-CppRRTDr.js → SpendManagementSection-CIz4nE_w-BnkkQIXw.js} +9 -9
  194. package/dist/assets/{StatementItem-B_iG99XI-D9Qua-97.js → StatementItem-vVtoBN2w-Dv2jVRGi.js} +2 -2
  195. package/dist/assets/{StatementsPage-DcKziEfZ-D6FL0knM.js → StatementsPage-As5WOnMR-xJO4oteU.js} +2 -2
  196. package/dist/assets/{StatusSwitcher-BI-dgnrK-wXJw_ZNb.js → StatusSwitcher-Bv-ozN6U-aFxpsrjy.js} +1 -1
  197. package/dist/assets/{SubTabSwitcher-BpNI5Wke-PE6NJvqU.js → SubTabSwitcher-D7QeM6nb-bmup9lZe.js} +1 -1
  198. package/dist/assets/{SuccessAnimation-AojDorqX-BdMSXfoJ.js → SuccessAnimation-hijccO_0-BgS0j6Ks.js} +1 -1
  199. package/dist/assets/{SummaryCard-HW-1WXN9-CKrqyyU_.js → SummaryCard-C2qoTsAY-DD3uQEFW.js} +1 -1
  200. package/dist/assets/{TaskDetailPage-Cwe193JO-i9Sljen6.js → TaskDetailPage-QMk4DTDK-D5dNR6rN.js} +1 -1
  201. package/dist/assets/{TaskListScreen-DFbIcDmb.js → TaskListScreen-BN0d0a63.js} +1 -1
  202. package/dist/assets/{TaskManagementPage-Bz1uP5hK-BIKNCgym.js → TaskManagementPage-BJwp32Ph-YNf3iBQj.js} +30 -30
  203. package/dist/assets/{TaskRoutes-Co5GAtGe.js → TaskRoutes-DEMuiHnC.js} +1 -1
  204. package/dist/assets/{TimeRangeSwitcher-oORYeFzN-CAiWb64s.js → TimeRangeSwitcher-D00bDDhP-CGwNNnWQ.js} +2 -2
  205. package/dist/assets/{TimeframeSwitcher-JcJSbn0--DbavpCXX.js → TimeframeSwitcher-DA99HdHt-CKTTRDRO.js} +1 -1
  206. package/dist/assets/{TimeframeSwitcherWithToggle-BEZU-KDj-D7lbyLQ0.js → TimeframeSwitcherWithToggle-DyggDIQj-DWVBybzM.js} +2 -2
  207. package/dist/assets/{TopExCard-CF6z0JWk-BtE5RMXD.js → TopExCard-Z1WabZ8c-DRsgDR4x.js} +1 -1
  208. package/dist/assets/{TopExDetailPage-DrcKlFuy-ClCuoO0K.js → TopExDetailPage-CzHG4f9E-BM9NWMt3.js} +12 -12
  209. package/dist/assets/{TransactionActivityLogPage-BB4q0jan-BsaJX_wW.js → TransactionActivityLogPage-CGKnjNfU-YIIG-jBr.js} +1 -1
  210. package/dist/assets/{TransactionDetailPage-DRG_qosz-4K6JYgr_.js → TransactionDetailPage-1-mLOWSz-CE3-Hi8u.js} +24 -24
  211. package/dist/assets/{TransactionDetailRoutes-CHu8_uXM.js → TransactionDetailRoutes-BCnSElc9.js} +1 -1
  212. package/dist/assets/{TransactionDetailScreen-8ecVGvyF.js → TransactionDetailScreen-DkbX0oG8.js} +1 -1
  213. package/dist/assets/{TransactionList-iw4pyMYF-mPHBoCgm.js → TransactionList-BB-xoIGm-BeosfrmM.js} +11 -11
  214. package/dist/assets/{TransactionListBig-BljAUwAB-BvX9nmmr.js → TransactionListBig-C5Sf5Xh--B6eKIFdx.js} +1 -1
  215. package/dist/assets/TransactionListPage-Cj7h1Ros-SOf7w-b8.js +35 -0
  216. package/dist/assets/{TransactionListRoutes-BH0onuUu.js → TransactionListRoutes-AdVZSKN8.js} +1 -1
  217. package/dist/assets/{TransactionVendorDetailPage-DXuYIj-p-INYYwexD.js → TransactionVendorDetailPage-SsrSOk3O-CHAPTeaE.js} +1 -1
  218. package/dist/assets/{TransferDrawerPage-C3q8h8Zy-DvswHDCp.js → TransferDrawerPage-BvKZ7vHF-ITLn4K_S.js} +15 -15
  219. package/dist/assets/{TreasuryOverviewPage-DqjFEV9B-B8HEv02z.js → TreasuryOverviewPage-DwvjMR4_-BC_r0SvV.js} +1 -1
  220. package/dist/assets/{TreasuryPromoPage-ByeK0W_5-7ZtCK_x2.js → TreasuryPromoPage-CtTFvSQW-DMtUAfPQ.js} +14 -14
  221. package/dist/assets/{TreasuryRoutes-DjIaFsbd.js → TreasuryRoutes-CZR8Qztx.js} +1 -1
  222. package/dist/assets/TreasuryStatementsPage-Catz8shX-gsqiZvC2.js +58 -0
  223. package/dist/assets/{TreasuryTaxLetterPage-DwLyqS86-q3-mZZiq.js → TreasuryTaxLetterPage-D8hzCL5o-CxF7_s4J.js} +3 -3
  224. package/dist/assets/{TrendChart-Dgh_21FN-BUN7WqwY.js → TrendChart-Bnp4Pcdf-DAHDBSRg.js} +2 -2
  225. package/dist/assets/{TrendWithTransactions-BgIPapHk-DhBJ4ja-.js → TrendWithTransactions-3D1FvM8G-D5DfweO8.js} +8 -8
  226. package/dist/assets/{UncategorizedAccountsMappingPage-DIIJcGrj-BEadu1px.js → UncategorizedAccountsMappingPage-DbyY-dYB-icxwXrio.js} +1 -1
  227. package/dist/assets/{UnitIntegrationPage-DIOZhQOZ-pBfy0J4D.js → UnitIntegrationPage-CTzme1te-CKwPezqe.js} +1 -1
  228. package/dist/assets/{UploadAdditionalDocumentOverlay-qrcEQmkz-km4_SH9P.js → UploadAdditionalDocumentOverlay-Wl4Spdpn-BP-fxZSw.js} +1 -1
  229. package/dist/assets/{Vendor2FAPopup-C58w6vC7-BX6NPq24.js → Vendor2FAPopup-D0zYKkIv-BYJemD3t.js} +1 -1
  230. package/dist/assets/VendorACHDetailsPage-YYX9aQdw-CXB0C692.js +1 -0
  231. package/dist/assets/{VendorDetailPage-CEQFcNHr-BzpOC2Af.js → VendorDetailPage-Br9wIOnI-Ui00Vq-Y.js} +12 -12
  232. package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-Cvv6-Sl5.js +1 -0
  233. package/dist/assets/{VendorFiling1099EditablePage-Dl7jZYBV-aKmowmhJ.js → VendorFiling1099EditablePage-himC7iD3-CGMBRb4f.js} +5 -5
  234. package/dist/assets/{VendorFirstReviewPage-yVbtg_tG-DK2E4A2j.js → VendorFirstReviewPage-BbknTCBD-x2LuwDBy.js} +1 -1
  235. package/dist/assets/{VendorInternationalWireDetailsPage-DNDv_s8G-COfy135o.js → VendorInternationalWireDetailsPage-CS595Xgc-BWEjYBp2.js} +6 -6
  236. package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-CRl0YntK.js +1 -0
  237. package/dist/assets/{VendorsAccountsSection-Cscbgqrx-BhbRW82b.js → VendorsAccountsSection-CgSJu8wq-BJswZIIA.js} +1 -1
  238. package/dist/assets/{VendorsRoutes-CDhATRU9.js → VendorsRoutes-05ainu55.js} +1 -1
  239. package/dist/assets/{VerifyDevice-D1vsUSdJ-eGBtSBPS.js → VerifyDevice-Dvf0JsNN-BxFzBfzQ.js} +5 -5
  240. package/dist/assets/{VideoPlayer-TlEy-oD0-FvFO3heV.js → VideoPlayer-VAzOGCDL-C6P1MPmA.js} +1 -1
  241. package/dist/assets/{VideoPopup-3DD646kG-TOybjXu5.js → VideoPopup-BqvZ-XIh-tpbto8Y7.js} +4 -4
  242. package/dist/assets/{WiseConfirmationScreen-C1RA1Ldj.js → WiseConfirmationScreen-D-O-AEQg.js} +1 -1
  243. package/dist/assets/{ZeniAccountDetailPage-BbsXzuHD-Dui1mjq_.js → ZeniAccountDetailPage-GcwTJdB8-CtCTcpCW.js} +14 -14
  244. package/dist/assets/{ZeniAccountListViewPage-lmuVUpKS-CkMXwzu4.js → ZeniAccountListViewPage-CdwO0Duy-BDSbkpkS.js} +24 -24
  245. package/dist/assets/{ZeniAccountNavBarPieces-CQhwBKXD-Dl7I8K_B.js → ZeniAccountNavBarPieces-BrSIfL36--BCCJ_B2.js} +1 -1
  246. package/dist/assets/{ZeniAccountPromoPage-CXEb9tRE-DbrBCcxq.js → ZeniAccountPromoPage-JrcedQYB-Dn7j6upG.js} +1 -1
  247. package/dist/assets/{ZeniAccountRoutes-CE8jZq_j.js → ZeniAccountRoutes-C1DKaJoc.js} +1 -1
  248. package/dist/assets/{ZeniAccountSetupPage-DPhYQu6u-Dn-mOjTr.js → ZeniAccountSetupPage-TKBfbgzJ-BqZbSZu7.js} +1 -1
  249. package/dist/assets/{ZeniAccountStatementScreen-DDPrZzz9.js → ZeniAccountStatementScreen-mRCX19Ut.js} +1 -1
  250. package/dist/assets/{ZeniAvatar-CCOD249Z-ByE5Nx_e.js → ZeniAvatar-Bzhq25CU-B22YVvLm.js} +1 -1
  251. package/dist/assets/{ZeniCopyright-pvaggW6x-BLgnKSEe.js → ZeniCopyright-DglqrTpl-DIGaFEv0.js} +1 -1
  252. package/dist/assets/{ZeniDatePicker-EhzRlpFY-D5GIgjl0.js → ZeniDatePicker-BHXPxPnI-vwmLROHK.js} +1 -1
  253. package/dist/assets/{ZeniTransferAmountSlider-Dlyom9dD-BwjTfvmr.js → ZeniTransferAmountSlider-BcaZZuAw-9zrzQe1V.js} +1 -1
  254. package/dist/assets/{accountMappingHelper-DnytOxBh.js → accountMappingHelper-GPi0oD1D.js} +1 -1
  255. package/dist/assets/{add-to-wallet-DgdBD8_G-BDS4bqaK.js → add-to-wallet-DgdBD8_G-0ekd9-Ri.js} +1 -1
  256. package/dist/assets/{analytics-lZopEqtI.js → analytics-B2Q_uKwH.js} +1 -1
  257. package/dist/assets/{analyticsHelper-AeOsAjMK-9GsVy5uR.js → analyticsHelper-CAYdbjhS-TiCqBFHc.js} +1 -1
  258. package/dist/assets/{analyticsHelper-sSJGGzsr.js → analyticsHelper-eqJrrWmY.js} +1 -1
  259. package/dist/assets/{arrow-south-east-round-PEovUgvH-PZQhaHEw.js → arrow-south-east-round-PEovUgvH-DvoAU7mY.js} +1 -1
  260. package/dist/assets/{auto-transfer-rule-mbafm5D3-BJqlTaL4.js → auto-transfer-rule-mbafm5D3-VBx9t_qo.js} +1 -1
  261. package/dist/assets/{avatar-Dz7aEm3d-D-qe2ybq.js → avatar-Dz7aEm3d-ZI3JCtk7.js} +1 -1
  262. package/dist/assets/{bank-letter-BOcVjN6J-BAI3BcgX.js → bank-letter-BOcVjN6J-Dws2Kxmd.js} +1 -1
  263. package/dist/assets/{calculateSize-D-LzlJzs-H8aFTaA8.js → calculateSize-B2w5JPEU-BiAuCFz-.js} +1 -1
  264. package/dist/assets/{chartTypes-BLsP7rGF-BTfpmJqx.js → chartTypes-CD3vrBsI-D1eLb6aA.js} +1 -1
  265. package/dist/assets/{clock-CJkylEKt-Aj8yCCM3.js → clock-CJkylEKt-CwvCI5hq.js} +1 -1
  266. package/dist/assets/common-BpxEACHl-D-qMuYEn.js +1 -0
  267. package/dist/assets/{commonDimensions-DIm7kTtR-LC7HUPCB.js → commonDimensions-Oz1tdAcx-6qsjkus3.js} +1 -1
  268. package/dist/assets/{commonTypes-B3mnx2x_-bGKW9_Lf.js → commonTypes-5tEXwrX4-0afSAZ02.js} +1 -1
  269. package/dist/assets/{core-CbpF8wW5.js → core-D9P6lLF-.js} +1 -1
  270. package/dist/assets/{dash.all.min-8b6mRaf1.js → dash.all.min-CrF9T_sg.js} +1 -1
  271. package/dist/assets/{decodeURIComponentSafe-CqkAxC0p.js → decodeURIComponentSafe-BA7ebd4J.js} +1 -1
  272. package/dist/assets/{dnd-PN_2LgQk.js → dnd-nSkfhkrX.js} +1 -1
  273. package/dist/assets/{dollar-round-D18u7nlm-BhSn6DYS.js → dollar-round-D18u7nlm-DJ7jjz8a.js} +1 -1
  274. package/dist/assets/{downloadPdf-B5WrL0K1-DumpN6AC.js → downloadPdf-Dsuxeias-DgqgIEmy.js} +1 -1
  275. package/dist/assets/{empty-Ccpah3HZ.js → empty-BM1tlym1.js} +1 -1
  276. package/dist/assets/{empty-BvRt8sTu.js → empty-DqDGRwQI.js} +1 -1
  277. package/dist/assets/{epic-G4Y_asZ_.js → epic-C-GRNY0z.js} +1 -1
  278. package/dist/assets/{filter-cZIFUNvj-CAMGerao.js → filter-cZIFUNvj-CnTMsRoA.js} +1 -1
  279. package/dist/assets/{getLocaleForTenant-BAdWD_sf.js → getLocaleForTenant-D_kHTEKc.js} +1 -1
  280. package/dist/assets/{gift-box-Cmt9OgIZ-CxU0MaIs.js → gift-box-Cmt9OgIZ-CmbTqYsU.js} +1 -1
  281. package/dist/assets/{graphic-no-data-l-DU4J8fDt-DMougQJz.js → graphic-no-data-l-DU4J8fDt-qX4MU25I.js} +1 -1
  282. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-Q8dYUrIm.js → graphic-no-data-net-burn-l-CzmycA0m-eyhdhwsy.js} +1 -1
  283. package/dist/assets/{handshake-BPg58FML-DJv997hY.js → handshake-BPg58FML-Dy9hpFzO.js} +1 -1
  284. package/dist/assets/{helper-BVESv00--BSBoxTwN.js → helper-Ckm10Uko-Cft993Iq.js} +1 -1
  285. package/dist/assets/{hyperlink-DQyCeXx2-ByO7QjF0.js → hyperlink-DQyCeXx2-ClAJPTpW.js} +1 -1
  286. package/dist/assets/{index-BScUKNNV.js → index-BGoNZK9J.js} +1 -1
  287. package/dist/assets/{index-CtaVzrbN.js → index-BHx-AV13.js} +1 -1
  288. package/dist/assets/{index-bFwDyqSe.js → index-BoyH9PC5.js} +1 -1
  289. package/dist/assets/{index-Ir5iePqW.js → index-C6CSTWn-.js} +1 -1
  290. package/dist/assets/{index-C5NS4k1k.js → index-CAltUZe8.js} +6 -6
  291. package/dist/assets/{index-C2kgfwQ0.js → index-D3FWjv6R.js} +1 -1
  292. package/dist/assets/{lexical-wFFjFeQS.js → lexical-Ct6cBwR8.js} +1 -1
  293. package/dist/assets/{liveblocks-DAzt4XWX.js → liveblocks-DxIK6Zp5.js} +1 -1
  294. package/dist/assets/{lottie-DCpFrhzh.js → lottie-BEhoArVd.js} +1 -1
  295. package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-D0bSM41h.js +1 -0
  296. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BIiMj0sc-CYHAjMYB.js → mapSectionWithAcOnlyToTreeNode-Cgyt68f3-Bqo33gCA.js} +1 -1
  297. package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-CaUrNev8.js +1 -0
  298. package/dist/assets/{mapTimeframeBalancesToTreeNode-CyO5pm8k-CNnw8Wla.js → mapTimeframeBalancesToTreeNode-Bre8FfBF-CPTPOyt7.js} +1 -1
  299. package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-BwgfCZTt.js +1 -0
  300. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-NKafOEXu-D3MVK9I-.js → mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Cw5QJbW7.js} +1 -1
  301. package/dist/assets/{media-player-CfnH7IPR.js → media-player-CsDObYZE.js} +2 -2
  302. package/dist/assets/{money-2cg1MuG4-DfhxL46u.js → money-2cg1MuG4-CTFLBPxC.js} +1 -1
  303. package/dist/assets/{mui-CsJjaFS3.js → mui-CMSRVFAm.js} +1 -1
  304. package/dist/assets/{page-detail-CWX5S47F-BqAM7jrq.js → page-detail-CWX5S47F-D71KSTNS.js} +1 -1
  305. package/dist/assets/{page-summary-D7_VQHwN-BEqozVIp.js → page-summary-D7_VQHwN-C0Gmkrf2.js} +1 -1
  306. package/dist/assets/{panelSelectedMixin-Cddsb26L-_TcaqYgi.js → panelSelectedMixin-Cddsb26L-CzLNMPbQ.js} +1 -1
  307. package/dist/assets/{pathToGoBack-BfqJ0YlJ.js → pathToGoBack-Blub25Cp.js} +1 -1
  308. package/dist/assets/{pdf-CotdgJU1.js → pdf-Be2WBqYM.js} +3 -3
  309. package/dist/assets/{pdf-lib-D_D0fjcQ.js → pdf-lib-CnVZquuu.js} +1 -1
  310. package/dist/assets/{plaid-BTCtHWVp.js → plaid-BfI3x5Cu.js} +1 -1
  311. package/dist/assets/{pusher-BQ8DKEaa.js → pusher-B6_CsVbZ.js} +1 -1
  312. package/dist/assets/{radio-default-CiSgisfh-Bf3NugY4.js → radio-default-CiSgisfh-B-boFyAl.js} +1 -1
  313. package/dist/assets/{react-BqQ4cQqX.js → react-BHFS79hd.js} +1 -1
  314. package/dist/assets/{react-BUIAuHwU.js → react-BU_9CVSX.js} +3 -3
  315. package/dist/assets/{react-D_8V1wyK.js → react-BpE8-YB1.js} +1 -1
  316. package/dist/assets/{react-DqT05IJk.js → react-C0Y1QuQQ.js} +1 -1
  317. package/dist/assets/{react-BBeDYsAV.js → react-C8t61nFI.js} +1 -1
  318. package/dist/assets/{react-qeQ53cUY.js → react-D-1D0x0x.js} +1 -1
  319. package/dist/assets/{react-DXQJSc1U.js → react-Df07f_EQ.js} +1 -1
  320. package/dist/assets/{react-DPwINmE2.js → react-DoqYYGGT.js} +1 -1
  321. package/dist/assets/{recharts-Z1H4NIT9.js → recharts-gT6BOz1b.js} +1 -1
  322. package/dist/assets/{routePaths-Canmm7cj.js → routePaths-C2kSZwVH.js} +1 -1
  323. package/dist/assets/{sentry-B7C9wEq0.js → sentry-DQeYyYXx.js} +1 -1
  324. package/dist/assets/{shield-DOlUxcFf-Bj4akX0-.js → shield-DOlUxcFf-CtwAmezy.js} +1 -1
  325. package/dist/assets/{spend-limit-D6SyboD4-BgiUCsPc.js → spend-limit-D6SyboD4-DgU5KXwN.js} +1 -1
  326. package/dist/assets/toCOABalancesWithID-aLNB35t7-Bbjw8HZY.js +1 -0
  327. package/dist/assets/{toChartData-BkubFDq8-Dqms1_zM.js → toChartData-DUL6vnzJ-Dwc3foiO.js} +1 -1
  328. package/dist/assets/{transaction-placeholder-CpOwZAMG-C1Qe8Rh2.js → transaction-placeholder-CpOwZAMG-EsW3Q-dq.js} +1 -1
  329. package/dist/assets/{undo-b_3XZ5CX-eTBdG90-.js → undo-b_3XZ5CX-vDqRNZiv.js} +1 -1
  330. package/dist/assets/{unlock-BPWn2I5L-Bw2sQZ5n.js → unlock-BPWn2I5L-DrFYUkdQ.js} +1 -1
  331. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-CnNIPHqW.js → upload-reimbursement-receipt-O2N8vcO7-DJbY_Oz2.js} +1 -1
  332. package/dist/assets/{uploadAttachment-CzgakLtr-FsVc9-o9.js → uploadAttachment-Ck4wivBR-es3sSFtr.js} +1 -1
  333. package/dist/assets/{uploadReceipts-CIgkuVpu-w07yQGh1.js → uploadReceipts-CIgkuVpu-IBEc_jc1.js} +1 -1
  334. package/dist/assets/{url-BvfHN6gt.js → url-DabKyEXg.js} +1 -1
  335. package/dist/assets/{url-B_60JuDM.js → url-Doy-Mf6X.js} +1 -1
  336. package/dist/assets/{useDeviceId-BrDKA5Dy.js → useDeviceId-Dx8RlRsA.js} +1 -1
  337. package/dist/assets/{useInitialThreadRequest-CpkcHK8z.js → useInitialThreadRequest-Bxf1X7cu.js} +1 -1
  338. package/dist/assets/{useLongPress-GCK2COYQ-nY-Uopy3.js → useLongPress-GCK2COYQ-CW7ST8rN.js} +1 -1
  339. package/dist/assets/{usp-line-BBd1wKwW-DadTGyfk.js → usp-line-BBd1wKwW-Crs-gA1B.js} +1 -1
  340. package/dist/assets/{utils-DSKkIaRb.js → utils-BAO5KfNy.js} +1 -1
  341. package/dist/assets/{withTransactionSidePanel-BJJbIkbE.js → withTransactionSidePanel-FcH3ZlAj.js} +1 -1
  342. package/dist/assets/{zeni-epic-state-CjUXhad7.js → zeni-epic-state-CHpO1ZKT.js} +3 -3
  343. package/dist/assets/{zeni-icon-only-DmigVd7z.js → zeni-icon-only-4nFle2Fz.js} +1 -1
  344. package/dist/index.html +1 -1
  345. package/package.json +2 -2
  346. package/dist/assets/AccountInfoPage-Cz9yoVl8-2cCezdu3.js +0 -18
  347. package/dist/assets/AccountInfoPageContent-j85psx_A-tY3-Fkrr.js +0 -149
  348. package/dist/assets/BillPayApprovalRuleDetailPage-C_REwEVS-D-eeATAS.js +0 -27
  349. package/dist/assets/ChargeCardPromoPage-CKl6K-nr-B6A43An0.js +0 -222
  350. package/dist/assets/CustomerOnboardingAuthScreen-B2lt5fG2.js +0 -1
  351. package/dist/assets/CustomerOnboardingContainerPage-B4YFIOQJ-BbB2fOP5.js +0 -1
  352. package/dist/assets/EntityDetailPage-D8FzsqNk-_LZsKMKD.js +0 -18
  353. package/dist/assets/MagicLinkACHDetailsPage-BKh8WrCR-BXzJ0B3q.js +0 -1
  354. package/dist/assets/MagicLinkDomesticWireDetailsPage-Cv19HbKi-DKgp0Chf.js +0 -1
  355. package/dist/assets/MagicLinkInternationalWireDetailsPage-DbFxpWOg-hgGDkayb.js +0 -1
  356. package/dist/assets/MailingDetailsSection-BNVPaGFt-9PxBYnWw.js +0 -21
  357. package/dist/assets/TransactionListPage-ReGTmF43-Cg71CfBs.js +0 -35
  358. package/dist/assets/TreasuryStatementsPage-BjGwvMFL-xqt4JjCQ.js +0 -58
  359. package/dist/assets/VendorACHDetailsPage-BbxRwrEv-Bcfg0w4a.js +0 -1
  360. package/dist/assets/VendorDomesticWireDetailsPage-C02ZhGg3-Ds0ralM2.js +0 -1
  361. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Bdt0UR_b-DxxL_aBl.js +0 -1
  362. package/dist/assets/common-CAmBErdt-gt_uFFPU.js +0 -1
  363. package/dist/assets/mapLoadingInProgressToTreeNode-DJxRl0X1-BiIcVS7d.js +0 -1
  364. package/dist/assets/mapSpacerToTreeNode-Bj3f2irs-DaSaAPgD.js +0 -1
  365. package/dist/assets/mapTimeframeBalancesToTreeNode-AI17uMHa-qKxAkbp_.js +0 -1
  366. package/dist/assets/toCOABalancesWithID-BWMF0py6-DXg0RqcA.js +0 -1
@@ -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-C5NS4k1k.js";import{n as t}from"./mui-CsJjaFS3.js";import{a as r}from"./sentry-B7C9wEq0.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-CAltUZe8.js";import{n as t}from"./mui-CMSRVFAm.js";import{a as r}from"./sentry-DQeYyYXx.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-CotdgJU1.js";import{p as Q,e as xc,d as kc,g as jl,a as xl}from"./sentry-B7C9wEq0.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-CjUXhad7.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-DSKkIaRb.js";import{r as un}from"./empty-Ccpah3HZ.js";import{r as Fl,a as Bl,b as Ul,c as ql}from"./pdf-lib-D_D0fjcQ.js";import{r as Gl}from"./index-bFwDyqSe.js";import{r as zl}from"./index-BScUKNNV.js";import{j as Zl,h as Hl,i as Vl,u as En,k as Yl}from"./core-CbpF8wW5.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-C5NS4k1k.js";import"./mui-CsJjaFS3.js";import{d as Pe}from"./decodeURIComponentSafe-CqkAxC0p.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-Be2WBqYM.js";import{p as Q,e as xc,d as kc,g as jl,a as xl}from"./sentry-DQeYyYXx.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-CHpO1ZKT.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-BAO5KfNy.js";import{r as un}from"./empty-BM1tlym1.js";import{r as Fl,a as Bl,b as Ul,c as ql}from"./pdf-lib-CnVZquuu.js";import{r as Gl}from"./index-BoyH9PC5.js";import{r as zl}from"./index-BGoNZK9J.js";import{j as Zl,h as Hl,i as Vl,u as En,k as Yl}from"./core-D9P6lLF-.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-CAltUZe8.js";import"./mui-CMSRVFAm.js";import{d as Pe}from"./decodeURIComponentSafe-BA7ebd4J.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 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-C5NS4k1k.js";import{n as s}from"./mui-CsJjaFS3.js";import{D as E,V as G}from"./QBOConnectionDialog-BIg9Iais-Bu7slYzO.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`
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-CAltUZe8.js";import{n as s}from"./mui-CMSRVFAm.js";import{D as E,V as G}from"./QBOConnectionDialog-CmpnnuzP-D_Utdqzr.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]="98e1e9ee-781a-4d2d-8a13-27821945e7fd",e._sentryDebugIdIdentifier="sentry-dbid-98e1e9ee-781a-4d2d-8a13-27821945e7fd")}catch{}})();const d={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:l,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:l?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,{})]}),l?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"})]}),l?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&&!l?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;
@@ -8,7 +8,7 @@ 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
8
8
  align-items: center;
9
9
  padding-top: ${o.sp3};
10
10
  padding-bottom: ${o.sp3};
11
- width: ${e=>l.sectionWidth.valuePx(e.windowSize)};
11
+ width: ${e=>d.sectionWidth.valuePx(e.windowSize)};
12
12
  `,N=s.div`
13
13
  display: flex;
14
14
  align-items: center;
@@ -17,7 +17,7 @@ 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
17
17
  `,Q=s.div`
18
18
  display: flex;
19
19
  flex-direction: column;
20
- width: ${e=>l.sectionWidth.valuePx(e.windowSize)};
20
+ width: ${e=>d.sectionWidth.valuePx(e.windowSize)};
21
21
  background-color: ${e=>e.theme.colors.grey5};
22
22
  border: 1px solid ${e=>e.theme.colors.grey3};
23
23
  box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
@@ -25,7 +25,7 @@ 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
25
25
  fill: ${e=>e.theme.colors.grey1};
26
26
  justify-content: space-between;
27
27
  box-sizing: border-box;
28
- padding: ${e=>l.containerPadding.valuePx(e.windowSize)};
28
+ padding: ${e=>d.containerPadding.valuePx(e.windowSize)};
29
29
  &:hover {
30
30
  border: 1px solid ${e=>e.theme.colors.primary};
31
31
  fill: ${e=>e.theme.colors.primary};
@@ -41,7 +41,7 @@ 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
41
41
  width: 100%;
42
42
  display: flex;
43
43
  justify-content: space-between;
44
- row-gap: ${e=>l.topElementsRowGap.valuePx(e.windowSize)};
44
+ row-gap: ${e=>d.topElementsRowGap.valuePx(e.windowSize)};
45
45
  flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
46
46
  `,q=s(f)`
47
47
  display: flex;
@@ -59,8 +59,8 @@ 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
59
59
  color: ${e=>e.theme.colors.primary};
60
60
  cursor: pointer;
61
61
  `,R=s(W)`
62
- height: ${e=>l.arrowIconWidthHeight.valuePx(e.windowSize)};
63
- width: ${e=>l.arrowIconWidthHeight.valuePx(e.windowSize)};
62
+ height: ${e=>d.arrowIconWidthHeight.valuePx(e.windowSize)};
63
+ width: ${e=>d.arrowIconWidthHeight.valuePx(e.windowSize)};
64
64
  color: ${e=>e.theme.colors.hero};
65
65
  `,F=s(G)`
66
66
  height: ${o.sp4};
@@ -1,4 +1,4 @@
1
- import{j as t}from"./pdf-CotdgJU1.js";import{a as o}from"./sentry-B7C9wEq0.js";import{u as f,j as O,i as H,h as V,k as W}from"./core-CbpF8wW5.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-C5NS4k1k.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-CjUXhad7.js";import{D as te,e as se,n as oe,S as ie}from"./mui-CsJjaFS3.js";import{M as le}from"./MobileAppDrawer-Db6wEz5B.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-Be2WBqYM.js";import{a as o}from"./sentry-DQeYyYXx.js";import{u as f,j as O,i as H,h as V,k as W}from"./core-D9P6lLF-.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-CAltUZe8.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-CHpO1ZKT.js";import{D as te,e as se,n as oe,S as ie}from"./mui-CMSRVFAm.js";import{M as le}from"./MobileAppDrawer-C3TNoouV.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-CotdgJU1.js";import x from"./NotFoundScreen-DXnaOvLy.js";import{a as p}from"./sentry-B7C9wEq0.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-CbpF8wW5.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-CjUXhad7.js";import{y as L,js as N,jQ as $,k9 as O,lz as W,ki as B}from"./index-C5NS4k1k.js";import"./mui-CsJjaFS3.js";import{R as y}from"./ReimbursementApprovalRuleDetailScreen-CE-klt57.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-Be2WBqYM.js";import x from"./NotFoundScreen-CubXCR1V.js";import{a as p}from"./sentry-DQeYyYXx.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-D9P6lLF-.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-CHpO1ZKT.js";import{y as L,js as N,jQ as $,k9 as O,lz as W,ki as B}from"./index-CAltUZe8.js";import"./mui-CMSRVFAm.js";import{R as y}from"./ReimbursementApprovalRuleDetailScreen-Btiyq8yy.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 b,fy as ee}from"./index-C5NS4k1k.js";import{a as L}from"./sentry-B7C9wEq0.js";import{n as u}from"./mui-CsJjaFS3.js";import{b as te,f as ae,o as B,l as T}from"./FollowStepsSection-BVT2K7mu-L8a-cjiL.js";import"./pdf-CotdgJU1.js";import"./zeni-epic-state-CjUXhad7.js";import"./core-CbpF8wW5.js";import"./lottie-DCpFrhzh.js";import"./liveblocks-DAzt4XWX.js";import"./recharts-Z1H4NIT9.js";import"./dnd-PN_2LgQk.js";import"./analytics-lZopEqtI.js";import"./plaid-BTCtHWVp.js";import"./utils-DSKkIaRb.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`
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-CAltUZe8.js";import{a as L}from"./sentry-DQeYyYXx.js";import{n as u}from"./mui-CMSRVFAm.js";import{b as ae,f as te,o as B,l as T}from"./FollowStepsSection-BxESVqJD-DBgSryEI.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.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]="f01ac993-201c-446a-a75f-e225a4dc2a89",e._sentryDebugIdIdentifier="sentry-dbid-f01ac993-201c-446a-a75f-e225a4dc2a89")}catch{}})();const _="reimbursementApprovalRuleDetailPage",C="lowerBound",k="upperBound",I="steps",b="applyToExistingReimbursements",le={footerPadding:new M(D[2],D[3])};function Ue({localData:e,approvalUpdateActionType:t,isLowerBoundDisabled:a=!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,t==="approval_create"&&!a),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:t==="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(ae,{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=>!!a||i!=null&&i>v},isDisabled:a,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(te,{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:t==="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,t)=>{const{criteria:a,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]:t?void 0:a!=null?a.range.min.amount??0:0,[k]:a!=null?a.range.max==null?1/0:a.range.max.amount:1/0}},oe=(e,t,a,o,n)=>n&&n.length>0?n.map((s,g)=>({stepIndex:g,stepType:{selectedOption:s.action,allOptions:T},actors:{allUsers:t,selectedUsers:se(e,s.actors),allNonUsers:o,selectedNonUsers:ne(a,s.actors)}})):[{stepIndex:0,stepType:{selectedOption:"require_approval",allOptions:T},actors:{allUsers:t,selectedUsers:[],allNonUsers:o,selectedNonUsers:[]}}],se=(e,t)=>e.filter(a=>a.userId!=null&&t.findIndex(o=>o.userId===a.userId)>-1),ne=(e,t)=>e.filter(a=>t.findIndex(o=>o.subType===a.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=>`${b.sp0} 2px ${b.sp1} ${e.theme.colors.dropShadowNormal}`};
17
- border-radius: ${b.sp2};
16
+ box-shadow: ${e=>`${h.sp0} 2px ${h.sp1} ${e.theme.colors.dropShadowNormal}`};
17
+ border-radius: ${h.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-CotdgJU1.js";import{a as y}from"./sentry-B7C9wEq0.js";import{j as w,i as A,h as T,l as U,u as b,k as E}from"./core-CbpF8wW5.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-CjUXhad7.js";import{js as B,y as j,jQ as V,lq as z,ki as F}from"./index-C5NS4k1k.js";import"./mui-CsJjaFS3.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-Be2WBqYM.js";import{a as y}from"./sentry-DQeYyYXx.js";import{j as w,i as A,h as T,l as U,u as b,k as E}from"./core-D9P6lLF-.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-CHpO1ZKT.js";import{js as B,y as j,jQ as V,lq as z,ki as F}from"./index-CAltUZe8.js";import"./mui-CMSRVFAm.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-C5NS4k1k.js";import{n as i}from"./mui-CsJjaFS3.js";import{a as ee}from"./sentry-B7C9wEq0.js";import"./pdf-CotdgJU1.js";import"./zeni-epic-state-CjUXhad7.js";import"./core-CbpF8wW5.js";import"./lottie-DCpFrhzh.js";import"./liveblocks-DAzt4XWX.js";import"./recharts-Z1H4NIT9.js";import"./dnd-PN_2LgQk.js";import"./analytics-lZopEqtI.js";import"./plaid-BTCtHWVp.js";import"./utils-DSKkIaRb.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-CAltUZe8.js";import{n as i}from"./mui-CMSRVFAm.js";import{a as ee}from"./sentry-DQeYyYXx.js";import"./pdf-Be2WBqYM.js";import"./zeni-epic-state-CHpO1ZKT.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.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 Qt,g7 as Xt,m as c,bH as Zt,co as ei}from"./index-C5NS4k1k.js";import{a as u}from"./sentry-B7C9wEq0.js";import{n as a}from"./mui-CsJjaFS3.js";import{bG as ti,c6 as ii,G6 as ri}from"./zeni-epic-state-CjUXhad7.js";import ai from"./InvoiceUploadSection-BjNMjhQR-zjdmYVnU.js";import{r as oi,h as x,u as ni}from"./types-DyvtCprH-VF9iATMs.js";import"./pdf-CotdgJU1.js";import"./core-CbpF8wW5.js";import"./lottie-DCpFrhzh.js";import"./liveblocks-DAzt4XWX.js";import"./recharts-Z1H4NIT9.js";import"./dnd-PN_2LgQk.js";import"./analytics-lZopEqtI.js";import"./plaid-BTCtHWVp.js";import"./utils-DSKkIaRb.js";import"./AttachmentView-UxkSFZmq-BUfVfjv7.js";import"./uploadReceipts-CIgkuVpu-w07yQGh1.js";import"./upload-reimbursement-receipt-O2N8vcO7-CnNIPHqW.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`
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-CAltUZe8.js";import{a as u}from"./sentry-DQeYyYXx.js";import{n as a}from"./mui-CMSRVFAm.js";import{bG as ti,c6 as ii,G6 as ri}from"./zeni-epic-state-CHpO1ZKT.js";import ai from"./InvoiceUploadSection-it-ZYl1N-CPSEMHj6.js";import{r as oi,h as x,u as ni}from"./types-DyvtCprH-VF9iATMs.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./AttachmentView-CzC4skJ3-3dq1WroI.js";import"./uploadReceipts-CIgkuVpu-IBEc_jc1.js";import"./upload-reimbursement-receipt-O2N8vcO7-DJbY_Oz2.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[$]="ecf3da19-4be1-4bd2-85b0-30d98b3664a4",e._sentryDebugIdIdentifier="sentry-dbid-ecf3da19-4be1-4bd2-85b0-30d98b3664a4")}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)};
@@ -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-C5NS4k1k.js";import{a as j}from"./sentry-B7C9wEq0.js";import{n as t}from"./mui-CsJjaFS3.js";import{G5 as je,bL as be}from"./zeni-epic-state-CjUXhad7.js";import{C as fe}from"./VideoPopup-3DD646kG-TOybjXu5.js";import{M as v}from"./usp-line-BBd1wKwW-DadTGyfk.js";import"./pdf-CotdgJU1.js";import"./core-CbpF8wW5.js";import"./lottie-DCpFrhzh.js";import"./liveblocks-DAzt4XWX.js";import"./recharts-Z1H4NIT9.js";import"./dnd-PN_2LgQk.js";import"./analytics-lZopEqtI.js";import"./plaid-BTCtHWVp.js";import"./utils-DSKkIaRb.js";import"./VideoPlayer-TlEy-oD0-FvFO3heV.js";import"./media-player-CfnH7IPR.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`
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-CAltUZe8.js";import{a as j}from"./sentry-DQeYyYXx.js";import{n as t}from"./mui-CMSRVFAm.js";import{G5 as je,bL as be}from"./zeni-epic-state-CHpO1ZKT.js";import{C as fe}from"./VideoPopup-BqvZ-XIh-tpbto8Y7.js";import{M as v}from"./usp-line-BBd1wKwW-Crs-gA1B.js";import"./pdf-Be2WBqYM.js";import"./core-D9P6lLF-.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./VideoPlayer-VAzOGCDL-C6P1MPmA.js";import"./media-player-CsDObYZE.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]="99557785-d67e-481c-8e83-3c3ad24405ca",i._sentryDebugIdIdentifier="sentry-dbid-99557785-d67e-481c-8e83-3c3ad24405ca")}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
- `,G=t.div`
43
+ `,q=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};
@@ -68,17 +68,17 @@ 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
68
68
  color: ${i=>i.theme.colors.champion};
69
69
  `,m=t.div``,p=t.div`
70
70
  padding-left: ${s.sp3};
71
- `,M=t(Z)`
71
+ `,A=t(Z)`
72
72
  margin: ${i=>i.windowSize==="small"?s.sp1:`auto ${s.sp5}`};
73
73
  color: ${i=>i.theme.colors.grey1};
74
- `,H=t(v)`
74
+ `,G=t(v)`
75
75
  color: ${z.graphColor16Dark};
76
- `,Y=t(v)`
76
+ `,H=t(v)`
77
77
  color: ${z.graphColor09Dark};
78
- `,q=t(v)`
78
+ `,Y=t(v)`
79
79
  color: ${z.success};
80
- `,A=t(pe)`
80
+ `,M=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(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};
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(A,{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(M,{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(A,{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(M,{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};
@@ -1,4 +1,4 @@
1
- import{j as i}from"./pdf-CotdgJU1.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-CbpF8wW5.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-CjUXhad7.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-C5NS4k1k.js";import{n as Pe,S as Bn}from"./mui-CsJjaFS3.js";import ee from"./NotFoundScreen-DXnaOvLy.js";import{S as fe}from"./SetupPagesScreen-ClrT9x-n.js";import{F as _e}from"./FeaturePreviewScreen-Xsnk0neq.js";import{a as y}from"./sentry-B7C9wEq0.js";import{u as $e}from"./useInitialThreadRequest-CpkcHK8z.js";import{D as xn}from"./DrawerScreen-Dd2Niphu.js";import{M as Ne}from"./MobileAppDrawer-Db6wEz5B.js";import{R as Tn}from"./ReimbursementApprovalRoutes-B0fTE5c5.js";import{FallBackRoute as wn}from"./ScreenRoutes-BshWKT8L.js";import"./lottie-DCpFrhzh.js";import"./liveblocks-DAzt4XWX.js";import"./recharts-Z1H4NIT9.js";import"./dnd-PN_2LgQk.js";import"./analytics-lZopEqtI.js";import"./plaid-BTCtHWVp.js";import"./utils-DSKkIaRb.js";import"./analyticsHelper-sSJGGzsr.js";import"./routePaths-Canmm7cj.js";import"./BusinessVerificationPageScreen-DM_2HDeS.js";import"./ReimbursementApprovalRuleDetailScreen-CE-klt57.js";import"./getLocaleForTenant-BAdWD_sf.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-Be2WBqYM.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-D9P6lLF-.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-CHpO1ZKT.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-CAltUZe8.js";import{n as Pe,S as Bn}from"./mui-CMSRVFAm.js";import ee from"./NotFoundScreen-CubXCR1V.js";import{S as fe}from"./SetupPagesScreen-KqbTYQgM.js";import{F as _e}from"./FeaturePreviewScreen-BrgEnIPS.js";import{a as y}from"./sentry-DQeYyYXx.js";import{u as $e}from"./useInitialThreadRequest-Bxf1X7cu.js";import{D as xn}from"./DrawerScreen-MxSrrJrd.js";import{M as Ne}from"./MobileAppDrawer-C3TNoouV.js";import{R as Tn}from"./ReimbursementApprovalRoutes--NBUuqoq.js";import{FallBackRoute as wn}from"./ScreenRoutes-DIrZFSvZ.js";import"./lottie-BEhoArVd.js";import"./liveblocks-DxIK6Zp5.js";import"./recharts-gT6BOz1b.js";import"./dnd-nSkfhkrX.js";import"./analytics-B2Q_uKwH.js";import"./plaid-BfI3x5Cu.js";import"./utils-BAO5KfNy.js";import"./analyticsHelper-eqJrrWmY.js";import"./routePaths-C2kSZwVH.js";import"./BusinessVerificationPageScreen-BQdQDNi4.js";import"./ReimbursementApprovalRuleDetailScreen-Btiyq8yy.js";import"./getLocaleForTenant-D_kHTEKc.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%;