@zeniai/web-cockpit-ui 1.15.39-qa → 1.15.40-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.
- package/dist/assets/ACHDetailsPage-DpLTXUS2-D0c1tGuw.js +21 -0
- package/dist/assets/{AIPerformancePage-DlTdGosv-BAgeiPmO.js → AIPerformancePage-ByRPO3mW-3EbdmQ_-.js} +104 -104
- package/dist/assets/AccountInfoPage-BfVVOaTL-D3vk9TdW.js +18 -0
- package/dist/assets/{AccountInfoPageContent-BS2TBUSE-vsGLXorb.js → AccountInfoPageContent-BAzd-LkX-BjwkJSBP.js} +15 -15
- package/dist/assets/AccountLockedInfoModal-BI8dkiAz-CEREcr8f.js +59 -0
- package/dist/assets/{AccountReconDetailsDrawerPage-kQJld6_N-CLh6hMw4.js → AccountReconDetailsDrawerPage-Cu_UrL9J-Bn-PtQx2.js} +18 -18
- package/dist/assets/AccountRow-nSloLUTN-C7-a59B1.js +298 -0
- package/dist/assets/{AccountsPromoCardStack-DBQnDPXQ-BQ85fNBD.js → AccountsPromoCardStack-Z8O9Tv5P-BHHWsVbt.js} +32 -32
- package/dist/assets/AddAddressForCardDrawer-GDXK5rJA-DyijyVI8.js +6 -0
- package/dist/assets/{AddToWalletPage-C4EwdLZJ-B_zG1g-k.js → AddToWalletPage-CKOnAq6_-CqcvkHGd.js} +22 -22
- package/dist/assets/{AgingReportsPage-vAvkUfOS-DI-FeGoC.js → AgingReportsPage-CUcu_cHV-Do94-_mv.js} +5 -5
- package/dist/assets/{AllUserItems-qrYg6Gdx-UTjuVZZB.js → AllUserItems-BbhDuv3Y-CPWfHpie.js} +10 -10
- package/dist/assets/ApAgingDetailPage-DLvP7G6Q-DhXBARgG.js +46 -0
- package/dist/assets/{AppBasePage-DrE-W6d7-uRp1s1KV.js → AppBasePage-Cc3o50Ar-BZVIdQ2o.js} +12 -12
- package/dist/assets/{AppDrawerContent-ATbZG_cu-B6DLMEZB.js → AppDrawerContent-moxx3tLo-DWEBLXQy.js} +5 -5
- package/dist/assets/ApprovalRulesSettingsPage-BiL2dANi-BvGx2tm4.js +47 -0
- package/dist/assets/{ArAgingChart-CuzG9AZY-8eWrWtAO.js → ArAgingChart-DuwEWasX-B7DcyKyM.js} +4 -4
- package/dist/assets/{ArAgingDetailPage-DwRkcLEu-1obcA6lF.js → ArAgingDetailPage-DGETibBB-BtDKR53R.js} +6 -6
- package/dist/assets/{AttachmentView-BrQRChzc-ZayiRyZC.js → AttachmentView-Q7kiwPOS-BNETSDSC.js} +5 -5
- package/dist/assets/{BankAccountSection-hcKEMs80-wZlh5GSi.js → BankAccountSection-Ct31GOKt-CADjKttV.js} +5 -5
- package/dist/assets/{BankAccountWarningSection-CpxVDMSZ-CPKRaP1s.js → BankAccountWarningSection-ko9DqAKK-BfybEzCK.js} +10 -10
- package/dist/assets/{BankConnectionsSettingsPage-Bdw1K00m-DENiRulM.js → BankConnectionsSettingsPage-Ds9FSEMV-B2mXxuP2.js} +14 -14
- package/dist/assets/{BillDetailPage-D0NLFZXA-idtsM4af.js → BillDetailPage-DKDNgnqK-2cg0C7-c.js} +13 -13
- package/dist/assets/{BillPayApprovalRuleDetailPage-DkpCvYvo-BAPQ2OnN.js → BillPayApprovalRuleDetailPage-DUprxSDP-B3qYmqgn.js} +1 -1
- package/dist/assets/{BillPayApprovalRulesPage-BEqZD0GU-s1-j5O2T.js → BillPayApprovalRulesPage-DuRefUEE-B2lK8SV2.js} +12 -12
- package/dist/assets/BillPayPromoPage-CszEgRZk-BTqdbqxQ.js +84 -0
- package/dist/assets/{BillPaySetUpPage-WdEdbf16-BhfuePfW.js → BillPaySetUpPage-UfS3JsLW-Zxv-DayC.js} +2 -2
- package/dist/assets/BillingSettingsPage-9uV4vEJB-CnXv1V73.js +44 -0
- package/dist/assets/{BillsBulkReviewDrawerPage-DAUoo9pq-BX-KKXKs.js → BillsBulkReviewDrawerPage-DKGmWv9w-CuPH1foN.js} +1 -1
- package/dist/assets/{BoxItem-CACRFWG2-Ren223Wk.js → BoxItem-Qhw9iPt9-CzMCE4d7.js} +1 -1
- package/dist/assets/{BusinessVerificationPage-9gZbBDL6-CkTxaZm4.js → BusinessVerificationPage-CVZrCy-t-DHZcdzsr.js} +9 -9
- package/dist/assets/{CardNumberSubText-C-oVdziK-DKs-Skfh.js → CardNumberSubText-r5Tf-P5n-CPkrSmch.js} +3 -3
- package/dist/assets/{CashbackDetailPage-BhFKSl4p-B-Ntsd90.js → CashbackDetailPage-Bo_ZMMG7-O_F3xD1y.js} +20 -20
- package/dist/assets/{ChargeCardDetailPage-D8J6HINu-BdjOzswd.js → ChargeCardDetailPage-BlQdk9jC-CEJAXstZ.js} +39 -39
- package/dist/assets/{ChargeCardListPage-tdUKyHdz-DiHyKK7l.js → ChargeCardListPage-CsFYpoaM-guNcti1f.js} +30 -30
- package/dist/assets/{ChargeCardListTable-CByk3iqX-De61_zRL.js → ChargeCardListTable-D8exMgXq-BTYKr9bX.js} +39 -39
- package/dist/assets/{ChargeCardPaymentHistoryPage-B8zRcrjo-CN9h02wy.js → ChargeCardPaymentHistoryPage-DBc981J5-C_KsK_Zd.js} +39 -39
- package/dist/assets/ChargeCardPromoPage-Dk1xNNTk-Cya5z3jm.js +222 -0
- package/dist/assets/{ChargeCardSetupPage-DtwiTNKA-DgpLxIiq.js → ChargeCardSetupPage-Bco5-BZh-DmUwzBF1.js} +4 -4
- package/dist/assets/{ChargeCardStatementsPage-B0KPw52e-Do0awbvY.js → ChargeCardStatementsPage-uEDAQkC5-Ca3X6gkv.js} +5 -5
- package/dist/assets/{CheckDepositDrawerPage-DKNAXI77-DL5qh7cC.js → CheckDepositDrawerPage-CNRKyz3v-gmMux-Qd.js} +15 -15
- package/dist/assets/{CollapsableReportTable-Cq8bhaYC-CZx2j0pM.js → CollapsableReportTable-CoDaSHJN-BeRkup1e.js} +272 -272
- package/dist/assets/{CompanyOfficerDetailsSection-Rk0B5cB5-BxDFACQl.js → CompanyOfficerDetailsSection-DzleqDta-BzbJLAhM.js} +28 -28
- package/dist/assets/{CompanyPassportCard-CHaKk74P-BrRUuhAj.js → CompanyPassportCard-CG5saSQ3-DNwsmEMg.js} +5 -5
- package/dist/assets/{CompanyPassportPage-DXWXFFKM-YRrsW7zl.js → CompanyPassportPage-ZCNGHjZ9-KZyi_Mzu.js} +21 -21
- package/dist/assets/{CompleteProfile-ChaWsK6t-DR5LLsbx.js → CompleteProfile-BqPvCgUX-A6-sj2cx.js} +1 -1
- package/dist/assets/ConfettiBurst-B2xVyUMV-0H5gfw7o.js +1 -0
- package/dist/assets/{ConstrainedInnerElement-BeIpAPjB-DS_SX5Rc.js → ConstrainedInnerElement-BeIpAPjB-BthMTEWM.js} +1 -1
- package/dist/assets/{CreateOrEditVendorPage-C_8Jqubo-CW-u-9AN.js → CreateOrEditVendorPage-CfFzrga_-BPUVECKH.js} +17 -17
- package/dist/assets/{CreditCardPaymentDrawerPage-lOjOtk28-rxUCJ2nm.js → CreditCardPaymentDrawerPage-Cjnbhvmv-eb3LqJz4.js} +11 -11
- package/dist/assets/CurrencySelectField-DDmu3bja-D1d_Ut_Z.js +139 -0
- package/dist/assets/{CustomerOnboardingActivationPage-DO6NCakm-BjlfLwhf.js → CustomerOnboardingActivationPage-hnf-eIo--C4K5Zxpz.js} +29 -29
- package/dist/assets/CustomerOnboardingContainerPage-7zQwgryW-C6hmKSZu.js +1 -0
- package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BYXyF1CQ-DxQXlI51.js → CustomerOnboardingDetailPageSkeleton-DUBpQ8ln-C4F_bhLR.js} +9 -9
- package/dist/assets/{CustomerOnboardingNoStepsPage-CbG5WshV-B7jFIamI.js → CustomerOnboardingNoStepsPage-CA0h5UTQ-BjW3LXd6.js} +6 -6
- package/dist/assets/{CustomerOnboardingPage-DyVyf8oK-CjCxpyH5.js → CustomerOnboardingPage-rvO0Stsl-D7f95vft.js} +7 -7
- package/dist/assets/{CustomerOnboardingProductSuitePage-1F3JfCRp-DVc7TctC.js → CustomerOnboardingProductSuitePage-BIgNTp2U-BwO9ehCm.js} +10 -10
- package/dist/assets/{Dashboard-Csggwob0-BO3QbyVw.js → Dashboard-BFesVYJk-BNAlL83k.js} +33 -33
- package/dist/assets/{DashboardReportPage-DFIdi_I0-D7EM2nxK.js → DashboardReportPage-CdNJfWUo-DOYF0wYK.js} +23 -23
- package/dist/assets/DashboardSidebarBackgroundAnimation-CJDhi61--XjtCq4Xk.js +12 -0
- package/dist/assets/{DepositAccTransactionItem-CZ7v1T4S-BwbeKyPH.js → DepositAccTransactionItem-DJ_V8Mx7-CDK8mXzb.js} +5 -5
- package/dist/assets/{DepositAccTransactionListPage-FldPGX6K-DAmQEIBE.js → DepositAccTransactionListPage-DBsJOm1m-nTfqP2ee.js} +5 -5
- package/dist/assets/{DomesticWireDetailsPage-C--eZ-UG-1dw1FF3E.js → DomesticWireDetailsPage-B1_C38p0-CovZ6vni.js} +2 -2
- package/dist/assets/{DownloadOverlay-4f9deyJS-DZFtNi4N.js → DownloadOverlay-DYUlDQr8-qBFIPpKK.js} +26 -26
- package/dist/assets/{DrawerPage-roO3xvRT-6os6qo37.js → DrawerPage-jU38Lq6Q-AHgBQfC_.js} +13 -13
- package/dist/assets/EditPeoplePage-Dw9mMyyp-DPDs2n-w.js +55 -0
- package/dist/assets/{EditReimbursementDetailPage-CIUcImns-BDU5lh2j.js → EditReimbursementDetailPage-PRaUQsZj-DqTgKZsB.js} +82 -82
- package/dist/assets/EntityDetailPage-C2Ix5fwl-gSVT_FTR.js +18 -0
- package/dist/assets/{EntitySummarySection-fBL4TZpT-TkV0Oz1a.js → EntitySummarySection-BzzwWXw2-D_F7Rlzp.js} +14 -14
- package/dist/assets/{ExpenseAutomationOverviewPage-CnhNINCc-Dr9hWqJP.js → ExpenseAutomationOverviewPage-CMzFQB6V-DM_yh2Rl.js} +47 -47
- package/dist/assets/ExpenseAutomationPage-BOOA30kB-BufH1Btg.js +3001 -0
- package/dist/assets/{ExpressPayPage-c8oTCnBR-CwUvXlgh.js → ExpressPayPage-B8_m64s9-wdqPmdTX.js} +17 -17
- package/dist/assets/{FeaturePreviewPage-DkiAajs2-C3ytwSVb.js → FeaturePreviewPage-BLWGNRVo-C92AU0mn.js} +2 -2
- package/dist/assets/{FollowStepsSection-GaWu1kt9-lgNwy5h-.js → FollowStepsSection-CBVDfZ38-nmHmpAVz.js} +57 -57
- package/dist/assets/GlobalReviewListPage-DlBZ4OnM-xT4_H-8W.js +291 -0
- package/dist/assets/{InformationCardStack-dMFbHUWM-CKh2M5k7.js → InformationCardStack-D8hkkUkN-B1MHqZTM.js} +4 -4
- package/dist/assets/{InsightsCardStack-BlXkyuyz-DMBEm68j.js → InsightsCardStack-T3ZL19C0-BBaRu6Cu.js} +9 -9
- package/dist/assets/InsightsSection-CVioRrr2-CEMLw-o0.js +27 -0
- package/dist/assets/{IntegrationsSettingsPage-D-hfghuq-CY_OuXB5.js → IntegrationsSettingsPage-DKqNc7bF-BOmO6Qyo.js} +6 -6
- package/dist/assets/{InternationalWireSwiftDetailsPage-DxdKE300-Bp-YhTPe.js → InternationalWireSwiftDetailsPage-qzmJ8_r9-C6omI1qL.js} +19 -19
- package/dist/assets/InternationalWireVerificationPage-8XEibbVK-cjj-JWJ4.js +65 -0
- package/dist/assets/{InviteFormPage-BCdalqtP-DEmhTBcW.js → InviteFormPage-Dw-l-O7n-B74WmVBo.js} +16 -16
- package/dist/assets/{InvitePageListView-B88FW48q-CJJQfk5m.js → InvitePageListView-CGjk-eOP-ClDlh7fM.js} +48 -48
- package/dist/assets/InvitePeoplePage-DSg5Quam-VrkZhbUi.js +12 -0
- package/dist/assets/InvoiceUploadSection-D_uWzQW4-Bxkjza2M.js +140 -0
- package/dist/assets/{IssueChargeCardPage-B6wmvbEr-B2zhxp3c.js → IssueChargeCardPage-BASDviuN-Der3X_t9.js} +34 -34
- package/dist/assets/{LabeledAddressValue-CQrDCgNs-CqrzxeUV.js → LabeledAddressValue-IPGwjeYh-CkaMLxji.js} +2 -2
- package/dist/assets/{LabeledAddressValueField-BoHS44YO-C0d1SGUs.js → LabeledAddressValueField-DYjUauc7-DIfkXNuQ.js} +4 -4
- package/dist/assets/LabeledControlledCheckBoxField-DVf8zpcv-CnTD9x1u.js +16 -0
- package/dist/assets/{LabeledCountryMultiSelectField-D1fVDYR_-DwXn17zh.js → LabeledCountryMultiSelectField-CekqwoGI-FfKjwgoC.js} +3 -3
- package/dist/assets/{LabeledCreatableSingleSelectField-Bhka-Faj-Bf_H2WLZ.js → LabeledCreatableSingleSelectField-By3V1BNi-3t8vaX2e.js} +8 -8
- package/dist/assets/LabeledDocumentField-CN-BH7Gq-D_XxeGxN.js +41 -0
- package/dist/assets/{LabeledDropDownFormattedTextField-ChgtJqPr-DYysX-lx.js → LabeledDropDownFormattedTextField-CQkl7AeY-DLVKw4TX.js} +4 -4
- package/dist/assets/{LabeledText-2EDpuXZ4-ZljRY_j7.js → LabeledText-D1RmgOs9-q82PtDVl.js} +5 -5
- package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-CZbyOdRR-BRHOan2E.js → LabeledUserSingleSelectWithSubtitlesField-Bw1TjzCA-0XX6kAaj.js} +15 -15
- package/dist/assets/{LabeledZeniRolesDropDownField-CpH0eDWO-CvLZx4pY.js → LabeledZeniRolesDropDownField-BiVOlFVe-DAdgSY4x.js} +26 -26
- package/dist/assets/LinkJETransactionPage-DbA8sdwa-BFuJnTLq.js +98 -0
- package/dist/assets/{LockCardPage-CHv1xi2J-mXPWUl04.js → LockCardPage-BVpW2BeO-aNMVewaJ.js} +42 -42
- package/dist/assets/{LowBalancePopup-Cb55PGLc-C16_RtCi.js → LowBalancePopup-DTUaytjD-DS1CDgAE.js} +6 -6
- package/dist/assets/MagicLinkACHDetailsPage-k34ybVrp-BxWmvoNw.js +1 -0
- package/dist/assets/MagicLinkDomesticWireDetailsPage-Cc9sI0Na-DYhrOrMG.js +1 -0
- package/dist/assets/MagicLinkInternationalWireDetailsPage-DI9_mzqN-g6BD3Bf4.js +1 -0
- package/dist/assets/MagicLinkSuccessPage-RG1qZ5Kj-CBdchHNz.js +31 -0
- package/dist/assets/{MagicLinkTitleSection-BA-i6vzA-ByGqXE4C.js → MagicLinkTitleSection-BeTuROc4-BqJ6KNUx.js} +4 -4
- package/dist/assets/{MailingDetailsSection-EwtoQ2TZ-Cbz2IXfC.js → MailingDetailsSection-q49nDsf9-CpQRrqml.js} +6 -6
- package/dist/assets/{MyBankConnectionsSettingsPage-Aer6AWxY-nJ31HAIY.js → MyBankConnectionsSettingsPage-B9kH0sVB-CBACGGM8.js} +12 -12
- package/dist/assets/MyPendingActivationChargeCardListPage-SRoiz1Qu-CXlkfrZl.js +6 -0
- package/dist/assets/MyProfileSettingsPage-D40mm3Me-BP-31NhD.js +85 -0
- package/dist/assets/NavBarWithPicker-DuTo0ZPb-C_jShNIM.js +30 -0
- package/dist/assets/{NavigationArrow-kQWS5Pzb-BnLTYFqA.js → NavigationArrow-BvkBQmTR-Df9u1P7d.js} +7 -7
- package/dist/assets/{NavigationDots-BQb_Fodq-DPmycbJO.js → NavigationDots-DyeJVxnu-BWgE-kd3.js} +4 -4
- package/dist/assets/{NewGlobalMerchantPage-z86XZorn-D_P0X2rA.js → NewGlobalMerchantPage-D15HmpS7-7O1eYItX.js} +34 -34
- package/dist/assets/NoDataChart-j3LPkJML-DH_2yb3S.js +26 -0
- package/dist/assets/{NoDataTable-DVe7sQhD-BBvSxmca.js → NoDataTable-BnwGiTCu-DdjmD7IA.js} +1 -1
- package/dist/assets/{NotFoundPage-B1XCmhSe-Bswe3x_k.js → NotFoundPage-Ds5RxwiG-CAZIdfn2.js} +8 -8
- package/dist/assets/{NotificationSettingsPage-BaN20EGV-Jcu5M-rf.js → NotificationSettingsPage-CeWmIGY8-DtH4x4Zr.js} +30 -30
- package/dist/assets/NotificationsListConfig-_L5Loigk-C2rXa9XH.js +1 -0
- package/dist/assets/{NotificationsPage-C9efAgjo-AlTPK97H.js → NotificationsPage-DYE-ZefG-CQb2VS6_.js} +40 -40
- package/dist/assets/OpExByVendorPage-Br2UmBAk-C4xtYWdA.js +100 -0
- package/dist/assets/{OverlayContainerPage-D4QU0p4o-DvH5zFFZ.js → OverlayContainerPage-D4QU0p4o-C2DruCao.js} +1 -1
- package/dist/assets/{PandLWithForecastPage-CXtJhnA_-iJiggxC0.js → PandLWithForecastPage-vAvSbwIq-D4RAUyzB.js} +13 -13
- package/dist/assets/{PaymentAccountSetupBillingAddressSection-Deb_ngk6-uyk9ZZRm.js → PaymentAccountSetupBillingAddressSection-2cz94sYW-D8fR2crL.js} +14 -14
- package/dist/assets/PeoplePage-DSSY4CbY-CUJyHd04.js +727 -0
- package/dist/assets/{Preview-CoirdzrN.js → Preview-DH9wlYN4.js} +1 -1
- package/dist/assets/{ProductsCarousel-ufZlh7Rx-STTMhn6O.js → ProductsCarousel-JcjsFk4w-xghMAqt2.js} +7 -7
- package/dist/assets/{PromoBaseCards-D2UbhBhT-B3nRp3gI.js → PromoBaseCards-D8xPcjkz-DtK0GWHd.js} +4 -4
- package/dist/assets/{QBOConnectionDialog-BrQ71F06-EpGzmSYw.js → QBOConnectionDialog-KDwylUf5-DEEWOQtl.js} +6 -6
- package/dist/assets/QBOSetupSection-Dts3QjOd-CSmveDbb.js +79 -0
- package/dist/assets/ReimbursementApprovalRuleDetailPage-Dz5HZk-8--6Vs9cIS.js +32 -0
- package/dist/assets/{ReimbursementApprovalRulesPage-CMpYn5y_-NbE0JcCj.js → ReimbursementApprovalRulesPage-BcmW2ws5-Che0m033.js} +11 -11
- package/dist/assets/ReimbursementDetailPage-BdJYqqCn-CYh1sneh.js +314 -0
- package/dist/assets/ReimbursementPromoPage-B7nNFf49-09B6QAJH.js +84 -0
- package/dist/assets/{ReimbursementSetUpPage-KrGPXTCb-dqwxz6WG.js → ReimbursementSetUpPage-B6l3L19G-D3utfB62.js} +13 -13
- package/dist/assets/{ReimbursementsBulkReviewDrawerPage-l2mYNEKn-DyrixQpU.js → ReimbursementsBulkReviewDrawerPage-BjiqrxQ2-DWSGEIbO.js} +1 -1
- package/dist/assets/{ReloadCard-vAhL7B8U-Byu7tcBj.js → ReloadCard-pCquFw6w-C5Nq3bfI.js} +8 -8
- package/dist/assets/{ReportTableViewSelector-Y97ney3W-ChUmdWxl.js → ReportTableViewSelector-BOA9cxem-D95Rl8Pv.js} +28 -28
- package/dist/assets/{ReportsPage-DKM0gVzR-CJveAb23.js → ReportsPage-BOsLdYhx-DZO6PKlQ.js} +4 -4
- package/dist/assets/{RevenueChart-BEjDS1u4-BbPYev-x.js → RevenueChart-DPse5Wdo-AFfFtyYx.js} +14 -14
- package/dist/assets/{ReviewDetailsPage-BlQLrN9z-eEn9iGLz.js → ReviewDetailsPage-DTCm09MF-BtzB7MPB.js} +53 -53
- package/dist/assets/{ReviewOverlay-Bn3TFqfi-O6NbaoDZ.js → ReviewOverlay-B2XV0Wf1-9HOJu6NK.js} +25 -25
- package/dist/assets/RoleWithToolTip-DpaXFRka-BbRU76xe.js +22 -0
- package/dist/assets/{ScheduleDetailsFixedAssetsPage-BMkFjf9Y-HZszSQpF.js → ScheduleDetailsFixedAssetsPage-DLpikyWD-kK0JFjhN.js} +13 -13
- package/dist/assets/{ScheduleDetailsPage-BP0wdtoP-CVCxLNNn.js → ScheduleDetailsPage-DIvnRAi6-CXakgTSA.js} +8 -8
- package/dist/assets/{ScheduleSequenceTable-D-rZ4ftr-CrLLNfgO.js → ScheduleSequenceTable-O93ZenyD-DnPGdohK.js} +44 -44
- package/dist/assets/{ScreenRoutes-BI5VdJ1u.js → ScreenRoutes-uNOGWUGZ.js} +33 -33
- package/dist/assets/{SetUpAccountSection-CoVrSSYL-Cz_V0ppu.js → SetUpAccountSection-Dl68db5l-B4jqgZUp.js} +5 -5
- package/dist/assets/SignIn-D6twztsA-CW5yhgyV.js +491 -0
- package/dist/assets/SignInScreen-CxdUYlBE.js +1 -0
- package/dist/assets/{SpendManagementListViewPage-D3eISFuA-A-aeBT_y.js → SpendManagementListViewPage-DsTTqmEx-yOHixb_V.js} +21 -21
- package/dist/assets/{SpendManagementPerTabPage-BWDjZyLp-jknB6oUt.js → SpendManagementPerTabPage-Dt9HEmXn-CJK-wCrp.js} +13 -13
- package/dist/assets/{SpendManagementSection-D8rBpC-y-C-1Tmmxs.js → SpendManagementSection-DbsdVrJv-B_c96ZIs.js} +23 -23
- package/dist/assets/StatementItem-D1vvnzNl-lXFrHXXQ.js +31 -0
- package/dist/assets/StatementsPage-XAVpAiKL-Ch4pndMa.js +58 -0
- package/dist/assets/{StatusSwitcher-B9MARTyR-uN5xb-gX.js → StatusSwitcher-B4EYXc0F-D3lCfolE.js} +5 -5
- package/dist/assets/{SubTabSwitcher-C3rtSwro-Ck4vI9j3.js → SubTabSwitcher-CM9v4rRl-lIA1fOJE.js} +3 -3
- package/dist/assets/{SummaryCard-CShVbqhj-C0mR12Rj.js → SummaryCard-CF9Nbk_i-CKrtYMiz.js} +1 -1
- package/dist/assets/TaskManagementPage-ChTC8Nzf-c9kZ-1iP.js +508 -0
- package/dist/assets/{TimeRangeSwitcher-DFnX6_WT-8rb8PRgV.js → TimeRangeSwitcher-37ytEy0X-BPg3_wjC.js} +2 -2
- package/dist/assets/TimeframeSwitcher-Ca28fZEt-4kauNdEu.js +31 -0
- package/dist/assets/TimeframeSwitcherWithToggle-BSWY0nMa-u1tKN6th.js +31 -0
- package/dist/assets/{TopExCard-dI_WEGWb-CkfKmcqH.js → TopExCard-DHDNaLww-Cp9pW08N.js} +11 -11
- package/dist/assets/{TopExDetailPage-BWy5E8Lp-DoEOTa6r.js → TopExDetailPage-DFzrCiVG-BvTfiPwy.js} +14 -14
- package/dist/assets/{TransactionActivityLogPage-DjhEIUYm-CVk9j3q-.js → TransactionActivityLogPage-DcbQgckT-BCk9nFR3.js} +23 -23
- package/dist/assets/TransactionDetailPage-BCTtqHfm-n6NqpKTK.js +903 -0
- package/dist/assets/{TransactionList-80KjM8Kg-DZ_flqbd.js → TransactionList-DVFUdewa-8p0Xausj.js} +20 -20
- package/dist/assets/{TransactionListBig-DWQXH4ID-BE0-yEmC.js → TransactionListBig-Daypmugt-AiYr5uVw.js} +20 -20
- package/dist/assets/TransactionListPage-CzwkHzb_-Dnj7c_uL.js +35 -0
- package/dist/assets/{TransactionVendorDetailPage-CzfJ5b_3-DE1VmPu5.js → TransactionVendorDetailPage-BsKafcmj-QLBH3pzt.js} +16 -16
- package/dist/assets/{TransferDrawerPage-6z-MoZZP-mZshzkdg.js → TransferDrawerPage-DyFcSYZt-7PU8dYYK.js} +35 -35
- package/dist/assets/{TreasuryOverviewPage-CF_ter0o-BmiahUtt.js → TreasuryOverviewPage-BPkFbqCZ-BGWLrsqk.js} +28 -28
- package/dist/assets/{TreasuryPromoPage-Do-PTcjI-T5HTleFc.js → TreasuryPromoPage-pEVzLiB4-CckQ4gPa.js} +19 -19
- package/dist/assets/{TreasuryStatementsPage-l_HC4zsb-lW4e98bP.js → TreasuryStatementsPage-izaxVrJg-BOmcBurT.js} +1 -1
- package/dist/assets/TreasuryTaxLetterPage-DIa79RKC-BaoTF3DV.js +58 -0
- package/dist/assets/{TrendChart-C6B61CAm-ccvYw3Dl.js → TrendChart--F9P_tcq-CTI_f8th.js} +3 -3
- package/dist/assets/{TrendWithTransactions-Bp3vhaPa-DKvam-cU.js → TrendWithTransactions-B0R1TMMK-BIx_Ucxw.js} +3 -3
- package/dist/assets/{UncategorizedAccountsMappingPage-cbFqKAv4-V_1ur7kN.js → UncategorizedAccountsMappingPage-CToVvQYm-DSBjQ-vG.js} +10 -10
- package/dist/assets/{UnitIntegrationPage-DZ0ZpE5p-B3EZbw6Q.js → UnitIntegrationPage-DGmrRY2v-CpdFvEi5.js} +11 -11
- package/dist/assets/UploadAdditionalDocumentOverlay-B3JZwTBb-DawOCnY-.js +38 -0
- package/dist/assets/Vendor2FAPopup-BRMPwclY-C7lmw7U-.js +1 -0
- package/dist/assets/VendorACHDetailsPage-FgtLHn1A-BN5W-Bsc.js +1 -0
- package/dist/assets/{VendorDetailPage-C4g_Gfsl-DfxhJWr1.js → VendorDetailPage-DTQ-KiJz-BjFrWJYo.js} +90 -90
- package/dist/assets/VendorDomesticWireDetailsPage-yy6bXxb9-D2ssuNks.js +1 -0
- package/dist/assets/{VendorFiling1099EditablePage-Ckt2MiVN-C82dbC0z.js → VendorFiling1099EditablePage-z9q_fohc-ld-WK3qa.js} +32 -32
- package/dist/assets/VendorFirstReviewPage-DTOwONia-CpI3YCe1.js +730 -0
- package/dist/assets/{VendorInternationalWireDetailsPage-Dz8mMD8d-BmpQ62rU.js → VendorInternationalWireDetailsPage-DR-BKbDb-DaH2MsUT.js} +15 -15
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-DK94_VqZ-DJpWsPVZ.js +1 -0
- package/dist/assets/{VendorsAccountsSection-BT-RADSV-CZeFwZz5.js → VendorsAccountsSection-CWyBBs2G-BHKKM3ME.js} +3 -3
- package/dist/assets/{VerifyDevice-Cxc9CVMi-BL8Egn6k.js → VerifyDevice-CG1Qj4Lm-DigRc0-f.js} +4 -4
- package/dist/assets/{VideoPlayer-9UkKMhGy-C8Jc8YBV.js → VideoPlayer-BdIPlzSd-DYXLi2NY.js} +2 -2
- package/dist/assets/{VideoPopup-rfiYmtio-B4L2ZckC.js → VideoPopup-W2U47mhU-BbkemVhS.js} +4 -4
- package/dist/assets/{WarningsDrawerPage-DrUA4asI-BBme1los.js → WarningsDrawerPage-D0aOjGDf-CAbcgcID.js} +7 -7
- package/dist/assets/{ZeniAccountDetailPage-K016HgQt-D8aykdnG.js → ZeniAccountDetailPage-DJyYOR4V-DHVbCPEu.js} +13 -13
- package/dist/assets/{ZeniAccountListViewPage-1oZZynB1-ZWNmYkTh.js → ZeniAccountListViewPage-BTOIvLCF-mMpckNBs.js} +21 -21
- package/dist/assets/ZeniAccountNavBarPieces-vGgpCYIn-BMTL2XMu.js +14 -0
- package/dist/assets/{ZeniAccountPromoPage-BCgys-YM-D6O2YpV6.js → ZeniAccountPromoPage-DYxM2WNa-jQgPA6gu.js} +23 -23
- package/dist/assets/{ZeniAccountSetupPage-BubBgkoa-BpRQpJq9.js → ZeniAccountSetupPage-DUq-PiMf-DWgEim6l.js} +3 -3
- package/dist/assets/{ZeniCopyright-BxIwmms--C95f1QNY.js → ZeniCopyright-Chrw_zb6-BKj6eUA-.js} +1 -1
- package/dist/assets/{ZeniTransferAmountSlider-DVJ0puXA-C0zCo5eT.js → ZeniTransferAmountSlider-CuZPJv1--DR9FZtFU.js} +11 -11
- package/dist/assets/{add-to-wallet-DgdBD8_G-DHGXNW7A.js → add-to-wallet-DgdBD8_G-B2IvxXWv.js} +1 -1
- package/dist/assets/{analytics-DRAIIXch.js → analytics-DtwjxHiX.js} +1 -1
- package/dist/assets/{analyticsHelper-CT5zOInj-DuapFtcv.js → analyticsHelper-BqOb8jb5-CGkPFK_O.js} +1 -1
- package/dist/assets/analyticsHelper-j8OuskUt.js +1 -0
- package/dist/assets/{arrow-south-east-round-PEovUgvH-CWU-GbXg.js → arrow-south-east-round-PEovUgvH-BA8Ep9QS.js} +1 -1
- package/dist/assets/{auto-transfer-rule-mbafm5D3-CbUcm6tD.js → auto-transfer-rule-mbafm5D3-HGlxBiye.js} +1 -1
- package/dist/assets/{chartTypes-Ddw_3-6f-OViFz2fj.js → chartTypes-kba3vib6-DZ27Jj39.js} +1 -1
- package/dist/assets/commonDimensions-D0kIxeo5-RDa02x_3.js +1 -0
- package/dist/assets/{commonTypes-B-foaEwJ-B7UyHR11.js → commonTypes-0d0JMX8y-CalDLikD.js} +1 -1
- package/dist/assets/{constants-ov1sZD-8.js → constants-CE9jAcY0.js} +1 -1
- package/dist/assets/{core-DTkIP9TV.js → core-XvwDdaId.js} +1 -1
- package/dist/assets/{dash.all.min-Bt5zmw-k.js → dash.all.min-CrBcFpeF.js} +1 -1
- package/dist/assets/{detailCommon-Cpgf9GLg-1WCjE92a.js → detailCommon-ttGeF18U-BSDu3BLp.js} +4 -4
- package/dist/assets/downloadPdf-DX8GL4Ja-x4buR44L.js +1 -0
- package/dist/assets/{empty-_n93FfZv.js → empty-Bl-Hsev3.js} +1 -1
- package/dist/assets/{empty-CeGcB9xa.js → empty-y-VvSSjQ.js} +1 -1
- package/dist/assets/epic-BbATrl1e.js +2 -0
- package/dist/assets/{gift-box-Cmt9OgIZ-D96tOflH.js → gift-box-Cmt9OgIZ-D1YJhnVt.js} +1 -1
- package/dist/assets/{graphic-no-data-l-DU4J8fDt-2POgqjOa.js → graphic-no-data-l-DU4J8fDt-DPnV1HVO.js} +1 -1
- package/dist/assets/{graphic-no-data-net-burn-l-CzmycA0m-PUK4CMqN.js → graphic-no-data-net-burn-l-CzmycA0m-eKmdez3u.js} +1 -1
- package/dist/assets/{handshake-BPg58FML-bjRX7vgu.js → handshake-BPg58FML-CaQoUCG-.js} +1 -1
- package/dist/assets/{helper-DP3YY99s-BW2j4jJ8.js → helper-YFgDgQKT-BC5Bdlf5.js} +2 -2
- package/dist/assets/{index-BhMHzjtQ.js → index-BqGj3wsF.js} +1 -1
- package/dist/assets/{index-CK3umv0l.js → index-DAtPGjek.js} +1 -1
- package/dist/assets/{index-Dkuq8pxE.js → index-DQrFoID0.js} +1 -1
- package/dist/assets/{index-BZzvu_l6.js → index-DfiMoEY6.js} +1 -1
- package/dist/assets/{index-Dn4fsqrg.js → index-Dfs8yBxm.js} +3775 -3751
- package/dist/assets/{index-DDju9VB3.js → index-P3m51nfg.js} +1 -1
- package/dist/assets/{index-Dt5nJuRT.js → index-vpntWUJx.js} +1 -1
- package/dist/assets/{lexical-BiXOi-Hk.js → lexical-Huj_vwAQ.js} +1 -1
- package/dist/assets/{liveblocks-CN1Pe_iM.js → liveblocks-DO6Nvzzd.js} +1 -1
- package/dist/assets/{lottie-D0Yki-KW.js → lottie-Brfg_siY.js} +1 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-DuIK129X-C7sz-zfO.js +1 -0
- package/dist/assets/{mapSectionWithAcOnlyToTreeNode-QJI_OYzu-uH_Ogwdr.js → mapSectionWithAcOnlyToTreeNode-Co-aYc3j-BzIgtJky.js} +1 -1
- package/dist/assets/mapSpacerToTreeNode-COaFWgJv-CpUvCKfW.js +1 -0
- package/dist/assets/mapTimeframeBalancesToTreeNode-330OiGav-D2arADsc.js +1 -0
- package/dist/assets/{mapTimeframeBalancesToTreeNode-J3b1nb_T-CzCSY_0J.js → mapTimeframeBalancesToTreeNode-CATud2li-D_4USxAl.js} +1 -1
- package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-Dg4cktKO-75iAo6WN.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CpFBbrhT-D6BhbnL-.js} +1 -1
- package/dist/assets/{mui-t9zesPMq.js → mui-BoUXdMXW.js} +1 -1
- package/dist/assets/{page-detail-CWX5S47F-CnQe9dJ6.js → page-detail-CWX5S47F-slNOFFuo.js} +1 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-CXz-zqFv.js +3 -0
- package/dist/assets/{radio-default-CiSgisfh-D_KNQBWB.js → radio-default-CiSgisfh-8S_K4aeU.js} +1 -1
- package/dist/assets/{react-D5jt5O9g.js → react-B6Zv-pk5.js} +1 -1
- package/dist/assets/{react-Chk4J137.js → react-BEh8f-x0.js} +1 -1
- package/dist/assets/{react-DHDdhtnS.js → react-BM1bLfCE.js} +1 -1
- package/dist/assets/{react-HlghPMEn.js → react-CGUy3-Ee.js} +1 -1
- package/dist/assets/{react-CSiX3uCa.js → react-ClpUcFhc.js} +3 -3
- package/dist/assets/{react-B7247BHH.js → react-D2vJQnJN.js} +1 -1
- package/dist/assets/{react-CZ_HQvRg.js → react-D4fY6Hdc.js} +1 -1
- package/dist/assets/{react-6mE6xEOR.js → react-eG3wjELA.js} +2 -2
- package/dist/assets/{recharts-Cg59vN3o.js → recharts-Dx_NgewX.js} +1 -1
- package/dist/assets/{sentry-BKz9JNP2.js → sentry-Dje-_Mky.js} +1 -1
- package/dist/assets/{shield-DOlUxcFf-CcQ6zo-4.js → shield-DOlUxcFf-DsKmOO4l.js} +1 -1
- package/dist/assets/toCOABalancesWithID-iCDy3BRW-D-QioPYy.js +1 -0
- package/dist/assets/{toChartData-BEjMhb7--hljEyiCG.js → toChartData-CLrjl2HT-B5rnppiY.js} +1 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-CkewT8By.js +1 -0
- package/dist/assets/{uploadAttachment-DUpHzqMe-BJrE9eqG.js → uploadAttachment-_EPHKVvJ-BI-TRaFx.js} +22 -22
- package/dist/assets/uploadReceipts-Dge0cNF1-dznVP6mr.js +1 -0
- package/dist/assets/{url-D2VKambj.js → url-C9Sf7nFb.js} +1 -1
- package/dist/assets/{url-Bp3DApux.js → url-qAerZ0OB.js} +1 -1
- package/dist/assets/{useLongPress-GCK2COYQ-DtC1Ioqh.js → useLongPress-GCK2COYQ-Dg3J9wpe.js} +1 -1
- package/dist/assets/{usp-line-BBd1wKwW-BblEFC3h.js → usp-line-BBd1wKwW-19qrO-Ih.js} +1 -1
- package/dist/assets/{utils-BjuPsonu.js → utils-CyvMfhu-.js} +1 -1
- package/dist/assets/{zeni-epic-state-D4InWuWM.js → zeni-epic-state-DjuGgMVt.js} +34 -34
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-D2Xav-UW-is9JM5m9.js +0 -21
- package/dist/assets/AccountInfoPage-B8-8kUGD-B2Z0UV7R.js +0 -18
- package/dist/assets/AccountLockedInfoModal-aukulrV7-CdYEAqiv.js +0 -59
- package/dist/assets/AccountRow-BiEYR4Y1-hWgp6D7v.js +0 -298
- package/dist/assets/AddAddressForCardDrawer-DTnfk8K7-FEHxMu-0.js +0 -6
- package/dist/assets/ApAgingDetailPage-BRYQMwo2-BhXpwRj9.js +0 -46
- package/dist/assets/ApprovalRulesSettingsPage-5MYC1I6k-BkvXbvGU.js +0 -47
- package/dist/assets/BillPayPromoPage-BMcP4EU5-Be0hFWHi.js +0 -84
- package/dist/assets/BillingSettingsPage-GtRUqSZm-uYwUUCLC.js +0 -44
- package/dist/assets/ChargeCardPromoPage-C4cgx2gm-C0uZqtCo.js +0 -222
- package/dist/assets/ConfettiBurst-CdB5fRMt-Bh6yJ_JE.js +0 -1
- package/dist/assets/CurrencySelectField-BDqU4HVy-8fNMSxy8.js +0 -139
- package/dist/assets/CustomerOnboardingContainerPage-CckCX7Vt-D3uhIFOz.js +0 -1
- package/dist/assets/DashboardSidebarBackgroundAnimation-C3Ovv-ob-CXIflV0T.js +0 -12
- package/dist/assets/EditPeoplePage-pi5RclAj-Xf9KGbVz.js +0 -55
- package/dist/assets/EntityDetailPage-OTKTVNMD-wQz23B_S.js +0 -18
- package/dist/assets/ExpenseAutomationPage-BDLCJbFw-BtN-CwTS.js +0 -1703
- package/dist/assets/GlobalReviewListPage-DEzj0RVG-CSD-6H67.js +0 -291
- package/dist/assets/InsightsSection-D-oCmrir-DMVggX2r.js +0 -27
- package/dist/assets/InternationalWireVerificationPage-CkSmhOrS-BKi6QeHP.js +0 -65
- package/dist/assets/InvitePeoplePage-Z-2L7lWc-BmOpdSP1.js +0 -12
- package/dist/assets/InvoiceUploadSection-C8hytmay-Q3VhOkPv.js +0 -140
- package/dist/assets/LabeledControlledCheckBoxField-BsFqjCpn-4XGB8sMk.js +0 -16
- package/dist/assets/LabeledDocumentField-CnRk5aKZ-obiM30eu.js +0 -41
- package/dist/assets/LinkJETransactionPage-BhV2MnCY-D_XP8_tQ.js +0 -98
- package/dist/assets/MagicLinkACHDetailsPage-Dnp01hnF-6ODQvSli.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-B36rsikS-v0nk__55.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-Zo4oNZez-Crch1oAl.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-09NLbjFG-HiPw3lTM.js +0 -31
- package/dist/assets/MyPendingActivationChargeCardListPage-Ddy4bAEY-D1brM7Kg.js +0 -6
- package/dist/assets/MyProfileSettingsPage-DMz-6h9F-C6nrIT8O.js +0 -85
- package/dist/assets/NavBarWithPicker-D8WNahg--DvxXKLde.js +0 -30
- package/dist/assets/NoDataChart-CyYJ6icu-2mAZGTKF.js +0 -26
- package/dist/assets/NotificationsListConfig-BOW_TmPC-CVA0OePe.js +0 -1
- package/dist/assets/OpExByVendorPage-DXeBU3-z-BAHAWgTa.js +0 -100
- package/dist/assets/PeoplePage-DXC2CtOt-mv-o3ADV.js +0 -675
- package/dist/assets/QBOSetupSection-EOFscEW--Bv7YFpyw.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-C-HPI4Ng-BZg3FS4x.js +0 -32
- package/dist/assets/ReimbursementDetailPage-CfmICHZb-BNHQvvJm.js +0 -314
- package/dist/assets/ReimbursementPromoPage-DXTAY8c7-CKYJHwk8.js +0 -84
- package/dist/assets/RoleWithToolTip-DhBFvJea-CE-fnoX1.js +0 -22
- package/dist/assets/SignIn-BoAejo7r-B94hTR-u.js +0 -491
- package/dist/assets/SignInScreen-Buf8ytnC.js +0 -1
- package/dist/assets/StatementItem-Cu6dlAsl-CDLaPyDW.js +0 -31
- package/dist/assets/StatementsPage-DiY2BOcu-B6GmkSJH.js +0 -58
- package/dist/assets/TaskManagementPage-RVS8nv0n-COSQr7oX.js +0 -508
- package/dist/assets/TimeframeSwitcher-CW08yYgo-DItR-hmf.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DJOCWqpZ-BNxNq2Fx.js +0 -31
- package/dist/assets/TransactionDetailPage-CuxqQd8U-DudRnP0L.js +0 -903
- package/dist/assets/TransactionListPage-DC08rCC9-BH2tNBEd.js +0 -35
- package/dist/assets/TreasuryTaxLetterPage-B8YxWytK-BocC7iP6.js +0 -58
- package/dist/assets/UploadAdditionalDocumentOverlay-BKY6hK51--wE36xQn.js +0 -38
- package/dist/assets/Vendor2FAPopup-DezpDfp8-DYoXoZ-w.js +0 -1
- package/dist/assets/VendorACHDetailsPage-C8TWKYfc-DCuFNH9E.js +0 -1
- package/dist/assets/VendorDomesticWireDetailsPage-BhJQ-Vmn-C9y2vQ83.js +0 -1
- package/dist/assets/VendorFirstReviewPage-CIKRaTax-BFYB3Xlk.js +0 -730
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-XcV7Ot44-Bh98y6ga.js +0 -1
- package/dist/assets/ZeniAccountNavBarPieces-C6Oicpue-LquZb6Na.js +0 -14
- package/dist/assets/analyticsHelper-phLK40GK.js +0 -1
- package/dist/assets/commonDimensions-ClmbdehE-Dimgn1GD.js +0 -1
- package/dist/assets/downloadPdf-DfRYmfsd-BPDfRxDH.js +0 -1
- package/dist/assets/epic-DsVPiFFV.js +0 -2
- package/dist/assets/mapLoadingInProgressToTreeNode-C0YIUOnb-DTMOlF67.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-DKDsz0vw-Dgoksvb9.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DqDJAeAj-CI9abIWE.js +0 -1
- package/dist/assets/panelSelectedMixin-CzfD5-Zs-gaxwl0V_.js +0 -4
- package/dist/assets/toCOABalancesWithID-AzKAZ-Cv-B1iz_AL6.js +0 -1
- package/dist/assets/uploadReceipts-Dge0cNF1-0LNQ1d67.js +0 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import{V as t,J
|
|
1
|
+
import{V as t,J,a9 as he,F as U,cH as ye,aF as ge,cr as be,cs as fe,ct as xe,ad as ve,aS as we,x as p,f1 as le,f2 as Ce,o as y,ba as $e,cL as oe,y as ne,f3 as De,f4 as Q,cQ as G,b2 as H,cM as je,es as Te,u as a,ex as ke,ab as Se,p as V,z as Oe,T as Fe,bU as Le,aj as Ae,bL as ze}from"./index-Dfs8yBxm.js";import{a as R}from"./sentry-Dje-_Mky.js";import{n as g}from"./mui-BoUXdMXW.js";import{bi as Z}from"./zeni-epic-state-DjuGgMVt.js";import{W as Ie,A as We}from"./BankAccountWarningSection-ko9DqAKK-BfybEzCK.js";import{T as Re}from"./MailingDetailsSection-q49nDsf9-CpQRrqml.js";import{S as Pe}from"./CurrencySelectField-DDmu3bja-D1d_Ut_Z.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";import"./LabeledAddressValueField-DYjUauc7-DIfkXNuQ.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]="65012876-6791-4d23-aded-294cd8845601",e._sentryDebugIdIdentifier="sentry-dbid-65012876-6791-4d23-aded-294cd8845601")}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: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(Fe,{size:"Small",start:!0})});if(S&&j||D){let c=null;return o===!0&&S&&w&&(c=t.jsx(Le,{placement:C==="small"?"bottom":"right",maxWidth:"364px",title:t.jsx(Ve,{children:w}),children:t.jsx(Ne,{children:t.jsx(Ue,{})})})),t.jsxs(qe,{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: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`
|
|
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=>
|
|
7
|
-
min-height: ${e=>
|
|
8
|
-
padding-right: ${e=>
|
|
9
|
-
padding-top: ${e=>
|
|
10
|
-
padding-bottom: ${e=>
|
|
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)};
|
|
11
11
|
:first-of-type {
|
|
12
12
|
border-top-left-radius: inherit;
|
|
13
13
|
border-top-right-radius: inherit;
|
|
@@ -59,7 +59,7 @@ import{V as t,J as K,a9 as he,F as U,cG as ye,aE as ge,cq as be,cr as fe,cs as x
|
|
|
59
59
|
justify-content: flex-end;
|
|
60
60
|
flex-direction: column;
|
|
61
61
|
position: relative;
|
|
62
|
-
`,Ve=g(
|
|
62
|
+
`,Ve=g(Ae)`
|
|
63
63
|
padding: 12px;
|
|
64
64
|
color: ${e=>e.theme.colors.grey1};
|
|
65
65
|
background: ${e=>e.theme.colors.overlayColor};
|
|
@@ -82,27 +82,27 @@ import{V as t,J as K,a9 as he,F as U,cG as ye,aE as ge,cq as be,cr as fe,cs as x
|
|
|
82
82
|
margin-right: ${y.sp2};
|
|
83
83
|
margin-top: 2px;
|
|
84
84
|
align-items: center;
|
|
85
|
-
`,Ue=g(
|
|
85
|
+
`,Ue=g(ze)`
|
|
86
86
|
width: ${y.sp3};
|
|
87
87
|
height: ${y.sp3};
|
|
88
88
|
color: inherit;
|
|
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:
|
|
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=U.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,{international:c}=m,x=k.largeLabelWidth.value(b),z=n?.accountType?.type,T=n?.countryCode==null,E=n?.currencyCode==null,O=["phone","email","other"];return t.jsx(Je,{style:C,children:t.jsxs(Qe,{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(W,{}),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(W,{}),E!==!0&&e==="Completed"?t.jsxs(t.Fragment,{children:[t.jsx(Q,{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(W,{})]}):null,n!=null&&z!=null&&n.dynamicForm[z]!=null&&i.length>0?Object.keys(n.dynamicForm[z]).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:I(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},I(o,"dynamicForm",h,r.name)),t.jsx(W,{})]});case"select":return t.jsxs(t.Fragment,{children:[t.jsx(Q,{isDisabled:void 0,label:{label:r.label+c.colon,width:x},style:{width:"auto"},singleSelectPickerField:{name:I(o,"dynamicForm",h,r.name),placeholder:r.placeholder,defaultValue:{selectedOption:_,allOptions:r.valuesAllowed??[]}}},I(o,"dynamicForm",h,r.name)),t.jsx(W,{})]});case"radio":return t.jsxs(t.Fragment,{children:[t.jsxs(K,{size:b,children:[t.jsx(G,{label:r.label+c.colon,htmlFor:I(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(B=>t.jsx(H,{label:{label:B.label},style:{paddingRight:`${y.sp4}`,width:"auto"},radioField:{name:I(o,"dynamicForm",h,r.name),id:r.name,value:B.value,registerOptions:{required:!0}}},B.value))})]},I(o,"dynamicForm",h,r.name)),t.jsx(W,{})]});default:return null}}else return null}):null,t.jsxs(Ze,{size:b,children:[t.jsxs(K,{size:b,children:[t.jsx(G,{label:c.addSource,htmlFor:A(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: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(W,{})]})})},A=(e,i)=>`${e}.${i}`,I=(e,i,l,f)=>`${e}.${i}.${l}.${f}`,Je=g.div`
|
|
90
90
|
display: flex;
|
|
91
91
|
flex-direction: column;
|
|
92
|
-
`,
|
|
92
|
+
`,Qe=g.div`
|
|
93
93
|
display: flex;
|
|
94
94
|
flex-direction: column;
|
|
95
95
|
background-color: ${e=>e.theme.colors.grey5};
|
|
96
96
|
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
97
97
|
box-shadow: ${e=>`${y.sp0} 2px ${y.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
98
98
|
border-radius: ${y.sp2};
|
|
99
|
-
`,
|
|
99
|
+
`,W=g.div`
|
|
100
100
|
display: flex;
|
|
101
101
|
flex: 1;
|
|
102
102
|
background-color: ${e=>e.theme.colors.grey3};
|
|
103
103
|
min-height: 1px;
|
|
104
104
|
max-height: 1px;
|
|
105
|
-
`,
|
|
105
|
+
`,Ze=g.div`
|
|
106
106
|
display: flex;
|
|
107
107
|
flex-direction: column;
|
|
108
108
|
align-items: flex-start;
|
|
@@ -113,7 +113,7 @@ import{V as t,J as K,a9 as he,F as U,cG as ye,aE as ge,cq as be,cr as fe,cs as x
|
|
|
113
113
|
z-index: 1;
|
|
114
114
|
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
115
115
|
}
|
|
116
|
-
`,
|
|
116
|
+
`,K=g.div`
|
|
117
117
|
display: flex;
|
|
118
118
|
flex-direction: row;
|
|
119
119
|
width: 100%;
|
|
@@ -130,7 +130,7 @@ import{V as t,J as K,a9 as he,F as U,cG as ye,aE as ge,cq as be,cr as fe,cs as x
|
|
|
130
130
|
flex-grow: 1;
|
|
131
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",
|
|
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,z=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=U.getLocalizedStrings().spendManagement.billPay.vendorCreation,_=U.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`,N=d===`${v}.vendorCurrency`;N&&L[v].vendorCurrency.selectedOption!=null&&C(L[v].vendorCurrency.selectedOption,j,i);const pe={...L},me=ie(pe,e,M,N,f);S(me,j,i,N||M)};R.useEffect(()=>{const d=T.watch((L,{name:M})=>{M!=null&&L!=null&&ye(()=>se(M,L))});return()=>{d.unsubscribe()}});const q=R.useCallback(()=>{const d=T.getValues(),L=ie(d,e,!1,!1,f);S(L,j,i,!1),O(!1)},[T,e,f,S,j,i]),de=R.useCallback(()=>{E&&q(),D(n)},[E,q,D,n]),ce=T.handleSubmit(d=>{E&&q(),b()}),ue=!ge(w!=null?Z(w):w,o!=null?Z(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(Ie,{header:B.addInternationalWireDetails,isDirty:ue,onBackClick:$,setShowConfirmationPopup:r}),x?.fetchState==="Error"&&x.error?.code===409?t.jsx(We,{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:z,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,J as K,a9 as he,F as U,cG as ye,aE as ge,cq as be,cr as fe,cs 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:
|
|
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,z=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:z})};export{vt as default};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{V as S}from"./index-Dfs8yBxm.js";import{a as k}from"./sentry-Dje-_Mky.js";import{f as y}from"./InternationalWireSwiftDetailsPage-qzmJ8_r9-C6omI1qL.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./zeni-epic-state-DjuGgMVt.js";import"./mui-BoUXdMXW.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";import"./BankAccountWarningSection-ko9DqAKK-BfybEzCK.js";import"./MailingDetailsSection-q49nDsf9-CpQRrqml.js";import"./LabeledAddressValueField-DYjUauc7-DIfkXNuQ.js";import"./MagicLinkTitleSection-BeTuROc4-BqJ6KNUx.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]="c908e442-e181-44e2-a80d-d563832c3c58",e._sentryDebugIdIdentifier="sentry-dbid-c908e442-e181-44e2-a80d-d563832c3c58")}catch{}})();const F=({vendorViewDetails:e,bankAccountContext:t,isDisabled:d,onSaveHandler:r,onBankDetailsUpdated:i,onBackClick:n,onFetchBankNameBySwift:s,onAddressClick:c})=>{const{internationalBankAccountCreateStatus:o,internationalBankAccountToCreate:f,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(y,{bankAccountToCreate:f,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:c,onFetchBankNameBySwift:s})};export{F as default};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as ie,
|
|
1
|
+
import{J as ie,y as oe,F as te,x as c,gL as w,aW as T,V as i,h$ as g,o as r,hY as f,z as ne,p as re,dB as de,aj as se,u as a}from"./index-Dfs8yBxm.js";import{n as s}from"./mui-BoUXdMXW.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]="304888cb-903b-4e0c-bc05-62fac67dc5df",e._sentryDebugIdIdentifier="sentry-dbid-304888cb-903b-4e0c-bc05-62fac67dc5df")}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},k={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)};
|
|
@@ -17,7 +17,7 @@ import{J as ie,d as oe,F as te,y as c,gK as w,aW as T,V as i,h_ as g,o as r,hX a
|
|
|
17
17
|
border: 1px solid ${e=>e.theme.colors.primary};
|
|
18
18
|
fill: ${e=>e.theme.colors.primary};
|
|
19
19
|
}
|
|
20
|
-
`,
|
|
20
|
+
`,m=s.div`
|
|
21
21
|
display: flex;
|
|
22
22
|
align-items: flex-start;
|
|
23
23
|
flex-direction: row;
|
|
@@ -65,4 +65,4 @@ import{J as ie,d as oe,F as te,y as c,gK as w,aW as T,V as i,h_ as g,o as r,hX 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 he({sectionId:e,vendorAccountMappingSection:u,isAccruedExpensesFeatureEnabled:_,showTitle:L=!0}){const n=ie(),l=oe(),{accruedExpensesAccountHierarchy:B,accruedExpensesAccountList:E,accruedExpensesRecommendations:M,fixedAssetsAccountHierarchy:D,fixedAssetsAccountList:R,fixedAssetsRecommendations:I,prepaidExpensesAccountHierarchy:O,prepaidExpensesAccountList:C,prepaidExpensesRecommendations:P,selectedAccruedExpensesAccountIds:V,selectedFixedAssetsAccountIds:W,selectedPrepaidExpensesAccountIds:F}=u,t=te.getLocalizedStrings().uncategorizedAccountsMapping,p=d.labelWidth.value(n),
|
|
68
|
+
`,z=(e,u)=>`${e}.${u}`;function he({sectionId:e,vendorAccountMappingSection:u,isAccruedExpensesFeatureEnabled:_,showTitle:L=!0}){const n=ie(),l=oe(),{accruedExpensesAccountHierarchy:B,accruedExpensesAccountList:E,accruedExpensesRecommendations:M,fixedAssetsAccountHierarchy:D,fixedAssetsAccountList:R,fixedAssetsRecommendations:I,prepaidExpensesAccountHierarchy:O,prepaidExpensesAccountList:C,prepaidExpensesRecommendations:P,selectedAccruedExpensesAccountIds:V,selectedFixedAssetsAccountIds:W,selectedPrepaidExpensesAccountIds:F}=u,t=te.getLocalizedStrings().uncategorizedAccountsMapping,p=d.labelWidth.value(n),q=w(O,P,"Accounts"),H=w(D,I,"Accounts"),G=w(B,M,"Accounts"),J=P[0]?.account?.reason??"",N=t.tooltip.replace("__based__",J).replace("__account__",t.vendorSection.prepaidExpenseAccount),Y=I[0]?.account?.reason??"",K=t.tooltip.replace("__based__",Y).replace("__account__",t.vendorSection.fixedAssetsAccount),Q=M[0]?.account?.reason??"",U=t.tooltip.replace("__based__",Q).replace("__account__",t.vendorSection.accruedExpensesAccount),X=C.filter(o=>F.includes(o.accountId)??!1),Z=R.filter(o=>W.includes(o.accountId)??!1),ee=E.filter(o=>V.includes(o.accountId)??!1),h={valueContainer:o=>({...o,padding:`2px ${r.sp3}`,overflow:"unset"}),multiValue:o=>({...o,margin:0})},x=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:x,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:X.map(o=>o.qboId).filter(o=>o!=null)},placeholder:t.placeholder.accountPlaceholders,style:{borderBottom:`1px solid ${l.colors.grey3}`,borderBottomLeftRadius:"inherit",borderBottomRightRadius:"inherit"},customStyleConfig:h,tooltip:{text:N,sticky:!1},valueToId:o=>f(o,C)}})})}),i.jsxs(m,{windowSize:n,children:[i.jsx(S,{windowSize:n,iconColor:x,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:h,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:x,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:h,tooltip:{text:U,sticky:!1},valueToId:o=>f(o,E)}})})})]}):null]})]})}export{he as h};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{aR as z,a9 as U,V as r,bT as W,aa as p,
|
|
1
|
+
import{aR as z,a9 as U,V as r,bT as W,aa as p,ad as X,bU as Z,aj as x,bV as B,o as n,F as L,r as E,bW as G,am as O,bX as Y,bY as I,bL as q,p as j,bb as v,bZ as J}from"./index-Dfs8yBxm.js";import{a as c}from"./sentry-Dje-_Mky.js";import{n as t}from"./mui-BoUXdMXW.js";import{bh as K}from"./zeni-epic-state-DjuGgMVt.js";import{A as Q,Z as V}from"./AccountLockedInfoModal-BI8dkiAz-CEREcr8f.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";import"./handshake-BPg58FML-CaQoUCG-.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]="67d8da90-3ba1-4a77-a44f-103c987a5e87",e._sentryDebugIdIdentifier="sentry-dbid-67d8da90-3ba1-4a77-a44f-103c987a5e87")}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,k=30,_=2,re="456px",te="256px",T=6,o=L.getLocalizedStrings().commonSetUp.twoFactorAuthentication,m="otpInputField",Ae=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(k),D=z(e.verifyOtpFetchState),u=U({mode:"all",reValidateMode:"onChange",defaultValues:{[m]:""}}),$=u.watch(m),P=()=>{e.onCancelVerifyDevice()},A=()=>{$.trim().length===T&&e.onVerifyOtp($)},H=o.footerHelperText.replace(/<button_text>/,o.verify);c.useEffect(()=>{D==="In-Progress"&&e.verifyOtpFetchState==="Error"&&(f(!0),N(s=>s+1),u.setValue(m,""))},[D,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 M=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:${V}`,children:V})]}),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(F,{children:r.jsxs($e,{children:[o.codeExpiresIn," ",M(b)]})})}),r.jsx(p,{controller:l===!0,children:r.jsx(F,{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(k))},children:o.resend}),h>0&&r.jsxs(he,{children:[L.getLocalizedStrings().common.in.toLowerCase()," ",h,"s"]})]})}),r.jsxs(ye,{children:[r.jsxs(fe,{children:[r.jsx(E,{label:o.cancel,onClick:P,style:{width:82}}),r.jsx(E,{variant:"primary",label:o.verify,onClick:A,style:{width:82},loading:i,disabled:$.trim().length!==T||l===!0})]}),r.jsx(me,{children:H})]})]})})})]})})},ne=t.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
min-width: ${te};
|
|
@@ -9,10 +9,10 @@ import{aR as z,a9 as U,V as r,bT as W,aa as p,ac as X,bU as Z,ai as x,bV as B,o
|
|
|
9
9
|
`,oe=t(G)`
|
|
10
10
|
color: ${e=>e.theme.colors.primary};
|
|
11
11
|
text-align: center;
|
|
12
|
-
`,ie=t(
|
|
12
|
+
`,ie=t(O)`
|
|
13
13
|
color: ${e=>e.theme.colors.hero};
|
|
14
14
|
text-align: center;
|
|
15
|
-
`,se=t(
|
|
15
|
+
`,se=t(O)`
|
|
16
16
|
color: ${e=>e.theme.colors.primary};
|
|
17
17
|
text-align: center;
|
|
18
18
|
`,le=t.div`
|
|
@@ -109,4 +109,4 @@ import{aR as z,a9 as U,V as r,bT as W,aa as p,ac as X,bU as Z,ai as x,bV as B,o
|
|
|
109
109
|
`,Se=t.a`
|
|
110
110
|
text-decoration: underline;
|
|
111
111
|
color: inherit;
|
|
112
|
-
`;export{
|
|
112
|
+
`;export{Ae as default};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-
|
|
2
|
-
import{J as W,V as f,ao as X,p as Y}from"./index-Dn4fsqrg.js";import{P as _,a as t}from"./sentry-BKz9JNP2.js";import{n as k,k as K}from"./mui-t9zesPMq.js";import{r as Z}from"./core-DTkIP9TV.js";import{ba as y}from"./zeni-epic-state-D4InWuWM.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]="8ed56186-fdf3-439e-b3b6-2f6288d97c07",e._sentryDebugIdIdentifier="sentry-dbid-8ed56186-fdf3-439e-b3b6-2f6288d97c07")}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,q=/\.(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=>q.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-6mE6xEOR.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-CSiX3uCa.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-BZzvu_l6.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-DHDdhtnS.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-D5jt5O9g.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-CZ_HQvRg.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-B7247BHH.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-Chk4J137.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-HlghPMEn.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-CoirdzrN.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?Z.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=K`
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/react-eG3wjELA.js","assets/sentry-Dje-_Mky.js","assets/mixin-BPAPQfSE.js","assets/hls-DifHSkbp.js","assets/react-ClpUcFhc.js","assets/zeni-epic-state-DjuGgMVt.js","assets/core-XvwDdaId.js","assets/index-DfiMoEY6.js","assets/react-BM1bLfCE.js","assets/react-B6Zv-pk5.js","assets/react-D4fY6Hdc.js","assets/react-D2vJQnJN.js","assets/react-BEh8f-x0.js","assets/react-CGUy3-Ee.js","assets/Preview-DH9wlYN4.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{J as W,V as f,ap as X,p as Y}from"./index-Dfs8yBxm.js";import{P as _,a as t}from"./sentry-Dje-_Mky.js";import{n as k,k as K}from"./mui-BoUXdMXW.js";import{r as Z}from"./core-XvwDdaId.js";import{ba as y}from"./zeni-epic-state-DjuGgMVt.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]="f903db24-5273-4131-b864-8e9d741886c6",e._sentryDebugIdIdentifier="sentry-dbid-f903db24-5273-4131-b864-8e9d741886c6")}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,q=/\.(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=>q.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-eG3wjELA.js"),__vite__mapDeps([0,1,2,3])))},{key:"dash",name:"dash.js",canPlay:m.dash,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-ClpUcFhc.js"),__vite__mapDeps([4,1,5,6,2])))},{key:"mux",name:"Mux",canPlay:m.mux,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./index-DfiMoEY6.js"),__vite__mapDeps([7,1,3,2])))},{key:"youtube",name:"YouTube",canPlay:m.youtube,player:t.lazy(()=>y(()=>import("./react-BM1bLfCE.js"),__vite__mapDeps([8,1])))},{key:"vimeo",name:"Vimeo",canPlay:m.vimeo,player:t.lazy(()=>y(()=>import("./react-B6Zv-pk5.js"),__vite__mapDeps([9,1])))},{key:"wistia",name:"Wistia",canPlay:m.wistia,canEnablePIP:()=>!0,player:t.lazy(()=>y(()=>import("./react-D4fY6Hdc.js"),__vite__mapDeps([10,1])))},{key:"spotify",name:"Spotify",canPlay:m.spotify,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-D2vJQnJN.js"),__vite__mapDeps([11,1])))},{key:"twitch",name:"Twitch",canPlay:m.twitch,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-BEh8f-x0.js"),__vite__mapDeps([12,1])))},{key:"tiktok",name:"TikTok",canPlay:m.tiktok,canEnablePIP:()=>!1,player:t.lazy(()=>y(()=>import("./react-CGUy3-Ee.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-DH9wlYN4.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?Z.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=K`
|
|
3
3
|
0% {
|
|
4
4
|
transform: rotate(0deg);
|
|
5
5
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{J as s,V as t,
|
|
1
|
+
import{J as s,V as t,ap as l,ab as a,p as c,o,x as d}from"./index-Dfs8yBxm.js";import{n}from"./mui-BoUXdMXW.js";import{N as f}from"./VideoPlayer-BdIPlzSd-DYXLi2NY.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]="a34c168b-80f5-46f5-8cb9-22d675f7b130",e._sentryDebugIdIdentifier="sentry-dbid-a34c168b-80f5-46f5-8cb9-22d675f7b130")}catch{}})();const r={width:new d(300,770,770),height:new d(195,500,500)},h=n.div`
|
|
2
2
|
position: fixed;
|
|
3
3
|
top: 0;
|
|
4
4
|
left: 0;
|
|
@@ -9,7 +9,7 @@ import{J as s,V as t,ao as l,aQ as a,p as c,o,y as d}from"./index-Dn4fsqrg.js";i
|
|
|
9
9
|
flex-direction: column;
|
|
10
10
|
align-items: center;
|
|
11
11
|
background: ${c.blackColor}CC;
|
|
12
|
-
`,
|
|
12
|
+
`,p=n.div`
|
|
13
13
|
display: flex;
|
|
14
14
|
flex-direction: column;
|
|
15
15
|
justify-content: space-between;
|
|
@@ -24,8 +24,8 @@ import{J as s,V as t,ao as l,aQ as a,p as c,o,y as d}from"./index-Dn4fsqrg.js";i
|
|
|
24
24
|
height: ${e=>r.height.valuePx(e.windowSize)};
|
|
25
25
|
padding: ${o.sp3};
|
|
26
26
|
background: ${e=>e.theme.colors.grey3};
|
|
27
|
-
`,
|
|
27
|
+
`,w=n.div`
|
|
28
28
|
position: relative;
|
|
29
29
|
width: 100%;
|
|
30
30
|
height: 100%;
|
|
31
|
-
`;function y(e){const i=s();return t.jsx(h,{windowSize:i,role:"presentation",children:t.jsx(l,{onClickAway:()=>e.onCancelClick(),children:t.jsx(
|
|
31
|
+
`;function y(e){const i=s();return t.jsx(h,{windowSize:i,role:"presentation",children:t.jsx(l,{onClickAway:()=>e.onCancelClick(),children:t.jsx(p,{windowSize:i,"data-testid":a("video-popup"),children:t.jsx(w,{children:t.jsx(f,{src:e.videoUrl,controls:!0,width:"100%",height:"100%"})})})})})}export{y as C};
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import{J as
|
|
2
|
-
${
|
|
1
|
+
import{J as C,V as s,R as D,Q as j,r as B,w as S,o as n,F as M,x as $,z as E,M as L,a as z,b as P,p as h,m as N,c as T,u,d as A}from"./index-Dfs8yBxm.js";import{n as a}from"./mui-BoUXdMXW.js";import{cG as R}from"./zeni-epic-state-DjuGgMVt.js";import"./sentry-Dje-_Mky.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./recharts-Dx_NgewX.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.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]="d5ebc705-bb57-474c-a324-9720c8c639bf",r._sentryDebugIdIdentifier="sentry-dbid-d5ebc705-bb57-474c-a324-9720c8c639bf")}catch{}})();const e=M.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)},F={title:new E("largeMedium","largeSemiBold")},he=({companyView:r,allUsers:t,onRetryBankAccountConnection:o,onCloseClick:d})=>{const l=C(),I=r!=null?R(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}=_(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}=Q(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}=V(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(O,{children:[s.jsx(q,{windowSize:l,children:s.jsx(H,{children:s.jsxs(W,{windowSize:l,children:[s.jsx(K,{windowSize:l,children:r?.name}),s.jsx(se,{onClick:d})]})})}),s.jsxs(J,{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:{...S.extraSmallMedium.cssObject}}):null]})]})},c))]})]})},_=(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}},Q=(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}},V=(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}},O=a.div`
|
|
3
3
|
display: flex;
|
|
4
4
|
flex-direction: column;
|
|
5
5
|
padding-top: ${n.sp3};
|
|
6
|
-
`,
|
|
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,13 +11,13 @@ import{J as D,V as s,B,G as C,i as j,b as S,o as n,F as M,y as $,H as E,a as L,x
|
|
|
11
11
|
z-index: 1;
|
|
12
12
|
top: ${n.sp0};
|
|
13
13
|
width: 100%;
|
|
14
|
-
`,
|
|
14
|
+
`,H=a.div`
|
|
15
15
|
position: relative;
|
|
16
16
|
`,J=a.div`
|
|
17
17
|
display: flex;
|
|
18
18
|
flex-direction: column;
|
|
19
19
|
margin: ${n.sp3} ${n.sp8} 102px ${n.sp8};
|
|
20
|
-
`,U=a(
|
|
20
|
+
`,U=a(P)`
|
|
21
21
|
color: ${r=>r.theme.colors.primary};
|
|
22
22
|
margin-bottom: ${n.sp3};
|
|
23
23
|
margin-right: ${n.sp6};
|
|
@@ -35,7 +35,7 @@ import{J as D,V as s,B,G as C,i as j,b as S,o as n,F as M,y as $,H as E,a as L,x
|
|
|
35
35
|
padding-bottom: ${r=>w.navBarPaddingBottom.valuePx(r.windowSize)};
|
|
36
36
|
height: 100%;
|
|
37
37
|
`,K=a(L)`
|
|
38
|
-
${r=>`${
|
|
38
|
+
${r=>`${F.title.style(r.windowSize)}`};
|
|
39
39
|
display: flex;
|
|
40
40
|
flex: 1 1 auto;
|
|
41
41
|
color: ${r=>r.theme.colors.primary};
|
|
@@ -74,7 +74,7 @@ import{J as D,V as s,B,G as C,i as j,b as S,o as n,F as M,y as $,H as E,a as L,x
|
|
|
74
74
|
width: ${n.sp4};
|
|
75
75
|
height: ${n.sp4};
|
|
76
76
|
color: ${r=>r.theme.colors.hero};
|
|
77
|
-
`,se=a(
|
|
77
|
+
`,se=a(z)`
|
|
78
78
|
width: ${n.sp4};
|
|
79
79
|
height: ${n.sp4};
|
|
80
80
|
cursor: pointer;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{a9 as Te,J as H,
|
|
1
|
+
import{a9 as Te,J as H,ax as Pe,y as pe,aR as Be,V as t,aP as P,bU as B,o,bD as Le,w as S,cr as O,cs as R,ct as G,ad as Ne,es as He,p as y,ex as Me,ab as C,T as ue,aj as w,F as X,bL as Ee,bP as Ie,aU as Ue,x as b,h1 as We,fl as ae,u,am as q,hB as Oe,b8 as Re,b0 as Ge,hC as Fe,d as Ve,hD as Ye,m as Je,h4 as _e,d7 as Ke,an as Xe,z as qe,cj as Ze}from"./index-Dfs8yBxm.js";import{a as r}from"./sentry-Dje-_Mky.js";import{n as a}from"./mui-BoUXdMXW.js";import{GJ as Qe,bL as F}from"./zeni-epic-state-DjuGgMVt.js";import{$ as et}from"./BoxItem-Qhw9iPt9-CzMCE4d7.js";import{w as tt}from"./downloadPdf-DX8GL4Ja-x4buR44L.js";import{q as ot}from"./DepositAccTransactionItem-DJ_V8Mx7-CDK8mXzb.js";import{T as at}from"./ZeniAccountNavBarPieces-vGgpCYIn-BMTL2XMu.js";import{U as it,F as nt,I as lt,X as rt,Y as ct,J as st,G as dt}from"./recharts-Dx_NgewX.js";import"./liveblocks-DO6Nvzzd.js";import"./core-XvwDdaId.js";import"./lottie-Brfg_siY.js";import"./analytics-DtwjxHiX.js";import"./lexical-Huj_vwAQ.js";import"./utils-CyvMfhu-.js";import"./commonDimensions-D0kIxeo5-RDa02x_3.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},d=new e.Error().stack;d&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[d]="4d6400cb-7980-4523-9b2d-d09ab067dac3",e._sentryDebugIdIdentifier="sentry-dbid-4d6400cb-7980-4523-9b2d-d09ab067dac3")}catch{}})();const pt=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M21.5348 3H2.31522C1.80976 3 1.4 3.44579 1.4 3.99569V19.9353C1.4 20.4852 1.80976 20.931 2.31522 20.931H21.5348C22.0402 20.931 22.45 20.4852 22.45 19.9353V3.99569C22.45 3.44579 22.0402 3 21.5348 3Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 10.8126H19.62",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M16 13.6245H18.28",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.8276 15.9677C13.4452 15.3772 12.177 14.948 10.5892 14.3603C10.1412 14.1934 10.2143 13.0237 10.413 12.8053C10.7291 12.463 10.9691 12.0577 11.1174 11.6161C11.2657 11.1744 11.3189 10.7064 11.2735 10.2428C11.3006 9.95383 11.2662 9.66242 11.1723 9.3878C11.0785 9.11317 10.9275 8.86159 10.7292 8.64967C10.5309 8.43776 10.2899 8.27033 10.0222 8.15847C9.75438 8.04661 9.4659 7.99286 9.1758 8.00076C8.8857 7.99286 8.59723 8.04661 8.32945 8.15847C8.06166 8.27033 7.82067 8.43776 7.6224 8.64967C7.42412 8.86159 7.27309 9.11317 7.17927 9.3878C7.08544 9.66242 7.05098 9.95383 7.07814 10.2428C7.03273 10.7064 7.08592 11.1744 7.23421 11.6161C7.38251 12.0577 7.62255 12.463 7.93858 12.8053C8.13728 13.0237 8.21039 14.1934 7.76237 14.3603C6.17647 14.948 4.90644 15.3772 4.52402 15.9677",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),ut=a.div`
|
|
2
2
|
display: flex;
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100vh;
|
|
@@ -8,12 +8,12 @@ import{a9 as Te,J as H,aw as Pe,d as pe,aR as Be,V as t,aO as P,bU as B,o,bD as
|
|
|
8
8
|
background-color: ${e=>e.theme.colors.grey5};
|
|
9
9
|
box-shadow: ${e=>`${o.sp0} 2px ${o.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
10
10
|
background-color: ${e=>e.theme.colors.grey4};
|
|
11
|
-
`,ie="editNickName-form",V="checkingAccountNickName",ht={tickLabelText:new qe("extraSmallRegular","smallRegular")},h={accountDetailHeaderPaddingRight:new b(u[3],u[8]),accountDetailHeaderPaddingBottom:new b(u[3],u[6]),accountDetailHeaderPaddingLeft:new b(u[3],u[8]),accountDetailContentMarginTop:new b(u[5],u[7]),areaChartHeight:new b(114,209),accountDetailHeaderGap:new b(18,100,184),accBtnsGap:new b(0,u[11]),styledNoTransactionIconSize:new b(60,120)},{common:N,spendManagement:mt}=X.getLocalizedStrings(),{zeniAccounts:i}=mt,Y=X.getLocalizedStrings().dateFormat,xt=X.getLocalizedStrings().peoplePage,ne=e=>t.jsx(_t,{children:e}),he=l.memo(({accountHistory:e})=>{const d=H(),n=pe(),[m,$]=l.useState(),j=l.useMemo(()=>e.accountHistoryWithBalance.map(r=>({...r,date:r.date.toISOString()})),[e.accountHistoryWithBalance]),x=l.useCallback(r=>{let p="",c="";return r&&r[0]&&(c=P("0,0[.]00",r[0].payload?.balance?.available),p=G(r[0].payload?.date).format(Y.visual.DMMMYYYYFormat)),t.jsxs(Yt,{children:[t.jsx(re,{children:p}),t.jsx(re,{isSublabel:!0,children:c})]})},[]),g=l.useCallback(r=>{const{x:p,y:c}=r,{value:v}=r.payload;let A=!1;e.accountHistoryWithBalance.length>360&&(A=!0);const D=A?G(v).format(Y.visual.MMMformat):G(v).format(Y.visual.MMMDFormat);return t.jsx(zt,{translateX:p,translateY:c,children:t.jsx(Nt,{windowSize:d,dy:20,dx:-25,children:D})})},[e.accountHistoryWithBalance.length,d]),k=l.useCallback(({cx:r,cy:p,dataKey:c})=>(c==="balance.available.amount"&&(m?.x!==r||m?.y!==p)&&$({x:r,y:p}),t.jsx(Jt,{cx:r,cy:p,strokeWidth:1,r:u[1]})),[m]),f=l.useMemo(()=>{const r=e.accountHistoryWithBalance.length;return r<=0?0:r>360?Math.floor(r/12):Math.floor(r/7)},[e.accountHistoryWithBalance.length]);return e.fetchState!=="Completed"?null:e.fetchState==="Completed"&&e.accountHistoryWithBalance.length===0?t.jsx(po,{children:t.jsx(uo,{children:N.texts.noData})}):t.jsx(Ut,{children:t.jsx(it,{height:h.areaChartHeight.value(d),width:"99%",children:t.jsxs(nt,{data:j,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Ht,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(It,{offset:"0%",stopColor:y.brandColorJade,stopOpacity:1}),t.jsx(Mt,{offset:"100%",stopColor:y.brandColorJade,stopOpacity:.03})]})}),t.jsx(rt,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(lt,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:r=>g(r),padding:{right:u[4]},interval:f}),t.jsx(ct,{tick:!1,axisLine:!1}),t.jsx(st,{position:m,content:({payload:r})=>x(r),cursor:{strokeDasharray:"3",stroke:y.brandColorJade}}),t.jsx(dt,{activeDot:k,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:y.brandColorJade,fill:"url(#colorUv)"})]})})})});he.displayName="AccountBalanceGraph";const me=l.memo(({zeniAccountDetail:e,getToolTipContent:d,onAccountDetailClick:n,downloadEndPoint:m,authParams:$,showLoader:j,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const f=H(),r=l.useMemo(()=>e.accountHistory,[e.accountHistory]);return t.jsxs(t.Fragment,{children:[t.jsxs(kt,{windowSize:f,children:[t.jsx(gt,{getToolTipContent:d,zeniAccountDetail:e}),t.jsxs(At,{children:[t.jsx(he,{accountHistory:r}),t.jsxs(Et,{windowSize:f,children:[t.jsxs(Ft,{onClick:n,"data-testid":C("view-account-detail-button"),children:[t.jsx(io,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.accDetails}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.accDetails})]}),t.jsxs(Gt,{"data-testid":C("download-bank-verification-letter"),onClick:()=>tt(`${m}/bank-verification-letter`,`${i.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,$,x),children:[j?t.jsx(ue,{size:"Standard",start:!0}):t.jsx(no,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.bankLetter}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.bankLetter})]})]})]})]}),e.transactionList.length>0?t.jsxs(bt,{windowSize:f,children:[t.jsxs(wt,{children:[t.jsx(Zt,{children:i.zeniAccountDetail.transactions}),k?t.jsxs(Qt,{onClick:g,"data-testid":C("view-all-account-transactions"),children:[t.jsx(to,{children:i.zeniAccountDetail.viewAll}),t.jsx(eo,{})]}):null]}),t.jsx(Ct,{children:e.transactionList.map((p,c)=>t.jsx(ot,{data:p,boxType:et(c,e.transactionList.length)},p.id))})]}):t.jsxs(ft,{children:[t.jsx(yt,{windowSize:f}),t.jsx($t,{children:i.zeniAccountDetail.noTransactionText})]})]})});me.displayName="AccountDetailScreen";const zo=({authParams:e,downloadEndPoint:d,zeniAccountDetail:n,isBillPayEnabled:m,isExpressPayEnabled:$,onViewAllTransactionClick:j,onAccountDetailClick:x,handleMoveMoneyOptionSelection:g,onBackClick:k,onCloseAccountClick:f,onEditNameClick:r,onReloadZeniAccountDetailPage:p})=>{const c=Te({mode:"all"}),{setFocus:v}=c,[A,D]=l.useState(!1),[I,M]=l.useState(!1),[Z,xe]=l.useState(!1),Q=H(),ee=Pe(),te=ee.loggedInUserRoleMap.deposit_accounts_user===!0||Qe(ee.loggedInUserRoleMap);l.useEffect(()=>{const s=setTimeout(()=>{n.fetchState==="Completed"&&n.accountDetail?.accountBalance.available.amount===0&&!te&&g("transfer",n.accountDetail)},500);return()=>{clearTimeout(s)}},[n.accountDetail?.id,n.fetchState,te]),l.useEffect(()=>{Z===!0&&setTimeout(()=>{xe(!1)},800)},[Z]);const ge=n.transactionList.length>4,E=pe(),[fe,ye]=l.useState(!1),[$e,U]=l.useState(!1),W=n.accountUpdateStatus.editName.fetchState,oe=Be(W),be=s=>{s==="closeAccount"?D(!0):s==="editNickName"?M(!0):s==="payBill"?U(!0):g(s,n.accountDetail)},we={onOkClick:()=>{f?.(),D(!1)},onCancelClick:()=>{D(!1)}},je={onOkClick:()=>{},onCancelClick:()=>{c.reset(),M(!1)}};l.useEffect(()=>{oe==="In-Progress"&&W==="Completed"&&(M(!1),c.reset())},[oe,W,c]),l.useEffect(()=>{I&&v(V)},[I,v]);const ke={pageName:"detailPage",onOptionSelection:be},Ce=n.accountDetail?.accountName??"",z=n.accountSummary,ve=c.handleSubmit(s=>{r?.(s.checkingAccountNickName)}),De={onOkClick:()=>{g("payBill"),U(!1)},onCancelClick:()=>{U(!1)}},Se=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},Ae=l.useCallback(s=>{let T=null;switch(s){case"insuredBalance":T=t.jsx(t.Fragment,{});break;case"totalInterest":T=t.jsx(so,{children:i.zeniAccountList.yieldTooltip});break;case"totalBalance":T=t.jsxs(lo,{children:[t.jsx(ro,{children:i.zeniAccountList.balanceTooltip.base}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.balance}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.current)})]}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.hold)})]}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.available)})]})]});break}return t.jsx(L,{children:t.jsx(B,{style:{textAlign:"left",padding:o.sp1},maxWidth:Se(s),display:"flex",placement:Q==="small"?"bottom":"top",title:T,children:t.jsx(co,{})})})},[z,Q]),ze=t.jsx(at,{zeniBankProps:ke,isBillPayEnabled:m,isExpressPayEnabled:$});return t.jsxs(jt,{children:[t.jsx(Le,{title:Ce,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:k,showMenuIcon:!1,backgroundColor:E.colors.grey4,style:{zIndex:3,...S.largeSemiBold.cssObject},rightSideComponent:ze,source:"ZeniAccountDetailPage"}),A?t.jsx(O,{titleComponent:t.jsx(F,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(R,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${N.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:we}):null,$e?t.jsx(O,{titleComponent:t.jsx(F,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(R,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:De,secondaryButtonWidth:130,primaryButtonWidth:130}):null,I?t.jsx(O,{titleComponent:t.jsx(F,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(R,{children:i.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:i.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:i.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ie,action:je,containerStyle:{width:"100%"},isLoading:n.accountUpdateStatus.editName.fetchState==="In-Progress",children:t.jsx(Ne,{...c,children:t.jsx("form",{id:ie,onSubmit:ve,style:{height:o.sp8,width:"80%",marginBottom:o.sp5},children:t.jsx(He,{type:"text",name:V,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:Ie(c.formState.errors,V)===!0?y.importantLight:E.colors.background,border:`1px solid ${E.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,n.fetchState==="Completed"?t.jsx(me,{authParams:e,downloadEndPoint:d,getToolTipContent:Ae,onAccountDetailClick:x,onViewAllTransactionClick:j,setShowLoader:ye,showLoader:fe,showViewAllTransactions:ge,zeniAccountDetail:n}):n.fetchState==="Error"?t.jsxs(Tt,{children:[t.jsx(Pt,{onClick:p,"data-testid":C("account-detail-reload"),children:t.jsx(Lt,{})}),t.jsx(Bt,{children:xt.reloadPage.label})]}):t.jsx(ut,{children:t.jsx(ue,{size:"ExtraLarge",start:!0})})]})},gt=({zeniAccountDetail:e,getToolTipContent:d})=>{const n=H(),[m,$]=l.useState(!1),[,j]=We(),[x,g]=l.useState(!1),k=()=>{j(e.accountDetail?.accountNumber??""),g(!0)};return l.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(vt,{children:[t.jsxs(Dt,{children:[t.jsx(Vt,{children:t.jsxs(le,{children:[ne(i.zeniAccountList.totalAvailableBalance),d("totalBalance")]})}),t.jsx(qt,{windowSize:n,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountDetail?.accountBalance.available,integerStyles:S.h2Regular.cssObject,decimalStyles:S.h5Medium.cssObject})}):null}),m?t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.accountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(Xt,{"data-testid":C("hide-account-number"),onClick:()=>{$(!1)}})})}),t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"right",title:x?N.copyToClipBoard.copied:N.copyToClipBoard.copy,enterDelay:600,children:x===!0?t.jsx(ao,{}):t.jsx(oo,{onClick:k,"data-testid":C("copy-account-number")})})})]}):t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.maskedAccountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.show,enterDelay:600,children:t.jsx(Kt,{"data-testid":C("show-account-number"),onClick:()=>{$(!0)}})})})]})]}),t.jsxs(St,{children:[t.jsxs(le,{children:[ne(i.common.totalYieldEarned),d("totalInterest")]}),t.jsxs(Wt,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[t.jsx(ae,{amount:e.accountSummary?.totalInterest.available,integerStyles:S.largeRegular.cssObject,decimalStyles:S.smallRegular.cssObject}),t.jsx(Ot,{}),t.jsx(Rt,{children:`${i.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},ft=a.div`
|
|
11
|
+
`,ie="editNickName-form",V="checkingAccountNickName",ht={tickLabelText:new qe("extraSmallRegular","smallRegular")},h={accountDetailHeaderPaddingRight:new b(u[3],u[8]),accountDetailHeaderPaddingBottom:new b(u[3],u[6]),accountDetailHeaderPaddingLeft:new b(u[3],u[8]),accountDetailContentMarginTop:new b(u[5],u[7]),areaChartHeight:new b(114,209),accountDetailHeaderGap:new b(18,100,184),accBtnsGap:new b(0,u[11]),styledNoTransactionIconSize:new b(60,120)},{common:N,spendManagement:mt}=X.getLocalizedStrings(),{zeniAccounts:i}=mt,Y=X.getLocalizedStrings().dateFormat,xt=X.getLocalizedStrings().peoplePage,ne=e=>t.jsx(_t,{children:e}),he=r.memo(({accountHistory:e})=>{const d=H(),n=pe(),[m,$]=r.useState(),j=r.useMemo(()=>e.accountHistoryWithBalance.map(l=>({...l,date:l.date.toISOString()})),[e.accountHistoryWithBalance]),x=r.useCallback(l=>{let p="",c="";return l&&l[0]&&(c=P("0,0[.]00",l[0].payload?.balance?.available),p=F(l[0].payload?.date).format(Y.visual.DMMMYYYYFormat)),t.jsxs(Yt,{children:[t.jsx(le,{children:p}),t.jsx(le,{isSublabel:!0,children:c})]})},[]),g=r.useCallback(l=>{const{x:p,y:c}=l,{value:v}=l.payload;let A=!1;e.accountHistoryWithBalance.length>360&&(A=!0);const D=A?F(v).format(Y.visual.MMMformat):F(v).format(Y.visual.MMMDFormat);return t.jsx(zt,{translateX:p,translateY:c,children:t.jsx(Nt,{windowSize:d,dy:20,dx:-25,children:D})})},[e.accountHistoryWithBalance.length,d]),k=r.useCallback(({cx:l,cy:p,dataKey:c})=>(c==="balance.available.amount"&&(m?.x!==l||m?.y!==p)&&$({x:l,y:p}),t.jsx(Jt,{cx:l,cy:p,strokeWidth:1,r:u[1]})),[m]),f=r.useMemo(()=>{const l=e.accountHistoryWithBalance.length;return l<=0?0:l>360?Math.floor(l/12):Math.floor(l/7)},[e.accountHistoryWithBalance.length]);return e.fetchState!=="Completed"?null:e.fetchState==="Completed"&&e.accountHistoryWithBalance.length===0?t.jsx(po,{children:t.jsx(uo,{children:N.texts.noData})}):t.jsx(Ut,{children:t.jsx(it,{height:h.areaChartHeight.value(d),width:"99%",children:t.jsxs(nt,{data:j,margin:{top:0,right:0,bottom:0,left:0},children:[t.jsx("defs",{children:t.jsxs(Ht,{id:"colorUv",x1:"0",y1:"0",x2:"0",y2:"1",children:[t.jsx(Mt,{offset:"0%",stopColor:y.brandColorJade,stopOpacity:1}),t.jsx(Et,{offset:"100%",stopColor:y.brandColorJade,stopOpacity:.03})]})}),t.jsx(lt,{vertical:!1,strokeWidth:2,stroke:n.colors.grey3}),t.jsx(rt,{dataKey:"date",stroke:n.colors.grey3,tickSize:0,reversed:!0,tick:l=>g(l),padding:{right:u[4]},interval:f}),t.jsx(ct,{tick:!1,axisLine:!1}),t.jsx(st,{position:m,content:({payload:l})=>x(l),cursor:{strokeDasharray:"3",stroke:y.brandColorJade}}),t.jsx(dt,{activeDot:k,fillOpacity:1,dot:!1,type:"monotone",dataKey:"balance.available.amount",stroke:y.brandColorJade,fill:"url(#colorUv)"})]})})})});he.displayName="AccountBalanceGraph";const me=r.memo(({zeniAccountDetail:e,getToolTipContent:d,onAccountDetailClick:n,downloadEndPoint:m,authParams:$,showLoader:j,setShowLoader:x,onViewAllTransactionClick:g,showViewAllTransactions:k})=>{const f=H(),l=r.useMemo(()=>e.accountHistory,[e.accountHistory]);return t.jsxs(t.Fragment,{children:[t.jsxs(kt,{windowSize:f,children:[t.jsx(gt,{getToolTipContent:d,zeniAccountDetail:e}),t.jsxs(At,{children:[t.jsx(he,{accountHistory:l}),t.jsxs(It,{windowSize:f,children:[t.jsxs(Gt,{onClick:n,"data-testid":C("view-account-detail-button"),children:[t.jsx(io,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.accDetails}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.accDetails})]}),t.jsxs(Ft,{"data-testid":C("download-bank-verification-letter"),onClick:()=>tt(`${m}/bank-verification-letter`,`${i.zeniAccountDetail.bankLetterPdf}${e.accountDetail?.accountLast4}.pdf`,$,x),children:[j?t.jsx(ue,{size:"Standard",start:!0}):t.jsx(no,{}),f==="small"?t.jsx(de,{className:"btnText",children:i.zeniAccountDetail.bankLetter}):t.jsx(se,{className:"btnText",children:i.zeniAccountDetail.bankLetter})]})]})]})]}),e.transactionList.length>0?t.jsxs(bt,{windowSize:f,children:[t.jsxs(wt,{children:[t.jsx(Zt,{children:i.zeniAccountDetail.transactions}),k?t.jsxs(Qt,{onClick:g,"data-testid":C("view-all-account-transactions"),children:[t.jsx(to,{children:i.zeniAccountDetail.viewAll}),t.jsx(eo,{})]}):null]}),t.jsx(Ct,{children:e.transactionList.map((p,c)=>t.jsx(ot,{data:p,boxType:et(c,e.transactionList.length)},p.id))})]}):t.jsxs(ft,{children:[t.jsx(yt,{windowSize:f}),t.jsx($t,{children:i.zeniAccountDetail.noTransactionText})]})]})});me.displayName="AccountDetailScreen";const zo=({authParams:e,downloadEndPoint:d,zeniAccountDetail:n,isBillPayEnabled:m,isExpressPayEnabled:$,onViewAllTransactionClick:j,onAccountDetailClick:x,handleMoveMoneyOptionSelection:g,onBackClick:k,onCloseAccountClick:f,onEditNameClick:l,onReloadZeniAccountDetailPage:p})=>{const c=Te({mode:"all"}),{setFocus:v}=c,[A,D]=r.useState(!1),[M,E]=r.useState(!1),[Z,xe]=r.useState(!1),Q=H(),ee=Pe(),te=ee.loggedInUserRoleMap.deposit_accounts_user===!0||Qe(ee.loggedInUserRoleMap);r.useEffect(()=>{const s=setTimeout(()=>{n.fetchState==="Completed"&&n.accountDetail?.accountBalance.available.amount===0&&!te&&g("transfer",n.accountDetail)},500);return()=>{clearTimeout(s)}},[n.accountDetail?.id,n.fetchState,te]),r.useEffect(()=>{Z===!0&&setTimeout(()=>{xe(!1)},800)},[Z]);const ge=n.transactionList.length>4,I=pe(),[fe,ye]=r.useState(!1),[$e,U]=r.useState(!1),W=n.accountUpdateStatus.editName.fetchState,oe=Be(W),be=s=>{s==="closeAccount"?D(!0):s==="editNickName"?E(!0):s==="payBill"?U(!0):g(s,n.accountDetail)},we={onOkClick:()=>{f?.(),D(!1)},onCancelClick:()=>{D(!1)}},je={onOkClick:()=>{},onCancelClick:()=>{c.reset(),E(!1)}};r.useEffect(()=>{oe==="In-Progress"&&W==="Completed"&&(E(!1),c.reset())},[oe,W,c]),r.useEffect(()=>{M&&v(V)},[M,v]);const ke={pageName:"detailPage",onOptionSelection:be},Ce=n.accountDetail?.accountName??"",z=n.accountSummary,ve=c.handleSubmit(s=>{l?.(s.checkingAccountNickName)}),De={onOkClick:()=>{g("payBill"),U(!1)},onCancelClick:()=>{U(!1)}},Se=s=>{switch(s){case"totalBalance":return"320px";case"insuredBalance":return"320px";case"totalInterest":return"280px";default:return"320px"}},Ae=r.useCallback(s=>{let T=null;switch(s){case"insuredBalance":T=t.jsx(t.Fragment,{});break;case"totalInterest":T=t.jsx(so,{children:i.zeniAccountList.yieldTooltip});break;case"totalBalance":T=t.jsxs(ro,{children:[t.jsx(lo,{children:i.zeniAccountList.balanceTooltip.base}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.balance}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.current)})]}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.processing}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.hold)})]}),t.jsxs(J,{children:[t.jsx(_,{children:i.zeniAccountList.balanceTooltip.available}),t.jsx(K,{children:P("0,0[.]00",z?.totalBalance.available)})]})]});break}return t.jsx(L,{children:t.jsx(B,{style:{textAlign:"left",padding:o.sp1},maxWidth:Se(s),display:"flex",placement:Q==="small"?"bottom":"top",title:T,children:t.jsx(co,{})})})},[z,Q]),ze=t.jsx(at,{zeniBankProps:ke,isBillPayEnabled:m,isExpressPayEnabled:$});return t.jsxs(jt,{children:[t.jsx(Le,{title:Ce,subTitle:n?.accountDetail?.maskedAccountNumber??"",onBackClick:k,showMenuIcon:!1,backgroundColor:I.colors.grey4,style:{zIndex:3,...S.largeSemiBold.cssObject},rightSideComponent:ze,source:"ZeniAccountDetailPage"}),A?t.jsx(O,{titleComponent:t.jsx(G,{children:i.zeniAccountDetail.closeAccountPopUp.title}),descriptionComponent:t.jsx(R,{children:`${i.zeniAccountDetail.closeAccountPopUp.description}${n.accountDetail?.maskedAccountNumber}${N.strings.dot}`}),primaryButtonText:i.zeniAccountDetail.closeAccountPopUp.primaryButtonText,proceedButtonVariant:"danger",secondaryButtonText:i.zeniAccountDetail.closeAccountPopUp.secondaryButtonText,action:we}):null,$e?t.jsx(O,{titleComponent:t.jsx(G,{children:i.zeniAccountList.billPayupPopUpInfo.title}),descriptionComponent:t.jsx(R,{children:i.zeniAccountList.billPayupPopUpInfo.description}),primaryButtonText:i.zeniAccountList.billPayupPopUpInfo.primaryButtonText,secondaryButtonText:i.zeniAccountList.billPayupPopUpInfo.secondaryButtonText,action:De,secondaryButtonWidth:130,primaryButtonWidth:130}):null,M?t.jsx(O,{titleComponent:t.jsx(G,{children:i.zeniAccountDetail.editNamePopUp.title}),descriptionComponent:t.jsx(R,{children:i.zeniAccountDetail.editNamePopUp.description}),primaryButtonText:i.zeniAccountDetail.editNamePopUp.primaryButtonText,secondaryButtonText:i.zeniAccountDetail.editNamePopUp.secondaryButtonText,formId:ie,action:je,containerStyle:{width:"100%"},isLoading:n.accountUpdateStatus.editName.fetchState==="In-Progress",children:t.jsx(Ne,{...c,children:t.jsx("form",{id:ie,onSubmit:ve,style:{height:o.sp8,width:"80%",marginBottom:o.sp5},children:t.jsx(He,{type:"text",name:V,defaultValue:n.accountDetail?.accountName,placeholder:n.accountDetail?.accountName??"",style:{display:"flex",flexGrow:1,cursor:"inherit",height:o.sp7,textAlign:"left",width:"100%",background:Me(c.formState.errors,V)===!0?y.importantLight:I.colors.background,border:`1px solid ${I.colors.background}`},registerOptions:{required:!0,validate:s=>!!s}})})})}):null,n.fetchState==="Completed"?t.jsx(me,{authParams:e,downloadEndPoint:d,getToolTipContent:Ae,onAccountDetailClick:x,onViewAllTransactionClick:j,setShowLoader:ye,showLoader:fe,showViewAllTransactions:ge,zeniAccountDetail:n}):n.fetchState==="Error"?t.jsxs(Tt,{children:[t.jsx(Pt,{onClick:p,"data-testid":C("account-detail-reload"),children:t.jsx(Lt,{})}),t.jsx(Bt,{children:xt.reloadPage.label})]}):t.jsx(ut,{children:t.jsx(ue,{size:"ExtraLarge",start:!0})})]})},gt=({zeniAccountDetail:e,getToolTipContent:d})=>{const n=H(),[m,$]=r.useState(!1),[,j]=We(),[x,g]=r.useState(!1),k=()=>{j(e.accountDetail?.accountNumber??""),g(!0)};return r.useEffect(()=>{x===!0&&setTimeout(()=>{g(!1)},800)},[x]),t.jsxs(vt,{children:[t.jsxs(Dt,{children:[t.jsx(Vt,{children:t.jsxs(re,{children:[ne(i.zeniAccountList.totalAvailableBalance),d("totalBalance")]})}),t.jsx(qt,{windowSize:n,children:e.accountDetail?.accountBalance.available?t.jsx(t.Fragment,{children:t.jsx(ae,{amount:e.accountDetail?.accountBalance.available,integerStyles:S.h2Regular.cssObject,decimalStyles:S.h5Medium.cssObject})}):null}),m?t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.accountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.hide,enterDelay:600,children:t.jsx(Xt,{"data-testid":C("hide-account-number"),onClick:()=>{$(!1)}})})}),t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"right",title:x?N.copyToClipBoard.copied:N.copyToClipBoard.copy,enterDelay:600,children:x===!0?t.jsx(ao,{}):t.jsx(oo,{onClick:k,"data-testid":C("copy-account-number")})})})]}):t.jsxs(ce,{windowSize:n,children:[e.accountDetail?.maskedAccountNumber,t.jsx(L,{children:t.jsx(B,{display:"flex",placement:"top",title:i.zeniAccountDetail.show,enterDelay:600,children:t.jsx(Kt,{"data-testid":C("show-account-number"),onClick:()=>{$(!0)}})})})]})]}),t.jsxs(St,{children:[t.jsxs(re,{children:[ne(i.common.totalYieldEarned),d("totalInterest")]}),t.jsxs(Wt,{style:{display:"flex",flexDirection:"row",alignItems:"center"},children:[t.jsx(ae,{amount:e.accountSummary?.totalInterest.available,integerStyles:S.largeRegular.cssObject,decimalStyles:S.smallRegular.cssObject}),t.jsx(Ot,{}),t.jsx(Rt,{children:`${i.common.currentAverageYield} ${e.accountDetail?.annualPercentageYield}`})]})]})]})},ft=a.div`
|
|
12
12
|
display: flex;
|
|
13
13
|
flex-direction: column;
|
|
14
14
|
align-items: center;
|
|
15
15
|
justify-content: center;
|
|
16
|
-
`,yt=a(
|
|
16
|
+
`,yt=a(Fe)`
|
|
17
17
|
width: ${e=>h.styledNoTransactionIconSize.valuePx(e.windowSize)};
|
|
18
18
|
height: ${e=>h.styledNoTransactionIconSize.valuePx(e.windowSize)};
|
|
19
19
|
margin-top: 128px;
|
|
@@ -92,7 +92,7 @@ import{a9 as Te,J as H,aw as Pe,d as pe,aR as Be,V as t,aO as P,bU as B,o,bD as
|
|
|
92
92
|
`,Bt=a(Ue)`
|
|
93
93
|
margin-top: ${o.sp3};
|
|
94
94
|
color: ${e=>e.theme.colors.hero};
|
|
95
|
-
`,Lt=a(
|
|
95
|
+
`,Lt=a(Ie)`
|
|
96
96
|
height: ${o.sp5};
|
|
97
97
|
width: ${o.sp5};
|
|
98
98
|
margin: ${o.sp5};
|
|
@@ -103,7 +103,7 @@ import{a9 as Te,J as H,aw as Pe,d as pe,aR as Be,V as t,aO as P,bU as B,o,bD as
|
|
|
103
103
|
`,Nt=a.text`
|
|
104
104
|
fill: ${e=>e.theme.colors.hero};
|
|
105
105
|
${e=>`${ht.tickLabelText.style(e.windowSize)}`};
|
|
106
|
-
`,Ht=a.linearGradient``,
|
|
106
|
+
`,Ht=a.linearGradient``,Mt=a.stop``,Et=a.stop``,It=a.div`
|
|
107
107
|
display: flex;
|
|
108
108
|
flex-direction: row;
|
|
109
109
|
gap: ${e=>h.accBtnsGap.valuePx(e.windowSize)};
|
|
@@ -135,7 +135,7 @@ import{a9 as Te,J as H,aw as Pe,d as pe,aR as Be,V as t,aO as P,bU as B,o,bD as
|
|
|
135
135
|
`,Rt=a(Xe)`
|
|
136
136
|
color: ${e=>e.theme.colors.primary};
|
|
137
137
|
margin-top: ${o.sp1};
|
|
138
|
-
`,
|
|
138
|
+
`,Gt=a.div`
|
|
139
139
|
display: flex;
|
|
140
140
|
flex-direction: row;
|
|
141
141
|
align-items: center;
|
|
@@ -150,7 +150,7 @@ import{a9 as Te,J as H,aw as Pe,d as pe,aR as Be,V as t,aO as P,bU as B,o,bD as
|
|
|
150
150
|
}
|
|
151
151
|
}
|
|
152
152
|
margin-left: ${o.sp3};
|
|
153
|
-
`,
|
|
153
|
+
`,Ft=a.div`
|
|
154
154
|
display: flex;
|
|
155
155
|
flex-direction: row;
|
|
156
156
|
align-items: center;
|
|
@@ -183,9 +183,9 @@ import{a9 as Te,J as H,aw as Pe,d as pe,aR as Be,V as t,aO as P,bU as B,o,bD as
|
|
|
183
183
|
`,Jt=a.circle`
|
|
184
184
|
stroke: ${e=>e.theme.colors.brandColorJade};
|
|
185
185
|
fill: ${e=>e.theme.colors.grey5};
|
|
186
|
-
`,
|
|
186
|
+
`,le=a(w)`
|
|
187
187
|
color: ${e=>e.isSublabel===!0?y.neutralGrey1Light:y.brandColorPearl};
|
|
188
|
-
`,
|
|
188
|
+
`,re=a.div`
|
|
189
189
|
display: flex;
|
|
190
190
|
gap: ${o.sp1};
|
|
191
191
|
`,_t=a(w)`
|
|
@@ -231,7 +231,7 @@ import{a9 as Te,J as H,aw as Pe,d as pe,aR as Be,V as t,aO as P,bU as B,o,bD as
|
|
|
231
231
|
color: ${e=>e.theme.colors.primary};
|
|
232
232
|
}
|
|
233
233
|
}
|
|
234
|
-
`,eo=a(
|
|
234
|
+
`,eo=a(Ge)`
|
|
235
235
|
width: ${o.sp3};
|
|
236
236
|
height: ${o.sp3};
|
|
237
237
|
color: ${e=>e.theme.colors.grey1};
|
|
@@ -266,10 +266,10 @@ import{a9 as Te,J as H,aw as Pe,d as pe,aR as Be,V as t,aO as P,bU as B,o,bD as
|
|
|
266
266
|
width: ${o.sp4};
|
|
267
267
|
min-width: ${o.sp4};
|
|
268
268
|
height: ${o.sp4};
|
|
269
|
-
`,
|
|
269
|
+
`,lo=a(w)`
|
|
270
270
|
margin-bottom: ${o.sp2};
|
|
271
271
|
display: flex;
|
|
272
|
-
`,
|
|
272
|
+
`,ro=a(w)`
|
|
273
273
|
padding: 12px ${o.sp3};
|
|
274
274
|
color: ${e=>e.theme.colors.hero};
|
|
275
275
|
border-radius: ${o.sp1};
|
|
@@ -282,7 +282,7 @@ import{a9 as Te,J as H,aw as Pe,d as pe,aR as Be,V as t,aO as P,bU as B,o,bD as
|
|
|
282
282
|
color: ${e=>e.theme.colors.hero};
|
|
283
283
|
`,K=a.div`
|
|
284
284
|
color: ${y.primaryDark};
|
|
285
|
-
`,co=a(
|
|
285
|
+
`,co=a(Ee)`
|
|
286
286
|
width: ${o.sp3};
|
|
287
287
|
height: ${o.sp3};
|
|
288
288
|
color: ${e=>e.theme.colors.hero};
|