@zeniai/web-cockpit-ui 1.14.18-qa → 1.14.19-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 (249) hide show
  1. package/dist/assets/{ACHDetailsPage-DDccOBrQ-DAFloIR7.js → ACHDetailsPage-BahbefPk-CJUwOp-5.js} +3 -3
  2. package/dist/assets/{AIPerformancePage-u3qF__mF-C2rQdAUj.js → AIPerformancePage-BuQApbEf-iP9bvKhu.js} +53 -53
  3. package/dist/assets/AccountInfoPage-TD30edES-B2dxCd6A.js +18 -0
  4. package/dist/assets/{AccountInfoPageContent-0PqU7bCV-DjyLxVjc.js → AccountInfoPageContent-DQJFmREl-DoaILqqU.js} +16 -16
  5. package/dist/assets/{AccountReconDetailsDrawerPage-DEqtU-rh-DShYSkdD.js → AccountReconDetailsDrawerPage-D2B9Na3--BPjptdtd.js} +18 -18
  6. package/dist/assets/{AccountRow-DTQ6Qoyr-BWLnnP7O.js → AccountRow-ZcS_RTJN-DNHX6IR1.js} +36 -36
  7. package/dist/assets/{AccountsPromoCardStack-DkYqKp1i-DIQYZHkX.js → AccountsPromoCardStack-Bh2D-mXh-Yx4rUExR.js} +37 -37
  8. package/dist/assets/{AddAddressForCardDrawer-DB3HtvgV-CtFYoq0c.js → AddAddressForCardDrawer-Ds2V5DyG-D2Tq6L1d.js} +2 -2
  9. package/dist/assets/{AddToWalletPage-DvgM0-kj-DdLn-yYb.js → AddToWalletPage-DQ_gwAcu-Bv5nxp9i.js} +29 -29
  10. package/dist/assets/{AgingReportsPage-BP6-oG6W-Zw_sJROa.js → AgingReportsPage-BU_tqV13-C2Yi_y38.js} +8 -8
  11. package/dist/assets/{AllUserItems-w6M8k5yU-YJIh_rl6.js → AllUserItems-DBXzXO61-sIPVSbAT.js} +5 -5
  12. package/dist/assets/ApAgingDetailPage-Crv9EDe5-Dm92urnR.js +46 -0
  13. package/dist/assets/AppBasePage-BK_b0fFf-DXr3P5KV.js +70 -0
  14. package/dist/assets/{AppDrawerContent-_gInVeZf-BQim72zX.js → AppDrawerContent-rw39Hn3s-Aoghs5SQ.js} +20 -19
  15. package/dist/assets/{ApprovalRulesSettingsPage-CKRde9he-xNULn6j9.js → ApprovalRulesSettingsPage-C6jxuvhu-S4p-j-Jr.js} +7 -7
  16. package/dist/assets/{ArAgingChart-Dg0oBo5K-D_U-_y14.js → ArAgingChart-DVMlvNTF-DuCGC2Pt.js} +1 -1
  17. package/dist/assets/{ArAgingDetailPage-CNizMSbt-Dth0_YLs.js → ArAgingDetailPage-CbmOL5tx-Bg8YQJ9n.js} +1 -1
  18. package/dist/assets/{AttachmentView-B8hloBca-B7H5OHbd.js → AttachmentView-BTAMhgXU-BizBD4c6.js} +9 -9
  19. package/dist/assets/{BankAccountSection-4HNC0ypd-C0gSDf56.js → BankAccountSection-DVO3xzgl-BbF3_Xvy.js} +7 -7
  20. package/dist/assets/{BankAccountWarningSection-BqgTMjDy-D19_f5S8.js → BankAccountWarningSection-CQsqUFKg-CEwje_vW.js} +10 -10
  21. package/dist/assets/{BankConnectionsSettingsPage-BBQh1oT8-CZV3CN6h.js → BankConnectionsSettingsPage-CEyhk8v--D1MZcFK5.js} +22 -22
  22. package/dist/assets/{BillDetailPage-R4oRrdsm-BEresB8F.js → BillDetailPage-CP6QCrla-C-q234bH.js} +18 -18
  23. package/dist/assets/{BillPayApprovalRuleDetailPage-d_A1-Gv_-3RrpKEuO.js → BillPayApprovalRuleDetailPage-Bem5LvtY-ByYY2uP-.js} +1 -1
  24. package/dist/assets/{BillPayApprovalRulesPage-5q5b2drs-IWViHE-L.js → BillPayApprovalRulesPage-DhDaCfQa-cqstNfVf.js} +8 -8
  25. package/dist/assets/{BillPayPromoPage-Dz_R3Vd_--yvJrLJn.js → BillPayPromoPage-BjH9lvnR-7aNAb2i3.js} +10 -10
  26. package/dist/assets/{BillPaySetUpPage-CwTRrElO-CydqQ4Hb.js → BillPaySetUpPage-X8X9gq1a-DvsjYi7w.js} +2 -2
  27. package/dist/assets/{BillingSettingsPage-_XJCl2yq-PULazhmD.js → BillingSettingsPage-CyyR8GW1-3x2HPXEj.js} +6 -6
  28. package/dist/assets/{BillsBulkReviewDrawerPage-B_S35aKX-BEOZeSq9.js → BillsBulkReviewDrawerPage-D_xxZjcU-M0WKN8pE.js} +1 -1
  29. package/dist/assets/{BoxItem-9JmA6QqI-COQbCWSM.js → BoxItem-BL-UVx2X-CDUWJCC4.js} +4 -4
  30. package/dist/assets/{BusinessVerificationPage-DJKOIC1M-LiFEkQgk.js → BusinessVerificationPage-Tr-N_rHo-BFVLh_Kq.js} +8 -8
  31. package/dist/assets/{CardNumberSubText-CewmMWju-DvCOWAQW.js → CardNumberSubText-CNMNL0y--CRLH2YxV.js} +2 -2
  32. package/dist/assets/{CashbackDetailPage-HtjAmPa8-CinbzV-Y.js → CashbackDetailPage-Cj26I5CB-DNKm6NdF.js} +27 -27
  33. package/dist/assets/{ChargeCardDetailPage-D_5vb_92-Du3sCUPX.js → ChargeCardDetailPage-herJK06r-Jj0sML3r.js} +40 -40
  34. package/dist/assets/{ChargeCardListPage-BT-8bueF-06vjr20X.js → ChargeCardListPage-LYVKm-0u-CGVPXLUW.js} +26 -26
  35. package/dist/assets/{ChargeCardListTable-oJTQcOkc-BWmgu2hA.js → ChargeCardListTable-DxE-nRR4-Dc_afx90.js} +38 -38
  36. package/dist/assets/ChargeCardPromoPage-LVuaSVsQ-xG3b-_Ag.js +222 -0
  37. package/dist/assets/{ChargeCardSetupPage-cqydgFPZ-BGlawUmi.js → ChargeCardSetupPage-CWoHclOr-CLs_UkHN.js} +2 -2
  38. package/dist/assets/{ChargeCardStatementsPage-URwhXATj-CKBPOOuu.js → ChargeCardStatementsPage-DkCHd5c6-y_ZysAG_.js} +8 -8
  39. package/dist/assets/{ChargeCardUtils-DBEgXAMc-CCKJwoXw.js → ChargeCardUtils-6kq_92Ri-BhC-mlU5.js} +1 -1
  40. package/dist/assets/{ChaseOverlay-HTpWDuLt-DX0UAuYL.js → ChaseOverlay-N7gGQaMQ-Bh9lkzpe.js} +7 -7
  41. package/dist/assets/{CheckDepositDrawerPage-DLc3qfVH-D8HoFLZB.js → CheckDepositDrawerPage-w7IziUHI-DeTxsGVS.js} +20 -20
  42. package/dist/assets/{CollapsableReportTable-PpQgBBRC-ZGrGfaoO.js → CollapsableReportTable-NSlKGCNZ-9GlkRzVX.js} +59 -59
  43. package/dist/assets/{CompanyOfficerDetailsSection-C1aPsDga-CZMmYqn7.js → CompanyOfficerDetailsSection-C1IpMsWw-4riCbcJi.js} +33 -33
  44. package/dist/assets/{CompanyPassportCard-DMKqBgwh-BK9jAm1s.js → CompanyPassportCard-D5gkzDNU-DdCNWaie.js} +4 -4
  45. package/dist/assets/{CompanyPassportPage-CHHPIqN_-DmQdYIKs.js → CompanyPassportPage-6_6yWHxX-BzKkvM2X.js} +31 -31
  46. package/dist/assets/CompleteProfile-1xeOWkGT-CSILrADl.js +52 -0
  47. package/dist/assets/{ConfettiBurst-14a5kaEE-GS9xo-rd.js → ConfettiBurst-b1-NNKbl-Dk_0sV_i.js} +1 -1
  48. package/dist/assets/{CreateOrEditVendorPage-K5rhe_y3-N41MtjES.js → CreateOrEditVendorPage-DQW4Wobx-CiIXGaQB.js} +13 -13
  49. package/dist/assets/{CreditCardPaymentDrawerPage-LQ--HUI9-Cc_Sa5wy.js → CreditCardPaymentDrawerPage-BEpQXn9g-DzfCHeLI.js} +21 -21
  50. package/dist/assets/{CreditCardPaymentPlgSection-BM05WC-i-DNDbbaSP.js → CreditCardPaymentPlgSection-BGh2TJeK-DFQxSPk-.js} +8 -8
  51. package/dist/assets/{CurrencySelectField-bhkJTNUW-BRZe_YtM.js → CurrencySelectField-C2if0NUa-ChKY5K5U.js} +4 -4
  52. package/dist/assets/{CustomerOnboardingActivationPage-BHD1irjF-CTeUMMCT.js → CustomerOnboardingActivationPage-_zjv9RZY-5MkPCW8D.js} +9 -9
  53. package/dist/assets/CustomerOnboardingContainerPage-BXSxGbv8-CIUqDhfe.js +1 -0
  54. package/dist/assets/{CustomerOnboardingDetailPageSkeleton-B--kAA3i-MPsa0cdA.js → CustomerOnboardingDetailPageSkeleton-CXApNm6A-BSR-PhTi.js} +11 -11
  55. package/dist/assets/{CustomerOnboardingNoStepsPage-sHKAos8m-Db1Asz6M.js → CustomerOnboardingNoStepsPage-BaBxG1Yn-DqlQrhK_.js} +5 -5
  56. package/dist/assets/{CustomerOnboardingPage-B_S5G-6o-ioTtf7qq.js → CustomerOnboardingPage-CWpmMXrh-CRkiPpz7.js} +8 -8
  57. package/dist/assets/{CustomerOnboardingProductSuitePage-CVi8WuQY-DhCHrYf_.js → CustomerOnboardingProductSuitePage-CGYRoz3v-BhEGdWj7.js} +11 -11
  58. package/dist/assets/{Dashboard-CIMiF6eU-Bh4A-kwo.js → Dashboard-Dyt4nvyG-CkNduEQV.js} +1 -1
  59. package/dist/assets/{DashboardReportPage-6z6qBQSB-DtM_VyEZ.js → DashboardReportPage-BSbTlRwW-gHAkcokq.js} +20 -20
  60. package/dist/assets/{DepositAccTransactionItem-BQYFrzDW-BcHBCoaK.js → DepositAccTransactionItem-CuTp6qxI-Ce2SFbUX.js} +10 -10
  61. package/dist/assets/{DepositAccTransactionListPage-xSNsUwS4-CqhIj9_l.js → DepositAccTransactionListPage-CrQrOyrm-LYbEgddo.js} +8 -8
  62. package/dist/assets/{DomesticWireDetailsPage-b1iB1HBM-DQ1jdhWC.js → DomesticWireDetailsPage-C5hxxGsr-D-EvElMb.js} +1 -1
  63. package/dist/assets/{DownloadOverlay-C3oy6eq7-DGj-h14-.js → DownloadOverlay-B9O7jf-4-BeIpOSC8.js} +1 -1
  64. package/dist/assets/{DrawerPage-DLVTld-y-ocrEwuzh.js → DrawerPage-Dpd6lRf7-l9nV_5N2.js} +15 -15
  65. package/dist/assets/EditPeoplePage-C7uOWg9F-BdboEEOc.js +55 -0
  66. package/dist/assets/{EditReimbursementDetailPage-zgUt303N-DNfD2_Hk.js → EditReimbursementDetailPage-BL-W1hPs-D4iR-8Yt.js} +55 -55
  67. package/dist/assets/{EntityDetailPage-DY4i6GZK-BLVHMR98.js → EntityDetailPage-BsQ9bSpC-Do5rjOCb.js} +2 -2
  68. package/dist/assets/{EntitySummarySection-BbxeYdm8-BY7Iv_Z9.js → EntitySummarySection-eNxIwvHt-CkeObU85.js} +9 -9
  69. package/dist/assets/{ExpenseAutomationOverviewPage-D3x3XpmU-C_l3U2ns.js → ExpenseAutomationOverviewPage-CKBACgsI-pcAU6Tzl.js} +29 -29
  70. package/dist/assets/{ExpenseAutomationPage-BTAjM6yZ-DWdHw-Sn.js → ExpenseAutomationPage-LPWPrpwm-T8iyqKP1.js} +56 -56
  71. package/dist/assets/{ExpressPayPage-C30-lVTo-6WY6w68k.js → ExpressPayPage-COQrt-KL-sn6b2-XB.js} +11 -11
  72. package/dist/assets/FeaturePreviewPage-Coe53hoK-Doq3zPCz.js +11 -0
  73. package/dist/assets/{FollowStepsSection-B171fPtM-BriP7ojJ.js → FollowStepsSection-BJFJzQrz-CGmrm9Lr.js} +12 -12
  74. package/dist/assets/{GlobalReviewListPage-BaZx32sB-DX_UXvHY.js → GlobalReviewListPage-DDQb-plt-B7MJAdcL.js} +17 -17
  75. package/dist/assets/HelpButton-BT_HyQ5k-B4E1vZtk.js +28 -0
  76. package/dist/assets/{InformationCardStack-BtxneVKK-5zmgZr81.js → InformationCardStack-B9E29_zj-DokGK6g8.js} +4 -4
  77. package/dist/assets/{InsightsCardStack-CCee6pLA-BiJYSmPO.js → InsightsCardStack-7XbkZ-A3-BxqeB-iN.js} +8 -8
  78. package/dist/assets/InsightsSection-DtBq9eII-CGUvYjY9.js +27 -0
  79. package/dist/assets/{IntegrationsSettingsPage-CsY38-LI-c3uW4I03.js → IntegrationsSettingsPage-TjdF0ahh-BOCCfb_h.js} +11 -11
  80. package/dist/assets/{InternationalWireSwiftDetailsPage-sSSgjYdh-f5YlyKlr.js → InternationalWireSwiftDetailsPage-BeSYu2Dm-y3Tu_Xyi.js} +12 -12
  81. package/dist/assets/{InternationalWireVerificationPage-zv0FIhUz-C7apQHs9.js → InternationalWireVerificationPage-Ctcaggen-Cihfrd35.js} +15 -15
  82. package/dist/assets/{InviteFormPage-DxszbbOJ-zBQSU0hV.js → InviteFormPage-DEDBu0OO-Dsi8hwhI.js} +24 -24
  83. package/dist/assets/{InvitePageListView-BYVWTwTc-Bc4HhTKp.js → InvitePageListView-BMMOpM9O-B8oUxVru.js} +41 -41
  84. package/dist/assets/InvitePeoplePage-BzPRCgA6-C4LT3zxO.js +12 -0
  85. package/dist/assets/InvoiceUploadSection-C6Dx8Web-CBeOBAnd.js +140 -0
  86. package/dist/assets/{IssueChargeCardPage-CPmj_trJ-DaakIEW8.js → IssueChargeCardPage-DWRhiOzj-DCnENqBq.js} +72 -72
  87. package/dist/assets/LabeledAddressValue-CSb0EGEx-owkgfzr7.js +49 -0
  88. package/dist/assets/LabeledAddressValueField-DJHY_wPN-ChfMLz4N.js +45 -0
  89. package/dist/assets/{LabeledControlledCheckBoxField-BnfJ3gKr-BPIj9243.js → LabeledControlledCheckBoxField-rRmtlmRJ-ZOoy4ee7.js} +1 -1
  90. package/dist/assets/{LabeledCreatableSingleSelectField-CJT-CuQl-CtkVdb8Y.js → LabeledCreatableSingleSelectField-CTwToXIo-Cle-L6Nt.js} +5 -5
  91. package/dist/assets/LabeledDocumentField-sIz4Fhet-CBqe5ksA.js +41 -0
  92. package/dist/assets/LabeledDropDownFormattedTextField-mOxkCT-G-CFeF0x5h.js +59 -0
  93. package/dist/assets/{LabeledText-DhZgeQqu-CywDQAlQ.js → LabeledText-CExeogkg-361xlNV7.js} +1 -1
  94. package/dist/assets/{LabeledUserSingleSelectWithSubtitlesField-D63Z4SE5-CnyU9bGi.js → LabeledUserSingleSelectWithSubtitlesField-DrloYoze-DB50WeN3.js} +16 -16
  95. package/dist/assets/{LabeledZeniRolesDropDownField-MwrQ9tKT-DoYqkoGc.js → LabeledZeniRolesDropDownField-BZKMSlzI-B3-a-Sde.js} +7 -7
  96. package/dist/assets/LinkJETransactionPage-D9Kae7Qd-CXNveZ-N.js +98 -0
  97. package/dist/assets/{LowBalancePopup-DPbr0gUO-CxEILVy0.js → LowBalancePopup-DqY0lHvk-Bg-BhJJe.js} +7 -7
  98. package/dist/assets/{MagicLinkACHDetailsPage-D11FRh9u-BBPz7AfC.js → MagicLinkACHDetailsPage-BctRnNGY-DEYW76Ne.js} +1 -1
  99. package/dist/assets/{MagicLinkDomesticWireDetailsPage-CG7yqz6X-BMCdaHEj.js → MagicLinkDomesticWireDetailsPage-UjO7TGNI-jNwBg57q.js} +1 -1
  100. package/dist/assets/{MagicLinkInternationalWireDetailsPage-PkDENzkO-CQ6x4AIV.js → MagicLinkInternationalWireDetailsPage-ex7nPlxc-Cv717ajH.js} +1 -1
  101. package/dist/assets/{MagicLinkSuccessPage-BS9ddhQA-C5O3E-9t.js → MagicLinkSuccessPage-D3ORpbmL-DiCQcMcn.js} +1 -1
  102. package/dist/assets/MagicLinkTitleSection-Di20DmsJ-Dweea4Ge.js +17 -0
  103. package/dist/assets/{MailingDetailsSection-Cx1s77og-9yNUNzNW.js → MailingDetailsSection-D7d7fV5j-Cs19YBt0.js} +1 -1
  104. package/dist/assets/{MeetingCalenderPopup-DNthMj1J-CXzPKXlg.js → MeetingCalenderPopup-C-Ca0puH-BuYhTZNY.js} +1 -1
  105. package/dist/assets/{Menu-CIjXHu3p-Cmalcvja.js → Menu-FcKyIIWS-5DaRICk4.js} +1 -1
  106. package/dist/assets/{MyBankConnectionsSettingsPage-D77Axpyj-Ai6fCxsi.js → MyBankConnectionsSettingsPage-B4NuqJVI-C5C-Tkbz.js} +13 -13
  107. package/dist/assets/{MyPendingActivationChargeCardListPage-CnZZJsMY-C0kXy7DL.js → MyPendingActivationChargeCardListPage-C4eMpxAr-CvtH5135.js} +2 -2
  108. package/dist/assets/{MyProfileSettingsPage-iXkYV9nQ-CFM1P4s_.js → MyProfileSettingsPage-D0ALOEls-D9BtQ_Rr.js} +9 -9
  109. package/dist/assets/{NavBarWithPicker-D8Mx-0SS-Bw0IYR8x.js → NavBarWithPicker-Bu03gVw7-BBANsf51.js} +6 -6
  110. package/dist/assets/{NavigationArrow-DOvptaEZ-Bf-QMj_h.js → NavigationArrow-D7Eb-FlF-DFK_OGPD.js} +2 -2
  111. package/dist/assets/{NavigationDots-HukimDRY-D9Wp9S6c.js → NavigationDots-CFjUchuX-BbVX67wD.js} +1 -1
  112. package/dist/assets/{NewGlobalMerchantPage-BlOMnHda-BUDWmT_6.js → NewGlobalMerchantPage-rhhm0o-f-DpBge9cX.js} +9 -9
  113. package/dist/assets/{NoDataChart-DyGfwFNo-CLQrerWr.js → NoDataChart-D5DKMqIS-BEaaizBY.js} +5 -5
  114. package/dist/assets/{NoDataTable-CJseWuln-Cygckdm_.js → NoDataTable-CPEKYH-4-ChRW7vff.js} +1 -1
  115. package/dist/assets/{NotFoundPage-UG00-OBF-CdRsamc6.js → NotFoundPage-Cfk62GPw-D375IgXA.js} +3 -3
  116. package/dist/assets/{NotificationSettingsPage-COyRIY7z-Dbyjp6us.js → NotificationSettingsPage-BZtsKPBO-AXQQWsyF.js} +19 -19
  117. package/dist/assets/NotificationsListConfig-DiJLl-YW-Be2lRZvs.js +1 -0
  118. package/dist/assets/{NotificationsPage-DNSiZHw_-Bj3dzmk_.js → NotificationsPage-CgABP7O1-BFGmWSCt.js} +39 -39
  119. package/dist/assets/{OpExByVendorPage-DmSYppgo-COjO13JB.js → OpExByVendorPage-CMEokGbw-5aOd51kS.js} +8 -8
  120. package/dist/assets/{OverlayContainerPage-DB42kFLd-pwzAAum1.js → OverlayContainerPage-9K5jaX8Z-DmDVJorJ.js} +1 -1
  121. package/dist/assets/{PandLWithForecastPage-Cvpj3Rx7-B_X_y6oD.js → PandLWithForecastPage-IizA8WJN-C3H0uMBf.js} +10 -10
  122. package/dist/assets/{PaymentAccountSetupBillingAddressSection-CsldB-k7-f3lPV-NL.js → PaymentAccountSetupBillingAddressSection-D6cW0hFS-DO3Osr4s.js} +9 -9
  123. package/dist/assets/{PeoplePage-CZhJF86l-D_AEtRE4.js → PeoplePage-lD4QPAkF-28PZT7ir.js} +29 -29
  124. package/dist/assets/{PortfolioAllocationFormPage-9GM9dOrM-BT7Q_b3W.js → PortfolioAllocationFormPage-pynkIQMX-BFz04Oo7.js} +11 -11
  125. package/dist/assets/{PortfolioDetails-BmAHjCVw-VXiwUltt.js → PortfolioDetails-Cs8o8xzm-bO5l1T7Z.js} +22 -22
  126. package/dist/assets/{ProductsCarousel-DnbMUIHf-CDI2aSn4.js → ProductsCarousel-vPy7zk53-DjiVBmpl.js} +7 -7
  127. package/dist/assets/{PromoBaseCards-BC5rOok_-CryGPY7g.js → PromoBaseCards-CWGpTa57-Bj-bRm1l.js} +3 -3
  128. package/dist/assets/{QBOConnectionDialog-Ci5zNza5-BQubclq5.js → QBOConnectionDialog-66XnPKaW-8EXYy72U.js} +10 -10
  129. package/dist/assets/QBOSetupSection-T0b8qjoq-C3lySFCv.js +79 -0
  130. package/dist/assets/{ReimbursementApprovalRuleDetailPage-BfU-6jeB-CaKrx3Ua.js → ReimbursementApprovalRuleDetailPage-BSI9Lg6a-wX6i8H_B.js} +1 -1
  131. package/dist/assets/{ReimbursementApprovalRulesPage-M8JZSUOE-Bppvfizw.js → ReimbursementApprovalRulesPage-XxC6pXqt-Bzz5uq1t.js} +33 -33
  132. package/dist/assets/{ReimbursementDetailPage-D54RyrP4-azFGfBxO.js → ReimbursementDetailPage-BwtY21D5-BOkbylET.js} +15 -15
  133. package/dist/assets/ReimbursementPromoPage-CmO1DP-8-DpBTbSy4.js +112 -0
  134. package/dist/assets/{ReimbursementSetUpPage-DgZLqhEv-BzIv1edv.js → ReimbursementSetUpPage-CrCsRxAy-Bpo-Mk0A.js} +9 -9
  135. package/dist/assets/{ReimbursementsBulkReviewDrawerPage-DdaqWcd4-DN-OLQO2.js → ReimbursementsBulkReviewDrawerPage-Ct-lvcR1-DC9qwxGH.js} +1 -1
  136. package/dist/assets/{ReloadCard-Brl4XdzV-K0dTBTCK.js → ReloadCard-CJfjUA_Q-iqgRrGxj.js} +5 -5
  137. package/dist/assets/{ReportTableViewSelector-BUwsckE_-BLN_c3vd.js → ReportTableViewSelector-CkuvvlJm-btt9uZlN.js} +9 -9
  138. package/dist/assets/{ReportsPage-B_p1fu0v-Bun8YYap.js → ReportsPage-BJqldqjR-p6MwUSO1.js} +5 -5
  139. package/dist/assets/{RevenueChart-Wm8uOprY-CA_G3fH9.js → RevenueChart-BUnSkoUN-CWdeY5GO.js} +8 -8
  140. package/dist/assets/{ReviewDetailsPage-KBHsF8bJ-BOtPONmS.js → ReviewDetailsPage-8I09Puca-B9BkrydV.js} +23 -23
  141. package/dist/assets/{ReviewOverlay-Dw0qj7TA-DnC9Iul5.js → ReviewOverlay-Czmj4HG0-BLH60HLe.js} +25 -25
  142. package/dist/assets/{RoleWithToolTip-XfK92pcD-CVavs0oL.js → RoleWithToolTip-CNQZHC7h-LUv0Jw-2.js} +4 -4
  143. package/dist/assets/{ScheduleDetailsFixedAssetsPage-BWlIEli5-DBxUekBG.js → ScheduleDetailsFixedAssetsPage-1Y1ZylI7-BDsLy1RB.js} +8 -8
  144. package/dist/assets/{ScheduleDetailsPage-C1xCJX3o-CIdul5TY.js → ScheduleDetailsPage-BcRuA_7y-mmMtrxsU.js} +3 -3
  145. package/dist/assets/{ScheduleSequenceTable-BprYPV37-Cl2LrpiB.js → ScheduleSequenceTable-DC75D2Dx-BSdJrIG_.js} +17 -17
  146. package/dist/assets/{ScreenRoutes-IGwGtJ0n.js → ScreenRoutes-DRpA2l4T.js} +62 -62
  147. package/dist/assets/{SetUpAccountSection-Dr1TfnG_-5hIyS4v7.js → SetUpAccountSection-CaLxl4l3-BRnWdFeV.js} +15 -15
  148. package/dist/assets/{SetUpDefaultSection-Be5NU_Em-B29pYDRY.js → SetUpDefaultSection-a6NTauck-C-i38hil.js} +7 -7
  149. package/dist/assets/{SignIn-CE6RYJOs-CikIV0Hp.js → SignIn-_ZPdER_K-0cn49L67.js} +1 -1
  150. package/dist/assets/{SignInScreen-CKme_DxL.js → SignInScreen-BGUfMUqo.js} +1 -1
  151. package/dist/assets/{SpendManagementListViewPage-BESddx6p-BLBMNf4m.js → SpendManagementListViewPage-Cvev9izU-BZzSvbIK.js} +4 -4
  152. package/dist/assets/{SpendManagementPerTabPage-BzOooEMS-B_EkXhuq.js → SpendManagementPerTabPage-CbjC0IBF-BthyUtDp.js} +54 -54
  153. package/dist/assets/{SpendManagementSection-CczioNZH-Dkreg46Z.js → SpendManagementSection-BKTkeRK6-DIa3Rn7O.js} +12 -12
  154. package/dist/assets/{SpendMgmtSetupAccountSection-CVFRXVhZ-C1yMf9ET.js → SpendMgmtSetupAccountSection-D8Yv-Jng-D3WoppPf.js} +20 -20
  155. package/dist/assets/{StatementItem-Cptht91w-wlq1UAzv.js → StatementItem-DSJvKpAv-DV7N47r3.js} +8 -8
  156. package/dist/assets/StatementsPage-Bhk6u845-C7EltSZm.js +58 -0
  157. package/dist/assets/{StatusSwitcher-B3gZD4Xk-D9MKHZL1.js → StatusSwitcher-CTDNbKqC-Bv4PZo8C.js} +4 -4
  158. package/dist/assets/{SubTabSwitcher-ymwMdmPQ-B96M_uuA.js → SubTabSwitcher-D33kV-tw-BTeEHhHa.js} +2 -2
  159. package/dist/assets/{SummaryCard-CVO_hW5i-CSuBy2D2.js → SummaryCard-tsJZnge3-DE5AVV4x.js} +1 -1
  160. package/dist/assets/{TaskManagementPage-C8FiHas2-D3TuTHD7.js → TaskManagementPage-BW9M6AQs-DyLPADr6.js} +19 -19
  161. package/dist/assets/{TimeRangeSwitcher-CPklgWMn-BOlT7YwO.js → TimeRangeSwitcher-CkXysnFa-BxX2v8T-.js} +2 -2
  162. package/dist/assets/{TimeframeSwitcher-Do-13K0C-BsEeofAL.js → TimeframeSwitcher-B-S09J4A-MdxeQVLH.js} +1 -1
  163. package/dist/assets/{TimeframeSwitcherWithToggle-CtVJiYRA-CJwvNUHv.js → TimeframeSwitcherWithToggle-B9Lo2-pD-oHueEdHK.js} +2 -2
  164. package/dist/assets/{TopExCard-CAbVMarX-BxCf3Zb4.js → TopExCard-DwP8Cppq-BA7R-fYL.js} +5 -5
  165. package/dist/assets/{TopExDetailPage-CN49s925-DmkXyXHQ.js → TopExDetailPage-CIMSDSxd-DWJg2Rhe.js} +8 -8
  166. package/dist/assets/{TransactionDetailPage-Q9XC1VgP-BVFfsWva.js → TransactionDetailPage-rwzAZT-Q-kE9Vj_Gw.js} +34 -34
  167. package/dist/assets/{TransactionList-Pn-voMDJ-DGAqnABY.js → TransactionList-CFYj7bYL-GEiFuum0.js} +12 -12
  168. package/dist/assets/{TransactionListBig-D4U1VfMP-DdNYiwzY.js → TransactionListBig-BidYBgz3-mdU3i6TS.js} +24 -24
  169. package/dist/assets/{TransactionListPage-Dcr5n_hs-DFnT8O1f.js → TransactionListPage-CImIYabg-BI9Hn9ZN.js} +3 -3
  170. package/dist/assets/{TransactionVendorDetailPage-DxDXndQ6-D-9aHV7e.js → TransactionVendorDetailPage-LzIzQGZ1-NlBjctZ1.js} +6 -6
  171. package/dist/assets/TransferDrawerPage-CztFCYxm-CBCCBWte.js +362 -0
  172. package/dist/assets/{TreasuryOverviewPage-BDYqKBrS-_o9rtQse.js → TreasuryOverviewPage-E5E5Gr3g-D2CrCBTV.js} +55 -57
  173. package/dist/assets/{TreasuryPromoPage-CTkEFZ57-BquHIsOx.js → TreasuryPromoPage-D2F4Y8gV-CYlJ3kU9.js} +20 -19
  174. package/dist/assets/{TreasurySetupPage-KI_5DQnD-DtRdjcAX.js → TreasurySetupPage-Dxa4l6Ec-D8eLBdo9.js} +8 -8
  175. package/dist/assets/TreasuryStatementsPage-DEhWu0S0-CbB6wAo4.js +58 -0
  176. package/dist/assets/TreasuryTaxLetterPage-CEMU2CI9-BGxkDpux.js +58 -0
  177. package/dist/assets/TreasuryTransferOrReviewPage-BfReLw_V-7MLhWFB6.js +506 -0
  178. package/dist/assets/{TrendChart-Ck4SVLtn-CXi992Ul.js → TrendChart-D1gtjDe3-DWpkP03z.js} +4 -4
  179. package/dist/assets/{TrendWithTransactions-BiWHzfIf-h_PZkaTI.js → TrendWithTransactions-BslpnJTN-CCs7L3oP.js} +7 -7
  180. package/dist/assets/{UncategorizedAccountsMappingPage-BEbiQMPB-BE67gz9h.js → UncategorizedAccountsMappingPage-Brm7fcuy-1WMghiUv.js} +9 -9
  181. package/dist/assets/{UnitIntegrationPage-DghvgER8-DUjp5v9z.js → UnitIntegrationPage-DhiEmm9g-CyoCc7wN.js} +5 -5
  182. package/dist/assets/{UploadAdditionalDocumentOverlay-BasudeQ3-WkwupeXg.js → UploadAdditionalDocumentOverlay-Dq1ToFCn-BQjCguyB.js} +2 -2
  183. package/dist/assets/Vendor2FAPopup-Brg14-Cw-BfoPqsuP.js +1 -0
  184. package/dist/assets/{VendorACHDetailsPage-DYwQERlH-u-_TPYjg.js → VendorACHDetailsPage-mk0vAyqE-BSy-kLup.js} +1 -1
  185. package/dist/assets/{VendorDetailPage-D-Mcnqod-DRjHRl2g.js → VendorDetailPage-CRhCXEsq-qmv0EtV4.js} +13 -13
  186. package/dist/assets/{VendorDomesticWireDetailsPage-sx958z_p-DGjTvY13.js → VendorDomesticWireDetailsPage-DhWkYV9N-CfYo0l4g.js} +1 -1
  187. package/dist/assets/{VendorFiling1099EditablePage-D0AAdqa3-Dbu0eezS.js → VendorFiling1099EditablePage-Bp5FgSiJ-DJr2e5wU.js} +32 -32
  188. package/dist/assets/{VendorFirstReviewPage-DS7Qb6O_-CtRrPKLj.js → VendorFirstReviewPage-XHOyQIOp-D3qnz2ww.js} +16 -16
  189. package/dist/assets/{VendorInternationalWireDetailsPage-CUw0lbm5-Ds_S2bsN.js → VendorInternationalWireDetailsPage-B13qu8u3-XGuYC0bw.js} +12 -12
  190. package/dist/assets/{VendorInternationalWireSwiftDetailsPage-2BGGr3aV-Cm02ZRRr.js → VendorInternationalWireSwiftDetailsPage-Dtgusj3r-lncQfKmQ.js} +1 -1
  191. package/dist/assets/{VendorsAccountsSection-D5-r6xWp-Bb2HvHxE.js → VendorsAccountsSection-B-qorJ8x-D7fZrn7B.js} +4 -4
  192. package/dist/assets/VerifyDevice-CBO1Uzra-0Sdb0n5n.js +67 -0
  193. package/dist/assets/{WarningsDrawerPage-BEuiclea-DGE4v0Hu.js → WarningsDrawerPage-B4Nic3gX-jDmAJMW0.js} +10 -10
  194. package/dist/assets/{ZeniAccountDetailPage-DvUTbTBC-B58XYLhH.js → ZeniAccountDetailPage-IDGYSZVs-DmZJYRcm.js} +15 -15
  195. package/dist/assets/{ZeniAccountListViewPage-BpAa6XZc-sSA5NycY.js → ZeniAccountListViewPage-IlPP8Yit-dH-QXkwU.js} +26 -26
  196. package/dist/assets/ZeniAccountNavBarPieces-2j-ZQRIF-DhfLCa9V.js +14 -0
  197. package/dist/assets/{ZeniAccountPromoPage-BDzkOGum-Ddw-sKos.js → ZeniAccountPromoPage-BhFf42Fz-TRhbuR-7.js} +15 -15
  198. package/dist/assets/{ZeniAccountSetupPage-B6ExD1mo-DtoMVKCB.js → ZeniAccountSetupPage-DcYDO3x8-DOdNLBlO.js} +4 -4
  199. package/dist/assets/{ZeniCopyright-BcpJPWHG-aqipC7iB.js → ZeniCopyright-C4Ze2E8o-C33E_V5I.js} +1 -1
  200. package/dist/assets/{ZeniTransferAmountSlider-BQDqgNKJ-D3Rx0t-C.js → ZeniTransferAmountSlider-DFB0ntiR-IB41czFT.js} +2 -2
  201. package/dist/assets/{analyticsHelper-DxAemT72.js → analyticsHelper-BuNdZ9jh.js} +1 -1
  202. package/dist/assets/{analyticsHelper-BP6myd2z-IG6G9Q9p.js → analyticsHelper-CsfdC0kT-BpVlkMRS.js} +1 -1
  203. package/dist/assets/{chartTypes-BU-pRq_m-BNABrIt4.js → chartTypes-CPj7oOMJ-Cv2ANOse.js} +1 -1
  204. package/dist/assets/{commonDimensions-BpaqG_u8-bPBJ7BtU.js → commonDimensions-CKs-7p-V-CmlPem1Z.js} +1 -1
  205. package/dist/assets/{detailCommon-dG26UIR2-Du_tf-0V.js → detailCommon-BJ8iCchG-CdCS4VPM.js} +6 -6
  206. package/dist/assets/{downloadPdf-B5Tb5dp_-C4780vVv.js → downloadPdf-hPck-AA1-CD5ZG46J.js} +1 -1
  207. package/dist/assets/{index-CbZTLtvs.js → index-CyJdCOlu.js} +4480 -4253
  208. package/dist/assets/{mapLoadingInProgressToTreeNode-DOBKyY4b-y1aUwiix.js → mapLoadingInProgressToTreeNode-R394S2in-pIplKgrn.js} +1 -1
  209. package/dist/assets/{mapSectionWithAcOnlyToTreeNode-Bja0zC1h-BFJxO5iY.js → mapSectionWithAcOnlyToTreeNode-B20NECa8-DENXzcIZ.js} +1 -1
  210. package/dist/assets/{mapSpacerToTreeNode-BnX1Qa3P-bqHYhPP-.js → mapSpacerToTreeNode-CLYF1Foh-BkgQTnh2.js} +1 -1
  211. package/dist/assets/{mapTimeframeBalancesToTreeNode-BTMBlZfj-DW7k0pyS.js → mapTimeframeBalancesToTreeNode-B-iRb2_j-BOYVHL5U.js} +1 -1
  212. package/dist/assets/{mapTimeframeBalancesToTreeNode-DRU0rg28-CTqFcFWx.js → mapTimeframeBalancesToTreeNode-fLAswzPX-uvgKr4WV.js} +1 -1
  213. package/dist/assets/{mapTimeframeHeaderLoadingInProgressToTreeNode-CafUd-oV-M5D8OIRq.js → mapTimeframeHeaderLoadingInProgressToTreeNode-CTmIxkdn-rpNZ4fKa.js} +1 -1
  214. package/dist/assets/{play-icon-CwzVvYsB-DjoVXxSh.js → play-icon-BZYr9mDs-DofqQFSd.js} +1 -1
  215. package/dist/assets/{toCOABalancesWithID-CTIZoP69-DhP0PBP-.js → toCOABalancesWithID-Dsa-tGTi-Bmzakp6x.js} +1 -1
  216. package/dist/assets/{toChartData-yWFIkpKX-iU9RbLET.js → toChartData-Cp_80Bi6-Dfd3dSx4.js} +1 -1
  217. package/dist/assets/{treasuryColorHelper-I90KNlm_-OeAa3kjr.js → treasuryColorHelper-CnKoJBRW-CDwAxole.js} +1 -1
  218. package/dist/assets/{uploadAttachment-BIyTb3QF-BJprEnkX.js → uploadAttachment-Cx3LGzsg-DDC6BFL5.js} +32 -32
  219. package/dist/assets/{uploadReceipts-CB79ouJi-DqMpy5A5.js → uploadReceipts-CwjPukNh-BNp5wSMb.js} +1 -1
  220. package/dist/index.html +1 -1
  221. package/package.json +4 -4
  222. package/dist/assets/AccountInfoPage-vDWC6AMf-Yo7vRxFj.js +0 -18
  223. package/dist/assets/ApAgingDetailPage-BZuNGMx_-Hc9KiYIG.js +0 -46
  224. package/dist/assets/AppBasePage-l_TUUps8-BdZGta7w.js +0 -68
  225. package/dist/assets/ChargeCardPromoPage-Dp01F4cn-BGnAP75r.js +0 -222
  226. package/dist/assets/CompleteProfile-D6jHfaC2-BAjYhWRD.js +0 -36
  227. package/dist/assets/CustomerOnboardingContainerPage-BhS5NmVt-ePZ8Lp4k.js +0 -1
  228. package/dist/assets/EditPeoplePage-DKJNf1oJ-DT58GFah.js +0 -55
  229. package/dist/assets/FeaturePreviewPage-BRqSxk9H-C5uU9wQY.js +0 -11
  230. package/dist/assets/HelpButton-ewiNuwlj-DtcvmbFW.js +0 -28
  231. package/dist/assets/InsightsSection-BZNwdoG4-DFSwQ90v.js +0 -27
  232. package/dist/assets/InvitePeoplePage-CJ4KyyxI-DVCbKs7n.js +0 -12
  233. package/dist/assets/InvoiceUploadSection-Dy_H9a8Y-Dv2LW-0K.js +0 -140
  234. package/dist/assets/LabeledAddressValue-BVpwGdA2-CIuUAEcq.js +0 -49
  235. package/dist/assets/LabeledAddressValueField-Eka4fXzu-BBxiflEl.js +0 -45
  236. package/dist/assets/LabeledDocumentField-BoraKtTI-BrK0QicB.js +0 -41
  237. package/dist/assets/LabeledDropDownFormattedTextField-elNvxcOB-BMj7fmh2.js +0 -59
  238. package/dist/assets/LinkJETransactionPage-BpQXs8JH-Bjzy2XV-.js +0 -98
  239. package/dist/assets/MagicLinkTitleSection-CBYkZ8RD-OqnDMduv.js +0 -17
  240. package/dist/assets/NotificationsListConfig-BR7QDiGp-C9AjhN7a.js +0 -1
  241. package/dist/assets/QBOSetupSection-BTOCiyES-cJZzoBZX.js +0 -79
  242. package/dist/assets/ReimbursementPromoPage-B2uVT4md-0og62qKp.js +0 -112
  243. package/dist/assets/StatementsPage-Bk_DWBsO-oO_5pc2Z.js +0 -58
  244. package/dist/assets/TransferDrawerPage-CuQct69A-CI2Fs3ur.js +0 -362
  245. package/dist/assets/TreasuryStatementsPage-DB1KkguP-Bjz83PUL.js +0 -58
  246. package/dist/assets/TreasuryTaxLetterPage-DbHBl6-e-BaDM3AA5.js +0 -58
  247. package/dist/assets/TreasuryTransferOrReviewPage-CLJ2x2M1-C0G9A0-P.js +0 -506
  248. package/dist/assets/Vendor2FAPopup-BVYQk2Yt-CFXnylIF.js +0 -1
  249. package/dist/assets/ZeniAccountNavBarPieces-CBRZuAIU-8yMtgWMI.js +0 -14
@@ -1,28 +1,28 @@
1
- import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as r,a0 as C,K as Y,f as M,bU as Me,C as p,Q as _,h as B,e as N,g as k,af as Be,r as Z,az as Q,ff as X,v as z,Z as We,j0 as Ae,bm as Oe,l as x,bf as Ee,a6 as Ve,k as xe,m as W,aD as De,c1 as we,ao as Ne,j1 as q,i7 as He,bZ as Ke,j2 as fe,c as $e,bE as ye,fV as b,ii as Fe,j3 as ve,bI as be,fz as Ye}from"./index-CbZTLtvs.js";import{b as $,n as t}from"./vendor-CnQcJ2Lu.js";import{C as je}from"./gift-box-Cmt9OgIZ-DKWN92w0.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 Se=(e,i)=>{$.useEffect(()=>{const n=e.current;if(window.IntersectionObserver==null)return;const c=new IntersectionObserver(([a])=>{i&&i(a.isIntersecting)},{root:null,rootMargin:r.sp0,threshold:.1});return n&&c.observe(n),()=>{n&&c.unobserve(n)}})},Ge={pageTitleMarginLeft:new p(s[4],s[6])},Je=t.div`
1
+ import{u as E,e as j,j as o,aW as Te,M as v,ff as V,p as Ie,go as _e,q as s,o as r,a0 as C,k as Y,v as M,bX as Me,C as p,b as _,h as B,n as N,c as k,af as Be,$ as J,az as q,fh as U,d as z,s as We,j3 as Ae,bm as Oe,l as x,bf as De,a6 as Ee,L as xe,B as W,aD as Ve,c4 as we,ao as Ne,j4 as Q,ia as He,c0 as Ke,j5 as fe,m as $e,bH as ye,fX as b,il as Fe,j6 as ve,bL as be,fB as Ye}from"./index-CyJdCOlu.js";import{b as $,n as t}from"./vendor-CnQcJ2Lu.js";import{C as je}from"./gift-box-Cmt9OgIZ-DKWN92w0.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 Se=(e,i)=>{$.useEffect(()=>{const n=e.current;if(window.IntersectionObserver==null)return;const c=new IntersectionObserver(([a])=>{i&&i(a.isIntersecting)},{root:null,rootMargin:r.sp0,threshold:.1});return n&&c.observe(n),()=>{n&&c.unobserve(n)}})},Ge={pageTitleMarginLeft:new p(s[4],s[6])},Xe=t.div`
2
2
  position: relative;
3
3
  width: 100%;
4
4
  display: flex;
5
5
  flex-wrap: wrap;
6
6
  gap: ${e=>Ge.pageTitleMarginLeft.valuePx(e.windowSize)};
7
7
  margin-top: ${r.sp4};
8
- `,Ze=t.div`
8
+ `,Je=t.div`
9
9
  display: flex;
10
10
  justify-content: center;
11
11
  align-items: center;
12
12
  flex: 1 1 auto;
13
13
  min-width: 154px;
14
- `,Qe=t(Z)`
14
+ `,qe=t(J)`
15
15
  height: ${r.sp3};
16
16
  width: ${r.sp3};
17
17
  color: ${e=>e.theme.colors.hero};
18
- `,Xe=t(X)`
18
+ `,Ue=t(U)`
19
19
  width: ${r.sp3};
20
20
  height: ${r.sp3};
21
- `,qe=t(Q)`
21
+ `,Qe=t(q)`
22
22
  width: ${r.sp3};
23
23
  height: ${r.sp3};
24
24
  color: ${k.success};
25
- `;function Ce({referralLink:e,onInviteClick:i,onCopyReferral:n,setShowNavButton:c}){const[,a]=D(),[l,d]=$.useState(!1),h=j(),g=V(),w=()=>{n(),l||(a(e.toString()),d(!0))};$.useEffect(()=>{l===!0&&setTimeout(()=>{d(!1)},2e3)},[l]);const u=$.useRef(null);Se(u,c);const f=v.getLocalizedStrings().rewardsPage.rewardsCard;return o.jsxs(Je,{windowSize:h,children:[o.jsx(Ze,{ref:u,children:o.jsx(Y,{variant:"secondary",label:f.inviteViaEmail,onClick:i,prefixIcon:o.jsx(Qe,{}),textStyle:{...M.smallRegular.cssObject,color:`${g.colors.hero}`},style:{borderRadius:`${r.sp1}`,border:`1px solid ${g.colors.grey1}`,backgroundColor:"transparent",padding:`${r.sp2} 12px`,minWidth:"154px",flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center"}})}),o.jsx(Y,{variant:"secondary",label:l?f.copied:f.copyReferralLink,onClick:w,prefixIcon:l?o.jsx(qe,{}):o.jsx(Xe,{}),textStyle:{...M.smallRegular.cssObject,color:`${g.colors.hero}`},style:{borderRadius:`${r.sp1}`,border:`1px solid ${g.colors.grey1}`,backgroundColor:"transparent",padding:`${r.sp2} ${l?"47px":"12px"}`,minWidth:"154px",flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center"}})]})}const G={logoWidth:new p(95,135),minWidth:new p(256,360),maxWidth:new p(270,380)},ke={title:new _("smallRegular","largeRegular"),cardDetail:new _("h5Regular","h2Regular")};function ze({planAmount:e}){const i=j(),{rewardsPage:{rewardsCard:n}}=v.getLocalizedStrings();return o.jsxs(Ue,{windowSize:i,children:[o.jsxs(eo,{children:[o.jsx(to,{windowSize:i,children:n.bonus}),o.jsx(io,{windowSize:i,children:C("0,0",e)})]}),o.jsx(oo,{windowSize:i,children:o.jsx(ro,{})})]})}const Ue=t.div`
25
+ `;function Ce({referralLink:e,onInviteClick:i,onCopyReferral:n,setShowNavButton:c}){const[,a]=V(),[l,d]=$.useState(!1),h=j(),g=E(),w=()=>{n(),l||(a(e.toString()),d(!0))};$.useEffect(()=>{l===!0&&setTimeout(()=>{d(!1)},2e3)},[l]);const u=$.useRef(null);Se(u,c);const f=v.getLocalizedStrings().rewardsPage.rewardsCard;return o.jsxs(Xe,{windowSize:h,children:[o.jsx(Je,{ref:u,children:o.jsx(Y,{variant:"secondary",label:f.inviteViaEmail,onClick:i,prefixIcon:o.jsx(qe,{}),textStyle:{...M.smallRegular.cssObject,color:`${g.colors.hero}`},style:{borderRadius:`${r.sp1}`,border:`1px solid ${g.colors.grey1}`,backgroundColor:"transparent",padding:`${r.sp2} 12px`,minWidth:"154px",flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center"}})}),o.jsx(Y,{variant:"secondary",label:l?f.copied:f.copyReferralLink,onClick:w,prefixIcon:l?o.jsx(Qe,{}):o.jsx(Ue,{}),textStyle:{...M.smallRegular.cssObject,color:`${g.colors.hero}`},style:{borderRadius:`${r.sp1}`,border:`1px solid ${g.colors.grey1}`,backgroundColor:"transparent",padding:`${r.sp2} ${l?"47px":"12px"}`,minWidth:"154px",flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center"}})]})}const G={logoWidth:new p(95,135),minWidth:new p(256,360),maxWidth:new p(270,380)},ke={title:new _("smallRegular","largeRegular"),cardDetail:new _("h5Regular","h2Regular")};function ze({planAmount:e}){const i=j(),{rewardsPage:{rewardsCard:n}}=v.getLocalizedStrings();return o.jsxs(Ze,{windowSize:i,children:[o.jsxs(eo,{children:[o.jsx(to,{windowSize:i,children:n.bonus}),o.jsx(io,{windowSize:i,children:C("0,0",e)})]}),o.jsx(oo,{windowSize:i,children:o.jsx(ro,{})})]})}const Ze=t.div`
26
26
  display: flex;
27
27
  height: 100%;
28
28
  min-width: ${e=>G.minWidth.valuePx(e.windowSize)};
@@ -57,7 +57,7 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
57
57
  `,io=t(B)`
58
58
  color: ${e=>e.theme.colors.brandColorGold};
59
59
  ${e=>`${ke.cardDetail.style(e.windowSize)}`};
60
- `;function no({rewardsPlan:e,onInviteClick:i,onHowItWorksClick:n,onCopyReferral:c}){const a=j(),[,l]=D(),[d,h]=$.useState(!1),g=()=>{c(),d||(l(e.referralLink.toString()),h(!0))};$.useEffect(()=>{d===!0&&setTimeout(()=>{h(!1)},2e3)},[d]);const{rewardsPage:{referAndEarn:w,rewardsCard:u,statisticsCard:{knowMore:f}}}=v.getLocalizedStrings();return o.jsxs(so,{children:[o.jsxs(ao,{children:[o.jsxs(xo,{children:[o.jsx(po,{children:w}),o.jsx(ho,{children:u.rewardsSummary[e.planName].replace("__reward-amount__",C("0,0",e.referrerAmount))}),o.jsx(go,{onClick:n,children:f})]}),o.jsxs(lo,{children:[o.jsxs(mo,{onClick:i,children:[o.jsx(uo,{}),u.inviteViaEmail]}),o.jsx(wo,{onClick:g,isCopied:d,children:d?o.jsxs(o.Fragment,{children:[o.jsx($o,{}),u.copied]}):o.jsxs(o.Fragment,{children:[o.jsx(fo,{}),u.copyReferralLink]})})]})]}),a==="medium-compact"||a==="medium-regular"?null:o.jsx(co,{children:o.jsx(ze,{planAmount:e.referrerAmount})})]})}const so=t.div`
60
+ `;function no({rewardsPlan:e,onInviteClick:i,onHowItWorksClick:n,onCopyReferral:c}){const a=j(),[,l]=V(),[d,h]=$.useState(!1),g=()=>{c(),d||(l(e.referralLink.toString()),h(!0))};$.useEffect(()=>{d===!0&&setTimeout(()=>{h(!1)},2e3)},[d]);const{rewardsPage:{referAndEarn:w,rewardsCard:u,statisticsCard:{knowMore:f}}}=v.getLocalizedStrings();return o.jsxs(so,{children:[o.jsxs(ao,{children:[o.jsxs(xo,{children:[o.jsx(po,{children:w}),o.jsx(ho,{children:u.rewardsSummary[e.planName].replace("__reward-amount__",C("0,0",e.referrerAmount))}),o.jsx(go,{onClick:n,children:f})]}),o.jsxs(lo,{children:[o.jsxs(mo,{onClick:i,children:[o.jsx(uo,{}),u.inviteViaEmail]}),o.jsx(wo,{onClick:g,isCopied:d,children:d?o.jsxs(o.Fragment,{children:[o.jsx($o,{}),u.copied]}):o.jsxs(o.Fragment,{children:[o.jsx(fo,{}),u.copyReferralLink]})})]})]}),a==="medium-compact"||a==="medium-regular"?null:o.jsx(co,{children:o.jsx(ze,{planAmount:e.referrerAmount})})]})}const so=t.div`
61
61
  display: flex;
62
62
  align-items: center;
63
63
  justify-content: space-between;
@@ -103,7 +103,7 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
103
103
  &:hover {
104
104
  color: ${e=>e.theme.colors.champion};
105
105
  }
106
- `,mo=t(q)`
106
+ `,mo=t(Q)`
107
107
  border: 1px solid ${e=>e.theme.colors.primary};
108
108
  border-radius: ${r.sp2};
109
109
  background-color: ${e=>e.theme.colors.primary};
@@ -118,7 +118,7 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
118
118
  background-color: ${e=>e.theme.colors.champion};
119
119
  border: 1px solid ${e=>e.theme.colors.champion};
120
120
  }
121
- `,uo=t(Z)`
121
+ `,uo=t(J)`
122
122
  height: ${r.sp3};
123
123
  width: ${r.sp3};
124
124
  margin-right: ${r.sp2};
@@ -128,7 +128,7 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
128
128
  flex: 0 1 auto;
129
129
  flex-direction: column;
130
130
  align-items: flex-start;
131
- `,wo=t(q)`
131
+ `,wo=t(Q)`
132
132
  border: 1px solid ${e=>e.theme.colors.primary};
133
133
  border-radius: ${r.sp2};
134
134
  background-color: ${e=>e.isCopied?e.theme.colors.champion:e.theme.colors.primary};
@@ -143,11 +143,11 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
143
143
  background-color: ${e=>e.theme.colors.champion};
144
144
  border: 1px solid ${e=>e.theme.colors.champion};
145
145
  }
146
- `,fo=t(X)`
146
+ `,fo=t(U)`
147
147
  width: ${r.sp3};
148
148
  height: ${r.sp3};
149
149
  margin-right: ${r.sp2};
150
- `,$o=t(Q)`
150
+ `,$o=t(q)`
151
151
  width: ${r.sp3};
152
152
  height: ${r.sp3};
153
153
  color: ${k.success};
@@ -186,7 +186,7 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
186
186
  `,Co=t(W)`
187
187
  color: ${e=>e.theme.colors.champion};
188
188
  margin-bottom: ${r.sp3};
189
- `,ko=t(De)`
189
+ `,ko=t(Ve)`
190
190
  margin-bottom: ${r.sp3};
191
191
  color: ${e=>e.theme.mode==="light"?e.theme.colors.brandColorSapphire:e.theme.colors.brandColorJade};
192
192
  cursor: pointer;
@@ -222,7 +222,7 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
222
222
  `,Mo=t(we)`
223
223
  color: ${e=>e.theme.colors.brandColorGold};
224
224
  margin-bottom: ${r.sp2};
225
- `,Bo={backgroundSize:new p(75,100,75)};function Wo({rewardsPlan:e,onInviteClick:i,setShowNavButton:n,onCopyReferral:c}){const a=V(),l=j(),[,d]=D(),[h,g]=$.useState(!1),[w,u]=$.useState(!1),f=()=>{c(),h||(d(e.referralLink.toString()),g(!0))},S=()=>{u(!0)},m=()=>{u(!1)};$.useEffect(()=>{h===!0&&setTimeout(()=>{g(!1)},2e3)},[h]);const{rewardsCard:y,referAndEarn:T}=v.getLocalizedStrings().rewardsPage,P=$.useRef(null);Se(P,n);const K=w?o.jsx(re,{showCopyText:w,isCopied:h,children:y.copyReferralLink}):null;return o.jsxs(Ao,{windowSize:l,children:[o.jsxs(Oo,{children:[o.jsx(Do,{children:T}),o.jsx(No,{children:y.rewardsSummary[e.planName].replace("__reward-amount__",C("0,0",e.referrerAmount))}),o.jsxs(Eo,{ref:P,children:[o.jsx(Y,{variant:"secondary",label:y.inviteViaEmail,onClick:i,prefixIcon:o.jsx(Ho,{}),textStyle:{...M.standardRegular.cssObject},buttonColors:{borderColor:{default:a.colors.primary,hover:a.colors.champion,disabled:a.colors.primary},backgroundColor:{default:a.colors.primary,hover:a.colors.champion,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.grey5}},style:{borderRadius:r.sp1,padding:`${r.sp1} 12px`,flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center",marginRight:r.sp3}}),o.jsx(Ko,{onClick:f,onMouseOver:S,onMouseLeave:m,showCopyText:w,isCopied:h,children:o.jsx(Yo,{showCopyText:w,isCopied:h,children:o.jsx(Fo,{})})}),o.jsx(Jo,{children:h?o.jsxs(o.Fragment,{children:[o.jsx(Go,{}),o.jsx(re,{showCopyText:w,isCopied:h,children:y.copied})]}):K})]})]}),l==="medium-compact"||l==="medium-regular"?null:o.jsx(Vo,{children:o.jsx(Po,{planAmount:e.referrerAmount})})]})}const Ao=t.div`
225
+ `,Bo={backgroundSize:new p(75,100,75)};function Wo({rewardsPlan:e,onInviteClick:i,setShowNavButton:n,onCopyReferral:c}){const a=E(),l=j(),[,d]=V(),[h,g]=$.useState(!1),[w,u]=$.useState(!1),f=()=>{c(),h||(d(e.referralLink.toString()),g(!0))},S=()=>{u(!0)},m=()=>{u(!1)};$.useEffect(()=>{h===!0&&setTimeout(()=>{g(!1)},2e3)},[h]);const{rewardsCard:y,referAndEarn:T}=v.getLocalizedStrings().rewardsPage,P=$.useRef(null);Se(P,n);const K=w?o.jsx(re,{showCopyText:w,isCopied:h,children:y.copyReferralLink}):null;return o.jsxs(Ao,{windowSize:l,children:[o.jsxs(Oo,{children:[o.jsx(Vo,{children:T}),o.jsx(No,{children:y.rewardsSummary[e.planName].replace("__reward-amount__",C("0,0",e.referrerAmount))}),o.jsxs(Do,{ref:P,children:[o.jsx(Y,{variant:"secondary",label:y.inviteViaEmail,onClick:i,prefixIcon:o.jsx(Ho,{}),textStyle:{...M.standardRegular.cssObject},buttonColors:{borderColor:{default:a.colors.primary,hover:a.colors.champion,disabled:a.colors.primary},backgroundColor:{default:a.colors.primary,hover:a.colors.champion,disabled:a.colors.primary},textColor:{default:a.colors.grey5,hover:a.colors.grey5,disabled:a.colors.grey5}},style:{borderRadius:r.sp1,padding:`${r.sp1} 12px`,flex:"1 1 auto",display:"flex",justifyContent:"center",alignItems:"center",marginRight:r.sp3}}),o.jsx(Ko,{onClick:f,onMouseOver:S,onMouseLeave:m,showCopyText:w,isCopied:h,children:o.jsx(Yo,{showCopyText:w,isCopied:h,children:o.jsx(Fo,{})})}),o.jsx(Xo,{children:h?o.jsxs(o.Fragment,{children:[o.jsx(Go,{}),o.jsx(re,{showCopyText:w,isCopied:h,children:y.copied})]}):K})]})]}),l==="medium-compact"||l==="medium-regular"?null:o.jsx(Eo,{children:o.jsx(Po,{planAmount:e.referrerAmount})})]})}const Ao=t.div`
226
226
  display: flex;
227
227
  align-items: center;
228
228
  justify-content: space-between;
@@ -244,27 +244,27 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
244
244
  justify-content: space-between;
245
245
  margin-left: ${r.sp6};
246
246
  margin-right: ${r.sp4};
247
- `,Eo=t.div`
247
+ `,Do=t.div`
248
248
  display: flex;
249
249
  width: fit-content;
250
250
  flex-direction: row;
251
251
  align-items: center;
252
252
  justify-content: flex-start;
253
253
  position: relative;
254
- `,Vo=t.div`
254
+ `,Eo=t.div`
255
255
  display: flex;
256
256
  max-width: 254px;
257
257
  min-width: 240px;
258
258
  height: 160px;
259
259
  flex: 1 1 auto;
260
- `,Do=t(We)`
260
+ `,Vo=t(We)`
261
261
  color: ${e=>e.theme.colors.primary};
262
262
  margin-bottom: ${r.sp2};
263
263
  `,No=t(z)`
264
264
  color: ${e=>e.theme.mode==="light"?e.theme.colors.brandColorSapphire:e.theme.colors.brandColorJade};
265
265
  max-width: 210px;
266
266
  margin-bottom: ${r.sp5};
267
- `,Ho=t(Z)`
267
+ `,Ho=t(J)`
268
268
  height: ${r.sp3};
269
269
  width: ${r.sp3};
270
270
  flex-shrink: 0;
@@ -279,7 +279,7 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
279
279
  cursor: pointer;
280
280
  background-color: ${e=>e.showCopyText||e.isCopied?e.theme.colors.champion:"transparent"};
281
281
  border: 1px solid ${e=>e.theme.colors.primary};
282
- `,Fo=t(X)`
282
+ `,Fo=t(U)`
283
283
  width: ${r.sp3};
284
284
  height: ${r.sp3};
285
285
  cursor: pointer;
@@ -287,12 +287,12 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
287
287
  display: flex;
288
288
  align-items: center;
289
289
  color: ${e=>e.showCopyText||e.isCopied?e.theme.colors.grey3:e.theme.colors.primary};
290
- `,Go=t(Q)`
290
+ `,Go=t(q)`
291
291
  width: ${r.sp4};
292
292
  height: ${r.sp4};
293
293
  color: ${k.success};
294
294
  margin-right: ${r.sp1};
295
- `,Jo=t.div`
295
+ `,Xo=t.div`
296
296
  position: absolute;
297
297
  bottom: -35px;
298
298
  right: -55px;
@@ -305,13 +305,13 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
305
305
  background-color: ${e=>e.showCopyText||e.isCopied?e.theme.colors.black:"transparent"};
306
306
  padding: ${r.sp1} ${r.sp2};
307
307
  border-radius: ${r.sp1};
308
- `,Zo={height:new p(200,280)},H={earningValue:new _("h6Regular","h5Regular"),cardTitle:new _("extraSmallRegular","smallRegular"),buttonText:new _("extraSmallRegular","smallRegular")};function te({pendingBonus:e,earnedBonus:i,pendingReferrals:n,onHowItWorksClick:c}){const{rewardsPage:{statisticsCard:a},common:{strings:l}}=v.getLocalizedStrings(),d=j();return o.jsxs(Qo,{windowSize:d,children:[o.jsx(Xo,{children:o.jsx(qo,{windowSize:d,children:a.title})}),o.jsxs(Uo,{windowSize:d,children:[o.jsxs(ie,{children:[o.jsx(ne,{children:a.earned}),o.jsx(se,{windowSize:d,type:"earned",children:C("0,0",i)})]}),d==="medium-compact"?o.jsx(or,{}):o.jsx(er,{}),o.jsxs(ie,{children:[o.jsx(ne,{children:a.pending}),o.jsx(se,{windowSize:d,type:"pending",children:C("0,0",e)})]})]}),o.jsxs(rr,{children:[o.jsxs(tr,{windowSize:d,children:[a.pendingReferrals," ",l.colon," ",n]}),o.jsxs(nr,{windowSize:d,onClick:c,children:[a.knowMore," ",o.jsx(ir,{})]})]})]})}const Qo=t.div`
308
+ `,Jo={height:new p(200,280)},H={earningValue:new _("h6Regular","h5Regular"),cardTitle:new _("extraSmallRegular","smallRegular"),buttonText:new _("extraSmallRegular","smallRegular")};function te({pendingBonus:e,earnedBonus:i,pendingReferrals:n,onHowItWorksClick:c}){const{rewardsPage:{statisticsCard:a},common:{strings:l}}=v.getLocalizedStrings(),d=j();return o.jsxs(qo,{windowSize:d,children:[o.jsx(Uo,{children:o.jsx(Qo,{windowSize:d,children:a.title})}),o.jsxs(Zo,{windowSize:d,children:[o.jsxs(ie,{children:[o.jsx(ne,{children:a.earned}),o.jsx(se,{windowSize:d,type:"earned",children:C("0,0",i)})]}),d==="medium-compact"?o.jsx(or,{}):o.jsx(er,{}),o.jsxs(ie,{children:[o.jsx(ne,{children:a.pending}),o.jsx(se,{windowSize:d,type:"pending",children:C("0,0",e)})]})]}),o.jsxs(rr,{children:[o.jsxs(tr,{windowSize:d,children:[a.pendingReferrals," ",l.colon," ",n]}),o.jsxs(nr,{windowSize:d,onClick:c,children:[a.knowMore," ",o.jsx(ir,{})]})]})]})}const qo=t.div`
309
309
  display: flex;
310
310
  flex-direction: column;
311
311
  align-items: center;
312
312
  justify-content: space-between;
313
313
  flex: 1 1 auto;
314
- height: ${e=>Zo.height.valuePx(e.windowSize)};
314
+ height: ${e=>Jo.height.valuePx(e.windowSize)};
315
315
  background-color: ${e=>e.theme.colors.grey5};
316
316
  background-image: url(https://storage.googleapis.com/zeni-apis.appspot.com/images/confetti.svg);
317
317
  background-repeat: no-repeat;
@@ -319,18 +319,18 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
319
319
  box-shadow: ${e=>`${r.sp0} 2px ${r.sp1} ${e.theme.colors.dropShadowNormal}`};
320
320
  border: ${r.sp1} solid ${e=>e.theme.colors.grey5};
321
321
  border-radius: ${r.sp2};
322
- `,Xo=t.div`
322
+ `,Uo=t.div`
323
323
  display: flex;
324
324
  flex: 0 1 auto;
325
325
  width: 100%;
326
326
  align-items: center;
327
327
  justify-content: center;
328
328
  padding-top: ${r.sp4};
329
- `,qo=t(B)`
329
+ `,Qo=t(B)`
330
330
  ${e=>`${H.cardTitle.style(e.windowSize)}`};
331
331
  color: ${e=>e.theme.colors.champion};
332
332
  margin-bottom: ${r.sp1};
333
- `,Uo=t.div`
333
+ `,Zo=t.div`
334
334
  display: flex;
335
335
  flex-direction: ${e=>e.windowSize==="medium-compact"?"column":"row"};
336
336
  flex: 0 1 auto;
@@ -384,7 +384,7 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
384
384
  padding-right: 12px;
385
385
  color: ${e=>e.theme.colors.primary};
386
386
  ${e=>`${H.buttonText.style(e.windowSize)}`};
387
- `,sr=90,J=114,Pe=160,ar=1,lr=58,dr=45,ae=(e,i)=>i!=="small"?sr:Ae(e,{...M.standardRegular.cssPartialObject(["fontSize","fontFamily","fontWeight"])}).width<Pe?J:J+24,{rewardsPage:{header:U},common:{strings:le}}=v.getLocalizedStrings(),cr={key:"invitee_email",value:U.invitee_email,sortOrder:"ascending",width:new p(s[7],s[8],s[8],s[9])},pr={key:"amount",value:U.amount,sortOrder:"ascending",width:new p(s[4],20,20,s[3])},hr={key:"status",value:U.status,sortOrder:"ascending",width:new p(s[3],s[4],s[4],20)},E=[cr,hr,pr],gr=e=>{const i=e.toLowerCase().split(le.space).join(le.underscore);switch(e){case x.StatusTypes.invite_processing:return{value:e,color:b.invite_processing.color,borderColor:b.invite_processing.borderColor,code:i};case x.StatusTypes.invite_sent:return{value:e,color:b.invite_sent.color,borderColor:b.invite_sent.borderColor,code:i};case x.StatusTypes.onboarding:return{value:e,color:b.onboarding.color,borderColor:b.onboarding.borderColor,code:i};case x.StatusTypes.active:case x.StatusTypes.reward_sent:return{value:e,color:b.active.color,borderColor:b.active.borderColor,code:i};case x.StatusTypes.declined:return{value:e,color:b.declined.color,borderColor:b.declined.borderColor,code:i};case x.StatusTypes.resend_invite:return{value:e,color:b.resend_invite.color,borderColor:b.resend_invite.borderColor,code:i};default:return{value:e,color:b.in_progress.color,borderColor:"",code:i}}},I={headerLastColumnTopPadding:new p(s[0],s[4]),headerLastColumnRightPadding:new p(s[3],s[11]),headerLastColumnBottomPadding:new p(s[0],s[4]),headerLastColumnLeftPadding:new p(s[3],s[11]),headerHeight:new p(dr,lr)};function mr({companyNameSticky:e,sortConfig:i,onColumnSortConfigChanged:n}){const c=V(),a=j(),[l,d]=$.useState(E);$.useEffect(()=>{const m=[...l];for(const y of m)y.key===i.sortKey?y.sortOrder=i.sortOrder:y.sortOrder="ascending";d(m)},[i.sortKey,i.sortOrder]);const h=(m,y)=>{let T=y;i.sortKey===m&&(T=y==="ascending"?"descending":"ascending"),n(m,T)},g=l.find(m=>m.key===i.sortKey)??l[0],w=m=>l.find(y=>y.key===m)?.value??S.strings.empty,u=l.map(m=>m.key),{rewardsPage:{inviteList:f},common:S}=v.getLocalizedStrings();return a==="small"?o.jsxs(de,{windowSize:a,companyNameSticky:!1,children:[o.jsxs(xr,{children:[o.jsx(fr,{children:o.jsx(wr,{})}),o.jsx(Oe,{title:f.sortBy,placeholder:f.sortBy,pickerValues:u,valueToLabel:w,selectedValue:i.sortKey,onPickerSelectionChanged:m=>{m&&h(x.toReferralListViewSortKeyType(m),"ascending")},optionTextStyle:M.smallRegular,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4,titleTextStyle:M.smallRegular,titleColor:c.colors.hero})]}),o.jsxs(yr,{onClick:()=>{h(g.key,g.sortOrder)},children:[o.jsx(z,{children:g.value}),o.jsx(ce,{sortDataValue:i.sortKey,headerdata:g,children:o.jsx(pe,{})})]})]}):o.jsx(de,{companyNameSticky:e,windowSize:a,children:l.map(m=>o.jsx(ur,{companyNameSticky:e&&m.key==="invitee_email",sortDataValue:i.sortKey,actualDataValue:m.key,wrapperWidth:m.width,windowSize:a,shouldRightAlign:m.value==="Amount",children:o.jsxs($r,{onClick:()=>{h(x.toReferralListViewSortKeyType(m.key),m.sortOrder)},children:[o.jsx(z,{children:m.value}),o.jsx(ce,{sortDataValue:i.sortKey,headerdata:m,children:o.jsx(pe,{})})]})},m.key))})}const de=t(z)`
387
+ `,sr=90,X=114,Pe=160,ar=1,lr=58,dr=45,ae=(e,i)=>i!=="small"?sr:Ae(e,{...M.standardRegular.cssPartialObject(["fontSize","fontFamily","fontWeight"])}).width<Pe?X:X+24,{rewardsPage:{header:Z},common:{strings:le}}=v.getLocalizedStrings(),cr={key:"invitee_email",value:Z.invitee_email,sortOrder:"ascending",width:new p(s[7],s[8],s[8],s[9])},pr={key:"amount",value:Z.amount,sortOrder:"ascending",width:new p(s[4],20,20,s[3])},hr={key:"status",value:Z.status,sortOrder:"ascending",width:new p(s[3],s[4],s[4],20)},D=[cr,hr,pr],gr=e=>{const i=e.toLowerCase().split(le.space).join(le.underscore);switch(e){case x.StatusTypes.invite_processing:return{value:e,color:b.invite_processing.color,borderColor:b.invite_processing.borderColor,code:i};case x.StatusTypes.invite_sent:return{value:e,color:b.invite_sent.color,borderColor:b.invite_sent.borderColor,code:i};case x.StatusTypes.onboarding:return{value:e,color:b.onboarding.color,borderColor:b.onboarding.borderColor,code:i};case x.StatusTypes.active:case x.StatusTypes.reward_sent:return{value:e,color:b.active.color,borderColor:b.active.borderColor,code:i};case x.StatusTypes.declined:return{value:e,color:b.declined.color,borderColor:b.declined.borderColor,code:i};case x.StatusTypes.resend_invite:return{value:e,color:b.resend_invite.color,borderColor:b.resend_invite.borderColor,code:i};default:return{value:e,color:b.in_progress.color,borderColor:"",code:i}}},I={headerLastColumnTopPadding:new p(s[0],s[4]),headerLastColumnRightPadding:new p(s[3],s[11]),headerLastColumnBottomPadding:new p(s[0],s[4]),headerLastColumnLeftPadding:new p(s[3],s[11]),headerHeight:new p(dr,lr)};function mr({companyNameSticky:e,sortConfig:i,onColumnSortConfigChanged:n}){const c=E(),a=j(),[l,d]=$.useState(D);$.useEffect(()=>{const m=[...l];for(const y of m)y.key===i.sortKey?y.sortOrder=i.sortOrder:y.sortOrder="ascending";d(m)},[i.sortKey,i.sortOrder]);const h=(m,y)=>{let T=y;i.sortKey===m&&(T=y==="ascending"?"descending":"ascending"),n(m,T)},g=l.find(m=>m.key===i.sortKey)??l[0],w=m=>l.find(y=>y.key===m)?.value??S.strings.empty,u=l.map(m=>m.key),{rewardsPage:{inviteList:f},common:S}=v.getLocalizedStrings();return a==="small"?o.jsxs(de,{windowSize:a,companyNameSticky:!1,children:[o.jsxs(xr,{children:[o.jsx(fr,{children:o.jsx(wr,{})}),o.jsx(Oe,{title:f.sortBy,placeholder:f.sortBy,pickerValues:u,valueToLabel:w,selectedValue:i.sortKey,onPickerSelectionChanged:m=>{m&&h(x.toReferralListViewSortKeyType(m),"ascending")},optionTextStyle:M.smallRegular,selectedOptionColor:c.colors.hero,optionBackgroundColor:c.colors.grey5,downChevronVisible:!1,backgroundColor:c.colors.grey4,titleTextStyle:M.smallRegular,titleColor:c.colors.hero})]}),o.jsxs(yr,{onClick:()=>{h(g.key,g.sortOrder)},children:[o.jsx(z,{children:g.value}),o.jsx(ce,{sortDataValue:i.sortKey,headerdata:g,children:o.jsx(pe,{})})]})]}):o.jsx(de,{companyNameSticky:e,windowSize:a,children:l.map(m=>o.jsx(ur,{companyNameSticky:e&&m.key==="invitee_email",sortDataValue:i.sortKey,actualDataValue:m.key,wrapperWidth:m.width,windowSize:a,shouldRightAlign:m.value==="Amount",children:o.jsxs($r,{onClick:()=>{h(x.toReferralListViewSortKeyType(m.key),m.sortOrder)},children:[o.jsx(z,{children:m.value}),o.jsx(ce,{sortDataValue:i.sortKey,headerdata:m,children:o.jsx(pe,{})})]})},m.key))})}const de=t(z)`
388
388
  top: ${r.sp0};
389
389
  left: ${r.sp0};
390
390
  min-height: ${e=>I.headerHeight.valuePx(e.windowSize)};
@@ -440,7 +440,7 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
440
440
  cursor: pointer;
441
441
  gap: 5px;
442
442
  color: ${e=>e.theme.colors.hero};
443
- `,R={containerPaddingLeft:new p(s[3],s[4]),containerPaddingRight:new p(s[3],s[4]),containerPaddingTop:new p(s[2],12),containerPaddingBottom:new p(s[2],12),containerMarginLeft:new p(s[4],s[8]),containerMarginRight:new p(s[4],s[8]),webkitLineClamp:new p(2,1,1,1,1)},{dateFormat:vr,rewardsPage:{inviteList:br},common:he}=v.getLocalizedStrings(),jr=({email:e,amount:i,status:n,resendInviteStatus:c,inviteSendDate:a,onResendInviteClick:l})=>{const d=j();let h=!1;if(a){const u=new Date(a.format(vr.visual.YYYYDashMMDashDFormat));h=fe(72,u)}const g=n.value===x.StatusTypes.reward_sent?x.AmountStatusTypes.received:x.AmountStatusTypes.to_be_received,w=c.fetchState==="In-Progress"?o.jsx($e,{size:"Small",start:!0}):o.jsxs(o.Fragment,{children:[o.jsx(Mr,{color:n.color,onClick:()=>{l(e)},children:br.status.resend_invite}),o.jsx(Wr,{children:`${he.sent} ${ye(a)}`})]});return o.jsx(Sr,{windowSize:d,children:o.jsx(Cr,{children:o.jsxs(kr,{children:[o.jsxs(zr,{windowSize:d,responsiveWidth:E[0].width,children:[o.jsx(Pr,{children:o.jsx(Ar,{})}),o.jsx(Rr,{windowSize:d,children:e})]}),o.jsx(Br,{windowSize:d,responsiveWidth:E[1].width,children:n.value===x.StatusTypes.invite_sent&&h?w:o.jsx(Or,{children:o.jsx(_r,{color:n.color,borderColor:n.borderColor,children:n.value===x.StatusTypes.reward_sent?x.StatusTypes.active:n.value})})}),o.jsx(Lr,{windowSize:d,responsiveWidth:E[2].width,amountStatus:g,children:n.value===x.StatusTypes.declined?o.jsx(Tr,{children:he.strings.hyphen}):o.jsxs(o.Fragment,{children:[C("0,0.[00]",i),o.jsx(Ir,{amountStatus:g,children:g})]})})]})})})},Sr=t.div`
443
+ `,R={containerPaddingLeft:new p(s[3],s[4]),containerPaddingRight:new p(s[3],s[4]),containerPaddingTop:new p(s[2],12),containerPaddingBottom:new p(s[2],12),containerMarginLeft:new p(s[4],s[8]),containerMarginRight:new p(s[4],s[8]),webkitLineClamp:new p(2,1,1,1,1)},{dateFormat:vr,rewardsPage:{inviteList:br},common:he}=v.getLocalizedStrings(),jr=({email:e,amount:i,status:n,resendInviteStatus:c,inviteSendDate:a,onResendInviteClick:l})=>{const d=j();let h=!1;if(a){const u=new Date(a.format(vr.visual.YYYYDashMMDashDFormat));h=fe(72,u)}const g=n.value===x.StatusTypes.reward_sent?x.AmountStatusTypes.received:x.AmountStatusTypes.to_be_received,w=c.fetchState==="In-Progress"?o.jsx($e,{size:"Small",start:!0}):o.jsxs(o.Fragment,{children:[o.jsx(Mr,{color:n.color,onClick:()=>{l(e)},children:br.status.resend_invite}),o.jsx(Wr,{children:`${he.sent} ${ye(a)}`})]});return o.jsx(Sr,{windowSize:d,children:o.jsx(Cr,{children:o.jsxs(kr,{children:[o.jsxs(zr,{windowSize:d,responsiveWidth:D[0].width,children:[o.jsx(Pr,{children:o.jsx(Ar,{})}),o.jsx(Rr,{windowSize:d,children:e})]}),o.jsx(Br,{windowSize:d,responsiveWidth:D[1].width,children:n.value===x.StatusTypes.invite_sent&&h?w:o.jsx(Or,{children:o.jsx(_r,{color:n.color,borderColor:n.borderColor,children:n.value===x.StatusTypes.reward_sent?x.StatusTypes.active:n.value})})}),o.jsx(Lr,{windowSize:d,responsiveWidth:D[2].width,amountStatus:g,children:n.value===x.StatusTypes.declined?o.jsx(Tr,{children:he.strings.hyphen}):o.jsxs(o.Fragment,{children:[C("0,0.[00]",i),o.jsx(Ir,{amountStatus:g,children:g})]})})]})})})},Sr=t.div`
444
444
  display: flex;
445
445
  align-items: center;
446
446
  margin-bottom: ${r.sp3};
@@ -511,7 +511,7 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
511
511
  white-space: nowrap;
512
512
  border: ${e=>`1px solid ${e.borderColor}`};
513
513
  border-radius: ${r.sp1};
514
- `,Mr=t(q)`
514
+ `,Mr=t(Q)`
515
515
  display: flex;
516
516
  color: ${e=>e.color};
517
517
  height: 20px;
@@ -548,7 +548,7 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
548
548
  margin-right: ${r.sp1};
549
549
  `,Or=t.div`
550
550
  display: flex;
551
- `,L={containerPaddingLeft:new p(s[3],s[4]),containerPaddingRight:new p(s[3],s[4]),containerPaddingTop:new p(s[3],s[3]),containerPaddingBottom:new p(s[3],s[3]),containerMarginLeft:new p(s[3],s[8]),containerMarginRight:new p(s[3],s[8]),webkitLineClamp:new p(2,2,1,1,1)},{dateFormat:Er,rewardsPage:{inviteList:Vr},common:ge}=v.getLocalizedStrings(),Dr=({email:e,amount:i,status:n,resendInviteStatus:c,inviteSendDate:a,onResendInviteClick:l})=>{const d=j();let h=!1;if(a){const u=new Date(a.format(Er.visual.YYYYDashMMDashDFormat));h=fe(72,u)}const g=n.value===x.StatusTypes.active?x.AmountStatusTypes.received:x.AmountStatusTypes.to_be_received,w=c.fetchState==="In-Progress"?o.jsx($e,{size:"Small",start:!0}):o.jsxs(o.Fragment,{children:[o.jsx(qr,{color:n.color,onClick:()=>{l(e)},children:Vr.status.resend_invite}),o.jsx(Ur,{children:`${ge.sent} ${ye(a)}`})]});return o.jsx(Nr,{windowSize:d,children:o.jsxs(Hr,{children:[o.jsxs(ot,{children:[o.jsxs(Kr,{children:[o.jsx(Fr,{children:o.jsx(et,{})}),o.jsx(Yr,{windowSize:d,children:e})]}),o.jsx(Gr,{amountStatus:g,children:n.value===x.StatusTypes.declined?o.jsx(Jr,{children:ge.strings.hyphen}):o.jsxs(o.Fragment,{children:[C("0,0.[00]",i),o.jsx(Zr,{amountStatus:g,children:g})]})})]}),o.jsx(rt,{children:o.jsx(Xr,{children:n.value===x.StatusTypes.invite_sent&&h?w:o.jsx(tt,{children:o.jsx(Qr,{color:n.color,borderColor:n.borderColor,children:n.value})})})})]})})},Nr=t.div`
551
+ `,L={containerPaddingLeft:new p(s[3],s[4]),containerPaddingRight:new p(s[3],s[4]),containerPaddingTop:new p(s[3],s[3]),containerPaddingBottom:new p(s[3],s[3]),containerMarginLeft:new p(s[3],s[8]),containerMarginRight:new p(s[3],s[8]),webkitLineClamp:new p(2,2,1,1,1)},{dateFormat:Dr,rewardsPage:{inviteList:Er},common:ge}=v.getLocalizedStrings(),Vr=({email:e,amount:i,status:n,resendInviteStatus:c,inviteSendDate:a,onResendInviteClick:l})=>{const d=j();let h=!1;if(a){const u=new Date(a.format(Dr.visual.YYYYDashMMDashDFormat));h=fe(72,u)}const g=n.value===x.StatusTypes.active?x.AmountStatusTypes.received:x.AmountStatusTypes.to_be_received,w=c.fetchState==="In-Progress"?o.jsx($e,{size:"Small",start:!0}):o.jsxs(o.Fragment,{children:[o.jsx(Qr,{color:n.color,onClick:()=>{l(e)},children:Er.status.resend_invite}),o.jsx(Zr,{children:`${ge.sent} ${ye(a)}`})]});return o.jsx(Nr,{windowSize:d,children:o.jsxs(Hr,{children:[o.jsxs(ot,{children:[o.jsxs(Kr,{children:[o.jsx(Fr,{children:o.jsx(et,{})}),o.jsx(Yr,{windowSize:d,children:e})]}),o.jsx(Gr,{amountStatus:g,children:n.value===x.StatusTypes.declined?o.jsx(Xr,{children:ge.strings.hyphen}):o.jsxs(o.Fragment,{children:[C("0,0.[00]",i),o.jsx(Jr,{amountStatus:g,children:g})]})})]}),o.jsx(rt,{children:o.jsx(Ur,{children:n.value===x.StatusTypes.invite_sent&&h?w:o.jsx(tt,{children:o.jsx(qr,{color:n.color,borderColor:n.borderColor,children:n.value})})})})]})})},Nr=t.div`
552
552
  display: flex;
553
553
  margin-bottom: ${r.sp3};
554
554
  background-color: ${e=>e.theme.colors.grey5};
@@ -594,11 +594,11 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
594
594
  color: ${e=>e.amountStatus===x.AmountStatusTypes.to_be_received?e.theme.colors.grey2:e.theme.colors.primary};
595
595
  width: 100%;
596
596
  margin-left: ${r.sp5};
597
- `,Jr=t(be)`
597
+ `,Xr=t(be)`
598
598
  color: ${e=>e.theme.colors.hero};
599
- `,Zr=t(W)`
599
+ `,Jr=t(W)`
600
600
  color: ${e=>e.amountStatus===x.AmountStatusTypes.to_be_received?e.theme.colors.grey2:e.theme.colors.success};
601
- `,Qr=t(W)`
601
+ `,qr=t(W)`
602
602
  color: ${e=>e.color};
603
603
  height: 20px;
604
604
  align-items: center;
@@ -611,7 +611,7 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
611
611
  display: inline-flex;
612
612
  border: ${e=>`1px solid ${e.borderColor}`};
613
613
  border-radius: ${r.sp1};
614
- `,Xr=t.div`
614
+ `,Ur=t.div`
615
615
  width: 100%;
616
616
  color: ${e=>e.theme.colors.hero};
617
617
  box-sizing: border-box;
@@ -619,7 +619,7 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
619
619
  flex-direction: column;
620
620
  align-items: flex-end;
621
621
  justify-content: center;
622
- `,qr=t(Fe)`
622
+ `,Qr=t(Fe)`
623
623
  display: flex;
624
624
  color: ${e=>e.color};
625
625
  height: 20px;
@@ -633,7 +633,7 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
633
633
  background-color: transparent;
634
634
  padding: 0;
635
635
  cursor: pointer;
636
- `,Ur=t(W)`
636
+ `,Zr=t(W)`
637
637
  color: ${e=>e.theme.colors.grey1};
638
638
  box-sizing: border-box;
639
639
  display: flex;
@@ -658,7 +658,7 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
658
658
  display: flex;
659
659
  flex-direction: column;
660
660
  align-items: flex-end;
661
- `,A={pageTitleMarginLeft:new p(s[3],s[8]),pageTitleMarginRight:new p(s[3],s[8]),pageTitleMarginTop:new p(s[4],s[5]),pageTitleMarginBottom:new p(s[3],s[3])},it={pageTitle:new _("standardSemiBold","largeSemiBold")},me=v.getLocalizedStrings(),nt=({index:e,style:i,inviteList:n,onResendInviteClick:c})=>{const a=j(),l=n[e],d=a==="small"?Dr:jr;return o.jsx(mt,{style:{...i,width:"100%"},children:o.jsx(d,{email:l.refereeEmailId,amount:l.amount,status:gr(l.statusCode),resendInviteStatus:l.resendInviteStatus,onResendInviteClick:c,inviteSendDate:l.lastInviteTimestamp})})},st=({inviteList:e,uiState:i,fetchState:n,onResendInviteClick:c,onReloadInvitees:a,onColumnSortConfigChanged:l})=>{const d=j(),h=f=>{const S=e[f].refereeEmailId;return ae(S,d)},g=e.reduce((f,S)=>f+ae(S.refereeEmailId,d),0),w=$.useRef(null);$.useEffect(()=>{w.current?.resetAfterIndex(0)},[d,w]);let u=null;switch(n){case"Not-Started":case"In-Progress":u=o.jsx(Ye,{fetchState:n});break;case"Error":u=o.jsxs(lt,{children:[o.jsx(dt,{onClick:a,children:o.jsx(ct,{})}),o.jsx(pt,{children:me.peoplePage.reloadPage.label})]});break;case"Completed":e.length!==0&&(u=o.jsxs(gt,{windowSize:d,children:[o.jsx(ht,{windowSize:d,children:me.rewardsPage.inviteList.pageTitle}),o.jsx(mr,{companyNameSticky:!1,onColumnSortConfigChanged:l,sortConfig:{sortKey:i.sortKey,sortOrder:i.sortOrder}}),o.jsx(Me,{ref:w,height:g,width:"100%",itemCount:e.length,itemSize:h,estimatedItemSize:J,itemKey:f=>e[f].refereeEmailId,overscanCount:ar,initialScrollOffset:0,children:f=>o.jsx(nt,{...f,inviteList:e,onResendInviteClick:c})})]}))}return o.jsx(at,{children:u})},at=t.div`
661
+ `,A={pageTitleMarginLeft:new p(s[3],s[8]),pageTitleMarginRight:new p(s[3],s[8]),pageTitleMarginTop:new p(s[4],s[5]),pageTitleMarginBottom:new p(s[3],s[3])},it={pageTitle:new _("standardSemiBold","largeSemiBold")},me=v.getLocalizedStrings(),nt=({index:e,style:i,inviteList:n,onResendInviteClick:c})=>{const a=j(),l=n[e],d=a==="small"?Vr:jr;return o.jsx(mt,{style:{...i,width:"100%"},children:o.jsx(d,{email:l.refereeEmailId,amount:l.amount,status:gr(l.statusCode),resendInviteStatus:l.resendInviteStatus,onResendInviteClick:c,inviteSendDate:l.lastInviteTimestamp})})},st=({inviteList:e,uiState:i,fetchState:n,onResendInviteClick:c,onReloadInvitees:a,onColumnSortConfigChanged:l})=>{const d=j(),h=f=>{const S=e[f].refereeEmailId;return ae(S,d)},g=e.reduce((f,S)=>f+ae(S.refereeEmailId,d),0),w=$.useRef(null);$.useEffect(()=>{w.current?.resetAfterIndex(0)},[d,w]);let u=null;switch(n){case"Not-Started":case"In-Progress":u=o.jsx(Ye,{fetchState:n});break;case"Error":u=o.jsxs(lt,{children:[o.jsx(dt,{onClick:a,children:o.jsx(ct,{})}),o.jsx(pt,{children:me.peoplePage.reloadPage.label})]});break;case"Completed":e.length!==0&&(u=o.jsxs(gt,{windowSize:d,children:[o.jsx(ht,{windowSize:d,children:me.rewardsPage.inviteList.pageTitle}),o.jsx(mr,{companyNameSticky:!1,onColumnSortConfigChanged:l,sortConfig:{sortKey:i.sortKey,sortOrder:i.sortOrder}}),o.jsx(Me,{ref:w,height:g,width:"100%",itemCount:e.length,itemSize:h,estimatedItemSize:X,itemKey:f=>e[f].refereeEmailId,overscanCount:ar,initialScrollOffset:0,children:f=>o.jsx(nt,{...f,inviteList:e,onResendInviteClick:c})})]}))}return o.jsx(at,{children:u})},at=t.div`
662
662
  display: block;
663
663
  height: 100%;
664
664
  `,lt=t.div`
@@ -677,14 +677,14 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
677
677
  background: ${e=>e.theme.colors.background};
678
678
  border-radius: 50%;
679
679
  cursor: pointer;
680
- `,ct=t(Ee)`
680
+ `,ct=t(De)`
681
681
  height: ${r.sp5};
682
682
  width: ${r.sp5};
683
683
  color: ${e=>e.theme.colors.grey1};
684
684
  &:hover {
685
685
  color: ${e=>e.theme.colors.primary};
686
686
  }
687
- `,pt=t(Ve)`
687
+ `,pt=t(Ee)`
688
688
  margin-top: ${r.sp3};
689
689
  color: ${e=>e.theme.colors.hero};
690
690
  `,ht=t(B)`
@@ -705,7 +705,7 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
705
705
  &:last-child {
706
706
  padding-bottom: ${r.sp0};
707
707
  }
708
- `,ut={referralButtonRightPosition:new p(-4,28,28,-4)},{rewardsPage:{referButton:F},common:{texts:O}}=v.getLocalizedStrings();function xt(e){const i=j(),[n,c]=$.useState(!1),[,a]=D(),[l,d]=$.useState(!1),h=()=>{e.onCopyReferralLink(),l||(a(e.referralLink.toString()),d(!0))};return $.useEffect(()=>{l===!0&&setTimeout(()=>{d(!1),c(!1)},2e3)},[l]),o.jsx(wt,{windowSize:i,children:o.jsx(Ie,{onClickAway:()=>{c(!1)},children:o.jsx(ft,{onClick:()=>{n||e.onClickRefer(),c(!0)},onTouchEnd:()=>{n||e.onClickRefer(),c(!0)},children:o.jsx(_e,{entity:"rewards",isMoreOption:!1,closeMenuOnSelect:!1,isMenuOpen:n,title:O.refer,options:[{label:F.inviteViaEmail,value:O.invite},{label:l?F.urlCopied:F.copyReferralUrl,value:l?O.copied:O.copy}],customStyleConfig:{control:()=>({backgroundColor:"inherit",cursor:"pointer",border:"none",":hover":{backgroundColor:"inherit"}}),container:()=>({marginLeft:s[0]}),valueContainer:()=>({display:"flex"})},onOptionSelection:g=>{switch(g){case"invite":e.onInviteClick();break;case"copy":h();break}}})})})})}const wt=t.div`
708
+ `,ut={referralButtonRightPosition:new p(-4,28,28,-4)},{rewardsPage:{referButton:F},common:{texts:O}}=v.getLocalizedStrings();function xt(e){const i=j(),[n,c]=$.useState(!1),[,a]=V(),[l,d]=$.useState(!1),h=()=>{e.onCopyReferralLink(),l||(a(e.referralLink.toString()),d(!0))};return $.useEffect(()=>{l===!0&&setTimeout(()=>{d(!1),c(!1)},2e3)},[l]),o.jsx(wt,{windowSize:i,children:o.jsx(Ie,{onClickAway:()=>{c(!1)},children:o.jsx(ft,{onClick:()=>{n||e.onClickRefer(),c(!0)},onTouchEnd:()=>{n||e.onClickRefer(),c(!0)},children:o.jsx(_e,{entity:"rewards",isMoreOption:!1,closeMenuOnSelect:!1,isMenuOpen:n,title:O.refer,options:[{label:F.inviteViaEmail,value:O.invite},{label:l?F.urlCopied:F.copyReferralUrl,value:l?O.copied:O.copy}],customStyleConfig:{control:()=>({backgroundColor:"inherit",cursor:"pointer",border:"none",":hover":{backgroundColor:"inherit"}}),container:()=>({marginLeft:s[0]}),valueContainer:()=>({display:"flex"})},onOptionSelection:g=>{switch(g){case"invite":e.onInviteClick();break;case"copy":h();break}}})})})})}const wt=t.div`
709
709
  position: absolute;
710
710
  right: ${e=>ut.referralButtonRightPosition.valuePx(e.windowSize)};
711
711
  `,ft=t.div`
@@ -716,7 +716,7 @@ import{u as V,X as j,j as o,aW as Te,M as v,fd as D,p as Ie,gl as _e,q as s,o as
716
716
  &:hover {
717
717
  color: ${e=>e.theme.colors.primary};
718
718
  }
719
- `,$t=v.getLocalizedStrings().rewardsPage,Mt=e=>{const i=V(),n=j(),{pendingBonus:c,earnedBonus:a,rewardsPlan:l,pendingReferrals:d,inviteList:h,uiState:g,fetchState:w,onInviteClick:u,onBackClick:f,onHowItWorksClick:S,onReloadInvitees:m,onResendInviteClick:y,onColumnSortConfigChanged:T,onCopyReferralLink:P,onClickRefer:K,onClickMenuIcon:Re}=e,[Le,ee]=$.useState(!0);let oe=null;return Le||(oe=o.jsx(xt,{referralLink:l.referralLink,onInviteClick:u,onClickRefer:K,onCopyReferralLink:P})),o.jsxs(yt,{children:[o.jsx(Te,{source:"InvitePageListView",title:$t.pageTitle,showBackButton:!0,backgroundColor:i.colors.grey4,style:{zIndex:3},onBackClick:f,showMenuIcon:n==="medium-compact"||n==="small",onClickMenuIcon:Re,rightSideComponent:oe}),h.length===0?o.jsx(jt,{children:o.jsx(zo,{rewardsPlan:l,onHowItWorksClick:S,onInviteClick:u,onCopyReferral:P})}):o.jsxs(o.Fragment,{children:[n==="small"?o.jsxs(bt,{children:[o.jsx(te,{pendingBonus:c,earnedBonus:a,pendingReferrals:d,onHowItWorksClick:S}),o.jsx(Ce,{referralLink:l.referralLink,onInviteClick:u,onCopyReferral:P,setShowNavButton:ee})]}):o.jsxs(vt,{children:[o.jsx(ue,{children:o.jsx(te,{pendingBonus:c,earnedBonus:a,pendingReferrals:d,onHowItWorksClick:S})}),o.jsx(ue,{children:o.jsx(Wo,{rewardsPlan:l,onInviteClick:u,setShowNavButton:ee,onCopyReferral:P})})]}),o.jsx(st,{inviteList:h,fetchState:w,onReloadInvitees:m,onColumnSortConfigChanged:T,uiState:g,onResendInviteClick:y})]})]})},yt=t.div`
719
+ `,$t=v.getLocalizedStrings().rewardsPage,Mt=e=>{const i=E(),n=j(),{pendingBonus:c,earnedBonus:a,rewardsPlan:l,pendingReferrals:d,inviteList:h,uiState:g,fetchState:w,onInviteClick:u,onBackClick:f,onHowItWorksClick:S,onReloadInvitees:m,onResendInviteClick:y,onColumnSortConfigChanged:T,onCopyReferralLink:P,onClickRefer:K,onClickMenuIcon:Re}=e,[Le,ee]=$.useState(!0);let oe=null;return Le||(oe=o.jsx(xt,{referralLink:l.referralLink,onInviteClick:u,onClickRefer:K,onCopyReferralLink:P})),o.jsxs(yt,{children:[o.jsx(Te,{source:"InvitePageListView",title:$t.pageTitle,showBackButton:!0,backgroundColor:i.colors.grey4,style:{zIndex:3},onBackClick:f,showMenuIcon:n==="medium-compact"||n==="small",onClickMenuIcon:Re,rightSideComponent:oe}),h.length===0?o.jsx(jt,{children:o.jsx(zo,{rewardsPlan:l,onHowItWorksClick:S,onInviteClick:u,onCopyReferral:P})}):o.jsxs(o.Fragment,{children:[n==="small"?o.jsxs(bt,{children:[o.jsx(te,{pendingBonus:c,earnedBonus:a,pendingReferrals:d,onHowItWorksClick:S}),o.jsx(Ce,{referralLink:l.referralLink,onInviteClick:u,onCopyReferral:P,setShowNavButton:ee})]}):o.jsxs(vt,{children:[o.jsx(ue,{children:o.jsx(te,{pendingBonus:c,earnedBonus:a,pendingReferrals:d,onHowItWorksClick:S})}),o.jsx(ue,{children:o.jsx(Wo,{rewardsPlan:l,onInviteClick:u,setShowNavButton:ee,onCopyReferral:P})})]}),o.jsx(st,{inviteList:h,fetchState:w,onReloadInvitees:m,onColumnSortConfigChanged:T,uiState:g,onResendInviteClick:y})]})]})},yt=t.div`
720
720
  display: flex;
721
721
  width: 100%;
722
722
  height: 100vh;
@@ -0,0 +1,12 @@
1
+ import{e as Y,fm as ee,u as te,a as le,j as d,M as oe,q as g,ge as ne,_ as se,F as ie,a4 as re,o as ae,C as E,fp as q,fq as Z,fr as A,c2 as N,l as V,c4 as de}from"./index-CyJdCOlu.js";import{b as P,n as W}from"./vendor-CnQcJ2Lu.js";import{x as ce}from"./AllUserItems-DBXzXO61-sIPVSbAT.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";import"./LabeledUserSingleSelectWithSubtitlesField-DrloYoze-DB50WeN3.js";import"./RoleWithToolTip-CNQZHC7h-LUv0Jw-2.js";import"./LabeledZeniRolesDropDownField-BZKMSlzI-B3-a-Sde.js";const $={containerPaddingLeft:new E(g[3],g[6],g[8]),containerPaddingRight:new E(g[3],g[6],g[8]),buttonWidth:new E(85,85)},F="editPeoplePage",O="userItems",p=oe.getLocalizedStrings().peoplePage,we=({peopleDetails:e,managersList:s,classList:R,controllersList:z,mode:o,isZeniTenant:T,onPeopleLocalDataUpdated:w,onCloseClick:S,onSaveClick:i,isReimbursementDisabled:L,isZeniAccountsDisabled:n,isChargeCardDisabled:k,isTreasuryDisabled:j,isBankingOnlyTenant:b,isCardsOnlyTenant:x,isLiteRoleDisabled:U})=>{const c=Y(),[J,Q]=P.useState(-1),[B,_]=P.useState(""),D=P.useRef(null),I=P.useMemo(()=>ee(L,n,k,b,x,U,j),[L,n,k,b,x,U,j]),G=te(),r=le({mode:"onBlur",reValidateMode:"onChange",defaultValues:M(e.people,o,I,s,R,b,x),values:M(e.people,o,I,s,R,b,x)}),H=r.handleSubmit(()=>{K()?i():console.warn("Invite People form error")}),K=()=>{const t=r.getValues();let l=!0;return t.userItems.forEach((f,C)=>{const{role:a,nonZeniRole:v,department:u,manager:m}=f;if(o==="zeni_only")a?.selectedOptions==null&&(r.setError(`${O}.${C}.role`,{type:"required"}),l=!1);else{const h=v?.userRole.selectedRole;(h!=null&&v!=null?v.productsByUserRole[h].map(y=>y.selectedOption).filter(y=>y!=null):[]).length<1&&(r.setError(`${O}.${C}.nonZeniRole.userRole.selectedRole`,{type:"required"}),l=!1),u?.selectedOption==null&&h!=="investor_or_banker"&&!b&&!x&&(r.setError(`${O}.${C}.department`,{type:"required"}),l=!1),m?.selectedUser==null&&h!=="investor_or_banker"&&(r.setError(`${O}.${C}.manager`,{type:"required"}),l=!1)}}),l},X=async(t,l)=>{const f=[],{userItems:C}=l;C.forEach(a=>{let v={};if(o==="zeni_only")v={email:a.email,role:[a.role?.selectedOptions]};else{const u=a.nonZeniRole?.userRole.selectedRole;let m=[];u==="admin"||u==="investor_or_banker"?m.push(u):m=u!=null?(a.nonZeniRole?.productsByUserRole[u]??[]).map(y=>V.toUserRoleTypeStrict(y.selectedOption?.value)).filter(y=>y!=null):[],u==="employee"&&m.length===0&&(m=["reimbursements_user"]);const h=V.hasInvestorBankerLevelAccess(m);v={email:a.email,role:m,departmentId:h?void 0:a.department?.selectedOption?.value,managerId:h?void 0:a.manager?.selectedUser}}f.push(v)}),w(f)};return P.useEffect(()=>{const t=r.watch((l,{name:f})=>{f!=null&&l!=null&&X(f,l)});return()=>{t.unsubscribe()}}),P.useEffect(()=>{const t=D.current,l=()=>{c!=="small"&&(t&&t?.scrollTop>g[9]?_(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):_(""))};return c==="small"?_(o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title):t&&t?.scrollTop<=g[9]&&_(""),t&&t.addEventListener("scroll",l),()=>{t&&t.removeEventListener("scroll",l)}},[o,B,c]),d.jsxs(d.Fragment,{children:[d.jsx(ne,{title:B,backgroundColor:G.colors.grey4,style:{zIndex:4},onCloseClick:S,isTitleAlignLeft:c==="small"}),d.jsxs(ue,{"data-testid":se("invite-people-container"),windowSize:c,ref:D,children:[c!=="small"?d.jsx(me,{children:o==="zeni_only"?p.invitePage.zeniTitle:p.invitePage.title}):null,d.jsx(ie,{...r,children:d.jsx("form",{id:`${F}_form`,onSubmit:H,children:d.jsx(ce,{control:r.control,sectionId:O,deleteConfirmationIndex:J,updateDeleteConfirmationIndex:Q,mode:o,isZeniTenant:T,classList:R,managersList:s,controllersList:z,isBankingOnlyTenant:b,isCardsOnlyTenant:x,customerRoleOptions:I,isEdit:!1})})})]}),d.jsx(re,{formId:`${F}_form`,primaryBtn:{label:p.invitePage.invite,style:{width:$.buttonWidth.value(c)},isLoading:e.invitePersonState.fetchState==="In-Progress",isDisabled:e.invitePersonState.fetchState==="In-Progress"},showCancel:!0,cancelBtn:{label:p.invitePage.cancel,style:{width:$.buttonWidth.value(c)},shouldResetOnCancel:!1,onClick:S},separatorStyle:{marginRight:ae.sp4}})]})},M=(e,s,R,z,o,T,w)=>{const S=[{userIndex:0,email:[],role:s==="zeni_only"?{allOptions:N.roles,selectedOptions:e[0]?.role}:void 0,nonZeniRole:s==="off"?{userRole:{selectedRole:e[0]?.role.length>0?A(e[0].role):void 0,allRootRole:Z(T,w)},productsByUserRole:q(e[0]?.role??[],R)}:void 0,department:void 0,manager:void 0}];return{[O]:e.length>0?e.map((i,L)=>({userIndex:L,email:i.email,role:s==="zeni_only"?{allOptions:N.roles,selectedOptions:i.role}:void 0,nonZeniRole:s==="off"?{userRole:{selectedRole:i.role.length>0?A(i.role):void 0,allRootRole:Z(T,w)},productsByUserRole:q(i.role,R)}:void 0,department:{allOptions:o.map(n=>({label:n.fullyQualifiedAccountingClassName??"",value:n.classId,hoverText:n.accountingClassNumber})),selectedOption:o.map(n=>({label:n.fullyQualifiedAccountingClassName??"",value:n.classId,hoverText:n.accountingClassNumber})).find(n=>n.value===i.departmentId)},manager:{allUsers:z,selectedUser:i.managerId}})):S}},Se=(e,s)=>`${e}.${s}`,ue=W.div`
2
+ display: flex;
3
+ flex-direction: column;
4
+ background-color: ${e=>e.theme.colors.grey4};
5
+
6
+ padding-left: ${e=>`${$.containerPaddingLeft.valuePx(e.windowSize)}`};
7
+ padding-right: ${e=>`${$.containerPaddingRight.valuePx(e.windowSize)}`};
8
+ overflow-x: hidden;
9
+ height: 100%;
10
+ `,me=W(de)`
11
+ color: ${e=>e.theme.colors.primary};
12
+ `;export{we as default,Se as uniqueName};
@@ -0,0 +1,140 @@
1
+ import{u as s1,e as d1,M as q,j as l,m as J,o as i,c as d,_ as Q,C as $,g0 as v1,g1 as k1,bS as b1,bU as L1,bV as $1,aD as j1,ao as c1,q as C,v as o1,h as E1,L as B1,d as p1}from"./index-CyJdCOlu.js";import{b as t,n as o}from"./vendor-CnQcJ2Lu.js";import z1 from"./AttachmentView-BTAMhgXU-BizBD4c6.js";import{l as H1}from"./uploadReceipts-CwjPukNh-BNp5wSMb.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 A1=e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_623_1439",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_623_1439)"})),t.createElement("g",{mask:"url(#mask0_623_1439)"},t.createElement("path",{d:"M24.4551 10.7549C24.8693 10.7549 25.2051 11.0907 25.2051 11.5049V13.6938L28.3834 13.6938C28.7976 13.6938 29.1334 14.0296 29.1334 14.4438C29.1334 14.8581 28.7976 15.1938 28.3834 15.1938H22.4209C21.6794 15.1944 20.9613 15.4529 20.3896 15.925C19.8179 16.3972 19.4282 17.0536 19.2875 17.7816C19.1468 18.5096 19.2638 19.264 19.6184 19.9152C19.973 20.5662 20.543 21.0736 21.2306 21.3505L27.2968 23.7781C28.3078 24.1849 29.1457 24.9308 29.6669 25.8878C30.1881 26.8448 30.36 27.9534 30.1532 29.0234C29.9464 30.0933 29.3738 31.058 28.5335 31.7519C27.6933 32.4458 26.6377 32.8257 25.548 32.8265H25.2051V35.0149C25.2051 35.4292 24.8693 35.7649 24.4551 35.7649C24.0409 35.7649 23.7051 35.4292 23.7051 35.0149V32.8265H19.567C19.1528 32.8265 18.817 32.4907 18.817 32.0765C18.817 31.6623 19.1528 31.3265 19.567 31.3265H24.4327C24.4401 31.3263 24.4476 31.3262 24.4551 31.3262C24.4626 31.3262 24.47 31.3263 24.4775 31.3265H25.5469C26.2884 31.326 27.0066 31.0675 27.5784 30.5953C28.1501 30.1232 28.5398 29.4668 28.6805 28.7387C28.8212 28.0107 28.7042 27.2564 28.3496 26.6052C27.9951 25.9543 27.4253 25.4469 26.7378 25.1701L26.7369 25.1697L20.6712 22.7422C19.6602 22.3355 18.8223 21.5896 18.3011 20.6325C17.7799 19.6755 17.608 18.5669 17.8148 17.497C18.0216 16.427 18.5942 15.4624 19.4345 14.7684C20.2748 14.0745 21.3308 13.6946 22.4206 13.6938H23.7051V11.5049C23.7051 11.0907 24.0409 10.7549 24.4551 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 42.2959C17.7295 41.8817 18.0653 41.5459 18.4795 41.5459H42.5621C42.9763 41.5459 43.3121 41.8817 43.3121 42.2959C43.3121 42.7101 42.9763 43.0459 42.5621 43.0459H18.4795C18.0653 43.0459 17.7295 42.7101 17.7295 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7295 52.2962C17.7295 51.882 18.0653 51.5462 18.4795 51.5462L40.7106 51.5461C41.1248 51.5461 41.4606 51.8819 41.4606 52.2961C41.4606 52.7104 41.1248 53.0461 40.7106 53.0461L18.4795 53.0462C18.0653 53.0462 17.7295 52.7104 17.7295 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7295 31.9541C37.7295 31.5399 38.0653 31.2041 38.4795 31.2041H48.1263C48.5406 31.2041 48.8763 31.5399 48.8763 31.9541C48.8763 32.3683 48.5406 32.7041 48.1263 32.7041H38.4795C38.0653 32.7041 37.7295 32.3683 37.7295 31.9541Z",fill:"#A6B0B1"})),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5502 49.191C55.6639 49.0732 55.8234 49 56 49C56 49 56 49 56 49C56.0071 49 56.0143 49.0001 56.0214 49.0004C56.1742 49.0055 56.3254 49.0664 56.4421 49.1831L61.0135 53.7545C61.2576 53.9986 61.2576 54.3943 61.0135 54.6384C60.7694 54.8824 60.3737 54.8824 60.1296 54.6384L56.625 51.1337V60.7976C56.625 61.1427 56.3452 61.4226 56 61.4226C55.6548 61.4226 55.375 61.1427 55.375 60.7976V51.134L51.8707 54.6384C51.6266 54.8824 51.2308 54.8824 50.9868 54.6384C50.7427 54.3943 50.7427 53.9986 50.9868 53.7545L55.5502 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_623_1439",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),P1=e=>t.createElement("svg",{viewBox:"0 0 72 72",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("mask",{id:"mask0_836_6609",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:0,y:-16,width:72,height:88},t.createElement("rect",{y:-16,width:72,height:88,fill:"url(#paint0_linear_836_6609)"})),t.createElement("g",{mask:"url(#mask0_836_6609)"},t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5 18.25C5.41421 18.25 5.75 18.5858 5.75 19V61C5.75 63.8995 8.10051 66.25 11 66.25H35C35.4142 66.25 35.75 66.5858 35.75 67C35.75 67.4142 35.4142 67.75 35 67.75H11C7.27208 67.75 4.25 64.7279 4.25 61V19C4.25 18.5858 4.58579 18.25 5 18.25Z",fill:"#A6B0B1"}),t.createElement("path",{d:"M24.4561 10.7549C24.8703 10.7549 25.2061 11.0907 25.2061 11.5049V13.6938L28.3843 13.6938C28.7985 13.6938 29.1343 14.0296 29.1343 14.4438C29.1343 14.8581 28.7985 15.1938 28.3843 15.1938H22.4218C21.6804 15.1944 20.9623 15.4529 20.3906 15.925C19.8189 16.3972 19.4292 17.0536 19.2885 17.7816C19.1478 18.5096 19.2648 19.264 19.6194 19.9152C19.974 20.5662 20.5439 21.0736 21.2316 21.3505L27.2978 23.7781C28.3087 24.1849 29.1467 24.9308 29.6679 25.8878C30.1891 26.8448 30.361 27.9534 30.1542 29.0234C29.9474 30.0933 29.3748 31.058 28.5345 31.7519C27.6942 32.4458 26.6387 32.8257 25.5489 32.8265H25.2061V35.0149C25.2061 35.4292 24.8703 35.7649 24.4561 35.7649C24.0418 35.7649 23.7061 35.4292 23.7061 35.0149V32.8265H19.568C19.1538 32.8265 18.818 32.4907 18.818 32.0765C18.818 31.6623 19.1538 31.3265 19.568 31.3265H24.4337C24.4411 31.3263 24.4486 31.3262 24.4561 31.3262C24.4635 31.3262 24.471 31.3263 24.4785 31.3265H25.5479C26.2894 31.326 27.0076 31.0675 27.5794 30.5953C28.1511 30.1232 28.5408 29.4668 28.6815 28.7387C28.8222 28.0107 28.7052 27.2564 28.3506 26.6052C27.9961 25.9543 27.4263 25.4469 26.7388 25.1701L26.7378 25.1697L20.6722 22.7422C19.6612 22.3355 18.8233 21.5896 18.3021 20.6325C17.7809 19.6755 17.609 18.5669 17.8158 17.497C18.0226 16.427 18.5952 15.4624 19.4355 14.7684C20.2757 14.0745 21.3318 13.6946 22.4216 13.6938H23.7061V11.5049C23.7061 11.0907 24.0418 10.7549 24.4561 10.7549Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.0762 2.2644C37.4904 2.2644 37.8262 2.60019 37.8262 3.0144V17.4438C37.8262 18.0243 38.0568 18.581 38.4672 18.9915C38.8777 19.402 39.4344 19.6326 40.0149 19.6326H54.4443C54.8585 19.6326 55.1943 19.9684 55.1943 20.3826C55.1943 20.7968 54.8585 21.1326 54.4443 21.1326H40.0149C39.0366 21.1326 38.0984 20.7439 37.4066 20.0521C36.7148 19.3604 36.3262 18.4221 36.3262 17.4438V3.0144C36.3262 2.60019 36.662 2.2644 37.0762 2.2644Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7305 42.2959C17.7305 41.8817 18.0663 41.5459 18.4805 41.5459H42.5631C42.9773 41.5459 43.3131 41.8817 43.3131 42.2959C43.3131 42.7101 42.9773 43.0459 42.5631 43.0459H18.4805C18.0663 43.0459 17.7305 42.7101 17.7305 42.2959Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M17.7305 52.2962C17.7305 51.882 18.0663 51.5462 18.4805 51.5462L40.7116 51.5461C41.1258 51.5461 41.4616 51.8819 41.4616 52.2961C41.4616 52.7104 41.1258 53.0461 40.7116 53.0461L18.4805 53.0462C18.0663 53.0462 17.7305 52.7104 17.7305 52.2962Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M37.7305 31.9541C37.7305 31.5399 38.0663 31.2041 38.4805 31.2041H48.1273C48.5415 31.2041 48.8773 31.5399 48.8773 31.9541C48.8773 32.3683 48.5415 32.7041 48.1273 32.7041H38.4805C38.0663 32.7041 37.7305 32.3683 37.7305 31.9541Z",fill:"#A6B0B1"})),t.createElement("path",{d:"M63.1838 60.0608V61.3101C63.1836 61.807 62.9861 62.2834 62.6348 62.6348C62.2835 62.9861 61.807 63.1836 61.3101 63.1837H50.69C50.1931 63.1837 49.7166 62.9863 49.3652 62.635C49.0138 62.2836 48.8164 61.807 48.8164 61.3101V60.0608",stroke:"#A6B0B1",strokeWidth:1.25,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M55.5512 49.191C55.6649 49.0732 55.8244 49 56.001 49C56.001 49 56.001 49 56.001 49C56.0081 49 56.0153 49.0001 56.0224 49.0004C56.1752 49.0055 56.3264 49.0664 56.4431 49.1831L61.0145 53.7545C61.2586 53.9986 61.2586 54.3943 61.0145 54.6384C60.7704 54.8824 60.3747 54.8824 60.1306 54.6384L56.626 51.1337V60.7976C56.626 61.1427 56.3462 61.4226 56.001 61.4226C55.6558 61.4226 55.376 61.1427 55.376 60.7976V51.134L51.8716 54.6384C51.6276 54.8824 51.2318 54.8824 50.9877 54.6384C50.7437 54.3943 50.7437 53.9986 50.9877 53.7545L55.5512 49.191Z",fill:"#A6B0B1"}),t.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M36.8739 3.50002C37.1624 3.49921 37.4482 3.55546 37.7149 3.66552C37.9816 3.77558 38.224 3.93737 38.428 4.14141L54.3387 20.0521C54.7491 20.4624 54.9797 21.0193 54.98 21.5996L54.9696 40.7471H56.4696L56.48 21.5993C56.4798 20.621 56.091 19.6829 55.3992 18.9913L39.4887 3.08083C39.145 2.73695 38.7366 2.46443 38.2871 2.27894C37.838 2.0936 37.3567 1.99881 36.8708 2.00001H12.6888C11.7105 2.00001 10.7722 2.38865 10.0804 3.08043C9.38864 3.77222 9 4.71048 9 5.68881V59.4034C9 60.3817 9.38864 61.32 10.0804 62.0117C10.7722 62.7035 11.7105 63.0922 12.6888 63.0922H42.0703V61.5922H12.6888C12.1083 61.5922 11.5516 61.3615 11.1411 60.9511C10.7306 60.5406 10.5 59.9839 10.5 59.4034V5.68881C10.5 5.1083 10.7306 4.55158 11.1411 4.1411C11.5516 3.73062 12.1083 3.50002 12.6888 3.50002H36.8718L36.8739 3.50002Z",fill:"#A6B0B1"}),t.createElement("rect",{x:40.75,y:40.75,width:30.5,height:30.5,rx:15.25,stroke:"#A6B0B1",strokeWidth:1.5}),t.createElement("defs",null,t.createElement("linearGradient",{id:"paint0_linear_836_6609",x1:36,y1:-16,x2:36,y2:72,gradientUnits:"userSpaceOnUse"},t.createElement("stop",{stopColor:"#C9ABC7",stopOpacity:0}),t.createElement("stop",{offset:1e-4,stopColor:"#C9ABC7"})))),T1=e=>t.createElement("svg",{viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",...e},t.createElement("path",{d:"M15.4931 3.87109H11.4776C10.5275 3.89973 9.62765 4.30445 8.97582 4.99631C8.324 5.68817 7.97357 6.61054 8.00156 7.56068C7.99312 8.23377 8.16758 8.89652 8.50634 9.47821C8.84509 10.0599 9.33542 10.5387 9.92501 10.8635L13.5771 12.8038C14.1642 13.1295 14.6523 13.6079 14.9896 14.1884C15.3269 14.7688 15.5009 15.4297 15.4931 16.101C15.5211 17.0505 15.1712 17.9724 14.5202 18.6641C13.8691 19.3559 12.9702 19.761 12.0208 19.7906H8.00156",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M11.2829 19.7908V22.6001",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"}),t.createElement("path",{d:"M13.1558 1V3.87113",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"})),g={memoPaddingTopBottomRight:new $(12,C[3]),billReceiptSize:new $(60,C[10]),rootContainerPaddingTop:new $(C[3],62),rootContainerPaddingRight:new $(C[3],C[6]),rootContainerPaddingBottom:new $(C[5],C[9]),rootContainerPaddingLeft:new $(C[3],C[8])},r1=o(E1)`
2
+ color: ${e=>e.isPlaceholderText===!0?e.theme.colors.grey1:e.theme.colors.hero};
3
+ white-space: pre-wrap;
4
+ text-align: center;
5
+ ${e=>e.isPlaceholderText===!0?o1.largeRegular.css:o1.extraSmallRegular.css};
6
+ display: flex;
7
+ align-items: baseline;
8
+ `,n1=o(B1)`
9
+ color: ${e=>e.theme.colors.hero};
10
+ white-space: pre-wrap;
11
+ text-align: center;
12
+ display: flex;
13
+ align-items: baseline;
14
+ `,a1=o(c1)`
15
+ color: ${e=>e.theme.colors.champion};
16
+ `,j=o.div`
17
+ padding: 0 2px;
18
+ `,R1=o.div`
19
+ height: 100%;
20
+ display: flex;
21
+ flex-direction: column;
22
+ justify-content: center;
23
+ flex: 1 1 auto;
24
+ border: 1px dashed ${e=>e.theme.colors.primary};
25
+ box-sizing: border-box;
26
+ border-radius: ${i.sp2};
27
+ padding: ${e=>g.memoPaddingTopBottomRight.valuePx(e.windowSize)};
28
+ align-items: center;
29
+ width: 100%;
30
+ cursor: pointer;
31
+ background-color: ${e=>e.theme.colors.grey4};
32
+ .uploadIconStyled {
33
+ fill: ${e=>e.theme.colors.grey1};
34
+ }
35
+ &:hover {
36
+ .uploadIconStyled {
37
+ fill: ${e=>e.theme.colors.primary};
38
+ }
39
+ .textContent {
40
+ color: ${e=>e.theme.colors.primary};
41
+ }
42
+ }
43
+ `,m1=o.div`
44
+ border: 1px dashed ${e=>e.theme.colors.primary};
45
+ border-radius: ${i.sp2};
46
+ display: flex;
47
+ flex: 1 1 auto;
48
+ width: 100%;
49
+ flex-direction: row;
50
+ justify-content: center;
51
+ align-items: center;
52
+ background-color: ${e=>e.theme.colors.grey4};
53
+ box-shadow: ${e=>`${i.sp0} 2px ${i.sp1} ${e.theme.colors.dropShadowNormal}`};
54
+ `,M1=o.div`
55
+ display: flex;
56
+ flex-direction: column;
57
+ box-sizing: border-box;
58
+ border-radius: ${i.sp2};
59
+ align-items: center;
60
+ background-color: ${e=>e.theme.colors.grey3};
61
+ justify-content: center;
62
+ width: 100%;
63
+ height: 100%;
64
+ padding: ${e=>e.type==="w9"?i.sp0:e.showTitlebar===!0&&e.windowSize!=="small"?i.sp3:i.sp0};
65
+ img {
66
+ width: inherit;
67
+ height: inherit;
68
+ }
69
+ `,V1=o.div`
70
+ display: flex;
71
+ flex-direction: column;
72
+ align-items: center;
73
+ padding-top: ${e=>g.rootContainerPaddingTop.valuePx(e.windowSize)};
74
+ padding-right: ${e=>g.rootContainerPaddingRight.valuePx(e.windowSize)};
75
+ padding-bottom: ${e=>g.rootContainerPaddingBottom.valuePx(e.windowSize)};
76
+ padding-left: ${e=>g.rootContainerPaddingLeft.valuePx(e.windowSize)};
77
+ height: ${e=>e.windowSize==="small"&&e.showAutofill?"100%":e.windowSize==="small"?"490px":"auto"};
78
+ overflow: ${e=>e.windowSize==="small"?"unset":"hidden"};
79
+ width: ${e=>e.windowSize=="small"?"100%":"42%"};
80
+ background-color: ${e=>e.showAutofill&&e.windowSize!=="small"?d.overlayDark:e.windowSize==="small"?e.theme.colors.grey4:e.theme.colors.background};
81
+ margin-top: ${e=>e.windowSize==="small"&&(e.type==="bill"||e.type==="w9")?"76px":"unset"};
82
+ `,_1=o.div`
83
+ display: flex;
84
+ flex-direction: column;
85
+ align-items: center;
86
+ justify-content: center;
87
+ flex-grow: 1;
88
+ `,I1=o.div`
89
+ display: flex;
90
+ justify-content: flex-end;
91
+ align-items: center;
92
+ `,D1=o.div`
93
+ display: flex;
94
+ flex-direction: ${e=>e.windowSize==="small"?"column":"row"};
95
+ align-content: center;
96
+ align-items: center;
97
+ margin-top: ${i.sp3};
98
+ `,U1=o(p1)`
99
+ color: ${e=>e.windowSize==="small"&&e.themeContext.mode==="light"?e.theme.colors.primary:d.primaryDark};
100
+ margin-right: ${i.sp3};
101
+ `,Z1=o.div`
102
+ color: ${e=>e.windowSize==="small"&&e.themeContext.mode==="light"?e.theme.colors.primary:d.primaryDark};
103
+ padding: ${i.sp1} ${i.sp2};
104
+ border: 1px solid ${e=>e.theme.colors.grey2};
105
+ &:hover {
106
+ border-color: ${e=>e.windowSize==="small"&&e.themeContext.mode==="light"?e.theme.colors.primary:d.primaryDark};
107
+ }
108
+ border-radius: ${i.sp1};
109
+ cursor: pointer;
110
+ `,G=o.div`
111
+ background: ${d.importantLight};
112
+ padding: ${i.sp2};
113
+ border-radius: ${i.sp1};
114
+ margin: ${i.sp3} 0;
115
+ max-width: 330px;
116
+ text-align: center;
117
+ `,F1=o(P1)`
118
+ color: ${e=>e.theme.colors.grey1};
119
+ margin-bottom: ${i.sp3};
120
+ `,O1=o(A1)`
121
+ color: ${e=>e.theme.colors.grey1};
122
+ margin-bottom: ${i.sp3};
123
+ `,W1=o(T1)`
124
+ width: ${i.sp7};
125
+ height: ${i.sp7};
126
+ color: ${e=>e.theme.colors.hero};
127
+ `,N=o(p1)`
128
+ color: ${d.important};
129
+ `,G1=({type:e="bill",attachmentIdBeingUploaded:z,uploadError:x,uploadErrorMsg:w,showAutofill:h,allowMultiFiles:E=!1,customError:B,dropFilePlaceholder:n,showInfoText:R,showTitlebar:H,pdfTitle:M,openSizeLimitPopup:V,onUploadAttachment:k,uploadStatus:A})=>{const f=s1(),[_,y]=t.useState(!1),b=function(r){r.preventDefault(),r.stopPropagation(),r.type==="dragenter"||r.type==="dragover"?y(!0):r.type==="dragleave"&&_&&y(!1)},I=function(r){if(r.preventDefault(),r.stopPropagation(),y(!1),r.dataTransfer.files.length>0){const s=r.dataTransfer.files;if(E){const a=[],m=[];for(let c=0;c<s.length;c++)a.push(s[c].name),m.push(s[c]);k?.(m,a,"dragdrop")}else{const a=s[0];k?.([a],[a.name],"dragdrop")}}},p=d1(),P=t.useRef(null),S=q.getLocalizedStrings().spendManagement.billPay.billDetails,L=()=>{P.current?.click()},D=r=>{if(r.target.files!=null){const s=r.target.files;if(E){const a=[],m=[];for(let c=0;c<s.length;c++)a.push(s[c].name),m.push(s[c]);k?.(m,a,"dragdrop")}else{const a=s[0];k?.([a],[a.name],"upload")}}},U=A!=null?A.fetchState=="In-Progress":z;return l.jsxs(M1,{showTitlebar:H,windowSize:p,type:e,children:[H===!0?l.jsx(q1,{windowSize:p,type:e,children:M}):null,U==!0?l.jsx(m1,{children:e==="receipt"?l.jsx(J,{size:"Large",start:!0,style:{display:"flex",justifyContent:"center",alignItems:"center",padding:"1.5rem",borderRadius:"100%",backgroundColor:`${f.mode==="light"?d.backgroundThemeLight:d.backgroundThemeDark}`,border:`2px solid ${f.mode==="light"?d.neutralGrey3Light:d.neutralGrey3Dark}`,boxShadow:`${i.sp0} 2px ${i.sp1} ${f.mode==="light"?d.dropShadowNormalLight:d.dropShadowNormalDark}`}}):l.jsx(J,{size:"ExtraLarge",start:!0})}):l.jsx(N1,{windowSize:p,showAutofill:h,type:e,children:l.jsxs(R1,{windowSize:p,onClick:()=>L(),onDragEnter:b,onDragLeave:b,onDragOver:b,onDrop:I,"data-testid":Q("upload-tag",e),children:[l.jsxs(_1,{onDragEnter:b,children:[e==="receipt"?l.jsx(F1,{width:g.billReceiptSize.valuePx(p),height:g.billReceiptSize.valuePx(p)}):l.jsx(O1,{width:g.billReceiptSize.valuePx(p),height:g.billReceiptSize.valuePx(p)}),e==="receipt"?l.jsxs(r1,{isPlaceholderText:!0,children:[n?.upload!=null?l.jsx(j,{children:n?.upload}):null,n?.single!=null?l.jsx(j,{children:l.jsx(a1,{themeContext:f,children:n?.single})}):null,n?.or!=null?l.jsx(j,{children:n?.or}):null,n?.multiple!=null?l.jsx(j,{children:l.jsx(a1,{themeContext:f,children:n?.multiple})}):null,n?.receipts!=null?l.jsx(j,{children:n?.receipts}):null,n?.receipt!=null?l.jsx(j,{children:n?.receipt}):null]}):e==="w9"?l.jsx(n1,{children:S.dropW9}):l.jsx(n1,{children:S.dropInvoice}),B!=null&&l.jsx(G,{children:l.jsx(N,{children:B})}),x&&w==="File size is too large"&&l.jsx(G,{children:l.jsx(N,{children:S.uploadFileSizeExceedError})}),x&&w!=="File size is too large"&&l.jsx(G,{children:l.jsx(N,{children:S.uploadError.replace("__type__",e)})})]}),l.jsx(v1,{fileRef:P,name:"invoice",onFileChange:D,multiple:E,sizeLimit:k1,onFileSizeError:V}),R===!0?l.jsxs(I1,{children:[l.jsx(W1,{}),l.jsx(r1,{isPlaceholderText:!1,style:{marginLeft:i.sp1},children:S.currencyInfo})]}):null]})})]})},N1=o.div`
130
+ padding: ${e=>e.type==="w9"?i.sp0:e.windowSize==="small"&&e.showAutofill===!1?i.sp3:i.sp0};
131
+ background-color: ${e=>e.windowSize==="small"?e.theme.colors.grey3:e.theme.colors.grey4};
132
+ height: 100%;
133
+ width: 100%;
134
+ border-radius: ${i.sp2};
135
+ `,q1=o(c1)`
136
+ padding-bottom: ${e=>e.type==="w9"?i.sp0:e.windowSize==="small"?"12px":i.sp3};
137
+ background-color: ${e=>e.windowSize==="small"?e.theme.colors.grey4:e.theme.colors.grey3};
138
+ width: 100%;
139
+ color: ${e=>e.theme.colors.primary};
140
+ `,ne=({uploadInvoiceEndPoint:e,authParams:z,showAutofill:x,allowMultiFiles:w,type:h="bill",customError:E,pdfTitle:B,entityId:n,shouldNotShowAttachment:R,analytics:H,style:M,noAttachmentText:V,dropFilePlaceholder:k,showInfoText:A,showTitlebar:f,showTitlebarIcon:_,file:y,attachmentTitle:b,vendorLegalName:I,onInvoiceUpload:p,onSkipAutofill:P,setFileUploaded:S,updateInvoiceUploadFetchState:L,onReplaceClick:D,onDeleteClick:U,uploadStatus:r,isLoading:s=!1})=>{const a=s1(),m=d1(),[c,X]=t.useState(!1),K=q.getLocalizedStrings().spendManagement.billPay.billDetails,[h1,Z]=t.useState(!1),[u1,Y]=t.useState(!1),[C1,g1]=t.useState(""),[f1,F]=t.useState(!1),[O,x1]=t.useState({title:"",description:"",primaryButtonText:""});t.useEffect(()=>{y!=null?Z(!0):Z(!1)},[y]);async function e1(v,u,T,i1,y1){X(!0),Y(!1),await H1(`${v}/1.0/processors/${h}`,u,w===!0?T:[T[0]],w===!0?i1:[i1[0]],g1).then(S1=>{p?.(S1),Z(!0),S?.()}).catch(()=>{Y(!0),y1?.("Error")}),X(!1)}const t1=v=>{const u=q.getLocalizedStrings().spendManagement.reimbursement.reimbursementDetail;v?(x1({title:u.uploadLimitTitle,description:u.uploadLimitDescription,primaryButtonText:u.buttons.okay}),F(!0)):F(!1)},w1={onOkClick:()=>{F(!1)}};let l1=n!=null||(r!=null?r?.fetchState=="Completed":h1);h==="bill"&&R===!0&&(l1=!1);const W=h==="bill"?"bill_pay":h==="receipt"?"reimbursement":"w9";return l.jsx(V1,{showAutofill:x,windowSize:m,style:M,type:h,"data-testid":Q("upload-section",W),children:s?l.jsx(m1,{children:l.jsx(J,{size:"ExtraLarge",start:!0})}):l.jsxs(l.Fragment,{children:[f1?l.jsx(b1,{titleComponent:l.jsx($1,{children:O.title}),descriptionComponent:l.jsx(L1,{children:O.description}),primaryButtonText:O.primaryButtonText,action:w1}):null,!s&&r?.fetchState!=="In-Progress"&&l1?l.jsx(z1,{title:b,type:h,file:y,noAttachmentText:V,showTitlebar:f,showTitlebarIcon:_,pdfTitle:B,onReplaceClick:D,onDeleteClick:U,allowMultiFiles:w,openSizeLimitPopup:t1,onUploadAttachment:(v,u)=>{L?.("In-Progress"),e1(e,z,v,u,L)}}):l.jsx(G1,{type:h,uploadError:u1,uploadErrorMsg:C1,attachmentIdBeingUploaded:c,dropFilePlaceholder:k,showInfoText:A,allowMultiFiles:w,customError:E,showTitlebar:f,pdfTitle:B,showAutofill:x,openSizeLimitPopup:t1,uploadStatus:r,onUploadAttachment:(v,u,T)=>{H?.trackUploadInvoice(T,W,I),L?.("In-Progress"),e1(e,z,v,u,L)}}),x?l.jsxs(D1,{windowSize:m,children:[l.jsx(U1,{windowSize:m,themeContext:a,children:K.skipAutofillInfo}),l.jsx(Z1,{windowSize:m,themeContext:a,"data-testid":Q("skip-autofill",W),onClick:()=>P?.(!x),children:l.jsx(j1,{children:K.skipAutofill})})]}):null]})})};export{G1 as AttachmentElement,ne as default};