@zeniai/web-cockpit-ui 1.15.19-dev → 1.15.20-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-Bj4J02PO-C4Q2xy4-.js → ACHDetailsPage-NT6Enz2K-BFEAACm5.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-kqP-8GTq-BJF4ETfH.js → AIPerformancePage-DGkOApsY-DosUzsUh.js} +1 -1
  3. package/dist/assets/{AccountInfoPage-Bl-lXVdR-BrlwC_GK.js → AccountInfoPage-zFNrlfdY-CaSempyt.js} +3 -3
  4. package/dist/assets/{AccountInfoPageContent-BfoA1Gse-C7eC0yBE.js → AccountInfoPageContent-Cc_ou_Ce-Cw17-IpX.js} +7 -7
  5. package/dist/assets/{AccountLockedInfoModal-CapmN1xL-DmXdIqXb.js → AccountLockedInfoModal-CXu84Ky4-0OS0lGFZ.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-y7iV6_PQ-D_ojlIG6.js → AccountReconDetailsDrawerPage-BecyMBvC-BlsPG8Gb.js} +3 -3
  7. package/dist/assets/{AccountRow-BNdGXZbT-B-w9AEY5.js → AccountRow-D9RFsvgP-CL6TykEf.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-BxQc3Ksg-BEzuSdPZ.js → AccountsPromoCardStack-69-pb14d-DC6JE7NT.js} +8 -8
  9. package/dist/assets/{AddAddressForCardDrawer-DAcT8-PD-oJwne3Gy.js → AddAddressForCardDrawer-DLk1fTT7-C9wyxygo.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CY-2tfXj-D4kgZ0ls.js → AddToWalletPage-BY_IniJ7-Y2LBDzYE.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-DG-IzhqU-D5iQytZw.js → AgingReportsPage-BroFDSmq-CrlHHtRJ.js} +1 -1
  12. package/dist/assets/{AllUserItems-BLdx0SLb-D35470or.js → AllUserItems-v6JpT0CS-Dm0TbfDw.js} +3 -3
  13. package/dist/assets/{ApAgingDetailPage-UhXmkAke-DuPdvgym.js → ApAgingDetailPage-BAIU_dPa-DcF9ZDOD.js} +5 -5
  14. package/dist/assets/{AppBasePage-BdqHkxAE-ClgCYonW.js → AppBasePage-D4hhPQP--Tg8_tlBp.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-DLLABFVO-Z7eIU8wQ.js → AppDrawerContent-BNHIYc2R-B3kbUXGA.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-2Xy362hA-lw7cG823.js → ApprovalRulesSettingsPage-Cmfja-jh-Gch7lnwP.js} +1 -1
  17. package/dist/assets/{ArAgingChart-DUyxm4oV-BDzCa7w_.js → ArAgingChart-B-4CGh62-XpR5XtXN.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-BtKh2Y7T-Befa7jSt.js → ArAgingDetailPage-Dccqp1bb-DUA5VUQY.js} +4 -4
  19. package/dist/assets/{AttachmentView-gjYAbjdi-CLgD0hYn.js → AttachmentView-BFg-facO-CaH95CKg.js} +1 -1
  20. package/dist/assets/{BankAccountSection-DQcfhQLN-Cf4CJKge.js → BankAccountSection-ClVZgEVM-BYvuLqED.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-XMpgCYBF-BD-ZRFYQ.js → BankAccountWarningSection-CgbmC-_k-DRjfmmhF.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-Bi5QjRHp-DZsjWuDY.js → BankConnectionsSettingsPage-CglsQLlv-BkMA4WY9.js} +1 -1
  23. package/dist/assets/{BillDetailPage-CgEXd2T5-D3RRlJ_U.js → BillDetailPage-D0LDeogI-B0GFLGjl.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CPKMjF0R-DkefuNtD.js → BillPayApprovalRuleDetailPage-BboDRhU8-CHHsqIzK.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-CFJpmXE7-BS2SEmMd.js → BillPayApprovalRulesPage-k7yZT6Aa-Dmy-J3wx.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-nRHevclA-CJKWVsld.js → BillPayPromoPage-BRnUu-kE-qD9_C1aE.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-ynmgaK8Y-CjnJEFzj.js → BillPaySetUpPage-B8PBBo-b-CCrGF_RA.js} +1 -1
  28. package/dist/assets/{BillingSettingsPage-BNEvt1HK-BaSsXKiI.js → BillingSettingsPage-ow2vqc0J-BPnhAyIC.js} +8 -8
  29. package/dist/assets/{BillsBulkReviewDrawerPage-D6tbE3BQ-DocKjVGy.js → BillsBulkReviewDrawerPage-CrlrKA86-CTNrdpPx.js} +1 -1
  30. package/dist/assets/{BoxItem-BdgRTwgI-DiOTWl08.js → BoxItem-G87i4jj9-DJ_JzOgf.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-CU38xCol-B4S_9jHP.js → BusinessVerificationPage-4fFmKc7t-CviKNENT.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-g2_GoH9f-aD70vkbB.js → CardNumberSubText-CtZArtEN-C5CUm4jT.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-SvujpPEs-C8gXhM7B.js → CashbackDetailPage-CfvxIALP-YVdLFEPO.js} +1 -1
  34. package/dist/assets/{ChargeCardDetailPage-oaVwvFKq-qgCXX26B.js → ChargeCardDetailPage-BZ71Xjy0-Dr7BA2Y3.js} +26 -26
  35. package/dist/assets/{ChargeCardListPage-CGyxQ8Dx-B1x8tEOp.js → ChargeCardListPage-DhpsoPyr-CQficcQE.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-DKQnkAJ7-CbA18PS4.js → ChargeCardListTable-CX3OTq9R-DFN6XBHD.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-JxdV2F32-B8QxqdNq.js → ChargeCardPaymentHistoryPage-C8A6B2vX-DBRPNkuj.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-BM7oOdWh-cLjTbA-r.js → ChargeCardPromoPage-CZthMv9O-DdJWmcwN.js} +10 -10
  39. package/dist/assets/{ChargeCardSetupPage-DqjFBKb_-D2isSGQZ.js → ChargeCardSetupPage-BAuI0rqI-Ct_o3o4L.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-DKicQRml-DNQKyuH-.js → ChargeCardStatementsPage-Dx8lKcHY-_MpRJ-V8.js} +1 -1
  41. package/dist/assets/{CheckDepositDrawerPage-BoMMC-PD-BbZFeQ0t.js → CheckDepositDrawerPage-W5m8Sw63-Bc1AhysG.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-CvAF66CY-D2P5-EVV.js → CollapsableReportTable-DSbtzMAj-BNPGZhUx.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-ClnGjHwL-DjLuACPy.js → CompanyOfficerDetailsSection-xhVDV0e_-DEf_Firo.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-De1ZqCMC-Co6Yn6Qv.js → CompanyPassportCard-DZxcLBPK-DrtLWy69.js} +1 -1
  45. package/dist/assets/{CompanyPassportPage-6281ivzv-B30kYLVx.js → CompanyPassportPage-C4ETRbuP-CipEAdPV.js} +13 -13
  46. package/dist/assets/{CompleteProfile-C4YhvWhe-CIB56NG8.js → CompleteProfile-DxWzl2v_-CbMERFrJ.js} +1 -1
  47. package/dist/assets/{ConfettiBurst-CR98FGfH-3rXf1OLF.js → ConfettiBurst-iwBXc7h4-DqRUbadc.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-JviWwDyz.js → ConstrainedInnerElement-BeIpAPjB-DFqe1Ody.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-Dfq0ydKc-fAmE7u3u.js → CreateOrEditVendorPage-BqMLkILR-HOHmDZqL.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-D8Rs6j9F-CECIifL2.js → CreditCardPaymentDrawerPage-CeysykKv-Cc468Xy8.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-dqih82Wa-Bf5oGIgX.js → CurrencySelectField-D3T5Kpep-C5BdxaCJ.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-CPhBnk1y-CsEDDRZo.js → CustomerOnboardingActivationPage-IoLmmpzZ-Cn81rLeI.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-W9rUXP8--BVBBW0hX.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-D92o0cYb-f4j90fLJ.js → CustomerOnboardingDetailPageSkeleton-CQ_jMnjx-DPLd4ivQ.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-D-TyXZjQ-1BbkgoBb.js → CustomerOnboardingNoStepsPage-9EVXNqI--PzWflH9h.js} +2 -2
  56. package/dist/assets/{CustomerOnboardingPage-D8s20fEH-Drh1St8-.js → CustomerOnboardingPage-B66vhEZb-D7HPTDFT.js} +1 -1
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-B7v5nYAw--BKM9prl.js → CustomerOnboardingProductSuitePage-C_gpLXB6-BoYezZa2.js} +9 -9
  58. package/dist/assets/{Dashboard-DLhx6D0s-A89AzrUL.js → Dashboard-YE9mF9nk-VMfoaBug.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-G-hbFFVd-duPSFRfE.js → DashboardReportPage-DVB5rnu_-FOBpKxeo.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-Dhb4iV2T-BYJc1IM0.js → DashboardSidebarBackgroundAnimation-Dpqnzw8--XocrKeDA.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-6BPvYynA-D1Ju63qU.js → DepositAccTransactionItem-C15CMLyX-DMeXzVr4.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionListPage-CYqVm1Rm-FhuWm2tm.js → DepositAccTransactionListPage-BqWQ7Hs2-GqUsfhiu.js} +1 -1
  63. package/dist/assets/{DomesticWireDetailsPage-BOza2O-8-CYD7ppA5.js → DomesticWireDetailsPage-D5Eeex8I-2tlxNeUv.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-cbNihDeI-BS6u10ct.js → DownloadOverlay-BDyXP4Jc-CuzjJPQn.js} +1 -1
  65. package/dist/assets/{DrawerPage-DhT58SBb-DaHEF-EV.js → DrawerPage-BfT7DpjC-B8oVqkwG.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-BLNgVf-0-U2va95MO.js → EditPeoplePage-DAJZWSBW-B5eie5iw.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-DmApxq-q-CyDk02YT.js → EditReimbursementDetailPage-DjgB82b7-CC8cas6H.js} +1 -1
  68. package/dist/assets/EntityDetailPage-DxiU9_5p-BJ1ITQ_q.js +18 -0
  69. package/dist/assets/{EntitySummarySection-C82U-rtJ-DmZyL6x2.js → EntitySummarySection-BOXgFv27-DKuOq1RS.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-Bgibjb2E-BaSAz2Y9.js → ExpenseAutomationOverviewPage-CBH6RxR6-ca6D6gHD.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-Be5-Yt8w-Cjj2nOen.js → ExpenseAutomationPage-ZcrtYJn8-DtxnBLVT.js} +1 -1
  72. package/dist/assets/{ExpressPayPage--mCSxEVH-BFs72UEO.js → ExpressPayPage-BAkWRXjv-CGLCftHD.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-CFVDZyby-CGtGECgw.js → FeaturePreviewPage-CiwptZF9-TCjWAgRd.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-CVWuuidV-DUG37jOA.js → FollowStepsSection-BM_fxalw-1p8dzh40.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-vkNEl7d8-CiHg5TZf.js → GlobalReviewListPage-BsACt_VJ-CVzuhybj.js} +1 -1
  76. package/dist/assets/{InformationCardStack-LF_aKhhL-CKp0o9nn.js → InformationCardStack-BHE0IlOx-CJJlej3H.js} +1 -1
  77. package/dist/assets/{InsightsCardStack-BIcK-jeU-C5tLvdIq.js → InsightsCardStack-GJuFdS2m-D9NpL9wt.js} +2 -2
  78. package/dist/assets/{InsightsSection-CIpbIEbv-CFt4IQKX.js → InsightsSection-BxPB_NJF-D7HFTV9p.js} +5 -5
  79. package/dist/assets/{IntegrationsSettingsPage-CjP_3pkI-CnkkLjlB.js → IntegrationsSettingsPage-BQ8vCNaC-B7cP6IZ4.js} +2 -2
  80. package/dist/assets/{InternationalWireSwiftDetailsPage--xhtyYY7-D4zcriQW.js → InternationalWireSwiftDetailsPage-ChpsNwAV-Eet7AXz5.js} +1 -1
  81. package/dist/assets/{InternationalWireVerificationPage-BpvZr-WI-jxE-vB-G.js → InternationalWireVerificationPage-6_EZwOrK-BJ2iAZe5.js} +1 -1
  82. package/dist/assets/{InviteFormPage-9NFX-MhQ-BgZ7muUE.js → InviteFormPage-Cm52PFv9-DRNfTdUu.js} +1 -1
  83. package/dist/assets/{InvitePageListView-B-cAYAEj-DdX2Vf2f.js → InvitePageListView-QUZg8U6W-DzAfqMB3.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-_lENDcHE-Cs4JWgnf.js → InvitePeoplePage-CF19kbHd-DQqJP-yV.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-Md8EHqPI-B2FbeYFD.js → InvoiceUploadSection-4uu3l-_9-CxlUEph1.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-DlBHg90l-CkIYZG8g.js → IssueChargeCardPage-CykqTbZn-7nCw30B_.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-BRVf6Gy8-DR_hCdER.js → LabeledAddressValue-BIa72RS0-BkLBulUT.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-Dm962nbv-CJctT64I.js → LabeledAddressValueField-B8vUdw5X-CDbumss_.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-AuHfNy1--CYnnof78.js → LabeledControlledCheckBoxField-DUkmWHyZ-D2AqhRim.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-CZzPQt4P-q5eFoS7_.js → LabeledCreatableSingleSelectField-7qh_QQuc-BNteaTC5.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-Cj3wNN-j-DRfRBZq3.js → LabeledDocumentField-wddWSnmD-LvMwzwRA.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-DKi8UjgP-vgVqFIrz.js → LabeledDropDownFormattedTextField-BrGwb_uK-BRXsgq-s.js} +1 -1
  93. package/dist/assets/{LabeledText-C-8itgDI-CUp_0u3s.js → LabeledText-QOAkVa8J-DSSDVMXd.js} +1 -1
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CyEiLq7_-CyR9dVw4.js → LabeledUserSingleSelectWithSubtitlesField-DzN0zQ-n-Dm58NOUb.js} +3 -3
  95. package/dist/assets/{LabeledZeniRolesDropDownField-CoQcMW_--ClLOgm0I.js → LabeledZeniRolesDropDownField-Clh9Cjuk-CwnowspI.js} +1 -1
  96. package/dist/assets/{LinkJETransactionPage-aTmlEn-Z-x31yl_Si.js → LinkJETransactionPage-CwPv0nlT-BuUaF1zQ.js} +1 -1
  97. package/dist/assets/{LockCardPage-nJeB0vKv-D0hlcn6G.js → LockCardPage-CHh1vxsi-BCBXWEYk.js} +6 -6
  98. package/dist/assets/{LowBalancePopup-aFCQSDc_-C6y1E7C0.js → LowBalancePopup-CmlabBgd-HAAcIAfk.js} +1 -1
  99. package/dist/assets/MagicLinkACHDetailsPage-CqShsw_Q-CQLvpS1B.js +1 -0
  100. package/dist/assets/MagicLinkDomesticWireDetailsPage-Dld6KNDY-CY3FmODl.js +1 -0
  101. package/dist/assets/MagicLinkInternationalWireDetailsPage-tM0F2Ss6-CJrfT-sY.js +1 -0
  102. package/dist/assets/{MagicLinkSuccessPage-RxCflvAg-z_sXnPco.js → MagicLinkSuccessPage-D0XJzDBe-FWa1vlXB.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-CYaOQsiQ-Bmr50Dux.js → MagicLinkTitleSection-FdcDRHnN-CN2sc8vg.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-KUvjhmZC-BH5Oyyjr.js → MailingDetailsSection-BcNpk0Ce-D2xEGQpy.js} +1 -1
  105. package/dist/assets/{MyBankConnectionsSettingsPage-SlfAD_ec-Cxn1_qTK.js → MyBankConnectionsSettingsPage-Doi9tH5g-CtDAS2HS.js} +1 -1
  106. package/dist/assets/{MyPendingActivationChargeCardListPage-BShzFR0m-CvOtafM-.js → MyPendingActivationChargeCardListPage-BIapHyrw-BsKgOhK-.js} +1 -1
  107. package/dist/assets/{MyProfileSettingsPage-CzGU1Gx7-Dqk_FQO0.js → MyProfileSettingsPage-B2PcUlKr-l2N1ioTO.js} +1 -1
  108. package/dist/assets/{NavBarWithPicker-NJ3tm2MI-oOlPyLbT.js → NavBarWithPicker-47lGnOUJ-CvIv4Jtp.js} +1 -1
  109. package/dist/assets/{NavigationArrow-B145tYV_-C_6ukSuK.js → NavigationArrow-Bc98mDow-BllcuW5O.js} +1 -1
  110. package/dist/assets/{NavigationDots-DaOFOsFA-BBWJs6hX.js → NavigationDots-B6QtTUea-NrUSmXgc.js} +1 -1
  111. package/dist/assets/{NewGlobalMerchantPage-YTsNL6iu-Bz6Acdaw.js → NewGlobalMerchantPage-l7vvjRRM-nZxCHS27.js} +1 -1
  112. package/dist/assets/{NoDataChart-C7YUwwui-iNU45UoG.js → NoDataChart-C-dDAIve-DUTyXvqs.js} +1 -1
  113. package/dist/assets/{NoDataTable-DolCx6QR-C89fB2OT.js → NoDataTable-DyEdbkM0-B5A6BGGn.js} +1 -1
  114. package/dist/assets/{NotFoundPage-BBnisozE-ZTo3UmTG.js → NotFoundPage-CnaP1ABc-B75DHkxN.js} +4 -4
  115. package/dist/assets/{NotificationSettingsPage-DPg3FvvD-Bucvci8R.js → NotificationSettingsPage-ClE6Laa0-zUgqxUna.js} +1 -1
  116. package/dist/assets/{NotificationsListConfig-BkOX8iIv-DgCgfDhw.js → NotificationsListConfig-CbLnZa67-DUB7vpqM.js} +1 -1
  117. package/dist/assets/{NotificationsPage-BUhLO_r9-37VbqnuY.js → NotificationsPage-0kHd1Zz8-DcutPzRe.js} +1 -1
  118. package/dist/assets/{OpExByVendorPage-CHY5zg69-DBOqA9P_.js → OpExByVendorPage-OglN_NyF-CkDGZBsO.js} +1 -1
  119. package/dist/assets/{OverlayContainerPage-D4QU0p4o-Bn1glMo5.js → OverlayContainerPage-D4QU0p4o-CBtAcoXU.js} +1 -1
  120. package/dist/assets/{PandLWithForecastPage-CeQr3WjJ-CzbnzXa-.js → PandLWithForecastPage-ChSngwUR-C1MQJhQs.js} +2 -2
  121. package/dist/assets/{PaymentAccountSetupBillingAddressSection-B6xSczs6-BKvI8Xkx.js → PaymentAccountSetupBillingAddressSection-BBcI6orE-DjXEkCuw.js} +1 -1
  122. package/dist/assets/{PeoplePage-fCF4vkUp-ufAU-1hs.js → PeoplePage-C65TAG6F-xV6gMmPM.js} +1 -1
  123. package/dist/assets/{Preview-hLK8QRw8.js → Preview-DoXXNXUO.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-rA-O8_7D-CY5GfBBq.js → ProductsCarousel-MWJmuQG1-DlT772qO.js} +1 -1
  125. package/dist/assets/{PromoBaseCards-C37GX90J-DqWlf7fN.js → PromoBaseCards-DG-4_luF-BJ1gMZoU.js} +1 -1
  126. package/dist/assets/{QBOConnectionDialog-Dwog9AYZ-O8uWq45M.js → QBOConnectionDialog-Ay4Pfbb9-Bb72NtKE.js} +1 -1
  127. package/dist/assets/{QBOSetupSection-uV3w7rHW-MEAdwA6a.js → QBOSetupSection-C7bKopiw-DrpQB1LR.js} +3 -3
  128. package/dist/assets/ReimbursementApprovalRuleDetailPage-C510NusC-FjR-UqRb.js +32 -0
  129. package/dist/assets/{ReimbursementApprovalRulesPage-IGpmh9zA-Bx94q0Ic.js → ReimbursementApprovalRulesPage-CwmSBeim-B3AFHPfu.js} +1 -1
  130. package/dist/assets/{ReimbursementDetailPage-CnzK17M4-DQC0uxdE.js → ReimbursementDetailPage-D9ycauwA-CUwfcZuF.js} +1 -1
  131. package/dist/assets/{ReimbursementPromoPage-DSfL54Md-1ZVBlDma.js → ReimbursementPromoPage-Cg4eTjln-B_BSUbh2.js} +1 -1
  132. package/dist/assets/{ReimbursementSetUpPage-BoTn3JKw-CBdNL9HT.js → ReimbursementSetUpPage-DfQHDiFr-Ber4hKRG.js} +5 -5
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DBc7LS-n-Iqxb_53N.js → ReimbursementsBulkReviewDrawerPage-45yy6zu5-Dq06_x7t.js} +1 -1
  134. package/dist/assets/{ReloadCard-B5rmmfva-TUZ-Tkd2.js → ReloadCard-By3AowEq-x562gX6W.js} +1 -1
  135. package/dist/assets/{ReportTableViewSelector-0OEScWmm-Hga5bKqy.js → ReportTableViewSelector-C7jqqd0a-BBPHQp30.js} +26 -26
  136. package/dist/assets/{ReportsPage-BTkakKPX-BSzPNOYj.js → ReportsPage-E_2EHKAE-C8Ln5-KA.js} +1 -1
  137. package/dist/assets/{RevenueChart-Ba8ZLje8-Drb014Fl.js → RevenueChart-DK5_X8cX-CFe4Dnip.js} +1 -1
  138. package/dist/assets/{ReviewDetailsPage-BQDrm2yR-Bz5FazaS.js → ReviewDetailsPage-CdG4Jkv2-XGKGSq3K.js} +1 -1
  139. package/dist/assets/{ReviewOverlay-8tBBKn9R-BZESXqSp.js → ReviewOverlay-DFC79g0A-n-a_Q4hL.js} +1 -1
  140. package/dist/assets/{RoleWithToolTip-YZusZfiJ-BELittL3.js → RoleWithToolTip-B0JWC_SV-CXgbdRFg.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BN9hFnGC-I8BvJlgl.js → ScheduleDetailsFixedAssetsPage-DMks3oWk-DGkrvK3-.js} +1 -1
  142. package/dist/assets/{ScheduleDetailsPage-DAr4tXe_-BZZ4Y69I.js → ScheduleDetailsPage-DIjRnKIE-CFDh1Nql.js} +3 -3
  143. package/dist/assets/{ScheduleSequenceTable-DUfu-c6e-DBFpgT6F.js → ScheduleSequenceTable-BjPKuQfH-DD-mnEb5.js} +1 -1
  144. package/dist/assets/{ScreenRoutes-RdWdKKFl.js → ScreenRoutes-BpALuK49.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-DqW4vmsx-CO06aLnp.js → SetUpAccountSection-CFVDUb2a-COF_GK-Y.js} +1 -1
  146. package/dist/assets/{SignIn-CCqNj3tG-DRDC5Yhl.js → SignIn-CGySLsg7-DOc2ezkS.js} +6 -6
  147. package/dist/assets/{SignInScreen-BI4txts-.js → SignInScreen-DR9HfecL.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-s4dPd5hE-IanF8B1T.js → SpendManagementListViewPage-dO6dKd5h-CJ1bhZ9x.js} +3 -3
  149. package/dist/assets/{SpendManagementPerTabPage-NWc7uqw6-_rcGYzjd.js → SpendManagementPerTabPage-B39fFZko-BEVPOiP7.js} +1 -1
  150. package/dist/assets/{SpendManagementSection-eYrLZK1E-KjAWYeIa.js → SpendManagementSection-BiaaUF2E-yH0f2tK1.js} +1 -1
  151. package/dist/assets/StatementItem-DOPVBhGk-CYoCEo6a.js +31 -0
  152. package/dist/assets/{StatementsPage-C0wI_tRw-BDtidNq4.js → StatementsPage-R0eHwHJ9-Cl59Sg99.js} +1 -1
  153. package/dist/assets/{StatusSwitcher-DFluM61E-D9icc7U1.js → StatusSwitcher-DSYj3PS_-CAzhtczP.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-Cin8x7wg-Dcdm2qpz.js → SubTabSwitcher-OqdKA7V1-DlEB8bkr.js} +1 -1
  155. package/dist/assets/{SummaryCard-Bcw6fQTD-Do950Kyf.js → SummaryCard-DhRtJkhC-BhArQLhg.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-B9qW2lvP-CVsVNeeW.js → TaskManagementPage-BvGD5ccB-siLavhfb.js} +1 -1
  157. package/dist/assets/{TimeRangeSwitcher-u57rzf78-Bgi2Q6bp.js → TimeRangeSwitcher-DDWfAebm-DQjeGwWr.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcher-ClE4GOKf-CCgDF2y1.js → TimeframeSwitcher-DNA6_eZb-C1spVBmO.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-COre57iX-BQBghhwC.js → TimeframeSwitcherWithToggle-Bd5xmXK7-Bm0Sa4yg.js} +2 -2
  160. package/dist/assets/{TopExCard-DF3x7jLh-CRuE7H2y.js → TopExCard-En4ylTQ3-CRpZgtTx.js} +1 -1
  161. package/dist/assets/{TopExDetailPage-DmFsRNbY-CAPDLdK7.js → TopExDetailPage-Coive81d-CvqmO-2K.js} +6 -6
  162. package/dist/assets/{TransactionActivityLogPage-BJWKx4q0-BUpcnLzX.js → TransactionActivityLogPage-WE28x9RN-BJcJOUa8.js} +1 -1
  163. package/dist/assets/{TransactionDetailPage-mtNlJQ2B-IRA0HZOa.js → TransactionDetailPage-BbqIgtCd-DiFMNiBg.js} +1 -1
  164. package/dist/assets/{TransactionList-CLb6vsAw-BNfVqp8k.js → TransactionList-CSBjcmxc-EtkATca3.js} +1 -1
  165. package/dist/assets/{TransactionListBig-BzBXZp6s-UPK6nK0b.js → TransactionListBig-CI1FCFcx-DrdC9u_z.js} +4 -4
  166. package/dist/assets/{TransactionListPage-DoQrIKK0-cdAGgkOJ.js → TransactionListPage-CJcrJoU2-BQLZ1fl5.js} +2 -2
  167. package/dist/assets/{TransactionVendorDetailPage-D-wSEk3k-Bp7ZO9K6.js → TransactionVendorDetailPage-CVWvfI3Q-DNCMY0hE.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-j8FDHpig-DvRwMkL8.js → TransferDrawerPage-CZXa0mUe-BwYl6Xys.js} +1 -1
  169. package/dist/assets/{TreasuryOverviewPage-2U807bhy-BY8VUFc9.js → TreasuryOverviewPage-C2u69t4N-DORj6VI0.js} +1 -1
  170. package/dist/assets/{TreasuryPromoPage-BYXuV9oH-vUIAQ6f4.js → TreasuryPromoPage-DrKVhiah-B771x0k3.js} +1 -1
  171. package/dist/assets/TreasuryStatementsPage-Cvg6I5NA-3DfYgqTM.js +58 -0
  172. package/dist/assets/{TreasuryTaxLetterPage-BrBEeHG1-u74MPbjQ.js → TreasuryTaxLetterPage-JZLtzp98-zu6vU_D3.js} +2 -2
  173. package/dist/assets/{TrendChart-D0GWCIs5-BdQ26pcI.js → TrendChart-BxOwX5Tl-CLxo4QA6.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-DcCilwfx-_37SmAif.js → TrendWithTransactions-D3y_WfC9-DTwRkgjx.js} +1 -1
  175. package/dist/assets/{UncategorizedAccountsMappingPage-D5oo8UHa-k_11pvpn.js → UncategorizedAccountsMappingPage-BzZzsKfP-CKa7H3J0.js} +1 -1
  176. package/dist/assets/{UnitIntegrationPage-BQp7NQLB-CdKp5-34.js → UnitIntegrationPage-bFoq6Dzc-C9OTzoR8.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-DvAwuTYB-DJVdyOgq.js → UploadAdditionalDocumentOverlay-DHgW1eCQ-eDz3OZIL.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-BVuTJ4jh-Dmi8LqgF.js → Vendor2FAPopup-BNA5iCDk-DURrAQXU.js} +1 -1
  179. package/dist/assets/VendorACHDetailsPage-DO9DY2FM-D5QMZmyt.js +1 -0
  180. package/dist/assets/{VendorDetailPage-BNr0Z5jN-B5vvqHLt.js → VendorDetailPage-CUMB0ybc-Cz2stk3Z.js} +86 -86
  181. package/dist/assets/VendorDomesticWireDetailsPage-DAFX-_x0-dnuKk_FW.js +1 -0
  182. package/dist/assets/{VendorFiling1099EditablePage-D2_NM9OH-Cg7w3eGu.js → VendorFiling1099EditablePage-Dc5f2rQI-5zyTApsP.js} +32 -32
  183. package/dist/assets/{VendorFirstReviewPage-DxhhgmEm-DydY5H1-.js → VendorFirstReviewPage-DJ2xe-qP-D-sxUwEs.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-CUIOT8vU-afAyjr3K.js → VendorInternationalWireDetailsPage-CA9piyEU-DHqdWGBP.js} +1 -1
  185. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dq9K171L-CWe5L2D4.js → VendorInternationalWireSwiftDetailsPage-BUBLa4v4-bSUc0oan.js} +1 -1
  186. package/dist/assets/{VendorsAccountsSection-eef70mQn-_RCZqtQz.js → VendorsAccountsSection-CsgH89wG-DET-7-Fb.js} +1 -1
  187. package/dist/assets/{VerifyDevice-CMvsjley-rC4gKQeJ.js → VerifyDevice-I0fcetOo-CAPq5qjt.js} +1 -1
  188. package/dist/assets/{VideoPlayer-DKSZUXeK-H0wCm76T.js → VideoPlayer-DJKEc9Gu-Cc5wpx11.js} +2 -2
  189. package/dist/assets/{VideoPopup-BG0G1trN-J1tFoUPS.js → VideoPopup-DQ01Zj2Y-zyTi_sd6.js} +2 -2
  190. package/dist/assets/{WarningsDrawerPage-g_KTQdH7-Br6CzJQ0.js → WarningsDrawerPage-NqQ8xPhM-HeekJwAM.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-LkheAcW_-BBvGkAZe.js → ZeniAccountDetailPage-B-Pet9D--Cimk8WQa.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-DVQHT8ma-B9oJhIl0.js → ZeniAccountListViewPage-CXvP0AhF-B_EmDoan.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-_Xr6q9sA-BmDV-yHS.js → ZeniAccountNavBarPieces-CseOYdtS-DLMIhkCm.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-C3LR6klI-gvX4BiZe.js → ZeniAccountPromoPage-B7rXcypc-BO6-Rl5f.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-BtWnNkH7-Bw5ifbpG.js → ZeniAccountSetupPage-CTRzzDrC-YkomMuQT.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-D36dbFYs-DbL5X4NH.js → ZeniCopyright-bBciVtsI-DjjBYCfV.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-BYbDaVKJ-CzP9xAeJ.js → ZeniTransferAmountSlider-prBenc10-BnMP7OqZ.js} +1 -1
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-CjuRM598.js → add-to-wallet-DgdBD8_G-C_RtDila.js} +1 -1
  199. package/dist/assets/{analytics-DH0nG_g5.js → analytics-CzRVJ6MY.js} +1 -1
  200. package/dist/assets/{analyticsHelper-B_RV_zIh.js → analyticsHelper-CIcWitH5.js} +1 -1
  201. package/dist/assets/{analyticsHelper-C4PZ1Adh-DNHzQdSq.js → analyticsHelper-bMQRPNSm-DckzEJTg.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-ezr-NUEt.js → arrow-south-east-round-PEovUgvH-B-J6VULs.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-DCTaBPDp.js → auto-transfer-rule-mbafm5D3-irLOnk7B.js} +1 -1
  204. package/dist/assets/{chartTypes-Bf1-edD8-CV1yysKw.js → chartTypes-B6Rsb0Zj-OBtFn3Lg.js} +1 -1
  205. package/dist/assets/{commonDimensions-B60Qkfnz-DxGoTy6S.js → commonDimensions-C6cMfD5y-ldvdnaDh.js} +1 -1
  206. package/dist/assets/{constants-HPf8XA_c.js → constants-Cvfi3rvc.js} +1 -1
  207. package/dist/assets/{core-yiE_iOc0.js → core-ngENxsSR.js} +1 -1
  208. package/dist/assets/{dash.all.min-ZaNNnJRa.js → dash.all.min-C6R1sF3z.js} +1 -1
  209. package/dist/assets/{detailCommon-B4aI_98A-CEMaqjeK.js → detailCommon-DjIYoB2z-BtvDTiC9.js} +5 -5
  210. package/dist/assets/{downloadPdf-DVqVkV_p-CELECDCw.js → downloadPdf-D0z4UUom-u-PDbPBK.js} +1 -1
  211. package/dist/assets/{empty-BOna3nXl.js → empty-AgePHH9k.js} +1 -1
  212. package/dist/assets/{empty-Be-7ZZNG.js → empty-l2WFMsmR.js} +1 -1
  213. package/dist/assets/{epic-CGLWHopS.js → epic-bicvu32R.js} +1 -1
  214. package/dist/assets/{gift-box-Cmt9OgIZ-yO9QG4ws.js → gift-box-Cmt9OgIZ-DpDi_0xd.js} +1 -1
  215. package/dist/assets/{graphic-no-data-l-DU4J8fDt-08AJBbmd.js → graphic-no-data-l-DU4J8fDt-BuXYRb4U.js} +1 -1
  216. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BCEcNSIc.js → graphic-no-data-net-burn-l-CzmycA0m-ByqmOND0.js} +1 -1
  217. package/dist/assets/{handshake-BPg58FML-CS6zI2jd.js → handshake-BPg58FML-3kNIzZCa.js} +1 -1
  218. package/dist/assets/{index-DADoWRMM.js → index-BBFuqt84.js} +1 -1
  219. package/dist/assets/{index-V6G13z1s.js → index-DCZwBQKq.js} +1 -1
  220. package/dist/assets/{index-B05X8Jld.js → index-DGlL4HjS.js} +1 -1
  221. package/dist/assets/{index-o0j-GZyM.js → index-DJv_Rbuz.js} +6 -6
  222. package/dist/assets/{index-JQjyoaIW.js → index-Gn3bmjPa.js} +1 -1
  223. package/dist/assets/{index-BQKUEYMa.js → index-Olo2pX0z.js} +1 -1
  224. package/dist/assets/{index-DEPZWJ5u.js → index-vWk_2SsD.js} +1 -1
  225. package/dist/assets/{lexical-DlAOaxF0.js → lexical-B7Utywn0.js} +1 -1
  226. package/dist/assets/{liveblocks-BZyZbty1.js → liveblocks-CCMpOb9V.js} +1 -1
  227. package/dist/assets/{lottie-HBX4-MpS.js → lottie-BuGJfGlI.js} +1 -1
  228. package/dist/assets/{mapLoadingInProgressToTreeNode-DuPcSiT5-DY73v-Wq.js → mapLoadingInProgressToTreeNode-C1l0d99B-98tg8j4A.js} +1 -1
  229. package/dist/assets/mapSectionWithAcOnlyToTreeNode-BHrFv_df-DKCLi29L.js +1 -0
  230. package/dist/assets/mapSpacerToTreeNode-BYWr2mnE-Cet1B3G8.js +1 -0
  231. package/dist/assets/{mapTimeframeBalancesToTreeNode-9dsEoKql-CTAmJm8r.js → mapTimeframeBalancesToTreeNode-C7w_Pv68-CqQEodHU.js} +1 -1
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-CUioWHuY-fSxUB0yV.js +1 -0
  233. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-BMNyeJt9-CIYXC4NE.js → mapTimeframeHeaderLoadingInProgressToTreeNode-Dt7Y9K0I-DMS8id7q.js} +1 -1
  234. package/dist/assets/{mui-CAW43Z2L.js → mui-vpVhZoFp.js} +1 -1
  235. package/dist/assets/{page-detail-CWX5S47F-Ga1rCJlu.js → page-detail-CWX5S47F-BBqQ9hel.js} +1 -1
  236. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-C9yV2YE9.js → panelSelectedMixin-CzfD5-Zs-D4PkbE95.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-W2nwrqQ5.js → radio-default-CiSgisfh-DiqpiNhm.js} +1 -1
  238. package/dist/assets/{react-BeHv7oF0.js → react-B0vTZ6LL.js} +1 -1
  239. package/dist/assets/{react-BURuhNYe.js → react-B4FV8YGQ.js} +1 -1
  240. package/dist/assets/{react-DFbroRVg.js → react-B7-MyUGd.js} +1 -1
  241. package/dist/assets/{react-CkHAqWHd.js → react-D-iCv7iD.js} +2 -2
  242. package/dist/assets/{react-Cy_jHEin.js → react-DfctpYqe.js} +1 -1
  243. package/dist/assets/{react-QfjvWill.js → react-Duxca6t4.js} +1 -1
  244. package/dist/assets/{react-C5kAuTha.js → react-Rd_Y3DMY.js} +1 -1
  245. package/dist/assets/{react-D70Dpky3.js → react-vvBk2zvV.js} +1 -1
  246. package/dist/assets/{recharts-Duslqfio.js → recharts-DVV1zL4K.js} +1 -1
  247. package/dist/assets/{sentry-DmQUfSE7.js → sentry-BAZEeDR7.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-BSj8Drkk.js → shield-DOlUxcFf-XcL46H7b.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-LVMDIpDR-LI6Qd7JP.js +1 -0
  250. package/dist/assets/{toChartData-CcG8i49E-invCvTu2.js → toChartData-BUT_vwbW-BbFVGs8l.js} +1 -1
  251. package/dist/assets/{uploadAttachment-B-y1--ww-BcIqRgDj.js → uploadAttachment-B1aivsLg-CDTrk-3w.js} +1 -1
  252. package/dist/assets/{uploadReceipts-Dge0cNF1-Df2fHyc-.js → uploadReceipts-Dge0cNF1-BGR9kJVp.js} +1 -1
  253. package/dist/assets/{url-hGfZCfig.js → url-B_JPZzNH.js} +1 -1
  254. package/dist/assets/{url-R21EGndt.js → url-CniQbZJn.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-DR25cb_3.js → useLongPress-GCK2COYQ-DmHXzxyt.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-D5-lu6m5.js → usp-line-BBd1wKwW-COokDSR0.js} +1 -1
  257. package/dist/assets/{utils-C-XuhdQM.js → utils-Db3Jmqbx.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-C4Tt6Qhq.js → zeni-epic-state-p-hirlWD.js} +3 -3
  259. package/dist/index.html +1 -1
  260. package/package.json +2 -2
  261. package/dist/assets/CustomerOnboardingContainerPage-Dn7vOa-2-acu82bx-.js +0 -1
  262. package/dist/assets/EntityDetailPage-CvgcTamk-C6e8nDgM.js +0 -18
  263. package/dist/assets/MagicLinkACHDetailsPage-CkEC7bfy-BTcHRx9h.js +0 -1
  264. package/dist/assets/MagicLinkDomesticWireDetailsPage-DXqRDZvA-Cof2FQM6.js +0 -1
  265. package/dist/assets/MagicLinkInternationalWireDetailsPage-CegOSNsV-D9w4qClx.js +0 -1
  266. package/dist/assets/ReimbursementApprovalRuleDetailPage-CPZfTMx--hGh26AYS.js +0 -32
  267. package/dist/assets/StatementItem-CKK9vnC7-CB-e2CLd.js +0 -31
  268. package/dist/assets/TreasuryStatementsPage-CeaExx3z-DsMw65vI.js +0 -58
  269. package/dist/assets/VendorACHDetailsPage-DkXoubZC-RuWRXgBi.js +0 -1
  270. package/dist/assets/VendorDomesticWireDetailsPage-CaaOskIa-DGRBzFDy.js +0 -1
  271. package/dist/assets/mapSectionWithAcOnlyToTreeNode-BZsGUDKa-4VCnAicV.js +0 -1
  272. package/dist/assets/mapSpacerToTreeNode-br_rslOm-BB79AXDK.js +0 -1
  273. package/dist/assets/mapTimeframeBalancesToTreeNode-BpOPNyk--FPICGthL.js +0 -1
  274. package/dist/assets/toCOABalancesWithID-DOquK-Sn-1uwfHDc8.js +0 -1
@@ -1,4 +1,4 @@
1
- import{J as U,cS as W,c_ as g,V as r,cY as j,y as l,eU as _,F as k,aP as N,u as i,o,p as O,R as A}from"./index-o0j-GZyM.js";import{n as d}from"./mui-CAW43Z2L.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]="5223ce5b-e414-4f35-b69c-37a4abfb7a3d",e._sentryDebugIdIdentifier="sentry-dbid-5223ce5b-e414-4f35-b69c-37a4abfb7a3d")}catch{}})();const a={width:new l(343,580,726),height:new l(i[6],i[6]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},J={infoLabel:new A("extraSmallRegular","smallRegular")};function H({label:e,isDisabled:t,isOptional:p,style:u,file:b,name:n,registerOptions:c,additionalInfoLabel:f,acceptableTypes:y,sizeLimit:w,filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:F,hasError:S=!1,placeholderText:E,showPhotoPicker:v,useMobileCam:D,showUploadSuccessAnimation:I,showWebCamPopUpCloseIcon:T,updateFilesEntity:R,onDeleteFile:B,onEditFileName:L,onFileSizeError:M}){const s=U(),{formState:{errors:h}}=W(),m=g(h,n),C=g(h,`${n}.fileName`);return r.jsxs(V,{size:s,style:u,isDisabled:t!=null,"data-testid":N("document-field",n),children:[r.jsx(j,{isDisabled:t,label:e.label,isOptional:p,style:{marginLeft:a.labelMarginLeft.value(s),marginRight:a.labelMarginRight.value(s),marginTop:a.labelMarginTop.value(s),width:e.width??"auto",...e.style}}),r.jsxs(Y,{labelWidth:e.width,size:s,children:[r.jsx(_,{name:n,filesEndPoint:P,authParams:F,registerOptions:c,file:b,sizeLimit:w,acceptableTypes:y,isDisabled:t==="disabled"||t==="readonly",filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,hasError:S,updateFilesEntity:R,onFileSizeError:M,onDeleteFile:B,onEditFileName:L,placeholderText:E,showPhotoPicker:v,useMobileCam:D,showWebCamPopUpCloseIcon:T,showUploadSuccessAnimation:I}),m&&r.jsx(q,{size:s,isError:m,children:C&&b!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const V=d.div`
1
+ import{J as U,cS as W,c_ as g,V as r,cY as j,y as l,eU as _,F as k,aP as N,u as i,o,p as O,R as A}from"./index-DJv_Rbuz.js";import{n as d}from"./mui-vpVhZoFp.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]="5223ce5b-e414-4f35-b69c-37a4abfb7a3d",e._sentryDebugIdIdentifier="sentry-dbid-5223ce5b-e414-4f35-b69c-37a4abfb7a3d")}catch{}})();const a={width:new l(343,580,726),height:new l(i[6],i[6]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},J={infoLabel:new A("extraSmallRegular","smallRegular")};function H({label:e,isDisabled:t,isOptional:p,style:u,file:b,name:n,registerOptions:c,additionalInfoLabel:f,acceptableTypes:y,sizeLimit:w,filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:F,hasError:S=!1,placeholderText:E,showPhotoPicker:v,useMobileCam:D,showUploadSuccessAnimation:I,showWebCamPopUpCloseIcon:T,updateFilesEntity:R,onDeleteFile:B,onEditFileName:L,onFileSizeError:M}){const s=U(),{formState:{errors:h}}=W(),m=g(h,n),C=g(h,`${n}.fileName`);return r.jsxs(V,{size:s,style:u,isDisabled:t!=null,"data-testid":N("document-field",n),children:[r.jsx(j,{isDisabled:t,label:e.label,isOptional:p,style:{marginLeft:a.labelMarginLeft.value(s),marginRight:a.labelMarginRight.value(s),marginTop:a.labelMarginTop.value(s),width:e.width??"auto",...e.style}}),r.jsxs(Y,{labelWidth:e.width,size:s,children:[r.jsx(_,{name:n,filesEndPoint:P,authParams:F,registerOptions:c,file:b,sizeLimit:w,acceptableTypes:y,isDisabled:t==="disabled"||t==="readonly",filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,hasError:S,updateFilesEntity:R,onFileSizeError:M,onDeleteFile:B,onEditFileName:L,placeholderText:E,showPhotoPicker:v,useMobileCam:D,showWebCamPopUpCloseIcon:T,showUploadSuccessAnimation:I}),m&&r.jsx(q,{size:s,isError:m,children:C&&b!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const V=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{J as V,g as C,cS as h,c_ as T,V as r,o,c$ as _,bR as O,b as J,gg as P,p as s,R as A,bG as F}from"./index-o0j-GZyM.js";import{n as i}from"./mui-CAW43Z2L.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]="23f3ed15-c1e9-4f65-bee0-66ab8c373633",e._sentryDebugIdIdentifier="sentry-dbid-23f3ed15-c1e9-4f65-bee0-66ab8c373633")}catch{}})();const G={infoLabel:new A("extraSmallRegular","smallRegular")};function K({isDisabled:e,label:a,formattedText:t,dropdownStyle:f,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:w=!0,isSaveError:d=!1,showTickIcon:x,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:D,defaultValue:g,isSelectDisabled:k,menuPlacement:v,name:S,placeholderLabel:j}){const n=V(),p=C(),{formState:{errors:E}}=h(),c=T(E,t.name),{control:I}=h(),z=l=>typeof l=="string"?l.toLocaleUpperCase():l.toString().toLocaleUpperCase();return r.jsxs(M,{size:n,style:m,isDisabled:e!=null,isError:c||d,children:[r.jsx(N,{windowSize:n,style:{width:a?.width??"auto",marginRight:o.sp2},children:r.jsx(W,{style:{width:"auto",...f},children:r.jsx(_,{name:S,control:I,defaultValue:g.dropDownValue,rules:D,render:({field:{value:l,onChange:R}})=>r.jsx(O,{pickerValues:g.dropDownList.map(u=>u.code),valueToLabel:z,selectedValue:l??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:u=>{R(u)},menuPlacement:v,titleTextStyle:J.standardRegular,titleColor:p.colors.hero,valueOpacity:1,backgroundColor:p.colors.grey5,placeholder:j})})})}),r.jsxs(U,{children:[r.jsx(P,{...t,style:t.style,isDisabled:t.isDisabled,isMasked:!0}),(w||c||d)&&r.jsxs(b,{size:n,isError:c||d,children:[x===!0?r.jsx(B,{children:r.jsx(H,{})}):null,y]}),$===!0&&r.jsx(b,{size:n,isError:!0,children:L})]})]})}const M=i.div`
1
+ import{J as V,g as C,cS as h,c_ as T,V as r,o,c$ as _,bR as O,b as J,gg as P,p as s,R as A,bG as F}from"./index-DJv_Rbuz.js";import{n as i}from"./mui-vpVhZoFp.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]="23f3ed15-c1e9-4f65-bee0-66ab8c373633",e._sentryDebugIdIdentifier="sentry-dbid-23f3ed15-c1e9-4f65-bee0-66ab8c373633")}catch{}})();const G={infoLabel:new A("extraSmallRegular","smallRegular")};function K({isDisabled:e,label:a,formattedText:t,dropdownStyle:f,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:w=!0,isSaveError:d=!1,showTickIcon:x,showErrorInfoLabel:$,errorInfoLabel:L,registerOptions:D,defaultValue:g,isSelectDisabled:k,menuPlacement:v,name:S,placeholderLabel:j}){const n=V(),p=C(),{formState:{errors:E}}=h(),c=T(E,t.name),{control:I}=h(),z=l=>typeof l=="string"?l.toLocaleUpperCase():l.toString().toLocaleUpperCase();return r.jsxs(M,{size:n,style:m,isDisabled:e!=null,isError:c||d,children:[r.jsx(N,{windowSize:n,style:{width:a?.width??"auto",marginRight:o.sp2},children:r.jsx(W,{style:{width:"auto",...f},children:r.jsx(_,{name:S,control:I,defaultValue:g.dropDownValue,rules:D,render:({field:{value:l,onChange:R}})=>r.jsx(O,{pickerValues:g.dropDownList.map(u=>u.code),valueToLabel:z,selectedValue:l??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:u=>{R(u)},menuPlacement:v,titleTextStyle:J.standardRegular,titleColor:p.colors.hero,valueOpacity:1,backgroundColor:p.colors.grey5,placeholder:j})})})}),r.jsxs(U,{children:[r.jsx(P,{...t,style:t.style,isDisabled:t.isDisabled,isMasked:!0}),(w||c||d)&&r.jsxs(b,{size:n,isError:c||d,children:[x===!0?r.jsx(B,{children:r.jsx(H,{})}):null,y]}),$===!0&&r.jsx(b,{size:n,isError:!0,children:L})]})]})}const M=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{J as f,V as o,cY as p,y as l,aP as g,u as t,o as a,al as u,R as c}from"./index-o0j-GZyM.js";import{n as d}from"./mui-CAW43Z2L.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]="06a19234-7b73-41f0-9e6f-fca2916eada6",e._sentryDebugIdIdentifier="sentry-dbid-06a19234-7b73-41f0-9e6f-fca2916eada6")}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:r,additionalInfoLabel:s,style:h,infoLabelStyle:b}){const n=f();return o.jsxs(m,{size:n,style:h,"data-testid":g("labeled-text",e.label),children:[o.jsx(p,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(n),marginRight:i.labelMarginRight.value(n),marginTop:i.labelMarginTop.value(n),width:e.width??"auto"}}),o.jsxs(x,{labelWidth:e.width,children:[o.jsx(w,{"data-testid":g("labeled-text-input",e.label),children:r}),s!=null?o.jsx($,{size:n,style:b,children:s}):null]})]})}const m=d.div`
1
+ import{J as f,V as o,cY as p,y as l,aP as g,u as t,o as a,al as u,R as c}from"./index-DJv_Rbuz.js";import{n as d}from"./mui-vpVhZoFp.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]="06a19234-7b73-41f0-9e6f-fca2916eada6",e._sentryDebugIdIdentifier="sentry-dbid-06a19234-7b73-41f0-9e6f-fca2916eada6")}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:r,additionalInfoLabel:s,style:h,infoLabelStyle:b}){const n=f();return o.jsxs(m,{size:n,style:h,"data-testid":g("labeled-text",e.label),children:[o.jsx(p,{label:e.label,style:{marginLeft:i.labelMarginLeft.value(n),marginRight:i.labelMarginRight.value(n),marginTop:i.labelMarginTop.value(n),width:e.width??"auto"}}),o.jsxs(x,{labelWidth:e.width,children:[o.jsx(w,{"data-testid":g("labeled-text-input",e.label),children:r}),s!=null?o.jsx($,{size:n,style:b,children:s}):null]})]})}const m=d.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{J as U,V as l,cY as me,o as s,y as I,aP as Q,u as m,cS as Z,c$ as ge,c_ as fe,g as be,f$ as xe,F,R as we,bI as W,g0 as K,ap as H,g1 as Y,bG as G,p as E,b as J,al as X,g2 as $e,am as ye,ai as ve}from"./index-o0j-GZyM.js";import{n as r}from"./mui-CAW43Z2L.js";import{T as je}from"./RoleWithToolTip-YZusZfiJ-BELittL3.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]="f2726601-07cc-4d49-801e-c8e233382f6f",e._sentryDebugIdIdentifier="sentry-dbid-f2726601-07cc-4d49-801e-c8e233382f6f")}catch{}})();const ee={selectContainerMarginHorizontal:new I(m[2],m[3]),marginTop:new I(m[1],m[0])},Se=r(ye)`
1
+ import{J as U,V as l,cY as me,o as s,y as I,aP as Q,u as m,cS as Z,c$ as ge,c_ as be,g as fe,f$ as xe,F,R as we,bI as W,g0 as K,ap as H,g1 as Y,bG as G,p as E,b as J,al as X,g2 as $e,am as ye,ai as ve}from"./index-DJv_Rbuz.js";import{n as r}from"./mui-vpVhZoFp.js";import{T as je}from"./RoleWithToolTip-B0JWC_SV-CXgbdRFg.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]="5efb5182-6f2e-44dc-b385-c7ead21586ab",e._sentryDebugIdIdentifier="sentry-dbid-5efb5182-6f2e-44dc-b385-c7ead21586ab")}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;
@@ -180,7 +180,7 @@ import{J as U,V as l,cY as me,o as s,y as I,aP as Q,u as m,cS as Z,c$ as ge,c_ a
180
180
  border-radius: ${s.sp1};
181
181
  margin-top: ${({windowSize:e})=>ee.marginTop.valuePx(e)};
182
182
  width: fit-content;
183
- `;function _e({allUsers:e,selectedValue:a,showOneOffLabel:o,placeholder:g,isOptionRemovable:v,valueToSubtitle:x,onSelectionChanged:w,name:j,userContainerStyles:f,optionStyles:A,isValuePlacedAtEnd:D=!0,isDisabled:P,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:L,disabledOptionHint:$,bigMarginRightForSmallScreens:V=!1}){const{formState:{errors:k}}=Z(),z=fe(k,j??""),c=U(),O=[];o!=null&&O.push(o.value),O.push(...e.map(t=>t.userId));const le=t=>{if(o!=null&&o.value===t)return o.label;const i=e.findIndex(n=>n.userId===t);if(i!==-1){const n=e[i];return n.user?.firstName||n.user?.lastName?`${n.user?.firstName} ${n.user?.lastName}`:`${n.user?.email}`}else return""},se=t=>{const i=e.findIndex(n=>n.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:n}=t;return l.jsx(Fe,{menuIsOpen:i,isError:z,children:l.jsx(Ce,{children:n})})},re=({labelDetails:t})=>l.jsxs(Re,{hasSelectedUser:a===t.value,children:[l.jsxs(Ee,{children:[l.jsx(Me,{}),l.jsx(B,{children:l.jsx(R,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(G,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:n,selectProps:u}=t,{menuIsOpen:h}=u;if(o!=null&&n?.value===o.value)return l.jsxs(M,{children:[S||C?l.jsx(K,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(ke,{children:o.label})]});const d=e.findIndex(y=>y.userId===n.value),p=e[d],b=x(n.value);return l.jsxs(Pe,{children:[l.jsxs(Ve,{menuIsOpen:h,children:[S||C?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Ae,{src:p?.user?.photo.href,alt:F.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=H},loading:"lazy"}):l.jsx(Y,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(R,{children:i})]}),S?l.jsx(_,{subtitleList:b,menuIsOpen:u.menuIsOpen,member:p}):null]})},_=({subtitleList:t,member:i,menuIsOpen:n})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:n,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ie,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:n,selectProps:u,value:h}=t,d=!!L?.(h)&&n===!1;if(o!=null&&i?.value===o.value)return l.jsx(re,{labelDetails:o});const p=e.findIndex(T=>T.userId===i.value),b=e[p],y=x(i.value);return l.jsxs(De,{style:A,children:[l.jsxs(Le,{isCurrOptionDisabled:d,children:[l.jsx(ze,{children:b?.user?.photo!=null?l.jsx(Te,{src:b?.user?.photo.href,alt:F.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:T})=>{T.onerror=null,T.src=H},loading:"lazy"}):l.jsx(Y,{firstName:b?.user?.firstName??"",lastName:b?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(B,{children:[l.jsx(R,{children:t.label}),l.jsx(_,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:b}),c==="small"&&d&&$!=null?l.jsx(q,{windowSize:c,children:$}):null]})]}),!!n&&l.jsx(l.Fragment,{children:l.jsx(G,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(q,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:n,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Ne,{menuIsOpen:i,isFocused:n,isDisabled:u,selectedValue:d,isError:z,isValuePlacedAtEnd:D,windowSize:c,bigMarginRightForSmallScreens:V,children:l.jsx(W.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(W.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Ue,{windowSize:c,children:t.children}),he=(t,i)=>i&&typeof t.label=="string"?t.label.toLowerCase().includes(i.toLowerCase())||t.data?.data?.email?.toLowerCase().includes(i.toLowerCase()):!0,pe=be();return l.jsx(xe,{placeholder:g??F.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:f,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:P,isOptionDisabled:t=>L?.(t)===!0&&a!==t,filterOption:he})}const We={infoLabel:new we("smallRegular","smallRegular")},He=({name:e,placeholderLabel:a,registerOptions:o,value:g,valueToSubtitle:v,showOneOffLabel:x,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:f,isDisabled:A,additionalLabelInfo:D,isOptionDisabled:P,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:L,bigMarginRightForSmallScreens:$=!1})=>{const{control:V}=Z(),k=U();return l.jsx(ge,{name:e,control:V,defaultValue:g,rules:o,render:({field:{value:z,onChange:c}})=>l.jsxs(Ye,{width:w?.width,"data-testid":Q("user-single-select",e),children:[l.jsx(_e,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:z.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:x,userContainerStyles:w,isValuePlacedAtEnd:f,isDisabled:A,isOptionDisabled:P,showAvatarAndSubtitles:S,showOnlyAvatar:C,disabledOptionHint:L,bigMarginRightForSmallScreens:$,optionStyles:j}),D!==null&&l.jsx(Ge,{size:k,children:D})]})})},Ye=r.div`
183
+ `;function _e({allUsers:e,selectedValue:a,showOneOffLabel:o,placeholder:g,isOptionRemovable:v,valueToSubtitle:x,onSelectionChanged:w,name:j,userContainerStyles:b,optionStyles:A,isValuePlacedAtEnd:D=!0,isDisabled:P,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,isOptionDisabled:L,disabledOptionHint:$,bigMarginRightForSmallScreens:V=!1}){const{formState:{errors:k}}=Z(),z=be(k,j??""),c=U(),O=[];o!=null&&O.push(o.value),O.push(...e.map(t=>t.userId));const le=t=>{if(o!=null&&o.value===t)return o.label;const i=e.findIndex(n=>n.userId===t);if(i!==-1){const n=e[i];return n.user?.firstName||n.user?.lastName?`${n.user?.firstName} ${n.user?.lastName}`:`${n.user?.email}`}else return""},se=t=>{const i=e.findIndex(n=>n.userId===t);if(i!==-1)return e[i].user},te=t=>{const{menuIsOpen:i,children:n}=t;return l.jsx(Fe,{menuIsOpen:i,isError:z,children:l.jsx(Ce,{children:n})})},re=({labelDetails:t})=>l.jsxs(Re,{hasSelectedUser:a===t.value,children:[l.jsxs(Ee,{children:[l.jsx(Me,{}),l.jsx(B,{children:l.jsx(R,{children:t.label})})]}),a===t.value?l.jsx(l.Fragment,{children:l.jsx(G,{width:s.sp3,height:s.sp3})}):null]}),ie=t=>{const{children:i,data:n,selectProps:u}=t,{menuIsOpen:h}=u;if(o!=null&&n?.value===o.value)return l.jsxs(M,{children:[S||C?l.jsx(K,{style:{height:s.sp4,width:s.sp4}}):null,l.jsx(ke,{children:o.label})]});const d=e.findIndex(y=>y.userId===n.value),p=e[d],f=x(n.value);return l.jsxs(Pe,{children:[l.jsxs(Ve,{menuIsOpen:h,children:[S||C?l.jsx(l.Fragment,{children:p?.user?.photo!=null?l.jsx(Ae,{src:p?.user?.photo.href,alt:F.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:y})=>{y.onerror=null,y.src=H},loading:"lazy"}):l.jsx(Y,{firstName:p?.user?.firstName??"",lastName:p?.user?.lastName??"",size:`${s.sp4}`,index:d})}):null,l.jsx(R,{children:i})]}),S?l.jsx(_,{subtitleList:f,menuIsOpen:u.menuIsOpen,member:p}):null]})},_=({subtitleList:t,member:i,menuIsOpen:n})=>{const u=t.length;return l.jsxs(Se,{menuIsOpen:n,children:[i!=null?l.jsx(je,{roles:i?.userRole.userRoles}):null,i!=null&&u>0?l.jsx(Ie,{}):null,u>0?t.map((h,d)=>l.jsx(Oe,{children:h},`${h}${d}`)):null]})},oe=t=>{const{data:i,isSelected:n,selectProps:u,value:h}=t,d=!!L?.(h)&&n===!1;if(o!=null&&i?.value===o.value)return l.jsx(re,{labelDetails:o});const p=e.findIndex(T=>T.userId===i.value),f=e[p],y=x(i.value);return l.jsxs(De,{style:A,children:[l.jsxs(Le,{isCurrOptionDisabled:d,children:[l.jsx(ze,{children:f?.user?.photo!=null?l.jsx(Te,{src:f?.user?.photo.href,alt:F.getLocalizedStrings().cockpit.userProfileAltText,onError:({currentTarget:T})=>{T.onerror=null,T.src=H},loading:"lazy"}):l.jsx(Y,{firstName:f?.user?.firstName??"",lastName:f?.user?.lastName??"",size:`${s.sp5}`,index:p})}),l.jsxs(B,{children:[l.jsx(R,{children:t.label}),l.jsx(_,{menuIsOpen:u.menuIsOpen,subtitleList:y,member:f}),c==="small"&&d&&$!=null?l.jsx(q,{windowSize:c,children:$}):null]})]}),!!n&&l.jsx(l.Fragment,{children:l.jsx(G,{width:s.sp3,height:s.sp3})}),c!=="small"&&d&&$!=null?l.jsx(q,{windowSize:c,children:$}):null]})},ne=t=>{w(t)},ae=()=>null,de=t=>{const{menuIsOpen:i,isFocused:n,isDisabled:u,selectProps:h}=t,{value:d}=h;return l.jsx(Ne,{menuIsOpen:i,isFocused:n,isDisabled:u,selectedValue:d,isError:z,isValuePlacedAtEnd:D,windowSize:c,bigMarginRightForSmallScreens:V,children:l.jsx(W.Control,{...t,className:"select-control",children:t.children})})},ce=t=>l.jsx(W.ValueContainer,{...t,className:"select-value-container",children:t.children}),ue=t=>l.jsx(Ue,{windowSize:c,children:t.children}),he=(t,i)=>i&&typeof t.label=="string"?t.label.toLowerCase().includes(i.toLowerCase())||t.data?.data?.email?.toLowerCase().includes(i.toLowerCase()):!0,pe=fe();return l.jsx(xe,{placeholder:g??F.getLocalizedStrings().commonSetUp.approval.userSelectPlaceholder,selectedValue:a,pickerValues:O,valueToLabel:le,valueToData:se,backgroundColor:pe.colors.background,onPickerSelectionChanged:ne,OptionComponent:oe,PlaceholderComponent:te,SingleValueComponent:ie,isOptionRemovable:v,containerStyles:b,DropDownIndicatorComponent:ae,ControlComponent:de,classNamePrefix:"single-select-field",ValueContainerComponent:ce,MenuListComponent:ue,menuPosition:c==="small"?"right":"left",isSearchable:!0,isDisabled:P,isOptionDisabled:t=>L?.(t)===!0&&a!==t,filterOption:he})}const We={infoLabel:new we("smallRegular","smallRegular")},He=({name:e,placeholderLabel:a,registerOptions:o,value:g,valueToSubtitle:v,showOneOffLabel:x,userContainerStyles:w,optionStyles:j,isValuePlacedAtEnd:b,isDisabled:A,additionalLabelInfo:D,isOptionDisabled:P,showOnlyAvatar:C=!1,showAvatarAndSubtitles:S=!0,disabledOptionHint:L,bigMarginRightForSmallScreens:$=!1})=>{const{control:V}=Z(),k=U();return l.jsx(ge,{name:e,control:V,defaultValue:g,rules:o,render:({field:{value:z,onChange:c}})=>l.jsxs(Ye,{width:w?.width,"data-testid":Q("user-single-select",e),children:[l.jsx(_e,{onSelectionChanged:O=>{c({allUsers:g.allUsers,selectedUser:O})},selectedValue:z.selectedUser,valueToSubtitle:v,allUsers:g.allUsers,placeholder:a,name:e,showOneOffLabel:x,userContainerStyles:w,isValuePlacedAtEnd:b,isDisabled:A,isOptionDisabled:P,showAvatarAndSubtitles:S,showOnlyAvatar:C,disabledOptionHint:L,bigMarginRightForSmallScreens:$,optionStyles:j}),D!==null&&l.jsx(Ge,{size:k,children:D})]})})},Ye=r.div`
184
184
  display: flex;
185
185
  flex-direction: column;
186
186
  width: ${e=>e.width!=null?e.width:"auto"};
@@ -189,7 +189,7 @@ import{J as U,V as l,cY as me,o as s,y as I,aP as Q,u as m,cS as Z,c$ as ge,c_ a
189
189
  ${e=>`${We.infoLabel.style(e.size)}`};
190
190
  text-align: right;
191
191
  padding-right: ${s.sp3};
192
- `,N={width:new I(343,580,726),labelMarginLeft:new I(m[3],m[4]),labelMarginRight:new I(m[3],m[4])};function Ze({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:o,style:g,showTooltip:v=!1,tooltipTitle:x,toolTipWidth:w,opacity:j=1}){const f=U();return l.jsxs(Je,{size:f,style:g,isDisabled:e!=null,opacity:j,"data-testid":Q("labeled-user-single-select",o.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:o.name,style:{marginLeft:N.labelMarginLeft.value(f),marginRight:N.labelMarginRight.value(f),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:x,toolTipWidth:w}),l.jsx(He,{...o,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...o.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:o.value.selectedUser==null||o.value.selectedUser!=null&&o.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const Je=r.div`
192
+ `,N={width:new I(343,580,726),labelMarginLeft:new I(m[3],m[4]),labelMarginRight:new I(m[3],m[4])};function Ze({isDisabled:e,label:a,userSingleSelectWithSubTitlesField:o,style:g,showTooltip:v=!1,tooltipTitle:x,toolTipWidth:w,opacity:j=1}){const b=U();return l.jsxs(Je,{size:b,style:g,isDisabled:e!=null,opacity:j,"data-testid":Q("labeled-user-single-select",o.name),children:[l.jsx(me,{isDisabled:e,label:a.label,htmlFor:o.name,style:{marginLeft:N.labelMarginLeft.value(b),marginRight:N.labelMarginRight.value(b),marginTop:s.sp2,width:a.width??"auto"},showTooltip:v,tooltipTitle:x,toolTipWidth:w}),l.jsx(He,{...o,isDisabled:e,userContainerStyles:{display:"flex",flexGrow:1,...o.showOnlyAvatar===!1&&{minWidth:"unset",maxWidth:"unset"},width:a.width!=null?`calc(100% - ${a.width}px)`:"auto",height:o.value.selectedUser==null||o.value.selectedUser!=null&&o.showOnlyAvatar===!0?s.sp6:s.sp9}})]})}const Je=r.div`
193
193
  display: flex;
194
194
  flex-direction: row;
195
195
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{J as I,V as l,cY as G,y as m,o,aP as N,u as n,cS as E,c$ as Q,c_ as Y,g as q,b as V,bH as ie,F as te,fY as se,g3 as ae,aJ as ne,b1 as de,bI as B,ba as ce,bG as pe,cC as ue,p as k,g4 as U,ci as K,r as he,ai as X,al as ge,am as me,fK as be,fJ as fe,bw as xe,fL as ye,bi as we,g5 as ve}from"./index-o0j-GZyM.js";import{n as d,c as $e}from"./mui-CAW43Z2L.js";import{a as D}from"./sentry-DmQUfSE7.js";import{FE as A,FF as Re}from"./zeni-epic-state-C4Tt6Qhq.js";import{T as je}from"./RoleWithToolTip-YZusZfiJ-BELittL3.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]="43416e82-7bbc-4cb0-aa54-6afbd4099543",e._sentryDebugIdIdentifier="sentry-dbid-43416e82-7bbc-4cb0-aa54-6afbd4099543")}catch{}})();const H={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},Se=d.div`
1
+ import{J as I,V as l,cY as G,y as m,o,aP as N,u as n,cS as E,c$ as Q,c_ as Y,g as q,b as V,bH as ie,F as te,fY as se,g3 as ae,aJ as ne,b1 as de,bI as B,ba as ce,bG as pe,cC as ue,p as k,g4 as U,ci as K,r as he,ai as X,al as ge,am as me,fK as be,fJ as fe,bw as xe,fL as ye,bi as we,g5 as ve}from"./index-DJv_Rbuz.js";import{n as d,c as $e}from"./mui-vpVhZoFp.js";import{a as D}from"./sentry-BAZEeDR7.js";import{FE as A,FF as Re}from"./zeni-epic-state-p-hirlWD.js";import{T as je}from"./RoleWithToolTip-B0JWC_SV-CXgbdRFg.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]="78a44a2a-5c69-45f4-90dd-d84e20e08d8c",e._sentryDebugIdIdentifier="sentry-dbid-78a44a2a-5c69-45f4-90dd-d84e20e08d8c")}catch{}})();const H={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=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
4
4
  margin-bottom: ${e=>H.grpBtnMarginTopBottom.valuePx(e.windowSize)};
@@ -1,4 +1,4 @@
1
- import{J as G,aQ as ue,a9 as pe,cF as me,iJ as E,iu as I,cG as he,V as n,ac as ge,g6 as fe,aR as be,F as H,o as t,y as m,e as xe,C as ye,cI as R,iK as we,p as Ce,b as P,bh as je,u as r}from"./index-o0j-GZyM.js";import{a as B}from"./sentry-DmQUfSE7.js";import{n as i}from"./mui-CAW43Z2L.js";import{G5 as Q,G2 as Se,G3 as De}from"./zeni-epic-state-C4Tt6Qhq.js";import $e from"./TransactionDetailPage-mtNlJQ2B-IRA0HZOa.js";import"./liveblocks-BZyZbty1.js";import"./core-yiE_iOc0.js";import"./recharts-Duslqfio.js";import"./lottie-HBX4-MpS.js";import"./analytics-DH0nG_g5.js";import"./lexical-DlAOaxF0.js";import"./utils-C-XuhdQM.js";import"./LabeledControlledCheckBoxField-AuHfNy1--CYnnof78.js";import"./TrendWithTransactions-DcCilwfx-_37SmAif.js";import"./TrendChart-D0GWCIs5-BdQ26pcI.js";import"./chartTypes-Bf1-edD8-CV1yysKw.js";import"./toCOABalancesWithID-DOquK-Sn-1uwfHDc8.js";import"./toChartData-CcG8i49E-invCvTu2.js";import"./NoDataChart-C7YUwwui-iNU45UoG.js";import"./InsightsSection-CIpbIEbv-CFt4IQKX.js";import"./NavigationDots-DaOFOsFA-BBWJs6hX.js";import"./TransactionList-CLb6vsAw-BNfVqp8k.js";import"./ConstrainedInnerElement-BeIpAPjB-JviWwDyz.js";import"./BoxItem-BdgRTwgI-DiOTWl08.js";import"./commonDimensions-B60Qkfnz-DxGoTy6S.js";import"./panelSelectedMixin-CzfD5-Zs-C9yV2YE9.js";import"./uploadAttachment-B-y1--ww-BcIqRgDj.js";import"./radio-default-CiSgisfh-W2nwrqQ5.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]="d0c2cb96-c317-4773-9cfc-a3cec2c63bb4",e._sentryDebugIdIdentifier="sentry-dbid-d0c2cb96-c317-4773-9cfc-a3cec2c63bb4")}catch{}})();const J={labelWidth:new m(120,145,160)},ve=i.div`
1
+ import{J as G,aQ as ue,a9 as pe,cF as me,iJ as E,iu as I,cG as he,V as n,ac as ge,g6 as fe,aR as be,F as H,o as t,y as m,e as xe,C as ye,cI as R,iK as we,p as Ce,b as P,bh as je,u as r}from"./index-DJv_Rbuz.js";import{a as B}from"./sentry-BAZEeDR7.js";import{n as i}from"./mui-vpVhZoFp.js";import{G5 as Q,G2 as Se,G3 as De}from"./zeni-epic-state-p-hirlWD.js";import $e from"./TransactionDetailPage-BbqIgtCd-DiFMNiBg.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.js";import"./LabeledControlledCheckBoxField-DUkmWHyZ-D2AqhRim.js";import"./TrendWithTransactions-D3y_WfC9-DTwRkgjx.js";import"./TrendChart-BxOwX5Tl-CLxo4QA6.js";import"./chartTypes-B6Rsb0Zj-OBtFn3Lg.js";import"./toCOABalancesWithID-LVMDIpDR-LI6Qd7JP.js";import"./toChartData-BUT_vwbW-BbFVGs8l.js";import"./NoDataChart-C-dDAIve-DUTyXvqs.js";import"./InsightsSection-BxPB_NJF-D7HFTV9p.js";import"./NavigationDots-B6QtTUea-NrUSmXgc.js";import"./TransactionList-CSBjcmxc-EtkATca3.js";import"./ConstrainedInnerElement-BeIpAPjB-DFqe1Ody.js";import"./BoxItem-G87i4jj9-DJ_JzOgf.js";import"./commonDimensions-C6cMfD5y-ldvdnaDh.js";import"./panelSelectedMixin-CzfD5-Zs-D4PkbE95.js";import"./uploadAttachment-B1aivsLg-CDTrk-3w.js";import"./radio-default-CiSgisfh-DiqpiNhm.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]="7d495bb2-4757-4ae8-aa9d-71df7ccd28fa",e._sentryDebugIdIdentifier="sentry-dbid-7d495bb2-4757-4ae8-aa9d-71df7ccd28fa")}catch{}})();const J={labelWidth:new m(120,145,160)},ve=i.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{J as he,g as Me,a9 as me,y as d,c_ as ue,V as t,fb as Be,ac as ge,ap as He,g1 as Ue,o as r,b as We,bT as Ve,aN as re,cY as Ye,b1 as q,er as qe,T as Xe,aR as Ke,F as U,ao as Ge,cI as gr,r as pe,a8 as xr,aw as wr,gS as $r,gc as fr,aP as de,u as y,C as Ze,bV as xe,d as Je,al as v,b7 as we,ai as K,dv as Qe,a$ as er,cC as rr,p as X,am as tr,iO as oe,iZ as br,j2 as yr,j3 as vr,dw as Pe,fs as jr,eK as Sr}from"./index-o0j-GZyM.js";import{a as ae}from"./sentry-DmQUfSE7.js";import{n as i}from"./mui-CAW43Z2L.js";import{EP as Cr}from"./zeni-epic-state-C4Tt6Qhq.js";import{T as ir}from"./RoleWithToolTip-YZusZfiJ-BELittL3.js";import{j as or}from"./CardNumberSubText-g2_GoH9f-aD70vkbB.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]="ba1634cc-75d7-4b2d-82d1-98b2e3b4f779",e._sentryDebugIdIdentifier="sentry-dbid-ba1634cc-75d7-4b2d-82d1-98b2e3b4f779")}catch{}})();const Q="cardName",fe=U.getLocalizedStrings().spendManagement.chargeCard.renamePopup;function ji({currentCardName:e,renameFetchState:h,onCancelClick:c,onSubmitClick:p}){const l=he(),b="RenameCardForm",n=me({mode:"all",defaultValues:{[Q]:e},values:{[Q]:e}});ae.useEffect(()=>{n.setFocus(Q)},[]);const m=()=>{c()},A=n.handleSubmit(()=>{const $=n.getValues(Q);$!=null&&p($)}),I=ue(n.formState.errors,Q),o=U.getLocalizedStrings().common,T=le.largeLabelWidth.value(l);return t.jsx(zr,{windowSize:l,role:"presentation",children:t.jsx(Ge,{onClickAway:()=>c(),children:t.jsxs(kr,{windowSize:l,children:[t.jsx(ge,{...n,children:t.jsxs(Nr,{id:b,onSubmit:$=>{$.preventDefault(),A()},children:[t.jsx(Pr,{windowSize:l,children:fe.heading}),t.jsx(Ir,{hasError:I,children:t.jsx(gr,{label:{label:fe.newName,width:T},style:{width:"auto"},text:{type:"text",name:Q,defaultValue:e,placeholder:fe.placeholder,options:{required:!0,validate:$=>$!=null}}})})]})}),t.jsx(Dr,{children:t.jsxs(Lr,{children:[t.jsx(pe,{label:o.cancel,onClick:m,style:{width:84}}),t.jsx(Tr,{}),t.jsx(pe,{variant:"primary",label:o.texts.update,style:{width:84,whiteSpace:"nowrap"},loading:h==="In-Progress",type:"submit",form:b})]})})]})})})}const le={width:new d(343,500,500),largeLabelWidth:new d(108,108,108),popupLeftRightPadding:new d(y[5],y[6]),popupTopBottomPadding:new d(y[5],y[5])},zr=i.div`
1
+ import{J as he,g as Me,a9 as me,y as d,c_ as ue,V as t,fb as Be,ac as ge,ap as He,g1 as Ue,o as r,b as We,bT as Ve,aN as re,cY as Ye,b1 as q,er as qe,T as Xe,aR as Ke,F as U,ao as Ge,cI as gr,r as pe,a8 as xr,aw as wr,gS as $r,gc as fr,aP as de,u as b,C as Ze,bV as xe,d as Je,al as v,b7 as we,ai as K,dv as Qe,a$ as er,cC as rr,p as X,am as tr,iO as oe,iZ as yr,j2 as br,j3 as vr,dw as Pe,fs as jr,eK as Sr}from"./index-DJv_Rbuz.js";import{a as ae}from"./sentry-BAZEeDR7.js";import{n as i}from"./mui-vpVhZoFp.js";import{EP as Cr}from"./zeni-epic-state-p-hirlWD.js";import{T as ir}from"./RoleWithToolTip-B0JWC_SV-CXgbdRFg.js";import{j as or}from"./CardNumberSubText-CtZArtEN-C5CUm4jT.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]="3569062f-9345-4464-acda-67566b5f2de5",e._sentryDebugIdIdentifier="sentry-dbid-3569062f-9345-4464-acda-67566b5f2de5")}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()},A=n.handleSubmit(()=>{const $=n.getValues(Q);$!=null&&p($)}),I=ue(n.formState.errors,Q),o=U.getLocalizedStrings().common,T=le.largeLabelWidth.value(l);return t.jsx(zr,{windowSize:l,role:"presentation",children:t.jsx(Ge,{onClickAway:()=>c(),children:t.jsxs(kr,{windowSize:l,children:[t.jsx(ge,{...n,children:t.jsxs(Nr,{id:y,onSubmit:$=>{$.preventDefault(),A()},children:[t.jsx(Pr,{windowSize:l,children:fe.heading}),t.jsx(Ir,{hasError:I,children:t.jsx(gr,{label:{label:fe.newName,width:T},style:{width:"auto"},text:{type:"text",name:Q,defaultValue:e,placeholder:fe.placeholder,options:{required:!0,validate:$=>$!=null}}})})]})}),t.jsx(Dr,{children:t.jsxs(Lr,{children:[t.jsx(pe,{label:o.cancel,onClick:m,style:{width:84}}),t.jsx(Tr,{}),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};
@@ -49,7 +49,7 @@ import{J as he,g as Me,a9 as me,y as d,c_ as ue,V as t,fb as Be,ac as ge,ap as H
49
49
  }
50
50
  `,Nr=i.form`
51
51
  display: contents;
52
- `,ee="spendLimit",J=U.getLocalizedStrings().spendManagement.chargeCard.updateSpendLimitPopup,{dateFormat:be}=U.getLocalizedStrings();function Si({controllerEmails:e,isChargeCardFeatureEnabled:h,isDebitCardFeatureEnabled:c,isDebitCardSetupEnabled:p,isChargeCardSetupEnabled:l,cardDetail:b,transactionStatistics:n,depositAccountLimitFetchState:m,creditAccount:A,creditAccountRepayment:I,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:B,currentSpentAmount:H,productInformation:j,creditAccountInformation:W,debitAccountInformation:V,maxLimitAmount:O,isDisabled:G,updateLimitFetchState:Z,recommendations:N,cardIssuedByRoles:Y,cardHolderRoles:u,loggedInUserRole:E,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,onCancelClick:s,onSubmitClick:g}){const x=xr().analytics,f=he(),se="SpendLimitForm",ar=wr();Cr(ar.loggedInUserRoleMap);const te=me({mode:"onBlur",reValidateMode:"onBlur",defaultValues:{[ee]:void 0}}),{control:sr,formState:{errors:nr}}=te,[dr,lr]=ae.useState(void 0),ne=$r({control:sr,name:ee}),Ce=b?.type.code.includes("physical")===!0?b.cardActivationAttemptHistory[0]?.timestamp:b?.createTime,ze=(b?.recommendations??[]).map(w=>w.creditLimit.amount),cr=()=>{b!=null&&Le({analytics:x,controllerEmails:e,isChargeCardFeatureEnabled:h,cardDetail:b,transactionStatistics:n,depositAccountLimitFetchState:m,creditAccount:A,creditAccountRepayment:I,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:B,recommendedLimitAmounts:ze,cardActivationDate:Ce,cardIssuedByRoles:Y,cardHolderRoles:u,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,loggedInUserRole:E,clickItem:"Cancel",newSpendLimitAmount:ne,productInformation:j,creditAccountInformation:W,debitAccountInformation:V}),s()},pr=te.handleSubmit(()=>{const w=te.getValues(ee);w!=null&&(Le({analytics:x,controllerEmails:e,isChargeCardFeatureEnabled:h,cardDetail:b,transactionStatistics:n,depositAccountLimitFetchState:m,creditAccount:A,creditAccountRepayment:I,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:B,recommendedLimitAmounts:ze,cardActivationDate:Ce,cardIssuedByRoles:Y,cardHolderRoles:u,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,loggedInUserRole:E,productInformation:j,creditAccountInformation:W,debitAccountInformation:V,clickItem:"Update",newSpendLimitAmount:w}),g(w))}),hr=w=>{te.setValue(ee,w,{shouldValidate:!0})},ke=ue(nr,ee),$e=U.getLocalizedStrings().common,mr=ce.largeLabelWidth.value(f);ae.useEffect(()=>{lr(Er(H,O,ne))},[ne,H,O]);const ur=(w,ie)=>t.jsxs(Wr,{isSelected:ne===w.amount,onClick:()=>hr(w.amount),"data-testid":de("quick-amount-button",ie.toString()),children:[ie===1&&t.jsx(Vr,{}),re("0,0.[00]",w)]},ie);return t.jsx(Fr,{windowSize:f,role:"presentation","data-testid":de("update-spend-limit-popup"),children:t.jsx(Ge,{onClickAway:()=>s(),children:t.jsxs(Rr,{windowSize:f,children:[t.jsx(ge,{...te,children:t.jsxs(Yr,{id:se,onSubmit:w=>{w.preventDefault(),pr()},children:[t.jsx(Ar,{windowSize:f,children:J.heading}),t.jsxs(Or,{windowSize:f,children:[J.currentLimit,$e.strings.space," ",re("0,0.[00]",B),J.slashMonth]}),t.jsxs(Hr,{hasError:ke,children:[t.jsx(fr,{label:{label:J.newLimit,width:mr},showAdditionalInfoLabel:ke,additionalInfoLabel:dr,formattedTextField:{type:"number",name:ee,defaultValue:void 0,placeholder:J.placeholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:w=>!!w&&w>0&&w>H.amount&&(O!=null?w<=O.amount:!0)},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},showOutlineOnFocus:!1}),N?.length?t.jsx(Ur,{windowSize:f,children:N?.map((w,ie)=>ur(w.creditLimit,ie))}):null]})]})}),t.jsx(Br,{children:t.jsxs(_r,{children:[t.jsx(pe,{label:$e.cancel,onClick:cr,style:{width:84},"data-testid":de("update-spend-limit-cancel-button")}),t.jsx(Mr,{}),t.jsx(pe,{variant:"primary",label:$e.texts.update,style:{width:84,whiteSpace:"nowrap"},loading:Z==="In-Progress",type:"submit",form:se,"data-testid":de("update-spend-limit-submit-button"),disabled:G})]})})]})})})}const Er=(e,h,c)=>{if(c!=null){if(c<=e.amount)return J.amountBelowError.replace("_amount_",re("0,0.[00]",e));if(h!=null&&c>h.amount)return J.amountExceedError.replace("_amount_",re("0,0.[00]",h))}},Le=({analytics:e,controllerEmails:h,isChargeCardFeatureEnabled:c,productInformation:p,creditAccountInformation:l,debitAccountInformation:b,cardDetail:n,transactionStatistics:m,depositAccountLimitFetchState:A,creditAccount:I,creditAccountRepayment:o,signedInUser:T,isDebitCard:$,classListFetchState:B,currentLimitAmount:H,recommendedLimitAmounts:j,cardActivationDate:W,cardIssuedByRoles:V,cardHolderRoles:O,cardIssuedByDepartmentName:G,cardHolderDepartmentName:Z,loggedInUserRole:N,clickItem:Y,newSpendLimitAmount:u})=>{n!=null&&B==="Completed"&&m!=null&&m.fetchState==="Completed"&&(!c||I.fetchState==="Completed"&&o.fetchState==="Completed")&&(!$||A==="Completed")&&e.trackCardsUpdateSpendLimitClick(h,p,{cardId:n.id,cardName:n.cardName,cardType:vr(n.type.code),cardCategory:n.type.code.includes("physical")?"physical":"virtual",cardLimit:oe(n.limit.amount),cardLastFourDigits:n.accountLast4,cardStatus:n.status.code,cardAssignedDate:n.createTime?.format(be.analytics.MMMDashDDDashYYYYFormat),cardIssuedDate:n.providerCardCreateTime?.format(be.analytics.MMMDashDDDashYYYYFormat),cardActivatedDate:W?.format(be.analytics.MMMDashDDDashYYYYFormat),cardLimitFrequency:n.creditLimitFrequency.name,cardSpentAmount:oe(n.balance.amount),cardAvailableLimit:oe(n.available.amount),cardUtilizationPercent:yr(n.limit.amount,n.available.amount),cardUtilizationAmount:oe(br(n)),totalNumberOfDeclinedTransactions:m.statistics.totalNumberOfDeclinedTransactions,numberOfDeclinedTransactionsCurrentMonth:m.statistics.numberOfDeclinedTransactionsCurrentMonth,totalNumberOfPaidTransactions:m.statistics.totalNumberOfPaidTransactions,numberOfPaidTransactionsCurrentMonth:m.statistics.numberOfPaidTransactionsCurrentMonth,totalNumberOfCanceledTransactions:m.statistics.totalNumberOfCanceledTransactions,numberOfCanceledTransactionsCurrentMonth:m.statistics.numberOfCanceledTransactionsCurrentMonth,totalNumberOfAuthorizedTransactions:m.statistics.totalNumberOfAuthorizedTransactions,numberOfAuthorizedTransactionsCurrentMonth:m.statistics.numberOfAuthorizedTransactionsCurrentMonth,totalNumberOfTransactionsWithReceipts:m.statistics.totalNumberOfTransactionsWithReceipts,numberOfTransactionsWithReceiptsCurrentMonth:m.statistics.numberOfTransactionsWithReceiptsCurrentMonth},{cardIssuedByName:Pe(n.cardCreatedByUser,!1),cardIssuedByEmail:n.cardCreatedByUser?.email,cardIssuedByUserId:n.cardCreatedByUser?.userId,cardIssuedByRole:V,cardIssuedByDepartment:G},{cardholderName:Pe(n.cardHolderUser,!1),cardholderEmail:n.cardHolderUser?.email,cardholderRole:O,cardholderUserId:n.cardHolderUser?.userId,cardholderDepartment:Z},{cardLimitUpdatedByName:jr(T),cardLimitUpdatedByEmail:T.userEmail,cardLimitUpdatedByRole:N,cardLimitUpdatedByUserId:T.userId},Y,oe(H.amount),j,u!=null?j.includes(u):!1,u,l,b)},ce={width:new d(343,500,500),largeLabelWidth:new d(108,108,108),popupLeftRightPadding:new d(y[5],y[6]),popupTopBottomPadding:new d(y[5],y[5])},Fr=i.div`
52
+ `,ee="spendLimit",J=U.getLocalizedStrings().spendManagement.chargeCard.updateSpendLimitPopup,{dateFormat:ye}=U.getLocalizedStrings();function Si({controllerEmails:e,isChargeCardFeatureEnabled:h,isDebitCardFeatureEnabled:c,isDebitCardSetupEnabled:p,isChargeCardSetupEnabled:l,cardDetail:y,transactionStatistics:n,depositAccountLimitFetchState:m,creditAccount:A,creditAccountRepayment:I,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:B,currentSpentAmount:H,productInformation:j,creditAccountInformation:W,debitAccountInformation:V,maxLimitAmount:O,isDisabled:G,updateLimitFetchState:Z,recommendations:N,cardIssuedByRoles:Y,cardHolderRoles:u,loggedInUserRole:E,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,onCancelClick:s,onSubmitClick:g}){const x=xr().analytics,f=he(),se="SpendLimitForm",ar=wr();Cr(ar.loggedInUserRoleMap);const te=me({mode:"onBlur",reValidateMode:"onBlur",defaultValues:{[ee]:void 0}}),{control:sr,formState:{errors:nr}}=te,[dr,lr]=ae.useState(void 0),ne=$r({control:sr,name:ee}),Ce=y?.type.code.includes("physical")===!0?y.cardActivationAttemptHistory[0]?.timestamp:y?.createTime,ze=(y?.recommendations??[]).map(w=>w.creditLimit.amount),cr=()=>{y!=null&&Le({analytics:x,controllerEmails:e,isChargeCardFeatureEnabled:h,cardDetail:y,transactionStatistics:n,depositAccountLimitFetchState:m,creditAccount:A,creditAccountRepayment:I,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:B,recommendedLimitAmounts:ze,cardActivationDate:Ce,cardIssuedByRoles:Y,cardHolderRoles:u,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,loggedInUserRole:E,clickItem:"Cancel",newSpendLimitAmount:ne,productInformation:j,creditAccountInformation:W,debitAccountInformation:V}),s()},pr=te.handleSubmit(()=>{const w=te.getValues(ee);w!=null&&(Le({analytics:x,controllerEmails:e,isChargeCardFeatureEnabled:h,cardDetail:y,transactionStatistics:n,depositAccountLimitFetchState:m,creditAccount:A,creditAccountRepayment:I,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:B,recommendedLimitAmounts:ze,cardActivationDate:Ce,cardIssuedByRoles:Y,cardHolderRoles:u,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,loggedInUserRole:E,productInformation:j,creditAccountInformation:W,debitAccountInformation:V,clickItem:"Update",newSpendLimitAmount:w}),g(w))}),hr=w=>{te.setValue(ee,w,{shouldValidate:!0})},ke=ue(nr,ee),$e=U.getLocalizedStrings().common,mr=ce.largeLabelWidth.value(f);ae.useEffect(()=>{lr(Er(H,O,ne))},[ne,H,O]);const ur=(w,ie)=>t.jsxs(Wr,{isSelected:ne===w.amount,onClick:()=>hr(w.amount),"data-testid":de("quick-amount-button",ie.toString()),children:[ie===1&&t.jsx(Vr,{}),re("0,0.[00]",w)]},ie);return t.jsx(Fr,{windowSize:f,role:"presentation","data-testid":de("update-spend-limit-popup"),children:t.jsx(Ge,{onClickAway:()=>s(),children:t.jsxs(Rr,{windowSize:f,children:[t.jsx(ge,{...te,children:t.jsxs(Yr,{id:se,onSubmit:w=>{w.preventDefault(),pr()},children:[t.jsx(Ar,{windowSize:f,children:J.heading}),t.jsxs(Or,{windowSize:f,children:[J.currentLimit,$e.strings.space," ",re("0,0.[00]",B),J.slashMonth]}),t.jsxs(Hr,{hasError:ke,children:[t.jsx(fr,{label:{label:J.newLimit,width:mr},showAdditionalInfoLabel:ke,additionalInfoLabel:dr,formattedTextField:{type:"number",name:ee,defaultValue:void 0,placeholder:J.placeholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:w=>!!w&&w>0&&w>H.amount&&(O!=null?w<=O.amount:!0)},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},style:{width:"auto"},showOutlineOnFocus:!1}),N?.length?t.jsx(Ur,{windowSize:f,children:N?.map((w,ie)=>ur(w.creditLimit,ie))}):null]})]})}),t.jsx(Br,{children:t.jsxs(_r,{children:[t.jsx(pe,{label:$e.cancel,onClick:cr,style:{width:84},"data-testid":de("update-spend-limit-cancel-button")}),t.jsx(Mr,{}),t.jsx(pe,{variant:"primary",label:$e.texts.update,style:{width:84,whiteSpace:"nowrap"},loading:Z==="In-Progress",type:"submit",form:se,"data-testid":de("update-spend-limit-submit-button"),disabled:G})]})})]})})})}const Er=(e,h,c)=>{if(c!=null){if(c<=e.amount)return J.amountBelowError.replace("_amount_",re("0,0.[00]",e));if(h!=null&&c>h.amount)return J.amountExceedError.replace("_amount_",re("0,0.[00]",h))}},Le=({analytics:e,controllerEmails:h,isChargeCardFeatureEnabled:c,productInformation:p,creditAccountInformation:l,debitAccountInformation:y,cardDetail:n,transactionStatistics:m,depositAccountLimitFetchState:A,creditAccount:I,creditAccountRepayment:o,signedInUser:T,isDebitCard:$,classListFetchState:B,currentLimitAmount:H,recommendedLimitAmounts:j,cardActivationDate:W,cardIssuedByRoles:V,cardHolderRoles:O,cardIssuedByDepartmentName:G,cardHolderDepartmentName:Z,loggedInUserRole:N,clickItem:Y,newSpendLimitAmount:u})=>{n!=null&&B==="Completed"&&m!=null&&m.fetchState==="Completed"&&(!c||I.fetchState==="Completed"&&o.fetchState==="Completed")&&(!$||A==="Completed")&&e.trackCardsUpdateSpendLimitClick(h,p,{cardId:n.id,cardName:n.cardName,cardType:vr(n.type.code),cardCategory:n.type.code.includes("physical")?"physical":"virtual",cardLimit:oe(n.limit.amount),cardLastFourDigits:n.accountLast4,cardStatus:n.status.code,cardAssignedDate:n.createTime?.format(ye.analytics.MMMDashDDDashYYYYFormat),cardIssuedDate:n.providerCardCreateTime?.format(ye.analytics.MMMDashDDDashYYYYFormat),cardActivatedDate:W?.format(ye.analytics.MMMDashDDDashYYYYFormat),cardLimitFrequency:n.creditLimitFrequency.name,cardSpentAmount:oe(n.balance.amount),cardAvailableLimit:oe(n.available.amount),cardUtilizationPercent:br(n.limit.amount,n.available.amount),cardUtilizationAmount:oe(yr(n)),totalNumberOfDeclinedTransactions:m.statistics.totalNumberOfDeclinedTransactions,numberOfDeclinedTransactionsCurrentMonth:m.statistics.numberOfDeclinedTransactionsCurrentMonth,totalNumberOfPaidTransactions:m.statistics.totalNumberOfPaidTransactions,numberOfPaidTransactionsCurrentMonth:m.statistics.numberOfPaidTransactionsCurrentMonth,totalNumberOfCanceledTransactions:m.statistics.totalNumberOfCanceledTransactions,numberOfCanceledTransactionsCurrentMonth:m.statistics.numberOfCanceledTransactionsCurrentMonth,totalNumberOfAuthorizedTransactions:m.statistics.totalNumberOfAuthorizedTransactions,numberOfAuthorizedTransactionsCurrentMonth:m.statistics.numberOfAuthorizedTransactionsCurrentMonth,totalNumberOfTransactionsWithReceipts:m.statistics.totalNumberOfTransactionsWithReceipts,numberOfTransactionsWithReceiptsCurrentMonth:m.statistics.numberOfTransactionsWithReceiptsCurrentMonth},{cardIssuedByName:Pe(n.cardCreatedByUser,!1),cardIssuedByEmail:n.cardCreatedByUser?.email,cardIssuedByUserId:n.cardCreatedByUser?.userId,cardIssuedByRole:V,cardIssuedByDepartment:G},{cardholderName:Pe(n.cardHolderUser,!1),cardholderEmail:n.cardHolderUser?.email,cardholderRole:O,cardholderUserId:n.cardHolderUser?.userId,cardholderDepartment:Z},{cardLimitUpdatedByName:jr(T),cardLimitUpdatedByEmail:T.userEmail,cardLimitUpdatedByRole:N,cardLimitUpdatedByUserId:T.userId},Y,oe(H.amount),j,u!=null?j.includes(u):!1,u,l,y)},ce={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])},Fr=i.div`
53
53
  position: fixed;
54
54
  top: ${r.sp0};
55
55
  left: ${r.sp0};
@@ -127,7 +127,7 @@ import{J as he,g as Me,a9 as me,y as d,c_ as ue,V as t,fb as Be,ac as ge,ap as H
127
127
  height: ${r.sp3};
128
128
  `,Yr=i.form`
129
129
  display: contents;
130
- `,P={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),largeLabelWidth:new d(120,120,200),webkitLineClamp:new d(2,1,1,1,1),overlayWidth:new d(100,100,58),cardHolderDetailsPaddingX:new d(y[3],y[4]),cardNameSectionMarginLeft:new d(y[7],0),cardHolderDetailsGap:new d(y[1],0),recurringExpenseMerchantWidth:new d(112,240),recurringExpenseNextPaymentDateWidth:new d(112,104),recurringExpenseAmountWidth:new d(100,312),reasonTextFieldMarginTop:new d(y[3],0)},{common:S,closeCard:_}=U.getLocalizedStrings().spendManagement.chargeCard,z="reasonSection",Te="closeCardPage",F=(e,h)=>`${e}.${h}`,De=e=>`${e}_form`,{common:ye,dateFormat:qr,cockpit:Xr}=U.getLocalizedStrings(),Ci=({showCloseCardDrawer:e,onCloseCloseCardDrawer:h,isChargeCardAdmin:c,chargeCardsByCardId:p,cardRecurringExpensesByCardId:l,cardRecurringExpenseFetchState:b,closeCardFetchState:n,onRemoveCardClick:m,onConfirmClick:A,onDismissClick:I})=>{const o=he(),T=Me(),[$,B]=ae.useState(Object.fromEntries(Object.keys(l).map((a,s)=>[a,s===0]))),H=a=>{B(s=>s[a]?{...s,[a]:!1}:{...Object.fromEntries(Object.keys(s).map(g=>[g,!1])),[a]:!0})},j=me({mode:"all",reValidateMode:"onBlur",defaultValues:{[z]:{reason:void 0,reasonType:void 0}},values:{[z]:{reason:void 0,reasonType:void 0}}}),W=P.largeLabelWidth.value(o),{isValid:V,errors:O}=j.formState,G=a=>`${p[a].cardHolderUser?.firstName??""} ${p[a].cardHolderUser?.lastName??""}`,Z=ue(O,F(z,"reasonType")),N=j.watch("reasonSection.reasonType"),Y=j.handleSubmit(()=>{if(V){const a=j.getValues(),s={reason:a[z].reason,reasonType:a[z].reasonType};A(s)}}),u=Object.keys(l).length>1,E=Object.keys(l).length,D=Object.values(l).reduce((a,s)=>a+s.length,0);return t.jsx(Be,{anchor:"right",open:e,onClose:h,PaperProps:{style:{width:P.overlayWidth.valuePercentage(o),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:T.colors.black,opacity:.75,cursor:"pointer"}}},transitionDuration:250,children:t.jsxs(Kr,{windowSize:o,children:[t.jsxs(Gr,{windowSize:o,children:[t.jsx(Zr,{windowSize:o,children:t.jsx(Qr,{onClick:()=>{I()}})}),o==="small"?t.jsx(nt,{windowSize:o,children:u?_.closeCards:_.closeCard}):t.jsx(dt,{children:u?_.closeCards:_.closeCard}),b==="Completed"?t.jsx(ge,{...j,children:t.jsxs("form",{id:De(Te),onSubmit:Y,children:[t.jsxs(lt,{children:[t.jsx(ct,{windowSize:o,children:u?D>0?`${_.multipleCardsHasRecurringExpenses.replace("_number_of_cards_",E.toString()).replace("_number_of_recurring_expenses_",D.toString())} ${D===1?S.expense:S.expenses} ${_.multipleCardsHasRecurringExpensesSuffix}`:_.multipleCardsNoRecurringExpenses.replace("_number_of_cards_",E.toString()):_.firstCardHasRecurringExpenses.replace("_number_of_recurring_expenses_",D.toString()).replace("_expense_",D===1?S.expense:S.expenses)}),u&&t.jsx(Pt,{children:`${E} ${E===1?S.card:S.cards} ${S.selected}`}),Object.keys(l).map((a,s)=>{const g=l[a].length>0;return t.jsxs(pt,{onClick:()=>g?H(a):void 0,isMoreThanOneCard:u,isLastCard:s===Object.keys(l).length-1,children:[t.jsxs(mt,{windowSize:o,children:[t.jsxs(ut,{windowSize:o,children:[t.jsxs(gt,{windowSize:o,children:[p[a].cardHolderUser?.photo!==void 0?t.jsx(et,{src:p[a].cardHolderUser?.photo.href,alt:Xr.userProfileAltText,onError:({currentTarget:x})=>{x.onerror=null,x.src=He},loading:"lazy"}):t.jsx(Ue,{firstName:p[a].cardHolderUser?.firstName??"",lastName:p[a].cardHolderUser?.lastName??"",size:r.sp6}),t.jsxs("div",{children:[t.jsx(ht,{children:G(a)}),t.jsx(xt,{children:t.jsx(ir,{roles:p[a].cardHolderRoles.userRoles})})]})]}),o==="small"&&g&&($[a]?t.jsx(Ne,{}):t.jsx(Ee,{}))]}),t.jsxs(wt,{windowSize:o,children:[p[a].cardName,t.jsx(or,{cardDetail:p[a],forDetailPage:!0,styles:{...We.smallRegular.cssObject,position:"relative",top:"-5px"}})]}),t.jsxs($t,{windowSize:o,children:[t.jsxs(Ct,{children:[t.jsx(zt,{children:l[a].length}),t.jsx(St,{children:S.recurringExpenses})]}),o!=="small"&&g&&($[a]?t.jsx(Ne,{}):t.jsx(Ee,{}))]})]}),u&&t.jsx(it,{children:t.jsx(Ve,{variant:"standard",title:ye.remove,children:t.jsx(tt,{onClick:()=>m(a)})})}),$[a]&&g&&t.jsxs(t.Fragment,{children:[t.jsx(Ie,{}),t.jsxs(ft,{children:[t.jsxs(kt,{children:[t.jsx(je,{width:o==="small"?112:240,children:S.merchant}),t.jsx(je,{width:o==="small"?112:104,children:S.nextPaymentDate}),t.jsx(Lt,{width:o==="small"?100:312,children:S.amount})]}),l[a].map((x,f)=>t.jsxs("div",{children:[f>0&&t.jsx(Ie,{}),t.jsxs(bt,{children:[t.jsxs(yt,{windowSize:o,children:[t.jsx(ot,{src:x.merchant.logo?.url?.href}),t.jsx(rt,{windowSize:o,children:x.merchant.brandName??x.merchant.name})]}),t.jsx(vt,{windowSize:o,children:x.nextPaymentDate.format(qr.visual.MMMDCommaYYYYformat)}),t.jsx(jt,{windowSize:o,children:re("0,0.00",x.amount)})]},x.merchant.name)]},x.merchant.name))]})]})]},a)})]}),t.jsx(Dt,{windowSize:o,children:S.letUsKnowWhy}),t.jsxs(Tt,{isReasonTextFieldVisible:N==="other",children:[t.jsxs(at,{size:o,children:[t.jsx(Ye,{label:S.reasonLabel,htmlFor:F(z,"reasonType"),style:{padding:`${r.sp2} ${r.sp0}`,width:"fit-content"}}),t.jsxs(st,{labelWidth:W,size:o,children:[t.jsx(q,{label:{label:S.reason.lost},style:{width:"auto"},radioField:{name:F(z,"reasonType"),id:`${F(z,"reasonType")}.Lost or stolen`,value:"Lost or stolen",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}}),t.jsx(q,{label:{label:S.reason.fraud},style:{width:"auto"},radioField:{name:F(z,"reasonType"),id:`${F(z,"reasonType")}.Fraud detected`,value:"Fraud detected",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}}),t.jsx(q,{label:{label:S.reason.not_needed},style:{width:"auto"},radioField:{name:F(z,"reasonType"),id:`${F(z,"reasonType")}.Not needed`,value:"Not needed",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}}),t.jsx(q,{label:{label:S.reason.other},style:{width:"auto"},radioField:{name:F(z,"reasonType"),id:`${F(z,"reasonType")}.other`,value:"other",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}})]})]}),N==="other"?t.jsx(qe,{style:{height:r.sp6,width:"100%",backgroundColor:T.colors.background,marginTop:`${P.reasonTextFieldMarginTop.valuePx(o)}`},type:"text",name:F(z,"reason"),placeholder:_.reasonPlaceholder,className:"reason-text-field",registerOptions:{required:!c,validate:a=>c?!0:!!a}}):N==null&&!c&&Z?t.jsx(Jr,{children:_.youNeedToProvideReasonToCloseCard}):null]})]})}):t.jsx(Xe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),b==="Completed"&&t.jsx(Ke,{style:{zIndex:4,paddingTop:r.sp3,paddingBottom:r.sp3},formId:De(Te),helperStyle:{paddingTop:r.sp0,paddingBottom:r.sp0},primaryBtn:{label:ye.confirm,isLoading:n==="In-Progress",variant:"danger"},cancelBtn:{label:ye.cancel,style:{width:"90px"},onClick:()=>{I?.()}}})]})})},Kr=i.div`
130
+ `,P={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),largeLabelWidth:new d(120,120,200),webkitLineClamp:new d(2,1,1,1,1),overlayWidth:new d(100,100,58),cardHolderDetailsPaddingX:new d(b[3],b[4]),cardNameSectionMarginLeft:new d(b[7],0),cardHolderDetailsGap:new d(b[1],0),recurringExpenseMerchantWidth:new d(112,240),recurringExpenseNextPaymentDateWidth:new d(112,104),recurringExpenseAmountWidth:new d(100,312),reasonTextFieldMarginTop:new d(b[3],0)},{common:S,closeCard:_}=U.getLocalizedStrings().spendManagement.chargeCard,z="reasonSection",Te="closeCardPage",F=(e,h)=>`${e}.${h}`,De=e=>`${e}_form`,{common:be,dateFormat:qr,cockpit:Xr}=U.getLocalizedStrings(),Ci=({showCloseCardDrawer:e,onCloseCloseCardDrawer:h,isChargeCardAdmin:c,chargeCardsByCardId:p,cardRecurringExpensesByCardId:l,cardRecurringExpenseFetchState:y,closeCardFetchState:n,onRemoveCardClick:m,onConfirmClick:A,onDismissClick:I})=>{const o=he(),T=Me(),[$,B]=ae.useState(Object.fromEntries(Object.keys(l).map((a,s)=>[a,s===0]))),H=a=>{B(s=>s[a]?{...s,[a]:!1}:{...Object.fromEntries(Object.keys(s).map(g=>[g,!1])),[a]:!0})},j=me({mode:"all",reValidateMode:"onBlur",defaultValues:{[z]:{reason:void 0,reasonType:void 0}},values:{[z]:{reason:void 0,reasonType:void 0}}}),W=P.largeLabelWidth.value(o),{isValid:V,errors:O}=j.formState,G=a=>`${p[a].cardHolderUser?.firstName??""} ${p[a].cardHolderUser?.lastName??""}`,Z=ue(O,F(z,"reasonType")),N=j.watch("reasonSection.reasonType"),Y=j.handleSubmit(()=>{if(V){const a=j.getValues(),s={reason:a[z].reason,reasonType:a[z].reasonType};A(s)}}),u=Object.keys(l).length>1,E=Object.keys(l).length,D=Object.values(l).reduce((a,s)=>a+s.length,0);return t.jsx(Be,{anchor:"right",open:e,onClose:h,PaperProps:{style:{width:P.overlayWidth.valuePercentage(o),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:T.colors.black,opacity:.75,cursor:"pointer"}}},transitionDuration:250,children:t.jsxs(Kr,{windowSize:o,children:[t.jsxs(Gr,{windowSize:o,children:[t.jsx(Zr,{windowSize:o,children:t.jsx(Qr,{onClick:()=>{I()}})}),o==="small"?t.jsx(nt,{windowSize:o,children:u?_.closeCards:_.closeCard}):t.jsx(dt,{children:u?_.closeCards:_.closeCard}),y==="Completed"?t.jsx(ge,{...j,children:t.jsxs("form",{id:De(Te),onSubmit:Y,children:[t.jsxs(lt,{children:[t.jsx(ct,{windowSize:o,children:u?D>0?`${_.multipleCardsHasRecurringExpenses.replace("_number_of_cards_",E.toString()).replace("_number_of_recurring_expenses_",D.toString())} ${D===1?S.expense:S.expenses} ${_.multipleCardsHasRecurringExpensesSuffix}`:_.multipleCardsNoRecurringExpenses.replace("_number_of_cards_",E.toString()):_.firstCardHasRecurringExpenses.replace("_number_of_recurring_expenses_",D.toString()).replace("_expense_",D===1?S.expense:S.expenses)}),u&&t.jsx(Pt,{children:`${E} ${E===1?S.card:S.cards} ${S.selected}`}),Object.keys(l).map((a,s)=>{const g=l[a].length>0;return t.jsxs(pt,{onClick:()=>g?H(a):void 0,isMoreThanOneCard:u,isLastCard:s===Object.keys(l).length-1,children:[t.jsxs(mt,{windowSize:o,children:[t.jsxs(ut,{windowSize:o,children:[t.jsxs(gt,{windowSize:o,children:[p[a].cardHolderUser?.photo!==void 0?t.jsx(et,{src:p[a].cardHolderUser?.photo.href,alt:Xr.userProfileAltText,onError:({currentTarget:x})=>{x.onerror=null,x.src=He},loading:"lazy"}):t.jsx(Ue,{firstName:p[a].cardHolderUser?.firstName??"",lastName:p[a].cardHolderUser?.lastName??"",size:r.sp6}),t.jsxs("div",{children:[t.jsx(ht,{children:G(a)}),t.jsx(xt,{children:t.jsx(ir,{roles:p[a].cardHolderRoles.userRoles})})]})]}),o==="small"&&g&&($[a]?t.jsx(Ne,{}):t.jsx(Ee,{}))]}),t.jsxs(wt,{windowSize:o,children:[p[a].cardName,t.jsx(or,{cardDetail:p[a],forDetailPage:!0,styles:{...We.smallRegular.cssObject,position:"relative",top:"-5px"}})]}),t.jsxs($t,{windowSize:o,children:[t.jsxs(Ct,{children:[t.jsx(zt,{children:l[a].length}),t.jsx(St,{children:S.recurringExpenses})]}),o!=="small"&&g&&($[a]?t.jsx(Ne,{}):t.jsx(Ee,{}))]})]}),u&&t.jsx(it,{children:t.jsx(Ve,{variant:"standard",title:be.remove,children:t.jsx(tt,{onClick:()=>m(a)})})}),$[a]&&g&&t.jsxs(t.Fragment,{children:[t.jsx(Ie,{}),t.jsxs(ft,{children:[t.jsxs(kt,{children:[t.jsx(je,{width:o==="small"?112:240,children:S.merchant}),t.jsx(je,{width:o==="small"?112:104,children:S.nextPaymentDate}),t.jsx(Lt,{width:o==="small"?100:312,children:S.amount})]}),l[a].map((x,f)=>t.jsxs("div",{children:[f>0&&t.jsx(Ie,{}),t.jsxs(yt,{children:[t.jsxs(bt,{windowSize:o,children:[t.jsx(ot,{src:x.merchant.logo?.url?.href}),t.jsx(rt,{windowSize:o,children:x.merchant.brandName??x.merchant.name})]}),t.jsx(vt,{windowSize:o,children:x.nextPaymentDate.format(qr.visual.MMMDCommaYYYYformat)}),t.jsx(jt,{windowSize:o,children:re("0,0.00",x.amount)})]},x.merchant.name)]},x.merchant.name))]})]})]},a)})]}),t.jsx(Dt,{windowSize:o,children:S.letUsKnowWhy}),t.jsxs(Tt,{isReasonTextFieldVisible:N==="other",children:[t.jsxs(at,{size:o,children:[t.jsx(Ye,{label:S.reasonLabel,htmlFor:F(z,"reasonType"),style:{padding:`${r.sp2} ${r.sp0}`,width:"fit-content"}}),t.jsxs(st,{labelWidth:W,size:o,children:[t.jsx(q,{label:{label:S.reason.lost},style:{width:"auto"},radioField:{name:F(z,"reasonType"),id:`${F(z,"reasonType")}.Lost or stolen`,value:"Lost or stolen",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}}),t.jsx(q,{label:{label:S.reason.fraud},style:{width:"auto"},radioField:{name:F(z,"reasonType"),id:`${F(z,"reasonType")}.Fraud detected`,value:"Fraud detected",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}}),t.jsx(q,{label:{label:S.reason.not_needed},style:{width:"auto"},radioField:{name:F(z,"reasonType"),id:`${F(z,"reasonType")}.Not needed`,value:"Not needed",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}}),t.jsx(q,{label:{label:S.reason.other},style:{width:"auto"},radioField:{name:F(z,"reasonType"),id:`${F(z,"reasonType")}.other`,value:"other",style:{height:r.sp3,width:r.sp3},registerOptions:{required:!c,validate:a=>c?!0:!!a},radioSize:"small"}})]})]}),N==="other"?t.jsx(qe,{style:{height:r.sp6,width:"100%",backgroundColor:T.colors.background,marginTop:`${P.reasonTextFieldMarginTop.valuePx(o)}`},type:"text",name:F(z,"reason"),placeholder:_.reasonPlaceholder,className:"reason-text-field",registerOptions:{required:!c,validate:a=>c?!0:!!a}}):N==null&&!c&&Z?t.jsx(Jr,{children:_.youNeedToProvideReasonToCloseCard}):null]})]})}):t.jsx(Xe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),y==="Completed"&&t.jsx(Ke,{style:{zIndex:4,paddingTop:r.sp3,paddingBottom:r.sp3},formId:De(Te),helperStyle:{paddingTop:r.sp0,paddingBottom:r.sp0},primaryBtn:{label:be.confirm,isLoading:n==="In-Progress",variant:"danger"},cancelBtn:{label:be.cancel,style:{width:"90px"},onClick:()=>{I?.()}}})]})})},Kr=i.div`
131
131
  display: flex;
132
132
  flex-direction: column;
133
133
  background-color: ${e=>e.theme.colors.grey4};
@@ -298,7 +298,7 @@ import{J as he,g as Me,a9 as me,y as d,c_ as ue,V as t,fb as Be,ac as ge,ap as H
298
298
  `,ft=i.div`
299
299
  margin: ${r.sp3} ${r.sp4} ${r.sp0} ${r.sp4};
300
300
  padding-bottom: ${r.sp2};
301
- `,bt=i.div`
301
+ `,yt=i.div`
302
302
  display: flex;
303
303
  justify-content: space-between;
304
304
  margin: ${r.sp2} ${r.sp0};
@@ -307,7 +307,7 @@ import{J as he,g as Me,a9 as me,y as d,c_ as ue,V as t,fb as Be,ac as ge,ap as H
307
307
  min-height: 1px;
308
308
  max-height: 1px;
309
309
  width: 100%;
310
- `,yt=i(v)`
310
+ `,bt=i(v)`
311
311
  width: ${e=>`${P.recurringExpenseMerchantWidth.valuePx(e.windowSize)}`};
312
312
  text-align: left;
313
313
  color: inherit;
@@ -374,7 +374,7 @@ import{J as he,g as Me,a9 as me,y as d,c_ as ue,V as t,fb as Be,ac as ge,ap as H
374
374
  margin-bottom: ${r.sp3};
375
375
  margin-top: ${r.sp7};
376
376
  color: ${e=>e.theme.colors.primary};
377
- `,L={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),largeLabelWidth:new d(120,120,200),webkitLineClamp:new d(2,1,1,1,1),overlayWidth:new d(100,100,58),cardHolderDetailsPaddingX:new d(y[3],y[4]),cardNameSectionMarginLeft:new d(y[7],0),cardHolderDetailsGap:new d(y[1],0),recurringExpenseMerchantWidth:new d(112,240),recurringExpenseNextPaymentDateWidth:new d(112,104),recurringExpenseAmountWidth:new d(100,312),reasonTextFieldMarginTop:new d(y[3],0)},{lockCard:M,common:C}=U.getLocalizedStrings().spendManagement.chargeCard,k="reasonSection",Fe="lockCardPage",R=(e,h)=>`${e}.${h}`,Re=e=>`${e}_form`,{common:ve,dateFormat:It,cockpit:Nt}=U.getLocalizedStrings(),zi=({showLockCardDrawer:e,onCloseLockCardDrawer:h,isChargeCardAdmin:c,chargeCardsByCardId:p,cardRecurringExpensesByCardId:l,cardRecurringExpenseFetchState:b,lockCardFetchState:n,onRemoveCardClick:m,onConfirmClick:A,onDismissClick:I})=>{const o=he(),T=Me(),[$,B]=ae.useState(Object.fromEntries(Object.keys(l).map((s,g)=>[s,g===0]))),H=s=>{B(g=>g[s]?{...g,[s]:!1}:{...Object.fromEntries(Object.keys(g).map(x=>[x,!1])),[s]:!0})},j=me({mode:"all",reValidateMode:"onBlur",defaultValues:{[k]:{reason:void 0,reasonType:void 0}},values:{[k]:{reason:void 0,reasonType:void 0}}}),W=L.largeLabelWidth.value(o),{isValid:V,errors:O}=j.formState,G=s=>`${p[s].cardHolderUser?.firstName??""} ${p[s].cardHolderUser?.lastName??""}`,Z=ue(O,R(k,"reasonType")),N=j.watch("reasonSection.reasonType"),Y=j.handleSubmit(()=>{if(V){const s=j.getValues(),g={reason:s[k].reason,reasonType:s[k].reasonType};A(g)}}),u=Object.keys(l).length>1,E=Object.keys(l).length,D=Object.values(l).reduce((s,g)=>s+g.length,0),a=l[Object.keys(l)[0]].length>0;return t.jsx(Be,{anchor:"right",open:e,onClose:h,PaperProps:{style:{width:L.overlayWidth.valuePercentage(o),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:T.colors.black,opacity:.75,cursor:"pointer"}}},transitionDuration:250,children:t.jsxs(Et,{windowSize:o,children:[t.jsxs(Ft,{windowSize:o,children:[t.jsx(Ot,{windowSize:o,children:t.jsx(Mt,{onClick:()=>{I()}})}),o==="small"?t.jsx(qt,{windowSize:o,children:u?M.lockCards:M.lockCard}):t.jsx(Xt,{children:u?M.lockCards:M.lockCard}),b==="Completed"?t.jsx(ge,{...j,children:t.jsxs("form",{id:Re(Fe),onSubmit:Y,children:[t.jsxs(Kt,{children:[t.jsx(Gt,{windowSize:o,children:u?D>0?`${M.multipleCardsHasRecurringExpenses.replace("_number_of_cards_",E.toString()).replace("_number_of_recurring_expenses_",D.toString())} ${D===1?C.expense:C.expenses}.`:M.multipleCardsNoRecurringExpenses.replace("_number_of_cards_",E.toString()):a?M.firstCardHasRecurringExpenses.replace("_number_of_recurring_expenses_",D.toString()).replace("_expense_",D===1?C.expense:C.expenses):M.firstCardNoRecurringExpenses}),u&&t.jsx(mi,{children:`${E} ${E===1?C.card:C.cards} ${C.selected}`}),Object.keys(l).map((s,g)=>{const x=l[s].length>0;return t.jsxs(Zt,{onClick:()=>x?H(s):void 0,isMoreThanOneCard:u,isLastCard:g===Object.keys(l).length-1,children:[t.jsxs(Qt,{windowSize:o,children:[t.jsxs(At,{windowSize:o,children:[t.jsxs(ei,{windowSize:o,children:[p[s].cardHolderUser?.photo!==void 0?t.jsx(Bt,{src:p[s].cardHolderUser?.photo.href,alt:Nt.userProfileAltText,onError:({currentTarget:f})=>{f.onerror=null,f.src=He},loading:"lazy"}):t.jsx(Ue,{firstName:p[s].cardHolderUser?.firstName??"",lastName:p[s].cardHolderUser?.lastName??"",size:r.sp6}),t.jsxs("div",{children:[t.jsx(Jt,{children:G(s)}),t.jsx(ri,{children:t.jsx(ir,{roles:p[s].cardHolderRoles.userRoles})})]})]}),o==="small"&&x&&($[s]?t.jsx(Oe,{}):t.jsx(_e,{}))]}),t.jsxs(ti,{windowSize:o,children:[p[s].cardName,t.jsx(or,{cardDetail:p[s],forDetailPage:!0,styles:{...We.smallRegular.cssObject,position:"relative",top:"-5px"}})]}),t.jsxs(ii,{windowSize:o,children:[t.jsxs(li,{children:[t.jsx(pi,{children:l[s].length}),t.jsx(ci,{children:C.recurringExpenses})]}),o!=="small"&&x&&($[s]?t.jsx(Oe,{}):t.jsx(_e,{}))]})]}),u&&t.jsx(Rt,{children:t.jsx(Ve,{variant:"standard",title:ve.remove,children:t.jsx(Ut,{onClick:()=>m(s)})})}),$[s]&&x&&t.jsxs(t.Fragment,{children:[t.jsx(Ae,{}),t.jsxs(oi,{children:[t.jsxs(hi,{children:[t.jsx(Se,{width:o==="small"?112:240,children:C.merchant}),t.jsx(Se,{width:o==="small"?112:104,children:C.nextPaymentDate}),t.jsx(ui,{width:o==="small"?100:312,children:C.amount})]}),l[s].map((f,se)=>t.jsxs("div",{children:[se>0&&t.jsx(Ae,{}),t.jsxs(ai,{children:[t.jsxs(si,{windowSize:o,children:[t.jsx(Wt,{src:f.merchant.logo?.url?.href}),t.jsx(Ht,{windowSize:o,children:f.merchant.brandName??f.merchant.name})]}),t.jsx(ni,{windowSize:o,children:f.nextPaymentDate.format(It.visual.MMMDCommaYYYYformat)}),t.jsx(di,{windowSize:o,children:re("0,0.00",f.amount)})]},f.merchant.name)]},f.merchant.name))]})]})]},s)})]}),t.jsx(xi,{windowSize:o,children:C.letUsKnowWhy}),t.jsxs(gi,{isReasonTextFieldVisible:N==="other",children:[t.jsxs(Vt,{size:o,children:[t.jsx(Ye,{label:C.reasonLabel,htmlFor:R(k,"reasonType"),style:{padding:`${r.sp2} ${r.sp0}`,width:"fit-content"}}),t.jsxs(Yt,{labelWidth:W,size:o,children:[t.jsx(q,{label:{label:C.reason.lost},style:{width:"auto"},radioField:{name:R(k,"reasonType"),id:`${R(k,"reasonType")}.Lost or stolen`,value:"Lost or stolen",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(q,{label:{label:C.reason.fraud},style:{width:"auto"},radioField:{name:R(k,"reasonType"),id:`${R(k,"reasonType")}.Fraud detected`,value:"Fraud detected",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(q,{label:{label:C.reason.not_needed},style:{width:"auto"},radioField:{name:R(k,"reasonType"),id:`${R(k,"reasonType")}.Not needed`,value:"Not needed",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(q,{label:{label:C.reason.other},style:{width:"auto"},radioField:{name:R(k,"reasonType"),id:`${R(k,"reasonType")}.other`,value:"other",style:{height:r.sp3,width:r.sp3},radioSize:"small"}})]})]}),N==="other"?t.jsx(qe,{style:{height:r.sp6,width:"100%",backgroundColor:T.colors.background,marginTop:`${L.reasonTextFieldMarginTop.valuePx(o)}`},type:"text",name:R(k,"reason"),placeholder:M.reasonPlaceholder,className:"reason-text-field"}):N==null&&!c&&Z?t.jsx(_t,{children:M.youNeedToProvideReasonToLockCard}):null]})]})}):t.jsx(Xe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),b==="Completed"&&t.jsx(Ke,{style:{zIndex:4,paddingTop:r.sp3,paddingBottom:r.sp3},formId:Re(Fe),helperStyle:{paddingTop:r.sp0,paddingBottom:r.sp0},primaryBtn:{label:ve.confirm,isLoading:n==="In-Progress"},cancelBtn:{label:ve.cancel,style:{width:"90px"},onClick:()=>{I?.()}}})]})})},Et=i.div`
377
+ `,L={navBarContainerPaddingXaxis:new d(10,19),containerPaddingLeft:new d(16,40,56),containerPaddingRight:new d(16,40,56),largeLabelWidth:new d(120,120,200),webkitLineClamp:new d(2,1,1,1,1),overlayWidth:new d(100,100,58),cardHolderDetailsPaddingX:new d(b[3],b[4]),cardNameSectionMarginLeft:new d(b[7],0),cardHolderDetailsGap:new d(b[1],0),recurringExpenseMerchantWidth:new d(112,240),recurringExpenseNextPaymentDateWidth:new d(112,104),recurringExpenseAmountWidth:new d(100,312),reasonTextFieldMarginTop:new d(b[3],0)},{lockCard:M,common:C}=U.getLocalizedStrings().spendManagement.chargeCard,k="reasonSection",Fe="lockCardPage",R=(e,h)=>`${e}.${h}`,Re=e=>`${e}_form`,{common:ve,dateFormat:It,cockpit:Nt}=U.getLocalizedStrings(),zi=({showLockCardDrawer:e,onCloseLockCardDrawer:h,isChargeCardAdmin:c,chargeCardsByCardId:p,cardRecurringExpensesByCardId:l,cardRecurringExpenseFetchState:y,lockCardFetchState:n,onRemoveCardClick:m,onConfirmClick:A,onDismissClick:I})=>{const o=he(),T=Me(),[$,B]=ae.useState(Object.fromEntries(Object.keys(l).map((s,g)=>[s,g===0]))),H=s=>{B(g=>g[s]?{...g,[s]:!1}:{...Object.fromEntries(Object.keys(g).map(x=>[x,!1])),[s]:!0})},j=me({mode:"all",reValidateMode:"onBlur",defaultValues:{[k]:{reason:void 0,reasonType:void 0}},values:{[k]:{reason:void 0,reasonType:void 0}}}),W=L.largeLabelWidth.value(o),{isValid:V,errors:O}=j.formState,G=s=>`${p[s].cardHolderUser?.firstName??""} ${p[s].cardHolderUser?.lastName??""}`,Z=ue(O,R(k,"reasonType")),N=j.watch("reasonSection.reasonType"),Y=j.handleSubmit(()=>{if(V){const s=j.getValues(),g={reason:s[k].reason,reasonType:s[k].reasonType};A(g)}}),u=Object.keys(l).length>1,E=Object.keys(l).length,D=Object.values(l).reduce((s,g)=>s+g.length,0),a=l[Object.keys(l)[0]].length>0;return t.jsx(Be,{anchor:"right",open:e,onClose:h,PaperProps:{style:{width:L.overlayWidth.valuePercentage(o),boxShadow:"none"}},slotProps:{backdrop:{style:{backgroundColor:T.colors.black,opacity:.75,cursor:"pointer"}}},transitionDuration:250,children:t.jsxs(Et,{windowSize:o,children:[t.jsxs(Ft,{windowSize:o,children:[t.jsx(Ot,{windowSize:o,children:t.jsx(Mt,{onClick:()=>{I()}})}),o==="small"?t.jsx(qt,{windowSize:o,children:u?M.lockCards:M.lockCard}):t.jsx(Xt,{children:u?M.lockCards:M.lockCard}),y==="Completed"?t.jsx(ge,{...j,children:t.jsxs("form",{id:Re(Fe),onSubmit:Y,children:[t.jsxs(Kt,{children:[t.jsx(Gt,{windowSize:o,children:u?D>0?`${M.multipleCardsHasRecurringExpenses.replace("_number_of_cards_",E.toString()).replace("_number_of_recurring_expenses_",D.toString())} ${D===1?C.expense:C.expenses}.`:M.multipleCardsNoRecurringExpenses.replace("_number_of_cards_",E.toString()):a?M.firstCardHasRecurringExpenses.replace("_number_of_recurring_expenses_",D.toString()).replace("_expense_",D===1?C.expense:C.expenses):M.firstCardNoRecurringExpenses}),u&&t.jsx(mi,{children:`${E} ${E===1?C.card:C.cards} ${C.selected}`}),Object.keys(l).map((s,g)=>{const x=l[s].length>0;return t.jsxs(Zt,{onClick:()=>x?H(s):void 0,isMoreThanOneCard:u,isLastCard:g===Object.keys(l).length-1,children:[t.jsxs(Qt,{windowSize:o,children:[t.jsxs(At,{windowSize:o,children:[t.jsxs(ei,{windowSize:o,children:[p[s].cardHolderUser?.photo!==void 0?t.jsx(Bt,{src:p[s].cardHolderUser?.photo.href,alt:Nt.userProfileAltText,onError:({currentTarget:f})=>{f.onerror=null,f.src=He},loading:"lazy"}):t.jsx(Ue,{firstName:p[s].cardHolderUser?.firstName??"",lastName:p[s].cardHolderUser?.lastName??"",size:r.sp6}),t.jsxs("div",{children:[t.jsx(Jt,{children:G(s)}),t.jsx(ri,{children:t.jsx(ir,{roles:p[s].cardHolderRoles.userRoles})})]})]}),o==="small"&&x&&($[s]?t.jsx(Oe,{}):t.jsx(_e,{}))]}),t.jsxs(ti,{windowSize:o,children:[p[s].cardName,t.jsx(or,{cardDetail:p[s],forDetailPage:!0,styles:{...We.smallRegular.cssObject,position:"relative",top:"-5px"}})]}),t.jsxs(ii,{windowSize:o,children:[t.jsxs(li,{children:[t.jsx(pi,{children:l[s].length}),t.jsx(ci,{children:C.recurringExpenses})]}),o!=="small"&&x&&($[s]?t.jsx(Oe,{}):t.jsx(_e,{}))]})]}),u&&t.jsx(Rt,{children:t.jsx(Ve,{variant:"standard",title:ve.remove,children:t.jsx(Ut,{onClick:()=>m(s)})})}),$[s]&&x&&t.jsxs(t.Fragment,{children:[t.jsx(Ae,{}),t.jsxs(oi,{children:[t.jsxs(hi,{children:[t.jsx(Se,{width:o==="small"?112:240,children:C.merchant}),t.jsx(Se,{width:o==="small"?112:104,children:C.nextPaymentDate}),t.jsx(ui,{width:o==="small"?100:312,children:C.amount})]}),l[s].map((f,se)=>t.jsxs("div",{children:[se>0&&t.jsx(Ae,{}),t.jsxs(ai,{children:[t.jsxs(si,{windowSize:o,children:[t.jsx(Wt,{src:f.merchant.logo?.url?.href}),t.jsx(Ht,{windowSize:o,children:f.merchant.brandName??f.merchant.name})]}),t.jsx(ni,{windowSize:o,children:f.nextPaymentDate.format(It.visual.MMMDCommaYYYYformat)}),t.jsx(di,{windowSize:o,children:re("0,0.00",f.amount)})]},f.merchant.name)]},f.merchant.name))]})]})]},s)})]}),t.jsx(xi,{windowSize:o,children:C.letUsKnowWhy}),t.jsxs(gi,{isReasonTextFieldVisible:N==="other",children:[t.jsxs(Vt,{size:o,children:[t.jsx(Ye,{label:C.reasonLabel,htmlFor:R(k,"reasonType"),style:{padding:`${r.sp2} ${r.sp0}`,width:"fit-content"}}),t.jsxs(Yt,{labelWidth:W,size:o,children:[t.jsx(q,{label:{label:C.reason.lost},style:{width:"auto"},radioField:{name:R(k,"reasonType"),id:`${R(k,"reasonType")}.Lost or stolen`,value:"Lost or stolen",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(q,{label:{label:C.reason.fraud},style:{width:"auto"},radioField:{name:R(k,"reasonType"),id:`${R(k,"reasonType")}.Fraud detected`,value:"Fraud detected",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(q,{label:{label:C.reason.not_needed},style:{width:"auto"},radioField:{name:R(k,"reasonType"),id:`${R(k,"reasonType")}.Not needed`,value:"Not needed",style:{height:r.sp3,width:r.sp3},radioSize:"small"}}),t.jsx(q,{label:{label:C.reason.other},style:{width:"auto"},radioField:{name:R(k,"reasonType"),id:`${R(k,"reasonType")}.other`,value:"other",style:{height:r.sp3,width:r.sp3},radioSize:"small"}})]})]}),N==="other"?t.jsx(qe,{style:{height:r.sp6,width:"100%",backgroundColor:T.colors.background,marginTop:`${L.reasonTextFieldMarginTop.valuePx(o)}`},type:"text",name:R(k,"reason"),placeholder:M.reasonPlaceholder,className:"reason-text-field"}):N==null&&!c&&Z?t.jsx(_t,{children:M.youNeedToProvideReasonToLockCard}):null]})]})}):t.jsx(Xe,{size:"Standard",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",height:"calc(100vh - 210px)"}})]}),y==="Completed"&&t.jsx(Ke,{style:{zIndex:4,paddingTop:r.sp3,paddingBottom:r.sp3},formId:Re(Fe),helperStyle:{paddingTop:r.sp0,paddingBottom:r.sp0},primaryBtn:{label:ve.confirm,isLoading:n==="In-Progress"},cancelBtn:{label:ve.cancel,style:{width:"90px"},onClick:()=>{I?.()}}})]})})},Et=i.div`
378
378
  display: flex;
379
379
  flex-direction: column;
380
380
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{F as v,J as A,a9 as R,V as a,ac as W,cp as F,cL as U,y as m,cO as V,o as t,cr as z,u,ba as E,aU as J,bV as Y}from"./index-o0j-GZyM.js";import{n as d}from"./mui-CAW43Z2L.js";import{tM as _,bL as $,bh as S}from"./zeni-epic-state-C4Tt6Qhq.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]="5d18d463-fb7e-4ace-9610-6bcbc7ec1ebc",e._sentryDebugIdIdentifier="sentry-dbid-5d18d463-fb7e-4ace-9610-6bcbc7ec1ebc")}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])},N=d.div`
1
+ import{F as v,J as A,a9 as R,V as a,ac as W,cp as F,cL as U,y as m,cO as V,o as t,cr as z,u,ba as E,aU as J,bV as Y}from"./index-DJv_Rbuz.js";import{n as d}from"./mui-vpVhZoFp.js";import{tM as _,bL as $,bh as S}from"./zeni-epic-state-p-hirlWD.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]="5d18d463-fb7e-4ace-9610-6bcbc7ec1ebc",e._sentryDebugIdIdentifier="sentry-dbid-5d18d463-fb7e-4ace-9610-6bcbc7ec1ebc")}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])},N=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-DJv_Rbuz.js";import{f as l}from"./ACHDetailsPage-NT6Enz2K-BFEAACm5.js";import"./sentry-BAZEeDR7.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./zeni-epic-state-p-hirlWD.js";import"./mui-vpVhZoFp.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.js";import"./BankAccountWarningSection-CgbmC-_k-DRjfmmhF.js";import"./MagicLinkTitleSection-FdcDRHnN-CN2sc8vg.js";import"./BankAccountSection-ClVZgEVM-BYvuLqED.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]="4851a151-b749-4cb6-acec-9cb5507757ef",e._sentryDebugIdIdentifier="sentry-dbid-4851a151-b749-4cb6-acec-9cb5507757ef")}catch{}})();const _=({magicLinkViewState:e,magicLinkBankAccountDetails:t,onSaveHandler:a,onACHDetailsUpdated:n,onFetchBankName:o,isDisabled:i,companyName:r})=>{const{fetchState:c,error:m,bankNameByRouting:s,bankAccountToCreate:u,fetchBankNameByRoutingStatus:d}=t,{currencySymbol:b,amount:f}=e;return p.jsx(l,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:c,error:m},bankNameByRouting:s,fetchBankNameByRoutingStatus:d,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 y}from"./index-DJv_Rbuz.js";import{D as g}from"./DomesticWireDetailsPage-D5Eeex8I-2tlxNeUv.js";import"./sentry-BAZEeDR7.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./zeni-epic-state-p-hirlWD.js";import"./mui-vpVhZoFp.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.js";import"./BankAccountSection-ClVZgEVM-BYvuLqED.js";import"./MagicLinkTitleSection-FdcDRHnN-CN2sc8vg.js";import"./BankAccountWarningSection-CgbmC-_k-DRjfmmhF.js";import"./MailingDetailsSection-BcNpk0Ce-D2xEGQpy.js";import"./LabeledAddressValueField-B8vUdw5X-CDbumss_.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]="1609f6d3-5730-44e8-9118-fb2d1b78195c",e._sentryDebugIdIdentifier="sentry-dbid-1609f6d3-5730-44e8-9118-fb2d1b78195c")}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:f}=t,{currencySymbol:l,amount:b}=e;return y.jsx(g,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,addressToEdit:o,addressType:"vendor_address",fetchBankNameByRoutingStatus:f,isDisabled:a,onSaveHandler:r,onWireDetailsUpdated:i,onAddressClick:s,onFetchBankName:d,companyName:n,isMagicLink:!0,currencySymbol:l,amount:b})};export{E as default};
@@ -0,0 +1 @@
1
+ import{V as b}from"./index-DJv_Rbuz.js";import{f as y}from"./InternationalWireSwiftDetailsPage-ChpsNwAV-Eet7AXz5.js";import"./sentry-BAZEeDR7.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./zeni-epic-state-p-hirlWD.js";import"./mui-vpVhZoFp.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.js";import"./BankAccountWarningSection-CgbmC-_k-DRjfmmhF.js";import"./MailingDetailsSection-BcNpk0Ce-D2xEGQpy.js";import"./LabeledAddressValueField-B8vUdw5X-CDbumss_.js";import"./MagicLinkTitleSection-FdcDRHnN-CN2sc8vg.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]="73062e5c-1938-4698-8bbb-7e58ee3a25d4",e._sentryDebugIdIdentifier="sentry-dbid-73062e5c-1938-4698-8bbb-7e58ee3a25d4")}catch{}})();const x=({magicLinkViewState:e,magicLinkBankAccountDetails:t,mailingAddressDetails:a,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:d,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:m,internationalBankAccountToCreate:c,fetchBankNameBySwiftStatus:l,bankNameBySwift:f}=t,{currencySymbol:p,amount:u}=e;return b.jsx(y,{bankAccountToCreate:c,bankAccountCreationState:m,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{av as s,F as n,V as t,b5 as l,o as r,af as c,d as a,e as d}from"./index-o0j-GZyM.js";import{n as o}from"./mui-CAW43Z2L.js";import"./sentry-DmQUfSE7.js";import"./liveblocks-BZyZbty1.js";import"./core-yiE_iOc0.js";import"./recharts-Duslqfio.js";import"./zeni-epic-state-C4Tt6Qhq.js";import"./lottie-HBX4-MpS.js";import"./analytics-DH0nG_g5.js";import"./lexical-DlAOaxF0.js";import"./utils-C-XuhdQM.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]="e8e1a156-c401-4116-bbec-d50d804e8285",e._sentryDebugIdIdentifier="sentry-dbid-e8e1a156-c401-4116-bbec-d50d804e8285")}catch{}})();const _=()=>{const[e]=s("Confetti"),i=n.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(f,{children:t.jsx(b,{})}),t.jsxs(m,{children:[t.jsx(g,{children:i.successTitle}),t.jsx(u,{children:i.successNote})]})]}):null},p=o.div`
1
+ import{av as s,F as n,V as t,b5 as l,o as r,af as c,d as a,e as d}from"./index-DJv_Rbuz.js";import{n as o}from"./mui-vpVhZoFp.js";import"./sentry-BAZEeDR7.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./zeni-epic-state-p-hirlWD.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.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]="e8e1a156-c401-4116-bbec-d50d804e8285",e._sentryDebugIdIdentifier="sentry-dbid-e8e1a156-c401-4116-bbec-d50d804e8285")}catch{}})();const _=()=>{const[e]=s("Confetti"),i=n.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(f,{children:t.jsx(b,{})}),t.jsxs(m,{children:[t.jsx(g,{children:i.successTitle}),t.jsx(u,{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,aY as p,V as n,d as C,o as t,al as f,p as m,ci as g}from"./index-o0j-GZyM.js";import{n as a}from"./mui-CAW43Z2L.js";import{a as l}from"./sentry-DmQUfSE7.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]="0567a27d-2792-48dc-93f7-dc126823746e",e._sentryDebugIdIdentifier="sentry-dbid-0567a27d-2792-48dc-93f7-dc126823746e")}catch{}})();const y=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"})),j=({companyName:e,currencySymbol:s,amount:r})=>{const i=d.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,o=r>0?` ${p("0,0.[00]",r,s)}`:"",c=i.title.replace(/<tenant_name>/,e)+o;return n.jsxs(n.Fragment,{children:[n.jsx(b,{children:c}),n.jsxs(w,{children:[i.description.replace(/<tenant_name>/,e),n.jsxs(u,{children:[n.jsx(h,{}),i.encrypted]})]})]})},u=a(g)`
1
+ import{F as d,aY as p,V as n,d as C,o as t,al as f,p as m,ci as g}from"./index-DJv_Rbuz.js";import{n as a}from"./mui-vpVhZoFp.js";import{a as l}from"./sentry-BAZEeDR7.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]="0567a27d-2792-48dc-93f7-dc126823746e",e._sentryDebugIdIdentifier="sentry-dbid-0567a27d-2792-48dc-93f7-dc126823746e")}catch{}})();const y=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"})),j=({companyName:e,currencySymbol:s,amount:r})=>{const i=d.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,o=r>0?` ${p("0,0.[00]",r,s)}`:"",c=i.title.replace(/<tenant_name>/,e)+o;return n.jsxs(n.Fragment,{children:[n.jsx(b,{children:c}),n.jsxs(w,{children:[i.description.replace(/<tenant_name>/,e),n.jsxs(u,{children:[n.jsx(h,{}),i.encrypted]})]})]})},u=a(g)`
2
2
  display: flex;
3
3
  gap: ${t.sp1};
4
4
  color: ${m.successDark};
@@ -1,4 +1,4 @@
1
- import{J as c,F as u,y as r,V as s,o as a,cK as h,b9 as $,u as i}from"./index-o0j-GZyM.js";import{n as g}from"./mui-CAW43Z2L.js";import{C as y}from"./LabeledAddressValueField-Dm962nbv-CJctT64I.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]="4f55b267-da84-4a60-a0d3-04ec345a1985",e._sentryDebugIdIdentifier="sentry-dbid-4f55b267-da84-4a60-a0d3-04ec345a1985")}catch{}})();const d={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])},D=({sectionId:e,addressToEdit:o,addressType:n,isDisabled:m,onAddressClick:p})=>{const l=c(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,b=d.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:b},addressValueField:{name:w(e,"mailingAddress"),placeholder:h(t.address),defaultValue:o,registerOptions:{validate:f=>f!=null},onClick:()=>{p(n)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,o)=>`${e}.${o}`,x=g.div`
1
+ import{J as c,F as u,y as r,V as s,o as a,cK as h,b9 as $,u as i}from"./index-DJv_Rbuz.js";import{n as g}from"./mui-vpVhZoFp.js";import{C as y}from"./LabeledAddressValueField-B8vUdw5X-CDbumss_.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]="83505630-bb04-4813-9144-2fa54d84ca5d",e._sentryDebugIdIdentifier="sentry-dbid-83505630-bb04-4813-9144-2fa54d84ca5d")}catch{}})();const d={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])},D=({sectionId:e,addressToEdit:o,addressType:n,isDisabled:m,onAddressClick:p})=>{const l=c(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,b=d.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:b},addressValueField:{name:w(e,"mailingAddress"),placeholder:h(t.address),defaultValue:o,registerOptions:{validate:f=>f!=null},onClick:()=>{p(n)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,o)=>`${e}.${o}`,x=g.div`
2
2
  width: auto;
3
3
  display: flex;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{g as z,J as M,fA as I,F as $,aV as x,V as i,bC as _,aa as v,fu as H,o,bw as P,y as d,am as L,al as B,b as R,R as W,fG as j,fH as C,u,fQ as F,p as A,ai as V}from"./index-o0j-GZyM.js";import{a as y}from"./sentry-DmQUfSE7.js";import{n as t}from"./mui-CAW43Z2L.js";import{bL as J}from"./zeni-epic-state-C4Tt6Qhq.js";import"./liveblocks-BZyZbty1.js";import"./core-yiE_iOc0.js";import"./recharts-Duslqfio.js";import"./lottie-HBX4-MpS.js";import"./analytics-DH0nG_g5.js";import"./lexical-DlAOaxF0.js";import"./utils-C-XuhdQM.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]="0fdabde9-5ef5-473c-aaab-755416adbfda",e._sentryDebugIdIdentifier="sentry-dbid-0fdabde9-5ef5-473c-aaab-755416adbfda")}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])},E={title:new W("standardMedium","largeMedium")},N=t.img`
1
+ import{g as z,J as M,fA as I,F as $,aV as x,V as i,bC as _,aa as v,fu as H,o,bw as P,y as d,am as L,al as B,b as R,R as W,fG as j,fH as C,u,fQ as F,p as A,ai as V}from"./index-DJv_Rbuz.js";import{a as y}from"./sentry-BAZEeDR7.js";import{n as t}from"./mui-vpVhZoFp.js";import{bL as J}from"./zeni-epic-state-p-hirlWD.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.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]="0fdabde9-5ef5-473c-aaab-755416adbfda",e._sentryDebugIdIdentifier="sentry-dbid-0fdabde9-5ef5-473c-aaab-755416adbfda")}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])},E={title:new W("standardMedium","largeMedium")},N=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{g as N,aw as B,iO as a,V as n,bC as D,g6 as x,F as M,o as O}from"./index-o0j-GZyM.js";import{n as P}from"./mui-CAW43Z2L.js";import{EP as $}from"./zeni-epic-state-C4Tt6Qhq.js";import{r as V,i as _}from"./ChargeCardListTable-DKQnkAJ7-CbA18PS4.js";import"./sentry-DmQUfSE7.js";import"./liveblocks-BZyZbty1.js";import"./core-yiE_iOc0.js";import"./recharts-Duslqfio.js";import"./lottie-HBX4-MpS.js";import"./analytics-DH0nG_g5.js";import"./lexical-DlAOaxF0.js";import"./utils-C-XuhdQM.js";import"./RoleWithToolTip-YZusZfiJ-BELittL3.js";import"./CardNumberSubText-g2_GoH9f-aD70vkbB.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]="f5fd5a62-5dfd-4a6b-8a2b-f8b686e24e3e",e._sentryDebugIdIdentifier="sentry-dbid-f5fd5a62-5dfd-4a6b-8a2b-f8b686e24e3e")}catch{}})();const{spendManagement:{chargeCard:u}}=M.getLocalizedStrings(),at=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:i,isDebitCardFeatureEnabled:o,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:r,creditAccount:d,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:c,controllerEmails:m,signedInUser:f,onChargeCardRowClick:S,onBackClick:p,onReloadCards:g,onColumnSortConfigChanged:k})=>{const A=N(),y=B(),h=$(y.loggedInUserRoleMap),I=e.cards.some(t=>t.type.code.includes("credit")),b=e.cards.some(t=>t.type.code.includes("debit")),F=I&&b?u.cardList.title.cards:b?u.cardList.title.debit:u.cardList.title.credit,v=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,w=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,E=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,L={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:F,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(V,{onBulkCloseClick:()=>{},onBulkLockClick:()=>{},bulkSubmissionLimit:_,isCardControlsEnabled:!1,cardsSelectedForBulkAction:[],isBulkActionAllowed:!1,firstSelectedCardStatus:void 0,setActionTypeForRowAction:()=>{},setCardIdForRowAction:()=>{},controllerEmails:m,isChargeCardFeatureEnabled:i,isDebitCardFeatureEnabled:o,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:d,creditAccountRepayment:C,productInformation:L,cashbackInformation:v,creditAccountInformation:w,debitAccountInformation:E,depositAccountListWithDebitCardIssued:c,cardList:e.cards,showViewForCardUser:!0,signedInUser:f,fetchState:e.fetchState,unlockChargeCardsFetchState:"Not-Started",revokeChargeCardsInviteFetchState:"Not-Started",rowActionView:R,onProceedForBulkActionClick:t=>{},removeAllCardsFromBulkActionList:()=>{},setShowBulkChangeSpendLimitPopup:t=>{},updateBulkActionList:t=>{},onReloadCards:g,onChargeCardRowClick:(t,U)=>{S(t)},uiState:e.uiState,onColumnSortConfigChanged:k,onChargeCardResendInviteClick:()=>{}})]})},j=P.div`
1
+ import{g as N,aw as B,iO as a,V as n,bC as D,g6 as x,F as M,o as O}from"./index-DJv_Rbuz.js";import{n as P}from"./mui-vpVhZoFp.js";import{EP as $}from"./zeni-epic-state-p-hirlWD.js";import{r as V,i as _}from"./ChargeCardListTable-CX3OTq9R-DFN6XBHD.js";import"./sentry-BAZEeDR7.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.js";import"./RoleWithToolTip-B0JWC_SV-CXgbdRFg.js";import"./CardNumberSubText-CtZArtEN-C5CUm4jT.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]="695e99a6-1794-4d78-a885-0fa497739f58",e._sentryDebugIdIdentifier="sentry-dbid-695e99a6-1794-4d78-a885-0fa497739f58")}catch{}})();const{spendManagement:{chargeCard:u}}=M.getLocalizedStrings(),at=({myPendingActivationChargeCardListView:e,isChargeCardFeatureEnabled:d,isDebitCardFeatureEnabled:o,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,chargeCardCashbackDetailState:r,creditAccount:i,creditAccountRepayment:C,depositAccountListWithDebitCardIssued:c,controllerEmails:b,signedInUser:S,onChargeCardRowClick:f,onBackClick:p,onReloadCards:g,onColumnSortConfigChanged:k})=>{const A=N(),y=B(),h=$(y.loggedInUserRoleMap),I=e.cards.some(t=>t.type.code.includes("credit")),m=e.cards.some(t=>t.type.code.includes("debit")),F=I&&m?u.cardList.title.cards:m?u.cardList.title.debit:u.cardList.title.credit,v=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,w=d&&l&&h===!0?{creditAccountId:i.id,creditAccountLimit:a(i.limit.amount),creditAccountAvailableAmount:a(i.available.amount),creditAccountSpentAmount:a(i.balance.amount+i.hold.amount),creditAccountStatus:i.status,outstandingBalance:a(C.remainingAmountDue.amount)}:void 0,E=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,L={isCreditCardOffered:d,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:F,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(V,{onBulkCloseClick:()=>{},onBulkLockClick:()=>{},bulkSubmissionLimit:_,isCardControlsEnabled:!1,cardsSelectedForBulkAction:[],isBulkActionAllowed:!1,firstSelectedCardStatus:void 0,setActionTypeForRowAction:()=>{},setCardIdForRowAction:()=>{},controllerEmails:b,isChargeCardFeatureEnabled:d,isDebitCardFeatureEnabled:o,isDebitCardSetupEnabled:s,isChargeCardSetupEnabled:l,creditAccount:i,creditAccountRepayment:C,productInformation:L,cashbackInformation:v,creditAccountInformation:w,debitAccountInformation:E,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,U)=>{f(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{J as ie,fT as te,g as ge,aw as be,fU as ye,a9 as we,aD as xe,cG as Pe,cF as $e,F as re,V as l,fV as De,bC as ve,ac as Re,aR as Oe,o as s,cB as ne,fW as de,fX as ce,fY as ue,y as L,am as me,b as Se,R as je,aJ as ee,cR as Ce,cI as Le,fZ as Q,cO as Te,cM as Ie,f_ as Ve,a$ as Be,u as W}from"./index-o0j-GZyM.js";import{a as $}from"./sentry-DmQUfSE7.js";import{n as m}from"./mui-CAW43Z2L.js";import{bi as le,bg as pe,bL as Fe,bh as Ne}from"./zeni-epic-state-C4Tt6Qhq.js";import{C as ke}from"./LabeledAddressValueField-Dm962nbv-CJctT64I.js";import{Y as ze}from"./LabeledUserSingleSelectWithSubtitlesField-CyEiLq7_-CyR9dVw4.js";import{C as Ae,j as Me}from"./LabeledZeniRolesDropDownField-CoQcMW_--ClLOgm0I.js";import"./liveblocks-BZyZbty1.js";import"./core-yiE_iOc0.js";import"./recharts-Duslqfio.js";import"./lottie-HBX4-MpS.js";import"./analytics-DH0nG_g5.js";import"./lexical-DlAOaxF0.js";import"./utils-C-XuhdQM.js";import"./RoleWithToolTip-YZusZfiJ-BELittL3.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]="d3086ce4-a36c-4cfc-b0d0-7f3f2590a244",e._sentryDebugIdIdentifier="sentry-dbid-d3086ce4-a36c-4cfc-b0d0-7f3f2590a244")}catch{}})();const b=(e,o)=>`${e}.${o}`,N={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(W[2],W[3]),toolTipWidth:new L(215,237),notePadding:new L(W[3],W[4]),noteGap:new L(W[0],6)},{peoplePage:a,common:{settings:se,labels:E,placeholder:F,errorMessage:_e},dateFormat:We}=re.getLocalizedStrings(),Ue=({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:k,classList:z,manager:G,department:g,controllersList:A,myProfileLocalData:M,addressData:Y}=e,q=e.person.user?.birthday!=null?"readonly":void 0,v=N.largeLabelWidth.value(n),I=N.largeLabelWidth.value(n),H=$.useMemo(()=>te(y,p,i,f,D,T,h),[y,p,i,f,D,T,h]),{firstController:x,restControllerEmailsStr:R}=$.useMemo(()=>{const c=ee(A),O=c.splice(0,1),S=c.reduce((V,B)=>V.concat(`${B.email},`),"");return{firstController:O,restControllerEmailsStr:S}},[A]),J=$.useMemo(()=>ee(ne.roles),[]),d=pe(r.userRole!=null?r.userRole.userRoles:[]),U=$.useMemo(()=>z.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[z]);return l.jsxs(Qe,{windowSize:n,children:[l.jsx(Ce,{isDisabled:u,label:{label:E.name,width:I},nameField:{name:b(t,"name"),placeHolder:{firstName:F.firstNamePlaceholder,lastName:F.lastNamePlaceholder,name:F.namePlaceholder},showFullNameError:!0},errorInfoLabel:_e.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(C,{}),l.jsx(Le,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:v},text:{type:"text",name:b(t,"email"),placeholder:Q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${N.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(C,{}),l.jsx(Te,{label:{label:E.dateOfBirth,width:I},style:{width:"auto"},isDisabled:q,dateField:{name:b(t,"dateOfBirth"),placeholder:F.datePlaceholder,defaultValue:M.dateOfBirth,dateFormat:We.visual.defaultInput,autoComplete:"off",maxDate:Ne().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(ke,{label:{label:E.mailingAddress,width:I},addressValueField:{name:b(t,"mailingAddress"),placeholder:F.addressPlaceholder,defaultValue:Y?.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:F.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:v},zeniRolesDropDownField:{name:b(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:J},registerOptions:{required:!0},placeholderLabel:Q(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:v},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ue(r.userRole?.userRoles??[]),allRootRole:ce(f,D)},productsByUserRole:de(r.userRole?.userRoles??[],H)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(ze,{label:{label:a.invitePage.manager,width:v},showTooltip:!0,toolTipWidth:N.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(Ze,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:k,selectedUser:d?void 0:G?.userId},valueToSubtitle:c=>{const O=k.findIndex(S=>S.userId===c);if(O!==-1){const S=k[O],V=z.find(X=>X.classId===S.userRole.accountingClassIDs[0]),B=[];return V!=null&&B.push(V.className),B}else return[]},placeholderLabel:d?a.notApplicable:Q(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:v},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:U,selectedOption:d?void 0:U.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:Q(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(Ge,{href:`mailto:${x[0].email}?cc=${R}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Ye,{children:`${x[0].firstName} ${x[0].lastName}`}),l.jsx(Be,{className:"arrowIcon"})]}):null]})]})]})},Ze=()=>a.invitePage.managerTooltipText,Qe=m.div`
1
+ import{J as ie,fT as te,g as ge,aw as be,fU as ye,a9 as we,aD as xe,cG as Pe,cF as $e,F as re,V as l,fV as De,bC as ve,ac as Re,aR as Oe,o as s,cB as ne,fW as de,fX as ce,fY as ue,y as L,am as me,b as Se,R as je,aJ as ee,cR as Ce,cI as Le,fZ as Q,cO as Te,cM as Ie,f_ as Ve,a$ as Be,u as W}from"./index-DJv_Rbuz.js";import{a as $}from"./sentry-BAZEeDR7.js";import{n as m}from"./mui-vpVhZoFp.js";import{bi as le,bg as pe,bL as Fe,bh as Ne}from"./zeni-epic-state-p-hirlWD.js";import{C as ke}from"./LabeledAddressValueField-B8vUdw5X-CDbumss_.js";import{Y as ze}from"./LabeledUserSingleSelectWithSubtitlesField-DzN0zQ-n-Dm58NOUb.js";import{C as Ae,j as Me}from"./LabeledZeniRolesDropDownField-Clh9Cjuk-CwnowspI.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.js";import"./RoleWithToolTip-B0JWC_SV-CXgbdRFg.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]="121f75aa-fd0a-4715-99d5-2f7d0c481e3a",e._sentryDebugIdIdentifier="sentry-dbid-121f75aa-fd0a-4715-99d5-2f7d0c481e3a")}catch{}})();const b=(e,o)=>`${e}.${o}`,N={largeLabelWidth:new L(120,120,160),textFieldPaddingHorizontal:new L(W[2],W[3]),toolTipWidth:new L(215,237),notePadding:new L(W[3],W[4]),noteGap:new L(W[0],6)},{peoplePage:a,common:{settings:se,labels:E,placeholder:F,errorMessage:_e},dateFormat:We}=re.getLocalizedStrings(),Ue=({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:k,classList:z,manager:G,department:g,controllersList:A,myProfileLocalData:M,addressData:Y}=e,q=e.person.user?.birthday!=null?"readonly":void 0,v=N.largeLabelWidth.value(n),I=N.largeLabelWidth.value(n),H=$.useMemo(()=>te(y,p,i,f,D,T,h),[y,p,i,f,D,T,h]),{firstController:x,restControllerEmailsStr:R}=$.useMemo(()=>{const c=ee(A),O=c.splice(0,1),S=c.reduce((V,B)=>V.concat(`${B.email},`),"");return{firstController:O,restControllerEmailsStr:S}},[A]),J=$.useMemo(()=>ee(ne.roles),[]),d=pe(r.userRole!=null?r.userRole.userRoles:[]),U=$.useMemo(()=>z.map(c=>({label:c.fullyQualifiedAccountingClassName,value:c.classId,hoverText:c.accountingClassNumber})),[z]);return l.jsxs(Qe,{windowSize:n,children:[l.jsx(Ce,{isDisabled:u,label:{label:E.name,width:I},nameField:{name:b(t,"name"),placeHolder:{firstName:F.firstNamePlaceholder,lastName:F.lastNamePlaceholder,name:F.namePlaceholder},showFullNameError:!0},errorInfoLabel:_e.nameError.replace("_product_type_",se.common.productTypeString)}),l.jsx(C,{}),l.jsx(Le,{isDisabled:u,showAdditionalInfoLabel:!1,label:{label:a.invitePage.email,width:v},text:{type:"text",name:b(t,"email"),placeholder:Q(a.addPlaceholderPrefix,a.invitePage.email),style:{padding:`${s.sp0} ${N.textFieldPaddingHorizontal.valuePx(n)}`}}}),l.jsx(C,{}),l.jsx(Te,{label:{label:E.dateOfBirth,width:I},style:{width:"auto"},isDisabled:q,dateField:{name:b(t,"dateOfBirth"),placeholder:F.datePlaceholder,defaultValue:M.dateOfBirth,dateFormat:We.visual.defaultInput,autoComplete:"off",maxDate:Ne().subtract(18,"year")}}),l.jsx(C,{}),l.jsx(ke,{label:{label:E.mailingAddress,width:I},addressValueField:{name:b(t,"mailingAddress"),placeholder:F.addressPlaceholder,defaultValue:Y?.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:F.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:v},zeniRolesDropDownField:{name:b(t,"role"),defaultValue:{selectedOptions:r.userRole!=null?r.userRole.userRoles:[],allOptions:J},registerOptions:{required:!0},placeholderLabel:Q(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:v},rolesDropDownField:{name:b(t,"nonZeniRole"),defaultValue:{userRole:{selectedRole:ue(r.userRole?.userRoles??[]),allRootRole:ce(f,D)},productsByUserRole:de(r.userRole?.userRoles??[],H)},registerOptions:{required:!0}},isDisabled:u}),l.jsx(C,{}),l.jsx(ze,{label:{label:a.invitePage.manager,width:v},showTooltip:!0,toolTipWidth:N.toolTipWidth.valuePx(n),tooltipTitle:l.jsx(Ze,{}),userSingleSelectWithSubTitlesField:{name:b(t,"manager"),value:{allUsers:d?[]:k,selectedUser:d?void 0:G?.userId},valueToSubtitle:c=>{const O=k.findIndex(S=>S.userId===c);if(O!==-1){const S=k[O],V=z.find(X=>X.classId===S.userRole.accountingClassIDs[0]),B=[];return V!=null&&B.push(V.className),B}else return[]},placeholderLabel:d?a.notApplicable:Q(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:v},singleSelectWithoutClearableField:{name:b(t,"department"),defaultValue:{allOptions:d?[]:U,selectedOption:d?void 0:U.find(c=>c.value===g?.classId)},placeholder:d?a.notApplicable:Q(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(Ge,{href:`mailto:${x[0].email}?cc=${R}&subject=${encodeURIComponent(a.invitePage.emailSubject)}`,children:[l.jsx(Ye,{children:`${x[0].firstName} ${x[0].lastName}`}),l.jsx(Be,{className:"arrowIcon"})]}):null]})]})]})},Ze=()=>a.invitePage.managerTooltipText,Qe=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{g as h,J as g,V as o,aP as b,bT as p,o as l,bF as f,eS as y,F as m,c2 as x,bR as k,b as w}from"./index-o0j-GZyM.js";import{n}from"./mui-CAW43Z2L.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]="58c37a1f-212b-4ff7-8996-4a9720cb87ca",e._sentryDebugIdIdentifier="sentry-dbid-58c37a1f-212b-4ff7-8996-4a9720cb87ca")}catch{}})();const C=n.div`
1
+ import{g as h,J as g,V as o,aP as b,bT as p,o as l,bF as f,eS as y,F as m,c2 as x,bR as k,b as w}from"./index-DJv_Rbuz.js";import{n}from"./mui-vpVhZoFp.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]="58c37a1f-212b-4ff7-8996-4a9720cb87ca",e._sentryDebugIdIdentifier="sentry-dbid-58c37a1f-212b-4ff7-8996-4a9720cb87ca")}catch{}})();const C=n.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  flex: 1 1 auto;
@@ -1,4 +1,4 @@
1
- import{V as t,o as r,a$ as h,c2 as c}from"./index-o0j-GZyM.js";import{c as l,n as a}from"./mui-CAW43Z2L.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="31c3a808-c7e3-485d-89ad-72051fb2af2a",o._sentryDebugIdIdentifier="sentry-dbid-31c3a808-c7e3-485d-89ad-72051fb2af2a")}catch{}})();const f=l`
1
+ import{V as t,o as r,a$ as h,c2 as c}from"./index-DJv_Rbuz.js";import{c as l,n as a}from"./mui-vpVhZoFp.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="31c3a808-c7e3-485d-89ad-72051fb2af2a",o._sentryDebugIdIdentifier="sentry-dbid-31c3a808-c7e3-485d-89ad-72051fb2af2a")}catch{}})();const f=l`
2
2
  border-left-style: none;
3
3
  margin-left: -${r.sp3};
4
4
  border-top-right-radius: ${r.sp2};
@@ -1,4 +1,4 @@
1
- import{V as n,aP as y,o as a}from"./index-o0j-GZyM.js";import{n as l}from"./mui-CAW43Z2L.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="18bdd25a-a1a2-4376-970d-05092fb63fbc",o._sentryDebugIdIdentifier="sentry-dbid-18bdd25a-a1a2-4376-970d-05092fb63fbc")}catch{}})();const v=l.div`
1
+ import{V as n,aP as y,o as a}from"./index-DJv_Rbuz.js";import{n as l}from"./mui-vpVhZoFp.js";(function(){try{var o=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new o.Error().stack;e&&(o._sentryDebugIds=o._sentryDebugIds||{},o._sentryDebugIds[e]="18bdd25a-a1a2-4376-970d-05092fb63fbc",o._sentryDebugIdIdentifier="sentry-dbid-18bdd25a-a1a2-4376-970d-05092fb63fbc")}catch{}})();const v=l.div`
2
2
  text-align: center;
3
3
  cursor: pointer;
4
4
  `,b=l.div`
@@ -1,4 +1,4 @@
1
- import{J as k,a9 as A,cF as Q,aQ as Y,V as t,ac as X,aR as Z,o as a,y as i,C as ee,R as q,c as te,F as z,gW as ae,al as le,cS as O,cK as L,cI as ne,u as n,ih as oe,b9 as re,c_ as ie,cY as de,er as se,T as ce,ez as me,dm as he,bh as be,p as D}from"./index-o0j-GZyM.js";import{a as R}from"./sentry-DmQUfSE7.js";import{n as o,c as ge}from"./mui-CAW43Z2L.js";import"./liveblocks-BZyZbty1.js";import"./core-yiE_iOc0.js";import"./recharts-Duslqfio.js";import"./zeni-epic-state-C4Tt6Qhq.js";import"./lottie-HBX4-MpS.js";import"./analytics-DH0nG_g5.js";import"./lexical-DlAOaxF0.js";import"./utils-C-XuhdQM.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]="ec9efeb2-75a4-4f07-ad6d-7356a1b5079e",e._sentryDebugIdIdentifier="sentry-dbid-ec9efeb2-75a4-4f07-ad6d-7356a1b5079e")}catch{}})();const w={width:new i(343,580,726),height:new i(n[6],n[6]),controlHeight:new i(n[6],n[6]),paddingTopBottom:new i(n[2],n[2]),marginRight:new i(n[2],n[2]),labelMarginLeft:new i(n[3],n[4]),labelMarginRight:new i(n[3],n[4]),labelMarginTop:new i(n[2],n[2])},ue={infoLabel:new q("smallRegular","standardRegular")},pe=z.getLocalizedStrings();function we({label:e,textField:l,additionalInfo:m,checkBoxFields:h,fetchState:g,style:S,toolTip:M,isOptionalLabel:v}){const s=k(),{formState:{errors:d}}=O(),$=ie(d,l.name);return t.jsxs(fe,{windowSize:s,style:S,isDisabled:l.isDisabled!=null,isError:$,children:[t.jsx(de,{isDisabled:l.isDisabled,label:e.label,style:{marginLeft:w.labelMarginLeft.value(s),marginRight:w.labelMarginRight.value(s),marginTop:w.labelMarginTop.value(s),width:e.width??"auto"},showTooltip:M!=null,tooltipTitle:M?.title,toolTipWidth:M?.width,isOptional:v}),t.jsxs(xe,{labelWidth:e.width,children:[t.jsx(se,{...l,style:{...l.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:w.controlHeight.value(s),cursor:"inherit"}}),g?.fetchState==="In-Progress"?t.jsx($e,{children:t.jsx(ce,{size:"Standard",start:!0})}):t.jsxs(ye,{children:[t.jsxs(Me,{windowSize:s,isRecommendationVisible:h.length>0,isError:$,children:[m.icon,m.label]}),h.length>0?h.map((u,p)=>t.jsxs(t.Fragment,{children:[t.jsx(me,{isHighlighted:!0,label:{label:u.label},checkBoxField:u.field,defaultChecked:u.field.defaultChecked,isDisabled:u.field.isDisabled!=null},he()),p<h.length-1?t.jsx(Se,{children:pe.common.texts.or}):null]})):null]})]})]})}const fe=o.div`
1
+ import{J as k,a9 as A,cF as Q,aQ as Y,V as t,ac as X,aR as Z,o as a,y as i,C as ee,R as q,c as te,F as z,gW as ae,al as le,cS as O,cK as L,cI as ne,u as n,ih as oe,b9 as re,c_ as ie,cY as de,er as se,T as ce,ez as me,dm as he,bh as be,p as D}from"./index-DJv_Rbuz.js";import{a as R}from"./sentry-BAZEeDR7.js";import{n as o,c as ge}from"./mui-vpVhZoFp.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./zeni-epic-state-p-hirlWD.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.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]="ec9efeb2-75a4-4f07-ad6d-7356a1b5079e",e._sentryDebugIdIdentifier="sentry-dbid-ec9efeb2-75a4-4f07-ad6d-7356a1b5079e")}catch{}})();const w={width:new i(343,580,726),height:new i(n[6],n[6]),controlHeight:new i(n[6],n[6]),paddingTopBottom:new i(n[2],n[2]),marginRight:new i(n[2],n[2]),labelMarginLeft:new i(n[3],n[4]),labelMarginRight:new i(n[3],n[4]),labelMarginTop:new i(n[2],n[2])},ue={infoLabel:new q("smallRegular","standardRegular")},pe=z.getLocalizedStrings();function we({label:e,textField:l,additionalInfo:m,checkBoxFields:h,fetchState:g,style:S,toolTip:M,isOptionalLabel:v}){const s=k(),{formState:{errors:d}}=O(),$=ie(d,l.name);return t.jsxs(fe,{windowSize:s,style:S,isDisabled:l.isDisabled!=null,isError:$,children:[t.jsx(de,{isDisabled:l.isDisabled,label:e.label,style:{marginLeft:w.labelMarginLeft.value(s),marginRight:w.labelMarginRight.value(s),marginTop:w.labelMarginTop.value(s),width:e.width??"auto"},showTooltip:M!=null,tooltipTitle:M?.title,toolTipWidth:M?.width,isOptional:v}),t.jsxs(xe,{labelWidth:e.width,children:[t.jsx(se,{...l,style:{...l.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:w.controlHeight.value(s),cursor:"inherit"}}),g?.fetchState==="In-Progress"?t.jsx($e,{children:t.jsx(ce,{size:"Standard",start:!0})}):t.jsxs(ye,{children:[t.jsxs(Me,{windowSize:s,isRecommendationVisible:h.length>0,isError:$,children:[m.icon,m.label]}),h.length>0?h.map((u,p)=>t.jsxs(t.Fragment,{children:[t.jsx(me,{isHighlighted:!0,label:{label:u.label},checkBoxField:u.field,defaultChecked:u.field.defaultChecked,isDisabled:u.field.isDisabled!=null},he()),p<h.length-1?t.jsx(Se,{children:pe.common.texts.or}):null]})):null]})]})]})}const fe=o.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{J as l,V as t,p as r,o as i,al as s,y as o,g as d}from"./index-o0j-GZyM.js";import{n as h}from"./mui-CAW43Z2L.js";import{a}from"./sentry-DmQUfSE7.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]="b5f95a41-1bbe-46ee-83af-dbabdbe7fd4f",e._sentryDebugIdIdentifier="sentry-dbid-b5f95a41-1bbe-46ee-83af-dbabdbe7fd4f")}catch{}})();const m=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),f=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#E9ECF0"})),v={chartMinHeight:new o(288,360)},c=h.div`
1
+ import{J as l,V as t,p as r,o as i,al as s,y as o,g as d}from"./index-DJv_Rbuz.js";import{n as h}from"./mui-vpVhZoFp.js";import{a}from"./sentry-BAZEeDR7.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]="b5f95a41-1bbe-46ee-83af-dbabdbe7fd4f",e._sentryDebugIdIdentifier="sentry-dbid-b5f95a41-1bbe-46ee-83af-dbabdbe7fd4f")}catch{}})();const m=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#3E4043",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#3E4043"})),f=e=>a.createElement("svg",{viewBox:"0 0 1088 393",role:"img",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},a.createElement("path",{fill:"#E9ECF0",d:"M0 10h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0zm0 115h1088v1H0z"}),a.createElement("path",{d:"M68 235a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121H68V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zm128 116a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v80h-56v-80zm128-41a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160zM708 50a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v306h-56V50zm128 185a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v121h-56V235zm128-75a4 4 0 0 1 4-4h48a4 4 0 0 1 4 4v196h-56V160z",fill:"#E9ECF0"})),v={chartMinHeight:new o(288,360)},c=h.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  flex-direction: column;
@@ -1,4 +1,4 @@
1
- import{V as n,o as t,g as i}from"./index-o0j-GZyM.js";import{n as s}from"./mui-CAW43Z2L.js";import{r as o,o as r}from"./graphic-no-data-l-DU4J8fDt-08AJBbmd.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]="22738ceb-aefd-4ea3-a162-584cd17022a6",e._sentryDebugIdIdentifier="sentry-dbid-22738ceb-aefd-4ea3-a162-584cd17022a6")}catch{}})();const a=s.div`
1
+ import{V as n,o as t,g as i}from"./index-DJv_Rbuz.js";import{n as s}from"./mui-vpVhZoFp.js";import{r as o,o as r}from"./graphic-no-data-l-DU4J8fDt-BuXYRb4U.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]="22738ceb-aefd-4ea3-a162-584cd17022a6",e._sentryDebugIdIdentifier="sentry-dbid-22738ceb-aefd-4ea3-a162-584cd17022a6")}catch{}})();const a=s.div`
2
2
  display: flex;
3
3
  width: 100%;
4
4
  padding: ${t.sp8} ${t.sp0} ${t.sp8} ${t.sp0};
@@ -1,11 +1,11 @@
1
- import{V as o,F as i,b$ as s,d as l,al as d,p as c,am as a}from"./index-o0j-GZyM.js";import{n as t}from"./mui-CAW43Z2L.js";import{a as g}from"./ZeniCopyright-D36dbFYs-DbL5X4NH.js";import"./sentry-DmQUfSE7.js";import"./liveblocks-BZyZbty1.js";import"./core-yiE_iOc0.js";import"./recharts-Duslqfio.js";import"./zeni-epic-state-C4Tt6Qhq.js";import"./lottie-HBX4-MpS.js";import"./analytics-DH0nG_g5.js";import"./lexical-DlAOaxF0.js";import"./utils-C-XuhdQM.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]="6ee675d4-0a2d-47f8-83ce-6f0854890bc8",e._sentryDebugIdIdentifier="sentry-dbid-6ee675d4-0a2d-47f8-83ce-6f0854890bc8")}catch{}})();const f=t.div`
1
+ import{V as o,F as i,b$ as s,d as l,al as d,p as c,am as a}from"./index-DJv_Rbuz.js";import{n as t}from"./mui-vpVhZoFp.js";import{a as g}from"./ZeniCopyright-bBciVtsI-DjjBYCfV.js";import"./sentry-BAZEeDR7.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./zeni-epic-state-p-hirlWD.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.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]="78ce458e-3c22-46d2-80d3-3207c4f48a08",e._sentryDebugIdIdentifier="sentry-dbid-78ce458e-3c22-46d2-80d3-3207c4f48a08")}catch{}})();const h=t.div`
2
2
  width: 100%;
3
3
  height: 100vh;
4
4
  position: relative;
5
5
  background-color: ${e=>e.theme.colors.background};
6
- `,h=t.div`
7
- height: 54px;
8
6
  `,p=t.div`
7
+ height: 54px;
8
+ `,f=t.div`
9
9
  flex: 1 1;
10
10
  display: flex;
11
11
  flex-direction: column;
@@ -43,4 +43,4 @@ import{V as o,F as i,b$ as s,d as l,al as d,p as c,am as a}from"./index-o0j-GZyM
43
43
  text-decoration: underline;
44
44
  cursor: pointer;
45
45
  }
46
- `;function _({onGoBack:e,onGoHome:n}){return o.jsxs(f,{children:[o.jsx(b,{children:"404"}),o.jsxs(u,{children:[o.jsx(h,{}),o.jsxs(p,{children:[o.jsx(x,{children:i.getLocalizedStrings().notFoundPage.cantFindText}),o.jsxs(y,{children:[i.getLocalizedStrings().notFoundPage.pleaseText,o.jsx(r,{onClick:e,children:i.getLocalizedStrings().notFoundPage.goBackText}),i.getLocalizedStrings().notFoundPage.startOverText,o.jsx(r,{onClick:n,children:i.getLocalizedStrings().notFoundPage.homePageText})]})]}),o.jsx(m,{children:o.jsx(g,{})})]})]})}export{_ as default};
46
+ `;function _({onGoBack:e,onGoHome:n}){return o.jsxs(h,{children:[o.jsx(b,{children:"404"}),o.jsxs(u,{children:[o.jsx(p,{}),o.jsxs(f,{children:[o.jsx(x,{children:i.getLocalizedStrings().notFoundPage.cantFindText}),o.jsxs(y,{children:[i.getLocalizedStrings().notFoundPage.pleaseText,o.jsx(r,{onClick:e,children:i.getLocalizedStrings().notFoundPage.goBackText}),i.getLocalizedStrings().notFoundPage.startOverText,o.jsx(r,{onClick:n,children:i.getLocalizedStrings().notFoundPage.homePageText})]})]}),o.jsx(m,{children:o.jsx(g,{})})]})]})}export{_ as default};
@@ -1,4 +1,4 @@
1
- import{V as t,g6 as ne,o as i,bO as oe,aT as se,F as v,g as J,J as K,a9 as re,cF as le,bC as ae,ac as ce,aa as w,aR as de,y as z,fD as pe,g7 as me,eL as ue,g8 as fe,g9 as ge,a$ as he,u as I,b9 as X,ai as Y,al as Q,am as xe}from"./index-o0j-GZyM.js";import{a as E}from"./sentry-DmQUfSE7.js";import{n}from"./mui-CAW43Z2L.js";import{FG as $e,FH as ye,FI as be,FJ as je}from"./zeni-epic-state-C4Tt6Qhq.js";import"./liveblocks-BZyZbty1.js";import"./core-yiE_iOc0.js";import"./recharts-Duslqfio.js";import"./lottie-HBX4-MpS.js";import"./analytics-DH0nG_g5.js";import"./lexical-DlAOaxF0.js";import"./utils-C-XuhdQM.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]="86a8bda8-5281-465c-af19-81fb8d950f7e",e._sentryDebugIdIdentifier="sentry-dbid-86a8bda8-5281-465c-af19-81fb8d950f7e")}catch{}})();const{common:we}=v.getLocalizedStrings(),D={notePadding:new z(I[3],I[4]),noteGap:new z(I[0],6)},R=(e,o)=>`${e}.${o}`,Ie=n.div`
1
+ import{V as t,g6 as ne,o as i,bO as oe,aT as se,F as v,g as J,J as K,a9 as re,cF as le,bC as ae,ac as ce,aa as w,aR as de,y as z,fD as pe,g7 as me,eL as ue,g8 as fe,g9 as ge,a$ as he,u as I,b9 as X,ai as Y,al as Q,am as xe}from"./index-DJv_Rbuz.js";import{a as E}from"./sentry-BAZEeDR7.js";import{n}from"./mui-vpVhZoFp.js";import{FG as $e,FH as ye,FI as be,FJ as je}from"./zeni-epic-state-p-hirlWD.js";import"./liveblocks-CCMpOb9V.js";import"./core-ngENxsSR.js";import"./recharts-DVV1zL4K.js";import"./lottie-BuGJfGlI.js";import"./analytics-CzRVJ6MY.js";import"./lexical-B7Utywn0.js";import"./utils-Db3Jmqbx.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]="86a8bda8-5281-465c-af19-81fb8d950f7e",e._sentryDebugIdIdentifier="sentry-dbid-86a8bda8-5281-465c-af19-81fb8d950f7e")}catch{}})();const{common:we}=v.getLocalizedStrings(),D={notePadding:new z(I[3],I[4]),noteGap:new z(I[0],6)},R=(e,o)=>`${e}.${o}`,Ie=n.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${i.sp3};
@@ -1 +1 @@
1
- import{b as n,u as f}from"./index-o0j-GZyM.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]="634f6f50-1592-4fda-a7f2-4a7ddc7cf4fc",e._sentryDebugIdIdentifier="sentry-dbid-634f6f50-1592-4fda-a7f2-4a7ddc7cf4fc")}catch{}})();const o=f[5],r=59,i=f[5],s=n.standardRegular.lineHeightValue,l=1,u=1e3;export{s as A,i as E,l as I,u as L,r as a,o as t};
1
+ import{b as n,u as f}from"./index-DJv_Rbuz.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]="634f6f50-1592-4fda-a7f2-4a7ddc7cf4fc",e._sentryDebugIdIdentifier="sentry-dbid-634f6f50-1592-4fda-a7f2-4a7ddc7cf4fc")}catch{}})();const o=f[5],r=59,i=f[5],s=n.standardRegular.lineHeightValue,l=1,u=1e3;export{s as A,i as E,l as I,u as L,r as a,o as t};