@zeniai/web-cockpit-ui 1.15.58-qa → 1.15.59-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 (314) hide show
  1. package/dist/assets/{ACHDetailsPage-CfvX6zSV-BnYXr7da.js → ACHDetailsPage-CFhoboVe-NhNiWQoq.js} +1 -1
  2. package/dist/assets/{AIPerformancePage-BTVbAUHG-BoVD62zB.js → AIPerformancePage-DB-fTWME-C20PCC17.js} +31 -31
  3. package/dist/assets/AccountInfoPage-pEEhPqOb-CuwSCEbu.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-Bk0YQ-4C-BFfUei9K.js → AccountInfoPageContent-eYEsv7ac-CxPwO1am.js} +17 -17
  5. package/dist/assets/{AccountLockedInfoModal-DM2zVI24-BKusNt5D.js → AccountLockedInfoModal-jYWr_8TD-BpvSTyB8.js} +8 -8
  6. package/dist/assets/{AccountReconDetailsDrawerPage-B6mhnC_D-UmCS2ljL.js → AccountReconDetailsDrawerPage-3Q0EPYhL-DhctK78k.js} +44 -44
  7. package/dist/assets/{AccountRow-2vAGu-jm-Ban2UP27.js → AccountRow-CdgvnPG8-BbJV8Q8M.js} +22 -22
  8. package/dist/assets/{AccountsPromoCardStack-z9STg_F3-DQIMAcch.js → AccountsPromoCardStack-DHo59LLN-G_DVA-Yj.js} +22 -22
  9. package/dist/assets/AddAddressForCardDrawer-BzO1FXUa-kqMHH9Vt.js +6 -0
  10. package/dist/assets/{AddToWalletPage-BMPHVMEY-uJdVtbyv.js → AddToWalletPage-BfXFbHjk-QRigQSHV.js} +28 -28
  11. package/dist/assets/{AgingReportsPage-Bngg8YpI-C_fcRo8j.js → AgingReportsPage-C1hFq4KH-COTxuu-2.js} +7 -7
  12. package/dist/assets/{AllUserItems-DzHTUgrn-wXFIirZl.js → AllUserItems-B6pnKByY-BUdz_J3g.js} +10 -10
  13. package/dist/assets/ApAgingDetailPage-CxLVGnpY-OkmLiLaF.js +46 -0
  14. package/dist/assets/{AppBasePage-DUoMiO7X-DW6VTkB1.js → AppBasePage-DiVxF606-C03aQg1o.js} +7 -7
  15. package/dist/assets/AppDrawerContent-B_EWsf8O-16pnrlUd.js +92 -0
  16. package/dist/assets/{ApprovalRulesSettingsPage-BfXvTQyU-Dh6b5zsc.js → ApprovalRulesSettingsPage-HHjDp_NQ-CDZaolru.js} +6 -6
  17. package/dist/assets/{ArAgingChart-BwVPNYHv-3oBDpKQx.js → ArAgingChart-Ba4A-i2N-Cm3Zb2-A.js} +1 -1
  18. package/dist/assets/ArAgingDetailPage-prgcvsS4-CC5CLIGP.js +46 -0
  19. package/dist/assets/{AttachmentView-DQKnQgQK-Bu5XLE-W.js → AttachmentView-SsWJw4A8-BGK1ntZP.js} +8 -8
  20. package/dist/assets/BalancesInsightWithToolTip-DE6gDjGA-D3lvmUPJ.js +38 -0
  21. package/dist/assets/{BankAccountSection-DxW0EB-K-BfA6R4ym.js → BankAccountSection-B4jmT0lb-DzAFSATj.js} +11 -11
  22. package/dist/assets/{BankAccountWarningSection-BQlPiqev-DQgUD-fz.js → BankAccountWarningSection-Bz2itMx0-BwlD2-aX.js} +9 -9
  23. package/dist/assets/{BankConnectionsSettingsPage-CFk2aMnM-Mskj_CdN.js → BankConnectionsSettingsPage-BcVk7bTt-CT4jBj4R.js} +26 -26
  24. package/dist/assets/{BillDetailPage-44pWv8Nq-DZ4TiXFR.js → BillDetailPage-Dkqmi4H1-BrWo4uGz.js} +4 -4
  25. package/dist/assets/{BillPayApprovalRuleDetailPage-D_Q7_oVR-Dl3E9h_h.js → BillPayApprovalRuleDetailPage-Blxlv3pa-CZSNHT3K.js} +1 -1
  26. package/dist/assets/{BillPayApprovalRulesPage-iTvysPLf-B5MNc-_v.js → BillPayApprovalRulesPage-B_QwggJS-LtyCS7v3.js} +14 -14
  27. package/dist/assets/{BillPayPromoPage-B5AGf-Xt-024pxlZZ.js → BillPayPromoPage-Bx2AXpWe-Du89a98b.js} +5 -5
  28. package/dist/assets/{BillPaySetUpPage-bNDxI3Kh-6_VU18cC.js → BillPaySetUpPage-CM7_DkHC-CclJKf3M.js} +3 -3
  29. package/dist/assets/{BillingSettingsPage-4WGlC_Ok-DUDn5i-o.js → BillingSettingsPage-DM0OIfxa-BuoiB9BU.js} +9 -9
  30. package/dist/assets/{BillsBulkReviewDrawerPage-8E35ktf3-Cw9-crTl.js → BillsBulkReviewDrawerPage-C3xmQ7wz-Bwj3c210.js} +1 -1
  31. package/dist/assets/{BoxItem-Yk1jfFWZ-DzXp7dNR.js → BoxItem-CvCo0wr6-DKAIvhWo.js} +1 -1
  32. package/dist/assets/{BusinessVerificationPage-CYzudAIt-BBXKWut1.js → BusinessVerificationPage-BAZmkR4a-AnwjdvL9.js} +10 -10
  33. package/dist/assets/{CardNumberSubText-DjHY0FvO-CjPeFW5K.js → CardNumberSubText-DHtSIcZZ-DL8DMs-k.js} +1 -1
  34. package/dist/assets/{CashbackDetailPage-BBnND02O-DWBUQ_Fx.js → CashbackDetailPage-CNS1FA6b-JWXE3hsL.js} +21 -21
  35. package/dist/assets/{ChargeCardDetailPage-BIR8jdTw-Czwwolcz.js → ChargeCardDetailPage-C4NeG7IM-CPxS6cRg.js} +35 -35
  36. package/dist/assets/{ChargeCardListPage-DIaPTqHg-CsAQvjuT.js → ChargeCardListPage-DNYiWaEf-DJhH9poc.js} +24 -24
  37. package/dist/assets/{ChargeCardListTable-Daaen5Xe-DifYJ3Zj.js → ChargeCardListTable-DdnyzdFf-BmYCmkcc.js} +49 -49
  38. package/dist/assets/{ChargeCardPaymentHistoryPage-BdQWV5hd-BxCbxBo_.js → ChargeCardPaymentHistoryPage-CXlqzaUt-BEtGgsbY.js} +36 -36
  39. package/dist/assets/{ChargeCardPromoPage-DAk2fYcE--OhP0cnw.js → ChargeCardPromoPage-D4canPX9-DuNs-QpK.js} +23 -23
  40. package/dist/assets/{ChargeCardSetupPage-64bBN1fe-BqFWzRA1.js → ChargeCardSetupPage-BtikPFOq-_QFEhM40.js} +3 -3
  41. package/dist/assets/ChargeCardStatementsPage-RepWBbvJ-fE-f9dTt.js +60 -0
  42. package/dist/assets/{CheckDepositDrawerPage-DlJJaad8-CLbfXmNK.js → CheckDepositDrawerPage-BCqg3irO-BNQC0cqt.js} +21 -21
  43. package/dist/assets/{CollapsableReportTable-CcyH-50D-D4qh_Iwq.js → CollapsableReportTable-gy7Ue_fk-D4P0G-Lp.js} +528 -496
  44. package/dist/assets/{CompanyOfficerDetailsSection-m-m1nELP-S26KFwxz.js → CompanyOfficerDetailsSection-BsCx7q-g-vYNOEpVO.js} +15 -15
  45. package/dist/assets/{CompanyPassportCard-ZBDBE8eV-CMQWkwBr.js → CompanyPassportCard-BbUWOs1U-BLVqocbL.js} +4 -4
  46. package/dist/assets/{CompanyPassportPage-B6zI52Pp-B__XqIFB.js → CompanyPassportPage-BnP2oA1U-zWSSW3Bs.js} +29 -29
  47. package/dist/assets/{CompleteProfile-BLWNz2VA-tYLyFWWU.js → CompleteProfile-TiRsm2Fm-CIjFxaAm.js} +3 -3
  48. package/dist/assets/ConfettiBurst-D7J36hZf-BKlSjT6j.js +1 -0
  49. package/dist/assets/{ConstrainedInnerElement-CgdnMeoA-BJt0x_QL.js → ConstrainedInnerElement-CgdnMeoA-Bv_SCMJB.js} +1 -1
  50. package/dist/assets/{CreateOrEditVendorPage-D_fPbFsR-ChtzoVO1.js → CreateOrEditVendorPage-Dihzr1D5-D9cB4SAg.js} +19 -19
  51. package/dist/assets/{CreditCardPaymentDrawerPage-Bl82rSY1-DDoITNb_.js → CreditCardPaymentDrawerPage-CZGzDuxC-p3RWbIDE.js} +14 -14
  52. package/dist/assets/{CurrencySelectField-CwNGSmb2-BfwCMrZd.js → CurrencySelectField-BTAmIqPa-BqQ2_ci5.js} +4 -4
  53. package/dist/assets/{CustomerOnboardingActivationPage-L6GfGsJ9-BbZGV_dK.js → CustomerOnboardingActivationPage-MVI7kqIh-wst5cRj4.js} +5 -5
  54. package/dist/assets/CustomerOnboardingContainerPage-DV3z4pR--Dxqq0QJL.js +1 -0
  55. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-MP-lAuJG-UK3eLYnf.js → CustomerOnboardingDetailPageSkeleton-CaI_0pCb-CxQ8bQdr.js} +14 -14
  56. package/dist/assets/{CustomerOnboardingNoStepsPage-DF6CbSZs-7ZmdawXZ.js → CustomerOnboardingNoStepsPage-CO_c2COV-pLp1hFCt.js} +6 -6
  57. package/dist/assets/{CustomerOnboardingPage-Cl4wtP6t-Ex1UzqXa.js → CustomerOnboardingPage-BF0vuYaJ-JMRuse4Z.js} +14 -14
  58. package/dist/assets/{CustomerOnboardingProductSuitePage-vkblu46s-h4faigoV.js → CustomerOnboardingProductSuitePage-BGFdLX1i-DySt6BQg.js} +6 -6
  59. package/dist/assets/{Dashboard-C1Fn0zHa-CkDT70CD.js → Dashboard-Qjedd4r--DHZmjgJN.js} +1 -1
  60. package/dist/assets/{DashboardReportPage-3lvWkrXH-CKAZqKLe.js → DashboardReportPage-Deith_ON-ChcA84Vk.js} +24 -24
  61. package/dist/assets/{DashboardSidebarBackgroundAnimation-Cn_5tbit-DB1raPJt.js → DashboardSidebarBackgroundAnimation-C7DfUDio-DPyKxS1U.js} +1 -1
  62. package/dist/assets/{DepositAccTransactionItem-DnL2eweO-BVp_XIJO.js → DepositAccTransactionItem-7kYotKov-BnPXoaAG.js} +6 -6
  63. package/dist/assets/{DepositAccTransactionListPage-HAUhc4OH-w6xPsKCN.js → DepositAccTransactionListPage-Bop4Uj5w-ZOaAmZOC.js} +3 -3
  64. package/dist/assets/DomesticWireDetailsPage-_TyXsqEx-cl5Mv1ja.js +21 -0
  65. package/dist/assets/{DownloadOverlay-GFsPIkgY-CIatX2-l.js → DownloadOverlay-Cmd727bN-BHplNe_3.js} +23 -23
  66. package/dist/assets/{DrawerPage-DudtPicH-DR7eAOPs.js → DrawerPage-DmGwfnGp-B5EgKZxZ.js} +14 -14
  67. package/dist/assets/EditPeoplePage-YyluIC6R-CQIl30sj.js +55 -0
  68. package/dist/assets/{EditReimbursementDetailPage-D8RHkMHR-DhpHj6Tk.js → EditReimbursementDetailPage-DeMid2Ko-BTURFjuA.js} +84 -84
  69. package/dist/assets/EntityDetailPage-DPTSSZdS-B-VW2ygZ.js +18 -0
  70. package/dist/assets/{EntitySummarySection-Po9-k_zM-CKOvXyjt.js → EntitySummarySection-5NbutA8l-Z4HQfo2N.js} +15 -15
  71. package/dist/assets/{ExpenseAutomationOverviewPage-CbLRqpw3-CE6o3IC8.js → ExpenseAutomationOverviewPage-CQ_3WluW-sBkDi2LJ.js} +10 -10
  72. package/dist/assets/{ExpenseAutomationPage-DD33LDin-CmmvW3gw.js → ExpenseAutomationPage-VuU4acYd-DRu_62Rz.js} +239 -239
  73. package/dist/assets/{ExpressPayPage-BbHx9h8j-Jtoo_XSn.js → ExpressPayPage-DhoNmyC2-Ixqn7FeR.js} +15 -15
  74. package/dist/assets/{FeaturePreviewPage-72x3P-pq-fDKDe74V.js → FeaturePreviewPage-GSwhPxgP-C20k6nV5.js} +2 -2
  75. package/dist/assets/{FollowStepsSection-BT_WjsEy-6nsqXk2v.js → FollowStepsSection-DaueHRo4-DdiQ4lOn.js} +11 -11
  76. package/dist/assets/{GlobalReviewListPage-C5h9rvVb-BrdUyPnT.js → GlobalReviewListPage-DG7_1HOT-mLv5NHYa.js} +8 -8
  77. package/dist/assets/{InformationCardStack-CjpOEuJF-DF2z_fcp.js → InformationCardStack-zc-BxR7F-B2cR2Vrc.js} +4 -4
  78. package/dist/assets/{InsightsCardStack-CkxN0Fd6-D3ds4snJ.js → InsightsCardStack-DxCA5sFh-CBXIO7T2.js} +14 -14
  79. package/dist/assets/InsightsSection-BdFG3j3R-DpGjm8qb.js +27 -0
  80. package/dist/assets/{IntegrationsSettingsPage-CN3x9o-8-n2lkrWPc.js → IntegrationsSettingsPage-CaiL3kqS-yWfc1-ip.js} +4 -4
  81. package/dist/assets/{InternationalWireSwiftDetailsPage-C1WTGANK-CX6ZkpbL.js → InternationalWireSwiftDetailsPage-BrQVSzeS-DauYa5_z.js} +19 -19
  82. package/dist/assets/InternationalWireVerificationPage-NaLnhW9C-D3Wh10D9.js +65 -0
  83. package/dist/assets/InviteFormPage-fjqv2l7h-CoWToBnJ.js +312 -0
  84. package/dist/assets/{InvitePageListView-BbQyUnv0-DMumTMJP.js → InvitePageListView-CQecQhxr-BNu8hXMY.js} +48 -48
  85. package/dist/assets/InvitePeoplePage-DAEBuOnk-jK8Ueocl.js +12 -0
  86. package/dist/assets/InvoiceUploadSection-58l6ePuH-BuOyGSAC.js +140 -0
  87. package/dist/assets/{IssueChargeCardPage-BT9h01l_-siq7xJ-s.js → IssueChargeCardPage-Bkxqsgax-BMc-YwRY.js} +30 -30
  88. package/dist/assets/{LabeledAddressValue-DF623NAW-D4a6OVhw.js → LabeledAddressValue-CZfFV97h-DWDhZW5u.js} +2 -2
  89. package/dist/assets/LabeledAddressValueField-D66XOhMx-Di6mjf7B.js +45 -0
  90. package/dist/assets/{LabeledControlledCheckBoxField-DNFUkVLh-CuadpuTO.js → LabeledControlledCheckBoxField-BtnsqE4D-CLMK-CUC.js} +2 -2
  91. package/dist/assets/{LabeledCountryMultiSelectField-B5vytqi_-BXGWCwpL.js → LabeledCountryMultiSelectField-kopByxLB-CVecMMvH.js} +3 -3
  92. package/dist/assets/{LabeledCreatableSingleSelectField-DN5wCaeU-bysGqgYr.js → LabeledCreatableSingleSelectField-B6An-cwq-DxTaWad8.js} +3 -3
  93. package/dist/assets/LabeledDocumentField-D_ZD8JTn-BbI3Z3Te.js +41 -0
  94. package/dist/assets/{LabeledDropDownFormattedTextField-BvdkjSR_-0cU3E71g.js → LabeledDropDownFormattedTextField-CJ7ncCzH-CmOBBbLT.js} +8 -8
  95. package/dist/assets/{LabeledText-BDkcgGG4-YJ-8g03K.js → LabeledText-A1h_ionS-YHsepFfP.js} +4 -4
  96. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-BnDEbwhn-BjMBeUGB.js → LabeledUserSingleSelectWithSubtitlesField-IYaUvqgY-BQ0ZCt10.js} +17 -17
  97. package/dist/assets/{LabeledZeniRolesDropDownField-CY2feiXB-HP_5dGNT.js → LabeledZeniRolesDropDownField-DmynBXbJ-BkBy6SHA.js} +16 -16
  98. package/dist/assets/{LinkJETransactionPage-Bc3h7Bsx-Wiea8FhX.js → LinkJETransactionPage-D6-fL4a6-DPNZmHzv.js} +5 -5
  99. package/dist/assets/LockCardPage-BDlnh_zf-coxMaBNB.js +623 -0
  100. package/dist/assets/{LowBalancePopup-CKSy3iEi-DCgRxDtE.js → LowBalancePopup-CBPl_udd-D2XBBf4O.js} +6 -6
  101. package/dist/assets/MagicLinkACHDetailsPage-eq8wlXQr-DtgQBKXr.js +1 -0
  102. package/dist/assets/{MagicLinkDomesticWireDetailsPage-zLqzW0ZA-DNf2ZFPO.js → MagicLinkDomesticWireDetailsPage-BcNOhJgL-C8mUkiDX.js} +1 -1
  103. package/dist/assets/{MagicLinkInternationalWireDetailsPage-OpEbz58h-DNNhjP9x.js → MagicLinkInternationalWireDetailsPage-Df8XYlkg-BRWnjp0l.js} +1 -1
  104. package/dist/assets/MagicLinkSuccessPage-Cl461HWp-CO6oeX5F.js +31 -0
  105. package/dist/assets/{MagicLinkTitleSection-D38JxxrQ-CU50p6sN.js → MagicLinkTitleSection-DoIMYrRv-BlE9zH37.js} +4 -4
  106. package/dist/assets/MailingDetailsSection-NdwWGQ88-D7MwCKtI.js +21 -0
  107. package/dist/assets/{MyBankConnectionsSettingsPage-TSaL2Z3R-7urnLeL-.js → MyBankConnectionsSettingsPage-BU6TBzI1-DN5Npe5i.js} +10 -10
  108. package/dist/assets/{MyPendingActivationChargeCardListPage-BvcQUu1g-BAib1puz.js → MyPendingActivationChargeCardListPage-DcunCDU6-gyBwBEb_.js} +1 -1
  109. package/dist/assets/{MyProfileSettingsPage-AqrcruM6-CFhzI6VI.js → MyProfileSettingsPage-DF7ahyXE-B1LJnYuu.js} +7 -7
  110. package/dist/assets/{NavBarWithPicker-BpjOj0Mh-B0IyZ-5p.js → NavBarWithPicker-D2v1fhLS-C3H8GgqL.js} +5 -5
  111. package/dist/assets/{NavigationArrow-wyRPTk_w-CBPTcVzh.js → NavigationArrow-CWUL-6kN-BrqMd9Lj.js} +2 -2
  112. package/dist/assets/{NavigationDots-D4jbU1WN-2Zgm3tFB.js → NavigationDots-c-XSrFzE-Dxzsqafk.js} +4 -4
  113. package/dist/assets/{NewGlobalMerchantPage-B-aRURcQ-DM9ZiThQ.js → NewGlobalMerchantPage-FGEO68I8-B7wryl8V.js} +9 -9
  114. package/dist/assets/{NoDataChart-tpjEi1Wb-CneSdGWB.js → NoDataChart-DJhSgtLu-B7rWK9ww.js} +4 -4
  115. package/dist/assets/NoDataTable-BZiwo2qK-1fFq9QL7.js +8 -0
  116. package/dist/assets/{NotFoundPage-aEkhvzEG-5jUiDOLs.js → NotFoundPage-BN5unYX8-RIPoUtcm.js} +5 -5
  117. package/dist/assets/{NotificationSettingsPage-CMNyI8E6-BB9rHV42.js → NotificationSettingsPage-d8kHDj0M-BR4XfDGy.js} +31 -31
  118. package/dist/assets/{NotificationsListConfig-CqxCGQSM-CNk3ZSrm.js → NotificationsListConfig-ThKLok_w-DiwvAaDh.js} +1 -1
  119. package/dist/assets/{NotificationsPage-xmWyvsYE-DgxInQel.js → NotificationsPage-Uvu6XESA-C7IDz_PV.js} +28 -28
  120. package/dist/assets/{OpExByVendorPage-BwWSNQjj-ArHXz_mI.js → OpExByVendorPage-QyqRkD2_-BZtZlU0k.js} +8 -8
  121. package/dist/assets/{OverlayContainerPage-BG9y5C0t-C04r--J3.js → OverlayContainerPage-BG9y5C0t-B5Ccc20I.js} +1 -1
  122. package/dist/assets/PandLWithForecastPage-DJ2v5qbE-D34Zu7P_.js +123 -0
  123. package/dist/assets/{PaymentAccountSetupBillingAddressSection-Cg-iwsq9-yL-9Kg03.js → PaymentAccountSetupBillingAddressSection-q5z8XZFC-BXoCztnc.js} +12 -12
  124. package/dist/assets/{PeoplePage-CgLumn7f-DpLXgwxu.js → PeoplePage-C5ZdpVyR-D5gb3H9N.js} +34 -34
  125. package/dist/assets/{Preview-BoQzKWlV.js → Preview-M7TzJD6j.js} +1 -1
  126. package/dist/assets/{ProductsCarousel-LGZZZ4bc-BrX6HY26.js → ProductsCarousel-CXjLTOLy-qhgO5u3T.js} +4 -4
  127. package/dist/assets/{PromoBaseCards-DMnQ-nBZ-DDlepqsM.js → PromoBaseCards-CN9uZfG4-4ZG6rDcT.js} +3 -3
  128. package/dist/assets/{QBOConnectionDialog-ufRcAeE8-jq-VIkh3.js → QBOConnectionDialog-CXSi1Pd9-BlV5xAad.js} +3 -3
  129. package/dist/assets/{QBOSetupSection-BaxLXdyW-Bw8JqvSl.js → QBOSetupSection-BrtLMvEP-CWf9qAKV.js} +19 -19
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-CE0CxjTY-s7g4Epqs.js → ReimbursementApprovalRuleDetailPage-CS1BQ7pL-gwQi2ubd.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRulesPage-DDNhjbbG-e47fcCBo.js → ReimbursementApprovalRulesPage-aLRkhkZB-CtUN1jCI.js} +7 -7
  132. package/dist/assets/{ReimbursementDetailPage-BOW1JodW-Br3QbgaE.js → ReimbursementDetailPage-Dr5BTvEq-BkIwEWVX.js} +17 -17
  133. package/dist/assets/{ReimbursementPromoPage-lD4FRDbt-BTRv0wOn.js → ReimbursementPromoPage-C5Z0mVhQ-sIeJk3bD.js} +8 -8
  134. package/dist/assets/{ReimbursementSetUpPage-vZd1l3-L-BJb01JMz.js → ReimbursementSetUpPage-CXhOBErm-DH5oFO_k.js} +7 -7
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BV1eoHFe-Ct7RQx5a.js → ReimbursementsBulkReviewDrawerPage-CA0n0mau-YPT0uXmT.js} +1 -1
  136. package/dist/assets/{ReloadCard-DZJ1-x96-12T5DybX.js → ReloadCard-Bjp8ygC2-QCThgpLx.js} +6 -6
  137. package/dist/assets/{ReportTableViewSelector-NmHJk-6O-Bo6jFRe0.js → ReportTableViewSelector-DTk1dNWC-B6Y4EDN-.js} +9 -9
  138. package/dist/assets/ReportsPage-DrjOGopt-DJaJ6UxU.js +258 -0
  139. package/dist/assets/{RevenueChart-CKjVL6iT-Bl6arWa6.js → RevenueChart-CqGvXDr4-ls1jVoKH.js} +1 -1
  140. package/dist/assets/{ReviewDetailsPage-Dm5-QehL-C1ebQa3V.js → ReviewDetailsPage-CWBP7FBN-BDBxmvOT.js} +19 -19
  141. package/dist/assets/{ReviewOverlay-DyTC2zKj-Cqqa9ybn.js → ReviewOverlay-Cxkp85Kw-C7d3vwBi.js} +6 -6
  142. package/dist/assets/RoleWithToolTip-CqLxmtj6-BNUOWMRG.js +22 -0
  143. package/dist/assets/ScheduleDetailsFixedAssetsPage-CYvlB3Nf-BjdxIH5b.js +37 -0
  144. package/dist/assets/ScheduleDetailsPage-CZXJ15tN-CjrCADWR.js +37 -0
  145. package/dist/assets/ScheduleSequenceTable-DNPID_7F-j2fgEjwp.js +326 -0
  146. package/dist/assets/{ScreenRoutes-CCqT3xt1.js → ScreenRoutes-DJ_rUo9A.js} +1 -1
  147. package/dist/assets/{SetUpAccountSection-BkGBS9x_-R8tgE_Z9.js → SetUpAccountSection-_WPR-q2V-DrJlA8IQ.js} +16 -16
  148. package/dist/assets/{SignIn-DybDQnmR-ByUOpVOm.js → SignIn-CDEsZw_T-0YUs2QmP.js} +33 -33
  149. package/dist/assets/SignInScreen-CUXsEOc0.js +1 -0
  150. package/dist/assets/{SpendManagementListViewPage-DkEZTojy-CA6_5Fky.js → SpendManagementListViewPage-MOCWuROI-DKR38Veg.js} +11 -11
  151. package/dist/assets/{SpendManagementPerTabPage-CR9CphX3-BEr99KbG.js → SpendManagementPerTabPage-BeK0SCeE-D8khDgh_.js} +43 -43
  152. package/dist/assets/{SpendManagementSection-DqDra2TJ-DXPdzdx4.js → SpendManagementSection-DZFPfKNi-BUQ2S0Kz.js} +17 -17
  153. package/dist/assets/{StatementItem-DSuaMb54-ChcIWFK-.js → StatementItem-DjvU5wiI-DHTNeSpB.js} +2 -2
  154. package/dist/assets/StatementsPage-DYLp_e7W-C5hw_hkQ.js +58 -0
  155. package/dist/assets/{StatusSwitcher-Z7jo_R2B-D-RVNmDS.js → StatusSwitcher-jxaonB4S-Dw8Z5KsP.js} +2 -2
  156. package/dist/assets/{SubTabSwitcher-DJvtpJh2-CqJlCEZ1.js → SubTabSwitcher-CudjNlsi-Dk2m1EXt.js} +3 -3
  157. package/dist/assets/{SummaryCard-D4k-35Mt-CKKk3xUZ.js → SummaryCard-DPOhBmkr-Cj1Lt-Mp.js} +1 -1
  158. package/dist/assets/{TaskManagementPage-Cadtu3qQ-zX8lQopX.js → TaskManagementPage-CTMoHv0R-DzrReeZE.js} +13 -13
  159. package/dist/assets/{TimeRangeSwitcher-CXt00my3-kyL42Suj.js → TimeRangeSwitcher-SqY2MHGs-Bpa_mFEa.js} +5 -5
  160. package/dist/assets/{TimeframeSwitcher-D0ujXDLd-DkH3ill0.js → TimeframeSwitcher-BlJ2fuHy-8yHS99Lr.js} +4 -4
  161. package/dist/assets/{TimeframeSwitcherWithToggle-CMzQ2qRz-CKP0fk1A.js → TimeframeSwitcherWithToggle-Dgc1odUH-CNwpIwWb.js} +4 -4
  162. package/dist/assets/{TopExCard-BmRXVrxo-D8yAs-m9.js → TopExCard-CG8YLsYe-CsdBprjg.js} +11 -11
  163. package/dist/assets/{TopExDetailPage-Ds-BZjbz-IOO7_XQl.js → TopExDetailPage-TvYCbzSP-C1DN6y7-.js} +16 -16
  164. package/dist/assets/{TransactionActivityLogPage-CKIHtz5l-D-dTYDgC.js → TransactionActivityLogPage-BL3vEAdU-B_s3Ii9P.js} +11 -11
  165. package/dist/assets/{TransactionDetailPage-B1UKqtkR-BE9V0dPT.js → TransactionDetailPage-DUouBL0o-BwsVWjsw.js} +26 -26
  166. package/dist/assets/{TransactionList-BE3ODDi0-BDIJTskc.js → TransactionList-B16NONME-MhxbTKXX.js} +18 -18
  167. package/dist/assets/{TransactionListBig-JcBvCcMd-HNZ38dTS.js → TransactionListBig-CItPbTRV-CTDy7YXE.js} +10 -10
  168. package/dist/assets/TransactionListPage-DNecYY8M-DvyKlW5R.js +35 -0
  169. package/dist/assets/{TransactionVendorDetailPage-BCtWJV5U-CC-HiQvd.js → TransactionVendorDetailPage-DpqisXN8-BeIl3VIo.js} +6 -6
  170. package/dist/assets/{TransferDrawerPage-DoIPGIdB-JAB5Sz6q.js → TransferDrawerPage-Dsmbswu0-DuQeRo8o.js} +24 -24
  171. package/dist/assets/{TreasuryOverviewPage-lmaT3YkG-C6wF0pBN.js → TreasuryOverviewPage-BcRpcYmB-B_2n4w_R.js} +40 -40
  172. package/dist/assets/{TreasuryPromoPage-avx9YENY-CaSHYgG2.js → TreasuryPromoPage-DOO_OMRa-Nn5daNmi.js} +19 -19
  173. package/dist/assets/{TreasuryStatementsPage-BguLbwsn-B5E0Q7zz.js → TreasuryStatementsPage-A_U7bEy5-DdFUWuDa.js} +7 -7
  174. package/dist/assets/TreasuryTaxLetterPage-BsJn-BgX-CQZpySFF.js +58 -0
  175. package/dist/assets/{TrendChart-rzKYI72b-x69qqEF1.js → TrendChart-GMMat-NG-CAc9nAfG.js} +2 -2
  176. package/dist/assets/{TrendWithTransactions-atLfDrR5-B0aSX9-q.js → TrendWithTransactions-CrA4opNV-BTtTpjeg.js} +6 -6
  177. package/dist/assets/{UncategorizedAccountsMappingPage-5VnrVRL7-DkHh43Pm.js → UncategorizedAccountsMappingPage-CrzbFGOi-B7V18O6N.js} +10 -10
  178. package/dist/assets/{UnitIntegrationPage-CRtWNQ9s-BlzFosEv.js → UnitIntegrationPage-XZY6zJa7-Cq4xbYW7.js} +13 -13
  179. package/dist/assets/{UploadAdditionalDocumentOverlay-D0FPdZ3n-DT1NoKwU.js → UploadAdditionalDocumentOverlay-eqwSLigx-Ci9eqDqb.js} +2 -2
  180. package/dist/assets/Vendor2FAPopup-BHDivuPB-Cn8-yps4.js +1 -0
  181. package/dist/assets/VendorACHDetailsPage-DJ4Crnr0-adpyH1RD.js +1 -0
  182. package/dist/assets/{VendorDetailPage-DJ54yvWY-DtibNEE0.js → VendorDetailPage-DEu-yS8w-DNet96B_.js} +24 -24
  183. package/dist/assets/VendorDomesticWireDetailsPage-WFcOmpiN-CHE49l9v.js +1 -0
  184. package/dist/assets/{VendorFiling1099EditablePage-B0LEUR_g-CsMru02g.js → VendorFiling1099EditablePage-C461SzO0-BVUWElpF.js} +32 -32
  185. package/dist/assets/{VendorFirstReviewPage-7VUbqyR2-B-t_-gOw.js → VendorFirstReviewPage-klbCHS04-BFjy2m5_.js} +32 -32
  186. package/dist/assets/{VendorInternationalWireDetailsPage-CHFMTDYG-UTfMlqxi.js → VendorInternationalWireDetailsPage-DY0V-VbO-C2xJ0CsJ.js} +26 -26
  187. package/dist/assets/VendorInternationalWireSwiftDetailsPage-B8sx02I_-CE29O6S4.js +1 -0
  188. package/dist/assets/{VendorsAccountsSection-By1Bhh27--5FkvREo.js → VendorsAccountsSection-Cqcr-ArD-DAAwd5Iw.js} +4 -4
  189. package/dist/assets/{VerifyDevice-gXwkGIjJ-ffTqb92V.js → VerifyDevice-Dhu5iywf-HX-kw30c.js} +8 -8
  190. package/dist/assets/{VideoPlayer-DBU7xwIG-G3eDrHhm.js → VideoPlayer-ZGjx_Hp7-Nomi0VD9.js} +3 -3
  191. package/dist/assets/VideoPopup-R3u0N_if-DgVn2CAl.js +31 -0
  192. package/dist/assets/{WarningsDrawerPage-ByCZSQ-E-S67fi1hF.js → WarningsDrawerPage-TerLFC4m-C5ptwy3N.js} +8 -8
  193. package/dist/assets/{ZeniAccountDetailPage-DlCJ5UGq-D5M3rInN.js → ZeniAccountDetailPage-DQB7sXU9-CETOq0EN.js} +16 -16
  194. package/dist/assets/{ZeniAccountListViewPage-DTiBd3Ze-DvMCmuRh.js → ZeniAccountListViewPage-BwXKgf6g-DrDKS22-.js} +29 -29
  195. package/dist/assets/{ZeniAccountNavBarPieces-DAcKYXqh-C3pU1dfO.js → ZeniAccountNavBarPieces-CHUTFAWG-DBX2rB9H.js} +4 -4
  196. package/dist/assets/{ZeniAccountPromoPage-MPekAyNe-BSRrdgoj.js → ZeniAccountPromoPage-BkfJuMNV-DSkmb6Z5.js} +28 -28
  197. package/dist/assets/ZeniAccountSetupPage-C3drM4Zs-D-HaFV-S.js +36 -0
  198. package/dist/assets/{ZeniCopyright-B1muAGCe-RlRc6Vn6.js → ZeniCopyright-CznSgVJF-iBl18n1m.js} +1 -1
  199. package/dist/assets/{ZeniTransferAmountSlider-CX1FGWrl-Sctz6Ol2.js → ZeniTransferAmountSlider-C77DEl-C-CZljZWCZ.js} +7 -7
  200. package/dist/assets/{add-to-wallet-DgdBD8_G-D76iCYbd.js → add-to-wallet-DgdBD8_G-CM6IrCpv.js} +1 -1
  201. package/dist/assets/{analytics-R4GG3mhr.js → analytics-B_VWX-BQ.js} +1 -1
  202. package/dist/assets/analyticsHelper-B8fd42um.js +1 -0
  203. package/dist/assets/{analyticsHelper-BznLUYs2-PwxmAlPi.js → analyticsHelper-Bh8o1v3y-C4Sojiq_.js} +1 -1
  204. package/dist/assets/{arrow-south-east-round-PEovUgvH-BDgsRTSD.js → arrow-south-east-round-PEovUgvH-CQGzMyhs.js} +1 -1
  205. package/dist/assets/{auto-transfer-rule-mbafm5D3-keRK9wSo.js → auto-transfer-rule-mbafm5D3-Ba30im8q.js} +1 -1
  206. package/dist/assets/{chartTypes-Bckf_DAs-Bp9EYUYX.js → chartTypes-C14YY2Rq-DHigu710.js} +1 -1
  207. package/dist/assets/{commonDimensions-Bno19oYe-Ckn-nRQz.js → commonDimensions-CVpc-NCw-D6CVEqC_.js} +1 -1
  208. package/dist/assets/{commonTypes-CATFe6V_-DoBP4FJ5.js → commonTypes-Ec-PxfpT-Dj2109B_.js} +1 -1
  209. package/dist/assets/{constants-CEF2OtLN.js → constants-DgwGHN1r.js} +1 -1
  210. package/dist/assets/{core-DpPwA1EY.js → core-Cjh03OPu.js} +1 -1
  211. package/dist/assets/{dash.all.min-DdEpb4Db.js → dash.all.min-CCSNDyIp.js} +1 -1
  212. package/dist/assets/downloadPdf-BuPJ6cfr-Dyz4TLVR.js +1 -0
  213. package/dist/assets/{empty-nUYKFD2C.js → empty-DlGh28fD.js} +1 -1
  214. package/dist/assets/{empty-r8v2CG_J.js → empty-iTJcp-B8.js} +1 -1
  215. package/dist/assets/{epic-BSSFYfU0.js → epic-hN0N_N79.js} +1 -1
  216. package/dist/assets/{gift-box-Cmt9OgIZ-v4xTyl5z.js → gift-box-Cmt9OgIZ-TbiyaSAn.js} +1 -1
  217. package/dist/assets/{graphic-no-data-l-DU4J8fDt-CDoGR872.js → graphic-no-data-l-DU4J8fDt-CxIH_dl6.js} +1 -1
  218. package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-BB-JG1AW.js → graphic-no-data-net-burn-l-CzmycA0m-CUkTpFd-.js} +1 -1
  219. package/dist/assets/{handshake-BPg58FML-B0fu0zwh.js → handshake-BPg58FML-Dbtylvfc.js} +1 -1
  220. package/dist/assets/{helper-BCh4SWyd-CwI6N1FK.js → helper-AgH8nJln-Bk3G7LVh.js} +4 -4
  221. package/dist/assets/{index-CMalJxiA.js → index-B5cuJQnR.js} +1 -1
  222. package/dist/assets/{index-VSH6R5vg.js → index-Bk7UJBjY.js} +1 -1
  223. package/dist/assets/{index-BTvJvxFI.js → index-C4Fispms.js} +1 -1
  224. package/dist/assets/{index-C6nwvBZg.js → index-ChCGry2d.js} +1 -1
  225. package/dist/assets/{index-BlPcRVKX.js → index-DAwCqq2t.js} +1 -1
  226. package/dist/assets/{index-SEvYEB33.js → index-DFowIMIZ.js} +1 -1
  227. package/dist/assets/{index-uV9C0lq0.js → index-aCBnCBoN.js} +3602 -3593
  228. package/dist/assets/{lexical-WuSd_Y3l.js → lexical-9REae7LV.js} +1 -1
  229. package/dist/assets/{liveblocks-PPyiYwu4.js → liveblocks-CEY7tsth.js} +1 -1
  230. package/dist/assets/{lottie-CwowL814.js → lottie-BmLFYENY.js} +1 -1
  231. package/dist/assets/mapLoadingInProgressToTreeNode-DTyQHWMc-CfKVg64X.js +1 -0
  232. package/dist/assets/mapSectionWithAcOnlyToTreeNode-D7pjBGp6-Bef-KTrw.js +1 -0
  233. package/dist/assets/mapSpacerToTreeNode-Cd4FCXAf-BQ_XhzIu.js +1 -0
  234. package/dist/assets/mapTimeframeBalancesToTreeNode-Drhl_lnP-CrhrR0QG.js +1 -0
  235. package/dist/assets/mapTimeframeBalancesToTreeNode-UsawmMLa-_s__LV61.js +1 -0
  236. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-B-aNuSSK-BvCkLSPj.js +1 -0
  237. package/dist/assets/{mui-CgOsYmSB.js → mui-BosmckWV.js} +1 -1
  238. package/dist/assets/{page-detail-CWX5S47F-npur6fd8.js → page-detail-CWX5S47F-C2A7RuXG.js} +1 -1
  239. package/dist/assets/{panelSelectedMixin-Cddsb26L-BDFz9brn.js → panelSelectedMixin-Cddsb26L-CWVsp72I.js} +1 -1
  240. package/dist/assets/{radio-default-CiSgisfh-CaCRbViv.js → radio-default-CiSgisfh-Dhw9u_Vt.js} +1 -1
  241. package/dist/assets/{react-D6M30H8E.js → react-CLFAbS9n.js} +2 -2
  242. package/dist/assets/{react-DzADjYrb.js → react-D8DqvAAs.js} +1 -1
  243. package/dist/assets/{react-1JgjrFGc.js → react-DAXSMqh2.js} +1 -1
  244. package/dist/assets/{react-B5r5WB2A.js → react-DSh5n3Dg.js} +1 -1
  245. package/dist/assets/{react-D2UrnCU4.js → react-DT8qkoNX.js} +1 -1
  246. package/dist/assets/{react-5VwsKWlP.js → react-DTZ405nF.js} +1 -1
  247. package/dist/assets/{react-Bpsw4H-g.js → react-DxfKP-TY.js} +1 -1
  248. package/dist/assets/{react-C_FwXK63.js → react-ddvEC0y3.js} +1 -1
  249. package/dist/assets/{recharts-B5a8DAKj.js → recharts-CimMNwCJ.js} +1 -1
  250. package/dist/assets/{sentry-rcvLxAzW.js → sentry-DzaNjvx0.js} +1 -1
  251. package/dist/assets/{shield-DOlUxcFf-DrUeUva_.js → shield-DOlUxcFf-Cva3YFBn.js} +1 -1
  252. package/dist/assets/toCOABalancesWithID-wh35N3no-ClXxioRe.js +1 -0
  253. package/dist/assets/toChartData-G5y-N82I-BBptd2Gk.js +1 -0
  254. package/dist/assets/{upload-reimbursement-receipt-O2N8vcO7-BkGK3BZ_.js → upload-reimbursement-receipt-O2N8vcO7-CMjD_kCZ.js} +1 -1
  255. package/dist/assets/{uploadAttachment-BLbU_iLy-Cn6htN7U.js → uploadAttachment-RbkIBMGO-TVHnian4.js} +17 -17
  256. package/dist/assets/{uploadReceipts-CIgkuVpu-Bgo2p-8x.js → uploadReceipts-CIgkuVpu-Dil-Qv4Z.js} +1 -1
  257. package/dist/assets/{url-C66ml4tg.js → url-KRGewpHH.js} +1 -1
  258. package/dist/assets/{url-Ce1cqXlU.js → url-ymOv7sCf.js} +1 -1
  259. package/dist/assets/{useLongPress-GCK2COYQ-DY03cKku.js → useLongPress-GCK2COYQ-BgaoTE4k.js} +1 -1
  260. package/dist/assets/{usp-line-BBd1wKwW-BM7i27Wh.js → usp-line-BBd1wKwW-Bnk1sVWO.js} +1 -1
  261. package/dist/assets/{utils-GKlM-QyI.js → utils-THjX-QSp.js} +1 -1
  262. package/dist/assets/{zeni-epic-state-D5MWzrZ6.js → zeni-epic-state-BNpJ2txa.js} +7 -7
  263. package/dist/index.html +1 -1
  264. package/package.json +3 -3
  265. package/dist/assets/AccountInfoPage-XrG_Cs9Q-BjKmCZKu.js +0 -18
  266. package/dist/assets/AddAddressForCardDrawer-BjL_E7Jt-BqV5wj25.js +0 -6
  267. package/dist/assets/ApAgingDetailPage-BdNgdMZi-DJq3tAqz.js +0 -46
  268. package/dist/assets/AppDrawerContent-DpoXoHZU-DR5CGNls.js +0 -92
  269. package/dist/assets/ArAgingDetailPage-Cl5P98Kf-BFShKipH.js +0 -46
  270. package/dist/assets/BalancesInsightWithToolTip-B0YZt5m3-DjqAngZd.js +0 -38
  271. package/dist/assets/ChargeCardStatementsPage-B-XeiOnb-DLIBzbq-.js +0 -60
  272. package/dist/assets/ConfettiBurst-BCkkcLA1-CXjExpzp.js +0 -1
  273. package/dist/assets/CustomerOnboardingContainerPage-C_wG7Q8O-BR0kgKEZ.js +0 -1
  274. package/dist/assets/DomesticWireDetailsPage-QhDoZX5h-BgrN8fs3.js +0 -21
  275. package/dist/assets/EditPeoplePage-DD6wg7xI-_tzQnjsD.js +0 -55
  276. package/dist/assets/EntityDetailPage-levtFHaa-DA4k2cnL.js +0 -18
  277. package/dist/assets/InsightsSection-Cwd2cIP2-BnHpqv9D.js +0 -27
  278. package/dist/assets/InternationalWireVerificationPage-H6gzEDg6-fjU1XMHZ.js +0 -65
  279. package/dist/assets/InviteFormPage-D56FOZEG-CMUlIs-X.js +0 -312
  280. package/dist/assets/InvitePeoplePage-D-XyBXhF-D4mjC05U.js +0 -12
  281. package/dist/assets/InvoiceUploadSection-DaJWTI5B-B6XbuKee.js +0 -140
  282. package/dist/assets/LabeledAddressValueField-B5eyO5LD-1yB-ANDh.js +0 -45
  283. package/dist/assets/LabeledDocumentField-H4V0rHKt-CfD-D1mp.js +0 -41
  284. package/dist/assets/LockCardPage-DIZ-1K3B-DoKRqXz4.js +0 -623
  285. package/dist/assets/MagicLinkACHDetailsPage-DdWD8eZA-BQF6ZaYY.js +0 -1
  286. package/dist/assets/MagicLinkSuccessPage-fC1L-fjF-D0AcUoNI.js +0 -31
  287. package/dist/assets/MailingDetailsSection-_5DUMAiO-CN0GY3U_.js +0 -21
  288. package/dist/assets/NoDataTable-BtEKMdpl-5T10t8Bw.js +0 -8
  289. package/dist/assets/PandLWithForecastPage-GXzJgAFS-BaOt9ro5.js +0 -107
  290. package/dist/assets/ReportsPage-CqCp4w8y-DJ_z1O-2.js +0 -237
  291. package/dist/assets/RoleWithToolTip-Cu0ixEhp-CbBWt2cn.js +0 -22
  292. package/dist/assets/ScheduleDetailsFixedAssetsPage-9XyukA76-CCXXH9fn.js +0 -37
  293. package/dist/assets/ScheduleDetailsPage-CkMIJDcP-Pzn7oHhr.js +0 -37
  294. package/dist/assets/ScheduleSequenceTable-Dgb-vhXK-B0K_kZdi.js +0 -324
  295. package/dist/assets/SignInScreen-DTqfud4B.js +0 -1
  296. package/dist/assets/StatementsPage-BO3P2kKJ-Cx3q3Xoo.js +0 -58
  297. package/dist/assets/TransactionListPage-DqY2twbP-CMg44It6.js +0 -35
  298. package/dist/assets/TreasuryTaxLetterPage-BT_G7d-D-CkFo0wcb.js +0 -58
  299. package/dist/assets/Vendor2FAPopup-CH44a6ok-C6c_8fAz.js +0 -1
  300. package/dist/assets/VendorACHDetailsPage-YgMvjx2w-C_ciXBuk.js +0 -1
  301. package/dist/assets/VendorDomesticWireDetailsPage-CRsOlxyy-CCULw521.js +0 -1
  302. package/dist/assets/VendorInternationalWireSwiftDetailsPage-D0Fnosfi-7sDGJOsu.js +0 -1
  303. package/dist/assets/VideoPopup-Dxc93Pwx-4nt_V7AU.js +0 -31
  304. package/dist/assets/ZeniAccountSetupPage-CxYZzfiZ-r8QQEMaF.js +0 -36
  305. package/dist/assets/analyticsHelper-C5rhp2_h.js +0 -1
  306. package/dist/assets/downloadPdf-CkATqzUx-Dc-uQGNf.js +0 -1
  307. package/dist/assets/mapLoadingInProgressToTreeNode-DcYetEpP-CsO00r3l.js +0 -1
  308. package/dist/assets/mapSectionWithAcOnlyToTreeNode-CExgzViB-CdHm7xiF.js +0 -1
  309. package/dist/assets/mapSpacerToTreeNode-D02PFsN8-CpAel0E8.js +0 -1
  310. package/dist/assets/mapTimeframeBalancesToTreeNode-CoqcGXTM-BAVPnmdP.js +0 -1
  311. package/dist/assets/mapTimeframeBalancesToTreeNode-D0zXBGho-BFFFE8UF.js +0 -1
  312. package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-_7RU9lwp-BmunaChV.js +0 -1
  313. package/dist/assets/toCOABalancesWithID-C-wpsGXP-BaAwN-7v.js +0 -1
  314. package/dist/assets/toChartData-C-X2WzOE-DjbtnWdG.js +0 -1
@@ -1,13 +1,13 @@
1
- import{V as t,K as J,aa as he,O as q,cJ as ye,aG as ge,ct as be,cu as fe,cv as xe,ae as ve,aT as we,x as p,f3 as le,f4 as Ce,o as y,bb as $e,cN as oe,f as ne,f5 as De,f6 as K,cS as G,b3 as H,cO as je,eu as Te,u as a,ez as Se,ac as ke,p as V,N as Oe,L as Fe,bX as Le,ak as Ae,bM as Ie}from"./index-uV9C0lq0.js";import{a as R}from"./sentry-rcvLxAzW.js";import{n as g}from"./mui-CgOsYmSB.js";import{bi as X}from"./zeni-epic-state-D5MWzrZ6.js";import{W as We,A as ze}from"./BankAccountWarningSection-BQlPiqev-DQgUD-fz.js";import{T as Re}from"./MailingDetailsSection-_5DUMAiO-CN0GY3U_.js";import{S as Pe}from"./CurrencySelectField-CwNGSmb2-BfwCMrZd.js";import"./liveblocks-PPyiYwu4.js";import"./core-DpPwA1EY.js";import"./recharts-B5a8DAKj.js";import"./lottie-CwowL814.js";import"./analytics-R4GG3mhr.js";import"./lexical-WuSd_Y3l.js";import"./utils-GKlM-QyI.js";import"./LabeledAddressValueField-B5eyO5LD-1yB-ANDh.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]="738dc754-d295-42ef-a439-1086760f54c6",e._sentryDebugIdIdentifier="sentry-dbid-738dc754-d295-42ef-a439-1086760f54c6")}catch{}})();const F={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:k=!0}){const C=J(),{formState:{errors:b}}=oe(),$=ne(),D=Se(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Fe,{size:"Small",start:!0})});if(k&&j||D){let c=null;return o===!0&&k&&w&&(c=t.jsx(Le,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ue,{children:t.jsx(qe,{})})})),t.jsxs(Ne,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(Ee,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":ke("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:F.labelMarginLeft.value(C),marginRight:F.labelMarginRight.value(C),marginTop:F.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Me,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:F.controlHeight.value(C)}}),D?t.jsx(Be,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Ee=g.div`
1
+ import{V as t,e as J,aa as he,O as q,cQ as ye,aG as ge,cy as be,cz as fe,cA as xe,ae as ve,aT as we,x as p,fd as le,fe as Ce,o as y,bb as $e,cU as oe,g as ne,ff as De,fg as Z,cZ as G,b3 as H,cV as je,eE as Te,u as a,eJ as ke,ac as Se,d as M,N as Oe,L as Ae,c0 as Fe,ak as Le,bM as Ie}from"./index-aCBnCBoN.js";import{a as R}from"./sentry-DzaNjvx0.js";import{n as g}from"./mui-BosmckWV.js";import{bi as Q}from"./zeni-epic-state-BNpJ2txa.js";import{W as We,A as ze}from"./BankAccountWarningSection-Bz2itMx0-BwlD2-aX.js";import{T as Re}from"./MailingDetailsSection-NdwWGQ88-D7MwCKtI.js";import{S as Pe}from"./CurrencySelectField-BTAmIqPa-BqQ2_ci5.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";import"./LabeledAddressValueField-D66XOhMx-Di6mjf7B.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]="e4f93a5e-7e1b-433d-99e4-0cb2162e33d3",e._sentryDebugIdIdentifier="sentry-dbid-e4f93a5e-7e1b-433d-99e4-0cb2162e33d3")}catch{}})();const A={width:new p(343,580,726),height:new p(a[6],a[6]),controlHeight:new p(a[6],a[6]),paddingTopBottom:new p(a[2],a[2]),marginRight:new p(a[2],a[2]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2])},ae={infoLabel:new Oe("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:i,currencySelectField:l,style:f,errorInfoLabel:u,isAdditionalInfoLabelLoading:n=!1,showAdditionalLabelTooltip:o=!1,additionalLabelTooltip:w,additionalInfoLabel:j,showAdditionalInfoLabel:S=!0}){const C=J(),{formState:{errors:b}}=oe(),$=ne(),D=ke(b,l.name),m=()=>{if(n===!0)return t.jsx(He,{children:t.jsx(Ae,{size:"Small",start:!0})});if(S&&j||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Fe,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Me,{children:w}),children:t.jsx(Ue,{children:t.jsx(qe,{})})})),t.jsxs(Ne,{size:C,isError:D,hasToolTip:o,isDisabled:e!=null,children:[c,j]})}};return t.jsxs(Ee,{size:C,style:f,isDisabled:e!=null,isError:D,"data-testid":Se("labeled-currency-field",l.name),children:[t.jsx(G,{isDisabled:e,label:i.label,htmlFor:l.name,style:{marginLeft:A.labelMarginLeft.value(C),marginRight:A.labelMarginRight.value(C),marginTop:A.labelMarginTop.value(C),width:i.width??"auto",color:e==="disabled"?$.colors.grey2:$.colors.hero}}),t.jsxs(Be,{labelWidth:i.width,children:[t.jsx(Pe,{...l,isDisabled:e,style:{display:"flex",flexGrow:1,height:A.controlHeight.value(C)}}),D?t.jsx(Ve,{windowSize:C,hasError:D,children:u}):null,m()]})]})}const Ee=g.div`
2
2
  display: flex;
3
3
  flex-direction: row;
4
4
  align-items: flex-start;
5
5
  background-color: ${e=>e.theme.colors.grey5};
6
- width: ${e=>F.width.valuePx(e.size)};
7
- min-height: ${e=>F.height.valuePx(e.size)};
8
- padding-right: ${e=>F.marginRight.valuePx(e.size)};
9
- padding-top: ${e=>F.paddingTopBottom.valuePx(e.size)};
10
- padding-bottom: ${e=>F.paddingTopBottom.valuePx(e.size)};
6
+ width: ${e=>A.width.valuePx(e.size)};
7
+ min-height: ${e=>A.height.valuePx(e.size)};
8
+ padding-right: ${e=>A.marginRight.valuePx(e.size)};
9
+ padding-top: ${e=>A.paddingTopBottom.valuePx(e.size)};
10
+ padding-bottom: ${e=>A.paddingTopBottom.valuePx(e.size)};
11
11
  :first-of-type {
12
12
  border-top-left-radius: inherit;
13
13
  border-top-right-radius: inherit;
@@ -32,34 +32,34 @@ import{V as t,K as J,aa as he,O as q,cJ as ye,aG as ge,ct as be,cu as fe,cv as x
32
32
  z-index: 2;
33
33
  outline: 1px solid ${e=>e.theme.colors.primary};
34
34
  .select-control {
35
- background-color: ${e=>e.isError?V.importantLight:e.theme.colors.background};
35
+ background-color: ${e=>e.isError?M.importantLight:e.theme.colors.background};
36
36
  }
37
37
  }
38
38
 
39
39
  .select-control {
40
- background-color: ${e=>e.isError?V.importantLight:e.theme.colors.grey5};
40
+ background-color: ${e=>e.isError?M.importantLight:e.theme.colors.grey5};
41
41
  }
42
42
 
43
43
  &:hover {
44
44
  z-index: 1;
45
45
  outline: ${e=>e.isDisabled===!0?"none":`1px solid ${e.theme.colors.primary}`};
46
46
  .select-control {
47
- background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?V.importantLight:e.theme.colors.background};
47
+ background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?M.importantLight:e.theme.colors.background};
48
48
  }
49
49
  }
50
- `,Be=g.label`
51
- color: ${e=>e.hasError===!0?V.important:e.additionalInfoTextColor??e.theme.colors.grey1};
50
+ `,Ve=g.label`
51
+ color: ${e=>e.hasError===!0?M.important:e.additionalInfoTextColor??e.theme.colors.grey1};
52
52
  width: auto;
53
53
  ${e=>`${ae.infoLabel.style(e.windowSize)}`};
54
54
  padding-right: ${y.sp3};
55
55
  text-align: right;
56
- `,Me=g.div`
56
+ `,Be=g.div`
57
57
  display: flex;
58
58
  width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
59
59
  justify-content: flex-end;
60
60
  flex-direction: column;
61
61
  position: relative;
62
- `,Ve=g(Ae)`
62
+ `,Me=g(Le)`
63
63
  padding: 12px;
64
64
  color: ${e=>e.theme.colors.grey1};
65
65
  background: ${e=>e.theme.colors.overlayColor};
@@ -72,7 +72,7 @@ import{V as t,K as J,aa as he,O as q,cJ as ye,aG as ge,ct as be,cu as fe,cv as x
72
72
  `,Ne=g.label`
73
73
  display: flex;
74
74
  justify-content: flex-end;
75
- color: ${e=>e.isDisabled?e.theme.colors.grey2:e.isError?V.important:e.theme.colors.hero};
75
+ color: ${e=>e.isDisabled?e.theme.colors.grey2:e.isError?M.important:e.theme.colors.hero};
76
76
  ${e=>`${ae.infoLabel.style(e.size)}`};
77
77
  padding-right: ${y.sp3};
78
78
  text-align: right;
@@ -86,10 +86,10 @@ import{V as t,K as J,aa as he,O as q,cJ as ye,aG as ge,ct as be,cu as fe,cv as x
86
86
  width: ${y.sp3};
87
87
  height: ${y.sp3};
88
88
  color: inherit;
89
- `,S={largeLabelWidth:new p(120,140,220),paddingTopBottom:new p(a[3],a[3]),labelHeight:new p(a[6],a[6]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2]),controlHeight:new p(a[6],a[6]),toolTipWidth:new p(60,150)},Ge=({dynamicFormFetchState:e,dynamicFormConfig:i,supportedAccountTypes:l,supportedCountries:f,supportedCurrencies:u,wireAccountToCreate:n,sectionId:o,isCountryDropdownReadonly:w,isCurrencyDropdownReadonly:j,isDisabled:k,style:C})=>{const b=J(),{getValues:$}=oe(),D=ne(),m=q.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,{international:c}=m,x=S.largeLabelWidth.value(b),I=n?.accountType?.type,T=n?.countryCode==null,E=n?.currencyCode==null,O=["phone","email","other"];return t.jsx(Je,{style:C,children:t.jsxs(Ke,{children:[t.jsx(De,{isDisabled:w===!0?"readonly":void 0,label:{label:c.country,width:x},style:{width:"auto"},countrySelectField:{name:A(o,"vendorCountry"),placeholder:c.countryPlaceholder,defaultValue:le(n?.countryCode,f.map(s=>s.countryCode)),registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.countryAdditionalInfo}),t.jsx(z,{}),t.jsx(_e,{isDisabled:T===!0?"disabled":j===!0?"readonly":void 0,label:{label:c.currency,width:x},style:{width:"auto"},currencySelectField:{name:A(o,"vendorCurrency"),placeholder:c.currencyPlaceholder,defaultValue:{allOptions:u.map(s=>({label:`${s.currencySymbol} - ${s.currencyName}`,value:s.currencyCode,countryCode:s.countryCode,currency:s.currencyName})),selectedOption:n?.currencyCode},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.currencyAdditionalInfo}),t.jsx(z,{}),E!==!0&&e==="Completed"?t.jsxs(t.Fragment,{children:[t.jsx(K,{isDisabled:void 0,label:{label:c.typeOfAccount,width:x},style:{width:"auto"},singleSelectPickerField:{name:A(o,"typeOfAccount"),placeholder:c.typeOfAccountPlaceholder,defaultValue:{selectedOption:n?.accountType?.type,allOptions:l.map(s=>({label:s.title,value:s.type}))},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}}}),t.jsx(z,{})]}):null,n!=null&&I!=null&&n.dynamicForm[I]!=null&&i.length>0?Object.keys(n.dynamicForm[I]).map(s=>{const r=i.filter(_=>_.name===s)[0],h=n.accountType?.type;if(h!=null&&r!=null){const _=n.dynamicForm[h][s];switch(r.fieldType){case"text":return t.jsxs(t.Fragment,{children:[t.jsx(je,{label:{label:r.label+c.colon,width:x},text:{type:"text",name:W(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:_,options:{required:r.required,pattern:r.validationRegex!=null?new RegExp(r.validationRegex):void 0,maxLength:r.maxLength,minLength:r.minLength}},isDisabled:k,style:{width:"auto"},showAdditionalInfoLabel:!1},W(o,"dynamicForm",h,r.name)),t.jsx(z,{})]});case"select":return t.jsxs(t.Fragment,{children:[t.jsx(K,{isDisabled:void 0,label:{label:r.label+c.colon,width:x},style:{width:"auto"},singleSelectPickerField:{name:W(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:{selectedOption:_,allOptions:r.valuesAllowed??[]}}},W(o,"dynamicForm",h,r.name)),t.jsx(z,{})]});case"radio":return t.jsxs(t.Fragment,{children:[t.jsxs(Z,{size:b,children:[t.jsx(G,{label:r.label+c.colon,htmlFor:W(o,"dynamicForm",h,r.name),style:{marginLeft:S.labelMarginLeft.value(b),marginRight:S.labelMarginRight.value(b),width:x}}),t.jsx(Q,{labelWidth:x,size:b,children:r.valuesAllowed?.map(B=>t.jsx(H,{label:{label:B.label},style:{paddingRight:`${y.sp4}`,width:"auto"},radioField:{name:W(o,"dynamicForm",h,r.name),id:r.name,value:B.value,registerOptions:{required:!0}}},B.value))})]},W(o,"dynamicForm",h,r.name)),t.jsx(z,{})]});default:return null}}else return null}):null,t.jsxs(Xe,{size:b,children:[t.jsxs(Z,{size:b,children:[t.jsx(G,{label:c.addSource,htmlFor:A(o,"source"),style:{marginLeft:S.labelMarginLeft.value(b),marginRight:S.labelMarginRight.value(b),width:x},showTooltip:!0,tooltipTitle:c.sourceTooltip,toolTipWidth:S.toolTipWidth.valuePx(b)}),t.jsxs(Q,{labelWidth:x,size:b,children:[t.jsx(H,{label:{label:c.phone},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:A(o,"source"),id:O[0],value:O[0],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:c.email},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:A(o,"source"),id:O[1],value:O[1],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:c.other},style:{width:"auto"},isContainerClickable:!0,radioField:{name:A(o,"source"),id:O[2],value:O[2],registerOptions:{required:!0},radioSize:"small"}})]})]}),$(`${o}.source`)==="other"?t.jsx(Te,{type:"text",name:A(o,"otherSource"),placeholder:c.sourcePlaceholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:y.sp7,width:"calc(100% - largeLabelWidth)",background:D.colors.background,border:`1px solid ${D.colors.background}`,marginLeft:x},registerOptions:{required:!0,validate:s=>$(`${o}.source`)==="other"&&!!s}}):null]}),t.jsx(z,{})]})})},A=(e,i)=>`${e}.${i}`,W=(e,i,l,f)=>`${e}.${i}.${l}.${f}`,Je=g.div`
89
+ `,k={largeLabelWidth:new p(120,140,220),paddingTopBottom:new p(a[3],a[3]),labelHeight:new p(a[6],a[6]),labelMarginLeft:new p(a[3],a[4]),labelMarginRight:new p(a[3],a[4]),labelMarginTop:new p(a[2],a[2]),controlHeight:new p(a[6],a[6]),toolTipWidth:new p(60,150)},Ge=({dynamicFormFetchState:e,dynamicFormConfig:i,supportedAccountTypes:l,supportedCountries:f,supportedCurrencies:u,wireAccountToCreate:n,sectionId:o,isCountryDropdownReadonly:w,isCurrencyDropdownReadonly:j,isDisabled:S,style:C})=>{const b=J(),{getValues:$}=oe(),D=ne(),m=q.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,{international:c}=m,x=k.largeLabelWidth.value(b),I=n?.accountType?.type,T=n?.countryCode==null,E=n?.currencyCode==null,O=["phone","email","other"];return t.jsx(Je,{style:C,children:t.jsxs(Ze,{children:[t.jsx(De,{isDisabled:w===!0?"readonly":void 0,label:{label:c.country,width:x},style:{width:"auto"},countrySelectField:{name:L(o,"vendorCountry"),placeholder:c.countryPlaceholder,defaultValue:le(n?.countryCode,f.map(s=>s.countryCode)),registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.countryAdditionalInfo}),t.jsx(z,{}),t.jsx(_e,{isDisabled:T===!0?"disabled":j===!0?"readonly":void 0,label:{label:c.currency,width:x},style:{width:"auto"},currencySelectField:{name:L(o,"vendorCurrency"),placeholder:c.currencyPlaceholder,defaultValue:{allOptions:u.map(s=>({label:`${s.currencySymbol} - ${s.currencyName}`,value:s.currencyCode,countryCode:s.countryCode,currency:s.currencyName})),selectedOption:n?.currencyCode},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}},additionalInfoLabel:m.international.currencyAdditionalInfo}),t.jsx(z,{}),E!==!0&&e==="Completed"?t.jsxs(t.Fragment,{children:[t.jsx(Z,{isDisabled:void 0,label:{label:c.typeOfAccount,width:x},style:{width:"auto"},singleSelectPickerField:{name:L(o,"typeOfAccount"),placeholder:c.typeOfAccountPlaceholder,defaultValue:{selectedOption:n?.accountType?.type,allOptions:l.map(s=>({label:s.title,value:s.type}))},registerOptions:{validate:s=>!!(s!=null&&s.selectedOption)}}}),t.jsx(z,{})]}):null,n!=null&&I!=null&&n.dynamicForm[I]!=null&&i.length>0?Object.keys(n.dynamicForm[I]).map(s=>{const r=i.filter(_=>_.name===s)[0],h=n.accountType?.type;if(h!=null&&r!=null){const _=n.dynamicForm[h][s];switch(r.fieldType){case"text":return t.jsxs(t.Fragment,{children:[t.jsx(je,{label:{label:r.label+c.colon,width:x},text:{type:"text",name:W(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:_,options:{required:r.required,pattern:r.validationRegex!=null?new RegExp(r.validationRegex):void 0,maxLength:r.maxLength,minLength:r.minLength}},isDisabled:S,style:{width:"auto"},showAdditionalInfoLabel:!1},W(o,"dynamicForm",h,r.name)),t.jsx(z,{})]});case"select":return t.jsxs(t.Fragment,{children:[t.jsx(Z,{isDisabled:void 0,label:{label:r.label+c.colon,width:x},style:{width:"auto"},singleSelectPickerField:{name:W(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:{selectedOption:_,allOptions:r.valuesAllowed??[]}}},W(o,"dynamicForm",h,r.name)),t.jsx(z,{})]});case"radio":return t.jsxs(t.Fragment,{children:[t.jsxs(K,{size:b,children:[t.jsx(G,{label:r.label+c.colon,htmlFor:W(o,"dynamicForm",h,r.name),style:{marginLeft:k.labelMarginLeft.value(b),marginRight:k.labelMarginRight.value(b),width:x}}),t.jsx(X,{labelWidth:x,size:b,children:r.valuesAllowed?.map(V=>t.jsx(H,{label:{label:V.label},style:{paddingRight:`${y.sp4}`,width:"auto"},radioField:{name:W(o,"dynamicForm",h,r.name),id:r.name,value:V.value,registerOptions:{required:!0}}},V.value))})]},W(o,"dynamicForm",h,r.name)),t.jsx(z,{})]});default:return null}}else return null}):null,t.jsxs(Qe,{size:b,children:[t.jsxs(K,{size:b,children:[t.jsx(G,{label:c.addSource,htmlFor:L(o,"source"),style:{marginLeft:k.labelMarginLeft.value(b),marginRight:k.labelMarginRight.value(b),width:x},showTooltip:!0,tooltipTitle:c.sourceTooltip,toolTipWidth:k.toolTipWidth.valuePx(b)}),t.jsxs(X,{labelWidth:x,size:b,children:[t.jsx(H,{label:{label:c.phone},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:O[0],value:O[0],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:c.email},style:{paddingRight:`${y.sp4}`,width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:O[1],value:O[1],registerOptions:{required:!0},radioSize:"small"}}),t.jsx(H,{label:{label:c.other},style:{width:"auto"},isContainerClickable:!0,radioField:{name:L(o,"source"),id:O[2],value:O[2],registerOptions:{required:!0},radioSize:"small"}})]})]}),$(`${o}.source`)==="other"?t.jsx(Te,{type:"text",name:L(o,"otherSource"),placeholder:c.sourcePlaceholder,style:{display:"flex",flexGrow:1,cursor:"inherit",height:y.sp7,width:"calc(100% - largeLabelWidth)",background:D.colors.background,border:`1px solid ${D.colors.background}`,marginLeft:x},registerOptions:{required:!0,validate:s=>$(`${o}.source`)==="other"&&!!s}}):null]}),t.jsx(z,{})]})})},L=(e,i)=>`${e}.${i}`,W=(e,i,l,f)=>`${e}.${i}.${l}.${f}`,Je=g.div`
90
90
  display: flex;
91
91
  flex-direction: column;
92
- `,Ke=g.div`
92
+ `,Ze=g.div`
93
93
  display: flex;
94
94
  flex-direction: column;
95
95
  background-color: ${e=>e.theme.colors.grey5};
@@ -102,35 +102,35 @@ import{V as t,K as J,aa as he,O as q,cJ as ye,aG as ge,ct as be,cu as fe,cv as x
102
102
  background-color: ${e=>e.theme.colors.grey3};
103
103
  min-height: 1px;
104
104
  max-height: 1px;
105
- `,Xe=g.div`
105
+ `,Qe=g.div`
106
106
  display: flex;
107
107
  flex-direction: column;
108
108
  align-items: flex-start;
109
- padding-right: ${e=>S.labelMarginRight.valuePx(e.size)};
110
- padding-top: ${e=>S.labelMarginTop.valuePx(e.size)};
111
- padding-bottom: ${e=>S.paddingTopBottom.valuePx(e.size)};
109
+ padding-right: ${e=>k.labelMarginRight.valuePx(e.size)};
110
+ padding-top: ${e=>k.labelMarginTop.valuePx(e.size)};
111
+ padding-bottom: ${e=>k.paddingTopBottom.valuePx(e.size)};
112
112
  &:hover {
113
113
  z-index: 1;
114
114
  outline: 1px solid ${e=>e.theme.colors.primary};
115
115
  }
116
- `,Z=g.div`
116
+ `,K=g.div`
117
117
  display: flex;
118
118
  flex-direction: row;
119
119
  width: 100%;
120
120
  align-items: flex-start;
121
121
  background-color: ${e=>e.theme.colors.grey5};
122
- min-height: ${e=>S.labelHeight.valuePx(e.size)};
122
+ min-height: ${e=>k.labelHeight.valuePx(e.size)};
123
123
  align-items: center;
124
- `,Q=g.div`
124
+ `,X=g.div`
125
125
  display: flex;
126
126
  flex-direction: row;
127
127
  width: ${e=>`calc(100% - ${e.labelWidth}px)`};
128
128
  align-items: flex-end;
129
129
  justify-content: flex-end;
130
130
  flex-grow: 1;
131
- height: ${e=>S.controlHeight.valuePx(e.size)};
131
+ height: ${e=>k.controlHeight.valuePx(e.size)};
132
132
  align-items: center;
133
- `,P={paddingTopBottomContainer:new p(a[3],a[3]),paddingLeftContainer:new p(a[3],a[6]),paddingRightContainer:new p(a[3],a[8]),marginLeft:new p(a[4],a[6]),buttonWidth:new p(140,140)},Y="internationalDetailsPage",v="internationalWireSection",Ze="mailingAddressSection",ee=e=>`${e}_form`,Qe=({internationalWireView:e,vendorType:i,isCountryDropdownReadonly:l=!1,isCurrencyDropdownReadonly:f=!1,isDisabled:u,addressType:n,addressToEdit:o,mailingAddress:w,billAmount:j,onAccountDetailsUpdated:k,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:D})=>{const m=J(),c=e.createInternationalWireDetails.localData,x=e.createInternationalWireDetails.createStatus,I=e.fetchState,T=he({mode:"all",reValidateMode:"onChange",defaultValues:R.useMemo(()=>te(e),[e]),values:te(e)}),[E,O]=R.useState(!1),[s,r]=R.useState(!1),h=q.getLocalizedStrings().spendManagement.billPay.vendorCreation,_=q.getLocalizedStrings().common.footer,{international:B}=h.wireDetails,re={onOkClick:()=>{r(!1),T.reset(),$()},onCancelClick:()=>{r(!1)}},se=(d,L)=>{if(d.includes("account_holder_name")||d.includes("bank_account_iban")||d.includes("bank_swift_code")||d.includes("account_number")||d.includes("sort_code")||d.includes("ifsc_code")||d.includes("upi_id")||d.includes("contact_no")||d.includes("bank_code")||d.includes("institution_number")||d.includes("transit_number")||d.includes("identification_value")||d.includes("branch_code")||d.includes("clabe")||d.includes("bsb_code")||d.includes("proxy_value")||d.includes("php_e_wallet_no")){O(!0);return}const M=d===`${v}.vendorCountry`,U=d===`${v}.vendorCurrency`;U&&L[v].vendorCurrency.selectedOption!=null&&C(L[v].vendorCurrency.selectedOption,j,i);const pe={...L},me=ie(pe,e,M,U,f);k(me,j,i,U||M)};R.useEffect(()=>{const d=T.watch((L,{name:M})=>{M!=null&&L!=null&&ye(()=>se(M,L))});return()=>{d.unsubscribe()}});const N=R.useCallback(()=>{const d=T.getValues(),L=ie(d,e,!1,!1,f);k(L,j,i,!1),O(!1)},[T,e,f,k,j,i]),de=R.useCallback(()=>{E&&N(),D(n)},[E,N,D,n]),ce=T.handleSubmit(d=>{E&&N(),b()}),ue=!ge(w!=null?X(w):w,o!=null?X(o):o)||T.formState.isDirty;return t.jsxs(it,{children:[t.jsxs(lt,{size:m,children:[s===!0?t.jsx(be,{titleComponent:t.jsx(xe,{children:h.discardTitle}),descriptionComponent:t.jsx(fe,{children:h.discardDescription}),primaryButtonText:h.discard,secondaryButtonText:h.cancel,action:re}):null,t.jsx(We,{header:B.addInternationalWireDetails,isDirty:ue,onBackClick:$,setShowConfirmationPopup:r}),x?.fetchState==="Error"&&x.error?.code===409?t.jsx(ze,{warningText:h.bankAccountCommon.accountExistWarning}):null,t.jsx(ot,{size:m,children:h.bankAccountCommon.accountDetailsTitle}),t.jsx(ve,{...T,children:t.jsxs("form",{id:ee(Y),onSubmit:ce,children:[t.jsx(tt,{size:m,children:t.jsx(Ge,{wireAccountToCreate:c,dynamicFormFetchState:I,supportedAccountTypes:e.supportedAccountTypes,supportedCountries:e.supportedCountries,supportedCurrencies:e.supportedCurrencies,dynamicFormConfig:e.dynamicForm,sectionId:v,isDisabled:u,isCountryDropdownReadonly:l,isCurrencyDropdownReadonly:f})}),t.jsx(Re,{sectionId:Ze,isDisabled:u,addressType:n,addressToEdit:o,onAddressClick:de})]})})]}),t.jsx(we,{formId:ee(Y),primaryBtn:{label:h.bankAccountCommon.saveAccount,isLoading:x.fetchState==="In-Progress",style:{width:P.buttonWidth.value(m)},isDisabled:u!=null},cancelBtn:{label:_.cancel,style:{width:P.buttonWidth.value(m)},shouldResetOnCancel:!1,onClick:()=>{T.formState.isDirty?r(!0):(T.reset(),$())}}})]})},Ye=e=>{const i=e.dynamicForm,l=e.createInternationalWireDetails.localData?.dynamicForm,f=e.createInternationalWireDetails.localData?.accountType?.type;let u={};return l!=null&&i.length>0?(Object.keys(l).forEach(n=>{n===f?(u={...u,[n]:{}},Object.keys(l[n]).forEach(o=>{i.find(w=>w.name===o)?.fieldType==="select"?u[n]={...u[n],[o]:{selectedOption:l[n][o],allOptions:i.find(w=>w.name===o)?.valuesAllowed??[]}}:u[n]={...u[n],[o]:l[n][o]}})):u={...u,[n]:{}}}),u):{}},te=e=>{const i=e.createInternationalWireDetails.localData?.source;return{[v]:{vendorCountry:le(e.createInternationalWireDetails.localData?.countryCode,e.supportedCountries.map(l=>l.countryCode)),vendorCurrency:{allOptions:e.supportedCurrencies.map(l=>({label:`${l.currencyCode} - ${l.currencyName}`,value:l.currencyCode,countryCode:l.currencySymbol,currency:l.currencyName})),selectedOption:e.createInternationalWireDetails.localData?.currencyCode},typeOfAccount:{allOptions:e.supportedAccountTypes.map(l=>({label:l.title,value:l.type})),selectedOption:e.createInternationalWireDetails.localData?.accountType?.type},dynamicForm:Ye(e),source:i!=null&&i!=="phone"&&i!=="email"?"other":i,otherSource:i!=null&&i!=="phone"&&i!=="email"?i:void 0}}},et=e=>{let i={};return Object.keys(e).forEach(l=>{i={...i,[l]:typeof e[l]=="string"?e[l]:e[l].selectedOption}}),i},ie=(e,i,l,f,u)=>{const n=i.createInternationalWireDetails.localData?.accountType?.type;return{dynamicForm:n!=null?{...i.createInternationalWireDetails.localData?.dynamicForm,[n]:et(e[v].dynamicForm?.[n]??{})}:i.createInternationalWireDetails.localData?.dynamicForm??{},source:e[v].source==="other"?e[v].otherSource??"":e[v].source,countryCode:e[v].vendorCountry.selectedOption!=null?Ce(e[v].vendorCountry.selectedOption):void 0,currencyCode:l&&!u?void 0:e[v].vendorCurrency.selectedOption,accountType:f||e[v].typeOfAccount.selectedOption==null?void 0:{type:e[v].typeOfAccount.selectedOption,title:i.supportedAccountTypes.filter(o=>o.type===e[v].typeOfAccount.selectedOption)[0].title}}},tt=g.div`
133
+ `,P={paddingTopBottomContainer:new p(a[3],a[3]),paddingLeftContainer:new p(a[3],a[6]),paddingRightContainer:new p(a[3],a[8]),marginLeft:new p(a[4],a[6]),buttonWidth:new p(140,140)},Y="internationalDetailsPage",v="internationalWireSection",Ke="mailingAddressSection",ee=e=>`${e}_form`,Xe=({internationalWireView:e,vendorType:i,isCountryDropdownReadonly:l=!1,isCurrencyDropdownReadonly:f=!1,isDisabled:u,addressType:n,addressToEdit:o,mailingAddress:w,billAmount:j,onAccountDetailsUpdated:S,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:D})=>{const m=J(),c=e.createInternationalWireDetails.localData,x=e.createInternationalWireDetails.createStatus,I=e.fetchState,T=he({mode:"all",reValidateMode:"onChange",defaultValues:R.useMemo(()=>te(e),[e]),values:te(e)}),[E,O]=R.useState(!1),[s,r]=R.useState(!1),h=q.getLocalizedStrings().spendManagement.billPay.vendorCreation,_=q.getLocalizedStrings().common.footer,{international:V}=h.wireDetails,re={onOkClick:()=>{r(!1),T.reset(),$()},onCancelClick:()=>{r(!1)}},se=(d,F)=>{if(d.includes("account_holder_name")||d.includes("bank_account_iban")||d.includes("bank_swift_code")||d.includes("account_number")||d.includes("sort_code")||d.includes("ifsc_code")||d.includes("upi_id")||d.includes("contact_no")||d.includes("bank_code")||d.includes("institution_number")||d.includes("transit_number")||d.includes("identification_value")||d.includes("branch_code")||d.includes("clabe")||d.includes("bsb_code")||d.includes("proxy_value")||d.includes("php_e_wallet_no")){O(!0);return}const B=d===`${v}.vendorCountry`,U=d===`${v}.vendorCurrency`;U&&F[v].vendorCurrency.selectedOption!=null&&C(F[v].vendorCurrency.selectedOption,j,i);const pe={...F},me=ie(pe,e,B,U,f);S(me,j,i,U||B)};R.useEffect(()=>{const d=T.watch((F,{name:B})=>{B!=null&&F!=null&&ye(()=>se(B,F))});return()=>{d.unsubscribe()}});const N=R.useCallback(()=>{const d=T.getValues(),F=ie(d,e,!1,!1,f);S(F,j,i,!1),O(!1)},[T,e,f,S,j,i]),de=R.useCallback(()=>{E&&N(),D(n)},[E,N,D,n]),ce=T.handleSubmit(d=>{E&&N(),b()}),ue=!ge(w!=null?Q(w):w,o!=null?Q(o):o)||T.formState.isDirty;return t.jsxs(it,{children:[t.jsxs(lt,{size:m,children:[s===!0?t.jsx(be,{titleComponent:t.jsx(xe,{children:h.discardTitle}),descriptionComponent:t.jsx(fe,{children:h.discardDescription}),primaryButtonText:h.discard,secondaryButtonText:h.cancel,action:re}):null,t.jsx(We,{header:V.addInternationalWireDetails,isDirty:ue,onBackClick:$,setShowConfirmationPopup:r}),x?.fetchState==="Error"&&x.error?.code===409?t.jsx(ze,{warningText:h.bankAccountCommon.accountExistWarning}):null,t.jsx(ot,{size:m,children:h.bankAccountCommon.accountDetailsTitle}),t.jsx(ve,{...T,children:t.jsxs("form",{id:ee(Y),onSubmit:ce,children:[t.jsx(tt,{size:m,children:t.jsx(Ge,{wireAccountToCreate:c,dynamicFormFetchState:I,supportedAccountTypes:e.supportedAccountTypes,supportedCountries:e.supportedCountries,supportedCurrencies:e.supportedCurrencies,dynamicFormConfig:e.dynamicForm,sectionId:v,isDisabled:u,isCountryDropdownReadonly:l,isCurrencyDropdownReadonly:f})}),t.jsx(Re,{sectionId:Ke,isDisabled:u,addressType:n,addressToEdit:o,onAddressClick:de})]})})]}),t.jsx(we,{formId:ee(Y),primaryBtn:{label:h.bankAccountCommon.saveAccount,isLoading:x.fetchState==="In-Progress",style:{width:P.buttonWidth.value(m)},isDisabled:u!=null},cancelBtn:{label:_.cancel,style:{width:P.buttonWidth.value(m)},shouldResetOnCancel:!1,onClick:()=>{T.formState.isDirty?r(!0):(T.reset(),$())}}})]})},Ye=e=>{const i=e.dynamicForm,l=e.createInternationalWireDetails.localData?.dynamicForm,f=e.createInternationalWireDetails.localData?.accountType?.type;let u={};return l!=null&&i.length>0?(Object.keys(l).forEach(n=>{n===f?(u={...u,[n]:{}},Object.keys(l[n]).forEach(o=>{i.find(w=>w.name===o)?.fieldType==="select"?u[n]={...u[n],[o]:{selectedOption:l[n][o],allOptions:i.find(w=>w.name===o)?.valuesAllowed??[]}}:u[n]={...u[n],[o]:l[n][o]}})):u={...u,[n]:{}}}),u):{}},te=e=>{const i=e.createInternationalWireDetails.localData?.source;return{[v]:{vendorCountry:le(e.createInternationalWireDetails.localData?.countryCode,e.supportedCountries.map(l=>l.countryCode)),vendorCurrency:{allOptions:e.supportedCurrencies.map(l=>({label:`${l.currencyCode} - ${l.currencyName}`,value:l.currencyCode,countryCode:l.currencySymbol,currency:l.currencyName})),selectedOption:e.createInternationalWireDetails.localData?.currencyCode},typeOfAccount:{allOptions:e.supportedAccountTypes.map(l=>({label:l.title,value:l.type})),selectedOption:e.createInternationalWireDetails.localData?.accountType?.type},dynamicForm:Ye(e),source:i!=null&&i!=="phone"&&i!=="email"?"other":i,otherSource:i!=null&&i!=="phone"&&i!=="email"?i:void 0}}},et=e=>{let i={};return Object.keys(e).forEach(l=>{i={...i,[l]:typeof e[l]=="string"?e[l]:e[l].selectedOption}}),i},ie=(e,i,l,f,u)=>{const n=i.createInternationalWireDetails.localData?.accountType?.type;return{dynamicForm:n!=null?{...i.createInternationalWireDetails.localData?.dynamicForm,[n]:et(e[v].dynamicForm?.[n]??{})}:i.createInternationalWireDetails.localData?.dynamicForm??{},source:e[v].source==="other"?e[v].otherSource??"":e[v].source,countryCode:e[v].vendorCountry.selectedOption!=null?Ce(e[v].vendorCountry.selectedOption):void 0,currencyCode:l&&!u?void 0:e[v].vendorCurrency.selectedOption,accountType:f||e[v].typeOfAccount.selectedOption==null?void 0:{type:e[v].typeOfAccount.selectedOption,title:i.supportedAccountTypes.filter(o=>o.type===e[v].typeOfAccount.selectedOption)[0].title}}},tt=g.div`
134
134
  padding-left: ${e=>P.paddingLeftContainer.valuePx(e.size)};
135
135
  padding-right: ${e=>P.paddingRightContainer.valuePx(e.size)};
136
136
  padding-top: ${e=>P.paddingTopBottomContainer.valuePx(e.size)};
@@ -149,4 +149,4 @@ import{V as t,K as J,aa as he,O as q,cJ as ye,aG as ge,ct as be,cu as fe,cv as x
149
149
  color: ${e=>e.theme.colors.champion};
150
150
  margin-left: ${e=>P.marginLeft.valuePx(e.size)};
151
151
  margin-top: ${y.sp3};
152
- `,vt=({internationalWireView:e,vendorViewDetails:i,bankAccountContext:l,vendorType:f,addressType:u,isDisabled:n,addressToEdit:o,mailingAddress:w,billAmount:j,onAccountDetailsUpdated:k,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:D})=>{const m={...i.editVendorState??i.newVendorState},c=m.vendorDetailLocalData?.paymentInstrumentIds!=null&&m.vendorDetailLocalData?.paymentInstrumentIds.length>0,x=m.vendorBasic?.countryCode!=null||c,I=m.vendorBasic?.currencyCode!=null||c;return R.useEffect(()=>{(l==="vendor"&&e.createInternationalWireDetails.createStatus.fetchState==="Completed"||m?.saveStatus?.fetchState==="Completed")&&$()},[m?.saveStatus?.fetchState,$,l,e.createInternationalWireDetails.createStatus]),t.jsx(Qe,{internationalWireView:e,addressToEdit:o,mailingAddress:w,addressType:u,billAmount:j,isDisabled:n,onSaveHandler:b,onBackClick:$,onAddressClick:D,onAccountDetailsUpdated:k,onCurrencyUpdated:C,vendorType:f,isCountryDropdownReadonly:x,isCurrencyDropdownReadonly:I})};export{vt as default};
152
+ `,vt=({internationalWireView:e,vendorViewDetails:i,bankAccountContext:l,vendorType:f,addressType:u,isDisabled:n,addressToEdit:o,mailingAddress:w,billAmount:j,onAccountDetailsUpdated:S,onCurrencyUpdated:C,onSaveHandler:b,onBackClick:$,onAddressClick:D})=>{const m={...i.editVendorState??i.newVendorState},c=m.vendorDetailLocalData?.paymentInstrumentIds!=null&&m.vendorDetailLocalData?.paymentInstrumentIds.length>0,x=m.vendorBasic?.countryCode!=null||c,I=m.vendorBasic?.currencyCode!=null||c;return R.useEffect(()=>{(l==="vendor"&&e.createInternationalWireDetails.createStatus.fetchState==="Completed"||m?.saveStatus?.fetchState==="Completed")&&$()},[m?.saveStatus?.fetchState,$,l,e.createInternationalWireDetails.createStatus]),t.jsx(Xe,{internationalWireView:e,addressToEdit:o,mailingAddress:w,addressType:u,billAmount:j,isDisabled:n,onSaveHandler:b,onBackClick:$,onAddressClick:D,onAccountDetailsUpdated:S,onCurrencyUpdated:C,vendorType:f,isCountryDropdownReadonly:x,isCurrencyDropdownReadonly:I})};export{vt as default};
@@ -0,0 +1 @@
1
+ import{V as S}from"./index-aCBnCBoN.js";import{a as k}from"./sentry-DzaNjvx0.js";import{f as b}from"./InternationalWireSwiftDetailsPage-BrQVSzeS-DauYa5_z.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./zeni-epic-state-BNpJ2txa.js";import"./mui-BosmckWV.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";import"./BankAccountWarningSection-Bz2itMx0-BwlD2-aX.js";import"./MailingDetailsSection-NdwWGQ88-D7MwCKtI.js";import"./LabeledAddressValueField-D66XOhMx-Di6mjf7B.js";import"./MagicLinkTitleSection-DoIMYrRv-BlE9zH37.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]="aa018290-a4ed-433e-9db6-1e2493df9df0",e._sentryDebugIdIdentifier="sentry-dbid-aa018290-a4ed-433e-9db6-1e2493df9df0")}catch{}})();const F=({vendorViewDetails:e,bankAccountContext:t,isDisabled:d,onSaveHandler:r,onBankDetailsUpdated:i,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:f})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:c,editVendorState:m,newVendorState:l,bankNameBySwift:p,fetchBankNameBySwiftStatus:u}=e,a={...m??l};return k.useEffect(()=>{(t==="vendor"&&o.fetchState==="Completed"||a?.saveStatus?.fetchState==="Completed")&&n()},[o,a?.saveStatus?.fetchState,n,t]),S.jsx(b,{bankAccountToCreate:c,bankAccountCreationState:o,bankNameBySwift:p,addressToEdit:a?.vendorNewAddressStatus?.addressToCreate,mailingAddress:a?.vendorAddress,addressType:"vendor_address",fetchBankNameBySwiftStatus:u,isDisabled:d,onSaveHandler:r,onBankDetailsUpdated:i,onBackClick:n,onAddressClick:f,onFetchBankNameBySwift:s})};export{F as default};
@@ -1,4 +1,4 @@
1
- import{K as ie,f as oe,O as te,x as c,gP as w,aX as k,V as i,i9 as g,o as r,i6 as f,N as ne,p as re,dC as de,ak as se,u as a}from"./index-uV9C0lq0.js";import{n as s}from"./mui-CgOsYmSB.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="0c9c4abb-a61a-4217-9fd5-4368637aa790",e._sentryDebugIdIdentifier="sentry-dbid-0c9c4abb-a61a-4217-9fd5-4368637aa790")}catch{}})();const d={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:r.sp6},T={title:new ne("standardMedium","largeMedium")},le=s.div`
1
+ import{e as ie,g as oe,O as te,x as c,gT as w,aX as T,V as i,id as g,o as r,ia as f,N as ne,d as re,dJ as de,ak as se,u as a}from"./index-aCBnCBoN.js";import{n as s}from"./mui-BosmckWV.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},u=new e.Error().stack;u&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[u]="306bdbbc-2a4f-4f15-a4fd-efe2a1bb5b1e",e._sentryDebugIdIdentifier="sentry-dbid-306bdbbc-2a4f-4f15-a4fd-efe2a1bb5b1e")}catch{}})();const d={labelWidth:new c(270,340,350),sectionWidth:new c(343,580,726),iconContainerMaxWidthHeight:new c(a[6],a[7]),iconContainerMarginRight:new c(12,a[3]),iconPadding:new c(10,12),rowGap:new c(a[2],a[3]),elementsMarginLeftRight:new c(a[3],a[4]),controlWidth:r.sp6},P={title:new ne("standardMedium","largeMedium")},le=s.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  row-gap: ${e=>d.rowGap.valuePx(e.windowSize)};
@@ -27,7 +27,7 @@ import{K as ie,f as oe,O as te,x as c,gP as w,aX as k,V as i,i9 as g,o as r,i6 a
27
27
  margin-bottom: ${r.sp0};
28
28
  `,ae=s.div`
29
29
  color: ${e=>e.theme.colors.primary};
30
- ${e=>`${T.title.style(e.windowSize)}`};
30
+ ${e=>`${P.title.style(e.windowSize)}`};
31
31
  `,b=s.div`
32
32
  display: flex;
33
33
  flex-direction: column;
@@ -45,7 +45,7 @@ import{K as ie,f as oe,O as te,x as c,gP as w,aX as k,V as i,i9 as g,o as r,i6 a
45
45
  max-height: ${e=>d.iconContainerMaxWidthHeight.valuePx(e.windowSize)};
46
46
  margin-right: ${e=>d.iconContainerMarginRight.valuePx(e.windowSize)};
47
47
  `,y=s.div`
48
- ${e=>`${T.title.style(e.windowSize)}`};
48
+ ${e=>`${P.title.style(e.windowSize)}`};
49
49
  color: ${e=>e.theme.colors.primary};
50
50
  `,$=s(se)`
51
51
  color: ${e=>e.theme.colors.hero};
@@ -65,4 +65,4 @@ import{K as ie,f as oe,O as te,x as c,gP as w,aX as k,V as i,i9 as g,o as r,i6 a
65
65
  background-color: ${e=>e.theme.colors.grey5};
66
66
  border: 1px solid ${e=>e.theme.colors.grey3};
67
67
  border-radius: ${r.sp2};
68
- `,z=(e,u)=>`${e}.${u}`;function xe({sectionId:e,vendorAccountMappingSection:u,isAccruedExpensesFeatureEnabled:_,showTitle:L=!0}){const n=ie(),l=oe(),{accruedExpensesAccountHierarchy:O,accruedExpensesAccountList:M,accruedExpensesRecommendations:E,fixedAssetsAccountHierarchy:D,fixedAssetsAccountList:R,fixedAssetsRecommendations:I,prepaidExpensesAccountHierarchy:B,prepaidExpensesAccountList:C,prepaidExpensesRecommendations:P,selectedAccruedExpensesAccountIds:V,selectedFixedAssetsAccountIds:W,selectedPrepaidExpensesAccountIds:F}=u,t=te.getLocalizedStrings().uncategorizedAccountsMapping,p=d.labelWidth.value(n),q=w(B,P,"Accounts"),H=w(D,I,"Accounts"),G=w(O,E,"Accounts"),N=P[0]?.account?.reason??"",J=t.tooltip.replace("__based__",N).replace("__account__",t.vendorSection.prepaidExpenseAccount),X=I[0]?.account?.reason??"",K=t.tooltip.replace("__based__",X).replace("__account__",t.vendorSection.fixedAssetsAccount),Q=E[0]?.account?.reason??"",U=t.tooltip.replace("__based__",Q).replace("__account__",t.vendorSection.accruedExpensesAccount),Y=C.filter(o=>F.includes(o.accountId)??!1),Z=R.filter(o=>W.includes(o.accountId)??!1),ee=M.filter(o=>V.includes(o.accountId)??!1),x={valueContainer:o=>({...o,padding:`2px ${r.sp3}`,overflow:"unset"}),multiValue:o=>({...o,margin:0})},h=l.mode==="light"?new k(l.colors.brandColorJadeLight):new k(l.colors.brandColorJadeDark);return i.jsxs(le,{windowSize:n,children:[L?i.jsx(ae,{windowSize:n,children:t.vendorSection.heading}):null,i.jsxs(ce,{windowSize:n,children:[i.jsxs(m,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:h,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.prepaidExpenseTitle}),i.jsx($,{children:t.vendorSection.prepaidExpenseSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.prepaidExpenselabel,width:p},groupedMultiSelectField:{name:z(e,"prepaidExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:q,selectedOptions:Y.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:x,tooltip:{text:J,sticky:!1},valueToId:o=>f(o,C)}})})}),i.jsxs(m,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:h,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.FixedAssetsTitle}),i.jsx($,{children:t.vendorSection.fixedAssetsSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.fixedAssetslabel,width:p},groupedMultiSelectField:{name:z(e,"fixedAssetsAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:H,selectedOptions:Z.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:x,tooltip:{text:K,sticky:!1},valueToId:o=>f(o,R)}})})}),_?i.jsxs(i.Fragment,{children:[i.jsxs(m,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:h,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.AccruedExpensesTitle}),i.jsx($,{children:t.vendorSection.accruedExpensesSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.accruedExpenseslabel,width:p},groupedMultiSelectField:{name:z(e,"accruedExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:G,selectedOptions:ee.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:x,tooltip:{text:U,sticky:!1},valueToId:o=>f(o,M)}})})})]}):null]})]})}export{xe as h};
68
+ `,z=(e,u)=>`${e}.${u}`;function xe({sectionId:e,vendorAccountMappingSection:u,isAccruedExpensesFeatureEnabled:_,showTitle:L=!0}){const n=ie(),l=oe(),{accruedExpensesAccountHierarchy:O,accruedExpensesAccountList:E,accruedExpensesRecommendations:M,fixedAssetsAccountHierarchy:D,fixedAssetsAccountList:R,fixedAssetsRecommendations:C,prepaidExpensesAccountHierarchy:B,prepaidExpensesAccountList:I,prepaidExpensesRecommendations:k,selectedAccruedExpensesAccountIds:V,selectedFixedAssetsAccountIds:F,selectedPrepaidExpensesAccountIds:W}=u,t=te.getLocalizedStrings().uncategorizedAccountsMapping,p=d.labelWidth.value(n),q=w(B,k,"Accounts"),H=w(D,C,"Accounts"),G=w(O,M,"Accounts"),J=k[0]?.account?.reason??"",N=t.tooltip.replace("__based__",J).replace("__account__",t.vendorSection.prepaidExpenseAccount),X=C[0]?.account?.reason??"",K=t.tooltip.replace("__based__",X).replace("__account__",t.vendorSection.fixedAssetsAccount),Q=M[0]?.account?.reason??"",U=t.tooltip.replace("__based__",Q).replace("__account__",t.vendorSection.accruedExpensesAccount),Y=I.filter(o=>W.includes(o.accountId)??!1),Z=R.filter(o=>F.includes(o.accountId)??!1),ee=E.filter(o=>V.includes(o.accountId)??!1),x={valueContainer:o=>({...o,padding:`2px ${r.sp3}`,overflow:"unset"}),multiValue:o=>({...o,margin:0})},h=l.mode==="light"?new T(l.colors.brandColorJadeLight):new T(l.colors.brandColorJadeDark);return i.jsxs(le,{windowSize:n,children:[L?i.jsx(ae,{windowSize:n,children:t.vendorSection.heading}):null,i.jsxs(ce,{windowSize:n,children:[i.jsxs(m,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:h,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.prepaidExpenseTitle}),i.jsx($,{children:t.vendorSection.prepaidExpenseSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.prepaidExpenselabel,width:p},groupedMultiSelectField:{name:z(e,"prepaidExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:q,selectedOptions:Y.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:x,tooltip:{text:N,sticky:!1},valueToId:o=>f(o,I)}})})}),i.jsxs(m,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:h,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.FixedAssetsTitle}),i.jsx($,{children:t.vendorSection.fixedAssetsSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.fixedAssetslabel,width:p},groupedMultiSelectField:{name:z(e,"fixedAssetsAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:H,selectedOptions:Z.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:x,tooltip:{text:K,sticky:!1},valueToId:o=>f(o,R)}})})}),_?i.jsxs(i.Fragment,{children:[i.jsxs(m,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:h,isDarkMode:l.mode==="dark",children:i.jsx(v,{})}),i.jsxs(b,{children:[i.jsx(y,{windowSize:n,children:t.vendorSection.AccruedExpensesTitle}),i.jsx($,{children:t.vendorSection.accruedExpensesSubTitle})]})]}),i.jsx(A,{children:i.jsx(j,{windowSize:n,children:i.jsx(g,{label:{label:t.vendorSection.accruedExpenseslabel,width:p},groupedMultiSelectField:{name:z(e,"accruedExpensesAccount"),treeViewStructure:!0,groupType:"Accounts",registerOptions:{required:!1},defaultValue:{allOptions:G,selectedOptions:ee.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:x,tooltip:{text:U,sticky:!1},valueToId:o=>f(o,E)}})})})]}):null]})]})}export{xe as h};
@@ -1,4 +1,4 @@
1
- import{aS as U,aa as z,V as r,bW as W,ab as p,ae as X,bX as Z,ak as x,bY as B,o as n,O as F,a as D,bZ as G,an as L,b_ as Y,b$ as I,bM as q,p as j,bc as v,c0 as J}from"./index-uV9C0lq0.js";import{a as c}from"./sentry-rcvLxAzW.js";import{n as t}from"./mui-CgOsYmSB.js";import{bh as K}from"./zeni-epic-state-D5MWzrZ6.js";import{A as Q,Z as k}from"./AccountLockedInfoModal-DM2zVI24-BKusNt5D.js";import"./liveblocks-PPyiYwu4.js";import"./core-DpPwA1EY.js";import"./recharts-B5a8DAKj.js";import"./lottie-CwowL814.js";import"./analytics-R4GG3mhr.js";import"./lexical-WuSd_Y3l.js";import"./utils-GKlM-QyI.js";import"./handshake-BPg58FML-B0fu0zwh.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]="26e73806-8917-441d-a78d-0cf913bffe09",e._sentryDebugIdIdentifier="sentry-dbid-26e73806-8917-441d-a78d-0cf913bffe09")}catch{}})();const ee=e=>{if(!e)return"";try{const i=Y(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return I(e)||e}const a=i.countryCallingCode,f=i.nationalNumber.slice(-4);return`+${a} (•••) ••• ${f}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const a=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${a}`}return I(e)||e}},C=120,V=30,_=2,re="456px",te="256px",O=6,o=F.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Me=e=>{const i=e.verifyOtpFetchState==="In-Progress",[a,f]=c.useState(!1),[l,g]=c.useState(!1),[y,N]=c.useState(0),[b,w]=c.useState(C),[h,S]=c.useState(V),E=U(e.verifyOtpFetchState),u=z({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),$=u.watch(m),P=()=>{e.onCancelVerifyDevice()},M=()=>{$.trim().length===O&&e.onVerifyOtp($)},A=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{E==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),N(s=>s+1),u.setValue(m,""))},[E,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(b<=0){g(!0);return}const s=setInterval(()=>{w(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[b]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{S(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[h]);const H=s=>{const d=Math.floor(s/60),R=s%60;return`${d}:${R.toString().padStart(2,"0")}`};return r.jsx(W,{open:!0,children:r.jsxs(ne,{children:[r.jsx(p,{controller:y>_,children:r.jsx(Q,{unlockDate:K().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(p,{controller:y<=_,children:r.jsx(X,{...u,children:r.jsxs(ge,{children:[r.jsxs(xe,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[e.phoneNumber!=null&&r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(Z,{placement:"top",title:r.jsxs(x,{children:[o.changePhoneNumberHelperText,r.jsx(Se,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(B,{value:$,valueLength:6,hasError:l===!0||a===!0,style:{margin:n.sp0},onChange:s=>{u.setValue(m,s),f(!1)}}),r.jsx(p,{controller:l===!1,children:r.jsx(T,{children:r.jsxs($e,{children:[o.codeExpiresIn," ",H(b)]})})}),r.jsx(p,{controller:l===!0,children:r.jsx(T,{children:r.jsx(je,{children:o.codeExpired})})})]}),a===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(p,{controller:y>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(p,{controller:y===2,children:r.jsx(be,{children:r.jsxs(x,{children:[r.jsx(ve,{}),o.accountLockWarning]})})})]}):null,r.jsx(p,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),f(!1),g(!1),u.setValue(m,""),w(C),S(V))},children:o.resend}),h>0&&r.jsxs(he,{children:[F.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ye,{children:[r.jsxs(fe,{children:[r.jsx(D,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(D,{variant:"primary",label:o.verify,onClick:M,style:{width:82},loading:i,disabled:$.trim().length!==O||l===!0})]}),r.jsx(me,{children:A})]})]})})})]})})},ne=t.div`
1
+ import{aS as z,aa as U,V as r,b$ as B,ab as p,ae as G,c0 as W,ak as x,c1 as X,o as n,O as F,a as D,c2 as Z,an as L,c3 as q,c4 as I,bM as J,d as j,bc as v,c5 as K}from"./index-aCBnCBoN.js";import{a as c}from"./sentry-DzaNjvx0.js";import{n as t}from"./mui-BosmckWV.js";import{bh as Q}from"./zeni-epic-state-BNpJ2txa.js";import{A as Y,Z as k}from"./AccountLockedInfoModal-jYWr_8TD-BpvSTyB8.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";import"./handshake-BPg58FML-Dbtylvfc.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]="2a823f23-cd60-49da-9ff5-cae5d63b7cf8",e._sentryDebugIdIdentifier="sentry-dbid-2a823f23-cd60-49da-9ff5-cae5d63b7cf8")}catch{}})();const ee=e=>{if(!e)return"";try{const i=q(e);if(!i){const l=e.replace(/\D/g,"");if(l.length>=4){const g=l.slice(-4);return`+${l.slice(0,-4)||"1"} (•••) ••• ${g}`}return I(e)||e}const a=i.countryCallingCode,f=i.nationalNumber.slice(-4);return`+${a} (•••) ••• ${f}`}catch{const i=e.replace(/\D/g,"");if(i.length>=4){const a=i.slice(-4);return`+${i.slice(0,-4)||"1"} (•••) ••• ${a}`}return I(e)||e}},C=120,V=30,O=2,re="456px",te="256px",T=6,o=F.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Me=e=>{const i=e.verifyOtpFetchState==="In-Progress",[a,f]=c.useState(!1),[l,g]=c.useState(!1),[$,N]=c.useState(0),[b,w]=c.useState(C),[h,E]=c.useState(V),S=z(e.verifyOtpFetchState),u=U({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),y=u.watch(m),P=()=>{e.onCancelVerifyDevice()},M=()=>{y.trim().length===T&&e.onVerifyOtp(y)},A=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{S==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),N(s=>s+1),u.setValue(m,""))},[S,e.verifyOtpFetchState,u]),c.useEffect(()=>{if(b<=0){g(!0);return}const s=setInterval(()=>{w(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[b]),c.useEffect(()=>{if(h<=0)return;const s=setInterval(()=>{E(d=>d<=1?0:d-1)},1e3);return()=>clearInterval(s)},[h]);const H=s=>{const d=Math.floor(s/60),R=s%60;return`${d}:${R.toString().padStart(2,"0")}`};return r.jsx(B,{open:!0,children:r.jsxs(ne,{children:[r.jsx(p,{controller:$>O,children:r.jsx(Y,{unlockDate:Q().add(1,"hour"),onSubmit:e.onCancelVerifyDevice})}),r.jsx(p,{controller:$<=O,children:r.jsx(G,{...u,children:r.jsxs(ge,{children:[r.jsxs(xe,{children:[r.jsx(oe,{children:o.verifyDeviceTitle}),r.jsx(ie,{children:o.verifyDeviceDescription}),r.jsxs(le,{children:[e.phoneNumber!=null&&r.jsx(se,{children:ee(e.phoneNumber+"")}),r.jsx(W,{placement:"top",title:r.jsxs(x,{children:[o.changePhoneNumberHelperText,r.jsx(Ee,{href:`mailto:${k}`,children:k})]}),enterDelay:600,children:r.jsx(we,{})})]})]}),r.jsxs(ce,{children:[r.jsx(X,{value:y,valueLength:6,hasError:l===!0||a===!0,style:{margin:n.sp0},onChange:s=>{u.setValue(m,s),f(!1)}}),r.jsx(p,{controller:l===!1,children:r.jsx(_,{children:r.jsxs(ye,{children:[o.codeExpiresIn," ",H(b)]})})}),r.jsx(p,{controller:l===!0,children:r.jsx(_,{children:r.jsx(je,{children:o.codeExpired})})})]}),a===!0&&l===!1?r.jsxs(r.Fragment,{children:[r.jsx(p,{controller:$>=1,children:r.jsx(ae,{children:o.incorrectCode})}),r.jsx(p,{controller:$===2,children:r.jsx(be,{children:r.jsxs(x,{children:[r.jsx(ve,{}),o.accountLockWarning]})})})]}):null,r.jsx(p,{controller:e.resendVerifyDeviceOTPFetchState.error?.details?.application_error_code!=="OTP_RESEND_LIMIT_EXCEEDED",children:r.jsxs(de,{children:[r.jsx(pe,{children:o.codeNotReceived}),r.jsx(ue,{disabled:h>0,onClick:()=>{h===0&&(e.onResendOtp(),f(!1),g(!1),u.setValue(m,""),w(C),E(V))},children:o.resend}),h>0&&r.jsxs(he,{children:[F.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs($e,{children:[r.jsxs(fe,{children:[r.jsx(D,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(D,{variant:"primary",label:o.verify,onClick:M,style:{width:82},loading:i,disabled:y.trim().length!==T||l===!0})]}),r.jsx(me,{children:A})]})]})})})]})})},ne=t.div`
2
2
  display: flex;
3
3
  flex-direction: column;
4
4
  min-width: ${te};
@@ -6,7 +6,7 @@ import{aS as U,aa as z,V as r,bW as W,ab as p,ae as X,bX as Z,ak as x,bY as B,o
6
6
  padding: ${n.sp5} ${n.sp6};
7
7
  background: ${e=>e.theme.colors.grey5};
8
8
  border-radius: ${n.sp2};
9
- `,oe=t(G)`
9
+ `,oe=t(Z)`
10
10
  color: ${e=>e.theme.colors.primary};
11
11
  text-align: center;
12
12
  `,ie=t(L)`
@@ -66,19 +66,19 @@ import{aS as U,aa as z,V as r,bW as W,ab as p,ae as X,bX as Z,ak as x,bY as B,o
66
66
  align-items: center;
67
67
  justify-content: center;
68
68
  row-gap: ${n.sp3};
69
- `,ye=t.div`
69
+ `,$e=t.div`
70
70
  display: flex;
71
71
  flex-direction: column;
72
72
  align-items: center;
73
73
  justify-content: center;
74
74
  row-gap: ${n.sp2};
75
75
  margin-top: ${n.sp2};
76
- `,T=t.div`
76
+ `,_=t.div`
77
77
  display: flex;
78
78
  justify-content: center;
79
79
  align-items: center;
80
80
  background: ${e=>e.theme.colors.background};
81
- `,$e=t(x)`
81
+ `,ye=t(x)`
82
82
  color: ${e=>e.theme.colors.hero};
83
83
  text-align: center;
84
84
  `,je=t(x)`
@@ -93,12 +93,12 @@ import{aS as U,aa as z,V as r,bW as W,ab as p,ae as X,bX as Z,ak as x,bY as B,o
93
93
  word-wrap: normal;
94
94
  padding: ${n.sp1} ${n.sp6};
95
95
  text-align: center;
96
- `,ve=t(J)`
96
+ `,ve=t(K)`
97
97
  width: ${n.sp3};
98
98
  height: ${n.sp3};
99
99
  top: 2px;
100
100
  position: relative;
101
- `,we=t(q)`
101
+ `,we=t(J)`
102
102
  width: ${n.sp3};
103
103
  height: ${n.sp3};
104
104
  color: ${e=>e.theme.colors.grey1};
@@ -106,7 +106,7 @@ import{aS as U,aa as z,V as r,bW as W,ab as p,ae as X,bX as Z,ak as x,bY as B,o
106
106
  &:hover {
107
107
  color: ${e=>e.theme.colors.primary};
108
108
  }
109
- `,Se=t.a`
109
+ `,Ee=t.a`
110
110
  text-decoration: underline;
111
111
  color: inherit;
112
112
  `;export{Me as default};
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-Bpsw4H-g.js","assets/sentry-rcvLxAzW.js","assets/mixin-BPAPQfSE.js","assets/hls-DifHSkbp.js","assets/react-D6M30H8E.js","assets/zeni-epic-state-D5MWzrZ6.js","assets/core-DpPwA1EY.js","assets/index-C6nwvBZg.js","assets/react-1JgjrFGc.js","assets/react-D2UrnCU4.js","assets/react-DzADjYrb.js","assets/react-5VwsKWlP.js","assets/react-C_FwXK63.js","assets/react-B5r5WB2A.js","assets/Preview-BoQzKWlV.js"])))=>i.map(i=>d[i]);
2
- import{K as W,V as f,aq as X,p as K}from"./index-uV9C0lq0.js";import{P as _,a as t}from"./sentry-rcvLxAzW.js";import{n as k,k as Y}from"./mui-CgOsYmSB.js";import{r as q}from"./core-DpPwA1EY.js";import{ba as y}from"./zeni-epic-state-D5MWzrZ6.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]="ea744db1-e86d-4579-8ba3-51c3ddbff34b",e._sentryDebugIdIdentifier="sentry-dbid-ea744db1-e86d-4579-8ba3-51c3ddbff34b")}catch{}})();const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V=/\.(m3u8)($|\?)/i,Z=/\.(mpd)($|\?)/i,J=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,Q=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,ee=/vimeo\.com\/(?!progressive_redirect).+/,te=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,ae=/open\.spotify\.com\/(\w+)\/(\w+)/i,re=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,le=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,T=(e,r)=>{if(Array.isArray(e)){for(const s of e)if(typeof s=="string"&&T(s,r)||T(s.src,r))return!0;return!1}return r(e)},m={html:e=>T(e,r=>N.test(r)||z.test(r)),hls:e=>T(e,r=>V.test(r)),dash:e=>T(e,r=>Z.test(r)),mux:e=>J.test(e),youtube:e=>Q.test(e),vimeo:e=>ee.test(e)&&!z.test(e)&&!V.test(e),wistia:e=>te.test(e),spotify:e=>ae.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)},oe=_.forwardRef((e,r)=>{const s=N.test(`${e.src}`)?"audio":"video";return _.createElement(s,{...e,ref:r},e.children)});var ne=oe;const ie=[{key:"hls",name:"hls.js",canPlay:m.hls,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-Bpsw4H-g.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-D6M30H8E.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-C6nwvBZg.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-1JgjrFGc.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-D2UrnCU4.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-DzADjYrb.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-5VwsKWlP.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-C_FwXK63.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-B5r5WB2A.js"),__vite__mapDeps([13,1])))},{key:"html",name:"html",canPlay:m.html,canEnablePIP:()=>!0,player:ne}];var B=ie;const se={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},H=_.forwardRef((e,r)=>{const{playing:s,pip:u}=e,n=e.activePlayer,a=t.useRef(null),o=t.useRef(!0);t.useEffect(()=>{var l,i;a.current&&(a.current.paused&&s===!0&&a.current.play(),!a.current.paused&&s===!1&&a.current.pause(),a.current.playbackRate=(l=e.playbackRate)!=null?l:1,a.current.volume=(i=e.volume)!=null?i:1)}),t.useEffect(()=>{var l,i,c,P,v;if(!(!a.current||!globalThis.document)){if(u&&!document.pictureInPictureElement)try{(i=(l=a.current).requestPictureInPicture)==null||i.call(l)}catch{}if(!u&&document.pictureInPictureElement)try{(P=(c=a.current).exitPictureInPicture)==null||P.call(c),(v=document.exitPictureInPicture)==null||v.call(document)}catch{}}},[u]);const w=l=>{var i,c;o.current=!0,(i=e.onReady)==null||i.call(e),(c=e.onLoadStart)==null||c.call(e,l)},h=l=>{var i,c;o.current&&(o.current=!1,(i=e.onStart)==null||i.call(e,l)),(c=e.onPlay)==null||c.call(e,l)};if(!n)return null;const b={},E=["onReady","onStart"];for(const l in e)l.startsWith("on")&&!E.includes(l)&&(b[l]=e[l]);return _.createElement(n,{...b,style:e.style,className:e.className,slot:e.slot,ref:t.useCallback(l=>{a.current=l,typeof r=="function"?r(l):r!==null&&(r.current=l)},[r]),src:e.src,crossOrigin:e.crossOrigin,preload:e.preload,controls:e.controls,muted:e.muted,autoPlay:e.autoPlay,loop:e.loop,playsInline:e.playsInline,disableRemotePlayback:e.disableRemotePlayback,config:e.config,onLoadStart:w,onPlay:h},e.children)});H.displayName="Player";var ce=H;const ue=t.lazy(()=>y(()=>import("./Preview-BoQzKWlV.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const s=n=>{for(const a of[...A,...e])if(n&&a.canPlay(n))return a;return r||null},u=_.forwardRef((n,a)=>{const o={...se,...n},{src:w,slot:h,className:b,style:E,width:l,height:i,fallback:c,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const g=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:S,previewTabIndex:C,oEmbedUrl:L,previewAriaLabel:U}=o;return _.createElement(ue,{src:p,light:x,playIcon:S,previewTabIndex:C,previewAriaLabel:U,oEmbedUrl:L,onClickPreview:g})},O=p=>{var x,S;const C=s(p);if(!C)return null;const{style:L,width:U,height:$,wrapper:F}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(S=C.player)!=null?S:C,slot:F?void 0:h,className:F?void 0:b,style:F?{display:"block",width:"100%",height:"100%"}:{display:"block",width:U,height:$,...L},config:G})},D=P??M,R=c===!1?M:t.Suspense;return _.createElement(D,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(R,{fallback:c},v?I(w):O(w)))});return u.displayName="ReactPlayer",u.addCustomPlayer=n=>{A.push(n)},u.removeCustomPlayers=()=>{A.length=0},u.canPlay=n=>{if(n){for(const a of[...A,...e])if(a.canPlay(n))return!0}return!1},u.canEnablePIP=n=>{var a;if(n){for(const o of[...A,...e])if(o.canPlay(n)&&((a=o.canEnablePIP)!=null&&a.call(o)))return!0}return!1},u},M=({children:e})=>e,fe=B[B.length-1];var j=de(B,fe);const me=e=>t.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{filter:"url(#filter0_f_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),t.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),t.createElement("g",{filter:"url(#filter1_d_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),t.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),t.createElement("g",{clipPath:"url(#clip0_251_38441)"},t.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),t.createElement("defs",null,t.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),t.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),t.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t.createElement("feOffset",{dy:4}),t.createElement("feGaussianBlur",{stdDeviation:2}),t.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),t.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),t.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),t.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("clipPath",{id:"clip0_251_38441"},t.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function ke({src:e,autoPlay:r=!0,config:s,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:w=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:c,onPlay:P}){const v=W(),[d,g]=t.useState(!1);t.useEffect(()=>{a===!0&&r?g(!0):a===!1&&g(!1)},[a,r]);const I={};s?.youtube&&(I.youtube=s.youtube);const O=()=>{g(!0),P?.()},D=()=>{g(!1),c?.()},R=()=>{g(!1),i?.(),a!=null&&c?.()},p=()=>{g(!0),P?.()};return a!=null?a?q.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:D,children:f.jsx(Pe,{windowSize:v,"data-testid":"video-player-modal",children:f.jsxs(ve,{children:[h&&!d&&f.jsxs(f.Fragment,{children:[E!=null&&E!==""&&f.jsx(he,{src:E,alt:"Video thumbnail"}),f.jsx(pe,{onClick:O,children:f.jsx(_e,{windowSize:v})})]}),(!h||d)&&f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:"100%",height:"100%",onEnded:R,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:R,onPlay:p,config:I})}const ye=Y`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-DxfKP-TY.js","assets/sentry-DzaNjvx0.js","assets/mixin-BPAPQfSE.js","assets/hls-DifHSkbp.js","assets/react-CLFAbS9n.js","assets/zeni-epic-state-BNpJ2txa.js","assets/core-Cjh03OPu.js","assets/index-ChCGry2d.js","assets/react-DAXSMqh2.js","assets/react-DT8qkoNX.js","assets/react-D8DqvAAs.js","assets/react-DTZ405nF.js","assets/react-ddvEC0y3.js","assets/react-DSh5n3Dg.js","assets/Preview-M7TzJD6j.js"])))=>i.map(i=>d[i]);
2
+ import{e as W,V as f,aq as X,d as Y}from"./index-aCBnCBoN.js";import{P as _,a as t}from"./sentry-DzaNjvx0.js";import{n as k,k as q}from"./mui-BosmckWV.js";import{r as K}from"./core-Cjh03OPu.js";import{ba as y}from"./zeni-epic-state-BNpJ2txa.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]="27a3323b-73d5-43c3-a4f2-b23ee206d797",e._sentryDebugIdIdentifier="sentry-dbid-27a3323b-73d5-43c3-a4f2-b23ee206d797")}catch{}})();const N=/\.(m4a|m4b|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i,z=/\.(mp4|og[gv]|webm|mov|m4v)(#t=[,\d+]+)?($|\?)/i,V=/\.(m3u8)($|\?)/i,Z=/\.(mpd)($|\?)/i,J=/stream\.mux\.com\/(?!\w+\.m3u8)(\w+)/,Q=/(?:youtu\.be\/|youtube(?:-nocookie|education)?\.com\/(?:embed\/|v\/|watch\/|watch\?v=|watch\?.+&v=|shorts\/|live\/))((\w|-){11})|youtube\.com\/playlist\?list=|youtube\.com\/user\//,ee=/vimeo\.com\/(?!progressive_redirect).+/,te=/(?:wistia\.(?:com|net)|wi\.st)\/(?:medias|embed)\/(?:iframe\/)?([^?]+)/,ae=/open\.spotify\.com\/(\w+)\/(\w+)/i,re=/(?:www\.|go\.)?twitch\.tv\/([a-zA-Z0-9_]+|(videos?\/|\?video=)\d+)($|\?)/,le=/tiktok\.com\/(?:player\/v1\/|share\/video\/|@[^/]+\/video\/)([0-9]+)/,T=(e,r)=>{if(Array.isArray(e)){for(const s of e)if(typeof s=="string"&&T(s,r)||T(s.src,r))return!0;return!1}return r(e)},m={html:e=>T(e,r=>N.test(r)||z.test(r)),hls:e=>T(e,r=>V.test(r)),dash:e=>T(e,r=>Z.test(r)),mux:e=>J.test(e),youtube:e=>Q.test(e),vimeo:e=>ee.test(e)&&!z.test(e)&&!V.test(e),wistia:e=>te.test(e),spotify:e=>ae.test(e),twitch:e=>re.test(e),tiktok:e=>le.test(e)},oe=_.forwardRef((e,r)=>{const s=N.test(`${e.src}`)?"audio":"video";return _.createElement(s,{...e,ref:r},e.children)});var ne=oe;const ie=[{key:"hls",name:"hls.js",canPlay:m.hls,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-DxfKP-TY.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-CLFAbS9n.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-ChCGry2d.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-DAXSMqh2.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-DT8qkoNX.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-D8DqvAAs.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-DTZ405nF.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-ddvEC0y3.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-DSh5n3Dg.js"),__vite__mapDeps([13,1])))},{key:"html",name:"html",canPlay:m.html,canEnablePIP:()=>!0,player:ne}];var B=ie;const se={width:"320px",height:"180px",volume:1,playbackRate:1,previewTabIndex:0,previewAriaLabel:"",oEmbedUrl:"https://noembed.com/embed?url={url}"},H=_.forwardRef((e,r)=>{const{playing:s,pip:u}=e,n=e.activePlayer,a=t.useRef(null),o=t.useRef(!0);t.useEffect(()=>{var l,i;a.current&&(a.current.paused&&s===!0&&a.current.play(),!a.current.paused&&s===!1&&a.current.pause(),a.current.playbackRate=(l=e.playbackRate)!=null?l:1,a.current.volume=(i=e.volume)!=null?i:1)}),t.useEffect(()=>{var l,i,c,P,v;if(!(!a.current||!globalThis.document)){if(u&&!document.pictureInPictureElement)try{(i=(l=a.current).requestPictureInPicture)==null||i.call(l)}catch{}if(!u&&document.pictureInPictureElement)try{(P=(c=a.current).exitPictureInPicture)==null||P.call(c),(v=document.exitPictureInPicture)==null||v.call(document)}catch{}}},[u]);const w=l=>{var i,c;o.current=!0,(i=e.onReady)==null||i.call(e),(c=e.onLoadStart)==null||c.call(e,l)},h=l=>{var i,c;o.current&&(o.current=!1,(i=e.onStart)==null||i.call(e,l)),(c=e.onPlay)==null||c.call(e,l)};if(!n)return null;const b={},E=["onReady","onStart"];for(const l in e)l.startsWith("on")&&!E.includes(l)&&(b[l]=e[l]);return _.createElement(n,{...b,style:e.style,className:e.className,slot:e.slot,ref:t.useCallback(l=>{a.current=l,typeof r=="function"?r(l):r!==null&&(r.current=l)},[r]),src:e.src,crossOrigin:e.crossOrigin,preload:e.preload,controls:e.controls,muted:e.muted,autoPlay:e.autoPlay,loop:e.loop,playsInline:e.playsInline,disableRemotePlayback:e.disableRemotePlayback,config:e.config,onLoadStart:w,onPlay:h},e.children)});H.displayName="Player";var ce=H;const ue=t.lazy(()=>y(()=>import("./Preview-M7TzJD6j.js"),__vite__mapDeps([14,1]))),A=[],de=(e,r)=>{const s=n=>{for(const a of[...A,...e])if(n&&a.canPlay(n))return a;return r||null},u=_.forwardRef((n,a)=>{const o={...se,...n},{src:w,slot:h,className:b,style:E,width:l,height:i,fallback:c,wrapper:P}=o,[v,d]=t.useState(!!o.light);t.useEffect(()=>{o.light?d(!0):d(!1)},[o.light]);const g=p=>{var x;d(!1),(x=o.onClickPreview)==null||x.call(o,p)},I=p=>{if(!p)return null;const{light:x,playIcon:S,previewTabIndex:C,oEmbedUrl:L,previewAriaLabel:U}=o;return _.createElement(ue,{src:p,light:x,playIcon:S,previewTabIndex:C,previewAriaLabel:U,oEmbedUrl:L,onClickPreview:g})},O=p=>{var x,S;const C=s(p);if(!C)return null;const{style:L,width:U,height:$,wrapper:F}=o,G=(x=o.config)==null?void 0:x[C.key];return _.createElement(ce,{...o,ref:a,activePlayer:(S=C.player)!=null?S:C,slot:F?void 0:h,className:F?void 0:b,style:F?{display:"block",width:"100%",height:"100%"}:{display:"block",width:U,height:$,...L},config:G})},D=P??M,R=c===!1?M:t.Suspense;return _.createElement(D,{slot:h,className:b,style:{width:l,height:i,...E}},_.createElement(R,{fallback:c},v?I(w):O(w)))});return u.displayName="ReactPlayer",u.addCustomPlayer=n=>{A.push(n)},u.removeCustomPlayers=()=>{A.length=0},u.canPlay=n=>{if(n){for(const a of[...A,...e])if(a.canPlay(n))return!0}return!1},u.canEnablePIP=n=>{var a;if(n){for(const o of[...A,...e])if(o.canPlay(n)&&((a=o.canEnablePIP)!=null&&a.call(o)))return!0}return!1},u},M=({children:e})=>e,fe=B[B.length-1];var j=de(B,fe);const me=e=>t.createElement("svg",{width:208,height:208,viewBox:"0 0 208 208",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("g",{filter:"url(#filter0_f_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:44,fill:"url(#paint0_linear_251_38441)"}),t.createElement("circle",{cx:104,cy:104,r:50,stroke:"url(#paint1_linear_251_38441)",strokeWidth:12})),t.createElement("g",{filter:"url(#filter1_d_251_38441)"},t.createElement("circle",{cx:104,cy:104,r:41.1429,fill:"#FAFAFA"}),t.createElement("circle",{cx:104,cy:104,r:43.1429,stroke:"url(#paint2_linear_251_38441)",strokeWidth:4})),t.createElement("g",{clipPath:"url(#clip0_251_38441)"},t.createElement("path",{d:"M120.16 102.411L96.2853 90.4684C96.0134 90.3343 95.7118 90.2718 95.409 90.2867C95.1062 90.3016 94.8122 90.3935 94.5548 90.5536C94.2974 90.7138 94.0851 90.9369 93.938 91.202C93.7908 91.467 93.7137 91.7652 93.7139 92.0684V115.931C93.7137 116.234 93.7908 116.533 93.938 116.798C94.0851 117.063 94.2974 117.286 94.5548 117.446C94.8122 117.606 95.1062 117.698 95.409 117.713C95.7118 117.728 96.0134 117.665 96.2853 117.531L120.16 105.588C120.456 105.442 120.706 105.216 120.88 104.935C121.055 104.654 121.147 104.33 121.147 104C121.147 103.669 121.055 103.345 120.88 103.065C120.706 102.784 120.456 102.558 120.16 102.411Z",fill:"black"})),t.createElement("defs",null,t.createElement("filter",{id:"filter0_f_251_38441",x:0,y:0,width:208,height:208,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"BackgroundImageFix",result:"shape"}),t.createElement("feGaussianBlur",{stdDeviation:24,result:"effect1_foregroundBlur_251_38441"})),t.createElement("filter",{id:"filter1_d_251_38441",x:54.8569,y:58.8571,width:98.2856,height:98.2857,filterUnits:"userSpaceOnUse",colorInterpolationFilters:"sRGB"},t.createElement("feFlood",{floodOpacity:0,result:"BackgroundImageFix"}),t.createElement("feColorMatrix",{in:"SourceAlpha",type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 127 0",result:"hardAlpha"}),t.createElement("feOffset",{dy:4}),t.createElement("feGaussianBlur",{stdDeviation:2}),t.createElement("feComposite",{in2:"hardAlpha",operator:"out"}),t.createElement("feColorMatrix",{type:"matrix",values:"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.25 0"}),t.createElement("feBlend",{mode:"normal",in2:"BackgroundImageFix",result:"effect1_dropShadow_251_38441"}),t.createElement("feBlend",{mode:"normal",in:"SourceGraphic",in2:"effect1_dropShadow_251_38441",result:"shape"})),t.createElement("linearGradient",{id:"paint0_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint1_linear_251_38441",x1:119.671,y1:119.671,x2:87.9755,y2:87.9758,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("linearGradient",{id:"paint2_linear_251_38441",x1:118.653,y1:118.653,x2:89.0159,y2:89.0164,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#7135FF"}),t.createElement("stop",{offset:.27204,stopColor:"#A050E4"}),t.createElement("stop",{offset:.364594,stopColor:"#B85ED7"}),t.createElement("stop",{offset:.546546,stopColor:"#CF6CC9"}),t.createElement("stop",{offset:.732127,stopColor:"#EE609C"}),t.createElement("stop",{offset:.85586,stopColor:"#EB61A0"}),t.createElement("stop",{offset:1,stopColor:"#EE609C"})),t.createElement("clipPath",{id:"clip0_251_38441"},t.createElement("rect",{width:27.4286,height:27.4286,fill:"white",transform:"translate(93.7139 90.2849)"}))));function ke({src:e,autoPlay:r=!0,config:s,controls:u=!0,height:n="100%",isModalOpen:a,loop:o=!1,muted:w=!1,showPlayButton:h=!1,style:b,thumbnail:E,width:l="100%",onEnded:i,onModalClose:c,onPlay:P}){const v=W(),[d,g]=t.useState(!1);t.useEffect(()=>{a===!0&&r?g(!0):a===!1&&g(!1)},[a,r]);const I={};s?.youtube&&(I.youtube=s.youtube);const O=()=>{g(!0),P?.()},D=()=>{g(!1),c?.()},R=()=>{g(!1),i?.(),a!=null&&c?.()},p=()=>{g(!0),P?.()};return a!=null?a?K.createPortal(f.jsx(Ee,{windowSize:v,role:"presentation",children:f.jsx(X,{onClickAway:D,children:f.jsx(Pe,{windowSize:v,"data-testid":"video-player-modal",children:f.jsxs(ve,{children:[h&&!d&&f.jsxs(f.Fragment,{children:[E!=null&&E!==""&&f.jsx(he,{src:E,alt:"Video thumbnail"}),f.jsx(pe,{onClick:O,children:f.jsx(_e,{windowSize:v})})]}),(!h||d)&&f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:"100%",height:"100%",onEnded:R,onPlay:p,config:I})]})})})}),document.body):null:f.jsx(j,{src:e,playing:d,controls:u,muted:w,loop:o,width:l,height:n,style:b,light:h&&!d?E??!0:!1,onEnded:R,onPlay:p,config:I})}const ye=q`
3
3
  0% {
4
4
  transform: rotate(0deg);
5
5
  }
@@ -54,7 +54,7 @@ import{K as W,V as f,aq as X,p as K}from"./index-uV9C0lq0.js";import{P as _,a as
54
54
  flex-direction: column;
55
55
  align-items: center;
56
56
  justify-content: center;
57
- background: ${K.overlayDark};
57
+ background: ${Y.overlayDark};
58
58
  `,Pe=k.div`
59
59
  display: flex;
60
60
  flex-direction: column;
@@ -0,0 +1,31 @@
1
+ import{e as s,V as t,aq as a,ac as l,d as c,o,x as d}from"./index-aCBnCBoN.js";import{n}from"./mui-BosmckWV.js";import{N as h}from"./VideoPlayer-ZGjx_Hp7-Nomi0VD9.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]="8a15bd90-b93c-4142-a92c-55d0350826c0",e._sentryDebugIdIdentifier="sentry-dbid-8a15bd90-b93c-4142-a92c-55d0350826c0")}catch{}})();const r={width:new d(300,770,770),height:new d(195,500,500)},w=n.div`
2
+ position: fixed;
3
+ top: 0;
4
+ left: 0;
5
+ width: 100%;
6
+ z-index: 10;
7
+ height: 100%;
8
+ display: flex;
9
+ flex-direction: column;
10
+ align-items: center;
11
+ background: ${c.blackColor}CC;
12
+ `,p=n.div`
13
+ display: flex;
14
+ flex-direction: column;
15
+ justify-content: space-between;
16
+ flex-wrap: wrap;
17
+ align-items: center;
18
+ text-align: center;
19
+ background: ${e=>e.theme.colors.grey5};
20
+ border-radius: ${o.sp2};
21
+ position: relative;
22
+ top: 5%;
23
+ width: ${e=>r.width.valuePx(e.windowSize)};
24
+ height: ${e=>r.height.valuePx(e.windowSize)};
25
+ padding: ${o.sp3};
26
+ background: ${e=>e.theme.colors.grey3};
27
+ `,f=n.div`
28
+ position: relative;
29
+ width: 100%;
30
+ height: 100%;
31
+ `;function y(e){const i=s();return t.jsx(w,{windowSize:i,role:"presentation",children:t.jsx(a,{onClickAway:()=>e.onCancelClick(),children:t.jsx(p,{windowSize:i,"data-testid":l("video-popup"),children:t.jsx(f,{children:t.jsx(h,{src:e.videoUrl,controls:!0,width:"100%",height:"100%"})})})})})}export{y as C};
@@ -1,9 +1,9 @@
1
- import{K as C,V as s,z as D,d as j,a as B,w as M,o as n,O as S,x as $,N as E,M as L,b as z,c as N,p as h,y as P,e as T,u,n as A}from"./index-uV9C0lq0.js";import{n as a}from"./mui-CgOsYmSB.js";import{cG as O}from"./zeni-epic-state-D5MWzrZ6.js";import"./sentry-rcvLxAzW.js";import"./liveblocks-PPyiYwu4.js";import"./core-DpPwA1EY.js";import"./recharts-B5a8DAKj.js";import"./lottie-CwowL814.js";import"./analytics-R4GG3mhr.js";import"./lexical-WuSd_Y3l.js";import"./utils-GKlM-QyI.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new r.Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="31005990-254f-4e42-81a6-c012ef96d745",r._sentryDebugIdIdentifier="sentry-dbid-31005990-254f-4e42-81a6-c012ef96d745")}catch{}})();const e=S.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},_={title:new E("largeMedium","largeSemiBold")},he=({companyView:r,allUsers:t,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?O(r):0,b=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,f=r?.onboardingInfo?.businessVerified,k=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(b!=null){const i=t.find(p=>p.userId===b.userIds[0]),{errorMessage:c,successMessage:m}=R(b,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=t.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=V(v,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=t.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=G(y,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(f!=null){const i=t.find(p=>p.userId===f.userIds[0]),{errorMessage:c,successMessage:m}=F(f,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${f.status}`})}return s.jsxs(Q,{children:[s.jsx(q,{windowSize:l,children:s.jsx(H,{children:s.jsxs(W,{windowSize:l,children:[s.jsx(J,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(K,{children:[s.jsx(U,{children:I>0?s.jsxs(x,{children:[s.jsx(x,{children:D(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(x,{children:`${e.common.no}
2
- ${D(e.cockpit.review.warningsDrawer.issueFound)}`})}),g.map((i,c)=>s.jsx(X,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(j,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(B,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...M.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},R=(r,t,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},V=(r,t,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},G=(r,t,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},F=(r,t,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},Q=a.div`
1
+ import{e as C,V as s,z as D,p as j,a as B,w as M,o as n,O as S,x as $,N as E,M as L,b as z,c as N,d as h,y as P,f as T,u,n as A}from"./index-aCBnCBoN.js";import{n as a}from"./mui-BosmckWV.js";import{cH as O}from"./zeni-epic-state-BNpJ2txa.js";import"./sentry-DzaNjvx0.js";import"./liveblocks-CEY7tsth.js";import"./core-Cjh03OPu.js";import"./recharts-CimMNwCJ.js";import"./lottie-BmLFYENY.js";import"./analytics-B_VWX-BQ.js";import"./lexical-9REae7LV.js";import"./utils-THjX-QSp.js";(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new r.Error().stack;t&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[t]="bc71eaba-b63d-446d-9c49-39ef120c15a0",r._sentryDebugIdIdentifier="sentry-dbid-bc71eaba-b63d-446d-9c49-39ef120c15a0")}catch{}})();const e=S.getLocalizedStrings(),w={navBarHeight:new $(62,62,62),navBarPaddingLeft:new $(u[3],u[3],u[8]),navBarPaddingRight:new $(u[3],u[3],u[8]),navBarPaddingTop:new $(12,12,u[3]),navBarPaddingBottom:new $(12,12,19)},_={title:new E("largeMedium","largeSemiBold")},he=({companyView:r,allUsers:t,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?O(r):0,b=r?.onboardingInfo?.bankAccountLinked,v=r?.onboardingInfo?.qboLinked,y=r?.onboardingInfo?.identityVerified,f=r?.onboardingInfo?.businessVerified,k=r?.onboardingInfo?.accountingConnectionCreationMode==="zeni_user",g=[];if(b!=null){const i=t.find(p=>p.userId===b.userIds[0]),{errorMessage:c,successMessage:m}=R(b,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${e.common.incompleteText}`,onClickRetry:o})}if(v!=null){const i=t.find(p=>p.userId===v.userIds[0]),{errorMessage:c,successMessage:m}=V(v,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${e.common.incompleteText}`})}if(y!=null){const i=t.find(p=>p.userId===y.userIds[0]),{errorMessage:c,successMessage:m}=F(y,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyc} ${e.common.strings.hyphen} ${y.status}`})}if(f!=null){const i=t.find(p=>p.userId===f.userIds[0]),{errorMessage:c,successMessage:m}=G(f,k,i);g.push({status:c!=null?"Error":m!=null?"Complete":"Incomplete",userInfo:i,message:c??m??`${e.cockpit.review.warningsDrawer.kyb} ${e.common.strings.hyphen} ${f.status}`})}return s.jsxs(H,{children:[s.jsx(Q,{windowSize:l,children:s.jsx(q,{children:s.jsxs(J,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(U,{children:[s.jsx(W,{children:I>0?s.jsxs(x,{children:[s.jsx(x,{children:D(e.cockpit.review.warningsDrawer.issueFound)}),s.jsx(ie,{children:`${e.common.strings.openingBrace}${I}${e.common.strings.closingBrace}`})]}):s.jsx(x,{children:`${e.common.no}
2
+ ${D(e.cockpit.review.warningsDrawer.issueFound)}`})}),g.map((i,c)=>s.jsx(X,{isStepInError:i.status==="Error",children:s.jsxs(Y,{children:[s.jsx(Z,{children:i.status==="Complete"?s.jsx(oe,{}):i.status==="Error"?s.jsx(j,{}):s.jsx(ne,{})}),s.jsxs(ee,{children:[s.jsx(re,{isStepInError:i.status==="Error",children:i.message}),i.status==="Error"?s.jsx(B,{label:e.common.retry,onClick:i.onClickRetry,loading:r?.retryBankAccountConnectionFetchState.fetchState==="In-Progress",variant:"light_transparent",style:{padding:`${n.sp1} ${n.sp3}`,borderRadius:n.sp1},textStyle:{...M.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},R=(r,t,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.bankAccountLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.linkBankAccount} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:e.cockpit.onboarding.header.linkBankAccount:null;return{errorMessage:d,successMessage:l}},V=(r,t,o)=>{const d=r.error===!0?r.errorDetails!=null?r.errorDetails.summary:e.cockpit.review.errors.qboLinked:null,l=r.completed===!0?o!=null?`${e.cockpit.onboarding.header.connectToQBO} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.onboarding.header.connectToQBO}`:null;return{errorMessage:d,successMessage:l}},F=(r,t,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyc} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},G=(r,t,o)=>{const d=r.status==="Error"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.common.failed.toLocaleLowerCase()}`:null,l=r.status==="Complete"?o!=null?`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity} ${e.common.strings.hyphen} ${t===!0?`${e.common.via} ${e.common.cockpit} `:e.common.strings.empty}${e.common.by} ${o.firstName} ${o.lastName}`:`${e.cockpit.review.warningsDrawer.kyb} ${e.cockpit.review.warningsDrawer.identity}`:null;return{errorMessage:d,successMessage:l}},H=a.div`
3
3
  display: flex;
4
4
  flex-direction: column;
5
5
  padding-top: ${n.sp3};
6
- `,q=a.div`
6
+ `,Q=a.div`
7
7
  min-height: ${r=>w.navBarHeight.valuePx(r.windowSize)};
8
8
  position: sticky;
9
9
  background-color: ${r=>r.theme.colors.grey4};
@@ -11,17 +11,17 @@ import{K as C,V as s,z as D,d as j,a as B,w as M,o as n,O as S,x as $,N as E,M a
11
11
  z-index: 1;
12
12
  top: ${n.sp0};
13
13
  width: 100%;
14
- `,H=a.div`
14
+ `,q=a.div`
15
15
  position: relative;
16
- `,K=a.div`
16
+ `,U=a.div`
17
17
  display: flex;
18
18
  flex-direction: column;
19
19
  margin: ${n.sp3} ${n.sp8} 102px ${n.sp8};
20
- `,U=a(N)`
20
+ `,W=a(N)`
21
21
  color: ${r=>r.theme.colors.primary};
22
22
  margin-bottom: ${n.sp3};
23
23
  margin-right: ${n.sp6};
24
- `,W=a.div`
24
+ `,J=a.div`
25
25
  display: flex;
26
26
  flex-direction: row;
27
27
  align-items: center;
@@ -34,7 +34,7 @@ import{K as C,V as s,z as D,d as j,a as B,w as M,o as n,O as S,x as $,N as E,M a
34
34
  padding-top: ${r=>w.navBarPaddingTop.valuePx(r.windowSize)};
35
35
  padding-bottom: ${r=>w.navBarPaddingBottom.valuePx(r.windowSize)};
36
36
  height: 100%;
37
- `,J=a(L)`
37
+ `,K=a(L)`
38
38
  ${r=>`${_.title.style(r.windowSize)}`};
39
39
  display: flex;
40
40
  flex: 1 1 auto;