@zeniai/web-cockpit-ui 1.14.16-qa → 1.14.17-dev

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (258) hide show
  1. package/dist/assets/ACHDetailsPage-BwrF_fEr-DkyA5i2K.js +21 -0
  2. package/dist/assets/{AIPerformancePage-Do5bswa_-DAoOPzHS.js → AIPerformancePage-4oC8MJWN-DKgtdhwX.js} +44 -44
  3. package/dist/assets/{AccountInfoPage-BBhgLi_k-BDnk8wRY.js → AccountInfoPage-mOPytffA-CHwRigZs.js} +3 -3
  4. package/dist/assets/{AccountInfoPageContent-BJqXMkH6-270w5YXI.js → AccountInfoPageContent-VULusDEd-6lGswsvl.js} +14 -14
  5. package/dist/assets/{AccountReconDetailsDrawerPage-CV09UnoU-CHsOQmxO.js → AccountReconDetailsDrawerPage-89APlrhb-BX-kF9hA.js} +18 -18
  6. package/dist/assets/{AccountRow-TlJ0aU9H-BlwEdN_G.js → AccountRow-DJd-IAIl-CfLQe7at.js} +33 -33
  7. package/dist/assets/{AccountsPromoCardStack-D8Y5MNXA-CaIaUzET.js → AccountsPromoCardStack-DE39TpIu-DvYK9R7k.js} +33 -33
  8. package/dist/assets/{AddAddressForCardDrawer-DKJpGW7r-BpMaf86Y.js → AddAddressForCardDrawer-CKdcU_pi-IPZLStMw.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-1gMvHWq2-B8vVBjjQ.js → AddToWalletPage-DPXW2fbY-CNPYHMH9.js} +24 -24
  10. package/dist/assets/{AgingReportsPage-Bzn9xmRs-apdo7hGo.js → AgingReportsPage--CLUwcIa-DcSCN91R.js} +17 -17
  11. package/dist/assets/{AllUserItems-BPSpj-dO-ClBbyfzH.js → AllUserItems-CC9l-O5G-DJbAuU58.js} +11 -11
  12. package/dist/assets/ApAgingDetailPage-CsQ3DujX-DWGGqNtg.js +46 -0
  13. package/dist/assets/AppBasePage-CgHKYFmd-Bs3-qi9M.js +68 -0
  14. package/dist/assets/{AppDrawerContent-Cq8GkRBD-CRks4KWi.js → AppDrawerContent-Cofo0-5p-DYgesCt7.js} +19 -19
  15. package/dist/assets/{ApprovalRulesSettingsPage-zKh1CLv3-3l0xvat6.js → ApprovalRulesSettingsPage-DsshEbzW-DLpKueGV.js} +7 -7
  16. package/dist/assets/{ArAgingChart-Bs2fblA6-_eY76mOu.js → ArAgingChart-K2LSe8mo-CcrD54Kp.js} +1 -1
  17. package/dist/assets/{ArAgingDetailPage-BWsV1tQP-BBPHFjg6.js → ArAgingDetailPage-DCFL9YAy-Cw3hCUfd.js} +4 -4
  18. package/dist/assets/{AttachmentView-BDkq5i_5-BDwPiUBQ.js → AttachmentView-Cn3VnVyO-BPJCq-4t.js} +9 -9
  19. package/dist/assets/{BankAccountSection-DL-Qgypb-DCyiZiMb.js → BankAccountSection-Au9_D0Ji-bmPPOv5B.js} +8 -8
  20. package/dist/assets/{BankAccountWarningSection-PFOmZUmz-jyv_7HW8.js → BankAccountWarningSection-927iR_QB-BLBTF_Hr.js} +7 -7
  21. package/dist/assets/{BankConnectionsSettingsPage-BiPEOltR-BEX0B3Xt.js → BankConnectionsSettingsPage-CXab8fzD-0RsCLwrp.js} +49 -49
  22. package/dist/assets/{BillDetailPage-nUoy5Pib-B9OAwnY8.js → BillDetailPage-yIdrE7YG-CO1_hc0X.js} +21 -21
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-uCd9CD_--CPg3Wdw0.js → BillPayApprovalRuleDetailPage-BJl_-eJN-DcYLdRk3.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-BsvzOO92-CCSqA2Ff.js → BillPayApprovalRulesPage-rXaFCSLp-DOP05VDc.js} +8 -8
  25. package/dist/assets/{BillPayPromoPage-D9tHxFrw-BDsnH40Y.js → BillPayPromoPage-BLi_wIbj-CZGLSHx_.js} +10 -10
  26. package/dist/assets/{BillPaySetUpPage-Ci__X7jC-BU_eTkYb.js → BillPaySetUpPage-BFmpWT_x-zTzNnL_X.js} +2 -2
  27. package/dist/assets/{BillingSettingsPage-JcOqMK9G-C2bvM8Au.js → BillingSettingsPage-Da01aYql-DLGfaRzo.js} +5 -5
  28. package/dist/assets/{BillsBulkReviewDrawerPage-FeZEMsS6-CjecTcPw.js → BillsBulkReviewDrawerPage-J2kO9_8C-B_ZetdEJ.js} +1 -1
  29. package/dist/assets/{BoxItem-BcQH7ATF-CU__oRAt.js → BoxItem-CQlEDklH-QYh8SK8x.js} +4 -4
  30. package/dist/assets/BusinessVerificationPage-DWhXCuG5-BlJy48X_.js +140 -0
  31. package/dist/assets/{CardNumberSubText-CRythvN3-DSiQJr5y.js → CardNumberSubText-BTjxrF3b-CNbVWSfp.js} +1 -1
  32. package/dist/assets/{CashbackDetailPage-CDa_GOsq-CJAMDrPJ.js → CashbackDetailPage-qcMtGUQ0-ClM0O4ek.js} +22 -22
  33. package/dist/assets/{ChargeCardDetailPage-BVxvmvYF-wsGLJRVi.js → ChargeCardDetailPage-BurpUHl9-ks5Ylh0a.js} +32 -32
  34. package/dist/assets/{ChargeCardListPage-Dk_9p-sM-DVvAu4yD.js → ChargeCardListPage-CBIYOllB-hsormxMA.js} +22 -22
  35. package/dist/assets/{ChargeCardListTable-DLAZTf8n-BSGVLMaS.js → ChargeCardListTable-BTZu7ldI-Dtf0dVvX.js} +104 -104
  36. package/dist/assets/ChargeCardPromoPage-us_v89rV-C0HHgs2t.js +222 -0
  37. package/dist/assets/{ChargeCardSetupPage-QPLpJN2z-gogu-vKD.js → ChargeCardSetupPage-QOdjFcsr-C35vd8Nk.js} +3 -3
  38. package/dist/assets/{ChargeCardStatementsPage-DwJYJjcf-B6wqaac-.js → ChargeCardStatementsPage-C1UmjyIW-CQoBe4qC.js} +8 -8
  39. package/dist/assets/{ChargeCardUtils-BbByGmi9-idcYoFNG.js → ChargeCardUtils-C3fhOMpV-CuPIdUk0.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-CvXMdD8r-DVeLI7lR.js → ChaseOverlay-RPex2o5e-Smu9780P.js} +6 -6
  41. package/dist/assets/CheckDepositDrawerPage-XZJ1F0aC-kws9zCak.js +206 -0
  42. package/dist/assets/{CollapsableReportTable-BptltmMq-BOVY7pY_.js → CollapsableReportTable-Ds0h8x1N-DplOjSEj.js} +93 -93
  43. package/dist/assets/{CompanyOfficerDetailsSection-DTbhxCCJ-DSPRT4ko.js → CompanyOfficerDetailsSection-B8yGAFVj-BXFGaLke.js} +24 -24
  44. package/dist/assets/{CompanyPassportCard-CRgbazO4-BVLaJrBi.js → CompanyPassportCard-BDei9Pfp-eYqW_Kg9.js} +6 -6
  45. package/dist/assets/{CompanyPassportPage-wdWKvOuO-uEEF_NAz.js → CompanyPassportPage-DFA733vS-D6CEIM7b.js} +32 -32
  46. package/dist/assets/CompleteProfile-BpX6H4vJ-BVnH0M9g.js +52 -0
  47. package/dist/assets/ConfettiBurst-97CCPVCH-9-b-8JXj.js +1 -0
  48. package/dist/assets/{CreateOrEditVendorPage-DTbrZv48-DfbqQuzn.js → CreateOrEditVendorPage-BSi6pOXN-DT6XT0bI.js} +10 -10
  49. package/dist/assets/{CreditCardPaymentDrawerPage-CGGM52ND-DRUZYfAF.js → CreditCardPaymentDrawerPage-ZletyeGG-umQmaf0k.js} +17 -17
  50. package/dist/assets/{CreditCardPaymentPlgSection-BS99Rbz7-CTrSYAEg.js → CreditCardPaymentPlgSection-BE982atG-B6gcx6zm.js} +13 -14
  51. package/dist/assets/{CurrencySelectField-Cz1ZFZNL-rp7RZiQz.js → CurrencySelectField-cnP09xH2-COp3JBgC.js} +5 -5
  52. package/dist/assets/{CustomerOnboardingActivationPage-Bw2z91CF-CXbTMafe.js → CustomerOnboardingActivationPage-DhcKiTJ_-B4Bo0l5a.js} +9 -9
  53. package/dist/assets/CustomerOnboardingContainerPage-C1higvpq-CPTgkuej.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-BY4rv3eB-6NFXmXrK.js → CustomerOnboardingDetailPageSkeleton-jguCmaVx-CPLJBFIe.js} +9 -9
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-ByTpLszW-OlEfdwKj.js → CustomerOnboardingNoStepsPage-xakP7IDr-j9vb9__e.js} +2 -2
  56. package/dist/assets/{CustomerOnboardingPage-eyRDjOy--DJuua0xj.js → CustomerOnboardingPage-Ct5YbyHs-BO0Sy5Lx.js} +9 -9
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-C_GOhUsC-DsH2SPww.js → CustomerOnboardingProductSuitePage-CugfvMkw-B6aWX1Xf.js} +11 -11
  58. package/dist/assets/{Dashboard-DXTfxwrE-CisGpCCo.js → Dashboard-XbVGCnvI-Cwm6wdq7.js} +260 -242
  59. package/dist/assets/{DashboardReportPage-C7LmV0rQ-D73sqjmR.js → DashboardReportPage-OeEPg2kx-DUWAiMA5.js} +21 -21
  60. package/dist/assets/{DepositAccTransactionItem-BH6np-wq-C9S2eFCv.js → DepositAccTransactionItem-Dy6qzuSL-bj1K9hi4.js} +10 -10
  61. package/dist/assets/DepositAccTransactionListPage-BisaE6sH-CXEjoVG5.js +66 -0
  62. package/dist/assets/{DomesticWireDetailsPage-DhM2CLtr-s-sXaI-h.js → DomesticWireDetailsPage-B0tbjNLO-ByvPg7x-.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-CwqxQGbr-Ae7vpc4V.js → DownloadOverlay-BKKO1nm1-BQ5P_IH7.js} +15 -15
  64. package/dist/assets/{DrawerPage-C3k5XFW6-BcQ5z47A.js → DrawerPage-osM8gPVn-2LgFt42m.js} +10 -10
  65. package/dist/assets/EditPeoplePage-ixJkT03_-nZc9QeAd.js +55 -0
  66. package/dist/assets/{EditReimbursementDetailPage-DXLAtkkp-DnXcCwZz.js → EditReimbursementDetailPage-DvLeCixY-TeZdMP4Z.js} +23 -23
  67. package/dist/assets/{EntityDetailPage-_060OpVJ-D5TJErzM.js → EntityDetailPage-BzJbAOSj-9yzQeWus.js} +3 -3
  68. package/dist/assets/{EntitySummarySection-0QXWkpbX-D_GUS2WS.js → EntitySummarySection-Drj07P9h-6nsX9189.js} +13 -13
  69. package/dist/assets/{ExpenseAutomationOverviewPage-GPO42_rS-DQOlB6qp.js → ExpenseAutomationOverviewPage-BQ9dwGkq-BSO9oU-G.js} +23 -23
  70. package/dist/assets/{ExpenseAutomationPage-BQArYLAG-CHnCd6t8.js → ExpenseAutomationPage-DLld6Lux-C9UiIoPt.js} +56 -56
  71. package/dist/assets/{ExpressPayPage-DacK02lD-Dq4EbXyn.js → ExpressPayPage-QBNV0dC8-pBCRR5Rb.js} +12 -12
  72. package/dist/assets/FeaturePreviewPage-CpBX-Xic-BYSOYP2k.js +11 -0
  73. package/dist/assets/{FollowStepsSection-CMTo4gYl-CwkCaSv0.js → FollowStepsSection-1RCO2W7K-C-MoCYne.js} +25 -25
  74. package/dist/assets/{GlobalReviewListPage-BbI2YDxl-Cps6LriT.js → GlobalReviewListPage-ByMZFe7Y-CdorqsTM.js} +14 -14
  75. package/dist/assets/{HelpButton-Coe4ii48-CvuplgJt.js → HelpButton-CzTfBZQj-DZRTwrFl.js} +2 -2
  76. package/dist/assets/{InformationCardStack-BIumm5SJ-6MHSuSeN.js → InformationCardStack-C0AmMOu2-RArJXysN.js} +6 -6
  77. package/dist/assets/{InsightsCardStack-nndLG-Gx-C0PariBK.js → InsightsCardStack-BiIDBYY8-5lf82tLY.js} +7 -7
  78. package/dist/assets/InsightsSection-C-kpIvRH-CdqlGqmg.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-BRH3t6mo-DO-LHaxh.js → IntegrationsSettingsPage-7wAnV8kG-PXEXvEB6.js} +8 -8
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-vgA7iek9-ChmwO1by.js → InternationalWireSwiftDetailsPage-C7D15jtK-Li0eKKsY.js} +16 -16
  81. package/dist/assets/{InternationalWireVerificationPage-DEIs1ydr-DKS197rw.js → InternationalWireVerificationPage-GDKPXtU--j4IpooKm.js} +20 -20
  82. package/dist/assets/{InviteFormPage-Bowy0arK-DpBZL_pL.js → InviteFormPage-CKGJHYWa-DWj-EAub.js} +20 -20
  83. package/dist/assets/{InvitePageListView-DuXb15Ll-BQK3BFW6.js → InvitePageListView-CWXyDZU2-DCU4lB3m.js} +54 -54
  84. package/dist/assets/InvitePeoplePage-CPBMZNa--DlK3foAM.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-C0WzT0uv-Cn2JF08l.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-BIL4e5I_-CXGJBU9x.js → IssueChargeCardPage-DLX44XaR-CcflhM3M.js} +31 -31
  87. package/dist/assets/LabeledAddressValue-B8awEVKI-DfzIlkwb.js +49 -0
  88. package/dist/assets/LabeledAddressValueField-Dl5yKg2N-CzXWQu_Y.js +45 -0
  89. package/dist/assets/{LabeledControlledCheckBoxField-CwiyOI1Z-M-tLAb4Z.js → LabeledControlledCheckBoxField-B6cLYSmS-taSeLw3M.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-yLzlQU6_-Bfeib5XV.js → LabeledCreatableSingleSelectField-CV4GQQ7F-G2kg_Moc.js} +8 -8
  91. package/dist/assets/LabeledDocumentField-BFhyNqP8-B0rZURtH.js +41 -0
  92. package/dist/assets/{LabeledDropDownFormattedTextField-M_7KWHOd-D-fZzHek.js → LabeledDropDownFormattedTextField-gE3aWP_T-BOWWoTF_.js} +6 -6
  93. package/dist/assets/{LabeledText-CO_4w9Rx-DJRQWqFp.js → LabeledText-0pRIcJw5-Bl9-fI1Z.js} +2 -2
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-zPoNOgP7-j7Lks93T.js → LabeledUserSingleSelectWithSubtitlesField-C-32ySGI-DFmPy8AM.js} +17 -17
  95. package/dist/assets/{LabeledZeniRolesDropDownField-C8-KfR-4-CdARW5vH.js → LabeledZeniRolesDropDownField--l6D29VX-CyvURl9h.js} +11 -11
  96. package/dist/assets/{LinkJETransactionPage-CZVlsT4d-Bn-cESFA.js → LinkJETransactionPage-DLcpx9ns-AgvCjDXO.js} +10 -10
  97. package/dist/assets/{LowBalancePopup-Dl5IXVvh-ZOyts8_X.js → LowBalancePopup-BuelKDeS-DZAUOSm3.js} +6 -6
  98. package/dist/assets/{MagicLinkACHDetailsPage-CP6ti0Ic-8tcSYl4a.js → MagicLinkACHDetailsPage-NIkquHvv-CI7Zc7xz.js} +1 -1
  99. package/dist/assets/{MagicLinkDomesticWireDetailsPage-BhpSDeQW-IeQp4QdV.js → MagicLinkDomesticWireDetailsPage-CdaNz396-BGT3axjJ.js} +1 -1
  100. package/dist/assets/{MagicLinkInternationalWireDetailsPage-BXxTeh0G-gQ2fUGnD.js → MagicLinkInternationalWireDetailsPage-CnEhS5PP-DPChbPBR.js} +1 -1
  101. package/dist/assets/{MagicLinkSuccessPage-Bix48QB5-5BLIJX_g.js → MagicLinkSuccessPage-D_VJZV0O-FtY4wcd1.js} +2 -2
  102. package/dist/assets/MagicLinkTitleSection-tHh2d5Ld-_QN59pd4.js +17 -0
  103. package/dist/assets/MailingDetailsSection-CTrx1xoB-By7vG4Hi.js +21 -0
  104. package/dist/assets/{MeetingCalenderPopup-DlnppXL_-BsJ0aU_e.js → MeetingCalenderPopup-DWvpTRQJ-Bt4xdKnr.js} +1 -1
  105. package/dist/assets/{Menu-B_GJLZiP-mNj9dFun.js → Menu-CbQ6Zkdp-B0rPvp7W.js} +2 -2
  106. package/dist/assets/{MyBankConnectionsSettingsPage-2DAYVmHh-fUm8E92x.js → MyBankConnectionsSettingsPage-9dQLb8iw-C8Rj57bA.js} +17 -17
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-CWQq9D2t-Da8VyALM.js → MyPendingActivationChargeCardListPage-B2-YthuF-cm2yxhR4.js} +2 -2
  108. package/dist/assets/{MyProfileSettingsPage-imD_-Umc-DKjDOanW.js → MyProfileSettingsPage-CfmYPv4_-aC1znwk8.js} +5 -5
  109. package/dist/assets/NavBarWithPicker-Bzkl4W0x-CDy3Aggh.js +30 -0
  110. package/dist/assets/{NavigationArrow-De1st3tA-BAPoCX85.js → NavigationArrow-9pvhzLz8-DNW8ChSX.js} +1 -1
  111. package/dist/assets/NavigationDots-CXPwKFh1-CN4i4rO7.js +15 -0
  112. package/dist/assets/{NewGlobalMerchantPage-euJK3CXB-sukBYO3J.js → NewGlobalMerchantPage-D6ZpP6J1-D56cB-sU.js} +12 -12
  113. package/dist/assets/{NoDataChart-D_S6Pfkm-C3JVPSeM.js → NoDataChart-BUR7CF8w-JBqV9jC1.js} +1 -1
  114. package/dist/assets/{NoDataTable-CLwNCXFE-rGXp6Upe.js → NoDataTable-3L4pbKR0-B7fSM3B6.js} +1 -1
  115. package/dist/assets/{NotFoundPage-JfbMP3OG-CdLC4JTC.js → NotFoundPage-CgZfmKbj-BRxQmcCY.js} +1 -1
  116. package/dist/assets/{NotificationSettingsPage-YBgrQBb2-Cpy35xKn.js → NotificationSettingsPage-BwYT3Tdc-D89puZca.js} +14 -14
  117. package/dist/assets/NotificationsListConfig-CeeJpJ2p-8AiJrLfH.js +1 -0
  118. package/dist/assets/{NotificationsPage-C3pnQT-K-CVRF5kRL.js → NotificationsPage-6qNQYQK4-DLvnPKkn.js} +39 -39
  119. package/dist/assets/{OpExByVendorPage-7FEOhvd--RHaoySaH.js → OpExByVendorPage-C28MBvmW-CYPqi7IY.js} +6 -6
  120. package/dist/assets/{OverlayContainerPage-GWXnlbZH-CVXBjiin.js → OverlayContainerPage-9K5jaX8Z-BZxsFO4t.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-D0f5zvhp-DcJszdXh.js → PandLWithForecastPage-onJJ3Fh4-_QaDHG-Z.js} +12 -12
  122. package/dist/assets/PaymentAccountSetupBillingAddressSection-nGuJ5fbq-D3E47Aos.js +107 -0
  123. package/dist/assets/{PeoplePage-B-j04rvc-CCfL9FKm.js → PeoplePage-CKzezKqB-ByzrDmy1.js} +33 -33
  124. package/dist/assets/PortfolioAllocationFormPage-28Rg5Um0-BlYwyLHy.js +207 -0
  125. package/dist/assets/{PortfolioDetails-C-YfZonF-CLSJrpEX.js → PortfolioDetails-CIv1yXo2-BXO78bZH.js} +34 -34
  126. package/dist/assets/{ProductsCarousel-9USsVLuf-Dx3uyiaJ.js → ProductsCarousel-CSUQ6rVw-BjLG54WQ.js} +7 -7
  127. package/dist/assets/{PromoBaseCards-OKpdHchW-DlAtXYPN.js → PromoBaseCards-2L1JfY-v-8Fx_ViSz.js} +5 -5
  128. package/dist/assets/{QBOConnectionDialog-BUr2NQiK-W-7dllOf.js → QBOConnectionDialog-DNP_b7aK-BzvUOq7o.js} +5 -5
  129. package/dist/assets/{QBOSetupSection-Cmf7-3wv-qvwzEewL.js → QBOSetupSection-CGrGCC2j-CuJwLC6X.js} +11 -11
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-Dev4FHVt-D88aB6v1.js → ReimbursementApprovalRuleDetailPage-DqxyCfuQ-BcbdBa6J.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRulesPage-BLMJY7El-e_ujsVQc.js → ReimbursementApprovalRulesPage-D_RMSSoW-DW4d-zUH.js} +33 -33
  132. package/dist/assets/{ReimbursementDetailPage-BIyq0BC0-CB2Fd2bq.js → ReimbursementDetailPage-BkT7zJoE-BUepvklz.js} +20 -20
  133. package/dist/assets/ReimbursementPromoPage-DQsLI50f-DvpBhx7F.js +112 -0
  134. package/dist/assets/{ReimbursementSetUpPage-VKXRSodl-D7JcNewb.js → ReimbursementSetUpPage-lH4Z7Lqi-C3uS6udC.js} +15 -15
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-BmUcVSjU-BLnUm02Q.js → ReimbursementsBulkReviewDrawerPage-Bvh4mRws-DVwJvL8d.js} +1 -1
  136. package/dist/assets/{ReloadCard-DZhxB7Ar-hF1gT-u0.js → ReloadCard-BQKVLlzZ-CTM6ZQom.js} +5 -5
  137. package/dist/assets/{ReportTableViewSelector-DSfx5ZD--Dci-a61G.js → ReportTableViewSelector-Cvk4LxRf-eJ2TbRx4.js} +10 -10
  138. package/dist/assets/{ReportsPage-CLH0u0Bh-C1MJTTfa.js → ReportsPage-C2cIfu51-BxZnm0Ag.js} +5 -5
  139. package/dist/assets/{RevenueChart-BeqQveLu-DeA8SaiY.js → RevenueChart-ByCekdyG-8uQwfY47.js} +17 -17
  140. package/dist/assets/{ReviewDetailsPage-Dq7hRX5W-O_RQR1-u.js → ReviewDetailsPage-DGyfz9q5-BKYXEzMr.js} +25 -25
  141. package/dist/assets/{ReviewOverlay-BNHqYk2g-GkMrLGZt.js → ReviewOverlay-Dp5yLAdR-BtQ_1SYB.js} +24 -24
  142. package/dist/assets/RoleWithToolTip-B7xRZ-3a-DOUAAL_V.js +22 -0
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-QE0wa196-BAk-TXp_.js → ScheduleDetailsFixedAssetsPage-BvJX-G-F-EcV0Ga4I.js} +8 -8
  144. package/dist/assets/{ScheduleDetailsPage-BVyX-Z0H-BlUtpB7o.js → ScheduleDetailsPage-CNpkuW7O-B_ravSuG.js} +3 -3
  145. package/dist/assets/{ScheduleSequenceTable-D1FYbPfU-Ch0thzHH.js → ScheduleSequenceTable-B_90qPjE-CouAcwmm.js} +16 -16
  146. package/dist/assets/{ScreenRoutes-DE3IzrIT.js → ScreenRoutes-AFpRn9FR.js} +62 -62
  147. package/dist/assets/{SetUpAccountSection-CYn2o43t-Cyl8tfm8.js → SetUpAccountSection-D5x8PZG1-DygZSmwk.js} +17 -17
  148. package/dist/assets/{SetUpDefaultSection-C0-L2ZyA-BVH3L8he.js → SetUpDefaultSection-BsOdnADR-CaLnvPCj.js} +10 -10
  149. package/dist/assets/{SignIn-BIxTodeo-CKTRpX1-.js → SignIn-Bt7hCYjV-EKx-pTxB.js} +20 -20
  150. package/dist/assets/{SignInScreen-BiA-KBBQ.js → SignInScreen-rurSzHF5.js} +1 -1
  151. package/dist/assets/{SpendManagementListViewPage-DXtvYcrg-CdBfKQlr.js → SpendManagementListViewPage-C5cJKuRq-BvXZ8iTI.js} +12 -12
  152. package/dist/assets/{SpendManagementPerTabPage-Cn-UsxaR-D2WwRrYC.js → SpendManagementPerTabPage-IBAw8wc4-CqequpCF.js} +45 -45
  153. package/dist/assets/{SpendManagementSection-BBR4aFIT-DzW24Skc.js → SpendManagementSection-yNP3swb6-CDpN_vFS.js} +14 -14
  154. package/dist/assets/{SpendMgmtSetupAccountSection-DedLETSm-YLSeERft.js → SpendMgmtSetupAccountSection-CYxt9dN8-jE6ury5g.js} +19 -19
  155. package/dist/assets/{StatementItem-CnpTW8qb-D17PfvTr.js → StatementItem-q9U89Htr-Dnon4hoE.js} +9 -9
  156. package/dist/assets/{StatementsPage-Pdhh6wDA-jwcjw1WZ.js → StatementsPage-BM5Glizw-CQVS_jKg.js} +6 -6
  157. package/dist/assets/{StatusSwitcher-CY3fhZpk-DDb6KoNb.js → StatusSwitcher-CtuL5COG-G6MVUY78.js} +1 -1
  158. package/dist/assets/{SubTabSwitcher-BgzS4on6-Dwoyfu-k.js → SubTabSwitcher-DHiC-mOv-DT2nPRyj.js} +3 -3
  159. package/dist/assets/{SummaryCard-DB_r9qW_-DWYafO_s.js → SummaryCard-D4Me-qWU-DQUY-zeO.js} +1 -1
  160. package/dist/assets/{TaskManagementPage-B0gR2j1v-COQTSpG8.js → TaskManagementPage-D-F7ufTD-e1fJ4aPt.js} +34 -34
  161. package/dist/assets/{TimeRangeSwitcher-BbdpFsMU-BLzIMI-C.js → TimeRangeSwitcher-CGN9Hq2L-r0shmfu7.js} +2 -2
  162. package/dist/assets/{TimeframeSwitcher-CUpsv6b1-DSn3wgUk.js → TimeframeSwitcher-BN4-ACoQ-D22kJoI6.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcherWithToggle-DZbOWm8e-yKyY1kGN.js → TimeframeSwitcherWithToggle-BkzCFclG-CPGMypUZ.js} +2 -2
  164. package/dist/assets/{TopExCard-Bn5xXUvj-CEaRP9sl.js → TopExCard-Wuzj4gLV-Dr3lX9dX.js} +5 -5
  165. package/dist/assets/{TopExDetailPage-DRjO-pGo-C3d4g0dQ.js → TopExDetailPage-DMYNc-gj-DbGIeoCc.js} +10 -10
  166. package/dist/assets/{TransactionDetailPage-L-yLO1SI-DqT88RlY.js → TransactionDetailPage-CcryBjJ4-DTQbu83x.js} +43 -43
  167. package/dist/assets/{TransactionList-CSb5yqQj-D5O9i1eU.js → TransactionList-BrOpzi25-Db-4cinW.js} +9 -9
  168. package/dist/assets/{TransactionListBig-f2x4xrky-DSDJ_EXD.js → TransactionListBig-D6QMNaV6-CAdEtJgN.js} +26 -26
  169. package/dist/assets/TransactionListPage-BB_LkPKR-hsIp58b2.js +35 -0
  170. package/dist/assets/TransactionVendorDetailPage-RajWBB1I-BdySPl7M.js +80 -0
  171. package/dist/assets/TransferDrawerPage-D-KFK0BM-lEsdgmBR.js +362 -0
  172. package/dist/assets/{TreasuryOverviewPage-B01cSfUQ-kSH9i23n.js → TreasuryOverviewPage-EDaXKMNQ-CrrmzIet.js} +59 -59
  173. package/dist/assets/{TreasuryPromoPage-DC46ObGy-6BFpTzC9.js → TreasuryPromoPage-Brja4nGR-DglH7Il8.js} +26 -25
  174. package/dist/assets/{TreasurySetupPage-CiIqfQLR-Zvu7PlM8.js → TreasurySetupPage-8ZXXBvyU-l9-yURTU.js} +9 -9
  175. package/dist/assets/{TreasuryStatementsPage-C_pfPvgz-CvRKmTd0.js → TreasuryStatementsPage-BjT1FVfa-wIBwl3Q0.js} +5 -5
  176. package/dist/assets/{TreasuryTaxLetterPage-D-4Ntky2-CbNYYuLW.js → TreasuryTaxLetterPage-Cxk8TjrI-DPLTc42N.js} +5 -5
  177. package/dist/assets/TreasuryTransferOrReviewPage-DrNld8H2-DCvG8LPc.js +506 -0
  178. package/dist/assets/{TrendChart-DKIa4o8k-VO_JzwoY.js → TrendChart-D2B0mwGW-BG_v97N6.js} +5 -5
  179. package/dist/assets/{TrendWithTransactions-BumhCIjm-Yg7fpcN4.js → TrendWithTransactions-Ch8smOOz-jen0aqye.js} +6 -6
  180. package/dist/assets/{UncategorizedAccountsMappingPage-C4Njvj_H-DLrR6DBY.js → UncategorizedAccountsMappingPage-CCIn9g7v-pUmVA_Xq.js} +8 -8
  181. package/dist/assets/{UnitIntegrationPage-D_tfUXdS-Cl4gvNRF.js → UnitIntegrationPage-SY0L_D7Z-Cbnt8xFH.js} +5 -5
  182. package/dist/assets/{UploadAdditionalDocumentOverlay-CSdTPTA3-D_QTNdVG.js → UploadAdditionalDocumentOverlay-BowxerPw-ByoVxHT3.js} +2 -2
  183. package/dist/assets/{Vendor2FAPopup-DgKVft1G-BbWcKAyH.js → Vendor2FAPopup-DvWVDx58-nCTKo0G7.js} +1 -1
  184. package/dist/assets/{VendorACHDetailsPage-DdAbrbpS-CaSYamcy.js → VendorACHDetailsPage-Ba1oMHkp-BxaJZz_l.js} +1 -1
  185. package/dist/assets/{VendorDetailPage-CSPbUx-h-BA4BV8lD.js → VendorDetailPage-CjBeVAkw-CNG6GTiT.js} +12 -12
  186. package/dist/assets/{VendorDomesticWireDetailsPage-GODvpEne-B7JWdU5P.js → VendorDomesticWireDetailsPage-DJcyNUun-B_mMtp62.js} +1 -1
  187. package/dist/assets/{VendorFiling1099EditablePage-ByfEwSZJ-3EJs6Pdf.js → VendorFiling1099EditablePage-CUWkLY0f-CFmjh1GG.js} +10 -10
  188. package/dist/assets/{VendorFirstReviewPage-B2-UtNMO-BpFbEEFE.js → VendorFirstReviewPage-XUgEai-M-DTz6r_sf.js} +14 -14
  189. package/dist/assets/{VendorInternationalWireDetailsPage-DSziQ0jO-JD1dzlHt.js → VendorInternationalWireDetailsPage-BgHCBv0S-CqCl2AuO.js} +11 -11
  190. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-Dqc7XLbW-XxvhKcbT.js → VendorInternationalWireSwiftDetailsPage-axseacZL-DJ6kdu0R.js} +1 -1
  191. package/dist/assets/{VendorsAccountsSection-BLwMi5AB-CCLynqTL.js → VendorsAccountsSection-oYghWvs6-YBKazVEG.js} +4 -4
  192. package/dist/assets/VerifyDevice-XUExnmR9-Dvl0QizA.js +67 -0
  193. package/dist/assets/{WarningsDrawerPage-3h7UME3Y-DNttzlAa.js → WarningsDrawerPage-B1his2AN-wDPc6ygf.js} +11 -11
  194. package/dist/assets/{ZeniAccountDetailPage-Dn70Xhjm-D4MEKJZT.js → ZeniAccountDetailPage-B21kawRR-cYQnKtb2.js} +26 -26
  195. package/dist/assets/{ZeniAccountListViewPage-C7CX6-Bl-CV3TlLO2.js → ZeniAccountListViewPage-D9lefqbT-BqcU0pmn.js} +26 -26
  196. package/dist/assets/ZeniAccountNavBarPieces-5yZFq-zt-jLGGdcn1.js +14 -0
  197. package/dist/assets/{ZeniAccountPromoPage-CLufbB-B-BJ_7DF1e.js → ZeniAccountPromoPage-B8aWqCOQ-CKv07I8x.js} +21 -21
  198. package/dist/assets/{ZeniAccountSetupPage-rLdRA3Ld--977FCkZ.js → ZeniAccountSetupPage-BmFF5yvk-D-AdXd5I.js} +3 -3
  199. package/dist/assets/{ZeniCopyright-BItiuePl-C7k-X__M.js → ZeniCopyright-eQoaUH08-BVCPJkWr.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-DYCK5UWr-DVAoQDrm.js → ZeniTransferAmountSlider-B6ftMZ_m-C-6X1EH-.js} +2 -2
  201. package/dist/assets/{analyticsHelper-D4zFEqKN-DzUQzUlK.js → analyticsHelper-Bns4muDg-CtVpldLz.js} +1 -1
  202. package/dist/assets/{analyticsHelper-ClYKq5_x.js → analyticsHelper-u4uoMPvS.js} +1 -1
  203. package/dist/assets/{chartTypes-yiqF7w9Y-BGOhcpTx.js → chartTypes-ZJYcsh-k-BCVVPSGZ.js} +1 -1
  204. package/dist/assets/{commonDimensions-PPvas5dK-BGZQSqLq.js → commonDimensions-NUQEpowf-g8lux_Te.js} +1 -1
  205. package/dist/assets/{detailCommon-mCAXI64G-BAwUCtmX.js → detailCommon-DMKakaa6-DVMNrgCv.js} +7 -7
  206. package/dist/assets/{downloadPdf-C3XpsGeN-DqiveqBb.js → downloadPdf-CNrmv_yZ-BgWfIYNz.js} +1 -1
  207. package/dist/assets/{index-BS9BhstZ.js → index-CnrHU8WN.js} +4373 -4206
  208. package/dist/assets/{liveblocks-sSQ9JElv.js → liveblocks-DZpRS25q.js} +1 -1
  209. package/dist/assets/{mapLoadingInProgressToTreeNode-7wU2HX2P-Dj0X-cbJ.js → mapLoadingInProgressToTreeNode-CwLhcXcQ-nJqrr22I.js} +1 -1
  210. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-dSxF1sWM-BmY0ko4z.js → mapSectionWithAcOnlyToTreeNode-D8iLkGEE-Bl5usORJ.js} +1 -1
  211. package/dist/assets/{mapSpacerToTreeNode-1mXbBuNs-BE-8149w.js → mapSpacerToTreeNode-CF_gEYDy-aRE98CQL.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-DXVQrusd-BAb1FqOY.js → mapTimeframeBalancesToTreeNode-B672MK55-v1Bjh3U8.js} +1 -1
  213. package/dist/assets/{mapTimeframeBalancesToTreeNode-DtAULIDB-B4AiSiuC.js → mapTimeframeBalancesToTreeNode-Dp2QmYvb-Cr-c38Jl.js} +1 -1
  214. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-DAqn8gdX-DPgokZ5l.js → mapTimeframeHeaderLoadingInProgressToTreeNode-BaEMd-vj-CsyeIH1c.js} +1 -1
  215. package/dist/assets/mui-Bi8r7UDG.js +25 -0
  216. package/dist/assets/{play-icon-NvLdXSYk-BXzTREV-.js → play-icon-CgWP2Myd-BVsSsxSg.js} +1 -1
  217. package/dist/assets/{redux-ByjIRbhZ.js → redux-CC-tnuv1.js} +1 -1
  218. package/dist/assets/{routing-Cpaypegg.js → routing-CxYXTKiv.js} +1 -1
  219. package/dist/assets/{toCOABalancesWithID-C9fWPLt9-B2HBMv4h.js → toCOABalancesWithID-DJNZCEmi-D5UU_YFX.js} +1 -1
  220. package/dist/assets/{toChartData-BMDCuCgs-CEUldhRx.js → toChartData-HYsxUPzh-De2YqXiL.js} +1 -1
  221. package/dist/assets/{treasuryColorHelper-COfuUI3C-D6JaGfR1.js → treasuryColorHelper-BgV2H9Kv-BBqEUahx.js} +1 -1
  222. package/dist/assets/{uploadAttachment-DSku547V-Dfv7WcEs.js → uploadAttachment-BgjFjkkw-DJYt86D-.js} +34 -34
  223. package/dist/assets/{uploadReceipts-D80JLNY4-B-E7WYbX.js → uploadReceipts-CwjPukNh-SrJVbi2t.js} +1 -1
  224. package/dist/index.html +1 -1
  225. package/package.json +4 -4
  226. package/dist/assets/ACHDetailsPage-DyEK-yAb-CYzjb0P6.js +0 -21
  227. package/dist/assets/ApAgingDetailPage-C2HUvxWk-CmXftBCt.js +0 -46
  228. package/dist/assets/AppBasePage-C63xauck-B7uL-jnJ.js +0 -68
  229. package/dist/assets/BusinessVerificationPage-ClBQ39GB-lK0gfMrq.js +0 -140
  230. package/dist/assets/ChargeCardPromoPage-COA7csMK-Dhz6qtv_.js +0 -219
  231. package/dist/assets/CheckDepositDrawerPage-Cfdkbh0L-Cng8frow.js +0 -206
  232. package/dist/assets/CompleteProfile-Cp_nXCBI-BE9X5-eY.js +0 -36
  233. package/dist/assets/ConfettiBurst-tf23hrA_-zNQ15guQ.js +0 -1
  234. package/dist/assets/CustomerOnboardingContainerPage-DXWtttsb-B7v6_HN6.js +0 -1
  235. package/dist/assets/DepositAccTransactionListPage-BTZovTIK-DGF3gicj.js +0 -66
  236. package/dist/assets/EditPeoplePage-D2zQG-_T-BitbZ9jO.js +0 -55
  237. package/dist/assets/FeaturePreviewPage-Bv0D92ik-C-aLsKYk.js +0 -11
  238. package/dist/assets/InsightsSection-CSG5sVaE-CIf6iKuS.js +0 -27
  239. package/dist/assets/InvitePeoplePage-By3sTPj1-D6QvW3zn.js +0 -12
  240. package/dist/assets/InvoiceUploadSection-B8OA6oqe-BVyTHteY.js +0 -140
  241. package/dist/assets/LabeledAddressValue-BJ1dXCb1-xOyKePQ9.js +0 -49
  242. package/dist/assets/LabeledAddressValueField-DZCn1w6m-DYHHw-KS.js +0 -45
  243. package/dist/assets/LabeledDocumentField-gxNaFx2j-B3wJNd8f.js +0 -41
  244. package/dist/assets/MagicLinkTitleSection-DdTLuD-8-2eGCS_tx.js +0 -17
  245. package/dist/assets/MailingDetailsSection-Bo_v3Gp2-BGvmU6P-.js +0 -21
  246. package/dist/assets/NavBarWithPicker-D0Bv9P4m-BQsnrfPP.js +0 -30
  247. package/dist/assets/NavigationDots-BfJxPG2K-CpLLe-k9.js +0 -14
  248. package/dist/assets/NotificationsListConfig-TCmn6L9k-LI7EhO_K.js +0 -1
  249. package/dist/assets/PaymentAccountSetupBillingAddressSection-CBvjcBEH-CfnKIIUr.js +0 -106
  250. package/dist/assets/PortfolioAllocationFormPage-yvAHgF_R-D9k2f595.js +0 -207
  251. package/dist/assets/ReimbursementPromoPage-Dox8Q_BC-BCFx3nzd.js +0 -112
  252. package/dist/assets/RoleWithToolTip-Cob2-Ppj-Chor2yuB.js +0 -22
  253. package/dist/assets/TransactionListPage-XP6Axg1M-41ODaIRL.js +0 -35
  254. package/dist/assets/TransactionVendorDetailPage-CY9kUYZc-DGMwaOvo.js +0 -80
  255. package/dist/assets/TransferDrawerPage-DOMX4_HE-BJbzuBja.js +0 -362
  256. package/dist/assets/TreasuryTransferOrReviewPage-CjxiFUqO-CkGSBfSi.js +0 -506
  257. package/dist/assets/ZeniAccountNavBarPieces-Cl1zQVNd-Hw2Z1YcK.js +0 -14
  258. package/dist/assets/mui-C5LQ0bMa.js +0 -25
@@ -1,4 +1,4 @@
1
- import{X as V,u as Y,j as o,_ as w,M as J,dr as u,o as i,C as a,eY as D,eZ as j,g as C,e_ as ee,Q as ie,bc as oe,q as l,p as te,a6 as B,b4 as se,v as E,af as re,m as ne,b0 as le,f2 as ae}from"./index-BS9BhstZ.js";import{b as de,n as t}from"./vendor-CnQcJ2Lu.js";const n={sectionWidth:new a(343,580,726),descriptionMarginBottom:new a(12,l[3]),iconContainerMaxWidthHeight:new a(l[6],l[7]),iconContainerMarginRight:new a(12,l[3]),iconPadding:new a(10,12),rowGap:new a(l[2],l[3]),containerPadding:new a(l[3],l[4]),navIconLeftMargin:new a(12,l[4]),tagIconContainerDivMarginTop:new a(l[2],l[0])},_={title:new ie("standardSemiBold","largeSemiBold")},{commonSetUp:{setUp:S}}=J.getLocalizedStrings(),ce=t(le)`
1
+ import{e as V,u as Y,j as o,$ as w,M as Z,dv as u,o as i,C as a,e$ as D,f0 as j,g as C,f1 as ee,X as ie,bd as oe,q as l,p as te,a6 as B,b5 as se,d as E,af as re,B as ne,b1 as le,f5 as ae}from"./index-CnrHU8WN.js";import{b as de,n as t}from"./vendor-CnQcJ2Lu.js";const n={sectionWidth:new a(343,580,726),descriptionMarginBottom:new a(12,l[3]),iconContainerMaxWidthHeight:new a(l[6],l[7]),iconContainerMarginRight:new a(12,l[3]),iconPadding:new a(10,12),rowGap:new a(l[2],l[3]),containerPadding:new a(l[3],l[4]),navIconLeftMargin:new a(12,l[4]),tagIconContainerDivMarginTop:new a(l[2],l[0])},N={title:new ie("standardSemiBold","largeSemiBold")},{commonSetUp:{setUp:S}}=Z.getLocalizedStrings(),ce=t(le)`
2
2
  margin-left: 6px;
3
3
  width: 12px;
4
4
  height: 12px;
@@ -39,7 +39,7 @@ import{X as V,u as Y,j as o,_ as w,M as J,dr as u,o as i,C as a,eY as D,eZ as j,
39
39
  border-bottom-right-radius: ${i.sp0};
40
40
  border-bottom-left-radius: ${i.sp0};
41
41
  `}
42
- `,we=({windowSize:e,title:P,isError:p,isCardPaymentMethod:$=!1,showAddPaymentMethodDropDown:f=!1,addPaymentMethodDropdownOpen:r,isDisabled:m,updateCardPaymentModalState:x,setAddPaymentMethodDropdownOpen:d,openPlaidDialog:y,productType:h,setEventSourceType:v,referrer:M,analytics:b})=>{const z=()=>{r===!0&&d!=null&&d(!1)};return o.jsxs(pe,{children:[o.jsx(ve,{windowSize:e,isDisabled:m,isError:p,children:P}),f?o.jsxs(he,{"data-testid":w("add-payment-method-wrapper",h),children:[o.jsx(ce,{"data-testid":w("add-payment-method",h),onClick:g=>{g.stopPropagation(),d?.(!(r??!1))}}),r===!0?o.jsx(te,{onClickAway:z,children:o.jsxs(ge,{children:[o.jsx(me,{}),o.jsx(ue,{onClick:g=>{g.stopPropagation(),$&&x!=null?(x(!0),v!=null&&b!=null&&h!=null&&(v("link_new_credit_card"),b.trackCreditCardConnect(h,"link_new_credit_card",M))):y?.(g,"link_new_bank_account"),d?.(!1)},"data-testid":w("add-card",h),children:$?S.addNewCard:S.linkNewAccount})]})}):null]}):null]})};function Qe({style:e,header:P,footNote:p,title:$,subTitle:f,status:r,statusInfoIcon:m,icon:x,isActive:d=!0,isDisabled:y=!1,isClickable:h=!0,isCompleted:v=!1,showCompletedIcon:M=!1,isError:b,hasError:z=!1,subTitleIcon:g,isLoading:c,isTagLoading:A,isActiveWhileLoading:W=!1,shouldHover:I=!0,showRightArrow:N=!0,onClick:H,showAddPaymentMethodDropDown:G=!1,updateCardPaymentModalState:K,openPlaidDialog:O,isCardPaymentMethod:R,analytics:F,productType:k,referrer:Q,setEventSourceType:U,additionalInfo:L}){const s=V(),X=Y(),[Z,q]=de.useState(!1);return o.jsxs($e,{windowSize:s,style:e,isActive:d&&!y,isLoading:c??!1,isActiveWhileLoading:W,"data-testid":w("setup-default-section",k),children:[o.jsxs(Ae,{children:[M===!0?o.jsx(_e,{children:v?o.jsx(We,{}):o.jsx(Ie,{})}):null,o.jsxs(Le,{windowSize:s,children:[P,d===!1?o.jsx(Be,{children:S.comingSoon}):null]})]}),o.jsxs(ze,{windowSize:s,width:e?.width,shouldHover:I,isClickable:h,children:[o.jsxs(xe,{isFootNoteAvailable:p!=null,children:[o.jsxs(ke,{windowSize:s,width:e?.width,isfootNoteAvailable:p!=null,onClick:d&&!y?H:void 0,"data-testid":w("setup-approval-section-elements",k),children:[o.jsxs(fe,{children:[o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp7,height:i.sp7,borderRadius:"50%",marginRight:i.sp3},children:o.jsx(Me,{iconColor:x.color,windowSize:s,isDarkMode:X.mode==="dark",children:x.element})}),o.jsxs(De,{children:[o.jsxs(Te,{children:[o.jsx(u,{isLoading:c??!1,customStyle:{width:"200px",height:i.sp4,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`,marginTop:i.sp2},children:o.jsx(we,{windowSize:s,title:$,isError:b,showAddPaymentMethodDropDown:G,setAddPaymentMethodDropdownOpen:q,addPaymentMethodDropdownOpen:Z,updateCardPaymentModalState:K,isCardPaymentMethod:R??!1,openPlaidDialog:O,analytics:F,productType:k,referrer:Q,setEventSourceType:U})}),f.length>0?o.jsx(be,{children:o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp12,height:`${i.sp4}`,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`},children:o.jsxs(je,{children:[f,g!=null?o.jsx(Se,{children:g.element}):null]})})}):null]}),r!=null&&s==="small"?o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp12,height:i.sp4,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`},children:o.jsxs(T,{windowSize:s,children:[m??m,o.jsx(D,{style:{width:"max-content",padding:0},tagTitle:r.name,textColor:j(r.code),showLoader:A})]})}):null,c===!1&&L!=null?o.jsxs(He,{children:[o.jsx(Ge,{statusColor:r!=null?j(r.code).color:void 0}),o.jsx(Ke,{statusColor:r!=null?j(r.code).color:void 0,children:L})]}):null]})]}),o.jsxs(ye,{children:[r!=null&&s!=="small"?o.jsxs(T,{windowSize:s,children:[o.jsx(Ne,{children:m??m}),o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp12,height:`${i.sp4}`,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`},children:o.jsx(D,{style:{width:"max-content",padding:0},tagTitle:r.name,textColor:j(r.code),showLoader:A})})]}):null,N===!0?o.jsx(Ce,{windowSize:s,children:o.jsx(Pe,{width:i.sp4,height:i.sp4})}):null]})]}),z?o.jsx(Oe,{children:S.bankAccountLinkingError}):null]}),o.jsx(u,{isLoading:c??!1,customStyle:{marginTop:n.rowGap.valuePx(s),width:"48%",height:i.sp3,marginBottom:i.sp2,marginLeft:i.sp3},children:typeof p=="string"?o.jsx(Ee,{children:p}):p})]})]})}const $e=t.div`
42
+ `,we=({windowSize:e,title:P,isError:p,isCardPaymentMethod:$=!1,showAddPaymentMethodDropDown:f=!1,addPaymentMethodDropdownOpen:r,isDisabled:m,updateCardPaymentModalState:x,setAddPaymentMethodDropdownOpen:d,openPlaidDialog:y,productType:h,setEventSourceType:v,referrer:M,analytics:b})=>{const z=()=>{r===!0&&d!=null&&d(!1)};return o.jsxs(pe,{children:[o.jsx(ve,{windowSize:e,isDisabled:m,isError:p,children:P}),f?o.jsxs(he,{"data-testid":w("add-payment-method-wrapper",h),children:[o.jsx(ce,{"data-testid":w("add-payment-method",h),onClick:g=>{g.stopPropagation(),d?.(!(r??!1))}}),r===!0?o.jsx(te,{onClickAway:z,children:o.jsxs(ge,{children:[o.jsx(me,{}),o.jsx(ue,{onClick:g=>{g.stopPropagation(),$&&x!=null?(x(!0),v!=null&&b!=null&&h!=null&&(v("link_new_credit_card"),b.trackCreditCardConnect(h,"link_new_credit_card",M))):y?.(g,"link_new_bank_account"),d?.(!1)},"data-testid":w("add-card",h),children:$?S.addNewCard:S.linkNewAccount})]})}):null]}):null]})};function Xe({style:e,header:P,footNote:p,title:$,subTitle:f,status:r,statusInfoIcon:m,icon:x,isActive:d=!0,isDisabled:y=!1,isClickable:h=!0,isCompleted:v=!1,showCompletedIcon:M=!1,isError:b,hasError:z=!1,subTitleIcon:g,isLoading:c,isTagLoading:A,isActiveWhileLoading:W=!1,shouldHover:_=!0,showRightArrow:I=!0,onClick:H,showAddPaymentMethodDropDown:R=!1,updateCardPaymentModalState:G,openPlaidDialog:O,isCardPaymentMethod:J,analytics:F,productType:k,referrer:X,setEventSourceType:Q,additionalInfo:L}){const s=V(),U=Y(),[q,K]=de.useState(!1);return o.jsxs($e,{windowSize:s,style:e,isActive:d&&!y,isLoading:c??!1,isActiveWhileLoading:W,"data-testid":w("setup-default-section",k),children:[o.jsxs(Ae,{children:[M===!0?o.jsx(Ne,{children:v?o.jsx(We,{}):o.jsx(_e,{})}):null,o.jsxs(Le,{windowSize:s,children:[P,d===!1?o.jsx(Be,{children:S.comingSoon}):null]})]}),o.jsxs(ze,{windowSize:s,width:e?.width,shouldHover:_,isClickable:h,children:[o.jsxs(xe,{isFootNoteAvailable:p!=null,children:[o.jsxs(ke,{windowSize:s,width:e?.width,isfootNoteAvailable:p!=null,onClick:d&&!y?H:void 0,"data-testid":w("setup-approval-section-elements",k),children:[o.jsxs(fe,{children:[o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp7,height:i.sp7,borderRadius:"50%",marginRight:i.sp3},children:o.jsx(Me,{iconColor:x.color,windowSize:s,isDarkMode:U.mode==="dark",children:x.element})}),o.jsxs(De,{children:[o.jsxs(Te,{children:[o.jsx(u,{isLoading:c??!1,customStyle:{width:"200px",height:i.sp4,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`,marginTop:i.sp2},children:o.jsx(we,{windowSize:s,title:$,isError:b,showAddPaymentMethodDropDown:R,setAddPaymentMethodDropdownOpen:K,addPaymentMethodDropdownOpen:q,updateCardPaymentModalState:G,isCardPaymentMethod:J??!1,openPlaidDialog:O,analytics:F,productType:k,referrer:X,setEventSourceType:Q})}),f.length>0?o.jsx(be,{children:o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp12,height:`${i.sp4}`,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`},children:o.jsxs(je,{children:[f,g!=null?o.jsx(Se,{children:g.element}):null]})})}):null]}),r!=null&&s==="small"?o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp12,height:i.sp4,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`},children:o.jsxs(T,{windowSize:s,children:[m??m,o.jsx(D,{style:{width:"max-content",padding:0},tagTitle:r.name,textColor:j(r.code),showLoader:A})]})}):null,c===!1&&L!=null?o.jsxs(He,{children:[o.jsx(Re,{statusColor:r!=null?j(r.code).color:void 0}),o.jsx(Ge,{statusColor:r!=null?j(r.code).color:void 0,children:L})]}):null]})]}),o.jsxs(ye,{children:[r!=null&&s!=="small"?o.jsxs(T,{windowSize:s,children:[o.jsx(Ie,{children:m??m}),o.jsx(u,{isLoading:c??!1,customStyle:{width:i.sp12,height:`${i.sp4}`,marginBottom:`${n.descriptionMarginBottom.valuePx(s)}`},children:o.jsx(D,{style:{width:"max-content",padding:0},tagTitle:r.name,textColor:j(r.code),showLoader:A})})]}):null,I===!0?o.jsx(Ce,{windowSize:s,children:o.jsx(Pe,{width:i.sp4,height:i.sp4})}):null]})]}),z?o.jsx(Oe,{children:S.bankAccountLinkingError}):null]}),o.jsx(u,{isLoading:c??!1,customStyle:{marginTop:n.rowGap.valuePx(s),width:"48%",height:i.sp3,marginBottom:i.sp2,marginLeft:i.sp3},children:typeof p=="string"?o.jsx(Ee,{children:p}):p})]})]})}const $e=t.div`
43
43
  display: flex;
44
44
  flex-direction: column;
45
45
  pointer-events: ${e=>(e.isLoading===!0||e.isActive===!1)&&e.isActiveWhileLoading===!1?"none":"initial"};
@@ -58,7 +58,7 @@ import{X as V,u as Y,j as o,_ as w,M as J,dr as u,o as i,C as a,eY as D,eZ as j,
58
58
  margin-top: ${e=>n.tagIconContainerDivMarginTop.valuePx(e.windowSize)};
59
59
  gap: ${i.sp2};
60
60
  `,ve=t.div`
61
- ${e=>`${_.title.style(e.windowSize)}`};
61
+ ${e=>`${N.title.style(e.windowSize)}`};
62
62
  color: ${e=>e.isError===!0?C.important:e.isDisabled===!0?e.theme.colors.grey1:e.theme.colors.primary};
63
63
  `,be=t.div`
64
64
  display: flex;
@@ -124,7 +124,7 @@ import{X as V,u as Y,j as o,_ as w,M as J,dr as u,o as i,C as a,eY as D,eZ as j,
124
124
  display: flex;
125
125
  align-items: center;
126
126
  color: ${e=>e.theme.colors.primary};
127
- ${e=>`${_.title.style(e.windowSize)}`};
127
+ ${e=>`${N.title.style(e.windowSize)}`};
128
128
  `,De=t.div`
129
129
  display: flex;
130
130
  flex-direction: column;
@@ -139,18 +139,18 @@ import{X as V,u as Y,j as o,_ as w,M as J,dr as u,o as i,C as a,eY as D,eZ as j,
139
139
  box-sizing: border-box;
140
140
  text-align: center;
141
141
  color: ${e=>e.theme.colors.grey1};
142
- `,_e=t.div`
142
+ `,Ne=t.div`
143
143
  margin-right: ${i.sp2};
144
144
  `,We=t(ee)`
145
145
  width: ${i.sp3};
146
146
  height: ${i.sp3};
147
147
  color: ${C.success};
148
- `,Ie=t.div`
148
+ `,_e=t.div`
149
149
  height: 14px;
150
150
  width: 14px;
151
151
  border: 1px solid ${e=>e.theme.colors.primary};
152
152
  border-radius: 50%;
153
- `,Ne=t.div`
153
+ `,Ie=t.div`
154
154
  width: ${i.sp3};
155
155
  height: ${i.sp3};
156
156
  margin: auto;
@@ -159,11 +159,11 @@ import{X as V,u as Y,j as o,_ as w,M as J,dr as u,o as i,C as a,eY as D,eZ as j,
159
159
  align-items: center;
160
160
  gap: ${i.sp1};
161
161
  margin-top: ${i.sp1};
162
- `,Ge=t(se)`
162
+ `,Re=t(se)`
163
163
  width: ${i.sp3};
164
164
  height: ${i.sp3};
165
165
  color: ${e=>e.statusColor!=null?e.statusColor.toString():e.theme.colors.grey1};
166
- `,Ke=t(E)`
166
+ `,Ge=t(E)`
167
167
  color: ${e=>e.statusColor!=null?e.statusColor.toString():e.theme.colors.grey1};
168
168
  `,Oe=t(E)`
169
169
  display: flex;
@@ -171,4 +171,4 @@ import{X as V,u as Y,j as o,_ as w,M as J,dr as u,o as i,C as a,eY as D,eZ as j,
171
171
  margin-left: 88px;
172
172
  margin-bottom: ${i.sp3};
173
173
  border-radius: ${i.sp1};
174
- `;export{we as $,Qe as K,Ee as T};
174
+ `;export{we as $,Xe as J,Ee as L};
@@ -1,4 +1,4 @@
1
- import{X as q,V as Ue,a as We,M as k,j as i,T as E,G as Je,F as Ge,E as Ne,o,i as le,C,$ as qe,Q as ae,h as ke,g as c,k as Xe,O as Qe,v as Se,r as be,b as Ye,l as de,c as Ke,d as ei,K as je,e as ye,f as M,Y as ii,n as oi,m as ve,p as ni,q as L,Z as ri,s as ti,x as si,t as li}from"./index-BS9BhstZ.js";import{b as r,n,f as ai,k as ze,j as di}from"./vendor-CnQcJ2Lu.js";import{i as ci}from"./ZeniCopyright-BItiuePl-C7k-X__M.js";import{S as gi}from"./ProductsCarousel-9USsVLuf-Dx3uyiaJ.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";const pi=e=>r.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M5.49686 0.437846C3.50884 1.1044 1.81485 2.56223 0.871312 4.40709C0.542169 5.04355 0.305187 5.71871 0.160364 6.41967C-0.199498 8.15702 0.0506501 10.0105 0.866923 11.593C1.39794 12.6251 2.16155 13.5454 3.08315 14.2636C3.95647 14.943 4.97023 15.4505 6.04982 15.73C7.41028 16.0869 8.8585 16.0783 10.2277 15.773C11.4653 15.4935 12.6371 14.9129 13.5718 14.07C14.5592 13.1799 15.2658 12.0102 15.6388 10.7502C16.047 9.37833 16.0996 7.9119 15.8451 6.50138C13.2866 6.50138 10.7236 6.50138 8.16511 6.50138C8.16511 7.54207 8.16511 8.58276 8.16511 9.62345C9.64844 9.62345 11.1318 9.62345 12.6151 9.62345C12.444 10.6211 11.8383 11.5328 10.9826 12.0962C10.4428 12.4531 9.82399 12.681 9.18326 12.7928C8.54253 12.9003 7.87546 12.9132 7.23473 12.7885C6.58084 12.6595 5.96205 12.3929 5.41787 12.0188C4.54893 11.421 3.88626 10.548 3.54834 9.56325C3.20164 8.56126 3.19725 7.44746 3.54834 6.44977C3.7941 5.74451 4.19784 5.09515 4.73325 4.56191C5.39153 3.89965 6.24731 3.42661 7.17329 3.23309C7.96323 3.06968 8.79706 3.09978 9.56945 3.3277C10.2277 3.52122 10.8334 3.87815 11.3293 4.34259C11.8296 3.85235 12.3299 3.3621 12.8302 2.87186C13.0935 2.60954 13.3699 2.35581 13.6245 2.08489C12.8653 1.39683 11.97 0.842081 10.9957 0.48945C9.24031 -0.147006 7.26545 -0.159907 5.49686 0.437846Z",fill:"white"}),r.createElement("path",{d:"M5.49686 0.43784C7.26106 -0.159913 9.2403 -0.147012 10.9957 0.485144C11.97 0.837775 12.8609 1.38822 13.6245 2.08058C13.3699 2.35151 13.0935 2.60523 12.8302 2.86755C12.3299 3.3578 11.8296 3.84804 11.3293 4.33828C10.8334 3.87384 10.2277 3.52121 9.56945 3.32339C8.79706 3.09547 7.96323 3.06107 7.17329 3.22879C6.25169 3.4223 5.39592 3.89534 4.73325 4.5576C4.19784 5.08655 3.79409 5.74021 3.54833 6.44547C2.65745 5.76601 1.76657 5.09085 0.871307 4.41139C1.81485 2.56223 3.50884 1.1044 5.49686 0.43784Z",fill:"#EA4335"}),r.createElement("path",{d:"M0.164771 6.41539C0.309594 5.71873 0.546576 5.03927 0.875719 4.40282C1.7666 5.08228 2.65748 5.75744 3.55274 6.4369C3.20166 7.43888 3.20166 8.55268 3.55274 9.55037C2.66186 10.2298 1.77099 10.9093 0.880107 11.5844C0.0550569 10.0062 -0.195091 8.15275 0.164771 6.41539Z",fill:"#FBBC05"}),r.createElement("path",{d:"M8.16515 6.49707C10.7237 6.49707 13.2866 6.49707 15.8451 6.49707C16.0997 7.90329 16.0426 9.36972 15.6389 10.7458C15.2659 12.0059 14.5593 13.1756 13.5719 14.0657C12.7073 13.4078 11.8428 12.7498 10.9782 12.0919C11.834 11.5285 12.4396 10.6168 12.6108 9.61914C11.1274 9.61914 9.6441 9.61914 8.16077 9.61914C8.16516 8.57845 8.16515 7.53776 8.16515 6.49707Z",fill:"#4285F4"}),r.createElement("path",{d:"M0.871338 11.5887C1.76222 10.9135 2.6531 10.2341 3.54397 9.55461C3.88628 10.5394 4.54457 11.4124 5.4135 12.0101C5.95769 12.3843 6.58086 12.6509 7.23037 12.7799C7.8711 12.9089 8.53377 12.8917 9.17889 12.7842C9.81962 12.6724 10.4384 12.4445 10.9782 12.0875C11.8428 12.7455 12.7073 13.4034 13.5718 14.0614C12.6371 14.9086 11.4653 15.4848 10.2278 15.7644C8.85853 16.0697 7.4103 16.0783 6.04985 15.7214C4.97026 15.4418 3.9565 14.9387 3.08317 14.2549C2.16596 13.5411 1.40235 12.6208 0.871338 11.5887Z",fill:"#34A853"})),hi=e=>r.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M0 0H7.58546V7.58546H0V0Z",fill:"#F25022"}),r.createElement("path",{d:"M8.37742 0H15.9629V7.58546H8.37742V0Z",fill:"#7FBA00"}),r.createElement("path",{d:"M0 8.37741H7.58546V15.9629H0V8.37741Z",fill:"#00A4EF"}),r.createElement("path",{d:"M8.41454 8.41454H16V16H8.41454V8.41454Z",fill:"#FFB900"})),mi=n.div`
1
+ import{e as q,N as Ue,a as We,M as k,j as i,T as E,G as Je,F as Ne,R as Ge,o,b as le,C,D as qe,X as ae,h as ke,g as c,L as Xe,c as Qe,d as Se,f as be,i as Ye,l as de,m as Ke,k as ei,J as je,n as ye,v as M,Z as ii,r as oi,B as ve,p as ni,q as L,s as ri,x as ti,z as si,t as li}from"./index-CnrHU8WN.js";import{b as r,n,f as ai,k as ze,j as di}from"./vendor-CnQcJ2Lu.js";import{i as ci}from"./ZeniCopyright-eQoaUH08-BVCPJkWr.js";import{S as gi}from"./ProductsCarousel-CSUQ6rVw-BjLG54WQ.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";const pi=e=>r.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M5.49686 0.437846C3.50884 1.1044 1.81485 2.56223 0.871312 4.40709C0.542169 5.04355 0.305187 5.71871 0.160364 6.41967C-0.199498 8.15702 0.0506501 10.0105 0.866923 11.593C1.39794 12.6251 2.16155 13.5454 3.08315 14.2636C3.95647 14.943 4.97023 15.4505 6.04982 15.73C7.41028 16.0869 8.8585 16.0783 10.2277 15.773C11.4653 15.4935 12.6371 14.9129 13.5718 14.07C14.5592 13.1799 15.2658 12.0102 15.6388 10.7502C16.047 9.37833 16.0996 7.9119 15.8451 6.50138C13.2866 6.50138 10.7236 6.50138 8.16511 6.50138C8.16511 7.54207 8.16511 8.58276 8.16511 9.62345C9.64844 9.62345 11.1318 9.62345 12.6151 9.62345C12.444 10.6211 11.8383 11.5328 10.9826 12.0962C10.4428 12.4531 9.82399 12.681 9.18326 12.7928C8.54253 12.9003 7.87546 12.9132 7.23473 12.7885C6.58084 12.6595 5.96205 12.3929 5.41787 12.0188C4.54893 11.421 3.88626 10.548 3.54834 9.56325C3.20164 8.56126 3.19725 7.44746 3.54834 6.44977C3.7941 5.74451 4.19784 5.09515 4.73325 4.56191C5.39153 3.89965 6.24731 3.42661 7.17329 3.23309C7.96323 3.06968 8.79706 3.09978 9.56945 3.3277C10.2277 3.52122 10.8334 3.87815 11.3293 4.34259C11.8296 3.85235 12.3299 3.3621 12.8302 2.87186C13.0935 2.60954 13.3699 2.35581 13.6245 2.08489C12.8653 1.39683 11.97 0.842081 10.9957 0.48945C9.24031 -0.147006 7.26545 -0.159907 5.49686 0.437846Z",fill:"white"}),r.createElement("path",{d:"M5.49686 0.43784C7.26106 -0.159913 9.2403 -0.147012 10.9957 0.485144C11.97 0.837775 12.8609 1.38822 13.6245 2.08058C13.3699 2.35151 13.0935 2.60523 12.8302 2.86755C12.3299 3.3578 11.8296 3.84804 11.3293 4.33828C10.8334 3.87384 10.2277 3.52121 9.56945 3.32339C8.79706 3.09547 7.96323 3.06107 7.17329 3.22879C6.25169 3.4223 5.39592 3.89534 4.73325 4.5576C4.19784 5.08655 3.79409 5.74021 3.54833 6.44547C2.65745 5.76601 1.76657 5.09085 0.871307 4.41139C1.81485 2.56223 3.50884 1.1044 5.49686 0.43784Z",fill:"#EA4335"}),r.createElement("path",{d:"M0.164771 6.41539C0.309594 5.71873 0.546576 5.03927 0.875719 4.40282C1.7666 5.08228 2.65748 5.75744 3.55274 6.4369C3.20166 7.43888 3.20166 8.55268 3.55274 9.55037C2.66186 10.2298 1.77099 10.9093 0.880107 11.5844C0.0550569 10.0062 -0.195091 8.15275 0.164771 6.41539Z",fill:"#FBBC05"}),r.createElement("path",{d:"M8.16515 6.49707C10.7237 6.49707 13.2866 6.49707 15.8451 6.49707C16.0997 7.90329 16.0426 9.36972 15.6389 10.7458C15.2659 12.0059 14.5593 13.1756 13.5719 14.0657C12.7073 13.4078 11.8428 12.7498 10.9782 12.0919C11.834 11.5285 12.4396 10.6168 12.6108 9.61914C11.1274 9.61914 9.6441 9.61914 8.16077 9.61914C8.16516 8.57845 8.16515 7.53776 8.16515 6.49707Z",fill:"#4285F4"}),r.createElement("path",{d:"M0.871338 11.5887C1.76222 10.9135 2.6531 10.2341 3.54397 9.55461C3.88628 10.5394 4.54457 11.4124 5.4135 12.0101C5.95769 12.3843 6.58086 12.6509 7.23037 12.7799C7.8711 12.9089 8.53377 12.8917 9.17889 12.7842C9.81962 12.6724 10.4384 12.4445 10.9782 12.0875C11.8428 12.7455 12.7073 13.4034 13.5718 14.0614C12.6371 14.9086 11.4653 15.4848 10.2278 15.7644C8.85853 16.0697 7.4103 16.0783 6.04985 15.7214C4.97026 15.4418 3.9565 14.9387 3.08317 14.2549C2.16596 13.5411 1.40235 12.6208 0.871338 11.5887Z",fill:"#34A853"})),hi=e=>r.createElement("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M0 0H7.58546V7.58546H0V0Z",fill:"#F25022"}),r.createElement("path",{d:"M8.37742 0H15.9629V7.58546H8.37742V0Z",fill:"#7FBA00"}),r.createElement("path",{d:"M0 8.37741H7.58546V15.9629H0V8.37741Z",fill:"#00A4EF"}),r.createElement("path",{d:"M8.41454 8.41454H16V16H8.41454V8.41454Z",fill:"#FFB900"})),mi=n.div`
2
2
  margin-left: ${o.sp3};
3
3
  color: ${e=>e.theme.colors.primary};
4
4
  font-family: ${li.Roboto};
@@ -36,7 +36,7 @@ import{X as q,V as Ue,a as We,M as k,j as i,T as E,G as Je,F as Ge,E as Ne,o,i a
36
36
  `,fi=n(hi)`
37
37
  height: ${o.sp3};
38
38
  width: ${o.sp3};
39
- `;function Ie({type:e,titleText:g,disabled:a,loadingIndication:m,onClick:h}){const d=q(),x=i.jsxs(wi,{children:[e==="Google"?i.jsx(xi,{}):i.jsx(fi,{}),i.jsx(mi,{windowSize:d,children:g})]});return i.jsx(ui,{windowSize:d,disabled:a===!0,onClick:a===!0?void 0:h,children:m===!0?i.jsx(Ke,{size:"Standard",start:m===!0}):x})}const $i=({inProgress:e,disabled:g,onSuccess:a,onSignedInCallback:m,getSignedInUser:h,onError:d})=>{const x=Ye({onSuccess:a,flow:"auth-code",onError:d}),w=()=>{if(h()!=null){m();return}x()};return i.jsx(Ie,{onClick:w,disabled:g,type:"Google",titleText:k.getLocalizedStrings().signIn.signInGoogleButton,loadingIndication:e})},Ci=e=>{const{clientId:g,scopes:a,getSignedInUser:m,onSignedInCallback:h,render:d,onSuccess:x,onFailure:w,disabled:_}=e;let{responseType:$,responseMode:S,prompt:v,redirectUri:z}=e,P,s;const I="https://login.microsoftonline.com/common/oauth2/v2.0/authorize",F=["openid","profile"];$=$??"code",S=S??"fragment",v=v??"consent",ai.useEffect(()=>{const u=de.toZeniUrl(window.location[S==="fragment"?"hash":"search"],!0).query;(window.location.search||window.location.hash)&&(u.code!=null||u.access_token!=null||u.error!=null)&&Z()},[]);const T=()=>{const u=encodeURIComponent((a??F).join(" "));return z=z??window.location.origin+window.location.pathname,`${I}?client_id=${g}&response_type=${$}&redirect_uri=${encodeURIComponent(z)}&scope=${u}&prompt=${v}&response_mode=${S}`},Z=()=>{window.opener?.authScope.authCompletedCB(de.toZeniUrl(window.location[S==="fragment"?"hash":"search"],!0).query),window.close()};return d({onClick:()=>{if(m()!=null){h();return}P=!1;const u=(p,O)=>{const V=window.screen.width/2-287.5,B=window.screen.height/2-600/2,H=window.open(p,O,`toolbar=0,status=0, width=575, height=600, top=${B}, left=${V}`);s=setInterval(()=>{H.closed&&!P&&(w({error:k.getLocalizedStrings().signIn.signInError,errorDetail:{reason:"Signin popup window was closed"}}),clearInterval(s))},500)};window.authScope={authCompletedCB:p=>{P=!0,clearInterval(s),$==="code"&&p.code?x({code:p.code}):$==="token"&&p.access_token?x({accessToken:p.access_token,tokenType:p.token_type,scope:p.scope}):p.error==="access_denied"?w({error:k.getLocalizedStrings().signIn.signInAuthError,errorDetail:p}):w({error:k.getLocalizedStrings().signIn.signInError,errorDetail:p})}},u(T(),"Microsoft Sign In")},disabled:_})},ki=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M14.4966 8.6752L11.3135 9.72133C11.0597 9.80325 10.7843 9.78641 10.5423 9.67418C10.3004 9.56195 10.1096 9.36259 10.0082 9.1159C9.90679 8.86922 9.90213 8.59335 9.99519 8.34338C10.0882 8.09341 10.2721 7.88773 10.5102 7.76741L13.5941 6.22588C13.8572 6.09531 14.1441 6.01959 14.4373 6.00333C14.7305 5.98706 15.024 6.03059 15.2999 6.13126L19.8522 7.78259V14.0308L14.4912 15.0493",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M4.67786 14.0308H6.90938L10.1138 17.6227C10.2769 17.812 10.4939 17.9469 10.7359 18.0093C10.9778 18.0716 11.2331 18.0584 11.4673 17.9714C11.7015 17.8845 11.9035 17.7279 12.0461 17.5227C12.1887 17.3175 12.2651 17.0736 12.265 16.8238V16.2623L12.4248 16.3266C12.6541 16.4182 12.9023 16.4522 13.1477 16.4257C13.3932 16.3991 13.6284 16.3129 13.8328 16.1744C14.0372 16.036 14.2046 15.8496 14.3203 15.6315C14.436 15.4134 14.4965 15.1703 14.4965 14.9234H14.9428C15.1915 14.9234 15.4352 14.8542 15.6468 14.7234C15.8583 14.5927 16.0292 14.4057 16.1404 14.1833C16.2516 13.9609 16.2987 13.7119 16.2763 13.4643C16.254 13.2166 16.1632 12.9801 16.014 12.7812L13.1576 9.12146",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M10.9725 7.53178L10.6458 7.264C10.3838 7.06988 10.0765 6.94592 9.75318 6.9039C9.42981 6.86187 9.10106 6.90318 8.79813 7.02389L4.67786 8.67521",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M2 6.89001H3.78522C4.02195 6.89001 4.24899 6.98406 4.41638 7.15145C4.58378 7.31885 4.67782 7.54589 4.67782 7.78262V14.0309C4.67782 14.2676 4.58378 14.4946 4.41638 14.662C4.24899 14.8294 4.02195 14.9235 3.78522 14.9235H2",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M22.53 14.9235H20.7448C20.508 14.9235 20.281 14.8294 20.1136 14.662C19.9462 14.4946 19.8522 14.2676 19.8522 14.0309V7.78262C19.8522 7.54589 19.9462 7.31885 20.1136 7.15145C20.281 6.98406 20.508 6.89001 20.7448 6.89001H22.53",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M12.265 16.2624L11.3724 15.3698",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.1576 13.5846L14.4965 14.9235",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),A={width:new C(343,572,572),containerTop:new C(17,25,25)},{signIn:{emailNotFoundPopup:D},common:{gotIt:Si}}=k.getLocalizedStrings();function bi({signInError:e,onClose:g}){const a=q(),[m,h]=r.useState(!1),d=e?.email;return i.jsx(ji,{windowSize:a,role:"presentation",style:{background:c.overlayDark},children:i.jsx(ni,{onClickAway:()=>{h(!0),g()},children:i.jsxs(zi,{windowSize:a,className:m?"containerClass fade":"containerClass",fade:m,children:[i.jsxs(Ii,{children:[D.title,i.jsx(Pi,{children:d})]}),i.jsxs(Ti,{children:[i.jsxs(N,{children:[i.jsx(J,{children:i.jsx(Ei,{})}),i.jsx(G,{windowSize:a,children:D.confirmEmail})]}),i.jsxs(N,{children:[i.jsx(J,{children:i.jsx(Mi,{})}),i.jsx(G,{windowSize:a,children:D.checkAccess})]}),i.jsxs(N,{children:[i.jsx(J,{children:i.jsx(Li,{})}),i.jsx(G,{windowSize:a,children:D.contactZeni})]})]}),i.jsx(je,{label:Si,variant:"primary",onClick:()=>{h(!0),g()}})]})})})}const ji=n.div`
39
+ `;function Ie({type:e,titleText:g,disabled:a,loadingIndication:m,onClick:h}){const d=q(),x=i.jsxs(wi,{children:[e==="Google"?i.jsx(xi,{}):i.jsx(fi,{}),i.jsx(mi,{windowSize:d,children:g})]});return i.jsx(ui,{windowSize:d,disabled:a===!0,onClick:a===!0?void 0:h,children:m===!0?i.jsx(Ke,{size:"Standard",start:m===!0}):x})}const $i=({inProgress:e,disabled:g,onSuccess:a,onSignedInCallback:m,getSignedInUser:h,onError:d})=>{const x=Ye({onSuccess:a,flow:"auth-code",onError:d}),w=()=>{if(h()!=null){m();return}x()};return i.jsx(Ie,{onClick:w,disabled:g,type:"Google",titleText:k.getLocalizedStrings().signIn.signInGoogleButton,loadingIndication:e})},Ci=e=>{const{clientId:g,scopes:a,getSignedInUser:m,onSignedInCallback:h,render:d,onSuccess:x,onFailure:w,disabled:F}=e;let{responseType:$,responseMode:S,prompt:v,redirectUri:z}=e,P,s;const I="https://login.microsoftonline.com/common/oauth2/v2.0/authorize",V=["openid","profile"];$=$??"code",S=S??"fragment",v=v??"consent",ai.useEffect(()=>{const u=de.toZeniUrl(window.location[S==="fragment"?"hash":"search"],!0).query;(window.location.search||window.location.hash)&&(u.code!=null||u.access_token!=null||u.error!=null)&&Z()},[]);const T=()=>{const u=encodeURIComponent((a??V).join(" "));return z=z??window.location.origin+window.location.pathname,`${I}?client_id=${g}&response_type=${$}&redirect_uri=${encodeURIComponent(z)}&scope=${u}&prompt=${v}&response_mode=${S}`},Z=()=>{window.opener?.authScope.authCompletedCB(de.toZeniUrl(window.location[S==="fragment"?"hash":"search"],!0).query),window.close()};return d({onClick:()=>{if(m()!=null){h();return}P=!1;const u=(p,B)=>{const _=window.screen.width/2-287.5,D=window.screen.height/2-600/2,O=window.open(p,B,`toolbar=0,status=0, width=575, height=600, top=${D}, left=${_}`);s=setInterval(()=>{O.closed&&!P&&(w({error:k.getLocalizedStrings().signIn.signInError,errorDetail:{reason:"Signin popup window was closed"}}),clearInterval(s))},500)};window.authScope={authCompletedCB:p=>{P=!0,clearInterval(s),$==="code"&&p.code?x({code:p.code}):$==="token"&&p.access_token?x({accessToken:p.access_token,tokenType:p.token_type,scope:p.scope}):p.error==="access_denied"?w({error:k.getLocalizedStrings().signIn.signInAuthError,errorDetail:p}):w({error:k.getLocalizedStrings().signIn.signInError,errorDetail:p})}},u(T(),"Microsoft Sign In")},disabled:F})},ki=e=>r.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},r.createElement("path",{d:"M14.4966 8.6752L11.3135 9.72133C11.0597 9.80325 10.7843 9.78641 10.5423 9.67418C10.3004 9.56195 10.1096 9.36259 10.0082 9.1159C9.90679 8.86922 9.90213 8.59335 9.99519 8.34338C10.0882 8.09341 10.2721 7.88773 10.5102 7.76741L13.5941 6.22588C13.8572 6.09531 14.1441 6.01959 14.4373 6.00333C14.7305 5.98706 15.024 6.03059 15.2999 6.13126L19.8522 7.78259V14.0308L14.4912 15.0493",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M4.67786 14.0308H6.90938L10.1138 17.6227C10.2769 17.812 10.4939 17.9469 10.7359 18.0093C10.9778 18.0716 11.2331 18.0584 11.4673 17.9714C11.7015 17.8845 11.9035 17.7279 12.0461 17.5227C12.1887 17.3175 12.2651 17.0736 12.265 16.8238V16.2623L12.4248 16.3266C12.6541 16.4182 12.9023 16.4522 13.1477 16.4257C13.3932 16.3991 13.6284 16.3129 13.8328 16.1744C14.0372 16.036 14.2046 15.8496 14.3203 15.6315C14.436 15.4134 14.4965 15.1703 14.4965 14.9234H14.9428C15.1915 14.9234 15.4352 14.8542 15.6468 14.7234C15.8583 14.5927 16.0292 14.4057 16.1404 14.1833C16.2516 13.9609 16.2987 13.7119 16.2763 13.4643C16.254 13.2166 16.1632 12.9801 16.014 12.7812L13.1576 9.12146",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M10.9725 7.53178L10.6458 7.264C10.3838 7.06988 10.0765 6.94592 9.75318 6.9039C9.42981 6.86187 9.10106 6.90318 8.79813 7.02389L4.67786 8.67521",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M2 6.89001H3.78522C4.02195 6.89001 4.24899 6.98406 4.41638 7.15145C4.58378 7.31885 4.67782 7.54589 4.67782 7.78262V14.0309C4.67782 14.2676 4.58378 14.4946 4.41638 14.662C4.24899 14.8294 4.02195 14.9235 3.78522 14.9235H2",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M22.53 14.9235H20.7448C20.508 14.9235 20.281 14.8294 20.1136 14.662C19.9462 14.4946 19.8522 14.2676 19.8522 14.0309V7.78262C19.8522 7.54589 19.9462 7.31885 20.1136 7.15145C20.281 6.98406 20.508 6.89001 20.7448 6.89001H22.53",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M12.265 16.2624L11.3724 15.3698",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),r.createElement("path",{d:"M13.1576 13.5846L14.4965 14.9235",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),R={width:new C(343,572,572),containerTop:new C(17,25,25)},{signIn:{emailNotFoundPopup:H},common:{gotIt:Si}}=k.getLocalizedStrings();function bi({signInError:e,onClose:g}){const a=q(),[m,h]=r.useState(!1),d=e?.email;return i.jsx(ji,{windowSize:a,role:"presentation",style:{background:c.overlayDark},children:i.jsx(ni,{onClickAway:()=>{h(!0),g()},children:i.jsxs(zi,{windowSize:a,className:m?"containerClass fade":"containerClass",fade:m,children:[i.jsxs(Ii,{children:[H.title,i.jsx(Pi,{children:d})]}),i.jsxs(Ti,{children:[i.jsxs(G,{children:[i.jsx(J,{children:i.jsx(Ei,{})}),i.jsx(N,{windowSize:a,children:H.confirmEmail})]}),i.jsxs(G,{children:[i.jsx(J,{children:i.jsx(Mi,{})}),i.jsx(N,{windowSize:a,children:H.checkAccess})]}),i.jsxs(G,{children:[i.jsx(J,{children:i.jsx(Li,{})}),i.jsx(N,{windowSize:a,children:H.contactZeni})]})]}),i.jsx(je,{label:Si,variant:"primary",onClick:()=>{h(!0),g()}})]})})})}const ji=n.div`
40
40
  position: fixed;
41
41
  top: 0;
42
42
  left: 0;
@@ -55,11 +55,11 @@ import{X as q,V as Ue,a as We,M as k,j as i,T as E,G as Je,F as Ge,E as Ne,o,i a
55
55
  top: 100%;
56
56
  }
57
57
  100% {
58
- top: ${A.containerTop.valuePercentage(e)};
58
+ top: ${R.containerTop.valuePercentage(e)};
59
59
  }
60
60
  `,vi=({windowSize:e})=>ze`
61
61
  0% {
62
- top: ${A.containerTop.valuePercentage(e)};
62
+ top: ${R.containerTop.valuePercentage(e)};
63
63
  }
64
64
  100% {
65
65
  top: 100%;
@@ -73,9 +73,9 @@ import{X as q,V as Ue,a as We,M as k,j as i,T as E,G as Je,F as Ge,E as Ne,o,i a
73
73
  background: ${e=>e.theme.colors.grey5};
74
74
  border-radius: ${o.sp2};
75
75
  position: relative;
76
- top: ${e=>e.fade?"100%":A.containerTop.valuePercentage(e.windowSize)};
76
+ top: ${e=>e.fade?"100%":R.containerTop.valuePercentage(e.windowSize)};
77
77
  padding: ${o.sp5} ${o.sp0};
78
- width: ${e=>A.width.valuePx(e.windowSize)};
78
+ width: ${e=>R.width.valuePx(e.windowSize)};
79
79
  animation: ${e=>yi(e)} 0.25s linear;
80
80
  box-shadow: ${c.Elevation2Dark};
81
81
  overflow: hidden;
@@ -108,11 +108,11 @@ import{X as q,V as Ue,a as We,M as k,j as i,T as E,G as Je,F as Ge,E as Ne,o,i a
108
108
  display: flex;
109
109
  align-items: center;
110
110
  justify-content: center;
111
- `,G=n(ye)`
111
+ `,N=n(ye)`
112
112
  width: calc(100% - 120px);
113
113
  color: ${e=>e.theme.colors.primary};
114
114
  text-align: start;
115
- `,N=n.div`
115
+ `,G=n.div`
116
116
  display: flex;
117
117
  align-items: center;
118
118
  margin-bottom: ${o.sp5};
@@ -130,7 +130,7 @@ import{X as q,V as Ue,a as We,M as k,j as i,T as E,G as Je,F as Ge,E as Ne,o,i a
130
130
  word-break: break-all;
131
131
  `,Ti=n.div`
132
132
  padding: ${o.sp0} ${o.sp6};
133
- `,l=k.getLocalizedStrings(),Ee={signInHeading:new ae("h5Regular","h2Regular"),signInMessage:new ae("standardRegular","h6Regular")},y={ZeniLogoContainerLeftMargin:new C(L[0],L[5]),ZeniLogoContainerTopMargin:new C(12,L[3]),headingContainerTopMargin:new C(36,10),signInContainerPaddingTop:new C(L[12],L[4]),emailInputFontSize:new C(M.standardRegular.fontSizeValue,M.extraLargeRegular.fontSizeValue),emailInputVerticalPadding:new C(L[3],12)},Vi=n.div`
133
+ `,l=k.getLocalizedStrings(),Ee={signInHeading:new ae("h5Regular","h2Regular"),signInMessage:new ae("standardRegular","h6Regular")},y={ZeniLogoContainerLeftMargin:new C(L[0],L[5]),ZeniLogoContainerTopMargin:new C(12,L[3]),headingContainerTopMargin:new C(36,10),signInContainerPaddingTop:new C(L[12],L[4]),emailInputFontSize:new C(M.standardRegular.fontSizeValue,M.extraLargeRegular.fontSizeValue),emailInputVerticalPadding:new C(L[3],12)},_i=n.div`
134
134
  background-image: ${e=>`url(https://storage.googleapis.com/zeni-apis.appspot.com/images/signin-background-${e.windowSize==="small"?"m":"w"}-${e.theme.mode==="light"?"l":"d"}.svg)`};
135
135
 
136
136
  background-color: ${e=>e.theme.colors.background};
@@ -143,7 +143,7 @@ import{X as q,V as Ue,a as We,M as k,j as i,T as E,G as Je,F as Ge,E as Ne,o,i a
143
143
  background-position: 50px ${o.sp0};
144
144
  background-repeat: no-repeat;
145
145
  overflow-x: hidden;
146
- `,_i=n.div`
146
+ `,Fi=n.div`
147
147
  display: flex;
148
148
  flex: 1 1 auto;
149
149
  padding: ${o.sp0} ${o.sp4} ${o.sp0} ${o.sp4};
@@ -169,7 +169,7 @@ import{X as q,V as Ue,a as We,M as k,j as i,T as E,G as Je,F as Ge,E as Ne,o,i a
169
169
  margin: ${o.sp1} ${o.sp0} ${o.sp1} ${o.sp0};
170
170
  color: ${e=>e.theme.colors.hero};
171
171
  text-decoration: none;
172
- `,Fi=n(oi)`
172
+ `,Vi=n(oi)`
173
173
  color: ${c.important};
174
174
  text-align: center;
175
175
  white-space: pre;
@@ -179,7 +179,7 @@ import{X as q,V as Ue,a as We,M as k,j as i,T as E,G as Je,F as Ge,E as Ne,o,i a
179
179
  flex-shrink: 0;
180
180
  position: relative;
181
181
  width: ${e=>e.windowSize==="small"?"100%":"unset"};
182
- `,Oi=n.div`
182
+ `,Bi=n.div`
183
183
  display: flex;
184
184
  flex-direction: row;
185
185
  align-items: center;
@@ -200,7 +200,7 @@ import{X as q,V as Ue,a as We,M as k,j as i,T as E,G as Je,F as Ge,E as Ne,o,i a
200
200
  border: 1px solid
201
201
  ${e=>e.hasError?c.important:e.theme.colors.primary};
202
202
  }
203
- `,Bi=n(ei,{shouldForwardProp:e=>e!=="isValid"&&e!=="windowSize"})`
203
+ `,Di=n(ei,{shouldForwardProp:e=>e!=="isValid"&&e!=="windowSize"})`
204
204
  flex: 1;
205
205
 
206
206
  & .MuiOutlinedInput-root {
@@ -231,7 +231,7 @@ import{X as q,V as Ue,a as We,M as k,j as i,T as E,G as Je,F as Ge,E as Ne,o,i a
231
231
  opacity: 1;
232
232
  }
233
233
  }
234
- `,Hi=n(Se)`
234
+ `,Oi=n(Se)`
235
235
  color: ${c.important};
236
236
  text-align: left;
237
237
  margin-top: ${o.sp2};
@@ -250,12 +250,12 @@ import{X as q,V as Ue,a as We,M as k,j as i,T as E,G as Je,F as Ge,E as Ne,o,i a
250
250
  border-radius: 50px;
251
251
  padding: 12px ${o.sp4};
252
252
  box-sizing: border-box;
253
- `,Di=n(be)`
253
+ `,Hi=n(be)`
254
254
  width: ${o.sp3};
255
255
  height: ${o.sp3};
256
256
  color: ${e=>e.theme.colors.brandColorSapphire};
257
257
  flex-shrink: 0;
258
- `,Ai=n.div`
258
+ `,Ri=n.div`
259
259
  width: ${o.sp4};
260
260
  height: ${o.sp4};
261
261
  background-color: ${c.neutralGrey5Light};
@@ -273,7 +273,7 @@ import{X as q,V as Ue,a as We,M as k,j as i,T as E,G as Je,F as Ge,E as Ne,o,i a
273
273
  `,fe=n(Se)`
274
274
  color: ${e=>e.theme.colors.hero};
275
275
  text-align: center;
276
- `,Ri=n.div`
276
+ `,Ai=n.div`
277
277
  display: flex;
278
278
  flex-direction: column;
279
279
  align-items: center;
@@ -300,7 +300,7 @@ import{X as q,V as Ue,a as We,M as k,j as i,T as E,G as Je,F as Ge,E as Ne,o,i a
300
300
  margin-top: ${e=>y.headingContainerTopMargin.valuePx(e.windowSize)};
301
301
  row-gap: ${e=>e.isMagicLinkSent?e.windowSize==="small"?"150px":o.sp4:o.sp2};
302
302
  flex-direction: column;
303
- `,Gi=n.div`
303
+ `,Ni=n.div`
304
304
  display: flex;
305
305
  flex-direction: column;
306
306
  display: flex;
@@ -312,7 +312,7 @@ import{X as q,V as Ue,a as We,M as k,j as i,T as E,G as Je,F as Ge,E as Ne,o,i a
312
312
  .zeni-logo {
313
313
  align-self: ${e=>e.windowSize==="small"?"center":"self-start"};
314
314
  }
315
- `,Ni=n(qe)`
315
+ `,Gi=n(qe)`
316
316
  color: ${e=>e.theme.colors.primary};
317
317
  height: ${o.sp4};
318
318
  `,qi=n.div`
@@ -405,4 +405,4 @@ import{X as q,V as Ue,a as We,M as k,j as i,T as E,G as Je,F as Ge,E as Ne,o,i a
405
405
  flex-direction: column;
406
406
  align-items: center;
407
407
  gap: 1px;
408
- `;function wo({googleClientId:e,microsoftClientId:g,fetchState:a,signInError:m={},showEmailLogin:h=!0,sendMagicLinkStatus:d,magicLinkExpired:x,magicLinkExpiredEmail:w,getSignedInUser:_,onSignedInCallback:$,clearSignInError:S,onOAuthSuccess:v,onOAuthError:z,sendMagicLink:P}){const s=q(),{dark:I}=Ue(),F=a==="In-Progress",T=a==="Error",[Z,u]=r.useState(void 0),[p,O]=r.useState(""),[V,B]=r.useState(!1),[H,R]=r.useState(!1),[f,Q]=r.useState(!1),Le=a==="In-Progress"&&p==="google",Me=a==="In-Progress"&&p==="microsoft",Y=We({mode:"onSubmit",defaultValues:{email:""}}),{register:Pe,handleSubmit:Te,formState:{errors:K},setValue:ee,watch:Ve,clearErrors:_e}=Y,ie=Ve("email"),oe=!!K.email||H,ne=!!K.email;r.useEffect(()=>{h&&x===!0&&w!=null&&w.trim()!==""&&(ee("email",w),R(!0),Q(!0))},[h,x,w,ee]);const Fe=t=>{R(!1),t.email.trim()&&P(t.email)},Ze=()=>{R(!1),_e("email")},U=d.fetchState==="Error"&&d.error?.error?.type==="email_not_found",re=T&&m.type==="email_not_found";r.useEffect(()=>{(re||U)&&B(!0)},[U,re]);const Oe=t=>{console.log(JSON.stringify(t)),u(void 0),v(t.code,"google"),O("google")},Be=t=>{const j="Error = "+t?.error+" Error Description = "+t?.error_description;u(j),z?.(JSON.stringify(t),"google")},He=t=>{console.log(JSON.stringify(t)),u(void 0),v(t.code,"microsoft"),O("microsoft")},De=t=>{console.log(JSON.stringify(t)),u(t.error??"Microsoft authorization failed."),z?.(JSON.stringify(t),"microsoft")},Ae=()=>{let t="";return(T||Z!=null)&&V===!1&&(t=Z??l.signIn.signInAuthError),t},te=d.fetchState==="Completed"?l.signIn.confirmationLinkSent:l.signIn.heading,se=l.signIn.message,b=d.fetchState==="Completed",Re=U&&d.error?.error?d.error.error:m;return i.jsxs(Vi,{windowSize:s,children:[i.jsxs(_i,{children:[i.jsxs(qi,{children:[i.jsx(Gi,{windowSize:s,children:i.jsx(Ni,{className:"zeni-logo"})}),i.jsxs($e,{isMagicLinkSent:b,windowSize:s,style:{display:s==="small"?"flex":"none"},children:[i.jsx(ce,{windowSize:s,children:te}),i.jsx(E,{controller:!b,children:i.jsx(ge,{windowSize:s,children:se})}),i.jsx(E,{controller:b,children:i.jsxs(me,{children:[i.jsx(ue,{isDarkTheme:I,children:i.jsx(we,{isDarkTheme:I,children:k.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((t,j,W)=>i.jsxs("span",{children:[t,j<W.length-1&&i.jsx(xe,{children:ie})]},j))})}),i.jsx(fe,{children:l.signIn.magicLinkSent.secondaryMessage})]})})]}),i.jsxs($e,{isMagicLinkSent:b,windowSize:s,style:{display:s==="small"?"none":"flex"},children:[i.jsx(ce,{windowSize:s,children:te}),i.jsx(E,{controller:!b,children:i.jsx(ge,{windowSize:s,children:se})}),i.jsx(E,{controller:b,children:i.jsxs(me,{children:[i.jsxs(ue,{isDarkTheme:I,children:[i.jsx(Ai,{children:i.jsx(Di,{})}),i.jsx(we,{isDarkTheme:I,children:k.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((t,j,W)=>i.jsxs("span",{children:[t,j<W.length-1&&i.jsx(xe,{children:ie})]},j))})]}),i.jsx(fe,{children:l.signIn.magicLinkSent.secondaryMessage})]})})]}),i.jsx(E,{controller:!b,children:i.jsxs(Ri,{windowSize:s,children:[i.jsxs(Ui,{showEmailError:oe,showEmailForm:f,children:[!f&&i.jsxs(Wi,{windowSize:s,children:[i.jsx(Je,{clientId:e,children:i.jsx($i,{disabled:F,inProgress:Le,getSignedInUser:_,onSuccess:Oe,onSignedInCallback:$,onError:Be})}),i.jsx(Ci,{clientId:g,scopes:["openid","profile","email","offline_access","User.Read"],getSignedInUser:_,prompt:"select_account",responseType:"code",responseMode:"query",render:t=>i.jsx(Ie,{onClick:t.onClick,disabled:F||t.disabled,type:"Microsoft",titleText:l.signIn.signInMicrosoftButton,loadingIndication:Me}),onSignedInCallback:$,onSuccess:He,onFailure:De})]}),h&&f&&i.jsx(Ge,{...Y,children:i.jsxs(Zi,{windowSize:s,children:[i.jsx("form",{onSubmit:Te(Fe),children:i.jsxs(Oi,{windowSize:s,hasError:ne,children:[i.jsx(Bi,{windowSize:s,type:"text",placeholder:l.signIn.workEmailExample,variant:"outlined",fullWidth:!0,isValid:!ne,autoComplete:"off",...Pe("email",{required:l.signIn.invalidEmailMessage,pattern:{value:Ne,message:l.signIn.invalidEmailMessage},onChange:Ze})}),i.jsx(Qi,{variant:"primary",type:"submit",label:l.signIn.signInButton,loading:d.fetchState==="In-Progress"})]})}),oe&&i.jsx(Hi,{children:H?l.signIn.magicLinkExpired:l.signIn.invalidEmailMessage})]})}),h&&i.jsxs(eo,{children:[i.jsxs(Yi,{showEmailForm:f,windowSize:s,children:[i.jsx(Ce,{showEmailForm:f,windowSize:s}),i.jsx(Ki,{children:l.common.texts.or.toUpperCase()}),i.jsx(Ce,{showEmailForm:f,windowSize:s})]}),i.jsxs(no,{children:[i.jsx(io,{onClick:()=>Q(!f),children:f?l.signIn.googleOrMicrosoftLink:l.signIn.workEmailLink}),i.jsx(oo,{isVisible:!f,children:l.signIn.workEmailSubText})]})]})]}),V===!1&&T&&i.jsx(Ji,{children:i.jsx(Fi,{children:Ae()})})]})})]}),i.jsx(E,{controller:s!=="small",children:i.jsx(Xi,{children:i.jsx(gi,{scale:.88,useFixedArrowPosition:!0})})}),i.jsx(pe,{style:{maxWidth:"100%",textAlign:"center",marginBottom:s==="small"?o.sp5:o.sp1},children:i.jsxs(pe,{children:[i.jsxs(he,{children:[l.signIn.termsPrivacyFinePrintPart,l.signIn.agreeWith,i.jsx(le,{href:l.signIn.termsUrl,target:"_Blank",rel:"noopener noreferrer",linkText:l.signIn.termsOfService})," ",l.signIn.and," ",i.jsx(le,{href:l.signIn.privacyPolicyUrl,target:"_Blank",rel:"noopener noreferrer",linkText:l.signIn.privacyPolicy}),"."]}),i.jsx(he,{children:i.jsx(ci,{})})]})})]}),V&&i.jsx(bi,{signInError:Re,onClose:()=>{S(),B(!1)}})]})}export{wo as default};
408
+ `;function wo({googleClientId:e,microsoftClientId:g,fetchState:a,signInError:m={},showEmailLogin:h=!0,sendMagicLinkStatus:d,magicLinkExpired:x,magicLinkExpiredEmail:w,getSignedInUser:F,onSignedInCallback:$,clearSignInError:S,onOAuthSuccess:v,onOAuthError:z,sendMagicLink:P}){const s=q(),{dark:I}=Ue(),V=a==="In-Progress",T=a==="Error",[Z,u]=r.useState(void 0),[p,B]=r.useState(""),[_,D]=r.useState(!1),[O,A]=r.useState(!1),[f,Q]=r.useState(!1),Le=a==="In-Progress"&&p==="google",Me=a==="In-Progress"&&p==="microsoft",Y=We({mode:"onSubmit",defaultValues:{email:""}}),{register:Pe,handleSubmit:Te,formState:{errors:K},setValue:ee,watch:_e,clearErrors:Fe}=Y,ie=_e("email"),oe=!!K.email||O,ne=!!K.email;r.useEffect(()=>{h&&x===!0&&w!=null&&w.trim()!==""&&(ee("email",w),A(!0),Q(!0))},[h,x,w,ee]);const Ve=t=>{A(!1),t.email.trim()&&P(t.email)},Ze=()=>{A(!1),Fe("email")},U=d.fetchState==="Error"&&d.error?.error?.type==="email_not_found",re=T&&m.type==="email_not_found";r.useEffect(()=>{(re||U)&&D(!0)},[U,re]);const Be=t=>{console.log(JSON.stringify(t)),u(void 0),v(t.code,"google"),B("google")},De=t=>{const j="Error = "+t?.error+" Error Description = "+t?.error_description;u(j),z?.(JSON.stringify(t),"google")},Oe=t=>{console.log(JSON.stringify(t)),u(void 0),v(t.code,"microsoft"),B("microsoft")},He=t=>{console.log(JSON.stringify(t)),u(t.error??"Microsoft authorization failed."),z?.(JSON.stringify(t),"microsoft")},Re=()=>{let t="";return(T||Z!=null)&&_===!1&&(t=Z??l.signIn.signInAuthError),t},te=d.fetchState==="Completed"?l.signIn.confirmationLinkSent:l.signIn.heading,se=l.signIn.message,b=d.fetchState==="Completed",Ae=U&&d.error?.error?d.error.error:m;return i.jsxs(_i,{windowSize:s,children:[i.jsxs(Fi,{children:[i.jsxs(qi,{children:[i.jsx(Ni,{windowSize:s,children:i.jsx(Gi,{className:"zeni-logo"})}),i.jsxs($e,{isMagicLinkSent:b,windowSize:s,style:{display:s==="small"?"flex":"none"},children:[i.jsx(ce,{windowSize:s,children:te}),i.jsx(E,{controller:!b,children:i.jsx(ge,{windowSize:s,children:se})}),i.jsx(E,{controller:b,children:i.jsxs(me,{children:[i.jsx(ue,{isDarkTheme:I,children:i.jsx(we,{isDarkTheme:I,children:k.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((t,j,W)=>i.jsxs("span",{children:[t,j<W.length-1&&i.jsx(xe,{children:ie})]},j))})}),i.jsx(fe,{children:l.signIn.magicLinkSent.secondaryMessage})]})})]}),i.jsxs($e,{isMagicLinkSent:b,windowSize:s,style:{display:s==="small"?"none":"flex"},children:[i.jsx(ce,{windowSize:s,children:te}),i.jsx(E,{controller:!b,children:i.jsx(ge,{windowSize:s,children:se})}),i.jsx(E,{controller:b,children:i.jsxs(me,{children:[i.jsxs(ue,{isDarkTheme:I,children:[i.jsx(Ri,{children:i.jsx(Hi,{})}),i.jsx(we,{isDarkTheme:I,children:k.getLocalizedStrings().signIn.magicLinkSent.primaryMessage.split("__email__").map((t,j,W)=>i.jsxs("span",{children:[t,j<W.length-1&&i.jsx(xe,{children:ie})]},j))})]}),i.jsx(fe,{children:l.signIn.magicLinkSent.secondaryMessage})]})})]}),i.jsx(E,{controller:!b,children:i.jsxs(Ai,{windowSize:s,children:[i.jsxs(Ui,{showEmailError:oe,showEmailForm:f,children:[!f&&i.jsxs(Wi,{windowSize:s,children:[i.jsx(Je,{clientId:e,children:i.jsx($i,{disabled:V,inProgress:Le,getSignedInUser:F,onSuccess:Be,onSignedInCallback:$,onError:De})}),i.jsx(Ci,{clientId:g,scopes:["openid","profile","email","offline_access","User.Read"],getSignedInUser:F,prompt:"select_account",responseType:"code",responseMode:"query",render:t=>i.jsx(Ie,{onClick:t.onClick,disabled:V||t.disabled,type:"Microsoft",titleText:l.signIn.signInMicrosoftButton,loadingIndication:Me}),onSignedInCallback:$,onSuccess:Oe,onFailure:He})]}),h&&f&&i.jsx(Ne,{...Y,children:i.jsxs(Zi,{windowSize:s,children:[i.jsx("form",{onSubmit:Te(Ve),children:i.jsxs(Bi,{windowSize:s,hasError:ne,children:[i.jsx(Di,{windowSize:s,type:"text",placeholder:l.signIn.workEmailExample,variant:"outlined",fullWidth:!0,isValid:!ne,autoComplete:"off",...Pe("email",{required:l.signIn.invalidEmailMessage,pattern:{value:Ge,message:l.signIn.invalidEmailMessage},onChange:Ze})}),i.jsx(Qi,{variant:"primary",type:"submit",label:l.signIn.signInButton,loading:d.fetchState==="In-Progress"})]})}),oe&&i.jsx(Oi,{children:O?l.signIn.magicLinkExpired:l.signIn.invalidEmailMessage})]})}),h&&i.jsxs(eo,{children:[i.jsxs(Yi,{showEmailForm:f,windowSize:s,children:[i.jsx(Ce,{showEmailForm:f,windowSize:s}),i.jsx(Ki,{children:l.common.texts.or.toUpperCase()}),i.jsx(Ce,{showEmailForm:f,windowSize:s})]}),i.jsxs(no,{children:[i.jsx(io,{onClick:()=>Q(!f),children:f?l.signIn.googleOrMicrosoftLink:l.signIn.workEmailLink}),i.jsx(oo,{isVisible:!f,children:l.signIn.workEmailSubText})]})]})]}),_===!1&&T&&i.jsx(Ji,{children:i.jsx(Vi,{children:Re()})})]})})]}),i.jsx(E,{controller:s!=="small",children:i.jsx(Xi,{children:i.jsx(gi,{scale:.88,useFixedArrowPosition:!0})})}),i.jsx(pe,{style:{maxWidth:"100%",textAlign:"center",marginBottom:s==="small"?o.sp5:o.sp1},children:i.jsxs(pe,{children:[i.jsxs(he,{children:[l.signIn.termsPrivacyFinePrintPart,l.signIn.agreeWith,i.jsx(le,{href:l.signIn.termsUrl,target:"_Blank",rel:"noopener noreferrer",linkText:l.signIn.termsOfService})," ",l.signIn.and," ",i.jsx(le,{href:l.signIn.privacyPolicyUrl,target:"_Blank",rel:"noopener noreferrer",linkText:l.signIn.privacyPolicy}),"."]}),i.jsx(he,{children:i.jsx(ci,{})})]})})]}),_&&i.jsx(bi,{signInError:Ae,onClose:()=>{S(),D(!1)}})]})}export{wo as default};
@@ -1 +1 @@
1
- import{j as d}from"./mui-C5LQ0bMa.js";import{b as S,f as m}from"./vendor-CnQcJ2Lu.js";import{g as f,u as l,f as I}from"./redux-ByjIRbhZ.js";import{ke as u,u as h,l as r,M as w,kd as C,D as E,kL as v,kh as p}from"./index-BS9BhstZ.js";import{f as U}from"./analyticsHelper-ClYKq5_x.js";import{a as x,u as y,N as L}from"./routing-Cpaypegg.js";import{c as k}from"./sentry-HDxG13yk.js";import"./analytics-CBL_L82S.js";import"./liveblocks-sSQ9JElv.js";import"./crypto-BURQLTgV.js";function T(o){const a=o.tenantState.fetchState,i=o.tenantState.sendEmailMagicLinkFetchState;return{googleClientId:p.googleClientId,microsoftClientId:p.microsoftClientId,signInError:o.tenantState.error?.error,fetchState:a,sendMagicLinkStatus:i,showEmailLogin:!1}}function P(o,a){const{location:i,navigate:s}=a;return console.warn(JSON.stringify(window.location)),{onOAuthError:(t,e)=>{k({message:`OAuth error from provider ${e} with error ${t}`,level:"error",tags:{authProvider:e,errorType:"zeni.login.error"},extra:{error:t,windowLocation:window.location.href}})},onOAuthSuccess:(t,e)=>{const g=e==="google"?window.location.origin:window.location.origin+window.location.pathname;o(r.doSignIn({authCode:t,oauthProvider:e,appType:"web",redirectUri:r.toZeniUrl(g),sourceUri:r.toZeniUrl(i.state!=null?i.state.origin:"")}))},getSignedInUser:()=>u.getSignedInUser(),onSignedInCallback:()=>{const t=i.state?.origin;t&&t!=="/"?s(t,{replace:!0}):window.open(window.location.origin,"_self")},clearSignInError:()=>{o(r.resetSignInState())}}}const z=I(T,P)(v),A=m.memo(z);function B(){const o=f(),a=x(),i=u.getSignedInUser(),s=l(n=>n.tenantState.fetchState),t=l(n=>n.tenantState.signInState),e=l(n=>n.tenantState.loggedInUser),g=h().mode,c=y();if(S.useEffect(()=>{if(t==="In-Progress"&&s==="Completed"&&e?.zeniSessionId!=null){u.saveSignedInUserWithSession(e,e.zeniSessionId),r.updateZeniAPIClientConfig(e.userId,e.zeniSessionId),o(r.updateSignInState("Completed")),w.updateAppLocaleID("en"),U(e,g);const n=c.state?.queryParams;setTimeout(()=>{C.trackLogin(E.Event.loginSuccess,e.authProvider??"google",n?.utmSource,n?.utmMedium)},2e3)}},[]),t==="In-Progress"&&s==="Completed"&&e?.zeniSessionId!=null||i!=null){const n=c.state?.origin??"/";return d.jsx(L,{to:n,state:{...c.state,origin:""}})}else return d.jsx(A,{navigate:a,location:c})}export{B as default};
1
+ import{j as d}from"./mui-Bi8r7UDG.js";import{b as S,f as m}from"./vendor-CnQcJ2Lu.js";import{g as f,u as l,f as I}from"./redux-CC-tnuv1.js";import{ka as u,u as w,l as r,M as h,k9 as C,H as E,kH as v,kd as p}from"./index-CnrHU8WN.js";import{f as U}from"./analyticsHelper-u4uoMPvS.js";import{a as x,u as y,N as k}from"./routing-CxYXTKiv.js";import{c as L}from"./sentry-HDxG13yk.js";import"./analytics-CBL_L82S.js";import"./liveblocks-DZpRS25q.js";import"./crypto-BURQLTgV.js";function T(o){const a=o.tenantState.fetchState,i=o.tenantState.sendEmailMagicLinkFetchState;return{googleClientId:p.googleClientId,microsoftClientId:p.microsoftClientId,signInError:o.tenantState.error?.error,fetchState:a,sendMagicLinkStatus:i,showEmailLogin:!1}}function P(o,a){const{location:i,navigate:s}=a;return console.warn(JSON.stringify(window.location)),{onOAuthError:(t,e)=>{L({message:`OAuth error from provider ${e} with error ${t}`,level:"error",tags:{authProvider:e,errorType:"zeni.login.error"},extra:{error:t,windowLocation:window.location.href}})},onOAuthSuccess:(t,e)=>{const g=e==="google"?window.location.origin:window.location.origin+window.location.pathname;o(r.doSignIn({authCode:t,oauthProvider:e,appType:"web",redirectUri:r.toZeniUrl(g),sourceUri:r.toZeniUrl(i.state!=null?i.state.origin:"")}))},getSignedInUser:()=>u.getSignedInUser(),onSignedInCallback:()=>{const t=i.state?.origin;t&&t!=="/"?s(t,{replace:!0}):window.open(window.location.origin,"_self")},clearSignInError:()=>{o(r.resetSignInState())}}}const z=I(T,P)(v),A=m.memo(z);function H(){const o=f(),a=x(),i=u.getSignedInUser(),s=l(n=>n.tenantState.fetchState),t=l(n=>n.tenantState.signInState),e=l(n=>n.tenantState.loggedInUser),g=w().mode,c=y();if(S.useEffect(()=>{if(t==="In-Progress"&&s==="Completed"&&e?.zeniSessionId!=null){u.saveSignedInUserWithSession(e,e.zeniSessionId),r.updateZeniAPIClientConfig(e.userId,e.zeniSessionId),o(r.updateSignInState("Completed")),h.updateAppLocaleID("en"),U(e,g);const n=c.state?.queryParams;setTimeout(()=>{C.trackLogin(E.Event.loginSuccess,e.authProvider??"google",n?.utmSource,n?.utmMedium)},2e3)}},[]),t==="In-Progress"&&s==="Completed"&&e?.zeniSessionId!=null||i!=null){const n=c.state?.origin??"/";return d.jsx(k,{to:n,state:{...c.state,origin:""}})}else return d.jsx(A,{navigate:a,location:c})}export{H as default};
@@ -1,5 +1,5 @@
1
- const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-Cn-UsxaR-D2WwRrYC.js","assets/index-BS9BhstZ.js","assets/mui-C5LQ0bMa.js","assets/vendor-CnQcJ2Lu.js","assets/analytics-CBL_L82S.js","assets/routing-Cpaypegg.js","assets/sentry-HDxG13yk.js","assets/redux-ByjIRbhZ.js","assets/liveblocks-sSQ9JElv.js","assets/crypto-BURQLTgV.js","assets/index-BAKoUD4u.css","assets/useLongPress-GCK2COYQ-gxLtL5O4.js","assets/StatusSwitcher-CY3fhZpk-DDb6KoNb.js"])))=>i.map(i=>d[i]);
2
- import{u as Ue,w as He,X as z,l as y,M as U,fI as Ge,fK as Je,j as o,g2 as Ve,aV as We,f as qe,o as t,dv as Ke,gh as M,aB as Ye,fT as Qe,C,gi as Xe,fc as Ze,fd as et,g as S,p as tt,q as x,gj as ot,a3 as at,eW as it,e as nt,bH as st,fe as lt,ay as rt,m as ct}from"./index-BS9BhstZ.js";import{b as u,n as r,k as H}from"./vendor-CnQcJ2Lu.js";import{_ as dt}from"./liveblocks-sSQ9JElv.js";import{Y as mt}from"./SpendManagementSection-BBR4aFIT-DzW24Skc.js";import{K as ut}from"./StatusSwitcher-CY3fhZpk-DDb6KoNb.js";import"./mui-C5LQ0bMa.js";import"./analytics-CBL_L82S.js";import"./routing-Cpaypegg.js";import"./sentry-HDxG13yk.js";import"./redux-ByjIRbhZ.js";import"./crypto-BURQLTgV.js";const F=e=>u.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},u.createElement("path",{d:"M22.781 11.8215C22.7883 14.6988 21.6612 17.4629 19.6441 19.5146C17.627 21.5664 14.8825 22.7404 12.0055 22.7822C10.6005 22.8033 9.20515 22.5453 7.90056 22.023C6.59596 21.5008 5.40804 20.7247 4.40567 19.7399C3.40331 18.755 2.60645 17.5809 2.06132 16.2857C1.51619 14.9905 1.23362 13.6 1.23002 12.1948C1.22199 9.31703 2.34875 6.55215 4.36593 4.49975C6.38312 2.44735 9.1281 1.27292 12.0055 1.23117C13.4108 1.21016 14.8063 1.46837 16.111 1.99085C17.4158 2.51332 18.6038 3.28965 19.6061 4.27481C20.6085 5.25996 21.4053 6.43433 21.9503 7.72981C22.4953 9.02529 22.7777 10.4161 22.781 11.8215Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M17.1573 10.374H9.83934C9.05979 10.374 8.31216 10.6766 7.76093 11.2151C7.2097 11.7537 6.90002 12.4841 6.90002 13.2457C6.90002 14.0074 7.2097 14.7378 7.76093 15.2764C8.31216 15.8149 9.05979 16.1175 9.83934 16.1175H11.309",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M14.2151 13.2434L17.1544 10.3717L14.2151 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),f={width:new C(343,545,545),containerTop:new C(17,25,25),containerPaddingLeftRight:new C(x[4],x[7])},pt=r.div`
1
+ const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["assets/SpendManagementPerTabPage-IBAw8wc4-CqequpCF.js","assets/index-CnrHU8WN.js","assets/mui-Bi8r7UDG.js","assets/vendor-CnQcJ2Lu.js","assets/analytics-CBL_L82S.js","assets/routing-CxYXTKiv.js","assets/sentry-HDxG13yk.js","assets/redux-CC-tnuv1.js","assets/liveblocks-DZpRS25q.js","assets/crypto-BURQLTgV.js","assets/index-BAKoUD4u.css","assets/useLongPress-GCK2COYQ-gxLtL5O4.js","assets/StatusSwitcher-CtuL5COG-G6MVUY78.js"])))=>i.map(i=>d[i]);
2
+ import{u as Ue,Y as He,e as z,l as y,M as U,fL as Ge,fN as We,j as o,g5 as Je,aW as Ye,v as qe,o as t,dz as Ke,gl as F,aC as Ve,fW as Xe,C as f,gm as Qe,ff as Ze,fg as et,g as S,p as tt,q as x,gn as ot,a3 as at,bq as it,n as nt,bL as st,fh as lt,az as rt,B as ct}from"./index-CnrHU8WN.js";import{b as u,n as r,k as H}from"./vendor-CnQcJ2Lu.js";import{_ as dt}from"./liveblocks-DZpRS25q.js";import{Y as mt}from"./SpendManagementSection-yNP3swb6-CDpN_vFS.js";import{K as ut}from"./StatusSwitcher-CtuL5COG-G6MVUY78.js";import"./mui-Bi8r7UDG.js";import"./analytics-CBL_L82S.js";import"./routing-CxYXTKiv.js";import"./sentry-HDxG13yk.js";import"./redux-CC-tnuv1.js";import"./crypto-BURQLTgV.js";const M=e=>u.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",fill:"none",...e},u.createElement("path",{d:"M22.781 11.8215C22.7883 14.6988 21.6612 17.4629 19.6441 19.5146C17.627 21.5664 14.8825 22.7404 12.0055 22.7822C10.6005 22.8033 9.20515 22.5453 7.90056 22.023C6.59596 21.5008 5.40804 20.7247 4.40567 19.7399C3.40331 18.755 2.60645 17.5809 2.06132 16.2857C1.51619 14.9905 1.23362 13.6 1.23002 12.1948C1.22199 9.31703 2.34875 6.55215 4.36593 4.49975C6.38312 2.44735 9.1281 1.27292 12.0055 1.23117C13.4108 1.21016 14.8063 1.46837 16.111 1.99085C17.4158 2.51332 18.6038 3.28965 19.6061 4.27481C20.6085 5.25996 21.4053 6.43433 21.9503 7.72981C22.4953 9.02529 22.7777 10.4161 22.781 11.8215Z",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M17.1573 10.374H9.83934C9.05979 10.374 8.31216 10.6766 7.76093 11.2151C7.2097 11.7537 6.90002 12.4841 6.90002 13.2457C6.90002 14.0074 7.2097 14.7378 7.76093 15.2764C8.31216 15.8149 9.05979 16.1175 9.83934 16.1175H11.309",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"}),u.createElement("path",{d:"M14.2151 13.2434L17.1544 10.3717L14.2151 7.5",stroke:"currentColor",strokeWidth:1.5,strokeLinecap:"round",strokeLinejoin:"round"})),C={width:new f(343,545,545),containerTop:new f(17,25,25),containerPaddingLeftRight:new f(x[4],x[7])},pt=r.div`
3
3
  position: fixed;
4
4
  top: 0;
5
5
  left: 0;
@@ -18,11 +18,11 @@ import{u as Ue,w as He,X as z,l as y,M as U,fI as Ge,fK as Je,j as o,g2 as Ve,aV
18
18
  top: 100%;
19
19
  }
20
20
  100% {
21
- top: ${f.containerTop.valuePercentage(e)};
21
+ top: ${C.containerTop.valuePercentage(e)};
22
22
  }
23
23
  `,bt=({windowSize:e})=>H`
24
24
  0% {
25
- top: ${f.containerTop.valuePercentage(e)};
25
+ top: ${C.containerTop.valuePercentage(e)};
26
26
  }
27
27
  100% {
28
28
  top: 100%;
@@ -36,9 +36,9 @@ import{u as Ue,w as He,X as z,l as y,M as U,fI as Ge,fK as Je,j as o,g2 as Ve,aV
36
36
  background: ${e=>e.theme.colors.grey5};
37
37
  border-radius: ${t.sp2};
38
38
  position: relative;
39
- top: ${e=>e.fade?"100%":f.containerTop.valuePercentage(e.windowSize)};
40
- padding: ${e=>`${t.sp7} ${f.containerPaddingLeftRight.valuePx(e.windowSize)}`};
41
- width: ${e=>f.width.valuePx(e.windowSize)};
39
+ top: ${e=>e.fade?"100%":C.containerTop.valuePercentage(e.windowSize)};
40
+ padding: ${e=>`${t.sp7} ${C.containerPaddingLeftRight.valuePx(e.windowSize)}`};
41
+ width: ${e=>C.width.valuePx(e.windowSize)};
42
42
  animation: ${e=>ht(e)} 0.25s linear;
43
43
  box-shadow: ${S.Elevation2Dark};
44
44
  `,gt=r(it)`
@@ -54,11 +54,11 @@ import{u as Ue,w as He,X as z,l as y,M as U,fI as Ge,fK as Je,j as o,g2 as Ve,aV
54
54
  display: flex;
55
55
  align-items: center;
56
56
  justify-content: center;
57
- `,ft=r(nt)`
57
+ `,Ct=r(nt)`
58
58
  width: calc(100% - ${t.sp7});
59
59
  color: ${e=>e.theme.colors.primary};
60
60
  text-align: start;
61
- `,Ct=r.div`
61
+ `,ft=r.div`
62
62
  display: flex;
63
63
  align-items: center;
64
64
  justify-content: center;
@@ -106,12 +106,12 @@ import{u as Ue,w as He,X as z,l as y,M as U,fI as Ge,fK as Je,j as o,g2 as Ve,aV
106
106
  color: ${e=>e.theme.colors.primary};
107
107
  position: absolute;
108
108
  bottom: 22px;
109
- `,N=U.getLocalizedStrings().common.copyToClipBoard;function Et(e){const p=z(),[,h]=Ze(),[c,d]=u.useState(!0),[i,a]=u.useState(!1),[s,n]=u.useState(!1),{isMobileOrTabletScreen:g}=et(),T=()=>{if(c){const w=e.botEmail;h(w),d(!1)}},v=()=>{a(!0)},k=()=>{a(!1)};return u.useEffect(()=>{c===!1&&setTimeout(()=>{d(!0)},2e3)},[c]),o.jsx(pt,{windowSize:p,role:"presentation",style:{background:S.overlayDark,...e.style},children:o.jsx(tt,{onClickAway:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:o.jsxs(yt,{windowSize:p,className:s?"fade":"",fade:s,children:[o.jsx(It,{onClick:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),o.jsx(gt,{children:e.title}),o.jsx($t,{children:e.descriptionLines.map((w,l)=>o.jsxs(Ct,{children:[o.jsx(wt,{children:w.icon}),o.jsx(ft,{windowSize:p,children:w.text})]},l))}),o.jsxs(xt,{onClick:T,onMouseOver:v,onMouseLeave:k,showCopyIcon:c,showCopyText:i,children:[o.jsx(vt,{showCopyText:i,children:e.botEmail}),c?o.jsx(Tt,{windowSize:p,showCopyText:i&&!g,children:o.jsx(St,{})}):o.jsx(kt,{})]}),o.jsx(Bt,{children:c?i&&!g?N.copy:null:N.copied})]})})})}const G=U.getLocalizedStrings(),m=G.spendManagement,{common:{texts:{comments:At}},collaboration:{threads:{placeholder:{addANewComment:Lt,replyAComment:jt},tooltip:{resolveComment:Rt,unResolveComment:Pt}}}}=G,Ot={drawerSectionPaddingLeftRight:new C(x[4],x[5])},_t=Xe(()=>ot(()=>import("./SpendManagementPerTabPage-Cn-UsxaR-D2WwRrYC.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]))),Xt=e=>{const p=Ue(),h=He(),c=z(),{transactionList:d,allSubTabs:i,isAdmin:a,botEmail:s,isEmployee:n=!1,currentTab:g,currentSubTab:T,approvalCount:v,fetchState:k,analytics:w,entity:l,uiState:J,searchText:B,filters:V,vendorSearchAutoCompleteData:W,vendorSearchAutoCompleteActions:q,createdByUserList:K,createdByUserListFetchState:E,downloadParams:Y,downloadState:Q,isDownloadEnabled:X,isShowDeletedBillsEnabled:Z,isShowDeletedReimbursementEnabled:ee,isBillPayCommentingEnabled:A,isReimbursementCommentingEnabled:L,isDetectInsufficientFundsEnabled:te=!1,updateTabToState:oe,onSubtabChange:j,onReloadTransactions:ae,onTransactionClick:R,onClickSetupIcon:P,onBackClick:ie,onAddTransactionClick:ne,onColumnSortConfigChanged:se,onSearchTextChanged:le,onClickMenuIcon:re,onFiltersChange:ce,updateDownloadStateHandler:de,bulkSubmissionLimit:me=10,isBulkActionAllowed:ue=!1,isRecurringBillInBulkActionList:pe=!1,transactionsSelectedForBulkAction:he=[],allowedBulkActions:be=[],bulkSubmissionFetchState:ye,updateBulkActionList:ge,removeAllTransactionsFromBulkActionList:we,onProceedForBulkActionClick:fe}=e,Ce=["draft","pending_approval","scheduled","paid"],xe=b=>{R(b,g)},Se=o.jsx(_t,{botEmail:s,transactionList:d,allSubTabs:i,isAdmin:a,selectedTab:g,selectedSubTab:T,fetchState:k,onSubtabChange:j,onTransactionRowClick:xe,onReloadTransactions:ae,onColumnSortConfigChanged:se,analytics:w,entity:l,uiState:J,searchText:B,isShowDeletedBillsEnabled:Z,isShowDeletedReimbursementEnabled:ee,isBillPayCommentingEnabled:A,isReimbursementCommentingEnabled:L,bulkSubmissionLimit:me,isBulkActionAllowed:ue,isRecurringBillInBulkActionList:pe,transactionsSelectedForBulkAction:he,isDetectInsufficientFundsEnabled:te,allowedBulkActions:be,bulkSubmissionFetchState:ye,updateBulkActionList:ge,removeAllTransactionsFromBulkActionList:we,onProceedForBulkActionClick:fe}),Te=b=>{oe(b),j("all")},ve=y.hasOnlyBillPayAccess(h.loggedInUserRoleMap),[O,ke]=u.useState(!1),[Ie,_]=u.useState(!1),$e=b=>{ke(b)},Be=l==="bill_pay"?y.hasBillPayAdminLevelAccess(h.loggedInUserRoleMap):y.hasReimbursementAdminLevelAccess(h.loggedInUserRoleMap),Ee={entity:l,showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!0,newButtonLabel:"New",isSearchOpen:O,searchPlaceHolder:l==="bill_pay"?m.billPay.billsByTabs.searchPlaceHolder:m.reimbursement.reimbursementByTabs.searchPlaceHolder,searchText:B,searchTextBoxStyle:{right:"204px"},showSettingsIconOnNavbar:Be,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!0,disableDownloadButton:X===!1,downloadParams:Y,downloadState:Q,filters:V,vendorSearchAutoCompleteData:W,vendorSearchAutoCompleteActions:q,createdByUserListLoaded:l==="bill_pay"||y.hideCreatedByFilter(h.loggedInUserRole??[])?!0:E==="Completed"||E==="Error",analytics:w,onNewButtonClick:ne,onSearchOpen:$e,onSearchTextChanged:le,onClickSetupIcon:P,onClickEmailInfoIcon:()=>_(!0),onFiltersChange:ce,getFilterOptions:l==="bill_pay"||l==="reimbursement"?()=>Dt(l,K??[],h.loggedInUserRole??[],[]):void 0,updateDownloadStateHandler:de},Ae=o.jsx(mt,{spendManagementSectionProps:Ee}),[Le,je]=u.useState(null),[Re,I]=u.useState(!1),{setRequestToOpenThread:Pe}=u.useContext(Ge),Oe=`dashboard_${h.currentTenant?.companyId}`,D=l==="bill_pay"?"bill":"reimbursement",{threads:_e}=Je({application:"dashboard",companyId:h.currentTenant?.companyId,tab:D,entityId:Le?.entityId,isGlobalComment:!1},"both",!1),De={openAllThreadsDrawer:b=>{je({...b}),I(!0)}},Me=(b,$)=>{const{companyId:Fe,entityId:Ne,entityType:ze}=b;I(!1),Pe({threadId:$,companyId:Fe,entityType:ze}),R(Ne,g)};return o.jsx(Ve,{sharedItems:{sharedFunctions:{subtreeFunctions:De},sharedRef:void 0},children:o.jsxs(Mt,{children:[o.jsx(We,{source:"SpendManagementListViewPage",title:l==="bill_pay"?m.billPay.billsByTabs.pageTitle:m.reimbursement.reimbursementByTabs.pageTitle,showBackButton:!n&&!ve,showMenuIcon:c==="medium-compact"||c==="small",backgroundColor:p.colors.grey4,style:{zIndex:3,...qe.largeSemiBold.cssObject},onBackClick:ie,rightSideComponent:Ae,onClickMenuIcon:re,isSearchOpen:O}),o.jsxs(Ft,{children:[o.jsx(Nt,{children:o.jsx(ut,{tabIds:Ce,approvalCount:v,selectedTab:g,entity:l,onTabSelectedChange:Te,onClickSetupIcon:P})}),Se]}),Ie?o.jsx(Et,{botEmail:s,onCancelClick:()=>_(!1),title:l==="bill_pay"?m.billPay.billsByTabs.emailInfoTitle:m.reimbursement.reimbursementByTabs.emailInfoTitle,descriptionLines:l==="bill_pay"?[{icon:o.jsx(F,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription1},{icon:o.jsx(Ke,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription2},{icon:o.jsx(M,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription3}]:[{icon:o.jsx(F,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription1},{icon:o.jsx(Ye,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription2},{icon:o.jsx(M,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription3}]}):null,l==="bill_pay"&&A||l==="reimbursement"&&L?o.jsx(dt,{id:Oe,children:o.jsx(Qe,{isDrawerOpen:Re,allowComposer:!1,drawerTitle:At,threads:_e,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:h.currentTenant?.companyId,isGlobalComment:!1,tab:D},isLoading:!1,textOverrides:{composerPlaceholder:Lt,replyComposerPlaceholder:jt,threadResolve:Rt,threadUnResolve:Pt},onThreadClick:(b,$)=>Me(b,$),onCloseAllThreadsDrawer:()=>I(!1),drawerSectionStyle:{width:c==="small"?"100%":"400px",boxSizing:c==="small"?"border-box":"content-box",padding:`${t.sp0} ${Ot.drawerSectionPaddingLeftRight.valuePx(c)}`,backgroundColor:p.colors.background},collapsibleThreadStyle:{width:c==="small"?"100%":"360px"}})}):null]})})},Dt=(e,p,h,c)=>{const d=m.filters.filterOptions;return e==="bill_pay"?y.BILL_PAY_FILTER_CATEGORIES.reduce((i,a)=>{switch(a.value){case"amount":return{...i,[a.value]:d.billAmountOptions};case"paymentMethod":return{...i,[a.value]:d.paymentMethodOptions};case"status":return{...i,[a.value]:[...d.commonStatusOptions,...d.billStatusOptions]};case"paymentType":return{...i,[a.value]:d.billPaymentTypeOptions};default:return{...i,[a.value]:[]}}},{}):e==="reimbursement"?(y.hideCreatedByFilter(h)?y.REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED:y.REIMBURSEMENT_FILTER_CATEGORIES).reduce((i,a)=>{switch(a.value){case"createdBy":{if(p?.length===0)return{...i,[a.value]:[]};const s=p.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"paymentMethod":return{...i,[a.value]:d.paymentMethodOptions};case"status":return{...i,[a.value]:d.commonStatusOptions};case"amount":return{...i,[a.value]:d.reimbursementAmountOptions};default:return{...i,[a.value]:[]}}},{}):y.TASK_LIST_FILTER_CATEGORIES.reduce((i,a)=>{switch(a.value){case"assignee":{if(p?.length===0)return{...i,[a.value]:[]};const s=p.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"status":return{...i,[a.value]:[...y.allTaskStatus.map(s=>({label:s.name,value:s.code}))]};case"priority":return{...i,[a.value]:[...y.allTaskPriority.map(s=>({label:s.name,value:s.code}))]};case"tag":return{...i,[a.value]:[...c.map(s=>({label:s.name,value:s.tagId}))]};default:return{...i,[a.value]:[]}}},{})},Mt=r.div`
109
+ `,N=U.getLocalizedStrings().common.copyToClipBoard;function Et(e){const p=z(),[,h]=Ze(),[c,d]=u.useState(!0),[i,a]=u.useState(!1),[s,n]=u.useState(!1),{isMobileOrTabletScreen:g}=et(),T=()=>{if(c){const w=e.botEmail;h(w),d(!1)}},v=()=>{a(!0)},k=()=>{a(!1)};return u.useEffect(()=>{c===!1&&setTimeout(()=>{d(!0)},2e3)},[c]),o.jsx(pt,{windowSize:p,role:"presentation",style:{background:S.overlayDark,...e.style},children:o.jsx(tt,{onClickAway:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)},children:o.jsxs(yt,{windowSize:p,className:s?"fade":"",fade:s,children:[o.jsx(It,{onClick:()=>{n(!0),setTimeout(()=>e.onCancelClick?.(),250)}}),o.jsx(gt,{children:e.title}),o.jsx($t,{children:e.descriptionLines.map((w,l)=>o.jsxs(ft,{children:[o.jsx(wt,{children:w.icon}),o.jsx(Ct,{windowSize:p,children:w.text})]},l))}),o.jsxs(xt,{onClick:T,onMouseOver:v,onMouseLeave:k,showCopyIcon:c,showCopyText:i,children:[o.jsx(vt,{showCopyText:i,children:e.botEmail}),c?o.jsx(Tt,{windowSize:p,showCopyText:i&&!g,children:o.jsx(St,{})}):o.jsx(kt,{})]}),o.jsx(Bt,{children:c?i&&!g?N.copy:null:N.copied})]})})})}const G=U.getLocalizedStrings(),m=G.spendManagement,{common:{texts:{comments:Lt}},collaboration:{threads:{placeholder:{addANewComment:At,replyAComment:jt},tooltip:{resolveComment:Rt,unResolveComment:Pt}}}}=G,_t={drawerSectionPaddingLeftRight:new f(x[4],x[5])},Ot=Qe(()=>ot(()=>import("./SpendManagementPerTabPage-IBAw8wc4-CqequpCF.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12]))),Qt=e=>{const p=Ue(),h=He(),c=z(),{transactionList:d,allSubTabs:i,isAdmin:a,botEmail:s,isEmployee:n=!1,currentTab:g,currentSubTab:T,approvalCount:v,fetchState:k,analytics:w,entity:l,uiState:W,searchText:B,filters:J,vendorSearchAutoCompleteData:Y,vendorSearchAutoCompleteActions:q,createdByUserList:K,createdByUserListFetchState:E,downloadParams:V,downloadState:X,isDownloadEnabled:Q,isShowDeletedBillsEnabled:Z,isShowDeletedReimbursementEnabled:ee,isBillPayCommentingEnabled:L,isReimbursementCommentingEnabled:A,isDetectInsufficientFundsEnabled:te=!1,updateTabToState:oe,onSubtabChange:j,onReloadTransactions:ae,onTransactionClick:R,onClickSetupIcon:P,onBackClick:ie,onAddTransactionClick:ne,onColumnSortConfigChanged:se,onSearchTextChanged:le,onClickMenuIcon:re,onFiltersChange:ce,updateDownloadStateHandler:de,bulkSubmissionLimit:me=10,isBulkActionAllowed:ue=!1,isRecurringBillInBulkActionList:pe=!1,transactionsSelectedForBulkAction:he=[],allowedBulkActions:be=[],bulkSubmissionFetchState:ye,updateBulkActionList:ge,removeAllTransactionsFromBulkActionList:we,onProceedForBulkActionClick:Ce}=e,fe=["draft","pending_approval","scheduled","paid"],xe=b=>{R(b,g)},Se=o.jsx(Ot,{botEmail:s,transactionList:d,allSubTabs:i,isAdmin:a,selectedTab:g,selectedSubTab:T,fetchState:k,onSubtabChange:j,onTransactionRowClick:xe,onReloadTransactions:ae,onColumnSortConfigChanged:se,analytics:w,entity:l,uiState:W,searchText:B,isShowDeletedBillsEnabled:Z,isShowDeletedReimbursementEnabled:ee,isBillPayCommentingEnabled:L,isReimbursementCommentingEnabled:A,bulkSubmissionLimit:me,isBulkActionAllowed:ue,isRecurringBillInBulkActionList:pe,transactionsSelectedForBulkAction:he,isDetectInsufficientFundsEnabled:te,allowedBulkActions:be,bulkSubmissionFetchState:ye,updateBulkActionList:ge,removeAllTransactionsFromBulkActionList:we,onProceedForBulkActionClick:Ce}),Te=b=>{oe(b),j("all")},ve=y.hasOnlyBillPayAccess(h.loggedInUserRoleMap),[_,ke]=u.useState(!1),[Ie,O]=u.useState(!1),$e=b=>{ke(b)},Be=l==="bill_pay"?y.hasBillPayAdminLevelAccess(h.loggedInUserRoleMap):y.hasReimbursementAdminLevelAccess(h.loggedInUserRoleMap),Ee={entity:l,showNewButtonOnNavbar:!0,showEntityEmailInfoIconOnNavbar:!0,newButtonLabel:"New",isSearchOpen:_,searchPlaceHolder:l==="bill_pay"?m.billPay.billsByTabs.searchPlaceHolder:m.reimbursement.reimbursementByTabs.searchPlaceHolder,searchText:B,searchTextBoxStyle:{right:"204px"},showSettingsIconOnNavbar:Be,showStatementButtonOnNavbar:!1,showDownloadButtonOnNavbar:!0,disableDownloadButton:Q===!1,downloadParams:V,downloadState:X,filters:J,vendorSearchAutoCompleteData:Y,vendorSearchAutoCompleteActions:q,createdByUserListLoaded:l==="bill_pay"||y.hideCreatedByFilter(h.loggedInUserRole??[])?!0:E==="Completed"||E==="Error",analytics:w,onNewButtonClick:ne,onSearchOpen:$e,onSearchTextChanged:le,onClickSetupIcon:P,onClickEmailInfoIcon:()=>O(!0),onFiltersChange:ce,getFilterOptions:l==="bill_pay"||l==="reimbursement"?()=>Dt(l,K??[],h.loggedInUserRole??[],[]):void 0,updateDownloadStateHandler:de},Le=o.jsx(mt,{spendManagementSectionProps:Ee}),[Ae,je]=u.useState(null),[Re,I]=u.useState(!1),{setRequestToOpenThread:Pe}=u.useContext(Ge),_e=`dashboard_${h.currentTenant?.companyId}`,D=l==="bill_pay"?"bill":"reimbursement",{threads:Oe}=We({application:"dashboard",companyId:h.currentTenant?.companyId,tab:D,entityId:Ae?.entityId,isGlobalComment:!1},"both",!1),De={openAllThreadsDrawer:b=>{je({...b}),I(!0)}},Fe=(b,$)=>{const{companyId:Me,entityId:Ne,entityType:ze}=b;I(!1),Pe({threadId:$,companyId:Me,entityType:ze}),R(Ne,g)};return o.jsx(Je,{sharedItems:{sharedFunctions:{subtreeFunctions:De},sharedRef:void 0},children:o.jsxs(Ft,{children:[o.jsx(Ye,{source:"SpendManagementListViewPage",title:l==="bill_pay"?m.billPay.billsByTabs.pageTitle:m.reimbursement.reimbursementByTabs.pageTitle,showBackButton:!n&&!ve,showMenuIcon:c==="medium-compact"||c==="small",backgroundColor:p.colors.grey4,style:{zIndex:3,...qe.largeSemiBold.cssObject},onBackClick:ie,rightSideComponent:Le,onClickMenuIcon:re,isSearchOpen:_}),o.jsxs(Mt,{children:[o.jsx(Nt,{children:o.jsx(ut,{tabIds:fe,approvalCount:v,selectedTab:g,entity:l,onTabSelectedChange:Te,onClickSetupIcon:P})}),Se]}),Ie?o.jsx(Et,{botEmail:s,onCancelClick:()=>O(!1),title:l==="bill_pay"?m.billPay.billsByTabs.emailInfoTitle:m.reimbursement.reimbursementByTabs.emailInfoTitle,descriptionLines:l==="bill_pay"?[{icon:o.jsx(M,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription1},{icon:o.jsx(Ke,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription2},{icon:o.jsx(F,{width:t.sp4,height:t.sp4}),text:m.billPay.billsByTabs.emailInfoDescription3}]:[{icon:o.jsx(M,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription1},{icon:o.jsx(Ve,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription2},{icon:o.jsx(F,{width:t.sp4,height:t.sp4}),text:m.reimbursement.reimbursementByTabs.emailInfoDescription3}]}):null,l==="bill_pay"&&L||l==="reimbursement"&&A?o.jsx(dt,{id:_e,children:o.jsx(Xe,{isDrawerOpen:Re,allowComposer:!1,drawerTitle:Lt,threads:Oe,autoExpand:!0,autoFocus:!1,filter:{application:"dashboard",companyId:h.currentTenant?.companyId,isGlobalComment:!1,tab:D},isLoading:!1,textOverrides:{composerPlaceholder:At,replyComposerPlaceholder:jt,threadResolve:Rt,threadUnResolve:Pt},onThreadClick:(b,$)=>Fe(b,$),onCloseAllThreadsDrawer:()=>I(!1),drawerSectionStyle:{width:c==="small"?"100%":"400px",boxSizing:c==="small"?"border-box":"content-box",padding:`${t.sp0} ${_t.drawerSectionPaddingLeftRight.valuePx(c)}`,backgroundColor:p.colors.background},collapsibleThreadStyle:{width:c==="small"?"100%":"360px"}})}):null]})})},Dt=(e,p,h,c)=>{const d=m.filters.filterOptions;return e==="bill_pay"?y.BILL_PAY_FILTER_CATEGORIES.reduce((i,a)=>{switch(a.value){case"amount":return{...i,[a.value]:d.billAmountOptions};case"paymentMethod":return{...i,[a.value]:d.paymentMethodOptions};case"status":return{...i,[a.value]:[...d.commonStatusOptions,...d.billStatusOptions]};case"paymentType":return{...i,[a.value]:d.billPaymentTypeOptions};default:return{...i,[a.value]:[]}}},{}):e==="reimbursement"?(y.hideCreatedByFilter(h)?y.REIMBURSEMENT_FILTER_CATEGORIES_RESTRICTED:y.REIMBURSEMENT_FILTER_CATEGORIES).reduce((i,a)=>{switch(a.value){case"createdBy":{if(p?.length===0)return{...i,[a.value]:[]};const s=p.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"paymentMethod":return{...i,[a.value]:d.paymentMethodOptions};case"status":return{...i,[a.value]:d.commonStatusOptions};case"amount":return{...i,[a.value]:d.reimbursementAmountOptions};default:return{...i,[a.value]:[]}}},{}):y.TASK_LIST_FILTER_CATEGORIES.reduce((i,a)=>{switch(a.value){case"assignee":{if(p?.length===0)return{...i,[a.value]:[]};const s=p.map(n=>({label:n?.firstName||n?.lastName?`${n?.firstName} ${n?.lastName}`:n?.email??"",value:n.userId,photo:n?.photo,email:n?.email}));return{...i,[a.value]:s}}case"status":return{...i,[a.value]:[...y.allTaskStatus.map(s=>({label:s.name,value:s.code}))]};case"priority":return{...i,[a.value]:[...y.allTaskPriority.map(s=>({label:s.name,value:s.code}))]};case"tag":return{...i,[a.value]:[...c.map(s=>({label:s.name,value:s.tagId}))]};default:return{...i,[a.value]:[]}}},{})},Ft=r.div`
110
110
  display: flex;
111
111
  min-height: 100%;
112
112
  flex-direction: column;
113
113
  width: 100%;
114
- `,Ft=r.div`
114
+ `,Mt=r.div`
115
115
  display: block;
116
116
  flex-wrap: wrap;
117
117
  justify-content: center;
@@ -120,4 +120,4 @@ import{u as Ue,w as He,X as z,l as y,M as U,fI as Ge,fK as Je,j as o,g2 as Ve,aV
120
120
  display: flex;
121
121
  margin-top: ${t.sp3};
122
122
  justify-content: center;
123
- `;export{Xt as default,Dt as getDashboardFilterCategoryValues};
123
+ `;export{Qt as default,Dt as getDashboardFilterCategoryValues};