@zeniai/web-cockpit-ui 1.14.92-qa → 1.14.93-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 (274) hide show
  1. package/dist/assets/{ACHDetailsPage-B6sY0jN6-N3NijvTk.js → ACHDetailsPage-Cmt4zlsa-CVV8HYnx.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BWK9fXrz-B46uJ0El.js → AIPerformancePage-Bll3cTy1-gL3wACpX.js} +1 -1
  3. package/dist/assets/AccountInfoPage-D2IedGAy-DpkY7tZI.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-nUi26Aww-N_K5j-5L.js → AccountInfoPageContent-9wbA8niq-Bqglb0N2.js} +10 -10
  5. package/dist/assets/{AccountLockedInfoModal-BROj4bmE-V1SEL3Qw.js → AccountLockedInfoModal-CLvVkdLW-bPK5I-r7.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-C-3FFCQZ-DZ5koKQf.js → AccountReconDetailsDrawerPage-BXa1TZA0-CJ_GlXhF.js} +1 -1
  7. package/dist/assets/{AccountRow-BM2kGWyR-DQ8Rvnec.js → AccountRow-Ba39SxP8-8PYcW3Va.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-CNCG5uPJ-BDG6T0ii.js → AccountsPromoCardStack-W5TW8HPU-Cm5YfN59.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-BuAtFO1w-BKpEIMZg.js → AddAddressForCardDrawer-nEnaGKnm-DN6yVFPQ.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-DyrcWdBZ-ChwqMR_w.js → AddToWalletPage-CQYHG0Yj-CP1osDBN.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-CmluxKG3-DNRV6c6-.js → AgingReportsPage-BWCU11pF-MZUqlZXC.js} +3 -3
  12. package/dist/assets/{AllUserItems-CVZZU-J3-DjzFcOA-.js → AllUserItems-DPxoQeZA-Fd0FWod6.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-CoNxqskm-CIfrHyiI.js → ApAgingDetailPage-cslGsO08-CvebivaV.js} +4 -4
  14. package/dist/assets/{AppBasePage-CTGNzUtN-BxUgxZY1.js → AppBasePage-BZINcjPW-DJOgvT_q.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-59dQVUxu-Bk_swqDi.js → AppDrawerContent-V7jCH_90-Ck_yeGZ4.js} +6 -6
  16. package/dist/assets/{ApprovalRulesSettingsPage-XEW5sdNg-BK59UBGX.js → ApprovalRulesSettingsPage-BC6CLesU-BKNNkRpO.js} +1 -1
  17. package/dist/assets/{ArAgingChart-D3Ym4gVE-BPogMxt4.js → ArAgingChart-C7VtW0AI-Co8wpWo7.js} +4 -4
  18. package/dist/assets/{ArAgingDetailPage-BLEJSLJJ-DnXOhqdM.js → ArAgingDetailPage-Bttq4jQR-BeQILYq-.js} +5 -5
  19. package/dist/assets/{AttachmentView-DSP80cjm-NHnh6Mdu.js → AttachmentView-BijZrB02-BJhcTpzV.js} +1 -1
  20. package/dist/assets/{BankAccountSection-DRrNcA79-CMDsEq6F.js → BankAccountSection-De0m3zrf-DJo0ErGm.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-Ub-gsfhE-7pAzeIus.js → BankAccountWarningSection-DoqOr9h0-CysUjzfB.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-BcTtJTbg-BNbLLF3r.js → BankConnectionsSettingsPage-BaySatUW-BFaS82zx.js} +1 -1
  23. package/dist/assets/{BillDetailPage-D7AQyxwr-CyadkftM.js → BillDetailPage-Bg_3myu0-BcOsOHp0.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-BQWGENO8-OOGXr03N.js → BillPayApprovalRuleDetailPage-B7z1PKq6-D3qc7XQa.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-BbA1Nwqe-j1N_aljZ.js → BillPayApprovalRulesPage-Cj55NkSk-CVNQ2WUg.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-DSTS_vBW-BsBV0DcZ.js → BillPayPromoPage-SUtLQemf-YRwlMQqq.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-CvlVPVCA-DsATmWij.js → BillPaySetUpPage-BbIjaE2K-BvM1AO08.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-nKpHtd4C-BIkuGZHo.js → BillingSettingsPage-Bmd6ET1I-D1Hos3cN.js} +1 -1
  29. package/dist/assets/{BillsBulkReviewDrawerPage-DNHAoceL-B2Yv3rwx.js → BillsBulkReviewDrawerPage-CYSMvAbC-CCvMSRtJ.js} +1 -1
  30. package/dist/assets/{BoxItem-Bjv3WNXO-Bmh7HRZ0.js → BoxItem-B8HVRhgE-Bev68PFI.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Bj4D9bX2--QW88Q_P.js → BusinessVerificationPage-Cn1b1hk4-CAZR1TOe.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-BYY-Inxd-CSceDgF3.js → CardNumberSubText-BcJnpRxI-D1zdlj5r.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-D9UiTqp9-DPXvQZAq.js → CashbackDetailPage-BkIotpWn-DxPDsNjO.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-C5EdiIyl-AUN78atw.js → ChargeCardDetailPage-kKKhppzB-DtYb-jra.js} +21 -21
  35. package/dist/assets/{ChargeCardListPage-DZwz1qoD-DQocCvnr.js → ChargeCardListPage-CP778-GK-CTP7-db-.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-D5B05Z1F-KVV8IBYB.js → ChargeCardListTable-DBryLHST-Ce2gmrfZ.js} +1 -1
  37. package/dist/assets/ChargeCardPromoPage-D_eQ_vXf-CNDMyI7K.js +222 -0
  38. package/dist/assets/{ChargeCardSetupPage-CVV24gS9-Ds7fCLxo.js → ChargeCardSetupPage-m8dUXi38-BJz_Xnlk.js} +1 -1
  39. package/dist/assets/{ChargeCardStatementsPage-CmjBoi5e-Bnp4sCU-.js → ChargeCardStatementsPage-Dq5NpUXk-Bke0Yjm9.js} +6 -6
  40. package/dist/assets/{CheckDepositDrawerPage-CYOhT5Qz-CozIPmiJ.js → CheckDepositDrawerPage-BJQ2GSoP-CvcGnuco.js} +1 -1
  41. package/dist/assets/{CollapsableReportTable-hL_Ycouc-KGnZDH4R.js → CollapsableReportTable-l16Ixpgb-BS0sBPj9.js} +1 -1
  42. package/dist/assets/{CompanyOfficerDetailsSection-DR_6TlQa-DrGlDAaW.js → CompanyOfficerDetailsSection-mKcrRkb5-BdmL4WQb.js} +1 -1
  43. package/dist/assets/{CompanyPassportCard-B4chn7-Q-DGHVZCpU.js → CompanyPassportCard-DUwjb7jY-D94p2vYM.js} +4 -4
  44. package/dist/assets/{CompanyPassportPage-oT9HnnPQ-DNPtIA1F.js → CompanyPassportPage-mQ_Le1I1-BsfzlRNE.js} +13 -13
  45. package/dist/assets/{CompleteProfile-BgH4v76Z-HQhF1Tnv.js → CompleteProfile-CesiGAex-BxV2T4kD.js} +1 -1
  46. package/dist/assets/{ConfettiBurst-Cl6jHJ8H-BB3Ewauq.js → ConfettiBurst-CXF_94LB-B61erBlR.js} +1 -1
  47. package/dist/assets/{CreateOrEditVendorPage-CW-u7pJU-CxvgfQ3K.js → CreateOrEditVendorPage-BMVOhEEP-okcAo0FU.js} +1 -1
  48. package/dist/assets/{CreditCardPaymentDrawerPage-D30M7ol4-BfZHC7sf.js → CreditCardPaymentDrawerPage-Cl4vJBjO-BN2fXeeY.js} +1 -1
  49. package/dist/assets/{CurrencySelectField-DOCEstMc-4lvoNI5d.js → CurrencySelectField-CvnrYpdi-Bx3ura4E.js} +1 -1
  50. package/dist/assets/{CustomerOnboardingActivationPage-DMPNjFL_-DkUUUgp5.js → CustomerOnboardingActivationPage-CmengYgm-DwWvQDwP.js} +1 -1
  51. package/dist/assets/CustomerOnboardingContainerPage-CBiHoKP2-K1SzPxIX.js +1 -0
  52. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-CBYo4VQn-ClJXJPQ8.js → CustomerOnboardingDetailPageSkeleton-hF2fjE7f-Bx4vnxk_.js} +1 -1
  53. package/dist/assets/{CustomerOnboardingNoStepsPage-EBVRCYfJ-DY1xcrcE.js → CustomerOnboardingNoStepsPage-B-pbVz1_-Bu3QH6hN.js} +1 -1
  54. package/dist/assets/{CustomerOnboardingPage-TJK6s-LM-DGpejEDj.js → CustomerOnboardingPage-CUj-SOSh-DqZnrHrN.js} +4 -4
  55. package/dist/assets/{CustomerOnboardingProductSuitePage-lNIP5gSu-BpAiXbOh.js → CustomerOnboardingProductSuitePage-DLJg9lqc-B7ctGtPH.js} +1 -1
  56. package/dist/assets/{Dashboard-WiE9IRrh-BRbsM9pb.js → Dashboard-DUBT_4AU-BQQLhc7F.js} +1 -1
  57. package/dist/assets/{DashboardReportPage-BKHl_IVD-DTdIqAWm.js → DashboardReportPage-cTPn6w4q-BsaoYjkr.js} +1 -1
  58. package/dist/assets/{DashboardSidebarBackgroundAnimation-B1mJObim-BJFLo9e1.js → DashboardSidebarBackgroundAnimation--y1-phUW-DGEiib0J.js} +1 -1
  59. package/dist/assets/{DepositAccTransactionItem-C8tChaJS-CUI-XvYn.js → DepositAccTransactionItem-BJ6rNbQF-DcQ3w2ay.js} +1 -1
  60. package/dist/assets/{DepositAccTransactionListPage-B6px7upV-CAKSUpuQ.js → DepositAccTransactionListPage-BXu7yVC4-BqrqxoR4.js} +1 -1
  61. package/dist/assets/{DomesticWireDetailsPage-BFQJmzYm-Cvg6PoJI.js → DomesticWireDetailsPage-D5wDMrfR-C5cM-TE-.js} +1 -1
  62. package/dist/assets/{DownloadOverlay-DB-qx46O-DRYhMrBp.js → DownloadOverlay-BF8Uzj65-BjVIvIOE.js} +1 -1
  63. package/dist/assets/{DrawerPage-Bha9ElcW-C9kSY38Y.js → DrawerPage-4QqiD5ag-BNPe32xq.js} +1 -1
  64. package/dist/assets/{EditPeoplePage-B6QD5Vld-CXWYhfJI.js → EditPeoplePage-BFROUzlu-DwFofRms.js} +1 -1
  65. package/dist/assets/{EditReimbursementDetailPage-EplOf2mP-BmU_dNnN.js → EditReimbursementDetailPage-Bz32u6U5-D6GoDZH_.js} +1 -1
  66. package/dist/assets/EntityDetailPage-BnG_PBK5-88aNTDFS.js +18 -0
  67. package/dist/assets/{EntitySummarySection-D6z6-dM7-vFKpzYQr.js → EntitySummarySection-0nKZeBKn-BkqQH4-k.js} +1 -1
  68. package/dist/assets/{ExpenseAutomationOverviewPage-DkoxczRc-CzYr7CT4.js → ExpenseAutomationOverviewPage-Dvyn5ovf-DA904IZ7.js} +1 -1
  69. package/dist/assets/{ExpenseAutomationPage-Na3XKgcg-Wa84iqJd.js → ExpenseAutomationPage-DPmIOATd-E0cwlhE5.js} +40 -40
  70. package/dist/assets/{ExpressPayPage-DWGl_gml-CRw3YebY.js → ExpressPayPage-DGTh3qGM-CBuhnCa1.js} +1 -1
  71. package/dist/assets/{FeaturePreviewPage-BgkpUPMm-CLV_zrhe.js → FeaturePreviewPage-CHUVkqak-Bv1bUX1B.js} +1 -1
  72. package/dist/assets/{FollowStepsSection-64oy2OLD-D5wds5zX.js → FollowStepsSection-C_pWSlPc-DWF54WG6.js} +1 -1
  73. package/dist/assets/{GlobalReviewListPage-DHfTyj2C-DrMGniw6.js → GlobalReviewListPage-BjPOnObQ-CbXiHvNN.js} +1 -1
  74. package/dist/assets/{InformationCardStack-Dw3lhl2I-ClHKBDYE.js → InformationCardStack-DvFu-gjh-DGBl4kd-.js} +1 -1
  75. package/dist/assets/{InsightsCardStack-BiEswY1Z-C2XN504y.js → InsightsCardStack-CR3wSnhE-CCTCkrt4.js} +6 -6
  76. package/dist/assets/{InsightsSection-DvqCilqy-BqRQFw_O.js → InsightsSection-DCFjudcA-7O17fZbk.js} +2 -2
  77. package/dist/assets/{IntegrationsSettingsPage-DzVYf5ff-BEtTe2lB.js → IntegrationsSettingsPage-DpPc99qg-BuRPrwyt.js} +1 -1
  78. package/dist/assets/{InternationalWireSwiftDetailsPage-DTHcuQsH-Uu1Wdthf.js → InternationalWireSwiftDetailsPage-xXEk6Ubv-DgeDkVIK.js} +4 -4
  79. package/dist/assets/{InternationalWireVerificationPage-BzyRqd-m-gNDPMl13.js → InternationalWireVerificationPage-uh0GqYQA-9ZEgxwG_.js} +5 -5
  80. package/dist/assets/{InviteFormPage-CaJB3ss1-Dj_gKJs9.js → InviteFormPage-5xqk5ISe-Bbb5YAD8.js} +1 -1
  81. package/dist/assets/{InvitePageListView-8Ltt8tHx-DYbENij5.js → InvitePageListView-CpmTnQLj-CTufHHPe.js} +1 -1
  82. package/dist/assets/{InvitePeoplePage-A7oKAD7M-C5bAVAcX.js → InvitePeoplePage-BeCWfFpI-DBINJPSA.js} +1 -1
  83. package/dist/assets/{InvoiceUploadSection-DomquLut-CTyd6fPs.js → InvoiceUploadSection-BvaKEakI-Cgqd0lG_.js} +1 -1
  84. package/dist/assets/{IssueChargeCardPage-DtIQ1Buk-BLXlwWiG.js → IssueChargeCardPage-Bomvo_PH-CiqvhZJZ.js} +1 -1
  85. package/dist/assets/{LabeledAddressValue-B_9lh-_a-B95nYnAc.js → LabeledAddressValue-b4zlBP-g-DPs_zAUA.js} +1 -1
  86. package/dist/assets/{LabeledAddressValueField-CC7T3qZQ-LVQIjlS2.js → LabeledAddressValueField-DpcuqwLy-CTnD7CIG.js} +1 -1
  87. package/dist/assets/{LabeledControlledCheckBoxField-CeMM7Ci3-Clti8s6a.js → LabeledControlledCheckBoxField-BTjbeJMZ-ByFU_udW.js} +1 -1
  88. package/dist/assets/{LabeledCreatableSingleSelectField-DKD0oEl8-rzHX0Cjw.js → LabeledCreatableSingleSelectField-D_oWjB4_-A2URoXC_.js} +1 -1
  89. package/dist/assets/{LabeledDocumentField-Dy3jwAiL-CjVSpNoY.js → LabeledDocumentField-dtnakMLl-DM4CLrZI.js} +1 -1
  90. package/dist/assets/{LabeledDropDownFormattedTextField-DDzM3r6s-DIS19Wrm.js → LabeledDropDownFormattedTextField-DDtxGo1u-9ainO5Wl.js} +1 -1
  91. package/dist/assets/{LabeledText-axaAGyUS-Cc0biyMh.js → LabeledText-CUs3VIof-3boaO8Y1.js} +1 -1
  92. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-B4usNbPq.js → LabeledUserSingleSelectWithSubtitlesField-BusH2qnZ-GKSXWTga.js} +1 -1
  93. package/dist/assets/{LabeledZeniRolesDropDownField-dpz7g9jK-BGB3Jdty.js → LabeledZeniRolesDropDownField-DYkmOsOP-Dg0kuJ4H.js} +1 -1
  94. package/dist/assets/{LinkJETransactionPage-CJniqVcu-Dl5Jaq82.js → LinkJETransactionPage-DbP6jfzn-BtGeDf5_.js} +2 -2
  95. package/dist/assets/{LockCardPage-CjO8cr2a-C0ag-VRe.js → LockCardPage-CWEZyzEM-Bg4PM8JQ.js} +1 -1
  96. package/dist/assets/{LowBalancePopup-DVS-w3b7-C64DlvyA.js → LowBalancePopup-BQ9JPBTS-DRn4mn9-.js} +1 -1
  97. package/dist/assets/MagicLinkACHDetailsPage-CKoTuvNz-BHd5xcLb.js +1 -0
  98. package/dist/assets/MagicLinkDomesticWireDetailsPage-Di5hHI_D-C4fzv92i.js +1 -0
  99. package/dist/assets/MagicLinkInternationalWireDetailsPage-B2izwKNk-B8pTw_O-.js +1 -0
  100. package/dist/assets/{MagicLinkSuccessPage-DAAoq3iT-Cb7vsYv6.js → MagicLinkSuccessPage-DU1RM5NI-Wq9yOHXi.js} +1 -1
  101. package/dist/assets/{MagicLinkTitleSection-FMRBLlRJ-D1rSc1wL.js → MagicLinkTitleSection-RWEjrx8m-CX8Fw-B8.js} +1 -1
  102. package/dist/assets/{MailingDetailsSection-CiJ5JLA6-CVbfqxKr.js → MailingDetailsSection-BT3SGHhD-Ctkbx47B.js} +5 -5
  103. package/dist/assets/{Menu-wpP8R1br-CDR69j-M.js → Menu-BTZYMOTT-CKMXXApd.js} +1 -1
  104. package/dist/assets/{MyBankConnectionsSettingsPage-DIIFgnkE-CT2Ewuup.js → MyBankConnectionsSettingsPage-DufaL9n8-M4dyrfVV.js} +1 -1
  105. package/dist/assets/{MyPendingActivationChargeCardListPage-Di_KYRgS-BFvuAnPu.js → MyPendingActivationChargeCardListPage-DwCUyRec-SM92wYsw.js} +1 -1
  106. package/dist/assets/{MyProfileSettingsPage-m6vaeGgZ-Cx8XMhhr.js → MyProfileSettingsPage-geduKqxy-CauaXJ2g.js} +1 -1
  107. package/dist/assets/{NavBarWithPicker-C_qO8mgD-geTPzVGH.js → NavBarWithPicker-edkm8kW--DTJVRU93.js} +1 -1
  108. package/dist/assets/{NavigationArrow-BXYIj6Wz-DxylPz8_.js → NavigationArrow-DAOz2wst-CzpVYMv0.js} +1 -1
  109. package/dist/assets/{NavigationDots-BvKSgdgh-DnL6Qcxw.js → NavigationDots-Dm8SYcdL-CXSz5QAZ.js} +1 -1
  110. package/dist/assets/{NewGlobalMerchantPage-Dc3xEoiZ-DJJCwQJu.js → NewGlobalMerchantPage-enaZFSVb-D5ALf38h.js} +1 -1
  111. package/dist/assets/{NoDataChart-C5ZP32zB-Do8u5LpV.js → NoDataChart-BIcLmdso-V1__FO4W.js} +1 -1
  112. package/dist/assets/{NoDataTable-BnBYE8p_-CJWClG-R.js → NoDataTable-C9ywvwy4-CbJRpj1w.js} +1 -1
  113. package/dist/assets/{NotFoundPage-CZ25GWwU-D5LCq84E.js → NotFoundPage-B0Pfc4vD-0nVsRFSV.js} +4 -4
  114. package/dist/assets/{NotificationSettingsPage-DHvgj7Hu-CCcN1KXB.js → NotificationSettingsPage-Di4KhoPI-Zq8167Bo.js} +1 -1
  115. package/dist/assets/{NotificationsListConfig-BBLSv0sd-BGRRXCpg.js → NotificationsListConfig-CHb7phwi-CuAMA5zK.js} +1 -1
  116. package/dist/assets/{NotificationsPage-CGVEC-Zc-B9yt_ti_.js → NotificationsPage-B4KMZZ0V-CdnEBa77.js} +1 -1
  117. package/dist/assets/{OpExByVendorPage-D55JZne--B9z73Aaj.js → OpExByVendorPage-CAxLWg7x-CVAp3gyR.js} +1 -1
  118. package/dist/assets/{OverlayContainerPage-Daz3A7cI-BlqK5Szj.js → OverlayContainerPage-Daz3A7cI-C0naTs3U.js} +1 -1
  119. package/dist/assets/{PandLWithForecastPage-fVmttEKP-B3eSa_ac.js → PandLWithForecastPage-Dx56-ypM-CahTbCAI.js} +1 -1
  120. package/dist/assets/{PaymentAccountSetupBillingAddressSection-BiU8tQnm-c1f9nhzK.js → PaymentAccountSetupBillingAddressSection-C8QwChEK-DSZP0_gt.js} +1 -1
  121. package/dist/assets/{PeoplePage-QuuuX2AS-CP4Oiarf.js → PeoplePage-CjD6uKA--DQJyasjD.js} +1 -1
  122. package/dist/assets/{Preview-D_TLok3M.js → Preview-BXKaaVKN.js} +1 -1
  123. package/dist/assets/{ProductsCarousel-zdZkfaiY-BAVEH7n3.js → ProductsCarousel-DzOaqLVq-BtBP3iUE.js} +1 -1
  124. package/dist/assets/{PromoBaseCards-flFtcbIg-jrIM0QrX.js → PromoBaseCards-B1h9AEH0-CHWZv_Gb.js} +1 -1
  125. package/dist/assets/{QBOConnectionDialog-DNB2C1vQ-BnuZQtJT.js → QBOConnectionDialog-Bv6unk3C-C69fuiCc.js} +1 -1
  126. package/dist/assets/{QBOSetupSection-B59etoGz-CvnIV44k.js → QBOSetupSection-BTjj7g98-CXsc6nTM.js} +1 -1
  127. package/dist/assets/{ReimbursementApprovalRuleDetailPage-D7do3o0A-B3uF2PpS.js → ReimbursementApprovalRuleDetailPage-CHXo51lU-BT66bgjF.js} +1 -1
  128. package/dist/assets/{ReimbursementApprovalRulesPage-BJ6GewQ2-CI_WNFN9.js → ReimbursementApprovalRulesPage-D7utb8vM-BSv0WO21.js} +1 -1
  129. package/dist/assets/{ReimbursementDetailPage-DKAtYSOy-BYwReov9.js → ReimbursementDetailPage-DnXsG55s-DO7QVibn.js} +1 -1
  130. package/dist/assets/{ReimbursementPromoPage-DKcSHlHp-BOhDSZIX.js → ReimbursementPromoPage-Di39wgvD-CwoSxp24.js} +1 -1
  131. package/dist/assets/{ReimbursementSetUpPage-Y1e_hna--CnJCcZRF.js → ReimbursementSetUpPage-CT5bs4wM-CImglJgz.js} +1 -1
  132. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-fgz8s4w9-CAzDstkl.js → ReimbursementsBulkReviewDrawerPage-BcB8hTar-D2swNEDZ.js} +1 -1
  133. package/dist/assets/{ReloadCard-DjtdPHq5-CgzPEC_D.js → ReloadCard-BGPtXAV7-D43T0ICm.js} +1 -1
  134. package/dist/assets/{ReportTableViewSelector-C8e6IEWt-D27pdQgl.js → ReportTableViewSelector-gEKTiiSk-DFp8GlM2.js} +1 -1
  135. package/dist/assets/{ReportsPage-BIe0eDLC-Co8P-rdS.js → ReportsPage-Ctvnzlk1-DLJ23fuU.js} +1 -1
  136. package/dist/assets/{RevenueChart-Cc0XrxLL-DRL5_7kK.js → RevenueChart-D1PfVLk0-DHVFjjTE.js} +14 -14
  137. package/dist/assets/{ReviewDetailsPage-CU1AYWgR-IcGqiZda.js → ReviewDetailsPage-Ynw6pln--BjtdFL4i.js} +52 -52
  138. package/dist/assets/{ReviewOverlay-CruJ9O84-CthGk06w.js → ReviewOverlay-DQZwNpFY-DMkxDhbs.js} +1 -1
  139. package/dist/assets/{RoleWithToolTip-fC3byzzv-BDZeG5VC.js → RoleWithToolTip-DbQ4ezrP-Dd2VpMcB.js} +1 -1
  140. package/dist/assets/{ScheduleDetailsFixedAssetsPage-CE3tUYhk-DcGdGX8N.js → ScheduleDetailsFixedAssetsPage-DlqQBt-s-drLmv8lF.js} +3 -3
  141. package/dist/assets/{ScheduleDetailsPage-BhAqJ1Of-s9CD1J6-.js → ScheduleDetailsPage-CrVetPy7-CWE6_gjF.js} +3 -3
  142. package/dist/assets/{ScheduleSequenceTable-NSt1juSD-C3Jz7484.js → ScheduleSequenceTable-B7pQ00z8-CEVjTUeV.js} +1 -1
  143. package/dist/assets/{ScreenRoutes-DBIBtKZ6.js → ScreenRoutes-Sl9iaV1P.js} +1 -1
  144. package/dist/assets/{SetUpAccountSection-C1EnJv1V-ZQCPg01L.js → SetUpAccountSection-BAsI7p1f-Dy9q8TNa.js} +1 -1
  145. package/dist/assets/{SignIn-BhIof_Cm-C6zVZKL4.js → SignIn-CE6gxhI3-CtZacIY2.js} +1 -1
  146. package/dist/assets/{SignInScreen-C_Uhm3dv.js → SignInScreen-BTo7-KSm.js} +1 -1
  147. package/dist/assets/{SpendManagementListViewPage-BEWNNX_Z-CFLCn2A9.js → SpendManagementListViewPage-CURCimXb-CsGfTOO_.js} +3 -3
  148. package/dist/assets/{SpendManagementPerTabPage-Vs1Eoxgd-Cf5o66Fk.js → SpendManagementPerTabPage-RY3B-92H-DYTGBiT6.js} +1 -1
  149. package/dist/assets/{SpendManagementSection-C38Zpi1z-Dsmd6P_g.js → SpendManagementSection-rHLuZG8_-UxYLxpbV.js} +1 -1
  150. package/dist/assets/StatementItem-DcPGZchp-CZE_bKaq.js +31 -0
  151. package/dist/assets/{StatementsPage-CGQhmaXx-DwbHPW5v.js → StatementsPage-5oimgNHp-D8qK05-P.js} +1 -1
  152. package/dist/assets/{StatusSwitcher-7fiKLb5g-CZU0SQgq.js → StatusSwitcher-CLCkXs_4-DhXpfaBL.js} +1 -1
  153. package/dist/assets/{SubTabSwitcher-9AnfZiNy-D-dNVqVx.js → SubTabSwitcher-DDR7LrDO-DpWQK8Dj.js} +1 -1
  154. package/dist/assets/{SummaryCard-DOycYLs1-CcLAM0vu.js → SummaryCard-Cg5UVud3-DPRQua4j.js} +1 -1
  155. package/dist/assets/{TaskManagementPage-CehyMnY0--Bl4WZC5.js → TaskManagementPage-6_zt2ePp-BeO6Q35e.js} +1 -1
  156. package/dist/assets/{TimeRangeSwitcher-Dq2FEgFR-BrHVvGr5.js → TimeRangeSwitcher-BTx3d66N-DkQSngDA.js} +11 -11
  157. package/dist/assets/{TimeframeSwitcher-By3xz_-m-B76KUVWR.js → TimeframeSwitcher-BkGiMDhd-Dhql0xBj.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcherWithToggle-a3fmbzNR-D8G4gF3d.js → TimeframeSwitcherWithToggle-M554ai9V-DeR389hA.js} +2 -2
  159. package/dist/assets/{TopExCard-GEQpp_KY-Bz5Gd491.js → TopExCard-ym2uAvUy-DkU_w9K-.js} +10 -10
  160. package/dist/assets/{TopExDetailPage-hid1dQYl-C5_fcQmG.js → TopExDetailPage-DU1Qj5ea-DhOfzSmR.js} +6 -6
  161. package/dist/assets/{TransactionDetailPage-CX4JW9WM-DYs-BV31.js → TransactionDetailPage-BHyBhrM7-B3UILKwv.js} +1 -1
  162. package/dist/assets/{TransactionList-BixeXh4Y-B3OYF6Sn.js → TransactionList-CIbSavhJ-Dp71olkE.js} +1 -1
  163. package/dist/assets/{TransactionListBig-CGMMJQBd-CXR48MLA.js → TransactionListBig-kC4b3DAu-DjTE72OH.js} +1 -1
  164. package/dist/assets/{TransactionListPage-CBVUTX4y-CQdaAKjd.js → TransactionListPage-Ci98GcF7-ClRcNxWS.js} +2 -2
  165. package/dist/assets/{TransactionVendorDetailPage-CEbHH_0r-vT8FzjZr.js → TransactionVendorDetailPage-DI4kq_vO-D-o6bFok.js} +1 -1
  166. package/dist/assets/{TransferDrawerPage-BFd7uQnF-B6ZHCjZH.js → TransferDrawerPage-B342yNDJ-CsWgYoId.js} +11 -11
  167. package/dist/assets/{TreasuryOverviewPage-Bd58hOy8-BeIWSrWu.js → TreasuryOverviewPage-cvOuWLTK-CefWRHUR.js} +1 -1
  168. package/dist/assets/{TreasuryPromoPage-BvArufHi-kFf30IGj.js → TreasuryPromoPage-DyseS2l1-PYUqYVga.js} +1 -1
  169. package/dist/assets/{TreasuryStatementsPage-YLCEBbRh-Dpp3Gav5.js → TreasuryStatementsPage-rXMNPd2f-B8HSB6xE.js} +2 -2
  170. package/dist/assets/{TreasuryTaxLetterPage-D_6mgQqi-BRpp1Gq1.js → TreasuryTaxLetterPage-DjV36uFi-ebsJYDfS.js} +2 -2
  171. package/dist/assets/{TrendChart-D3dT6hUb-GtZ1tY2K.js → TrendChart--yie2Xkp-B3lZJMT5.js} +2 -2
  172. package/dist/assets/{TrendWithTransactions-Gj-u5KXi-D0ELOp4D.js → TrendWithTransactions-DVLdmgtU-Cv22_4bm.js} +1 -1
  173. package/dist/assets/{UncategorizedAccountsMappingPage-B3eRYolj-CUrl4fmj.js → UncategorizedAccountsMappingPage-CRypWMwQ-DzPLYLFI.js} +1 -1
  174. package/dist/assets/{UnitIntegrationPage-DpjR9hUu-DOy-W4YU.js → UnitIntegrationPage-DU6Luklp-CVEu7KVf.js} +1 -1
  175. package/dist/assets/{UploadAdditionalDocumentOverlay-COtszXUY-BSxnizaf.js → UploadAdditionalDocumentOverlay-jNiTn6qG-D_tolxLp.js} +1 -1
  176. package/dist/assets/{Vendor2FAPopup-C85mhuSb-v2ALiduK.js → Vendor2FAPopup-BNA3GtkO-ClfV14L3.js} +1 -1
  177. package/dist/assets/VendorACHDetailsPage-B9UpKcN3-BTioFEDj.js +1 -0
  178. package/dist/assets/{VendorDetailPage-BrbKfsL4-DkNK_QUR.js → VendorDetailPage-B6s7kOX--Cl8uI1J2.js} +1 -1
  179. package/dist/assets/VendorDomesticWireDetailsPage-CVJAmjuC-DlG2tDpP.js +1 -0
  180. package/dist/assets/{VendorFiling1099EditablePage-DgBLn3fd-DKTdq1Yw.js → VendorFiling1099EditablePage-DiVBfWTv-CQg0-jaT.js} +32 -32
  181. package/dist/assets/{VendorFirstReviewPage-jc7-OExI-DBNwDkiX.js → VendorFirstReviewPage-CuM6lK63-QOnJj4dm.js} +1 -1
  182. package/dist/assets/{VendorInternationalWireDetailsPage-c6isgwH2-DbMqD1iI.js → VendorInternationalWireDetailsPage-CcTippeu-CFZ4Mir_.js} +1 -1
  183. package/dist/assets/VendorInternationalWireSwiftDetailsPage-8u1L-aEg-CW6R8j3k.js +1 -0
  184. package/dist/assets/{VendorsAccountsSection--VfdAF3H-Dwh8lTfL.js → VendorsAccountsSection-zeM6PeT4-zwdhVM2D.js} +1 -1
  185. package/dist/assets/{VerifyDevice-CaifjdR8-hQw81mgW.js → VerifyDevice-iKowLq-3-BWk2f90N.js} +7 -7
  186. package/dist/assets/{VideoPlayer-BVR9LPmm-BPKR0CVm.js → VideoPlayer-CN28Ho6V-t5x8EBh8.js} +2 -2
  187. package/dist/assets/{VideoPopup-BEXc8o78-DmUVjFrn.js → VideoPopup-CfYmxIk4-BV_-FDHV.js} +5 -5
  188. package/dist/assets/{WarningsDrawerPage-CboqfxzC-B_2_qTb0.js → WarningsDrawerPage-C4jqovLJ-DvCRmdFF.js} +1 -1
  189. package/dist/assets/{ZeniAccountDetailPage-Dujj0-XC-HYkgSOiQ.js → ZeniAccountDetailPage-M045ginI-CIh86zMI.js} +1 -1
  190. package/dist/assets/{ZeniAccountListViewPage--SMJDGvC-Btg2muaP.js → ZeniAccountListViewPage-C-eOjorO-Dort1_5m.js} +1 -1
  191. package/dist/assets/{ZeniAccountNavBarPieces-DqLJVQ5t-C4g1RQLG.js → ZeniAccountNavBarPieces-Dz9ssqU1-7L41-5ss.js} +1 -1
  192. package/dist/assets/{ZeniAccountPromoPage-BVjJvWsA-sAZjUafk.js → ZeniAccountPromoPage-BxzNy8wF-ClpXMz8i.js} +1 -1
  193. package/dist/assets/{ZeniAccountSetupPage-Dvxst8RT-5nGhP63I.js → ZeniAccountSetupPage-zWKttj2U-Co7Yvnyy.js} +1 -1
  194. package/dist/assets/{ZeniCopyright-B88k3pkr-CUJygJ3_.js → ZeniCopyright-2oeOVh0P-DJaD_9oR.js} +1 -1
  195. package/dist/assets/{ZeniTransferAmountSlider-1DS0MsTI-BwSRPkS3.js → ZeniTransferAmountSlider-BADEO33A-DpMPk5Vb.js} +1 -1
  196. package/dist/assets/{add-to-wallet-DgdBD8_G-D178ysGy.js → add-to-wallet-DgdBD8_G-eMWALCp1.js} +1 -1
  197. package/dist/assets/{analytics-D090O6Wm.js → analytics-DCCTWnnc.js} +1 -1
  198. package/dist/assets/{analyticsHelper-DmujELNG-CrbXJy3Z.js → analyticsHelper-C2XPB_2A-DuJwOZQc.js} +1 -1
  199. package/dist/assets/{analyticsHelper-B61dxdoT.js → analyticsHelper-DnU5BAvo.js} +1 -1
  200. package/dist/assets/{arrow-south-east-round-PEovUgvH-Ccxih1KW.js → arrow-south-east-round-PEovUgvH-9nM57KjQ.js} +1 -1
  201. package/dist/assets/{auto-transfer-rule-mbafm5D3-CaIDNTCx.js → auto-transfer-rule-mbafm5D3-DeA5cpdU.js} +1 -1
  202. package/dist/assets/{chartTypes-DRiSljvE-KVeUuxz9.js → chartTypes-PZyiFZrr-DoI-jL6q.js} +1 -1
  203. package/dist/assets/{commonDimensions-BDftm0gJ-7gU1w9kj.js → commonDimensions-C_y3LIE8-X_N9ThEv.js} +1 -1
  204. package/dist/assets/{constants-B1WOPvRN.js → constants-COrMNehl.js} +1 -1
  205. package/dist/assets/{core-BCGhSsNP.js → core-D2k9JfRf.js} +1 -1
  206. package/dist/assets/{dash.all.min-DQU9jzwW.js → dash.all.min-wMAz1qMX.js} +1 -1
  207. package/dist/assets/{detailCommon-BGgE4mE3-BxBAHehG.js → detailCommon-PTd6DPpO-o02U7S0B.js} +1 -1
  208. package/dist/assets/{downloadPdf-DCQ9vVZs-C44J_DaT.js → downloadPdf-BdoS2D6l-B5cqxKI-.js} +1 -1
  209. package/dist/assets/{empty-Db_Oj0CQ.js → empty-D-w6ZnHI.js} +1 -1
  210. package/dist/assets/{empty-BFpyIT14.js → empty-D0VEAoJw.js} +1 -1
  211. package/dist/assets/{epic-BhAddVo8.js → epic-ClwVDlVx.js} +2 -2
  212. package/dist/assets/{gift-box-Cmt9OgIZ-BVmGGIyo.js → gift-box-Cmt9OgIZ-D29dLASa.js} +1 -1
  213. package/dist/assets/{graphic-no-data-l-DU4J8fDt-BUSuwQOu.js → graphic-no-data-l-DU4J8fDt-C5a4mTsI.js} +1 -1
  214. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-9rVTKZNa.js → graphic-no-data-net-burn-l-CzmycA0m-DMABn47o.js} +1 -1
  215. package/dist/assets/{handshake-BPg58FML-DBfm_e1t.js → handshake-BPg58FML-CY1iZII1.js} +1 -1
  216. package/dist/assets/{index-DOvOS8E_.js → index-BDimSyBu.js} +1 -1
  217. package/dist/assets/{index-CrL4860P.js → index-BNglrSQW.js} +1 -1
  218. package/dist/assets/{index-BpEXgtW2.js → index-BeaEqEWK.js} +1 -1
  219. package/dist/assets/{index-DT-oXxhz.js → index-Byk1BTgy.js} +1 -1
  220. package/dist/assets/{index-RjyLdqZN.js → index-CCUQyVRy.js} +1 -1
  221. package/dist/assets/{index-DiLAcdW6.js → index-CK2D3iZ1.js} +559 -559
  222. package/dist/assets/{index-DuKH4leN.js → index-n5uJZ9k2.js} +1 -1
  223. package/dist/assets/{lexical-CtZYfzDm.js → lexical-BEs89iUy.js} +1 -1
  224. package/dist/assets/{liveblocks-DjrSQGDL.js → liveblocks-CofSwFWW.js} +1 -1
  225. package/dist/assets/{lottie-QlMyEFez.js → lottie-BO8FHl2Q.js} +1 -1
  226. package/dist/assets/mapLoadingInProgressToTreeNode-CUy8c_Sm-CvM45xH7.js +1 -0
  227. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-BZSP-VcP-pi8H7S4r.js → mapSectionWithAcOnlyToTreeNode-C6gW1Rqr-Dv2Q5ZLA.js} +1 -1
  228. package/dist/assets/mapSpacerToTreeNode-DqR98mLo-CGAj6TpO.js +1 -0
  229. package/dist/assets/mapTimeframeBalancesToTreeNode-BIGZRHHI-DtvbK4iE.js +1 -0
  230. package/dist/assets/mapTimeframeBalancesToTreeNode-BooGIyls-Ct92rF5c.js +1 -0
  231. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BmDRXfMV-BOxorP0k.js → mapTimeframeHeaderLoadingInProgressToTreeNode-lSB04gFW-CRpECfjU.js} +1 -1
  232. package/dist/assets/{mui-8xKzSljO.js → mui-DCr-y2iU.js} +1 -1
  233. package/dist/assets/{page-detail-CWX5S47F-DjAUkIIu.js → page-detail-CWX5S47F-DDARVgTr.js} +1 -1
  234. package/dist/assets/{radio-default-CiSgisfh-DioVIMbJ.js → radio-default-CiSgisfh-DO_kFVBk.js} +1 -1
  235. package/dist/assets/{react-euUD_2CS.js → react-BGUULhAS.js} +1 -1
  236. package/dist/assets/{react-CQVfZdRf.js → react-BgpCchG_.js} +1 -1
  237. package/dist/assets/{react-DEufTa0Y.js → react-CEdfmx42.js} +1 -1
  238. package/dist/assets/{react-C26MaKuf.js → react-CFfs9kVE.js} +1 -1
  239. package/dist/assets/{react-1fNkcXJk.js → react-DFeqXhsB.js} +1 -1
  240. package/dist/assets/{react-BpMq70Jz.js → react-DgBRIATV.js} +1 -1
  241. package/dist/assets/{react-CvSzLYZW.js → react-UyoSCzBu.js} +1 -1
  242. package/dist/assets/{react-5bc96E7k.js → react-j6fq6Sto.js} +2 -2
  243. package/dist/assets/{recharts-BnXj3KRI.js → recharts-CIKvFUT6.js} +1 -1
  244. package/dist/assets/{sentry-C9BQzslk.js → sentry-Dm3bm_ok.js} +1 -1
  245. package/dist/assets/{shield-DOlUxcFf-DfgTXsyM.js → shield-DOlUxcFf-BEm6OgBB.js} +1 -1
  246. package/dist/assets/toCOABalancesWithID-CPbzhUua-B5GAWKcP.js +1 -0
  247. package/dist/assets/{toChartData-CavJzP6f-mDvgzvAS.js → toChartData-BUhYY9IR-S8AOthKK.js} +1 -1
  248. package/dist/assets/{transaction-placeholder-CpOwZAMG-DvtWJS0D.js → transaction-placeholder-CpOwZAMG-gpUqGjUj.js} +1 -1
  249. package/dist/assets/{uploadAttachment-BuVCsq0Q-BXyqcwpJ.js → uploadAttachment-D-Lomshq-0SKv4D0e.js} +1 -1
  250. package/dist/assets/{uploadReceipts-CPw64UYa-6mvBw6sd.js → uploadReceipts-CPw64UYa-BEcpM53g.js} +1 -1
  251. package/dist/assets/{url-MazUlenF.js → url-BXpa7lO3.js} +1 -1
  252. package/dist/assets/{url-WfClTpIP.js → url-D9ndU82p.js} +1 -1
  253. package/dist/assets/{useLongPress-GCK2COYQ-DGIP6WpU.js → useLongPress-GCK2COYQ-DzUxHAZU.js} +1 -1
  254. package/dist/assets/{usp-line-BBd1wKwW-CVrOUZlu.js → usp-line-BBd1wKwW-Cow5FZNy.js} +1 -1
  255. package/dist/assets/{utils-zYB6z_it.js → utils-CVsOBiWJ.js} +1 -1
  256. package/dist/assets/{zeni-epic-state-D9zDRHOK.js → zeni-epic-state-Cgro3mH-.js} +3 -3
  257. package/dist/index.html +1 -1
  258. package/package.json +4 -4
  259. package/dist/assets/AccountInfoPage-DfT5DDiZ-C6JypXdj.js +0 -18
  260. package/dist/assets/ChargeCardPromoPage-CDJMtGJb-CfzRbvfn.js +0 -222
  261. package/dist/assets/CustomerOnboardingContainerPage-SmOFmXBW-uE3RBeY3.js +0 -1
  262. package/dist/assets/EntityDetailPage-5Cu1qehd-BG4F09T2.js +0 -18
  263. package/dist/assets/MagicLinkACHDetailsPage-CUHMKmcj-CDVrvkUd.js +0 -1
  264. package/dist/assets/MagicLinkDomesticWireDetailsPage-Dnc7OzKQ-ERup-38k.js +0 -1
  265. package/dist/assets/MagicLinkInternationalWireDetailsPage-sBpQkYwP-BL-YDn8G.js +0 -1
  266. package/dist/assets/StatementItem-bHInVThd-3mxzzZ3o.js +0 -31
  267. package/dist/assets/VendorACHDetailsPage-DeexeWpV-BolgC0Rd.js +0 -1
  268. package/dist/assets/VendorDomesticWireDetailsPage-DBChSKlR-Dcclrfxp.js +0 -1
  269. package/dist/assets/VendorInternationalWireSwiftDetailsPage-CywCx8-0-5iEWkr3D.js +0 -1
  270. package/dist/assets/mapLoadingInProgressToTreeNode-CXP8ZZTG-BXCQJqNa.js +0 -1
  271. package/dist/assets/mapSpacerToTreeNode-Bc1S_1ej-D9C0qen1.js +0 -1
  272. package/dist/assets/mapTimeframeBalancesToTreeNode-ClgcHX26-BBz0h3vn.js +0 -1
  273. package/dist/assets/mapTimeframeBalancesToTreeNode-Cwp98PMa-Dp0xx8od.js +0 -1
  274. package/dist/assets/toCOABalancesWithID--oEGymMJ-CPBCh8hJ.js +0 -1
@@ -1,4 +1,4 @@
1
- import{q as Y,fO as H,d as ee,a8 as te,c as f,V as d,gJ as le,ab as ne,aM as oe,aO as se,o as re,y as k,cx as j,fR as q,fS as A,fT as V,F as ie,D as ae}from"./index-DiLAcdW6.js";import{a as w}from"./sentry-C9BQzslk.js";import{n as N}from"./mui-8xKzSljO.js";import{Fv as de,bg as ce}from"./zeni-epic-state-D9zDRHOK.js";import{f as ue}from"./AllUserItems-CVZZU-J3-DjzFcOA-.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";import"./LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-B4usNbPq.js";import"./RoleWithToolTip-fC3byzzv-BDZeG5VC.js";import"./LabeledZeniRolesDropDownField-dpz7g9jK-BGB3Jdty.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]="6307d084-fe3d-4855-8ff1-d95de7953e90",e._sentryDebugIdIdentifier="sentry-dbid-6307d084-fe3d-4855-8ff1-d95de7953e90")}catch{}})();const S={containerPaddingLeft:new k(f[3],f[6],f[8]),containerPaddingRight:new k(f[3],f[6],f[8]),buttonWidth:new k(85,85)},G="editPeoplePage",I="userItems",p=ie.getLocalizedStrings().peoplePage,Pe=({peopleDetails:e,managersList:t,classList:g,controllersList:D,mode:o,isZeniTenant:O,onPeopleLocalDataUpdated:T,onCloseClick:C,onSaveClick:r,isReimbursementDisabled:$,isZeniAccountsDisabled:s,isChargeCardDisabled:z,isTreasuryDisabled:E,isBankingOnlyTenant:R,isCardsOnlyTenant:x,isLiteRoleDisabled:U})=>{const c=Y(),[Q,W]=w.useState(-1),[Z,P]=w.useState(""),B=w.useRef(null),L=w.useMemo(()=>H($,s,z,R,x,U,E),[$,s,z,R,x,U,E]),F=ee(),i=te({mode:"onBlur",reValidateMode:"onChange",defaultValues:M(e.people,o,L,t,g,R,x),values:M(e.people,o,L,t,g,R,x)}),J=i.handleSubmit(()=>{K()?r():console.warn("Invite People form error")}),K=()=>{const l=i.getValues();let n=!0;return l.userItems.forEach((v,_)=>{const{role:a,nonZeniRole:y,department:u,manager:m}=v;if(o==="zeni_only")a?.selectedOptions==null&&(i.setError(`${I}.${_}.role`,{type:"required"}),n=!1);else{const b=y?.userRole.selectedRole;(b!=null&&y!=null?y.productsByUserRole[b].map(h=>h.selectedOption).filter(h=>h!=null):[]).length<1&&(i.setError(`${I}.${_}.nonZeniRole.userRole.selectedRole`,{type:"required"}),n=!1),u?.selectedOption==null&&b!=="investor_or_banker"&&!R&&!x&&(i.setError(`${I}.${_}.department`,{type:"required"}),n=!1),m?.selectedUser==null&&b!=="investor_or_banker"&&(i.setError(`${I}.${_}.manager`,{type:"required"}),n=!1)}}),n},X=async(l,n)=>{const v=[],{userItems:_}=n;_.forEach(a=>{let y={};if(o==="zeni_only")y={email:a.email,role:[a.role?.selectedOptions]};else{const u=a.nonZeniRole?.userRole.selectedRole;let m=[];u==="admin"||u==="investor_or_banker"?m.push(u):m=u!=null?(a.nonZeniRole?.productsByUserRole[u]??[]).map(h=>de(h.selectedOption?.value)).filter(h=>h!=null):[],u==="employee"&&m.length===0&&(m=["reimbursements_user"]);const b=ce(m);y={email:a.email,role:m,departmentId:b?void 0:a.department?.selectedOption?.value,managerId:b?void 0:a.manager?.selectedUser}}v.push(y)}),T(v)};return w.useEffect(()=>{const l=i.watch((n,{name:v})=>{v!=null&&n!=null&&X(v,n)});return()=>{l.unsubscribe()}}),w.useEffect(()=>{const l=B.current,n=()=>{c!=="small"&&(l&&l?.scrollTop>f[9]?P(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):P(""))};return c==="small"?P(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):l&&l?.scrollTop<=f[9]&&P(""),l&&l.addEventListener("scroll",n),()=>{l&&l.removeEventListener("scroll",n)}},[o,Z,c]),d.jsxs(d.Fragment,{children:[d.jsx(le,{title:Z,backgroundColor:F.colors.grey4,style:{zIndex:4},onCloseClick:C,isTitleAlignLeft:c==="small"}),d.jsxs(me,{"data-testid":oe("invite-people-container"),windowSize:c,ref:B,children:[c!=="small"?d.jsx(pe,{children:o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title}):null,d.jsx(ne,{...i,children:d.jsx("form",{id:`${G}_form`,onSubmit:J,children:d.jsx(ue,{control:i.control,sectionId:I,deleteConfirmationIndex:Q,updateDeleteConfirmationIndex:W,mode:o,isZeniTenant:O,classList:g,managersList:t,controllersList:D,isBankingOnlyTenant:R,isCardsOnlyTenant:x,customerRoleOptions:L,isEdit:!1})})})]}),d.jsx(se,{formId:`${G}_form`,primaryBtn:{label:p.invitePage.invite,style:{width:S.buttonWidth.value(c)},isLoading:e.invitePersonState.fetchState==="In-Progress",isDisabled:e.invitePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:p.invitePage.cancel,style:{width:S.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:C},separatorStyle:{marginRight:re.sp4}})]})},M=(e,t,g,D,o,O,T)=>{const C=[{userIndex:0,email:[],role:t==="zeni_only"?{allOptions:j.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:e[0]?.role.length>0?V(e[0].role):void 0,allRootRole:A(O,T)},productsByUserRole:q(e[0]?.role??[],g)}:void 0,department:void 0,manager:void 0}];return{[I]:e.length>0?e.map((r,$)=>({userIndex:$,email:r.email,role:t==="zeni_only"?{allOptions:j.roles,selectedOptions:r.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:r.role.length>0?V(r.role):void 0,allRootRole:A(O,T)},productsByUserRole:q(r.role,g)}:void 0,department:{allOptions:o.map(s=>({label:s.fullyQualifiedAccountingClassName??"",value:s.classId,hoverText:s.accountingClassNumber})),selectedOption:o.map(s=>({label:s.fullyQualifiedAccountingClassName??"",value:s.classId,hoverText:s.accountingClassNumber})).find(s=>s.value===r.departmentId)},manager:{allUsers:D,selectedUser:r.managerId}})):C}},Se=(e,t)=>`${e}.${t}`,me=N.div`
1
+ import{q as Y,fO as H,d as ee,a8 as te,c as f,V as d,gJ as le,ab as ne,aM as oe,aO as se,o as re,y as k,cx as j,fR as q,fS as A,fT as V,F as ie,D as ae}from"./index-CK2D3iZ1.js";import{a as w}from"./sentry-Dm3bm_ok.js";import{n as N}from"./mui-DCr-y2iU.js";import{Fv as de,bg as ce}from"./zeni-epic-state-Cgro3mH-.js";import{f as ue}from"./AllUserItems-DPxoQeZA-Fd0FWod6.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";import"./LabeledUserSingleSelectWithSubtitlesField-BusH2qnZ-GKSXWTga.js";import"./RoleWithToolTip-DbQ4ezrP-Dd2VpMcB.js";import"./LabeledZeniRolesDropDownField-DYkmOsOP-Dg0kuJ4H.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]="ef96f4ba-7185-4718-8e52-c4f118cfae9c",e._sentryDebugIdIdentifier="sentry-dbid-ef96f4ba-7185-4718-8e52-c4f118cfae9c")}catch{}})();const S={containerPaddingLeft:new k(f[3],f[6],f[8]),containerPaddingRight:new k(f[3],f[6],f[8]),buttonWidth:new k(85,85)},G="editPeoplePage",I="userItems",p=ie.getLocalizedStrings().peoplePage,Pe=({peopleDetails:e,managersList:t,classList:g,controllersList:D,mode:o,isZeniTenant:O,onPeopleLocalDataUpdated:T,onCloseClick:C,onSaveClick:r,isReimbursementDisabled:$,isZeniAccountsDisabled:s,isChargeCardDisabled:z,isTreasuryDisabled:E,isBankingOnlyTenant:R,isCardsOnlyTenant:x,isLiteRoleDisabled:U})=>{const c=Y(),[Q,W]=w.useState(-1),[Z,P]=w.useState(""),B=w.useRef(null),L=w.useMemo(()=>H($,s,z,R,x,U,E),[$,s,z,R,x,U,E]),F=ee(),i=te({mode:"onBlur",reValidateMode:"onChange",defaultValues:M(e.people,o,L,t,g,R,x),values:M(e.people,o,L,t,g,R,x)}),J=i.handleSubmit(()=>{K()?r():console.warn("Invite People form error")}),K=()=>{const l=i.getValues();let n=!0;return l.userItems.forEach((v,_)=>{const{role:a,nonZeniRole:y,department:u,manager:m}=v;if(o==="zeni_only")a?.selectedOptions==null&&(i.setError(`${I}.${_}.role`,{type:"required"}),n=!1);else{const b=y?.userRole.selectedRole;(b!=null&&y!=null?y.productsByUserRole[b].map(h=>h.selectedOption).filter(h=>h!=null):[]).length<1&&(i.setError(`${I}.${_}.nonZeniRole.userRole.selectedRole`,{type:"required"}),n=!1),u?.selectedOption==null&&b!=="investor_or_banker"&&!R&&!x&&(i.setError(`${I}.${_}.department`,{type:"required"}),n=!1),m?.selectedUser==null&&b!=="investor_or_banker"&&(i.setError(`${I}.${_}.manager`,{type:"required"}),n=!1)}}),n},X=async(l,n)=>{const v=[],{userItems:_}=n;_.forEach(a=>{let y={};if(o==="zeni_only")y={email:a.email,role:[a.role?.selectedOptions]};else{const u=a.nonZeniRole?.userRole.selectedRole;let m=[];u==="admin"||u==="investor_or_banker"?m.push(u):m=u!=null?(a.nonZeniRole?.productsByUserRole[u]??[]).map(h=>de(h.selectedOption?.value)).filter(h=>h!=null):[],u==="employee"&&m.length===0&&(m=["reimbursements_user"]);const b=ce(m);y={email:a.email,role:m,departmentId:b?void 0:a.department?.selectedOption?.value,managerId:b?void 0:a.manager?.selectedUser}}v.push(y)}),T(v)};return w.useEffect(()=>{const l=i.watch((n,{name:v})=>{v!=null&&n!=null&&X(v,n)});return()=>{l.unsubscribe()}}),w.useEffect(()=>{const l=B.current,n=()=>{c!=="small"&&(l&&l?.scrollTop>f[9]?P(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):P(""))};return c==="small"?P(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):l&&l?.scrollTop<=f[9]&&P(""),l&&l.addEventListener("scroll",n),()=>{l&&l.removeEventListener("scroll",n)}},[o,Z,c]),d.jsxs(d.Fragment,{children:[d.jsx(le,{title:Z,backgroundColor:F.colors.grey4,style:{zIndex:4},onCloseClick:C,isTitleAlignLeft:c==="small"}),d.jsxs(me,{"data-testid":oe("invite-people-container"),windowSize:c,ref:B,children:[c!=="small"?d.jsx(pe,{children:o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title}):null,d.jsx(ne,{...i,children:d.jsx("form",{id:`${G}_form`,onSubmit:J,children:d.jsx(ue,{control:i.control,sectionId:I,deleteConfirmationIndex:Q,updateDeleteConfirmationIndex:W,mode:o,isZeniTenant:O,classList:g,managersList:t,controllersList:D,isBankingOnlyTenant:R,isCardsOnlyTenant:x,customerRoleOptions:L,isEdit:!1})})})]}),d.jsx(se,{formId:`${G}_form`,primaryBtn:{label:p.invitePage.invite,style:{width:S.buttonWidth.value(c)},isLoading:e.invitePersonState.fetchState==="In-Progress",isDisabled:e.invitePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:p.invitePage.cancel,style:{width:S.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:C},separatorStyle:{marginRight:re.sp4}})]})},M=(e,t,g,D,o,O,T)=>{const C=[{userIndex:0,email:[],role:t==="zeni_only"?{allOptions:j.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:e[0]?.role.length>0?V(e[0].role):void 0,allRootRole:A(O,T)},productsByUserRole:q(e[0]?.role??[],g)}:void 0,department:void 0,manager:void 0}];return{[I]:e.length>0?e.map((r,$)=>({userIndex:$,email:r.email,role:t==="zeni_only"?{allOptions:j.roles,selectedOptions:r.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:r.role.length>0?V(r.role):void 0,allRootRole:A(O,T)},productsByUserRole:q(r.role,g)}:void 0,department:{allOptions:o.map(s=>({label:s.fullyQualifiedAccountingClassName??"",value:s.classId,hoverText:s.accountingClassNumber})),selectedOption:o.map(s=>({label:s.fullyQualifiedAccountingClassName??"",value:s.classId,hoverText:s.accountingClassNumber})).find(s=>s.value===r.departmentId)},manager:{allUsers:D,selectedUser:r.managerId}})):C}},Se=(e,t)=>`${e}.${t}`,me=N.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{d as s1,q as d1,F as q,V as l,m as J,o,p as d,y as E,gt as L1,gu as E1,aM as Q,cm as B1,cn as j1,co as z1,as as A1,b7 as c1,c as C,b as i1,B as T1,l as H1,ag as p1,gv as P1}from"./index-DiLAcdW6.js";import{a as t}from"./sentry-C9BQzslk.js";import{n as i}from"./mui-8xKzSljO.js";import R1 from"./AttachmentView-DSP80cjm-NHnh6Mdu.js";import{l as M1}from"./uploadReceipts-CPw64UYa-6mvBw6sd.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./zeni-epic-state-D9zDRHOK.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},x=new e.Error().stack;x&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[x]="602ba503-a2dc-4eb0-a76e-4e9d07d617f0",e._sentryDebugIdIdentifier="sentry-dbid-602ba503-a2dc-4eb0-a76e-4e9d07d617f0")}catch{}})();const V1=e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_623_1439",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_623_1439)"})),t.createElement("g",{mask:"url(#mask0_623_1439)"},t.createElement("path",{d:"M24.4551 10.7549C24.8693 10.7549 25.2051 11.0907 25.2051 11.5049V13.6938L28.3834 13.6938C28.7976 13.6938 29.1334 14.0296 29.1334 14.4438C29.1334 14.8581 28.7976 15.1938 28.3834 15.1938H22.4209C21.6794 15.1944 20.9613 15.4529 20.3896 15.925C19.8179 16.3972 19.4282 17.0536 19.2875 17.7816C19.1468 18.5096 19.2638 19.264 19.6184 19.9152C19.973 20.5662 20.543 21.0736 21.2306 21.3505L27.2968 23.7781C28.3078 24.1849 29.1457 24.9308 29.6669 25.8878C30.1881 26.8448 30.36 27.9534 30.1532 29.0234C29.9464 30.0933 29.3738 31.058 28.5335 31.7519C27.6933 32.4458 26.6377 32.8257 25.548 32.8265H25.2051V35.0149C25.2051 35.4292 24.8693 35.7649 24.4551 35.7649C24.0409 35.7649 23.7051 35.4292 23.7051 35.0149V32.8265H19.567C19.1528 32.8265 18.817 32.4907 18.817 32.0765C18.817 31.6623 19.1528 31.3265 19.567 31.3265H24.4327C24.4401 31.3263 24.4476 31.3262 24.4551 31.3262C24.4626 31.3262 24.47 31.3263 24.4775 31.3265H25.5469C26.2884 31.326 27.0066 31.0675 27.5784 30.5953C28.1501 30.1232 28.5398 29.4668 28.6805 28.7387C28.8212 28.0107 28.7042 27.2564 28.3496 26.6052C27.9951 25.9543 27.4253 25.4469 26.7378 25.1701L26.7369 25.1697L20.6712 22.7422C19.6602 22.3355 18.8223 21.5896 18.3011 20.6325C17.7799 19.6755 17.608 18.5669 17.8148 17.497C18.0216 16.427 18.5942 15.4624 19.4345 14.7684C20.2748 14.0745 21.3308 13.6946 22.4206 13.6938H23.7051V11.5049C23.7051 11.0907 24.0409 10.7549 24.4551 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 42.2959C17.7295 41.8817 18.0653 41.5459 18.4795 41.5459H42.5621C42.9763 41.5459 43.3121 41.8817 43.3121 42.2959C43.3121 42.7101 42.9763 43.0459 42.5621 43.0459H18.4795C18.0653 43.0459 17.7295 42.7101 17.7295 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 52.2962C17.7295 51.882 18.0653 51.5462 18.4795 51.5462L40.7106 51.5461C41.1248 51.5461 41.4606 51.8819 41.4606 52.2961C41.4606 52.7104 41.1248 53.0461 40.7106 53.0461L18.4795 53.0462C18.0653 53.0462 17.7295 52.7104 17.7295 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7295 31.9541C37.7295 31.5399 38.0653 31.2041 38.4795 31.2041H48.1263C48.5406 31.2041 48.8763 31.5399 48.8763 31.9541C48.8763 32.3683 48.5406 32.7041 48.1263 32.7041H38.4795C38.0653 32.7041 37.7295 32.3683 37.7295 31.9541Z",fill:"#A6B0B1"})),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5502 49.191C55.6639 49.0732 55.8234 49 56 49C56 49 56 49 56 49C56.0071 49 56.0143 49.0001 56.0214 49.0004C56.1742 49.0055 56.3254 49.0664 56.4421 49.1831L61.0135 53.7545C61.2576 53.9986 61.2576 54.3943 61.0135 54.6384C60.7694 54.8824 60.3737 54.8824 60.1296 54.6384L56.625 51.1337V60.7976C56.625 61.1427 56.3452 61.4226 56 61.4226C55.6548 61.4226 55.375 61.1427 55.375 60.7976V51.134L51.8707 54.6384C51.6266 54.8824 51.2308 54.8824 50.9868 54.6384C50.7427 54.3943 50.7427 53.9986 50.9868 53.7545L55.5502 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_623_1439",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),_1=e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_836_6609",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_836_6609)"})),t.createElement("g",{mask:"url(#mask0_836_6609)"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 18.25C5.41421 18.25 5.75 18.5858 5.75 19V61C5.75 63.8995 8.10051 66.25 11 66.25H35C35.4142 66.25 35.75 66.5858 35.75 67C35.75 67.4142 35.4142 67.75 35 67.75H11C7.27208 67.75 4.25 64.7279 4.25 61V19C4.25 18.5858 4.58579 18.25 5 18.25Z",fill:"#A6B0B1"}),t.createElement("path",{d:"M24.4561 10.7549C24.8703 10.7549 25.2061 11.0907 25.2061 11.5049V13.6938L28.3843 13.6938C28.7985 13.6938 29.1343 14.0296 29.1343 14.4438C29.1343 14.8581 28.7985 15.1938 28.3843 15.1938H22.4218C21.6804 15.1944 20.9623 15.4529 20.3906 15.925C19.8189 16.3972 19.4292 17.0536 19.2885 17.7816C19.1478 18.5096 19.2648 19.264 19.6194 19.9152C19.974 20.5662 20.5439 21.0736 21.2316 21.3505L27.2978 23.7781C28.3087 24.1849 29.1467 24.9308 29.6679 25.8878C30.1891 26.8448 30.361 27.9534 30.1542 29.0234C29.9474 30.0933 29.3748 31.058 28.5345 31.7519C27.6942 32.4458 26.6387 32.8257 25.5489 32.8265H25.2061V35.0149C25.2061 35.4292 24.8703 35.7649 24.4561 35.7649C24.0418 35.7649 23.7061 35.4292 23.7061 35.0149V32.8265H19.568C19.1538 32.8265 18.818 32.4907 18.818 32.0765C18.818 31.6623 19.1538 31.3265 19.568 31.3265H24.4337C24.4411 31.3263 24.4486 31.3262 24.4561 31.3262C24.4635 31.3262 24.471 31.3263 24.4785 31.3265H25.5479C26.2894 31.326 27.0076 31.0675 27.5794 30.5953C28.1511 30.1232 28.5408 29.4668 28.6815 28.7387C28.8222 28.0107 28.7052 27.2564 28.3506 26.6052C27.9961 25.9543 27.4263 25.4469 26.7388 25.1701L26.7378 25.1697L20.6722 22.7422C19.6612 22.3355 18.8233 21.5896 18.3021 20.6325C17.7809 19.6755 17.609 18.5669 17.8158 17.497C18.0226 16.427 18.5952 15.4624 19.4355 14.7684C20.2757 14.0745 21.3318 13.6946 22.4216 13.6938H23.7061V11.5049C23.7061 11.0907 24.0418 10.7549 24.4561 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7305 42.2959C17.7305 41.8817 18.0663 41.5459 18.4805 41.5459H42.5631C42.9773 41.5459 43.3131 41.8817 43.3131 42.2959C43.3131 42.7101 42.9773 43.0459 42.5631 43.0459H18.4805C18.0663 43.0459 17.7305 42.7101 17.7305 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7305 52.2962C17.7305 51.882 18.0663 51.5462 18.4805 51.5462L40.7116 51.5461C41.1258 51.5461 41.4616 51.8819 41.4616 52.2961C41.4616 52.7104 41.1258 53.0461 40.7116 53.0461L18.4805 53.0462C18.0663 53.0462 17.7305 52.7104 17.7305 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7305 31.9541C37.7305 31.5399 38.0663 31.2041 38.4805 31.2041H48.1273C48.5415 31.2041 48.8773 31.5399 48.8773 31.9541C48.8773 32.3683 48.5415 32.7041 48.1273 32.7041H38.4805C38.0663 32.7041 37.7305 32.3683 37.7305 31.9541Z",fill:"#A6B0B1"})),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5512 49.191C55.6649 49.0732 55.8244 49 56.001 49C56.001 49 56.001 49 56.001 49C56.0081 49 56.0153 49.0001 56.0224 49.0004C56.1752 49.0055 56.3264 49.0664 56.4431 49.1831L61.0145 53.7545C61.2586 53.9986 61.2586 54.3943 61.0145 54.6384C60.7704 54.8824 60.3747 54.8824 60.1306 54.6384L56.626 51.1337V60.7976C56.626 61.1427 56.3462 61.4226 56.001 61.4226C55.6558 61.4226 55.376 61.1427 55.376 60.7976V51.134L51.8716 54.6384C51.6276 54.8824 51.2318 54.8824 50.9877 54.6384C50.7437 54.3943 50.7437 53.9986 50.9877 53.7545L55.5512 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_836_6609",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),I1=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M15.4931 3.87109H11.4776C10.5275 3.89973 9.62765 4.30445 8.97582 4.99631C8.324 5.68817 7.97357 6.61054 8.00156 7.56068C7.99312 8.23377 8.16758 8.89652 8.50634 9.47821C8.84509 10.0599 9.33542 10.5387 9.92501 10.8635L13.5771 12.8038C14.1642 13.1295 14.6523 13.6079 14.9896 14.1884C15.3269 14.7688 15.5009 15.4297 15.4931 16.101C15.5211 17.0505 15.1712 17.9724 14.5202 18.6641C13.8691 19.3559 12.9702 19.761 12.0208 19.7906H8.00156",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.2829 19.7908V22.6001",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.1558 1V3.87113",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),g={memoPaddingTopBottomRight:new E(12,C[3]),billReceiptSize:new E(60,C[10]),rootContainerPaddingTop:new E(C[3],62),rootContainerPaddingRight:new E(C[3],C[6]),rootContainerPaddingBottom:new E(C[5],C[9]),rootContainerPaddingLeft:new E(C[3],C[8])},r1=i(T1)`
1
+ import{d as s1,q as d1,F as q,V as l,m as J,o,p as d,y as E,gt as L1,gu as E1,aM as Q,cm as B1,cn as j1,co as z1,as as A1,b7 as c1,c as C,b as i1,B as T1,l as H1,ag as p1,gv as P1}from"./index-CK2D3iZ1.js";import{a as t}from"./sentry-Dm3bm_ok.js";import{n as i}from"./mui-DCr-y2iU.js";import R1 from"./AttachmentView-BijZrB02-BJhcTpzV.js";import{l as M1}from"./uploadReceipts-CPw64UYa-BEcpM53g.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./zeni-epic-state-Cgro3mH-.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},x=new e.Error().stack;x&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[x]="d8a5868a-5ac3-4e05-bfae-3e5f585bebb8",e._sentryDebugIdIdentifier="sentry-dbid-d8a5868a-5ac3-4e05-bfae-3e5f585bebb8")}catch{}})();const V1=e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_623_1439",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_623_1439)"})),t.createElement("g",{mask:"url(#mask0_623_1439)"},t.createElement("path",{d:"M24.4551 10.7549C24.8693 10.7549 25.2051 11.0907 25.2051 11.5049V13.6938L28.3834 13.6938C28.7976 13.6938 29.1334 14.0296 29.1334 14.4438C29.1334 14.8581 28.7976 15.1938 28.3834 15.1938H22.4209C21.6794 15.1944 20.9613 15.4529 20.3896 15.925C19.8179 16.3972 19.4282 17.0536 19.2875 17.7816C19.1468 18.5096 19.2638 19.264 19.6184 19.9152C19.973 20.5662 20.543 21.0736 21.2306 21.3505L27.2968 23.7781C28.3078 24.1849 29.1457 24.9308 29.6669 25.8878C30.1881 26.8448 30.36 27.9534 30.1532 29.0234C29.9464 30.0933 29.3738 31.058 28.5335 31.7519C27.6933 32.4458 26.6377 32.8257 25.548 32.8265H25.2051V35.0149C25.2051 35.4292 24.8693 35.7649 24.4551 35.7649C24.0409 35.7649 23.7051 35.4292 23.7051 35.0149V32.8265H19.567C19.1528 32.8265 18.817 32.4907 18.817 32.0765C18.817 31.6623 19.1528 31.3265 19.567 31.3265H24.4327C24.4401 31.3263 24.4476 31.3262 24.4551 31.3262C24.4626 31.3262 24.47 31.3263 24.4775 31.3265H25.5469C26.2884 31.326 27.0066 31.0675 27.5784 30.5953C28.1501 30.1232 28.5398 29.4668 28.6805 28.7387C28.8212 28.0107 28.7042 27.2564 28.3496 26.6052C27.9951 25.9543 27.4253 25.4469 26.7378 25.1701L26.7369 25.1697L20.6712 22.7422C19.6602 22.3355 18.8223 21.5896 18.3011 20.6325C17.7799 19.6755 17.608 18.5669 17.8148 17.497C18.0216 16.427 18.5942 15.4624 19.4345 14.7684C20.2748 14.0745 21.3308 13.6946 22.4206 13.6938H23.7051V11.5049C23.7051 11.0907 24.0409 10.7549 24.4551 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 42.2959C17.7295 41.8817 18.0653 41.5459 18.4795 41.5459H42.5621C42.9763 41.5459 43.3121 41.8817 43.3121 42.2959C43.3121 42.7101 42.9763 43.0459 42.5621 43.0459H18.4795C18.0653 43.0459 17.7295 42.7101 17.7295 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 52.2962C17.7295 51.882 18.0653 51.5462 18.4795 51.5462L40.7106 51.5461C41.1248 51.5461 41.4606 51.8819 41.4606 52.2961C41.4606 52.7104 41.1248 53.0461 40.7106 53.0461L18.4795 53.0462C18.0653 53.0462 17.7295 52.7104 17.7295 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7295 31.9541C37.7295 31.5399 38.0653 31.2041 38.4795 31.2041H48.1263C48.5406 31.2041 48.8763 31.5399 48.8763 31.9541C48.8763 32.3683 48.5406 32.7041 48.1263 32.7041H38.4795C38.0653 32.7041 37.7295 32.3683 37.7295 31.9541Z",fill:"#A6B0B1"})),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5502 49.191C55.6639 49.0732 55.8234 49 56 49C56 49 56 49 56 49C56.0071 49 56.0143 49.0001 56.0214 49.0004C56.1742 49.0055 56.3254 49.0664 56.4421 49.1831L61.0135 53.7545C61.2576 53.9986 61.2576 54.3943 61.0135 54.6384C60.7694 54.8824 60.3737 54.8824 60.1296 54.6384L56.625 51.1337V60.7976C56.625 61.1427 56.3452 61.4226 56 61.4226C55.6548 61.4226 55.375 61.1427 55.375 60.7976V51.134L51.8707 54.6384C51.6266 54.8824 51.2308 54.8824 50.9868 54.6384C50.7427 54.3943 50.7427 53.9986 50.9868 53.7545L55.5502 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_623_1439",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),_1=e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_836_6609",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_836_6609)"})),t.createElement("g",{mask:"url(#mask0_836_6609)"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 18.25C5.41421 18.25 5.75 18.5858 5.75 19V61C5.75 63.8995 8.10051 66.25 11 66.25H35C35.4142 66.25 35.75 66.5858 35.75 67C35.75 67.4142 35.4142 67.75 35 67.75H11C7.27208 67.75 4.25 64.7279 4.25 61V19C4.25 18.5858 4.58579 18.25 5 18.25Z",fill:"#A6B0B1"}),t.createElement("path",{d:"M24.4561 10.7549C24.8703 10.7549 25.2061 11.0907 25.2061 11.5049V13.6938L28.3843 13.6938C28.7985 13.6938 29.1343 14.0296 29.1343 14.4438C29.1343 14.8581 28.7985 15.1938 28.3843 15.1938H22.4218C21.6804 15.1944 20.9623 15.4529 20.3906 15.925C19.8189 16.3972 19.4292 17.0536 19.2885 17.7816C19.1478 18.5096 19.2648 19.264 19.6194 19.9152C19.974 20.5662 20.5439 21.0736 21.2316 21.3505L27.2978 23.7781C28.3087 24.1849 29.1467 24.9308 29.6679 25.8878C30.1891 26.8448 30.361 27.9534 30.1542 29.0234C29.9474 30.0933 29.3748 31.058 28.5345 31.7519C27.6942 32.4458 26.6387 32.8257 25.5489 32.8265H25.2061V35.0149C25.2061 35.4292 24.8703 35.7649 24.4561 35.7649C24.0418 35.7649 23.7061 35.4292 23.7061 35.0149V32.8265H19.568C19.1538 32.8265 18.818 32.4907 18.818 32.0765C18.818 31.6623 19.1538 31.3265 19.568 31.3265H24.4337C24.4411 31.3263 24.4486 31.3262 24.4561 31.3262C24.4635 31.3262 24.471 31.3263 24.4785 31.3265H25.5479C26.2894 31.326 27.0076 31.0675 27.5794 30.5953C28.1511 30.1232 28.5408 29.4668 28.6815 28.7387C28.8222 28.0107 28.7052 27.2564 28.3506 26.6052C27.9961 25.9543 27.4263 25.4469 26.7388 25.1701L26.7378 25.1697L20.6722 22.7422C19.6612 22.3355 18.8233 21.5896 18.3021 20.6325C17.7809 19.6755 17.609 18.5669 17.8158 17.497C18.0226 16.427 18.5952 15.4624 19.4355 14.7684C20.2757 14.0745 21.3318 13.6946 22.4216 13.6938H23.7061V11.5049C23.7061 11.0907 24.0418 10.7549 24.4561 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7305 42.2959C17.7305 41.8817 18.0663 41.5459 18.4805 41.5459H42.5631C42.9773 41.5459 43.3131 41.8817 43.3131 42.2959C43.3131 42.7101 42.9773 43.0459 42.5631 43.0459H18.4805C18.0663 43.0459 17.7305 42.7101 17.7305 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7305 52.2962C17.7305 51.882 18.0663 51.5462 18.4805 51.5462L40.7116 51.5461C41.1258 51.5461 41.4616 51.8819 41.4616 52.2961C41.4616 52.7104 41.1258 53.0461 40.7116 53.0461L18.4805 53.0462C18.0663 53.0462 17.7305 52.7104 17.7305 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7305 31.9541C37.7305 31.5399 38.0663 31.2041 38.4805 31.2041H48.1273C48.5415 31.2041 48.8773 31.5399 48.8773 31.9541C48.8773 32.3683 48.5415 32.7041 48.1273 32.7041H38.4805C38.0663 32.7041 37.7305 32.3683 37.7305 31.9541Z",fill:"#A6B0B1"})),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5512 49.191C55.6649 49.0732 55.8244 49 56.001 49C56.001 49 56.001 49 56.001 49C56.0081 49 56.0153 49.0001 56.0224 49.0004C56.1752 49.0055 56.3264 49.0664 56.4431 49.1831L61.0145 53.7545C61.2586 53.9986 61.2586 54.3943 61.0145 54.6384C60.7704 54.8824 60.3747 54.8824 60.1306 54.6384L56.626 51.1337V60.7976C56.626 61.1427 56.3462 61.4226 56.001 61.4226C55.6558 61.4226 55.376 61.1427 55.376 60.7976V51.134L51.8716 54.6384C51.6276 54.8824 51.2318 54.8824 50.9877 54.6384C50.7437 54.3943 50.7437 53.9986 50.9877 53.7545L55.5512 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_836_6609",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),I1=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M15.4931 3.87109H11.4776C10.5275 3.89973 9.62765 4.30445 8.97582 4.99631C8.324 5.68817 7.97357 6.61054 8.00156 7.56068C7.99312 8.23377 8.16758 8.89652 8.50634 9.47821C8.84509 10.0599 9.33542 10.5387 9.92501 10.8635L13.5771 12.8038C14.1642 13.1295 14.6523 13.6079 14.9896 14.1884C15.3269 14.7688 15.5009 15.4297 15.4931 16.101C15.5211 17.0505 15.1712 17.9724 14.5202 18.6641C13.8691 19.3559 12.9702 19.761 12.0208 19.7906H8.00156",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.2829 19.7908V22.6001",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.1558 1V3.87113",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),g={memoPaddingTopBottomRight:new E(12,C[3]),billReceiptSize:new E(60,C[10]),rootContainerPaddingTop:new E(C[3],62),rootContainerPaddingRight:new E(C[3],C[6]),rootContainerPaddingBottom:new E(C[5],C[9]),rootContainerPaddingLeft:new E(C[3],C[8])},r1=i(T1)`
2
2
  color: ${e=>e.isPlaceholderText===!0?e.theme.colors.grey1:e.theme.colors.hero};
3
3
  white-space: pre-wrap;
4
4
  text-align: center;
@@ -1,4 +1,4 @@
1
- import{q as oe,a8 as Oa,cB as Da,V as r,aM as je,jf as _a,bY as Ra,ab as za,aO as Ua,o as a,y as C,F as le,bv as Fa,b5 as Na,a as be,B as na,L as qa,D as Ea,p as ie,h as Ma,cf as ka,cO as fe,eh as Ba,c as d,bQ as Va,a$ as Z,cU as me,cY as oa,jg as Ha,jh as Wa,cV as Ga,d as Te,ji as Ie,cE as Ae,g7 as Oe,eX as xe,b as de,eT as he,g3 as ca,ag as De,aK as Xa,hn as Ya,al as Ja,hp as Za}from"./index-DiLAcdW6.js";import{a as E}from"./sentry-C9BQzslk.js";import{n as l}from"./mui-8xKzSljO.js";import{Y as ua}from"./LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-B4usNbPq.js";import{bd as Qa}from"./zeni-epic-state-D9zDRHOK.js";import{T as pa}from"./RoleWithToolTip-fC3byzzv-BDZeG5VC.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="6653b348-c278-47ae-a6b9-424d69963093",e._sentryDebugIdIdentifier="sentry-dbid-6653b348-c278-47ae-a6b9-424d69963093")}catch{}})();const ge=e=>{const{common:i,spendManagement:{chargeCard:{issueCard:t}}}=le.getLocalizedStrings();switch(e){case"monthly":return t.frequencySubLabels.monthly;case"quarterly":return t.frequencySubLabels.quarterly;case"weekly":return t.frequencySubLabels.weekly;case"yearly":return t.frequencySubLabels.yearly;default:return i.strings.empty}},Ka=["creditCard","debitCard"],ke=e=>Qa(e,Ka),u=(e,i)=>`${e}.${i}`,{commonSetUp:{businessVerification:{addressPlaceholder:Be,customAddressPlaceholder:er}},spendManagement:{chargeCard:{issueCard:N}}}=le.getLocalizedStrings(),k={largeLabelWidth:new C(120,120,200),labelMarginRight:new C(d[3],d[4]),labelMarginBottom:new C(d[2],d[0]),infoLabelMarginTop:new C(d[1],d[0]),radioLabelPaddingLeftRight:new C(d[2],d[3]),radioLabelPaddingLeft:new C(d[0],d[3]),radioLabelPaddingRight:new C(10,d[3])},ar={infoLabel:new be("smallRegular","smallRegular")},rr="creditCard.physicalCard.amount",ir="creditCard.physicalCard.cardName",dr="creditCard.physicalCard.user",lr="creditCard.physicalCard.frequency",te="creditCard.physicalCard.addressType",tr=({lineData:e,issueCardSectionId:i,limit:t,creditLimitFrequency:m,activeChargeCardCount:v,allRoles:f,allAccountingClasses:_,companyAddress:b,customAddress:T,userAddress:A,userList:o,maxPhysicalChargeCardPerUser:S,openAddAddressDrawerHandler:g})=>{const s=oe(),q=Te(),{getValues:B}=fe(),$=k.largeLabelWidth.value(s),V=()=>{g(e.lineId,"creditCard")},c=(h,U)=>r.jsx(nr,{isOptionSelected:U,children:ge(h)}),n=e.creditCard.physicalCard.addressType,x=e.creditCard.physicalCard.amount,L=Ie(t.amount),I=x!=null&&x>t.amount,z=I?N.amountExceedError.replace("_amount_",L):void 0,j=e.creditCard.physicalCard.user,O=j.allUsers.find(h=>h.userId===j.selectedUser),G=O?.userId,Q=G!=null?A[G]:void 0,p=h=>{let U=v[h]?.physicalCardCount??0;return B().lineInfo.forEach(y=>{y.creditCard.cardType==="business_physical_credit_card"&&y.creditCard.physicalCard.user.selectedUser===h&&(U+=1)}),U>=S};return r.jsxs(r.Fragment,{children:[r.jsx(ua,{label:{label:N.cardholderLabel,width:$},userSingleSelectWithSubTitlesField:{name:u(i,dr),placeholderLabel:N.usersPlaceholder,value:{allUsers:o,selectedUser:e.creditCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:h=>h?.selectedUser?.length>0},valueToSubtitle:h=>{const U=f.find(R=>R.userId===h),y=[];return U?.accountingClassIDs.forEach(R=>{const J=_.find(_e=>_e.classId===R);J!=null&&J.className&&y.push(J.className)}),y},additionalLabelInfo:N.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:p,disabledOptionHint:N.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:a.sp10,minHeight:a.sp6,height:"max-content"}},style:{width:"100%",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx(we,{}),r.jsx(Ae,{label:{label:N.cardNameLabel,width:$},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)},text:{type:"text",name:u(i,ir),defaultValue:e.creditCard.physicalCard.cardName,placeholder:N.cardNamePlaceholder,options:{required:!0,validate:h=>h!=null}}}),r.jsx(we,{}),r.jsx(Oe,{label:{label:N.amountLabel,width:$},showAdditionalInfoLabel:I,additionalInfoLabel:z,formattedTextField:{type:"number",name:u(i,rr),defaultValue:e.creditCard.physicalCard.amount,placeholder:N.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:h=>!!h&&h>0&&h<=t.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},isFieldError:I,style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx(we,{}),r.jsx(xe,{isDisabled:"readonly",label:{label:N.frequencyLabel,width:$,style:{marginBottom:k.labelMarginBottom.valuePx(s),marginRight:k.labelMarginRight.valuePx(s)}},style:{width:"100%",paddingLeft:k.labelMarginBottom.valuePx(s)},infoLabelStyle:{...de.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:k.infoLabelMarginTop.valuePx(s),color:q.colors.hero},valueToAdditionalLabel:h=>ge(h),singleSelectPickerField:{name:u(i,lr),placeholder:N.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.creditCard.physicalCard.frequency.selectedOption,allOptions:m.map(h=>({label:h.name,value:h.code}))},valueToSubLabels:(h,U)=>c(h,U),textAlignment:"right",registerOptions:{required:!0,validate:h=>h!=null&&!!h.selectedOption}}}),r.jsx(we,{}),r.jsxs(or,{windowSize:s,children:[r.jsxs(pr,{windowSize:s,children:[r.jsx(me,{label:N.address.shippingAddressLabel,htmlFor:u(i,te),style:{marginLeft:a.sp4,marginRight:k.labelMarginRight.valuePx(s),marginTop:a.sp2,width:s==="small"?"auto":$}}),r.jsx(cr,{windowSize:s,children:r.jsxs(hr,{isDisabled:O==null,children:[Q!=null&&r.jsx(Z,{isContainerClickable:!0,label:{label:N.address.personal},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeftRight.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(Z,{isContainerClickable:!0,label:{label:N.address.company},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(Z,{isContainerClickable:!0,label:{label:N.address.custom},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingLeftRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),r.jsx(ur,{windowSize:s,children:O?.user!=null&&n!=null&&r.jsx(sr,{children:n==="card_holder_personal_address"?r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"personal_address_value_field",defaultValue:Q,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),r.jsx(Ve,{windowSize:s,children:N.address.personalAddressText.replace("_name_",O.user.firstName)})]}):n==="company_address"?r.jsx(he,{name:"company_address_value_field",defaultValue:b,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}):r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"custom_address_value_field",defaultValue:T[e.lineId],placeholder:er,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1},onClick:V}),r.jsx(Ve,{windowSize:s,children:N.address.customAddressText})]})})})]})]})},sr=l.div`
1
+ import{q as oe,a8 as Oa,cB as Da,V as r,aM as je,jf as _a,bY as Ra,ab as za,aO as Ua,o as a,y as C,F as le,bv as Fa,b5 as Na,a as be,B as na,L as qa,D as Ea,p as ie,h as Ma,cf as ka,cO as fe,eh as Ba,c as d,bQ as Va,a$ as Z,cU as me,cY as oa,jg as Ha,jh as Wa,cV as Ga,d as Te,ji as Ie,cE as Ae,g7 as Oe,eX as xe,b as de,eT as he,g3 as ca,ag as De,aK as Xa,hn as Ya,al as Ja,hp as Za}from"./index-CK2D3iZ1.js";import{a as E}from"./sentry-Dm3bm_ok.js";import{n as l}from"./mui-DCr-y2iU.js";import{Y as ua}from"./LabeledUserSingleSelectWithSubtitlesField-BusH2qnZ-GKSXWTga.js";import{bd as Qa}from"./zeni-epic-state-Cgro3mH-.js";import{T as pa}from"./RoleWithToolTip-DbQ4ezrP-Dd2VpMcB.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="679fac77-c617-48ca-ad78-c0c78828d77b",e._sentryDebugIdIdentifier="sentry-dbid-679fac77-c617-48ca-ad78-c0c78828d77b")}catch{}})();const ge=e=>{const{common:i,spendManagement:{chargeCard:{issueCard:t}}}=le.getLocalizedStrings();switch(e){case"monthly":return t.frequencySubLabels.monthly;case"quarterly":return t.frequencySubLabels.quarterly;case"weekly":return t.frequencySubLabels.weekly;case"yearly":return t.frequencySubLabels.yearly;default:return i.strings.empty}},Ka=["creditCard","debitCard"],ke=e=>Qa(e,Ka),u=(e,i)=>`${e}.${i}`,{commonSetUp:{businessVerification:{addressPlaceholder:Be,customAddressPlaceholder:er}},spendManagement:{chargeCard:{issueCard:N}}}=le.getLocalizedStrings(),k={largeLabelWidth:new C(120,120,200),labelMarginRight:new C(d[3],d[4]),labelMarginBottom:new C(d[2],d[0]),infoLabelMarginTop:new C(d[1],d[0]),radioLabelPaddingLeftRight:new C(d[2],d[3]),radioLabelPaddingLeft:new C(d[0],d[3]),radioLabelPaddingRight:new C(10,d[3])},ar={infoLabel:new be("smallRegular","smallRegular")},rr="creditCard.physicalCard.amount",ir="creditCard.physicalCard.cardName",dr="creditCard.physicalCard.user",lr="creditCard.physicalCard.frequency",te="creditCard.physicalCard.addressType",tr=({lineData:e,issueCardSectionId:i,limit:t,creditLimitFrequency:m,activeChargeCardCount:v,allRoles:f,allAccountingClasses:_,companyAddress:b,customAddress:T,userAddress:A,userList:o,maxPhysicalChargeCardPerUser:S,openAddAddressDrawerHandler:g})=>{const s=oe(),q=Te(),{getValues:B}=fe(),$=k.largeLabelWidth.value(s),V=()=>{g(e.lineId,"creditCard")},c=(h,U)=>r.jsx(nr,{isOptionSelected:U,children:ge(h)}),n=e.creditCard.physicalCard.addressType,x=e.creditCard.physicalCard.amount,L=Ie(t.amount),I=x!=null&&x>t.amount,z=I?N.amountExceedError.replace("_amount_",L):void 0,j=e.creditCard.physicalCard.user,O=j.allUsers.find(h=>h.userId===j.selectedUser),G=O?.userId,Q=G!=null?A[G]:void 0,p=h=>{let U=v[h]?.physicalCardCount??0;return B().lineInfo.forEach(y=>{y.creditCard.cardType==="business_physical_credit_card"&&y.creditCard.physicalCard.user.selectedUser===h&&(U+=1)}),U>=S};return r.jsxs(r.Fragment,{children:[r.jsx(ua,{label:{label:N.cardholderLabel,width:$},userSingleSelectWithSubTitlesField:{name:u(i,dr),placeholderLabel:N.usersPlaceholder,value:{allUsers:o,selectedUser:e.creditCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:h=>h?.selectedUser?.length>0},valueToSubtitle:h=>{const U=f.find(R=>R.userId===h),y=[];return U?.accountingClassIDs.forEach(R=>{const J=_.find(_e=>_e.classId===R);J!=null&&J.className&&y.push(J.className)}),y},additionalLabelInfo:N.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:p,disabledOptionHint:N.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:a.sp10,minHeight:a.sp6,height:"max-content"}},style:{width:"100%",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx(we,{}),r.jsx(Ae,{label:{label:N.cardNameLabel,width:$},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)},text:{type:"text",name:u(i,ir),defaultValue:e.creditCard.physicalCard.cardName,placeholder:N.cardNamePlaceholder,options:{required:!0,validate:h=>h!=null}}}),r.jsx(we,{}),r.jsx(Oe,{label:{label:N.amountLabel,width:$},showAdditionalInfoLabel:I,additionalInfoLabel:z,formattedTextField:{type:"number",name:u(i,rr),defaultValue:e.creditCard.physicalCard.amount,placeholder:N.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:h=>!!h&&h>0&&h<=t.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},isFieldError:I,style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx(we,{}),r.jsx(xe,{isDisabled:"readonly",label:{label:N.frequencyLabel,width:$,style:{marginBottom:k.labelMarginBottom.valuePx(s),marginRight:k.labelMarginRight.valuePx(s)}},style:{width:"100%",paddingLeft:k.labelMarginBottom.valuePx(s)},infoLabelStyle:{...de.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:k.infoLabelMarginTop.valuePx(s),color:q.colors.hero},valueToAdditionalLabel:h=>ge(h),singleSelectPickerField:{name:u(i,lr),placeholder:N.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.creditCard.physicalCard.frequency.selectedOption,allOptions:m.map(h=>({label:h.name,value:h.code}))},valueToSubLabels:(h,U)=>c(h,U),textAlignment:"right",registerOptions:{required:!0,validate:h=>h!=null&&!!h.selectedOption}}}),r.jsx(we,{}),r.jsxs(or,{windowSize:s,children:[r.jsxs(pr,{windowSize:s,children:[r.jsx(me,{label:N.address.shippingAddressLabel,htmlFor:u(i,te),style:{marginLeft:a.sp4,marginRight:k.labelMarginRight.valuePx(s),marginTop:a.sp2,width:s==="small"?"auto":$}}),r.jsx(cr,{windowSize:s,children:r.jsxs(hr,{isDisabled:O==null,children:[Q!=null&&r.jsx(Z,{isContainerClickable:!0,label:{label:N.address.personal},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeftRight.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(Z,{isContainerClickable:!0,label:{label:N.address.company},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(Z,{isContainerClickable:!0,label:{label:N.address.custom},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingLeftRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),r.jsx(ur,{windowSize:s,children:O?.user!=null&&n!=null&&r.jsx(sr,{children:n==="card_holder_personal_address"?r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"personal_address_value_field",defaultValue:Q,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),r.jsx(Ve,{windowSize:s,children:N.address.personalAddressText.replace("_name_",O.user.firstName)})]}):n==="company_address"?r.jsx(he,{name:"company_address_value_field",defaultValue:b,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}):r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"custom_address_value_field",defaultValue:T[e.lineId],placeholder:er,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1},onClick:V}),r.jsx(Ve,{windowSize:s,children:N.address.customAddressText})]})})})]})]})},sr=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{q as p,V as n,cU as u,y as o,eQ as h,c as t,a as f}from"./index-DiLAcdW6.js";import{n as r}from"./mui-8xKzSljO.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]="e291beb5-e58f-4d7b-887e-fe25dcc92bbe",e._sentryDebugIdIdentifier="sentry-dbid-e291beb5-e58f-4d7b-887e-fe25dcc92bbe")}catch{}})();const i={width:new o(343,580,726),height:new o(t[6],t[6]),controlMinHeight:new o(t[4],t[4]),paddingTopBottom:new o(t[2],t[2]),marginRight:new o(t[2],t[2]),labelMarginLeft:new o(t[3],t[4]),labelMarginRight:new o(t[3],t[4]),labelMarginTop:new o(t[2],t[2])},c={infoLabel:new f("extraSmallRegular","smallRegular")};function $({isDisabled:e,label:a,additionalInfoLabel:d,addressValue:s,isOptional:g,style:b}){const l=p();return n.jsxs(y,{size:l,style:b,isDisabled:e!=null,children:[n.jsxs(x,{children:[n.jsx(u,{isOptional:g,isDisabled:e,label:a.label,style:{marginLeft:i.labelMarginLeft.value(l),marginRight:i.labelMarginRight.value(l),marginTop:i.labelMarginTop.value(l),width:a.width??"auto"}}),n.jsx(h,{...s,isDisabled:e,style:{minHeight:i.controlMinHeight.value(l),paddingTop:i.paddingTopBottom.valuePx(l),paddingBottom:i.paddingTopBottom.valuePx(l),maxWidth:a.width!=null?`calc(100% - ${a.width}px)`:"auto",display:"flex",flexGrow:1,...s.style}})]}),d?n.jsx(m,{size:l,children:d}):null]})}const m=r.label`
1
+ import{q as p,V as n,cU as u,y as o,eQ as h,c as t,a as f}from"./index-CK2D3iZ1.js";import{n as r}from"./mui-DCr-y2iU.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]="e291beb5-e58f-4d7b-887e-fe25dcc92bbe",e._sentryDebugIdIdentifier="sentry-dbid-e291beb5-e58f-4d7b-887e-fe25dcc92bbe")}catch{}})();const i={width:new o(343,580,726),height:new o(t[6],t[6]),controlMinHeight:new o(t[4],t[4]),paddingTopBottom:new o(t[2],t[2]),marginRight:new o(t[2],t[2]),labelMarginLeft:new o(t[3],t[4]),labelMarginRight:new o(t[3],t[4]),labelMarginTop:new o(t[2],t[2])},c={infoLabel:new f("extraSmallRegular","smallRegular")};function $({isDisabled:e,label:a,additionalInfoLabel:d,addressValue:s,isOptional:g,style:b}){const l=p();return n.jsxs(y,{size:l,style:b,isDisabled:e!=null,children:[n.jsxs(x,{children:[n.jsx(u,{isOptional:g,isDisabled:e,label:a.label,style:{marginLeft:i.labelMarginLeft.value(l),marginRight:i.labelMarginRight.value(l),marginTop:i.labelMarginTop.value(l),width:a.width??"auto"}}),n.jsx(h,{...s,isDisabled:e,style:{minHeight:i.controlMinHeight.value(l),paddingTop:i.paddingTopBottom.valuePx(l),paddingBottom:i.paddingTopBottom.valuePx(l),maxWidth:a.width!=null?`calc(100% - ${a.width}px)`:"auto",display:"flex",flexGrow:1,...s.style}})]}),d?n.jsx(m,{size:l,children:d}):null]})}const m=r.label`
2
2
  color: ${e=>e.theme.colors.grey1};
3
3
  display: flex;
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{q as x,cO as y,cW as w,V as d,cU as v,y as o,eT as $,aM as T,F as M,p as g,c as i,a as z}from"./index-DiLAcdW6.js";import{n as s}from"./mui-8xKzSljO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="82ea8e51-33c1-4539-b964-b8b4ec7438ad",e._sentryDebugIdIdentifier="sentry-dbid-82ea8e51-33c1-4539-b964-b8b4ec7438ad")}catch{}})();const t={width:new o(343,580,726),height:new o(i[6],i[6]),controlMinHeight:new o(i[4],i[4]),paddingTopBottom:new o(i[2],i[2]),marginRight:new o(i[2],i[2]),labelMarginLeft:new o(i[3],i[4]),labelMarginRight:new o(i[3],i[4]),labelMarginTop:new o(i[2],i[2])},D={infoLabel:new z("extraSmallRegular","smallRegular")},B=M.getLocalizedStrings();function H({isDisabled:e,label:l,addressValueField:r,additionalInfoLabel:h,showAdditionalInfoLabel:b=!1,style:p,hasHoverBorder:u,isOptional:f}){const a=x(),{formState:{errors:c}}=y(),n=w(c,r.name),m=n?h:B.commonSetUp.businessVerification.addressAdditionInfo;return d.jsxs(I,{size:a,style:p,isDisabled:e!=null,isError:n,hasHoverBorder:u??!0,"data-testid":T("labeled-address-value-field",r.name),children:[d.jsx(v,{isDisabled:e,isOptional:f,label:l.label,htmlFor:r.name,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:l.width??"auto"}}),d.jsxs(L,{labelWidth:l.width,children:[d.jsx($,{...r,isDisabled:e,style:{minHeight:t.controlMinHeight.value(a),paddingTop:t.paddingTopBottom.valuePx(a),paddingBottom:t.paddingTopBottom.valuePx(a),width:"-webkit-fill-available",display:"flex",flexGrow:1,...r.style}}),(b||n)&&d.jsx(R,{size:a,isError:n,children:m})]})]})}const I=s.div`
1
+ import{q as x,cO as y,cW as w,V as d,cU as v,y as o,eT as $,aM as T,F as M,p as g,c as i,a as z}from"./index-CK2D3iZ1.js";import{n as s}from"./mui-DCr-y2iU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="82ea8e51-33c1-4539-b964-b8b4ec7438ad",e._sentryDebugIdIdentifier="sentry-dbid-82ea8e51-33c1-4539-b964-b8b4ec7438ad")}catch{}})();const t={width:new o(343,580,726),height:new o(i[6],i[6]),controlMinHeight:new o(i[4],i[4]),paddingTopBottom:new o(i[2],i[2]),marginRight:new o(i[2],i[2]),labelMarginLeft:new o(i[3],i[4]),labelMarginRight:new o(i[3],i[4]),labelMarginTop:new o(i[2],i[2])},D={infoLabel:new z("extraSmallRegular","smallRegular")},B=M.getLocalizedStrings();function H({isDisabled:e,label:l,addressValueField:r,additionalInfoLabel:h,showAdditionalInfoLabel:b=!1,style:p,hasHoverBorder:u,isOptional:f}){const a=x(),{formState:{errors:c}}=y(),n=w(c,r.name),m=n?h:B.commonSetUp.businessVerification.addressAdditionInfo;return d.jsxs(I,{size:a,style:p,isDisabled:e!=null,isError:n,hasHoverBorder:u??!0,"data-testid":T("labeled-address-value-field",r.name),children:[d.jsx(v,{isDisabled:e,isOptional:f,label:l.label,htmlFor:r.name,style:{marginLeft:t.labelMarginLeft.value(a),marginRight:t.labelMarginRight.value(a),marginTop:t.labelMarginTop.value(a),width:l.width??"auto"}}),d.jsxs(L,{labelWidth:l.width,children:[d.jsx($,{...r,isDisabled:e,style:{minHeight:t.controlMinHeight.value(a),paddingTop:t.paddingTopBottom.valuePx(a),paddingBottom:t.paddingTopBottom.valuePx(a),width:"-webkit-fill-available",display:"flex",flexGrow:1,...r.style}}),(b||n)&&d.jsx(R,{size:a,isError:n,children:m})]})]})}const I=s.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{q as a,V as i,eE as o,cU as n,o as s,aM as r,y as b}from"./index-DiLAcdW6.js";import{c,n as f}from"./mui-8xKzSljO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="d05d2037-4271-489c-b35d-4f905002f198",e._sentryDebugIdIdentifier="sentry-dbid-d05d2037-4271-489c-b35d-4f905002f198")}catch{}})();const y={width:new b(343,580,726)};function u({label:e,checkBoxField:l,style:d}){const t=a();return i.jsxs(h,{size:t,style:d,isDisabled:l.isDisabled,"data-testid":r(l.name,"labeled-check-box-field"),isSelected:l.defaultChecked??!1,children:[i.jsx(o,{...l,style:{...l.style}}),i.jsx(n,{isDisabled:l.isDisabled,label:e.label,labelStyle:e.style,htmlFor:l.name,style:{display:"flex",flex:1,minHeight:s.sp4,marginLeft:s.sp2,width:e.width,backgroundColor:"inherit",...e.style}})]})}const h=f.div`
1
+ import{q as a,V as i,eE as o,cU as n,o as s,aM as r,y as b}from"./index-CK2D3iZ1.js";import{c,n as f}from"./mui-DCr-y2iU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="d05d2037-4271-489c-b35d-4f905002f198",e._sentryDebugIdIdentifier="sentry-dbid-d05d2037-4271-489c-b35d-4f905002f198")}catch{}})();const y={width:new b(343,580,726)};function u({label:e,checkBoxField:l,style:d}){const t=a();return i.jsxs(h,{size:t,style:d,isDisabled:l.isDisabled,"data-testid":r(l.name,"labeled-check-box-field"),isSelected:l.defaultChecked??!1,children:[i.jsx(o,{...l,style:{...l.style}}),i.jsx(n,{isDisabled:l.isDisabled,label:e.label,labelStyle:e.style,htmlFor:l.name,style:{display:"flex",flex:1,minHeight:s.sp4,marginLeft:s.sp2,width:e.width,backgroundColor:"inherit",...e.style}})]})}const h=f.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{q as H,cO as F,cW as R,V as t,cU as B,y as x,aM as I,p as u,c as s,cX as q,o as i,a as G,d as X,F as Q,eO as U,M as Y,dh as A,cq as J,bF as S,cY as K,dI as Z,b as k,bD as ee,L as le}from"./index-DiLAcdW6.js";import{n as a}from"./mui-8xKzSljO.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]="4a3c9c0b-1342-45a1-8c87-7d16e697a120",e._sentryDebugIdIdentifier="sentry-dbid-4a3c9c0b-1342-45a1-8c87-7d16e697a120")}catch{}})();const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:w=!0,addIconInCreateLabel:b,getLabelForId:m,tagProperties:f,hasError:j,style:c})=>{const y=X(),$=Se(e,m),O=Q.getLocalizedStrings().dropDowns,C=$.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?z(r,m):void 0,M={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:y.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${y.colors.dropShadowHover}`,border:`1px solid ${y.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${i.sp0} ${i.sp0} ${i.sp0}`,overflow:"hidden"}),menuList:l=>({...l,borderRadius:i.sp1}),input:(l,{selectProps:p})=>({...l,":after":{width:p.inputValue.length>0?i.sp0:"unset"}})},P=l=>t.jsxs(fe,{children:[t.jsx(me,{children:t.jsx(K,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(xe,{children:`${O.createOption} "${l}"`})]}),E=l=>{const{menuIsOpen:p,isFocused:D,isDisabled:L,selectProps:_}=l,{value:N}=_;return t.jsx(se,{menuIsOpen:p,isFocused:D,isDisabled:L,selectedValue:N,hasError:j,"data-testid":I("creatable-single-select-control",o),children:t.jsx(S.Control,{...l,className:"select-control",children:l.children})})},T=l=>t.jsx($e,{children:t.jsxs(S.SingleValue,{...l,children:[l.selectProps.menuIsOpen===!1&&f!=null&&f.isTagShownForOption(l.data.value)===!0&&t.jsx(we,{children:t.jsx(ye,{style:f.style,children:f.tagName})}),l.children]})}),W=l=>{const{selectProps:p}=l,{placeholder:D,value:L}=p;return t.jsx(S.Input,{...l,autoComplete:"new-password",placeholder:L==null?D:void 0,"data-testid":I("creatable-single-select-input",o),children:l.children})};return t.jsx(U,{isMulti:!1,onCreateOption:l=>{const p=Y(l);n(p)},onChange:l=>{w!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>b===!0?P(l):`${O.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":I("creatable-single-select",o),classNamePrefix:"creatable-single-select-field",createOptionPosition:"last",allowCreateWhileLoading:!0,controlShouldRenderValue:!0,placeholder:h,menuPlacement:"auto",maxMenuHeight:288,defaultValue:v,value:v,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:E,Option:ae,Input:W,SingleValue:T,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:Ie,ClearIndicator:je,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:M,options:C,isClearable:!0,isSearchable:!0,isDisabled:d!=null},A())},ie=e=>t.jsx(S.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),w=r.indexOf(h)*40;return t.jsx(J,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:w,children:({index:b,style:m})=>t.jsx(pe,{style:m,children:o[b]})})},oe=()=>null,ae=e=>{const{isSelected:r,isDisabled:o,isFocused:n,data:d}=e,h=typeof d.label=="string"?d.label:d.value;return t.jsx(ne,{isFocused:n,isSelected:r,isDisabled:o,children:t.jsx(S.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":I("creatable-single-select-option",h),children:[t.jsx(he,{children:t.jsx(ce,{isSelected:r,isDisabled:o,children:e.label})}),r?t.jsxs(ue,{children:[t.jsx(ge,{className:"right-tick-icon"}),t.jsx(be,{className:"close-tick-icon"})]}):null]})})})},se=a.div`
1
+ import{q as H,cO as F,cW as R,V as t,cU as B,y as x,aM as I,p as u,c as s,cX as q,o as i,a as G,d as X,F as Q,eO as U,M as Y,dh as A,cq as J,bF as S,cY as K,dI as Z,b as k,bD as ee,L as le}from"./index-CK2D3iZ1.js";import{n as a}from"./mui-DCr-y2iU.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]="4a3c9c0b-1342-45a1-8c87-7d16e697a120",e._sentryDebugIdIdentifier="sentry-dbid-4a3c9c0b-1342-45a1-8c87-7d16e697a120")}catch{}})();const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:w=!0,addIconInCreateLabel:b,getLabelForId:m,tagProperties:f,hasError:j,style:c})=>{const y=X(),$=Se(e,m),O=Q.getLocalizedStrings().dropDowns,C=$.sort((l,p)=>l.label.localeCompare(p.label)),v=r!=null&&r?z(r,m):void 0,M={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:y.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${y.colors.dropShadowHover}`,border:`1px solid ${y.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${i.sp0} ${i.sp0} ${i.sp0}`,overflow:"hidden"}),menuList:l=>({...l,borderRadius:i.sp1}),input:(l,{selectProps:p})=>({...l,":after":{width:p.inputValue.length>0?i.sp0:"unset"}})},P=l=>t.jsxs(fe,{children:[t.jsx(me,{children:t.jsx(K,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(xe,{children:`${O.createOption} "${l}"`})]}),E=l=>{const{menuIsOpen:p,isFocused:D,isDisabled:L,selectProps:_}=l,{value:N}=_;return t.jsx(se,{menuIsOpen:p,isFocused:D,isDisabled:L,selectedValue:N,hasError:j,"data-testid":I("creatable-single-select-control",o),children:t.jsx(S.Control,{...l,className:"select-control",children:l.children})})},T=l=>t.jsx($e,{children:t.jsxs(S.SingleValue,{...l,children:[l.selectProps.menuIsOpen===!1&&f!=null&&f.isTagShownForOption(l.data.value)===!0&&t.jsx(we,{children:t.jsx(ye,{style:f.style,children:f.tagName})}),l.children]})}),W=l=>{const{selectProps:p}=l,{placeholder:D,value:L}=p;return t.jsx(S.Input,{...l,autoComplete:"new-password",placeholder:L==null?D:void 0,"data-testid":I("creatable-single-select-input",o),children:l.children})};return t.jsx(U,{isMulti:!1,onCreateOption:l=>{const p=Y(l);n(p)},onChange:l=>{w!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>b===!0?P(l):`${O.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":I("creatable-single-select",o),classNamePrefix:"creatable-single-select-field",createOptionPosition:"last",allowCreateWhileLoading:!0,controlShouldRenderValue:!0,placeholder:h,menuPlacement:"auto",maxMenuHeight:288,defaultValue:v,value:v,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:E,Option:ae,Input:W,SingleValue:T,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:Ie,ClearIndicator:je,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:M,options:C,isClearable:!0,isSearchable:!0,isDisabled:d!=null},A())},ie=e=>t.jsx(S.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),w=r.indexOf(h)*40;return t.jsx(J,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:w,children:({index:b,style:m})=>t.jsx(pe,{style:m,children:o[b]})})},oe=()=>null,ae=e=>{const{isSelected:r,isDisabled:o,isFocused:n,data:d}=e,h=typeof d.label=="string"?d.label:d.value;return t.jsx(ne,{isFocused:n,isSelected:r,isDisabled:o,children:t.jsx(S.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":I("creatable-single-select-option",h),children:[t.jsx(he,{children:t.jsx(ce,{isSelected:r,isDisabled:o,children:e.label})}),r?t.jsxs(ue,{children:[t.jsx(ge,{className:"right-tick-icon"}),t.jsx(be,{className:"close-tick-icon"})]}):null]})})})},se=a.div`
2
2
  width: 100%;
3
3
  background-color: ${e=>e.theme.colors.grey5};
4
4
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
@@ -1,4 +1,4 @@
1
- import{q as C,cO as U,cW as c,V as r,cU as j,y as a,eP as O,F as k,aM as N,c as i,o,p as _,a as A}from"./index-DiLAcdW6.js";import{n as d}from"./mui-8xKzSljO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="4caf1589-9ee4-4439-8e7f-f76c271423c8",e._sentryDebugIdIdentifier="sentry-dbid-4caf1589-9ee4-4439-8e7f-f76c271423c8")}catch{}})();const t={width:new a(343,580,726),height:new a(i[6],i[6]),paddingTopBottom:new a(i[2],i[2]),marginRight:new a(i[2],i[2]),labelMarginLeft:new a(i[3],i[4]),labelMarginRight:new a(i[3],i[4]),labelMarginTop:new a(i[2],i[2])},V={infoLabel:new A("extraSmallRegular","smallRegular")};function H({label:e,isDisabled:l,isOptional:p,style:u,file:h,name:n,registerOptions:f,additionalInfoLabel:b,acceptableTypes:y,sizeLimit:w,filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:F,hasError:E=!1,placeholderText:I,showPhotoPicker:S,useMobileCam:v,showUploadSuccessAnimation:D,showWebCamPopUpCloseIcon:T,updateFilesEntity:M,onDeleteFile:L,onEditFileName:R,onFileSizeError:B}){const s=C(),{formState:{errors:m}}=U(),g=c(m,n),W=c(m,`${n}.fileName`);return r.jsxs(q,{size:s,style:u,isDisabled:l!=null,"data-testid":N("document-field",n),children:[r.jsx(j,{isDisabled:l,label:e.label,isOptional:p,style:{marginLeft:t.labelMarginLeft.value(s),marginRight:t.labelMarginRight.value(s),marginTop:t.labelMarginTop.value(s),width:e.width??"auto",...e.style}}),r.jsxs(G,{labelWidth:e.width,size:s,children:[r.jsx(O,{name:n,filesEndPoint:P,authParams:F,registerOptions:f,file:h,sizeLimit:w,acceptableTypes:y,isDisabled:l==="disabled"||l==="readonly",filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,hasError:E,updateFilesEntity:M,onFileSizeError:B,onDeleteFile:L,onEditFileName:R,placeholderText:I,showPhotoPicker:S,useMobileCam:v,showWebCamPopUpCloseIcon:T,showUploadSuccessAnimation:D}),g&&r.jsx(J,{size:s,isError:g,children:W&&h!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:b})]})]})}const q=d.div`
1
+ import{q as C,cO as U,cW as c,V as r,cU as j,y as a,eP as O,F as k,aM as N,c as i,o,p as _,a as A}from"./index-CK2D3iZ1.js";import{n as d}from"./mui-DCr-y2iU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="4caf1589-9ee4-4439-8e7f-f76c271423c8",e._sentryDebugIdIdentifier="sentry-dbid-4caf1589-9ee4-4439-8e7f-f76c271423c8")}catch{}})();const t={width:new a(343,580,726),height:new a(i[6],i[6]),paddingTopBottom:new a(i[2],i[2]),marginRight:new a(i[2],i[2]),labelMarginLeft:new a(i[3],i[4]),labelMarginRight:new a(i[3],i[4]),labelMarginTop:new a(i[2],i[2])},V={infoLabel:new A("extraSmallRegular","smallRegular")};function H({label:e,isDisabled:l,isOptional:p,style:u,file:h,name:n,registerOptions:f,additionalInfoLabel:b,acceptableTypes:y,sizeLimit:w,filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:F,hasError:E=!1,placeholderText:I,showPhotoPicker:S,useMobileCam:v,showUploadSuccessAnimation:D,showWebCamPopUpCloseIcon:T,updateFilesEntity:M,onDeleteFile:L,onEditFileName:R,onFileSizeError:B}){const s=C(),{formState:{errors:m}}=U(),g=c(m,n),W=c(m,`${n}.fileName`);return r.jsxs(q,{size:s,style:u,isDisabled:l!=null,"data-testid":N("document-field",n),children:[r.jsx(j,{isDisabled:l,label:e.label,isOptional:p,style:{marginLeft:t.labelMarginLeft.value(s),marginRight:t.labelMarginRight.value(s),marginTop:t.labelMarginTop.value(s),width:e.width??"auto",...e.style}}),r.jsxs(G,{labelWidth:e.width,size:s,children:[r.jsx(O,{name:n,filesEndPoint:P,authParams:F,registerOptions:f,file:h,sizeLimit:w,acceptableTypes:y,isDisabled:l==="disabled"||l==="readonly",filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,hasError:E,updateFilesEntity:M,onFileSizeError:B,onDeleteFile:L,onEditFileName:R,placeholderText:I,showPhotoPicker:S,useMobileCam:v,showWebCamPopUpCloseIcon:T,showUploadSuccessAnimation:D}),g&&r.jsx(J,{size:s,isError:g,children:W&&h!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:b})]})]})}const q=d.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.size==="small"?"column":"row"};
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{q as C,d as T,cO as h,cW as R,V as r,o,cX as O,bO as _,b as q,gb as M,p as s,a as P,bD as U}from"./index-DiLAcdW6.js";import{n as i}from"./mui-8xKzSljO.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]="677852d3-e441-47de-a404-87dddea33dbf",e._sentryDebugIdIdentifier="sentry-dbid-677852d3-e441-47de-a404-87dddea33dbf")}catch{}})();const A={infoLabel:new P("extraSmallRegular","smallRegular")};function K({isDisabled:e,label:a,formattedText:t,dropdownStyle:f,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:x=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:D,registerOptions:L,defaultValue:p,isSelectDisabled:k,menuPlacement:v,name:j,placeholderLabel:E}){const d=C(),g=T(),{formState:{errors:S}}=h(),c=R(S,t.name),{control:I}=h(),z=l=>typeof l=="string"?l.toLocaleUpperCase():l.toString().toLocaleUpperCase();return r.jsxs(F,{size:d,style:m,isDisabled:e!=null,isError:c||n,children:[r.jsx(G,{windowSize:d,style:{width:a?.width??"auto",marginRight:o.sp2},children:r.jsx(H,{style:{width:"auto",...f},children:r.jsx(O,{name:j,control:I,defaultValue:p.dropDownValue,rules:L,render:({field:{value:l,onChange:V}})=>r.jsx(_,{pickerValues:p.dropDownList.map(u=>u.code),valueToLabel:z,selectedValue:l??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:u=>{V(u)},menuPlacement:v,titleTextStyle:q.standardRegular,titleColor:g.colors.hero,valueOpacity:1,backgroundColor:g.colors.grey5,placeholder:E})})})}),r.jsxs(W,{children:[r.jsx(M,{...t,style:t.style,isDisabled:t.isDisabled,isMasked:!0}),(x||c||n)&&r.jsxs(b,{size:d,isError:c||n,children:[w===!0?r.jsx(X,{children:r.jsx(B,{})}):null,y]}),$===!0&&r.jsx(b,{size:d,isError:!0,children:D})]})]})}const F=i.div`
1
+ import{q as C,d as T,cO as h,cW as R,V as r,o,cX as O,bO as _,b as q,gb as M,p as s,a as P,bD as U}from"./index-CK2D3iZ1.js";import{n as i}from"./mui-DCr-y2iU.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]="677852d3-e441-47de-a404-87dddea33dbf",e._sentryDebugIdIdentifier="sentry-dbid-677852d3-e441-47de-a404-87dddea33dbf")}catch{}})();const A={infoLabel:new P("extraSmallRegular","smallRegular")};function K({isDisabled:e,label:a,formattedText:t,dropdownStyle:f,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:x=!0,isSaveError:n=!1,showTickIcon:w,showErrorInfoLabel:$,errorInfoLabel:D,registerOptions:L,defaultValue:p,isSelectDisabled:k,menuPlacement:v,name:j,placeholderLabel:E}){const d=C(),g=T(),{formState:{errors:S}}=h(),c=R(S,t.name),{control:I}=h(),z=l=>typeof l=="string"?l.toLocaleUpperCase():l.toString().toLocaleUpperCase();return r.jsxs(F,{size:d,style:m,isDisabled:e!=null,isError:c||n,children:[r.jsx(G,{windowSize:d,style:{width:a?.width??"auto",marginRight:o.sp2},children:r.jsx(H,{style:{width:"auto",...f},children:r.jsx(O,{name:j,control:I,defaultValue:p.dropDownValue,rules:L,render:({field:{value:l,onChange:V}})=>r.jsx(_,{pickerValues:p.dropDownList.map(u=>u.code),valueToLabel:z,selectedValue:l??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:u=>{V(u)},menuPlacement:v,titleTextStyle:q.standardRegular,titleColor:g.colors.hero,valueOpacity:1,backgroundColor:g.colors.grey5,placeholder:E})})})}),r.jsxs(W,{children:[r.jsx(M,{...t,style:t.style,isDisabled:t.isDisabled,isMasked:!0}),(x||c||n)&&r.jsxs(b,{size:d,isError:c||n,children:[w===!0?r.jsx(X,{children:r.jsx(B,{})}):null,y]}),$===!0&&r.jsx(b,{size:d,isError:!0,children:D})]})]})}const F=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{q as f,V as n,cU as p,y as l,aM as g,c as t,o as a,ak as u,a as c}from"./index-DiLAcdW6.js";import{n as r}from"./mui-8xKzSljO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="b01c7d8e-8c62-4538-a387-d4ff264d0127",e._sentryDebugIdIdentifier="sentry-dbid-b01c7d8e-8c62-4538-a387-d4ff264d0127")}catch{}})();const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},y={infoLabel:new c("extraSmallRegular","smallRegular")};function z({label:e,value:o,additionalInfoLabel:s,style:h,infoLabelStyle:b}){const d=f();return n.jsxs(m,{size:d,style:h,"data-testid":g("labeled-text",e.label),children:[n.jsx(p,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(d),marginRight:i.labelMarginRight.value(d),marginTop:i.labelMarginTop.value(d),width:e.width??"auto"}}),n.jsxs(x,{labelWidth:e.width,children:[n.jsx(w,{"data-testid":g("labeled-text-input",e.label),children:o}),s!=null?n.jsx($,{size:d,style:b,children:s}):null]})]})}const m=r.div`
1
+ import{q as f,V as n,cU as p,y as l,aM as g,c as t,o as a,ak as u,a as c}from"./index-CK2D3iZ1.js";import{n as r}from"./mui-DCr-y2iU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="b01c7d8e-8c62-4538-a387-d4ff264d0127",e._sentryDebugIdIdentifier="sentry-dbid-b01c7d8e-8c62-4538-a387-d4ff264d0127")}catch{}})();const i={width:new l(343,580,726),height:new l(t[6],t[6]),paddingTopBottom:new l(t[2],t[2]),marginRight:new l(t[2],t[2]),labelMarginLeft:new l(t[3],t[4]),labelMarginRight:new l(t[3],t[4]),labelMarginTop:new l(t[2],t[2])},y={infoLabel:new c("extraSmallRegular","smallRegular")};function z({label:e,value:o,additionalInfoLabel:s,style:h,infoLabelStyle:b}){const d=f();return n.jsxs(m,{size:d,style:h,"data-testid":g("labeled-text",e.label),children:[n.jsx(p,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(d),marginRight:i.labelMarginRight.value(d),marginTop:i.labelMarginTop.value(d),width:e.width??"auto"}}),n.jsxs(x,{labelWidth:e.width,children:[n.jsx(w,{"data-testid":g("labeled-text-input",e.label),children:o}),s!=null?n.jsx($,{size:d,style:b,children:s}):null]})]})}const m=r.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{q as U,V as l,cU as me,o as s,y as I,aM as Z,c as m,cO as J,cX as ge,cW as fe,d as be,fW as xe,F,a as we,bF as _,fX as K,ao as H,fY as q,bD as Y,p as E,b as B,ak as Q,fZ as $e,al as ye,ag as ve}from"./index-DiLAcdW6.js";import{n as r}from"./mui-8xKzSljO.js";import{T as je}from"./RoleWithToolTip-fC3byzzv-BDZeG5VC.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]="9b54ba7c-6f00-4724-86c4-e4e08be080d0",e._sentryDebugIdIdentifier="sentry-dbid-9b54ba7c-6f00-4724-86c4-e4e08be080d0")}catch{}})();const ee={selectContainerMarginHorizontal:new I(m[2],m[3]),marginTop:new I(m[1],m[0])},Se=r(ye)`
1
+ import{q as U,V as l,cU as me,o as s,y as I,aM as Z,c as m,cO as J,cX as ge,cW as fe,d as be,fW as xe,F,a as we,bF as _,fX as K,ao as H,fY as q,bD as Y,p as E,b as B,ak as Q,fZ as $e,al as ye,ag as ve}from"./index-CK2D3iZ1.js";import{n as r}from"./mui-DCr-y2iU.js";import{T as je}from"./RoleWithToolTip-DbQ4ezrP-Dd2VpMcB.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]="c2b823ed-a0ec-4e2d-ab46-bce911afcce6",e._sentryDebugIdIdentifier="sentry-dbid-c2b823ed-a0ec-4e2d-ab46-bce911afcce6")}catch{}})();const ee={selectContainerMarginHorizontal:new I(m[2],m[3]),marginTop:new I(m[1],m[0])},Se=r(ye)`
2
2
  display: flex;
3
3
  gap: ${s.sp2};
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{q as M,V as l,cU as J,y as m,o,aM as H,c as n,cO as E,cX as q,cW as Q,d as X,b as V,bE as ie,F as te,fT as se,f_ as ae,aG as ne,a$ as de,bF as B,b8 as ce,bD as pe,cy as ue,p as D,f$ as U,cf as Y,n as he,ag as K,ak as ge,al as me,fF as be,fE as fe,bu as xe,fG as ye,bg as we,g0 as ve}from"./index-DiLAcdW6.js";import{n as d,c as $e}from"./mui-8xKzSljO.js";import{a as k}from"./sentry-C9BQzslk.js";import{Fu as W,Fv as Re}from"./zeni-epic-state-D9zDRHOK.js";import{T as je}from"./RoleWithToolTip-fC3byzzv-BDZeG5VC.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="933d7230-91fa-4e34-9560-1d744767bf59",e._sentryDebugIdIdentifier="sentry-dbid-933d7230-91fa-4e34-9560-1d744767bf59")}catch{}})();const N={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},Se=d.div`
1
+ import{q as M,V as l,cU as J,y as m,o,aM as H,c as n,cO as E,cX as q,cW as Q,d as X,b as V,bE as ie,F as te,fT as se,f_ as ae,aG as ne,a$ as de,bF as B,b8 as ce,bD as pe,cy as ue,p as D,f$ as U,cf as Y,n as he,ag as K,ak as ge,al as me,fF as be,fE as fe,bu as xe,fG as ye,bg as we,g0 as ve}from"./index-CK2D3iZ1.js";import{n as d,c as $e}from"./mui-DCr-y2iU.js";import{a as k}from"./sentry-Dm3bm_ok.js";import{Fu as W,Fv as Re}from"./zeni-epic-state-Cgro3mH-.js";import{T as je}from"./RoleWithToolTip-DbQ4ezrP-Dd2VpMcB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="d9109cd9-e4d8-49a4-9ddc-260c95db864f",e._sentryDebugIdIdentifier="sentry-dbid-d9109cd9-e4d8-49a4-9ddc-260c95db864f")}catch{}})();const N={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},Se=d.div`
2
2
  display: flex;
3
3
  margin-top: ${e=>N.grpBtnMarginTopBottom.valuePx(e.windowSize)};
4
4
  margin-bottom: ${e=>N.grpBtnMarginTopBottom.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{q as W,aN as ue,a8 as pe,cB as me,iC as E,im as I,cC as he,V as n,ab as ge,g1 as fe,aO as be,F as H,o as t,y as m,l as xe,L as ye,cE as V,iD as we,p as Ce,b as L,bf as je,c as r}from"./index-DiLAcdW6.js";import{a as B}from"./sentry-C9BQzslk.js";import{n as i}from"./mui-8xKzSljO.js";import{FW as Z,FT as Se,FU as De}from"./zeni-epic-state-D9zDRHOK.js";import $e from"./TransactionDetailPage-CX4JW9WM-DYs-BV31.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";import"./LabeledControlledCheckBoxField-CeMM7Ci3-Clti8s6a.js";import"./TrendWithTransactions-Gj-u5KXi-D0ELOp4D.js";import"./TrendChart-D3dT6hUb-GtZ1tY2K.js";import"./chartTypes-DRiSljvE-KVeUuxz9.js";import"./toCOABalancesWithID--oEGymMJ-CPBCh8hJ.js";import"./toChartData-CavJzP6f-mDvgzvAS.js";import"./NoDataChart-C5ZP32zB-Do8u5LpV.js";import"./InsightsSection-DvqCilqy-BqRQFw_O.js";import"./NavigationDots-BvKSgdgh-DnL6Qcxw.js";import"./TransactionList-BixeXh4Y-B3OYF6Sn.js";import"./BoxItem-Bjv3WNXO-Bmh7HRZ0.js";import"./commonDimensions-BDftm0gJ-7gU1w9kj.js";import"./uploadAttachment-BuVCsq0Q-BXyqcwpJ.js";import"./radio-default-CiSgisfh-DioVIMbJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="1326f37d-0743-45ee-bfeb-9360349bfb32",e._sentryDebugIdIdentifier="sentry-dbid-1326f37d-0743-45ee-bfeb-9360349bfb32")}catch{}})();const R={labelWidth:new m(120,145,160)},ve=i.div`
1
+ import{q as W,aN as ue,a8 as pe,cB as me,iC as E,im as I,cC as he,V as a,ab as ge,g1 as fe,aO as be,F as H,o as t,y as m,l as xe,L as ye,cE as V,iD as we,p as Ce,b as L,bf as je,c as r}from"./index-CK2D3iZ1.js";import{a as B}from"./sentry-Dm3bm_ok.js";import{n as i}from"./mui-DCr-y2iU.js";import{FW as Z,FT as Se,FU as De}from"./zeni-epic-state-Cgro3mH-.js";import $e from"./TransactionDetailPage-BHyBhrM7-B3UILKwv.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";import"./LabeledControlledCheckBoxField-BTjbeJMZ-ByFU_udW.js";import"./TrendWithTransactions-DVLdmgtU-Cv22_4bm.js";import"./TrendChart--yie2Xkp-B3lZJMT5.js";import"./chartTypes-PZyiFZrr-DoI-jL6q.js";import"./toCOABalancesWithID-CPbzhUua-B5GAWKcP.js";import"./toChartData-BUhYY9IR-S8AOthKK.js";import"./NoDataChart-BIcLmdso-V1__FO4W.js";import"./InsightsSection-DCFjudcA-7O17fZbk.js";import"./NavigationDots-Dm8SYcdL-CXSz5QAZ.js";import"./TransactionList-CIbSavhJ-Dp71olkE.js";import"./BoxItem-B8HVRhgE-Bev68PFI.js";import"./commonDimensions-C_y3LIE8-X_N9ThEv.js";import"./uploadAttachment-D-Lomshq-0SKv4D0e.js";import"./radio-default-CiSgisfh-DO_kFVBk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},l=new e.Error().stack;l&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[l]="3fb3a430-ea25-498d-9163-9c3683f32475",e._sentryDebugIdIdentifier="sentry-dbid-3fb3a430-ea25-498d-9163-9c3683f32475")}catch{}})();const R={labelWidth:new m(120,145,160)},ve=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -19,7 +19,7 @@ import{q as W,aN as ue,a8 as pe,cB as me,iC as E,im as I,cC as he,V as n,ab as g
19
19
  background-color: ${e=>e.theme.colors.grey3};
20
20
  min-height: 1px;
21
21
  max-height: 1px;
22
- `,O=(e,l)=>`${e}.${l}`;function Le({sectionId:e,jePostingDate:l,qboURL:a,isJELoading:s}){const u=H.getLocalizedStrings(),{dateFormat:C,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:j}}}=u,h=l.format(C.visual.MMMDCommaYYYYformat),g=W();return n.jsxs(ve,{children:[n.jsx(Ee,{windowSize:g,children:j.header}),n.jsxs(ke,{children:[n.jsx(V,{label:{label:o.jePostingDate,width:R.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:O(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),n.jsx(Ie,{}),n.jsx(V,{label:{label:o.jeLink,width:R.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:O(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:a?.toString()??"",autoComplete:"new-password",style:{color:Ce.link},options:{pattern:we}},isDisabled:s?"disabled":void 0})]})]})}const x={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},J="linkJETransactionPage",Q="linkJETransaction",G=H.getLocalizedStrings(),{common:{footer:M},dateFormat:Pe}=G,gt=({analytics:e,scheduleTab:l,jeScheduledTransaction:a,localData:s,saveStatus:u,isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:j,qboAppUrl:h,authParams:g,isDisabled:K,controllerUserDetails:P,isVendorBulkUpdateOnTransactionEnabled:X,onUpdateLocalData:ee,onBackClick:T,onCancelClick:te,onSaveClick:ne,onFetchTransactionClick:ae})=>{const p=W(),A=ue(u),y=Z(h.toString(),s.jeLink),S=Se(P.controllers),D=De(P.controllerUserIds),U=()=>{const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...I(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),te()},f=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ne()},ie=async d=>{ee(d)};B.useEffect(()=>{const d=f.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),B.useEffect(()=>{if(u==="Completed"&&A==="In-Progress"){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...I(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),T()}},[u,A,T]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:b}}}=G,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=a.vendor,c=a.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...I(c)},scheduleExpenseCategoryAndClass:{expenseCategory:a.jeDebit.account?.accountName??null,expenseClass:a.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:a.jeCredit.account?.accountName??null,assetId:a.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),ae(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",$=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",F=s.jeLink.type==="recommended",z=he(f.formState.dirtyFields),v=f.formState.isValid,w=$&&z&&v||$&&F&&v,k=z&&v;return n.jsxs(Te,{children:[n.jsxs(Ue,{windowSize:p,children:[n.jsx(Be,{windowSize:p,children:b.linkJE}),n.jsx(ze,{children:n.jsx(Ve,{onClick:U})})]}),n.jsxs(Ae,{children:[n.jsx(Ne,{windowSize:p,children:n.jsx(ge,{...f,children:n.jsx("form",{id:Y(J),onSubmit:f.handleSubmit(oe),children:n.jsx(Le,{jePostingDate:s.postingDate,sectionId:Q,qboURL:y,isJELoading:o?.fetchState==="In-Progress"})})})}),F?n.jsxs(Oe,{windowSize:p,children:[n.jsx(Je,{})," ",b.zeniRecommendation]}):null,$?n.jsx(Fe,{children:n.jsx($e,{isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:j,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,attachmentUploadEndpoint:"",authParams:g,isDisabled:K??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:X,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,n.jsxs(Re,{children:[re?n.jsx(q,{windowSize:p,children:b.transactionFetchError}):null,de?n.jsx(q,{windowSize:p,children:b.jeDetails}):null]}),se?n.jsx(fe,{fetchState:o?.fetchState}):null]}),w||k?n.jsx(be,{formId:w?Y(J):void 0,primaryBtn:{onClick:k&&!w?le:void 0,label:k&&!w?b.fetchJE:M.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:M.cancel,shouldResetOnCancel:!0,onClick:U}}):null]})},Y=e=>`${e}_form`,_=(e,l)=>({[Q]:{qboURL:Z(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Pe.visual.MMMDCommaYYYYformat)}}),Te=i.div`
22
+ `,O=(e,l)=>`${e}.${l}`;function Le({sectionId:e,jePostingDate:l,qboURL:n,isJELoading:s}){const u=H.getLocalizedStrings(),{dateFormat:C,jeSchedules:{scheduleDetails:{linkJE:o,scheduleDetailsSection:j}}}=u,h=l.format(C.visual.MMMDCommaYYYYformat),g=W();return a.jsxs(ve,{children:[a.jsx(Ee,{windowSize:g,children:j.header}),a.jsxs(ke,{children:[a.jsx(V,{label:{label:o.jePostingDate,width:R.labelWidth.value(g)},style:{width:"auto"},text:{type:"text",name:O(e,"jePostingDate"),placeholder:o.jeLinkURLPlaceholder,defaultValue:h,autoComplete:"new-password"},isDisabled:"disabled"}),a.jsx(Ie,{}),a.jsx(V,{label:{label:o.jeLink,width:R.labelWidth.value(g)},style:{width:"auto"},text:{type:"url",name:O(e,"qboURL"),placeholder:o.jeLinkURLPlaceholder,defaultValue:n?.toString()??"",autoComplete:"new-password",style:{color:Ce.link},options:{pattern:we}},isDisabled:s?"disabled":void 0})]})]})}const x={containerPaddingLeft:new m(r[3],r[3],r[6]),containerPaddingRight:new m(r[3],r[3],r[8]),navbarContainerPaddingTop:new m(r[2],r[3]),navbarContainerPaddingBottom:new m(r[4],r[5]),emptyScheduleHeight:new m(88,88)},J="linkJETransactionPage",Q="linkJETransaction",G=H.getLocalizedStrings(),{common:{footer:M},dateFormat:Pe}=G,gt=({analytics:e,scheduleTab:l,jeScheduledTransaction:n,localData:s,saveStatus:u,isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:j,qboAppUrl:h,authParams:g,isDisabled:K,controllerUserDetails:P,isVendorBulkUpdateOnTransactionEnabled:X,onUpdateLocalData:ee,onBackClick:T,onCancelClick:te,onSaveClick:ae,onFetchTransactionClick:ne})=>{const p=W(),A=ue(u),y=Z(h.toString(),s.jeLink),S=Se(P.controllers),D=De(P.controllerUserIds),U=()=>{const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkCanceled({scheduleType:l,transaction:{...I(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),te()},f=pe({mode:"all",reValidateMode:"onChange",resetOptions:{keepDirtyValues:!0,keepErrors:!0},defaultValues:_(s,h),values:_(s,h)}),oe=()=>{ae()},ie=async d=>{ee(d)};B.useEffect(()=>{const d=f.watch((c,{name:ce})=>{ce!=null&&c!=null&&me(()=>ie(c))});return()=>{d.unsubscribe()}}),B.useEffect(()=>{if(u==="Completed"&&A==="In-Progress"){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryLinkedSaved({scheduleType:l,transaction:{...I(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),T()}},[u,A,T]);const{common:{strings:{empty:N}},jeSchedules:{scheduleDetails:{linkJE:b}}}=G,le=()=>{if(s.jeLink?.transactionDetailID!=null){const d=n.vendor,c=n.baseTransaction;e.trackScheduleDetailsJournalEntryQBOFetched({scheduleType:l,transaction:{...I(c)},scheduleExpenseCategoryAndClass:{expenseCategory:n.jeDebit.account?.accountName??null,expenseClass:n.jeDebit.accountingClass?.className??null},journalEntryDetails:{...E(s,y?.toString())},vendorName:d.name,fixedAssetsDetails:l==="fixed_assets"?{accumulatedDepreciationCategory:n.jeCredit.account?.accountName??null,assetId:n.otherAttributes.assetId??null}:void 0,controllerEmails:S,controllerUserIds:D}),ne(s.jeLink.transactionDetailID)}},se=o!=null&&o.fetchState==="In-Progress",re=o!=null&&o.fetchState==="Error",$=o!=null&&o.fetchState==="Completed",de=o==null||o.fetchState==="Not-Started",F=s.jeLink.type==="recommended",z=he(f.formState.dirtyFields),v=f.formState.isValid,w=$&&z&&v||$&&F&&v,k=z&&v;return a.jsxs(Te,{children:[a.jsxs(Ue,{windowSize:p,children:[a.jsx(Be,{windowSize:p,children:b.linkJE}),a.jsx(ze,{children:a.jsx(Ve,{onClick:U})})]}),a.jsxs(Ae,{children:[a.jsx(Ne,{windowSize:p,children:a.jsx(ge,{...f,children:a.jsx("form",{id:Y(J),onSubmit:f.handleSubmit(oe),children:a.jsx(Le,{jePostingDate:s.postingDate,sectionId:Q,qboURL:y,isJELoading:o?.fetchState==="In-Progress"})})})}),F?a.jsxs(Oe,{windowSize:p,children:[a.jsx(Je,{})," ",b.zeniRecommendation]}):null,$?a.jsx(Fe,{children:a.jsx($e,{isCOTEnabled:C,transactionDetail:o,firstMonthOfFY:j,transactionAttachmentEndpointToDownload:N,transactionAttachmentsEndpointToFetch:N,attachmentUploadEndpoint:"",authParams:g,isDisabled:K??"readonly",isNavBarVisible:!1,containerStyles:{boxShadow:"none",backgroundColor:"inherit"},headerStyles:{boxShadow:"none",backgroundColor:"inherit"},autoCompleteData:{entityAutoCompleteView:{customer:[],vendor:[],fetchState:"Not-Started"}},isVendorBulkUpdateOnTransactionEnabled:X,onDeleteAttachment:()=>{},autoCompleteActions:{onAutoCompleteInputChange:()=>null,onCancelAutoComplete:()=>null,onAutoCompleteEntity:()=>null,onLoadOptions:()=>null},onUploadAttachmentAttachment:()=>null,enableBackClickOnSave:!0,saveLatestSelectedEntity:()=>null,updateVendorBulkRecommendationsFetchStatus:()=>null,setIsVendorUpdateAllChecked:()=>null})}):null,a.jsxs(Re,{children:[re?a.jsx(q,{windowSize:p,children:b.transactionFetchError}):null,de?a.jsx(q,{windowSize:p,children:b.jeDetails}):null]}),se?a.jsx(fe,{fetchState:o?.fetchState}):null]}),w||k?a.jsx(be,{formId:w?Y(J):void 0,primaryBtn:{onClick:k&&!w?le:void 0,label:k&&!w?b.fetchJE:M.save,isLoading:u==="In-Progress",isDisabled:u==="In-Progress"||o?.fetchState==="In-Progress"||o?.fetchState==="Error"},cancelBtn:{label:M.cancel,shouldResetOnCancel:!0,onClick:U}}):null]})},Y=e=>`${e}_form`,_=(e,l)=>({[Q]:{qboURL:Z(l.toString(),e.jeLink),jePostingDate:e.postingDate.format(Pe.visual.MMMDCommaYYYYformat)}}),Te=i.div`
23
23
  display: flex;
24
24
  flex: 1 1 auto;
25
25
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{q as he,d as Oe,a8 as me,y as d,cW as ue,V as t,f6 as He,ab as ge,ao as Be,fY as Ue,o as r,b as We,bQ as Ve,aK as re,cU as Ye,a$ as q,ek as qe,m as Xe,aO as Ge,F as U,an as Ke,cE as gr,n as pe,a7 as xr,av as wr,gM as $r,g7 as fr,aM as de,c as b,L as Ze,bS as xe,D as Je,ak as v,b5 as we,ag as G,dq as Qe,aZ as er,cy as rr,p as X,al as tr,iH as oe,iS as yr,iX as br,iY as vr,dr as Le,fn as jr,eD as Sr}from"./index-DiLAcdW6.js";import{a as ae}from"./sentry-C9BQzslk.js";import{n as i}from"./mui-8xKzSljO.js";import{EF as Cr}from"./zeni-epic-state-D9zDRHOK.js";import{T as ir}from"./RoleWithToolTip-fC3byzzv-BDZeG5VC.js";import{j as or}from"./CardNumberSubText-BYY-Inxd-CSceDgF3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new e.Error().stack;h&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[h]="4fca20d7-da77-4f2e-95fc-1a1b95987feb",e._sentryDebugIdIdentifier="sentry-dbid-4fca20d7-da77-4f2e-95fc-1a1b95987feb")}catch{}})();const Q="cardName",fe=U.getLocalizedStrings().spendManagement.chargeCard.renamePopup;function ji({currentCardName:e,renameFetchState:h,onCancelClick:c,onSubmitClick:p}){const l=he(),y="RenameCardForm",n=me({mode:"all",defaultValues:{[Q]:e},values:{[Q]:e}});ae.useEffect(()=>{n.setFocus(Q)},[]);const m=()=>{c()},R=n.handleSubmit(()=>{const $=n.getValues(Q);$!=null&&p($)}),N=ue(n.formState.errors,Q),o=U.getLocalizedStrings().common,D=le.largeLabelWidth.value(l);return t.jsx(zr,{windowSize:l,role:"presentation",children:t.jsx(Ke,{onClickAway:()=>c(),children:t.jsxs(kr,{windowSize:l,children:[t.jsx(ge,{...n,children:t.jsxs(Ir,{id:y,onSubmit:$=>{$.preventDefault(),R()},children:[t.jsx(Lr,{windowSize:l,children:fe.heading}),t.jsx(Nr,{hasError:N,children:t.jsx(gr,{label:{label:fe.newName,width:D},style:{width:"auto"},text:{type:"text",name:Q,defaultValue:e,placeholder:fe.placeholder,options:{required:!0,validate:$=>$!=null}}})})]})}),t.jsx(Tr,{children:t.jsxs(Pr,{children:[t.jsx(pe,{label:o.cancel,onClick:m,style:{width:84}}),t.jsx(Dr,{}),t.jsx(pe,{variant:"primary",label:o.texts.update,style:{width:84,whiteSpace:"nowrap"},loading:h==="In-Progress",type:"submit",form:y})]})})]})})})}const le={width:new d(343,500,500),largeLabelWidth:new d(108,108,108),popupLeftRightPadding:new d(b[5],b[6]),popupTopBottomPadding:new d(b[5],b[5])},zr=i.div`
1
+ import{q as he,d as Oe,a8 as me,y as d,cW as ue,V as t,f6 as He,ab as ge,ao as Be,fY as Ue,o as r,b as We,bQ as Ve,aK as re,cU as Ye,a$ as q,ek as qe,m as Xe,aO as Ge,F as U,an as Ke,cE as gr,n as pe,a7 as xr,av as wr,gM as $r,g7 as fr,aM as de,c as b,L as Ze,bS as xe,D as Je,ak as v,b5 as we,ag as G,dq as Qe,aZ as er,cy as rr,p as X,al as tr,iH as oe,iS as yr,iX as br,iY as vr,dr as Le,fn as jr,eD as Sr}from"./index-CK2D3iZ1.js";import{a as ae}from"./sentry-Dm3bm_ok.js";import{n as i}from"./mui-DCr-y2iU.js";import{EF as Cr}from"./zeni-epic-state-Cgro3mH-.js";import{T as ir}from"./RoleWithToolTip-DbQ4ezrP-Dd2VpMcB.js";import{j as or}from"./CardNumberSubText-BcJnpRxI-D1zdlj5r.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},h=new e.Error().stack;h&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[h]="daeb0576-c5a6-4adb-bdd8-50cd975a75cc",e._sentryDebugIdIdentifier="sentry-dbid-daeb0576-c5a6-4adb-bdd8-50cd975a75cc")}catch{}})();const Q="cardName",fe=U.getLocalizedStrings().spendManagement.chargeCard.renamePopup;function ji({currentCardName:e,renameFetchState:h,onCancelClick:c,onSubmitClick:p}){const l=he(),y="RenameCardForm",n=me({mode:"all",defaultValues:{[Q]:e},values:{[Q]:e}});ae.useEffect(()=>{n.setFocus(Q)},[]);const m=()=>{c()},R=n.handleSubmit(()=>{const $=n.getValues(Q);$!=null&&p($)}),N=ue(n.formState.errors,Q),o=U.getLocalizedStrings().common,D=le.largeLabelWidth.value(l);return t.jsx(zr,{windowSize:l,role:"presentation",children:t.jsx(Ke,{onClickAway:()=>c(),children:t.jsxs(kr,{windowSize:l,children:[t.jsx(ge,{...n,children:t.jsxs(Ir,{id:y,onSubmit:$=>{$.preventDefault(),R()},children:[t.jsx(Lr,{windowSize:l,children:fe.heading}),t.jsx(Nr,{hasError:N,children:t.jsx(gr,{label:{label:fe.newName,width:D},style:{width:"auto"},text:{type:"text",name:Q,defaultValue:e,placeholder:fe.placeholder,options:{required:!0,validate:$=>$!=null}}})})]})}),t.jsx(Tr,{children:t.jsxs(Pr,{children:[t.jsx(pe,{label:o.cancel,onClick:m,style:{width:84}}),t.jsx(Dr,{}),t.jsx(pe,{variant:"primary",label:o.texts.update,style:{width:84,whiteSpace:"nowrap"},loading:h==="In-Progress",type:"submit",form:y})]})})]})})})}const le={width:new d(343,500,500),largeLabelWidth:new d(108,108,108),popupLeftRightPadding:new d(b[5],b[6]),popupTopBottomPadding:new d(b[5],b[5])},zr=i.div`
2
2
  position: fixed;
3
3
  top: ${r.sp0};
4
4
  left: ${r.sp0};
@@ -1,4 +1,4 @@
1
- import{F as C,q as A,a8 as R,V as a,ab as W,cm as F,cH as E,y as m,cK as z,o as t,co as U,c as u,b8 as V,aR as _,bS as N}from"./index-DiLAcdW6.js";import{n as d}from"./mui-8xKzSljO.js";import{tM as Y,bL as $,bh as S}from"./zeni-epic-state-D9zDRHOK.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="2be45bc0-3d8f-4e5b-aa10-10abd2e88b85",e._sentryDebugIdIdentifier="sentry-dbid-2be45bc0-3d8f-4e5b-aa10-10abd2e88b85")}catch{}})();const s={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},q=d.div`
1
+ import{F as C,q as A,a8 as R,V as a,ab as W,cm as F,cH as E,y as m,cK as z,o as t,co as U,c as u,b8 as V,aR as _,bS as N}from"./index-CK2D3iZ1.js";import{n as d}from"./mui-DCr-y2iU.js";import{tM as Y,bL as $,bh as S}from"./zeni-epic-state-Cgro3mH-.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="2be45bc0-3d8f-4e5b-aa10-10abd2e88b85",e._sentryDebugIdIdentifier="sentry-dbid-2be45bc0-3d8f-4e5b-aa10-10abd2e88b85")}catch{}})();const s={labelWidth:new m(152,176,176),paddingBottom:new m(u[3],u[2]),width:new m(300,420,420),paddingRight:new m(u[4],u[3])},q=d.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -0,0 +1 @@
1
+ import{V as p}from"./index-CK2D3iZ1.js";import{f as l}from"./ACHDetailsPage-Cmt4zlsa-CVV8HYnx.js";import"./sentry-Dm3bm_ok.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./zeni-epic-state-Cgro3mH-.js";import"./mui-DCr-y2iU.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";import"./BankAccountWarningSection-DoqOr9h0-CysUjzfB.js";import"./MagicLinkTitleSection-RWEjrx8m-CX8Fw-B8.js";import"./BankAccountSection-De0m3zrf-DJo0ErGm.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="01bb1158-afa6-458e-b7aa-55707b1158d6",t._sentryDebugIdIdentifier="sentry-dbid-01bb1158-afa6-458e-b7aa-55707b1158d6")}catch{}})();const _=({magicLinkViewState:t,magicLinkBankAccountDetails:e,onSaveHandler:a,onACHDetailsUpdated:n,onFetchBankName:o,isDisabled:i,companyName:r})=>{const{fetchState:m,error:s,bankNameByRouting:c,bankAccountToCreate:d,fetchBankNameByRoutingStatus:u}=e,{currencySymbol:b,amount:f}=t;return p.jsx(l,{bankAccountToCreate:d,bankAccountCreationState:{fetchState:m,error:s},bankNameByRouting:c,fetchBankNameByRoutingStatus:u,onSaveHandler:a,onACHDetailsUpdated:n,onFetchBankName:o,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:b,amount:f})};export{_ as default};
@@ -0,0 +1 @@
1
+ import{V as b}from"./index-CK2D3iZ1.js";import{w as g}from"./DomesticWireDetailsPage-D5wDMrfR-C5cM-TE-.js";import"./sentry-Dm3bm_ok.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./zeni-epic-state-Cgro3mH-.js";import"./mui-DCr-y2iU.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";import"./BankAccountSection-De0m3zrf-DJo0ErGm.js";import"./MagicLinkTitleSection-RWEjrx8m-CX8Fw-B8.js";import"./BankAccountWarningSection-DoqOr9h0-CysUjzfB.js";import"./MailingDetailsSection-BT3SGHhD-Ctkbx47B.js";import"./LabeledAddressValueField-DpcuqwLy-CTnD7CIG.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]="e6660115-1ee5-4426-8502-481531d4ed72",e._sentryDebugIdIdentifier="sentry-dbid-e6660115-1ee5-4426-8502-481531d4ed72")}catch{}})();const E=({magicLinkViewState:e,magicLinkBankAccountDetails:t,mailingAddressDetails:o,isDisabled:a,companyName:n,onSaveHandler:r,onWireDetailsUpdated:i,onFetchBankName:d,onAddressClick:s})=>{const{fetchState:m,error:c,bankNameByRouting:p,bankAccountToCreate:u,fetchBankNameByRoutingStatus:l}=t,{currencySymbol:y,amount:f}=e;return b.jsx(g,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,addressToEdit:o,addressType:"vendor_address",fetchBankNameByRoutingStatus:l,isDisabled:a,onSaveHandler:r,onWireDetailsUpdated:i,onAddressClick:s,onFetchBankName:d,companyName:n,isMagicLink:!0,currencySymbol:y,amount:f})};export{E as default};
@@ -0,0 +1 @@
1
+ import{V as b}from"./index-CK2D3iZ1.js";import{f as y}from"./InternationalWireSwiftDetailsPage-xXEk6Ubv-DgeDkVIK.js";import"./sentry-Dm3bm_ok.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./zeni-epic-state-Cgro3mH-.js";import"./mui-DCr-y2iU.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";import"./BankAccountWarningSection-DoqOr9h0-CysUjzfB.js";import"./MailingDetailsSection-BT3SGHhD-Ctkbx47B.js";import"./LabeledAddressValueField-DpcuqwLy-CTnD7CIG.js";import"./MagicLinkTitleSection-RWEjrx8m-CX8Fw-B8.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="a9cbc390-a885-4e02-b431-56c34393ad9b",t._sentryDebugIdIdentifier="sentry-dbid-a9cbc390-a885-4e02-b431-56c34393ad9b")}catch{}})();const x=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:d,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:c,internationalBankAccountToCreate:m,fetchBankNameBySwiftStatus:l,bankNameBySwift:f}=e,{currencySymbol:p,amount:u}=t;return b.jsx(y,{bankAccountToCreate:m,bankAccountCreationState:c,bankNameBySwift:f,addressToEdit:a,addressType:"vendor_address",fetchBankNameBySwiftStatus:l,isDisabled:n,onSaveHandler:o,onBankDetailsUpdated:r,onAddressClick:s,onFetchBankNameBySwift:d,companyName:i,isMagicLink:!0,currencySymbol:p,amount:u})};export{x as default};
@@ -1,4 +1,4 @@
1
- import{aW as n,F as r,V as t,b3 as l,o as s,ae as c,D as a,l as d}from"./index-DiLAcdW6.js";import{n as o}from"./mui-8xKzSljO.js";import"./sentry-C9BQzslk.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./zeni-epic-state-D9zDRHOK.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="2bf6f4e0-2f2c-4774-8e63-429bc39f6f04",e._sentryDebugIdIdentifier="sentry-dbid-2bf6f4e0-2f2c-4774-8e63-429bc39f6f04")}catch{}})();const _=()=>{const[e]=n("Confetti"),i=r.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(p,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(b,{})}),t.jsxs(f,{children:[t.jsx(m,{children:i.successTitle}),t.jsx(g,{children:i.successNote})]})]}):null},p=o.div`
1
+ import{aW as n,F as r,V as t,b3 as l,o as s,ae as c,D as a,l as d}from"./index-CK2D3iZ1.js";import{n as o}from"./mui-DCr-y2iU.js";import"./sentry-Dm3bm_ok.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./zeni-epic-state-Cgro3mH-.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="2bf6f4e0-2f2c-4774-8e63-429bc39f6f04",e._sentryDebugIdIdentifier="sentry-dbid-2bf6f4e0-2f2c-4774-8e63-429bc39f6f04")}catch{}})();const _=()=>{const[e]=n("Confetti"),i=r.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen;return e!=null?t.jsxs(p,{children:[t.jsx(l,{loop:!1,play:!0,segments:[100,299],animationData:e,style:{position:"absolute"},rendererSettings:{preserveAspectRatio:"xMidYMid slice"}}),t.jsx(u,{children:t.jsx(b,{})}),t.jsxs(f,{children:[t.jsx(m,{children:i.successTitle}),t.jsx(g,{children:i.successNote})]})]}):null},p=o.div`
2
2
  z-index: 999;
3
3
  height: 100vh;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{F as d,aV as p,V as n,D as C,o as t,ak as f,p as m,cf as g}from"./index-DiLAcdW6.js";import{n as s}from"./mui-8xKzSljO.js";import{a as l}from"./sentry-C9BQzslk.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]="c0a7d84b-b9c0-441f-944f-5639808ab897",e._sentryDebugIdIdentifier="sentry-dbid-c0a7d84b-b9c0-441f-944f-5639808ab897")}catch{}})();const b=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),$=({companyName:e,currencySymbol:a,amount:r})=>{const i=d.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,o=r>0?` ${p("0,0.[00]",r,a)}`:"",c=i.title.replace(/<tenant_name>/,e)+o;return n.jsxs(n.Fragment,{children:[n.jsx(w,{children:c}),n.jsxs(u,{children:[i.description.replace(/<tenant_name>/,e),n.jsxs(y,{children:[n.jsx(h,{}),i.encrypted]})]})]})},y=s(g)`
1
+ import{F as d,aV as p,V as n,D as C,o as t,ak as f,p as m,cf as g}from"./index-CK2D3iZ1.js";import{n as s}from"./mui-DCr-y2iU.js";import{a as l}from"./sentry-Dm3bm_ok.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]="c0a7d84b-b9c0-441f-944f-5639808ab897",e._sentryDebugIdIdentifier="sentry-dbid-c0a7d84b-b9c0-441f-944f-5639808ab897")}catch{}})();const b=e=>l.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},l.createElement("path",{d:"M12.0257 -0.000342749C11.8221 -0.00677984 11.624 0.0667416 11.4727 0.204861C11.4727 0.204861 7.52114 3.7329 2.78947 3.7329C2.5801 3.73292 2.37931 3.81721 2.23125 3.96724C2.0832 4.11726 2.00002 4.32072 2 4.53288V11.0713C2 14.6328 3.62601 20.4933 11.6937 23.9366C11.7906 23.978 11.8948 23.9993 12 23.9993C12.1052 23.9993 12.2094 23.978 12.3063 23.9366C20.374 20.4933 22 14.6328 22 11.0713V4.53288C22 4.32072 21.9168 4.11726 21.7687 3.96724C21.6207 3.81721 21.4199 3.73292 21.2105 3.7329C16.4789 3.7329 12.5273 0.204861 12.5273 0.204861C12.3892 0.0787349 12.2115 0.00606537 12.0257 -0.000342749ZM12 5.33287C13.7421 5.33287 15.1579 6.7675 15.1579 8.53279V9.59943C16.0263 9.59943 16.7368 10.3194 16.7368 11.1994V15.466C16.7368 16.3459 16.0263 17.0659 15.1579 17.0659H8.84211C7.97368 17.0659 7.26316 16.3459 7.26316 15.466V11.1994C7.26316 10.3194 7.97368 9.59943 8.84211 9.59943V8.53279C8.84211 6.7675 10.2579 5.33287 12 5.33287ZM12 6.93283C11.1316 6.93283 10.4211 7.65281 10.4211 8.53279V9.59943H13.5789V8.53279C13.5789 7.65281 12.8684 6.93283 12 6.93283ZM12 11.7327C11.5812 11.7327 11.1796 11.9013 10.8835 12.2013C10.5874 12.5014 10.4211 12.9083 10.4211 13.3327C10.4211 13.757 10.5874 14.164 10.8835 14.464C11.1796 14.7641 11.5812 14.9326 12 14.9326C12.4188 14.9326 12.8204 14.7641 13.1165 14.464C13.4126 14.164 13.5789 13.757 13.5789 13.3327C13.5789 12.9083 13.4126 12.5014 13.1165 12.2013C12.8204 11.9013 12.4188 11.7327 12 11.7327Z",fill:"currentColor"})),$=({companyName:e,currencySymbol:a,amount:r})=>{const i=d.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,o=r>0?` ${p("0,0.[00]",r,a)}`:"",c=i.title.replace(/<tenant_name>/,e)+o;return n.jsxs(n.Fragment,{children:[n.jsx(w,{children:c}),n.jsxs(u,{children:[i.description.replace(/<tenant_name>/,e),n.jsxs(y,{children:[n.jsx(h,{}),i.encrypted]})]})]})},y=s(g)`
2
2
  display: flex;
3
3
  gap: ${t.sp1};
4
4
  color: ${m.successDark};
@@ -1,11 +1,11 @@
1
- import{q as f,F as u,y as r,V as s,o as d,cG as h,b7 as $,c as i}from"./index-DiLAcdW6.js";import{n as g}from"./mui-8xKzSljO.js";import{W as y}from"./LabeledAddressValueField-CC7T3qZQ-LVQIjlS2.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]="1c339698-c1fa-4dbc-b327-5d9d78d0682d",e._sentryDebugIdIdentifier="sentry-dbid-1c339698-c1fa-4dbc-b327-5d9d78d0682d")}catch{}})();const o={largeLabelWidth:new r(120,140,220),paddingTopBottom:new r(i[3],i[3]),marginRight:new r(i[3],i[8]),marginLeft:new r(i[3],i[6]),marginLeftTitle:new r(i[4],i[6])},z=({sectionId:e,addressToEdit:a,addressType:n,isDisabled:m,onAddressClick:p})=>{const l=f(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,c=o.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(v,{size:l,children:t.addressDetailTitle}),s.jsx(x,{size:l,children:s.jsx(y,{isDisabled:m,label:{label:t.address,width:c},addressValueField:{name:w(e,"mailingAddress"),placeholder:h(t.address),defaultValue:a,registerOptions:{validate:b=>b!=null},onClick:()=>{p(n)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${d.sp2} ${d.sp2} ${d.sp2} ${d.sp0}`},hasHoverBorder:!1})})]})},w=(e,a)=>`${e}.${a}`,x=g.div`
1
+ import{q as c,F as u,y as r,V as s,o as a,cG as h,b7 as $,c as i}from"./index-CK2D3iZ1.js";import{n as g}from"./mui-DCr-y2iU.js";import{W as y}from"./LabeledAddressValueField-DpcuqwLy-CTnD7CIG.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="0504df55-983a-4955-b7f2-5b2acd0ebbb7",e._sentryDebugIdIdentifier="sentry-dbid-0504df55-983a-4955-b7f2-5b2acd0ebbb7")}catch{}})();const o={largeLabelWidth:new r(120,140,220),paddingTopBottom:new r(i[3],i[3]),marginRight:new r(i[3],i[8]),marginLeft:new r(i[3],i[6]),marginLeftTitle:new r(i[4],i[6])},z=({sectionId:e,addressToEdit:d,addressType:n,isDisabled:b,onAddressClick:m})=>{const l=c(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,p=o.largeLabelWidth.value(l);return s.jsxs(s.Fragment,{children:[s.jsx(v,{size:l,children:t.addressDetailTitle}),s.jsx(x,{size:l,children:s.jsx(y,{isDisabled:b,label:{label:t.address,width:p},addressValueField:{name:w(e,"mailingAddress"),placeholder:h(t.address),defaultValue:d,registerOptions:{validate:f=>f!=null},onClick:()=>{m(n)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,d)=>`${e}.${d}`,x=g.div`
2
2
  width: auto;
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  background-color: ${e=>e.theme.colors.grey5};
6
6
  border: 1px solid ${e=>e.theme.colors.grey3};
7
- box-shadow: ${e=>`${d.sp0} 2px ${d.sp1} ${e.theme.colors.dropShadowNormal}`};
8
- border-radius: ${d.sp2};
7
+ box-shadow: ${e=>`${a.sp0} 2px ${a.sp1} ${e.theme.colors.dropShadowNormal}`};
8
+ border-radius: ${a.sp2};
9
9
  margin-left: ${e=>o.marginLeft.valuePx(e.size)};
10
10
  margin-right: ${e=>o.marginRight.valuePx(e.size)};
11
11
  margin-top: ${e=>o.paddingTopBottom.valuePx(e.size)};
@@ -15,7 +15,7 @@ import{q as f,F as u,y as r,V as s,o as d,cG as h,b7 as $,c as i}from"./index-Di
15
15
  }
16
16
  `,v=g($)`
17
17
  color: ${e=>e.theme.colors.primary};
18
- margin-bottom: ${d.sp3};
19
- margin-top: ${d.sp5};
18
+ margin-bottom: ${a.sp3};
19
+ margin-top: ${a.sp5};
20
20
  margin-left: ${e=>o.marginLeftTitle.valuePx(e.size)};
21
21
  `;export{z as T};
@@ -1,4 +1,4 @@
1
- import{V as s,an as p,eJ as u,o as r,d as f,eK as h}from"./index-DiLAcdW6.js";import{a as y}from"./sentry-C9BQzslk.js";import{n as c,c as b}from"./mui-8xKzSljO.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="06c4a1b0-4435-4022-8467-85f30fde799e",e._sentryDebugIdIdentifier="sentry-dbid-06c4a1b0-4435-4022-8467-85f30fde799e")}catch{}})();const g=({open:e,onClose:o,anchorEl:t,children:n,styles:l})=>{const i=f();return s.jsx(h,{transitionDuration:0,anchorEl:t,open:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",background:i.colors.grey5,boxShadow:`${r.sp0} 2px ${r.sp2} ${i.colors.dropShadowHover}`,boxSizing:"border-box",transform:l?.transform??"translate(30px,10px)",borderRadius:r.sp1}}},onClose:o,disableAutoFocus:!0,disableEnforceFocus:!0,children:n})},m=c.div`
1
+ import{V as s,an as p,eJ as u,o as r,d as f,eK as h}from"./index-CK2D3iZ1.js";import{a as y}from"./sentry-Dm3bm_ok.js";import{n as c,c as b}from"./mui-DCr-y2iU.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="06c4a1b0-4435-4022-8467-85f30fde799e",e._sentryDebugIdIdentifier="sentry-dbid-06c4a1b0-4435-4022-8467-85f30fde799e")}catch{}})();const g=({open:e,onClose:o,anchorEl:t,children:n,styles:l})=>{const i=f();return s.jsx(h,{transitionDuration:0,anchorEl:t,open:e,anchorOrigin:{vertical:"bottom",horizontal:"left"},transformOrigin:{vertical:"top",horizontal:"right"},slotProps:{paper:{style:{display:"flex",flexDirection:"column",justifyContent:"center",alignItems:"center",background:i.colors.grey5,boxShadow:`${r.sp0} 2px ${r.sp2} ${i.colors.dropShadowHover}`,boxSizing:"border-box",transform:l?.transform??"translate(30px,10px)",borderRadius:r.sp1}}},onClose:o,disableAutoFocus:!0,disableEnforceFocus:!0,children:n})},m=c.div`
2
2
  position: relative;
3
3
  `,I=({menuItems:e,isMenuOpen:o,isMenuVisible:t=!0,setIsMenuOpen:n,styles:l,menuIconStyles:i})=>{const d=y.useRef(null);return s.jsx(p,{onClickAway:()=>{n(!1)},children:s.jsxs(m,{ref:d,children:[s.jsx(x,{className:"placeholder",style:i,onClick:a=>{a.stopPropagation(),n(!o)},children:s.jsx(v,{isMenuVisible:t,children:s.jsx(u,{})})}),o?s.jsx(g,{open:o,onClose:a=>{a.stopPropagation(),n(!1)},anchorEl:d.current,styles:l,children:e}):null]})})},x=c.div`
4
4
  height: ${r.sp4};
@@ -1,4 +1,4 @@
1
- import{d as z,q as M,fv as I,F as v,aS as x,V as i,bz as L,a9 as $,fp as _,o,bu as P,y as d,al as H,ak as B,b as R,a as W,fB as j,fC as C,c as u,fL as V,p as A,ag as E}from"./index-DiLAcdW6.js";import{a as y}from"./sentry-C9BQzslk.js";import{n as t}from"./mui-8xKzSljO.js";import{bL as N}from"./zeni-epic-state-D9zDRHOK.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5bb3f336-8f7a-4f8e-b285-09f70a77fb9e",e._sentryDebugIdIdentifier="sentry-dbid-5bb3f336-8f7a-4f8e-b285-09f70a77fb9e")}catch{}})();const s={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(u[6],u[7]),iconContainerMarginRight:new d(12,u[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,u[4]),elementsMarginLeftRight:new d(u[3],u[4])},q={title:new W("standardMedium","largeMedium")},F=t.img`
1
+ import{d as z,q as M,fv as I,F as v,aS as x,V as i,bz as L,a9 as $,fp as _,o,bu as P,y as d,al as H,ak as B,b as R,a as W,fB as j,fC as C,c as u,fL as V,p as A,ag as E}from"./index-CK2D3iZ1.js";import{a as y}from"./sentry-Dm3bm_ok.js";import{n as t}from"./mui-DCr-y2iU.js";import{bL as N}from"./zeni-epic-state-Cgro3mH-.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="5bb3f336-8f7a-4f8e-b285-09f70a77fb9e",e._sentryDebugIdIdentifier="sentry-dbid-5bb3f336-8f7a-4f8e-b285-09f70a77fb9e")}catch{}})();const s={sectionWidth:new d(343,580,726),iconContainerMaxWidthHeight:new d(u[6],u[7]),iconContainerMarginRight:new d(12,u[3]),iconPadding:new d(10,12),iconWidthHeight:new d(20,u[4]),elementsMarginLeftRight:new d(u[3],u[4])},q={title:new W("standardMedium","largeMedium")},F=t.img`
2
2
  width: ${e=>s.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
3
3
  height: ${e=>s.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
4
4
  border-radius: ${o.sp11};
@@ -1,4 +1,4 @@
1
- import{d as N,av as B,iH as a,V as n,bz as D,g1 as x,F as M,o as O}from"./index-DiLAcdW6.js";import{n as P}from"./mui-8xKzSljO.js";import{EF as V}from"./zeni-epic-state-D9zDRHOK.js";import{l as _,r as $}from"./ChargeCardListTable-D5B05Z1F-KVV8IBYB.js";import"./sentry-C9BQzslk.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";import"./Menu-wpP8R1br-CDR69j-M.js";import"./RoleWithToolTip-fC3byzzv-BDZeG5VC.js";import"./CardNumberSubText-BYY-Inxd-CSceDgF3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},i=new e.Error().stack;i&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[i]="cf3a7145-208d-4d45-8256-4c39e2ff857b",e._sentryDebugIdIdentifier="sentry-dbid-cf3a7145-208d-4d45-8256-4c39e2ff857b")}catch{}})();const{spendManagement:{chargeCard:u}}=M.getLocalizedStrings(),rt=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:i,isDebitCardFeatureEnabled:o,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:r,creditAccount:d,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:c,controllerEmails:b,signedInUser:S,onChargeCardRowClick:f,onBackClick:p,onReloadCards:g,onColumnSortConfigChanged:k})=>{const A=N(),y=B(),h=V(y.loggedInUserRoleMap),F=e.cards.some(t=>t.type.code.includes("credit")),m=e.cards.some(t=>t.type.code.includes("debit")),v=F&&m?u.cardList.title.cards:m?u.cardList.title.debit:u.cardList.title.credit,I=h===!0?{creditCardCashbackOffer:`${r.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${r.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:a(r.cashbackSummary.cashbackEarned.amount),redeemedCashback:a(r.cashbackSummary.cashbackRedeemed.amount),availableCashback:a(r.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:r.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:r.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,E=i&&l&&h===!0?{creditAccountId:d.id,creditAccountLimit:a(d.limit.amount),creditAccountAvailableAmount:a(d.available.amount),creditAccountSpentAmount:a(d.balance.amount+d.hold.amount),creditAccountStatus:d.status,outstandingBalance:a(C.remainingAmountDue.amount)}:void 0,L=o&&s?{debitAccountId:c.depositAccounts.map(t=>t.id),debitAccountName:c.depositAccounts.map(t=>t.accountName),debitAccountBalance:c.depositAccounts.map(t=>a(t.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:c.depositAccounts.map(t=>t.accountStatus)}:void 0,w={isCreditCardOffered:i,isDebitCardOffered:o,isDebitCardEnabled:s,isCreditCardEnabled:l},R={revokeChargeCardFetchState:{fetchState:"Not-Started"},unlockChargeCardsFetchState:{fetchState:"Not-Started"},lockChargeCardsFetchState:{fetchState:"Not-Started"},closeChargeCardsFetchState:{fetchState:"Not-Started"},updateChargeCardLimitFetchState:{fetchState:"Not-Started"},updateChargeCardNameFetchState:{fetchState:"Not-Started"},depositAccountLimitFetchState:{fetchState:"Not-Started"},recurringExpenses:[],recurringExpensesFetchState:{fetchState:"Not-Started"}};return n.jsxs(j,{children:[n.jsx(D,{title:v,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:p,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?n.jsx(x,{fetchState:e.fetchState,styles:{margin:"auto"}}):n.jsx(_,{onBulkCloseClick:()=>{},onBulkLockClick:()=>{},bulkSubmissionLimit:$,isCardControlsEnabled:!1,cardsSelectedForBulkAction:[],isBulkActionAllowed:!1,firstSelectedCardStatus:void 0,setActionTypeForRowAction:()=>{},setCardIdForRowAction:()=>{},controllerEmails:b,isChargeCardFeatureEnabled:i,isDebitCardFeatureEnabled:o,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:d,creditAccountRepayment:C,productInformation:w,cashbackInformation:I,creditAccountInformation:E,debitAccountInformation:L,depositAccountListWithDebitCardIssued:c,cardList:e.cards,showViewForCardUser:!0,signedInUser:S,fetchState:e.fetchState,unlockChargeCardsFetchState:"Not-Started",revokeChargeCardsInviteFetchState:"Not-Started",rowActionView:R,onProceedForBulkActionClick:t=>{},removeAllCardsFromBulkActionList:()=>{},setShowBulkChangeSpendLimitPopup:t=>{},updateBulkActionList:t=>{},onReloadCards:g,onChargeCardRowClick:(t,z)=>{f(t)},uiState:e.uiState,onColumnSortConfigChanged:k,onChargeCardResendInviteClick:()=>{}})]})},j=P.div`
1
+ import{d as N,av as B,iH as a,V as n,bz as D,g1 as x,F as M,o as O}from"./index-CK2D3iZ1.js";import{n as P}from"./mui-DCr-y2iU.js";import{EF as V}from"./zeni-epic-state-Cgro3mH-.js";import{l as _,r as $}from"./ChargeCardListTable-DBryLHST-Ce2gmrfZ.js";import"./sentry-Dm3bm_ok.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";import"./Menu-BTZYMOTT-CKMXXApd.js";import"./RoleWithToolTip-DbQ4ezrP-Dd2VpMcB.js";import"./CardNumberSubText-BcJnpRxI-D1zdlj5r.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]="6c795e86-a015-482c-8692-f6b0cde7e9db",e._sentryDebugIdIdentifier="sentry-dbid-6c795e86-a015-482c-8692-f6b0cde7e9db")}catch{}})();const{spendManagement:{chargeCard:u}}=M.getLocalizedStrings(),rt=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:c,isDebitCardFeatureEnabled:o,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:r,creditAccount:d,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:i,controllerEmails:b,signedInUser:S,onChargeCardRowClick:p,onBackClick:f,onReloadCards:g,onColumnSortConfigChanged:k})=>{const A=N(),y=B(),h=V(y.loggedInUserRoleMap),F=e.cards.some(t=>t.type.code.includes("credit")),m=e.cards.some(t=>t.type.code.includes("debit")),v=F&&m?u.cardList.title.cards:m?u.cardList.title.debit:u.cardList.title.credit,I=h===!0?{creditCardCashbackOffer:`${r.cashbackAnalytics.creditCardCashbackOffer}%`,debitCardCashbackOffer:`${r.cashbackAnalytics.debitCardCashbackOffer}%`,totalEarnedCashback:a(r.cashbackSummary.cashbackEarned.amount),redeemedCashback:a(r.cashbackSummary.cashbackRedeemed.amount),availableCashback:a(r.cashbackSummary.cashbackAvailable.amount),creditCardCashbackRedemptionMode:r.cashbackAnalytics.creditCardCashbackRedemptionMode,debitCardCashbackRedemptionMode:r.cashbackAnalytics.debitCardCashbackRedemptionMode}:void 0,E=c&&l&&h===!0?{creditAccountId:d.id,creditAccountLimit:a(d.limit.amount),creditAccountAvailableAmount:a(d.available.amount),creditAccountSpentAmount:a(d.balance.amount+d.hold.amount),creditAccountStatus:d.status,outstandingBalance:a(C.remainingAmountDue.amount)}:void 0,L=o&&s?{debitAccountId:i.depositAccounts.map(t=>t.id),debitAccountName:i.depositAccounts.map(t=>t.accountName),debitAccountBalance:i.depositAccounts.map(t=>a(t.accountBalance.available.amount)),debitCardsSpend:0,debitAccountStatus:i.depositAccounts.map(t=>t.accountStatus)}:void 0,w={isCreditCardOffered:c,isDebitCardOffered:o,isDebitCardEnabled:s,isCreditCardEnabled:l},R={revokeChargeCardFetchState:{fetchState:"Not-Started"},unlockChargeCardsFetchState:{fetchState:"Not-Started"},lockChargeCardsFetchState:{fetchState:"Not-Started"},closeChargeCardsFetchState:{fetchState:"Not-Started"},updateChargeCardLimitFetchState:{fetchState:"Not-Started"},updateChargeCardNameFetchState:{fetchState:"Not-Started"},depositAccountLimitFetchState:{fetchState:"Not-Started"},recurringExpenses:[],recurringExpensesFetchState:{fetchState:"Not-Started"}};return n.jsxs(j,{children:[n.jsx(D,{title:v,backgroundColor:A.colors.grey4,style:{zIndex:3},onBackClick:f,source:"MyPendingActivationChargeCardListPage"}),e.fetchState==="Not-Started"||e.fetchState==="In-Progress"?n.jsx(x,{fetchState:e.fetchState,styles:{margin:"auto"}}):n.jsx(_,{onBulkCloseClick:()=>{},onBulkLockClick:()=>{},bulkSubmissionLimit:$,isCardControlsEnabled:!1,cardsSelectedForBulkAction:[],isBulkActionAllowed:!1,firstSelectedCardStatus:void 0,setActionTypeForRowAction:()=>{},setCardIdForRowAction:()=>{},controllerEmails:b,isChargeCardFeatureEnabled:c,isDebitCardFeatureEnabled:o,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:d,creditAccountRepayment:C,productInformation:w,cashbackInformation:I,creditAccountInformation:E,debitAccountInformation:L,depositAccountListWithDebitCardIssued:i,cardList:e.cards,showViewForCardUser:!0,signedInUser:S,fetchState:e.fetchState,unlockChargeCardsFetchState:"Not-Started",revokeChargeCardsInviteFetchState:"Not-Started",rowActionView:R,onProceedForBulkActionClick:t=>{},removeAllCardsFromBulkActionList:()=>{},setShowBulkChangeSpendLimitPopup:t=>{},updateBulkActionList:t=>{},onReloadCards:g,onChargeCardRowClick:(t,z)=>{p(t)},uiState:e.uiState,onColumnSortConfigChanged:k,onChargeCardResendInviteClick:()=>{}})]})},j=P.div`
2
2
  display: flex;
3
3
  min-height: ${`calc(100vh - ${O.sp9})`};
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{q as ie,fO as te,d as ge,av as be,fP as ye,a8 as we,aA as xe,cC as Pe,cB as ve,F as re,V as l,fQ as De,bz as $e,ab as Se,aO as Oe,o as s,cx as ne,fR as de,fS as ce,fT as ue,y as L,al as me,b as Re,a as je,aG as ee,cN as Ce,cE as Le,fU as Z,cK as Te,cI as Ie,fV as Ve,aZ as Be,c as _}from"./index-DiLAcdW6.js";import{a as v}from"./sentry-C9BQzslk.js";import{n as m}from"./mui-8xKzSljO.js";import{bi as le,bg as pe,bL as ze,bh as Fe}from"./zeni-epic-state-D9zDRHOK.js";import{W as Ne}from"./LabeledAddressValueField-CC7T3qZQ-LVQIjlS2.js";import{Y as ke}from"./LabeledUserSingleSelectWithSubtitlesField-UlGND56Y-B4usNbPq.js";import{C as Ae,j as Me}from"./LabeledZeniRolesDropDownField-dpz7g9jK-BGB3Jdty.js";import"./liveblocks-DjrSQGDL.js";import"./core-BCGhSsNP.js";import"./recharts-BnXj3KRI.js";import"./lottie-QlMyEFez.js";import"./analytics-D090O6Wm.js";import"./lexical-CtZYfzDm.js";import"./utils-zYB6z_it.js";import"./RoleWithToolTip-fC3byzzv-BDZeG5VC.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="9e566753-e51d-42d0-a981-c60dce54949d",e._sentryDebugIdIdentifier="sentry-dbid-9e566753-e51d-42d0-a981-c60dce54949d")}catch{}})();const b=(e,o)=>`${e}.${o}`,F={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(_[2],_[3]),toolTipWidth:new L(215,237),notePadding:new L(_[3],_[4]),noteGap:new L(_[0],6)},{peoplePage:a,common:{settings:se,labels:E,placeholder:z,errorMessage:We},dateFormat:_e}=re.getLocalizedStrings(),Ge=({myProfileView:e,isZeniFinopsRolesUser:o,sectionId:t,isDisabled:u,isReimbursementDisabled:y,isZeniAccountsDisabled:p,isChargeCardDisabled:i,isBankingOnlyTenant:f,isCardsOnlyTenant:D,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:w})=>{const n=ie(),{person:r,managersList:N,classList:k,manager:q,department:g,controllersList:A,myProfileLocalData:M,addressData:Q}=e,H=e.person.user?.birthday!=null?"readonly":void 0,$=F.largeLabelWidth.value(n),I=F.largeLabelWidth.value(n),K=v.useMemo(()=>te(y,p,i,f,D,T,h),[y,p,i,f,D,T,h]),{firstController:x,restControllerEmailsStr:S}=v.useMemo(()=>{const c=ee(A),O=c.splice(0,1),R=c.reduce((V,B)=>V.concat(`${B.email},`),"");return{firstController:O,restControllerEmailsStr:R}},[A]),Y=v.useMemo(()=>ee(ne.roles),[]),d=pe(r.userRole!=null?r.userRole.userRoles:[]),G=v.useMemo(()=>k.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[k]);return l.jsxs(Ze,{windowSize:n,children:[l.jsx(Ce,{isDisabled:u,label:{label:E.name,width:I},nameField:{name:b(t,"name"),placeHolder:{firstName:z.firstNamePlaceholder,lastName:z.lastNamePlaceholder,name:z.namePlaceholder},showFullNameError:!0},errorInfoLabel:We.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(C,{}),l.jsx(Le,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:$},text:{type:"text",name:b(t,"email"),placeholder:Z(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${F.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(C,{}),l.jsx(Te,{label:{label:E.dateOfBirth,width:I},style:{width:"auto"},isDisabled:H,dateField:{name:b(t,"dateOfBirth"),placeholder:z.datePlaceholder,defaultValue:M.dateOfBirth,dateFormat:_e.visual.defaultInput,autoComplete:"off",maxDate:Fe().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(Ne,{label:{label:E.mailingAddress,width:I},addressValueField:{name:b(t,"mailingAddress"),placeholder:z.addressPlaceholder,defaultValue:Q?.addressToCreate,onClick:()=>{w("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(C,{}),l.jsx(Ie,{label:{label:E.phone,width:I},text:{name:b(t,"phone"),placeholder:z.phonePlaceholder,defaultValue:M.phone,autoComplete:"off"},showVerified:M.isPhoneVerified,style:{width:"auto"}}),l.jsx(C,{}),o?l.jsx(Ae,{label:{label:a.invitePage.role,width:$},zeniRolesDropDownField:{name:b(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:Y},registerOptions:{required:!0},placeholderLabel:Z(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(Me,{label:{label:a.invitePage.role,width:$},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ue(r.userRole?.userRoles??[]),allRootRole:ce(f,D)},productsByUserRole:de(r.userRole?.userRoles??[],K)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(ke,{label:{label:a.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:F.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(Ue,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:N,selectedUser:d?void 0:q?.userId},valueToSubtitle:c=>{const O=N.findIndex(R=>R.userId===c);if(O!==-1){const R=N[O],V=k.find(J=>J.classId===R.userRole.accountingClassIDs[0]),B=[];return V!=null&&B.push(V.className),B}else return[]},placeholderLabel:d?a.notApplicable:Z(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:se.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(C,{}),l.jsx(Ve,{label:{label:a.invitePage.department,width:$},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:G,selectedOption:d?void 0:G.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:Z(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),o?null:l.jsxs(Ee,{windowSize:n,children:[a.invitePage.controllerText,x[0]?l.jsxs(qe,{href:`mailto:${x[0].email}?cc=${S}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Qe,{children:`${x[0].firstName} ${x[0].lastName}`}),l.jsx(Be,{className:"arrowIcon"})]}):null]})]})]})},Ue=()=>a.invitePage.managerTooltipText,Ze=m.div`
1
+ import{q as ie,fO as te,d as ge,av as be,fP as ye,a8 as we,aA as xe,cC as Pe,cB as ve,F as re,V as l,fQ as De,bz as $e,ab as Se,aO as Oe,o as s,cx as ne,fR as de,fS as ce,fT as ue,y as L,al as me,b as Re,a as je,aG as ee,cN as Ce,cE as Le,fU as Z,cK as Te,cI as Ie,fV as Ve,aZ as Be,c as _}from"./index-CK2D3iZ1.js";import{a as v}from"./sentry-Dm3bm_ok.js";import{n as m}from"./mui-DCr-y2iU.js";import{bi as le,bg as pe,bL as ze,bh as Fe}from"./zeni-epic-state-Cgro3mH-.js";import{W as Ne}from"./LabeledAddressValueField-DpcuqwLy-CTnD7CIG.js";import{Y as ke}from"./LabeledUserSingleSelectWithSubtitlesField-BusH2qnZ-GKSXWTga.js";import{C as Ae,j as Me}from"./LabeledZeniRolesDropDownField-DYkmOsOP-Dg0kuJ4H.js";import"./liveblocks-CofSwFWW.js";import"./core-D2k9JfRf.js";import"./recharts-CIKvFUT6.js";import"./lottie-BO8FHl2Q.js";import"./analytics-DCCTWnnc.js";import"./lexical-BEs89iUy.js";import"./utils-CVsOBiWJ.js";import"./RoleWithToolTip-DbQ4ezrP-Dd2VpMcB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="991fd9eb-eaf6-4da2-9346-da6f075cc7c7",e._sentryDebugIdIdentifier="sentry-dbid-991fd9eb-eaf6-4da2-9346-da6f075cc7c7")}catch{}})();const b=(e,o)=>`${e}.${o}`,F={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(_[2],_[3]),toolTipWidth:new L(215,237),notePadding:new L(_[3],_[4]),noteGap:new L(_[0],6)},{peoplePage:a,common:{settings:se,labels:E,placeholder:z,errorMessage:We},dateFormat:_e}=re.getLocalizedStrings(),Ge=({myProfileView:e,isZeniFinopsRolesUser:o,sectionId:t,isDisabled:u,isReimbursementDisabled:y,isZeniAccountsDisabled:p,isChargeCardDisabled:i,isBankingOnlyTenant:f,isCardsOnlyTenant:D,isLiteRoleDisabled:T,isTreasuryDisabled:h,onAddressClick:w})=>{const n=ie(),{person:r,managersList:N,classList:k,manager:q,department:g,controllersList:A,myProfileLocalData:M,addressData:Q}=e,H=e.person.user?.birthday!=null?"readonly":void 0,$=F.largeLabelWidth.value(n),I=F.largeLabelWidth.value(n),K=v.useMemo(()=>te(y,p,i,f,D,T,h),[y,p,i,f,D,T,h]),{firstController:x,restControllerEmailsStr:S}=v.useMemo(()=>{const c=ee(A),O=c.splice(0,1),R=c.reduce((V,B)=>V.concat(`${B.email},`),"");return{firstController:O,restControllerEmailsStr:R}},[A]),Y=v.useMemo(()=>ee(ne.roles),[]),d=pe(r.userRole!=null?r.userRole.userRoles:[]),G=v.useMemo(()=>k.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[k]);return l.jsxs(Ze,{windowSize:n,children:[l.jsx(Ce,{isDisabled:u,label:{label:E.name,width:I},nameField:{name:b(t,"name"),placeHolder:{firstName:z.firstNamePlaceholder,lastName:z.lastNamePlaceholder,name:z.namePlaceholder},showFullNameError:!0},errorInfoLabel:We.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(C,{}),l.jsx(Le,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:$},text:{type:"text",name:b(t,"email"),placeholder:Z(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${F.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(C,{}),l.jsx(Te,{label:{label:E.dateOfBirth,width:I},style:{width:"auto"},isDisabled:H,dateField:{name:b(t,"dateOfBirth"),placeholder:z.datePlaceholder,defaultValue:M.dateOfBirth,dateFormat:_e.visual.defaultInput,autoComplete:"off",maxDate:Fe().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(Ne,{label:{label:E.mailingAddress,width:I},addressValueField:{name:b(t,"mailingAddress"),placeholder:z.addressPlaceholder,defaultValue:Q?.addressToCreate,onClick:()=>{w("user_address")}},showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${s.sp2} ${s.sp2} ${s.sp2} ${s.sp0}`}}),l.jsx(C,{}),l.jsx(Ie,{label:{label:E.phone,width:I},text:{name:b(t,"phone"),placeholder:z.phonePlaceholder,defaultValue:M.phone,autoComplete:"off"},showVerified:M.isPhoneVerified,style:{width:"auto"}}),l.jsx(C,{}),o?l.jsx(Ae,{label:{label:a.invitePage.role,width:$},zeniRolesDropDownField:{name:b(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:Y},registerOptions:{required:!0},placeholderLabel:Z(a.selectPlaceholderPrefix,a.invitePage.role),isMulti:!0,forZeniUser:!0},isDisabled:"readonly"}):l.jsxs(l.Fragment,{children:[l.jsx(Me,{label:{label:a.invitePage.role,width:$},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ue(r.userRole?.userRoles??[]),allRootRole:ce(f,D)},productsByUserRole:de(r.userRole?.userRoles??[],K)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(ke,{label:{label:a.invitePage.manager,width:$},showTooltip:!0,toolTipWidth:F.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(Ue,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:N,selectedUser:d?void 0:q?.userId},valueToSubtitle:c=>{const O=N.findIndex(R=>R.userId===c);if(O!==-1){const R=N[O],V=k.find(J=>J.classId===R.userRole.accountingClassIDs[0]),B=[];return V!=null&&B.push(V.className),B}else return[]},placeholderLabel:d?a.notApplicable:Z(a.selectPlaceholderPrefix,a.invitePage.manager),registerOptions:{required:!d},showOneOffLabel:{label:se.label.noManager,value:"no_manager",position:"top",subtitles:[]}},isDisabled:"readonly",opacity:d?.32:1}),l.jsx(C,{}),l.jsx(Ve,{label:{label:a.invitePage.department,width:$},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:G,selectedOption:d?void 0:G.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:Z(a.selectPlaceholderPrefix,a.invitePage.department),registerOptions:{required:!d},isDisabled:u,showOptionOnHover:!0},isDisabled:u,opacity:d?.32:1}),o?null:l.jsxs(Ee,{windowSize:n,children:[a.invitePage.controllerText,x[0]?l.jsxs(qe,{href:`mailto:${x[0].email}?cc=${S}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Qe,{children:`${x[0].firstName} ${x[0].lastName}`}),l.jsx(Be,{className:"arrowIcon"})]}):null]})]})]})},Ue=()=>a.invitePage.managerTooltipText,Ze=m.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey5};
@@ -1,4 +1,4 @@
1
- import{d as h,q as g,V as o,aM as u,bQ as p,o as l,bC as y,eN as f,F as m,b$ as x,bO as k,b as w}from"./index-DiLAcdW6.js";import{n}from"./mui-8xKzSljO.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]="36680192-bef1-4e4a-9bbf-8219b7587d61",e._sentryDebugIdIdentifier="sentry-dbid-36680192-bef1-4e4a-9bbf-8219b7587d61")}catch{}})();const C=n.div`
1
+ import{d as h,q as g,V as o,aM as u,bQ as p,o as l,bC as y,eN as f,F as m,b$ as x,bO as k,b as w}from"./index-CK2D3iZ1.js";import{n}from"./mui-DCr-y2iU.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]="36680192-bef1-4e4a-9bbf-8219b7587d61",e._sentryDebugIdIdentifier="sentry-dbid-36680192-bef1-4e4a-9bbf-8219b7587d61")}catch{}})();const C=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  flex: 1 1 auto;