@zeniai/web-cockpit-ui 1.15.21-qa → 1.15.22-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 (279) hide show
  1. package/dist/assets/{ACHDetailsPage-D-0onfNp-E7lR7f-M.js → ACHDetailsPage-CZfTXGMr-CI17UjpU.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BtDm0Ze4-DI8MiByN.js → AIPerformancePage-CpfWdGaC-ATsa9xZL.js} +12 -12
  3. package/dist/assets/AccountInfoPage-BUVWxmzs-DGCzo4Ay.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-DO-wTXIZ-DQS9MELG.js → AccountInfoPageContent-CYZIBmtA-BtadN1-Z.js} +1 -1
  5. package/dist/assets/{AccountLockedInfoModal-BQyFAsoa-pQ3h0lXW.js → AccountLockedInfoModal-BFBjEOzC-D3uFLbPe.js} +1 -1
  6. package/dist/assets/{AccountReconDetailsDrawerPage-DQ9qT2fa-C1bnZFHI.js → AccountReconDetailsDrawerPage-DSFCBgAM-DDHgP1in.js} +1 -1
  7. package/dist/assets/{AccountRow-CGDnBStW-B42Txz2t.js → AccountRow-Gn7g3D_F-BNs1BGkk.js} +1 -1
  8. package/dist/assets/{AccountsPromoCardStack-D8FXXEQ--rM_RHfIq.js → AccountsPromoCardStack-DOMli4-L-Bxo_NE7N.js} +1 -1
  9. package/dist/assets/{AddAddressForCardDrawer-CaymaAix-u96N6Qzo.js → AddAddressForCardDrawer-DlGL-3yf-IaM3cMnx.js} +1 -1
  10. package/dist/assets/{AddToWalletPage-CcHrKp-a-CBnjHYA6.js → AddToWalletPage-D-Z-ZVZn-CiDbNS_k.js} +1 -1
  11. package/dist/assets/{AgingReportsPage-Dxl6B22u-C2TlOeT0.js → AgingReportsPage-CdqPmA60-Cyut0UFq.js} +3 -3
  12. package/dist/assets/{AllUserItems-CCPAoEp2-BwqbSPl8.js → AllUserItems-DWLkEF2p-CkywmjZG.js} +1 -1
  13. package/dist/assets/{ApAgingDetailPage-CdSbgXOq-D-U_GVCX.js → ApAgingDetailPage-CdtqprUm-6vrQOn-k.js} +2 -2
  14. package/dist/assets/{AppBasePage-B9nTsGKZ-CrNS-zmq.js → AppBasePage-CPdKfb57-DawJWk5R.js} +1 -1
  15. package/dist/assets/{AppDrawerContent-BgfMutin-DfAGwR7f.js → AppDrawerContent-DCMK2lRO-Df7Fnkyq.js} +1 -1
  16. package/dist/assets/{ApprovalRulesSettingsPage-BDXTo6IN-CRoruZi4.js → ApprovalRulesSettingsPage-C8P04Y3s-D25-twBi.js} +1 -1
  17. package/dist/assets/{ArAgingChart-Rzj2ENYe-CLA_ht_2.js → ArAgingChart-DOYvVptv-BswXO8kR.js} +1 -1
  18. package/dist/assets/{ArAgingDetailPage-qk_f2Lby-BpK_Gv9z.js → ArAgingDetailPage-BCaRO749-DbTi7cK7.js} +1 -1
  19. package/dist/assets/{AttachmentView-NA4ajEO5-DR9_uEKC.js → AttachmentView-CnfHYBMC-DIj7ahn3.js} +1 -1
  20. package/dist/assets/{BankAccountSection-BBDMIckQ-VD7MNHHN.js → BankAccountSection-P9w-MOrg-BTlhn7ds.js} +1 -1
  21. package/dist/assets/{BankAccountWarningSection-BkcjTRzD-DIfRT-Zr.js → BankAccountWarningSection-BDEZ6LKQ-11XJ9ttg.js} +1 -1
  22. package/dist/assets/{BankConnectionsSettingsPage-SAXICBPz-CTcrBBh3.js → BankConnectionsSettingsPage-dE7WxsGo-D0HTjyVI.js} +1 -1
  23. package/dist/assets/{BillDetailPage-DwmlUFiU-DTaT5FvO.js → BillDetailPage-CAbohg1r-CBI7qhIO.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRuleDetailPage-CQwCAZ6I-B-iJVX52.js → BillPayApprovalRuleDetailPage-CKr-k2kC-DyOtlRI5.js} +1 -1
  25. package/dist/assets/{BillPayApprovalRulesPage-D-LIGLjH-ColnAiYN.js → BillPayApprovalRulesPage-wy4fIDHo-MumDIXCw.js} +1 -1
  26. package/dist/assets/{BillPayPromoPage-DI-WqAOW-BHwkD-r9.js → BillPayPromoPage-CbXq0YNV-rXFaEpJE.js} +1 -1
  27. package/dist/assets/{BillPaySetUpPage-Boyxam-q-Bmy-MqMk.js → BillPaySetUpPage-CwP6Aw2I-D-V51AjE.js} +6 -6
  28. package/dist/assets/{BillingSettingsPage-toTRmFUP-C1oUXIlM.js → BillingSettingsPage-Bqj_AXGq-1_mFR23j.js} +2 -2
  29. package/dist/assets/{BillsBulkReviewDrawerPage-BD-XMVaP-BF31YK-4.js → BillsBulkReviewDrawerPage-QsGKIhW0-BUE3drgk.js} +1 -1
  30. package/dist/assets/{BoxItem-DptPNfuL-Bp-R8iE1.js → BoxItem-CgrlwejJ-DRtcS1-S.js} +1 -1
  31. package/dist/assets/{BusinessVerificationPage-Bw7LFK-C-CatwF8k7.js → BusinessVerificationPage-G8uzN4Ws-BKiOttKK.js} +1 -1
  32. package/dist/assets/{CardNumberSubText-DBFaTSBz-DdN0VEfE.js → CardNumberSubText-DPlqciQh-CtVSDBTQ.js} +1 -1
  33. package/dist/assets/{CashbackDetailPage-jyi25yaY-wBe9KKSY.js → CashbackDetailPage-DvxlixOz-BI7zB5eW.js} +8 -8
  34. package/dist/assets/{ChargeCardDetailPage-Be6-Tdta-DbmxNVaK.js → ChargeCardDetailPage-BwsPpOzj-DPbKM4bn.js} +1 -1
  35. package/dist/assets/{ChargeCardListPage-DKA4Mryr-Tv6Oh9JD.js → ChargeCardListPage-BKu9-MWp-COSqzM0c.js} +1 -1
  36. package/dist/assets/{ChargeCardListTable-BmnTn4MG-Dav0vid1.js → ChargeCardListTable-BkAggUNy-BT3mst3U.js} +1 -1
  37. package/dist/assets/{ChargeCardPaymentHistoryPage-DVRPShso-B2hTKQlQ.js → ChargeCardPaymentHistoryPage-BddAvqUm-DbucxoY-.js} +1 -1
  38. package/dist/assets/{ChargeCardPromoPage-ZCAv99Ei-SzC7HmHH.js → ChargeCardPromoPage-B4yj7KP9-DKwL8yRO.js} +1 -1
  39. package/dist/assets/{ChargeCardSetupPage-BwXrEbVo-D0-PM_4r.js → ChargeCardSetupPage-B3vasCMt-Dv7zO5cm.js} +1 -1
  40. package/dist/assets/{ChargeCardStatementsPage-BK-hozIV-Di1HiZJS.js → ChargeCardStatementsPage-BOscGNXN-Mh_DnEuP.js} +4 -4
  41. package/dist/assets/{CheckDepositDrawerPage-CYkFe1ox-BBkmTZH1.js → CheckDepositDrawerPage-BEEyhU4L-JcTBCzRd.js} +1 -1
  42. package/dist/assets/{CollapsableReportTable-DlC0m5Gq-CeTT9Oev.js → CollapsableReportTable-BpZbn8JV-DFNPaWFK.js} +1 -1
  43. package/dist/assets/{CompanyOfficerDetailsSection-DzPudfa8-DqN4Vwn3.js → CompanyOfficerDetailsSection-1BDesjjs-BJgYaGxB.js} +1 -1
  44. package/dist/assets/{CompanyPassportCard-B5jodI1Z-D2ZoNhMd.js → CompanyPassportCard-DnpS3cSu-DXhbgL7c.js} +2 -2
  45. package/dist/assets/{CompanyPassportPage-DJOJ3jDw-DK6xYjDB.js → CompanyPassportPage-DPNROicI-D1huJKnB.js} +15 -15
  46. package/dist/assets/{CompleteProfile-CfNuOYX6-Cnkx2a1E.js → CompleteProfile-E7yJ6AqT-DXZcKzk-.js} +2 -2
  47. package/dist/assets/{ConfettiBurst-BYI1XUQL-y1mB27QR.js → ConfettiBurst-BUf7AIFk-Da6kYSI2.js} +1 -1
  48. package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-CkDCKkyG.js → ConstrainedInnerElement-BeIpAPjB-CyBR7YJz.js} +1 -1
  49. package/dist/assets/{CreateOrEditVendorPage-DuoU2sV0-BYrMQo-X.js → CreateOrEditVendorPage-CqGWKAVs-g2Tpgbp0.js} +1 -1
  50. package/dist/assets/{CreditCardPaymentDrawerPage-Bea09r9U-BXHxog5h.js → CreditCardPaymentDrawerPage-CO7njZlm-DopqGCxN.js} +1 -1
  51. package/dist/assets/{CurrencySelectField-DSayEoor-D5Zrqkfd.js → CurrencySelectField-DxdAWtY0-B1TsXU1Q.js} +1 -1
  52. package/dist/assets/{CustomerOnboardingActivationPage-DkXMThN5-BWHIsEbH.js → CustomerOnboardingActivationPage-CEaKVaVS-D9RnWmBa.js} +1 -1
  53. package/dist/assets/CustomerOnboardingContainerPage-ihPd9hEn-ClNt0TP3.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-C6CxRdPR-JZSfJi0e.js → CustomerOnboardingDetailPageSkeleton-Bk-UD_xZ-B_1TcJUF.js} +1 -1
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-CXdw95hv-B9QWcDaR.js → CustomerOnboardingNoStepsPage-zMwJiFSO-_zZf3e5X.js} +2 -2
  56. package/dist/assets/{CustomerOnboardingPage-BfktNnfn-CICJ7qAu.js → CustomerOnboardingPage-D2g6ose5-qapuEieN.js} +1 -1
  57. package/dist/assets/CustomerOnboardingProductSuitePage-BowJfyTX-CRJdoG-k.js +202 -0
  58. package/dist/assets/{Dashboard-DsmygPse-4AvmKTAA.js → Dashboard-46VwWQSI-DH2n0aDR.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-CO50XhSN-RbrjTqPn.js → DashboardReportPage-BA6k3bPl-B1EwtUKw.js} +1 -1
  60. package/dist/assets/{DashboardSidebarBackgroundAnimation-CgZd_J4a-18QmqdyA.js → DashboardSidebarBackgroundAnimation-Dh7RFAmH-0PN4dTJQ.js} +1 -1
  61. package/dist/assets/{DepositAccTransactionItem-CURckRWv-5cwb8lsm.js → DepositAccTransactionItem-Dql1IjYZ-DFOMn-wO.js} +1 -1
  62. package/dist/assets/DepositAccTransactionListPage-BjKtMY47-eMYJ1LE-.js +66 -0
  63. package/dist/assets/{DomesticWireDetailsPage-BOb4FGaY-DZtWI0el.js → DomesticWireDetailsPage-DeXdHoem-CGnMYsda.js} +1 -1
  64. package/dist/assets/{DownloadOverlay-DyTWX48F-D68jKMMy.js → DownloadOverlay-C9lm7jRS-Bq6Od7GL.js} +1 -1
  65. package/dist/assets/{DrawerPage-AI0YTdml-NepA-uxH.js → DrawerPage-DwjcM3hz-B-KESp3F.js} +1 -1
  66. package/dist/assets/{EditPeoplePage-Cid-kBGF-CpKiwXqn.js → EditPeoplePage-D-vaUQbG-DQbsI6rR.js} +1 -1
  67. package/dist/assets/{EditReimbursementDetailPage-U-qCHgNL-D5fAJB1O.js → EditReimbursementDetailPage-BerHadSD-DaUKmLjy.js} +1 -1
  68. package/dist/assets/EntityDetailPage-B2Tmq0cV-uO9x-oKB.js +18 -0
  69. package/dist/assets/{EntitySummarySection-JKTCWCM--Fo1QOnQl.js → EntitySummarySection-BvXgw7DC-Bef0TZtp.js} +1 -1
  70. package/dist/assets/{ExpenseAutomationOverviewPage-CtzbDY1R-CvZoQj_h.js → ExpenseAutomationOverviewPage-ySXotmyY-CeFn1UnP.js} +1 -1
  71. package/dist/assets/{ExpenseAutomationPage-Dbl9svfW-BZfPW3Kh.js → ExpenseAutomationPage-CieCVy8t-BHePblcM.js} +146 -146
  72. package/dist/assets/{ExpressPayPage-SuuEp7gX-yOs90MaD.js → ExpressPayPage-BnUc-3ye-BHMM4ytE.js} +1 -1
  73. package/dist/assets/{FeaturePreviewPage-BiTQ7ApT-C35Vrbsi.js → FeaturePreviewPage-rGKH26mO-Ak70PMDX.js} +1 -1
  74. package/dist/assets/{FollowStepsSection-DMG7Wn5E-CixCy-vJ.js → FollowStepsSection-Cul0Cxvm-BEhGMlUy.js} +1 -1
  75. package/dist/assets/{GlobalReviewListPage-DgUd_tpR-DMgKrm59.js → GlobalReviewListPage-CC2ACTah-CxJ-n6WW.js} +1 -1
  76. package/dist/assets/{InformationCardStack-BBDImI5u-B_L0_IXg.js → InformationCardStack-geyzh82K-BsfqU0FK.js} +3 -3
  77. package/dist/assets/{InsightsCardStack-BXSLSXMd-CPaCCiOq.js → InsightsCardStack-DmEWXOXG-D8zQOXPe.js} +6 -6
  78. package/dist/assets/{InsightsSection-DtP4W8UU-ChHNdzk5.js → InsightsSection-Ldcdpf_t-BR1EacmB.js} +2 -2
  79. package/dist/assets/{IntegrationsSettingsPage-BY1xz3JF-DAHsRrIc.js → IntegrationsSettingsPage-D8DA20vr-Dzz_dqHF.js} +2 -2
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-DyVP5Ofl-BzAe45Ug.js → InternationalWireSwiftDetailsPage-C0p3_QQy-C5e9qnYF.js} +4 -4
  81. package/dist/assets/{InternationalWireVerificationPage-Qlo7yzVk-B7n-K8yE.js → InternationalWireVerificationPage-mHew9ruS-BrqHukVH.js} +1 -1
  82. package/dist/assets/{InviteFormPage-C84N6Lc2-Crkyt_be.js → InviteFormPage-CH4FYGl4-C1vX7pcw.js} +1 -1
  83. package/dist/assets/{InvitePageListView-CMhXy-j--BSnEbl6q.js → InvitePageListView-C-RG9OiM-w5eanIdw.js} +1 -1
  84. package/dist/assets/{InvitePeoplePage-qpkCHm6B-BVfeEtTB.js → InvitePeoplePage-y0gl_wqg-CSxYUXEb.js} +1 -1
  85. package/dist/assets/{InvoiceUploadSection-DkOhI_Bg-BK1kHmCF.js → InvoiceUploadSection-YQHXVR_6-Bb0-RXQg.js} +1 -1
  86. package/dist/assets/{IssueChargeCardPage-BqzqCwAC-AtpStA7o.js → IssueChargeCardPage-CKhRoUiP-CTYHfQCp.js} +1 -1
  87. package/dist/assets/{LabeledAddressValue-DgMH266J-BOyhiAJ7.js → LabeledAddressValue-D_-0VDjZ-4h12iTBN.js} +1 -1
  88. package/dist/assets/{LabeledAddressValueField-BNDFFbl6-Bnl_fTov.js → LabeledAddressValueField-BNPvRvHU-EK3HrcNO.js} +1 -1
  89. package/dist/assets/{LabeledControlledCheckBoxField-DqGuuG0x-C7gcXrVo.js → LabeledControlledCheckBoxField-CkG-jIW7-C2Hnry7S.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-Dd0jXJEG-DqCUD3tM.js → LabeledCreatableSingleSelectField-C1dHZ9ym-iC8YKpuW.js} +1 -1
  91. package/dist/assets/{LabeledDocumentField-soYO3Vkb-D4rfj9r9.js → LabeledDocumentField-ffpHZV4a-BUHqIKgG.js} +1 -1
  92. package/dist/assets/{LabeledDropDownFormattedTextField-BXhlcMj3-DMyG_l10.js → LabeledDropDownFormattedTextField-QdvkGLEh-BRZgDq4Q.js} +1 -1
  93. package/dist/assets/{LabeledText-sPkKF2Ke-C6ruJ-3L.js → LabeledText-CQiPSE0v-By2EfM5F.js} +1 -1
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-oGpbhfZl-DLZXxYbx.js → LabeledUserSingleSelectWithSubtitlesField-CcmaUIGJ-pvqY6PVS.js} +1 -1
  95. package/dist/assets/{LabeledZeniRolesDropDownField-WBaP6NAK-DzjNxVxd.js → LabeledZeniRolesDropDownField-k0YihYN--DD97S2fG.js} +1 -1
  96. package/dist/assets/{LinkJETransactionPage-DWe4hvFk-D8Dzt1mD.js → LinkJETransactionPage-DUaT91O5-Gq8lPCYr.js} +1 -1
  97. package/dist/assets/{LockCardPage-BFpvk55j-yA-a8X9D.js → LockCardPage-DYD2_HzF-Dog57kHB.js} +6 -6
  98. package/dist/assets/{LowBalancePopup-BhSsmmin-CBPk1LsR.js → LowBalancePopup-DiycrXpa-BGxqOGSj.js} +1 -1
  99. package/dist/assets/MagicLinkACHDetailsPage-DIpNQrGA-BmzNcyxo.js +1 -0
  100. package/dist/assets/MagicLinkDomesticWireDetailsPage-B9wywDCI-B71xVz_F.js +1 -0
  101. package/dist/assets/MagicLinkInternationalWireDetailsPage-eZNTvlJK-BWmKcmTA.js +1 -0
  102. package/dist/assets/{MagicLinkSuccessPage-BYNIGXoS-OKsyLGOy.js → MagicLinkSuccessPage-RQtS7ohy-CE9hMVm-.js} +1 -1
  103. package/dist/assets/{MagicLinkTitleSection-DAywgMEo-BtiZq0cx.js → MagicLinkTitleSection-D6bdQGfS-4Cui-zz1.js} +1 -1
  104. package/dist/assets/{MailingDetailsSection-DRQnwOna-B3_bDX5k.js → MailingDetailsSection-Db8X4a09-CGdNacsa.js} +1 -1
  105. package/dist/assets/{MyBankConnectionsSettingsPage-CcGxX2ZR-B5mJauBe.js → MyBankConnectionsSettingsPage-C9rAs8AC-CELzps57.js} +1 -1
  106. package/dist/assets/{MyPendingActivationChargeCardListPage-MbUzd562-C6S6_bfY.js → MyPendingActivationChargeCardListPage-Dhz5e_Uu-CGb9qdbR.js} +1 -1
  107. package/dist/assets/{MyProfileSettingsPage-C5yCIdIL-B0YtQKYL.js → MyProfileSettingsPage-CxZER675-2UOccUna.js} +2 -2
  108. package/dist/assets/{NavBarWithPicker-C_IBxMUA-B0EPHxlT.js → NavBarWithPicker-BSVBMx7T-0Dqo2fgB.js} +1 -1
  109. package/dist/assets/{NavigationArrow-I1l5PEMd-BZkmNvxb.js → NavigationArrow-Ca-B5zfh-DRNdaY_I.js} +1 -1
  110. package/dist/assets/{NavigationDots-DbtOiTYP-BWzsBzui.js → NavigationDots-CjxNj1Qo-DN4lM7to.js} +1 -1
  111. package/dist/assets/{NewGlobalMerchantPage-DuU_ab63-DiZGG9pS.js → NewGlobalMerchantPage-LykCdab5-DEBbT1GR.js} +1 -1
  112. package/dist/assets/{NoDataChart-CLVyYBfd-CsBoNKkR.js → NoDataChart-Dm8c31gV-Dj8UiPhG.js} +1 -1
  113. package/dist/assets/{NoDataTable-CP5vFrN--C8hPBHtr.js → NoDataTable-BLcYAK9T-3nfxy3Nd.js} +1 -1
  114. package/dist/assets/{NotFoundPage-N4-ds_TK-BKsaq5wx.js → NotFoundPage-C4BU4sH8-sZxfS_K4.js} +8 -8
  115. package/dist/assets/{NotificationSettingsPage-DxL5oOKA-BCxjFu4y.js → NotificationSettingsPage-BcZEeTzA-Gt8bGOQC.js} +1 -1
  116. package/dist/assets/{NotificationsListConfig-BUEMj_nN-_3oErotq.js → NotificationsListConfig-CYqB9pO5-Q7jWyd5C.js} +1 -1
  117. package/dist/assets/{NotificationsPage-CPwLrdcO-D7eMWwRS.js → NotificationsPage-BpE7xDxK-DEeyLrys.js} +1 -1
  118. package/dist/assets/{OpExByVendorPage-CEexczJv-J21B8XPv.js → OpExByVendorPage-CzAB4zqP-D8KXk_hr.js} +1 -1
  119. package/dist/assets/{OverlayContainerPage-D4QU0p4o-BLZDtu1k.js → OverlayContainerPage-D4QU0p4o-BjtR95tx.js} +1 -1
  120. package/dist/assets/{PandLWithForecastPage-Dp6MnTZ_-BK2fiEz9.js → PandLWithForecastPage-CDkHjqzy-EOvrd7Tw.js} +1 -1
  121. package/dist/assets/{PaymentAccountSetupBillingAddressSection-DbnK54BN-Du2iRLpi.js → PaymentAccountSetupBillingAddressSection-ChGcOYcG-D0OWrwVX.js} +1 -1
  122. package/dist/assets/{PeoplePage-rlyomO8Q-D10TbBHE.js → PeoplePage-C_FZL-mx-B0oFZuXo.js} +1 -1
  123. package/dist/assets/{Preview-CmsmcMye.js → Preview-Dit3IBZc.js} +1 -1
  124. package/dist/assets/{ProductsCarousel-CxhAwG_I-BIa-LA8F.js → ProductsCarousel-lJBWrgjU-BK8yascI.js} +1 -1
  125. package/dist/assets/{PromoBaseCards-_Ujfaxp0-B5F6NP5z.js → PromoBaseCards-BHeLFDFF-CUDBGebi.js} +1 -1
  126. package/dist/assets/{QBOConnectionDialog-CYWm2ryd-AwpZpI98.js → QBOConnectionDialog-BfBk1GDG-CNBPmIt1.js} +1 -1
  127. package/dist/assets/{QBOSetupSection-C7X1UDAC-Dt9Gk2yj.js → QBOSetupSection-BO8FYRd_-BNdNnkk3.js} +1 -1
  128. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CRa-PKxm-AG6-Qyhk.js → ReimbursementApprovalRuleDetailPage-BScdJYcI-BcwDGLiX.js} +3 -3
  129. package/dist/assets/{ReimbursementApprovalRulesPage-DPT__VQD-Fopcb6zr.js → ReimbursementApprovalRulesPage-2-dvUngC-9CdneR5P.js} +1 -1
  130. package/dist/assets/{ReimbursementDetailPage-DMKlEFLs-Be0yezXb.js → ReimbursementDetailPage-CCBrKxup-3_3O6q1i.js} +3 -3
  131. package/dist/assets/{ReimbursementPromoPage-C9YXyEBI-B4mzU33h.js → ReimbursementPromoPage-C1DzNWh1-B5DdwXjx.js} +8 -8
  132. package/dist/assets/{ReimbursementSetUpPage-CBBl7gS1-CNTRcHmw.js → ReimbursementSetUpPage-Bs1pChM5-DTukW1Jt.js} +1 -1
  133. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-e-uHzgDg-CYMUoN9n.js → ReimbursementsBulkReviewDrawerPage-BY1ivHX0-CAH_UqYX.js} +1 -1
  134. package/dist/assets/{ReloadCard-C9idTWk--B_s6zG8-.js → ReloadCard-Ci1JfueA-BSqwcsh4.js} +1 -1
  135. package/dist/assets/{ReportTableViewSelector-BROhyU1t-Clp4JfcG.js → ReportTableViewSelector-FSUjS0tA-BBV47JJP.js} +1 -1
  136. package/dist/assets/{ReportsPage-CA3EmmZB-6ufisFrM.js → ReportsPage-2XGgGATP-cuHT_XJ3.js} +5 -5
  137. package/dist/assets/{RevenueChart-AnQ7FJT4-CPOuzQU-.js → RevenueChart-DhiHl3J4-DLO9Tjun.js} +1 -1
  138. package/dist/assets/{ReviewDetailsPage-BG4fsNht-jt9xahjR.js → ReviewDetailsPage-JfBmJL7T-C_j08e24.js} +7 -7
  139. package/dist/assets/{ReviewOverlay-BpwCrUbt-TDEW6qB3.js → ReviewOverlay-B8Quli7Z-C6JgrDgC.js} +1 -1
  140. package/dist/assets/{RoleWithToolTip-DlIcPRiy-DyibMc5_.js → RoleWithToolTip-DL78JlR8-C9xZrPOP.js} +1 -1
  141. package/dist/assets/{ScheduleDetailsFixedAssetsPage-Mp6f4ulg-Bk5UVNC6.js → ScheduleDetailsFixedAssetsPage-B-mkt12S-Dy27kfKS.js} +3 -3
  142. package/dist/assets/{ScheduleDetailsPage-Cb4aPlCE-CV9nppRa.js → ScheduleDetailsPage-BUZcySac-HBwTYcGC.js} +3 -3
  143. package/dist/assets/{ScheduleSequenceTable-B5UzjfQJ-03N0ITmH.js → ScheduleSequenceTable-CdKMmZqy-KLYGBtjp.js} +1 -1
  144. package/dist/assets/{ScreenRoutes-DZqozhB9.js → ScreenRoutes-xr8emYTZ.js} +1 -1
  145. package/dist/assets/{SetUpAccountSection-C2S4lXbj-CAP0LfIN.js → SetUpAccountSection-D1MXUm9M-aQqZDAJc.js} +1 -1
  146. package/dist/assets/{SignIn-oNZZn9gU-jOSvaxYl.js → SignIn-CPWFfFe2--e4scVLJ.js} +3 -3
  147. package/dist/assets/{SignInScreen-Bp6ZXaVa.js → SignInScreen-6Xirnvhp.js} +1 -1
  148. package/dist/assets/{SpendManagementListViewPage-DFBE2GEM-DW-9EzEA.js → SpendManagementListViewPage--cVcOp1f-CoMTuOeL.js} +3 -3
  149. package/dist/assets/{SpendManagementPerTabPage-CIu5TvHQ-D4k40EFM.js → SpendManagementPerTabPage-DPxjzKS8-DIiRlr2F.js} +1 -1
  150. package/dist/assets/{SpendManagementSection-CSAz_hUa-4308_UQx.js → SpendManagementSection-CA8SwNCI-C0bFCdBj.js} +1 -1
  151. package/dist/assets/StatementItem-UzV0xHzG-B2brulIy.js +31 -0
  152. package/dist/assets/{StatementsPage-DFebgwXz-BVi_L_en.js → StatementsPage-CksjCH5w-C3ioIgFA.js} +1 -1
  153. package/dist/assets/{StatusSwitcher-gbjjpKf_-blwYKndx.js → StatusSwitcher-BDDVmn-K-CKBwQQDa.js} +1 -1
  154. package/dist/assets/{SubTabSwitcher-BD8D4sY1-fpqHhuwu.js → SubTabSwitcher-CMsdXoCD-3-Y_8O6e.js} +1 -1
  155. package/dist/assets/{SummaryCard-Bq19bNV9-DKYjSomU.js → SummaryCard-B4km1rL_-DaunAw95.js} +1 -1
  156. package/dist/assets/{TaskManagementPage-ClNSi-hI-BjdLwuiV.js → TaskManagementPage-CDi3YMVo-CDvB9Max.js} +13 -13
  157. package/dist/assets/{TimeRangeSwitcher-XsW1b5lq-BUwlOylv.js → TimeRangeSwitcher-D1boW3u5-IM63QogJ.js} +1 -1
  158. package/dist/assets/{TimeframeSwitcher-DlG05Fns-DW5oy61t.js → TimeframeSwitcher-NWdUWC8r-DZUeY14S.js} +1 -1
  159. package/dist/assets/{TimeframeSwitcherWithToggle-Cw2jBfJA-C5LicgQR.js → TimeframeSwitcherWithToggle-BCRqmVAB-m9vI8Gjx.js} +1 -1
  160. package/dist/assets/{TopExCard-Cotaxo42-C6OYhY2j.js → TopExCard-B7nDaKGC-VBOxt-wD.js} +1 -1
  161. package/dist/assets/{TopExDetailPage-Ck80cdUY-BNScQ0tX.js → TopExDetailPage-CFC5Kzob-Dt6PLbBa.js} +8 -8
  162. package/dist/assets/{TransactionActivityLogPage-Bon4QVXv-CPYHpodJ.js → TransactionActivityLogPage-dLfey-Pj-BNo7Uj_A.js} +1 -1
  163. package/dist/assets/{TransactionDetailPage-BKA0c1Hd-5r82PbUD.js → TransactionDetailPage-DUFj8B1S-CqpGWjre.js} +1 -1
  164. package/dist/assets/{TransactionList-C9w_immd-BFAqJMaG.js → TransactionList-BDaoHCk7-CZl9zU4i.js} +1 -1
  165. package/dist/assets/{TransactionListBig-mbfs4KoW-DqJSotdD.js → TransactionListBig-DxOGEDcA-M4zryrQh.js} +1 -1
  166. package/dist/assets/{TransactionListPage-CDVN8trz-D3p-SyTW.js → TransactionListPage-4nFAQM97-jwJBji-c.js} +2 -2
  167. package/dist/assets/{TransactionVendorDetailPage-D-bYPAE2-DiXU5QmX.js → TransactionVendorDetailPage-CliQXg5L-DI9_qo0u.js} +1 -1
  168. package/dist/assets/{TransferDrawerPage-Cb8Cno-i-BV59_FYU.js → TransferDrawerPage-kbzn1dkx-Bopm8vbU.js} +12 -12
  169. package/dist/assets/{TreasuryOverviewPage-r5eF6ebA-B8UmS0v_.js → TreasuryOverviewPage-j8Dtk2Q8-C0BtbFG5.js} +1 -1
  170. package/dist/assets/{TreasuryPromoPage--nM87_OU-DJkqTPsx.js → TreasuryPromoPage-BlgxNE0U-Cc6ztZJc.js} +1 -1
  171. package/dist/assets/TreasuryStatementsPage-Bd70Y2Yv-CYfFBpB9.js +58 -0
  172. package/dist/assets/{TreasuryTaxLetterPage-Crb8ZsUA-CESDg07X.js → TreasuryTaxLetterPage-DL4GDdXJ-xlICR3P4.js} +1 -1
  173. package/dist/assets/{TrendChart-DBg9hdMq-BJpEmGdE.js → TrendChart-BS6VOoj_-CKe3PY8I.js} +1 -1
  174. package/dist/assets/{TrendWithTransactions-CDquHlvk-CpyVD4zc.js → TrendWithTransactions-DMAMnr7F-DxwunSwM.js} +3 -3
  175. package/dist/assets/{UncategorizedAccountsMappingPage-Cc2EZVpr-DEwnfnNT.js → UncategorizedAccountsMappingPage-stLOvAUg-CCLPL_ED.js} +2 -2
  176. package/dist/assets/{UnitIntegrationPage-GCYR9P3Y-DHB4YTTk.js → UnitIntegrationPage-D39cXlRw-oxayfQbY.js} +1 -1
  177. package/dist/assets/{UploadAdditionalDocumentOverlay-CIJFtDiF-DsNArDE8.js → UploadAdditionalDocumentOverlay-BmiNa89K-BeqcSbMb.js} +1 -1
  178. package/dist/assets/{Vendor2FAPopup-BZ6s889G-DRTQiJJz.js → Vendor2FAPopup-Cn7Bst-t-DCAkAnX8.js} +1 -1
  179. package/dist/assets/VendorACHDetailsPage-yJs4pSeb-B9thwaoC.js +1 -0
  180. package/dist/assets/{VendorDetailPage-DvxkejeN-W7dvlk80.js → VendorDetailPage-Ck26EgtS-BHR4p4Il.js} +6 -6
  181. package/dist/assets/{VendorDomesticWireDetailsPage-C4SquKOu-fjlVrlLV.js → VendorDomesticWireDetailsPage-BZatg69M-B9cR7gr6.js} +1 -1
  182. package/dist/assets/{VendorFiling1099EditablePage-BJAlB2r3-GMTfNd1_.js → VendorFiling1099EditablePage-PYVQaWMk-G5giJg88.js} +1 -1
  183. package/dist/assets/{VendorFirstReviewPage-DHT9QMul-v-700rhU.js → VendorFirstReviewPage-hKEEnsZq-9lysxVz-.js} +1 -1
  184. package/dist/assets/{VendorInternationalWireDetailsPage-Cum0w1AM-CVUa5t1j.js → VendorInternationalWireDetailsPage-qv2qL6Xn-Bc91C8bc.js} +1 -1
  185. package/dist/assets/VendorInternationalWireSwiftDetailsPage-Co_Kax4L-bZKJbQeC.js +1 -0
  186. package/dist/assets/{VendorsAccountsSection-D135oEuw-BqGQrMXE.js → VendorsAccountsSection-BeiK6LWK-WA9vgeiE.js} +1 -1
  187. package/dist/assets/{VerifyDevice-BCCgiusC-CzG5KeEc.js → VerifyDevice-BVtSQLC2-otqudy2C.js} +1 -1
  188. package/dist/assets/{VideoPlayer-DVwDdeFR-t68lwaBp.js → VideoPlayer-DcPwSvda-DzC2R71-.js} +2 -2
  189. package/dist/assets/{VideoPopup-CrXLFmDO-BE_rpYv5.js → VideoPopup-CSSLhfoi-CGw_VFjN.js} +2 -2
  190. package/dist/assets/{WarningsDrawerPage-V2zIdzFs-Dmn7maPE.js → WarningsDrawerPage-y9CUfPu5-MeHZsL1e.js} +1 -1
  191. package/dist/assets/{ZeniAccountDetailPage-D5YNNS56-DAEAhMh6.js → ZeniAccountDetailPage-CeL_e1NL-CQdk1jRa.js} +1 -1
  192. package/dist/assets/{ZeniAccountListViewPage-RiEBDKgR-BmwI4Z_B.js → ZeniAccountListViewPage-C-rGqw9i-D_x6eTsv.js} +1 -1
  193. package/dist/assets/{ZeniAccountNavBarPieces-CoQENU6J-BeLx8CHm.js → ZeniAccountNavBarPieces-CSy5vlQ--2YMNZ3_9.js} +1 -1
  194. package/dist/assets/{ZeniAccountPromoPage-CTXqeuyX-BBu-V92K.js → ZeniAccountPromoPage-ByNyhhoa-DV36qC0Z.js} +1 -1
  195. package/dist/assets/{ZeniAccountSetupPage-thNujG4V-CERx-ItC.js → ZeniAccountSetupPage-YbvbQFzj-Byax4mz5.js} +1 -1
  196. package/dist/assets/{ZeniCopyright-ClH_jKKR-Cnv_kEw_.js → ZeniCopyright-D5ywJMrC-ViPTJSJz.js} +1 -1
  197. package/dist/assets/{ZeniTransferAmountSlider-D3vJ1eI8-Bb2OuJt7.js → ZeniTransferAmountSlider-CKFCKGRC-BbttVAel.js} +1 -1
  198. package/dist/assets/{add-to-wallet-DgdBD8_G-BLYF7nQu.js → add-to-wallet-DgdBD8_G-tmzUrH5h.js} +1 -1
  199. package/dist/assets/{analytics-BYwa85mC.js → analytics-BHfEcMs7.js} +1 -1
  200. package/dist/assets/{analyticsHelper-BZR67Etu.js → analyticsHelper-DMvP-IUc.js} +1 -1
  201. package/dist/assets/{analyticsHelper-V4TPBdDw-Bb6O6ByH.js → analyticsHelper-nJyKiOwQ-BPlvzeT_.js} +1 -1
  202. package/dist/assets/{arrow-south-east-round-PEovUgvH-BmBVkHzO.js → arrow-south-east-round-PEovUgvH-DopNMSVs.js} +1 -1
  203. package/dist/assets/{auto-transfer-rule-mbafm5D3-Bracjtzh.js → auto-transfer-rule-mbafm5D3-5qZZD7bQ.js} +1 -1
  204. package/dist/assets/{chartTypes-iDEZ4YBi-DN0XMgOK.js → chartTypes-BKexR59e-C3ztmi9f.js} +1 -1
  205. package/dist/assets/{commonDimensions-Bu6zjJKF-Cmgw7sLn.js → commonDimensions-Upfg-PB1-DEuX-eDL.js} +1 -1
  206. package/dist/assets/{constants-8rWTGONW.js → constants-CHbK5IhN.js} +1 -1
  207. package/dist/assets/{core-CfLdY-k_.js → core-BZCxWmUX.js} +1 -1
  208. package/dist/assets/{dash.all.min-ys86X-gR.js → dash.all.min-DcxeahhE.js} +1 -1
  209. package/dist/assets/{detailCommon-BWEpXOUF-Ba4eHIVL.js → detailCommon-_wEL82NI-n1evVXdx.js} +5 -5
  210. package/dist/assets/{downloadPdf-DJF-2ZO0-DSsBKjnk.js → downloadPdf-CMFOff-_-mnN6dDox.js} +1 -1
  211. package/dist/assets/{empty-CciSeb90.js → empty-D_f2XL7V.js} +1 -1
  212. package/dist/assets/{empty-fpeXeVte.js → empty-DcJQLvC7.js} +1 -1
  213. package/dist/assets/{epic-CW7So-k4.js → epic-NTdWJzAE.js} +1 -1
  214. package/dist/assets/{gift-box-Cmt9OgIZ-CwAkBnJ5.js → gift-box-Cmt9OgIZ-wauDJyqU.js} +1 -1
  215. package/dist/assets/{graphic-no-data-l-DU4J8fDt-Dz4YrOvs.js → graphic-no-data-l-DU4J8fDt-Co-mMaRI.js} +1 -1
  216. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-C-C13G7Y.js → graphic-no-data-net-burn-l-CzmycA0m-_WUrjzng.js} +1 -1
  217. package/dist/assets/{handshake-BPg58FML-Cv-IXUBG.js → handshake-BPg58FML-Bh6G4KIp.js} +1 -1
  218. package/dist/assets/{index-GTrrlN3l.js → index-B7HaXBI4.js} +1 -1
  219. package/dist/assets/{index-iEQQZg-l.js → index-BCLGLn5P.js} +1 -1
  220. package/dist/assets/{index-COvv8Pxo.js → index-BTb8ckWv.js} +1 -1
  221. package/dist/assets/{index-DbTr8RS2.js → index-C9eCTMJr.js} +1 -1
  222. package/dist/assets/{index-G4udIFQJ.js → index-CRjLU1CH.js} +7 -7
  223. package/dist/assets/{index-BOJ4i6pP.js → index-DC2hxKgC.js} +1 -1
  224. package/dist/assets/{index-Dx0tKDNt.js → index-Dkkbximi.js} +1 -1
  225. package/dist/assets/{lexical-C2hQPjBk.js → lexical-D8AhEV3-.js} +1 -1
  226. package/dist/assets/{liveblocks-CV4wYZBt.js → liveblocks-B2F837W5.js} +1 -1
  227. package/dist/assets/{lottie-Dw1I6Lqb.js → lottie-CgAPdzgC.js} +1 -1
  228. package/dist/assets/mapLoadingInProgressToTreeNode-ll9NZ-I4-DPPDlmzF.js +1 -0
  229. package/dist/assets/mapSectionWithAcOnlyToTreeNode-DcevOSiz-8lx_NTel.js +1 -0
  230. package/dist/assets/mapSpacerToTreeNode-6Qxn340N-B6QTlyVL.js +1 -0
  231. package/dist/assets/mapTimeframeBalancesToTreeNode-BlKa4mAP-BPPLb2wN.js +1 -0
  232. package/dist/assets/mapTimeframeBalancesToTreeNode-tYVPqkGh-BzVS1eS7.js +1 -0
  233. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-C92aroSy-BbZlxdu4.js +1 -0
  234. package/dist/assets/{mui-BDpZEDd-.js → mui-G_qoHHKo.js} +1 -1
  235. package/dist/assets/{page-detail-CWX5S47F-CTwIKCV4.js → page-detail-CWX5S47F-x7w6wNJZ.js} +1 -1
  236. package/dist/assets/{panelSelectedMixin-CzfD5-Zs-Q8m7K4oN.js → panelSelectedMixin-CzfD5-Zs-BuQ6-IQv.js} +1 -1
  237. package/dist/assets/{radio-default-CiSgisfh-qVtSp8qo.js → radio-default-CiSgisfh-Bpmj0_HZ.js} +1 -1
  238. package/dist/assets/{react-DK7JNpa7.js → react-BVN7d4k7.js} +1 -1
  239. package/dist/assets/{react-BNl8kpdF.js → react-Bz8KihG8.js} +2 -2
  240. package/dist/assets/{react-CkHlLfE6.js → react-C-Nzpwqb.js} +1 -1
  241. package/dist/assets/{react-yJFMdFvX.js → react-CQCeOVHy.js} +1 -1
  242. package/dist/assets/{react-DJZvoDtL.js → react-CgU7dLsF.js} +1 -1
  243. package/dist/assets/{react-MOWQVBSu.js → react-D3qPI2I1.js} +1 -1
  244. package/dist/assets/{react-E_zI_4NR.js → react-DY87wnXm.js} +1 -1
  245. package/dist/assets/{react-De2kZE9C.js → react-Hh8LA1NH.js} +1 -1
  246. package/dist/assets/{recharts-B3SHU5RU.js → recharts-CCryt90F.js} +1 -1
  247. package/dist/assets/{sentry-CTrMrBL8.js → sentry-DZdy1Eny.js} +1 -1
  248. package/dist/assets/{shield-DOlUxcFf-Clyc-usU.js → shield-DOlUxcFf-DEYalkml.js} +1 -1
  249. package/dist/assets/toCOABalancesWithID-DtqUradx-lEoCPU_e.js +1 -0
  250. package/dist/assets/{toChartData-DyjTCJsY-BV_CW89N.js → toChartData-BpfWXnJ--DBwlURkd.js} +1 -1
  251. package/dist/assets/{uploadAttachment-BJcS1oZv-BlzuzU5y.js → uploadAttachment-ukKU1LbX-DZ3cul8l.js} +1 -1
  252. package/dist/assets/{uploadReceipts-Dge0cNF1-DwGGi1Mb.js → uploadReceipts-Dge0cNF1-9xq6mF3E.js} +1 -1
  253. package/dist/assets/{url-BvOH_ymq.js → url-D90t3YD5.js} +1 -1
  254. package/dist/assets/{url-DzlbkY_h.js → url-T01FJj_Y.js} +1 -1
  255. package/dist/assets/{useLongPress-GCK2COYQ-ClJp7PXk.js → useLongPress-GCK2COYQ-gOO9DxKL.js} +1 -1
  256. package/dist/assets/{usp-line-BBd1wKwW-Cmb4LI5b.js → usp-line-BBd1wKwW-gP2BLOgz.js} +1 -1
  257. package/dist/assets/{utils-yHZwLkmM.js → utils-D8ZC_tPv.js} +1 -1
  258. package/dist/assets/{zeni-epic-state-B_64dD7k.js → zeni-epic-state-BlmgKn3B.js} +3 -3
  259. package/dist/index.html +1 -1
  260. package/package.json +2 -2
  261. package/dist/assets/AccountInfoPage-CoX9n6HX-p3uYXGev.js +0 -18
  262. package/dist/assets/CustomerOnboardingContainerPage-CbrKONhr-DigJVWOp.js +0 -1
  263. package/dist/assets/CustomerOnboardingProductSuitePage-Cp5U5QLX-CDEs2CEb.js +0 -202
  264. package/dist/assets/DepositAccTransactionListPage-K0UYTv8s-C0ae1fDB.js +0 -66
  265. package/dist/assets/EntityDetailPage-DJ-NoWZp-DgLIseeW.js +0 -18
  266. package/dist/assets/MagicLinkACHDetailsPage-JBFVxuf2-41i2YISt.js +0 -1
  267. package/dist/assets/MagicLinkDomesticWireDetailsPage-C5tXo9Yb-CbIfw0V1.js +0 -1
  268. package/dist/assets/MagicLinkInternationalWireDetailsPage-C_NjCMJZ-CLmGKxgW.js +0 -1
  269. package/dist/assets/StatementItem-DYoVBRQy-u4Af9dX-.js +0 -31
  270. package/dist/assets/TreasuryStatementsPage-Bw9Kj_ei-RQA3kjvP.js +0 -58
  271. package/dist/assets/VendorACHDetailsPage-Cc6vosJI-BD02tozk.js +0 -1
  272. package/dist/assets/VendorInternationalWireSwiftDetailsPage-DvbkBLLf-HNLqOeTe.js +0 -1
  273. package/dist/assets/mapLoadingInProgressToTreeNode-DvNHg91V-BJg2RI-I.js +0 -1
  274. package/dist/assets/mapSectionWithAcOnlyToTreeNode-CWsheP6j-CsU13hiG.js +0 -1
  275. package/dist/assets/mapSpacerToTreeNode-BZH4EyFQ-whX8MxcC.js +0 -1
  276. package/dist/assets/mapTimeframeBalancesToTreeNode-BFTqwysj-BjpsD5BT.js +0 -1
  277. package/dist/assets/mapTimeframeBalancesToTreeNode-CHzQagq--CVUzW0Vh.js +0 -1
  278. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-BEUrDFPW-hJlLof7c.js +0 -1
  279. package/dist/assets/toCOABalancesWithID-BaWPQdax-C8KA3Ete.js +0 -1
@@ -1,4 +1,4 @@
1
- import{Q as Y,fT as H,e as ee,a9 as te,u as f,V as d,gP as le,ac as ne,aP as oe,aR as se,o as re,y as D,cB as Q,fW as Z,fX as N,fY as V,F as ie,c as ae}from"./index-G4udIFQJ.js";import{a as x}from"./sentry-CTrMrBL8.js";import{n as F}from"./mui-BDpZEDd-.js";import{FF as de,bg as ce}from"./zeni-epic-state-B_64dD7k.js";import{f as ue}from"./AllUserItems-CCPAoEp2-BwqbSPl8.js";import"./liveblocks-CV4wYZBt.js";import"./core-CfLdY-k_.js";import"./recharts-B3SHU5RU.js";import"./lottie-Dw1I6Lqb.js";import"./analytics-BYwa85mC.js";import"./lexical-C2hQPjBk.js";import"./utils-yHZwLkmM.js";import"./LabeledUserSingleSelectWithSubtitlesField-oGpbhfZl-DLZXxYbx.js";import"./RoleWithToolTip-DlIcPRiy-DyibMc5_.js";import"./LabeledZeniRolesDropDownField-WBaP6NAK-DzjNxVxd.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]="26d52264-86ca-4a0e-9f1f-9d641d211b3b",e._sentryDebugIdIdentifier="sentry-dbid-26d52264-86ca-4a0e-9f1f-9d641d211b3b")}catch{}})();const z={containerPaddingLeft:new D(f[3],f[6],f[8]),containerPaddingRight:new D(f[3],f[6],f[8]),buttonWidth:new D(85,85)},q="editPeoplePage",I="userItems",p=ie.getLocalizedStrings().peoplePage,Oe=({peopleDetails:e,managersList:t,classList:g,controllersList:L,mode:o,isZeniTenant:P,onPeopleLocalDataUpdated:T,onCloseClick:_,onSaveClick:r,isReimbursementDisabled:$,isZeniAccountsDisabled:s,isChargeCardDisabled:k,isTreasuryDisabled:E,isBankingOnlyTenant:R,isCardsOnlyTenant:w,isLiteRoleDisabled:B})=>{const c=Y(),[W,G]=x.useState(-1),[U,O]=x.useState(""),j=x.useRef(null),S=x.useMemo(()=>H($,s,k,R,w,B,E),[$,s,k,R,w,B,E]),J=ee(),i=te({mode:"onBlur",reValidateMode:"onChange",defaultValues:A(e.people,o,S,t,g,R,w),values:A(e.people,o,S,t,g,R,w)}),K=i.handleSubmit(()=>{M()?r():console.warn("Invite People form error")}),M=()=>{const l=i.getValues();let n=!0;return l.userItems.forEach((v,C)=>{const{role:a,nonZeniRole:y,department:u,manager:m}=v;if(o==="zeni_only")a?.selectedOptions==null&&(i.setError(`${I}.${C}.role`,{type:"required"}),n=!1);else{const b=y?.userRole.selectedRole;(b!=null&&y!=null?y.productsByUserRole[b].map(h=>h.selectedOption).filter(h=>h!=null):[]).length<1&&(i.setError(`${I}.${C}.nonZeniRole.userRole.selectedRole`,{type:"required"}),n=!1),u?.selectedOption==null&&b!=="investor_or_banker"&&!R&&!w&&(i.setError(`${I}.${C}.department`,{type:"required"}),n=!1),m?.selectedUser==null&&b!=="investor_or_banker"&&(i.setError(`${I}.${C}.manager`,{type:"required"}),n=!1)}}),n},X=async(l,n)=>{const v=[],{userItems:C}=n;C.forEach(a=>{let y={};if(o==="zeni_only")y={email:a.email,role:[a.role?.selectedOptions]};else{const u=a.nonZeniRole?.userRole.selectedRole;let m=[];u==="admin"||u==="investor_or_banker"?m.push(u):m=u!=null?(a.nonZeniRole?.productsByUserRole[u]??[]).map(h=>de(h.selectedOption?.value)).filter(h=>h!=null):[],u==="employee"&&m.length===0&&(m=["reimbursements_user"]);const b=ce(m);y={email:a.email,role:m,departmentId:b?void 0:a.department?.selectedOption?.value,managerId:b?void 0:a.manager?.selectedUser}}v.push(y)}),T(v)};return x.useEffect(()=>{const l=i.watch((n,{name:v})=>{v!=null&&n!=null&&X(v,n)});return()=>{l.unsubscribe()}}),x.useEffect(()=>{const l=j.current,n=()=>{c!=="small"&&(l&&l?.scrollTop>f[9]?O(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):O(""))};return c==="small"?O(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):l&&l?.scrollTop<=f[9]&&O(""),l&&l.addEventListener("scroll",n),()=>{l&&l.removeEventListener("scroll",n)}},[o,U,c]),d.jsxs(d.Fragment,{children:[d.jsx(le,{title:U,backgroundColor:J.colors.grey4,style:{zIndex:4},onCloseClick:_,isTitleAlignLeft:c==="small"}),d.jsxs(me,{"data-testid":oe("invite-people-container"),windowSize:c,ref:j,children:[c!=="small"?d.jsx(pe,{children:o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title}):null,d.jsx(ne,{...i,children:d.jsx("form",{id:`${q}_form`,onSubmit:K,children:d.jsx(ue,{control:i.control,sectionId:I,deleteConfirmationIndex:W,updateDeleteConfirmationIndex:G,mode:o,isZeniTenant:P,classList:g,managersList:t,controllersList:L,isBankingOnlyTenant:R,isCardsOnlyTenant:w,customerRoleOptions:S,isEdit:!1})})})]}),d.jsx(se,{formId:`${q}_form`,primaryBtn:{label:p.invitePage.invite,style:{width:z.buttonWidth.value(c)},isLoading:e.invitePersonState.fetchState==="In-Progress",isDisabled:e.invitePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:p.invitePage.cancel,style:{width:z.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:_},separatorStyle:{marginRight:re.sp4}})]})},A=(e,t,g,L,o,P,T)=>{const _=[{userIndex:0,email:[],role:t==="zeni_only"?{allOptions:Q.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:e[0]?.role.length>0?V(e[0].role):void 0,allRootRole:N(P,T)},productsByUserRole:Z(e[0]?.role??[],g)}:void 0,department:void 0,manager:void 0}];return{[I]:e.length>0?e.map((r,$)=>({userIndex:$,email:r.email,role:t==="zeni_only"?{allOptions:Q.roles,selectedOptions:r.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:r.role.length>0?V(r.role):void 0,allRootRole:N(P,T)},productsByUserRole:Z(r.role,g)}:void 0,department:{allOptions:o.map(s=>({label:s.fullyQualifiedAccountingClassName??"",value:s.classId,hoverText:s.accountingClassNumber})),selectedOption:o.map(s=>({label:s.fullyQualifiedAccountingClassName??"",value:s.classId,hoverText:s.accountingClassNumber})).find(s=>s.value===r.departmentId)},manager:{allUsers:L,selectedUser:r.managerId}})):_}},ze=(e,t)=>`${e}.${t}`,me=F.div`
1
+ import{Q as Y,fT as H,e as ee,a9 as te,u as f,V as d,gP as le,ac as ne,aP as oe,aR as se,o as re,y as D,cB as Q,fW as Z,fX as N,fY as V,F as ie,c as ae}from"./index-CRjLU1CH.js";import{a as x}from"./sentry-DZdy1Eny.js";import{n as F}from"./mui-G_qoHHKo.js";import{FF as de,bg as ce}from"./zeni-epic-state-BlmgKn3B.js";import{f as ue}from"./AllUserItems-DWLkEF2p-CkywmjZG.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.js";import"./LabeledUserSingleSelectWithSubtitlesField-CcmaUIGJ-pvqY6PVS.js";import"./RoleWithToolTip-DL78JlR8-C9xZrPOP.js";import"./LabeledZeniRolesDropDownField-k0YihYN--DD97S2fG.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]="6aa8cf92-e090-4f1a-bb10-08dc2d560fe5",e._sentryDebugIdIdentifier="sentry-dbid-6aa8cf92-e090-4f1a-bb10-08dc2d560fe5")}catch{}})();const z={containerPaddingLeft:new D(f[3],f[6],f[8]),containerPaddingRight:new D(f[3],f[6],f[8]),buttonWidth:new D(85,85)},q="editPeoplePage",I="userItems",p=ie.getLocalizedStrings().peoplePage,Oe=({peopleDetails:e,managersList:t,classList:g,controllersList:L,mode:o,isZeniTenant:P,onPeopleLocalDataUpdated:T,onCloseClick:_,onSaveClick:r,isReimbursementDisabled:$,isZeniAccountsDisabled:s,isChargeCardDisabled:k,isTreasuryDisabled:E,isBankingOnlyTenant:R,isCardsOnlyTenant:w,isLiteRoleDisabled:B})=>{const c=Y(),[W,G]=x.useState(-1),[U,O]=x.useState(""),j=x.useRef(null),S=x.useMemo(()=>H($,s,k,R,w,B,E),[$,s,k,R,w,B,E]),J=ee(),i=te({mode:"onBlur",reValidateMode:"onChange",defaultValues:A(e.people,o,S,t,g,R,w),values:A(e.people,o,S,t,g,R,w)}),K=i.handleSubmit(()=>{M()?r():console.warn("Invite People form error")}),M=()=>{const l=i.getValues();let n=!0;return l.userItems.forEach((v,C)=>{const{role:a,nonZeniRole:y,department:u,manager:m}=v;if(o==="zeni_only")a?.selectedOptions==null&&(i.setError(`${I}.${C}.role`,{type:"required"}),n=!1);else{const b=y?.userRole.selectedRole;(b!=null&&y!=null?y.productsByUserRole[b].map(h=>h.selectedOption).filter(h=>h!=null):[]).length<1&&(i.setError(`${I}.${C}.nonZeniRole.userRole.selectedRole`,{type:"required"}),n=!1),u?.selectedOption==null&&b!=="investor_or_banker"&&!R&&!w&&(i.setError(`${I}.${C}.department`,{type:"required"}),n=!1),m?.selectedUser==null&&b!=="investor_or_banker"&&(i.setError(`${I}.${C}.manager`,{type:"required"}),n=!1)}}),n},X=async(l,n)=>{const v=[],{userItems:C}=n;C.forEach(a=>{let y={};if(o==="zeni_only")y={email:a.email,role:[a.role?.selectedOptions]};else{const u=a.nonZeniRole?.userRole.selectedRole;let m=[];u==="admin"||u==="investor_or_banker"?m.push(u):m=u!=null?(a.nonZeniRole?.productsByUserRole[u]??[]).map(h=>de(h.selectedOption?.value)).filter(h=>h!=null):[],u==="employee"&&m.length===0&&(m=["reimbursements_user"]);const b=ce(m);y={email:a.email,role:m,departmentId:b?void 0:a.department?.selectedOption?.value,managerId:b?void 0:a.manager?.selectedUser}}v.push(y)}),T(v)};return x.useEffect(()=>{const l=i.watch((n,{name:v})=>{v!=null&&n!=null&&X(v,n)});return()=>{l.unsubscribe()}}),x.useEffect(()=>{const l=j.current,n=()=>{c!=="small"&&(l&&l?.scrollTop>f[9]?O(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):O(""))};return c==="small"?O(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):l&&l?.scrollTop<=f[9]&&O(""),l&&l.addEventListener("scroll",n),()=>{l&&l.removeEventListener("scroll",n)}},[o,U,c]),d.jsxs(d.Fragment,{children:[d.jsx(le,{title:U,backgroundColor:J.colors.grey4,style:{zIndex:4},onCloseClick:_,isTitleAlignLeft:c==="small"}),d.jsxs(me,{"data-testid":oe("invite-people-container"),windowSize:c,ref:j,children:[c!=="small"?d.jsx(pe,{children:o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title}):null,d.jsx(ne,{...i,children:d.jsx("form",{id:`${q}_form`,onSubmit:K,children:d.jsx(ue,{control:i.control,sectionId:I,deleteConfirmationIndex:W,updateDeleteConfirmationIndex:G,mode:o,isZeniTenant:P,classList:g,managersList:t,controllersList:L,isBankingOnlyTenant:R,isCardsOnlyTenant:w,customerRoleOptions:S,isEdit:!1})})})]}),d.jsx(se,{formId:`${q}_form`,primaryBtn:{label:p.invitePage.invite,style:{width:z.buttonWidth.value(c)},isLoading:e.invitePersonState.fetchState==="In-Progress",isDisabled:e.invitePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:p.invitePage.cancel,style:{width:z.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:_},separatorStyle:{marginRight:re.sp4}})]})},A=(e,t,g,L,o,P,T)=>{const _=[{userIndex:0,email:[],role:t==="zeni_only"?{allOptions:Q.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:e[0]?.role.length>0?V(e[0].role):void 0,allRootRole:N(P,T)},productsByUserRole:Z(e[0]?.role??[],g)}:void 0,department:void 0,manager:void 0}];return{[I]:e.length>0?e.map((r,$)=>({userIndex:$,email:r.email,role:t==="zeni_only"?{allOptions:Q.roles,selectedOptions:r.role}:void 0,nonZeniRole:t==="off"?{userRole:{selectedRole:r.role.length>0?V(r.role):void 0,allRootRole:N(P,T)},productsByUserRole:Z(r.role,g)}:void 0,department:{allOptions:o.map(s=>({label:s.fullyQualifiedAccountingClassName??"",value:s.classId,hoverText:s.accountingClassNumber})),selectedOption:o.map(s=>({label:s.fullyQualifiedAccountingClassName??"",value:s.classId,hoverText:s.accountingClassNumber})).find(s=>s.value===r.departmentId)},manager:{allUsers:L,selectedUser:r.managerId}})):_}},ze=(e,t)=>`${e}.${t}`,me=F.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  background-color: ${e=>e.theme.colors.grey4};
@@ -1,4 +1,4 @@
1
- import{e as se,Q as de,F as q,V as l,T as J,o,p as d,y as B,gz as Le,gA as Be,aP as K,cp as Ee,cq as je,cr as ze,as as Te,b9 as ce,u as C,b as ie,a as Ae,d as Pe,ai as pe,gB as He}from"./index-G4udIFQJ.js";import{a as t}from"./sentry-CTrMrBL8.js";import{n as i}from"./mui-BDpZEDd-.js";import Re from"./AttachmentView-NA4ajEO5-DR9_uEKC.js";import{l as Me}from"./uploadReceipts-Dge0cNF1-DwGGi1Mb.js";import"./liveblocks-CV4wYZBt.js";import"./core-CfLdY-k_.js";import"./recharts-B3SHU5RU.js";import"./zeni-epic-state-B_64dD7k.js";import"./lottie-Dw1I6Lqb.js";import"./analytics-BYwa85mC.js";import"./lexical-C2hQPjBk.js";import"./utils-yHZwLkmM.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},x=new e.Error().stack;x&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[x]="8bafe647-df0e-4b42-b52b-a7460e2e4811",e._sentryDebugIdIdentifier="sentry-dbid-8bafe647-df0e-4b42-b52b-a7460e2e4811")}catch{}})();const Ve=e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_623_1439",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_623_1439)"})),t.createElement("g",{mask:"url(#mask0_623_1439)"},t.createElement("path",{d:"M24.4551 10.7549C24.8693 10.7549 25.2051 11.0907 25.2051 11.5049V13.6938L28.3834 13.6938C28.7976 13.6938 29.1334 14.0296 29.1334 14.4438C29.1334 14.8581 28.7976 15.1938 28.3834 15.1938H22.4209C21.6794 15.1944 20.9613 15.4529 20.3896 15.925C19.8179 16.3972 19.4282 17.0536 19.2875 17.7816C19.1468 18.5096 19.2638 19.264 19.6184 19.9152C19.973 20.5662 20.543 21.0736 21.2306 21.3505L27.2968 23.7781C28.3078 24.1849 29.1457 24.9308 29.6669 25.8878C30.1881 26.8448 30.36 27.9534 30.1532 29.0234C29.9464 30.0933 29.3738 31.058 28.5335 31.7519C27.6933 32.4458 26.6377 32.8257 25.548 32.8265H25.2051V35.0149C25.2051 35.4292 24.8693 35.7649 24.4551 35.7649C24.0409 35.7649 23.7051 35.4292 23.7051 35.0149V32.8265H19.567C19.1528 32.8265 18.817 32.4907 18.817 32.0765C18.817 31.6623 19.1528 31.3265 19.567 31.3265H24.4327C24.4401 31.3263 24.4476 31.3262 24.4551 31.3262C24.4626 31.3262 24.47 31.3263 24.4775 31.3265H25.5469C26.2884 31.326 27.0066 31.0675 27.5784 30.5953C28.1501 30.1232 28.5398 29.4668 28.6805 28.7387C28.8212 28.0107 28.7042 27.2564 28.3496 26.6052C27.9951 25.9543 27.4253 25.4469 26.7378 25.1701L26.7369 25.1697L20.6712 22.7422C19.6602 22.3355 18.8223 21.5896 18.3011 20.6325C17.7799 19.6755 17.608 18.5669 17.8148 17.497C18.0216 16.427 18.5942 15.4624 19.4345 14.7684C20.2748 14.0745 21.3308 13.6946 22.4206 13.6938H23.7051V11.5049C23.7051 11.0907 24.0409 10.7549 24.4551 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 42.2959C17.7295 41.8817 18.0653 41.5459 18.4795 41.5459H42.5621C42.9763 41.5459 43.3121 41.8817 43.3121 42.2959C43.3121 42.7101 42.9763 43.0459 42.5621 43.0459H18.4795C18.0653 43.0459 17.7295 42.7101 17.7295 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 52.2962C17.7295 51.882 18.0653 51.5462 18.4795 51.5462L40.7106 51.5461C41.1248 51.5461 41.4606 51.8819 41.4606 52.2961C41.4606 52.7104 41.1248 53.0461 40.7106 53.0461L18.4795 53.0462C18.0653 53.0462 17.7295 52.7104 17.7295 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7295 31.9541C37.7295 31.5399 38.0653 31.2041 38.4795 31.2041H48.1263C48.5406 31.2041 48.8763 31.5399 48.8763 31.9541C48.8763 32.3683 48.5406 32.7041 48.1263 32.7041H38.4795C38.0653 32.7041 37.7295 32.3683 37.7295 31.9541Z",fill:"#A6B0B1"})),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5502 49.191C55.6639 49.0732 55.8234 49 56 49C56 49 56 49 56 49C56.0071 49 56.0143 49.0001 56.0214 49.0004C56.1742 49.0055 56.3254 49.0664 56.4421 49.1831L61.0135 53.7545C61.2576 53.9986 61.2576 54.3943 61.0135 54.6384C60.7694 54.8824 60.3737 54.8824 60.1296 54.6384L56.625 51.1337V60.7976C56.625 61.1427 56.3452 61.4226 56 61.4226C55.6548 61.4226 55.375 61.1427 55.375 60.7976V51.134L51.8707 54.6384C51.6266 54.8824 51.2308 54.8824 50.9868 54.6384C50.7427 54.3943 50.7427 53.9986 50.9868 53.7545L55.5502 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_623_1439",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),_e=e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_836_6609",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_836_6609)"})),t.createElement("g",{mask:"url(#mask0_836_6609)"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 18.25C5.41421 18.25 5.75 18.5858 5.75 19V61C5.75 63.8995 8.10051 66.25 11 66.25H35C35.4142 66.25 35.75 66.5858 35.75 67C35.75 67.4142 35.4142 67.75 35 67.75H11C7.27208 67.75 4.25 64.7279 4.25 61V19C4.25 18.5858 4.58579 18.25 5 18.25Z",fill:"#A6B0B1"}),t.createElement("path",{d:"M24.4561 10.7549C24.8703 10.7549 25.2061 11.0907 25.2061 11.5049V13.6938L28.3843 13.6938C28.7985 13.6938 29.1343 14.0296 29.1343 14.4438C29.1343 14.8581 28.7985 15.1938 28.3843 15.1938H22.4218C21.6804 15.1944 20.9623 15.4529 20.3906 15.925C19.8189 16.3972 19.4292 17.0536 19.2885 17.7816C19.1478 18.5096 19.2648 19.264 19.6194 19.9152C19.974 20.5662 20.5439 21.0736 21.2316 21.3505L27.2978 23.7781C28.3087 24.1849 29.1467 24.9308 29.6679 25.8878C30.1891 26.8448 30.361 27.9534 30.1542 29.0234C29.9474 30.0933 29.3748 31.058 28.5345 31.7519C27.6942 32.4458 26.6387 32.8257 25.5489 32.8265H25.2061V35.0149C25.2061 35.4292 24.8703 35.7649 24.4561 35.7649C24.0418 35.7649 23.7061 35.4292 23.7061 35.0149V32.8265H19.568C19.1538 32.8265 18.818 32.4907 18.818 32.0765C18.818 31.6623 19.1538 31.3265 19.568 31.3265H24.4337C24.4411 31.3263 24.4486 31.3262 24.4561 31.3262C24.4635 31.3262 24.471 31.3263 24.4785 31.3265H25.5479C26.2894 31.326 27.0076 31.0675 27.5794 30.5953C28.1511 30.1232 28.5408 29.4668 28.6815 28.7387C28.8222 28.0107 28.7052 27.2564 28.3506 26.6052C27.9961 25.9543 27.4263 25.4469 26.7388 25.1701L26.7378 25.1697L20.6722 22.7422C19.6612 22.3355 18.8233 21.5896 18.3021 20.6325C17.7809 19.6755 17.609 18.5669 17.8158 17.497C18.0226 16.427 18.5952 15.4624 19.4355 14.7684C20.2757 14.0745 21.3318 13.6946 22.4216 13.6938H23.7061V11.5049C23.7061 11.0907 24.0418 10.7549 24.4561 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7305 42.2959C17.7305 41.8817 18.0663 41.5459 18.4805 41.5459H42.5631C42.9773 41.5459 43.3131 41.8817 43.3131 42.2959C43.3131 42.7101 42.9773 43.0459 42.5631 43.0459H18.4805C18.0663 43.0459 17.7305 42.7101 17.7305 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7305 52.2962C17.7305 51.882 18.0663 51.5462 18.4805 51.5462L40.7116 51.5461C41.1258 51.5461 41.4616 51.8819 41.4616 52.2961C41.4616 52.7104 41.1258 53.0461 40.7116 53.0461L18.4805 53.0462C18.0663 53.0462 17.7305 52.7104 17.7305 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7305 31.9541C37.7305 31.5399 38.0663 31.2041 38.4805 31.2041H48.1273C48.5415 31.2041 48.8773 31.5399 48.8773 31.9541C48.8773 32.3683 48.5415 32.7041 48.1273 32.7041H38.4805C38.0663 32.7041 37.7305 32.3683 37.7305 31.9541Z",fill:"#A6B0B1"})),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5512 49.191C55.6649 49.0732 55.8244 49 56.001 49C56.001 49 56.001 49 56.001 49C56.0081 49 56.0153 49.0001 56.0224 49.0004C56.1752 49.0055 56.3264 49.0664 56.4431 49.1831L61.0145 53.7545C61.2586 53.9986 61.2586 54.3943 61.0145 54.6384C60.7704 54.8824 60.3747 54.8824 60.1306 54.6384L56.626 51.1337V60.7976C56.626 61.1427 56.3462 61.4226 56.001 61.4226C55.6558 61.4226 55.376 61.1427 55.376 60.7976V51.134L51.8716 54.6384C51.6276 54.8824 51.2318 54.8824 50.9877 54.6384C50.7437 54.3943 50.7437 53.9986 50.9877 53.7545L55.5512 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_836_6609",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),Ie=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M15.4931 3.87109H11.4776C10.5275 3.89973 9.62765 4.30445 8.97582 4.99631C8.324 5.68817 7.97357 6.61054 8.00156 7.56068C7.99312 8.23377 8.16758 8.89652 8.50634 9.47821C8.84509 10.0599 9.33542 10.5387 9.92501 10.8635L13.5771 12.8038C14.1642 13.1295 14.6523 13.6079 14.9896 14.1884C15.3269 14.7688 15.5009 15.4297 15.4931 16.101C15.5211 17.0505 15.1712 17.9724 14.5202 18.6641C13.8691 19.3559 12.9702 19.761 12.0208 19.7906H8.00156",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.2829 19.7908V22.6001",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.1558 1V3.87113",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),g={memoPaddingTopBottomRight:new B(12,C[3]),billReceiptSize:new B(60,C[10]),rootContainerPaddingTop:new B(C[3],62),rootContainerPaddingRight:new B(C[3],C[6]),rootContainerPaddingBottom:new B(C[5],C[9]),rootContainerPaddingLeft:new B(C[3],C[8])},re=i(Ae)`
1
+ import{e as se,Q as de,F as q,V as l,T as J,o,p as d,y as B,gz as Le,gA as Be,aP as K,cp as Ee,cq as je,cr as ze,as as Te,b9 as ce,u as C,b as ie,a as Ae,d as Pe,ai as pe,gB as He}from"./index-CRjLU1CH.js";import{a as t}from"./sentry-DZdy1Eny.js";import{n as i}from"./mui-G_qoHHKo.js";import Re from"./AttachmentView-CnfHYBMC-DIj7ahn3.js";import{l as Me}from"./uploadReceipts-Dge0cNF1-9xq6mF3E.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./zeni-epic-state-BlmgKn3B.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},x=new e.Error().stack;x&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[x]="29ee4404-bce8-4cf3-921e-11c9e5f44f6c",e._sentryDebugIdIdentifier="sentry-dbid-29ee4404-bce8-4cf3-921e-11c9e5f44f6c")}catch{}})();const Ve=e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_623_1439",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_623_1439)"})),t.createElement("g",{mask:"url(#mask0_623_1439)"},t.createElement("path",{d:"M24.4551 10.7549C24.8693 10.7549 25.2051 11.0907 25.2051 11.5049V13.6938L28.3834 13.6938C28.7976 13.6938 29.1334 14.0296 29.1334 14.4438C29.1334 14.8581 28.7976 15.1938 28.3834 15.1938H22.4209C21.6794 15.1944 20.9613 15.4529 20.3896 15.925C19.8179 16.3972 19.4282 17.0536 19.2875 17.7816C19.1468 18.5096 19.2638 19.264 19.6184 19.9152C19.973 20.5662 20.543 21.0736 21.2306 21.3505L27.2968 23.7781C28.3078 24.1849 29.1457 24.9308 29.6669 25.8878C30.1881 26.8448 30.36 27.9534 30.1532 29.0234C29.9464 30.0933 29.3738 31.058 28.5335 31.7519C27.6933 32.4458 26.6377 32.8257 25.548 32.8265H25.2051V35.0149C25.2051 35.4292 24.8693 35.7649 24.4551 35.7649C24.0409 35.7649 23.7051 35.4292 23.7051 35.0149V32.8265H19.567C19.1528 32.8265 18.817 32.4907 18.817 32.0765C18.817 31.6623 19.1528 31.3265 19.567 31.3265H24.4327C24.4401 31.3263 24.4476 31.3262 24.4551 31.3262C24.4626 31.3262 24.47 31.3263 24.4775 31.3265H25.5469C26.2884 31.326 27.0066 31.0675 27.5784 30.5953C28.1501 30.1232 28.5398 29.4668 28.6805 28.7387C28.8212 28.0107 28.7042 27.2564 28.3496 26.6052C27.9951 25.9543 27.4253 25.4469 26.7378 25.1701L26.7369 25.1697L20.6712 22.7422C19.6602 22.3355 18.8223 21.5896 18.3011 20.6325C17.7799 19.6755 17.608 18.5669 17.8148 17.497C18.0216 16.427 18.5942 15.4624 19.4345 14.7684C20.2748 14.0745 21.3308 13.6946 22.4206 13.6938H23.7051V11.5049C23.7051 11.0907 24.0409 10.7549 24.4551 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 42.2959C17.7295 41.8817 18.0653 41.5459 18.4795 41.5459H42.5621C42.9763 41.5459 43.3121 41.8817 43.3121 42.2959C43.3121 42.7101 42.9763 43.0459 42.5621 43.0459H18.4795C18.0653 43.0459 17.7295 42.7101 17.7295 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 52.2962C17.7295 51.882 18.0653 51.5462 18.4795 51.5462L40.7106 51.5461C41.1248 51.5461 41.4606 51.8819 41.4606 52.2961C41.4606 52.7104 41.1248 53.0461 40.7106 53.0461L18.4795 53.0462C18.0653 53.0462 17.7295 52.7104 17.7295 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7295 31.9541C37.7295 31.5399 38.0653 31.2041 38.4795 31.2041H48.1263C48.5406 31.2041 48.8763 31.5399 48.8763 31.9541C48.8763 32.3683 48.5406 32.7041 48.1263 32.7041H38.4795C38.0653 32.7041 37.7295 32.3683 37.7295 31.9541Z",fill:"#A6B0B1"})),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5502 49.191C55.6639 49.0732 55.8234 49 56 49C56 49 56 49 56 49C56.0071 49 56.0143 49.0001 56.0214 49.0004C56.1742 49.0055 56.3254 49.0664 56.4421 49.1831L61.0135 53.7545C61.2576 53.9986 61.2576 54.3943 61.0135 54.6384C60.7694 54.8824 60.3737 54.8824 60.1296 54.6384L56.625 51.1337V60.7976C56.625 61.1427 56.3452 61.4226 56 61.4226C55.6548 61.4226 55.375 61.1427 55.375 60.7976V51.134L51.8707 54.6384C51.6266 54.8824 51.2308 54.8824 50.9868 54.6384C50.7427 54.3943 50.7427 53.9986 50.9868 53.7545L55.5502 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_623_1439",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),_e=e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_836_6609",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_836_6609)"})),t.createElement("g",{mask:"url(#mask0_836_6609)"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 18.25C5.41421 18.25 5.75 18.5858 5.75 19V61C5.75 63.8995 8.10051 66.25 11 66.25H35C35.4142 66.25 35.75 66.5858 35.75 67C35.75 67.4142 35.4142 67.75 35 67.75H11C7.27208 67.75 4.25 64.7279 4.25 61V19C4.25 18.5858 4.58579 18.25 5 18.25Z",fill:"#A6B0B1"}),t.createElement("path",{d:"M24.4561 10.7549C24.8703 10.7549 25.2061 11.0907 25.2061 11.5049V13.6938L28.3843 13.6938C28.7985 13.6938 29.1343 14.0296 29.1343 14.4438C29.1343 14.8581 28.7985 15.1938 28.3843 15.1938H22.4218C21.6804 15.1944 20.9623 15.4529 20.3906 15.925C19.8189 16.3972 19.4292 17.0536 19.2885 17.7816C19.1478 18.5096 19.2648 19.264 19.6194 19.9152C19.974 20.5662 20.5439 21.0736 21.2316 21.3505L27.2978 23.7781C28.3087 24.1849 29.1467 24.9308 29.6679 25.8878C30.1891 26.8448 30.361 27.9534 30.1542 29.0234C29.9474 30.0933 29.3748 31.058 28.5345 31.7519C27.6942 32.4458 26.6387 32.8257 25.5489 32.8265H25.2061V35.0149C25.2061 35.4292 24.8703 35.7649 24.4561 35.7649C24.0418 35.7649 23.7061 35.4292 23.7061 35.0149V32.8265H19.568C19.1538 32.8265 18.818 32.4907 18.818 32.0765C18.818 31.6623 19.1538 31.3265 19.568 31.3265H24.4337C24.4411 31.3263 24.4486 31.3262 24.4561 31.3262C24.4635 31.3262 24.471 31.3263 24.4785 31.3265H25.5479C26.2894 31.326 27.0076 31.0675 27.5794 30.5953C28.1511 30.1232 28.5408 29.4668 28.6815 28.7387C28.8222 28.0107 28.7052 27.2564 28.3506 26.6052C27.9961 25.9543 27.4263 25.4469 26.7388 25.1701L26.7378 25.1697L20.6722 22.7422C19.6612 22.3355 18.8233 21.5896 18.3021 20.6325C17.7809 19.6755 17.609 18.5669 17.8158 17.497C18.0226 16.427 18.5952 15.4624 19.4355 14.7684C20.2757 14.0745 21.3318 13.6946 22.4216 13.6938H23.7061V11.5049C23.7061 11.0907 24.0418 10.7549 24.4561 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7305 42.2959C17.7305 41.8817 18.0663 41.5459 18.4805 41.5459H42.5631C42.9773 41.5459 43.3131 41.8817 43.3131 42.2959C43.3131 42.7101 42.9773 43.0459 42.5631 43.0459H18.4805C18.0663 43.0459 17.7305 42.7101 17.7305 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7305 52.2962C17.7305 51.882 18.0663 51.5462 18.4805 51.5462L40.7116 51.5461C41.1258 51.5461 41.4616 51.8819 41.4616 52.2961C41.4616 52.7104 41.1258 53.0461 40.7116 53.0461L18.4805 53.0462C18.0663 53.0462 17.7305 52.7104 17.7305 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7305 31.9541C37.7305 31.5399 38.0663 31.2041 38.4805 31.2041H48.1273C48.5415 31.2041 48.8773 31.5399 48.8773 31.9541C48.8773 32.3683 48.5415 32.7041 48.1273 32.7041H38.4805C38.0663 32.7041 37.7305 32.3683 37.7305 31.9541Z",fill:"#A6B0B1"})),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5512 49.191C55.6649 49.0732 55.8244 49 56.001 49C56.001 49 56.001 49 56.001 49C56.0081 49 56.0153 49.0001 56.0224 49.0004C56.1752 49.0055 56.3264 49.0664 56.4431 49.1831L61.0145 53.7545C61.2586 53.9986 61.2586 54.3943 61.0145 54.6384C60.7704 54.8824 60.3747 54.8824 60.1306 54.6384L56.626 51.1337V60.7976C56.626 61.1427 56.3462 61.4226 56.001 61.4226C55.6558 61.4226 55.376 61.1427 55.376 60.7976V51.134L51.8716 54.6384C51.6276 54.8824 51.2318 54.8824 50.9877 54.6384C50.7437 54.3943 50.7437 53.9986 50.9877 53.7545L55.5512 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_836_6609",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),Ie=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M15.4931 3.87109H11.4776C10.5275 3.89973 9.62765 4.30445 8.97582 4.99631C8.324 5.68817 7.97357 6.61054 8.00156 7.56068C7.99312 8.23377 8.16758 8.89652 8.50634 9.47821C8.84509 10.0599 9.33542 10.5387 9.92501 10.8635L13.5771 12.8038C14.1642 13.1295 14.6523 13.6079 14.9896 14.1884C15.3269 14.7688 15.5009 15.4297 15.4931 16.101C15.5211 17.0505 15.1712 17.9724 14.5202 18.6641C13.8691 19.3559 12.9702 19.761 12.0208 19.7906H8.00156",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.2829 19.7908V22.6001",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.1558 1V3.87113",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),g={memoPaddingTopBottomRight:new B(12,C[3]),billReceiptSize:new B(60,C[10]),rootContainerPaddingTop:new B(C[3],62),rootContainerPaddingRight:new B(C[3],C[6]),rootContainerPaddingBottom:new B(C[5],C[9]),rootContainerPaddingLeft:new B(C[3],C[8])},re=i(Ae)`
2
2
  color: ${e=>e.isPlaceholderText===!0?e.theme.colors.grey1:e.theme.colors.hero};
3
3
  white-space: pre-wrap;
4
4
  text-align: center;
@@ -1,4 +1,4 @@
1
- import{Q as oe,a9 as Oa,cF as _a,V as r,aP as je,jn as Da,b$ as Ra,ac as za,aR as Ua,o as a,y as C,F as le,bx as Fa,b7 as Na,R as be,a as na,C as qa,c as Ea,p as ie,Y as Ma,ci as ka,cS as fe,eo as Ba,u as d,bT as Va,b1 as X,cY as me,d0 as oa,jo as Ha,jp as Wa,cZ as Ga,e as Te,jq as Ie,cI as Ae,gc as Oe,f0 as xe,b as de,eY as he,g8 as ca,ai as _e,aN as Ja,gX as Ya,am as Ka,gY as Xa}from"./index-G4udIFQJ.js";import{a as E}from"./sentry-CTrMrBL8.js";import{n as l}from"./mui-BDpZEDd-.js";import{Y as ua}from"./LabeledUserSingleSelectWithSubtitlesField-oGpbhfZl-DLZXxYbx.js";import{bd as Qa}from"./zeni-epic-state-B_64dD7k.js";import{T as pa}from"./RoleWithToolTip-DlIcPRiy-DyibMc5_.js";import"./liveblocks-CV4wYZBt.js";import"./core-CfLdY-k_.js";import"./recharts-B3SHU5RU.js";import"./lottie-Dw1I6Lqb.js";import"./analytics-BYwa85mC.js";import"./lexical-C2hQPjBk.js";import"./utils-yHZwLkmM.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]="6e218b11-cb92-428d-ae1c-4bbc75e74e9a",e._sentryDebugIdIdentifier="sentry-dbid-6e218b11-cb92-428d-ae1c-4bbc75e74e9a")}catch{}})();const ge=e=>{const{common:i,spendManagement:{chargeCard:{issueCard:t}}}=le.getLocalizedStrings();switch(e){case"monthly":return t.frequencySubLabels.monthly;case"quarterly":return t.frequencySubLabels.quarterly;case"weekly":return t.frequencySubLabels.weekly;case"yearly":return t.frequencySubLabels.yearly;default:return i.strings.empty}},Za=["creditCard","debitCard"],ke=e=>Qa(e,Za),u=(e,i)=>`${e}.${i}`,{commonSetUp:{businessVerification:{addressPlaceholder:Be,customAddressPlaceholder:er}},spendManagement:{chargeCard:{issueCard:N}}}=le.getLocalizedStrings(),k={largeLabelWidth:new C(120,120,200),labelMarginRight:new C(d[3],d[4]),labelMarginBottom:new C(d[2],d[0]),infoLabelMarginTop:new C(d[1],d[0]),radioLabelPaddingLeftRight:new C(d[2],d[3]),radioLabelPaddingLeft:new C(d[0],d[3]),radioLabelPaddingRight:new C(10,d[3])},ar={infoLabel:new be("smallRegular","smallRegular")},rr="creditCard.physicalCard.amount",ir="creditCard.physicalCard.cardName",dr="creditCard.physicalCard.user",lr="creditCard.physicalCard.frequency",te="creditCard.physicalCard.addressType",tr=({lineData:e,issueCardSectionId:i,limit:t,creditLimitFrequency:m,activeChargeCardCount:v,allRoles:f,allAccountingClasses:D,companyAddress:b,customAddress:T,userAddress:A,userList:o,maxPhysicalChargeCardPerUser:S,openAddAddressDrawerHandler:g})=>{const s=oe(),q=Te(),{getValues:B}=fe(),$=k.largeLabelWidth.value(s),V=()=>{g(e.lineId,"creditCard")},c=(h,U)=>r.jsx(nr,{isOptionSelected:U,children:ge(h)}),n=e.creditCard.physicalCard.addressType,x=e.creditCard.physicalCard.amount,L=Ie(t.amount),I=x!=null&&x>t.amount,z=I?N.amountExceedError.replace("_amount_",L):void 0,j=e.creditCard.physicalCard.user,O=j.allUsers.find(h=>h.userId===j.selectedUser),G=O?.userId,Q=G!=null?A[G]:void 0,p=h=>{let U=v[h]?.physicalCardCount??0;return B().lineInfo.forEach(y=>{y.creditCard.cardType==="business_physical_credit_card"&&y.creditCard.physicalCard.user.selectedUser===h&&(U+=1)}),U>=S};return r.jsxs(r.Fragment,{children:[r.jsx(ua,{label:{label:N.cardholderLabel,width:$},userSingleSelectWithSubTitlesField:{name:u(i,dr),placeholderLabel:N.usersPlaceholder,value:{allUsers:o,selectedUser:e.creditCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:h=>h?.selectedUser?.length>0},valueToSubtitle:h=>{const U=f.find(R=>R.userId===h),y=[];return U?.accountingClassIDs.forEach(R=>{const K=D.find(De=>De.classId===R);K!=null&&K.className&&y.push(K.className)}),y},additionalLabelInfo:N.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:p,disabledOptionHint:N.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:a.sp10,minHeight:a.sp6,height:"max-content"}},style:{width:"100%",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx(we,{}),r.jsx(Ae,{label:{label:N.cardNameLabel,width:$},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)},text:{type:"text",name:u(i,ir),defaultValue:e.creditCard.physicalCard.cardName,placeholder:N.cardNamePlaceholder,options:{required:!0,validate:h=>h!=null}}}),r.jsx(we,{}),r.jsx(Oe,{label:{label:N.amountLabel,width:$},showAdditionalInfoLabel:I,additionalInfoLabel:z,formattedTextField:{type:"number",name:u(i,rr),defaultValue:e.creditCard.physicalCard.amount,placeholder:N.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:h=>!!h&&h>0&&h<=t.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},isFieldError:I,style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx(we,{}),r.jsx(xe,{isDisabled:"readonly",label:{label:N.frequencyLabel,width:$,style:{marginBottom:k.labelMarginBottom.valuePx(s),marginRight:k.labelMarginRight.valuePx(s)}},style:{width:"100%",paddingLeft:k.labelMarginBottom.valuePx(s)},infoLabelStyle:{...de.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:k.infoLabelMarginTop.valuePx(s),color:q.colors.hero},valueToAdditionalLabel:h=>ge(h),singleSelectPickerField:{name:u(i,lr),placeholder:N.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.creditCard.physicalCard.frequency.selectedOption,allOptions:m.map(h=>({label:h.name,value:h.code}))},valueToSubLabels:(h,U)=>c(h,U),textAlignment:"right",registerOptions:{required:!0,validate:h=>h!=null&&!!h.selectedOption}}}),r.jsx(we,{}),r.jsxs(or,{windowSize:s,children:[r.jsxs(pr,{windowSize:s,children:[r.jsx(me,{label:N.address.shippingAddressLabel,htmlFor:u(i,te),style:{marginLeft:a.sp4,marginRight:k.labelMarginRight.valuePx(s),marginTop:a.sp2,width:s==="small"?"auto":$}}),r.jsx(cr,{windowSize:s,children:r.jsxs(hr,{isDisabled:O==null,children:[Q!=null&&r.jsx(X,{isContainerClickable:!0,label:{label:N.address.personal},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeftRight.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(X,{isContainerClickable:!0,label:{label:N.address.company},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(X,{isContainerClickable:!0,label:{label:N.address.custom},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingLeftRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),r.jsx(ur,{windowSize:s,children:O?.user!=null&&n!=null&&r.jsx(sr,{children:n==="card_holder_personal_address"?r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"personal_address_value_field",defaultValue:Q,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),r.jsx(Ve,{windowSize:s,children:N.address.personalAddressText.replace("_name_",O.user.firstName)})]}):n==="company_address"?r.jsx(he,{name:"company_address_value_field",defaultValue:b,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}):r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"custom_address_value_field",defaultValue:T[e.lineId],placeholder:er,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1},onClick:V}),r.jsx(Ve,{windowSize:s,children:N.address.customAddressText})]})})})]})]})},sr=l.div`
1
+ import{Q as oe,a9 as Oa,cF as _a,V as r,aP as je,jn as Da,b$ as Ra,ac as za,aR as Ua,o as a,y as C,F as le,bx as Fa,b7 as Na,R as be,a as na,C as qa,c as Ea,p as ie,Y as Ma,ci as ka,cS as fe,eo as Ba,u as d,bT as Va,b1 as X,cY as me,d0 as oa,jo as Ha,jp as Wa,cZ as Ga,e as Te,jq as Ie,cI as Ae,gc as Oe,f0 as xe,b as de,eY as he,g8 as ca,ai as _e,aN as Ja,gX as Ya,am as Ka,gY as Xa}from"./index-CRjLU1CH.js";import{a as E}from"./sentry-DZdy1Eny.js";import{n as l}from"./mui-G_qoHHKo.js";import{Y as ua}from"./LabeledUserSingleSelectWithSubtitlesField-CcmaUIGJ-pvqY6PVS.js";import{bd as Qa}from"./zeni-epic-state-BlmgKn3B.js";import{T as pa}from"./RoleWithToolTip-DL78JlR8-C9xZrPOP.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.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]="f7e6b915-7c56-4ac7-b566-cd491924802d",e._sentryDebugIdIdentifier="sentry-dbid-f7e6b915-7c56-4ac7-b566-cd491924802d")}catch{}})();const ge=e=>{const{common:i,spendManagement:{chargeCard:{issueCard:t}}}=le.getLocalizedStrings();switch(e){case"monthly":return t.frequencySubLabels.monthly;case"quarterly":return t.frequencySubLabels.quarterly;case"weekly":return t.frequencySubLabels.weekly;case"yearly":return t.frequencySubLabels.yearly;default:return i.strings.empty}},Za=["creditCard","debitCard"],ke=e=>Qa(e,Za),u=(e,i)=>`${e}.${i}`,{commonSetUp:{businessVerification:{addressPlaceholder:Be,customAddressPlaceholder:er}},spendManagement:{chargeCard:{issueCard:N}}}=le.getLocalizedStrings(),k={largeLabelWidth:new C(120,120,200),labelMarginRight:new C(d[3],d[4]),labelMarginBottom:new C(d[2],d[0]),infoLabelMarginTop:new C(d[1],d[0]),radioLabelPaddingLeftRight:new C(d[2],d[3]),radioLabelPaddingLeft:new C(d[0],d[3]),radioLabelPaddingRight:new C(10,d[3])},ar={infoLabel:new be("smallRegular","smallRegular")},rr="creditCard.physicalCard.amount",ir="creditCard.physicalCard.cardName",dr="creditCard.physicalCard.user",lr="creditCard.physicalCard.frequency",te="creditCard.physicalCard.addressType",tr=({lineData:e,issueCardSectionId:i,limit:t,creditLimitFrequency:m,activeChargeCardCount:v,allRoles:f,allAccountingClasses:D,companyAddress:b,customAddress:T,userAddress:A,userList:o,maxPhysicalChargeCardPerUser:S,openAddAddressDrawerHandler:g})=>{const s=oe(),q=Te(),{getValues:B}=fe(),$=k.largeLabelWidth.value(s),V=()=>{g(e.lineId,"creditCard")},c=(h,U)=>r.jsx(nr,{isOptionSelected:U,children:ge(h)}),n=e.creditCard.physicalCard.addressType,x=e.creditCard.physicalCard.amount,L=Ie(t.amount),I=x!=null&&x>t.amount,z=I?N.amountExceedError.replace("_amount_",L):void 0,j=e.creditCard.physicalCard.user,O=j.allUsers.find(h=>h.userId===j.selectedUser),G=O?.userId,Q=G!=null?A[G]:void 0,p=h=>{let U=v[h]?.physicalCardCount??0;return B().lineInfo.forEach(y=>{y.creditCard.cardType==="business_physical_credit_card"&&y.creditCard.physicalCard.user.selectedUser===h&&(U+=1)}),U>=S};return r.jsxs(r.Fragment,{children:[r.jsx(ua,{label:{label:N.cardholderLabel,width:$},userSingleSelectWithSubTitlesField:{name:u(i,dr),placeholderLabel:N.usersPlaceholder,value:{allUsers:o,selectedUser:e.creditCard.physicalCard.user.selectedUser},registerOptions:{required:!0,validate:h=>h?.selectedUser?.length>0},valueToSubtitle:h=>{const U=f.find(R=>R.userId===h),y=[];return U?.accountingClassIDs.forEach(R=>{const K=D.find(De=>De.classId===R);K!=null&&K.className&&y.push(K.className)}),y},additionalLabelInfo:N.additionalInfoPhysical,showOnlyAvatar:!0,showAvatarAndSubtitles:!1,isOptionDisabled:p,disabledOptionHint:N.cardLimitWarning,bigMarginRightForSmallScreens:!0,optionStyles:{maxHeight:a.sp10,minHeight:a.sp6,height:"max-content"}},style:{width:"100%",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx(we,{}),r.jsx(Ae,{label:{label:N.cardNameLabel,width:$},style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)},text:{type:"text",name:u(i,ir),defaultValue:e.creditCard.physicalCard.cardName,placeholder:N.cardNamePlaceholder,options:{required:!0,validate:h=>h!=null}}}),r.jsx(we,{}),r.jsx(Oe,{label:{label:N.amountLabel,width:$},showAdditionalInfoLabel:I,additionalInfoLabel:z,formattedTextField:{type:"number",name:u(i,rr),defaultValue:e.creditCard.physicalCard.amount,placeholder:N.amountPlaceholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:h=>!!h&&h>0&&h<=t.amount},autoComplete:"off",decimalSeparator:".",decimalScale:2,fixedDecimalScale:!1,thousandSeparator:!0},isFieldError:I,style:{width:"auto",paddingLeft:k.labelMarginBottom.value(s)}}),r.jsx(we,{}),r.jsx(xe,{isDisabled:"readonly",label:{label:N.frequencyLabel,width:$,style:{marginBottom:k.labelMarginBottom.valuePx(s),marginRight:k.labelMarginRight.valuePx(s)}},style:{width:"100%",paddingLeft:k.labelMarginBottom.valuePx(s)},infoLabelStyle:{...de.smallRegular.cssObject,textAlign:"right",paddingRight:a.sp3,marginTop:k.infoLabelMarginTop.valuePx(s),color:q.colors.hero},valueToAdditionalLabel:h=>ge(h),singleSelectPickerField:{name:u(i,lr),placeholder:N.frequencyPlaceholder,style:{position:"relative"},capitalizeOptions:!0,showSubLabelsInSingleValue:!1,defaultValue:{selectedOption:e.creditCard.physicalCard.frequency.selectedOption,allOptions:m.map(h=>({label:h.name,value:h.code}))},valueToSubLabels:(h,U)=>c(h,U),textAlignment:"right",registerOptions:{required:!0,validate:h=>h!=null&&!!h.selectedOption}}}),r.jsx(we,{}),r.jsxs(or,{windowSize:s,children:[r.jsxs(pr,{windowSize:s,children:[r.jsx(me,{label:N.address.shippingAddressLabel,htmlFor:u(i,te),style:{marginLeft:a.sp4,marginRight:k.labelMarginRight.valuePx(s),marginTop:a.sp2,width:s==="small"?"auto":$}}),r.jsx(cr,{windowSize:s,children:r.jsxs(hr,{isDisabled:O==null,children:[Q!=null&&r.jsx(X,{isContainerClickable:!0,label:{label:N.address.personal},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeftRight.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.personal}`,value:"card_holder_personal_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(X,{isContainerClickable:!0,label:{label:N.address.company},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.company}`,value:"company_address",radioSize:"small",registerOptions:{required:!0}}}),r.jsx(X,{isContainerClickable:!0,label:{label:N.address.custom},isDisabled:O==null?"disabled":void 0,style:{padding:`${a.sp2} ${a.sp0}`,paddingLeft:k.radioLabelPaddingLeft.value(s),paddingRight:k.radioLabelPaddingLeftRight.value(s),width:"fit-content"},radioField:{name:u(i,te),id:`${u(i,te)}.${N.address.custom}`,value:"custom_address",radioSize:"small",registerOptions:{required:!0}}})]})})]}),r.jsx(ur,{windowSize:s,children:O?.user!=null&&n!=null&&r.jsx(sr,{children:n==="card_holder_personal_address"?r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"personal_address_value_field",defaultValue:Q,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}),r.jsx(Ve,{windowSize:s,children:N.address.personalAddressText.replace("_name_",O.user.firstName)})]}):n==="company_address"?r.jsx(he,{name:"company_address_value_field",defaultValue:b,isDisabled:"readonly",placeholder:Be,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1}}):r.jsxs(r.Fragment,{children:[r.jsx(he,{name:"custom_address_value_field",defaultValue:T[e.lineId],placeholder:er,style:{minHeight:a.sp4,paddingTop:a.sp2,paddingBottom:a.sp2,width:"100%",display:"flex",flexGrow:1},onClick:V}),r.jsx(Ve,{windowSize:s,children:N.address.customAddressText})]})})})]})]})},sr=l.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  width: 100%;
@@ -1,4 +1,4 @@
1
- import{Q as p,V as n,cY as u,y as o,eV as h,u as t,R as b}from"./index-G4udIFQJ.js";import{n as r}from"./mui-BDpZEDd-.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]="8d7bff44-9af2-41b3-a695-7f353baff9ef",e._sentryDebugIdIdentifier="sentry-dbid-8d7bff44-9af2-41b3-a695-7f353baff9ef")}catch{}})();const i={width:new o(343,580,726),height:new o(t[6],t[6]),controlMinHeight:new o(t[4],t[4]),paddingTopBottom:new o(t[2],t[2]),marginRight:new o(t[2],t[2]),labelMarginLeft:new o(t[3],t[4]),labelMarginRight:new o(t[3],t[4]),labelMarginTop:new o(t[2],t[2])},m={infoLabel:new b("extraSmallRegular","smallRegular")};function $({isDisabled:e,label:a,additionalInfoLabel:d,addressValue:s,isOptional:g,style:f}){const l=p();return n.jsxs(y,{size:l,style:f,isDisabled:e!=null,children:[n.jsxs(x,{children:[n.jsx(u,{isOptional:g,isDisabled:e,label:a.label,style:{marginLeft:i.labelMarginLeft.value(l),marginRight:i.labelMarginRight.value(l),marginTop:i.labelMarginTop.value(l),width:a.width??"auto"}}),n.jsx(h,{...s,isDisabled:e,style:{minHeight:i.controlMinHeight.value(l),paddingTop:i.paddingTopBottom.valuePx(l),paddingBottom:i.paddingTopBottom.valuePx(l),maxWidth:a.width!=null?`calc(100% - ${a.width}px)`:"auto",display:"flex",flexGrow:1,...s.style}})]}),d?n.jsx(c,{size:l,children:d}):null]})}const c=r.label`
1
+ import{Q as p,V as n,cY as u,y as o,eV as h,u as t,R as b}from"./index-CRjLU1CH.js";import{n as r}from"./mui-G_qoHHKo.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]="8d7bff44-9af2-41b3-a695-7f353baff9ef",e._sentryDebugIdIdentifier="sentry-dbid-8d7bff44-9af2-41b3-a695-7f353baff9ef")}catch{}})();const i={width:new o(343,580,726),height:new o(t[6],t[6]),controlMinHeight:new o(t[4],t[4]),paddingTopBottom:new o(t[2],t[2]),marginRight:new o(t[2],t[2]),labelMarginLeft:new o(t[3],t[4]),labelMarginRight:new o(t[3],t[4]),labelMarginTop:new o(t[2],t[2])},m={infoLabel:new b("extraSmallRegular","smallRegular")};function $({isDisabled:e,label:a,additionalInfoLabel:d,addressValue:s,isOptional:g,style:f}){const l=p();return n.jsxs(y,{size:l,style:f,isDisabled:e!=null,children:[n.jsxs(x,{children:[n.jsx(u,{isOptional:g,isDisabled:e,label:a.label,style:{marginLeft:i.labelMarginLeft.value(l),marginRight:i.labelMarginRight.value(l),marginTop:i.labelMarginTop.value(l),width:a.width??"auto"}}),n.jsx(h,{...s,isDisabled:e,style:{minHeight:i.controlMinHeight.value(l),paddingTop:i.paddingTopBottom.valuePx(l),paddingBottom:i.paddingTopBottom.valuePx(l),maxWidth:a.width!=null?`calc(100% - ${a.width}px)`:"auto",display:"flex",flexGrow:1,...s.style}})]}),d?n.jsx(c,{size:l,children:d}):null]})}const c=r.label`
2
2
  color: ${e=>e.theme.colors.grey1};
3
3
  display: flex;
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{Q as x,cS as y,c_ as w,V as d,cY as v,y as a,eY as $,aP as D,F as T,p as g,u as i,R as z}from"./index-G4udIFQJ.js";import{n as s}from"./mui-BDpZEDd-.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]="6365597e-84bd-4666-b41d-dbb738724ad3",e._sentryDebugIdIdentifier="sentry-dbid-6365597e-84bd-4666-b41d-dbb738724ad3")}catch{}})();const t={width:new a(343,580,726),height:new a(i[6],i[6]),controlMinHeight:new a(i[4],i[4]),paddingTopBottom:new a(i[2],i[2]),marginRight:new a(i[2],i[2]),labelMarginLeft:new a(i[3],i[4]),labelMarginRight:new a(i[3],i[4]),labelMarginTop:new a(i[2],i[2])},B={infoLabel:new z("extraSmallRegular","smallRegular")},R=T.getLocalizedStrings();function E({isDisabled:e,label:o,addressValueField:r,additionalInfoLabel:b,showAdditionalInfoLabel:h=!1,style:p,hasHoverBorder:u,isOptional:f}){const l=x(),{formState:{errors:m}}=y(),n=w(m,r.name),c=n?b:R.commonSetUp.businessVerification.addressAdditionInfo;return d.jsxs(L,{size:l,style:p,isDisabled:e!=null,isError:n,hasHoverBorder:u??!0,"data-testid":D("labeled-address-value-field",r.name),children:[d.jsx(v,{isDisabled:e,isOptional:f,label:o.label,htmlFor:r.name,style:{marginLeft:t.labelMarginLeft.value(l),marginRight:t.labelMarginRight.value(l),marginTop:t.labelMarginTop.value(l),width:o.width??"auto"}}),d.jsxs(M,{labelWidth:o.width,children:[d.jsx($,{...r,isDisabled:e,style:{minHeight:t.controlMinHeight.value(l),paddingTop:t.paddingTopBottom.valuePx(l),paddingBottom:t.paddingTopBottom.valuePx(l),width:"-webkit-fill-available",display:"flex",flexGrow:1,...r.style}}),(h||n)&&d.jsx(I,{size:l,isError:n,children:c})]})]})}const L=s.div`
1
+ import{Q as x,cS as y,c_ as w,V as d,cY as v,y as a,eY as $,aP as D,F as T,p as g,u as i,R as z}from"./index-CRjLU1CH.js";import{n as s}from"./mui-G_qoHHKo.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]="6365597e-84bd-4666-b41d-dbb738724ad3",e._sentryDebugIdIdentifier="sentry-dbid-6365597e-84bd-4666-b41d-dbb738724ad3")}catch{}})();const t={width:new a(343,580,726),height:new a(i[6],i[6]),controlMinHeight:new a(i[4],i[4]),paddingTopBottom:new a(i[2],i[2]),marginRight:new a(i[2],i[2]),labelMarginLeft:new a(i[3],i[4]),labelMarginRight:new a(i[3],i[4]),labelMarginTop:new a(i[2],i[2])},B={infoLabel:new z("extraSmallRegular","smallRegular")},R=T.getLocalizedStrings();function E({isDisabled:e,label:o,addressValueField:r,additionalInfoLabel:b,showAdditionalInfoLabel:h=!1,style:p,hasHoverBorder:u,isOptional:f}){const l=x(),{formState:{errors:m}}=y(),n=w(m,r.name),c=n?b:R.commonSetUp.businessVerification.addressAdditionInfo;return d.jsxs(L,{size:l,style:p,isDisabled:e!=null,isError:n,hasHoverBorder:u??!0,"data-testid":D("labeled-address-value-field",r.name),children:[d.jsx(v,{isDisabled:e,isOptional:f,label:o.label,htmlFor:r.name,style:{marginLeft:t.labelMarginLeft.value(l),marginRight:t.labelMarginRight.value(l),marginTop:t.labelMarginTop.value(l),width:o.width??"auto"}}),d.jsxs(M,{labelWidth:o.width,children:[d.jsx($,{...r,isDisabled:e,style:{minHeight:t.controlMinHeight.value(l),paddingTop:t.paddingTopBottom.valuePx(l),paddingBottom:t.paddingTopBottom.valuePx(l),width:"-webkit-fill-available",display:"flex",flexGrow:1,...r.style}}),(h||n)&&d.jsx(I,{size:l,isError:n,children:c})]})]})}const L=s.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{Q as a,V as i,eL as o,cY as n,o as s,aP as r,y as b}from"./index-G4udIFQJ.js";import{c,n as y}from"./mui-BDpZEDd-.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]="02567bd6-0cb3-4414-9994-1357c8b01e55",e._sentryDebugIdIdentifier="sentry-dbid-02567bd6-0cb3-4414-9994-1357c8b01e55")}catch{}})();const f={width:new b(343,580,726)};function p({label:e,checkBoxField:l,style:t}){const d=a();return i.jsxs(h,{size:d,style:t,isDisabled:l.isDisabled,"data-testid":r(l.name,"labeled-check-box-field"),isSelected:l.defaultChecked??!1,children:[i.jsx(o,{...l,style:{...l.style}}),i.jsx(n,{isDisabled:l.isDisabled,label:e.label,labelStyle:e.style,htmlFor:l.name,style:{display:"flex",flex:1,minHeight:s.sp4,marginLeft:s.sp2,width:e.width,backgroundColor:"inherit",...e.style}})]})}const h=y.div`
1
+ import{Q as a,V as i,eL as o,cY as n,o as s,aP as r,y as b}from"./index-CRjLU1CH.js";import{c,n as y}from"./mui-G_qoHHKo.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]="02567bd6-0cb3-4414-9994-1357c8b01e55",e._sentryDebugIdIdentifier="sentry-dbid-02567bd6-0cb3-4414-9994-1357c8b01e55")}catch{}})();const f={width:new b(343,580,726)};function p({label:e,checkBoxField:l,style:t}){const d=a();return i.jsxs(h,{size:d,style:t,isDisabled:l.isDisabled,"data-testid":r(l.name,"labeled-check-box-field"),isSelected:l.defaultChecked??!1,children:[i.jsx(o,{...l,style:{...l.style}}),i.jsx(n,{isDisabled:l.isDisabled,label:e.label,labelStyle:e.style,htmlFor:l.name,style:{display:"flex",flex:1,minHeight:s.sp4,marginLeft:s.sp2,width:e.width,backgroundColor:"inherit",...e.style}})]})}const h=y.div`
2
2
  display: flex;
3
3
  align-items: center;
4
4
  flex-direction: row;
@@ -1,4 +1,4 @@
1
- import{Q as B,cS as F,c_ as R,V as t,cY as H,y as x,aP as I,p,u as s,c$ as G,o as i,R as Q,e as X,F as Y,eT as q,B as A,dm as J,ct as K,bI as S,d0 as U,dN as Z,b as k,bG as ee,C as le}from"./index-G4udIFQJ.js";import{n as a}from"./mui-BDpZEDd-.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]="1496ad0d-8e81-42ce-a13f-c29103c6cd09",e._sentryDebugIdIdentifier="sentry-dbid-1496ad0d-8e81-42ce-a13f-c29103c6cd09")}catch{}})();const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:w=!0,addIconInCreateLabel:b,getLabelForId:m,tagProperties:f,hasError:j,style:c})=>{const y=X(),$=Se(e,m),C=Y.getLocalizedStrings().dropDowns,O=$.sort((l,u)=>l.label.localeCompare(u.label)),v=r!=null&&r?z(r,m):void 0,P={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:y.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${y.colors.dropShadowHover}`,border:`1px solid ${y.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${i.sp0} ${i.sp0} ${i.sp0}`,overflow:"hidden"}),menuList:l=>({...l,borderRadius:i.sp1}),input:(l,{selectProps:u})=>({...l,":after":{width:u.inputValue.length>0?i.sp0:"unset"}})},E=l=>t.jsxs(fe,{children:[t.jsx(me,{children:t.jsx(U,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(xe,{children:`${C.createOption} "${l}"`})]}),T=l=>{const{menuIsOpen:u,isFocused:D,isDisabled:L,selectProps:_}=l,{value:W}=_;return t.jsx(se,{menuIsOpen:u,isFocused:D,isDisabled:L,selectedValue:W,hasError:j,"data-testid":I("creatable-single-select-control",o),children:t.jsx(S.Control,{...l,className:"select-control",children:l.children})})},M=l=>t.jsx($e,{children:t.jsxs(S.SingleValue,{...l,children:[l.selectProps.menuIsOpen===!1&&f!=null&&f.isTagShownForOption(l.data.value)===!0&&t.jsx(we,{children:t.jsx(ye,{style:f.style,children:f.tagName})}),l.children]})}),N=l=>{const{selectProps:u}=l,{placeholder:D,value:L}=u;return t.jsx(S.Input,{...l,autoComplete:"new-password",placeholder:L==null?D:void 0,"data-testid":I("creatable-single-select-input",o),children:l.children})};return t.jsx(q,{isMulti:!1,onCreateOption:l=>{const u=A(l);n(u)},onChange:l=>{w!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>b===!0?E(l):`${C.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":I("creatable-single-select",o),classNamePrefix:"creatable-single-select-field",createOptionPosition:"last",allowCreateWhileLoading:!0,controlShouldRenderValue:!0,placeholder:h,menuPlacement:"auto",maxMenuHeight:288,defaultValue:v,value:v,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:T,Option:ae,Input:N,SingleValue:M,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:Ie,ClearIndicator:je,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:P,options:O,isClearable:!0,isSearchable:!0,isDisabled:d!=null},J())},ie=e=>t.jsx(S.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),w=r.indexOf(h)*40;return t.jsx(K,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:w,children:({index:b,style:m})=>t.jsx(ue,{style:m,children:o[b]})})},oe=()=>null,ae=e=>{const{isSelected:r,isDisabled:o,isFocused:n,data:d}=e,h=typeof d.label=="string"?d.label:d.value;return t.jsx(ne,{isFocused:n,isSelected:r,isDisabled:o,children:t.jsx(S.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":I("creatable-single-select-option",h),children:[t.jsx(he,{children:t.jsx(ce,{isSelected:r,isDisabled:o,children:e.label})}),r?t.jsxs(pe,{children:[t.jsx(ge,{className:"right-tick-icon"}),t.jsx(be,{className:"close-tick-icon"})]}):null]})})})},se=a.div`
1
+ import{Q as B,cS as F,c_ as R,V as t,cY as H,y as x,aP as I,p,u as s,c$ as G,o as i,R as Q,e as X,F as Y,eT as q,B as A,dm as J,ct as K,bI as S,d0 as U,dN as Z,b as k,bG as ee,C as le}from"./index-CRjLU1CH.js";import{n as a}from"./mui-G_qoHHKo.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]="1496ad0d-8e81-42ce-a13f-c29103c6cd09",e._sentryDebugIdIdentifier="sentry-dbid-1496ad0d-8e81-42ce-a13f-c29103c6cd09")}catch{}})();const te=({allValues:e,selectedValue:r,name:o,onSelectedValueChanged:n,isDisabled:d,placeholder:h,isOptionRemovable:w=!0,addIconInCreateLabel:b,getLabelForId:m,tagProperties:f,hasError:j,style:c})=>{const y=X(),$=Se(e,m),C=Y.getLocalizedStrings().dropDowns,O=$.sort((l,u)=>l.label.localeCompare(u.label)),v=r!=null&&r?z(r,m):void 0,P={container:l=>({...l,width:"100%",...c}),menu:l=>({...l,backgroundColor:y.colors.grey5,borderRadius:i.sp1,boxShadow:`${i.sp0} 2px ${i.sp2} ${y.colors.dropShadowHover}`,border:`1px solid ${y.colors.grey3}`,whiteSpace:"nowrap",zIndex:2,width:"100%",margin:`1px ${i.sp0} ${i.sp0} ${i.sp0}`,overflow:"hidden"}),menuList:l=>({...l,borderRadius:i.sp1}),input:(l,{selectProps:u})=>({...l,":after":{width:u.inputValue.length>0?i.sp0:"unset"}})},E=l=>t.jsxs(fe,{children:[t.jsx(me,{children:t.jsx(U,{fill:"currentColor",height:i.sp3,width:i.sp3})}),t.jsx(xe,{children:`${C.createOption} "${l}"`})]}),T=l=>{const{menuIsOpen:u,isFocused:D,isDisabled:L,selectProps:_}=l,{value:W}=_;return t.jsx(se,{menuIsOpen:u,isFocused:D,isDisabled:L,selectedValue:W,hasError:j,"data-testid":I("creatable-single-select-control",o),children:t.jsx(S.Control,{...l,className:"select-control",children:l.children})})},M=l=>t.jsx($e,{children:t.jsxs(S.SingleValue,{...l,children:[l.selectProps.menuIsOpen===!1&&f!=null&&f.isTagShownForOption(l.data.value)===!0&&t.jsx(we,{children:t.jsx(ye,{style:f.style,children:f.tagName})}),l.children]})}),N=l=>{const{selectProps:u}=l,{placeholder:D,value:L}=u;return t.jsx(S.Input,{...l,autoComplete:"new-password",placeholder:L==null?D:void 0,"data-testid":I("creatable-single-select-input",o),children:l.children})};return t.jsx(q,{isMulti:!1,onCreateOption:l=>{const u=A(l);n(u)},onChange:l=>{w!==!1&&l?.value!=null&&v?.value===l.value?n(void 0):n(l?.value)},formatCreateLabel:l=>b===!0?E(l):`${C.otherOption} ${l}`,tabSelectsValue:!1,openMenuOnFocus:!0,"data-testid":I("creatable-single-select",o),classNamePrefix:"creatable-single-select-field",createOptionPosition:"last",allowCreateWhileLoading:!0,controlShouldRenderValue:!0,placeholder:h,menuPlacement:"auto",maxMenuHeight:288,defaultValue:v,value:v,menuShouldScrollIntoView:!1,closeMenuOnSelect:!0,components:{Control:T,Option:ae,Input:N,SingleValue:M,ValueContainer:ie,DropdownIndicator:ve,IndicatorSeparator:Ie,ClearIndicator:je,Placeholder:oe,MenuList:re},hideSelectedOptions:!1,styles:P,options:O,isClearable:!0,isSearchable:!0,isDisabled:d!=null},J())},ie=e=>t.jsx(S.ValueContainer,{...e,className:"select-value-container",children:e.children}),re=e=>{const{options:r,children:o,maxHeight:n,getValue:d}=e,[h]=d(),w=r.indexOf(h)*40;return t.jsx(K,{height:o.length>7?n:o.length*40,width:"100%",itemCount:o.length,itemSize:()=>40,initialScrollOffset:w,children:({index:b,style:m})=>t.jsx(ue,{style:m,children:o[b]})})},oe=()=>null,ae=e=>{const{isSelected:r,isDisabled:o,isFocused:n,data:d}=e,h=typeof d.label=="string"?d.label:d.value;return t.jsx(ne,{isFocused:n,isSelected:r,isDisabled:o,children:t.jsx(S.Option,{...e,className:"select-option",children:t.jsxs(de,{"data-testid":I("creatable-single-select-option",h),children:[t.jsx(he,{children:t.jsx(ce,{isSelected:r,isDisabled:o,children:e.label})}),r?t.jsxs(pe,{children:[t.jsx(ge,{className:"right-tick-icon"}),t.jsx(be,{className:"close-tick-icon"})]}):null]})})})},se=a.div`
2
2
  width: 100%;
3
3
  background-color: ${e=>e.theme.colors.grey5};
4
4
  cursor: ${e=>e.isDisabled?"not-allowed":"pointer"};
@@ -1,4 +1,4 @@
1
- import{Q as U,cS as W,c_ as u,V as r,cY as j,y as a,eU as _,F as k,aP as N,u as i,o as s,p as O,R as A}from"./index-G4udIFQJ.js";import{n}from"./mui-BDpZEDd-.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]="7542d6a3-cf0e-48eb-92c9-d8d591974fe7",e._sentryDebugIdIdentifier="sentry-dbid-7542d6a3-cf0e-48eb-92c9-d8d591974fe7")}catch{}})();const t={width:new a(343,580,726),height:new a(i[6],i[6]),paddingTopBottom:new a(i[2],i[2]),marginRight:new a(i[2],i[2]),labelMarginLeft:new a(i[3],i[4]),labelMarginRight:new a(i[3],i[4]),labelMarginTop:new a(i[2],i[2])},V={infoLabel:new A("extraSmallRegular","smallRegular")};function Q({label:e,isDisabled:l,isOptional:p,style:b,file:h,name:d,registerOptions:c,additionalInfoLabel:f,acceptableTypes:y,sizeLimit:w,filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:F,hasError:S=!1,placeholderText:D,showPhotoPicker:E,useMobileCam:v,showUploadSuccessAnimation:I,showWebCamPopUpCloseIcon:T,updateFilesEntity:R,onDeleteFile:L,onEditFileName:B,onFileSizeError:M}){const o=U(),{formState:{errors:m}}=W(),g=u(m,d),C=u(m,`${d}.fileName`);return r.jsxs(Y,{size:o,style:b,isDisabled:l!=null,"data-testid":N("document-field",d),children:[r.jsx(j,{isDisabled:l,label:e.label,isOptional:p,style:{marginLeft:t.labelMarginLeft.value(o),marginRight:t.labelMarginRight.value(o),marginTop:t.labelMarginTop.value(o),width:e.width??"auto",...e.style}}),r.jsxs(q,{labelWidth:e.width,size:o,children:[r.jsx(_,{name:d,filesEndPoint:P,authParams:F,registerOptions:c,file:h,sizeLimit:w,acceptableTypes:y,isDisabled:l==="disabled"||l==="readonly",filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,hasError:S,updateFilesEntity:R,onFileSizeError:M,onDeleteFile:L,onEditFileName:B,placeholderText:D,showPhotoPicker:E,useMobileCam:v,showWebCamPopUpCloseIcon:T,showUploadSuccessAnimation:I}),g&&r.jsx(G,{size:o,isError:g,children:C&&h!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const Y=n.div`
1
+ import{Q as U,cS as W,c_ as u,V as r,cY as j,y as a,eU as _,F as k,aP as N,u as i,o as s,p as O,R as A}from"./index-CRjLU1CH.js";import{n}from"./mui-G_qoHHKo.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]="7542d6a3-cf0e-48eb-92c9-d8d591974fe7",e._sentryDebugIdIdentifier="sentry-dbid-7542d6a3-cf0e-48eb-92c9-d8d591974fe7")}catch{}})();const t={width:new a(343,580,726),height:new a(i[6],i[6]),paddingTopBottom:new a(i[2],i[2]),marginRight:new a(i[2],i[2]),labelMarginLeft:new a(i[3],i[4]),labelMarginRight:new a(i[3],i[4]),labelMarginTop:new a(i[2],i[2])},V={infoLabel:new A("extraSmallRegular","smallRegular")};function Q({label:e,isDisabled:l,isOptional:p,style:b,file:h,name:d,registerOptions:c,additionalInfoLabel:f,acceptableTypes:y,sizeLimit:w,filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,filesEndPoint:P,authParams:F,hasError:S=!1,placeholderText:D,showPhotoPicker:E,useMobileCam:v,showUploadSuccessAnimation:I,showWebCamPopUpCloseIcon:T,updateFilesEntity:R,onDeleteFile:L,onEditFileName:B,onFileSizeError:M}){const o=U(),{formState:{errors:m}}=W(),g=u(m,d),C=u(m,`${d}.fileName`);return r.jsxs(Y,{size:o,style:b,isDisabled:l!=null,"data-testid":N("document-field",d),children:[r.jsx(j,{isDisabled:l,label:e.label,isOptional:p,style:{marginLeft:t.labelMarginLeft.value(o),marginRight:t.labelMarginRight.value(o),marginTop:t.labelMarginTop.value(o),width:e.width??"auto",...e.style}}),r.jsxs(q,{labelWidth:e.width,size:o,children:[r.jsx(_,{name:d,filesEndPoint:P,authParams:F,registerOptions:c,file:h,sizeLimit:w,acceptableTypes:y,isDisabled:l==="disabled"||l==="readonly",filemetadataPayload:x,deleteFileStatusById:$,updateFileStatusById:z,hasError:S,updateFilesEntity:R,onFileSizeError:M,onDeleteFile:L,onEditFileName:B,placeholderText:D,showPhotoPicker:E,useMobileCam:v,showWebCamPopUpCloseIcon:T,showUploadSuccessAnimation:I}),g&&r.jsx(G,{size:o,isError:g,children:C&&h!=null?k.getLocalizedStrings().commonSetUp.businessVerification.fileNameRequired:f})]})]})}const Y=n.div`
2
2
  display: flex;
3
3
  flex-direction: ${e=>e.size==="small"?"column":"row"};
4
4
  align-items: flex-start;
@@ -1,4 +1,4 @@
1
- import{Q as V,e as C,cS as b,c_ as T,V as r,o,c$ as _,bR as O,b as P,gg as A,p as s,R as F,bG as G}from"./index-G4udIFQJ.js";import{n as i}from"./mui-BDpZEDd-.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]="e759592b-a70f-4c2e-a0a1-f9ea2294bab6",e._sentryDebugIdIdentifier="sentry-dbid-e759592b-a70f-4c2e-a0a1-f9ea2294bab6")}catch{}})();const M={infoLabel:new F("extraSmallRegular","smallRegular")};function q({isDisabled:e,label:a,formattedText:t,dropdownStyle:f,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:w=!0,isSaveError:d=!1,showTickIcon:x,showErrorInfoLabel:$,errorInfoLabel:D,registerOptions:L,defaultValue:p,isSelectDisabled:k,menuPlacement:v,name:S,placeholderLabel:j}){const n=V(),g=C(),{formState:{errors:E}}=b(),c=T(E,t.name),{control:I}=b(),z=l=>typeof l=="string"?l.toLocaleUpperCase():l.toString().toLocaleUpperCase();return r.jsxs(U,{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(Q,{style:{width:"auto",...f},children:r.jsx(_,{name:S,control:I,defaultValue:p.dropDownValue,rules:L,render:({field:{value:l,onChange:R}})=>r.jsx(O,{pickerValues:p.dropDownList.map(u=>u.code),valueToLabel:z,selectedValue:l??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:u=>{R(u)},menuPlacement:v,titleTextStyle:P.standardRegular,titleColor:g.colors.hero,valueOpacity:1,backgroundColor:g.colors.grey5,placeholder:j})})})}),r.jsxs(B,{children:[r.jsx(A,{...t,style:t.style,isDisabled:t.isDisabled,isMasked:!0}),(w||c||d)&&r.jsxs(h,{size:n,isError:c||d,children:[x===!0?r.jsx(H,{children:r.jsx(J,{})}):null,y]}),$===!0&&r.jsx(h,{size:n,isError:!0,children:D})]})]})}const U=i.div`
1
+ import{Q as V,e as C,cS as b,c_ as T,V as r,o,c$ as _,bR as O,b as P,gg as A,p as s,R as F,bG as G}from"./index-CRjLU1CH.js";import{n as i}from"./mui-G_qoHHKo.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]="e759592b-a70f-4c2e-a0a1-f9ea2294bab6",e._sentryDebugIdIdentifier="sentry-dbid-e759592b-a70f-4c2e-a0a1-f9ea2294bab6")}catch{}})();const M={infoLabel:new F("extraSmallRegular","smallRegular")};function q({isDisabled:e,label:a,formattedText:t,dropdownStyle:f,style:m,additionalInfoLabel:y,showAdditionalInfoLabel:w=!0,isSaveError:d=!1,showTickIcon:x,showErrorInfoLabel:$,errorInfoLabel:D,registerOptions:L,defaultValue:p,isSelectDisabled:k,menuPlacement:v,name:S,placeholderLabel:j}){const n=V(),g=C(),{formState:{errors:E}}=b(),c=T(E,t.name),{control:I}=b(),z=l=>typeof l=="string"?l.toLocaleUpperCase():l.toString().toLocaleUpperCase();return r.jsxs(U,{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(Q,{style:{width:"auto",...f},children:r.jsx(_,{name:S,control:I,defaultValue:p.dropDownValue,rules:L,render:({field:{value:l,onChange:R}})=>r.jsx(O,{pickerValues:p.dropDownList.map(u=>u.code),valueToLabel:z,selectedValue:l??void 0,isDisabled:e!=null||k,onPickerSelectionChanged:u=>{R(u)},menuPlacement:v,titleTextStyle:P.standardRegular,titleColor:g.colors.hero,valueOpacity:1,backgroundColor:g.colors.grey5,placeholder:j})})})}),r.jsxs(B,{children:[r.jsx(A,{...t,style:t.style,isDisabled:t.isDisabled,isMasked:!0}),(w||c||d)&&r.jsxs(h,{size:n,isError:c||d,children:[x===!0?r.jsx(H,{children:r.jsx(J,{})}):null,y]}),$===!0&&r.jsx(h,{size:n,isError:!0,children:D})]})]})}const U=i.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{Q as f,V as o,cY as p,y as l,aP as g,u as t,o as a,al as u,R as c}from"./index-G4udIFQJ.js";import{n as d}from"./mui-BDpZEDd-.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]="97f4700d-c791-45b3-a9e0-01f323127081",e._sentryDebugIdIdentifier="sentry-dbid-97f4700d-c791-45b3-a9e0-01f323127081")}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{Q 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-CRjLU1CH.js";import{n as d}from"./mui-G_qoHHKo.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]="97f4700d-c791-45b3-a9e0-01f323127081",e._sentryDebugIdIdentifier="sentry-dbid-97f4700d-c791-45b3-a9e0-01f323127081")}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{Q as U,V as l,cY as me,o as s,y as I,aP as J,u as m,cS as Z,c$ as ge,c_ as be,e 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 Q,al as X,g2 as $e,am as ye,ai as ve}from"./index-G4udIFQJ.js";import{n as r}from"./mui-BDpZEDd-.js";import{T as je}from"./RoleWithToolTip-DlIcPRiy-DyibMc5_.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]="7b7d372e-ab0d-4530-a05e-ceb0441fb88d",e._sentryDebugIdIdentifier="sentry-dbid-7b7d372e-ab0d-4530-a05e-ceb0441fb88d")}catch{}})();const ee={selectContainerMarginHorizontal:new I(m[2],m[3]),marginTop:new I(m[1],m[0])},Se=r(ye)`
1
+ import{Q as U,V as l,cY as me,o as s,y as I,aP as J,u as m,cS as Z,c$ as ge,c_ as be,e 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 Q,al as X,g2 as $e,am as ye,ai as ve}from"./index-CRjLU1CH.js";import{n as r}from"./mui-G_qoHHKo.js";import{T as je}from"./RoleWithToolTip-DL78JlR8-C9xZrPOP.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]="cd3eb7b6-fef9-4c67-9070-459bd1a4f4b9",e._sentryDebugIdIdentifier="sentry-dbid-cd3eb7b6-fef9-4c67-9070-459bd1a4f4b9")}catch{}})();const ee={selectContainerMarginHorizontal:new I(m[2],m[3]),marginTop:new I(m[1],m[0])},Se=r(ye)`
2
2
  display: flex;
3
3
  gap: ${s.sp2};
4
4
  align-items: center;
@@ -1,4 +1,4 @@
1
- import{Q as V,V as l,cY as Q,y as m,o,aP as N,u as n,cS as E,c$ as G,c_ as q,e as Y,b as L,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-G4udIFQJ.js";import{n as d,c as $e}from"./mui-BDpZEDd-.js";import{a as D}from"./sentry-CTrMrBL8.js";import{FE as A,FF as Re}from"./zeni-epic-state-B_64dD7k.js";import{T as je}from"./RoleWithToolTip-DlIcPRiy-DyibMc5_.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]="9719886a-38e1-43fd-851f-7ce3ec8c69d2",e._sentryDebugIdIdentifier="sentry-dbid-9719886a-38e1-43fd-851f-7ce3ec8c69d2")}catch{}})();const H={grpBtnMarginTopBottom:new m(n[1],n[3]),grpBtnMarginLeftRight:new m(n[0],n[3])},Se=d.div`
1
+ import{Q as V,V as l,cY as Q,y as m,o,aP as N,u as n,cS as E,c$ as G,c_ as q,e as Y,b as L,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-CRjLU1CH.js";import{n as d,c as $e}from"./mui-G_qoHHKo.js";import{a as D}from"./sentry-DZdy1Eny.js";import{FE as A,FF as Re}from"./zeni-epic-state-BlmgKn3B.js";import{T as je}from"./RoleWithToolTip-DL78JlR8-C9xZrPOP.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]="9936bae7-d054-44fa-ab55-f9d104ceac38",e._sentryDebugIdIdentifier="sentry-dbid-9936bae7-d054-44fa-ab55-f9d104ceac38")}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{Q 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 Q,o as t,y as m,d 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-G4udIFQJ.js";import{a as B}from"./sentry-CTrMrBL8.js";import{n as i}from"./mui-BDpZEDd-.js";import{G5 as H,G2 as Se,G3 as De}from"./zeni-epic-state-B_64dD7k.js";import $e from"./TransactionDetailPage-BKA0c1Hd-5r82PbUD.js";import"./liveblocks-CV4wYZBt.js";import"./core-CfLdY-k_.js";import"./recharts-B3SHU5RU.js";import"./lottie-Dw1I6Lqb.js";import"./analytics-BYwa85mC.js";import"./lexical-C2hQPjBk.js";import"./utils-yHZwLkmM.js";import"./LabeledControlledCheckBoxField-DqGuuG0x-C7gcXrVo.js";import"./TrendWithTransactions-CDquHlvk-CpyVD4zc.js";import"./TrendChart-DBg9hdMq-BJpEmGdE.js";import"./chartTypes-iDEZ4YBi-DN0XMgOK.js";import"./toCOABalancesWithID-BaWPQdax-C8KA3Ete.js";import"./toChartData-DyjTCJsY-BV_CW89N.js";import"./NoDataChart-CLVyYBfd-CsBoNKkR.js";import"./InsightsSection-DtP4W8UU-ChHNdzk5.js";import"./NavigationDots-DbtOiTYP-BWzsBzui.js";import"./TransactionList-C9w_immd-BFAqJMaG.js";import"./ConstrainedInnerElement-BeIpAPjB-CkDCKkyG.js";import"./BoxItem-DptPNfuL-Bp-R8iE1.js";import"./commonDimensions-Bu6zjJKF-Cmgw7sLn.js";import"./panelSelectedMixin-CzfD5-Zs-Q8m7K4oN.js";import"./uploadAttachment-BJcS1oZv-BlzuzU5y.js";import"./radio-default-CiSgisfh-qVtSp8qo.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]="59d6eb7f-5204-4691-9f40-afe213f235b8",e._sentryDebugIdIdentifier="sentry-dbid-59d6eb7f-5204-4691-9f40-afe213f235b8")}catch{}})();const V={labelWidth:new m(120,145,160)},ve=i.div`
1
+ import{Q 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 Q,o as t,y as m,d 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-CRjLU1CH.js";import{a as B}from"./sentry-DZdy1Eny.js";import{n as i}from"./mui-G_qoHHKo.js";import{G5 as H,G2 as Se,G3 as De}from"./zeni-epic-state-BlmgKn3B.js";import $e from"./TransactionDetailPage-DUFj8B1S-CqpGWjre.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.js";import"./LabeledControlledCheckBoxField-CkG-jIW7-C2Hnry7S.js";import"./TrendWithTransactions-DMAMnr7F-DxwunSwM.js";import"./TrendChart-BS6VOoj_-CKe3PY8I.js";import"./chartTypes-BKexR59e-C3ztmi9f.js";import"./toCOABalancesWithID-DtqUradx-lEoCPU_e.js";import"./toChartData-BpfWXnJ--DBwlURkd.js";import"./NoDataChart-Dm8c31gV-Dj8UiPhG.js";import"./InsightsSection-Ldcdpf_t-BR1EacmB.js";import"./NavigationDots-CjxNj1Qo-DN4lM7to.js";import"./TransactionList-BDaoHCk7-CZl9zU4i.js";import"./ConstrainedInnerElement-BeIpAPjB-CyBR7YJz.js";import"./BoxItem-CgrlwejJ-DRtcS1-S.js";import"./commonDimensions-Upfg-PB1-DEuX-eDL.js";import"./panelSelectedMixin-CzfD5-Zs-BuQ6-IQv.js";import"./uploadAttachment-ukKU1LbX-DZ3cul8l.js";import"./radio-default-CiSgisfh-Bpmj0_HZ.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]="f0a65751-430c-4a87-a752-6a19f672b2f8",e._sentryDebugIdIdentifier="sentry-dbid-f0a65751-430c-4a87-a752-6a19f672b2f8")}catch{}})();const V={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{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as Be,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,c as Qe,al as v,b7 as we,ai as K,dv as Je,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-G4udIFQJ.js";import{a as ae}from"./sentry-CTrMrBL8.js";import{n as i}from"./mui-BDpZEDd-.js";import{EP as Cr}from"./zeni-epic-state-B_64dD7k.js";import{T as ir}from"./RoleWithToolTip-DlIcPRiy-DyibMc5_.js";import{j as or}from"./CardNumberSubText-DBFaTSBz-DdN0VEfE.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]="65e4bb4e-7679-4dca-bf42-f5f15c237fd9",e._sentryDebugIdIdentifier="sentry-dbid-65e4bb4e-7679-4dca-bf42-f5f15c237fd9")}catch{}})();const J="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:{[J]:e},values:{[J]:e}});ae.useEffect(()=>{n.setFocus(J)},[]);const m=()=>{c()},E=n.handleSubmit(()=>{const $=n.getValues(J);$!=null&&p($)}),I=ue(n.formState.errors,J),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(),E()},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:J,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`
1
+ import{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as Be,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,c as Qe,al as v,b7 as we,ai as K,dv as Je,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-CRjLU1CH.js";import{a as ae}from"./sentry-DZdy1Eny.js";import{n as i}from"./mui-G_qoHHKo.js";import{EP as Cr}from"./zeni-epic-state-BlmgKn3B.js";import{T as ir}from"./RoleWithToolTip-DL78JlR8-C9xZrPOP.js";import{j as or}from"./CardNumberSubText-DPlqciQh-CtVSDBTQ.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]="c57f4f40-8ddd-4b0b-b9cd-6d570645bb60",e._sentryDebugIdIdentifier="sentry-dbid-c57f4f40-8ddd-4b0b-b9cd-6d570645bb60")}catch{}})();const J="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:{[J]:e},values:{[J]:e}});ae.useEffect(()=>{n.setFocus(J)},[]);const m=()=>{c()},E=n.handleSubmit(()=>{const $=n.getValues(J);$!=null&&p($)}),I=ue(n.formState.errors,J),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(),E()},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:J,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`
2
2
  position: fixed;
3
3
  top: ${r.sp0};
4
4
  left: ${r.sp0};
@@ -49,7 +49,7 @@ import{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as B
49
49
  }
50
50
  `,Nr=i.form`
51
51
  display: contents;
52
- `,ee="spendLimit",Q=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:E,creditAccountRepayment:I,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:H,currentSpentAmount:B,productInformation:j,creditAccountInformation:W,debitAccountInformation:V,maxLimitAmount:O,isDisabled:G,updateLimitFetchState:Z,recommendations:N,cardIssuedByRoles:Y,cardHolderRoles:u,loggedInUserRole:F,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:E,creditAccountRepayment:I,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:H,recommendedLimitAmounts:ze,cardActivationDate:Ce,cardIssuedByRoles:Y,cardHolderRoles:u,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,loggedInUserRole:F,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:E,creditAccountRepayment:I,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:H,recommendedLimitAmounts:ze,cardActivationDate:Ce,cardIssuedByRoles:Y,cardHolderRoles:u,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,loggedInUserRole:F,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(Fr(B,O,ne))},[ne,B,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(Rr,{windowSize:f,role:"presentation","data-testid":de("update-spend-limit-popup"),children:t.jsx(Ge,{onClickAway:()=>s(),children:t.jsxs(Ar,{windowSize:f,children:[t.jsx(ge,{...te,children:t.jsxs(Yr,{id:se,onSubmit:w=>{w.preventDefault(),pr()},children:[t.jsx(Er,{windowSize:f,children:Q.heading}),t.jsxs(Or,{windowSize:f,children:[Q.currentLimit,$e.strings.space," ",re("0,0.[00]",H),Q.slashMonth]}),t.jsxs(Br,{hasError:ke,children:[t.jsx(fr,{label:{label:Q.newLimit,width:mr},showAdditionalInfoLabel:ke,additionalInfoLabel:dr,formattedTextField:{type:"number",name:ee,defaultValue:void 0,placeholder:Q.placeholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:w=>!!w&&w>0&&w>B.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(Hr,{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 Fr=(e,h,c)=>{if(c!=null){if(c<=e.amount)return Q.amountBelowError.replace("_amount_",re("0,0.[00]",e));if(h!=null&&c>h.amount)return Q.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:E,creditAccount:I,creditAccountRepayment:o,signedInUser:T,isDebitCard:$,classListFetchState:H,currentLimitAmount:B,recommendedLimitAmounts:j,cardActivationDate:W,cardIssuedByRoles:V,cardHolderRoles:O,cardIssuedByDepartmentName:G,cardHolderDepartmentName:Z,loggedInUserRole:N,clickItem:Y,newSpendLimitAmount:u})=>{n!=null&&H==="Completed"&&m!=null&&m.fetchState==="Completed"&&(!c||I.fetchState==="Completed"&&o.fetchState==="Completed")&&(!$||E==="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(B.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])},Rr=i.div`
52
+ `,ee="spendLimit",Q=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:E,creditAccountRepayment:I,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:H,currentSpentAmount:B,productInformation:j,creditAccountInformation:W,debitAccountInformation:V,maxLimitAmount:O,isDisabled:G,updateLimitFetchState:Z,recommendations:N,cardIssuedByRoles:Y,cardHolderRoles:u,loggedInUserRole:F,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:E,creditAccountRepayment:I,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:H,recommendedLimitAmounts:ze,cardActivationDate:Ce,cardIssuedByRoles:Y,cardHolderRoles:u,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,loggedInUserRole:F,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:E,creditAccountRepayment:I,signedInUser:o,isDebitCard:T,classListFetchState:$,currentLimitAmount:H,recommendedLimitAmounts:ze,cardActivationDate:Ce,cardIssuedByRoles:Y,cardHolderRoles:u,cardIssuedByDepartmentName:D,cardHolderDepartmentName:a,loggedInUserRole:F,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(Fr(B,O,ne))},[ne,B,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(Rr,{windowSize:f,role:"presentation","data-testid":de("update-spend-limit-popup"),children:t.jsx(Ge,{onClickAway:()=>s(),children:t.jsxs(Ar,{windowSize:f,children:[t.jsx(ge,{...te,children:t.jsxs(Yr,{id:se,onSubmit:w=>{w.preventDefault(),pr()},children:[t.jsx(Er,{windowSize:f,children:Q.heading}),t.jsxs(Or,{windowSize:f,children:[Q.currentLimit,$e.strings.space," ",re("0,0.[00]",H),Q.slashMonth]}),t.jsxs(Br,{hasError:ke,children:[t.jsx(fr,{label:{label:Q.newLimit,width:mr},showAdditionalInfoLabel:ke,additionalInfoLabel:dr,formattedTextField:{type:"number",name:ee,defaultValue:void 0,placeholder:Q.placeholder,returnValueType:"floatValue",prefix:"$",allowNegative:!0,isNumericString:!1,registerOptions:{required:!0,validate:w=>!!w&&w>0&&w>B.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(Hr,{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 Fr=(e,h,c)=>{if(c!=null){if(c<=e.amount)return Q.amountBelowError.replace("_amount_",re("0,0.[00]",e));if(h!=null&&c>h.amount)return Q.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:E,creditAccount:I,creditAccountRepayment:o,signedInUser:T,isDebitCard:$,classListFetchState:H,currentLimitAmount:B,recommendedLimitAmounts:j,cardActivationDate:W,cardIssuedByRoles:V,cardHolderRoles:O,cardIssuedByDepartmentName:G,cardHolderDepartmentName:Z,loggedInUserRole:N,clickItem:Y,newSpendLimitAmount:u})=>{n!=null&&H==="Completed"&&m!=null&&m.fetchState==="Completed"&&(!c||I.fetchState==="Completed"&&o.fetchState==="Completed")&&(!$||E==="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(B.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])},Rr=i.div`
53
53
  position: fixed;
54
54
  top: ${r.sp0};
55
55
  left: ${r.sp0};
@@ -127,7 +127,7 @@ import{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as B
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(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",R=(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:E,onDismissClick:I})=>{const o=he(),T=Me(),[$,H]=ae.useState(Object.fromEntries(Object.keys(l).map((a,s)=>[a,s===0]))),B=a=>{H(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,R(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};E(s)}}),u=Object.keys(l).length>1,F=Object.keys(l).length,D=Object.values(l).reduce((a,s)=>a+s.length,0);return t.jsx(He,{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(Jr,{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_",F.toString()).replace("_number_of_recurring_expenses_",D.toString())} ${D===1?S.expense:S.expenses} ${_.multipleCardsHasRecurringExpensesSuffix}`:_.multipleCardsNoRecurringExpenses.replace("_number_of_cards_",F.toString()):_.firstCardHasRecurringExpenses.replace("_number_of_recurring_expenses_",D.toString()).replace("_expense_",D===1?S.expense:S.expenses)}),u&&t.jsx(Pt,{children:`${F} ${F===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?B(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=Be},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(Fe,{}))]}),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(Fe,{}))]})]}),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:R(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:R(z,"reasonType"),id:`${R(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:R(z,"reasonType"),id:`${R(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:R(z,"reasonType"),id:`${R(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:R(z,"reasonType"),id:`${R(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:R(z,"reason"),placeholder:_.reasonPlaceholder,className:"reason-text-field",registerOptions:{required:!c,validate:a=>c?!0:!!a}}):N==null&&!c&&Z?t.jsx(Qr,{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`
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",R=(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:E,onDismissClick:I})=>{const o=he(),T=Me(),[$,H]=ae.useState(Object.fromEntries(Object.keys(l).map((a,s)=>[a,s===0]))),B=a=>{H(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,R(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};E(s)}}),u=Object.keys(l).length>1,F=Object.keys(l).length,D=Object.values(l).reduce((a,s)=>a+s.length,0);return t.jsx(He,{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(Jr,{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_",F.toString()).replace("_number_of_recurring_expenses_",D.toString())} ${D===1?S.expense:S.expenses} ${_.multipleCardsHasRecurringExpensesSuffix}`:_.multipleCardsNoRecurringExpenses.replace("_number_of_cards_",F.toString()):_.firstCardHasRecurringExpenses.replace("_number_of_recurring_expenses_",D.toString()).replace("_expense_",D===1?S.expense:S.expenses)}),u&&t.jsx(Pt,{children:`${F} ${F===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?B(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=Be},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(Fe,{}))]}),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(Fe,{}))]})]}),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:R(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:R(z,"reasonType"),id:`${R(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:R(z,"reasonType"),id:`${R(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:R(z,"reasonType"),id:`${R(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:R(z,"reasonType"),id:`${R(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:R(z,"reason"),placeholder:_.reasonPlaceholder,className:"reason-text-field",registerOptions:{required:!c,validate:a=>c?!0:!!a}}):N==null&&!c&&Z?t.jsx(Qr,{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`
131
131
  display: flex;
132
132
  flex-direction: column;
133
133
  background-color: ${e=>e.theme.colors.grey4};
@@ -298,7 +298,7 @@ import{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as B
298
298
  `,ft=i.div`
299
299
  margin: ${r.sp3} ${r.sp4} ${r.sp0} ${r.sp4};
300
300
  padding-bottom: ${r.sp2};
301
- `,yt=i.div`
301
+ `,bt=i.div`
302
302
  display: flex;
303
303
  justify-content: space-between;
304
304
  margin: ${r.sp2} ${r.sp0};
@@ -307,7 +307,7 @@ import{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as B
307
307
  min-height: 1px;
308
308
  max-height: 1px;
309
309
  width: 100%;
310
- `,bt=i(v)`
310
+ `,yt=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{Q as he,e as Me,a9 as me,y as d,c_ as ue,V as t,fb as He,ac as ge,ap as B
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(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",Re="lockCardPage",A=(e,h)=>`${e}.${h}`,Ae=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:E,onDismissClick:I})=>{const o=he(),T=Me(),[$,H]=ae.useState(Object.fromEntries(Object.keys(l).map((s,g)=>[s,g===0]))),B=s=>{H(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,A(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};E(g)}}),u=Object.keys(l).length>1,F=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(He,{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(Ft,{windowSize:o,children:[t.jsxs(Rt,{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:Ae(Re),onSubmit:Y,children:[t.jsxs(Kt,{children:[t.jsx(Gt,{windowSize:o,children:u?D>0?`${M.multipleCardsHasRecurringExpenses.replace("_number_of_cards_",F.toString()).replace("_number_of_recurring_expenses_",D.toString())} ${D===1?C.expense:C.expenses}.`:M.multipleCardsNoRecurringExpenses.replace("_number_of_cards_",F.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:`${F} ${F===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?B(s):void 0,isMoreThanOneCard:u,isLastCard:g===Object.keys(l).length-1,children:[t.jsxs(Jt,{windowSize:o,children:[t.jsxs(Et,{windowSize:o,children:[t.jsxs(ei,{windowSize:o,children:[p[s].cardHolderUser?.photo!==void 0?t.jsx(Ht,{src:p[s].cardHolderUser?.photo.href,alt:Nt.userProfileAltText,onError:({currentTarget:f})=>{f.onerror=null,f.src=Be},loading:"lazy"}):t.jsx(Ue,{firstName:p[s].cardHolderUser?.firstName??"",lastName:p[s].cardHolderUser?.lastName??"",size:r.sp6}),t.jsxs("div",{children:[t.jsx(Qt,{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(At,{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(Ee,{}),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(Ee,{}),t.jsxs(ai,{children:[t.jsxs(si,{windowSize:o,children:[t.jsx(Wt,{src:f.merchant.logo?.url?.href}),t.jsx(Bt,{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:A(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:A(k,"reasonType"),id:`${A(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:A(k,"reasonType"),id:`${A(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:A(k,"reasonType"),id:`${A(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:A(k,"reasonType"),id:`${A(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:A(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:Ae(Re),helperStyle:{paddingTop:r.sp0,paddingBottom:r.sp0},primaryBtn:{label:ve.confirm,isLoading:n==="In-Progress"},cancelBtn:{label:ve.cancel,style:{width:"90px"},onClick:()=>{I?.()}}})]})})},Ft=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(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",Re="lockCardPage",A=(e,h)=>`${e}.${h}`,Ae=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:E,onDismissClick:I})=>{const o=he(),T=Me(),[$,H]=ae.useState(Object.fromEntries(Object.keys(l).map((s,g)=>[s,g===0]))),B=s=>{H(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,A(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};E(g)}}),u=Object.keys(l).length>1,F=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(He,{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(Ft,{windowSize:o,children:[t.jsxs(Rt,{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:Ae(Re),onSubmit:Y,children:[t.jsxs(Kt,{children:[t.jsx(Gt,{windowSize:o,children:u?D>0?`${M.multipleCardsHasRecurringExpenses.replace("_number_of_cards_",F.toString()).replace("_number_of_recurring_expenses_",D.toString())} ${D===1?C.expense:C.expenses}.`:M.multipleCardsNoRecurringExpenses.replace("_number_of_cards_",F.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:`${F} ${F===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?B(s):void 0,isMoreThanOneCard:u,isLastCard:g===Object.keys(l).length-1,children:[t.jsxs(Jt,{windowSize:o,children:[t.jsxs(Et,{windowSize:o,children:[t.jsxs(ei,{windowSize:o,children:[p[s].cardHolderUser?.photo!==void 0?t.jsx(Ht,{src:p[s].cardHolderUser?.photo.href,alt:Nt.userProfileAltText,onError:({currentTarget:f})=>{f.onerror=null,f.src=Be},loading:"lazy"}):t.jsx(Ue,{firstName:p[s].cardHolderUser?.firstName??"",lastName:p[s].cardHolderUser?.lastName??"",size:r.sp6}),t.jsxs("div",{children:[t.jsx(Qt,{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(At,{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(Ee,{}),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(Ee,{}),t.jsxs(ai,{children:[t.jsxs(si,{windowSize:o,children:[t.jsx(Wt,{src:f.merchant.logo?.url?.href}),t.jsx(Bt,{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:A(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:A(k,"reasonType"),id:`${A(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:A(k,"reasonType"),id:`${A(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:A(k,"reasonType"),id:`${A(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:A(k,"reasonType"),id:`${A(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:A(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:Ae(Re),helperStyle:{paddingTop:r.sp0,paddingBottom:r.sp0},primaryBtn:{label:ve.confirm,isLoading:n==="In-Progress"},cancelBtn:{label:ve.cancel,style:{width:"90px"},onClick:()=>{I?.()}}})]})})},Ft=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,Q 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 Y,bV as _}from"./index-G4udIFQJ.js";import{n as d}from"./mui-BDpZEDd-.js";import{tM as N,bL as $,bh as S}from"./zeni-epic-state-B_64dD7k.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]="12556742-f85d-4e8c-8d61-7e2e5e707cbf",e._sentryDebugIdIdentifier="sentry-dbid-12556742-f85d-4e8c-8d61-7e2e5e707cbf")}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])},H=d.div`
1
+ import{F as v,Q 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 Y,bV as _}from"./index-CRjLU1CH.js";import{n as d}from"./mui-G_qoHHKo.js";import{tM as N,bL as $,bh as S}from"./zeni-epic-state-BlmgKn3B.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]="12556742-f85d-4e8c-8d61-7e2e5e707cbf",e._sentryDebugIdIdentifier="sentry-dbid-12556742-f85d-4e8c-8d61-7e2e5e707cbf")}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])},H=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 b}from"./index-CRjLU1CH.js";import{f as l}from"./ACHDetailsPage-CZfTXGMr-CI17UjpU.js";import"./sentry-DZdy1Eny.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./zeni-epic-state-BlmgKn3B.js";import"./mui-G_qoHHKo.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.js";import"./BankAccountWarningSection-BDEZ6LKQ-11XJ9ttg.js";import"./MagicLinkTitleSection-D6bdQGfS-4Cui-zz1.js";import"./BankAccountSection-P9w-MOrg-BTlhn7ds.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]="cea824f3-f93c-417b-83ca-1fc5ed135f6d",e._sentryDebugIdIdentifier="sentry-dbid-cea824f3-f93c-417b-83ca-1fc5ed135f6d")}catch{}})();const _=({magicLinkViewState:e,magicLinkBankAccountDetails:t,onSaveHandler:a,onACHDetailsUpdated:n,onFetchBankName:o,isDisabled:i,companyName:r})=>{const{fetchState:c,error:m,bankNameByRouting:d,bankAccountToCreate:f,fetchBankNameByRoutingStatus:s}=t,{currencySymbol:u,amount:p}=e;return b.jsx(l,{bankAccountToCreate:f,bankAccountCreationState:{fetchState:c,error:m},bankNameByRouting:d,fetchBankNameByRoutingStatus:s,onSaveHandler:a,onACHDetailsUpdated:n,onFetchBankName:o,isDisabled:i,companyName:r,isMagicLink:!0,currencySymbol:u,amount:p})};export{_ as default};
@@ -0,0 +1 @@
1
+ import{V as b}from"./index-CRjLU1CH.js";import{D as g}from"./DomesticWireDetailsPage-DeXdHoem-CGnMYsda.js";import"./sentry-DZdy1Eny.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./zeni-epic-state-BlmgKn3B.js";import"./mui-G_qoHHKo.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.js";import"./BankAccountSection-P9w-MOrg-BTlhn7ds.js";import"./MagicLinkTitleSection-D6bdQGfS-4Cui-zz1.js";import"./BankAccountWarningSection-BDEZ6LKQ-11XJ9ttg.js";import"./MailingDetailsSection-Db8X4a09-CGdNacsa.js";import"./LabeledAddressValueField-BNPvRvHU-EK3HrcNO.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]="c3ff9a29-8ce6-4ef3-9195-20d73a6251be",e._sentryDebugIdIdentifier="sentry-dbid-c3ff9a29-8ce6-4ef3-9195-20d73a6251be")}catch{}})();const E=({magicLinkViewState:e,magicLinkBankAccountDetails:t,mailingAddressDetails:a,isDisabled:o,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:y}=e;return b.jsx(g,{bankAccountToCreate:u,bankAccountCreationState:{fetchState:m,error:c},bankNameByRouting:p,addressToEdit:a,addressType:"vendor_address",fetchBankNameByRoutingStatus:f,isDisabled:o,onSaveHandler:r,onWireDetailsUpdated:i,onAddressClick:s,onFetchBankName:d,companyName:n,isMagicLink:!0,currencySymbol:l,amount:y})};export{E as default};
@@ -0,0 +1 @@
1
+ import{V as y}from"./index-CRjLU1CH.js";import{f as b}from"./InternationalWireSwiftDetailsPage-C0p3_QQy-C5e9qnYF.js";import"./sentry-DZdy1Eny.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./zeni-epic-state-BlmgKn3B.js";import"./mui-G_qoHHKo.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.js";import"./BankAccountWarningSection-BDEZ6LKQ-11XJ9ttg.js";import"./MailingDetailsSection-Db8X4a09-CGdNacsa.js";import"./LabeledAddressValueField-BNPvRvHU-EK3HrcNO.js";import"./MagicLinkTitleSection-D6bdQGfS-4Cui-zz1.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},e=new t.Error().stack;e&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[e]="0279de6d-3f69-487e-84b2-4718c4761a8f",t._sentryDebugIdIdentifier="sentry-dbid-0279de6d-3f69-487e-84b2-4718c4761a8f")}catch{}})();const x=({magicLinkViewState:t,magicLinkBankAccountDetails:e,mailingAddressDetails:a,isDisabled:n,companyName:i,onSaveHandler:o,onBankDetailsUpdated:r,onFetchBankNameBySwift:d,onAddressClick:s})=>{const{internationalBankAccountCreateStatus:m,internationalBankAccountToCreate:c,fetchBankNameBySwiftStatus:f,bankNameBySwift:l}=e,{currencySymbol:p,amount:u}=t;return y.jsx(b,{bankAccountToCreate:c,bankAccountCreationState:m,bankNameBySwift:l,addressToEdit:a,addressType:"vendor_address",fetchBankNameBySwiftStatus:f,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 a,c,d}from"./index-G4udIFQJ.js";import{n as o}from"./mui-BDpZEDd-.js";import"./sentry-CTrMrBL8.js";import"./liveblocks-CV4wYZBt.js";import"./core-CfLdY-k_.js";import"./recharts-B3SHU5RU.js";import"./zeni-epic-state-B_64dD7k.js";import"./lottie-Dw1I6Lqb.js";import"./analytics-BYwa85mC.js";import"./lexical-C2hQPjBk.js";import"./utils-yHZwLkmM.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]="67e2ba90-a710-42ee-8362-56595d6935b5",e._sentryDebugIdIdentifier="sentry-dbid-67e2ba90-a710-42ee-8362-56595d6935b5")}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 a,c,d}from"./index-CRjLU1CH.js";import{n as o}from"./mui-G_qoHHKo.js";import"./sentry-DZdy1Eny.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./zeni-epic-state-BlmgKn3B.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.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]="67e2ba90-a710-42ee-8362-56595d6935b5",e._sentryDebugIdIdentifier="sentry-dbid-67e2ba90-a710-42ee-8362-56595d6935b5")}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 p,aY as d,V as n,c as C,o as a,al as m,p as f,ci as g}from"./index-G4udIFQJ.js";import{n as s}from"./mui-BDpZEDd-.js";import{a as c}from"./sentry-CTrMrBL8.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]="21c0779a-c1c5-4a34-8336-ca70ba607650",e._sentryDebugIdIdentifier="sentry-dbid-21c0779a-c1c5-4a34-8336-ca70ba607650")}catch{}})();const y=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.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:t,amount:r})=>{const i=p.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,l=r>0?` ${d("0,0.[00]",r,t)}`:"",o=i.title.replace(/<tenant_name>/,e)+l;return n.jsxs(n.Fragment,{children:[n.jsx(w,{children:o}),n.jsxs(b,{children:[i.description.replace(/<tenant_name>/,e),n.jsxs(u,{children:[n.jsx(h,{}),i.encrypted]})]})]})},u=s(g)`
1
+ import{F as p,aY as d,V as n,c as C,o as a,al as m,p as f,ci as g}from"./index-CRjLU1CH.js";import{n as s}from"./mui-G_qoHHKo.js";import{a as c}from"./sentry-DZdy1Eny.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]="21c0779a-c1c5-4a34-8336-ca70ba607650",e._sentryDebugIdIdentifier="sentry-dbid-21c0779a-c1c5-4a34-8336-ca70ba607650")}catch{}})();const y=e=>c.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},c.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:t,amount:r})=>{const i=p.getLocalizedStrings().spendManagement.billPay.billDetails.magicLink.magicLinkScreen,l=r>0?` ${d("0,0.[00]",r,t)}`:"",o=i.title.replace(/<tenant_name>/,e)+l;return n.jsxs(n.Fragment,{children:[n.jsx(w,{children:o}),n.jsxs(b,{children:[i.description.replace(/<tenant_name>/,e),n.jsxs(u,{children:[n.jsx(h,{}),i.encrypted]})]})]})},u=s(g)`
2
2
  display: flex;
3
3
  gap: ${a.sp1};
4
4
  color: ${f.successDark};
@@ -1,4 +1,4 @@
1
- import{Q as c,F as u,y as d,V as s,o as a,cK as h,b9 as $,u as i}from"./index-G4udIFQJ.js";import{n as g}from"./mui-BDpZEDd-.js";import{C as y}from"./LabeledAddressValueField-BNDFFbl6-Bnl_fTov.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]="aa92cbf6-8896-44f3-9fb2-feab787308df",e._sentryDebugIdIdentifier="sentry-dbid-aa92cbf6-8896-44f3-9fb2-feab787308df")}catch{}})();const r={largeLabelWidth:new d(120,140,220),paddingTopBottom:new d(i[3],i[3]),marginRight:new d(i[3],i[8]),marginLeft:new d(i[3],i[6]),marginLeftTitle:new d(i[4],i[6])},D=({sectionId:e,addressToEdit:o,addressType:n,isDisabled:f,onAddressClick:m})=>{const l=c(),t=u.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,p=r.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:f,label:{label:t.address,width:p},addressValueField:{name:w(e,"mailingAddress"),placeholder:h(t.address),defaultValue:o,registerOptions:{validate:b=>b!=null},onClick:()=>{m(n)}},additionalInfoLabel:t.additionalAddressLabel,showAdditionalInfoLabel:!0,style:{width:"auto",padding:`${a.sp2} ${a.sp2} ${a.sp2} ${a.sp0}`},hasHoverBorder:!1})})]})},w=(e,o)=>`${e}.${o}`,x=g.div`
1
+ import{Q as c,F as u,y as d,V as s,o as a,cK as h,b9 as $,u as i}from"./index-CRjLU1CH.js";import{n as g}from"./mui-G_qoHHKo.js";import{C as y}from"./LabeledAddressValueField-BNPvRvHU-EK3HrcNO.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]="6687e87a-34f3-428d-8a9f-ab4fbc0e5f4e",e._sentryDebugIdIdentifier="sentry-dbid-6687e87a-34f3-428d-8a9f-ab4fbc0e5f4e")}catch{}})();const r={largeLabelWidth:new d(120,140,220),paddingTopBottom:new d(i[3],i[3]),marginRight:new d(i[3],i[8]),marginLeft:new d(i[3],i[6]),marginLeftTitle:new d(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,f=r.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:f},addressValueField:{name:w(e,"mailingAddress"),placeholder:h(t.address),defaultValue:o,registerOptions:{validate:b=>b!=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{e as z,Q 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-G4udIFQJ.js";import{a as y}from"./sentry-CTrMrBL8.js";import{n as t}from"./mui-BDpZEDd-.js";import{bL as E}from"./zeni-epic-state-B_64dD7k.js";import"./liveblocks-CV4wYZBt.js";import"./core-CfLdY-k_.js";import"./recharts-B3SHU5RU.js";import"./lottie-Dw1I6Lqb.js";import"./analytics-BYwa85mC.js";import"./lexical-C2hQPjBk.js";import"./utils-yHZwLkmM.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]="ae9c93ad-1df2-4c6c-bb1b-a59335ac2a07",e._sentryDebugIdIdentifier="sentry-dbid-ae9c93ad-1df2-4c6c-bb1b-a59335ac2a07")}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])},J={title:new W("standardMedium","largeMedium")},N=t.img`
1
+ import{e as z,Q 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-CRjLU1CH.js";import{a as y}from"./sentry-DZdy1Eny.js";import{n as t}from"./mui-G_qoHHKo.js";import{bL as E}from"./zeni-epic-state-BlmgKn3B.js";import"./liveblocks-B2F837W5.js";import"./core-BZCxWmUX.js";import"./recharts-CCryt90F.js";import"./lottie-CgAPdzgC.js";import"./analytics-BHfEcMs7.js";import"./lexical-D8AhEV3-.js";import"./utils-D8ZC_tPv.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]="ae9c93ad-1df2-4c6c-bb1b-a59335ac2a07",e._sentryDebugIdIdentifier="sentry-dbid-ae9c93ad-1df2-4c6c-bb1b-a59335ac2a07")}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])},J={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};