@zeniai/web-cockpit-ui 1.15.68-prod → 2.0.0-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/Preview-C3kztGrG.js +1 -0
- package/dist/assets/ScreenRoutes-5hC3wQD-.js +179 -0
- package/dist/assets/SignInScreen-Bw3kDJOY.js +1 -0
- package/dist/assets/{analytics-D0xbCiOA.js → analytics-Ci62SVC6.js} +15 -15
- package/dist/assets/analyticsHelper-DvZ4fRLz.js +1 -0
- package/dist/assets/{core-VVne9A9m.js → core-CrJ0HRkP.js} +2 -2
- package/dist/assets/{dash.all.min-CZdKQs3q.js → dash.all.min-BC3O3eK3.js} +1 -1
- package/dist/assets/{empty-BxIsRmiL.js → empty-DCdjTxMk.js} +1 -1
- package/dist/assets/{index-CW-pqTwR.js → empty-DewRN75u.js} +1 -1
- package/dist/assets/epic-ButtTfPO.js +2 -0
- package/dist/assets/{index-D0xGm0tM.js → index-BHVDlT_9.js} +1 -1
- package/dist/assets/{index-0sfOIAIW.js → index-BIzFhK6B.js} +1 -1
- package/dist/assets/index-BnSSVzJm.js +1 -0
- package/dist/assets/index-C1011MmK.js +2 -0
- package/dist/assets/index-CS2xkLsB.js +1 -0
- package/dist/assets/index-DrEiJ4Wx.js +1 -0
- package/dist/assets/index-Obh2uEoj.js +75311 -0
- package/dist/assets/{lexical-0vG0lfLn.js → lexical-Y1MbDrft.js} +1 -1
- package/dist/assets/{liveblocks-abv8TgYe.js → liveblocks-CH5Ytl_r.js} +1 -1
- package/dist/assets/{lottie-DehW2chz.js → lottie-jJKhsKLZ.js} +2 -2
- package/dist/assets/{mui-DOS4CfBc.js → mui-DzLLS9Rs.js} +2 -2
- package/dist/assets/{react-C3bwNlEv.js → react-9Kj1B1wt.js} +2 -2
- package/dist/assets/{react-0muarBdd.js → react-BLe964tg.js} +3 -3
- package/dist/assets/{react-DGIuy5RW.js → react-CNU9DWBw.js} +1 -1
- package/dist/assets/{react-DGupjeTm.js → react-C_qk_SxL.js} +2 -2
- package/dist/assets/{react-BX1V71Rc.js → react-CdND5srH.js} +2 -2
- package/dist/assets/{react-BKlbvdVi.js → react-D1VJKwtS.js} +2 -2
- package/dist/assets/{react-BQ6Phht1.js → react-D1lzTawy.js} +2 -2
- package/dist/assets/{react-Bf7WBvpI.js → react-DRO7qhGA.js} +4 -4
- package/dist/assets/{recharts-BBlqu8Rz.js → recharts-DE-kxplH.js} +25 -25
- package/dist/assets/{sentry-DBhcw6Be.js → sentry-SNkBC2Al.js} +2 -2
- package/dist/assets/{url-CSfgHOtI.js → url-C9VCVVAZ.js} +1 -1
- package/dist/assets/url-h1qG-NI4.js +1 -0
- package/dist/assets/{utils-DT6Wq-eT.js → utils-CpsqBQqv.js} +1 -1
- package/dist/assets/zeni-epic-state-B7yJI5lR.js +14 -0
- package/dist/index.html +1 -1
- package/package.json +4 -4
- package/dist/assets/ACHDetailsPage-B5qIuZya-DM7YY1FB.js +0 -21
- package/dist/assets/AIPerformancePage-BHB45mP--CWndWSdC.js +0 -539
- package/dist/assets/AccountInfoPage-Cd5xYT1g-BbefpV-7.js +0 -18
- package/dist/assets/AccountInfoPageContent-CJ7ycVIK-5M9LxJhG.js +0 -149
- package/dist/assets/AccountLockedInfoModal-Dox7IuAX-BMD0s6gP.js +0 -59
- package/dist/assets/AccountReconDetailsDrawerPage-Bqty08m0-B-ibKIL7.js +0 -239
- package/dist/assets/AccountRow-D1cjRJJD-brXv0bxV.js +0 -298
- package/dist/assets/AccountsPromoCardStack-Bs3naJHM-CnqFEGey.js +0 -207
- package/dist/assets/AddAddressForCardDrawer-DZkBMJfp-C4r6mehv.js +0 -6
- package/dist/assets/AddToWalletPage-CyRfqVDB-BdTdHS85.js +0 -344
- package/dist/assets/AgingReportsPage-xBFff3BM-ky-EAGcf.js +0 -79
- package/dist/assets/AllUserItems-BJf6WPDo-Deh60Xs6.js +0 -192
- package/dist/assets/ApAgingDetailPage-CjBrPyi8-Drme0iaF.js +0 -46
- package/dist/assets/AppBasePage-CqDm-hnV-gy7t8mSc.js +0 -71
- package/dist/assets/AppDrawerContent-CVVWj66i-CgQm4R5E.js +0 -92
- package/dist/assets/ApprovalRulesSettingsPage-Cckd2uVA-CdSeUeuR.js +0 -47
- package/dist/assets/ArAgingChart-CBsqOd-4-CM7YnEql.js +0 -24
- package/dist/assets/ArAgingDetailPage-i7JObt60-DiaDa_kU.js +0 -46
- package/dist/assets/AttachmentView-CzC4skJ3-DSp7S_ow.js +0 -101
- package/dist/assets/BalancesInsightWithToolTip-B6umvmgL-B0jviFnz.js +0 -38
- package/dist/assets/BankAccountSection-Di4sF52j-CjUG2k4c.js +0 -79
- package/dist/assets/BankAccountWarningSection-Cled-2cR-DDIv4R5M.js +0 -51
- package/dist/assets/BankConnectionsSettingsPage-Ccnzq7st-BhXmaxPm.js +0 -425
- package/dist/assets/BillDetailPage-XXOwBfO1-DxWLoxsB.js +0 -266
- package/dist/assets/BillPayApprovalRuleDetailPage-DFZ0csaT-D62XtRWM.js +0 -27
- package/dist/assets/BillPayApprovalRulesPage-COCypDcS-CxH1-1ro.js +0 -241
- package/dist/assets/BillPayPromoPage-DOE2YIqC-BRNhZmcV.js +0 -84
- package/dist/assets/BillPaySetUpPage-BCJbZDsV-EdWAn7sO.js +0 -42
- package/dist/assets/BillingSettingsPage-iImtlEmO-oLToelCa.js +0 -44
- package/dist/assets/BillsBulkReviewDrawerPage-B11GWM_0-BmGfxE4w.js +0 -1
- package/dist/assets/BoxItem-Bxa1M4QU-CY-vorJI.js +0 -53
- package/dist/assets/BusinessVerificationPage-DSuJFoW1-Xi-gZLue.js +0 -138
- package/dist/assets/CardNumberSubText-_ZZbaz_k-BDqMr1hm.js +0 -21
- package/dist/assets/CashbackDetailPage-DAZXitLt-kEgVWuyi.js +0 -285
- package/dist/assets/ChargeCardDetailPage-B1VIpASk-BGlRije7.js +0 -1467
- package/dist/assets/ChargeCardListPage-BOBepN-x-DtybfgKA.js +0 -412
- package/dist/assets/ChargeCardListTable-YznzSsJo-DoULf2wO.js +0 -711
- package/dist/assets/ChargeCardPaymentHistoryPage--jOwsMla-Bzj0wTwy.js +0 -565
- package/dist/assets/ChargeCardPromoPage-DIfakIOK-BNvT1cxv.js +0 -222
- package/dist/assets/ChargeCardSetupPage-0bpVkeJs-Bkuwwfuy.js +0 -36
- package/dist/assets/ChargeCardStatementsPage-ChWyQlw6-CbdQ3AHt.js +0 -60
- package/dist/assets/CheckDepositDrawerPage-BS7hnyZn-kNVwtOWy.js +0 -206
- package/dist/assets/CollapsableReportTable-DNfFkAts-cgYLh83Q.js +0 -2982
- package/dist/assets/CompanyOfficerDetailsSection-CrOIN4IW-B9X3JGYF.js +0 -331
- package/dist/assets/CompanyPassportCard-CkzYFTrp-BcZUZqNN.js +0 -42
- package/dist/assets/CompanyPassportPage-FE6yli6h-DWhiSjrR.js +0 -417
- package/dist/assets/CompleteProfile-Cb8i1XgZ-BP6okX49.js +0 -52
- package/dist/assets/ConfettiBurst-BZCXEGYA-ho8ERS31.js +0 -1
- package/dist/assets/ConstrainedInnerElement-CgdnMeoA-Cv85URYx.js +0 -5
- package/dist/assets/CreateOrEditVendorPage-CzpSgxbO-2ilw068v.js +0 -281
- package/dist/assets/CreditCardPaymentDrawerPage-c_q0MsSO-CoTzu5XT.js +0 -227
- package/dist/assets/CurrencySelectField-BAh7SHrG-CBSRpu74.js +0 -139
- package/dist/assets/CustomerOnboardingActivationPage-f3Aa6E5r-DcPBpEPv.js +0 -88
- package/dist/assets/CustomerOnboardingContainerPage-CWAtSu08-DAhlgLSo.js +0 -1
- package/dist/assets/CustomerOnboardingDetailPageSkeleton-DYuiWn8s-DBRyrBpA.js +0 -162
- package/dist/assets/CustomerOnboardingNoStepsPage-Bh_F0-oC-ui07nfsA.js +0 -66
- package/dist/assets/CustomerOnboardingPage-B9hSO88_-BFSPGucc.js +0 -107
- package/dist/assets/CustomerOnboardingProductSuitePage-CG0HKCpQ-CTl3yjRz.js +0 -202
- package/dist/assets/Dashboard-BJ_oIHab-nrsDE6qS.js +0 -1611
- package/dist/assets/DashboardReportPage-BemzMw2e-D89HJr4G.js +0 -371
- package/dist/assets/DashboardSidebarBackgroundAnimation-BtA5oEGG-Dlhefpu7.js +0 -12
- package/dist/assets/DepositAccTransactionItem-CyFi1P_L-BDRqwizb.js +0 -76
- package/dist/assets/DepositAccTransactionListPage-DvBRRUdZ-DIdaGFeH.js +0 -66
- package/dist/assets/DomesticWireDetailsPage-DCDo3aHI-kEBCfOTM.js +0 -21
- package/dist/assets/DownloadOverlay-D_lL1sPW-xWfuT0Vo.js +0 -439
- package/dist/assets/DrawerPage-DesxXhZk-CRre4dYu.js +0 -118
- package/dist/assets/EditPeoplePage-QvPy_Six-DH4hfGb_.js +0 -55
- package/dist/assets/EditReimbursementDetailPage-C0ZDkboO-DXyrjaYc.js +0 -865
- package/dist/assets/EntityDetailPage-l7nXIsyF-5oCAhXWK.js +0 -18
- package/dist/assets/EntitySummarySection-BwX0a4JL-zcla-D8w.js +0 -151
- package/dist/assets/ExpenseAutomationOverviewPage-EdyHjbff-MnqvBISM.js +0 -281
- package/dist/assets/ExpenseAutomationPage-DA22Qofw-D083tvHO.js +0 -3001
- package/dist/assets/ExpressPayPage-EMP6inpX-3XG4gLSI.js +0 -168
- package/dist/assets/FeaturePreviewPage-SYJm-3aR-DqyedTbe.js +0 -11
- package/dist/assets/FollowStepsSection-BxESVqJD-Cg2jHWRs.js +0 -390
- package/dist/assets/GlobalReviewListPage-D5_ACa-q-D3OrFPtp.js +0 -291
- package/dist/assets/InformationCardStack-B_qQUEYD-DttLY3HS.js +0 -31
- package/dist/assets/InsightsCardStack-BsQzoVzj-Dk9dJ9p5.js +0 -79
- package/dist/assets/InsightsSection-B6CNlTNH-BdZRn5zX.js +0 -27
- package/dist/assets/IntegrationsSettingsPage-DP6fAccq-LBB3bZYV.js +0 -57
- package/dist/assets/InternationalWireSwiftDetailsPage-VdG7bDZi-CfZjD-fy.js +0 -171
- package/dist/assets/InternationalWireVerificationPage-COC6lZml-DC50drx7.js +0 -65
- package/dist/assets/InviteFormPage-DN02jRy5-Buy4T1zp.js +0 -312
- package/dist/assets/InvitePageListView-CP4K9tJi-CHkbuC7f.js +0 -739
- package/dist/assets/InvitePeoplePage-VTM6kM1u-CU4p_G8a.js +0 -12
- package/dist/assets/InvoiceUploadSection-it-ZYl1N-XsZhHn3v.js +0 -140
- package/dist/assets/IssueChargeCardPage-CVfuvGey-C6KQpSo7.js +0 -532
- package/dist/assets/LabeledAddressValue-DDrQcHIE-hP7vwQBZ.js +0 -49
- package/dist/assets/LabeledAddressValueField-BgWwd5Gw-DFe8vIUL.js +0 -45
- package/dist/assets/LabeledControlledCheckBoxField-CcPO1k23-CU-iLMSG.js +0 -16
- package/dist/assets/LabeledCountryMultiSelectField-BYYjzwUG-DXWiTuV-.js +0 -237
- package/dist/assets/LabeledCreatableSingleSelectField-CISYMojq-DqRsgtUm.js +0 -208
- package/dist/assets/LabeledDocumentField-C_bcFxdY-DJ7-SOXf.js +0 -41
- package/dist/assets/LabeledDropDownFormattedTextField-ScGGCap8-mVsgmCkO.js +0 -59
- package/dist/assets/LabeledText-C8Y7EOsX-DEEaYkeb.js +0 -42
- package/dist/assets/LabeledUserSingleSelectWithSubtitlesField-C8JxAcOT-D4KRCLOC.js +0 -229
- package/dist/assets/LabeledZeniRolesDropDownField-BZtreVpj-D7w5kOCp.js +0 -297
- package/dist/assets/LinkJETransactionPage-CKq4oiX9-ltE4XV_6.js +0 -98
- package/dist/assets/LockCardPage-CZENNby7-BsVSJBxy.js +0 -623
- package/dist/assets/LowBalancePopup-1727S1ri-Ch0sQQf3.js +0 -34
- package/dist/assets/MagicLinkACHDetailsPage-BSOlSfNu--EXqRjnH.js +0 -1
- package/dist/assets/MagicLinkDomesticWireDetailsPage-D1DTPo0E-DyDKS580.js +0 -1
- package/dist/assets/MagicLinkInternationalWireDetailsPage-D_wo_2nm-BwOG2bc6.js +0 -1
- package/dist/assets/MagicLinkSuccessPage-QMkZgQLG-BLATYjDj.js +0 -31
- package/dist/assets/MagicLinkTitleSection-CARU1oLQ-B0cyw7Mk.js +0 -17
- package/dist/assets/MailingDetailsSection-ByOPaJ05-DHEttRbi.js +0 -21
- package/dist/assets/MyBankConnectionsSettingsPage-BdgIIhL1-Dxh6kCPM.js +0 -110
- package/dist/assets/MyPendingActivationChargeCardListPage-CX38bDdq-ClsHkhfI.js +0 -6
- package/dist/assets/MyProfileSettingsPage-DYu0Fx6I-CkZmnWdK.js +0 -85
- package/dist/assets/NavBarWithPicker-CGGEvLwe-DZ7VBJBK.js +0 -30
- package/dist/assets/NavigationArrow-CTNkKUtV-DwVtEjKU.js +0 -47
- package/dist/assets/NavigationDots-Dvce3gHt-BhNbY-Jn.js +0 -15
- package/dist/assets/NewGlobalMerchantPage-D_f7z47T-CFtXtRiH.js +0 -160
- package/dist/assets/NoDataChart-CrKeqWSr-DnRwd0s-.js +0 -26
- package/dist/assets/NoDataTable-4vPXmPYF-0AXx0isj.js +0 -8
- package/dist/assets/NotFoundPage-BLWPU1wU-DmwpjiFz.js +0 -46
- package/dist/assets/NotificationSettingsPage-CDiDLX3A-9UeXvRF4.js +0 -163
- package/dist/assets/NotificationsListConfig-B5pDa4cJ-CViBSk1u.js +0 -1
- package/dist/assets/NotificationsPage-Ccl7Dny1-DO1DVf8y.js +0 -685
- package/dist/assets/OpExByVendorPage-spd-nKV4-BYZguWNQ.js +0 -100
- package/dist/assets/OverlayContainerPage-BG9y5C0t-XSUpPkb1.js +0 -11
- package/dist/assets/PandLWithForecastPage-TSoe4Z7F-DADbKlaU.js +0 -123
- package/dist/assets/PaymentAccountSetupBillingAddressSection-9ma8SpIa-DnLcaoHi.js +0 -107
- package/dist/assets/PeoplePage-b5_I0qOw-DREebsk9.js +0 -727
- package/dist/assets/Preview-DkS-Ppwi.js +0 -1
- package/dist/assets/ProductsCarousel-C3M0ocdF-CqKUYrUp.js +0 -142
- package/dist/assets/PromoBaseCards-BOGJI2ws-HYGeFCqU.js +0 -218
- package/dist/assets/QBOConnectionDialog-CmpnnuzP-5mKGNZm7.js +0 -51
- package/dist/assets/QBOSetupSection-DjnN9dgv-D9sOi7j3.js +0 -79
- package/dist/assets/ReimbursementApprovalRuleDetailPage-D5NXjrO9-CSFmXSBt.js +0 -32
- package/dist/assets/ReimbursementApprovalRulesPage-BsCTIqUJ-BciPnq07.js +0 -243
- package/dist/assets/ReimbursementDetailPage-BbyxE2uL-CCn1M_IM.js +0 -314
- package/dist/assets/ReimbursementPromoPage-CyEgwqcf-QZKK6RXF.js +0 -84
- package/dist/assets/ReimbursementSetUpPage-RETPkEQd-7RlERPSK.js +0 -140
- package/dist/assets/ReimbursementsBulkReviewDrawerPage-DnmYl0FM-B6Bppczb.js +0 -1
- package/dist/assets/ReloadCard-Bdoo0XiI-BkT_TrPt.js +0 -26
- package/dist/assets/ReportTableViewSelector-Bc1K7mU_-BcXnhDrl.js +0 -151
- package/dist/assets/ReportsPage-BOTHMLWh-C7yXcceR.js +0 -269
- package/dist/assets/RevenueChart-DvyZ3aO7-ln4Xbq3A.js +0 -280
- package/dist/assets/ReviewDetailsPage-BIMg1n2e-DlA-53yQ.js +0 -290
- package/dist/assets/ReviewOverlay-CxwoiOLC-DmcvjVCl.js +0 -152
- package/dist/assets/RoleWithToolTip-Ct3_VuDM-BKP6CsTd.js +0 -22
- package/dist/assets/ScheduleDetailsFixedAssetsPage-DiL5Dozk-DCavU86U.js +0 -37
- package/dist/assets/ScheduleDetailsPage-5FWpLRtd-CO7mo75a.js +0 -37
- package/dist/assets/ScheduleSequenceTable-R3-PsXES-i-4DMkvc.js +0 -326
- package/dist/assets/ScreenRoutes-D-ddKpF8.js +0 -179
- package/dist/assets/SetUpAccountSection-CctbMmoK-ZyErAiPF.js +0 -378
- package/dist/assets/SignIn-CmgmnRm4-DBoFBrvr.js +0 -491
- package/dist/assets/SignInScreen-DCSGviBr.js +0 -1
- package/dist/assets/SpendManagementListViewPage-CFUxCqkU-dAFL_Ppz.js +0 -134
- package/dist/assets/SpendManagementPerTabPage-C-kqNTci-Udt5CTX9.js +0 -754
- package/dist/assets/SpendManagementSection-CIz4nE_w-0q2VpGOz.js +0 -246
- package/dist/assets/StatementItem-vVtoBN2w-CiKnbbLX.js +0 -31
- package/dist/assets/StatementsPage-As5WOnMR-D0_TDe23.js +0 -58
- package/dist/assets/StatusSwitcher-Bv-ozN6U-Uu-9K_ZT.js +0 -120
- package/dist/assets/SubTabSwitcher-D7QeM6nb-Cvhnug-S.js +0 -58
- package/dist/assets/SummaryCard-C2qoTsAY-AZ17zAeW.js +0 -1
- package/dist/assets/TaskManagementPage-BJwp32Ph-DTb1_fWh.js +0 -508
- package/dist/assets/TimeRangeSwitcher-D00bDDhP-DMLJ4CgT.js +0 -64
- package/dist/assets/TimeframeSwitcher-DA99HdHt-B7dPmR3A.js +0 -31
- package/dist/assets/TimeframeSwitcherWithToggle-DyggDIQj-BDMDYsLj.js +0 -53
- package/dist/assets/TopExCard-Z1WabZ8c-D9ahLOhN.js +0 -38
- package/dist/assets/TopExDetailPage-CzHG4f9E-DSsiHUw6.js +0 -132
- package/dist/assets/TransactionActivityLogPage-CGKnjNfU-DFi44yxk.js +0 -195
- package/dist/assets/TransactionDetailPage-1-mLOWSz-NZ0pEK8W.js +0 -903
- package/dist/assets/TransactionList-BB-xoIGm-CmL2sv-k.js +0 -153
- package/dist/assets/TransactionListBig-C5Sf5Xh--DUDOs_q9.js +0 -284
- package/dist/assets/TransactionListPage-Cj7h1Ros-BpKazEVH.js +0 -35
- package/dist/assets/TransactionVendorDetailPage-SsrSOk3O-BLmQC0O2.js +0 -80
- package/dist/assets/TransferDrawerPage-BvKZ7vHF-BDZmQek2.js +0 -362
- package/dist/assets/TreasuryOverviewPage-DwvjMR4_-BGYjEWMJ.js +0 -725
- package/dist/assets/TreasuryPromoPage-CtTFvSQW-B3Bvdh6x.js +0 -505
- package/dist/assets/TreasuryStatementsPage-Catz8shX-X_IYs6qa.js +0 -58
- package/dist/assets/TreasuryTaxLetterPage-D8hzCL5o-Da9lGvIi.js +0 -58
- package/dist/assets/TrendChart-Bnp4Pcdf-CJF7dKdP.js +0 -16
- package/dist/assets/TrendWithTransactions-3D1FvM8G-TXKeFcvZ.js +0 -116
- package/dist/assets/UncategorizedAccountsMappingPage-DbyY-dYB-D1dmyVJ4.js +0 -244
- package/dist/assets/UnitIntegrationPage-CTzme1te-CbgSnbxZ.js +0 -67
- package/dist/assets/UploadAdditionalDocumentOverlay-Wl4Spdpn-PlCykjL7.js +0 -38
- package/dist/assets/Vendor2FAPopup-D0zYKkIv-aIJ1NUXW.js +0 -1
- package/dist/assets/VendorACHDetailsPage-YYX9aQdw-D-OOHJou.js +0 -1
- package/dist/assets/VendorDetailPage-Br9wIOnI-De2XcUb6.js +0 -257
- package/dist/assets/VendorDomesticWireDetailsPage-BpPgQRHI-BdL3didN.js +0 -1
- package/dist/assets/VendorFiling1099EditablePage-himC7iD3-C2XAIK9H.js +0 -175
- package/dist/assets/VendorFirstReviewPage-BbknTCBD-DDAQwDZy.js +0 -730
- package/dist/assets/VendorInternationalWireDetailsPage-CS595Xgc-C3mHhbHk.js +0 -152
- package/dist/assets/VendorInternationalWireSwiftDetailsPage-yhTjWXvw-C2v0qs8u.js +0 -1
- package/dist/assets/VendorsAccountsSection-CgSJu8wq-Ctj2nPMI.js +0 -68
- package/dist/assets/VerifyDevice-Dvf0JsNN-PRfKusRx.js +0 -112
- package/dist/assets/VideoPlayer-VAzOGCDL-6U91k2_g.js +0 -78
- package/dist/assets/VideoPopup-BqvZ-XIh-nZFpm96A.js +0 -31
- package/dist/assets/WarningsDrawerPage-DeNonoNp-Cer8JJKy.js +0 -92
- package/dist/assets/ZeniAccountDetailPage-GcwTJdB8-BghGtTMM.js +0 -300
- package/dist/assets/ZeniAccountListViewPage-CdwO0Duy-D-GLBesW.js +0 -443
- package/dist/assets/ZeniAccountNavBarPieces-BrSIfL36-2vSHgl5n.js +0 -33
- package/dist/assets/ZeniAccountPromoPage-JrcedQYB-DxQZiNCa.js +0 -184
- package/dist/assets/ZeniAccountSetupPage-TKBfbgzJ-CCXkWEma.js +0 -36
- package/dist/assets/ZeniCopyright-DglqrTpl-B_6mXo3q.js +0 -1
- package/dist/assets/ZeniTransferAmountSlider-BcaZZuAw-Dri2Vqf1.js +0 -63
- package/dist/assets/add-to-wallet-DgdBD8_G-2lJ5O5xD.js +0 -1
- package/dist/assets/agingReportHelper-ovKP-qSS-Cx4Hdid-.js +0 -1
- package/dist/assets/analyticsHelper-B3H0U8CW.js +0 -1
- package/dist/assets/analyticsHelper-CAYdbjhS-Bgy1SJeR.js +0 -1
- package/dist/assets/arrow-south-east-round-PEovUgvH-CH2rCMd8.js +0 -1
- package/dist/assets/auto-transfer-rule-mbafm5D3-Bwf-jWRn.js +0 -1
- package/dist/assets/chartTypes-CD3vrBsI-CxjFANZl.js +0 -1
- package/dist/assets/commonDimensions-Oz1tdAcx-C8J13a8y.js +0 -1
- package/dist/assets/commonTypes-5tEXwrX4-DThfJWJu.js +0 -1
- package/dist/assets/constants-B4Nwm03n.js +0 -1
- package/dist/assets/downloadPdf-Dsuxeias-IRIi2izs.js +0 -1
- package/dist/assets/empty-B6p9RErG.js +0 -1
- package/dist/assets/epic-CPlQ2CFE.js +0 -2
- package/dist/assets/getReferrerType-DjPOy76W-DRP5VHem.js +0 -1
- package/dist/assets/gift-box-Cmt9OgIZ-CmAMj3r2.js +0 -1
- package/dist/assets/graphic-no-data-l-DU4J8fDt-Db5RbWJE.js +0 -1
- package/dist/assets/graphic-no-data-net-burn-l-CzmycA0m-BEpZ9Tqr.js +0 -1
- package/dist/assets/handshake-BPg58FML-6UbFX0a-.js +0 -1
- package/dist/assets/helper-Ckm10Uko-DCD3fpXN.js +0 -223
- package/dist/assets/index-BYqTlB4Y.js +0 -39
- package/dist/assets/index-BZNcKYJW.js +0 -1
- package/dist/assets/index-C8o-xzAN.js +0 -29875
- package/dist/assets/index-D-Jb9hdv.js +0 -1
- package/dist/assets/mapLoadingInProgressToTreeNode-jcHEi-mv-Cl8KOFjG.js +0 -1
- package/dist/assets/mapSectionWithAcOnlyToTreeNode-Cgyt68f3-CDBFUVvY.js +0 -1
- package/dist/assets/mapSpacerToTreeNode-XgUp1xUb-B7yPJt54.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-Bre8FfBF-C3mdnabF.js +0 -1
- package/dist/assets/mapTimeframeBalancesToTreeNode-DOyCX6ij-DJ5f-tsr.js +0 -1
- package/dist/assets/mapTimeframeHeaderLoadingInProgressToTreeNode-D2IvFyR5-Ca3eEPkJ.js +0 -1
- package/dist/assets/page-detail-CWX5S47F-Db9HhKdl.js +0 -1
- package/dist/assets/panelSelectedMixin-Cddsb26L-BEaTutPV.js +0 -3
- package/dist/assets/radio-default-CiSgisfh-bKgsz1mh.js +0 -1
- package/dist/assets/shield-DOlUxcFf-CuhCM_gA.js +0 -1
- package/dist/assets/toCOABalancesWithID-aLNB35t7-BtYnBfqr.js +0 -1
- package/dist/assets/toChartData-DUL6vnzJ-Bu4Ds4yf.js +0 -1
- package/dist/assets/types-DyvtCprH-NFPm5TaG.js +0 -1
- package/dist/assets/upload-reimbursement-receipt-O2N8vcO7-_YW_CWHL.js +0 -1
- package/dist/assets/uploadAttachment-Ck4wivBR-Cl_dwAB6.js +0 -286
- package/dist/assets/uploadReceipts-CIgkuVpu-DNtrxUdf.js +0 -1
- package/dist/assets/url-CRv0BSFG.js +0 -1
- package/dist/assets/useLongPress-GCK2COYQ-Bd_7uKXZ.js +0 -1
- package/dist/assets/usp-line-BBd1wKwW-rq31vkuF.js +0 -1
- package/dist/assets/zeni-epic-state-DMWYYyyR.js +0 -14
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import{e as R,aa as le,O as Q,cQ as se,aG as de,V as t,cy as ce,cz as ue,cA as be,ae as pe,aT as fe,x as l,o as d,bb as he,cU as X,aS as ee,eJ as Y,ih as q,cV as J,ii as te,cX as me,u as i,cZ as ge,ac as W,d as $,i2 as xe,af as we,eS as ke,a as ye,N as $e,bI as Ce,as as ve,w as Se,ij as je,c6 as Be,ap as Ie}from"./index-C8o-xzAN.js";import{a as M}from"./sentry-DBhcw6Be.js";import{n}from"./mui-DOS4CfBc.js";import{bi as ae}from"./zeni-epic-state-DMWYYyyR.js";import{W as Ae,A as Te}from"./BankAccountWarningSection-Cled-2cR-DDIv4R5M.js";import{T as Ne}from"./MailingDetailsSection-ByOPaJ05-DHEttRbi.js";import{M as Le}from"./MagicLinkTitleSection-CARU1oLQ-B0cyw7Mk.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},o=new e.Error().stack;o&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[o]="45be61e2-9d3d-492e-9f6c-c71d98be636d",e._sentryDebugIdIdentifier="sentry-dbid-45be61e2-9d3d-492e-9f6c-c71d98be636d")}catch{}})();const G={tooltipRightPosition:new l(i[6],i[6]),tooltipTopPosition:new l(35,35),tooltipWidth:new l(180,193)},De=({protectedInfoText:e})=>{const o=R();return t.jsxs(Me,{children:[t.jsx(Re,{}),t.jsx(Oe,{className:"info-tooltip",windowSize:o,children:t.jsx(Fe,{children:e})})]})};function Pe({type:e,name:o,placeholder:a,placeholderAlignment:b,autoComplete:s="off",autoCapitalize:x="off",autoTrim:C="off",isDisabled:g,defaultValue:I,style:A,hoverBgColor:w,registerOptions:T,protectedInfoText:k,isSaveError:v=!1,buttonProps:y,disableCopyPaste:c=!1}){const{control:r,register:p,formState:{errors:S},setFocus:h}=X(),E=Y(S,o),j=Object.assign({},T),{label:m,isDisabled:O,fetchState:V,onButtonClick:F}=y;switch(e){case"email":Object.assign(j,{pattern:we});break;case"number":Object.assign(j,{valueAsNumber:!0});break;case"url":Object.assign(j,{pattern:xe})}const H=g==="disabled"||g==="readonly"||k!=null;return k!=null?t.jsxs(Ve,{style:A,children:[t.jsx(De,{protectedInfoText:k}),t.jsx(We,{id:o,children:I})]}):t.jsx(Ee,{isError:E,fetchState:V,style:{display:"flex",alignItems:"center",width:"100%"},keepButtonVisible:y.keepButtonVisible,isButtonHidden:y.isHidden,children:t.jsx(ke,{name:o,control:r,rules:{...T},defaultValue:I??"","data-testid":W("text-field-with-button",o),render:({field:{onChange:_,onBlur:U,value:D,ref:N}})=>t.jsxs(t.Fragment,{children:[t.jsx(ze,{type:e==="password"||e==="hidden"?e:void 0,isError:E,style:A,placeholder:a,disabled:H,...p(o,j),id:o,ref:N,value:D,autoComplete:s,placeholderAlignment:b,hoverBgColor:w,isSaveError:v,onBlur:U,onChange:_,"data-testid":W("text-field-with-button-input",o),onInput:f=>{const u=f.target;switch(x){case"off":break;case"characters":u.value=u.value.toLocaleUpperCase();break;case"words":u.value=u.value.charAt(0).toLocaleUpperCase().concat(u.value.slice(1));break}switch(C){case"off":break;case"trimStart":u.value=u.value.trimStart();break;case"trimEnd":u.value=u.value.trimEnd();break;case"trim":u.value=u.value.trim();break}},onPaste:f=>{c&&f.preventDefault()},onCopy:f=>{c&&f.preventDefault()},keepButtonVisible:y.keepButtonVisible}),t.jsx(ye,{label:m,onClick:f=>{f.stopPropagation(),h(o),setTimeout(()=>{F()})},style:{outline:"none"},size:"xs-small",disabled:O,variant:"success",reverseSpinnerColor:!0,loading:V==="In-Progress","data-testid":W("text-field-button",`${o}-${m}`)})]})})})}const ze=n(je)`
|
|
2
|
-
display: flex;
|
|
3
|
-
border-width: ${d.sp0};
|
|
4
|
-
outline-width: ${d.sp0};
|
|
5
|
-
color: ${e=>!e.isError&&e.isSaveError===!1?e.theme.colors.primary:$.important};
|
|
6
|
-
background-color: ${e=>e.isSaveError===!0?$.importantLight:e.theme.colors.grey5};
|
|
7
|
-
border-radius: ${d.sp1};
|
|
8
|
-
text-align: ${e=>e.keepButtonVisible?"left":"right"};
|
|
9
|
-
padding: 0 ${d.sp3};
|
|
10
|
-
::placeholder {
|
|
11
|
-
text-align: ${e=>e.placeholderAlignment};
|
|
12
|
-
color: ${e=>e.isError?$.important:e.theme.colors.grey1};
|
|
13
|
-
}
|
|
14
|
-
&:focus {
|
|
15
|
-
text-align: left;
|
|
16
|
-
outline: none;
|
|
17
|
-
background-color: ${e=>e.isError?$.importantLight:e.theme.colors.background};
|
|
18
|
-
${Se.standardRegular.css};
|
|
19
|
-
}
|
|
20
|
-
&:hover {
|
|
21
|
-
background-color: ${e=>e.isError?$.importantLight:e.hoverBgColor!==null?e.hoverBgColor:e.theme.colors.background};
|
|
22
|
-
}
|
|
23
|
-
&:disabled {
|
|
24
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
25
|
-
}
|
|
26
|
-
`,Ee=n.div`
|
|
27
|
-
position: relative;
|
|
28
|
-
button {
|
|
29
|
-
display: ${e=>e.keepButtonVisible?"flex":"none"};
|
|
30
|
-
position: absolute;
|
|
31
|
-
right: ${d.sp3};
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
&:focus-within button {
|
|
35
|
-
display: ${e=>e.isButtonHidden?"none":"flex"};
|
|
36
|
-
}
|
|
37
|
-
`,Ve=n.div`
|
|
38
|
-
display: flex;
|
|
39
|
-
position: relative;
|
|
40
|
-
align-items: center;
|
|
41
|
-
justify-content: flex-end;
|
|
42
|
-
width: 100%;
|
|
43
|
-
padding: 0 ${d.sp3};
|
|
44
|
-
`,We=n(ve)`
|
|
45
|
-
color: ${e=>e.theme.colors.primary};
|
|
46
|
-
margin-left: 12px;
|
|
47
|
-
margin-top: 6px;
|
|
48
|
-
`,Me=n.div`
|
|
49
|
-
color: ${e=>e.theme.colors.primary};
|
|
50
|
-
`,Re=n(Be)`
|
|
51
|
-
color: ${e=>e.theme.colors.hero};
|
|
52
|
-
width: ${d.sp3};
|
|
53
|
-
height: ${d.sp3};
|
|
54
|
-
&:hover {
|
|
55
|
-
color: ${e=>e.theme.colors.primary};
|
|
56
|
-
& + .info-tooltip {
|
|
57
|
-
display: flex;
|
|
58
|
-
flex-direction: row;
|
|
59
|
-
justify-content: center;
|
|
60
|
-
align-items: center;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
`,Oe=n.div`
|
|
64
|
-
display: none;
|
|
65
|
-
background-color: ${e=>e.theme.colors.primary};
|
|
66
|
-
position: absolute;
|
|
67
|
-
padding: 2px 5px;
|
|
68
|
-
border: 1px solid ${e=>e.theme.colors.primary};
|
|
69
|
-
border-radius: ${d.sp1};
|
|
70
|
-
z-index: 1;
|
|
71
|
-
right: ${e=>G.tooltipRightPosition.valuePx(e.windowSize)};
|
|
72
|
-
width: ${e=>G.tooltipWidth.valuePx(e.windowSize)};
|
|
73
|
-
top: ${e=>G.tooltipTopPosition.valuePx(e.windowSize)};
|
|
74
|
-
`,Fe=n(Ie)`
|
|
75
|
-
color: ${e=>e.theme.colors.grey5};
|
|
76
|
-
`,B={width:new l(343,580,726),height:new l(i[6],i[6]),controlHeight:new l(i[6],i[6]),paddingTopBottom:new l(i[2],i[2]),marginRight:new l(i[2],i[2]),labelMarginLeft:new l(i[3],i[4]),labelMarginRight:new l(i[3],i[4]),labelMarginTop:new l(i[2],i[2])},He={infoLabel:new $e("extraSmallRegular","smallRegular")};function _e({isDisabled:e,label:o,text:a,style:b,additionalInfoLabel:s,showAdditionalInfoLabel:x=!0,protectedInfoText:C,isSaveError:g,showTickIcon:I,showErrorInfoLabel:A,errorInfoLabel:w,disableCopyPaste:T=!1,showTooltip:k=!1,tooltipTitle:v,onBlur:y}){const c=R(),{formState:{errors:r}}=X(),p=Y(r,a.name);return t.jsxs(Ue,{size:c,style:b,isDisabled:e!=null,isError:p,"data-testid":W("labeled-text-field-with-button",a.name),children:[t.jsx(ge,{isDisabled:e,label:o.label,style:{marginLeft:B.labelMarginLeft.value(c),marginRight:B.labelMarginRight.value(c),marginTop:B.labelMarginTop.value(c),width:o.width??"auto"},showTooltip:k,tooltipTitle:v}),t.jsxs(qe,{labelWidth:o.width,children:[t.jsx(Pe,{...a,style:{...a.style,display:"flex",flexGrow:1,width:"-webkit-fill-available",height:B.controlHeight.value(c),cursor:"inherit"},protectedInfoText:C,isSaveError:g,onBlur:y,disableCopyPaste:T}),(x||p)&&t.jsxs(oe,{size:c,isError:p,children:[I===!0?t.jsx(Je,{children:t.jsx(Ge,{})}):null,s]}),A===!0&&t.jsx(oe,{size:c,isError:!0,children:w})]})]})}const Ue=n.div`
|
|
77
|
-
display: flex;
|
|
78
|
-
flex-direction: row;
|
|
79
|
-
align-items: flex-start;
|
|
80
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
81
|
-
width: ${e=>B.width.valuePx(e.size)};
|
|
82
|
-
min-height: ${e=>B.height.valuePx(e.size)};
|
|
83
|
-
padding-right: ${e=>B.marginRight.valuePx(e.size)};
|
|
84
|
-
padding-top: ${e=>B.paddingTopBottom.valuePx(e.size)};
|
|
85
|
-
padding-bottom: ${e=>B.paddingTopBottom.valuePx(e.size)};
|
|
86
|
-
|
|
87
|
-
:first-of-type {
|
|
88
|
-
border-top-left-radius: inherit;
|
|
89
|
-
border-top-right-radius: inherit;
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
:last-of-type {
|
|
93
|
-
border-bottom-left-radius: inherit;
|
|
94
|
-
border-bottom-right-radius: inherit;
|
|
95
|
-
}
|
|
96
|
-
|
|
97
|
-
&:focus-within {
|
|
98
|
-
z-index: 1;
|
|
99
|
-
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
100
|
-
|
|
101
|
-
input {
|
|
102
|
-
background-color: ${e=>e.isError?$.importantLight:e.theme.colors.background};
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
input {
|
|
106
|
-
background-color: ${e=>e.isError?$.importantLight:e.theme.colors.grey5};
|
|
107
|
-
}
|
|
108
|
-
&:hover {
|
|
109
|
-
z-index: 1;
|
|
110
|
-
outline: 1px solid
|
|
111
|
-
${e=>e.isDisabled===!0?e.theme.colors.grey3:e.theme.colors.primary};
|
|
112
|
-
input {
|
|
113
|
-
background-color: ${e=>e.isDisabled===!0?e.theme.colors.grey5:e.isError?$.importantLight:e.theme.colors.background};
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
`,qe=n.div`
|
|
117
|
-
display: flex;
|
|
118
|
-
flex-direction: column;
|
|
119
|
-
width: ${e=>e.labelWidth!=null?`calc(100% - ${e.labelWidth}px)`:"auto"};
|
|
120
|
-
align-items: flex-end;
|
|
121
|
-
flex-grow: 1;
|
|
122
|
-
`,oe=n.label`
|
|
123
|
-
display: flex;
|
|
124
|
-
color: ${e=>e.isError?$.important:e.theme.colors.grey1};
|
|
125
|
-
${e=>`${He.infoLabel.style(e.size)}`};
|
|
126
|
-
padding-right: ${d.sp3};
|
|
127
|
-
text-align: right;
|
|
128
|
-
`,Je=n.div`
|
|
129
|
-
display: flex;
|
|
130
|
-
margin-right: ${d.sp1};
|
|
131
|
-
align-items: center;
|
|
132
|
-
`,Ge=n(Ce)`
|
|
133
|
-
width: ${d.sp3};
|
|
134
|
-
height: ${d.sp3};
|
|
135
|
-
color: ${$.successDark};
|
|
136
|
-
`,ie={largeLabelWidth:new l(120,140,220),veryLargeLabelWidth:new l(120,140,256)},Ze=({sectionId:e,bankNameBySwift:o,bankAccountToCreate:a,isDisabled:b,fetchBankNameBySwiftStatus:s,onFetchBankNameBySwift:x,style:C})=>{const g=R(),{getValues:I,setValue:A,formState:{errors:w}}=X(),{fetchState:T}=s,k=ee(s.fetchState),v=ee(a?.bankSwiftCode),y=Y(w,P(e,"bankSwiftCode"));M.useEffect(()=>{(k==="In-Progress"||v!=null&&v!==a?.bankSwiftCode)&&s.fetchState==="Completed"&&a?.bankSwiftCode!=null&&Object.keys(o).includes(a?.bankSwiftCode)&&o[a?.bankSwiftCode].bankName&&A(P(e,"bankName"),o[a?.bankSwiftCode].bankName)},[a?.bankName,a?.bankSwiftCode,s.fetchState,k,v]);const c=Q.getLocalizedStrings().spendManagement.billPay.vendorCreation.wireDetails,{international:r}=c,p=ie.largeLabelWidth.value(g),S=ie.veryLargeLabelWidth.value(g);return t.jsx(Qe,{style:C,children:t.jsxs(Xe,{children:[t.jsx(_e,{label:{label:r.swiftCode,width:p},text:{type:"text",name:P(e,"bankSwiftCode"),placeholder:r.addSwiftCode,defaultValue:a?.bankSwiftCode,registerOptions:{required:!0,pattern:q},autoCapitalize:"characters",autoTrim:"trim",buttonProps:{label:r.verify,isDisabled:q.test(a?.bankSwiftCode??"")===!1,isHidden:s.fetchState==="Completed",keepButtonVisible:q.test(a?.bankSwiftCode??"")===!0&&s.fetchState!=="Completed",fetchState:T,onButtonClick:()=>{a?.bankSwiftCode!=null&&x(a.bankSwiftCode)}}},isDisabled:b,style:{width:"auto"},additionalInfoLabel:a?.bankName?a?.bankName:void 0,showTickIcon:!!a?.bankName,showAdditionalInfoLabel:!y,errorInfoLabel:r.invalidSwiftCode}),t.jsx(Z,{}),t.jsx(J,{label:{label:r.iban,width:p},text:{type:"text",name:P(e,"bankAccountIban"),placeholder:r.addIban,defaultValue:a?.bankAccountIban,autoCapitalize:"characters",options:{required:!0,pattern:te}},isDisabled:b,style:{width:"auto"},showAdditionalInfoLabel:!1,additionalInfoLabel:r.invalidIban}),t.jsx(Z,{}),t.jsx(J,{label:{label:r.confirmIban,width:S},text:{type:"text",name:P(e,"confirmedBankAccountIban"),placeholder:r.addConfirmIban,defaultValue:a?.confirmedBankAccountIban,autoCapitalize:"characters",options:{required:!0,pattern:te,validate:h=>h!=null?I(`${e}.bankAccountIban`)===h:!1}},disableCopyPaste:!0,isDisabled:b,style:{width:"auto"},showAdditionalInfoLabel:!1,additionalInfoLabel:r.ibanDontMatch}),t.jsx(Z,{}),t.jsx(J,{label:{label:r.accountNickName,width:p},text:{type:"text",name:P(e,"bankAccountName"),placeholder:me(r.accountNickName),defaultValue:a?.bankAccountName,options:{required:!1}},isDisabled:b,style:{width:"auto"}})]})})},P=(e,o)=>`${e}.${o}`,Qe=n.div`
|
|
137
|
-
display: flex;
|
|
138
|
-
flex-direction: column;
|
|
139
|
-
`,Xe=n.div`
|
|
140
|
-
display: flex;
|
|
141
|
-
flex-direction: column;
|
|
142
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
143
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
144
|
-
box-shadow: ${e=>`${d.sp0} 2px ${d.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
145
|
-
border-radius: ${d.sp2};
|
|
146
|
-
`,Z=n.div`
|
|
147
|
-
display: flex;
|
|
148
|
-
flex: 1;
|
|
149
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
150
|
-
min-height: 1px;
|
|
151
|
-
max-height: 1px;
|
|
152
|
-
`,L={paddingTopBottomContainer:new l(i[3],i[3]),paddingLeftContainer:new l(i[3],i[6]),paddingRightContainer:new l(i[3],i[8]),marginLeft:new l(i[4],i[6]),buttonWidth:new l(140,140)},ne="internationalDetailsPage",z="internationalWireSwiftAccountSection",Ye="mailingAddressSection",re=e=>`${e}_form`,bt=({bankAccountCreationState:e,bankNameBySwift:o,addressType:a,fetchBankNameBySwiftStatus:b,bankAccountToCreate:s,addressToEdit:x,mailingAddress:C,isDisabled:g,style:I,companyName:A,isMagicLink:w,currencySymbol:T,amount:k,onSaveHandler:v,onBankDetailsUpdated:y,onFetchBankNameBySwift:c,onAddressClick:r,onBackClick:p})=>{const S=R(),h=le({mode:"all",reValidateMode:"onBlur",defaultValues:M.useMemo(()=>Ke(s),[s])}),[E,j]=M.useState(!1),m=Q.getLocalizedStrings().spendManagement.billPay.vendorCreation,O=Q.getLocalizedStrings().common.footer,{international:V}=m.wireDetails,F={onOkClick:()=>{j(!1),h.reset(),p?.()},onCancelClick:()=>{j(!1)}},H=async(D,N)=>{const f=N[z].bankName,u=N[z].bankSwiftCode,K=Object.assign({},N);D===`${z}.bankSwiftCode`&&(f||!f&&o[u]?.bankName)&&(K[z].bankName=o[u]?.bankName??""),y(K)};M.useEffect(()=>{const D=h.watch((N,{name:f})=>{f!=null&&N!=null&&se(()=>H(f,N))});return()=>{D.unsubscribe()}});const _=h.handleSubmit(D=>{b.fetchState!=="In-Progress"&&v("wire")}),U=!de(C!=null?ae(C):C,x!=null?ae(x):x)||et(s)||h.formState.isDirty;return t.jsxs(at,{children:[t.jsxs(ot,{style:I,size:S,children:[E===!0?t.jsx(ce,{titleComponent:t.jsx(be,{children:m.discardTitle}),descriptionComponent:t.jsx(ue,{children:m.discardDescription}),primaryButtonText:m.discard,secondaryButtonText:m.cancel,action:F}):null,t.jsx(Ae,{header:w?t.jsx(Le,{companyName:A??"",currencySymbol:T??"",amount:k??0}):V.addInternationalWireDetails,isMagicLink:w,isDirty:U,onBackClick:p,setShowConfirmationPopup:j}),e?.fetchState==="Error"&&e.error?.code===409?t.jsx(Te,{warningText:m.bankAccountCommon.accountExistWarning}):null,t.jsx(it,{size:S,children:m.bankAccountCommon.accountDetailsTitle}),t.jsx(pe,{...h,children:t.jsxs("form",{id:re(ne),onSubmit:_,children:[t.jsx(tt,{size:S,children:t.jsx(Ze,{bankAccountToCreate:s,bankNameBySwift:o,fetchBankNameBySwiftStatus:b,sectionId:z,isDisabled:g,onFetchBankNameBySwift:c})}),t.jsx(Ne,{sectionId:Ye,isDisabled:g,addressType:a,addressToEdit:x,onAddressClick:r})]})})]}),t.jsx(fe,{formId:re(ne),primaryBtn:{label:w?m.bankAccountCommon.submitDetails:m.bankAccountCommon.saveAccount,isLoading:e.fetchState==="In-Progress",style:{width:L.buttonWidth.value(S)},isDisabled:g!=null},showCancel:!w,cancelBtn:{label:O.cancel,style:{width:L.buttonWidth.value(S)},shouldResetOnCancel:!1,onClick:()=>{h.formState.isDirty?j(!0):(h.reset(),p?.())}}})]})},Ke=e=>({[z]:{bankSwiftCode:e?.bankSwiftCode,bankName:e?.bankName??"",bankAccountIban:e?.bankAccountIban,confirmedBankAccountIban:e?.confirmedBankAccountIban,bankAccountName:e?.bankAccountName}}),et=e=>{if(e==null)return!1;const{bankAccountName:o,bankSwiftCode:a,bankName:b,bankAccountIban:s}=e;return!!o||!!a||!!b||!!s},tt=n.div`
|
|
153
|
-
padding-left: ${e=>L.paddingLeftContainer.valuePx(e.size)};
|
|
154
|
-
padding-right: ${e=>L.paddingRightContainer.valuePx(e.size)};
|
|
155
|
-
padding-top: ${e=>L.paddingTopBottomContainer.valuePx(e.size)};
|
|
156
|
-
padding-bottom: ${e=>L.paddingTopBottomContainer.valuePx(e.size)};
|
|
157
|
-
`,at=n.div`
|
|
158
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
159
|
-
display: flex;
|
|
160
|
-
flex-direction: column;
|
|
161
|
-
width: 100%;
|
|
162
|
-
height: 100%;
|
|
163
|
-
`,ot=n.div`
|
|
164
|
-
display: flex;
|
|
165
|
-
flex-direction: column;
|
|
166
|
-
flex-grow: 1;
|
|
167
|
-
`,it=n(he)`
|
|
168
|
-
color: ${e=>e.theme.colors.champion};
|
|
169
|
-
margin-left: ${e=>L.marginLeft.valuePx(e.size)};
|
|
170
|
-
margin-top: ${d.sp3};
|
|
171
|
-
`;export{bt as f};
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import{g as X,e as U,O as Y,V as t,ag as N,aS as Z,aa as K,cQ as ee,bE as te,L as ie,ae,aT as le,o as r,x as y,ao as q,cS as A,fe as oe,an as ne,N as se,fg as re,w as de,u as p,d0 as ce,d1 as me,d as ue}from"./index-C8o-xzAN.js";import{a as B}from"./sentry-DBhcw6Be.js";import{n as f}from"./mui-DOS4CfBc.js";import{bL as k,bh as pe}from"./zeni-epic-state-DMWYYyyR.js";import{b as fe}from"./LabeledCountryMultiSelectField-BYYjzwUG-DXWiTuV-.js";import{Y as he}from"./LabeledDocumentField-C_bcFxdY-DJ7-SOXf.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},s=new e.Error().stack;s&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[s]="935b8870-fd4e-4c88-bd12-6d4b9109a804",e._sentryDebugIdIdentifier="sentry-dbid-935b8870-fd4e-4c88-bd12-6d4b9109a804")}catch{}})();const _={largeLabelWidth:new y(150,210,252),paddingBottom:new y(p[3],p[2])},ge=({sectionId:e,internationalOnboardingDetails:s,filesEndPoint:d,authParams:P,isReadonly:n,deleteFileStatusById:a,updateFileStatusById:m,onEditFileName:C,onDeleteFile:O,updateFilesEntity:z})=>{const g=U(),{verificationFormLocalData:w}=s,{dateFormat:{visual:L},common:{documents:o},commonSetUp:{businessVerification:j},spendManagement:{billPay:{vendorCreation:{wireDetails:{international:S}}}}}=Y.getLocalizedStrings(),h=_.largeLabelWidth.value(g),[c,D]=B.useState(!1),T=s.verificationFormFields.slice().sort((i,l)=>i.type==="file"&&l.type!=="file"?-1:0);return t.jsx(be,{children:t.jsx(ye,{children:T.map(i=>{switch(i.type){case"file":return t.jsxs(t.Fragment,{children:[t.jsx(he,{name:b(e,i.name),isDisabled:n,sizeLimit:me,deleteFileStatusById:a,updateFileStatusById:m,filesEndPoint:d,authParams:P,label:{label:i.label,width:h},filemetadataPayload:{documentType:"certificate_of_good_standing",purposeId:"international_wire_business_verification",documentSide:"front"},file:s.userFiles.find(l=>l.fileId===w[i.name]),acceptableTypes:["image/jpg","image/jpeg","image/png","application/pdf","image/heic","image/heif"],registerOptions:{required:!0},hasError:c,updateFilesEntity:z,onEditFileName:C,onDeleteFile:O,onFileSizeError:l=>D(l),placeholderText:j.dragDropClickPlaceholder,showPhotoPicker:!0,useMobileCam:!0,showWebCamPopUpCloseIcon:!0},b(e,i.name)),n!=="readonly"?t.jsx(xe,{windowSize:g,isError:!1,children:o.formatDocumentText10MB}):null,t.jsx(E,{})]});case"date":return t.jsxs(t.Fragment,{children:[t.jsx(ce,{isDisabled:n,label:{label:i.label+S.colon,width:h},style:{paddingBottom:_.paddingBottom.valuePx(g)},dateField:{name:b(e,i.name),placeholder:i.placeholder,defaultValue:w[i.name]?k(w[i.name]):void 0,dateFormat:L.defaultInput,maxDate:pe().subtract(1,"day"),minDate:k("01 Jan 1900"),autoComplete:"off",registerOptions:{required:!0}}},b(e,i.name)),t.jsx(E,{})]});case"enum":return i.isMultipleValuesAllowed===!1?t.jsxs(t.Fragment,{children:[t.jsx(re,{isDisabled:n,label:{label:i.label+S.colon,width:h},singleSelectPickerField:{name:b(e,i.name),placeholder:i.placeholder,optionHeight:p[6],optionTextStyle:de.smallRegular,maxMenuHeight:206,registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOption},defaultValue:{selectedOption:w[i.name],allOptions:i.fieldValues.map(l=>({label:l.description,value:l.code}))}}},b(e,i.name)),t.jsx(E,{})]}):t.jsx(fe,{isDisabled:n,label:{label:i.label+S.colon,width:h},style:{zIndex:0},multiSelectField:{name:b(e,i.name),placeholder:i.placeholder,registerOptions:{required:!0,validate:l=>l!=null&&!!l.selectedOptions&&l.selectedOptions.length>0},defaultValue:A(w[i.name],i.fieldValues.map(l=>l.code))}},b(e,i.name));default:return t.jsx(E,{})}})})})},b=(e,s)=>`${e}.formData.${s}`,be=f.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
`,ye=f.div`
|
|
5
|
-
display: flex;
|
|
6
|
-
flex-direction: column;
|
|
7
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
8
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
9
|
-
box-shadow: ${e=>`${r.sp0} 2px ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
10
|
-
border-radius: ${r.sp2};
|
|
11
|
-
`,E=f.div`
|
|
12
|
-
display: flex;
|
|
13
|
-
flex: 1;
|
|
14
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
15
|
-
min-height: 1px;
|
|
16
|
-
max-height: 1px;
|
|
17
|
-
`,xe=f(q)`
|
|
18
|
-
padding: ${r.sp1} ${r.sp4};
|
|
19
|
-
|
|
20
|
-
background: ${e=>e.theme.colors.grey4};
|
|
21
|
-
border-radius: ${r.sp0} ${r.sp0} ${r.sp2} ${r.sp2};
|
|
22
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"right"};
|
|
23
|
-
color: ${e=>e.isError?ue.important:e.theme.colors.grey1};
|
|
24
|
-
`,x={width:new y(343,580,726),titleWidth:new y(343,580,726,826),subTitlePaddingTop:new y(12,p[3]),subTitlePaddingBottom:new y(p[3],p[3]),verificationDetailsRowGap:new y(12,p[5],p[5]),termsPaddingLeftRight:new y(p[0],p[3])},we={title:new se("standardSemiBold","largeSemiBold")},W="intlWireVerification",_e=({internationalOnboardingDetails:e,filesEndPoint:s,authParams:d,isReadonly:P,analytics:n,isLocalCurrencyEnabled:a,onEditFileName:m,onDeleteFile:C,updateFilesEntity:O,onFormDataChange:z,onCancelClick:g,onSubmitClick:w})=>{const L=X(),o=U(),j="IntlWireverificationPage",{verificationFormFetchState:S,verificationFormSubmitState:h}=e,{commonSetUp:{internationalWire:c},common:{footer:D},dateFormat:{analytics:{YYYYDashMMDashDDFormat:T}}}=Y.getLocalizedStrings(),i=t.jsxs(je,{children:[c.terms1,t.jsx(N,{href:c.tosUrl,linkText:c.tos}),c.and,t.jsx(N,{href:c.privacyPolicyUrl,linkText:c.privacyPolicy})]}),l=Z(h.fetchState),I=K({mode:"all",reValidateMode:"onChange",defaultValues:B.useMemo(()=>Se(e),[e])}),{isValid:G}=I.formState;B.useEffect(()=>{l==="In-Progress"&&h.fetchState==="Completed"&&g()},[l,h,g]);const H=I.handleSubmit(()=>{G&&(n?.trackSubmitIntlWire(a),w())}),J=async V=>{const u=V[W].formData;if(u!=null){let v={};Object.keys(u).forEach(F=>{const M=e.verificationFormFields.find($=>$.name===F);if(u[F]!=null&&M!=null){let $;switch(M.type){case"file":$=u[F].fileId;break;case"date":$=k(u[F].toString()).format(T);break;default:$=M.isMultipleValuesAllowed===!0?u[F].selectedOptions.map(Q=>oe(Q)):u[F].selectedOption;break}v={...v,[F]:$}}}),z(v)}};return B.useEffect(()=>{const V=I.watch((u,{name:v})=>{v!=null&&u!=null&&ee(()=>J(u))});return()=>{V.unsubscribe()}}),t.jsxs(Fe,{children:[t.jsx(te,{title:c.title,backgroundColor:L.colors.grey4,style:{zIndex:4},onBackClick:()=>{g()},showBackButton:!0,showMenuIcon:!1,source:"InternationalWireVerificationPage"}),t.jsxs($e,{windowSize:o,children:[t.jsx(Pe,{windowSize:o,children:c.subTitle}),S.fetchState==="In-Progress"||S.fetchState==="Not-Started"?t.jsx(ve,{children:t.jsx(ie,{size:"ExtraLarge",start:!0})}):t.jsx(ae,{...I,children:t.jsxs("form",{id:R(j),onSubmit:H,children:[t.jsx(De,{windowSize:o,children:c.header}),t.jsx(ge,{internationalOnboardingDetails:e,sectionId:W,updateFilesEntity:O,onEditFileName:m,onDeleteFile:C,isReadonly:P,filesEndPoint:s,authParams:d,deleteFileStatusById:e.deleteFileStatusById,updateFileStatusById:e.updateFileStatusById})]})})]}),P!=="readonly"&&S.fetchState==="Completed"?t.jsx(le,{formId:R(j),primaryBtn:{label:D.submit,style:{width:"auto",minWidth:o==="small"?"auto":"82px"},isLoading:h.fetchState==="In-Progress"},containerStyle:{width:o==="small"?x.width.valuePx(o):"auto",justifyContent:o==="small"?"space-between":"center"},helperStyle:{width:o==="small"?x.width.valuePx(o):"auto",paddingLeft:x.termsPaddingLeftRight.valuePx(o),paddingRight:x.termsPaddingLeftRight.valuePx(o),textAlign:o==="small"?"center":"initial"},showCancel:!0,cancelBtn:{reverseSpinnerColor:!1,label:D.cancel,style:{width:o==="small"?"auto":"82px"},onClick:()=>{g()}},helperText:i,style:{padding:`12px ${r.sp3}`,zIndex:4}}):null]})},Se=e=>{const{verificationFormFields:s,verificationFormLocalData:d,userFiles:P}=e,n={};return s.forEach(a=>{a.type==="enum"?a.isMultipleValuesAllowed===!1?n[a.name]={selectedOption:d[a.name],allOptions:a.fieldValues.map(m=>({label:m.description,value:m.code}))}:n[a.name]=A(d[a.name],a.fieldValues.map(m=>m.code)):a.type==="date"?n[a.name]=d[a.name]?k(d[a.name]).toDate():void 0:a.type==="file"?n[a.name]=P.find(m=>m.fileId!==d[a.name]):n[a.name]=d[a.name]}),{[W]:{formData:n}}},R=e=>`${e}_form`,Fe=f.div`
|
|
25
|
-
display: flex;
|
|
26
|
-
min-height: 100%;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
width: 100%;
|
|
29
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
30
|
-
`,Pe=f(ne)`
|
|
31
|
-
color: ${e=>e.theme.colors.hero};
|
|
32
|
-
display: flex;
|
|
33
|
-
justify-content: center;
|
|
34
|
-
width: ${e=>x.titleWidth.valuePx(e.windowSize)};
|
|
35
|
-
padding-top: ${e=>x.subTitlePaddingTop.valuePx(e.windowSize)};
|
|
36
|
-
padding-bottom: ${e=>x.subTitlePaddingBottom.valuePx(e.windowSize)};
|
|
37
|
-
text-align: ${e=>e.windowSize==="small"?"initial":"center"};
|
|
38
|
-
`,$e=f.div`
|
|
39
|
-
display: flex;
|
|
40
|
-
justify-content: flex-start;
|
|
41
|
-
height: 100%;
|
|
42
|
-
overflow-y: auto;
|
|
43
|
-
flex-direction: column;
|
|
44
|
-
align-items: center;
|
|
45
|
-
padding-bottom: ${r.sp9};
|
|
46
|
-
row-gap: ${e=>x.verificationDetailsRowGap.valuePx(e.windowSize)};
|
|
47
|
-
`,ve=f.div`
|
|
48
|
-
display: flex;
|
|
49
|
-
width: 100%;
|
|
50
|
-
height: calc(100vh - 110px);
|
|
51
|
-
flex-direction: row;
|
|
52
|
-
justify-content: center;
|
|
53
|
-
align-items: center;
|
|
54
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
55
|
-
`,je=f(q)`
|
|
56
|
-
text-align: center;
|
|
57
|
-
max-width: 750px;
|
|
58
|
-
color: ${e=>e.theme.colors.hero};
|
|
59
|
-
`,De=f.div`
|
|
60
|
-
display: flex;
|
|
61
|
-
align-items: center;
|
|
62
|
-
margin-bottom: ${r.sp3};
|
|
63
|
-
color: ${e=>e.theme.colors.primary};
|
|
64
|
-
${e=>`${we.title.style(e.windowSize)}`};
|
|
65
|
-
`;export{_e as default,R as uniqueName};
|
|
@@ -1,312 +0,0 @@
|
|
|
1
|
-
import{e as L,g as g1,O as f,aa as u1,cQ as w1,V as t,bE as k1,ae as x1,aT as L1,x as m,aQ as t1,o as r,aS as $1,d as p,N as w,M as u,z as f1,c3 as y1,bb as E1,cq as M1,ah as b1,u as a,a as Y,c1 as v1,cU as j1,cV as H1,cW as S1,cX as B1,h2 as z1,an as i1,d9 as D1,eJ as W1,da as V1,ao as P1}from"./index-C8o-xzAN.js";import{a as i}from"./sentry-DBhcw6Be.js";import{n as o,c as I1}from"./mui-DOS4CfBc.js";import"./liveblocks-abv8TgYe.js";import"./core-VVne9A9m.js";import"./recharts-BBlqu8Rz.js";import"./zeni-epic-state-DMWYYyyR.js";import"./lottie-DehW2chz.js";import"./analytics-D0xbCiOA.js";import"./lexical-0vG0lfLn.js";import"./utils-DT6Wq-eT.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new e.Error().stack;n&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[n]="0eae4555-4a4b-460d-9797-3f85dafce7cc",e._sentryDebugIdIdentifier="sentry-dbid-0eae4555-4a4b-460d-9797-3f85dafce7cc")}catch{}})();const Z1=e=>i.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{opacity:.2,fillRule:"evenodd",clipRule:"evenodd",d:"M3.36767 1.99756C2.40387 1.99756 1.62256 2.77887 1.62256 3.74267V21.1937C1.62256 22.1575 2.40387 22.9388 3.36767 22.9388H14.7109C15.6747 22.9388 16.456 22.1575 16.456 21.1937V20.4549H23.0184C23.1941 20.4549 23.3362 20.3103 23.3362 20.1319V8.32789C23.3362 8.14954 23.1941 8.00488 23.0184 8.00488H16.456V3.74267C16.456 2.77887 15.6747 1.99756 14.7109 1.99756H3.36767Z",fill:"#95C1B7"}),i.createElement("path",{d:"M13.4563 7.83117V19.6458C13.4563 19.8213 13.5985 19.9635 13.774 19.9635H22.5739C22.7493 19.9635 22.8916 19.8213 22.8916 19.6458V7.83117C22.8916 7.6557 22.7493 7.51345 22.5739 7.51345H13.774C13.5985 7.51345 13.4563 7.6557 13.4563 7.83117Z",stroke:"#95C1B7",strokeWidth:.436277,strokeMiterlimit:10}),i.createElement("rect",{x:14.7109,y:9.41418,width:6.98043,height:1.30883,rx:.218138,stroke:"#95C1B7",strokeWidth:.436277}),i.createElement("path",{d:"M15.5834 7.5V2.87011C15.5834 1.90631 14.8021 1.125 13.8383 1.125H2.49511C1.53131 1.125 0.75 1.90631 0.75 2.87011V20.3212C0.75 21.285 1.53131 22.0663 2.49511 22.0663H13.9725C14.8622 22.0663 15.5834 21.3451 15.5834 20.4554V20.4554",stroke:"#95C1B7",strokeWidth:.436277,strokeMiterlimit:10}),i.createElement("path",{d:"M16.957 17.8477L15.5508 16.4414",stroke:"#EEBA7D",strokeWidth:.375,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M15.5508 17.8477L16.957 16.4414",stroke:"#EEBA7D",strokeWidth:.375,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M16.2539 12.75V14.5078",stroke:"#EEBA7D",strokeWidth:.375,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M17.1328 13.6289H15.375",stroke:"#EEBA7D",strokeWidth:.375,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M19.5938 13.6289H21.3516",stroke:"#EEBA7D",strokeWidth:.375,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M19.5938 17.4961H21.3516",stroke:"#EEBA7D",strokeWidth:.375,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M19.5938 17.4961H21.3516",stroke:"#EEBA7D",strokeWidth:.375,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M19.5938 16.793H21.3516",stroke:"#EEBA7D",strokeWidth:.375,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M5.4751 5.21431V4.5",stroke:"#EEBA7D",strokeWidth:.375,strokeMiterlimit:10,strokeLinecap:"round"}),i.createElement("path",{d:"M5.4751 10.875V10.1307",stroke:"#EEBA7D",strokeWidth:.375,strokeMiterlimit:10,strokeLinecap:"round"}),i.createElement("path",{d:"M3.75 8.4851C3.75 8.85166 3.8363 9.23103 4.05504 9.5318C4.29172 9.85734 4.66511 10.0308 5.05388 10.0974C5.41702 10.159 5.79468 10.135 6.15269 10.0513C6.89179 9.8787 7.43008 9.12252 7.09942 8.3689C6.90289 7.91946 6.42868 7.71781 5.96728 7.67424C5.63319 7.64262 5.29227 7.64006 4.95904 7.59221C4.67792 7.55205 4.39767 7.45806 4.19431 7.253C3.99095 7.04793 3.87731 6.73862 3.88757 6.43957C3.90209 5.99526 4.15842 5.6193 4.55488 5.42449C4.97014 5.22113 5.47512 5.21088 5.92285 5.28863C6.21763 5.3399 6.50643 5.46208 6.71235 5.67911C6.97125 5.95082 7.05669 6.32336 7.06951 6.68821",stroke:"#EEBA7D",strokeWidth:.375,strokeMiterlimit:10,strokeLinecap:"round"}),i.createElement("path",{d:"M3.75 15.75H10.125",stroke:"#ECB87D",strokeWidth:.375,strokeMiterlimit:10,strokeLinecap:"round"}),i.createElement("path",{d:"M3.75 17.25H7.5",stroke:"#ECB87D",strokeWidth:.375,strokeMiterlimit:10,strokeLinecap:"round"})),_1=e=>i.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{opacity:.2,d:"M22.477 23.4954C22.0856 23.4954 22.0856 23.048 21.6943 23.048C21.303 23.048 21.303 23.4954 20.9105 23.4954C20.518 23.4954 20.518 23.048 20.1266 23.048C19.7341 23.048 19.7341 23.4954 19.3428 23.4954C18.9515 23.4954 18.9515 23.048 18.5601 23.048C18.1688 23.048 18.1688 23.4954 17.7763 23.4954C17.3838 23.4954 17.3838 23.048 16.9925 23.048C16.6 23.048 16.6 23.4954 16.2086 23.4954C15.8173 23.4954 15.8173 23.048 15.4259 23.048C15.0346 23.048 15.0346 23.4954 14.6421 23.4954C14.2496 23.4954 14.2496 23.048 13.8583 23.048C13.4658 23.048 13.4658 23.4954 13.0744 23.4954C12.6831 23.4954 12.6831 23.048 12.2918 23.048C11.9004 23.048 11.9004 23.4954 11.5079 23.4954C11.1154 23.4954 11.1154 23.048 10.7241 23.048C10.3316 23.048 10.3316 23.4954 9.94026 23.4954H9.97917C9.67479 23.4954 9.42877 23.2494 9.42877 22.945V2.03331C9.42877 1.72893 9.67479 1.48291 9.97917 1.48291H22.4724C22.7768 1.48291 23.0228 1.72893 23.0228 2.03331V22.9439C23.0228 23.2482 22.7768 23.4943 22.4724 23.4943",fill:"#95C1B7"}),i.createElement("path",{d:"M21.613 22.6302C21.2217 22.6302 21.2217 22.1828 20.8303 22.1828C20.439 22.1828 20.439 22.6302 20.0465 22.6302C19.654 22.6302 19.654 22.1828 19.2627 22.1828C18.8702 22.1828 18.8702 22.6302 18.4788 22.6302C18.0875 22.6302 18.0875 22.1828 17.6962 22.1828C17.3048 22.1828 17.3048 22.6302 16.9123 22.6302C16.5198 22.6302 16.5198 22.1828 16.1285 22.1828C15.736 22.1828 15.736 22.6302 15.3447 22.6302C14.9533 22.6302 14.9533 22.1828 14.562 22.1828C14.1706 22.1828 14.1706 22.6302 13.7782 22.6302C13.3857 22.6302 13.3857 22.1828 12.9943 22.1828C12.6018 22.1828 12.6018 22.6302 12.2105 22.6302C11.8191 22.6302 11.8191 22.1828 11.4278 22.1828C11.0365 22.1828 11.0365 22.6302 10.644 22.6302C10.2515 22.6302 10.2515 22.1828 9.86014 22.1828C9.46766 22.1828 9.46766 22.6302 9.07631 22.6302H9.11522C8.81084 22.6302 8.56482 22.3842 8.56482 22.0798V1.16929C8.56482 0.864916 8.81084 0.618896 9.11522 0.618896H21.6085C21.9128 0.618896 22.1588 0.864916 22.1588 1.16929V22.0798C22.1588 22.3842 21.9128 22.6302 21.6085 22.6302",stroke:"#96C2B8",strokeWidth:.359375,strokeMiterlimit:10}),i.createElement("path",{d:"M4.15823 6.82217C4.15823 6.18709 4.01748 5.99257 3.55634 5.99257C4.01748 5.99257 4.15823 5.79804 4.15823 5.16296C4.15823 5.79804 4.29897 5.99257 4.76012 5.99257C4.29897 5.99257 4.15823 6.18709 4.15823 6.82217Z",stroke:"#ECB87D",strokeWidth:.359375,strokeMiterlimit:10,strokeLinecap:"round"}),i.createElement("path",{d:"M5.69722 12.2642C3.20498 12.2642 1.17847 10.2365 1.17847 7.74544C1.17847 5.25435 3.20613 3.22668 5.69722 3.22668C8.18832 3.22668 10.216 5.25435 10.216 7.74544C10.216 10.2365 8.18832 12.2642 5.69722 12.2642Z",fill:"white",stroke:"#ECB87D",strokeWidth:.359375,strokeMiterlimit:10,strokeLinecap:"round"}),i.createElement("path",{d:"M5.69727 11.4749C7.75748 11.4749 9.42762 9.80472 9.42762 7.74451C9.42762 5.68429 7.75748 4.01416 5.69727 4.01416C3.63705 4.01416 1.96692 5.68429 1.96692 7.74451C1.96692 9.80472 3.63705 11.4749 5.69727 11.4749Z",stroke:"#ECB87D",strokeWidth:.359375,strokeMiterlimit:10,strokeLinecap:"round"}),i.createElement("path",{d:"M5.88492 10.4358C5.88492 8.37612 5.42721 7.74562 3.93164 7.74562C5.42607 7.74562 5.88492 7.11512 5.88492 5.05542C5.88492 7.11512 6.34264 7.74562 7.83821 7.74562C6.34378 7.74562 5.88492 8.37612 5.88492 10.4358Z",stroke:"#ECB87D",strokeWidth:.359375,strokeMiterlimit:10,strokeLinecap:"round"}),i.createElement("path",{d:"M4.15823 6.82205C4.15823 6.18697 4.01748 5.99244 3.55634 5.99244C4.01748 5.99244 4.15823 5.79792 4.15823 5.16284C4.15823 5.79792 4.29897 5.99244 4.76012 5.99244C4.29897 5.99244 4.15823 6.18697 4.15823 6.82205Z",stroke:"#ECB87D",strokeWidth:.359375,strokeMiterlimit:10,strokeLinecap:"round"}),i.createElement("path",{d:"M11.1509 17.8278H19.5693",stroke:"#ECB87D",strokeWidth:.359375,strokeMiterlimit:10,strokeLinecap:"round"}),i.createElement("path",{d:"M11.1509 16.1217H19.5693",stroke:"#ECB87D",strokeWidth:.359375,strokeMiterlimit:10,strokeLinecap:"round"}),i.createElement("path",{d:"M11.1509 14.4144H19.5693",stroke:"#ECB87D",strokeWidth:.359375,strokeMiterlimit:10,strokeLinecap:"round"}),i.createElement("path",{d:"M13.7408 6.25L19.4908 6.25",stroke:"#ECB87D",strokeWidth:.359375,strokeMiterlimit:10,strokeLinecap:"round"}),i.createElement("path",{d:"M16.6158 5.17188L19.4908 5.17187",stroke:"#ECB87D",strokeWidth:.359375,strokeMiterlimit:10,strokeLinecap:"round"})),T1=e=>i.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("g",{opacity:.2},i.createElement("path",{d:"M3 24L3.80689 21.3415C3.83708 21.2422 3.89501 21.1557 3.97248 21.0944C4.04995 21.0331 4.14304 21.0001 4.23857 21H20.8864C20.982 21.0001 21.075 21.0331 21.1525 21.0944C21.23 21.1557 21.2879 21.2422 21.3181 21.3415L22.125 23.996",fill:"#95C1B7"}),i.createElement("path",{d:"M13.875 11.25H19.875V21H13.875V11.25Z",fill:"#95C1B7"}),i.createElement("path",{d:"M4.875 11.25H10.125V21H4.875V11.25Z",fill:"#95C1B7"}),i.createElement("path",{d:"M21.6401 9.01266C21.6726 8.91487 21.6704 8.80881 21.6336 8.71251C21.5968 8.61621 21.5279 8.53561 21.4384 8.48441L12.608 3.43477C12.5402 3.39562 12.4632 3.375 12.3849 3.375C12.3066 3.375 12.2297 3.39562 12.1618 3.43477L3.32787 8.48084C3.23841 8.53204 3.16944 8.61264 3.13267 8.70894C3.09591 8.80524 3.09363 8.9113 3.12621 9.0091L3.80794 11.0373C3.83752 11.1261 3.89428 11.2034 3.97018 11.2582C4.04609 11.3129 4.1373 11.3424 4.2309 11.3425H20.5425C20.6361 11.3424 20.7273 11.3129 20.8032 11.2582C20.8791 11.2034 20.9359 11.1261 20.9655 11.0373L21.6401 9.01266Z",fill:"#95C1B7"})),i.createElement("path",{d:"M2.39233 23.2099L3.18293 20.8346C3.21251 20.7458 3.26927 20.6685 3.34517 20.6138C3.42108 20.559 3.51229 20.5295 3.60589 20.5294H19.9175C20.0111 20.5295 20.1023 20.559 20.1782 20.6138C20.2541 20.6685 20.3109 20.7458 20.3405 20.8346L21.131 23.2064",stroke:"#97C3B9",strokeWidth:.375,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M4.177 10.7175H19.3464V20.533H4.177V10.7175Z",stroke:"#97C3B9",strokeWidth:.375,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M22.0234 23.2101H1.5",stroke:"#97C3B9",strokeWidth:.375,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M6.85571 10.7175V20.533",stroke:"#97C3B9",strokeWidth:.375,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M9.53265 10.7175V20.533",stroke:"#97C3B9",strokeWidth:.375,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M13.9943 10.7175V20.533",stroke:"#97C3B9",strokeWidth:.375,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M16.6712 10.7175V20.533",stroke:"#97C3B9",strokeWidth:.375,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M21.0151 8.38766C21.0476 8.28987 21.0454 8.18381 21.0086 8.08751C20.9718 7.99121 20.9029 7.91061 20.8134 7.85941L11.983 2.80977C11.9152 2.77062 11.8382 2.75 11.7599 2.75C11.6816 2.75 11.6047 2.77062 11.5368 2.80977L2.70287 7.85584C2.61341 7.90704 2.54444 7.98764 2.50767 8.08394C2.47091 8.18024 2.46863 8.2863 2.50121 8.3841L3.18294 10.4123C3.21252 10.5011 3.26928 10.5784 3.34518 10.6332C3.42109 10.6879 3.5123 10.7174 3.6059 10.7175H19.9175C20.0111 10.7174 20.1023 10.6879 20.1782 10.6332C20.2541 10.5784 20.3109 10.5011 20.3405 10.4123L21.0151 8.38766Z",stroke:"#97C3B9",strokeWidth:.375,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M20.9821 8.04053H2.53693",stroke:"#97C3B9",strokeWidth:.375,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M18.25 7.125C16.3886 7.125 14.875 5.61057 14.875 3.75C14.875 1.88943 16.3894 0.375 18.25 0.375C20.1106 0.375 21.625 1.88943 21.625 3.75C21.625 5.61057 20.1106 7.125 18.25 7.125Z",fill:"white",stroke:"#ECB87D",strokeWidth:.375,strokeMiterlimit:10,strokeLinecap:"round"}),i.createElement("path",{d:"M18.25 6.375C19.6997 6.375 20.875 5.19975 20.875 3.75C20.875 2.30025 19.6997 1.125 18.25 1.125C16.8003 1.125 15.625 2.30025 15.625 3.75C15.625 5.19975 16.8003 6.375 18.25 6.375Z",stroke:"#ECB87D",strokeWidth:.375,strokeMiterlimit:10,strokeLinecap:"round"}),i.createElement("path",{d:"M18.4375 5.625C18.4375 4.18944 18.1299 3.75 17.125 3.75C18.1292 3.75 18.4375 3.31056 18.4375 1.875C18.4375 3.31056 18.7451 3.75 19.75 3.75C18.7458 3.75 18.4375 4.18944 18.4375 5.625Z",stroke:"#ECB87D",strokeWidth:.375,strokeMiterlimit:10,strokeLinecap:"round"}),i.createElement("path",{d:"M17.125 3C17.125 2.5694 17.0373 2.4375 16.75 2.4375C17.0373 2.4375 17.125 2.3056 17.125 1.875C17.125 2.3056 17.2127 2.4375 17.5 2.4375C17.2127 2.4375 17.125 2.5694 17.125 3Z",stroke:"#ECB87D",strokeWidth:.375,strokeMiterlimit:10,strokeLinecap:"round"})),A1=e=>i.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("g",{opacity:.2},i.createElement("rect",{x:2.67438,y:4.71814,width:20.8256,height:14.0034,rx:.9192,fill:"#95C1B7"}),i.createElement("rect",{x:1.40771,y:6.06409,width:21.0035,height:13.6239,rx:.9192,fill:"#95C1B7"})),i.createElement("path",{d:"M1.76672 5.43625V4.9192C1.76672 4.41154 2.17826 4 2.68592 4H21.6732C22.1808 4 22.5924 4.41154 22.5924 4.9192V17.0813C22.5924 17.5901 22.1791 18.0021 21.6703 18.0005L21.5 18",stroke:"#97C3B9",strokeWidth:.38}),i.createElement("rect",{x:.690061,y:5.53607,width:20.6235,height:13.2439,rx:.7292,stroke:"#97C3B9",strokeWidth:.38}),i.createElement("path",{d:"M3.87793 15.5109L18.1255 15.5109",stroke:"#EEBA7D",strokeWidth:.2298,strokeLinecap:"round"}),i.createElement("path",{d:"M0.689514 8.30872C8.75232 8.30872 13.2728 8.30872 21.3356 8.30872",stroke:"#97C3B9",strokeWidth:.38,strokeLinecap:"square"}),i.createElement("path",{d:"M4.49109 11.6229L4.07109 11.0133H4.32549L4.60869 11.4213C4.61029 11.4245 4.61909 11.4389 4.63509 11.4645H4.63989C4.64309 11.4597 4.64629 11.4541 4.64949 11.4477C4.65269 11.4397 4.65829 11.4301 4.66629 11.4189L4.94709 11.0133H5.18709L4.76229 11.6325L5.19189 12.2517H4.93749L4.64709 11.8317C4.64389 11.8269 4.63429 11.8109 4.61829 11.7837H4.61349C4.60869 11.7965 4.60069 11.8117 4.58949 11.8293L4.29669 12.2517H4.05909L4.49109 11.6229ZM5.68406 11.6229L5.26406 11.0133H5.51846L5.80166 11.4213C5.80326 11.4245 5.81206 11.4389 5.82806 11.4645H5.83286C5.83606 11.4597 5.83926 11.4541 5.84246 11.4477C5.84566 11.4397 5.85126 11.4301 5.85926 11.4189L6.14006 11.0133H6.38006L5.95526 11.6325L6.38486 12.2517H6.13046L5.84006 11.8317C5.83686 11.8269 5.82726 11.8109 5.81126 11.7837H5.80646C5.80166 11.7965 5.79366 11.8117 5.78246 11.8293L5.48966 12.2517H5.25206L5.68406 11.6229ZM6.87703 11.6229L6.45703 11.0133H6.71143L6.99463 11.4213C6.99623 11.4245 7.00503 11.4389 7.02103 11.4645H7.02583C7.02903 11.4597 7.03223 11.4541 7.03543 11.4477C7.03863 11.4397 7.04423 11.4301 7.05223 11.4189L7.33303 11.0133H7.57303L7.14823 11.6325L7.57783 12.2517H7.32343L7.03303 11.8317C7.02983 11.8269 7.02023 11.8109 7.00423 11.7837H6.99943C6.99463 11.7965 6.98663 11.8117 6.97543 11.8293L6.68263 12.2517H6.44503L6.87703 11.6229ZM8.33702 11.5077H8.92262V11.6949H8.33702V11.5077ZM10.1161 11.6229L9.69609 11.0133H9.95049L10.2337 11.4213C10.2353 11.4245 10.2441 11.4389 10.2601 11.4645H10.2649C10.2681 11.4597 10.2713 11.4541 10.2745 11.4477C10.2777 11.4397 10.2833 11.4301 10.2913 11.4189L10.5721 11.0133H10.8121L10.3873 11.6325L10.8169 12.2517H10.5625L10.2721 11.8317C10.2689 11.8269 10.2593 11.8109 10.2433 11.7837H10.2385C10.2337 11.7965 10.2257 11.8117 10.2145 11.8293L9.92169 12.2517H9.68409L10.1161 11.6229ZM11.3091 11.6229L10.8891 11.0133H11.1435L11.4267 11.4213C11.4283 11.4245 11.4371 11.4389 11.4531 11.4645H11.4579C11.4611 11.4597 11.4643 11.4541 11.4675 11.4477C11.4707 11.4397 11.4763 11.4301 11.4843 11.4189L11.7651 11.0133H12.0051L11.5803 11.6325L12.0099 12.2517H11.7555L11.4651 11.8317C11.4619 11.8269 11.4523 11.8109 11.4363 11.7837H11.4315C11.4267 11.7965 11.4187 11.8117 11.4075 11.8293L11.1147 12.2517H10.8771L11.3091 11.6229ZM12.769 11.5077H13.3546V11.6949H12.769V11.5077ZM14.5481 11.6229L14.1281 11.0133H14.3825L14.6657 11.4213C14.6673 11.4245 14.6761 11.4389 14.6921 11.4645H14.6969C14.7001 11.4597 14.7033 11.4541 14.7065 11.4477C14.7097 11.4397 14.7153 11.4301 14.7233 11.4189L15.0041 11.0133H15.2441L14.8193 11.6325L15.2489 12.2517H14.9945L14.7041 11.8317C14.7009 11.8269 14.6913 11.8109 14.6753 11.7837H14.6705C14.6657 11.7965 14.6577 11.8117 14.6465 11.8293L14.3537 12.2517H14.1161L14.5481 11.6229ZM15.7411 11.6229L15.3211 11.0133H15.5755L15.8587 11.4213C15.8603 11.4245 15.8691 11.4389 15.8851 11.4645H15.8899C15.8931 11.4597 15.8963 11.4541 15.8995 11.4477C15.9027 11.4397 15.9083 11.4301 15.9163 11.4189L16.1971 11.0133H16.4371L16.0123 11.6325L16.4419 12.2517H16.1875L15.8971 11.8317C15.8939 11.8269 15.8843 11.8109 15.8683 11.7837H15.8635C15.8587 11.7965 15.8507 11.8117 15.8395 11.8293L15.5467 12.2517H15.3091L15.7411 11.6229ZM16.9341 11.6229L16.5141 11.0133H16.7685L17.0517 11.4213C17.0533 11.4245 17.0621 11.4389 17.0781 11.4645H17.0829C17.0861 11.4597 17.0893 11.4541 17.0925 11.4477C17.0957 11.4397 17.1013 11.4301 17.1093 11.4189L17.3901 11.0133H17.6301L17.2053 11.6325L17.6349 12.2517H17.3805L17.0901 11.8317C17.0869 11.8269 17.0773 11.8109 17.0613 11.7837H17.0565C17.0517 11.7965 17.0437 11.8117 17.0325 11.8293L16.7397 12.2517H16.5021L16.9341 11.6229ZM18.127 11.6229L17.707 11.0133H17.9614L18.2446 11.4213C18.2462 11.4245 18.255 11.4389 18.271 11.4645H18.2758C18.279 11.4597 18.2822 11.4541 18.2854 11.4477C18.2886 11.4397 18.2942 11.4301 18.3022 11.4189L18.583 11.0133H18.823L18.3982 11.6325L18.8278 12.2517H18.5734L18.283 11.8317C18.2798 11.8269 18.2702 11.8109 18.2542 11.7837H18.2494C18.2446 11.7965 18.2366 11.8117 18.2254 11.8293L17.9326 12.2517H17.695L18.127 11.6229Z",fill:"#EEBA7D"})),R1=e=>i.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M13.9996 0.733765H4.5992C3.60195 0.733765 2.64554 1.12992 1.94037 1.83509C1.23521 2.54025 0.83905 3.49666 0.83905 4.49391V9.1941C0.83905 10.1914 1.23521 11.1478 1.94037 11.8529C2.64554 12.5581 3.60195 12.9542 4.5992 12.9542H5.53924V16.7144L9.7694 12.9542H13.9996C14.9968 12.9542 15.9532 12.5581 16.6584 11.8529C17.3636 11.1478 17.7597 10.1914 17.7597 9.1941V4.49391C17.7597 3.49666 17.3636 2.54025 16.6584 1.83509C15.9532 1.12992 14.9968 0.733765 13.9996 0.733765Z",stroke:"#97C3B9",strokeWidth:.375,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{opacity:.2,d:"M14.9111 1.64539H5.51076C4.51351 1.64539 3.5571 2.04154 2.85193 2.74671C2.14677 3.45187 1.75061 4.40828 1.75061 5.40553V10.1057C1.75061 11.103 2.14677 12.0594 2.85193 12.7645C3.5571 13.4697 4.51351 13.8659 5.51076 13.8659H6.4508V17.626L10.681 13.8659H14.9111C15.9084 13.8659 16.8648 13.4697 17.57 12.7645C18.2751 12.0594 18.6713 11.103 18.6713 10.1057V5.40553C18.6713 4.40828 18.2751 3.45187 17.57 2.74671C16.8648 2.04154 15.9084 1.64539 14.9111 1.64539Z",fill:"#97C3B9"}),i.createElement("path",{opacity:.2,d:"M14.3873 12.6124H20.6542C21.3191 12.6124 21.9567 12.8765 22.4268 13.3466C22.8969 13.8168 23.161 14.4544 23.161 15.1192V18.2527C23.161 18.9175 22.8969 19.5551 22.4268 20.0252C21.9567 20.4953 21.3191 20.7594 20.6542 20.7594H20.0276V23.2662L17.2074 20.7594H14.3873C13.7225 20.7594 13.0849 20.4953 12.6148 20.0252C12.1447 19.5551 11.8806 18.9175 11.8806 18.2527V15.1192C11.8806 14.4544 12.1447 13.8168 12.6148 13.3466C13.0849 12.8765 13.7225 12.6124 14.3873 12.6124Z",fill:"#97C3B9"}),i.createElement("path",{d:"M11.1794 15.7744V17.1845C11.1794 17.8078 11.427 18.4055 11.8678 18.8463C12.3085 19.287 12.9063 19.5346 13.5295 19.5346H15.8796L18.6997 22.3547V19.5346H20.1098C20.7331 19.5346 21.3308 19.287 21.7716 18.8463C22.2123 18.4055 22.4599 17.8078 22.4599 17.1845V14.3644C22.4599 13.7411 22.2123 13.1433 21.7716 12.7026C21.3308 12.2619 20.7331 12.0143 20.1098 12.0143H19.6398",stroke:"#97C3B9",strokeWidth:.375,strokeLinecap:"round",strokeLinejoin:"round"}),i.createElement("path",{d:"M13.7386 8.59765H13.203C13.2606 7.01941 14.1015 5.99413 14.7063 5.06677H12.5636V4.66357H15.1326V5.06677C14.5796 5.97109 13.8596 6.81205 13.7386 8.59765Z",fill:"#EEBA7D"}),i.createElement("path",{d:"M12.1762 8.59765H11.652L10.932 7.50901L10.2005 8.59765H9.6994L10.6844 7.14613L9.71092 5.71765H10.212L10.9378 6.77749L11.652 5.71765H12.1589L11.1797 7.14037L12.1762 8.59765Z",fill:"#EEBA7D"}),i.createElement("path",{d:"M8.98761 8.59765H8.54409V7.72789H6.69513V7.20949L8.34825 4.66357H8.98761V7.33621H9.48297V7.72789H8.98761V8.59765ZM8.54409 7.33621V5.03797H8.53257L7.06953 7.33621H8.54409Z",fill:"#EEBA7D"}),i.createElement("path",{d:"M6.05249 8.59764H3.46625C3.67937 7.1058 5.61473 6.85812 5.61473 5.82132C5.61473 5.41812 5.30945 5.0034 4.84289 5.0034C4.23809 5.0034 4.00769 5.493 3.92705 6.1266L3.50081 5.99988C3.56417 5.18772 4.06529 4.60596 4.86017 4.60596C5.57441 4.60596 6.08705 5.13588 6.08705 5.79828C6.08705 6.97908 4.39361 7.35348 4.11137 8.19444H6.05249V8.59764Z",fill:"#EEBA7D"})),N1=e=>i.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},i.createElement("path",{d:"M17.3326 20.625C15.6158 21.733 13.5708 22.376 11.3755 22.376C5.3001 22.376 0.375 17.4509 0.375 11.3755C0.375 5.3001 5.3001 0.375 11.3755 0.375C17.4509 0.375 22.376 5.3001 22.376 11.3755C22.376 13.0029 22.0226 14.5477 21.3884 15.9375",stroke:"#95C1B7",strokeWidth:.375,strokeMiterlimit:10}),i.createElement("path",{opacity:.2,d:"M12.0686 23.0691C18.144 23.0691 23.0691 18.144 23.0691 12.0686C23.0691 5.99321 18.144 1.06812 12.0686 1.06812C5.99321 1.06812 1.06812 5.99321 1.06812 12.0686C1.06812 18.144 5.99321 23.0691 12.0686 23.0691Z",fill:"#97C3B9"}),i.createElement("path",{d:"M11.7635 2.83984C6.80818 2.83984 2.77576 6.87227 2.77576 11.8276",stroke:"#ECB87D",strokeWidth:.375,strokeMiterlimit:10,strokeLinecap:"round"}),i.createElement("path",{d:"M11.8365 7.84417V6.58032",stroke:"#95C1B7",strokeWidth:.375,strokeMiterlimit:10,strokeLinecap:"round"}),i.createElement("path",{d:"M11.8365 17.0936V15.8827",stroke:"#95C1B7",strokeWidth:.375,strokeMiterlimit:10,strokeLinecap:"round"}),i.createElement("path",{d:"M9.02765 13.2004C9.02765 13.7975 9.16823 14.4155 9.52456 14.9054C9.91012 15.4357 10.5184 15.7183 11.1517 15.8269C11.7433 15.9271 12.3585 15.8881 12.9417 15.7517C14.1457 15.4705 15.0226 14.2387 14.4839 13.0111C14.1638 12.2789 13.3913 11.9504 12.6396 11.8794C12.0954 11.8279 11.54 11.8238 10.9972 11.7458C10.5393 11.6804 10.0827 11.5273 9.75144 11.1932C9.42017 10.8592 9.23504 10.3553 9.25175 9.86813C9.27541 9.14434 9.69298 8.53191 10.3388 8.21455C11.0153 7.88328 11.8379 7.86658 12.5673 7.99324C13.0475 8.07675 13.5179 8.2758 13.8534 8.62934C14.2751 9.07197 14.4143 9.67884 14.4352 10.2732",stroke:"#95C1B7",strokeWidth:.375,strokeMiterlimit:10,strokeLinecap:"round"}),i.createElement("path",{d:"M19.274 21.2979C21.0131 21.2979 22.4229 19.8881 22.4229 18.149C22.4229 16.4098 21.0131 15 19.274 15C17.5348 15 16.125 16.4098 16.125 18.149C16.125 19.8881 17.5348 21.2979 19.274 21.2979Z",fill:"white",stroke:"#ECB87D",strokeWidth:.375,strokeMiterlimit:10,strokeLinecap:"round"}),i.createElement("path",{d:"M19.6256 16.3293L18.1478 18.1089C18.1363 18.1221 18.1289 18.1382 18.1266 18.1553C18.1242 18.1723 18.1269 18.1897 18.1344 18.2053C18.1419 18.221 18.1539 18.2342 18.1689 18.2435C18.184 18.2529 18.2014 18.2578 18.2193 18.2579H18.8756V19.7043L20.3534 17.9248C20.365 17.9116 20.3724 17.8955 20.3749 17.8784C20.3773 17.8613 20.3746 17.8439 20.3671 17.8282C20.3595 17.8125 20.3475 17.7993 20.3324 17.79C20.3173 17.7807 20.2998 17.7758 20.2819 17.7758H19.6256V16.3293Z",stroke:"#ECB87D",strokeWidth:.375,strokeLinecap:"round",strokeLinejoin:"round"})),F1="https://storage.googleapis.com/zeni-apis.appspot.com/images/cfo-person.png",O1="https://storage.googleapis.com/zeni-apis.appspot.com/images/tax-person.png",q1="https://storage.googleapis.com/zeni-apis.appspot.com/images/payroll-person.png",U1="https://storage.googleapis.com/zeni-apis.appspot.com/images/team-person-1.png",Y1="https://storage.googleapis.com/zeni-apis.appspot.com/images/team-person-2.png",b={itemMarginBottom:new m(a[2],a[5]),itemMarginRight:new m(a[0],a[0],a[0],a[5]),itemPaddingTop:new m(a[3],a[4]),titleMarginBottom:new m(a[1],a[3]),titleMarginRight:new m(a[3],a[3]),totalItemsMarginBottom:new m(a[4],a[5])},A={title:new w("standardRegular","largeRegular"),titleSpan:new w("tinyRegular","extraSmallRegular"),content:new w("extraSmallRegular","standardRegular")},Q1=o.div`
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-wrap: wrap;
|
|
4
|
-
justify-content: space-between;
|
|
5
|
-
margin-bottom: ${e=>b.totalItemsMarginBottom.valuePx(e.windowSize)};
|
|
6
|
-
`,r1=o.div`
|
|
7
|
-
display: flex;
|
|
8
|
-
align-items: center;
|
|
9
|
-
justify-content: space-between;
|
|
10
|
-
flex: 1 1 auto;
|
|
11
|
-
width: calc(50% - 96px);
|
|
12
|
-
min-width: 290px;
|
|
13
|
-
margin-bottom: ${e=>b.itemMarginBottom.valuePx(e.windowSize)};
|
|
14
|
-
padding: ${e=>b.itemPaddingTop.valuePx(e.windowSize)} ${r.sp4};
|
|
15
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
16
|
-
border-radius: ${r.sp2};
|
|
17
|
-
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
18
|
-
box-shadow: ${e=>`${r.sp0} 1px 2px ${r.sp0} ${e.theme.colors.dropShadowNormal}`};
|
|
19
|
-
|
|
20
|
-
&:nth-child(odd) {
|
|
21
|
-
margin-right: ${e=>b.itemMarginRight.valuePx(e.windowSize)};
|
|
22
|
-
}
|
|
23
|
-
`,o1=o.div`
|
|
24
|
-
display: flex;
|
|
25
|
-
align-items: flex-start;
|
|
26
|
-
justify-content: space-between;
|
|
27
|
-
flex-direction: column;
|
|
28
|
-
margin-right: ${e=>b.titleMarginRight.valuePx(e.windowSize)};
|
|
29
|
-
`,n1=o.div`
|
|
30
|
-
display: flex;
|
|
31
|
-
align-items: center;
|
|
32
|
-
justify-content: flex-start;
|
|
33
|
-
margin-bottom: ${e=>b.titleMarginBottom.valuePx(e.windowSize)};
|
|
34
|
-
`,s1=o(u)`
|
|
35
|
-
${e=>`${A.title.style(e.windowSize)}`};
|
|
36
|
-
color: ${e=>e.theme.colors.primary};
|
|
37
|
-
`,a1=o(u)`
|
|
38
|
-
${e=>`${A.titleSpan.style(e.windowSize)}`};
|
|
39
|
-
border: 1px solid ${p.brandColorGold};
|
|
40
|
-
border-radius: ${r.sp1};
|
|
41
|
-
color: ${p.brandColorGold};
|
|
42
|
-
padding: 1px 6px;
|
|
43
|
-
margin-left: ${r.sp2};
|
|
44
|
-
`,l1=o(u)`
|
|
45
|
-
${e=>`${A.content.style(e.windowSize)}`};
|
|
46
|
-
color: ${e=>e.theme.colors.hero};
|
|
47
|
-
`,G1=o(R1)`
|
|
48
|
-
width: ${r.sp9};
|
|
49
|
-
height: ${r.sp9};
|
|
50
|
-
flex-shrink: 0;
|
|
51
|
-
`,J1=o(_1)`
|
|
52
|
-
width: ${r.sp9};
|
|
53
|
-
height: ${r.sp9};
|
|
54
|
-
flex-shrink: 0;
|
|
55
|
-
`,K1=o(Z1)`
|
|
56
|
-
width: ${r.sp9};
|
|
57
|
-
height: ${r.sp9};
|
|
58
|
-
flex-shrink: 0;
|
|
59
|
-
`,X1=o(N1)`
|
|
60
|
-
width: ${r.sp9};
|
|
61
|
-
height: ${r.sp9};
|
|
62
|
-
flex-shrink: 0;
|
|
63
|
-
`,ee=o(T1)`
|
|
64
|
-
width: ${r.sp9};
|
|
65
|
-
height: ${r.sp9};
|
|
66
|
-
flex-shrink: 0;
|
|
67
|
-
`,te=o(A1)`
|
|
68
|
-
width: ${r.sp9};
|
|
69
|
-
height: ${r.sp9};
|
|
70
|
-
flex-shrink: 0;
|
|
71
|
-
`,ie=o.div`
|
|
72
|
-
display: flex;
|
|
73
|
-
gap: ${r.sp3};
|
|
74
|
-
`,D=o.div`
|
|
75
|
-
display: flex;
|
|
76
|
-
flex-direction: column;
|
|
77
|
-
align-items: center;
|
|
78
|
-
`,re=o.div`
|
|
79
|
-
display: flex;
|
|
80
|
-
`,oe=o.div`
|
|
81
|
-
display: flex;
|
|
82
|
-
`,W=o(P1)`
|
|
83
|
-
color: ${e=>e.theme.colors.primary};
|
|
84
|
-
`,S=I1`
|
|
85
|
-
width: ${r.sp7};
|
|
86
|
-
height: ${r.sp7};
|
|
87
|
-
border-radius: 50%;
|
|
88
|
-
`,ne=o.img`
|
|
89
|
-
${S}
|
|
90
|
-
`,se=o.img`
|
|
91
|
-
${S}
|
|
92
|
-
`,ae=o.img`
|
|
93
|
-
${S}
|
|
94
|
-
`,le=o.img`
|
|
95
|
-
${S}
|
|
96
|
-
`,de=o.img`
|
|
97
|
-
margin-left: -${r.sp4};
|
|
98
|
-
${S}
|
|
99
|
-
`,g=f.getLocalizedStrings().rewardsPage.inviteEmailTemplate,ce=e=>{switch(e){case"AI-Powered Bookkeeping":return t.jsx(K1,{});case"Bill Payments":return t.jsx(J1,{});case"Employee Reimbursements":return t.jsx(X1,{});case"Business Checking Accounts":return t.jsx(ee,{});case"Business Credit Cards":return t.jsx(te,{});case"Comprehensive Financial Services":return t.jsx(G1,{});default:return null}},E=(e,n,s)=>{const d=s!=null?e.title.replace(s.key,s.value):e.title;return t.jsxs(r1,{windowSize:n,children:[t.jsxs(o1,{windowSize:n,children:[t.jsxs(n1,{windowSize:n,children:[t.jsx(s1,{windowSize:n,children:e.key}),e.tag!=null?t.jsx(a1,{windowSize:n,children:e.tag}):null]}),t.jsx(l1,{windowSize:n,children:d})]}),ce(e.key)]})},me=(e,n)=>t.jsxs(r1,{windowSize:n,style:{marginRight:r.sp0},children:[t.jsxs(o1,{windowSize:n,children:[t.jsxs(n1,{windowSize:n,children:[t.jsx(s1,{windowSize:n,children:e.key}),e.tag!=null?t.jsx(a1,{windowSize:n,children:e.tag}):null]}),t.jsx(l1,{style:{maxWidth:"280px"},windowSize:n,children:e.title})]}),t.jsxs(ie,{children:[n!=="small"?t.jsxs(oe,{children:[t.jsxs(D,{children:[t.jsx(ne,{src:F1}),t.jsx(W,{children:g.person1})]}),t.jsxs(D,{children:[t.jsx(se,{src:O1}),t.jsx(W,{children:g.person2})]}),t.jsxs(D,{children:[t.jsx(ae,{src:q1}),t.jsx(W,{children:g.person3})]})]}):null,t.jsxs(D,{children:[t.jsxs(re,{children:[t.jsx(le,{src:U1}),t.jsx(de,{src:Y1})]}),t.jsx(W,{children:g.person4})]})]})]});function pe({chargeCardCashbackRatePerTransaction:e,maxAnnualPercentageYield:n}){const s=L(),d={key:g.listItems.item5.key,title:g.listItems.item5.title.replace("__cashback__",(e*100).toFixed(2))};return t.jsxs(Q1,{windowSize:s,children:[E(g.listItems.item1,s),E(g.listItems.item2,s),E(g.listItems.item3,s),E(g.listItems.item4,s,{key:"__rate__",value:n.toString()}),E(d,s),E(g.listItems.item6,s),me(g.listItems.item7,s)]})}const v={detailMarginBottom:new m(a[3],a[5]),subTitleMarginBottom:new m(a[3],a[4]),logoMarginTop:new m(a[3],a[5]),logoMarginBottom:new m(a[3],a[2]),logoWidth:new m(65,102),bodyPadding:new m(a[3],a[5])},I={subjectText:new w("smallMedium","standardMedium"),title:new w("smallRegular","standardRegular"),getStarted:new w("smallRegular","largeMedium")},he=o.div`
|
|
100
|
-
display: flex;
|
|
101
|
-
flex-direction: column;
|
|
102
|
-
align-items: flex-start;
|
|
103
|
-
justify-content: space-between;
|
|
104
|
-
flex: 1 1 auto;
|
|
105
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
106
|
-
`,Ce=o.div`
|
|
107
|
-
display: flex;
|
|
108
|
-
flex-direction: column;
|
|
109
|
-
width: 100%;
|
|
110
|
-
padding: ${r.sp3} 0;
|
|
111
|
-
border: ${e=>`1px solid ${e.theme.colors.grey3}`};
|
|
112
|
-
border-radius: ${r.sp2};
|
|
113
|
-
background-color: ${e=>e.theme.colors.background};
|
|
114
|
-
margin-bottom: ${r.sp3};
|
|
115
|
-
`,Q=o.div`
|
|
116
|
-
display: flex;
|
|
117
|
-
padding: 0 ${r.sp3};
|
|
118
|
-
`,G=o(u)`
|
|
119
|
-
${e=>`${I.title.style(e.windowSize)}`};
|
|
120
|
-
color: ${e=>e.theme.colors.hero};
|
|
121
|
-
margin-right: ${r.sp1};
|
|
122
|
-
`,J=o(u)`
|
|
123
|
-
${e=>`${I.subjectText.style(e.windowSize)}`};
|
|
124
|
-
color: ${e=>e.theme.colors.primary};
|
|
125
|
-
`,ge=o.div`
|
|
126
|
-
padding: ${e=>v.bodyPadding.valuePx(e.windowSize)};
|
|
127
|
-
background-color: ${e=>e.theme.colors.background};
|
|
128
|
-
border-radius: 0 0 ${r.sp2} ${r.sp2};
|
|
129
|
-
`,ue=o(y1)`
|
|
130
|
-
color: ${e=>e.theme.mode==="light"?p.brandColorOnyx:p.brandColorPearl};
|
|
131
|
-
margin-bottom: ${r.sp4};
|
|
132
|
-
`,we=o(u)`
|
|
133
|
-
${e=>`${I.title.style(e.windowSize)}`};
|
|
134
|
-
color: ${e=>e.theme.mode==="light"?p.brandColorOnyx:p.brandColorPearl};
|
|
135
|
-
margin-bottom: ${e=>v.detailMarginBottom.valuePx(e.windowSize)};
|
|
136
|
-
display: flex;
|
|
137
|
-
align-items: center;
|
|
138
|
-
`,ke=o(u)`
|
|
139
|
-
${e=>`${I.getStarted.style(e.windowSize)}`};
|
|
140
|
-
color: ${e=>e.theme.colors.primary};
|
|
141
|
-
margin-right: ${r.sp1};
|
|
142
|
-
`,xe=o.div`
|
|
143
|
-
display: flex;
|
|
144
|
-
flex-direction: column;
|
|
145
|
-
align-items: center;
|
|
146
|
-
margin: auto;
|
|
147
|
-
gap: ${r.sp3};
|
|
148
|
-
`,Le=o(E1)`
|
|
149
|
-
color: ${e=>e.theme.colors.primary};
|
|
150
|
-
margin-bottom: ${e=>v.subTitleMarginBottom.valuePx(e.windowSize)};
|
|
151
|
-
`,$e=o(b1)`
|
|
152
|
-
color: ${e=>e.theme.colors.primary};
|
|
153
|
-
`,fe=o.div`
|
|
154
|
-
width: ${e=>v.logoWidth.valuePx(e.windowSize)};
|
|
155
|
-
margin-top: ${e=>v.logoMarginTop.valuePx(e.windowSize)};
|
|
156
|
-
margin-bottom: ${e=>v.logoMarginBottom.valuePx(e.windowSize)};
|
|
157
|
-
`,ye=o.div`
|
|
158
|
-
display: flex;
|
|
159
|
-
flex-wrap: wrap;
|
|
160
|
-
flex: 0 1 auto;
|
|
161
|
-
align-items: flex-start;
|
|
162
|
-
`,K=o.img`
|
|
163
|
-
width: 100%;
|
|
164
|
-
height: auto;
|
|
165
|
-
`,Ee=o(M1)`
|
|
166
|
-
color: ${p.neutralGrey5Light};
|
|
167
|
-
text-align: center;
|
|
168
|
-
background-color: ${e=>e.theme.colors.rewardsPromoColor2};
|
|
169
|
-
border: 1px solid ${e=>e.theme.colors.rewardsPromoColor2};
|
|
170
|
-
border-radius: ${r.sp1};
|
|
171
|
-
padding: ${r.sp2} ${r.sp3};
|
|
172
|
-
width: fit-content;
|
|
173
|
-
cursor: pointer;
|
|
174
|
-
`,Me=({companyLegalName:e,userName:n,rewardsPlan:s,chargeCardCashbackRatePerTransaction:d,maxAnnualPercentageYield:C})=>{const{rewardsPage:{inviteEmailTemplate:l},common:h}=f.getLocalizedStrings(),c=L();return t.jsxs(he,{windowSize:c,children:[t.jsxs(Ce,{children:[t.jsxs(Q,{children:[t.jsxs(G,{windowSize:c,children:[f1(h.from),h.strings.colon]}),t.jsx(J,{windowSize:c,children:l.fromEmail})]}),t.jsxs(Q,{children:[t.jsxs(G,{windowSize:c,children:[h.texts.subject,h.strings.colon]}),t.jsxs(J,{windowSize:c,children:[n,h.strings.space,l.title]})]})]}),s.planName==="PLAN_1000"?t.jsx(K,{src:"https://storage.googleapis.com/zeni-apis.appspot.com/images/rewards-email-header.png",alt:"rewards-email-promo",loading:"lazy"}):t.jsx(K,{src:"https://storage.googleapis.com/zeni-apis.appspot.com/images/rewards-email-header-4000.png",alt:"rewards-email-promo"}),t.jsxs(ge,{windowSize:c,children:[t.jsx(ue,{children:l.templateTitle.replace("__user-name__",n)}),t.jsx(we,{windowSize:c,children:l.content[s.planName].replace("__user-name__",n).replace("__company-name__",e).replace("__reward-amount__",t1("0,0",s.referrerAmount))}),t.jsx(Le,{windowSize:c,children:l.subTitle}),t.jsx(pe,{chargeCardCashbackRatePerTransaction:d,maxAnnualPercentageYield:C}),t.jsx(ye,{children:t.jsxs(xe,{windowSize:c,children:[t.jsx(ke,{windowSize:c,children:l.footer}),t.jsx(Ee,{onClick:()=>window.open(s.referralLink.toString(),"_blank"),children:l.getStarted})]})}),t.jsx(fe,{windowSize:c,children:t.jsx($e,{})})]})]})},be={width:new m(138,150)},{rewardsPage:{form:V},common:{labels:X,strings:ve}}=f.getLocalizedStrings(),je=(e,n)=>{const s=W1(n,e),d=e.split(".")[1];if(s&&n?.inviteeDetails[d].emailIds)switch(n?.inviteeDetails[d].emailIds.type){case"required":return V.sendEmailTo.invalidEmailMessage;case"validate":return V.sendEmailTo.duplicateEmail;default:return}},He=({sectionId:e,isEmptyInvitesSection:n,invitee:s})=>{const d=L(),{formState:{errors:C}}=j1(),l=n&&(s==null||!s.companyName&&!s.emailIds),h=!s?.companyName,c=(j,$)=>`${j}.${$}`;return t.jsxs(Se,{children:[t.jsx(H1,{text:{type:"text",name:c(e,"companyName"),placeholder:B1(X.companyName),options:{required:l===!0?!1:h,pattern:S1}},label:{label:`${X.companyName}`,width:be.width.value(d)},style:{wordBreak:"break-word",width:"100%"}}),t.jsx(ze,{}),t.jsx(Be,{windowSize:d,field:"email",children:t.jsx(z1,{label:`${V.sendEmailTo.label}${ve.colon}`,name:c(e,"emailIds"),placeholder:V.sendEmailTo.placeholder,registerOptions:{required:!0},style:{border:"none",outline:"none"},additionalInfoLabel:je(c(e,"emailIds"),C)})})]})},Se=o.div`
|
|
175
|
-
display: flex;
|
|
176
|
-
flex-direction: column;
|
|
177
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
178
|
-
border: 1px solid ${e=>e.theme.colors.grey3};
|
|
179
|
-
box-shadow: ${e=>`${r.sp0} 2px ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
180
|
-
border-radius: ${r.sp2};
|
|
181
|
-
margin-bottom: ${r.sp3};
|
|
182
|
-
`,Be=o.div`
|
|
183
|
-
background-color: ${e=>e.theme.colors.grey5};
|
|
184
|
-
border-radius: ${e=>e.field==="email"?`0 0 ${r.sp2} ${r.sp2}`:`${r.sp2} ${r.sp2} 0 0 `};
|
|
185
|
-
box-shadow: ${e=>`${r.sp0} 2px ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
|
|
186
|
-
padding-top: ${r.sp2};
|
|
187
|
-
padding-bottom: ${r.sp1};
|
|
188
|
-
display: flex;
|
|
189
|
-
align-items: center;
|
|
190
|
-
&:focus-within {
|
|
191
|
-
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
192
|
-
}
|
|
193
|
-
&:hover {
|
|
194
|
-
outline: 1px solid ${e=>e.theme.colors.primary};
|
|
195
|
-
}
|
|
196
|
-
`,ze=o.div`
|
|
197
|
-
display: flex;
|
|
198
|
-
flex: 1;
|
|
199
|
-
background-color: ${e=>e.theme.colors.grey3};
|
|
200
|
-
min-height: 1px;
|
|
201
|
-
max-height: 1px;
|
|
202
|
-
`,P={inviteeMargin:new m(12,a[3]),deleteConfirmationTextMarginBottom:new m(a[2],a[0]),buttonWidth:new m(70,70)},De={title:new w("standardMedium","largeMedium")},{rewardsPage:M,common:We}=f.getLocalizedStrings(),Ve=({curIndex:e,numberOfInvites:n,showDeleteConfirmation:s,setShowDeleteConfirmation:d,onRemoveInviteSection:C})=>{const l=L();return t.jsxs(Ae,{windowSize:l,children:[n>1?`#${e+1} ${M.form.invitee}`:We.strings.empty,s===e+1?t.jsxs(Oe,{windowSize:l,children:[t.jsx(qe,{windowSize:l,children:M.deleteConfirmation}),t.jsxs(Ue,{children:[t.jsx(Y,{label:M.cancel,onClick:()=>{d(0)},style:{width:P.buttonWidth.value(l),marginLeft:l==="small"?r.sp0:r.sp4,marginRight:r.sp3},size:"small",variant:"secondary"}),t.jsx(Y,{label:M.remove,onClick:()=>{d(0),C(e)},style:{width:P.buttonWidth.value(l)},size:"small",variant:"danger"})]})]}):e>0?t.jsx(Ye,{className:"deleteIconWrapper",onClick:()=>d(e+1),children:t.jsx(v1,{enterDelay:600,title:M.deleteReferral,placement:"top-end",children:t.jsx(Qe,{windowsize:l})})}):null]})},Pe=({onInviteSection:e,isSectionDisabled:n})=>{const s=L();return n!=null?t.jsx(_e,{}):t.jsxs(Re,{onClick:e,windowSize:s,children:[t.jsx(Ne,{}),t.jsx(Fe,{children:M.form.addInvitee})]})};function Ie({invites:e,sectionId:n,isDisabled:s,onUpdateInviteFormLocalData:d}){const C=e.length,[l,h]=i.useState(0),c=e.length===1&&!e[0].companyName,j=()=>{d([...e,{companyName:"",emailIds:[]}])},$=y=>{const k=[...e];k.splice(y,1),d(k)};return t.jsxs(Ze,{children:[e.map((y,k)=>{const Z=!y.companyName;return t.jsxs(Te,{children:[(C>1||Z)&&!c?t.jsx(Ve,{curIndex:k,numberOfInvites:C,showDeleteConfirmation:l,setShowDeleteConfirmation:h,onRemoveInviteSection:$}):null,t.jsx(He,{sectionId:`${n}.${k}`,invitee:y,isEmptyInvitesSection:c})]},`section_${n}.${k}`)}),C<=9&&!c?t.jsx(Pe,{isSectionDisabled:s,onInviteSection:j}):null]})}const Ze=o.div`
|
|
203
|
-
display: flex;
|
|
204
|
-
flex-direction: column;
|
|
205
|
-
width: 100%;
|
|
206
|
-
`,_e=o.div`
|
|
207
|
-
padding-bottom: ${r.sp4};
|
|
208
|
-
border: 1px solid black;
|
|
209
|
-
`,Te=o.div``,Ae=o(u)`
|
|
210
|
-
display: flex;
|
|
211
|
-
align-items: center;
|
|
212
|
-
justify-content: space-between;
|
|
213
|
-
color: ${e=>e.theme.mode==="light"?p.brandColorOnyx:p.brandColorPearl};
|
|
214
|
-
${e=>`${De.title.style(e.windowSize)}`};
|
|
215
|
-
margin: ${e=>P.inviteeMargin.valuePx(e.windowSize)} ${r.sp0};
|
|
216
|
-
`,Re=o.div`
|
|
217
|
-
padding-left: 0;
|
|
218
|
-
padding-right: 0;
|
|
219
|
-
width: fit-content;
|
|
220
|
-
display: flex;
|
|
221
|
-
align-items: center;
|
|
222
|
-
justify-content: ${e=>e.windowSize==="small"?"flex-end":"flex-start"};
|
|
223
|
-
color: ${e=>e.theme.colors.hero};
|
|
224
|
-
cursor: pointer;
|
|
225
|
-
&:hover {
|
|
226
|
-
svg {
|
|
227
|
-
color: ${e=>e.theme.colors.primary};
|
|
228
|
-
}
|
|
229
|
-
color: ${e=>e.theme.colors.primary};
|
|
230
|
-
}
|
|
231
|
-
`,Ne=o(V1)`
|
|
232
|
-
margin-right: ${r.sp2};
|
|
233
|
-
width: ${r.sp3};
|
|
234
|
-
height: ${r.sp3};
|
|
235
|
-
color: ${e=>e.theme.colors.hero};
|
|
236
|
-
`,Fe=o(i1)`
|
|
237
|
-
color: inherit;
|
|
238
|
-
`,Oe=o(i1)`
|
|
239
|
-
color: ${e=>e.theme.colors.hero};
|
|
240
|
-
display: flex;
|
|
241
|
-
align-items: center;
|
|
242
|
-
flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
|
|
243
|
-
`,qe=o.div`
|
|
244
|
-
margin-bottom: ${e=>P.deleteConfirmationTextMarginBottom.valuePx(e.windowSize)};
|
|
245
|
-
`,Ue=o.div``,Ye=o.div`
|
|
246
|
-
width: ${r.sp3};
|
|
247
|
-
height: ${r.sp3};
|
|
248
|
-
cursor: pointer;
|
|
249
|
-
`,Qe=o(D1)`
|
|
250
|
-
width: ${r.sp3};
|
|
251
|
-
height: ${r.sp3};
|
|
252
|
-
cursor: pointer;
|
|
253
|
-
color: ${e=>e.windowsize==="small"?p.important:e.theme.colors.hero};
|
|
254
|
-
&:hover {
|
|
255
|
-
color: ${p.important};
|
|
256
|
-
}
|
|
257
|
-
`,Ge={containerPaddingTop:new m(a[0],a[3])},Je={title:new w("standardMedium","largeMedium")},Ke="inviteeDetails",Xe=f.getLocalizedStrings().rewardsPage.form,e2=({inviteFormView:e,submitStatus:n,isDisabled:s,onDismissClick:d,onUpdateInviteFormLocalData:C})=>{const l=L(),h=$1(n.fetchState);return i.useEffect(()=>{h==="In-Progress"&&n.fetchState==="Completed"&&d()},[h,n.fetchState,d]),t.jsxs(t2,{windowSize:l,children:[e.length<2?t.jsx(i2,{windowSize:l,children:Xe.invitee}):null,t.jsx(Ie,{invites:e,sectionId:Ke,isDisabled:s,onUpdateInviteFormLocalData:C})]})},t2=o.div`
|
|
258
|
-
display: flex;
|
|
259
|
-
flex-direction: column;
|
|
260
|
-
padding-top: ${e=>Ge.containerPaddingTop.valuePx(e.windowSize)};
|
|
261
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
262
|
-
height: 100%;
|
|
263
|
-
width: 100%;
|
|
264
|
-
`,i2=o(u)`
|
|
265
|
-
${e=>`${Je.title.style(e.windowSize)}`};
|
|
266
|
-
color: ${e=>e.theme.mode==="light"?p.brandColorOnyx:p.brandColorPearl};
|
|
267
|
-
margin: ${r.sp3} ${r.sp0};
|
|
268
|
-
`,{rewardsPage:{form:{counterText:r2}}}=f.getLocalizedStrings(),d1={referralText:new w("extraSmallRegular","smallRegular"),referralAmount:new w("smallMedium","standardMedium")};function o2(e){const n=L();return t.jsxs(n2,{children:[t.jsx(s2,{windowSize:n,children:r2}),t.jsx(a2,{windowSize:n,children:t1("0,0",e.amount)})]})}const n2=o.div`
|
|
269
|
-
display: flex;
|
|
270
|
-
justify-content: center;
|
|
271
|
-
align-items: center;
|
|
272
|
-
padding-bottom: ${r.sp2};
|
|
273
|
-
`,s2=o(u)`
|
|
274
|
-
${e=>`${d1.referralText.style(e.windowSize)}`};
|
|
275
|
-
color: ${e=>e.theme.colors.champion};
|
|
276
|
-
`,a2=o(u)`
|
|
277
|
-
${e=>`${d1.referralAmount.style(e.windowSize)}`};
|
|
278
|
-
margin-left: ${r.sp1};
|
|
279
|
-
color: ${e=>e.theme.mode==="light"?e.theme.colors.brandColorSapphire:e.theme.colors.brandColorJade};
|
|
280
|
-
`,l2={title:new w("standardMedium","largeMedium")},T={buttonWidth:new m(125,125),containerWidth:new m(90,70)},e1=e=>`${e}_form`;function b2(e){const{inviteFormView:n,submitStatus:s,companyLegalName:d,userName:C,rewardsPlan:l,chargeCardCashbackRatePerTransaction:h,maxAnnualPercentageYield:c,isDisabled:j,onDismissClick:$,onSendClick:y,onUpdateInviteFormLocalData:k,onCancelClick:Z}=e,B=L(),c1=g1(),{rewardsPage:R,common:{footer:N}}=f.getLocalizedStrings(),F=i.useRef(null),H=u1({mode:"all",reValidateMode:"onChange",defaultValues:{inviteeDetails:n},values:{inviteeDetails:n}}),m1=n.length>1||n.length==1&&!!n[0].companyName&&n[0].emailIds.length>0;let O=0;n.forEach(x=>{x.companyName&&x.emailIds.length>0&&O++});const p1=()=>{Z(),$()},h1=async(x,z)=>{x.includes("companyName")||k(z.inviteeDetails)};i.useEffect(()=>{const x=H.watch((z,{name:U})=>{U!=null&&z!=null&&w1(()=>h1(U,z))});return()=>{x.unsubscribe()}});const C1=()=>{const x=H.getValues();k(x.inviteeDetails),y()},_=l.referrerAmount;let q=null;return m1&&(q=t.jsx(o2,{amount:{amount:O*_.amount,currencyCode:_.currencyCode,currencySymbol:_.currencySymbol}})),t.jsxs(d2,{children:[t.jsx(k1,{source:"InviteFormPage",rightSideComponent:q,title:R.referAndEarn,showBackButton:!0,backgroundColor:c1.colors.grey4,style:{zIndex:3},onBackClick:$,scrollableContent:F}),t.jsx(m2,{ref:F,children:t.jsxs(c2,{windowSize:B,children:[t.jsx(x1,{...H,children:t.jsx(C2,{children:t.jsx("form",{id:e1("referral_invite_page"),onSubmit:H.handleSubmit(C1),children:t.jsx(e2,{inviteFormView:n,submitStatus:s,isDisabled:j,onDismissClick:$,onUpdateInviteFormLocalData:k})})})}),t.jsxs(h2,{children:[t.jsx(p2,{windowSize:B,children:R.inviteEmailTemplate.heading}),t.jsx(Me,{companyLegalName:d,userName:C,rewardsPlan:l,chargeCardCashbackRatePerTransaction:h,maxAnnualPercentageYield:c})]})]})}),H.watch("inviteeDetails.0.companyName")?t.jsx(L1,{formId:e1("referral_invite_page"),style:{width:"100%"},cancelBtn:{label:N.cancel,style:{width:T.buttonWidth.value(B)},shouldResetOnCancel:!1,onClick:p1},primaryBtn:{label:N.send,style:{width:T.buttonWidth.value(B)},isDisabled:!1,isLoading:s.fetchState==="In-Progress"}}):null]})}const d2=o.div`
|
|
281
|
-
display: flex;
|
|
282
|
-
flex-direction: column;
|
|
283
|
-
align-items: center;
|
|
284
|
-
background-color: ${e=>e.theme.colors.grey4};
|
|
285
|
-
height: 100%;
|
|
286
|
-
width: 100%;
|
|
287
|
-
`,c2=o.div`
|
|
288
|
-
display: flex;
|
|
289
|
-
flex-direction: column;
|
|
290
|
-
align-items: center;
|
|
291
|
-
gap: ${r.sp5};
|
|
292
|
-
width: ${e=>T.containerWidth.valuePercentage(e.windowSize)};
|
|
293
|
-
`,m2=o.div`
|
|
294
|
-
display: flex;
|
|
295
|
-
flex-direction: column;
|
|
296
|
-
align-items: center;
|
|
297
|
-
height: 100%;
|
|
298
|
-
width: 100%;
|
|
299
|
-
overflow-y: auto;
|
|
300
|
-
`,p2=o(u)`
|
|
301
|
-
${e=>`${l2.title.style(e.windowSize)}`};
|
|
302
|
-
color: ${e=>e.theme.mode==="light"?p.brandColorOnyx:p.brandColorPearl};
|
|
303
|
-
margin: ${r.sp3} ${r.sp0};
|
|
304
|
-
`,h2=o.div``,C2=o.div`
|
|
305
|
-
display: flex;
|
|
306
|
-
flex-direction: column;
|
|
307
|
-
width: 100%;
|
|
308
|
-
|
|
309
|
-
form {
|
|
310
|
-
width: 100%;
|
|
311
|
-
}
|
|
312
|
-
`;export{b2 as default,e1 as uniqueName};
|